diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e5002d89..55e7a7236 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,148 +1,124 @@ # Contribute to developer.sailpoint.com -The SailPoint Developer Relations Team is always actively working to improve https://developer.sailpoint.com to make the site as useful as possible to the SailPoint Developer Community. -This means adding and maintaining new resources for the community, like new tools and educational content, along with accurate, complete, and current guides and information. -The most valuable resource of all, however, is the community itself! -We greatly appreciate any input, feedback, and direct contributions you can provide to the community, big or small. -And we want to make the process of contributing to this project as easy and transparent as possible. +The SailPoint Developer Relations Team is always actively working to improve https://developer.sailpoint.com to make the site as useful as possible to the SailPoint Developer Community. This means adding and maintaining new resources for the community, like new tools and educational content, along with accurate, complete, and current guides and information. The most valuable resource of all, however, is the community itself! We greatly appreciate any input, feedback, and direct contributions you can provide to the community, big or small. And we want to make the process of contributing to this project as easy and transparent as possible. -This document will detail the different ways that you can contribute to the community. +This document will detail the different ways that you can contribute to the community. + +These are the main ways that you can contribute: -These are the main ways that you can contribute: - [Report issues](#report-issues) - [Request new features](#request-new-features) - [Submit a fix](#submit-a-fix) - [Submit a new feature](#submit-a-new-feature) -## How we use GitHub +## How we use GitHub -We use GitHub to host code, track issues and feature requests, and manage contributions with pull requests. +We use GitHub to host code, track issues and feature requests, and manage contributions with pull requests. -This project is open source, which means that it's publicly accessible, allowing anyone who comes across it to view, share, and improve its source code. +This project is open source, which means that it's publicly accessible, allowing anyone who comes across it to view, share, and improve its source code. -## GitHub flow and pull requests +## GitHub flow and pull requests -The best way to propose changes to the codebase is to use pull requests, and [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow) is our preferred method of accepting pull requests. +The best way to propose changes to the codebase is to use pull requests, and [Github Flow](https://docs.github.com/en/get-started/quickstart/github-flow) is our preferred method of accepting pull requests. -This is the basic GitHub flow we use for direct contributions to the codebase: +This is the basic GitHub flow we use for direct contributions to the codebase: 1. Fork the repository and create your own branch from `main`. 2. Make your changes in your `main` branch. 3. Push the changes to the repository's `main` branch. -4. Create your pull request! -5. SailPoint Developer Relations team members will review your pull request and merge it in! +4. Create your pull request! +5. SailPoint Developer Relations team members will review your pull request and merge it in! ## GitHub Issues -We use [GitHub Issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/about-issues) to publicly track bugs and feature requests. +We use [GitHub Issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/about-issues) to publicly track bugs and feature requests. -## Report issues +## Report issues -You may encounter bugs and incorrect or outdated information when you explore the site. -We appreciate your help in identifying bugs of all sizes, from broken links or typos to major issues preventing you from using a resource. +You may encounter bugs and incorrect or outdated information when you explore the site. We appreciate your help in identifying bugs of all sizes, from broken links or typos to major issues preventing you from using a resource. -We use GitHub issues to track bugs publicly. If you see an issue with the site, please [report it here](https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here). +We use GitHub issues to track bugs publicly. If you see an issue with the site, please [report it here](https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=bug-report.md&title=%5BBug%5D+Your+Bug+Report+Here). -We love thorough bug reports. -The more details you include, the faster we can troubleshoot and fix the issue. -Great bug reports include these details: +We love thorough bug reports. The more details you include, the faster we can troubleshoot and fix the issue. Great bug reports include these details: -1. A summary of the issue -2. The steps we can take to reproduce the issue - - Be as specific as you can when you describe these steps. - - Give us sample code if you can. +1. A summary of the issue +2. The steps we can take to reproduce the issue + - Be as specific as you can when you describe these steps. + - Give us sample code if you can. 3. What you expect to happen -4. What actually happens +4. What actually happens 5. Screenshots -6. The operating system you were using when you encountered the issue -7. The browser you were using when you encountered the issue -8. Notes - - If you have an idea, tell us why you think the issue may be occurring, or what you think we should do to resolve it. - - Whatever you tried that didn't work. - - Anything else you think might be useful to us. +6. The operating system you were using when you encountered the issue +7. The browser you were using when you encountered the issue +8. Notes + - If you have an idea, tell us why you think the issue may be occurring, or what you think we should do to resolve it. + - Whatever you tried that didn't work. + - Anything else you think might be useful to us. ## Request new features -Many of our most valuable resources originate in ideas suggested by the community! -You may have an idea that will improve the site. -We would love to hear it and possibly implement it! +Many of our most valuable resources originate in ideas suggested by the community! You may have an idea that will improve the site. We would love to hear it and possibly implement it! We use GitHub issues to track feature requests. Please use [this template](https://github.com/sailpoint-oss/developer.sailpoint.com/issues/new?assignees=&labels=&template=feature-request.md&title=%5BFeature%5D+Your+Feature+Request+Here) when you request a new feature. -We love thorough feature requests. -The more details you include, the faster we can implement your request. -Great feature requests include these details: +We love thorough feature requests. The more details you include, the faster we can implement your request. Great feature requests include these details: -1. Tell us whether this feature is related to a problem. - - If it is, describe the problem. -2. Describe your desired solution. -3. Describe alternative solutions you may use yourself or other solutions you may have considered. -4. Notes - - If possible, include how you think this solution would benefit others. - - Anything else you think might be useful to us. +1. Tell us whether this feature is related to a problem. + - If it is, describe the problem. +2. Describe your desired solution. +3. Describe alternative solutions you may use yourself or other solutions you may have considered. +4. Notes + - If possible, include how you think this solution would benefit others. + - Anything else you think might be useful to us. ## Submit a fix -One of the main benefits of making our project open source is that it makes it possible for the community to contribute directly. -We will always respond as quickly as we can to any issues you report, but if you know how to fix an issue, the fastest way to get it fixed is to submit a pull request and make the fix yourself! -If you can do this, it's tremendously helpful to us in our efforts to improve the community, and, if you're interested, you will receive ambassador points for your fix. -Check out the [ambassador program](https://developer.sailpoint.com/discuss/t/getting-started-as-a-developer-community-ambassador/11665) to learn more. +One of the main benefits of making our project open source is that it makes it possible for the community to contribute directly. We will always respond as quickly as we can to any issues you report, but if you know how to fix an issue, the fastest way to get it fixed is to submit a pull request and make the fix yourself! If you can do this, it's tremendously helpful to us in our efforts to improve the community, and, if you're interested, you will receive ambassador points for your fix. Check out the [ambassador program](https://developer.sailpoint.com/discuss/t/getting-started-as-a-developer-community-ambassador/11665) to learn more. -To submit a fix, follow these steps: -1. Fork the repository and copy the `main` branch. -2. Pull the latest code and ensure that it's running properly. -3. Create a new branch from main. - - Follow this naming convention for your branch: `fix/your-fix-name` -4. Create a pull request from your branch to our origin repository's `main` branch! +To submit a fix, follow these steps: -Once you create the pull request, the SailPoint Developer Relations Team will be tagged. -Someone will then review the pull request and merge it in! +1. Fork the repository and copy the `main` branch. +2. Pull the latest code and ensure that it's running properly. +3. Create a new branch from main. + - Follow this naming convention for your branch: `fix/your-fix-name` +4. Create a pull request from your branch to our origin repository's `main` branch! + +Once you create the pull request, the SailPoint Developer Relations Team will be tagged. Someone will then review the pull request and merge it in! :::note -You cannot directly make changes to the API specifications. These files are regularly pulled from a private repository and auto-generated. +You cannot directly make changes to the API specifications. These files are regularly pulled from a private repository and auto-generated. ::: ## Submit a new feature -We will always respond to your feature requests and implement them as soon as we can. -However, if you have an idea for a new feature and know how to implement it yourself, the fastest way to add the feature is to submit a pull request and add the feature yourself! -If you can do this, we greatly appreciate it, and other community members will benefit from your contribution! -And if you're interested, you will receive ambassador points for your feature contribution. -Check out the [ambassador program](https://developer.sailpoint.com/discuss/t/getting-started-as-a-developer-community-ambassador/11665) to learn more. +We will always respond to your feature requests and implement them as soon as we can. However, if you have an idea for a new feature and know how to implement it yourself, the fastest way to add the feature is to submit a pull request and add the feature yourself! If you can do this, we greatly appreciate it, and other community members will benefit from your contribution! And if you're interested, you will receive ambassador points for your feature contribution. Check out the [ambassador program](https://developer.sailpoint.com/discuss/t/getting-started-as-a-developer-community-ambassador/11665) to learn more. -To submit a new feature, follow these steps: -1. Fork the repository and copy the `main` branch. -2. Pull the latest code and ensure that it's running properly. -3. Create a new branch from main. - - Follow this naming convention for your branch: `feature/your-feature-name` -4. Create a pull request from your branch to our origin repository's `main` branch! +To submit a new feature, follow these steps: -Once you create the pull request, the SailPoint Developer Relations Team will be tagged. -Someone will then review the pull request and merge it in! +1. Fork the repository and copy the `main` branch. +2. Pull the latest code and ensure that it's running properly. +3. Create a new branch from main. + - Follow this naming convention for your branch: `feature/your-feature-name` +4. Create a pull request from your branch to our origin repository's `main` branch! + +Once you create the pull request, the SailPoint Developer Relations Team will be tagged. Someone will then review the pull request and merge it in! :::note -You cannot directly make changes to the API specifications. These files are regularly pulled from a private repository and auto-generated. +You cannot directly make changes to the API specifications. These files are regularly pulled from a private repository and auto-generated. ::: -## Report general issues +## Report general issues -It's possible that none of the options listed here will properly address your issue. -If you have a general issue, you can submit a general issue by using GitHub's [issues](https://github.com/sailpoint-oss/developer.sailpoint.com/issues). -Add as much detail as you can to your issue, and we will address it as quickly as we can. +It's possible that none of the options listed here will properly address your issue. If you have a general issue, you can submit a general issue by using GitHub's [issues](https://github.com/sailpoint-oss/developer.sailpoint.com/issues). Add as much detail as you can to your issue, and we will address it as quickly as we can. ## Discuss on the forum -What makes the SailPoint Developer Community great is its brilliant, knowledgeable members! -If you have a question, problem, or idea, one of the best ways to get answers or resolutions is to go to the [Developer Community Forum](https://developer.sailpoint.com/discuss) to discuss them directly with the community on the forum. -The SailPoint Developer Relations Team, the community ambassadors, and other members will be there to discuss them with you. -And once you're there, you can help others on the forum too! -If you're interested, you will receive ambassador points for the issues you help others resolve on the forum.Check out the [ambassador program](https://developer.sailpoint.com/discuss/t/getting-started-as-a-developer-community-ambassador/11665) to learn more. +What makes the SailPoint Developer Community great is its brilliant, knowledgeable members! If you have a question, problem, or idea, one of the best ways to get answers or resolutions is to go to the [Developer Community Forum](https://developer.sailpoint.com/discuss) to discuss them directly with the community on the forum. The SailPoint Developer Relations Team, the community ambassadors, and other members will be there to discuss them with you. And once you're there, you can help others on the forum too! If you're interested, you will receive ambassador points for the issues you help others resolve on the forum.Check out the [ambassador program](https://developer.sailpoint.com/discuss/t/getting-started-as-a-developer-community-ambassador/11665) to learn more. ## MIT Software License -This project uses the [MIT License](http://choosealicense.com/licenses/mit/). -Whenever you submit code changes, your submissions are held under the same MIT license that covers the project. +This project uses the [MIT License](http://choosealicense.com/licenses/mit/). Whenever you submit code changes, your submissions are held under the same MIT license that covers the project. diff --git a/algolia/config.json b/algolia/config.json index 07610a43e..616471f85 100644 --- a/algolia/config.json +++ b/algolia/config.json @@ -184,11 +184,7 @@ "hierarchy.lvl0", "hierarchy.lvl1" ], - "searchableAttributes": [ - "tags", - "hierarchy.lvl0", - "hierarchy.lvl1" - ] + "searchableAttributes": ["tags", "hierarchy.lvl0", "hierarchy.lvl1"] }, "conversation_id": ["1090805758"], "nb_hits": 8687 diff --git a/archive/StreamService.js b/archive/StreamService.js index b8f6b0af1..4805797c5 100644 --- a/archive/StreamService.js +++ b/archive/StreamService.js @@ -2,7 +2,6 @@ import md5 from 'crypto-js/md5'; export const URL = 'https://developerdays.sailpoint.com'; - export async function getFAQ() { try { const response = await fetch(URL + '/faq'); diff --git a/archive/agenda/styles.module.css b/archive/agenda/styles.module.css index 53f8b231f..0d26690a8 100644 --- a/archive/agenda/styles.module.css +++ b/archive/agenda/styles.module.css @@ -149,7 +149,8 @@ .stageButton:disabled { background: #ffffff; - box-shadow: inset -5.0934px -5.0934px 15.2802px rgba(255, 255, 255, 0.5), + box-shadow: + inset -5.0934px -5.0934px 15.2802px rgba(255, 255, 255, 0.5), inset 5.0934px 5.0934px 15.2802px rgba(136, 160, 183, 0.25); border-radius: 20.3736px; } diff --git a/archive/conference/Hero/index.js b/archive/conference/Hero/index.js index cde54f41f..653f5f487 100644 --- a/archive/conference/Hero/index.js +++ b/archive/conference/Hero/index.js @@ -11,7 +11,7 @@ export default function ConferenceHero() {
-
Developer Days
+
Developer Days
March 7th-9th, 2023
The conference for developers on SailPoint platforms. diff --git a/archive/conference/Hero/styles.module.css b/archive/conference/Hero/styles.module.css index f0a6b3de7..3e06f3227 100644 --- a/archive/conference/Hero/styles.module.css +++ b/archive/conference/Hero/styles.module.css @@ -15,25 +15,25 @@ } .conferenceText { - margin-top: 70px; - font-size: 55px; - color: var(--dev-text-color-cobalt); - font-family: input-mono; + margin-top: 70px; + font-size: 55px; + color: var(--dev-text-color-cobalt); + font-family: input-mono; } .comingSoonText { - color: var(--dev-text-color-cobalt); - font-size: 20px; - font-family: input-mono; - letter-spacing: 5.5px; - margin-top: -17px; + color: var(--dev-text-color-cobalt); + font-size: 20px; + font-family: input-mono; + letter-spacing: 5.5px; + margin-top: -17px; } .descriptionText { - margin-top: 27px; - color: var(--ifm-color-primary); - font-size: 36px; - font-family: input-mono; + margin-top: 27px; + color: var(--ifm-color-primary); + font-size: 36px; + font-family: input-mono; } .extensible { @@ -99,4 +99,4 @@ font-size: 25px; font-family: input-mono; } -} \ No newline at end of file +} diff --git a/archive/conference/Theme/index.js b/archive/conference/Theme/index.js index 931b2a946..e713b49cf 100644 --- a/archive/conference/Theme/index.js +++ b/archive/conference/Theme/index.js @@ -23,8 +23,16 @@ export default function ConferenceTheme() {
- - at no cost"} image={"/conf/virtual.png"}> + + at no cost' + } + image={'/conf/virtual.png'}>
diff --git a/archive/conference/Theme/styles.module.css b/archive/conference/Theme/styles.module.css index 5251945ee..1d704d1ee 100644 --- a/archive/conference/Theme/styles.module.css +++ b/archive/conference/Theme/styles.module.css @@ -1,13 +1,12 @@ .gridContainer { - display: grid; - place-content: center; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - grid-gap: 40px; - margin-left: 20px; - margin-right: 40px; - text-align: center; - } - + display: grid; + place-content: center; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + grid-gap: 40px; + margin-left: 20px; + margin-right: 40px; + text-align: center; +} .center { margin: 20px auto; diff --git a/archive/stream/main/styles.module.css b/archive/stream/main/styles.module.css index df33d3fe3..24f6b7a7a 100644 --- a/archive/stream/main/styles.module.css +++ b/archive/stream/main/styles.module.css @@ -148,7 +148,8 @@ .stageButton:disabled { background: #ffffff; - box-shadow: inset -5.0934px -5.0934px 15.2802px rgba(255, 255, 255, 0.5), + box-shadow: + inset -5.0934px -5.0934px 15.2802px rgba(255, 255, 255, 0.5), inset 5.0934px 5.0934px 15.2802px rgba(136, 160, 183, 0.25); border-radius: 20.3736px; } diff --git a/archive/stream/video/index.js b/archive/stream/video/index.js index db72cae6b..27f87008a 100644 --- a/archive/stream/video/index.js +++ b/archive/stream/video/index.js @@ -1,10 +1,7 @@ -import React from "react"; -import clsx from "clsx"; -import styles from "./styles.module.css"; +import React from 'react'; +import clsx from 'clsx'; +import styles from './styles.module.css'; import Link from '@docusaurus/Link'; export default function Video() { - return ( -
-
- ); + return
; } diff --git a/backend/package.json b/backend/package.json index 9a689ccd6..7443b52d9 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,30 +1,29 @@ { - "name": "delete-test-01", - "description": "delete-test-01-description", - "version": "0.0.1", - "private": true, - "dependencies": { - "@aws-sdk/client-dynamodb": "^3.188.0", - "@aws-sdk/lib-dynamodb": "^3.188.0" - }, - "devDependencies": { - "aws-sdk-client-mock": "^2.0.0", - "jest": "^29.2.1" - }, - "scripts": { - "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js" - }, - "jest": { - "testMatch": [ - "**/__tests__/**/*.[jt]s?(x)", - "**/?(*.)+(spec|test).[jt]s?(x)", - "**/__tests__/**/*.mjs?(x)", - "**/?(*.)+(spec|test).mjs?(x)" - ], - "moduleFileExtensions": [ - "mjs", - "js" - ] - } + "name": "delete-test-01", + "description": "delete-test-01-description", + "version": "0.0.1", + "private": true, + "dependencies": { + "@aws-sdk/client-dynamodb": "^3.188.0", + "@aws-sdk/lib-dynamodb": "^3.188.0" + }, + "devDependencies": { + "aws-sdk-client-mock": "^2.0.0", + "jest": "^29.2.1" + }, + "scripts": { + "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js" + }, + "jest": { + "testMatch": [ + "**/__tests__/**/*.[jt]s?(x)", + "**/?(*.)+(spec|test).[jt]s?(x)", + "**/__tests__/**/*.mjs?(x)", + "**/?(*.)+(spec|test).mjs?(x)" + ], + "moduleFileExtensions": [ + "mjs", + "js" + ] + } } - diff --git a/backend/src/auth/index.js b/backend/src/auth/index.js index 4fd93c40a..33b01a854 100644 --- a/backend/src/auth/index.js +++ b/backend/src/auth/index.js @@ -1,46 +1,47 @@ exports.authHandler = async (event) => { - const token = event.headers.authorization; + const token = event.headers.authorization; - const expectedUsername = process.env.AUTH_USERNAME; - const expectedPassword = process.env.AUTH_PASSWORD; + const expectedUsername = process.env.AUTH_USERNAME; + const expectedPassword = process.env.AUTH_PASSWORD; - try { - const { username, password } = decodeAuthToken(token); - if (username === expectedUsername && password === expectedPassword) { - return generatePolicy('user', 'Allow', event.routeArn); - } else { - throw new Error('Unauthorized'); - } - } catch (err) { - console.log(err.message); - return generatePolicy('user', 'Deny', event.routeArn); + try { + const {username, password} = decodeAuthToken(token); + if (username === expectedUsername && password === expectedPassword) { + return generatePolicy('user', 'Allow', event.routeArn); + } else { + throw new Error('Unauthorized'); } + } catch (err) { + console.log(err.message); + return generatePolicy('user', 'Deny', event.routeArn); + } }; function decodeAuthToken(token) { - if (!token || !token.startsWith('Basic ')) { - throw new Error('Missing or invalid Authorization header'); - } + if (!token || !token.startsWith('Basic ')) { + throw new Error('Missing or invalid Authorization header'); + } - const base64Credentials = token.split(' ')[1]; - const credentials = Buffer.from(base64Credentials, 'base64').toString('ascii'); - const [username, password] = credentials.split(':'); - return { username, password }; + const base64Credentials = token.split(' ')[1]; + const credentials = Buffer.from(base64Credentials, 'base64').toString( + 'ascii', + ); + const [username, password] = credentials.split(':'); + return {username, password}; } function generatePolicy(principalId, effect, resource) { - return { - principalId, - policyDocument: { - Version: '2012-10-17', - Statement: [ - { - Action: 'execute-api:Invoke', - Effect: effect, - Resource: resource - } - ] - } - }; + return { + principalId, + policyDocument: { + Version: '2012-10-17', + Statement: [ + { + Action: 'execute-api:Invoke', + Effect: effect, + Resource: resource, + }, + ], + }, + }; } - diff --git a/docs/api/api-specifications.md b/docs/api/api-specifications.md index 83318704a..1a14f0b76 100644 --- a/docs/api/api-specifications.md +++ b/docs/api/api-specifications.md @@ -11,11 +11,11 @@ slug: /api/api-specifications tags: ['API Specifications'] --- -## Overview +## Overview -The Identity Security Cloud (ISC) APIs provide developers with a way to interact with the ISC platform and extend it. Developers can leverage these APIs to customize their platform experiences and build new solutions and integrations that meet their needs. +The Identity Security Cloud (ISC) APIs provide developers with a way to interact with the ISC platform and extend it. Developers can leverage these APIs to customize their platform experiences and build new solutions and integrations that meet their needs. -The API specifications contain detailed information of how to send requests to each API endpoint, as well as example requests and responses. They also include essential information about how to use the APIs and guides you can follow to get started. +The API specifications contain detailed information of how to send requests to each API endpoint, as well as example requests and responses. They also include essential information about how to use the APIs and guides you can follow to get started. ```mdx-code-block import DocCardList from '@theme/DocCardList'; @@ -24,8 +24,8 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` -## Discuss +## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the ISC APIs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/tags/c/isc/6/apis). +To learn more about the ISC APIs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/tags/c/isc/6/apis). diff --git a/docs/api/authentication.md b/docs/api/authentication.md index 6dd6aa905..96c0b074d 100644 --- a/docs/api/authentication.md +++ b/docs/api/authentication.md @@ -15,20 +15,13 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ## Overview -With SailPoint's Identity Security Cloud (ISC) APIs, you can extend your ISC platform far beyond its current capabilities. - -To be able to do so, you must first authenticate to the ISC APIs. -Authentication is the act of validating a user's identity, generally by passing some kind of credentials. -A fast, simple way to authenticate to the APIs is to generate a [personal access token](#generate-a-personal-access-token) and pass that token. +With SailPoint's Identity Security Cloud (ISC) APIs, you can extend your ISC platform far beyond its current capabilities. To be able to do so, you must first authenticate to the ISC APIs. Authentication is the act of validating a user's identity, generally by passing some kind of credentials. A fast, simple way to authenticate to the APIs is to generate a [personal access token](#generate-a-personal-access-token) and pass that token. -If the PAT is valid, the API responds with a JSON Web Token (JWT) `access_token` that you can provide to authorize your API requests. -Authorization is the act of validating the user's permission to access a given resource. -A successful API request must include the `access_token` in the `Authorization` request header. +If the PAT is valid, the API responds with a JSON Web Token (JWT) `access_token` that you can provide to authorize your API requests. Authorization is the act of validating the user's permission to access a given resource. A successful API request must include the `access_token` in the `Authorization` request header. -This JWT `access_token` grants access matching that of the user who generated the PAT. -For example, if the user who generated the PAT is an admin, the returned JWT `access_token` would grant admin access to the APIs. +This JWT `access_token` grants access matching that of the user who generated the PAT. For example, if the user who generated the PAT is an admin, the returned JWT `access_token` would grant admin access to the APIs. -This diagram shows the flow of this authentication/authorization process: +This diagram shows the flow of this authentication/authorization process:
@@ -49,23 +42,23 @@ sequenceDiagram
-The flow involves these four key steps: -1. **Access Token Request**: The HTTP client (a script, application, Postman, cURL, etc.) makes a request to ISC to get a JWT `access_token`. -2. **Access Token Response**: If the request is valid, ISC responds to the HTTP client with a JWT `access_token`. -3. **API Request**: The HTTP client makes a request to an ISC endpoint with the header, `Authorization: Bearer {access_token}`. -4. **API Response**: If both the request itself and the JWT `access_token` in its header are valid, ISC responds to the client. -If you encounter unexpected errors, refer to the [Troubleshooting](#troubleshooting) section of this document. +The flow involves these four key steps: -The idea is that once you have authenticated to the ISC APIs and you have received an `access_token`, you can use that `access_token` to provide authorization for your API requests. +1. **Access Token Request**: The HTTP client (a script, application, Postman, cURL, etc.) makes a request to ISC to get a JWT `access_token`. +2. **Access Token Response**: If the request is valid, ISC responds to the HTTP client with a JWT `access_token`. +3. **API Request**: The HTTP client makes a request to an ISC endpoint with the header, `Authorization: Bearer {access_token}`. +4. **API Response**: If both the request itself and the JWT `access_token` in its header are valid, ISC responds to the client. If you encounter unexpected errors, refer to the [Troubleshooting](#troubleshooting) section of this document. -This document includes all the information you need to know to engage in this authentication/authorization process, as well as a guide on how to get started. +The idea is that once you have authenticated to the ISC APIs and you have received an `access_token`, you can use that `access_token` to provide authorization for your API requests. + +This document includes all the information you need to know to engage in this authentication/authorization process, as well as a guide on how to get started. ## Get started -Read this guide to learn how to authenticate to SailPoint's ISC APIs. +Read this guide to learn how to authenticate to SailPoint's ISC APIs. + +To authenticate to the ISC APIs, you must be able to connect to your tenant to send the access token request. To do so, you need to do the following: -To authenticate to the ISC APIs, you must be able to connect to your tenant to send the access token request. -To do so, you need to do the following: 1. [Find your tenant's OAuth details](#find-your-tenant's-oauth-details) 2. [Generate personal access token](#generate-personal-access-token) 3. [Choose authorization grant flow](#choose-authorization-grant-flow) @@ -73,21 +66,19 @@ To do so, you need to do the following: ### Find your tenant's OAuth details -Your tenant's OAuth details refer to the details you need to know to connect it to the APIs. -You need to know your tenant's name, its `authorizeEndpoint` URL, and its `tokenEndpoint` URL. +Your tenant's OAuth details refer to the details you need to know to connect it to the APIs. You need to know your tenant's name, its `authorizeEndpoint` URL, and its `tokenEndpoint` URL. -Your ISC instance is likely using the domain name supplied by SailPoint (`{tenant}.api.identitynow.com`), in which case, the tenant name is in the URL. -This is assumed to be the case in this guide. -However, if your ISC instance is using a vanity URL, you must enter this URL into your browser to get your OAuth info: -`https://{tenant}.api.identitynow.com/oauth/info` +Your ISC instance is likely using the domain name supplied by SailPoint (`{tenant}.api.identitynow.com`), in which case, the tenant name is in the URL. This is assumed to be the case in this guide. +However, if your ISC instance is using a vanity URL, you must enter this URL into your browser to get your OAuth info: `https://{tenant}.api.identitynow.com/oauth/info` + +If you have admin access but don't know your tenant name, you can learn it by following these steps: -If you have admin access but don't know your tenant name, you can learn it by following these steps: 1. Log into your ISC instance. -2. Select the 'Dashboard' dropdown. -3. Select 'Overview'. -4. Find the tenant name ('Org Name') in the dashboard's `Org Details` section. +2. Select the 'Dashboard' dropdown. +3. Select 'Overview'. +4. Find the tenant name ('Org Name') in the dashboard's `Org Details` section. -This is an example of the OAuth details of the tenant, "iga-acme-sb": +This is an example of the OAuth details of the tenant, "iga-acme-sb": ```json { @@ -101,25 +92,21 @@ This is an example of the OAuth details of the tenant, "iga-acme-sb": } ``` -You can use the `authorizeEndpoint` and `tokenEndpoint` URLs from this example to test out the different authentication methods listed in this guide. +You can use the `authorizeEndpoint` and `tokenEndpoint` URLs from this example to test out the different authentication methods listed in this guide. -### Generate a personal access token +### Generate a personal access token -A personal access token (PAT) is a method of authenticating to an API as a user without providing a username and password. -PATs are primarily used in scripts or programs that lack an easy way to implement an OAuth2 flow but need to call API endpoints that require user context. -PATs are also convenient for use in tools like [Postman](https://www.postman.com/) when you are exploring and testing the APIs. +A personal access token (PAT) is a method of authenticating to an API as a user without providing a username and password. PATs are primarily used in scripts or programs that lack an easy way to implement an OAuth2 flow but need to call API endpoints that require user context. PATs are also convenient for use in tools like [Postman](https://www.postman.com/) when you are exploring and testing the APIs. -Any ISC user can generate a PAT. -To do so, follow these steps: -1. Select **Preferences** from the drop-down menu under your username, then **Personal Access Tokens** on the left. -You can also go directly to the page by using this URL (replace `{tenant}` with your Identity Security Cloud tenant): `https://{tenant}.identitynow.com/ui/d/user-preferences/personal-access-tokens` +Any ISC user can generate a PAT. To do so, follow these steps: + +1. Select **Preferences** from the drop-down menu under your username, then **Personal Access Tokens** on the left. You can also go directly to the page by using this URL (replace `{tenant}` with your Identity Security Cloud tenant): `https://{tenant}.identitynow.com/ui/d/user-preferences/personal-access-tokens` 2. Click **New Token** and enter a meaningful description to help differentiate the token from others. :::caution -The **New Token** button will be disabled when you reach the limit of 10 personal access tokens per user. -To avoid reaching this limit, it is recommended that you delete any tokens that are no longer necessary. +The **New Token** button will be disabled when you reach the limit of 10 personal access tokens per user. To avoid reaching this limit, it is recommended that you delete any tokens that are no longer necessary. ::: @@ -135,29 +122,25 @@ After you create the token, the value of the `Client ID` will be visible in the To generate a personal access token from the API, use the [create personal access token endpoint](/docs/api/beta/create-personal-access-token). -Once you have created the PAT and you know its `Client ID` and `Client Secret`, you have everything you need to follow the [Client Credentials Grant Flow](#request-access-token-with-client-credentials-grant-flow) and use the PAT to generate an `access_token`. -You will need this `access_token` to authenticate your requests to the APIs. +Once you have created the PAT and you know its `Client ID` and `Client Secret`, you have everything you need to follow the [Client Credentials Grant Flow](#request-access-token-with-client-credentials-grant-flow) and use the PAT to generate an `access_token`. You will need this `access_token` to authenticate your requests to the APIs. ### Choose authorization grant flow -There are several different authorization flows that OAuth 2.0 supports, and each has a grant-type defining its different use cases. -You must choose the one that best serves your purposes. -This document covers these three common flows: +There are several different authorization flows that OAuth 2.0 supports, and each has a grant-type defining its different use cases. You must choose the one that best serves your purposes. This document covers these three common flows: 1. [**Client Credentials**](https://oauth.net/2/grant-types/client-credentials/) - Clients use this grant type to obtain a JWT `access_token` without user involvement such as scripts, programs or system to system integration. 2. [**Authorization Code**](https://oauth.net/2/grant-types/authorization-code/) - Clients use this grant type to exchange an authorization code for an `access_token`. Authorization codes are mainly used by web applications because there is a login into ISC with a subsequent redirect back to the web application/client. 3. [**Refresh Token**](https://oauth.net/2/grant-types/refresh-token/) - Clients use this grant type to exchange a refresh token for a new `access_token` when the existing `access_token` has expired. This allows clients to continue using the APIs without having to re-authenticate as frequently. This grant type is commonly used together with `Authorization Code` to prevent a user from having to log in several times per day. -One way to determine which authorization flow you need to use is to look at the specification for the endpoint you want to use. -The endpoint will have the supported OAuth flows listed under the 'Authorization' dropdown, like the [List Access Profiles endpoint](https://developer.sailpoint.com/docs/api/beta/list-access-profiles): +One way to determine which authorization flow you need to use is to look at the specification for the endpoint you want to use. The endpoint will have the supported OAuth flows listed under the 'Authorization' dropdown, like the [List Access Profiles endpoint](https://developer.sailpoint.com/docs/api/beta/list-access-profiles): ![Authorization Dropdown](./img/authorization/authorization-dropdown.png) For more information about how to choose the best grant flow for your use case, refer to [Grant Flow Use Cases](#grant-flow-use-cases) -The guide will detail the three different authorization grant flows you can use to request the access token you need to authenticate your requests. +The guide will detail the three different authorization grant flows you can use to request the access token you need to authenticate your requests. -### Request access token with client credentials grant flow +### Request access token with client credentials grant flow Clients use the 'Client Credentials' grant type to obtain access tokens without user involvement. This is the simplest authentication flow. @@ -185,25 +168,25 @@ An OAuth 2.0 client using the client credentials grant flow must have `CLIENT_CR This is the overall authorization flow: 1. The client first submits an OAuth 2.0 token request to ISC in this form: - + ```text POST https://{tenant}.api.identitynow.com/oauth/token ``` - -The request includes the client credential information passed in the request body, as shown in this example using [Postman](https://www.getpostman.com): + +The request includes the client credential information passed in the request body, as shown in this example using [Postman](https://www.getpostman.com): ![OAuth Client Credentials Form Data](./img/authentication/oauth-client-credentials-form-data.png) -This example shows how to pass the information with form-data in the request body. You can also use these options to pass in the information: +This example shows how to pass the information with form-data in the request body. You can also use these options to pass in the information: -- Use x-www-form-urlencoded data to pass in the client credential information in the request body. -- Use query parameters to pass the information in the request URL. The request URL will look like this: +- Use x-www-form-urlencoded data to pass in the client credential information in the request body. +- Use query parameters to pass the information in the request URL. The request URL will look like this: ```text https://{tenant}.api.identitynow.com/oauth/token?grant_type=client_credentials&client_id={{clientId}}&client_secret={{clientSecret}} ``` - If you are using Postman, you can use the 'Authorization' tab to pass in the client credentials. If you use this option, you must also specify the access token URL: https://{tenant}.api.identitynow.com/oauth/token -The OAuth 2.0 token request must include this information: +The OAuth 2.0 token request must include this information: | Key | Description | | --- | --- | @@ -221,23 +204,19 @@ curl --location 'https://{tenant}.api.identitynow.com/oauth/token' \ --form 'client_secret="{clientSecret}"' ``` -2. ISC validates the token request and responds. -If the request is successful, the response contains a JWT access token. -For more information about the JWT access token in the response, refer to [#OAuth-token-response](#oauth-token-response). +2. ISC validates the token request and responds. If the request is successful, the response contains a JWT access token. For more information about the JWT access token in the response, refer to [#OAuth-token-response](#oauth-token-response). -Once you have the JWT access token, you can pass the token as a basic "Authorization" header in your requests using the OAuth endpoints. +Once you have the JWT access token, you can pass the token as a basic "Authorization" header in your requests using the OAuth endpoints. -To learn more about the OAuth client credentials grant flow, refer [here](https://oauth.net/2/grant-types/client-credentials/). +To learn more about the OAuth client credentials grant flow, refer [here](https://oauth.net/2/grant-types/client-credentials/). -### Request access token with authorization code grant flow +### Request access token with authorization code grant flow Further Reading: [https://oauth.net/2/grant-types/authorization-code/](https://oauth.net/2/grant-types/authorization-code/) -Clients use this grant type to exchange an authorization code for an `access_token`. -This is mainly used for web apps because there is a login into ISC with a subsequent redirect back to the web app/client. +Clients use this grant type to exchange an authorization code for an `access_token`. This is mainly used for web apps because there is a login into ISC with a subsequent redirect back to the web app/client. -The OAuth 2.0 client you are using must have `AUTHORIZATION_CODE` as one of its grant types. -The redirect URLs must also match the list in the client as well: +The OAuth 2.0 client you are using must have `AUTHORIZATION_CODE` as one of its grant types. The redirect URLs must also match the list in the client as well: ```json { @@ -258,9 +237,9 @@ The redirect URLs must also match the list in the client as well:

-The authorization code grant flow looks a little different because it involves the exchange of the access token and authorization code. +The authorization code grant flow looks a little different because it involves the exchange of the access token and authorization code. -This diagram shows the authorization code grant flow: +This diagram shows the authorization code grant flow:
@@ -310,8 +289,7 @@ The token endpoint URL is `{tenant}.api.identitynow.com`, and the authorize URL ::: -7. ISC validates the token request and submits a response. If the request is successful, the response contains a JWT `access_token`. -For more information about the JWT access token in the response, refer to [#OAuth-token-response](#oauth-token-response). +7. ISC validates the token request and submits a response. If the request is successful, the response contains a JWT `access_token`. For more information about the JWT access token in the response, refer to [#OAuth-token-response](#oauth-token-response). These are the query parameters in the OAuth 2.0 token request for the authorization code grant: @@ -328,14 +306,14 @@ Here is an example OAuth 2.0 token request for the authorization code grant type curl -X POST \ 'https://example.api.identitynow.com/oauth/token?grant_type=authorization_code&client_id=b61429f5-203d-494c-94c3-04f54e17bc5c&code=6688LQJB0y652z6ZjFmkCKuBUjv2sTIqKS2JthWrZ7qlPgI9TClJ6FnpweEhO6w7&redirect_uri=https://myappdomain.com/oauth/redirect' \ -H 'cache-control: no-cache' - + ``` -Once you have the JWT access token, you can pass the token as a basic "Authorization" header in your requests using the OAuth endpoints. +Once you have the JWT access token, you can pass the token as a basic "Authorization" header in your requests using the OAuth endpoints. For more information about the OAuth authorization code grant flow, refer [here](https://oauth.net/2/grant-types/authorization-code/). -### Request access token with refresh token grant flow +### Request access token with refresh token grant flow Clients use this grant type in order to exchange a refresh token for a new `access_token` once the existing `access_token` has expired. This allows clients to continue to have a valid `access_token` without the need for the user to login as frequently. @@ -386,9 +364,9 @@ curl -X POST \ -H 'cache-control: no-cache' ``` -Once you have the `refresh_token`, you can pass the `refresh_token` as a basic "Authorization" header in your requests using the OAuth endpoints, allowing your requests to continue to succeed without being affected by the expired `access_token`. +Once you have the `refresh_token`, you can pass the `refresh_token` as a basic "Authorization" header in your requests using the OAuth endpoints, allowing your requests to continue to succeed without being affected by the expired `access_token`. -For more information about the OAuth refresh token grant flow, refer [here](https://oauth.net/2/grant-types/refresh-token/). +For more information about the OAuth refresh token grant flow, refer [here](https://oauth.net/2/grant-types/refresh-token/). ### OAuth token response @@ -415,9 +393,7 @@ A successful request using any of the grant flows to `https://{tenant}.api.ident } ``` -You can use the JWT `access_token` to authorize REST API calls through the ISC API gateway. -To use the `access_token`, simply include it in the `Authorization` header as a `Bearer` token. -This is an example V3 API request that has the access token in the header: +You can use the JWT `access_token` to authorize REST API calls through the ISC API gateway. To use the `access_token`, simply include it in the `Authorization` header as a `Bearer` token. This is an example V3 API request that has the access token in the header: ```bash curl -X GET \ @@ -426,34 +402,27 @@ curl -X GET \ -H 'cache-control: no-cache' ``` -Some of the other values can also be useful to know: -- The `expires_in` value describes the lifetime, in seconds, of the `access_token`. -For example, the value 749 means that the `access_token` will expire 12.5 minutes from the time the response was generated. -The exact expiration date is also contained within the `access_token`. -You can view this expiration time by decoding the JWT `access_token` using a tool like [jwt.io](https://jwt.io/). +Some of the other values can also be useful to know: -- The `refresh token` exists for use in the refresh token grant flow to replace the `access_token` when it expires. -However, the `refresh_token` will only be present if the API client has the `REFRESH_TOKEN` grant flow. +- The `expires_in` value describes the lifetime, in seconds, of the `access_token`. For example, the value 749 means that the `access_token` will expire 12.5 minutes from the time the response was generated. The exact expiration date is also contained within the `access_token`. You can view this expiration time by decoding the JWT `access_token` using a tool like [jwt.io](https://jwt.io/). -- The `user_id` and `identity_id` define the identity context of the person who authenticated. -However, these values aren't set for the client credentials grant type because it doesn't have a user context. +- The `refresh token` exists for use in the refresh token grant flow to replace the `access_token` when it expires. However, the `refresh_token` will only be present if the API client has the `REFRESH_TOKEN` grant flow. -With the JWT `access_token`, you can now successfully send authenticated ISC API requests. To learn more about authorization and the scopes you can apply to further control access to the APIs, refer to [Authorization](/docs/api/authorization). +- The `user_id` and `identity_id` define the identity context of the person who authenticated. However, these values aren't set for the client credentials grant type because it doesn't have a user context. + +With the JWT `access_token`, you can now successfully send authenticated ISC API requests. To learn more about authorization and the scopes you can apply to further control access to the APIs, refer to [Authorization](/docs/api/authorization). ## More Information -This section of the document includes additional information about the authentication/authorization process, including some different use cases for the different authorization grant flows. +This section of the document includes additional information about the authentication/authorization process, including some different use cases for the different authorization grant flows. -### OAuth 2.0 -The SailPoint authentication/authorization model is fully [OAuth 2.0](https://oauth.net/2/) compliant. -[OAuth 2.0](https://oauth.net/2/) is an industry-standard protocol for authorization. -It provides a variety of authorization flows for web applications, desktop applications, mobile phones, and devices. -This specification and its extensions are developed within the [IETF OAuth Working Group](https://www.ietf.org/mailman/listinfo/oauth). +### OAuth 2.0 + +The SailPoint authentication/authorization model is fully [OAuth 2.0](https://oauth.net/2/) compliant. [OAuth 2.0](https://oauth.net/2/) is an industry-standard protocol for authorization. It provides a variety of authorization flows for web applications, desktop applications, mobile phones, and devices. This specification and its extensions are developed within the [IETF OAuth Working Group](https://www.ietf.org/mailman/listinfo/oauth). ### JSON Web Token -The issued JWT `access_token` leverages the [JSON Web Token (JWT)](https://jwt.io/) standard. -JWT is an industry-standard protocol for creating access tokens which assert various claims about the resource who has authenticated. -The tokens have a specific structure consisting of a header, payload, and signature. + +The issued JWT `access_token` leverages the [JSON Web Token (JWT)](https://jwt.io/) standard. JWT is an industry-standard protocol for creating access tokens which assert various claims about the resource who has authenticated. The tokens have a specific structure consisting of a header, payload, and signature. A raw JWT might look like this: @@ -513,43 +482,43 @@ You can check the JWT access token data online at [jwt.io](https://jwt.io). ### Grant flow use cases -This section describes some different use cases and which grant flow you would want to use for the different cases. +This section describes some different use cases and which grant flow you would want to use for the different cases. #### Daily work or quick actions For daily work or short, quick administrative actions, you can just use a PAT. This makes the process easier because you don't really need to worry about grant types - you can easily generate a PAT in the user interface (UI). -Follow these steps to do so: +Follow these steps to do so: + 1. Log in to ISC. -2. Go to 'Preferences', then 'Personal Access Tokens', and [generate a PAT](#generate-a-personal-access-token). -3. The PAT's `client_id` and `client_secret` provide the necessary authentication to send API requests, without any grant flow. +2. Go to 'Preferences', then 'Personal Access Tokens', and [generate a PAT](#generate-a-personal-access-token). +3. The PAT's `client_id` and `client_secret` provide the necessary authentication to send API requests, without any grant flow. #### Postman + [Postman](https://www.postman.com/) is a popular HTTP client you can use to design, build, test, and iterate your APIs. Postman users and teams can create public workspaces they can use to make it easy to access their API collections and environments and get started. SailPoint maintains a [public workspace for the Identity Security Cloud API collections](https://www.postman.com/sailpoint/workspace/identitynow). You can use this workspace to access all the ISC API collections and stay up to date. -If you're using Postman, you have some different ways to set up your authorization. -You can just leverage the accessToken as mentioned above, or you can configure Postman to use OAuth 2.0 directly. -For more information about how to do so, refer [here](https://learning.postman.com/docs/sending-requests/authorization/). +If you're using Postman, you have some different ways to set up your authorization. You can just leverage the accessToken as mentioned above, or you can configure Postman to use OAuth 2.0 directly. For more information about how to do so, refer [here](https://learning.postman.com/docs/sending-requests/authorization/). + +#### Web applications -#### Web applications If you are making a web application, the best grant flow to use is the [Authorization Code grant flow](#request-access-token-with-authorization-grant-flow). This will allow users to be directed to ISC to login and then redirected back to the web application through a URL redirect. This also works well with Single Sign-on (SSO), strong authentication, and pass-through authentication mechanisms. -SailPoint doesn't recommend using a password grant flow for web applications because doing so would involve entering ISC credentials in the web application. -This flow also doesn't allow you to work with SSO, strong authentication, or pass-through authentication. +SailPoint doesn't recommend using a password grant flow for web applications because doing so would involve entering ISC credentials in the web application. This flow also doesn't allow you to work with SSO, strong authentication, or pass-through authentication. #### Scripts, programs or system to system integration -If you are writing scripts, programs or system integrations that leverage the ISC APIs, the OAuth 2.0 grant you should use typically depends on what you're doing and the user context you need to operate under. + +If you are writing scripts, programs or system integrations that leverage the ISC APIs, the OAuth 2.0 grant you should use typically depends on what you're doing and the user context you need to operate under. Because scripts, code, and programs lack an interactive web-interface, it is difficult, but not impossible, to implement a working authorization code grant flow. System to system integrations may require an elevated level of access and utilize a service account to make API calls beyond the privileges of the authenticated user. -Most scripts, programs, and many integrations use the [Client Credentials grant flow](#request-access-token-with-client-credentials-grant-flow). -Using a PAT allows your API calls to work within a user context making client credentials ideal. +Most scripts, programs, and many integrations use the [Client Credentials grant flow](#request-access-token-with-client-credentials-grant-flow). Using a PAT allows your API calls to work within a user context making client credentials ideal. ## Troubleshooting -Having issues? Follow these steps: +Having issues? Follow these steps: -### Verify API endpoint calls +### Verify API endpoint calls 1. Verify the structure of the API call: 2. Verify that the API calls are going through the API gateway: `https://{tenant}.api.identitynow.com` @@ -566,16 +535,15 @@ Having issues? Follow these steps: :::info -You can also get a **403 Forbidden** response error when you call an API that expects a user, but your authorization grant type lacks a user context. Calling most admin APIs with a `CLIENT_CREDENTIAL` grant often produces this result. +You can also get a **403 Forbidden** response error when you call an API that expects a user, but your authorization grant type lacks a user context. Calling most admin APIs with a `CLIENT_CREDENTIAL` grant often produces this result. ::: -### Verify OAuth client +### Verify OAuth client -1. Verify that the OAuth 2.0 client is not a legacy OAuth client. Legacy OAuth clients will not work. This can become very apparent when you look at the client ID - OAuth 2.0 client IDs have dashes. -Here are two examples that illustrate the difference: +1. Verify that the OAuth 2.0 client is not a legacy OAuth client. Legacy OAuth clients will not work. This can become very apparent when you look at the client ID - OAuth 2.0 client IDs have dashes. Here are two examples that illustrate the difference: -Legacy Client ID: `G6xLlBBOKIcOAQuK` +Legacy Client ID: `G6xLlBBOKIcOAQuK` OAuth 2.0 Client ID: `b61429f5-203d-494c-94c3-04f54e17bc5c` @@ -611,10 +579,8 @@ You can also view all of the active clients in the UI by going to `https://{tena } ``` -4. If you're using an [Authorization Code](#authorization-code-grant-flow) grant flow, verify that the redirect URL(s) for your application match the `redirectUris` value in the client. -You can check this by calling the [List OAuth Clients endpoint](/docs/api/beta/list-oauth-clients). +4. If you're using an [Authorization Code](#authorization-code-grant-flow) grant flow, verify that the redirect URL(s) for your application match the `redirectUris` value in the client. You can check this by calling the [List OAuth Clients endpoint](/docs/api/beta/list-oauth-clients). ### Verify OAuth calls -Verify that the OAuth call flow is going to the right URLs, with the correct query parameters and data values. -A common source of errors is using the wrong host for authorization and token API calls. -The token endpoint URL is `{tenant}.api.identitynow.com`, while the authorize URL is `{tenant}.identitynow.com`. + +Verify that the OAuth call flow is going to the right URLs, with the correct query parameters and data values. A common source of errors is using the wrong host for authorization and token API calls. The token endpoint URL is `{tenant}.api.identitynow.com`, while the authorize URL is `{tenant}.identitynow.com`. diff --git a/docs/api/authorization.md b/docs/api/authorization.md index 8fdbaf80c..1bb04108b 100644 --- a/docs/api/authorization.md +++ b/docs/api/authorization.md @@ -5,10 +5,10 @@ pagination_label: Authorization sidebar_label: Authorization sidebar_position: 3 sidebar_class_name: authorization -keywords: ['authorization','scope','permission'] +keywords: ['authorization', 'scope', 'permission'] description: Authorize your ISC API requests. slug: /api/authorization -tags: ['Authorization','Scopes','Permissions'] +tags: ['Authorization', 'Scopes', 'Permissions'] --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; @@ -41,7 +41,7 @@ sequenceDiagram ## User Level Permissions -When managing a user's access to the API, you must first assign the target user an appropriate [user level](https://documentation.sailpoint.com/saas/help/common/users/user_level_matrix.html). It is important to choose the correct user level as it will place a boundary on which APIs a user can call, which also affects the areas and functions of the UI they have access to. For example, if a user is in charge of creating reports for auditing requirements, consider granting them the "Report Admin" user level. +When managing a user's access to the API, you must first assign the target user an appropriate [user level](https://documentation.sailpoint.com/saas/help/common/users/user_level_matrix.html). It is important to choose the correct user level as it will place a boundary on which APIs a user can call, which also affects the areas and functions of the UI they have access to. For example, if a user is in charge of creating reports for auditing requirements, consider granting them the "Report Admin" user level. User levels are typically granted through the UI, [following the procedures from this document](https://documentation.sailpoint.com/saas/help/common/users/grant_remove_user_levels.html). @@ -51,26 +51,26 @@ There is an [API that can set an identity's user level](https://developer.sailpo ::: -User levels act as the first line of defense by applying a rigid boundary around the APIs that a user can call. The next section introduces scopes, which allow users to apply granular controls on the APIs an access token can call. +User levels act as the first line of defense by applying a rigid boundary around the APIs that a user can call. The next section introduces scopes, which allow users to apply granular controls on the APIs an access token can call. ## Scopes -Scopes are granular permissions you can add to personal access tokens (PATs) to create tokens with the least privilege necessary to fulfill their functions. User levels place a broad border around the APIs a token has access to, while scopes can further limit the set of endpoints a token can call. Scopes allow an API user to have multiple tokens with different privileges that support unique use cases and software applications. Using scopes is beneficial to security - if a bad actor compromises any one of the tokens, the bad actor can only perform the limited set of operations defined by the token's scopes, significantly reducing the potential damage that can be done. Therefore, it is recommended that all users apply scopes to each PAT they create in order to reduce the impact of stolen credentials. +Scopes are granular permissions you can add to personal access tokens (PATs) to create tokens with the least privilege necessary to fulfill their functions. User levels place a broad border around the APIs a token has access to, while scopes can further limit the set of endpoints a token can call. Scopes allow an API user to have multiple tokens with different privileges that support unique use cases and software applications. Using scopes is beneficial to security - if a bad actor compromises any one of the tokens, the bad actor can only perform the limited set of operations defined by the token's scopes, significantly reducing the potential damage that can be done. Therefore, it is recommended that all users apply scopes to each PAT they create in order to reduce the impact of stolen credentials. -Scopes contain one or more rights, which are low level permissions that grant access to individual endpoints. This means that a single scope, like `idn:access-request:manage`, can grant access to multiple API endpoints. To determine which scopes a PAT needs, you must first identify which endpoints the PAT needs to invoke. Each endpoint's API specification indicates which scope is necessary to call the endpoint. You can use this approach to curate a list of scopes that must be applied to the credential to call the necessary endpoints. [Learn more about how to find an API's required scopes here](#identifying-necessary-authorization-for-an-endpoint). +Scopes contain one or more rights, which are low level permissions that grant access to individual endpoints. This means that a single scope, like `idn:access-request:manage`, can grant access to multiple API endpoints. To determine which scopes a PAT needs, you must first identify which endpoints the PAT needs to invoke. Each endpoint's API specification indicates which scope is necessary to call the endpoint. You can use this approach to curate a list of scopes that must be applied to the credential to call the necessary endpoints. [Learn more about how to find an API's required scopes here](#identifying-necessary-authorization-for-an-endpoint). By default, each PAT has the scope `sp:scopes:default`, which is the least privileged scope. It only grants access to endpoints that require no authorization at all, such as [List Public Identities](https://developer.sailpoint.com/idn/api/v3/get-public-identities). Access to the endpoint may still be determined by the user's [user level](https://documentation.sailpoint.com/saas/help/common/users/user_level_matrix.html). Alternatively, `sp:scopes:all` grants access to all the rights appropriate for the [user level](https://documentation.sailpoint.com/saas/help/common/users/user_level_matrix.html). For example, a user with the **Admin** user level has access to all APIs, so `sp:scopes:all` grants **Admin** users access to all APIs. A user with the **Cert Admin** user level, however, has access to only a subset of APIs necessary to perform their role, most notably the certification APIs, so `sp:scopes:all` grants **Cert Admin** users access to only that subset of APIs. -Scopes are additive, which means the final right set is the intersection of all the rights granted by the scopes assigned to a PAT, excluding any rights that fall outside of the user level. Each scope added to an PAT builds up the credential's permission set, incrementally increasing access to the API. If a PAT has `sp:scopes:all` granted, then any additional scope is ignored because `sp:scopes:all` already contains the complete set of rights available to the user level. +Scopes are additive, which means the final right set is the intersection of all the rights granted by the scopes assigned to a PAT, excluding any rights that fall outside of the user level. Each scope added to an PAT builds up the credential's permission set, incrementally increasing access to the API. If a PAT has `sp:scopes:all` granted, then any additional scope is ignored because `sp:scopes:all` already contains the complete set of rights available to the user level. :::tip If the API requirements for the personal access token exceed the scopes allowed by the user's assigned user level, then the following options may be considered. -- Re-evaluate the user's responsibilities compared to their user level. It is possible that their user level is no longer appropriate for the functions they need to perform, and a more permissive user level may be necessary. -- If the required access is a one-off need for a specific use case, then consider generating a PAT with the required scopes from a different user and sharing the credentials. This could be a dedicated service account designated for one-off applications. The downside of this approach is that it becomes more difficult to attribute an API call to a specific user, as the user now has a PAT that is not tied to their user account. +- Re-evaluate the user's responsibilities compared to their user level. It is possible that their user level is no longer appropriate for the functions they need to perform, and a more permissive user level may be necessary. +- If the required access is a one-off need for a specific use case, then consider generating a PAT with the required scopes from a different user and sharing the credentials. This could be a dedicated service account designated for one-off applications. The downside of this approach is that it becomes more difficult to attribute an API call to a specific user, as the user now has a PAT that is not tied to their user account. ::: @@ -84,7 +84,7 @@ Each endpoint document specifies how to authorize with the endpoint in the **Aut - **flow**: One or more OAuth flows supported by the endpoint. A token only needs to be generated by one flow to be valid. Refer to [Authentication Details](./authentication.md#authentication-details) for more information about the available flows. - **scopes**: A list of scopes necessary to access the endpoint. A token only needs one of the scopes to authorize with the endpoint. When possible, choose the least privileged scope. Scopes ending in `read` can only retrieve data. Scopes ending in `manage` can retrieve, modify, and delete data. -You may also notice that many API descriptions will indicate the user level(s) required to call the API endpoint. In the screenshot above, the list access profiles endpoint requires the user to have one of the following user levels: ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN. This means the PAT must have one of those user level **in addition to** the `sp:scopes:all` or `idn:access-profile:read` scope in order to call the endpoint. +You may also notice that many API descriptions will indicate the user level(s) required to call the API endpoint. In the screenshot above, the list access profiles endpoint requires the user to have one of the following user levels: ORG_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN. This means the PAT must have one of those user level **in addition to** the `sp:scopes:all` or `idn:access-profile:read` scope in order to call the endpoint. :::info @@ -106,11 +106,8 @@ Request Body ```json { - "name": "Access Request and NELM Management", - "scope": [ - "idn:access-request:manage", - "idn:nelm:manage" - ] + "name": "Access Request and NELM Management", + "scope": ["idn:access-request:manage", "idn:nelm:manage"] } ``` @@ -118,24 +115,21 @@ This request produces the following response, indicating that the scopes were su ```json { - "id": "86286c0c456e4b03a8ccb1f892dd456d", - "name": "Access Request and NELM Management", - "secret": "********", - "scope": [ - "idn:access-request:manage", - "idn:nelm:manage" - ], - "created": "2023-01-04T18:58:17.486584Z", - "owner": { - "name": "jane.doe", - "id": "2c9180ab7624cbd7017642d8c8c81a73", - "type": "IDENTITY" - } + "id": "86286c0c456e4b03a8ccb1f892dd456d", + "name": "Access Request and NELM Management", + "secret": "********", + "scope": ["idn:access-request:manage", "idn:nelm:manage"], + "created": "2023-01-04T18:58:17.486584Z", + "owner": { + "name": "jane.doe", + "id": "2c9180ab7624cbd7017642d8c8c81a73", + "type": "IDENTITY" + } } ``` :::caution -If you attempt to add a scope that is outside the permissions of the [target user's level](#user-level-permissions), the request will still succeed and include the invalid scope in the credentials. However, any token generated with these credentials will **not** include the rights of the invalid scope. This is not an issue when you apply scopes with the UI - the UI only shows scopes available to the current user. +If you attempt to add a scope that is outside the permissions of the [target user's level](#user-level-permissions), the request will still succeed and include the invalid scope in the credentials. However, any token generated with these credentials will **not** include the rights of the invalid scope. This is not an issue when you apply scopes with the UI - the UI only shows scopes available to the current user. ::: diff --git a/docs/api/getting-started.md b/docs/api/getting-started.md index 49e79258c..b9bfc81ad 100644 --- a/docs/api/getting-started.md +++ b/docs/api/getting-started.md @@ -6,14 +6,14 @@ sidebar_label: Getting Started sidebar_position: 1 sidebar_class_name: gettingStarted keywords: ['getting started'] -description: Start using the ISC APIs. +description: Start using the ISC APIs. slug: /api/getting-started tags: ['Getting Started'] --- ## Overview -This guide is intended to help you quickly make your first API call to SailPoint Identity Security Cloud and assumes an intermediate level of understanding of APIs. For beginners to APIs, we recommend you watch this presentation that covers the fundamentals of APIs with visual demonstrations of how to make an API call in SailPoint. +This guide is intended to help you quickly make your first API call to SailPoint Identity Security Cloud and assumes an intermediate level of understanding of APIs. For beginners to APIs, we recommend you watch this presentation that covers the fundamentals of APIs with visual demonstrations of how to make an API call in SailPoint.
diff --git a/docs/api/identity-security-cloud.md b/docs/api/identity-security-cloud.md index b74855807..bc7dd1ea1 100644 --- a/docs/api/identity-security-cloud.md +++ b/docs/api/identity-security-cloud.md @@ -6,14 +6,14 @@ sidebar_label: Identity Security Cloud API Specifications sidebar_position: 1 sidebar_class_name: iscSpecifications keywords: ['api', 'specifications'] -description: ISC API specifications. +description: ISC API specifications. slug: /api tags: ['API Specifications'] --- -## Overview +## Overview -The Identity Security Cloud (ISC) APIs provide developers with a way to interact with the ISC platform and extend it. Developers can leverage these APIs to customize their platform experiences and build new solutions and integrations that meet their needs. +The Identity Security Cloud (ISC) APIs provide developers with a way to interact with the ISC platform and extend it. Developers can leverage these APIs to customize their platform experiences and build new solutions and integrations that meet their needs. ```mdx-code-block import DocCardList from '@theme/DocCardList'; @@ -22,8 +22,8 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` -## Discuss +## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the ISC APIs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/tags/c/isc/6/apis). \ No newline at end of file +To learn more about the ISC APIs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/tags/c/isc/6/apis). diff --git a/docs/api/nerm/authentication.md b/docs/api/nerm/authentication.md index 7fc2ef893..a32a58b17 100644 --- a/docs/api/nerm/authentication.md +++ b/docs/api/nerm/authentication.md @@ -11,8 +11,6 @@ slug: /api/nerm/authentication tags: ['Authentication'] --- - - ## Overview NERM uses bearer tokens to allow customers to authenticate to NERM API endpoints. These tokens can be generated by following the instructions [here](https://documentation.sailpoint.com/ne-admin/help/setup/api.html). @@ -20,5 +18,3 @@ NERM uses bearer tokens to allow customers to authenticate to NERM API endpoints ## Example To use your bearer token simply provide it in the header with the request like so: `Authorization: Bearer ` - - diff --git a/docs/api/nerm/pagination-metadata-filtering.md b/docs/api/nerm/pagination-metadata-filtering.md index 0c302394b..d2fc8673d 100644 --- a/docs/api/nerm/pagination-metadata-filtering.md +++ b/docs/api/nerm/pagination-metadata-filtering.md @@ -25,7 +25,7 @@ Use the following optional query parameters to achieve pagination: | --- | --- | --- | --- | | `limit` | Integer specifying the maximum number of records to return in a single API call. If it is not specified, a default limit is used. | `100` | Maxiumum of 500 for `api/profiles` | | `offset` | Integer specifying the offset of the first result from the beginning of the collection. The **offset** value is record-based, not page-based, and the index starts at 0. For example, **offset=0** and **limit=20** returns records 0-19, but **offset=1** and **limit=20** returns records 1-20. | `0` | Between 0 and the last record index. | -| `order` | String specifying the ascending order in which the results should be returned, for example, **order=login** would return the users results in an ascending alphanumeric order| - | Limited to specific parameters | +| `order` | String specifying the ascending order in which the results should be returned, for example, **order=login** would return the users results in an ascending alphanumeric order | - | Limited to specific parameters | Examples: @@ -39,11 +39,12 @@ Metadata can be added to a result to allow for progromatic approaches to fetchin | Name | Description | Default | | --- | --- | --- | -| `metadata` | Boolean that specifies wether or not to return a **_metadata** key with pagination information | false | +| `metadata` | Boolean that specifies wether or not to return a **\_metadata** key with pagination information | false | Example: - GET `/api/users?metadata=true` + ``` { ... @@ -61,6 +62,7 @@ Example: Resource attributes can be added to parameters to perform a basic match filter. Refer to each documented endpoints **Query Parameters** to identify what can be used. Example: + - GET `/api/users?email=jim@acmeco.com` ## Advanced Profile Filtering @@ -115,12 +117,12 @@ There are 3 types of **condition_rules_attributes** This rule searches for profiles based on the status. | Key | Type | Description | -|----------|------|-----------------------| +| --- | --- | --- | | id | string | If you are updating an existing rule, include the ID of that rule, if you do not include an ID it will create a new condition rule | | type | string **required** | The value must be 'ProfileStatusRule' | | comparison_operator | string **required** | This is how the comparison is made for the attribute values.

Available basic operators:
  • == (equals)
  • != (not equal)
| | value | string **required** | This is the value used for comparison.0

Available Values:
  • Active
  • Inactive
  • Leave of absence
  • Terminated
| -| _destroy | boolean | Supplying this option with "true" will cause the condition to be destroyed | +| \_destroy | boolean | Supplying this option with "true" will cause the condition to be destroyed | Example: @@ -143,12 +145,12 @@ Example: This rule searches for profiles based on the id of the profile type. | Key | Type | Description | -|----------|------|-----------------------| +| --- | --- | --- | | id | string | If you are updating an existing rule, include the ID of that rule, if you do not include an ID it will create a new condition rule | | type | string **required** | The value must be 'ProfileTypeRule' | | comparison_operator | string **required** | This is how the comparison is made for the attribute values. Available basic operators:
  • == (equals)
  • != (not equal)
| | value | string **required** | This is the value used for comparison. This should be the ID of the profile type | -| _destroy | boolean | Supplying this option with "true" will cause the condition to be destroyed | +| \_destroy | boolean | Supplying this option with "true" will cause the condition to be destroyed | Example: @@ -171,14 +173,14 @@ Example: This rule searches for profiles based on an attribute that profile has. | Key | Type | Description | -|----------|------|-----------------------| +| --- | --- | --- | | id | string | If you are updating an existing rule, include the ID of that rule, if you do not include an ID it will create a new condition rule | | type | string **required** | The value must be 'ProfileAttributeRule' | | object_type | string **required** | The values must equal 'NeAttribute' | | condition_object_id | string **required** | this is the id of the attribute you are searching against | | comparison_operator | string **required** | This is how the comparison is made for the attribute values.

Available basic operators:
  • == (equals)
  • != (not equal)
  • > (greater than)
  • < (less than)
  • start_with? (starts with)
  • end_with? (ends with)
  • include? (includes)
Available date operators:
  • before (before specific date)
  • after (after specific date)
  • > (more than X days before/after today)
  • < (less than X days before/after today)
  • == (equal to X days before/after today)
| | value | string **required** | This is the value used for comparison.

Value formatting:
  • profile select attribute: ID of profile
  • profile search attribute: ID of profile
  • user select attribute: ID of user
  • user search attribute: ID of user
  • date attribute (before, after): correct date format for attribute
  • date attribute (>, <, ==): "X before" or "X after" where X is the number of days
| -| _destroy | boolean | Supplying this option with "true" will cause the condition to be destroyed | +| \_destroy | boolean | Supplying this option with "true" will cause the condition to be destroyed | Example: @@ -196,4 +198,4 @@ Example: ] } } -``` \ No newline at end of file +``` diff --git a/docs/api/non-employee.md b/docs/api/non-employee.md index 307bda5bd..a5d9cff97 100644 --- a/docs/api/non-employee.md +++ b/docs/api/non-employee.md @@ -6,16 +6,16 @@ sidebar_label: NERM API Specifications sidebar_position: 1 sidebar_class_name: nermApiSpecifications keywords: ['api', 'specifications'] -description: NERM API specifications. +description: NERM API specifications. slug: /api/nerm tags: ['API Specifications'] --- -## Overview +## Overview -[Non-Employee Risk Management (NERM)](https://documentation.sailpoint.com/ne-admin/help/) is an add-on to Identity Security Cloud (ISC) that helps organizations track non-employees such as contractors, partners, and vendors, and their lifecycles within the organization. +[Non-Employee Risk Management (NERM)](https://documentation.sailpoint.com/ne-admin/help/) is an add-on to Identity Security Cloud (ISC) that helps organizations track non-employees such as contractors, partners, and vendors, and their lifecycles within the organization. -The Non-Employee Risk Management (NERM) APIs provide developers with a way to interact with the NERM add-on and extend it. Developers can leverage these APIs to customize their platform experiences and build new solutions and integrations that meet their needs. +The Non-Employee Risk Management (NERM) APIs provide developers with a way to interact with the NERM add-on and extend it. Developers can leverage these APIs to customize their platform experiences and build new solutions and integrations that meet their needs. ```mdx-code-block import DocCardList from '@theme/DocCardList'; @@ -24,8 +24,8 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` -## Discuss +## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the NERM APIs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/tag/nerm). \ No newline at end of file +To learn more about the NERM APIs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/tag/nerm). diff --git a/docs/api/patch-requests.md b/docs/api/patch-requests.md index 8a2c4c9e0..b7f180630 100644 --- a/docs/api/patch-requests.md +++ b/docs/api/patch-requests.md @@ -10,159 +10,145 @@ description: Send PATCH ISC API requests. tags: ['patch', 'guide'] --- -## PATCH requests +## PATCH requests -You can use the Identity Security Cloud APIs to update existing resources. Many of the APIs offer multiple ways to do so: +You can use the Identity Security Cloud APIs to update existing resources. Many of the APIs offer multiple ways to do so: -- You can send a **PUT** request to replace the existing resource with a new one. For example, if you wanted to update one of John Doe's source accounts, you could use the [Put Account](https://developer.sailpoint.com/docs/api/v3/put-account) endpoint to replace John Doe's existing source account with a new one. This is a viable way to update a resource, but it requires you to update the entire resource each time. +- You can send a **PUT** request to replace the existing resource with a new one. For example, if you wanted to update one of John Doe's source accounts, you could use the [Put Account](https://developer.sailpoint.com/docs/api/v3/put-account) endpoint to replace John Doe's existing source account with a new one. This is a viable way to update a resource, but it requires you to update the entire resource each time. -- You can send a **PATCH** request to make a specific change to the resource. For example, if you wanted to update John Doe's account's associated `identityId` attribute, you could use the [Patch Account](https://developer.sailpoint.com/docs/api/v3/update-account) endpoint to replace his existing `identityId` with a new one, all without affecting any of the other source account details. This can be very helpful when you want to make specific updates to resources, but it requires some knowledge of the types of changes, or "operations", that are possible, the specific paths of the fields you want to update, and some understanding of the basic data types. +- You can send a **PATCH** request to make a specific change to the resource. For example, if you wanted to update John Doe's account's associated `identityId` attribute, you could use the [Patch Account](https://developer.sailpoint.com/docs/api/v3/update-account) endpoint to replace his existing `identityId` with a new one, all without affecting any of the other source account details. This can be very helpful when you want to make specific updates to resources, but it requires some knowledge of the types of changes, or "operations", that are possible, the specific paths of the fields you want to update, and some understanding of the basic data types. -This guide will focus on the partial update method, PATCH requests. Read this guide to learn how to start sending PATCH requests. +This guide will focus on the partial update method, PATCH requests. Read this guide to learn how to start sending PATCH requests. ## Get the resource ID -To use PATCH to update a resource, you first need to know the resource ID. +To use PATCH to update a resource, you first need to know the resource ID. -Not all resource IDs are available in the Identity Security Cloud UI, so you may need to use the API to find the ID for the resource you want to update. +Not all resource IDs are available in the Identity Security Cloud UI, so you may need to use the API to find the ID for the resource you want to update. -For example, account IDs aren't avilable in the Identity Security Cloud UI. If you want to use the [Patch Account](https://developer.sailpoint.com/docs/api/v3/update-account) endpoint to make a change to a specific account, you first need to find out the account's ID. +For example, account IDs aren't avilable in the Identity Security Cloud UI. If you want to use the [Patch Account](https://developer.sailpoint.com/docs/api/v3/update-account) endpoint to make a change to a specific account, you first need to find out the account's ID. -You can use the [List Accounts](https://developer.sailpoint.com/docs/api/v3/list-accounts) endpoint to view all the accounts in your tenant, along with their details, such as their identities. You can find your account and its ID in this list. +You can use the [List Accounts](https://developer.sailpoint.com/docs/api/v3/list-accounts) endpoint to view all the accounts in your tenant, along with their details, such as their identities. You can find your account and its ID in this list. -## Get the resource details +## Get the resource details -Once you know the resource ID, you can use a GET request to get that resource's details. To successfully use a PATCH request to make changes to a resource, you need to know which paths you can update, what values they have, and the structure of those paths. +Once you know the resource ID, you can use a GET request to get that resource's details. To successfully use a PATCH request to make changes to a resource, you need to know which paths you can update, what values they have, and the structure of those paths. -For example, once you know the ID for the source you want to update with a PATCH request, you can use the [Get Source by ID](https://developer.sailpoint.com/docs/api/v3/get-source) endpoint to view only that source and its details. +For example, once you know the ID for the source you want to update with a PATCH request, you can use the [Get Source by ID](https://developer.sailpoint.com/docs/api/v3/get-source) endpoint to view only that source and its details. -In this example, the API returns a source, "ubuntu", along with all its details. This JSON response shows the resource's structure and its different paths: +In this example, the API returns a source, "ubuntu", along with all its details. This JSON response shows the resource's structure and its different paths:
Example Source Details ```json - { - "description": "ubuntu", - "owner": { - "type": "IDENTITY", - "id": "2c91808475b4334b0175e1e005006401", - "name": "SailPoint Services" + "description": "ubuntu", + "owner": { + "type": "IDENTITY", + "id": "2c91808475b4334b0175e1e005006401", + "name": "SailPoint Services" + }, + "cluster": null, + "accountCorrelationConfig": null, + "accountCorrelationRule": null, + "managerCorrelationMapping": null, + "managerCorrelationRule": null, + "beforeProvisioningRule": null, + "schemas": [ + { + "type": "CONNECTOR_SCHEMA", + "id": "2c91808c771b686101772a91dbd877ab", + "name": "account" }, - "cluster": null, - "accountCorrelationConfig": null, - "accountCorrelationRule": null, - "managerCorrelationMapping": null, - "managerCorrelationRule": null, - "beforeProvisioningRule": null, - "schemas": [ - { - "type": "CONNECTOR_SCHEMA", - "id": "2c91808c771b686101772a91dbd877ab", - "name": "account" - }, - { - "type": "CONNECTOR_SCHEMA", - "id": "2c91808c771b686101772a91dbd877ac", - "name": "group" - } - ], - "passwordPolicies": null, - "features": [ - "NO_RANDOM_ACCESS", - "DISCOVER_SCHEMA", - "DIRECT_PERMISSIONS" - ], - "type": "DelimitedFile", - "connector": "delimited-file-angularsc", - "connectorClass": "sailpoint.connector.DelimitedFileConnector", - "connectorAttributes": { - "mergeColumns": [ - "groups" - ], - "group.mergeRows": true, - "group.delimiter": ",", - "mergeRows": true, - "group.filetransport": "local", - "partitionMode": "disabled", - "connectionType": "file", - "group.host": "local", - "group.indexColumn": "id", - "file": "/tmp/source-account-2c91808c771b686101772a91dbd877aa3299228430527475607.csv", - "delimiter": ",", - "deltaAggregation": null, - "host": "local", - "cloudExternalId": "23012", - "group.indexColumns": [ - "id" - ], - "cloudIdentityProfileName": null, - "group.mergeColumns": [ - "entitlements", - "groups", - "permissions" - ], - "hasHeader": true, - "filterEmptyRecords": true, - "oauth_body_attrs_to_exclude": "client_secret,client_id", - "filetransport": "local", - "idnPreviousCorrelationConfig": null, - "deleteThresholdPercentage": 10, - "group.filterEmptyRecords": true, - "group.hasHeader": true, - "group.partitionMode": "disabled", - "cloudAuthoritativeSourcePrecedence": null, - "formPath": null, - "group.columnNames": [ - "id", - "name", - "displayName", - "created", - "description", - "modified", - "entitlements", - "groups", - "permissions" - ], - "templateApplication": "DelimitedFile Template", - "group.file": "/var/lib/identityiq_workspace/27c92c24-8681-4574-9453-5c56370b3fc9-groups.csv", - "indexColumn": "id", - "healthy": false, - "cloudDisplayName": "Ubuntu", - "connectorName": "Delimited File", - "beforeProvisioningRule": null, - "cloudOriginalApplicationType": "Delimited File", - "since": "2021-01-22T14:48:58.072Z", - "status": "SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT" - }, - "deleteThreshold": 10, - "authoritative": false, - "healthy": false, - "status": "SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT", - "since": "2021-01-22T14:48:58.072Z", - "connectorId": "delimited-file", - "connectorName": "Delimited File", + { + "type": "CONNECTOR_SCHEMA", + "id": "2c91808c771b686101772a91dbd877ac", + "name": "group" + } + ], + "passwordPolicies": null, + "features": ["NO_RANDOM_ACCESS", "DISCOVER_SCHEMA", "DIRECT_PERMISSIONS"], + "type": "DelimitedFile", + "connector": "delimited-file-angularsc", + "connectorClass": "sailpoint.connector.DelimitedFileConnector", + "connectorAttributes": { + "mergeColumns": ["groups"], + "group.mergeRows": true, + "group.delimiter": ",", + "mergeRows": true, + "group.filetransport": "local", + "partitionMode": "disabled", "connectionType": "file", - "connectorImplementationId": "delimited-file", - "managementWorkgroup": null, - "id": "2c91808c771b686101772a91dbd877aa", - "name": "Ubuntu", - "created": "2021-01-22T14:48:58.072Z", - "modified": "2023-06-30T13:39:07.456Z" + "group.host": "local", + "group.indexColumn": "id", + "file": "/tmp/source-account-2c91808c771b686101772a91dbd877aa3299228430527475607.csv", + "delimiter": ",", + "deltaAggregation": null, + "host": "local", + "cloudExternalId": "23012", + "group.indexColumns": ["id"], + "cloudIdentityProfileName": null, + "group.mergeColumns": ["entitlements", "groups", "permissions"], + "hasHeader": true, + "filterEmptyRecords": true, + "oauth_body_attrs_to_exclude": "client_secret,client_id", + "filetransport": "local", + "idnPreviousCorrelationConfig": null, + "deleteThresholdPercentage": 10, + "group.filterEmptyRecords": true, + "group.hasHeader": true, + "group.partitionMode": "disabled", + "cloudAuthoritativeSourcePrecedence": null, + "formPath": null, + "group.columnNames": [ + "id", + "name", + "displayName", + "created", + "description", + "modified", + "entitlements", + "groups", + "permissions" + ], + "templateApplication": "DelimitedFile Template", + "group.file": "/var/lib/identityiq_workspace/27c92c24-8681-4574-9453-5c56370b3fc9-groups.csv", + "indexColumn": "id", + "healthy": false, + "cloudDisplayName": "Ubuntu", + "connectorName": "Delimited File", + "beforeProvisioningRule": null, + "cloudOriginalApplicationType": "Delimited File", + "since": "2021-01-22T14:48:58.072Z", + "status": "SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT" + }, + "deleteThreshold": 10, + "authoritative": false, + "healthy": false, + "status": "SOURCE_STATE_ERROR_ACCOUNT_FILE_IMPORT", + "since": "2021-01-22T14:48:58.072Z", + "connectorId": "delimited-file", + "connectorName": "Delimited File", + "connectionType": "file", + "connectorImplementationId": "delimited-file", + "managementWorkgroup": null, + "id": "2c91808c771b686101772a91dbd877aa", + "name": "Ubuntu", + "created": "2021-01-22T14:48:58.072Z", + "modified": "2023-06-30T13:39:07.456Z" } - ```
-## PATCH request structure +## PATCH request structure -A PATCH request involves sending a JSON PATCH document that represents an array of objects. Each object represents a single operation to be applied to the target resource. +A PATCH request involves sending a JSON PATCH document that represents an array of objects. Each object represents a single operation to be applied to the target resource. -PATCH requests all share the same essential structure. A PATCH request must include an object that specifies exactly one operation to apply to update the resource, as well as exactly one path that represents the target location where the operation is applied. +PATCH requests all share the same essential structure. A PATCH request must include an object that specifies exactly one operation to apply to update the resource, as well as exactly one path that represents the target location where the operation is applied. -This example request has the basic PATCH structure: +This example request has the basic PATCH structure: ```text PATCH https://{tenant}.api.identitynow.com/v3/sources/:id @@ -176,31 +162,29 @@ PATCH https://{tenant}.api.identitynow.com/v3/sources/:id "value": "new description" } ] - ``` -This example request uses a "replace" operation to replace the source's existing description with a new value, "new description". This example shows the parts involved in sending a PATCH request. You must specify an operation to apply to the target resource, a path to apply the operation to, and the change you want to make, often in the form of a value or a "from" location for "copy" and "move" operations. +This example request uses a "replace" operation to replace the source's existing description with a new value, "new description". This example shows the parts involved in sending a PATCH request. You must specify an operation to apply to the target resource, a path to apply the operation to, and the change you want to make, often in the form of a value or a "from" location for "copy" and "move" operations. -You can find this example in the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) specification. The API specifications have examples on the right side of the page that you can copy and use to get started. You can tab between the different examples to see a variety of pre-built requests you can use. +You can find this example in the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) specification. The API specifications have examples on the right side of the page that you can copy and use to get started. You can tab between the different examples to see a variety of pre-built requests you can use. -A PATCH request can be more complex as well - the values can be simple or vast and detailed. You can use a PATCH request to apply multiple operations, with a path for each, or you can apply the same type of operation to multiple paths. The PATCH request will always have the same essential structure though. +A PATCH request can be more complex as well - the values can be simple or vast and detailed. You can use a PATCH request to apply multiple operations, with a path for each, or you can apply the same type of operation to multiple paths. The PATCH request will always have the same essential structure though. :::note -The ordering of members in JSON objects doesn't affect the response. These examples all specify the operation first, but you would get the same response if you specified the members in any other order. +The ordering of members in JSON objects doesn't affect the response. These examples all specify the operation first, but you would get the same response if you specified the members in any other order. ::: -You can specify a single operation, or you can specify multiple. If you are using multiple operations in one PATCH request, each operation must include its own path. +You can specify a single operation, or you can specify multiple. If you are using multiple operations in one PATCH request, each operation must include its own path. -This example request applies "replace" and "add" ops to different paths: +This example request applies "replace" and "add" ops to different paths: ```text PATCH https://{tenant}.api.identitynow.com/v3/sources/:id ``` ```json - [ { "op": "replace", @@ -213,116 +197,108 @@ PATCH https://{tenant}.api.identitynow.com/v3/sources/:id "value": "!( id.contains( \"m\" ) ) || !( id.contains( \"d\" ) )" } ] - ``` -This example request uses a "replace" to update the source's description and an "add" to add a filter string to the source's connector. +This example request uses a "replace" to update the source's description and an "add" to add a filter string to the source's connector. -## Specify an operation +## Specify an operation -Once you know the ID of the resource you want to update and you have the resource's details, you can start writing your PATCH request. +Once you know the ID of the resource you want to update and you have the resource's details, you can start writing your PATCH request. -The first step is to specify an operation to apply to the target resource. +The first step is to specify an operation to apply to the target resource. -Operation objects must have exactly one "op" member, whose value indicates the operation to perform. +Operation objects must have exactly one "op" member, whose value indicates the operation to perform. -These are the available PATCH operations: +These are the available PATCH operations: - [Add](#add) - [Remove](#remove) - [Replace](#replace) - [Move](#move) -- [Copy](#copy) +- [Copy](#copy) - [Test](#test) -### Add +### Add -The "add" operation adds a value to the target location. For more information about the "add" operation and how it behaves in different scenarios, refer to the [JSON PATCH documentation](https://datatracker.ietf.org/doc/html/rfc6902). +The "add" operation adds a value to the target location. For more information about the "add" operation and how it behaves in different scenarios, refer to the [JSON PATCH documentation](https://datatracker.ietf.org/doc/html/rfc6902). This example uses the [Patch Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to add a new "office" attribute to the end of a source schema's array of attributes: ```json [ { - "op": "add", - "path": "/attributes/-", - "value": - { - "name": "office", - "type": "STRING", - "schema": null, - "description": "Office Location", - "isMulti": false, - "isEntitlement": false, + "op": "add", + "path": "/attributes/-", + "value": { + "name": "office", + "type": "STRING", + "schema": null, + "description": "Office Location", + "isMulti": false, + "isEntitlement": false, "isGroup": false } } ] ``` -If you are adding a new value to an array of values, you can specify the position within the array where you want to add the new value. In this example, using the "-" expression at the end of the path specifies that the new attribute will be added to the end of the array of attributes. +If you are adding a new value to an array of values, you can specify the position within the array where you want to add the new value. In this example, using the "-" expression at the end of the path specifies that the new attribute will be added to the end of the array of attributes. -You can use "0" to add a value to the beginning of the array. You can use "1" to add a value to the second positon, and so on. Using "-" adds the value to the end of the array. +You can use "0" to add a value to the beginning of the array. You can use "1" to add a value to the second positon, and so on. Using "-" adds the value to the end of the array. -### Remove +### Remove -The "remove" operation removes a value from the target location. The target location must exist for the operation to be successful. +The "remove" operation removes a value from the target location. The target location must exist for the operation to be successful. This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to remove an existing filter string from a source's connector: ```json - [ +[ { - "op": "remove", - "path": "/connectorAttributes/filterString" + "op": "remove", + "path": "/connectorAttributes/filterString" } - ] - ``` +] +``` - In this example, the PATCH request is removing a connector's string filter. If there is no string filter to remove, the request will fail and you will receive an error. +In this example, the PATCH request is removing a connector's string filter. If there is no string filter to remove, the request will fail and you will receive an error. - Because there is only one value for the path, the request removes that value. +Because there is only one value for the path, the request removes that value. - If there is an array of values, you must specify the position within the array to remove that value. +If there is an array of values, you must specify the position within the array to remove that value. -This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to remove the first feature from a source's list of features. +This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to remove the first feature from a source's list of features. -The source has three features, "ENABLE", "PROVISIONING", AND "UNLOCK". +The source has three features, "ENABLE", "PROVISIONING", AND "UNLOCK". -This request will remove the the first value from the list, "ENABLE". +This request will remove the the first value from the list, "ENABLE". ```json [ { - "op": "remove", + "op": "remove", "path": "/features/0" } -] +] ``` -### Replace +### Replace -The "replace" operation replaces the value at the target location with a new value. The operation object must contain a "value" member whose content specifies the replacement value, and the target location must exist for the operation to be successful. This operation is the equivalent of a "remove" followed by an "add". +The "replace" operation replaces the value at the target location with a new value. The operation object must contain a "value" member whose content specifies the replacement value, and the target location must exist for the operation to be successful. This operation is the equivalent of a "remove" followed by an "add". -This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to replace a source's existing features with new ones: +This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to replace a source's existing features with new ones: ```json [ { - "op": "replace", - "path": "/features", - "value": - [ - "PASSWORD", - "PROVISIONING", - "ENABLE", - "AUTHENTICATE" - ] + "op": "replace", + "path": "/features", + "value": ["PASSWORD", "PROVISIONING", "ENABLE", "AUTHENTICATE"] } -] +] ``` -You can also replace a value within an array. This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to replace the first value in the array with the specified value: +You can also replace a value within an array. This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to replace the first value in the array with the specified value: ```json [ @@ -334,71 +310,65 @@ You can also replace a value within an array. This example uses the [Patch Sourc ] ``` -This request removes the first feature ("PASSWORD") in the list and adds the "CURRENT_PASSWORD" value in its place. +This request removes the first feature ("PASSWORD") in the list and adds the "CURRENT_PASSWORD" value in its place. ### Move -The "move" operation removes the operation from a specified location and adds it to the target location. This operation object must contain a "from" member whose content specifies the location to remove the value from, and the "from" location must exist for the operation to be successful. +The "move" operation removes the operation from a specified location and adds it to the target location. This operation object must contain a "from" member whose content specifies the location to remove the value from, and the "from" location must exist for the operation to be successful. -This example uses the [Patch Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to move an attribute from the beginning to the end of the schema's array of attributes: +This example uses the [Patch Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to move an attribute from the beginning to the end of the schema's array of attributes: -```json +```json [ { - "op": "move", - "from": "/attributes/0", + "op": "move", + "from": "/attributes/0", "path": "/attributes/-" } -] -``` - -### Copy - -The "copy" operation copies the value from a specified location to the target location. The operation object must contain a "from" member whose content specifies the location to copy the value from, and the "from" location must exist for the operation to be successful. - -This example uses the [Patch Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to copies an attribute from the beginning and duplicates it at the end of the schema's array of attributes: - -```json -[ - { - "op": "copy", - "from": "/attributes/0", - "path": "/attributes/-" - } -] -``` - -### Test - -The "test" operation is unique in that it does not apply changes to the resource. The "test" operation tests that a value at the target location is equal to a specified value. The operation object must contain a "value" member whose content specifies the value to be compared to the target location's value, and the values must be equal for the operation to be successful. For more information about what "equal" means for different JSON types, refer [here](https://datatracker.ietf.org/doc/html/rfc6902#section-4.6). - -The "test" operation allows you to check that a resource has the values you expect it to have, and then you can make changes to those values from there with another PATCH request. - -This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to test a source's existing features to make sure they match the specified values.: - -```json -[ - { - "op": "test", - "path": "/features", - "value": - [ - "PASSWORD", - "PROVISIONING", - "ENABLE", - "AUTHENTICATE" - ] - } ] ``` -## Specify a path +### Copy -Once you have specified the operation you want to apply to the target resource, you must specify the path, the JSON Pointer for the target location that you want to apply the operation to. +The "copy" operation copies the value from a specified location to the target location. The operation object must contain a "from" member whose content specifies the location to copy the value from, and the "from" location must exist for the operation to be successful. -To send a PATCH request, you must know the path where you want to make the change. This is why it's important to get the resource's details so that you can see all the resource's available paths where you can make changes. +This example uses the [Patch Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to copies an attribute from the beginning and duplicates it at the end of the schema's array of attributes: -For example, this snippet from the beginning of the earlier source details example lists many of the source's top-level paths: +```json +[ + { + "op": "copy", + "from": "/attributes/0", + "path": "/attributes/-" + } +] +``` + +### Test + +The "test" operation is unique in that it does not apply changes to the resource. The "test" operation tests that a value at the target location is equal to a specified value. The operation object must contain a "value" member whose content specifies the value to be compared to the target location's value, and the values must be equal for the operation to be successful. For more information about what "equal" means for different JSON types, refer [here](https://datatracker.ietf.org/doc/html/rfc6902#section-4.6). + +The "test" operation allows you to check that a resource has the values you expect it to have, and then you can make changes to those values from there with another PATCH request. + +This example uses the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) endpoint to test a source's existing features to make sure they match the specified values.: + +```json +[ + { + "op": "test", + "path": "/features", + "value": ["PASSWORD", "PROVISIONING", "ENABLE", "AUTHENTICATE"] + } +] +``` + +## Specify a path + +Once you have specified the operation you want to apply to the target resource, you must specify the path, the JSON Pointer for the target location that you want to apply the operation to. + +To send a PATCH request, you must know the path where you want to make the change. This is why it's important to get the resource's details so that you can see all the resource's available paths where you can make changes. + +For example, this snippet from the beginning of the earlier source details example lists many of the source's top-level paths:
Example Source Paths @@ -439,7 +409,7 @@ For example, this snippet from the beginning of the earlier source details examp
-You can send PATCH requests to make changes to some of these paths, like editing the source's description with this PATCH request from earlier: +You can send PATCH requests to make changes to some of these paths, like editing the source's description with this PATCH request from earlier: ```text PATCH https://{tenant}.api.identitynow.com/v3/sources/:id @@ -455,9 +425,9 @@ PATCH https://{tenant}.api.identitynow.com/v3/sources/:id ] ``` -However, you cannot make changes to all paths. Use the API specifications for the PATCH endpoint you want to use to find out which paths you can make changes to. The API specifications will list the paths, or fields, that are immutable, if there are any. For example, the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) specification lists paths like `id` and `type` as being immutable. Trying to use modify these paths results in a 400 error. +However, you cannot make changes to all paths. Use the API specifications for the PATCH endpoint you want to use to find out which paths you can make changes to. The API specifications will list the paths, or fields, that are immutable, if there are any. For example, the [Patch Source](https://developer.sailpoint.com/docs/api/v3/update-source) specification lists paths like `id` and `type` as being immutable. Trying to use modify these paths results in a 400 error. -The paths are often nested within other paths, like within the "connectorAttributes" path from the earlier example source's details: +The paths are often nested within other paths, like within the "connectorAttributes" path from the earlier example source's details:
Example Source Connector Attributes @@ -527,7 +497,7 @@ The paths are often nested within other paths, like within the "connectorAttribu
-You can send a PATCH request to make changes to paths within the "connectorAttributes" path itself. This example request removes the "filterString" path and its value. +You can send a PATCH request to make changes to paths within the "connectorAttributes" path itself. This example request removes the "filterString" path and its value. ```text PATCH https://{tenant}.api.identitynow.com/v3/sources/:id @@ -543,19 +513,19 @@ PATCH https://{tenant}.api.identitynow.com/v3/sources/:id ] ``` -This request specifies the top-level path, "connectorAttributes", following it with the path where the value is going to be removed from, "filterString". +This request specifies the top-level path, "connectorAttributes", following it with the path where the value is going to be removed from, "filterString". -The request will only remove a filter string matching the one specified, so any other filter strings or connector attributes will be unaffected. +The request will only remove a filter string matching the one specified, so any other filter strings or connector attributes will be unaffected. -If there is no value matching the filter string specified by the PATCH request, the request will fail and you will receive an error. +If there is no value matching the filter string specified by the PATCH request, the request will fail and you will receive an error. -## Specify a value +## Specify a value -For many of the operations, once you have specified the operation you want to apply and the path you want to apply it to, you need to specify the value you want to send with the request. The value you specify must fit the path's data type. +For many of the operations, once you have specified the operation you want to apply and the path you want to apply it to, you need to specify the value you want to send with the request. The value you specify must fit the path's data type. -The operations that don't require a value are the "copy" and "move" operations. Those operations instead use a "from" to represent the location they are copying or moving the data from. Refer to the [Specify a From](#specify-a-from) section for more information about how to use "from" with your "copy" and "move" operations. +The operations that don't require a value are the "copy" and "move" operations. Those operations instead use a "from" to represent the location they are copying or moving the data from. Refer to the [Specify a From](#specify-a-from) section for more information about how to use "from" with your "copy" and "move" operations. -You can specify a single simple value for an operation. In this example from earlier, the PATCH request replaces the source's description: +You can specify a single simple value for an operation. In this example from earlier, the PATCH request replaces the source's description: ```text PATCH https://{tenant}.api.identitynow.com/v3/sources/:id @@ -571,7 +541,7 @@ PATCH https://{tenant}.api.identitynow.com/v3/sources/:id ] ``` -You can also specify multiple values for an operation to be applied to, as long as they all affect the same path. For example, this PATCH request replaces the source's current features with a number of new ones: +You can also specify multiple values for an operation to be applied to, as long as they all affect the same path. For example, this PATCH request replaces the source's current features with a number of new ones: ```text PATCH https://{tenant}.api.identitynow.com/v3/sources/:id @@ -582,17 +552,12 @@ PATCH https://{tenant}.api.identitynow.com/v3/sources/:id { "op": "replace", "path": "/features", - "value": [ - "PASSWORD", - "PROVISIONING", - "ENABLE", - "AUTHENTICATE" - ] + "value": ["PASSWORD", "PROVISIONING", "ENABLE", "AUTHENTICATE"] } ] ``` -A value can also be an object that contains other values within it. For example, this PATCH request adds a new "location" attribute to the end of the source schema's array of attributes: +A value can also be an object that contains other values within it. For example, this PATCH request adds a new "location" attribute to the end of the source schema's array of attributes: ```text PATCH https://{tenant}.api.identitynow.com//v3/sources/:sourceId/schemas/:schemaId @@ -616,50 +581,48 @@ PATCH https://{tenant}.api.identitynow.com//v3/sources/:sourceId/schemas/:schema ] ``` -This request uses the [PATCH Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to add a new attribute, along with its details, to the end of the array of a source's schema's attributes. +This request uses the [PATCH Source Schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to add a new attribute, along with its details, to the end of the array of a source's schema's attributes. -This example uses the "-" after the path to indicate that the value will be added to the end of the array. When you are adding a new value to an array of values, you can specify the position within the array where you want to add the new value. In this example, using the "-" expression at the end of the path specifies that the new attribute will be added to the end of the array of attributes. +This example uses the "-" after the path to indicate that the value will be added to the end of the array. When you are adding a new value to an array of values, you can specify the position within the array where you want to add the new value. In this example, using the "-" expression at the end of the path specifies that the new attribute will be added to the end of the array of attributes. -You can use "0" to add a value to the beginning of the array. You can use "1" to add a value to the second positon, and so on. Using "-" adds the value to the end of the array. +You can use "0" to add a value to the beginning of the array. You can use "1" to add a value to the second positon, and so on. Using "-" adds the value to the end of the array. -## Specify a from +## Specify a from -The "move" and "copy" operations allow you to remove or copy information from one path and add it to another path without your needing to specify the value, which could be an extensive array of information. To use the "move" and "copy" operations, you must specify a "from", a JSON Pointer representing the location you are moving or copying the value from. +The "move" and "copy" operations allow you to remove or copy information from one path and add it to another path without your needing to specify the value, which could be an extensive array of information. To use the "move" and "copy" operations, you must specify a "from", a JSON Pointer representing the location you are moving or copying the value from. -This example request uses the [PATCH Source schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to move an attribute, along with its details, from the beginning to the end of a source schema's array of attributes: +This example request uses the [PATCH Source schema](https://developer.sailpoint.com/docs/api/v3/update-source-schema) endpoint to move an attribute, along with its details, from the beginning to the end of a source schema's array of attributes: ```text PATCH https://{tenant}.api.identitynow.com//v3/sources/:sourceId/schemas/:schemaId ``` ```json - - [ +[ { - "op": "move", - "from": "/attributes/0", + "op": "move", + "from": "/attributes/0", "path": "/attributes/-" - } - ] + } +] +``` - ``` - - Instead of having to specify the value yourself, which could be an extensive array of information, you can use the "move" operation to move everything from one path to another. +Instead of having to specify the value yourself, which could be an extensive array of information, you can use the "move" operation to move everything from one path to another. ## Apply the PATCH request header -With an operation, a path, and a change to make, a PATCH request is almost ready. +With an operation, a path, and a change to make, a PATCH request is almost ready. To send the request as a PATCH, you must apply this special PATCH content type header: `Content-Type: application/json-patch+json` -## Send your PATCH request +## Send your PATCH request -Once you have specified the operation you want to apply, the path you want to change, the change you want to make, and you have applied the PATCH content type header, you can send your PATCH request. +Once you have specified the operation you want to apply, the path you want to change, the change you want to make, and you have applied the PATCH content type header, you can send your PATCH request. -When the request is successful, the API will return the updated resource. +When the request is successful, the API will return the updated resource. -## Get started +## Get started -Now you can use PATCH requests partially update resources. For more information about PATCH requests, refer to this [documentation](https://datatracker.ietf.org/doc/html/rfc6902). For more information about the Identity Security Cloud PATCH endpoints and which paths can be changed for each one, refer to their API specifications. +Now you can use PATCH requests partially update resources. For more information about PATCH requests, refer to this [documentation](https://datatracker.ietf.org/doc/html/rfc6902). For more information about the Identity Security Cloud PATCH endpoints and which paths can be changed for each one, refer to their API specifications. -Use this guide to get started, and if you have questions, don't hesitate to reach out on the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss! \ No newline at end of file +Use this guide to get started, and if you have questions, don't hesitate to reach out on the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss! diff --git a/docs/api/postman-collections.md b/docs/api/postman-collections.md index 1e22d2efb..4e51e4f3c 100644 --- a/docs/api/postman-collections.md +++ b/docs/api/postman-collections.md @@ -6,11 +6,10 @@ sidebar_label: Postman Collections sidebar_position: 7 sidebar_class_name: postmanCollections keywords: ['postman'] -description: Run ISC APIs in Postman. +description: Run ISC APIs in Postman. tags: ['postman'] --- - import GitHubPublicFileComponent from '@site/src/components/GitHubLink'; [Postman](https://www.postman.com/) is a platform you can use to design, build, test, and iterate your APIs. Postman users and teams can create public workspaces they can use to make it easy to access their API collections and environments and get started. SailPoint maintains a [public workspace for the Identity Security Cloud API collections](https://www.postman.com/sailpoint/workspace/identitynow). You can use this workspace to access all the ISC API collections and stay up to date. @@ -19,10 +18,8 @@ import GitHubPublicFileComponent from '@site/src/components/GitHubLink'; Each ISC API version is broken out into a separate collection within the workspace. The following table lists the available ISC API collections. To import a collection into your workspace, select the 'Run in Postman' button for your desired version. Doing so forks the collection into your workspace. - - | API | Postman Collection | -|------|----------------------------| +| --- | --- | | V3 API | [![Run in Postman](./img/button.svg)](https://god.gw.postman.com/run-collection/23226990-3721beea-5615-44b4-9459-e858a0ca7aed?action=collection%2Ffork&collection-url=entityId%3D23226990-3721beea-5615-44b4-9459-e858a0ca7aed%26entityType%3Dcollection%26workspaceId%3D80af54be-a333-4712-af5e-41aa9eccbdd0) | | Beta API | [![Run in Postman](./img/button.svg)](https://god.gw.postman.com/run-collection/23226990-3b87172a-cd55-40a2-9ace-1560a1158a4e?action=collection%2Ffork&collection-url=entityId%3D23226990-3b87172a-cd55-40a2-9ace-1560a1158a4e%26entityType%3Dcollection%26workspaceId%3D80af54be-a333-4712-af5e-41aa9eccbdd0) | | NERM API | [![Run in Postman](./img/button.svg)](https://god.gw.postman.com/run-collection/23226990-20d718e3-b9b3-43ad-850c-637b00864ae2?action=collection%2Ffork&collection-url=entityId%3D23226990-20d718e3-b9b3-43ad-850c-637b00864ae2%26entityType%3Dcollection%26workspaceId%3D80af54be-a333-4712-af5e-41aa9eccbdd0) | @@ -41,12 +38,12 @@ SailPoint is often making improvements to the ISC API collections. To keep your The SailPoint workspace provides an environment, a set of variables you can use in your requests, that you can fork and pull changes from to stay up to date the same way you can with collections. To import the environment into your workspace, select 'Run in Postman'. | Environment | [![Run in Postman](./img/button.svg)](https://www.postman.com/sailpoint/workspace/identitynow/environment/23226990-ed571d4f-37a3-4a2c-9105-5d8d8cce1d20/fork) | -|------|----------------------------| +| --- | --- | To send API requests in Postman, you must authenticate to the APIs. To authenticate to the APIs, you must specify these variables in your Postman environment: | Environment Variable | Required | Description | -| ----------- | ----------- | ----------- | +| --- | --- | --- | | tenant | Yes | Your ISC tenant, typically your company's name | | clientId | Yes | The client ID for the API client or personal access token | | clientSecret | Yes | The client secret for the API client or personal access token | diff --git a/docs/api/rate-limit.md b/docs/api/rate-limit.md index 3070c8a73..327d50989 100644 --- a/docs/api/rate-limit.md +++ b/docs/api/rate-limit.md @@ -6,7 +6,7 @@ sidebar_label: Rate Limiting sidebar_position: 6 sidebar_class_name: rateLimit keywords: ['rate limit'] -description: ISC API rate limits. +description: ISC API rate limits. tags: ['Rate Limit'] --- diff --git a/docs/api/standard-collection-parameters.md b/docs/api/standard-collection-parameters.md index 6c809e2f7..20eb3b267 100644 --- a/docs/api/standard-collection-parameters.md +++ b/docs/api/standard-collection-parameters.md @@ -6,7 +6,7 @@ sidebar_label: Standard Collection Parameters sidebar_position: 5 sidebar_class_name: standardCollectionParameters keywords: ['standard collection parameters'] -description: ISC API pagination, filtering, and sorting. +description: ISC API pagination, filtering, and sorting. tags: ['Standard Collection Parameters'] --- @@ -40,11 +40,11 @@ The `searchAfter` capability provides the ability to page on sorted field values **Required Properties for Paginating Search Results** -|**Property**|Description| +| **Property** | Description | | --- | --- | -|**query**|The Query JSON object. Refer to the following Query JSON Object table for details.| -|**sort**|The array list of the fields to sort by. This is required if you are using the `searchAfter` approach. You can use `-fieldName` for descending searches (optional).| -|**searchAfter**|You can use this instead of offset to get past the 10,000 paging result record limit, passing the last value(s) of your sort fields from the previous result set into the next result set until you get the total number of results or the end of results (optional).| +| **query** | The Query JSON object. Refer to the following Query JSON Object table for details. | +| **sort** | The array list of the fields to sort by. This is required if you are using the `searchAfter` approach. You can use `-fieldName` for descending searches (optional). | +| **searchAfter** | You can use this instead of offset to get past the 10,000 paging result record limit, passing the last value(s) of your sort fields from the previous result set into the next result set until you get the total number of results or the end of results (optional). | ### Example of Paginating Search Results @@ -54,15 +54,11 @@ Here is an example of a search API call with `searchAfter` paging. The first que ```json { - "indices": [ - "identities" - ], - "query": { - "query": "*" - }, - "sort": [ - "id" - ] + "indices": ["identities"], + "query": { + "query": "*" + }, + "sort": ["id"] } ``` @@ -72,16 +68,12 @@ This query will return 100 records. To get the next 100 records, find the last r ```json { - "indices": [ - "identities" - ], - "query": { - "query": "*" - }, - "sort": [ - "id" - ], - "searchAfter": ["2c9180835d38ca0c015d606b50851b1e"] + "indices": ["identities"], + "query": { + "query": "*" + }, + "sort": ["id"], + "searchAfter": ["2c9180835d38ca0c015d606b50851b1e"] } ``` diff --git a/docs/connectivity.md b/docs/connectivity.md index e9f97beb6..0c1fdc37f 100644 --- a/docs/connectivity.md +++ b/docs/connectivity.md @@ -6,7 +6,7 @@ sidebar_label: Connectivity sidebar_position: 1 sidebar_class_name: connectivity keywords: ['connectivity'] -description: Build and expand ISC connectivity. +description: Build and expand ISC connectivity. slug: /connectivity tags: ['connectivity'] --- @@ -24,6 +24,6 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about ISC connectivity and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). +To learn more about ISC connectivity and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/connectivity/saas-connectivity/common-cli-commands.md b/docs/connectivity/saas-connectivity/common-cli-commands.md index 0b8e6f2b4..5da773ed7 100644 --- a/docs/connectivity/saas-connectivity/common-cli-commands.md +++ b/docs/connectivity/saas-connectivity/common-cli-commands.md @@ -37,4 +37,3 @@ Below is a list of commands and their usages: - Delete a connector: `sail conn delete -c [connectorID | connectorAlias]` - **Linking** - Link a customizer to your source instance: `sail conn customizers link -i [sourceInstanceID] -c [customizerID]` - diff --git a/docs/connectivity/saas-connectivity/connector-commands/account-enable.md b/docs/connectivity/saas-connectivity/connector-commands/account-enable.md index 1158ac2b0..2f5c9e7a6 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/account-enable.md +++ b/docs/connectivity/saas-connectivity/connector-commands/account-enable.md @@ -9,10 +9,10 @@ slug: /connectivity/saas-connectivity/commands/account-enable tags: ['Connectivity', 'Connector Command'] --- -| Input/Output | Data Type | -| :-------------- | :---------------------: | -| Input - Enable | StdAccountEnableInput | -| Output - Enable | StdAccountEnableOutput | +| Input/Output | Data Type | +| :-------------- | :--------------------: | +| Input - Enable | StdAccountEnableInput | +| Output - Enable | StdAccountEnableOutput | ### Example StdAccountEnableInput diff --git a/docs/connectivity/saas-connectivity/connector-commands/account-list.md b/docs/connectivity/saas-connectivity/connector-commands/account-list.md index 05c110a32..9362a721d 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/account-list.md +++ b/docs/connectivity/saas-connectivity/connector-commands/account-list.md @@ -79,7 +79,7 @@ ISC will throw a connection timeout error if your connector doesn't respond with :::caution Important -ISC supports [delta aggregation](#delta-aggregation-state). If your source has a large number of accounts that will be syncronized with ISC, then it is highly recommended to utilize [delta aggregation](#delta-aggregation-state) for the source. +ISC supports [delta aggregation](#delta-aggregation-state). If your source has a large number of accounts that will be syncronized with ISC, then it is highly recommended to utilize [delta aggregation](#delta-aggregation-state) for the source. ::: @@ -180,7 +180,7 @@ The result of the account list command is not an array of objects but several in If your source can keep track of changes to the data in some way, then delta aggregation can be performed on a source. In order to implement, there are a few things that need to be configured -1. In your connector-spec.json file, the feature needs to be enabled by adding the following key: ```"supportsStatefulCommands": true,``` and in the sourceConfig section, a checkbox needs to be added to enable state with the key ```spConnEnableStatefulCommands```: +1. In your connector-spec.json file, the feature needs to be enabled by adding the following key: `"supportsStatefulCommands": true,` and in the sourceConfig section, a checkbox needs to be added to enable state with the key `spConnEnableStatefulCommands`: ```javascript "supportsStatefulCommands": true, @@ -193,7 +193,7 @@ If your source can keep track of changes to the data in some way, then delta agg } ``` -2. In the ```stdAccountList``` command, when you are done sending accounts, you need to also send the state to ISC so it knows where to start the next time it sends a list request: +2. In the `stdAccountList` command, when you are done sending accounts, you need to also send the state to ISC so it knows where to start the next time it sends a list request: ```javascript const state = {"data": Date.now().toString()} @@ -205,11 +205,11 @@ In the above example, I am capturing the date, but you can use any value you wan :::caution Important -The state that you send using the ```saveState``` command MUST be a json object, and it is recommend to only save strings to ensure proper serialization/deserialization of the data. You cannot send a simple string or number or it will not properly save the state. +The state that you send using the `saveState` command MUST be a json object, and it is recommend to only save strings to ensure proper serialization/deserialization of the data. You cannot send a simple string or number or it will not properly save the state. ::: -3. In the ```stdAccountList``` command, you need to properly handle the state object. Something like below checks the stateful boolean as well as the state object and fetches accounts accordingly: +3. In the `stdAccountList` command, you need to properly handle the state object. Something like below checks the stateful boolean as well as the state object and fetches accounts accordingly: ```javascript .stdAccountList(async (context: Context, input: StdAccountListInput, res: Response) => { @@ -231,4 +231,4 @@ The state that you send using the ```saveState``` command MUST be a json object, } res.saveState(state) }) -``` \ No newline at end of file +``` diff --git a/docs/connectivity/saas-connectivity/connector-commands/account-update.md b/docs/connectivity/saas-connectivity/connector-commands/account-update.md index e062a213a..5c9f8dfd5 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/account-update.md +++ b/docs/connectivity/saas-connectivity/connector-commands/account-update.md @@ -105,4 +105,4 @@ Note: Testing the account update command for removing entitlements using this me ## Handling an account that is not found -If an account can't be found in the source system, ISC can recreate the account by using the ```ConnectorErrorType.NotFound``` error type. For details and implementation, refer to [Error Handling](../in-depth/error-handling.md#not-found-error-type). \ No newline at end of file +If an account can't be found in the source system, ISC can recreate the account by using the `ConnectorErrorType.NotFound` error type. For details and implementation, refer to [Error Handling](../in-depth/error-handling.md#not-found-error-type). diff --git a/docs/connectivity/saas-connectivity/connector-commands/change-password.md b/docs/connectivity/saas-connectivity/connector-commands/change-password.md index a352b77be..36028109a 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/change-password.md +++ b/docs/connectivity/saas-connectivity/connector-commands/change-password.md @@ -9,8 +9,8 @@ slug: /connectivity/saas-connectivity/commands/change-password tags: ['Connectivity', 'Connector Command'] --- -| Input/Output | Data Type | -| :----------- | :--------------------: | +| Input/Output | Data Type | +| :----------- | :---------------------: | | Input | StdChangePasswordInput | | Output | StdChangePasswordOutput | @@ -29,12 +29,13 @@ tags: ['Connectivity', 'Connector Command'] ### Example StdChangePasswordOutput ```javascript -{} +{ +} ``` ## Description -The change password command is triggered in ISC when a user changes their password through ISC. When this occurs, if your source has change password enabled, then you can change the user password on the source system through ISC. +The change password command is triggered in ISC when a user changes their password through ISC. When this occurs, if your source has change password enabled, then you can change the user password on the source system through ISC. ## The Provisioning Plan @@ -48,4 +49,4 @@ The change password command sends the password change event to your connector wh ## Testing in Identity Security Cloud -In order to test in Identity Security Cloud, the source application must be configured so that it is able to accept password change requests through the Password Manager. Once this setup is complete, you can log in as a user whose identity exists in the configured application and change their password in the Password Manager. \ No newline at end of file +In order to test in Identity Security Cloud, the source application must be configured so that it is able to accept password change requests through the Password Manager. Once this setup is complete, you can log in as a user whose identity exists in the configured application and change their password in the Password Manager. diff --git a/docs/connectivity/saas-connectivity/connector-commands/entitlement-list.md b/docs/connectivity/saas-connectivity/connector-commands/entitlement-list.md index 3e04e061c..931e542e3 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/entitlement-list.md +++ b/docs/connectivity/saas-connectivity/connector-commands/entitlement-list.md @@ -104,6 +104,7 @@ private buildStandardObject(): StdEntitlementReadOutput | StdEntitlementListOutp } } ``` + :::caution Important ISC will throw a connection timeout error if your connector doesn't respond within 3 minutes, and there are memory limitations involved with aggregating data. To prevent large memory utilization or timeout errors, you should set up your connectors to send data to ISC as it's retrieved from your source system. For more details and an example, refer to [Connector Timeouts](../in-depth/connector-timeouts.md). @@ -112,7 +113,7 @@ ISC will throw a connection timeout error if your connector doesn't respond with :::caution Important -ISC supports [delta aggregation](#delta-aggregation-state). If your source has a large number of entitlements that will be syncronized with ISC, then it is highly recommended to utilize [delta aggregation](#delta-aggregation-state) for the source. +ISC supports [delta aggregation](#delta-aggregation-state). If your source has a large number of entitlements that will be syncronized with ISC, then it is highly recommended to utilize [delta aggregation](#delta-aggregation-state) for the source. ::: @@ -120,7 +121,7 @@ ISC supports [delta aggregation](#delta-aggregation-state). If your source has a If your source can keep track of changes to the data in some way, then delta aggregation can be performed on a source. In order to implement, there are a few things that need to be configured -1. In your connector-spec.json file, the feature needs to be enabled by adding the following key: ```"supportsStatefulCommands": true,``` and in the sourceConfig section, a checkbox needs to be added to enable state with the key ```spConnEnableStatefulCommands```: +1. In your connector-spec.json file, the feature needs to be enabled by adding the following key: `"supportsStatefulCommands": true,` and in the sourceConfig section, a checkbox needs to be added to enable state with the key `spConnEnableStatefulCommands`: ```javascript "supportsStatefulCommands": true, @@ -133,7 +134,7 @@ If your source can keep track of changes to the data in some way, then delta agg } ``` -2. In the ```stdEntitlementList``` command, when you are done sending entitlments, you need to also send the state to ISC so it knows where to start the next time it sends a list request: +2. In the `stdEntitlementList` command, when you are done sending entitlments, you need to also send the state to ISC so it knows where to start the next time it sends a list request: ```javascript const state = {"data": Date.now().toString()} @@ -145,11 +146,11 @@ In the above example, I am capturing the date, but you can use any value you wan :::caution Important -The state that you send using the ```saveState``` command MUST be a json object, and it is recommend to only save strings to ensure proper serialization/deserialization of the data. You cannot send a simple string or number or it will not properly save the state. +The state that you send using the `saveState` command MUST be a json object, and it is recommend to only save strings to ensure proper serialization/deserialization of the data. You cannot send a simple string or number or it will not properly save the state. ::: -3. In the ```stdEntitlementList``` command, you need to properly handle the state object. Something like below checks the stateful boolean as well as the state object and fetches accounts accordingly: +3. In the `stdEntitlementList` command, you need to properly handle the state object. Something like below checks the stateful boolean as well as the state object and fetches accounts accordingly: ```javascript .stdEntitlementList(async (context: Context, input: StdEntitlementListInput, res: Response) => { @@ -171,4 +172,4 @@ The state that you send using the ```saveState``` command MUST be a json object, } res.saveState(state) }) -``` \ No newline at end of file +``` diff --git a/docs/connectivity/saas-connectivity/connector-commands/source-data-discover.md b/docs/connectivity/saas-connectivity/connector-commands/source-data-discover.md index d63387354..14bc2e672 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/source-data-discover.md +++ b/docs/connectivity/saas-connectivity/connector-commands/source-data-discover.md @@ -4,12 +4,12 @@ title: Source Data Discover pagination_label: Source Data Discover sidebar_label: Source Data Discover keywords: ['connectivity', 'connectors', 'Source Data Discover'] -description: Discover potential source data types. +description: Discover potential source data types. slug: /connectivity/saas-connectivity/commands/source-data-discover tags: ['Connectivity', 'Connector Command'] --- -| Input/Output | Data Type | +| Input/Output | Data Type | | :----------- | :-------------------------: | | Input | StdSourceDataDiscoverInput | | Output | StdSourceDataDiscoverOutput | @@ -29,26 +29,26 @@ tags: ['Connectivity', 'Connector Command'] ```javascript [ - { - key: 'id', - label: 'Id', - subLabel: 'Airtable Base Id' - }, - { - key: 'name', - label: 'Name', - subLabel: 'Airtable Source Table Name' - } -] + { + key: 'id', + label: 'Id', + subLabel: 'Airtable Base Id', + }, + { + key: 'name', + label: 'Name', + subLabel: 'Airtable Source Table Name', + }, +]; ``` ## Description -Use the source data discover command to identify the types of data your source can return. Different sources can send different types of data to Identity Security Cloud. For example, one source may be able to send a list of the different languages it supports, while another may be able to send values describing source details normally sent through accounts and entitlements. You can use the source data discover command to discover these possibilities. +Use the source data discover command to identify the types of data your source can return. Different sources can send different types of data to Identity Security Cloud. For example, one source may be able to send a list of the different languages it supports, while another may be able to send values describing source details normally sent through accounts and entitlements. You can use the source data discover command to discover these possibilities. -One typical use for the source data discover command is found in Identity Security Cloud customer forms for dropdown menus: they use the command to identify the additional source types their sources can provide to Identity Security Cloud and use that information to populate the dropdown menus. +One typical use for the source data discover command is found in Identity Security Cloud customer forms for dropdown menus: they use the command to identify the additional source types their sources can provide to Identity Security Cloud and use that information to populate the dropdown menus. -This is a simple example of the source data discover command. It has been implemented to list two types of queries that the Airtable source can supply. +This is a simple example of the source data discover command. It has been implemented to list two types of queries that the Airtable source can supply. ```javascript .stdSourceDataDiscover(async (context: Context, input: StdSourceDataDiscoverInput, res: Response) => { @@ -103,4 +103,4 @@ Now, if the source system sends a command like the following, they will only get "query": "name" } }, -``` \ No newline at end of file +``` diff --git a/docs/connectivity/saas-connectivity/connector-commands/source-data-read.md b/docs/connectivity/saas-connectivity/connector-commands/source-data-read.md index 6b931bdd2..fb4f86148 100644 --- a/docs/connectivity/saas-connectivity/connector-commands/source-data-read.md +++ b/docs/connectivity/saas-connectivity/connector-commands/source-data-read.md @@ -4,13 +4,13 @@ title: Source Data Read pagination_label: Source Data Read sidebar_label: Source Data Read keywords: ['connectivity', 'connectors', 'Source Data Read'] -description: Read source data. +description: Read source data. slug: /connectivity/saas-connectivity/commands/source-data-read tags: ['Connectivity', 'Connector Command'] --- -| Input/Output | Data Type | -| :----------- | :-------------------------: | +| Input/Output | Data Type | +| :----------- | :---------------------: | | Input | StdSourceDataReadInput | | Output | StdSourceDataReadOutput | @@ -30,24 +30,24 @@ tags: ['Connectivity', 'Connector Command'] ```javascript [ - { - key: 'id', - label: 'Id', - subLabel: 'Airtable Base Id' - }, - { - key: 'name', - label: 'Name', - subLabel: 'Airtable Source Table Name' - } -] + { + key: 'id', + label: 'Id', + subLabel: 'Airtable Base Id', + }, + { + key: 'name', + label: 'Name', + subLabel: 'Airtable Source Table Name', + }, +]; ``` ## Description Use the source data read command to query a source in Identity Security Cloud and return a set of data. This data is typically used to populate a dropdown menu for selection purposes. This functionality is typically useful for Identity Security Cloud forms, but it can be used for any type of implementation that requires you to get other information from a source, information that is not normally retrieved from identites or entitlements. -This is a simple example of the source data read command. It is implemented to retrieve the base ID name. The `sourceDataKey` is required, the ```source data read``` command should return it. +This is a simple example of the source data read command. It is implemented to retrieve the base ID name. The `sourceDataKey` is required, the `source data read` command should return it. ```javascript .stdSourceDataRead(async (context: Context, input: StdSourceDataReadInput, res: Response) => { @@ -63,7 +63,7 @@ This is a simple example of the source data read command. It is implemented to r }) ``` -You can optionally use `input.queryInput.query` to make the list searchable. One way you could do this is to import a tool like [alasql](https://github.com/AlaSQL/alasql) and allow the user to implement a search on the dataset. This example from Airtable shows how you could use the source data read command to get accounts and allow a search to be performed with the Airtable API: +You can optionally use `input.queryInput.query` to make the list searchable. One way you could do this is to import a tool like [alasql](https://github.com/AlaSQL/alasql) and allow the user to implement a search on the dataset. This example from Airtable shows how you could use the source data read command to get accounts and allow a search to be performed with the Airtable API: ```javascript .stdSourceDataRead(async (context: Context, input: StdSourceDataReadInput, res: Response) => { @@ -113,4 +113,4 @@ Now, if the source system sends a command like the following, the system will on "query": "Adam" } }, -``` \ No newline at end of file +``` diff --git a/docs/connectivity/saas-connectivity/connector-customizers/config.md b/docs/connectivity/saas-connectivity/connector-customizers/config.md index 6054ecb42..d60573eb7 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/config.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/config.md @@ -18,7 +18,7 @@ The connector config object holds all the config values that are set in the SaaS The config object is fetched during initialization of the connector ```typescript -const config: Config = await readConfig() +const config: Config = await readConfig(); ``` ### Example Config Object @@ -27,36 +27,36 @@ Below is an example object model that can be used to type your config. Any value ```typescript export interface Config { - beforeProvisioningRule: any - cloudCacheUpdate: number - cloudDisplayName: string - cloudExternalId: string - connectionType: string - connectorName: string - deleteThresholdPercentage: number - deltaAggregation: DeltaAggregation - deltaAggregationEnabled: boolean - formPath: any - hasFullAggregationCompleted: boolean - healthCheckTimeout: number - healthy: boolean - idnProxyType: string - managementWorkgroup: any - managerCorrelationFilter: any - since: string - "slpt-source-diagnostics": string - sourceConnected: boolean - sourceDescription: string - spConnEnableStatefulCommands: boolean - spConnectorInstanceId: string - spConnectorSpecId: string - status: string - supportsDeltaAgg: boolean - templateApplication: string - } - - export interface DeltaAggregation { - "std:account:list": any - "std:entitlement:list": any - } -``` \ No newline at end of file + beforeProvisioningRule: any; + cloudCacheUpdate: number; + cloudDisplayName: string; + cloudExternalId: string; + connectionType: string; + connectorName: string; + deleteThresholdPercentage: number; + deltaAggregation: DeltaAggregation; + deltaAggregationEnabled: boolean; + formPath: any; + hasFullAggregationCompleted: boolean; + healthCheckTimeout: number; + healthy: boolean; + idnProxyType: string; + managementWorkgroup: any; + managerCorrelationFilter: any; + since: string; + 'slpt-source-diagnostics': string; + sourceConnected: boolean; + sourceDescription: string; + spConnEnableStatefulCommands: boolean; + spConnectorInstanceId: string; + spConnectorSpecId: string; + status: string; + supportsDeltaAgg: boolean; + templateApplication: string; +} + +export interface DeltaAggregation { + 'std:account:list': any; + 'std:entitlement:list': any; +} +``` diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-create.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-create.md index 88e8a13e2..04c3768e9 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-create.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-create.md @@ -4,7 +4,7 @@ title: Account Create pagination_label: Account Create sidebar_label: Account Create keywords: ['connectivity', 'connectors', 'Account Create'] -description: Intercept the account create command. +description: Intercept the account create command. slug: /connectivity/saas-connectivity/customizers/commands/account-create tags: ['Connectivity', 'Connector Command'] --- @@ -13,7 +13,6 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-create](../../commands/account-create) command. - | Input/Output | Data Type | | :----------- | :--------------------: | | Input | StdAccountCreateInput | @@ -60,11 +59,12 @@ Use these commands to intercept the [account-create](../../commands/account-crea } } ``` + ## Implementation ### Before account-create command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountCreate(async (context: Context, input: StdAccountCreateInput) => { @@ -72,11 +72,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-create command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountCreate(async (context: Context, output: StdAccountCreateOutput) => { @@ -84,4 +85,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-delete.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-delete.md index f758b605f..2d4eb86cd 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-delete.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-delete.md @@ -4,7 +4,7 @@ title: Account Delete pagination_label: Account Delete sidebar_label: Account Delete keywords: ['connectivity', 'connectors', 'Account Delete'] -description: Intercept the account delete command. +description: Intercept the account delete command. slug: /connectivity/saas-connectivity/customizers/commands/account-delete tags: ['Connectivity', 'Connector Command'] --- @@ -37,11 +37,12 @@ Use these commands to intercept the [account-delete](../../commands/account-dele { } ``` + ## Implementation ### Before account-delete command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountDelete(async (context: Context, input: StdAccountDeleteInput) => { @@ -49,11 +50,12 @@ Use this logic to implement the command: return input }) ``` -The `input` object can be mutated and returned, but the same data type must still be returned. + +The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-delete command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountDelete(async (context: Context, output: StdAccountDeleteOutput) => { @@ -61,4 +63,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-disable.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-disable.md index f038ae998..6d8f44699 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-disable.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-disable.md @@ -4,7 +4,7 @@ title: Account Disable pagination_label: Account Disable sidebar_label: Account Disable keywords: ['connectivity', 'connectors', 'Account Disable'] -description: Intercept the account disable command. +description: Intercept the account disable command. slug: /connectivity/saas-connectivity/customizers/commands/account-disable tags: ['Connectivity', 'Connector Command'] --- @@ -13,11 +13,10 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-disable](../../commands/account-disable) command. - -| Input/Output | Data Type | -| :-------------- | :---------------------: | -| Input | StdAccountDisableInput | -| Output | StdAccountDisableOutput | +| Input/Output | Data Type | +| :----------- | :---------------------: | +| Input | StdAccountDisableInput | +| Output | StdAccountDisableOutput | ### Example StdAccountDisableInput @@ -53,11 +52,12 @@ Use these commands to intercept the [account-disable](../../commands/account-dis } } ``` + ## Implementation ### Before account-disable command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountDisable(async (context: Context, input: StdAccountDisableInput) => { @@ -65,11 +65,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-disable command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountDisable(async (context: Context, output: StdAccountDisableOutput) => { @@ -77,4 +78,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-enable.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-enable.md index 5eae86fe1..36d3eefc1 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-enable.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-enable.md @@ -13,11 +13,10 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-enable](../../commands/account-enable) command. - -| Input/Output | Data Type | -| :-------------- | :---------------------: | -| Input | StdAccountEnableInput | -| Output | StdAccountEnableOutput | +| Input/Output | Data Type | +| :----------- | :--------------------: | +| Input | StdAccountEnableInput | +| Output | StdAccountEnableOutput | ### Example StdAccountEnableInput @@ -53,11 +52,12 @@ Use these commands to intercept the [account-enable](../../commands/account-enab } } ``` + ## Implementation ### Before account-enable command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountEnable(async (context: Context, input: StdAccountEnableInput) => { @@ -65,11 +65,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-enable command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountEnable(async (context: Context, output: StdAccountEnableOutput) => { @@ -77,4 +78,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-list.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-list.md index de17a0aa6..4e374c538 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-list.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-list.md @@ -13,10 +13,9 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-list](../../commands/account-list) command. - -| Input/Output | Data Type | -| :----------- | :------------------: | -| Input | StdAccountListInput | +| Input/Output | Data Type | +| :----------- | :-----------------: | +| Input | StdAccountListInput | ### Example StdAccountListInput @@ -24,11 +23,12 @@ Use these commands to intercept the [account-list](../../commands/account-list) "state": {"date": "1686341338871"}, "stateful": true ``` + ## Implementation ### Before account-list command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountList(async (context: Context, input: StdAccountListInput) => { @@ -36,8 +36,9 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-list command -After account-list is not available for customization at this time. If you need to modify the values of the response, it is recommended that you use [Transforms](https://developer.sailpoint.com/docs/extensibility/transforms/). \ No newline at end of file +After account-list is not available for customization at this time. If you need to modify the values of the response, it is recommended that you use [Transforms](https://developer.sailpoint.com/docs/extensibility/transforms/). diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-read.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-read.md index 78f964d91..bf6c1fe15 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-read.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-read.md @@ -13,7 +13,6 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-read](../../commands/account-read) command. - | Input/Output | Data Type | | :----------- | :------------------: | | Input | StdAccountReadInput | @@ -53,12 +52,12 @@ Use these commands to intercept the [account-read](../../commands/account-read) } } ``` -## Implementation +## Implementation ### Before account-read command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountRead(async (context: Context, input: StdAccountReadInput) => { @@ -66,11 +65,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-read command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountRead(async (context: Context, output: StdAccountReadOutput) => { @@ -78,4 +78,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-unlock.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-unlock.md index 2e2bd7ec5..a3b8e80c0 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-unlock.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-unlock.md @@ -13,7 +13,6 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-unlock](../../commands/account-unlock) command. - | Input/Output | Data Type | | :----------- | :--------------------: | | Input | StdAccountUnlockInput | @@ -53,11 +52,12 @@ Use these commands to intercept the [account-unlock](../../commands/account-unlo } } ``` + ## Implementation ### Before account-unlock command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountUnlock(async (context: Context, input: StdAccountUnlockInput) => { @@ -65,11 +65,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-unlock command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountUnlock(async (context: Context, output: StdAccountUnlockOutput) => { @@ -77,4 +78,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-update.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-update.md index 570c91703..2c3d4e4c2 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-update.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/account-update.md @@ -13,7 +13,6 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [account-update](../../commands/account-update) command. - | Input/Output | Data Type | | :----------- | :--------------------: | | Input | StdAccountUpdateInput | @@ -62,12 +61,12 @@ Use these commands to intercept the [account-update](../../commands/account-upda } } ``` -## Implementation +## Implementation ### Before account-update command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdAccountUpdate(async (context: Context, input: StdAccountUpdateInput) => { @@ -75,11 +74,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After account-update command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdAccountUpdate(async (context: Context, output: StdAccountUpdateOutput) => { @@ -87,4 +87,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/change-password.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/change-password.md index 1a8141cd9..115730efe 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/change-password.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/change-password.md @@ -13,9 +13,8 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [change-password](../../commands/change-password) command. - -| Input/Output | Data Type | -| :----------- | :--------------------: | +| Input/Output | Data Type | +| :----------- | :---------------------: | | Input | StdChangePasswordInput | | Output | StdChangePasswordOutput | @@ -34,14 +33,15 @@ Use these commands to intercept the [change-password](../../commands/change-pass ### Example StdChangePasswordOutput ```javascript -{} +{ +} ``` -## Implementation +## Implementation ### Before change-password command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdChangePassword(async (context: Context, input: StdChangePasswordInput) => { @@ -49,11 +49,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After change-password command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdChangePassword(async (context: Context, output: StdChangePasswordOutput) => { @@ -61,4 +62,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-list.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-list.md index c8339c80f..b70753949 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-list.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-list.md @@ -13,10 +13,9 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [entitlement-list](../../commands/entitlement-list) command. - -| Input/Output | Data Type | -| :----------- | :----------------------: | -| Input | StdEntitlementListInput | +| Input/Output | Data Type | +| :----------- | :---------------------: | +| Input | StdEntitlementListInput | ### Example StdEntitlementListInput @@ -30,7 +29,7 @@ Use these commands to intercept the [entitlement-list](../../commands/entitlemen ### Before entitlement-list command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdEntitlementList(async (context: Context, input: StdEntitlementListInput) => { @@ -38,8 +37,9 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After entitlement-list command -After entitlement-list is not available for customization at this time. If you need to modify the values of the response, it is recommended that you use [Transforms](https://developer.sailpoint.com/docs/extensibility/transforms/). \ No newline at end of file +After entitlement-list is not available for customization at this time. If you need to modify the values of the response, it is recommended that you use [Transforms](https://developer.sailpoint.com/docs/extensibility/transforms/). diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-read.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-read.md index 2fdb85f61..6071b1223 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-read.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/entitlement-read.md @@ -13,7 +13,6 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [entitlement-read](../../commands/entitlement-read) command. - | Input/Output | Data Type | | :----------- | :----------------------: | | Input | StdEntitlementReadInput | @@ -50,11 +49,12 @@ Use these commands to intercept the [entitlement-read](../../commands/entitlemen } } ``` + ## Implementation ### Before entitlement-read command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdEntitlementRead(async (context: Context, input: StdEntitlementReadInput) => { @@ -62,11 +62,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After entitlement-read command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdEntitlementRead(async (context: Context, output: StdEntitlementReadOutput) => { @@ -74,4 +75,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-discover.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-discover.md index 40674688a..c58e7c3ec 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-discover.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-discover.md @@ -13,8 +13,7 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [source-data-discover](../../commands/source-data-discover) command. - -| Input/Output | Data Type | +| Input/Output | Data Type | | :----------- | :-------------------------: | | Input | StdSourceDataDiscoverInput | | Output | StdSourceDataDiscoverOutput | @@ -34,23 +33,24 @@ Use these commands to intercept the [source-data-discover](../../commands/source ```javascript [ - { - key: 'id', - label: 'Id', - subLabel: 'Airtable Base Id' - }, - { - key: 'name', - label: 'Name', - subLabel: 'Airtable Source Table Name' - } -] + { + key: 'id', + label: 'Id', + subLabel: 'Airtable Base Id', + }, + { + key: 'name', + label: 'Name', + subLabel: 'Airtable Source Table Name', + }, +]; ``` + ## Implementation ### Before source-data-discover command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdSourceDataDiscover(async (context: Context, input: StdSourceDataDiscoverInput) => { @@ -58,11 +58,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After source-data-discover command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdSourceDataDiscover(async (context: Context, output: StdSourceDataDiscoverOutput) => { @@ -70,4 +71,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-read.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-read.md index 6896be20b..4e67a7a8f 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-read.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/source-data-read.md @@ -13,9 +13,8 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [source-data-read](../../commands/source-data-read) command. - -| Input/Output | Data Type | -| :----------- | :-------------------------: | +| Input/Output | Data Type | +| :----------- | :---------------------: | | Input | StdSourceDataReadInput | | Output | StdSourceDataReadOutput | @@ -35,23 +34,24 @@ Use these commands to intercept the [source-data-read](../../commands/source-dat ```javascript [ - { - key: 'id', - label: 'Id', - subLabel: 'Airtable Base Id' - }, - { - key: 'name', - label: 'Name', - subLabel: 'Airtable Source Table Name' - } -] + { + key: 'id', + label: 'Id', + subLabel: 'Airtable Base Id', + }, + { + key: 'name', + label: 'Name', + subLabel: 'Airtable Source Table Name', + }, +]; ``` + ## Implementation ### Before source-data-read command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdSourceDataRead(async (context: Context, input: StdSourceDataReadInput) => { @@ -59,11 +59,12 @@ Use this logic to implement the command: return input }) ``` + The `input` object can be mutated and returned, but the same data type must still be returned. ### After source-data-read command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdSourceDataRead(async (context: Context, output: StdSourceDataReadOutput) => { @@ -71,4 +72,5 @@ Use this logic to implement the command: return output }) ``` -The `output` object can be mutated and returned, but the same data type must still be returned. \ No newline at end of file + +The `output` object can be mutated and returned, but the same data type must still be returned. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/test-connection.md b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/test-connection.md index c0632d6a8..57939639c 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/test-connection.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/test-connection.md @@ -13,7 +13,6 @@ tags: ['Connectivity', 'Connector Command'] Use these commands to intercept the [Test-Connection](../../commands/test-connection) command. - | Input/Output | Data Type | | :----------- | :---------------------: | | Input | undefined | @@ -25,22 +24,24 @@ Use these commands to intercept the [Test-Connection](../../commands/test-connec { } ``` + ## Implementation ### Before test-connection command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .beforeStdTestConnection(async (context: Context, input: undefined) => { logger.info('Running before test connection') }) ``` + There is no input, so you cannot mutate any data. However, you can make web request calls or perform any type of logging or logic before calling the connector. ### After test-connection command -Use this logic to implement the command: +Use this logic to implement the command: ```javascript .afterStdTestConnection(async (context: Context, output: StdTestConnectionOutput) => { @@ -48,4 +49,5 @@ Use this logic to implement the command: return output }) ``` -The output datatype is always an empty object handed down from the connector. \ No newline at end of file + +The output datatype is always an empty object handed down from the connector. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/getting-started.md b/docs/connectivity/saas-connectivity/connector-customizers/getting-started.md index 586c607b4..1d3c02a47 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/getting-started.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/getting-started.md @@ -33,7 +33,7 @@ sail conn customizers init my-customizer-project The CLI init command creates a new folder with your project name in the location where you run the command. -Change the directory to the project folder and run ```npm install`` to install the dependencies. +Change the directory to the project folder and run ``npm install` to install the dependencies. ### Source files diff --git a/docs/connectivity/saas-connectivity/connector-customizers/index.md b/docs/connectivity/saas-connectivity/connector-customizers/index.md index df7260cd3..2fee8f0af 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/index.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/index.md @@ -6,7 +6,7 @@ sidebar_label: Customizers sidebar_position: 7.1 sidebar_class_name: saasConnectivity keywords: ['connectivity', 'connectors', customizers] -description: Connectivity customizers can customize out of the box SaaS connectors. +description: Connectivity customizers can customize out of the box SaaS connectors. slug: /connectivity/saas-connectivity/customizers tags: ['Connectivity'] --- @@ -17,9 +17,9 @@ SaaS Connectivity Customizers are cloud-based connector customizers that make cu ## How do they work? -SaaS Connectivity Customizers work by sitting in between Identity Security Cloud and the connector. They intercept calls from Identity Security Cloud to the connector and calls from the connector to Identity Security Cloud. When the customizer intercepts a call, it can call custom code to mutate the data in any way necessary to change the connector behavior. +SaaS Connectivity Customizers work by sitting in between Identity Security Cloud and the connector. They intercept calls from Identity Security Cloud to the connector and calls from the connector to Identity Security Cloud. When the customizer intercepts a call, it can call custom code to mutate the data in any way necessary to change the connector behavior. -This chart shows an example of this interception process - the ```stdAccountRead``` command is implemented with the customizer in place: +This chart shows an example of this interception process - the `stdAccountRead` command is implemented with the customizer in place:
@@ -37,4 +37,4 @@ sequenceDiagram ``` -
\ No newline at end of file +
diff --git a/docs/connectivity/saas-connectivity/connector-customizers/link.md b/docs/connectivity/saas-connectivity/connector-customizers/link.md index 7e3175484..8e347c34f 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/link.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/link.md @@ -22,6 +22,7 @@ Use this command to find sources: ```bash sail conn instances list ``` + This similar looking list of instances will be returned: ```bash @@ -41,6 +42,7 @@ Use this command to find customizers: ```bash sail conn customizers list ``` + This similar looking list of customizers will be returned: ```bash @@ -58,7 +60,9 @@ To link a source to a customizer, find the source ID in the instance list and a ```bash sail conn customizers link -i edfc9bfb-b55c-482f-b1aa-b4d51caf7558 -c 7b968fab-0f40-49f0-b13b-8bf529fc0b82 ``` + The output will indicate that the customizer has succesfully linked to the connector instance: + ```bash +--------------------------------------+----------------------+--------------------------------------+ | ID | NAME | CUSTOMIZER ID | @@ -69,7 +73,7 @@ The output will indicate that the customizer has succesfully linked to the conne ### Unlink from a source -To unlink a customizer from a source, issue the unlink command and pass the source instance ID: +To unlink a customizer from a source, issue the unlink command and pass the source instance ID: ```bash sail conn customizers unlink -i edfc9bfb-b55c-482f-b1aa-b4d51caf7558 diff --git a/docs/connectivity/saas-connectivity/connector-customizers/testing.md b/docs/connectivity/saas-connectivity/connector-customizers/testing.md index d296a21c4..2397ad2c7 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/testing.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/testing.md @@ -6,7 +6,7 @@ sidebar_label: Testing and Debugging sidebar_position: 6 sidebar_class_name: saasConnectivity keywords: ['connectivity', 'connectors', customizers] -description: Test and debug connectors with customizers. +description: Test and debug connectors with customizers. slug: /connectivity/saas-connectivity/customizers/testing tags: ['Connectivity'] --- @@ -25,7 +25,7 @@ You can then set breakpoints in your code step through processes in your IDE (in ### Test alongside a custom connector -If you want to test alongside a SaaS custom connector, the easiest way to do so is to copy the customizer code into the connector code. +If you want to test alongside a SaaS custom connector, the easiest way to do so is to copy the customizer code into the connector code. For example, you want to test this connector: @@ -80,4 +80,4 @@ export const connectorCustomizer = async () => { ``` -Now, when you run the test-connection command, the customizer after the test-connection command will also run. \ No newline at end of file +Now, when you run the test-connection command, the customizer after the test-connection command will also run. diff --git a/docs/connectivity/saas-connectivity/connector-customizers/upload.md b/docs/connectivity/saas-connectivity/connector-customizers/upload.md index bc63c34e2..b0fe7d46e 100644 --- a/docs/connectivity/saas-connectivity/connector-customizers/upload.md +++ b/docs/connectivity/saas-connectivity/connector-customizers/upload.md @@ -21,7 +21,7 @@ Before you can upload a connector customizer, you must issue the create command sail conn customizers create my-connector-customizer ``` -This will return the customizer ID. +This will return the customizer ID. ```bash +--------------------------------------+-------------------------+---------+ @@ -55,4 +55,5 @@ To upload the customizer to Identity Security Cloud, use the upload command: ```bash sail conn customizers upload -c 7b968fab-0f40-49f0-b13b-8bf529fc0b82 -f .\dist\my-connector-customizer-0.1.0.zip ``` -Now the customizer is ready to be used! \ No newline at end of file + +Now the customizer is ready to be used! diff --git a/docs/connectivity/saas-connectivity/connector-spec/card.md b/docs/connectivity/saas-connectivity/connector-spec/card.md index c07a1bac9..20d9553c0 100644 --- a/docs/connectivity/saas-connectivity/connector-spec/card.md +++ b/docs/connectivity/saas-connectivity/connector-spec/card.md @@ -3,18 +3,19 @@ id: connector-spec-card title: Card pagination_label: Card sidebar_label: Card -keywords: ['connectivity', 'connectors','connector-spec', 'card'] +keywords: ['connectivity', 'connectors', 'connector-spec', 'card'] description: Details on using the card item slug: /connectivity/saas-connectivity/connector-spec/card tags: ['Connectivity', 'Connector Spec'] --- ## How to use the card type in the connector spec + You can use the `card` type to specify cards that allow users to add/copy/delete and enter a subMenu to make changes to more card details. -When you create a card, you must specify the fields the cardSubMenu will use to generate the title and subtitle, as shown in the following example. +When you create a card, you must specify the fields the cardSubMenu will use to generate the title and subtitle, as shown in the following example. -In this example, clicking the ```Add table``` button opens a dialog, and the values entered for the ```Table Information``` and ```Airtable Id``` will populate the cards ```title``` and ```subtitle```. +In this example, clicking the `Add table` button opens a dialog, and the values entered for the `Table Information` and `Airtable Id` will populate the cards `title` and `subtitle`. ### Example card item type @@ -71,7 +72,7 @@ In this example, clicking the ```Add table``` button opens a dialog, and the val ] } ``` + ![card input type](../img/card.png) ![card menu input type](../img/cardMenu.png) - diff --git a/docs/connectivity/saas-connectivity/connector-spec/initialValue.md b/docs/connectivity/saas-connectivity/connector-spec/initialValue.md index bf8d1de34..a4eedab3d 100644 --- a/docs/connectivity/saas-connectivity/connector-spec/initialValue.md +++ b/docs/connectivity/saas-connectivity/connector-spec/initialValue.md @@ -3,7 +3,8 @@ id: connector-spec-initial-value title: Initial Value pagination_label: Initial Value sidebar_label: Initial Value -keywords: ['connectivity', 'connectors','connector-spec', 'sourceConfigInitialValues'] +keywords: + ['connectivity', 'connectors', 'connector-spec', 'sourceConfigInitialValues'] description: How to use the sourceConfigInitialValues field slug: /connectivity/saas-connectivity/connector-spec/initial-value tags: ['Connectivity', 'Connector Spec'] @@ -41,4 +42,4 @@ If you want to prepopulate a field in the connector spec configuration with an i ] } ] -``` \ No newline at end of file +``` diff --git a/docs/connectivity/saas-connectivity/connector-spec/keyValue.md b/docs/connectivity/saas-connectivity/connector-spec/keyValue.md index e6c9ef602..0c7f7be65 100644 --- a/docs/connectivity/saas-connectivity/connector-spec/keyValue.md +++ b/docs/connectivity/saas-connectivity/connector-spec/keyValue.md @@ -3,14 +3,15 @@ id: connector-spec-key-value title: Key Value pagination_label: Key Value sidebar_label: Key Value -keywords: ['connectivity', 'connectors','connector-spec', 'keyValue'] +keywords: ['connectivity', 'connectors', 'connector-spec', 'keyValue'] description: Details on using the key value item slug: /connectivity/saas-connectivity/connector-spec/key-value tags: ['Connectivity', 'Connector Spec'] --- ## How to use the key value type in the connector spec -You can use the `keyValue` type to allow users to enter multiple key value items in a single entry box. + +You can use the `keyValue` type to allow users to enter multiple key value items in a single entry box. This is an example implementation: @@ -37,4 +38,5 @@ This is an example implementation: } } ``` + ![list input type](../img/keyValue.png) diff --git a/docs/connectivity/saas-connectivity/connector-spec/list.md b/docs/connectivity/saas-connectivity/connector-spec/list.md index 97f4115cc..ea997dbf2 100644 --- a/docs/connectivity/saas-connectivity/connector-spec/list.md +++ b/docs/connectivity/saas-connectivity/connector-spec/list.md @@ -3,16 +3,17 @@ id: connector-spec-list title: List pagination_label: List sidebar_label: List -keywords: ['connectivity', 'connectors','connector-spec', 'list'] +keywords: ['connectivity', 'connectors', 'connector-spec', 'list'] description: Details on using the list item slug: /connectivity/saas-connectivity/connector-spec/list tags: ['Connectivity', 'Connector Spec'] --- ## How to use the list type in the connector spec -You can use the `list` type to allow users to enter multiple items in a single entry box. -This is an example implementation: +You can use the `list` type to allow users to enter multiple items in a single entry box. + +This is an example implementation: ### Example list item type @@ -24,4 +25,5 @@ This is an example implementation: "helpKey": "Add a list of entitlements to expose via your source" } ``` + ![list input type](../img/list.png) diff --git a/docs/connectivity/saas-connectivity/connector-spec/radio.md b/docs/connectivity/saas-connectivity/connector-spec/radio.md index b91e3d1b3..14dc26d1e 100644 --- a/docs/connectivity/saas-connectivity/connector-spec/radio.md +++ b/docs/connectivity/saas-connectivity/connector-spec/radio.md @@ -3,14 +3,15 @@ id: connector-spec-radio title: Radio pagination_label: Radio sidebar_label: Radio -keywords: ['connectivity', 'connectors','connector-spec', 'radio'] +keywords: ['connectivity', 'connectors', 'connector-spec', 'radio'] description: Details on using the Radio item slug: /connectivity/saas-connectivity/connector-spec/radio tags: ['Connectivity', 'Connector Spec'] --- ## How to use the radio type in the connector spec -You can use the `Rrdio` type to create radio buttons for users to interact with to select from a predefined set of values. + +You can use the `Rrdio` type to create radio buttons for users to interact with to select from a predefined set of values. This is an example implementation: @@ -34,6 +35,7 @@ This is an example implementation: ] } ``` + ![radio input type](../img/radio.png) You can also create dependencies on other fields so they are hidden until the selection is made. This same type of dependency can be built into any field and linked by using the parentKey/parentValue fields. diff --git a/docs/connectivity/saas-connectivity/connector-spec/select.md b/docs/connectivity/saas-connectivity/connector-spec/select.md index 5d9047b16..90d09b71c 100644 --- a/docs/connectivity/saas-connectivity/connector-spec/select.md +++ b/docs/connectivity/saas-connectivity/connector-spec/select.md @@ -3,14 +3,15 @@ id: connector-spec-select title: Select pagination_label: Select sidebar_label: Select -keywords: ['connectivity', 'connectors','connector-spec', 'select'] +keywords: ['connectivity', 'connectors', 'connector-spec', 'select'] description: Details on using the select item slug: /connectivity/saas-connectivity/connector-spec/select tags: ['Connectivity', 'Connector Spec'] --- ## How to use the Select type in the connector spec -You can use the Select type to create a dropdown for users to interact with to select from a predefined set of values. + +You can use the Select type to create a dropdown for users to interact with to select from a predefined set of values. This is an example implementation: @@ -34,6 +35,7 @@ This is an example implementation: ] } ``` + ![select input type](../img/select.png) You can also create dependencies on other fields so they are hidden until the selection is made. This same type of dependency can be built into any field and linked by using the parentKey/parentValue fields. diff --git a/docs/connectivity/saas-connectivity/in-depth/cli-advanced.md b/docs/connectivity/saas-connectivity/in-depth/cli-advanced.md index b0fd37514..bf579d81a 100644 --- a/docs/connectivity/saas-connectivity/in-depth/cli-advanced.md +++ b/docs/connectivity/saas-connectivity/in-depth/cli-advanced.md @@ -11,7 +11,7 @@ slug: /connectivity/saas-connectivity/in-depth/cli-advanced tags: ['Connectivity'] --- -You can use the CLI to invoke a number of calls in Identity Security Cloud, including calls that aren't specifically defined by the CLI. This section includes examples that show how you can invoke those calls: +You can use the CLI to invoke a number of calls in Identity Security Cloud, including calls that aren't specifically defined by the CLI. This section includes examples that show how you can invoke those calls: ## Use provided CLI invoke calls @@ -33,6 +33,7 @@ Available Commands: source-data-read Invoke a std:source-data:read command test-connection Invoke a std:test-connection command ``` + To understand the required parameters to invoke a command from the CLI, you can use the help command to get a list of required parameters. For example, to read an account using the CLI, first call `sail conn invoke account-read -h`. The CLI will respond with the required input: ```bash @@ -52,14 +53,15 @@ Global Flags: -c, --id string Connector ID or Alias -v, --version string Optional. Run against a specific version if provided. Otherwise run against the latest tag. ``` -In this case, you need to provide the connector ID, the config path that contains the necessary configuration for the connector, and the ID for the account. + +In this case, you need to provide the connector ID, the config path that contains the necessary configuration for the connector, and the ID for the account. The config file will look something like this: ```json -{ - "apiKey": "", - "airtableBase": "" +{ + "apiKey": "", + "airtableBase": "" } ``` @@ -71,7 +73,7 @@ sail conn invoke account-read philip.ellis -c 4b12cf79-b2ac-44ac-842b-b5a6268548 ## Use sail conn invoke raw -Even if a command isn't supported by the CLI, you can still invoke it. The `invoke raw` command allows you to specify the entire JSON object used to invoke the command. +Even if a command isn't supported by the CLI, you can still invoke it. The `invoke raw` command allows you to specify the entire JSON object used to invoke the command. You can use the Postman collection as a way to build the JSON object needed to invoke the command. For example, if you want to run the `account-disable` command, you can create a JSON object with the required fields. If you look at this example, you will see that it closely resembles the same information that is sent when debugging the command using Postman: @@ -83,6 +85,7 @@ You can use the Postman collection as a way to build the JSON object needed to i } } ``` + Running the `raw` command is similar to running the other commands, except now you pass the JSON file created earlier with the `-f` flag: ``` diff --git a/docs/connectivity/saas-connectivity/in-depth/connector-timeouts.md b/docs/connectivity/saas-connectivity/in-depth/connector-timeouts.md index 61e5c81e1..be028dbe7 100644 --- a/docs/connectivity/saas-connectivity/in-depth/connector-timeouts.md +++ b/docs/connectivity/saas-connectivity/in-depth/connector-timeouts.md @@ -15,7 +15,7 @@ An Identity Security Cloud SaaS Connectivity connector will send a timeout error In the case of a long running API call to the source system, you can also optionally send `res.keepAlive()` to keep the connection to Identity Security Cloud open without having to send any data to Identity Security Cloud. If `res.keepAlive()` or `res.send()` is not called within 3 minutes, a connector timeout will occur. -This is an example of how to set up this pagination: +This is an example of how to set up this pagination: ```javascript async getAccounts(res: Response): Promise { @@ -25,7 +25,7 @@ async getAccounts(res: Response): Promise { // each page will be called recursively until there are no more records to fetch, at which case the promise is fulfilled ).eachPage((records, fetchNextPage) => { for (let record of records) { - // this is the part that sends the data to Identity Security Cloud. Since eachPage is called with just 10 records, + // this is the part that sends the data to Identity Security Cloud. Since eachPage is called with just 10 records, // if there are 100 records total, we would send data back to ISC in 10 sets of 10 records. res.send({ identity: record.id, diff --git a/docs/connectivity/saas-connectivity/in-depth/error-handling.md b/docs/connectivity/saas-connectivity/in-depth/error-handling.md index 862454d8a..40bc3346a 100644 --- a/docs/connectivity/saas-connectivity/in-depth/error-handling.md +++ b/docs/connectivity/saas-connectivity/in-depth/error-handling.md @@ -45,15 +45,15 @@ export class AirtableClient { ## Not Found Error Type -The connector SDK offers a special error type of "Not Found". This error signals to ISC that the specific account is not in the source system. If the account should be in the source system, ISC will then call the connector ```std:account:create``` command to create the account. +The connector SDK offers a special error type of "Not Found". This error signals to ISC that the specific account is not in the source system. If the account should be in the source system, ISC will then call the connector `std:account:create` command to create the account. -Here is an example: +Here is an example: ```javascript .stdAccountUpdate(async (context: Context, input: StdAccountUpdateInput, res: Response) => { const account = await myClient.getAccount(input.identity) if (!account) { - // account was not found, but identity now has the account and expects it to be there! + // account was not found, but identity now has the account and expects it to be there! // Send an error message to Identity Security Cloud so the account is automatically created if (!account) { throw new ConnectorError("account is not found", ConnectorErrorType.NotFound) @@ -120,19 +120,25 @@ export class AirtableClient { ## Recommended custom exceptions and examples of when to use them #### InvalidConfigurationException + - Use this exception during any operation if the connector requires a certain configuration to connect to the managed-system, but the configuration is either faulty or not provided. This could happen before sending a request to the managed system. #### InsufficientPermissionException -- Use this exception during any operation if the connector gets a known managed system exception indicating a lack of permission. + +- Use this exception during any operation if the connector gets a known managed system exception indicating a lack of permission. #### InvalidRequestException + - Use this exception during any operation if the connector is creating messages to be sent to the managed system but is failing to create a message. This could happen before sending a request to the managed system. #### ObjectAlreadyExistsException + - Use this exception during the provisioning operation of the type create(only) if the connector is trying to create an entity that already exists on the managed system. #### InvalidResponseException + - Use this exception during aggregation or in the getObject when the connector is unable to parse data received from managed system. This could happen if something fails when converting a managed system response to a ResourceObject. #### TimeoutException -- This is intended for cases in which the connector receives timeout related error/exceptions from the managed system. \ No newline at end of file + +- This is intended for cases in which the connector receives timeout related error/exceptions from the managed system. diff --git a/docs/connectivity/saas-connectivity/index.md b/docs/connectivity/saas-connectivity/index.md index 790ad4d8d..53ef18bf9 100644 --- a/docs/connectivity/saas-connectivity/index.md +++ b/docs/connectivity/saas-connectivity/index.md @@ -20,9 +20,10 @@ Connectors are the bridges between the SailPoint Identity Security Cloud (ISC) S ## Why We Are Introducing SaaS Connectivity The primary driver for indroducing the SaaS Connectivity framework is to allow a way to connect to other cloud based sources in a truly SaaS architecture, without the need to rely on a VA. There are also other benefits that come with the SaaS Connectivity framework: - - Ability to develop, debug and test custom connectors locally without any dependencies on Identity Security Cloud - - Features to customize the user interface when configuring the connector that are specific to the source - - Support for more modern languages and frameworks + +- Ability to develop, debug and test custom connectors locally without any dependencies on Identity Security Cloud +- Features to customize the user interface when configuring the connector that are specific to the source +- Support for more modern languages and frameworks ## Architecture of SaaS Connectivity @@ -42,4 +43,4 @@ With both SaaS connectivity and traditional VA connectivity in place, you can ha Any direct connectors that specify a virtual appliance (VA) use [Zero Knowledge Encryption](https://community.sailpoint.com/t5/Lighthouse/Protecting-Sensitive-Data-with-Zero-Knowledge-Encryption/ta-p/79657?attachment-id=452) schemes with an RSA 2048-bit asymmetric key pair: there is a private key on the VA for decryption and a public key in the cloud (as part of the VA cluster) for encryption. -SaaS connectors cannot operate the same way because they do not communicate through VA clusters. Despite this, SaaS connectors can still leverage the asymmetric key pair scheme — the key pair simply resides in the cloud instead of on the VA. The key pair is only accessible to the Connectivity service and is managed to SailPoint standards for credential storage. Whenever you are storing secret data, use the ```secret``` or ```secrettextarea``` field types. +SaaS connectors cannot operate the same way because they do not communicate through VA clusters. Despite this, SaaS connectors can still leverage the asymmetric key pair scheme — the key pair simply resides in the cloud instead of on the VA. The key pair is only accessible to the Connectivity service and is managed to SailPoint standards for credential storage. Whenever you are storing secret data, use the `secret` or `secrettextarea` field types. diff --git a/docs/connectivity/saas-connectivity/postman-collection.md b/docs/connectivity/saas-connectivity/postman-collection.md index 601602fa5..b0558902a 100644 --- a/docs/connectivity/saas-connectivity/postman-collection.md +++ b/docs/connectivity/saas-connectivity/postman-collection.md @@ -14,5 +14,5 @@ tags: ['Connectivity', 'Postman'] Use the following Postman Collection file to run tests for each of the commands locally. | API | Postman Collection | -|------|----------------------------| +| --- | --- | | SaaS Connectivity | [![Run in Postman](./img/button.svg)](https://god.gw.postman.com/run-collection/23226990-a0b5c429-d8dd-4fe2-a4a2-eb7ff85322ef?action=collection%2Ffork&collection-url=entityId%3D23226990-a0b5c429-d8dd-4fe2-a4a2-eb7ff85322ef%26entityType%3Dcollection%26workspaceId%3D80af54be-a333-4712-af5e-41aa9eccbdd0) | diff --git a/docs/connectivity/saas-connectivity/prerequisites.md b/docs/connectivity/saas-connectivity/prerequisites.md index d9388dae0..be4cfd969 100644 --- a/docs/connectivity/saas-connectivity/prerequisites.md +++ b/docs/connectivity/saas-connectivity/prerequisites.md @@ -41,7 +41,7 @@ sail conn init my-first-project The CLI init command creates a new folder with your project name in the location where you run the command. -Change the directory to the project folder and run ```npm install to install`` the dependencies. +Change the directory to the project folder and run ``npm install to install` the dependencies. ### Source Files diff --git a/docs/connectivity/saas-connectivity/test-build-deploy.md b/docs/connectivity/saas-connectivity/test-build-deploy.md index 339b996fb..6babfbcac 100644 --- a/docs/connectivity/saas-connectivity/test-build-deploy.md +++ b/docs/connectivity/saas-connectivity/test-build-deploy.md @@ -102,8 +102,7 @@ $ sail conn tags list -c example-connector :::caution Important -Make sure that you implement a form of version control or regular backup process for your connectors. -You cannot recover the source code from ISC because it gets sent to ISC as a compiled and minified JavaScript (JS) bundle that cannot be easily expanded into its original source code structure. +Make sure that you implement a form of version control or regular backup process for your connectors. You cannot recover the source code from ISC because it gets sent to ISC as a compiled and minified JavaScript (JS) bundle that cannot be easily expanded into its original source code structure. ::: diff --git a/docs/connectivity/saas-connectivity/videos.md b/docs/connectivity/saas-connectivity/videos.md index 4c8adb4a0..fea13ffc3 100644 --- a/docs/connectivity/saas-connectivity/videos.md +++ b/docs/connectivity/saas-connectivity/videos.md @@ -10,14 +10,15 @@ description: Helpful videos on using SaaS connectivity slug: /connectivity/saas-connectivity/videos tags: ['Connectivity'] --- + import Video from '@site/src/components/Video'; ## Videos -During our 2023 Developer Days Conference, we created several connectivity videos. These videos can help you as you start building connectors: +During our 2023 Developer Days Conference, we created several connectivity videos. These videos can help you as you start building connectors: - - [Roadmap and Introduction](https://www.youtube.com/watch?v=12pfpLBNCvM) - - [Building a Complete Connector Walkthrough](https://www.youtube.com/watch?v=wHHje_ItTKQ) - - [SDKs in practice](https://www.youtube.com/watch?v=uvnlSUVsF8M) +- [Roadmap and Introduction](https://www.youtube.com/watch?v=12pfpLBNCvM) +- [Building a Complete Connector Walkthrough](https://www.youtube.com/watch?v=wHHje_ItTKQ) +- [SDKs in practice](https://www.youtube.com/watch?v=uvnlSUVsF8M) diff --git a/docs/extensibility.md b/docs/extensibility.md index e25b29e06..56914f222 100644 --- a/docs/extensibility.md +++ b/docs/extensibility.md @@ -6,13 +6,14 @@ sidebar_label: Extensibility sidebar_position: 1 sidebar_class_name: extensibility keywords: ['extensibility'] -description: Extend your ISC platform. +description: Extend your ISC platform. slug: /extensibility tags: ['extensibility'] --- ## Overview -The Identity Security Cloud (ISC) platform is designed for extensibility, which means that it's designed to allow the addition of new capabilities or functionalities. In addition to the APIs, SailPoint provides a number of extensibility options you can use to build custom solutions and integrations that meet your organization's needs. + +The Identity Security Cloud (ISC) platform is designed for extensibility, which means that it's designed to allow the addition of new capabilities or functionalities. In addition to the APIs, SailPoint provides a number of extensibility options you can use to build custom solutions and integrations that meet your organization's needs. ```mdx-code-block import DocCardList from '@theme/DocCardList'; @@ -22,6 +23,7 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` ## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about ISC extensibility and discuss the different extensibility options with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). \ No newline at end of file +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. + +To learn more about ISC extensibility and discuss the different extensibility options with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/extensibility/configuration-management/_category_.json b/docs/extensibility/configuration-management/_category_.json index e8ff3fd29..da7b0d250 100644 --- a/docs/extensibility/configuration-management/_category_.json +++ b/docs/extensibility/configuration-management/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Export and import tenant configurations." - } -} \ No newline at end of file + "customProps": { + "description": "Export and import tenant configurations." + } +} diff --git a/docs/extensibility/configuration-management/configuration-hub.md b/docs/extensibility/configuration-management/configuration-hub.md index 92ddbdd29..7160fbfc8 100644 --- a/docs/extensibility/configuration-management/configuration-hub.md +++ b/docs/extensibility/configuration-management/configuration-hub.md @@ -5,19 +5,19 @@ pagination_label: Configuration Hub sidebar_position: 3 sidebar_class_name: configurationHub keywords: ['configuration'] -description: Manage tenant configurations with the ISC UI. +description: Manage tenant configurations with the ISC UI. slug: /extensibility/configuration-management/configuration-hub tags: ['Configuration', 'Hub'] --- -## Overview +## Overview The SailPoint Configuration Hub supports management of configuration objects in your Identity Security Cloud (ISC) tenant through backup and deploy operations from the ISC UI. For example, you can back up configurations like sources and identity profiles defined for your business, restore them in the event of configuration errors or loss, or migrate and deploy them to your other tenants. -To learn more about Configuration Hub, refer to the [Configuration Hub documentation](https://documentation.sailpoint.com/saas/help/confighub/config_hub.html). +To learn more about Configuration Hub, refer to the [Configuration Hub documentation](https://documentation.sailpoint.com/saas/help/confighub/config_hub.html). ## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the SaiLPoint Configuration Hub and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). \ No newline at end of file +To learn more about the SaiLPoint Configuration Hub and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/extensibility/event-triggers/_category_.json b/docs/extensibility/event-triggers/_category_.json index 9b49f47c2..50e17bb7b 100644 --- a/docs/extensibility/event-triggers/_category_.json +++ b/docs/extensibility/event-triggers/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Actions triggered by specific events." - } -} \ No newline at end of file + "customProps": { + "description": "Actions triggered by specific events." + } +} diff --git a/docs/extensibility/event-triggers/available/access-request-submitted.md b/docs/extensibility/event-triggers/available/access-request-submitted.md index 180be84e1..3888885c9 100644 --- a/docs/extensibility/event-triggers/available/access-request-submitted.md +++ b/docs/extensibility/event-triggers/available/access-request-submitted.md @@ -4,7 +4,16 @@ title: Access Request Submitted pagination_label: Access Request Submitted sidebar_label: Access Request Submitted sidebar_class_name: accessRequestSubmitted -keywords: ['event', 'trigger', 'access', 'request', 'submitted', 'preapproval', 'available'] +keywords: + [ + 'event', + 'trigger', + 'access', + 'request', + 'submitted', + 'preapproval', + 'available', + ] description: Fires after an access request is submitted. slug: /extensibility/event-triggers/triggers/access-request-submitted tags: ['Event Triggers', 'Available Event Triggers', 'Request Response'] diff --git a/docs/extensibility/event-triggers/available/certification-signed-off.md b/docs/extensibility/event-triggers/available/certification-signed-off.md index 109337a0a..2365a5cb8 100644 --- a/docs/extensibility/event-triggers/available/certification-signed-off.md +++ b/docs/extensibility/event-triggers/available/certification-signed-off.md @@ -12,8 +12,7 @@ tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] ## Event Context -This event is triggered when a certification is signed-off and moves to End status. -This is not to be confused with Campaign End/Expiration. +This event is triggered when a certification is signed-off and moves to End status. This is not to be confused with Campaign End/Expiration. This is an example input from this trigger: diff --git a/docs/extensibility/event-triggers/available/native-change-account-created.md b/docs/extensibility/event-triggers/available/native-change-account-created.md index 6de4780e4..477693e53 100644 --- a/docs/extensibility/event-triggers/available/native-change-account-created.md +++ b/docs/extensibility/event-triggers/available/native-change-account-created.md @@ -14,7 +14,7 @@ tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] :::info Important Setup Steps -You must have at least one source configured for Native Change Detection (NCD) before you will receive events from this trigger. There are two ways you can configure a source for NCD: +You must have at least one source configured for Native Change Detection (NCD) before you will receive events from this trigger. There are two ways you can configure a source for NCD: 1. Invoke the [update native change detection configuration](https://developer.sailpoint.com/docs/api/beta/put-native-change-detection-config) for each source you want to receive events for NCD. 2. Configure the NCD options on the source in the source configuration UI. @@ -38,7 +38,7 @@ flowchart TD
-This event trigger can be used to immediately notify interested parties and remediate accounts that are created directly on the source. Some examples of how this trigger can be used are as follows: +This event trigger can be used to immediately notify interested parties and remediate accounts that are created directly on the source. Some examples of how this trigger can be used are as follows: - Notify the identity's manager and the source owner of the new account - Create a micro-certification for the identity to review their new account access @@ -48,139 +48,131 @@ This is an example input from this trigger: ```json { - "identity": { - "manager": { - "name": "Martena Heath", - "id": "2c91808378eb9fa30178fb8caf90097f", - "type": "IDENTITY", - "email": "martena.heath@sample_email.com" - }, - "name": "peter.williams", - "alias": "peter.williams", - "id": "e43ba47b265b4baf943efe3aaef886c8", - "type": "IDENTITY", - "email": "peter.williams@sample_email.com" + "identity": { + "manager": { + "name": "Martena Heath", + "id": "2c91808378eb9fa30178fb8caf90097f", + "type": "IDENTITY", + "email": "martena.heath@sample_email.com" }, - "singleValueAttributeChanges": [ - { - "newValue": "Peter Williams", - "name": "cn", - "oldValue": null - }, - { - "newValue": "Peter Williams", - "name": "displayName", - "oldValue": null - }, - { - "newValue": "CN=Peter Williams,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com", - "name": "distinguishedName", - "oldValue": null - }, - { - "newValue": "Peter", - "name": "givenName", - "oldValue": null - } - ], - "entitlementChanges": [ - { - "removed": [], - "added": [ - { - "owner": { - "id": "2c91808978eb9fab0178fb8ca9280919", - "name": "Gregory Brooks", - "type": "IDENTITY" - }, - "name": "ProductionManagement", - "id": "2c91808778eb9fa30178fb9482f00c60", - "value": "CN=ProductionManagement,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - }, - { - "owner": null, - "name": "Employees", - "id": "2c91808378eb9fa30178fb94818e0af8", - "value": "CN=Employees,OU=BirthRight,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - }, - { - "owner": null, - "name": "WindowsAdministration", - "id": "2c91808378eb9fa30178fb9481c30b02", - "value": "CN=WindowsAdministration,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - } - ], - "attributeName": "memberOf" - } - ], - "eventType": "ACCOUNT_CREATED", - "source": { - "owner": { - "name": "Aaron Andrew", - "id": "2c9180867a7c46d0017a7ca099d50531", - "type": "IDENTITY", - "email": "aaron.andrew@sample_email.com" - }, - "name": "Active Directory", - "alias": "Active Directory [source]", - "id": "2c91808a78efc63e0178fb8624b248c5", - "type": "SOURCE", - "governanceGroup": { - "id": "fd0d1393-35fb-47d8-9809-0e385b73f25e", - "name": "Active Directory Owners", - "type": "GOVERNANCE_GROUP" - } + "name": "peter.williams", + "alias": "peter.williams", + "id": "e43ba47b265b4baf943efe3aaef886c8", + "type": "IDENTITY", + "email": "peter.williams@sample_email.com" + }, + "singleValueAttributeChanges": [ + { + "newValue": "Peter Williams", + "name": "cn", + "oldValue": null }, - "accountChangeTypes": [ - "ATTRIBUTES_CHANGED", - "ENTITLEMENTS_ADDED" - ], - "multiValueAttributeChanges": [ - { - "removedValues": [], - "addedValues": [ - "top", - "person", - "organizationalPerson", - "user" - ], - "name": "objectClass" - }, - { - "removedValues": [], - "addedValues": [ - "Normal User Account", - "Password Cannot Expire", - "User Account is Disabled" - ], - "name": "accountFlags" - } - ], - "account": { - "name": "peter.williams", - "id": "b3b17b0072f04da39b41e8802aaff01b", - "type": "ACCOUNT", - "uuid": "{615ebfa6-3d21-484e-9e67-01bd4e20c3da}", - "correlated": true, - "nativeIdentity": "CN=Peter Williams,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + { + "newValue": "Peter Williams", + "name": "displayName", + "oldValue": null + }, + { + "newValue": "CN=Peter Williams,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com", + "name": "distinguishedName", + "oldValue": null + }, + { + "newValue": "Peter", + "name": "givenName", + "oldValue": null } + ], + "entitlementChanges": [ + { + "removed": [], + "added": [ + { + "owner": { + "id": "2c91808978eb9fab0178fb8ca9280919", + "name": "Gregory Brooks", + "type": "IDENTITY" + }, + "name": "ProductionManagement", + "id": "2c91808778eb9fa30178fb9482f00c60", + "value": "CN=ProductionManagement,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + }, + { + "owner": null, + "name": "Employees", + "id": "2c91808378eb9fa30178fb94818e0af8", + "value": "CN=Employees,OU=BirthRight,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + }, + { + "owner": null, + "name": "WindowsAdministration", + "id": "2c91808378eb9fa30178fb9481c30b02", + "value": "CN=WindowsAdministration,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } + ], + "attributeName": "memberOf" + } + ], + "eventType": "ACCOUNT_CREATED", + "source": { + "owner": { + "name": "Aaron Andrew", + "id": "2c9180867a7c46d0017a7ca099d50531", + "type": "IDENTITY", + "email": "aaron.andrew@sample_email.com" + }, + "name": "Active Directory", + "alias": "Active Directory [source]", + "id": "2c91808a78efc63e0178fb8624b248c5", + "type": "SOURCE", + "governanceGroup": { + "id": "fd0d1393-35fb-47d8-9809-0e385b73f25e", + "name": "Active Directory Owners", + "type": "GOVERNANCE_GROUP" + } + }, + "accountChangeTypes": ["ATTRIBUTES_CHANGED", "ENTITLEMENTS_ADDED"], + "multiValueAttributeChanges": [ + { + "removedValues": [], + "addedValues": ["top", "person", "organizationalPerson", "user"], + "name": "objectClass" + }, + { + "removedValues": [], + "addedValues": [ + "Normal User Account", + "Password Cannot Expire", + "User Account is Disabled" + ], + "name": "accountFlags" + } + ], + "account": { + "name": "peter.williams", + "id": "b3b17b0072f04da39b41e8802aaff01b", + "type": "ACCOUNT", + "uuid": "{615ebfa6-3d21-484e-9e67-01bd4e20c3da}", + "correlated": true, + "nativeIdentity": "CN=Peter Williams,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } } ``` -- `identity` The identity correlated to this account. If `account.correlated` is `false`, then this will be a system generated identity, not a real identity. For uncorrelated accounts, this system generated identity can be used to revoke entitlements on the account, or in any other API request that requires an identity ID. -- `singleValueAttributeChanges` Contains a list of account attributes that have changed. During an account created event, all aggregated account attributes will be listed, and their `oldValue` will be null. +- `identity` The identity correlated to this account. If `account.correlated` is `false`, then this will be a system generated identity, not a real identity. For uncorrelated accounts, this system generated identity can be used to revoke entitlements on the account, or in any other API request that requires an identity ID. +- `singleValueAttributeChanges` Contains a list of account attributes that have changed. During an account created event, all aggregated account attributes will be listed, and their `oldValue` will be null. - it will include ALL account attributes if the config is `"allNonEntitlementAttributes": true` - it will include the enumerated list of attributes contained in `"selectedNonEntitlementAttributes": []` -- `entitlementChanges` Contains a list of entitlements that have been aggregated with the account. the `removed` list will always be empty for an account created event. +- `entitlementChanges` Contains a list of entitlements that have been aggregated with the account. the `removed` list will always be empty for an account created event. - `eventType` Will always be `ACCOUNT_CREATED` for account created events. - `source` The source where this account originated from. - `accountChangeTypes` A list of change types you can expect to see in the event input. - Possible values are `ATTRIBUTES_CHANGED` and `ENTITLEMENTS_ADDED`. - - The above example lists both change types since both attributes and entitlements were added. If an event payload only contains attributes added, then this list will only contain the `ATTRIBUTES_CHANGED` value. This can be useful when filtering events based on change types, or quickly checking what types of objects changed in the account before continuing to process the input. -- `multiValueAttributeChanges` List of multivalued attributes that were aggregated with the account. Only `addedValues` will appear for account created events. + - The above example lists both change types since both attributes and entitlements were added. If an event payload only contains attributes added, then this list will only contain the `ATTRIBUTES_CHANGED` value. This can be useful when filtering events based on change types, or quickly checking what types of objects changed in the account before continuing to process the input. +- `multiValueAttributeChanges` List of multivalued attributes that were aggregated with the account. Only `addedValues` will appear for account created events. - it will include ALL account attributes if the config is `"allNonEntitlementAttributes": true` - it will include the enumerated list of attributes contained in `"selectedNonEntitlementAttributes": []` -- `account` The details of the account as it appears in Identity Security Cloud. This information can be used to query the account API for more information. +- `account` The details of the account as it appears in Identity Security Cloud. This information can be used to query the account API for more information. ## Additional Information and Links diff --git a/docs/extensibility/event-triggers/available/native-change-account-deleted.md b/docs/extensibility/event-triggers/available/native-change-account-deleted.md index 0da5ec974..18de61d9c 100644 --- a/docs/extensibility/event-triggers/available/native-change-account-deleted.md +++ b/docs/extensibility/event-triggers/available/native-change-account-deleted.md @@ -14,7 +14,7 @@ tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] :::info Important Setup Steps -You must have at least one source configured for Native Change Detection (NCD) before you will receive events from this trigger. There are two ways you can configure a source for NCD: +You must have at least one source configured for Native Change Detection (NCD) before you will receive events from this trigger. There are two ways you can configure a source for NCD: 1. Invoke the [update native change detection configuration](https://developer.sailpoint.com/docs/api/beta/put-native-change-detection-config) for each source you want to receive events for NCD. 2. Configure the NCD options on the source in the source configuration UI. @@ -38,7 +38,7 @@ flowchart TD
-This event trigger can be used to immediately notify interested parties and remediate accounts that are deleted directly on the source. Some examples of how this trigger can be used are as follows: +This event trigger can be used to immediately notify interested parties and remediate accounts that are deleted directly on the source. Some examples of how this trigger can be used are as follows: - Notify the identity's manager and the source owner of the deleted account @@ -46,129 +46,126 @@ This is an example input from this trigger: ```json { - "identity": { - "manager": { - "name": "Martena Heath", - "id": "2c91808378eb9fa30178fb8caf90097f", - "type": "IDENTITY", - "email": "martena.heath@sample_email.com" - }, - "name": "Letty Wilson", - "alias": "Letty.Wilson", - "id": "2c91808978eb9fab0178fb8ca6d308fb", - "type": "IDENTITY", - "email": "letty.wilson@sample_email.com" - }, - "singleValueAttributeChanges": [{ - "newValue": null, - "name": "cn", - "oldValue": "Letty Wilson" - }, - { - "newValue": null, - "name": "displayName", - "oldValue": "Letty Wilson" - }, - { - "newValue": null, - "name": "distinguishedName", - "oldValue": "CN=Letty Wilson,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - } - ], - "entitlementChanges": [{ - "removed": [{ - "owner": { - "id": "2c91808978eb9fab0178fb8ca9280919", - "name": "Gregory Brooks", - "type": "IDENTITY" - }, - "name": "ProductionManagement", - "id": "2c91808778eb9fa30178fb9482f00c60", - "value": "CN=ProductionManagement,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - }, - { - "owner": null, - "name": "Employees", - "id": "2c91808378eb9fa30178fb94818e0af8", - "value": "CN=Employees,OU=BirthRight,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - }, - { - "owner": null, - "name": "WindowsAdministration", - "id": "2c91808378eb9fa30178fb9481c30b02", - "value": "CN=WindowsAdministration,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - } - ], - "added": [], - "attributeName": "memberOf" - }], - "eventType": "ACCOUNT_DELETED", - "source": { - "owner": { - "name": "Aaron Andrew", - "id": "2c9180867a7c46d0017a7ca099d50531", - "type": "IDENTITY", - "email": "aaron.andrew@sample_email.com" - }, - "name": "Active Directory", - "alias": "Active Directory [source]", - "id": "2c91808a78efc63e0178fb8624b248c5", - "type": "SOURCE", - "governanceGroup": { - "id": "fd0d1393-35fb-47d8-9809-0e385b73f25e", - "name": "Active Directory Owners", - "type": "GOVERNANCE_GROUP" - } - }, - "accountChangeTypes": [ - "ATTRIBUTES_CHANGED", - "ENTITLEMENTS_REMOVED" - ], - "multiValueAttributeChanges": [{ - "removedValues": [ - "top", - "person", - "organizationalPerson", - "user" - ], - "addedValues": [], - "name": "objectClass" - }, - { - "removedValues": [ - "Normal User Account", - "Password Cannot Expire", - "User Account is Disabled" - ], - "addedValues": [], - "name": "accountFlags" - } - ], - "account": { - "name": "letty.wilson", - "id": "6805a47c09cc4dfca9083f1ce84552ee", - "type": "ACCOUNT", - "uuid": "{3c096158-9188-46f4-bb13-20ef9daafa7f}", - "correlated": true, - "nativeIdentity": "CN=Letty Wilson,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - } + "identity": { + "manager": { + "name": "Martena Heath", + "id": "2c91808378eb9fa30178fb8caf90097f", + "type": "IDENTITY", + "email": "martena.heath@sample_email.com" + }, + "name": "Letty Wilson", + "alias": "Letty.Wilson", + "id": "2c91808978eb9fab0178fb8ca6d308fb", + "type": "IDENTITY", + "email": "letty.wilson@sample_email.com" + }, + "singleValueAttributeChanges": [ + { + "newValue": null, + "name": "cn", + "oldValue": "Letty Wilson" + }, + { + "newValue": null, + "name": "displayName", + "oldValue": "Letty Wilson" + }, + { + "newValue": null, + "name": "distinguishedName", + "oldValue": "CN=Letty Wilson,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } + ], + "entitlementChanges": [ + { + "removed": [ + { + "owner": { + "id": "2c91808978eb9fab0178fb8ca9280919", + "name": "Gregory Brooks", + "type": "IDENTITY" + }, + "name": "ProductionManagement", + "id": "2c91808778eb9fa30178fb9482f00c60", + "value": "CN=ProductionManagement,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + }, + { + "owner": null, + "name": "Employees", + "id": "2c91808378eb9fa30178fb94818e0af8", + "value": "CN=Employees,OU=BirthRight,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + }, + { + "owner": null, + "name": "WindowsAdministration", + "id": "2c91808378eb9fa30178fb9481c30b02", + "value": "CN=WindowsAdministration,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } + ], + "added": [], + "attributeName": "memberOf" + } + ], + "eventType": "ACCOUNT_DELETED", + "source": { + "owner": { + "name": "Aaron Andrew", + "id": "2c9180867a7c46d0017a7ca099d50531", + "type": "IDENTITY", + "email": "aaron.andrew@sample_email.com" + }, + "name": "Active Directory", + "alias": "Active Directory [source]", + "id": "2c91808a78efc63e0178fb8624b248c5", + "type": "SOURCE", + "governanceGroup": { + "id": "fd0d1393-35fb-47d8-9809-0e385b73f25e", + "name": "Active Directory Owners", + "type": "GOVERNANCE_GROUP" + } + }, + "accountChangeTypes": ["ATTRIBUTES_CHANGED", "ENTITLEMENTS_REMOVED"], + "multiValueAttributeChanges": [ + { + "removedValues": ["top", "person", "organizationalPerson", "user"], + "addedValues": [], + "name": "objectClass" + }, + { + "removedValues": [ + "Normal User Account", + "Password Cannot Expire", + "User Account is Disabled" + ], + "addedValues": [], + "name": "accountFlags" + } + ], + "account": { + "name": "letty.wilson", + "id": "6805a47c09cc4dfca9083f1ce84552ee", + "type": "ACCOUNT", + "uuid": "{3c096158-9188-46f4-bb13-20ef9daafa7f}", + "correlated": true, + "nativeIdentity": "CN=Letty Wilson,OU=Austin,OU=Americas,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } } ``` -- `identity` The identity correlated to this account. If `account.correlated` is `false`, then this will be a system generated identity, not a real identity. For uncorrelated accounts, this system generated identity can be used to revoke entitlements on the account, or in any other API request that requires an identity ID. -- `singleValueAttributeChanges` Contains a list of account attributes that have changed. During an account deleted event, all aggregated account attributes will be listed, and their `newValue` will be null. +- `identity` The identity correlated to this account. If `account.correlated` is `false`, then this will be a system generated identity, not a real identity. For uncorrelated accounts, this system generated identity can be used to revoke entitlements on the account, or in any other API request that requires an identity ID. +- `singleValueAttributeChanges` Contains a list of account attributes that have changed. During an account deleted event, all aggregated account attributes will be listed, and their `newValue` will be null. - it will include ALL account attributes if the config is `"allNonEntitlementAttributes": true` - it will include the enumerated list of attributes contained in `"selectedNonEntitlementAttributes": []` -- `entitlementChanges` Contains a list of entitlements that have been aggregated with the account. the `added` list will always be empty for an account deleted event. +- `entitlementChanges` Contains a list of entitlements that have been aggregated with the account. the `added` list will always be empty for an account deleted event. - `eventType` Will always be `ACCOUNT_DELETED` for account deleted events. - `source` The source where this account originated from. - `accountChangeTypes` A list of change types you can expect to see in the event input. - Possible values are `ATTRIBUTES_CHANGED` and `ENTITLEMENTS_REMOVED`. - - The above example lists both change types since both attributes and entitlements were removed. If an event payload only contains attributes removed, then this list will only contain the `ATTRIBUTES_CHANGED` value. This can be useful when filtering events based on change types, or quickly checking what types of objects changed in the account before continuing to process the input. -- `multiValueAttributeChanges` List of multivalued attributes that were aggregated with the account. Only `removedValues` will appear for account deleted events. + - The above example lists both change types since both attributes and entitlements were removed. If an event payload only contains attributes removed, then this list will only contain the `ATTRIBUTES_CHANGED` value. This can be useful when filtering events based on change types, or quickly checking what types of objects changed in the account before continuing to process the input. +- `multiValueAttributeChanges` List of multivalued attributes that were aggregated with the account. Only `removedValues` will appear for account deleted events. - it will include ALL account attributes if the config is `"allNonEntitlementAttributes": true` - it will include the enumerated list of attributes contained in `"selectedNonEntitlementAttributes": []` -- `account` The details of the account as it appears in Identity Security Cloud. This information can be used to query the account API for more information. +- `account` The details of the account as it appears in Identity Security Cloud. This information can be used to query the account API for more information. ## Additional Information and Links diff --git a/docs/extensibility/event-triggers/available/native-change-account-updated.md b/docs/extensibility/event-triggers/available/native-change-account-updated.md index 948afa2f1..8281fb586 100644 --- a/docs/extensibility/event-triggers/available/native-change-account-updated.md +++ b/docs/extensibility/event-triggers/available/native-change-account-updated.md @@ -14,7 +14,7 @@ tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] :::info Important Setup Steps -You must have at least one source configured for Native Change Detection (NCD) before you will receive events from this trigger. There are two ways you can configure a source for NCD: +You must have at least one source configured for Native Change Detection (NCD) before you will receive events from this trigger. There are two ways you can configure a source for NCD: 1. Invoke the [update native change detection configuration](https://developer.sailpoint.com/docs/api/beta/put-native-change-detection-config) for each source you want to receive events for NCD. 2. Configure the NCD options on the source in the source configuration UI. @@ -38,7 +38,7 @@ flowchart TD
-This event trigger can be used to immediately notify interested parties and remediate accounts that are updated directly on the source. Some examples of how this trigger can be used are as follows: +This event trigger can be used to immediately notify interested parties and remediate accounts that are updated directly on the source. Some examples of how this trigger can be used are as follows: - Notify the identity's manager and the source owner of the new account - Create a micro-certification for the identity to review their new account attributes and entitlements @@ -48,82 +48,90 @@ This is an example input from this trigger: ```json { - "identity": { - "manager": { - "name": "Martena Heath", - "id": "2c91808378eb9fa30178fb8caf90097f", - "type": "IDENTITY", - "email": "martena.heath@sample_email.com" - }, - "name": "Ann English", - "alias": "Ann.English", - "id": "2c91808978eb9fab0178fb8ca6d308fb", - "type": "IDENTITY", - "email": "ann.english@sample_email.com" - }, - "singleValueAttributeChanges": [{ - "newValue": "Call Center Representative", - "name": "title", - "oldValue": "Call Center Manager" - }], - "entitlementChanges": [{ - "removed": [{ - "owner": null, - "name": "AccountsReceivable", - "id": "d0470502d73d4c2e8c7543c712f518ca", - "value": "CN=AccountsReceivable,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - }], - "added": [{ - "owner": null, - "name": "Accounts Payable", - "id": "2c91808978eb9fab0178fb9482620b71", - "value": "CN=AccountsPayable,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - }], - "attributeName": "memberOf" - }], - "eventType": "ACCOUNT_UPDATED", - "source": { - "owner": { - "name": "Aaron Andrew", - "id": "2c9180867a7c46d0017a7ca099d50531", - "type": "IDENTITY", - "email": "aaron.andrew@sample_email.com" - }, - "name": "Active Directory", - "alias": "Active Directory [source]", - "id": "2c91808a78efc63e0178fb8624b248c5", - "type": "SOURCE", - "governanceGroup": { - "id": "fd0d1393-35fb-47d8-9809-0e385b73f25e", - "name": "Active Directory Owners", - "type": "GOVERNANCE_GROUP" - } - }, - "accountChangeTypes": [ - "ATTRIBUTES_CHANGED", - "ENTITLEMENTS_ADDED", - "ENTITLEMENTS_REMOVED" - ], - "multiValueAttributeChanges": [{ - "removedValues": [], - "addedValues": [ - "User Account is Disabled" - ], - "name": "accountFlags" - }], - "account": { - "name": "Ann.English", - "id": "2c91808378eb9fa30178fb9481a30afa", - "type": "ACCOUNT", - "uuid": "{08ee6c6d-7d02-4978-9417-d92ba6a5ed50}", - "correlated": true, - "nativeIdentity": "CN=Ann English,OU=Call Center,OU=AI,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" - } + "identity": { + "manager": { + "name": "Martena Heath", + "id": "2c91808378eb9fa30178fb8caf90097f", + "type": "IDENTITY", + "email": "martena.heath@sample_email.com" + }, + "name": "Ann English", + "alias": "Ann.English", + "id": "2c91808978eb9fab0178fb8ca6d308fb", + "type": "IDENTITY", + "email": "ann.english@sample_email.com" + }, + "singleValueAttributeChanges": [ + { + "newValue": "Call Center Representative", + "name": "title", + "oldValue": "Call Center Manager" + } + ], + "entitlementChanges": [ + { + "removed": [ + { + "owner": null, + "name": "AccountsReceivable", + "id": "d0470502d73d4c2e8c7543c712f518ca", + "value": "CN=AccountsReceivable,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } + ], + "added": [ + { + "owner": null, + "name": "Accounts Payable", + "id": "2c91808978eb9fab0178fb9482620b71", + "value": "CN=AccountsPayable,OU=Groups,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } + ], + "attributeName": "memberOf" + } + ], + "eventType": "ACCOUNT_UPDATED", + "source": { + "owner": { + "name": "Aaron Andrew", + "id": "2c9180867a7c46d0017a7ca099d50531", + "type": "IDENTITY", + "email": "aaron.andrew@sample_email.com" + }, + "name": "Active Directory", + "alias": "Active Directory [source]", + "id": "2c91808a78efc63e0178fb8624b248c5", + "type": "SOURCE", + "governanceGroup": { + "id": "fd0d1393-35fb-47d8-9809-0e385b73f25e", + "name": "Active Directory Owners", + "type": "GOVERNANCE_GROUP" + } + }, + "accountChangeTypes": [ + "ATTRIBUTES_CHANGED", + "ENTITLEMENTS_ADDED", + "ENTITLEMENTS_REMOVED" + ], + "multiValueAttributeChanges": [ + { + "removedValues": [], + "addedValues": ["User Account is Disabled"], + "name": "accountFlags" + } + ], + "account": { + "name": "Ann.English", + "id": "2c91808378eb9fa30178fb9481a30afa", + "type": "ACCOUNT", + "uuid": "{08ee6c6d-7d02-4978-9417-d92ba6a5ed50}", + "correlated": true, + "nativeIdentity": "CN=Ann English,OU=Call Center,OU=AI,OU=Demo,DC=seri,DC=sailpointdemo,DC=com" + } } ``` -- `identity` The identity correlated to this account. If `account.correlated` is `false`, then this will be a system generated identity, not a real identity. For uncorrelated accounts, this system generated identity can be used to revoke entitlements on the account, or in any other API request that requires an identity ID. -- `singleValueAttributeChanges` Contains a list of account attributes that have changed. During an account updated event, only account attributes that were modified will be listed, and their `oldValue` will contain the previous value before the change. +- `identity` The identity correlated to this account. If `account.correlated` is `false`, then this will be a system generated identity, not a real identity. For uncorrelated accounts, this system generated identity can be used to revoke entitlements on the account, or in any other API request that requires an identity ID. +- `singleValueAttributeChanges` Contains a list of account attributes that have changed. During an account updated event, only account attributes that were modified will be listed, and their `oldValue` will contain the previous value before the change. - it will include ALL account attributes if the config is `"allNonEntitlementAttributes": true` - it will include the enumerated list of attributes contained in `"selectedNonEntitlementAttributes": []` - `entitlementChanges` Contains a list of entitlements that have been added and/or removed on the account. @@ -131,11 +139,11 @@ This is an example input from this trigger: - `source` The source where this account originated from. - `accountChangeTypes` A list of change types you can expect to see in the event input. - Possible values are `ATTRIBUTES_CHANGED`, `ENTITLEMENTS_ADDED`, and `ENTITLEMENTS_REMOVED`. - - The above example lists all three change types since attributes were changed and entitlements were added and removed. If an event payload only contains changed attributes, then this list will only contain the `ATTRIBUTES_CHANGED` value. This can be useful when filtering events based on change types, or quickly checking what types of objects changed in the account before continuing to process the input. + - The above example lists all three change types since attributes were changed and entitlements were added and removed. If an event payload only contains changed attributes, then this list will only contain the `ATTRIBUTES_CHANGED` value. This can be useful when filtering events based on change types, or quickly checking what types of objects changed in the account before continuing to process the input. - `multiValueAttributeChanges` List of multivalued attributes that were added and/or removed on the account. - it will include ALL account attributes if the config is `"allNonEntitlementAttributes": true` - it will include the enumerated list of attributes contained in `"selectedNonEntitlementAttributes": []` -- `account` The details of the account as it appears in Identity Security Cloud. This information can be used to query the account API for more information. +- `account` The details of the account as it appears in Identity Security Cloud. This information can be used to query the account API for more information. ## Additional Information and Links diff --git a/docs/extensibility/event-triggers/available/outlier-detected.md b/docs/extensibility/event-triggers/available/outlier-detected.md index 00f752d9c..2f423f612 100644 --- a/docs/extensibility/event-triggers/available/outlier-detected.md +++ b/docs/extensibility/event-triggers/available/outlier-detected.md @@ -4,8 +4,7 @@ title: Outlier Detected pagination_label: Outlier Detected sidebar_label: Outlier Detected sidebar_class_name: outlierDetected -keywords: - ['event', 'trigger', 'outlier', 'detected'] +keywords: ['event', 'trigger', 'outlier', 'detected'] description: Fires after an identity was detected as an outlier. slug: /extensibility/event-triggers/triggers/outlier-detected tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] @@ -13,7 +12,7 @@ tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] ## Event Context -The 'Outlier Detected' event trigger notifies subscribed applications of any identities that have unusual access when compared to their peers. Outliers are calculated daily, and any identities that are flagged as outliers will be sent to subscribers of the trigger. +The 'Outlier Detected' event trigger notifies subscribed applications of any identities that have unusual access when compared to their peers. Outliers are calculated daily, and any identities that are flagged as outliers will be sent to subscribers of the trigger. This is an example input from this trigger: @@ -30,7 +29,7 @@ This is an example input from this trigger: ``` - `outlierType` - Only `LOW_SIMILARITY` is supported at this time. -- `score` - The range is `0.0` to `1.0`. The higher the score, the more likely the identity is an outlier. +- `score` - The range is `0.0` to `1.0`. The higher the score, the more likely the identity is an outlier. ## Prerequisites @@ -42,7 +41,7 @@ Before consuming this event trigger, the following prerequesites must be met: :::caution Important -If you don't meet the prerequisites and you subscribe to this event trigger, you will not receive any events. The prerequisites must be met in order to receive events. +If you don't meet the prerequisites and you subscribe to this event trigger, you will not receive any events. The prerequisites must be met in order to receive events. ::: diff --git a/docs/extensibility/event-triggers/available/scheduled-search.md b/docs/extensibility/event-triggers/available/scheduled-search.md index c4649f11f..a84dde0ac 100644 --- a/docs/extensibility/event-triggers/available/scheduled-search.md +++ b/docs/extensibility/event-triggers/available/scheduled-search.md @@ -4,7 +4,8 @@ title: Scheduled Search pagination_label: Scheduled Search sidebar_label: Scheduled Search sidebar_class_name: scheduledSearch -keywords: ['event', 'trigger', 'saved', 'scheduled', 'search', 'complete', 'available'] +keywords: + ['event', 'trigger', 'saved', 'scheduled', 'search', 'complete', 'available'] description: Fires after a scheduled search completes. slug: /extensibility/event-triggers/triggers/scheduled-search tags: ['Event Triggers', 'Available Event Triggers', 'Fire and Forget'] diff --git a/docs/extensibility/event-triggers/early-access/identity-deleted.md b/docs/extensibility/event-triggers/early-access/identity-deleted.md index d0f859c97..c7935d624 100644 --- a/docs/extensibility/event-triggers/early-access/identity-deleted.md +++ b/docs/extensibility/event-triggers/early-access/identity-deleted.md @@ -33,7 +33,7 @@ After accounts are aggregated and the identity refresh process finds an identity :::info -Identity Security Cloud will **hide** an identity from the identity list in the UI when the authoritative account is removed. This does not necessarily mean that the identity has been deleted. The identity will only be deleted when the above criteria are met. The deletion task run each night, so there will be a delay from when the criteria are met to when the identity will actually be deleted. +Identity Security Cloud will **hide** an identity from the identity list in the UI when the authoritative account is removed. This does not necessarily mean that the identity has been deleted. The identity will only be deleted when the above criteria are met. The deletion task run each night, so there will be a delay from when the criteria are met to when the identity will actually be deleted. ::: diff --git a/docs/extensibility/event-triggers/filtering-events.md b/docs/extensibility/event-triggers/filtering-events.md index cfda93dff..941264bf5 100644 --- a/docs/extensibility/event-triggers/filtering-events.md +++ b/docs/extensibility/event-triggers/filtering-events.md @@ -77,7 +77,7 @@ Operators provide more options to filter JSON structures. ### Developing Filters -Developing a filter can be faster when you use a tool like an online [JSONpath editor](https://www.javainuse.com/jsonpath). These tools can provide quick feedback on your filter, allowing you to focus on the exact filter expression you want before testing it on a trigger. Just paste an example of your event trigger input and start crafting an expression to see its result. +Developing a filter can be faster when you use a tool like an online [JSONpath editor](https://www.javainuse.com/jsonpath). These tools can provide quick feedback on your filter, allowing you to focus on the exact filter expression you want before testing it on a trigger. Just paste an example of your event trigger input and start crafting an expression to see its result. ![JSONPath editor](./img/jsonpath-editor.png) diff --git a/docs/extensibility/event-triggers/trigger-types.md b/docs/extensibility/event-triggers/trigger-types.md index 4301f8de1..1e12096a5 100644 --- a/docs/extensibility/event-triggers/trigger-types.md +++ b/docs/extensibility/event-triggers/trigger-types.md @@ -6,7 +6,7 @@ sidebar_label: Trigger Types sidebar_position: 1 sidebar_class_name: triggerTypes keywords: ['event', 'trigger', 'types'] -description: These are the different trigger types you can use. +description: These are the different trigger types you can use. slug: /extensibility/event-triggers/trigger-types tags: ['Event Triggers'] --- diff --git a/docs/extensibility/rules/_category_.json b/docs/extensibility/rules/_category_.json index 9c10c2cb2..8d08cd392 100644 --- a/docs/extensibility/rules/_category_.json +++ b/docs/extensibility/rules/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Advanced configurations with custom logic." - } -} \ No newline at end of file + "customProps": { + "description": "Advanced configurations with custom logic." + } +} diff --git a/docs/extensibility/rules/cloud-rules/account_profile_attribute_generator_from_template.md b/docs/extensibility/rules/cloud-rules/account_profile_attribute_generator_from_template.md index 4e4043a4b..641d2194f 100644 --- a/docs/extensibility/rules/cloud-rules/account_profile_attribute_generator_from_template.md +++ b/docs/extensibility/rules/cloud-rules/account_profile_attribute_generator_from_template.md @@ -19,24 +19,24 @@ This rule generates complex account attribute values during provisioning, e.g. w In the following example, the template is `${firstname}.${lastname}${uniqueCounter}`, which is pulled in by the `Create Unique LDAP Attribute` rule and used to replace the `firstname`, `lastname` and `uniqueCounter` placeholders. ```json - { - "name": "userName", - "transform": { - "type": "rule", - "attributes": { - "name": "Create Unique LDAP Attribute" - } - }, - "attributes": { - "template": "${firstname}.${lastname}${uniqueCounter}", - "cloudMaxUniqueChecks": "50", - "cloudMaxSize": "20", - "cloudRequired": "true" - }, - "isRequired": false, - "type": "string", - "isMultiValued": false +{ + "name": "userName", + "transform": { + "type": "rule", + "attributes": { + "name": "Create Unique LDAP Attribute" } + }, + "attributes": { + "template": "${firstname}.${lastname}${uniqueCounter}", + "cloudMaxUniqueChecks": "50", + "cloudMaxSize": "20", + "cloudRequired": "true" + }, + "isRequired": false, + "type": "string", + "isMultiValued": false +} ``` ## Execution diff --git a/docs/extensibility/rules/cloud-rules/before_provisioning_rule.md b/docs/extensibility/rules/cloud-rules/before_provisioning_rule.md index dcffd7bd1..2d77de594 100644 --- a/docs/extensibility/rules/cloud-rules/before_provisioning_rule.md +++ b/docs/extensibility/rules/cloud-rules/before_provisioning_rule.md @@ -16,9 +16,9 @@ Use this rule to modify a provisioning plan as provisioning is sent out. Do not These are some examples of when to use this rule: -* Disable account and remove groups during provisioning when the lifecycle state of an identity is set to terminated -* Remove or add permissions when certain attribute criteria are met -* Move users to a specific organizational unit (OU) in Active Directory based upon attribute criteria +- Disable account and remove groups during provisioning when the lifecycle state of an identity is set to terminated +- Remove or add permissions when certain attribute criteria are met +- Move users to a specific organizational unit (OU) in Active Directory based upon attribute criteria ## Execution diff --git a/docs/extensibility/rules/cloud-rules/build_map_rule.md b/docs/extensibility/rules/cloud-rules/build_map_rule.md index 9957a869b..0dae8082d 100644 --- a/docs/extensibility/rules/cloud-rules/build_map_rule.md +++ b/docs/extensibility/rules/cloud-rules/build_map_rule.md @@ -16,9 +16,7 @@ tags: ['Rules'] This rule manipulates raw input data provided by the rows and columns in a file and builds a map from the incoming data. Use this rule to create a new value by combining two columns together. For example, if one column was `access` and another `permissions` you could combine these together to create an entitlement `admin-read`. -:::info -This rule runs in the cloud, but it's really a connector rule because it executes against the DelimitedFileConnector. -::: +:::info This rule runs in the cloud, but it's really a connector rule because it executes against the DelimitedFileConnector. ::: ## Execution diff --git a/docs/extensibility/rules/cloud-rules/index.md b/docs/extensibility/rules/cloud-rules/index.md index 9897ac30c..79e3e1466 100644 --- a/docs/extensibility/rules/cloud-rules/index.md +++ b/docs/extensibility/rules/cloud-rules/index.md @@ -59,7 +59,7 @@ All submitted rules must follow proper rule submission guidelines. This is the file naming convention for rules: `Rule - {type} - {name}.xml` -For example, this is the rule: +For example, this is the rule: `` diff --git a/docs/extensibility/rules/cloud-rules/manager_correlation_rule.md b/docs/extensibility/rules/cloud-rules/manager_correlation_rule.md index 4b666f5e6..e842f56f3 100644 --- a/docs/extensibility/rules/cloud-rules/manager_correlation_rule.md +++ b/docs/extensibility/rules/cloud-rules/manager_correlation_rule.md @@ -16,9 +16,9 @@ This rule calculates a manager relationship between identities. Use this rule to correlate an identity's manager for the following scenarios: -* The authoritative source has multiple accounts for an identity and you must pick the manager data from the `active` account. -* You need to do a lookup from an employee number to other data. -* The identity changes types, for example, from consultant to employee with the manager coming from a different authoritative source. +- The authoritative source has multiple accounts for an identity and you must pick the manager data from the `active` account. +- You need to do a lookup from an employee number to other data. +- The identity changes types, for example, from consultant to employee with the manager coming from a different authoritative source. The manager correlation rule runs before configured manager account correlation. diff --git a/docs/extensibility/rules/connector-rules/index.md b/docs/extensibility/rules/connector-rules/index.md index 0c07ca463..45634da07 100644 --- a/docs/extensibility/rules/connector-rules/index.md +++ b/docs/extensibility/rules/connector-rules/index.md @@ -131,16 +131,12 @@ The value key is a list. All available AfterCreate, AfterModify, BeforeCreate, a ```json [ -  { -       "op": "add", -       "path": "/connectorAttributes/nativeRules", -       "value": [ -           "Example Rule 1", -           "Example Rule 2" -      ] -  } + { + "op": "add", + "path": "/connectorAttributes/nativeRules", + "value": ["Example Rule 1", "Example Rule 2"] + } ] - ``` ### Correlation Rule diff --git a/docs/extensibility/rules/guides/your_first_rule.md b/docs/extensibility/rules/guides/your_first_rule.md index eea2c41a5..04e8d62a8 100644 --- a/docs/extensibility/rules/guides/your_first_rule.md +++ b/docs/extensibility/rules/guides/your_first_rule.md @@ -216,8 +216,8 @@ if(fullName.length() > MAX_USERNAME_LENGTH) { int firstNameLength = firstName.length(); - //Checking if the firstname length is more than the MAX minus 2 chars. - //If firstname is more then the MAX minus 2 we are picking MAX minus 2 characters from the firstname. + //Checking if the firstname length is more than the MAX minus 2 chars. + //If firstname is more then the MAX minus 2 we are picking MAX minus 2 characters from the firstname. if(firstNameLength > (MAX_USERNAME_LENGTH - 2)){ //lastNameLength represents the current pointer of lastlength. for(int lastNameLength = 0 ; lastNameLength < lastName.length() ; lastNameLength++){ @@ -229,7 +229,7 @@ if(fullName.length() > MAX_USERNAME_LENGTH) { finalUserName = username; return username; } - } + } } //If firstname is less than or equal to the MAX minus 2 chars then we are considering full firstname for username generation. else{ @@ -243,8 +243,8 @@ if(fullName.length() > MAX_USERNAME_LENGTH) { finalUserName = username; return username; } - } - } + } + } } ``` @@ -263,7 +263,7 @@ if( isUnique( username ) ) { return username; } else{ - //If the username was not unique with firstname.last name we then check uniqueness + //If the username was not unique with firstname.last name we then check uniqueness // with firstname.firstLetterOfLastName, firstname.secondLetterOfLastName e.t.c... for(int lastNameLength = 0 ; lastNameLength < lastName.length() ; lastNameLength++){ username = firstName + "." + lastName.charAt(lastNameLength); @@ -290,8 +290,7 @@ public boolean isUnique ( String username ) throws GeneralException { ### Invoke `generateUsername()` With the Identity's First and Last Name -This is the final part of the rule. Call the `generateUsername()` function, passing in the identity's first and last name. -The `identity` variable is already initialized and included as input to our attribute generator rule. +This is the final part of the rule. Call the `generateUsername()` function, passing in the identity's first and last name. The `identity` variable is already initialized and included as input to our attribute generator rule. ```java return generateUsername( identity.getFirstname(), identity.getLastname() ); @@ -354,8 +353,8 @@ return generateUsername( identity.getFirstname(), identity.getLastname() ); int firstNameLength = firstName.length(); - //Checking if the firstname length is more than the MAX minus 2 chars. - //If firstname is more then the MAX minus 2 we are picking MAX minus 2 characters from the firstname. + //Checking if the firstname length is more than the MAX minus 2 chars. + //If firstname is more then the MAX minus 2 we are picking MAX minus 2 characters from the firstname. if(firstNameLength > (MAX_USERNAME_LENGTH - 2)){ //lastNameLength represents the current pointer of lastlength. for(int lastNameLength = 0 ; lastNameLength < lastName.length() ; lastNameLength++){ @@ -367,7 +366,7 @@ return generateUsername( identity.getFirstname(), identity.getLastname() ); finalUserName = username; return username; } - } + } } //If firstname is less than or equal to the MAX minus 2 chars then we are considering full firstname for username generation. else{ @@ -381,8 +380,8 @@ return generateUsername( identity.getFirstname(), identity.getLastname() ); finalUserName = username; return username; } - } - } + } + } } else { //The full name is less than MAX_USERNAME_LENGTH minus 2 chars directly assign username to full name. username = fullName; @@ -394,7 +393,7 @@ return generateUsername( identity.getFirstname(), identity.getLastname() ); return username; } else{ - //If the username was not unique with firstname.last name we then check uniqueness + //If the username was not unique with firstname.last name we then check uniqueness // with firstname.firstLetterOfLastName, firstname.secondLetterOfLastName e.t.c... for(int lastNameLength = 0 ; lastNameLength < lastName.length() ; lastNameLength++){ username = firstName + "." + lastName.charAt(lastNameLength); @@ -418,7 +417,7 @@ return generateUsername( identity.getFirstname(), identity.getLastname() ); public boolean isUnique ( String username ) throws GeneralException { return !idn.accountExistsByDisplayName(application.getName(), username); } - + return generateUsername( identity.getFirstname(), identity.getLastname() ); ]]> @@ -458,14 +457,14 @@ No errors found. Warnings: (3) - Line 55 - [LintValidatorForStatement(31)] For statement detected: for ( int lastNameLength = 0 ; . . "For Loops" can cause issues when looping with incorrect exit conditions. Ensure Looping exit conditions are correct. - 55: for ( int lastNameLength = 0 ; lastNameLength < lastName .length ( ) ; lastNameLength ++ ) { + Line 55 - [LintValidatorForStatement(31)] For statement detected: for ( int lastNameLength = 0 ; . . "For Loops" can cause issues when looping with incorrect exit conditions. Ensure Looping exit conditions are correct. + 55: for ( int lastNameLength = 0 ; lastNameLength < lastName .length ( ) ; lastNameLength ++ ) { - Line 70 - [LintValidatorForStatement(31)] For statement detected: for ( int lastNameLength = 0 ; . . "For Loops" can cause issues when looping with incorrect exit conditions. Ensure Looping exit conditions are correct. - 70: for ( int lastNameLength = 0 ; lastNameLength < lastName .length ( ) ; lastNameLength ++ ) { + Line 70 - [LintValidatorForStatement(31)] For statement detected: for ( int lastNameLength = 0 ; . . "For Loops" can cause issues when looping with incorrect exit conditions. Ensure Looping exit conditions are correct. + 70: for ( int lastNameLength = 0 ; lastNameLength < lastName .length ( ) ; lastNameLength ++ ) { - Line 95 - [LintValidatorForStatement(31)] For statement detected: for ( int lastNameLength = 0 ; . . "For Loops" can cause issues when looping with incorrect exit conditions. Ensure Looping exit conditions are correct. - 95: for ( int lastNameLength = 0 ; lastNameLength < lastName .length ( ) ; lastNameLength ++ ) { + Line 95 - [LintValidatorForStatement(31)] For statement detected: for ( int lastNameLength = 0 ; . . "For Loops" can cause issues when looping with incorrect exit conditions. Ensure Looping exit conditions are correct. + 95: for ( int lastNameLength = 0 ; lastNameLength < lastName .length ( ) ; lastNameLength ++ ) { ________________________________________________________________________________ diff --git a/docs/extensibility/rules/idn_rule_utility.md b/docs/extensibility/rules/idn_rule_utility.md index 0e0a2ae46..9b4aaad04 100644 --- a/docs/extensibility/rules/idn_rule_utility.md +++ b/docs/extensibility/rules/idn_rule_utility.md @@ -502,19 +502,19 @@ String value, String sortAttribute) } /** - * Use this method to call LDAP type connectors to look for + * Use this method to call LDAP type connectors to look for * unique values. This method calls the connector with a specific search filter * based on the attributeName and value passed into the method. * Any returned value is considered non-unique. - * + * * @param identityNameOrId The name or ID of the identity you are using * @param applicationNameOrId The name or ID of the source you are targeting * @param attributeName The name of the attribute you want to validate * @param attributeValue The value of the attribute you want to validate - * + * * @return true if the value is unique AND false otherwise. If the application or identity can't be found, an * IllegalStateException will be thrown. - * + * */ public boolean isUniqueLDAPValue(String identityNameOrId, String applicationNameOrId, String attributeName, String attributeValue) ``` diff --git a/docs/extensibility/transforms/_category_.json b/docs/extensibility/transforms/_category_.json index 17d3fb707..e8604e38d 100644 --- a/docs/extensibility/transforms/_category_.json +++ b/docs/extensibility/transforms/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Modify attribute data without code." - } -} \ No newline at end of file + "customProps": { + "description": "Modify attribute data without code." + } +} diff --git a/docs/extensibility/transforms/guides/identity-context.md b/docs/extensibility/transforms/guides/identity-context.md index 6e0a4dc7a..4f5bc4be8 100644 --- a/docs/extensibility/transforms/guides/identity-context.md +++ b/docs/extensibility/transforms/guides/identity-context.md @@ -15,7 +15,7 @@ tags: ['Transforms', 'Guides', 'identity'] Transforms ship with the Apache Velocity template engine, which allows a transform to reference, transform, and render values passed into the transform context. -The following variables are available to the Apache Velocity template engine when a transform is used to source an identity attribute: +The following variables are available to the Apache Velocity template engine when a transform is used to source an identity attribute: | Variable | Type | Description | | --- | --- | --- | @@ -25,7 +25,7 @@ The following variables are available to the Apache Velocity template engine whe For available methods on these objects see our [Rules Java Docs](https://developer.sailpoint.com/docs/extensibility/rules/java-docs). -## Examples +## Examples These examples will help you learn what you can do with the identity context. @@ -56,14 +56,17 @@ You must use a `firstValid`. If the identity does not have a manager, `getManage { "type": "firstValid", "attributes": { - "values": ["$identity.getManager().getStringAttribute('country')", "no manager exists"] + "values": [ + "$identity.getManager().getStringAttribute('country')", + "no manager exists" + ] } } ``` ### Get manager status of the identity's manager -This example would get the status of whether or not the identity's manager is currently actually a manager. +This example would get the status of whether or not the identity's manager is currently actually a manager. ```json { @@ -76,7 +79,7 @@ This example would get the status of whether or not the identity's manager is cu ### Get an identity's accounts -This example would get an identity's various associated source accounts. +This example would get an identity's various associated source accounts. ```json { @@ -89,7 +92,7 @@ This example would get an identity's various associated source accounts. ### Get a comma separated list of account names from an application/source -This is the velocity logic of the transform: +This is the velocity logic of the transform: ```java /* Loop through accounts returned from get accounts by application id */ diff --git a/docs/extensibility/transforms/guides/lifecycle-state-transforms.md b/docs/extensibility/transforms/guides/lifecycle-state-transforms.md index d5739a089..a5a6a0643 100644 --- a/docs/extensibility/transforms/guides/lifecycle-state-transforms.md +++ b/docs/extensibility/transforms/guides/lifecycle-state-transforms.md @@ -15,7 +15,7 @@ tags: ['Transforms', 'Guides', 'Lifecycle'] In this guide, you will walk through a lifecycle state transform that requires you to nest multiple transforms together to achieve your desired result. -A lifecycle state is a status an identity can be in, such as `active`, `inactive` and `terminated`, for example. You can then use this lifecycle state in Identity Security Cloud to determine an identity's access. +A lifecycle state is a status an identity can be in, such as `active`, `inactive` and `terminated`, for example. You can then use this lifecycle state in Identity Security Cloud to determine an identity's access. ## Determine lifecycle state from end date attribute @@ -38,24 +38,24 @@ This example and dates assume that the `now` keyword in the dateMath expression ::: -| id | email | first_name | last_name | end_date | -| ------ | ---------------------------- | ---------- | --------- | ---------- | -| 100010 | lewis.hamilton@sailpoint.com | Lewis | Hamilton | 2023-11-01 | -| 100011 | frank.williams@sailpoint.com | Frank | Williams | 2023-11-09 | -| 100012 | paddy.lowe@sailpoint.com | Paddy | Lowe | 2023-11-25 | +| id | email | first_name | last_name | end_date | +| --- | --- | --- | --- | --- | +| 100010 | lewis.hamilton@sailpoint.com | Lewis | Hamilton | 2023-11-01 | +| 100011 | frank.williams@sailpoint.com | Frank | Williams | 2023-11-09 | +| 100012 | paddy.lowe@sailpoint.com | Paddy | Lowe | 2023-11-25 | | 100013 | keifer.sutherland@sailpoint.com | Keifer | Sutherland | 2023-12-25 | -### Check whether the end date was in the past +### Check whether the end date was in the past The first part of the transform will check whether the `end_date` attribute was in the past. You will use these transforms to do so: `dateCompare`, `dateFormat`, and `dateMath`. -First, use the [dateCompare operation](../operations/date-compare.md) to check that today is less than the specified `end_date`. To use the `dateCompare` operation, the dates must be in the `ISO8601` format, so the transform will require the use of the [dateFormat operation](../operations/date-format.md) as well. +First, use the [dateCompare operation](../operations/date-compare.md) to check that today is less than the specified `end_date`. To use the `dateCompare` operation, the dates must be in the `ISO8601` format, so the transform will require the use of the [dateFormat operation](../operations/date-format.md) as well. On lines 10-17, the [dathMath operation](../operations/date-math.md) to pull the date `now`, which represents the current moment in time. The `dateFormat` operation then converts it into the `ISO8601` format for comparison. -On lines 21-31, the `dateFormat` operation converts the end date provided from the source format (`YYYY-MM-dd`) into the `ISO8601` format. +On lines 21-31, the `dateFormat` operation converts the end date provided from the source format (`YYYY-MM-dd`) into the `ISO8601` format. -Finally, lines 34-36 use the comparison operator greater than or equal to `gte`. If the current date is greater than or equal to the end date, the comparison will return `true`, meaning that the end date is in the past. This would result in identity's `terminated` lifecycle state. If the current date is still less than the end date, the comparison will return `false`. +Finally, lines 34-36 use the comparison operator greater than or equal to `gte`. If the current date is greater than or equal to the end date, the comparison will return `true`, meaning that the end date is in the past. This would result in identity's `terminated` lifecycle state. If the current date is still less than the end date, the comparison will return `false`.
Show Transform @@ -108,11 +108,11 @@ Finally, lines 34-36 use the comparison operator greater than or equal to `gte`. ### Check whether end date is within 7 days -Once you have ensured that the `end_date` is in fact in the past, the next step is to check whether the `end_date` is fewer than 7 days away, 7-25 days days away, or more than 25 days away, to determine their exact lifecycle states. Start by checking whether the `end_date` is fewer than 7 days away. You will again use `dateCompare`, `dateFormat`, and `dateMath` for this comparison. +Once you have ensured that the `end_date` is in fact in the past, the next step is to check whether the `end_date` is fewer than 7 days away, 7-25 days days away, or more than 25 days away, to determine their exact lifecycle states. Start by checking whether the `end_date` is fewer than 7 days away. You will again use `dateCompare`, `dateFormat`, and `dateMath` for this comparison. On line 27, use the `dateMath` operation to add 7 days to the current date: `now+7d`. It pulls in the `end_date` the same way it did before, and it converts both dates to the `ISO8601` format for comparison. -Lines 34-36 use the comparison operator less than or equal to: `lte`. This uses the result from the previous check to ensure that if the `end_date` is not in the past and that it is also fewer than 7 days away, the `end_date` will indeed occur in the 0-7 days range. This would result in the identity's `inactivePendingTermination` lifecycle state. +Lines 34-36 use the comparison operator less than or equal to: `lte`. This uses the result from the previous check to ensure that if the `end_date` is not in the past and that it is also fewer than 7 days away, the `end_date` will indeed occur in the 0-7 days range. This would result in the identity's `inactivePendingTermination` lifecycle state.
Show Transform @@ -169,7 +169,7 @@ Once you have ensured that the end date is in the past and that it is not fewer On line 27, the `dateMath` operation adds 25 days to the current date `now+25d`. It pulls in the end date the same way it did before, and it converts both dates to the `ISO8601` format for comparison. -Lines 34-36 use the comparison operator less than or equal to: `lte`. This uses the combination of the previous checks to ensure that if the `end_date` is not in the past, it is greater than 7 days away, and it returns `true` that it is fewer than 25 days away, then the `end_date` must fall between 7 and 25 days away. This would result in the identity's `activePendingTermination` lifecycle state. If it returns `false`, then the `end_date` must be more than 25 days away. This would result in the identity's `active` lifecycle state. +Lines 34-36 use the comparison operator less than or equal to: `lte`. This uses the combination of the previous checks to ensure that if the `end_date` is not in the past, it is greater than 7 days away, and it returns `true` that it is fewer than 25 days away, then the `end_date` must fall between 7 and 25 days away. This would result in the identity's `activePendingTermination` lifecycle state. If it returns `false`, then the `end_date` must be more than 25 days away. This would result in the identity's `active` lifecycle state.
Show Transform @@ -236,7 +236,7 @@ Now that you have taken the time to understand each of the nested transforms, yo #end ``` -This is the logic within the static transform: +This is the logic within the static transform: ```json { @@ -371,9 +371,9 @@ This is the logic within the static transform: These are the results of the transform on each identity, given that `now` returns 2023-11-07: -| id | email | first_name | last_name | end_date | result | -| ------ | ---------------------------- | ---------- | --------- | ---------- | ------ | -| 100010 | lewis.hamilton@sailpoint.com | Lewis | Hamilton | 2023-11-01 | terminated | -| 100011 | frank.williams@sailpoint.com | Frank | Williams | 2023-11-09 | inactivePendingTermination | -| 100012 | paddy.lowe@sailpoint.com | Paddy | Lowe | 2023-11-25 | activePendingTermination | +| id | email | first_name | last_name | end_date | result | +| --- | --- | --- | --- | --- | --- | +| 100010 | lewis.hamilton@sailpoint.com | Lewis | Hamilton | 2023-11-01 | terminated | +| 100011 | frank.williams@sailpoint.com | Frank | Williams | 2023-11-09 | inactivePendingTermination | +| 100012 | paddy.lowe@sailpoint.com | Paddy | Lowe | 2023-11-25 | activePendingTermination | | 100013 | keifer.sutherland@sailpoint.com | Keifer | Sutherland | 2023-12-25 | active | diff --git a/docs/extensibility/transforms/guides/provisioning-policy-transform.md b/docs/extensibility/transforms/guides/provisioning-policy-transform.md index 71b88e8d6..6d2cce226 100644 --- a/docs/extensibility/transforms/guides/provisioning-policy-transform.md +++ b/docs/extensibility/transforms/guides/provisioning-policy-transform.md @@ -129,13 +129,11 @@ This is an example create provisioning policy response for a source: } ``` -## Add to the Create policy +## Add to the Create policy This transform concatenates the identityAttributes `firstName`, `lastName`, the two digit month of the `hireDate` and the static string `Rt4e!` to form a temporaryPassword. -:::caution -You must use the `identityAttribute` type when you're writing transforms in provisioning policies. The `accountAttribute` type won't work during provisioning. -::: +:::caution You must use the `identityAttribute` type when you're writing transforms in provisioning policies. The `accountAttribute` type won't work during provisioning. ::: ```json { @@ -197,7 +195,7 @@ If you assume the given attributes have the following values, this transform wou Upload your complete CREATE provisioning policy by using the [Create Provisioning Policy API](/docs/api/v3/create-provisioning-policy), or use the [Update Provisioning Policy API](/docs/api/v3/put-provisioning-policy) to update an existing provisioning policy. -This is the example response with the full policy, along with the new attribute: +This is the example response with the full policy, along with the new attribute: ```json { diff --git a/docs/extensibility/transforms/index.md b/docs/extensibility/transforms/index.md index fb17d25a4..33d83f173 100644 --- a/docs/extensibility/transforms/index.md +++ b/docs/extensibility/transforms/index.md @@ -240,6 +240,7 @@ Account attribute transforms are configured on the account create profiles. They These transforms are configured separately from the transforms applied via the identity profile mappings tab. ::: + #### Configuration These can be configured in Identity Security Cloud by going to **Admin** > **Sources** > (A Source) > **Accounts** (tab) > **Create Account**. diff --git a/docs/extensibility/transforms/operations/account-attribute.md b/docs/extensibility/transforms/operations/account-attribute.md index 56918c54b..b57d597d6 100644 --- a/docs/extensibility/transforms/operations/account-attribute.md +++ b/docs/extensibility/transforms/operations/account-attribute.md @@ -147,36 +147,36 @@ When you are mapping values like a username, focus on primary accounts from a pa To determine whether an identity is a member of an entitlement. - `input` contains the condition to be evaluated (is member of an entitlement or not). If the user doesn't meet the below conditions, the `firstValid` retuns "FALSE". - - `sourceName` is "Active Directory" because that is the source this data is coming from. - - `attributeName` is "sAMAccountName" because you are mapping the username of the user. - - `accountPropertyFilter` is filtering accounts that are members of an entitlement that contains "All AD Users-rshwart". + - `sourceName` is "Active Directory" because that is the source this data is coming from. + - `attributeName` is "sAMAccountName" because you are mapping the username of the user. + - `accountPropertyFilter` is filtering accounts that are members of an entitlement that contains "All AD Users-rshwart". - `table` contains the boolean results: FALSE or TRUE (default). ```json { - "attributes": { - "input": { + "attributes": { + "input": { + "attributes": { + "values": [ + { "attributes": { - "values": [ - { - "attributes": { - "accountPropertyFilter": "(memberOf.contains(\"All AD Users-rshwart\"))", - "attributeName": "sAMAccountName", - "sourceName": "Active Directory" - }, - "type": "accountAttribute" - }, - "FALSE" - ] + "accountPropertyFilter": "(memberOf.contains(\"All AD Users-rshwart\"))", + "attributeName": "sAMAccountName", + "sourceName": "Active Directory" }, - "type": "firstValid" - }, - "table": { - "FALSE": "FALSE", - "default": "TRUE" - } + "type": "accountAttribute" + }, + "FALSE" + ] + }, + "type": "firstValid" }, - "id": "Contains IT Access", - "type": "lookup" + "table": { + "FALSE": "FALSE", + "default": "TRUE" + } + }, + "id": "Contains IT Access", + "type": "lookup" } ``` diff --git a/docs/extensibility/transforms/operations/date-format.md b/docs/extensibility/transforms/operations/date-format.md index e432da841..b7c60407a 100644 --- a/docs/extensibility/transforms/operations/date-format.md +++ b/docs/extensibility/transforms/operations/date-format.md @@ -29,7 +29,7 @@ This transform leverages the Java SimpleDateFormat syntax; see the [References]( ## Transform Structure -The date format transform takes whatever value provided as the input, parses the datetime based on the `inputFormat` provided, and then reformats it into the desired `outputFormat`. +The date format transform takes whatever value provided as the input, parses the datetime based on the `inputFormat` provided, and then reformats it into the desired `outputFormat`. ```json { @@ -53,11 +53,9 @@ The date format transform takes whatever value provided as the input, parses the - If no inputFormat is provided, the transform assumes that it is in [ISO8601 format](https://en.wikipedia.org/wiki/ISO_8601). - **outputFormat** - This string value indicates either the explicit SimpleDateFormat or the built-in named format that the data is formatted into. - If no outputFormat is provided, the transform assumes that it is in [ISO8601 format](https://en.wikipedia.org/wiki/ISO_8601). - - **input** - This is an optional attribute that can explicitly define the input data passed into the transform logic. If no input is provided, the transform takes its input from the source and attribute combination configured with the UI. + - **input** - This is an optional attribute that can explicitly define the input data passed into the transform logic. If no input is provided, the transform takes its input from the source and attribute combination configured with the UI. -:::note Important -This transform does not currently support the "now" keyword as an input value. -::: +:::note Important This transform does not currently support the "now" keyword as an input value. ::: ## Examples diff --git a/docs/extensibility/transforms/operations/date-math.md b/docs/extensibility/transforms/operations/date-math.md index 5facd3ba7..34d6b0b17 100644 --- a/docs/extensibility/transforms/operations/date-math.md +++ b/docs/extensibility/transforms/operations/date-math.md @@ -16,7 +16,6 @@ Use the date math transform to add, subtract, and round components of a timestam The output format for the DateMath transform is "yyyy-MM-dd'T'HH:mm". When you use this transform inside another transform (e.g., [dateCompare](./date-compare.md)), make sure to convert to [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) first. - :::note Other Considerations - The input datetime value must always be in [ISO8601 format](https://en.wikipedia.org/wiki/ISO_8601), in UTC time zone: @@ -90,6 +89,7 @@ Some examples of expressions are: - `true` indicates the transform rounds up (i.e., truncate the fractional date/time component indicated and then add one unit of that component). - `false` indicates the transform rounds down (i.e., truncate the fractional date/time component indicated). + - **input** - This is an optional attribute that can explicitly define the input data passed into the transform logic. If no input is provided, the transform takes its input from the source and attribute combination configured with the UI. ## Examples diff --git a/docs/extensibility/transforms/operations/decompose-diacritical-marks.md b/docs/extensibility/transforms/operations/decompose-diacritical-marks.md index 974060751..12bad8216 100644 --- a/docs/extensibility/transforms/operations/decompose-diacritical-marks.md +++ b/docs/extensibility/transforms/operations/decompose-diacritical-marks.md @@ -21,7 +21,7 @@ The following are examples of diacritical marks: > - Ň > - Ŵ -The decomposeDiacriticalMarks transform uses the [Normalizer library](https://docs.oracle.com/javase/7/docs/api/java/text/Normalizer.html) to decompose the diacritical marks. It specifically uses the Normalization Form KD (NFKD), as described in Sections 3.6, 3.10, and 3.11 of the Unicode Standard, also summarized under [Annex 4: Decomposition](https://www.unicode.org/reports/tr15/tr15-23.html#Decomposition). +The decomposeDiacriticalMarks transform uses the [Normalizer library](https://docs.oracle.com/javase/7/docs/api/java/text/Normalizer.html) to decompose the diacritical marks. It specifically uses the Normalization Form KD (NFKD), as described in Sections 3.6, 3.10, and 3.11 of the Unicode Standard, also summarized under [Annex 4: Decomposition](https://www.unicode.org/reports/tr15/tr15-23.html#Decomposition). After decomposition, the transform uses a [Regex Replace](https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html) to replace all diacritical marks by using the `InCombiningDiacriticalMarks` property of Unicode (ex. `replaceAll("[\\p{InCombiningDiacriticalMarks}]", "")`). @@ -95,7 +95,7 @@ Output: "Dubcek" ## Testing -To run some tests in code, use this java code to compare the results of what the transform does to what your code does: +To run some tests in code, use this java code to compare the results of what the transform does to what your code does: ```java import java.text.Normalizer; diff --git a/docs/guides.md b/docs/guides.md index 5c9e53525..1fd825bb6 100644 --- a/docs/guides.md +++ b/docs/guides.md @@ -6,13 +6,14 @@ sidebar_label: Guides sidebar_position: 1 sidebar_class_name: guides keywords: ['guides'] -description: ISC guides. +description: ISC guides. slug: /guides tags: ['guides'] --- -## Overview -Identity Security Cloud (ISC) has all sorts of potential specific solutions you can implement as long as you know how. These specific solutions may either not fall into one of the extensibility, connectivity, tools, or reporting categories, or they may fall into multiple categories. Read these guides to learn how to implement these specific solutions. +## Overview + +Identity Security Cloud (ISC) has all sorts of potential specific solutions you can implement as long as you know how. These specific solutions may either not fall into one of the extensibility, connectivity, tools, or reporting categories, or they may fall into multiple categories. Read these guides to learn how to implement these specific solutions. ```mdx-code-block import DocCardList from '@theme/DocCardList'; @@ -21,7 +22,8 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` -## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +## Discuss -To learn more about these ISC topics and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). \ No newline at end of file +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. + +To learn more about these ISC topics and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/guides/disable-access-profile-requests.md b/docs/guides/disable-access-profile-requests.md index 814f63a79..b6863db4f 100644 --- a/docs/guides/disable-access-profile-requests.md +++ b/docs/guides/disable-access-profile-requests.md @@ -11,30 +11,38 @@ slug: /guides/disable-access-profile-requests tags: ['AccessProfileRequestManagement'] --- -## Overview -In Identity Security Cloud, [access profiles](https://documentation.sailpoint.com/saas/help/access/access-profiles.html) are groups of [entitlements](https://documentation.sailpoint.com/saas/help/access/entitlements.html), which represent access rights on [sources](https://documentation.sailpoint.com/saas/help/sources/index.html). By default, all access profiles are marked as requestable. This means that an organization's users can submit [access requests](https://documentation.sailpoint.com/saas/help/requests/index.html) for the access profiles in the Identity Security Cloud [Request Center](https://documentation.sailpoint.com/saas/user-help/requests/request_center.html), where all access profiles are listed. +## Overview -You can disable requests for access profiles to prevent users from gaining inappropriate or undesired access. In the UI, you can edit the [individual access profile](https://documentation.sailpoint.com/saas/help/requests/config_ap_roles.html#configuring-access-profiles-for-requests) to disable requests for the access profile. You can also use the [PATCH Access Profile endpoint](https://developer.sailpoint.com/docs/api/v3/patch-access-profile) to mark the individual access profile as non-requestable. +In Identity Security Cloud, [access profiles](https://documentation.sailpoint.com/saas/help/access/access-profiles.html) are groups of [entitlements](https://documentation.sailpoint.com/saas/help/access/entitlements.html), which represent access rights on [sources](https://documentation.sailpoint.com/saas/help/sources/index.html). By default, all access profiles are marked as requestable. This means that an organization's users can submit [access requests](https://documentation.sailpoint.com/saas/help/requests/index.html) for the access profiles in the Identity Security Cloud [Request Center](https://documentation.sailpoint.com/saas/user-help/requests/request_center.html), where all access profiles are listed. -You may have many access profiles that you want to disable requests for, and you don't want one to get overlooked and then inappropriately accessed. There are three different processes you can use to ensure that you have disabled requests for all access profiles that aren't currently associated with [applications](https://documentation.sailpoint.com/saas/help/common/app-config.html) configured for access requests. Read this guide to learn how to perform these processes. +You can disable requests for access profiles to prevent users from gaining inappropriate or undesired access. In the UI, you can edit the [individual access profile](https://documentation.sailpoint.com/saas/help/requests/config_ap_roles.html#configuring-access-profiles-for-requests) to disable requests for the access profile. You can also use the [PATCH Access Profile endpoint](https://developer.sailpoint.com/docs/api/v3/patch-access-profile) to mark the individual access profile as non-requestable. + +You may have many access profiles that you want to disable requests for, and you don't want one to get overlooked and then inappropriately accessed. There are three different processes you can use to ensure that you have disabled requests for all access profiles that aren't currently associated with [applications](https://documentation.sailpoint.com/saas/help/common/app-config.html) configured for access requests. Read this guide to learn how to perform these processes. ## Disable requests for individual access profiles with the UI + Follow these steps to use the Identity Security Cloud UI to individually disable requests for all access profiles that aren't currently associated with applications: -1. Identify the access profiles that are associated with applications configured for access requests. Create a list of these associated access profiles. -- Go to **Admin > Applications** and open each application you use for access requests. These applications have both 'Visible in the Request Center' and 'Allow Access Requests' marked on the 'Configuration' tab. +1. Identify the access profiles that are associated with applications configured for access requests. Create a list of these associated access profiles. + +- Go to **Admin > Applications** and open each application you use for access requests. These applications have both 'Visible in the Request Center' and 'Allow Access Requests' marked on the 'Configuration' tab. - Go to the application's 'Access' tab and capture the names of each application's associated access profiles, recording them in your list of access profiles. -2. Edit each access profile that is **not** in your list to disable access requests. -- Go to **Admin > Access > Access Profiles** to view a list of all access profiles. -- For each access profile that isn't in your list of those associated with applications configured for access requests, select 'Edit', go to the 'Access Requests' tab, and disable 'Allow Access Requests'. Then save your changes. -Once you have performed this process, all the access profiles that aren't currently associated with applications will no longer be requestable. +2. Edit each access profile that is **not** in your list to disable access requests. -## Disable requests for individual access profiles with the API -Follow these steps to use two API endpoints to individually disable access requests for all access profiles that aren't currently associated with applications: +- Go to **Admin > Access > Access Profiles** to view a list of all access profiles. +- For each access profile that isn't in your list of those associated with applications configured for access requests, select 'Edit', go to the 'Access Requests' tab, and disable 'Allow Access Requests'. Then save your changes. + +Once you have performed this process, all the access profiles that aren't currently associated with applications will no longer be requestable. + +## Disable requests for individual access profiles with the API + +Follow these steps to use two API endpoints to individually disable access requests for all access profiles that aren't currently associated with applications: + +1. Use the [Search endpoint](https://developer.sailpoint.com/docs/api/v3/search-post) to identify the access profiles that are **not** associated with applications configured for access requests. Sending the following query will return a list of these unassociated access profiles. + +- Provide this request body. It will return all access profiles that have a null or empty `apps` list. -1. Use the [Search endpoint](https://developer.sailpoint.com/docs/api/v3/search-post) to identify the access profiles that are **not** associated with applications configured for access requests. Sending the following query will return a list of these unassociated access profiles. -- Provide this request body. It will return all access profiles that have a null or empty `apps` list. ``` { "queryDsl": { @@ -62,9 +70,13 @@ Follow these steps to use two API endpoints to individually disable access reque ] } ``` -- The response body will include all the details of each unassociated access profile. Extract the `id` for each access profile returned. -2. Use the [PATCH Access Profile endpoint](https://developer.sailpoint.com/docs/api/v3/patch-access-profile) and provide the unassociated access profile's `id` to update the specified access profile's `requestable` field. -- Provide this request body. It will use the `replace` operation to update the value in the specified access profile's `requestable` path to `false`. + +- The response body will include all the details of each unassociated access profile. Extract the `id` for each access profile returned. + +2. Use the [PATCH Access Profile endpoint](https://developer.sailpoint.com/docs/api/v3/patch-access-profile) and provide the unassociated access profile's `id` to update the specified access profile's `requestable` field. + +- Provide this request body. It will use the `replace` operation to update the value in the specified access profile's `requestable` path to `false`. + ``` [ { @@ -74,14 +86,19 @@ Follow these steps to use two API endpoints to individually disable access reque } ] ``` -- After a successful PATCH update, the response body will include all the specified access profile's details, including the updated `false` value in the `requestable` path. -Once you have performed this process for each of the unassociated access profiles returned in your search, all the access profiles that aren't associated with applications will no longer be requestable. +- After a successful PATCH update, the response body will include all the specified access profile's details, including the updated `false` value in the `requestable` path. + +Once you have performed this process for each of the unassociated access profiles returned in your search, all the access profiles that aren't associated with applications will no longer be requestable. + +## Bulk disable requests for access profiles with the API + +Follow these steps to use two API endpoints to bulk disable access requests for all access profiles that aren't currently associated with applications: + +1. Use the [Search endpoint](https://developer.sailpoint.com/docs/api/v3/search-post) to identify the access profiles that are **not** associated with applications configured for access requests. Sending the following query will return a list of these unassociated access profiles. + +- Provide this request body. It will return all access profiles that have a null or empty `apps` list. -## Bulk disable requests for access profiles with the API -Follow these steps to use two API endpoints to bulk disable access requests for all access profiles that aren't currently associated with applications: -1. Use the [Search endpoint](https://developer.sailpoint.com/docs/api/v3/search-post) to identify the access profiles that are **not** associated with applications configured for access requests. Sending the following query will return a list of these unassociated access profiles. -- Provide this request body. It will return all access profiles that have a null or empty `apps` list. ``` { "queryDsl": { @@ -109,9 +126,13 @@ Follow these steps to use two API endpoints to bulk disable access requests for ] } ``` + - The response body will include all the details of each unassociated access profile. Extract the `id` for each access profile returned. -2. Use the [Update Requestability for Access Profiles endpoint](https://developer.sailpoint.com/docs/api/beta/update-access-profiles-in-bulk) and provide every unassociated access profile's `id`, along with the updated values for their `requestable` fields. -- Provide this request body. It can bulk update all the access profiles you specify - you just need to specify each access profile's `id` and the `requestable` value you want for the access profile. + +2. Use the [Update Requestability for Access Profiles endpoint](https://developer.sailpoint.com/docs/api/beta/update-access-profiles-in-bulk) and provide every unassociated access profile's `id`, along with the updated values for their `requestable` fields. + +- Provide this request body. It can bulk update all the access profiles you specify - you just need to specify each access profile's `id` and the `requestable` value you want for the access profile. + ``` [ { @@ -124,6 +145,7 @@ Follow these steps to use two API endpoints to bulk disable access requests for } ] ``` -- After a successful update, the response body will include the `id` and new `requestable` values for all the updated access profiles, along with confirmations that they were successfully updated. -Once you have performed this process for all the unassociated access profiles returned in your search, all the access profiles that aren't associated with applications will no longer be requestable. \ No newline at end of file +- After a successful update, the response body will include the `id` and new `requestable` values for all the updated access profiles, along with confirmations that they were successfully updated. + +Once you have performed this process for all the unassociated access profiles returned in your search, all the access profiles that aren't associated with applications will no longer be requestable. diff --git a/docs/guides/ip-address-allow-list.md b/docs/guides/ip-address-allow-list.md index 36f274b55..c62e2309f 100644 --- a/docs/guides/ip-address-allow-list.md +++ b/docs/guides/ip-address-allow-list.md @@ -5,10 +5,10 @@ pagination_label: IP Address Allow List sidebar_label: IP Address Allow List sidebar_position: 2 sidebar_class_name: allowList -keywords: ['connectivity', 'connectors', 'workflows', 'allowlist','ip address'] +keywords: ['connectivity', 'connectors', 'workflows', 'allowlist', 'ip address'] description: Create an IP Address Allow List​. slug: /guides/ip-address-allow-list -tags: ['Connectivity', 'connectors', 'workflows', 'allowlist','ip address'] +tags: ['Connectivity', 'connectors', 'workflows', 'allowlist', 'ip address'] --- ## Overview @@ -59,7 +59,7 @@ def find_aws_region(ip): print(region) # simply add your IP address here: -find_aws_region('54.234.204.155') +find_aws_region('54.234.204.155') ``` ## Using your region to create the allow-list URL @@ -87,11 +87,11 @@ https://files.accessiq.sailpoint.com/network/us-east-1/source_ips.yaml which will result in a file similar to the following: ```yaml -"region": "us-east-1" -"source_ips": -- "52.204.100.58/32" -- "52.205.92.24/32" -- "52.206.146.115/32" +'region': 'us-east-1' +'source_ips': + - '52.204.100.58/32' + - '52.205.92.24/32' + - '52.206.146.115/32' ``` These IP Address ranges can now be used as an allow list to permit any call from your Identity Security Cloud tenant to access your internal network. diff --git a/docs/guides/service-accounts.md b/docs/guides/service-accounts.md index d3235dccf..5f01b77ca 100644 --- a/docs/guides/service-accounts.md +++ b/docs/guides/service-accounts.md @@ -15,11 +15,11 @@ tags: ['Service Account', 'Authentication'] Service accounts are identities in Identity Security Cloud (ISC) that aren't real people. Their purpose is to provide credentials for automation services that can be managed and controlled separately from real identities. As a developer of integrations with ISC, there are two main advantages of creating service accounts: you can scope access to the least privilege necessary to do the job, and you can ensure that your integration's access doesn't end when you leave your organization. If you use your user account to generate credentials for integrations, they are tied to your level of access (i.e. admin) and can be revoked when you leave the organization - this could cause downtime in your integrations. -Read this guide to learn how to create service accounts and implement them. +Read this guide to learn how to create service accounts and implement them. ### Implementing service accounts -Any authoritative source can be used to create and manage service accounts, with Active Directory (AD) being a likely choice. Using AD to create service accounts is advantageous because doing so provisions your service accounts with unique email addresses that can be used to log in to ISC as the service account. However, if you don't want to create service accounts by using AD, you can use a flat file source to create and manage your accounts. +Any authoritative source can be used to create and manage service accounts, with Active Directory (AD) being a likely choice. Using AD to create service accounts is advantageous because doing so provisions your service accounts with unique email addresses that can be used to log in to ISC as the service account. However, if you don't want to create service accounts by using AD, you can use a flat file source to create and manage your accounts. ### Create a delimited file source @@ -52,7 +52,7 @@ If it's successful, you will see one account imported. ### Make the source authoritative -The service account source must be authoritative to be able to create new identities for each service account. This will allow you to log in as the service account to generate access tokens. +The service account source must be authoritative to be able to create new identities for each service account. This will allow you to log in as the service account to generate access tokens. To make the service account source authoritative, you must create a new identity profile and link it to your source. @@ -69,11 +69,11 @@ Configure the identity profile as you want. Once it's configured, go to the 'Map ![mappings](./img/service-accounts/mappings.png) -Click 'Save' and then 'Apply Changes' to create the first identity from the service accounts source. Once the identity is created, you may need to manually send the invite. To do so, go to the identity list and search for the account's name (ex. `audit01`). +Click 'Save' and then 'Apply Changes' to create the first identity from the service accounts source. Once the identity is created, you may need to manually send the invite. To do so, go to the identity list and search for the account's name (ex. `audit01`). ![invite](./img/service-accounts/invite.png) -If you have not received the invite, check your junk folder or deleted folder because the invite may have been automatically filtered by your email provider. Once you receive the invite, follow the steps to register your service account. Once your service account user is registered, log in as the service account with the password you created for it. +If you have not received the invite, check your junk folder or deleted folder because the invite may have been automatically filtered by your email provider. Once you receive the invite, follow the steps to register your service account. Once your service account user is registered, log in as the service account with the password you created for it. ![login](./img/service-accounts/login.png) diff --git a/docs/iiq/plugin-developer-guide/appendix-a/index.md b/docs/iiq/plugin-developer-guide/appendix-a/index.md index 423e8fd93..68493b559 100644 --- a/docs/iiq/plugin-developer-guide/appendix-a/index.md +++ b/docs/iiq/plugin-developer-guide/appendix-a/index.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide_appendix_migration keywords: ['plugin'] description: Migration from IdentityIQ 7.0 to 7.1 slug: /iiq/plugin-developer-guide/appendix-migration -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Appendix A - Plugin Migration 7.0 to 7.1 @@ -19,44 +19,44 @@ The 7.1 Plugin Framework provides a dynamic, plugin-specific class loader. It al The object model for plugins has also changed somewhat. This table maps the old (7.0) plugin object model to the new (7.1+) plugin object model: -|**7.0 Object Model**|**7.1 Object Model**| -| --- | --- | -|uniqueName|name| -|displayName|displayName| -|enabled|disabled| -|installationDate|installDate| -|version|version| -|order|position| -|vendorName|n/a| -|vendorID|n/a| -|visible|n/a| -|allowDisable|n/a| -|allowUninstall|n/a| -|minUpgradeableVersion|minUpgradeableVersion| -|minFrameworkVersion|minSystemVersion| -|maxFrameworkVersion|maxSystemVersion| -|installationMode|n/a| -|configurationSettings|attributes| -|certificationLevel|certificationLevel| -|pluginAccessRight|rightRequired| +| **7.0 Object Model** | **7.1 Object Model** | +| --------------------- | --------------------- | +| uniqueName | name | +| displayName | displayName | +| enabled | disabled | +| installationDate | installDate | +| version | version | +| order | position | +| vendorName | n/a | +| vendorID | n/a | +| visible | n/a | +| allowDisable | n/a | +| allowUninstall | n/a | +| minUpgradeableVersion | minUpgradeableVersion | +| minFrameworkVersion | minSystemVersion | +| maxFrameworkVersion | maxSystemVersion | +| installationMode | n/a | +| configurationSettings | attributes | +| certificationLevel | certificationLevel | +| pluginAccessRight | rightRequired | -Gone in 7.1 is the idea of a plugin configuration model, and a snippet model. Instead, these elements have been rolled into the 'PluginAttributes' map that appears in the 'manifest.xml' file required by each plugin. The 'fullPage' object is now a single entry in the attributes mapping, which only holds the title of the 'fullPage'. Snippets move into a 'List' entry key in the attributes map. For each snippet entry in the 'List', implementers can define a regular expression 'regexPattern' to match against, the 'rightRequired' to see the snippet, and then a list of and that determine the look and action of the snippet. +Gone in 7.1 is the idea of a plugin configuration model, and a snippet model. Instead, these elements have been rolled into the 'PluginAttributes' map that appears in the 'manifest.xml' file required by each plugin. The 'fullPage' object is now a single entry in the attributes mapping, which only holds the title of the 'fullPage'. Snippets move into a 'List' entry key in the attributes map. For each snippet entry in the 'List', implementers can define a regular expression 'regexPattern' to match against, the 'rightRequired' to see the snippet, and then a list of and that determine the look and action of the snippet. -The most readily apparent change in plugin definition going from 7.0 to 7.1 is the location of each setting's plugins. Previously, developers could define a URL to a settings page ('settingsPageTemplateURL') that they could completely customize. In 7.1, in order to support future portability and support, the settings page has been removed, and individual plugin settings have been internalized to the 'manifest.xm'l file. These settings are now defined in a 'Settings' list in the 'PluginAttributes' map. Each element of the list is a 'Setting', which can have the following defined: +The most readily apparent change in plugin definition going from 7.0 to 7.1 is the location of each setting's plugins. Previously, developers could define a URL to a settings page ('settingsPageTemplateURL') that they could completely customize. In 7.1, in order to support future portability and support, the settings page has been removed, and individual plugin settings have been internalized to the 'manifest.xm'l file. These settings are now defined in a 'Settings' list in the 'PluginAttributes' map. Each element of the list is a 'Setting', which can have the following defined: -|Attribute Name|Description| -|---|---| -|name|Name of the current setting| -|dataType|Setting type (Ex. string or int or boolean)| -|value|Value for the setting| -|label|Display label for the setting| -|helpText|Associated help text for the setting| -|allowedValues|List of allowed values for dropdown population| -|defaultValue|Default value for the setting| +| Attribute Name | Description | +| -------------- | ---------------------------------------------- | +| name | Name of the current setting | +| dataType | Setting type (Ex. string or int or boolean) | +| value | Value for the setting | +| label | Display label for the setting | +| helpText | Associated help text for the setting | +| allowedValues | List of allowed values for dropdown population | +| defaultValue | Default value for the setting | ## Convert manifest -The first step in migrating a plugin from 7.0 to 7.1 is to review the changes that are required to move the 'manifest.xml' file to the 7.1 format. Refer to the previous chart when you're mapping old attributes to new ones. Move any plugin related settings from the unique page previously specified in the 'settingsPageTemplateURL' to the attributes map of the manifest object itself. If the previous unique page was complex, you may need to refactor the way these settings are selected. +The first step in migrating a plugin from 7.0 to 7.1 is to review the changes that are required to move the 'manifest.xml' file to the 7.1 format. Refer to the previous chart when you're mapping old attributes to new ones. Move any plugin related settings from the unique page previously specified in the 'settingsPageTemplateURL' to the attributes map of the manifest object itself. If the previous unique page was complex, you may need to refactor the way these settings are selected. ## Update UI @@ -70,43 +70,42 @@ Refactor old JAX-RS based REST service classes that extended 'sailpoint.plugin.r Any 7.0 plugins that extended the 'AbstractPluginBackgroundService' for a background service will now need to extend 'sailpoint.server.BasePluginService'. Details on this new class are elsewhere in this document. In addition to refactoring the service class itself, care should be taken to also modify the 'ServiceDefinition' XML object. The 'implementationClass' attribute entry is now gone. Instead, the 'executor' attribute will now change from 'sailpoint.plugin.server.PluginServiceExecutor' to the actual service that used to be listed in the 'implementationClass' entry. - ### Example: A prior ServiceDefinition in 7.0 ```xml - - - - - - A Service to demo something that runs in the background - - - - - - - - + + + + + + A Service to demo something that runs in the background + + + + + + + + ``` ### Example: The same ServiceDefinition in 7.1 ```xml - - - - - - A Service to demo something that runs in the background - - - - - - - + + + + + + A Service to demo something that runs in the background + + + + + + + ``` @@ -132,4 +131,4 @@ Due to the changes in how plugins are loaded and the inheritance of the object c -``` \ No newline at end of file +``` diff --git a/docs/iiq/plugin-developer-guide/appendix-b/index.md b/docs/iiq/plugin-developer-guide/appendix-b/index.md index 2052e995e..821bb7bac 100644 --- a/docs/iiq/plugin-developer-guide/appendix-b/index.md +++ b/docs/iiq/plugin-developer-guide/appendix-b/index.md @@ -8,14 +8,15 @@ sidebar_class_name: plugin_developer_guide_updates keywords: ['plugin'] description: IdentityIQ 8.0 Updates slug: /iiq/plugin-developer-guide/updates -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- + # Appendix B - 8.0 Updates Version 8.0 of IdentityIQ offers a number of enhancements to plugins: -* Classes contained in a plugin can be leveraged from any area or feature of IdentityIQ where BeanShell can be used, such as rules, workflow steps, and scriptlets. Version 8.0 also provides mechanisms for limiting or blocking scripting access to plugin classes as needed, and some new IIQ console commands to support troubleshooting of plugin classes. -* Support for forms in the plugin configuration UI, giving you new ways to present complex or dynamic options in the plugin's configuration page. -* Stricter handling of executors for tasks, services, and policies, with a global configuration option allowing you to "relax" the stricter declarations for legacy plugins, to help with forward compatibility. +- Classes contained in a plugin can be leveraged from any area or feature of IdentityIQ where BeanShell can be used, such as rules, workflow steps, and scriptlets. Version 8.0 also provides mechanisms for limiting or blocking scripting access to plugin classes as needed, and some new IIQ console commands to support troubleshooting of plugin classes. +- Support for forms in the plugin configuration UI, giving you new ways to present complex or dynamic options in the plugin's configuration page. +- Stricter handling of executors for tasks, services, and policies, with a global configuration option allowing you to "relax" the stricter declarations for legacy plugins, to help with forward compatibility. -A further detailed explanation of enhancements can be found here: [IdentityIQ 8.0: Plugin Enhancements](https://community.sailpoint.com/docs/DOC-13331) \ No newline at end of file +A further detailed explanation of enhancements can be found here: [IdentityIQ 8.0: Plugin Enhancements](https://community.sailpoint.com/docs/DOC-13331) diff --git a/docs/iiq/plugin-developer-guide/chapter-1/index.md b/docs/iiq/plugin-developer-guide/chapter-1/index.md index 1dc24079c..e533c6e83 100644 --- a/docs/iiq/plugin-developer-guide/chapter-1/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-1/index.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide_overview keywords: ['plugin'] description: IdentityIQ Plugin Developer Guide Overview slug: /iiq/plugin-developer-guide/overview -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Overview @@ -19,7 +19,7 @@ The first iteration of the plugin framework was released as an add-on to Identit Developing a plugin requires a fairly robust knowledge of IdentityIQ and its object model, Java, JavaScript, CSS, and SQL. This document is designed to provide development guidance at a high level - it goes over what the components of a plugin are, which components are required, and how those objects interact. Language specific tutorials are beyond its scope. Throughout this document, examples will be taken and discussed from the 'TodoPlugin'. -*A quick note about plugin loading...* +_A quick note about plugin loading..._ Before getting into the structure of a plugin project and why it is important, it may be helpful to understand how a plugin is represented in IdentityIQ once installed. IdentityIQ stores the '.zip' archive file of the plugin in the IdentityIQ database in a data LONGBLOB in the 'spt_file_bucket' table. The data in the 'spt_file_bucket' table is referenced (by 'id') to an entry in the 'spt_persisted_file' table as shown below. @@ -33,20 +33,20 @@ A plugin is defined in IdentityIQ by the 'Plugin' XML object. This object define **Plugin Model Attributes** -|**Attribute Name**|**Description**| -| --- | --- | -|name|Unique Name of the Plugin| -|installDate|Date when plugin was installed| -|displayName|Plugin's display name| -|certificationLevel|Plugin's certification level| -|disabled|Plugin's status| -|rightRequired|SPRIGHT required for this plugin| -|position|TBD| -|version|Plugin's version| -|minSystemVersion|Minimum IdentityIQ version the plugin will run on| -|maxSystemVersion|Maximum IdentityIQ version the plugin will run on| -|attributes|List of configurable attributes| -|file|Reference to the persisted file in the database| +| **Attribute Name** | **Description** | +| ------------------ | ------------------------------------------------- | +| name | Unique Name of the Plugin | +| installDate | Date when plugin was installed | +| displayName | Plugin's display name | +| certificationLevel | Plugin's certification level | +| disabled | Plugin's status | +| rightRequired | SPRIGHT required for this plugin | +| position | TBD | +| version | Plugin's version | +| minSystemVersion | Minimum IdentityIQ version the plugin will run on | +| maxSystemVersion | Maximum IdentityIQ version the plugin will run on | +| attributes | List of configurable attributes | +| file | Reference to the persisted file in the database | ## Plugin Structure @@ -54,7 +54,7 @@ A basic plugin will consist of a manifest file, database scripts, IdentityIQ obj ![File Structure](../img/plugin_structure.png) -These are the main build components: +These are the main build components: 1. Manifest file 2. Build file(s) @@ -63,4 +63,4 @@ These are the main build components: 5. XML Artifacts 6. Java Classes -Each build component is described in more detail in each chapter of this guide. \ No newline at end of file +Each build component is described in more detail in each chapter of this guide. diff --git a/docs/iiq/plugin-developer-guide/chapter-2/index.md b/docs/iiq/plugin-developer-guide/chapter-2/index.md index 96d96d800..7a527ecf3 100644 --- a/docs/iiq/plugin-developer-guide/chapter-2/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-2/index.md @@ -8,67 +8,67 @@ sidebar_class_name: plugin_developer_guide_manifest keywords: ['plugin'] description: IdentityIQ Plugin Manifest File slug: /iiq/plugin-developer-guide/manifest -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Manifest File A plugin is defined in IdentityIQ by the 'Plugin' XML object that defines the parameters of the plugin. Features such as REST resources, snippets, settings, etc. are defined in these parameters. The 'Plugin' object is defined in the 'manifest.xml' file. This is a required artifact. The 'Todo' plugin manifest will be examined: - ```xml +```xml - - - - - - - - - - - - com.acme.todo.rest.TodoResource - com.acme.todo.rest.FlaggedUserResource - com.acme.todo.rest.PageConfigResource - - - - - - - com.acme.todo.server.TodoFlaggingService - - - - - - - - - - - - - - - - - - - ui/js/snippets/header.js - - - ui/css/todo.css - - - - - - - + + + + + + + + + + + + com.acme.todo.rest.TodoResource + com.acme.todo.rest.FlaggedUserResource + com.acme.todo.rest.PageConfigResource + + + + + + + com.acme.todo.server.TodoFlaggingService + + + + + + + + + + + + + + + + + + + ui/js/snippets/header.js + + + ui/css/todo.css + + + + + + + ``` @@ -80,7 +80,6 @@ A plugin is defined in IdentityIQ by the 'Plugin' XML object that defines the pa - **Line 28-37** - specifies the settings that are end-user configurable for this plugin. - **Line 38-51** - lists the various snippets that can be injected into IdentityIQ pages, the match criteria, and the content and style of the snippet. - ## Settings Plugin settings are attributes that are available for the end-user/system administrator to modify as part of their installation. The example from the 'Todo' plugin has four settings available that control default values for certain elements, as well as whether or not 'Todo' entries can be deleted in the UI. Settings appear to the end user when they click the 'Configure' button for the specific plugin on the 'Plugins' dashboard. @@ -91,61 +90,61 @@ One concept not shown in the 'Todo' plugin example, the concept of 'allowed valu Plugin setting object can be used to represent a single setting the settings/configuration page for a Plugin. Each object is used to represent a single configurable setting on the settings page. -|Attribute Name|Description| -|---|---| -|name|Name of the current setting| -|dataType|Setting type ( Ex. string or int or boolean)| -|value|Value for the setting| -|label|Display label for the setting| -|helpText|Associated help text for the setting| -|allowedValues|List of allowed values for dropdown population| -|defaultValue|The default value for the setting| +| Attribute Name | Description | +| -------------- | ---------------------------------------------- | +| name | Name of the current setting | +| dataType | Setting type ( Ex. string or int or boolean) | +| value | Value for the setting | +| label | Display label for the setting | +| helpText | Associated help text for the setting | +| allowedValues | List of allowed values for dropdown population | +| defaultValue | The default value for the setting | ## Snippets Snippets are small, configurable pieces of code that can be injected into the rendering of normal IdentityIQ UI pages. A snippet contains four equally important components: -|**Attribute Name**|**Description**| +| **Attribute Name** | **Description** | | --- | --- | -|regexPattern|Regular expression pattern run against the current URL in the browser - if the URL matches the pattern, the snippet will attempt to display.| -|rightRequired|Determines the scope of users allowed to view the snippet element - this should reference an IdentityIQ 'SPRight' object.| -|scripts|List of scripts to run when a particular URL matches the `regexPattern`. Normally this will consist of injecting an element into the DOM of the page. The 'Todo' example's 'hearder.js' file uses JQuery for this purpose.| -|styleSheets|list of any css files that are required by Snippet Scripts| +| regexPattern | Regular expression pattern run against the current URL in the browser - if the URL matches the pattern, the snippet will attempt to display. | +| rightRequired | Determines the scope of users allowed to view the snippet element - this should reference an IdentityIQ 'SPRight' object. | +| scripts | List of scripts to run when a particular URL matches the `regexPattern`. Normally this will consist of injecting an element into the DOM of the page. The 'Todo' example's 'hearder.js' file uses JQuery for this purpose. | +| styleSheets | list of any css files that are required by Snippet Scripts | The 'Todo' plugin snippet creates a new top level icon on every page of the IdentityIQ UI, which is visible to someone with the `ViewTodoPluginIcon` SPRight. - ```xml - - - - - - ui/js/snippets/header.js - - - ui/css/todo.css - - - - - +```xml + + + + + + ui/js/snippets/header.js + + + ui/css/todo.css + + + + + ``` The script, `header.js` looks for `ul.navbar-right li:first`. Then, using the JQuery operation `.before()`, the script injects an icon link pointing to the fullPage (/plugins/pluginPage.jsf?pn=TodoPlugin) of the 'Todo' plugin. - ```javascript var url = SailPoint.CONTEXT_PATH + '/plugins/pluginPage.jsf?pn=TodoPlugin'; -jQuery(document).ready(function(){ - jQuery("ul.navbar-right li:first") - .before( - '' - ); +jQuery(document).ready(function () { + jQuery('ul.navbar-right li:first').before( + '', + ); }); ``` @@ -153,4 +152,4 @@ For reference, if you were to inspect any page of the IdentityIQ UI using a util The end result of this snippet is shown here, with the icon properly inserted before the other items in the `navbar-right` list: -![Snippet](../img/snippet.png) \ No newline at end of file +![Snippet](../img/snippet.png) diff --git a/docs/iiq/plugin-developer-guide/chapter-3/index.md b/docs/iiq/plugin-developer-guide/chapter-3/index.md index 73a236413..f2b1030bb 100644 --- a/docs/iiq/plugin-developer-guide/chapter-3/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-3/index.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide_build_file keywords: ['plugin'] description: IdentityIQ Plugin Build File slug: /iiq/plugin-developer-guide/build-file -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Build File @@ -24,7 +24,6 @@ version=2.0.0 The earlier example illustrates how a properties file can be leveraged to allow multiple developers to use the same build process, despite having different build environments. The actual 'build.xml' file is fairly straightforward, and it's responsible for creating the build directory, compiling any java classes, packaging those compiled classes into a .jar archive, and then archiving the complete plugin in .zip format. A more detailed explanation is provided for the 'Todo' plugin build file. - ```xml @@ -32,13 +31,13 @@ The earlier example illustrates how a properties file can be leveraged to allow - + - + @@ -47,30 +46,30 @@ The earlier example illustrates how a properties file can be leveraged to allow - + - + - + - + - + - + @@ -101,4 +100,4 @@ The earlier example illustrates how a properties file can be leveraged to allow ## Java versions -When you're developing a plugin, complications can arise when the plugin is built using a different version of Java (newer) than that deployed on the application server(s) hosting IdentityIQ. To avoid this issue, it is recommended that the 'javac' argument in the build.xml file be parametrized with the most compatible Java version available. IdentityIQ 7.1 supports both Java 1.7 and 1.8, so setting the compilation to be 1.7 compatible is a good idea. To do so, add the property 'target' to the 'javac' directive, and set it equal to '1.7', or whatever version is being targeted. You can find an example of this process in **line 24** of the earlier example. +When you're developing a plugin, complications can arise when the plugin is built using a different version of Java (newer) than that deployed on the application server(s) hosting IdentityIQ. To avoid this issue, it is recommended that the 'javac' argument in the build.xml file be parametrized with the most compatible Java version available. IdentityIQ 7.1 supports both Java 1.7 and 1.8, so setting the compilation to be 1.7 compatible is a good idea. To do so, add the property 'target' to the 'javac' directive, and set it equal to '1.7', or whatever version is being targeted. You can find an example of this process in **line 24** of the earlier example. diff --git a/docs/iiq/plugin-developer-guide/chapter-4/index.md b/docs/iiq/plugin-developer-guide/chapter-4/index.md index 9c4c14241..699bff9b0 100644 --- a/docs/iiq/plugin-developer-guide/chapter-4/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-4/index.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide_database_scripts keywords: ['plugin'] description: IdentityIQ Plugin Database Scripts slug: /iiq/plugin-developer-guide/database-scripts -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Database Scripts @@ -19,4 +19,4 @@ For plugin creation, create a folder called 'db' in your project directory. Furt ![Database Scripts](../img/database_scripts.png) -The scripts placed in these folders automatically run when a plugin is installed or deleted with the UI. It is recommended that developers include scripts for the four major database types supported by IdentityIQ: MySQL, SQLServer, DB2, and Oracle. Otherwise, developers should ensure that they document which databases are supported. The 'upgrade' folder will contain any deltas in table definitions from prior versions of the plugin. \ No newline at end of file +The scripts placed in these folders automatically run when a plugin is installed or deleted with the UI. It is recommended that developers include scripts for the four major database types supported by IdentityIQ: MySQL, SQLServer, DB2, and Oracle. Otherwise, developers should ensure that they document which databases are supported. The 'upgrade' folder will contain any deltas in table definitions from prior versions of the plugin. diff --git a/docs/iiq/plugin-developer-guide/chapter-5/index.md b/docs/iiq/plugin-developer-guide/chapter-5/index.md index 331c00c16..6515051a9 100644 --- a/docs/iiq/plugin-developer-guide/chapter-5/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-5/index.md @@ -8,11 +8,12 @@ sidebar_class_name: plugin_developer_guide_ui_elements keywords: ['plugin'] description: IdentityIQ Plugin UI Elements slug: /iiq/plugin-developer-guide/ui-elements -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- + # UI Elements -Most plugins will have some additional UI component that will display in IdentityIQ. You can use images, CSS files, HTML templates, and JavaScript to provide the interactions and views required by the plugin. Plugins using a `fullPage` element will look for a file called 'page.xhtml' in the build. +Most plugins will have some additional UI component that will display in IdentityIQ. You can use images, CSS files, HTML templates, and JavaScript to provide the interactions and views required by the plugin. Plugins using a `fullPage` element will look for a file called 'page.xhtml' in the build. :::Note @@ -51,27 +52,37 @@ me.viewFlaggedUsers = function() { }); }; ``` + The 'TodoController' controller (and available methods) can then be referenced in `page.xhtml`. ```html -
-
- -
-
+
+
+ +
+
``` + - **Line 2** - shows the angular controller `ng-controller` defined as 'TodoController' from **line 8** of 'TodoModule.js'. - **Line 4** - example of accessing controller method `viewFlaggedUsers` from **line 21** of 'TodoModule.js'. -This example demonstrates how to use the Angular concept of the modal within a plugin. In the 'Todo' plugin, if the user clicks the 'Flagged Users' button as defined on the `fullPage`, it will switch context to the page defined by the ui/`html/flagged-template.html`, and swap the AngularJS controller to `FlaggedUserCtrl`. The behavior of this modal dialogue is essentially the same as the `fullPage` 'page.xhtml' - it accesses information by the controller, which may rely on backend Java classes to produce data. Notice that to reference the .html template for the flagged users, the example uses the `PluginHelper` classes' method `getPluginFileUrl` - this allows for fetching the plugin resource by a relative path as it would display in the installed .zip archive. +This example demonstrates how to use the Angular concept of the modal within a plugin. In the 'Todo' plugin, if the user clicks the 'Flagged Users' button as defined on the `fullPage`, it will switch context to the page defined by the ui/`html/flagged-template.html`, and swap the AngularJS controller to `FlaggedUserCtrl`. The behavior of this modal dialogue is essentially the same as the `fullPage` 'page.xhtml' - it accesses information by the controller, which may rely on backend Java classes to produce data. Notice that to reference the .html template for the flagged users, the example uses the `PluginHelper` classes' method `getPluginFileUrl` - this allows for fetching the plugin resource by a relative path as it would display in the installed .zip archive. One last aspect to remember for the `page.xhtml` is the necessity to include references to the JavaScript packages the plugin will use. Use this path to reference the packages: `#{plugins.requestContextPath}/plugin//path/to/js/files.js`. ```html - - - + + + ``` -The path to the page would be the following: `{serverpath}/plugins/pluginPage.jsf?pn={PluginName}`, where `PluginName` is the name of your plugin, as specified in the manifest, and `serverpath` is the path to your server. \ No newline at end of file +The path to the page would be the following: `{serverpath}/plugins/pluginPage.jsf?pn={PluginName}`, where `PluginName` is the name of your plugin, as specified in the manifest, and `serverpath` is the path to your server. diff --git a/docs/iiq/plugin-developer-guide/chapter-6/index.md b/docs/iiq/plugin-developer-guide/chapter-6/index.md index b12417ff0..bf4d95e5a 100644 --- a/docs/iiq/plugin-developer-guide/chapter-6/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-6/index.md @@ -8,14 +8,14 @@ sidebar_class_name: plugin_developer_guide_xml_artifacts keywords: ['plugin'] description: IdentityIQ Plugin XML Artifacts slug: /iiq/plugin-developer-guide/xml-artifacts -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # XML Artifacts Any IdentityIQ objects required as part of a plugin must be represented in XML artifacts. This can mean something as small as a single new SPRight object, such as the 'ViewTodoPluginIcon', or a complex workflow or rule. The mechanism used to import these artifacts during installation is the same as any other IdentityIQ object import, so the normal import actions are also available: merge, include, execute, logConfig. -You can directly develop these XML artifacts in the build folder or in the IdentityIQ UI. You can then export them either by using the console or by copying and pasting them from the build's debug. +You can directly develop these XML artifacts in the build folder or in the IdentityIQ UI. You can then export them either by using the console or by copying and pasting them from the build's debug. When you're developing in the UI and then migrating the artifacts to your build folder, it is important to strip out some of the metadata that IdentityIQ attaches to XML objects when they're first created. First and foremost, you should remove the 'id' attribute assigned by 'Hibernate'. Then remove any other hibernate ID value references. For this reason, it is preferable to export the artifacts by using the IdentityIQ console command: './iiq export -clean' @@ -25,4 +25,4 @@ The development of regular IdentityIQ objects is beyond the scope of this docume [Technical White Papers - IdentityIQ](https://community.sailpoint.com/space/2068) -[BeanShell Developer's Guide for IdentityIQ](https://community.sailpoint.com/docs/DOC-3375) \ No newline at end of file +[BeanShell Developer's Guide for IdentityIQ](https://community.sailpoint.com/docs/DOC-3375) diff --git a/docs/iiq/plugin-developer-guide/chapter-7/index.md b/docs/iiq/plugin-developer-guide/chapter-7/index.md index 0587d3463..9babfd7c0 100644 --- a/docs/iiq/plugin-developer-guide/chapter-7/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-7/index.md @@ -6,27 +6,26 @@ sidebar_label: Java Classes - Rest Resources sidebar_position: 7 sidebar_class_name: plugin_developer_guide_java_rest_resources keywords: ['plugin'] -description: IdentityIQ Plugin Java Classes REST Resources +description: IdentityIQ Plugin Java Classes REST Resources slug: /iiq/plugin-developer-guide/java-classes-rest-resources -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Java Classes - REST Resources -The plugin framework relies heavily on REST web services integration for the majority of CRUD (create, read, update, and delete) operations. To create a custom REST resource, there are a couple requirements. This guide will cover those requirements. +The plugin framework relies heavily on REST web services integration for the majority of CRUD (create, read, update, and delete) operations. To create a custom REST resource, there are a couple requirements. This guide will cover those requirements. ## Extend BasePluginResource The first step to creating a custom REST resource is to use the `BasePluginResource` class as the base class for all resources. It provides access to utility methods for accessing plugin settings, getting database connections and more. - **getConnection** - Gets connection to the datasource specified in the iiq.properties file for the plugins -- **getPluginName** - This method should be overriden to return the plugin's correct name. +- **getPluginName** - This method should be overriden to return the plugin's correct name. - **getSettingBool** - Gets value of boolean plugin setting for plugin name returned by `getPluginName()`. - **getSettingInt** - Gets value of int plugin setting for plugin name returned by `getPluginName()`. - **getSettingString** - Gets value of String plugin setting for plugin name returned by `getPluginName()`. - **prepareStatement** - Convenience security method for getting Java `PreparedStatement` object for any required database queries - signature is `prepareStatement`(Connection, String, Object...) where the string would be the SQL statement you wish to execute and the object would be a list of the parameters values, if any, to be used. -- **authorize** - This should be overridden by implementers, but by default it only ensures that SystemAdministrator can see everything. - Additional methods should be introduced to handle the various endpoints required by the plugin. +- **authorize** - This should be overridden by implementers, but by default it only ensures that SystemAdministrator can see everything. Additional methods should be introduced to handle the various endpoints required by the plugin. ## Secure endpoints @@ -48,11 +47,11 @@ An annotation should have at least three parts - **Line 1** - The HTTP method (GET, POST, PUT, DELETE, etc). - **Line 2** - The path or endpoint - this can be parameterized, which is useful for pulling back a single record. The earlier example uses parameterization by adding the variable within {} tags to the end of the URL and also declaring the @PathParam "appName" in the input arguments of the method signature. -- **Line 3** - The authorization of the method. The following values are allowed: - - **@AllowAll** - Allows anyone to interrogate the endpoint. - - **@RequiredRight("")** - Allows users with the named SPRight to access the endpoint. - - **@SystemAdmin** - System administrator access only. - - **@Deferred** - Authorization is deferred to the method. When this option is selected, the implementer must also create an `Authorizer` class that implements the `sailpoint.authorization.Authorize`r interface. The `Authorizer` class should override the `authorize(UserContext)` method of the base `Authorizer` interface. Inside the REST resource method, the author would then call `authorize()`. Here is a simple example: +- **Line 3** - The authorization of the method. The following values are allowed: + - **@AllowAll** - Allows anyone to interrogate the endpoint. + - **@RequiredRight("")** - Allows users with the named SPRight to access the endpoint. + - **@SystemAdmin** - System administrator access only. + - **@Deferred** - Authorization is deferred to the method. When this option is selected, the implementer must also create an `Authorizer` class that implements the `sailpoint.authorization.Authorize`r interface. The `Authorizer` class should override the `authorize(UserContext)` method of the base `Authorizer` interface. Inside the REST resource method, the author would then call `authorize()`. Here is a simple example: ```java import sailpoint.authorization.Authorizer; @@ -78,7 +77,7 @@ class CustomPluginAuthorizer implements Authorizer{ public CustomPluginAuthorizer(CustomPluginObject cpo) { this.cpo = cpo } - + /** * {@inheritDoc} */ @@ -90,4 +89,4 @@ class CustomPluginAuthorizer implements Authorizer{ } } -``` \ No newline at end of file +``` diff --git a/docs/iiq/plugin-developer-guide/chapter-8/index.md b/docs/iiq/plugin-developer-guide/chapter-8/index.md index 800aceaa9..9b7b51d55 100644 --- a/docs/iiq/plugin-developer-guide/chapter-8/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-8/index.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide_java_executors keywords: ['plugin'] description: IdentityIQ Plugin Java Class Plugin Executors slug: /iiq/plugin-developer-guide/java-classes-executors -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Java Classes - Plugin Executors @@ -21,7 +21,7 @@ The plugin framework allows developers to include custom task implementations or ## Plugin Object Properties -When you're defining your plugin object, you must provide a list of service executors that will be included. The list will live inside an attributes map under the key serviceExecutors. Here is what such a list would look like: +When you're defining your plugin object, you must provide a list of service executors that will be included. The list will live inside an attributes map under the key serviceExecutors. Here is what such a list would look like: 1. Plugin Helper methods 2. All inherited Service methods @@ -32,22 +32,21 @@ When you're defining your plugin object, you must provide a list of service exec 7. Plugin Helper methods 8. All inherited PolicyExecutor methods. - ## Plugin Helper Methods This is the list of methods included with the `BasePlugin` classes: -* **getPluginName()** - returns a string value of the plugin's name. -* **getConnection()** - returns a connection object used to query the database. -* **getSettingString(String settingName)** - returns a string setting value from the Plugin Settings. -* **getSettingBool( String settingName)** - returns a boolean value from the Plugin Settings. -* **getSettingInt(String settingName)** - returns a integer value from the Plugin Settings. +- **getPluginName()** - returns a string value of the plugin's name. +- **getConnection()** - returns a connection object used to query the database. +- **getSettingString(String settingName)** - returns a string setting value from the Plugin Settings. +- **getSettingBool( String settingName)** - returns a boolean value from the Plugin Settings. +- **getSettingInt(String settingName)** - returns a integer value from the Plugin Settings. You can think of the `BasePlugin` classes as the foundation for the creation of your specific objects. The biggest advantage to using them is the access to the Plugin Helper Methods. You aren't required to use the `BasePlugin` classes for your implementation though - you're welcome to extend directly from the parent class object you want to implement. ## Implement a plugin service definition -When you're implementing a plugin service you will have to implement two parts. The first is your Service class, which will contain the business logic for what you want the service ot actually do. The second is the service definition XML file that will be loaded into IdentityIQ. You can find examples of both below: +When you're implementing a plugin service you will have to implement two parts. The first is your Service class, which will contain the business logic for what you want the service ot actually do. The second is the service definition XML file that will be loaded into IdentityIQ. You can find examples of both below: ### BasePluginService Class @@ -98,7 +97,7 @@ public class MyPluginService extends BasePluginService { ### Service Definition -The Service Definition must specify a `pluginName` attribute. This tells IdentityIQ to use the plugin class loader for this executor. If the `pluginName` attribute isn't specified, the executor class won't be findable. +The Service Definition must specify a `pluginName` attribute. This tells IdentityIQ to use the plugin class loader for this executor. If the `pluginName` attribute isn't specified, the executor class won't be findable. ```xml @@ -157,8 +156,7 @@ public class MyTaskExecutor extends BasePluginTaskExecutor { ### TaskDefinition -In your `TaskDefintion`, you must include the `pluginName` attribute because this attribute tells IdentityIQ to to use the plugin class loader instead of the default class loader. If the `pluginName` attribute isn't specified, the executor class won't be findable. - +In your `TaskDefintion`, you must include the `pluginName` attribute because this attribute tells IdentityIQ to to use the plugin class loader instead of the default class loader. If the `pluginName` attribute isn't specified, the executor class won't be findable. ```xml @@ -195,9 +193,9 @@ public class MyPolicyExecutor extends BasePluginPolicyExecutor { return "My Plugin"; } - - + + /** * {@inheritDoc} @@ -212,9 +210,9 @@ public class MyPolicyExecutor extends BasePluginPolicyExecutor { return violations; } - - + + /** * Creates a policy violation for the identity. @@ -252,4 +250,4 @@ configPage="genericpolicy.xhtml" executor="com.acme.MyPolicyExecutor" state="Act -``` \ No newline at end of file +``` diff --git a/docs/iiq/plugin-developer-guide/chapter-9/index.md b/docs/iiq/plugin-developer-guide/chapter-9/index.md index 766691e99..ec435beb2 100644 --- a/docs/iiq/plugin-developer-guide/chapter-9/index.md +++ b/docs/iiq/plugin-developer-guide/chapter-9/index.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide_installation keywords: ['plugin'] description: IdentityIQ Plugin Installation slug: /iiq/plugin-developer-guide/installation -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- # Plugin Installation @@ -25,8 +25,8 @@ But wait, where do I get the .zip archive? If you have downloaded a published pl ![Plugin Dist File](../img/plugin_dist.png) -When a plugin is installed, the database scripts from the 'db/install' folder run, creating any necessary tables for the plugin, importing the XML configuration files into the IdentityIQ database from the 'import/install' folder, loading any compiled classes into the unique plugin classloader, and importing the manifest file - this process creates the plugin object. +When a plugin is installed, the database scripts from the 'db/install' folder run, creating any necessary tables for the plugin, importing the XML configuration files into the IdentityIQ database from the 'import/install' folder, loading any compiled classes into the unique plugin classloader, and importing the manifest file - this process creates the plugin object. -Uninstallation follows a similar path. You can launch uninstallation by clicking the small 'X' icon on the appropriate plugin card in the 'Settings->Plugin' interface. Database scripts responsible for cleaning up data run from the 'db/uninstall' folder, and the manifest file (the plugin object) is removed. Remember that the other XML objects created during installation are currently *not* uninstalled when a plugin is removed. +Uninstallation follows a similar path. You can launch uninstallation by clicking the small 'X' icon on the appropriate plugin card in the 'Settings->Plugin' interface. Database scripts responsible for cleaning up data run from the 'db/uninstall' folder, and the manifest file (the plugin object) is removed. Remember that the other XML objects created during installation are currently _not_ uninstalled when a plugin is removed. -![Uninstall a Plugin](../img/delete_plugin.png) \ No newline at end of file +![Uninstall a Plugin](../img/delete_plugin.png) diff --git a/docs/index.md b/docs/index.md index e630d1a2e..ab451b6a2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ sidebar_label: Docs sidebar_position: 1 sidebar_class_name: docs keywords: ['docs'] -description: The Identity Security Cloud Developer Documentation. +description: The Identity Security Cloud Developer Documentation. slug: / tags: ['docs'] --- @@ -15,17 +15,17 @@ tags: ['docs'] :::caution What about IdentityNow? -Looking for IdentityNow? You're in the right place! IdentityNow has an updated brand in Identity Security Cloud. +Looking for IdentityNow? You're in the right place! IdentityNow has an updated brand in Identity Security Cloud. ::: -Identity Security Cloud (ISC) is a unified, multi-tenant identity governance and security platform. ISC provides organizations with the ability to ensure that their users, known as identities in ISC, have secure access to different data sources, and it makes identity access management fast and easy. +Identity Security Cloud (ISC) is a unified, multi-tenant identity governance and security platform. ISC provides organizations with the ability to ensure that their users, known as identities in ISC, have secure access to different data sources, and it makes identity access management fast and easy. -The ISC platform out of the box will often meet all your identity governance and security needs, but it's possible that it won't. The beauty of ISC is that even if it doesn't quite meet all your needs, you can extend the platform's functionality and build custom solutions that do! +The ISC platform out of the box will often meet all your identity governance and security needs, but it's possible that it won't. The beauty of ISC is that even if it doesn't quite meet all your needs, you can extend the platform's functionality and build custom solutions that do! -The SailPoint Developer Documentation provides developers with all the information they need to extend their platforms' functionality and build their desired solutions. The developer documentation is written for developers of all experience levels, from nontechnical users exploring what's possible to advanced developers who live and breathe code. +The SailPoint Developer Documentation provides developers with all the information they need to extend their platforms' functionality and build their desired solutions. The developer documentation is written for developers of all experience levels, from nontechnical users exploring what's possible to advanced developers who live and breathe code. -Check out the developer documentation and see what's possible! +Check out the developer documentation and see what's possible! :::info Are you a partner? @@ -40,11 +40,10 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` -import Tabs from '@theme/Tabs'; -import TabItem from '@theme/TabItem'; +import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; ## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about ISC and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). \ No newline at end of file +To learn more about ISC and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/plugin-developer-guide.md b/docs/plugin-developer-guide.md index 93bf86cc5..a65c8f602 100644 --- a/docs/plugin-developer-guide.md +++ b/docs/plugin-developer-guide.md @@ -8,7 +8,7 @@ sidebar_class_name: plugin_developer_guide keywords: ['plugin'] description: IdentityIQ Plugin Developer Guide. slug: /iiq/plugin-developer-guide -tags: ['plugin','guide','identityiq'] +tags: ['plugin', 'guide', 'identityiq'] --- Introduced with IdentityIQ 7.1, the plugin framework provides the infrastructure and tools to enable developers to extend the Open Identity Platform to meet a variety of specialized use cases that one might encounter in a non-standard deployment. The plugin framework allows developers to create packaged functionality that integrates with IdentityIQ, in a upgrade safe and isolated manner. It gives implementers a safe option for creating User Interface extensions, REST services, Custom SailPoint configuration objects, and more. This guide is designed to walk through the basics of plugin development and installation. diff --git a/docs/reporting.md b/docs/reporting.md index 09d9dd3cb..68bcd3512 100644 --- a/docs/reporting.md +++ b/docs/reporting.md @@ -6,7 +6,7 @@ sidebar_label: Reporting sidebar_position: 1 sidebar_class_name: reporting keywords: ['reporting'] -description: Collect data reports from ISC. +description: Collect data reports from ISC. slug: /reporting tags: ['reporting'] --- @@ -23,6 +23,7 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` ## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about ISC data reporting and discuss the different options with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. + +To learn more about ISC data reporting and discuss the different options with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/reporting/access-intelligence-center/_category_.json b/docs/reporting/access-intelligence-center/_category_.json index 9c0816cc1..f92ea6971 100644 --- a/docs/reporting/access-intelligence-center/_category_.json +++ b/docs/reporting/access-intelligence-center/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Create your own dashboards and discover key insights." - } -} \ No newline at end of file + "customProps": { + "description": "Create your own dashboards and discover key insights." + } +} diff --git a/docs/reporting/access-intelligence-center/audit-er-diagram.md b/docs/reporting/access-intelligence-center/audit-er-diagram.md index f07326342..2bbc96c72 100644 --- a/docs/reporting/access-intelligence-center/audit-er-diagram.md +++ b/docs/reporting/access-intelligence-center/audit-er-diagram.md @@ -16,7 +16,6 @@ import MermaidViewer from '@site/src/components/MermaidViewer'; # Access Intelligence Center Audit ER Diagram - - - - diff --git a/docs/reporting/access-intelligence-center/identity-er-diagram.md b/docs/reporting/access-intelligence-center/identity-er-diagram.md index 1560860a2..08263984c 100644 --- a/docs/reporting/access-intelligence-center/identity-er-diagram.md +++ b/docs/reporting/access-intelligence-center/identity-er-diagram.md @@ -16,7 +16,6 @@ import MermaidViewer from '@site/src/components/MermaidViewer'; # Access Intelligence Center ER Diagram - - - - diff --git a/docs/reporting/access-intelligence-center/index.md b/docs/reporting/access-intelligence-center/index.md index 8e67cd9c2..cee3d5099 100644 --- a/docs/reporting/access-intelligence-center/index.md +++ b/docs/reporting/access-intelligence-center/index.md @@ -24,11 +24,12 @@ The AIC Audit dashboard focuses on more tangible audit events, such as access re With Reader permission, users can view any public sheets available and make selections to further filter the data. With Authoring permission, users can view public sheets, create new public or private sheets, and bookmark certain filters for future use. - ## Identity Security Cloud Documentation + For information on how to use AIC in your environment, see the documentation [here](https://documentation.sailpoint.com/saas/help/ai/access_insights/access_intelligence.html) ## Technical Documentation and Videos + For Entity Relationship (ER) Diagrams that represent the data model in AIC as well as other documentation see the following pages ```mdx-code-block @@ -36,4 +37,4 @@ import DocCardList from '@theme/DocCardList'; import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; -``` \ No newline at end of file +``` diff --git a/docs/reporting/access-intelligence-center/videos.md b/docs/reporting/access-intelligence-center/videos.md index 809980410..a49c3ed1b 100644 --- a/docs/reporting/access-intelligence-center/videos.md +++ b/docs/reporting/access-intelligence-center/videos.md @@ -16,14 +16,17 @@ import Video from '@site/src/components/Video'; # Videos ### Out of the Box Charts and Dashboards + ### Filtering and Responsive UI + ### Authoring and Creating new Sheets + ### Bookmarking Capabilities - + diff --git a/docs/reporting/secure-data-share/_category_.json b/docs/reporting/secure-data-share/_category_.json index 11508475c..bce33d7b0 100644 --- a/docs/reporting/secure-data-share/_category_.json +++ b/docs/reporting/secure-data-share/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Securely share ISC data with Snowflake." - } -} \ No newline at end of file + "customProps": { + "description": "Securely share ISC data with Snowflake." + } +} diff --git a/docs/reporting/secure-data-share/audit-er-diagram.md b/docs/reporting/secure-data-share/audit-er-diagram.md index b381a9670..d3ebef00d 100644 --- a/docs/reporting/secure-data-share/audit-er-diagram.md +++ b/docs/reporting/secure-data-share/audit-er-diagram.md @@ -16,7 +16,6 @@ import MermaidViewer from '@site/src/components/MermaidViewer'; # Secure Data Share Audit ER Diagram - - - - diff --git a/docs/reporting/secure-data-share/identity-er-diagram.md b/docs/reporting/secure-data-share/identity-er-diagram.md index 4a28d0a26..53f705b44 100644 --- a/docs/reporting/secure-data-share/identity-er-diagram.md +++ b/docs/reporting/secure-data-share/identity-er-diagram.md @@ -16,7 +16,6 @@ import MermaidViewer from '@site/src/components/MermaidViewer'; # Secure Data Share Identity ER Diagram - --indices -``` - -You must start your search query with `sail search query`, and you must specify a query string to search for and a set of indices to search. - -### Flags - -You can append a number of flags to the `query` command to refine it: -- The first flag, `indices`, is required. It specifies the indices to run the search operation on. -- The second possible flag, `sort`, allows you to specify the sort strings to use for the search query, as well as the sorting arrangement for the results. -- The third possible flag, `folderPath`, allows you to specify the folder path where you want to save the search query result files. - -#### Indices - -Use the `indices` flag to specify the indices you want to search. The `indices` flag is required to use the `query` command. - -Here is an example of a `query` command with specified `indices`: +The basic format of a query is "field:term", so an example `query` command would like this: ```shell sail search query "name:a*" --indices identities ``` -You can search multiple indices. +The CLI will use the [V3 Search endpoint](https://developer.sailpoint.com/docs/api/v3/search-post) to search for all identities starting with names starting with the letter "a". The CLI will then generate a JSON file containing the search results. This JSON file will be located in a folder titled "search_results", within the current working directory, unless a folder path is specified. -Here is an example of a `query` command with multiple specified `indices`. +### Command + +This example can help you understand the `query` command structure: + +```shell +sail search query --indices +``` + +You must start your search query with `sail search query`, and you must specify a query string to search for and a set of indices to search. + +### Flags + +You can append a number of flags to the `query` command to refine it: + +- The first flag, `indices`, is required. It specifies the indices to run the search operation on. +- The second possible flag, `sort`, allows you to specify the sort strings to use for the search query, as well as the sorting arrangement for the results. +- The third possible flag, `folderPath`, allows you to specify the folder path where you want to save the search query result files. + +#### Indices + +Use the `indices` flag to specify the indices you want to search. The `indices` flag is required to use the `query` command. + +Here is an example of a `query` command with specified `indices`: + +```shell +sail search query "name:a*" --indices identities +``` + +You can search multiple indices. + +Here is an example of a `query` command with multiple specified `indices`. ```shell sail search query "name:a*" --indices identities --indices accessprofiles @@ -87,18 +87,17 @@ sail search query "name:a*" --indices identities --indices accessprofiles #### Sort -Use the `sort` flag to specify the sort strings you want to use to determine the sorting arrangement of your search query results. -When you specify a string to sort by, like `name`, the CLI sorts results by `name` in ascending order. If you add a "-" before the sort string, like `-name`, the CLI will sort the results in descending order instead. +Use the `sort` flag to specify the sort strings you want to use to determine the sorting arrangement of your search query results. When you specify a string to sort by, like `name`, the CLI sorts results by `name` in ascending order. If you add a "-" before the sort string, like `-name`, the CLI will sort the results in descending order instead. -Here is an example of a `query` command that sorts the results in descending order based on the identities' `created` dates: +Here is an example of a `query` command that sorts the results in descending order based on the identities' `created` dates: ```shell sail search query "name:a*" --indices identities --sort "-created" ``` -You can specify multiple sort strings for your search queries. +You can specify multiple sort strings for your search queries. -Here is an example of a `query` command that sorts the results in ascending order based on `name`, as well as in descending order based on the identities' `created` dates: +Here is an example of a `query` command that sorts the results in ascending order based on `name`, as well as in descending order based on the identities' `created` dates: ```shell sail search query "name:a*" --indices identities --sort name --sort "-created" @@ -106,9 +105,9 @@ sail search query "name:a*" --indices identities --sort name --sort "-created" #### Output Types -Use the `outputTypes` flag to specify the output data format for the search query results. Currently, the only supported output types are `json` and `csv`. +Use the `outputTypes` flag to specify the output data format for the search query results. Currently, the only supported output types are `json` and `csv`. -Here is an example of a `query` command that specifies the `json` output type: +Here is an example of a `query` command that specifies the `json` output type: ```shell sail search query "name:a*" --indices identities @@ -116,10 +115,9 @@ sail search query "name:a*" --indices identities #### Folder Path -Use the `folderPath` flag to specify the folder path to save the search results in. -If you don't specify a `folderPath`, the results will save to a folder called "search_results", located within your current working directory. +Use the `folderPath` flag to specify the folder path to save the search results in. If you don't specify a `folderPath`, the results will save to a folder called "search_results", located within your current working directory. -Here is an example of a `query` command that specifies a `folderPath`: +Here is an example of a `query` command that specifies a `folderPath`: ```shell sail search query "name:a*" --indices identities --folderPath ./local/folder/path @@ -129,33 +127,30 @@ sail search query "name:a*" --indices identities --folderPath ./local/folder/pat For more detailed search queries, you can provide a predefined template instead of constructing the whole query every time. This allows you to run very detailed search queries quickly and easily. -The `template` command allows you to use predefined templates to search Identity Security Cloud. - +The `template` command allows you to use predefined templates to search Identity Security Cloud. + ### Command -This example shows the essential `template` command structure: +This example shows the essential `template` command structure: ```shell sail search template all-provisioning-events-90-days ``` -The specified template file will give the CLI all the information it needs to perform its search in Identity Security Cloud. +The specified template file will give the CLI all the information it needs to perform its search in Identity Security Cloud. ### Flags +You can append one flag to the `template` command to refine it: -You can append one flag to the `template` command to refine it: -- The flag, `folderPath`, allows you to specify the folder path where you want to save the search query result files. - +- The flag, `folderPath`, allows you to specify the folder path where you want to save the search query result files. #### Folder Path -Use the `folderPath` flag to specify the folder path to save the search results in. -If you don't specify a `folderPath`, the results will save to a folder called "search_results", located within your current working directory. +Use the `folderPath` flag to specify the folder path to save the search results in. If you don't specify a `folderPath`, the results will save to a folder called "search_results", located within your current working directory. -Here is an example of a `template` command that specifies a `folderPath`: +Here is an example of a `template` command that specifies a `folderPath`: ```shell sail search template all-provisioning-events-90-days --folderPath ./local/folder/path ``` - diff --git a/docs/tools/cli/set.md b/docs/tools/cli/set.md index f442ed6cc..1e46c25f6 100644 --- a/docs/tools/cli/set.md +++ b/docs/tools/cli/set.md @@ -6,18 +6,18 @@ sidebar_label: Set sidebar_position: 4 sidebar_class_name: cli keywords: ['cli', 'set'] -description: Learn how to configure your CLI settings in this guide. +description: Learn how to configure your CLI settings in this guide. slug: /tools/cli/set tags: ['CLI'] --- ## Set -Learn how to configure your CLI settings in this guide. +Learn how to configure your CLI settings in this guide. -This includes setting your authentication mode, your debug mode, and the filepaths for the templates your CLI uses to make your search and export processes easier. +This includes setting your authentication mode, your debug mode, and the filepaths for the templates your CLI uses to make your search and export processes easier. -You can use these `set` commands to configure your CLI settings: +You can use these `set` commands to configure your CLI settings: - [Set](#set) - [Auth](#auth) @@ -30,27 +30,27 @@ You can use these `set` commands to configure your CLI settings: ### Auth -To set the current authentication method for the CLI, run this command: +To set the current authentication method for the CLI, run this command: ```shell sail set auth {authentication type} ``` -You can currently set authentication to either `pat` to use a personal access token (PAT), or `oauth` to use OAuth2 authentication via browser authentication. +You can currently set authentication to either `pat` to use a personal access token (PAT), or `oauth` to use OAuth2 authentication via browser authentication. ### Debug -To enable debug mode, run this command: +To enable debug mode, run this command: ```shell sail set debug enable ``` -To disable debug mode, run the same command with `disable` instead. +To disable debug mode, run the same command with `disable` instead. ### PAT -To configure PAT authentication for a given environment, run this command: +To configure PAT authentication for a given environment, run this command: ```shell sail set pat @@ -62,7 +62,7 @@ Then follow the prompts to provide your PAT client ID and client secret. ### Search templates -To set the filepath for the search templates your CLI uses, run this command: +To set the filepath for the search templates your CLI uses, run this command: ```shell sail set searchTemplates "path/to/search/template/file" @@ -74,14 +74,14 @@ sail set search "path/to/search/template/file" #### File format -Here are a couple examples of the file format a search template uses: +Here are a couple examples of the file format a search template uses: ```json [ { "name": "all-provisioning-events", "description": "All provisioning events in the tenant for a given time range", - "variables": [{ "name": "days", "prompt": "Days before today" }], + "variables": [{"name": "days", "prompt": "Days before today"}], "searchQuery": { "indices": ["events"], "queryType": null, @@ -111,11 +111,11 @@ Here are a couple examples of the file format a search template uses: ] ``` -In the first example, the template uses variables in its query. The second example is a fully predefined template without variables. +In the first example, the template uses variables in its query. The second example is a fully predefined template without variables. ### Export templates -To set the filepath for the export templates your CLI uses, run this command: +To set the filepath for the export templates your CLI uses, run this command: ```shell sail set exportTemplates "path/to/export/template/file" @@ -127,7 +127,8 @@ sail set export "path/to/export/template/file" #### File format -Here is an example of the file format an export template uses: +Here is an example of the file format an export template uses: + ```json [ { diff --git a/docs/tools/cli/transforms.md b/docs/tools/cli/transforms.md index 6d9ed1d76..666d583eb 100644 --- a/docs/tools/cli/transforms.md +++ b/docs/tools/cli/transforms.md @@ -6,22 +6,22 @@ sidebar_label: Transforms sidebar_position: 6 sidebar_class_name: cli-transforms keywords: ['cli', 'cli transforms', 'transforms'] -description: Learn about the CLI commands you can use to create, manage, and test transforms in this guide. +description: Learn about the CLI commands you can use to create, manage, and test transforms in this guide. slug: /tools/cli/transforms tags: ['CLI'] --- # Transforms -Learn about the CLI commands you can use to create, manage, and test transforms in this guide. +Learn about the CLI commands you can use to create, manage, and test transforms in this guide. -In Identity Security Cloud (ISC), you can use transforms to manipulate attribute data without writing any code. For more information about transforms, refer to [Transforms](/docs/extensibility/transforms). +In Identity Security Cloud (ISC), you can use transforms to manipulate attribute data without writing any code. For more information about transforms, refer to [Transforms](/docs/extensibility/transforms). -With the `transforms` command, it's it easy to create, manage, and test transforms in the CLI. +With the `transforms` command, it's it easy to create, manage, and test transforms in the CLI. ## Commands -To create, manage, and test transforms with the CLI, you can use these commands: +To create, manage, and test transforms with the CLI, you can use these commands: - [Transforms](#transforms) - [Commands](#commands) @@ -33,13 +33,13 @@ To create, manage, and test transforms with the CLI, you can use these commands: ## List transforms -To get a list of the transforms available in your tenant, run this command: +To get a list of the transforms available in your tenant, run this command: ```shell sail transform list ``` -This command produces a table of available transforms. +This command produces a table of available transforms. ![Transform List](./assets/img/vhs/transform-list.gif) @@ -55,7 +55,7 @@ By default, this command will save the files in the current working directory. U ![Transform Download](./assets/img/vhs/transform-download.gif) -This command will overwrite any existing files with the same name, so be careful when you run this in a directory that has transforms that have been modified but not yet saved. +This command will overwrite any existing files with the same name, so be careful when you run this in a directory that has transforms that have been modified but not yet saved. ## Create transform @@ -89,9 +89,9 @@ To delete multiple transforms, use this syntax: sail transform delete ``` -You can use this command in conjunction with the `ls` command to find the ID of the transform you want to delete. +You can use this command in conjunction with the `ls` command to find the ID of the transform you want to delete. -This is an example of how you can find a transform ID and delete it: +This is an example of how you can find a transform ID and delete it: ```shell sail transform list diff --git a/docs/tools/cli/va.md b/docs/tools/cli/va.md index 3dc27faf6..3b8f2b959 100644 --- a/docs/tools/cli/va.md +++ b/docs/tools/cli/va.md @@ -1,26 +1,28 @@ --- id: cli-va -title: VA +title: VA pagination_label: CLI VA sidebar_label: VA sidebar_position: 7 sidebar_class_name: cli-va keywords: ['cli', 'va'] -description: Learn about the CLI commands you can use to interact with VAs in this guide. +description: Learn about the CLI commands you can use to interact with VAs in this guide. slug: /tools/cli/va tags: ['CLI'] --- + # VA -Learn about the CLI commands you can use to interact with VAs in this guide. +Learn about the CLI commands you can use to interact with VAs in this guide. -A virtual appliance (VA) is a Linux-based virtual machine that connects to your sources and applications in ISC by using APIs, connectors, and other integrations SailPoint has made available. +A virtual appliance (VA) is a Linux-based virtual machine that connects to your sources and applications in ISC by using APIs, connectors, and other integrations SailPoint has made available. -For more information about VAs, refer to the [Virtual Appliance Reference Guide](https://community.sailpoint.com/t5/IdentityNow-Connectors/Virtual-Appliance-Reference-Guide/ta-p/74641?_ga=2.265747530.43742715.1681135659-1245631791.1680185785&_gl=1*1bevvkq*_ga*MTI0NTYzMTc5MS4xNjgwMTg1Nzg1*_ga_SS72Z4HXJM*MTY4MTMwOTc1MC4yOS4xLjE2ODEzMDk5MzkuMjguMC4w). +For more information about VAs, refer to the [Virtual Appliance Reference Guide](https://community.sailpoint.com/t5/IdentityNow-Connectors/Virtual-Appliance-Reference-Guide/ta-p/74641?_ga=2.265747530.43742715.1681135659-1245631791.1680185785&_gl=1*1bevvkq*_ga*MTI0NTYzMTc5MS4xNjgwMTg1Nzg1*_ga_SS72Z4HXJM*MTY4MTMwOTc1MC4yOS4xLjE2ODEzMDk5MzkuMjguMC4w). ## Commands -To use the CLI to interact with VAs connected to your tenant, run these commands: +To use the CLI to interact with VAs connected to your tenant, run these commands: + - [VA](#va) - [Commands](#commands) - [Collect](#collect) @@ -33,30 +35,31 @@ To use the CLI to interact with VAs connected to your tenant, run these commands - [Flags](#flags-2) - [Example](#example-2) -### Collect +### Collect -To collect all files from a VA, run this command: +To collect all files from a VA, run this command: ```shell sail va collect {VA IP address} {flags} -``` +``` -This command gets all files from the VA and saves them to the current working directory (the directory you're in), unless you specify flags. +This command gets all files from the VA and saves them to the current working directory (the directory you're in), unless you specify flags. #### Flags -You can add these flags to the the `collect` command: -- `-o, --output`: Set the path to save the files to. If the directory doesn't exist, the CLI creates it. The default directory is the current working directory. -- `-c, --config`: Only get config files. +You can add these flags to the the `collect` command: + +- `-o, --output`: Set the path to save the files to. If the directory doesn't exist, the CLI creates it. The default directory is the current working directory. +- `-c, --config`: Only get config files. - `-h, --help`: View the command's help with examples within the CLI. -- `-l, --logs`: Only get log files. +- `-l, --logs`: Only get log files. #### Example -Here is an example command and response: +Here is an example command and response: ```shell -sail va collect 10.10.10.25 10.10.10.26 -p S@ilp0int -p S@ilp0int +sail va collect 10.10.10.25 10.10.10.26 -p S@ilp0int -p S@ilp0int 2023/10/05 22:19:19 INFO Starting File Collection VA=10.10.10.26 2023/10/05 22:19:19 INFO Starting File Collection VA=10.10.10.25 2023/10/05 22:19:19 WARN Skipping file file=/home/sailpoint/proxy.yaml VA=10.10.10.25 @@ -73,40 +76,41 @@ sail va collect 10.10.10.25 10.10.10.26 -p S@ilp0int -p S@ilp0int ### Parse -This command converts log files into a human-readable format. It's helpful when you want to troubleshoot VA issues. +This command converts log files into a human-readable format. It's helpful when you want to troubleshoot VA issues. -To parse log files, run this command: +To parse log files, run this command: ```shell sail va parse {log file} {flags} ``` -By default, this command parses all errors in the log files, not all log traffic - you can use flags to parse all log traffic. +By default, this command parses all errors in the log files, not all log traffic - you can use flags to parse all log traffic. #### Flags -You can add these flags to the `parse` command: -- `--type`: +You can add these flags to the `parse` command: + +- `--type`: - `canal` Specify that the provided files are Canal log files. - - `ccg` Specify that the provided files are CCG log files. -- `-e, --everything`: Parse all log traffic, not just errors. -- `-h, --help`: View the command's help with examples within the CLI. + - `ccg` Specify that the provided files are CCG log files. +- `-e, --everything`: Parse all log traffic, not just errors. +- `-h, --help`: View the command's help with examples within the CLI. #### Example -Here is an example command: +Here is an example command: ```shell sail va parse --type ccg ./path/to/ccg.log ./path/to/ccg.log --all -or +or -sail va parse --type canal ./path/to/canal.log ./path/to/canal.log +sail va parse --type canal ./path/to/canal.log ./path/to/canal.log ``` ### Update -To update a VA, run this command: +To update a VA, run this command: ```shell sail va update {VA IP address} {flags} @@ -115,16 +119,17 @@ sail va update {VA IP address} {flags} #### Flags You can add these flags to the `update` command: + - `-h, --help`: View the command's help with examples within the CLI. #### Example -Here is an example command: +Here is an example command: ```shell sail va update 10.10.10.25 -or +or sail va update 10.10.10.25 -p S@ilp0int ``` diff --git a/docs/tools/cli/workflow.md b/docs/tools/cli/workflow.md index fcebd0989..942a9bc44 100644 --- a/docs/tools/cli/workflow.md +++ b/docs/tools/cli/workflow.md @@ -13,13 +13,14 @@ tags: ['CLI'] # Workflows -Learn how to use the SailPoint CLI to create, manage, and test workflows in this guide. +Learn how to use the SailPoint CLI to create, manage, and test workflows in this guide. -A workflow is a set of steps that are completed whenever a specific event occurs. Once that event triggers the workflow, the workflow performs the steps within Identity Security Cloud. +A workflow is a set of steps that are completed whenever a specific event occurs. Once that event triggers the workflow, the workflow performs the steps within Identity Security Cloud. The `workflow` command makes it easy to create, manage, and test workflows from within the SailPoint CLI. To learn more about workflows, refer to [Workflows](https://documentation.sailpoint.com/saas/help/workflows/workflow-basics.html?h=workflow). - [Workflows](#workflows) + - [List workflows](#list-workflows) - [Get workflow](#get-workflow) - [Create workflow](#create-workflow) @@ -28,147 +29,147 @@ The `workflow` command makes it easy to create, manage, and test workflows from - [Update workflow](#update-workflow) - [File path](#file-path-1) - [Folder path](#folder-path-1) - - [Delete workflow](#delete-workflow) + - [Delete workflow](#delete-workflow) - [Download workflow](#download-workflow) - [Folder](#folder) - ## List workflows + ## List workflows - To manage workflows in the SailPoint CLI, you need to know which workflows are available, and you may need to know their IDs. Run this command to list the workflows in your tenant: + To manage workflows in the SailPoint CLI, you need to know which workflows are available, and you may need to know their IDs. Run this command to list the workflows in your tenant: ```shell - sail workflow list + sail workflow list ``` - The CLI will return a table of the available workflows in your tenant, with their IDs. + The CLI will return a table of the available workflows in your tenant, with their IDs. - This command uses the [List Workflows endpoint](https://developer.sailpoint.com/docs/api/beta/list-workflows). + This command uses the [List Workflows endpoint](https://developer.sailpoint.com/docs/api/beta/list-workflows). - ## Get workflow + ## Get workflow - Once you have a workflow's ID, you can see view all its details. Run this command to get a workflow by ID: + Once you have a workflow's ID, you can see view all its details. Run this command to get a workflow by ID: ```shell sail workflow get {workflow ID} ``` - Here is an example command: + Here is an example command: ```shell sail workflow get f691874a-c5a5-426d-9dd4-33129072bafa ``` - The CLI will return the workflow, along with all its details. + The CLI will return the workflow, along with all its details. This command uses the [Get workflow endpoint](https://developer.sailpoint.com/docs/api/beta/get-workflow). - ## Create workflow + ## Create workflow - To create workflows with the SailPoint CLI, you must append the `--file` (`-f` for short) flag to provide a file path for the workflow. Run this command to create a workflow: + To create workflows with the SailPoint CLI, you must append the `--file` (`-f` for short) flag to provide a file path for the workflow. Run this command to create a workflow: ```shell sail workflow create -f {file path} ``` - File paths are relative to the working directory, and only one workflow is allowed per file path. You can provide multiple workflows by specifying multiple file paths as arguments: + File paths are relative to the working directory, and only one workflow is allowed per file path. You can provide multiple workflows by specifying multiple file paths as arguments: ```shell sail workflow create -f {file path} {file-path} ``` - Here is an example command: + Here is an example command: ```shell sail workflow create -f ./workflow-file.json ``` - Once you create the workflow, it will be located in the file path you specified. + Once you create the workflow, it will be located in the file path you specified. - This command uses the [Create workflow endpoint](https://developer.sailpoint.com/docs/api/beta/create-workflow). + This command uses the [Create workflow endpoint](https://developer.sailpoint.com/docs/api/beta/create-workflow). - ### File path + ### File path - The first flag you can append when you are creating workflows is required, the `--file` (`-f` for short) flag. This flag specifies the file path for the workflow you are going to create. - - You can specify multiple file paths with one workflow create command. + The first flag you can append when you are creating workflows is required, the `--file` (`-f` for short) flag. This flag specifies the file path for the workflow you are going to create. + + You can specify multiple file paths with one workflow create command. ### Folder path - The second flag you can append when you are creating workflows is the `--directory` (`-d` for short) flag. Appending the `-d` flag specifies a directory, or folder path, of workflows to contain the created workflow. + The second flag you can append when you are creating workflows is the `--directory` (`-d` for short) flag. Appending the `-d` flag specifies a directory, or folder path, of workflows to contain the created workflow. - Here is what the command looks like with the `-d` flag: + Here is what the command looks like with the `-d` flag: ```shell sail workflow create -d {folder-path} ``` - You can also provide multiple workflow directories by specifying multiple folder paths as arguments: + You can also provide multiple workflow directories by specifying multiple folder paths as arguments: ```shell sail workflow create -d {folder-path} {folder-path} ``` - ## Update workflow + ## Update workflow - To update workflows with the SailPoint CLI, you must append the `--file` (`-f` for short) flag to provide a file path for the updated workflow. Run this command to update a workflow: + To update workflows with the SailPoint CLI, you must append the `--file` (`-f` for short) flag to provide a file path for the updated workflow. Run this command to update a workflow: ```shell - sail workflow update -f {file-path} + sail workflow update -f {file-path} ``` - You can also provide multiple workflows by specifying multiple file paths as arguments: + You can also provide multiple workflows by specifying multiple file paths as arguments: ```shell sail workflow update -f {file-path} {file-path} ``` - Here is an example command: + Here is an example command: ```shell sail workflow create -f ./workflow-file.json ``` - The updated workflow will be located in the file path you specified. + The updated workflow will be located in the file path you specified. This command uses the [Update workflow endpoint](https://developer.sailpoint.com/docs/api/beta/update-workflow). - ### File path + ### File path - The first flag you can append when you are creating workflows is required, the `--file` (`-f` for short) flag. This flag specifies the file path for the workflow you are going to update. - - You can specify multiple file paths with one workflow update command. + The first flag you can append when you are creating workflows is required, the `--file` (`-f` for short) flag. This flag specifies the file path for the workflow you are going to update. - ### Folder path + You can specify multiple file paths with one workflow update command. - The second flag you can append when you are updating workflows is the `--directory` (`-d` for short) flag. Appending the `-d` flag specifies a directory, or folder path, of workflows to contain the updated workflow. + ### Folder path - Here is what the command looks like with the `-d` flag: + The second flag you can append when you are updating workflows is the `--directory` (`-d` for short) flag. Appending the `-d` flag specifies a directory, or folder path, of workflows to contain the updated workflow. + + Here is what the command looks like with the `-d` flag: ```shell sail workflow update -d {folder-path} ``` - You can also provide multiple workflow directories by specifying multiple folder paths as arguments: + You can also provide multiple workflow directories by specifying multiple folder paths as arguments: ```shell sail workflow update -d {folder-path} {folder-path} ``` - ## Delete workflow + ## Delete workflow - To delete workflows with the SailPoint CLI, you must specify the ID of the workflow you want to delete. Run this command to delete a workflow: + To delete workflows with the SailPoint CLI, you must specify the ID of the workflow you want to delete. Run this command to delete a workflow: ```shell sail workflow delete id1 ``` - You can also delete multiple workflows: + You can also delete multiple workflows: ```shell - sail workflow delete id1 id2 + sail workflow delete id1 id2 ``` - You can also delete a list of workflows specified in a file: + You can also delete a list of workflows specified in a file: ```shell sail workflow delete $(cat list_of_workflowIDs.txt) @@ -176,22 +177,22 @@ The `workflow` command makes it easy to create, manage, and test workflows from This command uses the [Delete workflow endpoint](https://developer.sailpoint.com/docs/api/beta/delete-workflow). - ## Download workflow + ## Download workflow - To download workflows with the SailPoint CLI, run this command: + To download workflows with the SailPoint CLI, run this command: ```shell - sail workflow download + sail workflow download ``` - Running this command downloads the available workflow files to the default folder, "workflows". + Running this command downloads the available workflow files to the default folder, "workflows". - ### Folder + ### Folder - By default, workflows downloaded from the CLI are located in the folder, "workflows". To change the folder the workflows are downloaded to, append the `-f` flag to the command, as shown in this example: + By default, workflows downloaded from the CLI are located in the folder, "workflows". To change the folder the workflows are downloaded to, append the `-f` flag to the command, as shown in this example: ```shell sail workflow download -f my-workflows ``` - Running this command downloads the available workflow files. \ No newline at end of file + Running this command downloads the available workflow files. diff --git a/docs/tools/rule-development-kit/index.md b/docs/tools/rule-development-kit/index.md index dbdb06cb1..ae7cd0988 100644 --- a/docs/tools/rule-development-kit/index.md +++ b/docs/tools/rule-development-kit/index.md @@ -5,7 +5,7 @@ pagination_label: RDK sidebar_label: Rule Development Kit sidebar_position: 3 sidebar_class_name: rdk -keywords: ['rule', 'development','kit'] +keywords: ['rule', 'development', 'kit'] description: Rule development made quick and easy. slug: /tools/rule-development-kit tags: ['RDK'] @@ -13,7 +13,7 @@ tags: ['RDK'] ## Start Using the Rule Development Kit -The SailPoint Rule Development Kit (RDK) is a project you can use to develop rules more quickly and easily. +The SailPoint Rule Development Kit (RDK) is a project you can use to develop rules more quickly and easily. In SailPoint solutions, rules serve as flexible configuration frameworks implementers can leverage to preform complex or advanced configurations. To learn more about them, refer to [Rules](../../extensibility/rules/index.md). @@ -23,18 +23,18 @@ Learn how to use the SailPoint RDK in this guide. ## Requirements -* [Java 11](https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html) -* [Apache Maven 3.9.3+](https://maven.apache.org/install.html) - * [Mac OS installation guide](https://www.appsdeveloperblog.com/how-to-install-maven-on-mac-os/) - * [Windows installation guide](https://phoenixnap.com/kb/install-maven-windows) +- [Java 11](https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html) +- [Apache Maven 3.9.3+](https://maven.apache.org/install.html) + - [Mac OS installation guide](https://www.appsdeveloperblog.com/how-to-install-maven-on-mac-os/) + - [Windows installation guide](https://phoenixnap.com/kb/install-maven-windows) ## Clone the project You can find the RDK and its examples in the Github repo [here](https://github.com/sailpoint-oss/rule-development-kit). -To get started, clone the project. +To get started, clone the project. -To clone the project, you can run this command: +To clone the project, you can run this command: ```bash git clone git@github.com:sailpoint-oss/rule-development-kit.git @@ -58,11 +58,11 @@ src/ └── log4j2.properties ``` -* **`src/main/java/`** Use this folder to develop your rules before putting them into the rule XML format. Import objects as needed from `sailpoint.*` +- **`src/main/java/`** Use this folder to develop your rules before putting them into the rule XML format. Import objects as needed from `sailpoint.*` -* **`src/main/resources/rules/`** Use this folder to store your rules in the XML format you would expect to upload to Identity Security Cloud (ISC). +- **`src/main/resources/rules/`** Use this folder to store your rules in the XML format you would expect to upload to Identity Security Cloud (ISC). -* **`src/test/java/sailpoint/`** Use this folder for test classes to test your rules. +- **`src/test/java/sailpoint/`** Use this folder for test classes to test your rules. ## Install depedencies @@ -230,13 +230,13 @@ public class UsernameGenerator { ## Convert the rule to XML format -The final step required before you can test your rule is converting it to XML format. These XML files are stored under the `/src/main/resources/rules` directory in the RDK. You can find the `AttributeGenerator` template file [here](/docs/extensibility/rules/cloud-rules/account-profile-attribute-generator#template). +The final step required before you can test your rule is converting it to XML format. These XML files are stored under the `/src/main/resources/rules` directory in the RDK. You can find the `AttributeGenerator` template file [here](/docs/extensibility/rules/cloud-rules/account-profile-attribute-generator#template). Replace `Example Rule` with the preferred name of your rule, and add a short description. ### Copy over imports for the rule -Copy over the imports the rule needs. +Copy over the imports the rule needs. ```xml @@ -260,7 +260,7 @@ import sailpoint.tools.GeneralException; ### Copy the rule logic -Copy the logic of your rule inside the class you created earlier. +Copy the logic of your rule inside the class you created earlier. :::caution @@ -499,15 +499,15 @@ Once your rule is saved in the XML format, you can begin testing. ## Testing rules -Before submitting your rule for review, it's essential that you test it. You can use the RDK to do so. +Before submitting your rule for review, it's essential that you test it. You can use the RDK to do so. -By default, the RDK uses the [Mockito](https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html) library to mock objects and return mocked results for testing your rule logic. +By default, the RDK uses the [Mockito](https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html) library to mock objects and return mocked results for testing your rule logic. ### Create your test class -Create a new class at `/src/test/java/sailpoint` named `UsernameGeneratorTest`. This class will serve as your test class. +Create a new class at `/src/test/java/sailpoint` named `UsernameGeneratorTest`. This class will serve as your test class. -### Configure the logging and rule file +### Configure the logging and rule file Create a logger instance with the name of your test class and set the `RULE_FILENAME` to the rule you want to test. @@ -544,7 +544,7 @@ when(identity.getStringAttribute("otherName")).thenReturn(""); ### Pass the mocked objects into the interpreter -Pass the variables you mocked so that when the rule uses these objects, they return your mocked values. +Pass the variables you mocked so that when the rule uses these objects, they return your mocked values. ```java i.set("log", log); @@ -579,7 +579,7 @@ To run the test with Maven, open the terminal and in the root of the project, ru mvn test -Dtest="UsernameGeneratorTest" ``` -Run all tests in the tests directory: +Run all tests in the tests directory: ```bash mvn test @@ -596,11 +596,11 @@ When your test runs, you will see the output of your logs. These logs can help w 13:02:18.233 [main] DEBUG sailpoint.UsernameGeneratorTest - AD Create User Name | Exit from the GenerateUsername Method 13:02:18.237 [main] INFO sailpoint.UsernameGeneratorTest - Beanshell script returned: tyler.s [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.912 s -- in sailpoint.UsernameGeneratorTest -[INFO] +[INFO] [INFO] Results: -[INFO] +[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 -[INFO] +[INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ diff --git a/docs/tools/sdk/_category_.json b/docs/tools/sdk/_category_.json index 5e0e7bf42..9548d4f09 100644 --- a/docs/tools/sdk/_category_.json +++ b/docs/tools/sdk/_category_.json @@ -1,5 +1,5 @@ { - "customProps": { - "description": "Streamlined development in your language of choice" - } -} \ No newline at end of file + "customProps": { + "description": "Streamlined development in your language of choice" + } +} diff --git a/docs/tools/sdk/go/creating-resources.md b/docs/tools/sdk/go/creating-resources.md index 192b28c86..869170bce 100644 --- a/docs/tools/sdk/go/creating-resources.md +++ b/docs/tools/sdk/go/creating-resources.md @@ -6,7 +6,7 @@ sidebar_label: Create a resource sidebar_position: 2 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'create'] -description: Learn how to create new resources the Golang SDK in this guide. +description: Learn how to create new resources the Golang SDK in this guide. slug: /tools/sdk/go/create tags: ['SDK', 'Software Development Kit'] --- diff --git a/docs/tools/sdk/go/deleting-resources.md b/docs/tools/sdk/go/deleting-resources.md index 149b41ba1..f789238de 100644 --- a/docs/tools/sdk/go/deleting-resources.md +++ b/docs/tools/sdk/go/deleting-resources.md @@ -6,7 +6,7 @@ sidebar_label: Delete a resource sidebar_position: 4 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'delete'] -description: Learn how to delete resources with the Golang SDK in this guide. +description: Learn how to delete resources with the Golang SDK in this guide. slug: /tools/sdk/go/delete tags: ['SDK', 'Software Development Kit'] --- @@ -49,7 +49,7 @@ func main() { } ``` -To run the code, run this command: +To run the code, run this command: ```go go run sdk.go diff --git a/docs/tools/sdk/go/error-handling.md b/docs/tools/sdk/go/error-handling.md index 92f7618be..a57cc1d2b 100644 --- a/docs/tools/sdk/go/error-handling.md +++ b/docs/tools/sdk/go/error-handling.md @@ -6,7 +6,7 @@ sidebar_label: Error Handling sidebar_position: 8 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'error'] -description: Learn how to handle errors with the Golang SDK in this guide. +description: Learn how to handle errors with the Golang SDK in this guide. slug: /tools/sdk/go/error-handling tags: ['SDK', 'Software Development Kit'] --- diff --git a/docs/tools/sdk/go/getting-started.md b/docs/tools/sdk/go/getting-started.md index 1b7ec3490..2756c1c25 100644 --- a/docs/tools/sdk/go/getting-started.md +++ b/docs/tools/sdk/go/getting-started.md @@ -6,7 +6,7 @@ sidebar_label: Getting Started sidebar_position: 1 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'start'] -description: Learn how to use the Golang SDK in this guide. +description: Learn how to use the Golang SDK in this guide. slug: /tools/sdk/go/getting-started tags: ['SDK', 'Software Development Kit'] --- diff --git a/docs/tools/sdk/go/pagination.md b/docs/tools/sdk/go/pagination.md index 70dfecc03..42bfbd361 100644 --- a/docs/tools/sdk/go/pagination.md +++ b/docs/tools/sdk/go/pagination.md @@ -6,7 +6,7 @@ sidebar_label: Paginate Results sidebar_position: 5 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'paginate'] -description: Learn how to paginate results with the Golang SDK in this guide. +description: Learn how to paginate results with the Golang SDK in this guide. slug: /tools/sdk/go/paginate tags: ['SDK', 'Software Development Kit'] --- diff --git a/docs/tools/sdk/go/retries.md b/docs/tools/sdk/go/retries.md index dafe8d0ab..c7f24c0ad 100644 --- a/docs/tools/sdk/go/retries.md +++ b/docs/tools/sdk/go/retries.md @@ -6,12 +6,12 @@ sidebar_label: Retries sidebar_position: 7 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'retry'] -description: Learn how to paginate results with the Golang SDK in this guide. +description: Learn how to paginate results with the Golang SDK in this guide. slug: /tools/sdk/go/retries tags: ['SDK', 'Software Development Kit'] --- -The SDK uses the [go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) module to support retry logic. +The SDK uses the [go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) module to support retry logic. On line 17-18 of the following example, the SDK is set to retry if there is an unexpected error up to 10 times and wait 2 seconds between each retry: diff --git a/docs/tools/sdk/go/search.md b/docs/tools/sdk/go/search.md index 40c77a6eb..90c12558f 100644 --- a/docs/tools/sdk/go/search.md +++ b/docs/tools/sdk/go/search.md @@ -6,7 +6,7 @@ sidebar_label: Search sidebar_position: 5 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'search'] -description: Learn how to search with the Golang SDK in this guide. +description: Learn how to search with the Golang SDK in this guide. slug: /tools/sdk/go/search tags: ['SDK', 'Software Development Kit'] --- @@ -85,4 +85,4 @@ resp, r, err := sailpoint.PaginateSearchApi(ctx, apiClient, *search, 0, 10, 1000 The first value refers to the `initialOffset`, the starting number for the results, the second refers to the `increment`, the number of records per page, and the third refers to the `limit`, the last record that can be returned. -For example, changing the first number to `21`, the second to `20`, and the third to `40` would configure the search to return records 21 to 40 and then stop. \ No newline at end of file +For example, changing the first number to `21`, the second to `20`, and the third to `40` would configure the search to return records 21 to 40 and then stop. diff --git a/docs/tools/sdk/go/updating-resources.md b/docs/tools/sdk/go/updating-resources.md index ef4fb6cbf..5fc4530d7 100644 --- a/docs/tools/sdk/go/updating-resources.md +++ b/docs/tools/sdk/go/updating-resources.md @@ -6,7 +6,7 @@ sidebar_label: Update a resource sidebar_position: 3 sidebar_class_name: gosdk keywords: ['go', 'golang', 'sdk', 'update'] -description: Learn how to update resources with the Golang SDK. +description: Learn how to update resources with the Golang SDK. slug: /tools/sdk/go/update tags: ['SDK', 'Software Development Kit'] --- @@ -57,7 +57,7 @@ func main() { ``` -To run the code, run this command: +To run the code, run this command: ```go go run sdk.go @@ -79,4 +79,4 @@ The updated WorkGroup will be returned by the SDK: "type": "IDENTITY" } } -``` \ No newline at end of file +``` diff --git a/docs/tools/sdk/index.md b/docs/tools/sdk/index.md index d7d8b39c4..68d5e9f7c 100644 --- a/docs/tools/sdk/index.md +++ b/docs/tools/sdk/index.md @@ -13,7 +13,7 @@ tags: ['SDK'] ## Overview -The SailPoint software development kits (SDKs) make it easier for developers to leverage the Identity Security Cloud (ISC) APIs, extensibility options, and connectivity while they build with their preferred coding languages. +The SailPoint software development kits (SDKs) make it easier for developers to leverage the Identity Security Cloud (ISC) APIs, extensibility options, and connectivity while they build with their preferred coding languages. ```mdx-code-block import DocCardList from '@theme/DocCardList'; @@ -22,8 +22,8 @@ import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; ``` -## Discuss +## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the ISC SDKs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). \ No newline at end of file +To learn more about the ISC SDKs and discuss them with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/isc/6). diff --git a/docs/tools/sdk/powershell/creating-resources.md b/docs/tools/sdk/powershell/creating-resources.md index 008becec2..e2fd8ecfb 100644 --- a/docs/tools/sdk/powershell/creating-resources.md +++ b/docs/tools/sdk/powershell/creating-resources.md @@ -19,7 +19,7 @@ To see a list of available create cmdlets, run this command: Get-Command -Module PSSailpoint | where-object {$_.name -like "*New-*" } | Sort-Object Name | Get-Help | Format-Table Name, Synopsis ``` -The SDK returns this output (all beta endpoints are designated by the Beta prefix): +The SDK returns this output (all beta endpoints are designated by the Beta prefix): ```powershell Name Synopsis @@ -60,10 +60,10 @@ $JSON = @" $WorkGroup = ConvertFrom-BetaJsonToWorkgroupDto -Json $JSON -$WorkGroup = Initialize-BetaWorkgroupDto -Name "DB Access Governance Group" -Description "Description of the Governance Group" -Owner @{ +$WorkGroup = Initialize-BetaWorkgroupDto -Name "DB Access Governance Group" -Description "Description of the Governance Group" -Owner @{ "type" = "IDENTITY" "id" = $Identity.id - "name" = $Identity.name + "name" = $Identity.name } New-BetaWorkgroup -WorkgroupDto $WorkGroup @@ -86,6 +86,6 @@ memberCount 0 connectionCount 0 id a241d625-d948-4c41-839e-869b790837a1 name DB Access Governance Group -created -modified +created +modified ``` diff --git a/docs/tools/sdk/powershell/deleting-resources.md b/docs/tools/sdk/powershell/deleting-resources.md index 4e984acd8..72362e970 100644 --- a/docs/tools/sdk/powershell/deleting-resources.md +++ b/docs/tools/sdk/powershell/deleting-resources.md @@ -26,7 +26,7 @@ Using the [WithHttpInfo Switch](./getting-started.md#withhttpinfo-switch) in the ```powershell Name Value ---- ----- -Response +Response StatusCode 204 Headers {[Date, System.String[]], [Connection, System.String[]], [Server, System.String[]], [Vary, System.String[]]…} ``` diff --git a/docs/tools/sdk/powershell/error-handling.md b/docs/tools/sdk/powershell/error-handling.md index 490a6e50b..e4e48d3f4 100644 --- a/docs/tools/sdk/powershell/error-handling.md +++ b/docs/tools/sdk/powershell/error-handling.md @@ -18,7 +18,7 @@ You can use a `try/catch` function to intercept any non success response and tak ```powershell # Catch any non 2xx response and log the status code and error message try { - Get-Transforms -Filters "id eq" + Get-Transforms -Filters "id eq" } catch { Write-Host $_.Exception.Response.StatusCode.value__ @@ -33,7 +33,7 @@ This code ensures that the `Get-AccessProfiles` cmdlet will never be called: ```powershell # Catch any non 2xx response and log the status code and error message. Stop the script with the Exit keyword. try { - Get-Transforms -Filters "id eq" + Get-Transforms -Filters "id eq" } catch { Write-Host $_.Exception.Response.StatusCode.value__ diff --git a/docs/tools/sdk/powershell/getting-started.md b/docs/tools/sdk/powershell/getting-started.md index bd8f2d690..20a7b7bd3 100644 --- a/docs/tools/sdk/powershell/getting-started.md +++ b/docs/tools/sdk/powershell/getting-started.md @@ -71,42 +71,42 @@ Get-Help Get-Transforms -Detailed ```text NAME Get-Transforms - + SYNOPSIS List transforms - - + + SYNTAX Get-Transforms [[-Offset] ] [[-Limit] ] [[-Count] ] [[-Name] ] [[-Filters] ] [-WithHttpInfo] [] - - + + DESCRIPTION Gets a list of all saved transform objects. A token with 'transforms-list read' authority is required to call this API. - + PARAMETERS -Offset - Offset into the full result set. Usually specified with *limit* to paginate through the results. For more information, refer to [V3 API Standard Collection + Offset into the full result set. Usually specified with *limit* to paginate through the results. For more information, refer to [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters). - + -Limit Max number of results to return. For more information, refer to [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters). - + -Count - If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a - performance impact, it is recommended not to send **count=true** if that value will not be used. For more information, refer to [V3 API Standard Collection + If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a + performance impact, it is recommended not to send **count=true** if that value will not be used. For more information, refer to [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters). - + -Name Name of the transform to retrieve from the list. - + -Filters - Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results). Filtering is + Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/docs/api/standard-collection-parameters#filtering-results). Filtering is supported for the following fields and operators: **internal**: *eq* **name**: *eq, sw* - + -WithHttpInfo [] A switch that, when enabled, will return a hash table of Response, StatusCode and Headers, instead of just the Response. - + This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, diff --git a/docs/tools/sdk/powershell/pagination.md b/docs/tools/sdk/powershell/pagination.md index e3b17d635..0a9c8fba0 100644 --- a/docs/tools/sdk/powershell/pagination.md +++ b/docs/tools/sdk/powershell/pagination.md @@ -32,7 +32,6 @@ try { } ``` - The `Invoke-Paginate` cmdlet takes a few paramters. The first is the cmdlet you wish to call. The `-Function` specifies the name of the cmdlet you wish to call. This only works on list endpoints. @@ -43,6 +42,6 @@ The `-Limit` specifies the total number of results you can return, 1000. The `-Parameters` specifies a hashtable of additional values passed to the API endpoint. You would use this for `filters`, `sorters`, and any other query parameters. -You can also provide an `-InitialOffset` value to specify the record number to start the request on. For example, you can provide add `-InitialOffset 10` to start getting accounts from 11 instead of 0. +You can also provide an `-InitialOffset` value to specify the record number to start the request on. For example, you can provide add `-InitialOffset 10` to start getting accounts from 11 instead of 0. To find out whether an endpoint supports pagination, refer to its documentation. Any API supporting pagination lists the optional query parameters detailed in [Paginating Results](/docs/api/standard-collection-parameters/#paginating-results). diff --git a/docs/tools/sdk/powershell/retries.md b/docs/tools/sdk/powershell/retries.md index e36a7f046..5b651d130 100644 --- a/docs/tools/sdk/powershell/retries.md +++ b/docs/tools/sdk/powershell/retries.md @@ -11,11 +11,10 @@ slug: /tools/sdk/powershell/retries tags: ['SDK'] --- - The SDK supports retry logic in the case of an unexpected error. You have these two retry configuration options: -* MaximumRetryCount - How many times to retry the request. Default is 10 retries. -* RetryIntervalSeconds - How many seconds to wait between retries. Default is 5 seconds. +- MaximumRetryCount - How many times to retry the request. Default is 10 retries. +- RetryIntervalSeconds - How many seconds to wait between retries. Default is 5 seconds. The following code will tell the SDK to retry 2 times after an unexpected error and wait 3 seconds between retries. diff --git a/docs/tools/sdk/powershell/updating-resources.md b/docs/tools/sdk/powershell/updating-resources.md index f1ce2ddcf..4fe474d19 100644 --- a/docs/tools/sdk/powershell/updating-resources.md +++ b/docs/tools/sdk/powershell/updating-resources.md @@ -19,7 +19,7 @@ To see a list of available create cmdlets, run this command: Get-Command -Module PSSailpoint | where-object {$_.name -like "*Update-*" } | Sort-Object Name | Get-Help | Format-Table Name, Synopsis ``` -The SDK returns this output (all beta endpoints are designated by the Beta prefix): +The SDK returns this output (all beta endpoints are designated by the Beta prefix): ```powershell Name Synopsis diff --git a/docs/tools/sdk/typescript/creating-resources.md b/docs/tools/sdk/typescript/creating-resources.md index 744bfa7cd..aa799e433 100644 --- a/docs/tools/sdk/typescript/creating-resources.md +++ b/docs/tools/sdk/typescript/creating-resources.md @@ -16,33 +16,37 @@ You can use the SDK to create new resources. Here is an example create workgroup script from the beta APIs you can copy into your typescript project to try it out: ```typescript showLineNumbers -import {Configuration, GovernanceGroupsBetaApi, GovernanceGroupsBetaApiCreateWorkgroupRequest, PublicIdentitiesApi} from "sailpoint-api-client" +import { + Configuration, + GovernanceGroupsBetaApi, + GovernanceGroupsBetaApiCreateWorkgroupRequest, + PublicIdentitiesApi, +} from 'sailpoint-api-client'; const createWorkGroup = async () => { - let apiConfig = new Configuration() - let identitiesApi = new PublicIdentitiesApi(apiConfig) + let apiConfig = new Configuration(); + let identitiesApi = new PublicIdentitiesApi(apiConfig); - let identity = (await identitiesApi.getPublicIdentities({limit: 1})).data[0] + let identity = (await identitiesApi.getPublicIdentities({limit: 1})).data[0]; - let api = new GovernanceGroupsBetaApi(apiConfig) - let workgroup: GovernanceGroupsBetaApiCreateWorkgroupRequest = { - workgroupDtoBeta: { - name: "DB Access Governance Group", - description: "Description of the Governance Group", - owner: { - id: identity.id, - type: "IDENTITY", - name: identity.name - } - } - } + let api = new GovernanceGroupsBetaApi(apiConfig); + let workgroup: GovernanceGroupsBetaApiCreateWorkgroupRequest = { + workgroupDtoBeta: { + name: 'DB Access Governance Group', + description: 'Description of the Governance Group', + owner: { + id: identity.id, + type: 'IDENTITY', + name: identity.name, + }, + }, + }; - let val = await api.createWorkgroup(workgroup) - console.log(val.data) + let val = await api.createWorkgroup(workgroup); + console.log(val.data); +}; -} - -createWorkGroup() +createWorkGroup(); ``` Run this command to compile and run the code: @@ -73,5 +77,5 @@ The WorkGroup will be returned by the SDK: name: 'DB Access Governance Group', created: null, modified: null -} +} ``` diff --git a/docs/tools/sdk/typescript/deleting-resources.md b/docs/tools/sdk/typescript/deleting-resources.md index d4d395db0..073fae0fd 100644 --- a/docs/tools/sdk/typescript/deleting-resources.md +++ b/docs/tools/sdk/typescript/deleting-resources.md @@ -16,23 +16,31 @@ You can use the SDK to delete resources. Here is an example script that searches for the Workgroup created in [Create a resource](./creating-resources.md) by name and calls the delete method to remove it from your environment. ```typescript -import {Configuration, GovernanceGroupsBetaApi, GovernanceGroupsBetaApiCreateWorkgroupRequest, GovernanceGroupsBetaApiPatchWorkgroupRequest, PublicIdentitiesApi} from "sailpoint-api-client" +import { + Configuration, + GovernanceGroupsBetaApi, + GovernanceGroupsBetaApiCreateWorkgroupRequest, + GovernanceGroupsBetaApiPatchWorkgroupRequest, + PublicIdentitiesApi, +} from 'sailpoint-api-client'; const deleteWorkgroup = async () => { - let apiConfig = new Configuration() - let api = new GovernanceGroupsBetaApi(apiConfig) + let apiConfig = new Configuration(); + let api = new GovernanceGroupsBetaApi(apiConfig); - let workgroup = (await api.listWorkgroups({filters: 'name eq "DB Access Governance Group"'})).data[0] + let workgroup = ( + await api.listWorkgroups({filters: 'name eq "DB Access Governance Group"'}) + ).data[0]; - if (workgroup.id !== undefined) { - let deletionStatus = (await api.deleteWorkgroup({id: workgroup.id})).status - console.log(deletionStatus) - } else { - console.log("Workgroup was not found, id is missing for delete request.") - } -} + if (workgroup.id !== undefined) { + let deletionStatus = (await api.deleteWorkgroup({id: workgroup.id})).status; + console.log(deletionStatus); + } else { + console.log('Workgroup was not found, id is missing for delete request.'); + } +}; -deleteWorkgroup() +deleteWorkgroup(); ``` Run this command to compile and run the code: diff --git a/docs/tools/sdk/typescript/error-handling.md b/docs/tools/sdk/typescript/error-handling.md index c9bdb794e..5f183aa14 100644 --- a/docs/tools/sdk/typescript/error-handling.md +++ b/docs/tools/sdk/typescript/error-handling.md @@ -18,10 +18,10 @@ The first method is to use a `catch` function to intercept any unsuccessful resp ```typescript showLineNumbers // Catch any non 2xx response and log the error message and metadata let transforms = await api.listTransforms().catch(function (error) { - console.log(error.response.data); - console.log(error.response.status); - console.log(error.response.headers); -}) + console.log(error.response.data); + console.log(error.response.status); + console.log(error.response.headers); +}); ``` The second method is to define which HTTP status codes should throw an error for a given request using the `validateStatus` option. This gives you an opportunity to recover from a bad request without exiting the program. @@ -30,17 +30,31 @@ If you don't want the program to exit for 4xx response codes, you can use this c ```typescript showLineNumbers // Resolve only if the status code is less than 500 -let transforms = await api.listTransforms({filters: 'id eq'}, {validateStatus: function (status) { return status < 500 }}) +let transforms = await api.listTransforms( + {filters: 'id eq'}, + { + validateStatus: function (status) { + return status < 500; + }, + }, +); if (transforms.status === 200) { - console.log(transforms) -} else if (transforms.status === 400 ) { - console.log("The filter is invalid. Continuing execution.") + console.log(transforms); +} else if (transforms.status === 400) { + console.log('The filter is invalid. Continuing execution.'); } ``` If you don't want the program to exit for any error response, you can use this configuration: ```typescript -await api.listTransforms({}, {validateStatus: function (status) { return true }}) +await api.listTransforms( + {}, + { + validateStatus: function (status) { + return true; + }, + }, +); ``` diff --git a/docs/tools/sdk/typescript/getting-started.md b/docs/tools/sdk/typescript/getting-started.md index 4b1d425f0..22fa2d1de 100644 --- a/docs/tools/sdk/typescript/getting-started.md +++ b/docs/tools/sdk/typescript/getting-started.md @@ -20,23 +20,23 @@ To make sure that your SDK is connecting to the APIs you need, you can specify t ### List Transforms in your tenant ```typescript -import {Configuration, TransformsApi} from "sailpoint-api-client" +import {Configuration, TransformsApi} from 'sailpoint-api-client'; -const getTransforms = async() => { - // Initialize configuration, this requests a token using your configured credentials - // to be able to call out to APIs - let apiConfig = new Configuration() +const getTransforms = async () => { + // Initialize configuration, this requests a token using your configured credentials + // to be able to call out to APIs + let apiConfig = new Configuration(); - // Initialize the TransformsApi, this creates an instance of the TransformsApi. - // The configuration object is passed in so that the API can add your token to the request - let api = new TransformsApi(apiConfig) + // Initialize the TransformsApi, this creates an instance of the TransformsApi. + // The configuration object is passed in so that the API can add your token to the request + let api = new TransformsApi(apiConfig); - // Call out to your tenant to get the list of transforms. - let transforms = await api.listTransforms() - console.log(transforms) -} + // Call out to your tenant to get the list of transforms. + let transforms = await api.listTransforms(); + console.log(transforms); +}; -getTransforms() +getTransforms(); ``` To compile the file, first run the `tsc src/index.ts` command. This command creates a corresponding `index.js` file you can use to run the SDK. @@ -50,16 +50,19 @@ Using the same SDK function, you can list your transforms but limit the results Refer to [List Transforms](https://developer.sailpoint.com/docs/api/v3/list-transforms) for all its supported query parameters. ```typescript -import {Configuration, TransformsApi} from "sailpoint-api-client" +import {Configuration, TransformsApi} from 'sailpoint-api-client'; -const getTransforms = async() => { - let apiConfig = new Configuration() - let api = new TransformsApi(apiConfig) - let transforms = await api.listTransforms({limit: 10, filters: 'name sw "Test"'}) - console.log(transforms) -} +const getTransforms = async () => { + let apiConfig = new Configuration(); + let api = new TransformsApi(apiConfig); + let transforms = await api.listTransforms({ + limit: 10, + filters: 'name sw "Test"', + }); + console.log(transforms); +}; -getTransforms() +getTransforms(); ``` Run this command to compile and run the code: diff --git a/docs/tools/sdk/typescript/pagination.md b/docs/tools/sdk/typescript/pagination.md index e17694143..3694d90a4 100644 --- a/docs/tools/sdk/typescript/pagination.md +++ b/docs/tools/sdk/typescript/pagination.md @@ -16,18 +16,23 @@ By default, your requests will return a maximum of 250 records. To return more, Pagination is implemented with the SDK in the following code block on line 7: ```typescript showLineNumbers -import {Configuration, AccountsApi, Paginator} from "sailpoint-api-client" +import {Configuration, AccountsApi, Paginator} from 'sailpoint-api-client'; const getPaginatedAccounts = async () => { - let apiConfig = new Configuration() - let api = new AccountsApi(apiConfig) - - const val = await Paginator.paginate(api, api.listAccounts, {limit: 1000}, 250) + let apiConfig = new Configuration(); + let api = new AccountsApi(apiConfig); - console.log(val) -} + const val = await Paginator.paginate( + api, + api.listAccounts, + {limit: 1000}, + 250, + ); -getPaginatedAccounts() + console.log(val); +}; + +getPaginatedAccounts(); ``` Run this command to compile and run the code: diff --git a/docs/tools/sdk/typescript/retries.md b/docs/tools/sdk/typescript/retries.md index a808bd40f..18cf6546c 100644 --- a/docs/tools/sdk/typescript/retries.md +++ b/docs/tools/sdk/typescript/retries.md @@ -14,28 +14,30 @@ tags: ['SDK'] The SDK supports retry logic in the case of an unexpected error. You are able to configure the number of retries and the delay between retries. This logic is implemented in lines 7-12: ```typescript showLineNumbers -import {Configuration, axiosRetry, AccountsApi, Paginator} from "sailpoint-api-client" +import { + Configuration, + axiosRetry, + AccountsApi, + Paginator, +} from 'sailpoint-api-client'; const getPaginatedAccounts = async () => { + let apiConfig = new Configuration(); + apiConfig.retriesConfig = { + retries: 4, + retryDelay: axiosRetry.exponentialDelay, + onRetry(retryCount, error, requestConfig) { + console.log(`retrying due to request error, try number ${retryCount}`); + }, + }; + let api = new AccountsApi(apiConfig); - - let apiConfig = new Configuration() - apiConfig.retriesConfig = { - retries: 4, - retryDelay: axiosRetry.exponentialDelay, - onRetry(retryCount, error, requestConfig) { - console.log(`retrying due to request error, try number ${retryCount}`) - }, - } - let api = new AccountsApi(apiConfig) - - const val = await Paginator.paginate(api, api.listAccounts, {limit: 100}, 10) + const val = await Paginator.paginate(api, api.listAccounts, {limit: 100}, 10); - console.log(val) + console.log(val); +}; -} - -getPaginatedAccounts() +getPaginatedAccounts(); ``` Run this command to compile and run the code: diff --git a/docs/tools/sdk/typescript/search.md b/docs/tools/sdk/typescript/search.md index ec089c0c1..c6e6a1e82 100644 --- a/docs/tools/sdk/typescript/search.md +++ b/docs/tools/sdk/typescript/search.md @@ -15,25 +15,22 @@ To try using the ISC [search functionality](/docs/api/v3/search-post) along with ```typescript const search = async () => { - let apiConfig = new Configuration() - let api = new SearchApi(apiConfig) - let search: Search = { - indices: [ - "identities" - ], - query: { - query: "*" - }, - sort: ["-name"] - } - const val = await Paginator.paginateSearchApi(api, search, 100, 1000) + let apiConfig = new Configuration(); + let api = new SearchApi(apiConfig); + let search: Search = { + indices: ['identities'], + query: { + query: '*', + }, + sort: ['-name'], + }; + const val = await Paginator.paginateSearchApi(api, search, 100, 1000); - for (const result of val.data) { - const castedResult: IdentityDocument = result - console.log(castedResult.name) - } - -} + for (const result of val.data) { + const castedResult: IdentityDocument = result; + console.log(castedResult.name); + } +}; ``` Run this command to compile and run the code: @@ -44,6 +41,6 @@ tsc src/index.ts && node src/index.js This example returns 1000 identities, 100 at a time, and sorts them in descending order by name. You can also change the search pagination by changing "100" and "1000", respectively. -The two main ways you can manipulate this example are to change the `indices` or the `query`. For example, if you add `"access profiles"` to the indices, the SDK will search access profiles too. If you change the query to "a*", the search will return all records starting with the letter "a". +The two main ways you can manipulate this example are to change the `indices` or the `query`. For example, if you add `"access profiles"` to the indices, the SDK will search access profiles too. If you change the query to "a\*", the search will return all records starting with the letter "a". You can also change the sorting logic in the brackets next to `sort`. diff --git a/docs/tools/sdk/typescript/updating-resources.md b/docs/tools/sdk/typescript/updating-resources.md index 623bf13f6..2e42a483d 100644 --- a/docs/tools/sdk/typescript/updating-resources.md +++ b/docs/tools/sdk/typescript/updating-resources.md @@ -16,31 +16,41 @@ You can use the SDK to update resources. Here is an example update WorkGroup script which will update the description for the Workgroup created in [Create a Resource](./creating-resources.md): ```typescript -import {Configuration, GovernanceGroupsBetaApi, GovernanceGroupsBetaApiCreateWorkgroupRequest, GovernanceGroupsBetaApiPatchWorkgroupRequest, PublicIdentitiesApi} from "sailpoint-api-client" +import { + Configuration, + GovernanceGroupsBetaApi, + GovernanceGroupsBetaApiCreateWorkgroupRequest, + GovernanceGroupsBetaApiPatchWorkgroupRequest, + PublicIdentitiesApi, +} from 'sailpoint-api-client'; const updateWorkGroup = async () => { - let apiConfig = new Configuration() - let api = new GovernanceGroupsBetaApi(apiConfig) + let apiConfig = new Configuration(); + let api = new GovernanceGroupsBetaApi(apiConfig); - let workgroup = (await api.listWorkgroups({filters: 'name eq "DB Access Governance Group"'})).data[0] + let workgroup = ( + await api.listWorkgroups({filters: 'name eq "DB Access Governance Group"'}) + ).data[0]; - if (workgroup.id !== undefined) { - let updatedWorkgroup: GovernanceGroupsBetaApiPatchWorkgroupRequest = { - id: workgroup.id, - jsonPatchOperationBeta: [{ - op: "replace", - path: "/description", - value: "This is an updated description for the workgroup." - }] - } - let val = await api.patchWorkgroup(updatedWorkgroup) - console.log(val.data) - } else { - console.log("Workgroup was not found, id is missing for patch request.") - } -} + if (workgroup.id !== undefined) { + let updatedWorkgroup: GovernanceGroupsBetaApiPatchWorkgroupRequest = { + id: workgroup.id, + jsonPatchOperationBeta: [ + { + op: 'replace', + path: '/description', + value: 'This is an updated description for the workgroup.', + }, + ], + }; + let val = await api.patchWorkgroup(updatedWorkgroup); + console.log(val.data); + } else { + console.log('Workgroup was not found, id is missing for patch request.'); + } +}; -updateWorkGroup() +updateWorkGroup(); ``` Run this command to compile and run the code: diff --git a/docs/tools/ui-development-kit/error-handling.md b/docs/tools/ui-development-kit/error-handling.md index dc0de8fad..3af51d463 100644 --- a/docs/tools/ui-development-kit/error-handling.md +++ b/docs/tools/ui-development-kit/error-handling.md @@ -11,18 +11,17 @@ slug: /tools/ui-development-kit/error-handling tags: ['UI', 'Error'] --- -Ideally, everything in your custom UIs will work smoothly, but you will likely encounter errors at some point when you're implementing a page. If you provide an invalid filter or sorter, the list accounts endpoint will return a 400 error, for example. -You can handle this error by adding a `try catch` block to the server side of the accounts list page. +Ideally, everything in your custom UIs will work smoothly, but you will likely encounter errors at some point when you're implementing a page. If you provide an invalid filter or sorter, the list accounts endpoint will return a 400 error, for example. You can handle this error by adding a `try catch` block to the server side of the accounts list page. If any of your backend calls result in a server error or bad request, you also want to handle those errors. -Read this guide to learn how to use the UI Development Kit to handle errors. +Read this guide to learn how to use the UI Development Kit to handle errors. ## 400 Bad Request If you provide an invalid filter or sorter, the [List Accounts Endpoint](https://developer.sailpoint.com/docs/api/v3/list-accounts) returns a 400 error. This example awaits the response and doesn't exit the program when a 4xx level status is received. If a 4xx level status is received, the user is redirected to an error page. -Refer to this code block to learn how to implement error handling for invalid filters or sorters: +Refer to this code block to learn how to implement error handling for invalid filters or sorters: ```typescript import {createConfiguration} from '$lib/sailpoint/sdk.js'; @@ -80,7 +79,7 @@ export const load = async ({url, locals}) => { You can update the code block to handle more than just the 400 level statuses. You can see the highlighted code changes to handle any error response from the API call. You can send back an error to the user with the status, a detailed message, the details about the parameters used that caused the error, and the error response from the API. -Refer to this code block to learn how to implement error handling for other non-400 errors: +Refer to this code block to learn how to implement error handling for other non-400 errors: ```typescript import {createConfiguration} from '$lib/sailpoint/sdk.js'; @@ -136,8 +135,8 @@ export const load = async ({url, locals}) => { }; ``` -## Discuss +## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the ISC UI Development Kit and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/identity-security-cloud/6). \ No newline at end of file +To learn more about the ISC UI Development Kit and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/identity-security-cloud/6). diff --git a/docs/tools/ui-development-kit/index.md b/docs/tools/ui-development-kit/index.md index c81c13dda..098613b2e 100644 --- a/docs/tools/ui-development-kit/index.md +++ b/docs/tools/ui-development-kit/index.md @@ -5,7 +5,7 @@ pagination_label: UDK sidebar_label: UI Development Kit sidebar_position: 4 sidebar_class_name: rudk -keywords: ['UI', 'development','kit'] +keywords: ['UI', 'development', 'kit'] description: Develop custom user interfaces. slug: /tools/ui-development-kit tags: ['UI'] @@ -41,11 +41,11 @@ git clone git@github.com:sailpoint-oss/ui-development-kit.git This project is built on [Svelte-Kit](https://kit.svelte.dev/) and ultimately builds an [Electron](https://www.electronjs.org/) application. -Setting up the project is simple. The environment and application building process are configured so you can start creating custom UIs immediately. However, it is still helpful to understand the project structure. +Setting up the project is simple. The environment and application building process are configured so you can start creating custom UIs immediately. However, it is still helpful to understand the project structure. -Most of your activity will involve the `src` folder, such as adding new pages, routes, and sidebar items. You can learn more about these processes in [Getting Started](./getting-started.mdx). +Most of your activity will involve the `src` folder, such as adding new pages, routes, and sidebar items. You can learn more about these processes in [Getting Started](./getting-started.mdx). -This is the project structure: +This is the project structure: ```bash . @@ -73,7 +73,7 @@ This is the project structure: ## Run the application for local development -To run and develop the project locally, follow these steps: +To run and develop the project locally, follow these steps: 1. In the root of the project run this command to install dependencies: @@ -89,10 +89,10 @@ npm run dev ## Get started -To start learning how to use the UI Development Kit and explore its possibilities, refer to [Getting Started](./getting-started.mdx). +To start learning how to use the UI Development Kit and explore its possibilities, refer to [Getting Started](./getting-started.mdx). -## Discuss +## Discuss -The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. +The most valuable resource for ISC developers is the SailPoint Developer Community itself, where ISC users and experts all over the world come together to ask questions and provide solutions. -To learn more about the ISC UI Development Kit and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/identity-security-cloud/6). \ No newline at end of file +To learn more about the ISC UI Development Kit and discuss it with SailPoint Developer Community members, go to the [SailPoint Developer Community Forum](https://developer.sailpoint.com/discuss/c/identity-security-cloud/6). diff --git a/docusaurus.config.js b/docusaurus.config.js index 838cbee06..6353d5e51 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -79,15 +79,25 @@ const config = { prism: { theme: lightCodeTheme, darkTheme: darkCodeTheme, - additionalLanguages: ['http', 'java', 'ruby', 'php', 'csharp', 'powershell', 'bash', 'go', 'python'], + additionalLanguages: [ + 'http', + 'java', + 'ruby', + 'php', + 'csharp', + 'powershell', + 'bash', + 'go', + 'python', + ], }, mermaid: { options: { er: { - layoutDirection: 'RL' - } + layoutDirection: 'RL', + }, }, - } + }, }), plugins: plugins, diff --git a/sidebars.js b/sidebars.js index abc654639..1d97501de 100644 --- a/sidebars.js +++ b/sidebars.js @@ -27,7 +27,7 @@ const sidebars = { id: 'api/identity-security-cloud', }, customProps: { - description: "ISC API specifications." + description: 'ISC API specifications.', }, items: [ { @@ -95,7 +95,7 @@ const sidebars = { id: 'api/non-employee', }, customProps: { - description: "NERM API specifications." + description: 'NERM API specifications.', }, items: [ { @@ -228,26 +228,26 @@ const sidebars = { }, // @ts-ignore items: require('./docs/api/iiq/sidebar.js'), - }, + }, { - type: 'category', - label: 'Plugin Developer Guide', - link: { - type: 'doc', - id: 'plugin-developer-guide', + type: 'category', + label: 'Plugin Developer Guide', + link: { + type: 'doc', + id: 'plugin-developer-guide', + }, + items: [ + { + type: 'autogenerated', + dirName: 'iiq/plugin-developer-guide', }, - items: [ - { - type: 'autogenerated', - dirName: 'iiq/plugin-developer-guide', - }, - ], - }, - { - type: 'link', - label: 'Product Documentation', - href: 'https://documentation.sailpoint.com/#identityiq', - }, + ], + }, + { + type: 'link', + label: 'Product Documentation', + href: 'https://documentation.sailpoint.com/#identityiq', + }, ], }, ], diff --git a/src/components/GitHubLink.js b/src/components/GitHubLink.js index e337b2a98..0a6c6d35e 100644 --- a/src/components/GitHubLink.js +++ b/src/components/GitHubLink.js @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from 'react'; +import React, {useEffect, useState} from 'react'; import useBaseUrl from '@docusaurus/useBaseUrl'; export default function GitHubPublicFileComponent({children, source}) { const [fileContent, setFileContent] = useState(''); @@ -6,9 +6,7 @@ export default function GitHubPublicFileComponent({children, source}) { useEffect(() => { const fetchFileContent = async () => { try { - const response = await fetch( - source - ); + const response = await fetch(source); if (response.ok) { const content = await response.text(); @@ -25,9 +23,8 @@ export default function GitHubPublicFileComponent({children, source}) { }, []); return ( - - + ); -}; +} diff --git a/src/components/MermaidViewer.js b/src/components/MermaidViewer.js index f58c415f6..1de01bf1e 100644 --- a/src/components/MermaidViewer.js +++ b/src/components/MermaidViewer.js @@ -1,89 +1,165 @@ import React from 'react'; -import mermaid from 'mermaid' +import mermaid from 'mermaid'; import useBaseUrl from '@docusaurus/useBaseUrl'; import styles from './styles.module.css'; -export default function MermaidViewer({ children, diagram }) { +export default function MermaidViewer({children, diagram}) { mermaid.contentLoaded(); const [width, setWidth] = React.useState(0); - const [mermaidCursorStart, setMermaidCursorStart] = React.useState({ cursor: 'grab', clickX: 0, clickY: 0, offsetX: 0, offsetY: 0 }); - const [mermaidCursorMoving, setMermaidCursorMoving] = React.useState({ x: 0, y: 0 }); + const [mermaidCursorStart, setMermaidCursorStart] = React.useState({ + cursor: 'grab', + clickX: 0, + clickY: 0, + offsetX: 0, + offsetY: 0, + }); + const [mermaidCursorMoving, setMermaidCursorMoving] = React.useState({ + x: 0, + y: 0, + }); const [mermaidRender, setMermaidRender] = React.useState(false); function increaseWidth(e) { - setWidth(width + 300) + setWidth(width + 300); } function decreaseWidth(e) { - setWidth(width - 300) + setWidth(width - 300); } function resetWidth(e) { - setWidth(0) - setMermaidCursorStart({ cursor: 'grab', clickX: e.screenX, clickY: e.screenY, offsetX: 0, offsetY: 0 }) - setMermaidCursorMoving({ x: 0, y: 0 }) + setWidth(0); + setMermaidCursorStart({ + cursor: 'grab', + clickX: e.screenX, + clickY: e.screenY, + offsetX: 0, + offsetY: 0, + }); + setMermaidCursorMoving({x: 0, y: 0}); } function setMouseDown(e) { if (e.screenX) { - setMermaidCursorStart({ cursor: 'grabbing', clickX: e.screenX, clickY: e.screenY, offsetX: mermaidCursorMoving.x, offsetY: mermaidCursorMoving.y }) - setMermaidCursorMoving({ x: mermaidCursorMoving.x, y: mermaidCursorMoving.y }) + setMermaidCursorStart({ + cursor: 'grabbing', + clickX: e.screenX, + clickY: e.screenY, + offsetX: mermaidCursorMoving.x, + offsetY: mermaidCursorMoving.y, + }); + setMermaidCursorMoving({ + x: mermaidCursorMoving.x, + y: mermaidCursorMoving.y, + }); } else { - setMermaidCursorStart({ cursor: 'grabbing', clickX: e.changedTouches[0].screenX, clickY: e.changedTouches[0].screenY, offsetX: mermaidCursorMoving.x, offsetY: mermaidCursorMoving.y }) - setMermaidCursorMoving({ x: mermaidCursorMoving.x, y: mermaidCursorMoving.y }) + setMermaidCursorStart({ + cursor: 'grabbing', + clickX: e.changedTouches[0].screenX, + clickY: e.changedTouches[0].screenY, + offsetX: mermaidCursorMoving.x, + offsetY: mermaidCursorMoving.y, + }); + setMermaidCursorMoving({ + x: mermaidCursorMoving.x, + y: mermaidCursorMoving.y, + }); } - } function setMouseUp(e) { - setMermaidCursorStart({ cursor: 'grab', clickX: 0, clickY: 0 }) + setMermaidCursorStart({cursor: 'grab', clickX: 0, clickY: 0}); } function drag(e) { if (mermaidCursorStart.cursor === 'grabbing') { if (e.screenX) { - setMermaidCursorMoving({ x: mermaidCursorStart.clickX - e.screenX + mermaidCursorStart.offsetX, y: mermaidCursorStart.clickY - e.screenY + mermaidCursorStart.offsetY }) + setMermaidCursorMoving({ + x: mermaidCursorStart.clickX - e.screenX + mermaidCursorStart.offsetX, + y: mermaidCursorStart.clickY - e.screenY + mermaidCursorStart.offsetY, + }); } else { - setMermaidCursorMoving({ x: mermaidCursorStart.clickX - e.changedTouches[0].screenX + mermaidCursorStart.offsetX, y: mermaidCursorStart.clickY - e.changedTouches[0].screenY + mermaidCursorStart.offsetY }) + setMermaidCursorMoving({ + x: + mermaidCursorStart.clickX - + e.changedTouches[0].screenX + + mermaidCursorStart.offsetX, + y: + mermaidCursorStart.clickY - + e.changedTouches[0].screenY + + mermaidCursorStart.offsetY, + }); } - - } } - React.useEffect(() => { let canceled = false; setTimeout(() => { if (!canceled) { - setMermaidRender(true) + setMermaidRender(true); } }, 100); return () => { canceled = true; }; - }) - + }); let renderedDiagram; let loadingIndicator; if (mermaidRender === true) { - loadingIndicator =
- renderedDiagram =
{diagram}
- } else { - loadingIndicator =
Diagram Loading ...
- renderedDiagram =
{diagram}
- } - + loadingIndicator =
; + renderedDiagram = ( +
+ {diagram} +
+ ); + } else { + loadingIndicator =
Diagram Loading ...
; + renderedDiagram = ( +
+ {diagram} +
+ ); + } return (
- - increaseWidth(e)} src={useBaseUrl('/icons/magnifying-glass-plus-regular.svg')}> - resetWidth(e)} src={useBaseUrl('/icons/house-regular.svg')}> - decreaseWidth(e)} src={useBaseUrl('/icons/magnifying-glass-minus-regular.svg')}> + increaseWidth(e)} + src={useBaseUrl('/icons/magnifying-glass-plus-regular.svg')}> + resetWidth(e)} + src={useBaseUrl('/icons/house-regular.svg')}> + decreaseWidth(e)} + src={useBaseUrl('/icons/magnifying-glass-minus-regular.svg')}>
drag(e)} onTouchMove={(e) => drag(e)} @@ -91,14 +167,10 @@ export default function MermaidViewer({ children, diagram }) { onTouchStart={(e) => setMouseDown(e)} onMouseUp={(e) => setMouseUp(e)} onTouchEnd={(e) => setMouseUp(e)} - onMouseLeave={(e) => setMouseUp(e)} - > - {loadingIndicator} - {renderedDiagram} + onMouseLeave={(e) => setMouseUp(e)}> + {loadingIndicator} + {renderedDiagram}
- -
- ); -} \ No newline at end of file +} diff --git a/src/components/Video.js b/src/components/Video.js index 789bef91a..a2eb93b99 100644 --- a/src/components/Video.js +++ b/src/components/Video.js @@ -1,50 +1,41 @@ import React from 'react'; -export default function Video({ children, source, container = "youtube" }) { - - let html = - - - if (container === "vidyard") { - html = + allowfullscreen> + ); + if (container === 'vidyard') { + html = ( + + ); } - return ( - html - - ) - - - - - -} \ No newline at end of file + return html; +} diff --git a/src/components/ambassador/AmbassadorBanner/styles.module.css b/src/components/ambassador/AmbassadorBanner/styles.module.css index 7538f21b0..8804866ca 100644 --- a/src/components/ambassador/AmbassadorBanner/styles.module.css +++ b/src/components/ambassador/AmbassadorBanner/styles.module.css @@ -1,4 +1,3 @@ - .ambassadorHeaderText { position: relative; color: #ffffff; @@ -19,10 +18,14 @@ .imageContainer { width: 100%; height: 90px; - background: rgb(0,51,161); - background: linear-gradient(90deg, rgba(0,51,161,1) 0%, rgba(84,192,232,1) 100%); + background: rgb(0, 51, 161); + background: linear-gradient( + 90deg, + rgba(0, 51, 161, 1) 0%, + rgba(84, 192, 232, 1) 100% + ); } .headerImage { height: 90px; -} \ No newline at end of file +} diff --git a/src/components/ambassador/AmbassadorCard/styles.module.css b/src/components/ambassador/AmbassadorCard/styles.module.css index 82e34ec52..f5dd6eac3 100644 --- a/src/components/ambassador/AmbassadorCard/styles.module.css +++ b/src/components/ambassador/AmbassadorCard/styles.module.css @@ -22,7 +22,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); diff --git a/src/components/blog/BlogCard/styles.module.css b/src/components/blog/BlogCard/styles.module.css index 94fcb711d..daeaa10cf 100644 --- a/src/components/blog/BlogCard/styles.module.css +++ b/src/components/blog/BlogCard/styles.module.css @@ -13,7 +13,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); @@ -34,7 +37,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); diff --git a/src/components/blog/BlogSidebar/BlogSidebarButton/index.js b/src/components/blog/BlogSidebar/BlogSidebarButton/index.js index 48b9e676a..d629bcc8b 100644 --- a/src/components/blog/BlogSidebar/BlogSidebarButton/index.js +++ b/src/components/blog/BlogSidebar/BlogSidebarButton/index.js @@ -1,17 +1,19 @@ import React from 'react'; import styles from './styles.module.css'; - -export default function BlogSidebarButton({ - filterCallback, - text - }) { +export default function BlogSidebarButton({filterCallback, text}) { const [isActive, setIsActive] = React.useState(false); - const activeClass = isActive ? styles.tagSelected : '' + const activeClass = isActive ? styles.tagSelected : ''; function setFilters(e, f) { - filterCallback(f) - setIsActive(current => !current); + filterCallback(f); + setIsActive((current) => !current); } - return
setFilters(e, text)} className={activeClass + ' ' + styles.tag}>{text}
- + return ( +
setFilters(e, text)} + className={activeClass + ' ' + styles.tag}> + {text} +
+ ); } diff --git a/src/components/blog/BlogSidebar/BlogSidebarButton/styles.module.css b/src/components/blog/BlogSidebar/BlogSidebarButton/styles.module.css index 7be4bbadc..f13c1d6a8 100644 --- a/src/components/blog/BlogSidebar/BlogSidebarButton/styles.module.css +++ b/src/components/blog/BlogSidebar/BlogSidebarButton/styles.module.css @@ -1,4 +1,3 @@ - .tag { font-size: 16px; font-weight: 500; @@ -33,4 +32,3 @@ background-color: var(--dev-text-color-normal); color: var(--dev-card-background); } - diff --git a/src/components/blog/BlogSidebar/index.js b/src/components/blog/BlogSidebar/index.js index 7d5e2741d..baf61e0fd 100644 --- a/src/components/blog/BlogSidebar/index.js +++ b/src/components/blog/BlogSidebar/index.js @@ -29,7 +29,7 @@ export default function BlogSidebar({filterCallback, defaultValue}) { React.useEffect(() => { getTagData(); - },[]); + }, []); if (tagProductData) { return ( diff --git a/src/components/blog/BlogSidebar/styles.module.css b/src/components/blog/BlogSidebar/styles.module.css index 8a2e27aac..ded22ad26 100644 --- a/src/components/blog/BlogSidebar/styles.module.css +++ b/src/components/blog/BlogSidebar/styles.module.css @@ -139,7 +139,10 @@ --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); @@ -185,7 +188,9 @@ width: 50%; background-color: #cc27b0; /* Default color for "Identity Security Cloud" */ border-radius: 25px; - transition: transform 0.25s ease, background-color 0.25s ease; + transition: + transform 0.25s ease, + background-color 0.25s ease; } .toggleText { diff --git a/src/components/homepage/DiscussCard/styles.module.css b/src/components/homepage/DiscussCard/styles.module.css index 4d41099b6..ed3ad4054 100644 --- a/src/components/homepage/DiscussCard/styles.module.css +++ b/src/components/homepage/DiscussCard/styles.module.css @@ -12,7 +12,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); diff --git a/src/components/homepage/HomepageCard/styles.module.css b/src/components/homepage/HomepageCard/styles.module.css index 0c0df1d8c..c8854b895 100644 --- a/src/components/homepage/HomepageCard/styles.module.css +++ b/src/components/homepage/HomepageCard/styles.module.css @@ -12,7 +12,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); diff --git a/src/components/homepage/HomepageDiscuss/index.js b/src/components/homepage/HomepageDiscuss/index.js index 46f73dca9..cff20f067 100644 --- a/src/components/homepage/HomepageDiscuss/index.js +++ b/src/components/homepage/HomepageDiscuss/index.js @@ -66,7 +66,8 @@ function getPostList(posts, index) { return { tags: posts.topic_list.topics[index].tags, link: - discourseBaseURL() + 't/' + + discourseBaseURL() + + 't/' + posts.topic_list.topics[index].slug + '/' + posts.topic_list.topics[index].id, diff --git a/src/components/homepage/HomepageGettingStarted/index.js b/src/components/homepage/HomepageGettingStarted/index.js index 2c54cd107..f998cc4ae 100644 --- a/src/components/homepage/HomepageGettingStarted/index.js +++ b/src/components/homepage/HomepageGettingStarted/index.js @@ -25,7 +25,9 @@ export default function HomepageGettingStarted() { + image={ + '/homepage/SailPointIdentitySecurityCloud.svg' + }> { const requirementPosition = data.indexOf('id="' + id + '"'); const requirementEndPosition = data.indexOf('
', requirementPosition); @@ -19,8 +19,7 @@ export default function MarketplaceCardDetail({ details, rawPost }) { requirementEndPosition, ); const incorrectURLPattern = /upload:\/\/([^"]+)/g; - const correctURLPattern = - discourseBaseURL() + 'uploads/short-url/$1'; + const correctURLPattern = discourseBaseURL() + 'uploads/short-url/$1'; return validContent.replace(incorrectURLPattern, correctURLPattern); } else { return 'No requirements found for this marketplace item'; @@ -36,8 +35,7 @@ export default function MarketplaceCardDetail({ details, rawPost }) { requirementEndPosition, ); const incorrectURLPattern = /upload:\/\/([^"]+)/g; - const correctURLPattern = - discourseBaseURL() + 'uploads/short-url/$1'; + const correctURLPattern = discourseBaseURL() + 'uploads/short-url/$1'; return validContent.replace(incorrectURLPattern, correctURLPattern); } else { return 'No requirements found for this marketplace item'; @@ -56,7 +54,6 @@ export default function MarketplaceCardDetail({ details, rawPost }) { -
@@ -90,7 +87,9 @@ export default function MarketplaceCardDetail({ details, rawPost }) { - The Developer Community CoLab has three different support models, depending on the integration. Please see the full integration page using the ``` Go To Download ``` button above. + The Developer Community CoLab has three different support models, + depending on the integration. Please see the full integration page + using the ``` Go To Download ``` button above. diff --git a/src/components/marketplace/MarketplaceCardDetail/styles.module.css b/src/components/marketplace/MarketplaceCardDetail/styles.module.css index 75f53528b..68ed71eca 100644 --- a/src/components/marketplace/MarketplaceCardDetail/styles.module.css +++ b/src/components/marketplace/MarketplaceCardDetail/styles.module.css @@ -36,7 +36,6 @@ position: relative; } - .modalButtonText { position: relative; top: -2px; @@ -55,7 +54,7 @@ position: absolute; right: 0px; top: -25px; - transition: all 0.3s; + transition: all 0.3s; } .modalButton:hover { @@ -82,8 +81,9 @@ top: 4px; fill: #96a9bb; /* computed from codepen https://codepen.io/sosuke/pen/Pjoqqp */ - filter: invert(79%) sepia(12%) saturate(484%) hue-rotate(168deg) brightness(84%) contrast(84%); + filter: invert(79%) sepia(12%) saturate(484%) hue-rotate(168deg) + brightness(84%) contrast(84%); margin-left: 5px; height: 18px; width: 18px; -} \ No newline at end of file +} diff --git a/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/index.js b/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/index.js index d2c3cd006..4d9c1a5f2 100644 --- a/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/index.js +++ b/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/index.js @@ -1,13 +1,12 @@ import React from 'react'; import styles from './styles.module.css'; - export default function MarketplaceSidebarButton({ filterCallback, text, id, isCategory, - category + category, }) { const [isActive, setIsActive] = React.useState(false); const [checked, setChecked] = React.useState(false); @@ -15,44 +14,47 @@ export default function MarketplaceSidebarButton({ const handleChange = () => { setChecked(!checked); }; - let activeClass = '' + let activeClass = ''; if (isCategory && category === id) { - activeClass = styles.tagSelected + activeClass = styles.tagSelected; } else if (isCategory && category !== id) { - activeClass = '' + activeClass = ''; } else { - activeClass = isActive ? styles.tagSelected : '' + activeClass = isActive ? styles.tagSelected : ''; } - let radioClass = styles.checkbox + let radioClass = styles.checkbox; if (isCategory) { - radioClass = styles.radio + radioClass = styles.radio; } //const activeClass = isActive ? styles.tagSelected : '' function setFilters(e, id) { if (isCategory) { if (category === id) { - filterCallback({ "category": "colab" }) - setIsActive(false) + filterCallback({category: 'colab'}); + setIsActive(false); } else { - filterCallback({ "category": id }) - setIsActive(true) + filterCallback({category: id}); + setIsActive(true); } - } else { - filterCallback({ "tag": id }) - setIsActive(current => !current); + filterCallback({tag: id}); + setIsActive((current) => !current); } - - } return (
- setFilters(e, id)} id={id} type='checkbox' className={styles.sidebarButton + ' ' + radioClass} checked={activeClass != ''} onChange={handleChange}> -
- ) + ); //return
setFilters(e, id)} className={activeClass + ' ' + styles.tag}>{text}
- } diff --git a/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/styles.module.css b/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/styles.module.css index dbe9ce645..973accf80 100644 --- a/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/styles.module.css +++ b/src/components/marketplace/MarketplaceSidebar/MarketplaceSidebarButton/styles.module.css @@ -1,4 +1,3 @@ - .tag { font-size: 16px; font-weight: 500; @@ -56,4 +55,4 @@ } .radio + label:before{ border-radius:50%; -} */ \ No newline at end of file +} */ diff --git a/src/components/marketplace/MarketplaceSidebar/index.js b/src/components/marketplace/MarketplaceSidebar/index.js index 38adffed9..67f63f80c 100644 --- a/src/components/marketplace/MarketplaceSidebar/index.js +++ b/src/components/marketplace/MarketplaceSidebar/index.js @@ -3,14 +3,14 @@ import clsx from 'clsx'; import styles from './styles.module.css'; import useBaseUrl from '@docusaurus/useBaseUrl'; import Link from '@docusaurus/Link'; -import { getCatagories, getTags } from '../../../services/DiscourseService'; +import {getCatagories, getTags} from '../../../services/DiscourseService'; import MarketplaceSidebarButton from './MarketplaceSidebarButton'; -import {discourseMarketplaceCatagoryId, discourseProductTag} from '../../../util/util' +import { + discourseMarketplaceCatagoryId, + discourseProductTag, +} from '../../../util/util'; -export default function MarketplaceSidebar({ - filterCallback, - selectedCategory - }) { +export default function MarketplaceSidebar({filterCallback, selectedCategory}) { const [tagProductData, setTagProductData] = React.useState(); const [tagTechnologyData, setTagTechnologyData] = React.useState(); const [catIntegrationTypeData, setCatIntegrationTypeData] = React.useState(); @@ -20,16 +20,18 @@ export default function MarketplaceSidebar({ const tagData = await getTags(); const categoryData = await getCatagories(); - const tagTechnologyResultset = [] - const tagProductResultset = [] - const catIntegrationType = [] + const tagTechnologyResultset = []; + const tagProductResultset = []; + const catIntegrationType = []; for (const category of categoryData.category_list.categories) { // 59 for production marketplace, 57 for staging marketplace if (category.id === discourseMarketplaceCatagoryId()) { for (const subCategory of category.subcategory_list) { - - catIntegrationType.push({"name": subCategory.name, "slug": subCategory.slug}) + catIntegrationType.push({ + name: subCategory.name, + slug: subCategory.slug, + }); } } } @@ -37,68 +39,79 @@ export default function MarketplaceSidebar({ // 20 for production marketplace, 11 for staging marketplace if (tagGroup.id === discourseProductTag()) { for (const tag of tagGroup.tags) { - tagProductResultset.push(tag.text) + tagProductResultset.push(tag.text); } } if (tagGroup.id === 17) { for (const tag of tagGroup.tags) { - tagTechnologyResultset.push(tag.text) + tagTechnologyResultset.push(tag.text); } } } - setTagProductData(tagProductResultset) - setTagTechnologyData(tagTechnologyResultset) - setCatIntegrationTypeData(catIntegrationType) + setTagProductData(tagProductResultset); + setTagTechnologyData(tagTechnologyResultset); + setCatIntegrationTypeData(catIntegrationType); }; function toggleSeeAll() { - filterTags ? setFilterTags(false) : setFilterTags(true) + filterTags ? setFilterTags(false) : setFilterTags(true); } function uppercaseText(text) { - switch (text) { - case "identitynow": - return "IdentityNow"; + switch (text) { + case 'identitynow': + return 'IdentityNow'; - case "identityiq": - return "IdentityIQ"; + case 'identityiq': + return 'IdentityIQ'; - case "nerm": - return "NERM"; + case 'nerm': + return 'NERM'; - default: - return text - .split("-") - .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) - .join(" "); + default: + return text + .split('-') + .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) + .join(' '); + } } -} - - React.useEffect(() => { getTagData(); }, []); - const filterText = filterTags ? 'See All Tags' : 'See Less Tags' + const filterText = filterTags ? 'See All Tags' : 'See Less Tags'; if (tagProductData && catIntegrationTypeData) { return (
Items by Product
- {tagProductData.map(function(a, index){ - return - })} + {tagProductData.map(function (a, index) { + return ( + + ); + })}
Items by Integration Type
- {catIntegrationTypeData.map(function(a, index){ - return - })} + {catIntegrationTypeData.map(function (a, index) { + return ( + + ); + })}
- ); } else { return
; diff --git a/src/components/marketplace/MarketplaceSidebar/styles.module.css b/src/components/marketplace/MarketplaceSidebar/styles.module.css index 16608d936..4cd6683e0 100644 --- a/src/components/marketplace/MarketplaceSidebar/styles.module.css +++ b/src/components/marketplace/MarketplaceSidebar/styles.module.css @@ -1,4 +1,3 @@ - .sidebar { width: 400px; height: 100%; @@ -17,7 +16,6 @@ flex-direction: column; } - .hidden { display: none; } @@ -31,7 +29,6 @@ width: 100%; transition: background-color 500ms; text-align: center; - } .seeAll:hover { diff --git a/src/components/styles.module.css b/src/components/styles.module.css index 2a2a4dd76..cd16660f4 100644 --- a/src/components/styles.module.css +++ b/src/components/styles.module.css @@ -1,17 +1,18 @@ .zoomIn { - fill: #96a9bb; - /* computed from codepen https://codepen.io/sosuke/pen/Pjoqqp */ - filter: invert(79%) sepia(12%) saturate(484%) hue-rotate(168deg) brightness(84%) contrast(84%); - margin-left: 15px; - height: 26px; - width: 26px; - } + fill: #96a9bb; + /* computed from codepen https://codepen.io/sosuke/pen/Pjoqqp */ + filter: invert(79%) sepia(12%) saturate(484%) hue-rotate(168deg) + brightness(84%) contrast(84%); + margin-left: 15px; + height: 26px; + width: 26px; +} - .zoomIn:hover { - cursor: pointer; - } +.zoomIn:hover { + cursor: pointer; +} - .mermaidContainer { - overflow: hidden; - cursor: grab - } \ No newline at end of file +.mermaidContainer { + overflow: hidden; + cursor: grab; +} diff --git a/src/components/video-library/VideoCard/styles.module.css b/src/components/video-library/VideoCard/styles.module.css index 4c4f0f3fd..501a34853 100644 --- a/src/components/video-library/VideoCard/styles.module.css +++ b/src/components/video-library/VideoCard/styles.module.css @@ -36,7 +36,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); @@ -51,7 +54,10 @@ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); border-radius: 0.5rem; - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); diff --git a/src/components/video-library/VideoCardDetails/index.js b/src/components/video-library/VideoCardDetails/index.js index 3afc382a9..a563e6bd8 100644 --- a/src/components/video-library/VideoCardDetails/index.js +++ b/src/components/video-library/VideoCardDetails/index.js @@ -32,9 +32,7 @@ const VideoCardDetail = (props) => {
-

- {props.route.customProps.body} -

+

{props.route.customProps.body}

{ let tags = featured ? ['featured'] : filterCallback.tags; - + const data = await getVideoPosts(tags ? tags : ''); const resultset = []; if (data.topic_list) { diff --git a/src/components/video-library/VideoComments/index.js b/src/components/video-library/VideoComments/index.js index 9a551b08c..442095514 100644 --- a/src/components/video-library/VideoComments/index.js +++ b/src/components/video-library/VideoComments/index.js @@ -6,11 +6,11 @@ const DiscourseEmbed = ({discourseEmbedUrl, topicId}) => { const embedUrl = `https://d1vrqvoe9hgpx0.cloudfront.net/videos/${discourseEmbedUrl}/index.html`; // Set up Discourse Embed - + window.DiscourseEmbed = { discourseUrl, topicId: topicId, - // discourseEmbedUrl: embedUrl, + // discourseEmbedUrl: embedUrl, className: 'EMBEDDED_BODY', }; @@ -21,11 +21,17 @@ const DiscourseEmbed = ({discourseEmbedUrl, topicId}) => { metaTag.content = 'Darrell'; // Replace with your Discourse username metaTag.setAttribute('discourse-embed-url', embedUrl); // Add attribute to meta tag for Discourse Embed URL metaTag.setAttribute('discourse-embed-class-name', 'EMBEDDED_BODY'); // Add attribute to meta tag for Discourse Embed class name (optional) - metaTag.setAttribute('discourse-embed-title', 'SailPoint Developer Community'); // Add attribute to meta tag for Discourse Embed title (optional) - metaTag.setAttribute('discourse-embed-description', 'The SailPoint Developer Community has everything you need to build, extend, and automate scalable identity solutions.'); // Add attribute to meta tag for Discourse Embed description (optional) + metaTag.setAttribute( + 'discourse-embed-title', + 'SailPoint Developer Community', + ); // Add attribute to meta tag for Discourse Embed title (optional) + metaTag.setAttribute( + 'discourse-embed-description', + 'The SailPoint Developer Community has everything you need to build, extend, and automate scalable identity solutions.', + ); // Add attribute to meta tag for Discourse Embed description (optional) metaTag.setAttribute('discourse-embed-color', '#00A2E8'); // Add attribute to meta tag for Discourse Embed color (optional) document.getElementsByTagName('head')[0].appendChild(metaTag); // Append to head to avoid duplicating if component re-renders - + // Create and append Discourse embed script const scriptTag = document.createElement('script'); scriptTag.type = 'text/javascript'; @@ -46,7 +52,9 @@ const DiscourseEmbed = ({discourseEmbedUrl, topicId}) => { <> -
+
); // Container for the Discourse comments }; diff --git a/src/components/video-library/VideoSidebar/styles.module.css b/src/components/video-library/VideoSidebar/styles.module.css index 0763c1b28..133f78ef5 100644 --- a/src/components/video-library/VideoSidebar/styles.module.css +++ b/src/components/video-library/VideoSidebar/styles.module.css @@ -113,7 +113,10 @@ --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); - box-shadow: 0 0 transparent, 0 0 transparent, 0 1px 3px 0 rgba(0, 0, 0, 0.1), + box-shadow: + 0 0 transparent, + 0 0 transparent, + 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); diff --git a/src/css/custom.css b/src/css/custom.css index 5ecc400a9..fca6c3f14 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -18,7 +18,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/4fc98e/00000000000000007735b0ff/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i1&v=3') + src: + url('https://use.typekit.net/af/4fc98e/00000000000000007735b0ff/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i1&v=3') format('woff2'), url('https://use.typekit.net/af/4fc98e/00000000000000007735b0ff/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i1&v=3') format('woff'), @@ -32,7 +33,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/9ddc39/00000000000000007735b103/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n1&v=3') + src: + url('https://use.typekit.net/af/9ddc39/00000000000000007735b103/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n1&v=3') format('woff2'), url('https://use.typekit.net/af/9ddc39/00000000000000007735b103/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n1&v=3') format('woff'), @@ -46,7 +48,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/3a1a0d/00000000000000007735b106/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i2&v=3') + src: + url('https://use.typekit.net/af/3a1a0d/00000000000000007735b106/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i2&v=3') format('woff2'), url('https://use.typekit.net/af/3a1a0d/00000000000000007735b106/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i2&v=3') format('woff'), @@ -60,7 +63,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/403df5/00000000000000007735b10d/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n2&v=3') + src: + url('https://use.typekit.net/af/403df5/00000000000000007735b10d/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n2&v=3') format('woff2'), url('https://use.typekit.net/af/403df5/00000000000000007735b10d/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n2&v=3') format('woff'), @@ -74,7 +78,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/6c83a4/00000000000000007735b117/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3') + src: + url('https://use.typekit.net/af/6c83a4/00000000000000007735b117/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3') format('woff2'), url('https://use.typekit.net/af/6c83a4/00000000000000007735b117/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i3&v=3') format('woff'), @@ -88,7 +93,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/25ef29/00000000000000007735b110/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3') + src: + url('https://use.typekit.net/af/25ef29/00000000000000007735b110/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3') format('woff2'), url('https://use.typekit.net/af/25ef29/00000000000000007735b110/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3') format('woff'), @@ -102,7 +108,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/c3093e/00000000000000007735b116/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3') + src: + url('https://use.typekit.net/af/c3093e/00000000000000007735b116/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3') format('woff2'), url('https://use.typekit.net/af/c3093e/00000000000000007735b116/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3') format('woff'), @@ -116,7 +123,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/f1b774/00000000000000007735b11b/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3') + src: + url('https://use.typekit.net/af/f1b774/00000000000000007735b11b/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3') format('woff2'), url('https://use.typekit.net/af/f1b774/00000000000000007735b11b/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3') format('woff'), @@ -130,7 +138,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/9d2d8f/00000000000000007735b11f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3') + src: + url('https://use.typekit.net/af/9d2d8f/00000000000000007735b11f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3') format('woff2'), url('https://use.typekit.net/af/9d2d8f/00000000000000007735b11f/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i5&v=3') format('woff'), @@ -144,7 +153,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/82c6c3/00000000000000007735b123/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3') + src: + url('https://use.typekit.net/af/82c6c3/00000000000000007735b123/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3') format('woff2'), url('https://use.typekit.net/af/82c6c3/00000000000000007735b123/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3') format('woff'), @@ -158,7 +168,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/038dc3/00000000000000007735b127/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3') + src: + url('https://use.typekit.net/af/038dc3/00000000000000007735b127/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3') format('woff2'), url('https://use.typekit.net/af/038dc3/00000000000000007735b127/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3') format('woff'), @@ -172,7 +183,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/62782e/00000000000000007735b12a/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3') + src: + url('https://use.typekit.net/af/62782e/00000000000000007735b12a/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3') format('woff2'), url('https://use.typekit.net/af/62782e/00000000000000007735b12a/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3') format('woff'), @@ -186,7 +198,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/e16354/00000000000000007735b12f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3') + src: + url('https://use.typekit.net/af/e16354/00000000000000007735b12f/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3') format('woff2'), url('https://use.typekit.net/af/e16354/00000000000000007735b12f/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3') format('woff'), @@ -200,7 +213,8 @@ @font-face { font-family: 'input-mono'; - src: url('https://use.typekit.net/af/e049ab/00000000000000007735b134/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i8&v=3') + src: + url('https://use.typekit.net/af/e049ab/00000000000000007735b134/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i8&v=3') format('woff2'), url('https://use.typekit.net/af/e049ab/00000000000000007735b134/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i8&v=3') format('woff'), @@ -252,7 +266,6 @@ --text-on-primary: #ffffff; --text-color: black; - --dropdown-background: #ffffff; /*card css*/ @@ -304,7 +317,7 @@ --dropdown-background: #2a2b2d; /*card css*/ - --dev-card-border: rgba(218,220,224,0.3); + --dev-card-border: rgba(218, 220, 224, 0.3); --dev-new-car-background: #2a2b2d; --dev-card-background: #2a2b2d; --dev-popup-background: #2a2b2d; @@ -534,4 +547,3 @@ div[id^='discourse-comments'] { display: flex; padding-bottom: 2%; } - diff --git a/src/pages/blog.module.css b/src/pages/blog.module.css index a5eae1c3f..53208d4ff 100644 --- a/src/pages/blog.module.css +++ b/src/pages/blog.module.css @@ -108,17 +108,13 @@ height: 545px; min-height: 535px; } - - } @media only screen and (max-width: 570px) { - - .gettingStartedThree { padding-right: 15%; } - + .contentContainer { margin-left: 0%; width: auto; diff --git a/src/pages/colab/plugins.js b/src/pages/colab/plugins.js index 83c9f2c18..fd0e240c6 100644 --- a/src/pages/colab/plugins.js +++ b/src/pages/colab/plugins.js @@ -13,7 +13,7 @@ export default function Workflows() { return (
- +
diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 578d3bc07..9f71a5da7 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -21,5 +21,3 @@ align-items: center; justify-content: center; } - - diff --git a/src/pages/videos.module.css b/src/pages/videos.module.css index 812279ead..efd8349e9 100644 --- a/src/pages/videos.module.css +++ b/src/pages/videos.module.css @@ -100,8 +100,6 @@ .featuredGettingStartedText { display: flex; } - - } @media only screen and (min-width: 1179px) { .carousel { @@ -136,7 +134,6 @@ } } @media only screen and (max-width: 570px) { - .contentContainer { width: auto; margin: auto; diff --git a/src/services/CMSService.js b/src/services/CMSService.js index dae49a3d7..017a925b7 100644 --- a/src/services/CMSService.js +++ b/src/services/CMSService.js @@ -2,11 +2,9 @@ import {CMSBaseURL} from '../util/util'; export async function getBanner() { try { - const response = await fetch( - CMSBaseURL() + 'banner', - ); + const response = await fetch(CMSBaseURL() + 'banner'); return await response.json(); } catch (error) { return []; } -} \ No newline at end of file +} diff --git a/src/theme/AnnouncementBar/Content/index.js b/src/theme/AnnouncementBar/Content/index.js index d5f60b8f4..6558756af 100644 --- a/src/theme/AnnouncementBar/Content/index.js +++ b/src/theme/AnnouncementBar/Content/index.js @@ -7,8 +7,6 @@ export default function AnnouncementBarContent(props) { const {announcementBar} = useThemeConfig(); const {content} = announcementBar; - - return (
{ close(); setShowBanner(false); - } + }; const getBannerText = async () => { let data = await getBanner(); if (data.Item) { - if (localStorage.getItem('docusaurus.aws.id') !== JSON.parse(data.Item).id && localStorage.getItem('docusaurus.announcement.dismiss') == 'true') { + if ( + localStorage.getItem('docusaurus.aws.id') !== + JSON.parse(data.Item).id && + localStorage.getItem('docusaurus.announcement.dismiss') == 'true' + ) { localStorage.setItem('docusaurus.announcement.dismiss', false); localStorage.setItem('docusaurus.aws.id', JSON.parse(data.Item).id); setShowBanner(true); - } else if (localStorage.getItem('docusaurus.announcement.dismiss') == 'false'){ + } else if ( + localStorage.getItem('docusaurus.announcement.dismiss') == 'false' + ) { setShowBanner(true); } setBannerText(JSON.parse(data.Item).message); - } else { setBannerText(undefined); - return + return; } }; @@ -42,7 +46,7 @@ export default function AnnouncementBar() { }, []); if (showBanner == false || !bannerText) { - return null + return null; } return (
{isCloseable &&
} - + {isCloseable && (

- {icon}{title} + {icon} + {title}

{description && (

{description}

@@ -45,7 +50,9 @@ function CardCategory({item}) { return ( } + icon={ + + } //icon={icon} title={item.label} description={ @@ -64,7 +71,14 @@ function CardCategory({item}) { ); } function CardLink({item}) { - const icon = isInternalUrl(item.href) ? : ; + const icon = isInternalUrl(item.href) ? ( + + ) : ( + + ); const doc = useDocById(item.docId ?? undefined); return ( elements - // (i.e., `typeof document.createElement( "object" ) === "function"`). - // We don't want to classify *any* DOM node as a function. - return typeof obj === "function" && typeof obj.nodeType !== "number"; + var isFunction = function isFunction(obj) { + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + return typeof obj === 'function' && typeof obj.nodeType !== 'number'; }; - -var isWindow = function isWindow( obj ) { - return obj != null && obj === obj.window; - }; - - -var document = window.document; - - - - var preservedScriptAttributes = { - type: true, - src: true, - nonce: true, - noModule: true - }; - - function DOMEval( code, node, doc ) { - doc = doc || document; - - var i, val, - script = doc.createElement( "script" ); - - script.text = code; - if ( node ) { - for ( i in preservedScriptAttributes ) { - - // Support: Firefox 64+, Edge 18+ - // Some browsers don't support the "nonce" property on scripts. - // On the other hand, just using `getAttribute` is not enough as - // the `nonce` attribute is reset to an empty string whenever it - // becomes browsing-context connected. - // See https://github.com/whatwg/html/issues/2369 - // See https://html.spec.whatwg.org/#nonce-attributes - // The `node.getAttribute` check was added for the sake of - // `jQuery.globalEval` so that it can fake a nonce-containing node - // via an object. - val = node[ i ] || node.getAttribute && node.getAttribute( i ); - if ( val ) { - script.setAttribute( i, val ); - } - } - } - doc.head.appendChild( script ).parentNode.removeChild( script ); - } - - -function toType( obj ) { - if ( obj == null ) { - return obj + ""; - } - - // Support: Android <=2.3 only (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[ toString.call( obj ) ] || "object" : - typeof obj; -} -/* global Symbol */ -// Defining this global in .eslintrc.json would create a danger of using the global -// unguarded in another place, it seems safer to define global only for this module - - - -var - version = "3.5.1", - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init( selector, context ); - }; - -jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - - // Return all the elements in a clean array - if ( num == null ) { - return slice.call( this ); - } - - // Return just the one element from the set - return num < 0 ? this[ num + this.length ] : this[ num ]; - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function( callback ) { - return jQuery.each( this, callback ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map( this, function( elem, i ) { - return callback.call( elem, i, elem ); - } ) ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - even: function() { - return this.pushStack( jQuery.grep( this, function( _elem, i ) { - return ( i + 1 ) % 2; - } ) ); - }, - - odd: function() { - return this.pushStack( jQuery.grep( this, function( _elem, i ) { - return i % 2; - } ) ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); - }, - - end: function() { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice -}; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[ 0 ] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - - // Skip the boolean and the target - target = arguments[ i ] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !isFunction( target ) ) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if ( i === length ) { - target = this; - i--; - } - - for ( ; i < length; i++ ) { - - // Only deal with non-null/undefined values - if ( ( options = arguments[ i ] ) != null ) { - - // Extend the base object - for ( name in options ) { - copy = options[ name ]; - - // Prevent Object.prototype pollution - // Prevent never-ending loop - if ( name === "__proto__" || target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject( copy ) || - ( copyIsArray = Array.isArray( copy ) ) ) ) { - src = target[ name ]; - - // Ensure proper type for the source value - if ( copyIsArray && !Array.isArray( src ) ) { - clone = []; - } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { - clone = {}; - } else { - clone = src; - } - copyIsArray = false; - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend( { - - // Unique for each copy of jQuery on the page - expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function( msg ) { - throw new Error( msg ); - }, - - noop: function() {}, - - isPlainObject: function( obj ) { - var proto, Ctor; - - // Detect obvious negatives - // Use toString instead of jQuery.type to catch host objects - if ( !obj || toString.call( obj ) !== "[object Object]" ) { - return false; - } - - proto = getProto( obj ); - - // Objects with no prototype (e.g., `Object.create( null )`) are plain - if ( !proto ) { - return true; - } - - // Objects with prototype are plain iff they were constructed by a global Object function - Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; - return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; - }, - - isEmptyObject: function( obj ) { - var name; - - for ( name in obj ) { - return false; - } - return true; - }, - - // Evaluates a script in a provided context; falls back to the global one - // if not specified. - globalEval: function( code, options, doc ) { - DOMEval( code, { nonce: options && options.nonce }, doc ); - }, - - each: function( obj, callback ) { - var length, i = 0; - - if ( isArrayLike( obj ) ) { - length = obj.length; - for ( ; i < length; i++ ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } else { - for ( i in obj ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } - - return obj; - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArrayLike( Object( arr ) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - return arr == null ? -1 : indexOf.call( arr, elem, i ); - }, - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - merge: function( first, second ) { - var len = +second.length, - j = 0, - i = first.length; - - for ( ; j < len; j++ ) { - first[ i++ ] = second[ j ]; - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, invert ) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - callbackInverse = !callback( elems[ i ], i ); - if ( callbackInverse !== callbackExpect ) { - matches.push( elems[ i ] ); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if ( isArrayLike( elems ) ) { - length = elems.length; - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - } - - // Flatten any nested arrays - return flat( ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support -} ); - -if ( typeof Symbol === "function" ) { - jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; -} - -// Populate the class2type map -jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), -function( _i, name ) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -} ); - -function isArrayLike( obj ) { - - // Support: real iOS 8.2 only (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = toType( obj ); - - if ( isFunction( obj ) || isWindow( obj ) ) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj; -} -var Sizzle = -/*! - * Sizzle CSS Selector Engine v2.3.5 - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://js.foundation/ - * - * Date: 2020-03-14 - */ -( function( window ) { -var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - nonnativeSelectorCache = createCache(), - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - } - return 0; - }, - - // Instance methods - hasOwn = ( {} ).hasOwnProperty, - arr = [], - pop = arr.pop, - pushNative = arr.push, - push = arr.push, - slice = arr.slice, - - // Use a stripped-down indexOf as it's faster than native - // https://jsperf.com/thor-indexof-vs-for/5 - indexOf = function( list, elem ) { - var i = 0, - len = list.length; - for ( ; i < len; i++ ) { - if ( list[ i ] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + - "ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - - // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram - identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + - "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + - - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - - // "Attribute values must be CSS identifiers [capture 5] - // or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + - whitespace + "*\\]", - - pseudos = ":(" + identifier + ")(?:\\((" + - - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp( whitespace + "+", "g" ), - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + - whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + - "*" ), - rdescend = new RegExp( whitespace + "|>" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + identifier + ")" ), - "CLASS": new RegExp( "^\\.(" + identifier + ")" ), - "TAG": new RegExp( "^(" + identifier + "|[*])" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + - whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + - whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + - "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + - "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rhtml = /HTML$/i, - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - - // CSS escapes - // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), - funescape = function( escape, nonHex ) { - var high = "0x" + escape.slice( 1 ) - 0x10000; - - return nonHex ? - - // Strip the backslash prefix from a non-hex escape sequence - nonHex : - - // Replace a hexadecimal escape sequence with the encoded Unicode code point - // Support: IE <=11+ - // For values outside the Basic Multilingual Plane (BMP), manually construct a - // surrogate pair - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }, - - // CSS string/identifier serialization - // https://drafts.csswg.org/cssom/#common-serializing-idioms - rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, - fcssescape = function( ch, asCodePoint ) { - if ( asCodePoint ) { - - // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER - if ( ch === "\0" ) { - return "\uFFFD"; - } - - // Control characters and (dependent upon position) numbers get escaped as code points - return ch.slice( 0, -1 ) + "\\" + - ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; - } - - // Other potentially-special ASCII characters get backslash-escaped - return "\\" + ch; - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function() { - setDocument(); - }, - - inDisabledFieldset = addCombinator( - function( elem ) { - return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; - }, - { dir: "parentNode", next: "legend" } - ); - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - ( arr = slice.call( preferredDoc.childNodes ) ), - preferredDoc.childNodes - ); - - // Support: Android<4.0 - // Detect silently failing push.apply - // eslint-disable-next-line no-unused-expressions - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - pushNative.apply( target, slice.call( els ) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - - // Can't trust NodeList.length - while ( ( target[ j++ ] = els[ i++ ] ) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var m, i, elem, nid, match, groups, newSelector, - newContext = context && context.ownerDocument, - - // nodeType defaults to 9, since context defaults to document - nodeType = context ? context.nodeType : 9; - - results = results || []; - - // Return early from calls with invalid selector or context - if ( typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { - - return results; - } - - // Try to shortcut find operations (as opposed to filters) in HTML documents - if ( !seed ) { - setDocument( context ); - context = context || document; - - if ( documentIsHTML ) { - - // If the selector is sufficiently simple, try using a "get*By*" DOM method - // (excepting DocumentFragment context, where the methods don't exist) - if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { - - // ID selector - if ( ( m = match[ 1 ] ) ) { - - // Document context - if ( nodeType === 9 ) { - if ( ( elem = context.getElementById( m ) ) ) { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - - // Element context - } else { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( newContext && ( elem = newContext.getElementById( m ) ) && - contains( context, elem ) && - elem.id === m ) { - - results.push( elem ); - return results; - } - } - - // Type selector - } else if ( match[ 2 ] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Class selector - } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && - context.getElementsByClassName ) { - - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // Take advantage of querySelectorAll - if ( support.qsa && - !nonnativeSelectorCache[ selector + " " ] && - ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && - - // Support: IE 8 only - // Exclude object elements - ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { - - newSelector = selector; - newContext = context; - - // qSA considers elements outside a scoping root when evaluating child or - // descendant combinators, which is not what we want. - // In such cases, we work around the behavior by prefixing every selector in the - // list with an ID selector referencing the scope context. - // The technique has to be used as well when a leading combinator is used - // as such selectors are not recognized by querySelectorAll. - // Thanks to Andrew Dupont for this technique. - if ( nodeType === 1 && - ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { - - // Expand context for sibling selectors - newContext = rsibling.test( selector ) && testContext( context.parentNode ) || - context; - - // We can use :scope instead of the ID hack if the browser - // supports it & if we're not changing the context. - if ( newContext !== context || !support.scope ) { - - // Capture the context ID, setting it first if necessary - if ( ( nid = context.getAttribute( "id" ) ) ) { - nid = nid.replace( rcssescape, fcssescape ); - } else { - context.setAttribute( "id", ( nid = expando ) ); - } - } - - // Prefix every selector in the list - groups = tokenize( selector ); - i = groups.length; - while ( i-- ) { - groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + - toSelector( groups[ i ] ); - } - newSelector = groups.join( "," ); - } - - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch ( qsaError ) { - nonnativeSelectorCache( selector, true ); - } finally { - if ( nid === expando ) { - context.removeAttribute( "id" ); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {function(string, object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key + " " ) > Expr.cacheLength ) { - - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return ( cache[ key + " " ] = value ); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created element and returns a boolean result - */ -function assert( fn ) { - var el = document.createElement( "fieldset" ); - - try { - return !!fn( el ); - } catch ( e ) { - return false; - } finally { - - // Remove from its parent by default - if ( el.parentNode ) { - el.parentNode.removeChild( el ); - } - - // release memory in IE - el = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split( "|" ), - i = arr.length; - - while ( i-- ) { - Expr.attrHandle[ arr[ i ] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - a.sourceIndex - b.sourceIndex; - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( ( cur = cur.nextSibling ) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return ( name === "input" || name === "button" ) && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for :enabled/:disabled - * @param {Boolean} disabled true for :disabled; false for :enabled - */ -function createDisabledPseudo( disabled ) { - - // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable - return function( elem ) { - - // Only certain elements can match :enabled or :disabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled - if ( "form" in elem ) { - - // Check for inherited disabledness on relevant non-disabled elements: - // * listed form-associated elements in a disabled fieldset - // https://html.spec.whatwg.org/multipage/forms.html#category-listed - // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled - // * option elements in a disabled optgroup - // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled - // All such elements have a "form" property. - if ( elem.parentNode && elem.disabled === false ) { - - // Option elements defer to a parent optgroup if present - if ( "label" in elem ) { - if ( "label" in elem.parentNode ) { - return elem.parentNode.disabled === disabled; - } else { - return elem.disabled === disabled; - } - } - - // Support: IE 6 - 11 - // Use the isDisabled shortcut property to check for disabled fieldset ancestors - return elem.isDisabled === disabled || - - // Where there is no isDisabled, check manually - /* jshint -W018 */ - elem.isDisabled !== !disabled && - inDisabledFieldset( elem ) === disabled; - } - - return elem.disabled === disabled; - - // Try to winnow out elements that can't be disabled before trusting the disabled property. - // Some victims get caught in our net (label, legend, menu, track), but it shouldn't - // even exist on them, let alone have a boolean value. - } else if ( "label" in elem ) { - return elem.disabled === disabled; - } - - // Remaining elements are neither :enabled nor :disabled - return false; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction( function( argument ) { - argument = +argument; - return markFunction( function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ ( j = matchIndexes[ i ] ) ] ) { - seed[ j ] = !( matches[ j ] = seed[ j ] ); - } - } - } ); - } ); -} - -/** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ -function testContext( context ) { - return context && typeof context.getElementsByTagName !== "undefined" && context; -} - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ -isXML = Sizzle.isXML = function( elem ) { - var namespace = elem.namespaceURI, - docElem = ( elem.ownerDocument || elem ).documentElement; - - // Support: IE <=8 - // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes - // https://bugs.jquery.com/ticket/4833 - return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var hasCompare, subWindow, - doc = node ? node.ownerDocument || node : preferredDoc; - - // Return early if doc is invalid or already selected - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Update global variables - document = doc; - docElem = document.documentElement; - documentIsHTML = !isXML( document ); - - // Support: IE 9 - 11+, Edge 12 - 18+ - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( preferredDoc != document && - ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { - - // Support: IE 11, Edge - if ( subWindow.addEventListener ) { - subWindow.addEventListener( "unload", unloadHandler, false ); - - // Support: IE 9 - 10 only - } else if ( subWindow.attachEvent ) { - subWindow.attachEvent( "onunload", unloadHandler ); - } - } - - // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, - // Safari 4 - 5 only, Opera <=11.6 - 12.x only - // IE/Edge & older browsers don't support the :scope pseudo-class. - // Support: Safari 6.0 only - // Safari 6.0 supports :scope but it's an alias of :root there. - support.scope = assert( function( el ) { - docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); - return typeof el.querySelectorAll !== "undefined" && - !el.querySelectorAll( ":scope fieldset div" ).length; - } ); - - /* Attributes + var isWindow = function isWindow(obj) { + return obj != null && obj === obj.window; + }; + + var document = window.document; + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true, + }; + + function DOMEval(code, node, doc) { + doc = doc || document; + + var i, + val, + script = doc.createElement('script'); + + script.text = code; + if (node) { + for (i in preservedScriptAttributes) { + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[i] || (node.getAttribute && node.getAttribute(i)); + if (val) { + script.setAttribute(i, val); + } + } + } + doc.head.appendChild(script).parentNode.removeChild(script); + } + + function toType(obj) { + if (obj == null) { + return obj + ''; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === 'object' || typeof obj === 'function' + ? class2type[toString.call(obj)] || 'object' + : typeof obj; + } + /* global Symbol */ + // Defining this global in .eslintrc.json would create a danger of using the global + // unguarded in another place, it seems safer to define global only for this module + + var version = '3.5.1', + // Define a local copy of jQuery + jQuery = function (selector, context) { + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init(selector, context); + }; + + jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function () { + return slice.call(this); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function (num) { + // Return all the elements in a clean array + if (num == null) { + return slice.call(this); + } + + // Return just the one element from the set + return num < 0 ? this[num + this.length] : this[num]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function (elems) { + // Build a new jQuery matched element set + var ret = jQuery.merge(this.constructor(), elems); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function (callback) { + return jQuery.each(this, callback); + }, + + map: function (callback) { + return this.pushStack( + jQuery.map(this, function (elem, i) { + return callback.call(elem, i, elem); + }), + ); + }, + + slice: function () { + return this.pushStack(slice.apply(this, arguments)); + }, + + first: function () { + return this.eq(0); + }, + + last: function () { + return this.eq(-1); + }, + + even: function () { + return this.pushStack( + jQuery.grep(this, function (_elem, i) { + return (i + 1) % 2; + }), + ); + }, + + odd: function () { + return this.pushStack( + jQuery.grep(this, function (_elem, i) { + return i % 2; + }), + ); + }, + + eq: function (i) { + var len = this.length, + j = +i + (i < 0 ? len : 0); + return this.pushStack(j >= 0 && j < len ? [this[j]] : []); + }, + + end: function () { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice, + }; + + jQuery.extend = jQuery.fn.extend = function () { + var options, + name, + src, + copy, + copyIsArray, + clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if (typeof target === 'boolean') { + deep = target; + + // Skip the boolean and the target + target = arguments[i] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if (typeof target !== 'object' && !isFunction(target)) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if (i === length) { + target = this; + i--; + } + + for (; i < length; i++) { + // Only deal with non-null/undefined values + if ((options = arguments[i]) != null) { + // Extend the base object + for (name in options) { + copy = options[name]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if (name === '__proto__' || target === copy) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( + deep && + copy && + (jQuery.isPlainObject(copy) || (copyIsArray = Array.isArray(copy))) + ) { + src = target[name]; + + // Ensure proper type for the source value + if (copyIsArray && !Array.isArray(src)) { + clone = []; + } else if (!copyIsArray && !jQuery.isPlainObject(src)) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[name] = jQuery.extend(deep, clone, copy); + + // Don't bring in undefined values + } else if (copy !== undefined) { + target[name] = copy; + } + } + } + } + + // Return the modified object + return target; + }; + + jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: 'jQuery' + (version + Math.random()).replace(/\D/g, ''), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function (msg) { + throw new Error(msg); + }, + + noop: function () {}, + + isPlainObject: function (obj) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if (!obj || toString.call(obj) !== '[object Object]') { + return false; + } + + proto = getProto(obj); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if (!proto) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call(proto, 'constructor') && proto.constructor; + return ( + typeof Ctor === 'function' && + fnToString.call(Ctor) === ObjectFunctionString + ); + }, + + isEmptyObject: function (obj) { + var name; + + for (name in obj) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function (code, options, doc) { + DOMEval(code, {nonce: options && options.nonce}, doc); + }, + + each: function (obj, callback) { + var length, + i = 0; + + if (isArrayLike(obj)) { + length = obj.length; + for (; i < length; i++) { + if (callback.call(obj[i], i, obj[i]) === false) { + break; + } + } + } else { + for (i in obj) { + if (callback.call(obj[i], i, obj[i]) === false) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function (arr, results) { + var ret = results || []; + + if (arr != null) { + if (isArrayLike(Object(arr))) { + jQuery.merge(ret, typeof arr === 'string' ? [arr] : arr); + } else { + push.call(ret, arr); + } + } + + return ret; + }, + + inArray: function (elem, arr, i) { + return arr == null ? -1 : indexOf.call(arr, elem, i); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function (first, second) { + var len = +second.length, + j = 0, + i = first.length; + + for (; j < len; j++) { + first[i++] = second[j]; + } + + first.length = i; + + return first; + }, + + grep: function (elems, callback, invert) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for (; i < length; i++) { + callbackInverse = !callback(elems[i], i); + if (callbackInverse !== callbackExpect) { + matches.push(elems[i]); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function (elems, callback, arg) { + var length, + value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if (isArrayLike(elems)) { + length = elems.length; + for (; i < length; i++) { + value = callback(elems[i], i, arg); + + if (value != null) { + ret.push(value); + } + } + + // Go through every key on the object, + } else { + for (i in elems) { + value = callback(elems[i], i, arg); + + if (value != null) { + ret.push(value); + } + } + } + + // Flatten any nested arrays + return flat(ret); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support, + }); + + if (typeof Symbol === 'function') { + jQuery.fn[Symbol.iterator] = arr[Symbol.iterator]; + } + + // Populate the class2type map + jQuery.each( + 'Boolean Number String Function Array Date RegExp Object Error Symbol'.split( + ' ', + ), + function (_i, name) { + class2type['[object ' + name + ']'] = name.toLowerCase(); + }, + ); + + function isArrayLike(obj) { + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && 'length' in obj && obj.length, + type = toType(obj); + + if (isFunction(obj) || isWindow(obj)) { + return false; + } + + return ( + type === 'array' || + length === 0 || + (typeof length === 'number' && length > 0 && length - 1 in obj) + ); + } + var Sizzle = + /*! + * Sizzle CSS Selector Engine v2.3.5 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2020-03-14 + */ + (function (window) { + var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + // Instance-specific data + expando = 'sizzle' + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function (a, b) { + if (a === b) { + hasDuplicate = true; + } + return 0; + }, + // Instance methods + hasOwn = {}.hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function (list, elem) { + var i = 0, + len = list.length; + for (; i < len; i++) { + if (list[i] === elem) { + return i; + } + } + return -1; + }, + booleans = + 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|' + + 'ismap|loop|multiple|open|readonly|required|scoped', + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = '[\\x20\\t\\r\\n\\f]', + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = + '(?:\\\\[\\da-fA-F]{1,6}' + + whitespace + + '?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+', + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = + '\\[' + + whitespace + + '*(' + + identifier + + ')(?:' + + whitespace + + // Operator (capture 2) + '*([*^$|!~]?=)' + + whitespace + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + '*(?:\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)"|(' + + identifier + + '))|)' + + whitespace + + '*\\]', + pseudos = + ':(' + + identifier + + ')(?:\\((' + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + '(\'((?:\\\\.|[^\\\\\'])*)\'|"((?:\\\\.|[^\\\\"])*)")|' + + // 2. simple (capture 6) + '((?:\\\\.|[^\\\\()[\\]]|' + + attributes + + ')*)|' + + // 3. anything else (capture 2) + '.*' + + ')\\)|)', + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp(whitespace + '+', 'g'), + rtrim = new RegExp( + '^' + whitespace + '+|((?:^|[^\\\\])(?:\\\\.)*)' + whitespace + '+$', + 'g', + ), + rcomma = new RegExp('^' + whitespace + '*,' + whitespace + '*'), + rcombinators = new RegExp( + '^' + whitespace + '*([>+~]|' + whitespace + ')' + whitespace + '*', + ), + rdescend = new RegExp(whitespace + '|>'), + rpseudo = new RegExp(pseudos), + ridentifier = new RegExp('^' + identifier + '$'), + matchExpr = { + ID: new RegExp('^#(' + identifier + ')'), + CLASS: new RegExp('^\\.(' + identifier + ')'), + TAG: new RegExp('^(' + identifier + '|[*])'), + ATTR: new RegExp('^' + attributes), + PSEUDO: new RegExp('^' + pseudos), + CHILD: new RegExp( + '^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' + + whitespace + + '*(even|odd|(([+-]|)(\\d*)n|)' + + whitespace + + '*(?:([+-]|)' + + whitespace + + '*(\\d+)|))' + + whitespace + + '*\\)|)', + 'i', + ), + bool: new RegExp('^(?:' + booleans + ')$', 'i'), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + needsContext: new RegExp( + '^' + + whitespace + + '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' + + whitespace + + '*((?:-\\d)?\\d*)' + + whitespace + + '*\\)|)(?=[^-]|$)', + 'i', + ), + }, + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + rnative = /^[^{]+\{\s*\[native \w/, + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + rsibling = /[+~]/, + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( + '\\\\[\\da-fA-F]{1,6}' + whitespace + '?|\\\\([^\\r\\n\\f])', + 'g', + ), + funescape = function (escape, nonHex) { + var high = '0x' + escape.slice(1) - 0x10000; + + return nonHex + ? // Strip the backslash prefix from a non-hex escape sequence + nonHex + : // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 + ? String.fromCharCode(high + 0x10000) + : String.fromCharCode( + (high >> 10) | 0xd800, + (high & 0x3ff) | 0xdc00, + ); + }, + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function (ch, asCodePoint) { + if (asCodePoint) { + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if (ch === '\0') { + return '\uFFFD'; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ( + ch.slice(0, -1) + + '\\' + + ch.charCodeAt(ch.length - 1).toString(16) + + ' ' + ); + } + + // Other potentially-special ASCII characters get backslash-escaped + return '\\' + ch; + }, + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function () { + setDocument(); + }, + inDisabledFieldset = addCombinator( + function (elem) { + return ( + elem.disabled === true && + elem.nodeName.toLowerCase() === 'fieldset' + ); + }, + {dir: 'parentNode', next: 'legend'}, + ); + + // Optimize for push.apply( _, NodeList ) + try { + push.apply( + (arr = slice.call(preferredDoc.childNodes)), + preferredDoc.childNodes, + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[preferredDoc.childNodes.length].nodeType; + } catch (e) { + push = { + apply: arr.length + ? // Leverage slice if possible + function (target, els) { + pushNative.apply(target, slice.call(els)); + } + : // Support: IE<9 + // Otherwise append directly + function (target, els) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ((target[j++] = els[i++])) {} + target.length = j - 1; + }, + }; + } + + function Sizzle(selector, context, results, seed) { + var m, + i, + elem, + nid, + match, + groups, + newSelector, + newContext = context && context.ownerDocument, + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( + typeof selector !== 'string' || + !selector || + (nodeType !== 1 && nodeType !== 9 && nodeType !== 11) + ) { + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if (!seed) { + setDocument(context); + context = context || document; + + if (documentIsHTML) { + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if (nodeType !== 11 && (match = rquickExpr.exec(selector))) { + // ID selector + if ((m = match[1])) { + // Document context + if (nodeType === 9) { + if ((elem = context.getElementById(m))) { + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if (elem.id === m) { + results.push(elem); + return results; + } + } else { + return results; + } + + // Element context + } else { + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( + newContext && + (elem = newContext.getElementById(m)) && + contains(context, elem) && + elem.id === m + ) { + results.push(elem); + return results; + } + } + + // Type selector + } else if (match[2]) { + push.apply(results, context.getElementsByTagName(selector)); + return results; + + // Class selector + } else if ( + (m = match[3]) && + support.getElementsByClassName && + context.getElementsByClassName + ) { + push.apply(results, context.getElementsByClassName(m)); + return results; + } + } + + // Take advantage of querySelectorAll + if ( + support.qsa && + !nonnativeSelectorCache[selector + ' '] && + (!rbuggyQSA || !rbuggyQSA.test(selector)) && + // Support: IE 8 only + // Exclude object elements + (nodeType !== 1 || context.nodeName.toLowerCase() !== 'object') + ) { + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( + nodeType === 1 && + (rdescend.test(selector) || rcombinators.test(selector)) + ) { + // Expand context for sibling selectors + newContext = + (rsibling.test(selector) && + testContext(context.parentNode)) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if (newContext !== context || !support.scope) { + // Capture the context ID, setting it first if necessary + if ((nid = context.getAttribute('id'))) { + nid = nid.replace(rcssescape, fcssescape); + } else { + context.setAttribute('id', (nid = expando)); + } + } + + // Prefix every selector in the list + groups = tokenize(selector); + i = groups.length; + while (i--) { + groups[i] = + (nid ? '#' + nid : ':scope') + ' ' + toSelector(groups[i]); + } + newSelector = groups.join(','); + } + + try { + push.apply(results, newContext.querySelectorAll(newSelector)); + return results; + } catch (qsaError) { + nonnativeSelectorCache(selector, true); + } finally { + if (nid === expando) { + context.removeAttribute('id'); + } + } + } + } + } + + // All others + return select(selector.replace(rtrim, '$1'), context, results, seed); + } + + /** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ + function createCache() { + var keys = []; + + function cache(key, value) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if (keys.push(key + ' ') > Expr.cacheLength) { + // Only keep the most recent entries + delete cache[keys.shift()]; + } + return (cache[key + ' '] = value); + } + return cache; + } + + /** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ + function markFunction(fn) { + fn[expando] = true; + return fn; + } + + /** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ + function assert(fn) { + var el = document.createElement('fieldset'); + + try { + return !!fn(el); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if (el.parentNode) { + el.parentNode.removeChild(el); + } + + // release memory in IE + el = null; + } + } + + /** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ + function addHandle(attrs, handler) { + var arr = attrs.split('|'), + i = arr.length; + + while (i--) { + Expr.attrHandle[arr[i]] = handler; + } + } + + /** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ + function siblingCheck(a, b) { + var cur = b && a, + diff = + cur && + a.nodeType === 1 && + b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if (diff) { + return diff; + } + + // Check if b follows a + if (cur) { + while ((cur = cur.nextSibling)) { + if (cur === b) { + return -1; + } + } + } + + return a ? 1 : -1; + } + + /** + * Returns a function to use in pseudos for input types + * @param {String} type + */ + function createInputPseudo(type) { + return function (elem) { + var name = elem.nodeName.toLowerCase(); + return name === 'input' && elem.type === type; + }; + } + + /** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ + function createButtonPseudo(type) { + return function (elem) { + var name = elem.nodeName.toLowerCase(); + return (name === 'input' || name === 'button') && elem.type === type; + }; + } + + /** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ + function createDisabledPseudo(disabled) { + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function (elem) { + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ('form' in elem) { + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if (elem.parentNode && elem.disabled === false) { + // Option elements defer to a parent optgroup if present + if ('label' in elem) { + if ('label' in elem.parentNode) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return ( + elem.isDisabled === disabled || + // Where there is no isDisabled, check manually + /* jshint -W018 */ + (elem.isDisabled !== !disabled && + inDisabledFieldset(elem) === disabled) + ); + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ('label' in elem) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; + } + + /** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ + function createPositionalPseudo(fn) { + return markFunction(function (argument) { + argument = +argument; + return markFunction(function (seed, matches) { + var j, + matchIndexes = fn([], seed.length, argument), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while (i--) { + if (seed[(j = matchIndexes[i])]) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); + } + + /** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ + function testContext(context) { + return ( + context && + typeof context.getElementsByTagName !== 'undefined' && + context + ); + } + + // Expose support vars for convenience + support = Sizzle.support = {}; + + /** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ + isXML = Sizzle.isXML = function (elem) { + var namespace = elem.namespaceURI, + docElem = (elem.ownerDocument || elem).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( + namespace || (docElem && docElem.nodeName) || 'HTML', + ); + }; + + /** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ + setDocument = Sizzle.setDocument = function (node) { + var hasCompare, + subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if (doc == document || doc.nodeType !== 9 || !doc.documentElement) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML(document); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( + preferredDoc != document && + (subWindow = document.defaultView) && + subWindow.top !== subWindow + ) { + // Support: IE 11, Edge + if (subWindow.addEventListener) { + subWindow.addEventListener('unload', unloadHandler, false); + + // Support: IE 9 - 10 only + } else if (subWindow.attachEvent) { + subWindow.attachEvent('onunload', unloadHandler); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert(function (el) { + docElem.appendChild(el).appendChild(document.createElement('div')); + return ( + typeof el.querySelectorAll !== 'undefined' && + !el.querySelectorAll(':scope fieldset div').length + ); + }); + + /* Attributes ---------------------------------------------------------------------- */ - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert( function( el ) { - el.className = "i"; - return !el.getAttribute( "className" ); - } ); + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function (el) { + el.className = 'i'; + return !el.getAttribute('className'); + }); - /* getElement(s)By* + /* getElement(s)By* ---------------------------------------------------------------------- */ - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert( function( el ) { - el.appendChild( document.createComment( "" ) ); - return !el.getElementsByTagName( "*" ).length; - } ); + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function (el) { + el.appendChild(document.createComment('')); + return !el.getElementsByTagName('*').length; + }); - // Support: IE<9 - support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + // Support: IE<9 + support.getElementsByClassName = rnative.test( + document.getElementsByClassName, + ); - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programmatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert( function( el ) { - docElem.appendChild( el ).id = expando; - return !document.getElementsByName || !document.getElementsByName( expando ).length; - } ); + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function (el) { + docElem.appendChild(el).id = expando; + return ( + !document.getElementsByName || + !document.getElementsByName(expando).length + ); + }); - // ID filter and find - if ( support.getById ) { - Expr.filter[ "ID" ] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute( "id" ) === attrId; - }; - }; - Expr.find[ "ID" ] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var elem = context.getElementById( id ); - return elem ? [ elem ] : []; - } - }; - } else { - Expr.filter[ "ID" ] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== "undefined" && - elem.getAttributeNode( "id" ); - return node && node.value === attrId; - }; - }; + // ID filter and find + if (support.getById) { + Expr.filter['ID'] = function (id) { + var attrId = id.replace(runescape, funescape); + return function (elem) { + return elem.getAttribute('id') === attrId; + }; + }; + Expr.find['ID'] = function (id, context) { + if ( + typeof context.getElementById !== 'undefined' && + documentIsHTML + ) { + var elem = context.getElementById(id); + return elem ? [elem] : []; + } + }; + } else { + Expr.filter['ID'] = function (id) { + var attrId = id.replace(runescape, funescape); + return function (elem) { + var node = + typeof elem.getAttributeNode !== 'undefined' && + elem.getAttributeNode('id'); + return node && node.value === attrId; + }; + }; - // Support: IE 6 - 7 only - // getElementById is not reliable as a find shortcut - Expr.find[ "ID" ] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var node, i, elems, - elem = context.getElementById( id ); + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find['ID'] = function (id, context) { + if ( + typeof context.getElementById !== 'undefined' && + documentIsHTML + ) { + var node, + i, + elems, + elem = context.getElementById(id); - if ( elem ) { + if (elem) { + // Verify the id attribute + node = elem.getAttributeNode('id'); + if (node && node.value === id) { + return [elem]; + } - // Verify the id attribute - node = elem.getAttributeNode( "id" ); - if ( node && node.value === id ) { - return [ elem ]; - } + // Fall back on getElementsByName + elems = context.getElementsByName(id); + i = 0; + while ((elem = elems[i++])) { + node = elem.getAttributeNode('id'); + if (node && node.value === id) { + return [elem]; + } + } + } - // Fall back on getElementsByName - elems = context.getElementsByName( id ); - i = 0; - while ( ( elem = elems[ i++ ] ) ) { - node = elem.getAttributeNode( "id" ); - if ( node && node.value === id ) { - return [ elem ]; - } - } - } + return []; + } + }; + } - return []; - } - }; - } + // Tag + Expr.find['TAG'] = support.getElementsByTagName + ? function (tag, context) { + if (typeof context.getElementsByTagName !== 'undefined') { + return context.getElementsByTagName(tag); - // Tag - Expr.find[ "TAG" ] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( tag ); + // DocumentFragment nodes don't have gEBTN + } else if (support.qsa) { + return context.querySelectorAll(tag); + } + } + : function (tag, context) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName(tag); - // DocumentFragment nodes don't have gEBTN - } else if ( support.qsa ) { - return context.querySelectorAll( tag ); - } - } : + // Filter out possible comments + if (tag === '*') { + while ((elem = results[i++])) { + if (elem.nodeType === 1) { + tmp.push(elem); + } + } - function( tag, context ) { - var elem, - tmp = [], - i = 0, + return tmp; + } + return results; + }; - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName( tag ); + // Class + Expr.find['CLASS'] = + support.getElementsByClassName && + function (className, context) { + if ( + typeof context.getElementsByClassName !== 'undefined' && + documentIsHTML + ) { + return context.getElementsByClassName(className); + } + }; - // Filter out possible comments - if ( tag === "*" ) { - while ( ( elem = results[ i++ ] ) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector + /* QSA/matchesSelector ---------------------------------------------------------------------- */ - // QSA and matchesSelector support + // QSA and matchesSelector support - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See https://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; - if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + if ((support.qsa = rnative.test(document.querySelectorAll))) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function (el) { + var input; - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert( function( el ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild(el).innerHTML = + "" + + ""; - var input; + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if (el.querySelectorAll("[msallowcapture^='']").length) { + rbuggyQSA.push('[*^$]=' + whitespace + '*(?:\'\'|"")'); + } - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // https://bugs.jquery.com/ticket/12359 - docElem.appendChild( el ).innerHTML = "" + - ""; + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if (!el.querySelectorAll('[selected]').length) { + rbuggyQSA.push( + '\\[' + whitespace + '*(?:value|' + booleans + ')', + ); + } - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if (!el.querySelectorAll('[id~=' + expando + '-]').length) { + rbuggyQSA.push('~='); + } - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !el.querySelectorAll( "[selected]" ).length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement('input'); + input.setAttribute('name', ''); + el.appendChild(input); + if (!el.querySelectorAll("[name='']").length) { + rbuggyQSA.push( + '\\[' + + whitespace + + '*name' + + whitespace + + '*=' + + whitespace + + '*(?:\'\'|"")', + ); + } - // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ - if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { - rbuggyQSA.push( "~=" ); - } + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if (!el.querySelectorAll(':checked').length) { + rbuggyQSA.push(':checked'); + } - // Support: IE 11+, Edge 15 - 18+ - // IE 11/Edge don't find elements on a `[name='']` query in some cases. - // Adding a temporary attribute to the document before the selection works - // around the issue. - // Interestingly, IE 10 & older don't seem to have the issue. - input = document.createElement( "input" ); - input.setAttribute( "name", "" ); - el.appendChild( input ); - if ( !el.querySelectorAll( "[name='']" ).length ) { - rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + - whitespace + "*(?:''|\"\")" ); - } + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if (!el.querySelectorAll('a#' + expando + '+*').length) { + rbuggyQSA.push('.#.+[+~]'); + } - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !el.querySelectorAll( ":checked" ).length ) { - rbuggyQSA.push( ":checked" ); - } + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll('\\\f'); + rbuggyQSA.push('[\\r\\n\\f]'); + }); - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibling-combinator selector` fails - if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { - rbuggyQSA.push( ".#.+[+~]" ); - } + assert(function (el) { + el.innerHTML = + "" + + ""; - // Support: Firefox <=3.6 - 5 only - // Old Firefox doesn't throw on a badly-escaped identifier. - el.querySelectorAll( "\\\f" ); - rbuggyQSA.push( "[\\r\\n\\f]" ); - } ); + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement('input'); + input.setAttribute('type', 'hidden'); + el.appendChild(input).setAttribute('name', 'D'); - assert( function( el ) { - el.innerHTML = "" + - ""; + // Support: IE8 + // Enforce case-sensitivity of name attribute + if (el.querySelectorAll('[name=d]').length) { + rbuggyQSA.push('name' + whitespace + '*[*^$|!~]?='); + } - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = document.createElement( "input" ); - input.setAttribute( "type", "hidden" ); - el.appendChild( input ).setAttribute( "name", "D" ); + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if (el.querySelectorAll(':enabled').length !== 2) { + rbuggyQSA.push(':enabled', ':disabled'); + } - // Support: IE8 - // Enforce case-sensitivity of name attribute - if ( el.querySelectorAll( "[name=d]" ).length ) { - rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); - } + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild(el).disabled = true; + if (el.querySelectorAll(':disabled').length !== 2) { + rbuggyQSA.push(':enabled', ':disabled'); + } - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll('*,:x'); + rbuggyQSA.push(',.*:'); + }); + } - // Support: IE9-11+ - // IE's :disabled selector does not pick up the children of disabled fieldsets - docElem.appendChild( el ).disabled = true; - if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } + if ( + (support.matchesSelector = rnative.test( + (matches = + docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector), + )) + ) { + assert(function (el) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call(el, '*'); - // Support: Opera 10 - 11 only - // Opera 10-11 does not throw on post-comma invalid pseudos - el.querySelectorAll( "*,:x" ); - rbuggyQSA.push( ",.*:" ); - } ); - } + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call(el, "[s!='']:x"); + rbuggyMatches.push('!=', pseudos); + }); + } - if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector ) ) ) ) { + rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join('|')); + rbuggyMatches = + rbuggyMatches.length && new RegExp(rbuggyMatches.join('|')); - assert( function( el ) { - - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( el, "*" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( el, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - } ); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); - - /* Contains + /* Contains ---------------------------------------------------------------------- */ - hasCompare = rnative.test( docElem.compareDocumentPosition ); + hasCompare = rnative.test(docElem.compareDocumentPosition); - // Element contains another - // Purposefully self-exclusive - // As in, an element does not contain itself - contains = hasCompare || rnative.test( docElem.contains ) ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - ) ); - } : - function( a, b ) { - if ( b ) { - while ( ( b = b.parentNode ) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = + hasCompare || rnative.test(docElem.contains) + ? function (a, b) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return ( + a === bup || + !!( + bup && + bup.nodeType === 1 && + (adown.contains + ? adown.contains(bup) + : a.compareDocumentPosition && + a.compareDocumentPosition(bup) & 16) + ) + ); + } + : function (a, b) { + if (b) { + while ((b = b.parentNode)) { + if (b === a) { + return true; + } + } + } + return false; + }; - /* Sorting + /* Sorting ---------------------------------------------------------------------- */ - // Document order sorting - sortOrder = hasCompare ? - function( a, b ) { + // Document order sorting + sortOrder = hasCompare + ? function (a, b) { + // Flag for duplicate removal + if (a === b) { + hasDuplicate = true; + return 0; + } - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } + // Sort on method existence if only one input has compareDocumentPosition + var compare = + !a.compareDocumentPosition - !b.compareDocumentPosition; + if (compare) { + return compare; + } - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if ( compare ) { - return compare; - } + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = + (a.ownerDocument || a) == (b.ownerDocument || b) + ? a.compareDocumentPosition(b) + : // Otherwise we know they are disconnected + 1; - // Calculate position if both inputs belong to the same document - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? - a.compareDocumentPosition( b ) : + // Disconnected nodes + if ( + compare & 1 || + (!support.sortDetached && + b.compareDocumentPosition(a) === compare) + ) { + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( + a == document || + (a.ownerDocument == preferredDoc && contains(preferredDoc, a)) + ) { + return -1; + } - // Otherwise we know they are disconnected - 1; + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( + b == document || + (b.ownerDocument == preferredDoc && contains(preferredDoc, b)) + ) { + return 1; + } - // Disconnected nodes - if ( compare & 1 || - ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + // Maintain original order + return sortInput + ? indexOf(sortInput, a) - indexOf(sortInput, b) + : 0; + } - // Choose the first element that is related to our preferred document - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( a == document || a.ownerDocument == preferredDoc && - contains( preferredDoc, a ) ) { - return -1; - } + return compare & 4 ? -1 : 1; + } + : function (a, b) { + // Exit early if the nodes are identical + if (a === b) { + hasDuplicate = true; + return 0; + } - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( b == document || b.ownerDocument == preferredDoc && - contains( preferredDoc, b ) ) { - return 1; - } + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [a], + bp = [b]; - // Maintain original order - return sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - } + // Parentless nodes are either documents or disconnected + if (!aup || !bup) { + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document + ? -1 + : b == document + ? 1 + : /* eslint-enable eqeqeq */ + aup + ? -1 + : bup + ? 1 + : sortInput + ? indexOf(sortInput, a) - indexOf(sortInput, b) + : 0; - return compare & 4 ? -1 : 1; - } : - function( a, b ) { + // If the nodes are siblings, we can do a quick check + } else if (aup === bup) { + return siblingCheck(a, b); + } - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - } + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ((cur = cur.parentNode)) { + ap.unshift(cur); + } + cur = b; + while ((cur = cur.parentNode)) { + bp.unshift(cur); + } - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; + // Walk down the tree looking for a discrepancy + while (ap[i] === bp[i]) { + i++; + } - // Parentless nodes are either documents or disconnected - if ( !aup || !bup ) { + return i + ? // Do a sibling check if the nodes have a common ancestor + siblingCheck(ap[i], bp[i]) + : // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[i] == preferredDoc + ? -1 + : bp[i] == preferredDoc + ? 1 + : /* eslint-enable eqeqeq */ + 0; + }; - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - /* eslint-disable eqeqeq */ - return a == document ? -1 : - b == document ? 1 : - /* eslint-enable eqeqeq */ - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; + return document; + }; - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } + Sizzle.matches = function (expr, elements) { + return Sizzle(expr, null, null, elements); + }; - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( ( cur = cur.parentNode ) ) { - ap.unshift( cur ); - } - cur = b; - while ( ( cur = cur.parentNode ) ) { - bp.unshift( cur ); - } + Sizzle.matchesSelector = function (elem, expr) { + setDocument(elem); - // Walk down the tree looking for a discrepancy - while ( ap[ i ] === bp[ i ] ) { - i++; - } + if ( + support.matchesSelector && + documentIsHTML && + !nonnativeSelectorCache[expr + ' '] && + (!rbuggyMatches || !rbuggyMatches.test(expr)) && + (!rbuggyQSA || !rbuggyQSA.test(expr)) + ) { + try { + var ret = matches.call(elem, expr); - return i ? + // IE 9's matchesSelector returns false on disconnected nodes + if ( + ret || + support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + (elem.document && elem.document.nodeType !== 11) + ) { + return ret; + } + } catch (e) { + nonnativeSelectorCache(expr, true); + } + } - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[ i ], bp[ i ] ) : + return Sizzle(expr, document, null, [elem]).length > 0; + }; - // Otherwise nodes in our document sort first - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - /* eslint-disable eqeqeq */ - ap[ i ] == preferredDoc ? -1 : - bp[ i ] == preferredDoc ? 1 : - /* eslint-enable eqeqeq */ - 0; - }; + Sizzle.contains = function (context, elem) { + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ((context.ownerDocument || context) != document) { + setDocument(context); + } + return contains(context, elem); + }; - return document; -}; + Sizzle.attr = function (elem, name) { + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ((elem.ownerDocument || elem) != document) { + setDocument(elem); + } -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; + var fn = Expr.attrHandle[name.toLowerCase()], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = + fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) + ? fn(elem, name, !documentIsHTML) + : undefined; -Sizzle.matchesSelector = function( elem, expr ) { - setDocument( elem ); + return val !== undefined + ? val + : support.attributes || !documentIsHTML + ? elem.getAttribute(name) + : (val = elem.getAttributeNode(name)) && val.specified + ? val.value + : null; + }; - if ( support.matchesSelector && documentIsHTML && - !nonnativeSelectorCache[ expr + " " ] && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + Sizzle.escape = function (sel) { + return (sel + '').replace(rcssescape, fcssescape); + }; - try { - var ret = matches.call( elem, expr ); + Sizzle.error = function (msg) { + throw new Error('Syntax error, unrecognized expression: ' + msg); + }; - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || + /** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ + Sizzle.uniqueSort = function (results) { + var elem, + duplicates = [], + j = 0, + i = 0; - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch ( e ) { - nonnativeSelectorCache( expr, true ); - } - } + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice(0); + results.sort(sortOrder); - return Sizzle( expr, document, null, [ elem ] ).length > 0; -}; + if (hasDuplicate) { + while ((elem = results[i++])) { + if (elem === results[i]) { + j = duplicates.push(i); + } + } + while (j--) { + results.splice(duplicates[j], 1); + } + } -Sizzle.contains = function( context, elem ) { + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; - // Set document vars if needed - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( ( context.ownerDocument || context ) != document ) { - setDocument( context ); - } - return contains( context, elem ); -}; + return results; + }; -Sizzle.attr = function( elem, name ) { + /** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ + getText = Sizzle.getText = function (elem) { + var node, + ret = '', + i = 0, + nodeType = elem.nodeType; - // Set document vars if needed - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( ( elem.ownerDocument || elem ) != document ) { - setDocument( elem ); - } + if (!nodeType) { + // If no nodeType, this is expected to be an array + while ((node = elem[i++])) { + // Do not traverse comment nodes + ret += getText(node); + } + } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if (typeof elem.textContent === 'string') { + return elem.textContent; + } else { + // Traverse its children + for (elem = elem.firstChild; elem; elem = elem.nextSibling) { + ret += getText(elem); + } + } + } else if (nodeType === 3 || nodeType === 4) { + return elem.nodeValue; + } - var fn = Expr.attrHandle[ name.toLowerCase() ], + // Do not include comment or processing instruction nodes - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; + return ret; + }; - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - ( val = elem.getAttributeNode( name ) ) && val.specified ? - val.value : - null; -}; + Expr = Sizzle.selectors = { + // Can be adjusted by the user + cacheLength: 50, -Sizzle.escape = function( sel ) { - return ( sel + "" ).replace( rcssescape, fcssescape ); -}; + createPseudo: markFunction, -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; + match: matchExpr, -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; + attrHandle: {}, - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); + find: {}, - if ( hasDuplicate ) { - while ( ( elem = results[ i++ ] ) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } + relative: { + '>': {dir: 'parentNode', first: true}, + ' ': {dir: 'parentNode'}, + '+': {dir: 'previousSibling', first: true}, + '~': {dir: 'previousSibling'}, + }, - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; + preFilter: { + ATTR: function (match) { + match[1] = match[1].replace(runescape, funescape); - return results; -}; + // Move the given value to match[3] whether quoted or unquoted + match[3] = (match[3] || match[4] || match[5] || '').replace( + runescape, + funescape, + ); -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; + if (match[2] === '~=') { + match[3] = ' ' + match[3] + ' '; + } - if ( !nodeType ) { + return match.slice(0, 4); + }, - // If no nodeType, this is expected to be an array - while ( ( node = elem[ i++ ] ) ) { - - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[ 1 ] = match[ 1 ].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[ 3 ] = ( match[ 3 ] || match[ 4 ] || - match[ 5 ] || "" ).replace( runescape, funescape ); - - if ( match[ 2 ] === "~=" ) { - match[ 3 ] = " " + match[ 3 ] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - - /* matches from matchExpr["CHILD"] + CHILD: function (match) { + /* matches from matchExpr["CHILD"] 1 type (only|nth|...) 2 what (child|of-type) 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) @@ -1797,7501 +1880,7697 @@ Expr = Sizzle.selectors = { 7 sign of y-component 8 y of y-component */ - match[ 1 ] = match[ 1 ].toLowerCase(); - - if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { - - // nth-* requires argument - if ( !match[ 3 ] ) { - Sizzle.error( match[ 0 ] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[ 4 ] = +( match[ 4 ] ? - match[ 5 ] + ( match[ 6 ] || 1 ) : - 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); - match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); - - // other types prohibit arguments - } else if ( match[ 3 ] ) { - Sizzle.error( match[ 0 ] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[ 6 ] && match[ 2 ]; - - if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[ 3 ] ) { - match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - - // Get excess from tokenize (recursively) - ( excess = tokenize( unquoted, true ) ) && - - // advance to the next closing parenthesis - ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { - - // excess is a negative index - match[ 0 ] = match[ 0 ].slice( 0, excess ); - match[ 2 ] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { - return true; - } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - ( pattern = new RegExp( "(^|" + whitespace + - ")" + className + "(" + whitespace + "|$)" ) ) && classCache( - className, function( elem ) { - return pattern.test( - typeof elem.className === "string" && elem.className || - typeof elem.getAttribute !== "undefined" && - elem.getAttribute( "class" ) || - "" - ); - } ); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - /* eslint-disable max-len */ - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - /* eslint-enable max-len */ - - }; - }, - - "CHILD": function( type, what, _argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, _context, xml ) { - var cache, uniqueCache, outerCache, node, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType, - diff = false; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( ( node = node[ dir ] ) ) { - if ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) { - - return false; - } - } - - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - - // Seek `elem` from a previously-cached index - - // ...in a gzip-friendly way - node = parent; - outerCache = node[ expando ] || ( node[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - ( outerCache[ node.uniqueID ] = {} ); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex && cache[ 2 ]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( ( node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - ( diff = nodeIndex = 0 ) || start.pop() ) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - } else { - - // Use previously-cached element index if available - if ( useCache ) { - - // ...in a gzip-friendly way - node = elem; - outerCache = node[ expando ] || ( node[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - ( outerCache[ node.uniqueID ] = {} ); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex; - } - - // xml :nth-child(...) - // or :nth-last-child(...) or :nth(-last)?-of-type(...) - if ( diff === false ) { - - // Use the same loop as above to seek `elem` from the start - while ( ( node = ++nodeIndex && node && node[ dir ] || - ( diff = nodeIndex = 0 ) || start.pop() ) ) { - - if ( ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) && - ++diff ) { - - // Cache the index of each encountered element - if ( useCache ) { - outerCache = node[ expando ] || - ( node[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - ( outerCache[ node.uniqueID ] = {} ); - - uniqueCache[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction( function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf( seed, matched[ i ] ); - seed[ idx ] = !( matches[ idx ] = matched[ i ] ); - } - } ) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - - // Potentially complex pseudos - "not": markFunction( function( selector ) { - - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction( function( seed, matches, _context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( ( elem = unmatched[ i ] ) ) { - seed[ i ] = !( matches[ i ] = elem ); - } - } - } ) : - function( elem, _context, xml ) { - input[ 0 ] = elem; - matcher( input, null, xml, results ); - - // Don't keep the element (issue #299) - input[ 0 ] = null; - return !results.pop(); - }; - } ), - - "has": markFunction( function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - } ), - - "contains": markFunction( function( text ) { - text = text.replace( runescape, funescape ); - return function( elem ) { - return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; - }; - } ), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - - // lang value must be a valid identifier - if ( !ridentifier.test( lang || "" ) ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( ( elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); - return false; - }; - } ), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && - ( !document.hasFocus || document.hasFocus() ) && - !!( elem.type || elem.href || ~elem.tabIndex ); - }, - - // Boolean properties - "enabled": createDisabledPseudo( false ), - "disabled": createDisabledPseudo( true ), - - "checked": function( elem ) { - - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return ( nodeName === "input" && !!elem.checked ) || - ( nodeName === "option" && !!elem.selected ); - }, - - "selected": function( elem ) { - - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - // eslint-disable-next-line no-unused-expressions - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeType < 6 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos[ "empty" ]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ( ( attr = elem.getAttribute( "type" ) ) == null || - attr.toLowerCase() === "text" ); - }, - - // Position-in-collection - "first": createPositionalPseudo( function() { - return [ 0 ]; - } ), - - "last": createPositionalPseudo( function( _matchIndexes, length ) { - return [ length - 1 ]; - } ), - - "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - } ), - - "even": createPositionalPseudo( function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ), - - "odd": createPositionalPseudo( function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ), - - "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { - var i = argument < 0 ? - argument + length : - argument > length ? - length : - argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ), - - "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ) - } -}; - -Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -tokenize = Sizzle.tokenize = function( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || ( match = rcomma.exec( soFar ) ) ) { - if ( match ) { - - // Don't consume trailing commas as valid - soFar = soFar.slice( match[ 0 ].length ) || soFar; - } - groups.push( ( tokens = [] ) ); - } - - matched = false; - - // Combinators - if ( ( match = rcombinators.exec( soFar ) ) ) { - matched = match.shift(); - tokens.push( { - value: matched, - - // Cast descendant combinators to space - type: match[ 0 ].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || - ( match = preFilters[ type ]( match ) ) ) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -}; - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[ i ].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - skip = combinator.next, - key = skip || dir, - checkNonElements = base && key === "parentNode", - doneName = done++; - - return combinator.first ? - - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( ( elem = elem[ dir ] ) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - return false; - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var oldCache, uniqueCache, outerCache, - newCache = [ dirruns, doneName ]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching - if ( xml ) { - while ( ( elem = elem[ dir ] ) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( ( elem = elem[ dir ] ) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || ( elem[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ elem.uniqueID ] || - ( outerCache[ elem.uniqueID ] = {} ); - - if ( skip && skip === elem.nodeName.toLowerCase() ) { - elem = elem[ dir ] || elem; - } else if ( ( oldCache = uniqueCache[ key ] ) && - oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { - - // Assign to newCache so results back-propagate to previous elements - return ( newCache[ 2 ] = oldCache[ 2 ] ); - } else { - - // Reuse newcache so results back-propagate to previous elements - uniqueCache[ key ] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { - return true; - } - } - } - } - } - return false; - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[ i ]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[ 0 ]; -} - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[ i ], results ); - } - return results; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( ( elem = unmatched[ i ] ) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction( function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( - selector || "*", - context.nodeType ? [ context ] : context, - [] - ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( ( elem = temp[ i ] ) ) { - matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( ( elem = matcherOut[ i ] ) ) { - - // Restore matcherIn since elem is not yet a final match - temp.push( ( matcherIn[ i ] = elem ) ); - } - } - postFinder( null, ( matcherOut = [] ), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( ( elem = matcherOut[ i ] ) && - ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { - - seed[ temp ] = !( results[ temp ] = elem ); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - } ); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[ 0 ].type ], - implicitRelative = leadingRelative || Expr.relative[ " " ], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - ( checkContext = context ).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - } ]; - - for ( ; i < len; i++ ) { - if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { - matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; - } else { - matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[ j ].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens - .slice( 0, i - 1 ) - .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, outermost ) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), - - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), - len = elems.length; - - if ( outermost ) { - - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - outermostContext = context == document || context || outermost; - } - - // Add elements passing elementMatchers directly to results - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( !context && elem.ownerDocument != document ) { - setDocument( elem ); - xml = !documentIsHTML; - } - while ( ( matcher = elementMatchers[ j++ ] ) ) { - if ( matcher( elem, context || document, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - - // They will have gone through all possible matchers - if ( ( elem = !matcher && elem ) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // `i` is now the count of elements visited above, and adding it to `matchedCount` - // makes the latter nonnegative. - matchedCount += i; - - // Apply set filters to unmatched elements - // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` - // equals `i`), unless we didn't visit _any_ elements in the above loop because we have - // no element matchers and no seed. - // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that - // case, which will result in a "00" `matchedCount` that differs from `i` but is also - // numerically zero. - if ( bySet && i !== matchedCount ) { - j = 0; - while ( ( matcher = setMatchers[ j++ ] ) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !( unmatched[ i ] || setMatched[ i ] ) ) { - setMatched[ i ] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - - // Generate a function of recursive functions that can be used to check each element - if ( !match ) { - match = tokenize( selector ); - } - i = match.length; - while ( i-- ) { - cached = matcherFromTokens( match[ i ] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( - selector, - matcherFromGroupMatchers( elementMatchers, setMatchers ) - ); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; -}; - -/** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ -select = Sizzle.select = function( selector, context, results, seed ) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize( ( selector = compiled.selector || selector ) ); - - results = results || []; - - // Try to minimize operations if there is only one selector in the list and no seed - // (the latter of which guarantees us context) - if ( match.length === 1 ) { - - // Reduce context if the leading compound selector is an ID - tokens = match[ 0 ] = match[ 0 ].slice( 0 ); - if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && - context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { - - context = ( Expr.find[ "ID" ]( token.matches[ 0 ] - .replace( runescape, funescape ), context ) || [] )[ 0 ]; - if ( !context ) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if ( compiled ) { - context = context.parentNode; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[ i ]; - - // Abort if we hit a combinator - if ( Expr.relative[ ( type = token.type ) ] ) { - break; - } - if ( ( find = Expr.find[ type ] ) ) { - - // Search, expanding context for leading sibling combinators - if ( ( seed = find( - token.matches[ 0 ].replace( runescape, funescape ), - rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || - context - ) ) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - ( compiled || compile( selector, match ) )( - seed, - context, - !documentIsHTML, - results, - !context || rsibling.test( selector ) && testContext( context.parentNode ) || context - ); - return results; -}; - -// One-time assignments - -// Sort stability -support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; - -// Support: Chrome 14-35+ -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = !!hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert( function( el ) { - - // Should return 1, but returns 4 (following) - return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; -} ); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert( function( el ) { - el.innerHTML = ""; - return el.firstChild.getAttribute( "href" ) === "#"; -} ) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - } ); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert( function( el ) { - el.innerHTML = ""; - el.firstChild.setAttribute( "value", "" ); - return el.firstChild.getAttribute( "value" ) === ""; -} ) ) { - addHandle( "value", function( elem, _name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - } ); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert( function( el ) { - return el.getAttribute( "disabled" ) == null; -} ) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return elem[ name ] === true ? name.toLowerCase() : - ( val = elem.getAttributeNode( name ) ) && val.specified ? - val.value : - null; - } - } ); -} - -return Sizzle; - -} )( window ); - - - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; - -// Deprecated -jQuery.expr[ ":" ] = jQuery.expr.pseudos; -jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; -jQuery.escapeSelector = Sizzle.escape; - - - - -var dir = function( elem, dir, until ) { - var matched = [], - truncate = until !== undefined; - - while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { - if ( elem.nodeType === 1 ) { - if ( truncate && jQuery( elem ).is( until ) ) { - break; - } - matched.push( elem ); - } - } - return matched; -}; - - -var siblings = function( n, elem ) { - var matched = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - matched.push( n ); - } - } - - return matched; -}; - - -var rneedsContext = jQuery.expr.match.needsContext; - - - -function nodeName( elem, name ) { - - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - -}; -var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); - - - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - return !!qualifier.call( elem, i, elem ) !== not; - } ); - } - - // Single element - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - } ); - } - - // Arraylike of elements (jQuery, arguments, Array) - if ( typeof qualifier !== "string" ) { - return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not; - } ); - } - - // Filtered directly for both simple and complex selectors - return jQuery.filter( qualifier, elements, not ); -} - -jQuery.filter = function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - if ( elems.length === 1 && elem.nodeType === 1 ) { - return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; - } - - return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - } ) ); -}; - -jQuery.fn.extend( { - find: function( selector ) { - var i, ret, - len = this.length, - self = this; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter( function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - } ) ); - } - - ret = this.pushStack( [] ); - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - return len > 1 ? jQuery.uniqueSort( ret ) : ret; - }, - filter: function( selector ) { - return this.pushStack( winnow( this, selector || [], false ) ); - }, - not: function( selector ) { - return this.pushStack( winnow( this, selector || [], true ) ); - }, - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - } -} ); - - -// Initialize a jQuery object - - -// A central reference to the root jQuery(document) -var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - // Shortcut simple #id case for speed - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, - - init = jQuery.fn.init = function( selector, context, root ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector[ 0 ] === "<" && - selector[ selector.length - 1 ] === ">" && - selector.length >= 3 ) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && ( match[ 1 ] || !context ) ) { - - // HANDLE: $(html) -> $(array) - if ( match[ 1 ] ) { - context = context instanceof jQuery ? context[ 0 ] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge( this, jQuery.parseHTML( - match[ 1 ], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - - // Properties of context are called as methods if possible - if ( isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[ 2 ] ); - - if ( elem ) { - - // Inject the element directly into the jQuery object - this[ 0 ] = elem; - this.length = 1; - } - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || root ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this[ 0 ] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( isFunction( selector ) ) { - return root.ready !== undefined ? - root.ready( selector ) : - - // Execute immediately if ready is not present - selector( jQuery ); - } - - return jQuery.makeArray( selector, this ); - }; - -// Give the init function the jQuery prototype for later instantiation -init.prototype = jQuery.fn; - -// Initialize central reference -rootjQuery = jQuery( document ); - - -var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend( { - has: function( target ) { - var targets = jQuery( target, this ), - l = targets.length; - - return this.filter( function() { - var i = 0; - for ( ; i < l; i++ ) { - if ( jQuery.contains( this, targets[ i ] ) ) { - return true; - } - } - } ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - matched = [], - targets = typeof selectors !== "string" && jQuery( selectors ); - - // Positional selectors never match, since there's no _selection_ context - if ( !rneedsContext.test( selectors ) ) { - for ( ; i < l; i++ ) { - for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { - - // Always skip document fragments - if ( cur.nodeType < 11 && ( targets ? - targets.index( cur ) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector( cur, selectors ) ) ) { - - matched.push( cur ); - break; - } - } - } - } - - return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); - }, - - // Determine the position of an element within the set - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; - } - - // Index in selector - if ( typeof elem === "string" ) { - return indexOf.call( jQuery( elem ), this[ 0 ] ); - } - - // Locate the position of the desired element - return indexOf.call( this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[ 0 ] : elem - ); - }, - - add: function( selector, context ) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge( this.get(), jQuery( selector, context ) ) - ) - ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter( selector ) - ); - } -} ); - -function sibling( cur, dir ) { - while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} - return cur; -} - -jQuery.each( { - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, _i, until ) { - return dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, _i, until ) { - return dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, _i, until ) { - return dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return siblings( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return siblings( elem.firstChild ); - }, - contents: function( elem ) { - if ( elem.contentDocument != null && - - // Support: IE 11+ - // elements with no `data` attribute has an object - // `contentDocument` with a `null` prototype. - getProto( elem.contentDocument ) ) { - - return elem.contentDocument; - } - - // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only - // Treat the template element as a regular one in browsers that - // don't support it. - if ( nodeName( elem, "template" ) ) { - elem = elem.content || elem; - } - - return jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var matched = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - matched = jQuery.filter( selector, matched ); - } - - if ( this.length > 1 ) { - - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - jQuery.uniqueSort( matched ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - matched.reverse(); - } - } - - return this.pushStack( matched ); - }; -} ); -var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); - - - -// Convert String-formatted options into Object-formatted ones -function createOptions( options ) { - var object = {}; - jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { - object[ flag ] = true; - } ); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions( options ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function() { - - // Enforce single-firing - locked = locked || options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for ( ; queue.length; firingIndex = -1 ) { - memory = queue.shift(); - while ( ++firingIndex < list.length ) { - - // Run callback and check for early termination - if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && - options.stopOnFalse ) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if ( !options.memory ) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if ( locked ) { - - // Keep an empty list if we have data for future add calls - if ( memory ) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - - // If we have memory from a past run, we should fire after adding - if ( memory && !firing ) { - firingIndex = list.length - 1; - queue.push( memory ); - } - - ( function add( args ) { - jQuery.each( args, function( _, arg ) { - if ( isFunction( arg ) ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && toType( arg ) !== "string" ) { - - // Inspect recursively - add( arg ); - } - } ); - } )( arguments ); - - if ( memory && !firing ) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function() { - jQuery.each( arguments, function( _, arg ) { - var index; - while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - - // Handle firing indexes - if ( index <= firingIndex ) { - firingIndex--; - } - } - } ); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? - jQuery.inArray( fn, list ) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function() { - if ( list ) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function() { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function() { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function() { - locked = queue = []; - if ( !memory && !firing ) { - list = memory = ""; - } - return this; - }, - locked: function() { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( !locked ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - queue.push( args ); - if ( !firing ) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; - - -function Identity( v ) { - return v; -} -function Thrower( ex ) { - throw ex; -} - -function adoptValue( value, resolve, reject, noValue ) { - var method; - - try { - - // Check for promise aspect first to privilege synchronous behavior - if ( value && isFunction( ( method = value.promise ) ) ) { - method.call( value ).done( resolve ).fail( reject ); - - // Other thenables - } else if ( value && isFunction( ( method = value.then ) ) ) { - method.call( value, resolve, reject ); - - // Other non-thenables - } else { - - // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: - // * false: [ value ].slice( 0 ) => resolve( value ) - // * true: [ value ].slice( 1 ) => resolve() - resolve.apply( undefined, [ value ].slice( noValue ) ); - } - - // For Promises/A+, convert exceptions into rejections - // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in - // Deferred#then to conditionally suppress rejection. - } catch ( value ) { - - // Support: Android 4.0 only - // Strict mode functions invoked without .call/.apply get global-object context - reject.apply( undefined, [ value ] ); - } -} - -jQuery.extend( { - - Deferred: function( func ) { - var tuples = [ - - // action, add listener, callbacks, - // ... .then handlers, argument index, [final state] - [ "notify", "progress", jQuery.Callbacks( "memory" ), - jQuery.Callbacks( "memory" ), 2 ], - [ "resolve", "done", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 0, "resolved" ], - [ "reject", "fail", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 1, "rejected" ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - "catch": function( fn ) { - return promise.then( null, fn ); - }, - - // Keep pipe for back-compat - pipe: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - - return jQuery.Deferred( function( newDefer ) { - jQuery.each( tuples, function( _i, tuple ) { - - // Map tuples (progress, done, fail) to arguments (done, fail, progress) - var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; - - // deferred.progress(function() { bind to newDefer or newDefer.notify }) - // deferred.done(function() { bind to newDefer or newDefer.resolve }) - // deferred.fail(function() { bind to newDefer or newDefer.reject }) - deferred[ tuple[ 1 ] ]( function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && isFunction( returned.promise ) ) { - returned.promise() - .progress( newDefer.notify ) - .done( newDefer.resolve ) - .fail( newDefer.reject ); - } else { - newDefer[ tuple[ 0 ] + "With" ]( - this, - fn ? [ returned ] : arguments - ); - } - } ); - } ); - fns = null; - } ).promise(); - }, - then: function( onFulfilled, onRejected, onProgress ) { - var maxDepth = 0; - function resolve( depth, deferred, handler, special ) { - return function() { - var that = this, - args = arguments, - mightThrow = function() { - var returned, then; - - // Support: Promises/A+ section 2.3.3.3.3 - // https://promisesaplus.com/#point-59 - // Ignore double-resolution attempts - if ( depth < maxDepth ) { - return; - } - - returned = handler.apply( that, args ); - - // Support: Promises/A+ section 2.3.1 - // https://promisesaplus.com/#point-48 - if ( returned === deferred.promise() ) { - throw new TypeError( "Thenable self-resolution" ); - } - - // Support: Promises/A+ sections 2.3.3.1, 3.5 - // https://promisesaplus.com/#point-54 - // https://promisesaplus.com/#point-75 - // Retrieve `then` only once - then = returned && - - // Support: Promises/A+ section 2.3.4 - // https://promisesaplus.com/#point-64 - // Only check objects and functions for thenability - ( typeof returned === "object" || - typeof returned === "function" ) && - returned.then; - - // Handle a returned thenable - if ( isFunction( then ) ) { - - // Special processors (notify) just wait for resolution - if ( special ) { - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ) - ); - - // Normal processors (resolve) also hook into progress - } else { - - // ...and disregard older resolution values - maxDepth++; - - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ), - resolve( maxDepth, deferred, Identity, - deferred.notifyWith ) - ); - } - - // Handle all other returned values - } else { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Identity ) { - that = undefined; - args = [ returned ]; - } - - // Process the value(s) - // Default process is resolve - ( special || deferred.resolveWith )( that, args ); - } - }, - - // Only normal processors (resolve) catch and reject exceptions - process = special ? - mightThrow : - function() { - try { - mightThrow(); - } catch ( e ) { - - if ( jQuery.Deferred.exceptionHook ) { - jQuery.Deferred.exceptionHook( e, - process.stackTrace ); - } - - // Support: Promises/A+ section 2.3.3.3.4.1 - // https://promisesaplus.com/#point-61 - // Ignore post-resolution exceptions - if ( depth + 1 >= maxDepth ) { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Thrower ) { - that = undefined; - args = [ e ]; - } - - deferred.rejectWith( that, args ); - } - } - }; - - // Support: Promises/A+ section 2.3.3.3.1 - // https://promisesaplus.com/#point-57 - // Re-resolve promises immediately to dodge false rejection from - // subsequent errors - if ( depth ) { - process(); - } else { - - // Call an optional hook to record the stack, in case of exception - // since it's otherwise lost when execution goes async - if ( jQuery.Deferred.getStackHook ) { - process.stackTrace = jQuery.Deferred.getStackHook(); - } - window.setTimeout( process ); - } - }; - } - - return jQuery.Deferred( function( newDefer ) { - - // progress_handlers.add( ... ) - tuples[ 0 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onProgress ) ? - onProgress : - Identity, - newDefer.notifyWith - ) - ); - - // fulfilled_handlers.add( ... ) - tuples[ 1 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onFulfilled ) ? - onFulfilled : - Identity - ) - ); - - // rejected_handlers.add( ... ) - tuples[ 2 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onRejected ) ? - onRejected : - Thrower - ) - ); - } ).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 5 ]; - - // promise.progress = list.add - // promise.done = list.add - // promise.fail = list.add - promise[ tuple[ 1 ] ] = list.add; - - // Handle state - if ( stateString ) { - list.add( - function() { - - // state = "resolved" (i.e., fulfilled) - // state = "rejected" - state = stateString; - }, - - // rejected_callbacks.disable - // fulfilled_callbacks.disable - tuples[ 3 - i ][ 2 ].disable, - - // rejected_handlers.disable - // fulfilled_handlers.disable - tuples[ 3 - i ][ 3 ].disable, - - // progress_callbacks.lock - tuples[ 0 ][ 2 ].lock, - - // progress_handlers.lock - tuples[ 0 ][ 3 ].lock - ); - } - - // progress_handlers.fire - // fulfilled_handlers.fire - // rejected_handlers.fire - list.add( tuple[ 3 ].fire ); - - // deferred.notify = function() { deferred.notifyWith(...) } - // deferred.resolve = function() { deferred.resolveWith(...) } - // deferred.reject = function() { deferred.rejectWith(...) } - deferred[ tuple[ 0 ] ] = function() { - deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); - return this; - }; - - // deferred.notifyWith = list.fireWith - // deferred.resolveWith = list.fireWith - // deferred.rejectWith = list.fireWith - deferred[ tuple[ 0 ] + "With" ] = list.fireWith; - } ); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( singleValue ) { - var - - // count of uncompleted subordinates - remaining = arguments.length, - - // count of unprocessed arguments - i = remaining, - - // subordinate fulfillment data - resolveContexts = Array( i ), - resolveValues = slice.call( arguments ), - - // the master Deferred - master = jQuery.Deferred(), - - // subordinate callback factory - updateFunc = function( i ) { - return function( value ) { - resolveContexts[ i ] = this; - resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; - if ( !( --remaining ) ) { - master.resolveWith( resolveContexts, resolveValues ); - } - }; - }; - - // Single- and empty arguments are adopted like Promise.resolve - if ( remaining <= 1 ) { - adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, - !remaining ); - - // Use .then() to unwrap secondary thenables (cf. gh-3000) - if ( master.state() === "pending" || - isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { - - return master.then(); - } - } - - // Multiple arguments are aggregated like Promise.all array elements - while ( i-- ) { - adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); - } - - return master.promise(); - } -} ); - - -// These usually indicate a programmer mistake during development, -// warn about them ASAP rather than swallowing them by default. -var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; - -jQuery.Deferred.exceptionHook = function( error, stack ) { - - // Support: IE 8 - 9 only - // Console exists when dev tools are open, which can happen at any time - if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { - window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); - } -}; - - - - -jQuery.readyException = function( error ) { - window.setTimeout( function() { - throw error; - } ); -}; - - - - -// The deferred used on DOM ready -var readyList = jQuery.Deferred(); - -jQuery.fn.ready = function( fn ) { - - readyList - .then( fn ) - - // Wrap jQuery.readyException in a function so that the lookup - // happens at the time of error handling instead of callback - // registration. - .catch( function( error ) { - jQuery.readyException( error ); - } ); - - return this; -}; - -jQuery.extend( { - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - } -} ); - -jQuery.ready.then = readyList.then; - -// The ready event handler and self cleanup method -function completed() { - document.removeEventListener( "DOMContentLoaded", completed ); - window.removeEventListener( "load", completed ); - jQuery.ready(); -} - -// Catch cases where $(document).ready() is called -// after the browser event has already occurred. -// Support: IE <=9 - 10 only -// Older IE sometimes signals "interactive" too soon -if ( document.readyState === "complete" || - ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout( jQuery.ready ); - -} else { - - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed ); -} - - - - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function -var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if ( toType( key ) === "object" ) { - chainable = true; - for ( i in key ) { - access( elems, fn, i, key[ i ], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, _key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < len; i++ ) { - fn( - elems[ i ], key, raw ? - value : - value.call( elems[ i ], i, fn( elems[ i ], key ) ) - ); - } - } - } - - if ( chainable ) { - return elems; - } - - // Gets - if ( bulk ) { - return fn.call( elems ); - } - - return len ? fn( elems[ 0 ], key ) : emptyGet; -}; - - -// Matches dashed string for camelizing -var rmsPrefix = /^-ms-/, - rdashAlpha = /-([a-z])/g; - -// Used by camelCase as callback to replace() -function fcamelCase( _all, letter ) { - return letter.toUpperCase(); -} - -// Convert dashed to camelCase; used by the css and data modules -// Support: IE <=9 - 11, Edge 12 - 15 -// Microsoft forgot to hump their vendor prefix (#9572) -function camelCase( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); -} -var acceptData = function( owner ) { - - // Accepts only: - // - Node - // - Node.ELEMENT_NODE - // - Node.DOCUMENT_NODE - // - Object - // - Any - return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); -}; - - - - -function Data() { - this.expando = jQuery.expando + Data.uid++; -} - -Data.uid = 1; - -Data.prototype = { - - cache: function( owner ) { - - // Check if the owner object already has a cache - var value = owner[ this.expando ]; - - // If not, create one - if ( !value ) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if ( acceptData( owner ) ) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if ( owner.nodeType ) { - owner[ this.expando ] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty( owner, this.expando, { - value: value, - configurable: true - } ); - } - } - } - - return value; - }, - set: function( owner, data, value ) { - var prop, - cache = this.cache( owner ); - - // Handle: [ owner, key, value ] args - // Always use camelCase key (gh-2257) - if ( typeof data === "string" ) { - cache[ camelCase( data ) ] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for ( prop in data ) { - cache[ camelCase( prop ) ] = data[ prop ]; - } - } - return cache; - }, - get: function( owner, key ) { - return key === undefined ? - this.cache( owner ) : - - // Always use camelCase key (gh-2257) - owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; - }, - access: function( owner, key, value ) { - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if ( key === undefined || - ( ( key && typeof key === "string" ) && value === undefined ) ) { - - return this.get( owner, key ); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set( owner, key, value ); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function( owner, key ) { - var i, - cache = owner[ this.expando ]; - - if ( cache === undefined ) { - return; - } - - if ( key !== undefined ) { - - // Support array or space separated string of keys - if ( Array.isArray( key ) ) { - - // If key is an array of keys... - // We always set camelCase keys, so remove that. - key = key.map( camelCase ); - } else { - key = camelCase( key ); - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - key = key in cache ? - [ key ] : - ( key.match( rnothtmlwhite ) || [] ); - } - - i = key.length; - - while ( i-- ) { - delete cache[ key[ i ] ]; - } - } - - // Remove the expando if there's no more data - if ( key === undefined || jQuery.isEmptyObject( cache ) ) { - - // Support: Chrome <=35 - 45 - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) - if ( owner.nodeType ) { - owner[ this.expando ] = undefined; - } else { - delete owner[ this.expando ]; - } - } - }, - hasData: function( owner ) { - var cache = owner[ this.expando ]; - return cache !== undefined && !jQuery.isEmptyObject( cache ); - } -}; -var dataPriv = new Data(); - -var dataUser = new Data(); - - - -// Implementation Summary -// -// 1. Enforce API surface and semantic compatibility with 1.9.x branch -// 2. Improve the module's maintainability by reducing the storage -// paths to a single mechanism. -// 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) -// 5. Avoid exposing implementation details on user objects (eg. expando properties) -// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - -var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - -function getData( data ) { - if ( data === "true" ) { - return true; - } - - if ( data === "false" ) { - return false; - } - - if ( data === "null" ) { - return null; - } - - // Only convert to a number if it doesn't change the string - if ( data === +data + "" ) { - return +data; - } - - if ( rbrace.test( data ) ) { - return JSON.parse( data ); - } - - return data; -} - -function dataAttr( elem, key, data ) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = getData( data ); - } catch ( e ) {} - - // Make sure we set the data so it isn't changed later - dataUser.set( elem, key, data ); - } else { - data = undefined; - } - } - return data; -} - -jQuery.extend( { - hasData: function( elem ) { - return dataUser.hasData( elem ) || dataPriv.hasData( elem ); - }, - - data: function( elem, name, data ) { - return dataUser.access( elem, name, data ); - }, - - removeData: function( elem, name ) { - dataUser.remove( elem, name ); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function( elem, name, data ) { - return dataPriv.access( elem, name, data ); - }, - - _removeData: function( elem, name ) { - dataPriv.remove( elem, name ); - } -} ); - -jQuery.fn.extend( { - data: function( key, value ) { - var i, name, data, - elem = this[ 0 ], - attrs = elem && elem.attributes; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = dataUser.get( elem ); - - if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { - i = attrs.length; - while ( i-- ) { - - // Support: IE 11 only - // The attrs elements can be null (#14894) - if ( attrs[ i ] ) { - name = attrs[ i ].name; - if ( name.indexOf( "data-" ) === 0 ) { - name = camelCase( name.slice( 5 ) ); - dataAttr( elem, name, data[ name ] ); - } - } - } - dataPriv.set( elem, "hasDataAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each( function() { - dataUser.set( this, key ); - } ); - } - - return access( this, function( value ) { - var data; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if ( elem && value === undefined ) { - - // Attempt to get data from the cache - // The key will always be camelCased in Data - data = dataUser.get( elem, key ); - if ( data !== undefined ) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr( elem, key ); - if ( data !== undefined ) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - this.each( function() { - - // We always store the camelCased key - dataUser.set( this, key, value ); - } ); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each( function() { - dataUser.remove( this, key ); - } ); - } -} ); - - -jQuery.extend( { - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = dataPriv.get( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || Array.isArray( data ) ) { - queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { - empty: jQuery.Callbacks( "once memory" ).add( function() { - dataPriv.remove( elem, [ type + "queue", key ] ); - } ) - } ); - } -} ); - -jQuery.fn.extend( { - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[ 0 ], type ); - } - - return data === undefined ? - this : - this.each( function() { - var queue = jQuery.queue( this, type, data ); - - // Ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - } ); - }, - dequeue: function( type ) { - return this.each( function() { - jQuery.dequeue( this, type ); - } ); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while ( i-- ) { - tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -} ); -var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; - -var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); - - -var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; - -var documentElement = document.documentElement; - - - - var isAttached = function( elem ) { - return jQuery.contains( elem.ownerDocument, elem ); - }, - composed = { composed: true }; - - // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only - // Check attachment across shadow DOM boundaries when possible (gh-3504) - // Support: iOS 10.0-10.2 only - // Early iOS 10 versions support `attachShadow` but not `getRootNode`, - // leading to errors. We need to check for `getRootNode`. - if ( documentElement.getRootNode ) { - isAttached = function( elem ) { - return jQuery.contains( elem.ownerDocument, elem ) || - elem.getRootNode( composed ) === elem.ownerDocument; - }; - } -var isHiddenWithinTree = function( elem, el ) { - - // isHiddenWithinTree might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - - // Inline style trumps all - return elem.style.display === "none" || - elem.style.display === "" && - - // Otherwise, check computed style - // Support: Firefox <=43 - 45 - // Disconnected elements can have computed display: none, so first confirm that elem is - // in the document. - isAttached( elem ) && - - jQuery.css( elem, "display" ) === "none"; - }; - - - -function adjustCSS( elem, prop, valueParts, tween ) { - var adjusted, scale, - maxIterations = 20, - currentValue = tween ? - function() { - return tween.cur(); - } : - function() { - return jQuery.css( elem, prop, "" ); - }, - initial = currentValue(), - unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - initialInUnit = elem.nodeType && - ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && - rcssNum.exec( jQuery.css( elem, prop ) ); - - if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { - - // Support: Firefox <=54 - // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) - initial = initial / 2; - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[ 3 ]; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - while ( maxIterations-- ) { - - // Evaluate and update our best guess (doubling guesses that zero out). - // Finish if the scale equals or crosses 1 (making the old*new product non-positive). - jQuery.style( elem, prop, initialInUnit + unit ); - if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { - maxIterations = 0; - } - initialInUnit = initialInUnit / scale; - - } - - initialInUnit = initialInUnit * 2; - jQuery.style( elem, prop, initialInUnit + unit ); - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - } - - if ( valueParts ) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[ 1 ] ? - initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : - +valueParts[ 2 ]; - if ( tween ) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; -} - - -var defaultDisplayMap = {}; - -function getDefaultDisplay( elem ) { - var temp, - doc = elem.ownerDocument, - nodeName = elem.nodeName, - display = defaultDisplayMap[ nodeName ]; - - if ( display ) { - return display; - } - - temp = doc.body.appendChild( doc.createElement( nodeName ) ); - display = jQuery.css( temp, "display" ); - - temp.parentNode.removeChild( temp ); - - if ( display === "none" ) { - display = "block"; - } - defaultDisplayMap[ nodeName ] = display; - - return display; -} - -function showHide( elements, show ) { - var display, elem, - values = [], - index = 0, - length = elements.length; - - // Determine new display value for elements that need to change - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - display = elem.style.display; - if ( show ) { - - // Since we force visibility upon cascade-hidden elements, an immediate (and slow) - // check is required in this first loop unless we have a nonempty display value (either - // inline or about-to-be-restored) - if ( display === "none" ) { - values[ index ] = dataPriv.get( elem, "display" ) || null; - if ( !values[ index ] ) { - elem.style.display = ""; - } - } - if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { - values[ index ] = getDefaultDisplay( elem ); - } - } else { - if ( display !== "none" ) { - values[ index ] = "none"; - - // Remember what we're overwriting - dataPriv.set( elem, "display", display ); - } - } - } - - // Set the display of the elements in a second loop to avoid constant reflow - for ( index = 0; index < length; index++ ) { - if ( values[ index ] != null ) { - elements[ index ].style.display = values[ index ]; - } - } - - return elements; -} - -jQuery.fn.extend( { - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each( function() { - if ( isHiddenWithinTree( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - } ); - } -} ); -var rcheckableType = ( /^(?:checkbox|radio)$/i ); - -var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); - -var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); - - - -( function() { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild( document.createElement( "div" ) ), - input = document.createElement( "input" ); - - // Support: Android 4.0 - 4.3 only - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute( "type", "radio" ); - input.setAttribute( "checked", "checked" ); - input.setAttribute( "name", "t" ); - - div.appendChild( input ); - - // Support: Android <=4.1 only - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE <=11 only - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; - - // Support: IE <=9 only - // IE <=9 replaces "; - support.option = !!div.lastChild; -} )(); - - -// We have to close these tags to support XHTML (#13200) -var wrapMap = { - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting or other required elements. - thead: [ 1, "", "
" ], - col: [ 2, "", "
" ], - tr: [ 2, "", "
" ], - td: [ 3, "", "
" ], - - _default: [ 0, "", "" ] -}; - -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -// Support: IE <=9 only -if ( !support.option ) { - wrapMap.optgroup = wrapMap.option = [ 1, "" ]; -} - - -function getAll( context, tag ) { - - // Support: IE <=9 - 11 only - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret; - - if ( typeof context.getElementsByTagName !== "undefined" ) { - ret = context.getElementsByTagName( tag || "*" ); - - } else if ( typeof context.querySelectorAll !== "undefined" ) { - ret = context.querySelectorAll( tag || "*" ); - - } else { - ret = []; - } - - if ( tag === undefined || tag && nodeName( context, tag ) ) { - return jQuery.merge( [ context ], ret ); - } - - return ret; -} - - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - dataPriv.set( - elems[ i ], - "globalEval", - !refElements || dataPriv.get( refElements[ i ], "globalEval" ) - ); - } -} - - -var rhtml = /<|&#?\w+;/; - -function buildFragment( elems, context, scripts, selection, ignored ) { - var elem, tmp, tag, wrap, attached, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( toType( elem ) === "object" ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; - - // Descend through wrappers to the right content - j = wrap[ 0 ]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, tmp.childNodes ); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ( ( elem = nodes[ i++ ] ) ) { - - // Skip elements already in the context collection (trac-4087) - if ( selection && jQuery.inArray( elem, selection ) > -1 ) { - if ( ignored ) { - ignored.push( elem ); - } - continue; - } - - attached = isAttached( elem ); - - // Append to fragment - tmp = getAll( fragment.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( attached ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( ( elem = tmp[ j++ ] ) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - return fragment; -} - - -var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -// Support: IE <=9 - 11+ -// focus() and blur() are asynchronous, except when they are no-op. -// So expect focus to be synchronous when the element is already active, -// and blur to be synchronous when the element is not already active. -// (focus and blur are always synchronous in other supported browsers, -// this just defines when we can count on it). -function expectSync( elem, type ) { - return ( elem === safeActiveElement() ) === ( type === "focus" ); -} - -// Support: IE <=9 only -// Accessing document.activeElement can throw unexpectedly -// https://bugs.jquery.com/ticket/13393 -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -function on( elem, types, selector, data, fn, one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - on( elem, type, selector, data, types[ type ], one ); - } - return elem; - } - - if ( data == null && fn == null ) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return elem; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return elem.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - } ); -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get( elem ); - - // Only attach events to objects that accept data - if ( !acceptData( elem ) ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Ensure that invalid selectors throw exceptions at attach time - // Evaluate against documentElement in case elem is a non-element node (e.g., document) - if ( selector ) { - jQuery.find.matchesSelector( documentElement, selector ); - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !( events = elemData.events ) ) { - events = elemData.events = Object.create( null ); - } - if ( !( eventHandle = elemData.handle ) ) { - eventHandle = elemData.handle = function( e ) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply( elem, arguments ) : undefined; - }; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend( { - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join( "." ) - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !( handlers = events[ type ] ) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if ( !special.setup || - special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); - - if ( !elemData || !( events = elemData.events ) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[ 2 ] && - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || - selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || - special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove data and the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - dataPriv.remove( elem, "handle events" ); - } - }, - - dispatch: function( nativeEvent ) { - - var i, j, ret, matched, handleObj, handlerQueue, - args = new Array( arguments.length ), - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( nativeEvent ), - - handlers = ( - dataPriv.get( this, "events" ) || Object.create( null ) - )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[ 0 ] = event; - - for ( i = 1; i < arguments.length; i++ ) { - args[ i ] = arguments[ i ]; - } - - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( ( handleObj = matched.handlers[ j++ ] ) && - !event.isImmediatePropagationStopped() ) { - - // If the event is namespaced, then each handler is only invoked if it is - // specially universal or its namespaces are a superset of the event's. - if ( !event.rnamespace || handleObj.namespace === false || - event.rnamespace.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || - handleObj.handler ).apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( ( event.result = ret ) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var i, handleObj, sel, matchedHandlers, matchedSelectors, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - if ( delegateCount && - - // Support: IE <=9 - // Black-hole SVG instance trees (trac-13180) - cur.nodeType && - - // Support: Firefox <=42 - // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) - // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click - // Support: IE 11 only - // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) - !( event.type === "click" && event.button >= 1 ) ) { - - for ( ; cur !== this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { - matchedHandlers = []; - matchedSelectors = {}; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matchedSelectors[ sel ] === undefined ) { - matchedSelectors[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) > -1 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matchedSelectors[ sel ] ) { - matchedHandlers.push( handleObj ); - } - } - if ( matchedHandlers.length ) { - handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); - } - } - } - } - - // Add the remaining (directly-bound) handlers - cur = this; - if ( delegateCount < handlers.length ) { - handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); - } - - return handlerQueue; - }, - - addProp: function( name, hook ) { - Object.defineProperty( jQuery.Event.prototype, name, { - enumerable: true, - configurable: true, - - get: isFunction( hook ) ? - function() { - if ( this.originalEvent ) { - return hook( this.originalEvent ); - } - } : - function() { - if ( this.originalEvent ) { - return this.originalEvent[ name ]; - } - }, - - set: function( value ) { - Object.defineProperty( this, name, { - enumerable: true, - configurable: true, - writable: true, - value: value - } ); - } - } ); - }, - - fix: function( originalEvent ) { - return originalEvent[ jQuery.expando ] ? - originalEvent : - new jQuery.Event( originalEvent ); - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - - // Utilize native event to ensure correct state for checkable inputs - setup: function( data ) { - - // For mutual compressibility with _default, replace `this` access with a local var. - // `|| data` is dead code meant only to preserve the variable through minification. - var el = this || data; - - // Claim the first handler - if ( rcheckableType.test( el.type ) && - el.click && nodeName( el, "input" ) ) { - - // dataPriv.set( el, "click", ... ) - leverageNative( el, "click", returnTrue ); - } - - // Return false to allow normal processing in the caller - return false; - }, - trigger: function( data ) { - - // For mutual compressibility with _default, replace `this` access with a local var. - // `|| data` is dead code meant only to preserve the variable through minification. - var el = this || data; - - // Force setup before triggering a click - if ( rcheckableType.test( el.type ) && - el.click && nodeName( el, "input" ) ) { - - leverageNative( el, "click" ); - } - - // Return non-false to allow normal event-path propagation - return true; - }, - - // For cross-browser consistency, suppress native .click() on links - // Also prevent it if we're currently inside a leveraged native-event stack - _default: function( event ) { - var target = event.target; - return rcheckableType.test( target.type ) && - target.click && nodeName( target, "input" ) && - dataPriv.get( target, "click" ) || - nodeName( target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if ( event.result !== undefined && event.originalEvent ) { - event.originalEvent.returnValue = event.result; - } - } - } - } -}; - -// Ensure the presence of an event listener that handles manually-triggered -// synthetic events by interrupting progress until reinvoked in response to -// *native* events that it fires directly, ensuring that state changes have -// already occurred before other listeners are invoked. -function leverageNative( el, type, expectSync ) { - - // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add - if ( !expectSync ) { - if ( dataPriv.get( el, type ) === undefined ) { - jQuery.event.add( el, type, returnTrue ); - } - return; - } - - // Register the controller as a special universal handler for all event namespaces - dataPriv.set( el, type, false ); - jQuery.event.add( el, type, { - namespace: false, - handler: function( event ) { - var notAsync, result, - saved = dataPriv.get( this, type ); - - if ( ( event.isTrigger & 1 ) && this[ type ] ) { - - // Interrupt processing of the outer synthetic .trigger()ed event - // Saved data should be false in such cases, but might be a leftover capture object - // from an async native handler (gh-4350) - if ( !saved.length ) { - - // Store arguments for use when handling the inner native event - // There will always be at least one argument (an event object), so this array - // will not be confused with a leftover capture object. - saved = slice.call( arguments ); - dataPriv.set( this, type, saved ); - - // Trigger the native event and capture its result - // Support: IE <=9 - 11+ - // focus() and blur() are asynchronous - notAsync = expectSync( this, type ); - this[ type ](); - result = dataPriv.get( this, type ); - if ( saved !== result || notAsync ) { - dataPriv.set( this, type, false ); - } else { - result = {}; - } - if ( saved !== result ) { - - // Cancel the outer synthetic event - event.stopImmediatePropagation(); - event.preventDefault(); - return result.value; - } - - // If this is an inner synthetic event for an event with a bubbling surrogate - // (focus or blur), assume that the surrogate already propagated from triggering the - // native event and prevent that from happening again here. - // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the - // bubbling surrogate propagates *after* the non-bubbling base), but that seems - // less bad than duplication. - } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { - event.stopPropagation(); - } - - // If this is a native event triggered above, everything is now in order - // Fire an inner synthetic event with the original arguments - } else if ( saved.length ) { - - // ...and capture the result - dataPriv.set( this, type, { - value: jQuery.event.trigger( - - // Support: IE <=9 - 11+ - // Extend with the prototype to reset the above stopImmediatePropagation() - jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), - saved.slice( 1 ), - this - ) - } ); - - // Abort handling of the native event - event.stopImmediatePropagation(); - } - } - } ); -} - -jQuery.removeEvent = function( elem, type, handle ) { - - // This "if" is needed for plain objects - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle ); - } -}; - -jQuery.Event = function( src, props ) { - - // Allow instantiation without the 'new' keyword - if ( !( this instanceof jQuery.Event ) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android <=2.3 only - src.returnValue === false ? - returnTrue : - returnFalse; - - // Create target properties - // Support: Safari <=6 - 7 only - // Target should not be a text node (#504, #13143) - this.target = ( src.target && src.target.nodeType === 3 ) ? - src.target.parentNode : - src.target; - - this.currentTarget = src.currentTarget; - this.relatedTarget = src.relatedTarget; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || Date.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - isSimulated: false, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if ( e && !this.isSimulated ) { - e.preventDefault(); - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } -}; - -// Includes all common event props including KeyEvent and MouseEvent specific props -jQuery.each( { - altKey: true, - bubbles: true, - cancelable: true, - changedTouches: true, - ctrlKey: true, - detail: true, - eventPhase: true, - metaKey: true, - pageX: true, - pageY: true, - shiftKey: true, - view: true, - "char": true, - code: true, - charCode: true, - key: true, - keyCode: true, - button: true, - buttons: true, - clientX: true, - clientY: true, - offsetX: true, - offsetY: true, - pointerId: true, - pointerType: true, - screenX: true, - screenY: true, - targetTouches: true, - toElement: true, - touches: true, - - which: function( event ) { - var button = event.button; - - // Add which for key events - if ( event.which == null && rkeyEvent.test( event.type ) ) { - return event.charCode != null ? event.charCode : event.keyCode; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { - if ( button & 1 ) { - return 1; - } - - if ( button & 2 ) { - return 3; - } - - if ( button & 4 ) { - return 2; - } - - return 0; - } - - return event.which; - } -}, jQuery.event.addProp ); - -jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { - jQuery.event.special[ type ] = { - - // Utilize native event if possible so blur/focus sequence is correct - setup: function() { - - // Claim the first handler - // dataPriv.set( this, "focus", ... ) - // dataPriv.set( this, "blur", ... ) - leverageNative( this, type, expectSync ); - - // Return false to allow normal processing in the caller - return false; - }, - trigger: function() { - - // Force setup before trigger - leverageNative( this, type ); - - // Return non-false to allow normal event-path propagation - return true; - }, - - delegateType: delegateType - }; -} ); - -// Create mouseenter/leave events using mouseover/out and event-time checks -// so that event delegation works in jQuery. -// Do the same for pointerenter/pointerleave and pointerover/pointerout -// -// Support: Safari 7 only -// Safari sends mouseenter too often; see: -// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 -// for the description of the bug (it existed in older Chrome versions as well). -jQuery.each( { - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -} ); - -jQuery.fn.extend( { - - on: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn ); - }, - one: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each( function() { - jQuery.event.remove( this, types, fn, selector ); - } ); - } -} ); - - -var - - // Support: IE <=10 - 11, Edge 12 - 13 only - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /\s*$/g; - -// Prefer a tbody over its parent table for containing new rows -function manipulationTarget( elem, content ) { - if ( nodeName( elem, "table" ) && - nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { - - return jQuery( elem ).children( "tbody" )[ 0 ] || elem; - } - - return elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { - elem.type = elem.type.slice( 5 ); - } else { - elem.removeAttribute( "type" ); - } - - return elem; -} - -function cloneCopyEvent( src, dest ) { - var i, l, type, pdataOld, udataOld, udataCur, events; - - if ( dest.nodeType !== 1 ) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if ( dataPriv.hasData( src ) ) { - pdataOld = dataPriv.get( src ); - events = pdataOld.events; - - if ( events ) { - dataPriv.remove( dest, "handle events" ); - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - } - - // 2. Copy user data - if ( dataUser.hasData( src ) ) { - udataOld = dataUser.access( src ); - udataCur = jQuery.extend( {}, udataOld ); - - dataUser.set( dest, udataCur ); - } -} - -// Fix IE bugs, see support tests -function fixInput( src, dest ) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if ( nodeName === "input" && rcheckableType.test( src.type ) ) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -function domManip( collection, args, callback, ignored ) { - - // Flatten any nested arrays - args = flat( args ); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[ 0 ], - valueIsFunction = isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( valueIsFunction || - ( l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test( value ) ) ) { - return collection.each( function( index ) { - var self = collection.eq( index ); - if ( valueIsFunction ) { - args[ 0 ] = value.call( this, index, self.html() ); - } - domManip( self, args, callback, ignored ); - } ); - } - - if ( l ) { - fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if ( first || ignored ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( collection[ i ], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !dataPriv.access( node, "globalEval" ) && - jQuery.contains( doc, node ) ) { - - if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { - - // Optional AJAX dependency, but won't run scripts if not present - if ( jQuery._evalUrl && !node.noModule ) { - jQuery._evalUrl( node.src, { - nonce: node.nonce || node.getAttribute( "nonce" ) - }, doc ); - } - } else { - DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); - } - } - } - } - } - } - - return collection; -} - -function remove( elem, selector, keepData ) { - var node, - nodes = selector ? jQuery.filter( selector, elem ) : elem, - i = 0; - - for ( ; ( node = nodes[ i ] ) != null; i++ ) { - if ( !keepData && node.nodeType === 1 ) { - jQuery.cleanData( getAll( node ) ); - } - - if ( node.parentNode ) { - if ( keepData && isAttached( node ) ) { - setGlobalEval( getAll( node, "script" ) ); - } - node.parentNode.removeChild( node ); - } - } - - return elem; -} - -jQuery.extend( { - htmlPrefilter: function( html ) { - return html; - }, - - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var i, l, srcElements, destElements, - clone = elem.cloneNode( true ), - inPage = isAttached( elem ); - - // Fix IE cloning issues - if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && - !jQuery.isXMLDoc( elem ) ) { - - // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - fixInput( srcElements[ i ], destElements[ i ] ); - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - cloneCopyEvent( srcElements[ i ], destElements[ i ] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - // Return the cloned set - return clone; - }, - - cleanData: function( elems ) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { - if ( acceptData( elem ) ) { - if ( ( data = elem[ dataPriv.expando ] ) ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataPriv.expando ] = undefined; - } - if ( elem[ dataUser.expando ] ) { - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataUser.expando ] = undefined; - } - } - } - } -} ); - -jQuery.fn.extend( { - detach: function( selector ) { - return remove( this, selector, true ); - }, - - remove: function( selector ) { - return remove( this, selector ); - }, - - text: function( value ) { - return access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().each( function() { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.textContent = value; - } - } ); - }, null, value, arguments.length ); - }, - - append: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - } ); - }, - - prepend: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - } ); - }, - - before: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - } ); - }, - - after: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - } ); - }, - - empty: function() { - var elem, - i = 0; - - for ( ; ( elem = this[ i ] ) != null; i++ ) { - if ( elem.nodeType === 1 ) { - - // Prevent memory leaks - jQuery.cleanData( getAll( elem, false ) ); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function() { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - } ); - }, - - html: function( value ) { - return access( this, function( value ) { - var elem = this[ 0 ] || {}, - i = 0, - l = this.length; - - if ( value === undefined && elem.nodeType === 1 ) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { - - value = jQuery.htmlPrefilter( value ); - - try { - for ( ; i < l; i++ ) { - elem = this[ i ] || {}; - - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch ( e ) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip( this, arguments, function( elem ) { - var parent = this.parentNode; - - if ( jQuery.inArray( this, ignored ) < 0 ) { - jQuery.cleanData( getAll( this ) ); - if ( parent ) { - parent.replaceChild( elem, this ); - } - } - - // Force callback invocation - }, ignored ); - } -} ); - -jQuery.each( { - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1, - i = 0; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone( true ); - jQuery( insert[ i ] )[ original ]( elems ); - - // Support: Android <=4.0 only, PhantomJS 1 only - // .get() because push.apply(_, arraylike) throws on ancient WebKit - push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -} ); -var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); - -var getStyles = function( elem ) { - - // Support: IE <=11 only, Firefox <=30 (#15098, #14150) - // IE throws on elements created in popups - // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" - var view = elem.ownerDocument.defaultView; - - if ( !view || !view.opener ) { - view = window; - } - - return view.getComputedStyle( elem ); - }; - -var swap = function( elem, options, callback ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.call( elem ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; -}; - - -var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); - - - -( function() { - - // Executing both pixelPosition & boxSizingReliable tests require only one layout - // so they're executed at the same time to save the second computation. - function computeStyleTests() { - - // This is a singleton, we need to execute it only once - if ( !div ) { - return; - } - - container.style.cssText = "position:absolute;left:-11111px;width:60px;" + - "margin-top:1px;padding:0;border:0"; - div.style.cssText = - "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + - "margin:auto;border:1px;padding:1px;" + - "width:60%;top:1%"; - documentElement.appendChild( container ).appendChild( div ); - - var divStyle = window.getComputedStyle( div ); - pixelPositionVal = divStyle.top !== "1%"; - - // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 - reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; - - // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 - // Some styles come back with percentage values, even though they shouldn't - div.style.right = "60%"; - pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; - - // Support: IE 9 - 11 only - // Detect misreporting of content dimensions for box-sizing:border-box elements - boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; - - // Support: IE 9 only - // Detect overflow:scroll screwiness (gh-3699) - // Support: Chrome <=64 - // Don't get tricked when zoom affects offsetWidth (gh-4029) - div.style.position = "absolute"; - scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; - - documentElement.removeChild( container ); - - // Nullify the div so it wouldn't be stored in the memory and - // it will also be a sign that checks already performed - div = null; - } - - function roundPixelMeasures( measure ) { - return Math.round( parseFloat( measure ) ); - } - - var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, - reliableTrDimensionsVal, reliableMarginLeftVal, - container = document.createElement( "div" ), - div = document.createElement( "div" ); - - // Finish early in limited (non-browser) environments - if ( !div.style ) { - return; - } - - // Support: IE <=9 - 11 only - // Style of cloned element affects source element cloned (#8908) - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - jQuery.extend( support, { - boxSizingReliable: function() { - computeStyleTests(); - return boxSizingReliableVal; - }, - pixelBoxStyles: function() { - computeStyleTests(); - return pixelBoxStylesVal; - }, - pixelPosition: function() { - computeStyleTests(); - return pixelPositionVal; - }, - reliableMarginLeft: function() { - computeStyleTests(); - return reliableMarginLeftVal; - }, - scrollboxSize: function() { - computeStyleTests(); - return scrollboxSizeVal; - }, - - // Support: IE 9 - 11+, Edge 15 - 18+ - // IE/Edge misreport `getComputedStyle` of table rows with width/height - // set in CSS while `offset*` properties report correct values. - // Behavior in IE 9 is more subtle than in newer versions & it passes - // some versions of this test; make sure not to make it pass there! - reliableTrDimensions: function() { - var table, tr, trChild, trStyle; - if ( reliableTrDimensionsVal == null ) { - table = document.createElement( "table" ); - tr = document.createElement( "tr" ); - trChild = document.createElement( "div" ); - - table.style.cssText = "position:absolute;left:-11111px"; - tr.style.height = "1px"; - trChild.style.height = "9px"; - - documentElement - .appendChild( table ) - .appendChild( tr ) - .appendChild( trChild ); - - trStyle = window.getComputedStyle( tr ); - reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; - - documentElement.removeChild( table ); - } - return reliableTrDimensionsVal; - } - } ); -} )(); - - -function curCSS( elem, name, computed ) { - var width, minWidth, maxWidth, ret, - - // Support: Firefox 51+ - // Retrieving style before computed somehow - // fixes an issue with getting wrong values - // on detached elements - style = elem.style; - - computed = computed || getStyles( elem ); - - // getPropertyValue is needed for: - // .css('filter') (IE 9 only, #12537) - // .css('--customProperty) (#3144) - if ( computed ) { - ret = computed.getPropertyValue( name ) || computed[ name ]; - - if ( ret === "" && !isAttached( elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Android Browser returns percentage for some values, - // but width seems to be reliably pixels. - // This is against the CSSOM draft spec: - // https://drafts.csswg.org/cssom/#resolved-values - if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret !== undefined ? - - // Support: IE <=9 - 11 only - // IE returns zIndex value as an integer. - ret + "" : - ret; -} - - -function addGetHookIf( conditionFn, hookFn ) { - - // Define the hook, we'll check on the first run if it's really needed. - return { - get: function() { - if ( conditionFn() ) { - - // Hook not needed (or it's not possible to use it due - // to missing dependency), remove it. - delete this.get; - return; - } - - // Hook needed; redefine it so that the support test is not executed again. - return ( this.get = hookFn ).apply( this, arguments ); - } - }; -} - - -var cssPrefixes = [ "Webkit", "Moz", "ms" ], - emptyStyle = document.createElement( "div" ).style, - vendorProps = {}; - -// Return a vendor-prefixed property or undefined -function vendorPropName( name ) { - - // Check for vendor prefixed names - var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in emptyStyle ) { - return name; - } - } -} - -// Return a potentially-mapped jQuery.cssProps or vendor prefixed property -function finalPropName( name ) { - var final = jQuery.cssProps[ name ] || vendorProps[ name ]; - - if ( final ) { - return final; - } - if ( name in emptyStyle ) { - return name; - } - return vendorProps[ name ] = vendorPropName( name ) || name; -} - - -var - - // Swappable if display is none or starts with table - // except "table", "table-cell", or "table-caption" - // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rcustomProp = /^--/, - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: "0", - fontWeight: "400" - }; - -function setPositiveNumber( _elem, value, subtract ) { - - // Any relative (+/-) values have already been - // normalized at this point - var matches = rcssNum.exec( value ); - return matches ? - - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : - value; -} - -function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { - var i = dimension === "width" ? 1 : 0, - extra = 0, - delta = 0; - - // Adjustment may not be necessary - if ( box === ( isBorderBox ? "border" : "content" ) ) { - return 0; - } - - for ( ; i < 4; i += 2 ) { - - // Both box models exclude margin - if ( box === "margin" ) { - delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); - } - - // If we get here with a content-box, we're seeking "padding" or "border" or "margin" - if ( !isBorderBox ) { - - // Add padding - delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // For "border" or "margin", add border - if ( box !== "padding" ) { - delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - - // But still keep track of it otherwise - } else { - extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - - // If we get here with a border-box (content + padding + border), we're seeking "content" or - // "padding" or "margin" - } else { - - // For "content", subtract padding - if ( box === "content" ) { - delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // For "content" or "padding", subtract border - if ( box !== "margin" ) { - delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - // Account for positive content-box scroll gutter when requested by providing computedVal - if ( !isBorderBox && computedVal >= 0 ) { - - // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border - // Assuming integer scroll gutter, subtract the rest and round down - delta += Math.max( 0, Math.ceil( - elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - - computedVal - - delta - - extra - - 0.5 - - // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter - // Use an explicit zero to avoid NaN (gh-3964) - ) ) || 0; - } - - return delta; -} - -function getWidthOrHeight( elem, dimension, extra ) { - - // Start with computed style - var styles = getStyles( elem ), - - // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). - // Fake content-box until we know it's needed to know the true value. - boxSizingNeeded = !support.boxSizingReliable() || extra, - isBorderBox = boxSizingNeeded && - jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - valueIsBorderBox = isBorderBox, - - val = curCSS( elem, dimension, styles ), - offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); - - // Support: Firefox <=54 - // Return a confounding non-pixel value or feign ignorance, as appropriate. - if ( rnumnonpx.test( val ) ) { - if ( !extra ) { - return val; - } - val = "auto"; - } - - - // Support: IE 9 - 11 only - // Use offsetWidth/offsetHeight for when box sizing is unreliable. - // In those cases, the computed value can be trusted to be border-box. - if ( ( !support.boxSizingReliable() && isBorderBox || - - // Support: IE 10 - 11+, Edge 15 - 18+ - // IE/Edge misreport `getComputedStyle` of table rows with width/height - // set in CSS while `offset*` properties report correct values. - // Interestingly, in some cases IE 9 doesn't suffer from this issue. - !support.reliableTrDimensions() && nodeName( elem, "tr" ) || - - // Fall back to offsetWidth/offsetHeight when value is "auto" - // This happens for inline elements with no explicit setting (gh-3571) - val === "auto" || - - // Support: Android <=4.1 - 4.3 only - // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) - !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && - - // Make sure the element is visible & connected - elem.getClientRects().length ) { - - isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // Where available, offsetWidth/offsetHeight approximate border box dimensions. - // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the - // retrieved value as a content box dimension. - valueIsBorderBox = offsetProp in elem; - if ( valueIsBorderBox ) { - val = elem[ offsetProp ]; - } - } - - // Normalize "" and auto - val = parseFloat( val ) || 0; - - // Adjust for the element's box model - return ( val + - boxModelAdjustment( - elem, - dimension, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles, - - // Provide the current computed size to request scroll gutter calculation (gh-3589) - val - ) - ) + "px"; -} - -jQuery.extend( { - - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "animationIterationCount": true, - "columnCount": true, - "fillOpacity": true, - "flexGrow": true, - "flexShrink": true, - "fontWeight": true, - "gridArea": true, - "gridColumn": true, - "gridColumnEnd": true, - "gridColumnStart": true, - "gridRow": true, - "gridRowEnd": true, - "gridRowStart": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: {}, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = camelCase( name ), - isCustomProp = rcustomProp.test( name ), - style = elem.style; - - // Make sure that we're working with the right name. We don't - // want to query the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Gets hook for the prefixed version, then unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // Convert "+=" or "-=" to relative numbers (#7345) - if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { - value = adjustCSS( elem, name, ret ); - - // Fixes bug #9237 - type = "number"; - } - - // Make sure that null and NaN values aren't set (#7116) - if ( value == null || value !== value ) { - return; - } - - // If a number was passed in, add the unit (except for certain CSS properties) - // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append - // "px" to a few hardcoded values. - if ( type === "number" && !isCustomProp ) { - value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); - } - - // background-* props affect original clone's values - if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !( "set" in hooks ) || - ( value = hooks.set( elem, value, extra ) ) !== undefined ) { - - if ( isCustomProp ) { - style.setProperty( name, value ); - } else { - style[ name ] = value; - } - } - - } else { - - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && - ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { - - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var val, num, hooks, - origName = camelCase( name ), - isCustomProp = rcustomProp.test( name ); - - // Make sure that we're working with the right name. We don't - // want to modify the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Try prefixed name followed by the unprefixed name - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - // Convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Make numeric if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || isFinite( num ) ? num || 0 : val; - } - - return val; - } -} ); - -jQuery.each( [ "height", "width" ], function( _i, dimension ) { - jQuery.cssHooks[ dimension ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - - // Certain elements can have dimension info if we invisibly show them - // but it must have a current display style that would benefit - return rdisplayswap.test( jQuery.css( elem, "display" ) ) && - - // Support: Safari 8+ - // Table columns in Safari have non-zero offsetWidth & zero - // getBoundingClientRect().width unless display is changed. - // Support: IE <=11 only - // Running getBoundingClientRect on a disconnected node - // in IE throws an error. - ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? - swap( elem, cssShow, function() { - return getWidthOrHeight( elem, dimension, extra ); - } ) : - getWidthOrHeight( elem, dimension, extra ); - } - }, - - set: function( elem, value, extra ) { - var matches, - styles = getStyles( elem ), - - // Only read styles.position if the test has a chance to fail - // to avoid forcing a reflow. - scrollboxSizeBuggy = !support.scrollboxSize() && - styles.position === "absolute", - - // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) - boxSizingNeeded = scrollboxSizeBuggy || extra, - isBorderBox = boxSizingNeeded && - jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - subtract = extra ? - boxModelAdjustment( - elem, - dimension, - extra, - isBorderBox, - styles - ) : - 0; - - // Account for unreliable border-box dimensions by comparing offset* to computed and - // faking a content-box to get border and padding (gh-3699) - if ( isBorderBox && scrollboxSizeBuggy ) { - subtract -= Math.ceil( - elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - - parseFloat( styles[ dimension ] ) - - boxModelAdjustment( elem, dimension, "border", false, styles ) - - 0.5 - ); - } - - // Convert to pixels if value adjustment is needed - if ( subtract && ( matches = rcssNum.exec( value ) ) && - ( matches[ 3 ] || "px" ) !== "px" ) { - - elem.style[ dimension ] = value; - value = jQuery.css( elem, dimension ); - } - - return setPositiveNumber( elem, value, subtract ); - } - }; -} ); - -jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, - function( elem, computed ) { - if ( computed ) { - return ( parseFloat( curCSS( elem, "marginLeft" ) ) || - elem.getBoundingClientRect().left - - swap( elem, { marginLeft: 0 }, function() { - return elem.getBoundingClientRect().left; - } ) - ) + "px"; - } - } -); - -// These hooks are used by animate to expand properties -jQuery.each( { - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // Assumes a single number if not a string - parts = typeof value === "string" ? value.split( " " ) : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( prefix !== "margin" ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -} ); - -jQuery.fn.extend( { - css: function( name, value ) { - return access( this, function( elem, name, value ) { - var styles, len, - map = {}, - i = 0; - - if ( Array.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - } -} ); - - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || jQuery.easing._default; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - // Use a property on the element directly when it is not a DOM element, - // or when there is no matching style property that exists. - if ( tween.elem.nodeType !== 1 || - tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { - return tween.elem[ tween.prop ]; - } - - // Passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails. - // Simple values such as "10px" are parsed to Float; - // complex values such as "rotate(1rad)" are returned as-is. - result = jQuery.css( tween.elem, tween.prop, "" ); - - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - - // Use step hook for back compat. - // Use cssHook if its there. - // Use .style if available and use plain properties where available. - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.nodeType === 1 && ( - jQuery.cssHooks[ tween.prop ] || - tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE <=9 only -// Panic based approach to setting things on disconnected nodes -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p * Math.PI ) / 2; - }, - _default: "swing" -}; - -jQuery.fx = Tween.prototype.init; - -// Back compat <1.8 extension point -jQuery.fx.step = {}; - - - - -var - fxNow, inProgress, - rfxtypes = /^(?:toggle|show|hide)$/, - rrun = /queueHooks$/; - -function schedule() { - if ( inProgress ) { - if ( document.hidden === false && window.requestAnimationFrame ) { - window.requestAnimationFrame( schedule ); - } else { - window.setTimeout( schedule, jQuery.fx.interval ); - } - - jQuery.fx.tick(); - } -} - -// Animations created synchronously will run synchronously -function createFxNow() { - window.setTimeout( function() { - fxNow = undefined; - } ); - return ( fxNow = Date.now() ); -} - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - i = 0, - attrs = { height: type }; - - // If we include width, step value is 1 to do all cssExpand values, - // otherwise step value is 2 to skip over Left and Right - includeWidth = includeWidth ? 1 : 0; - for ( ; i < 4; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { - - // We're done with this property - return tween; - } - } -} - -function defaultPrefilter( elem, props, opts ) { - var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, - isBox = "width" in props || "height" in props, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHiddenWithinTree( elem ), - dataShow = dataPriv.get( elem, "fxshow" ); - - // Queue-skipping animations hijack the fx hooks - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always( function() { - - // Ensure the complete handler is called before this completes - anim.always( function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - } ); - } ); - } - - // Detect show/hide animations - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.test( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - - // Pretend to be hidden if this is a "show" and - // there is still data from a stopped show/hide - if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { - hidden = true; - - // Ignore all other no-op show/hide data - } else { - continue; - } - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - } - } - - // Bail out if this is a no-op like .hide().hide() - propTween = !jQuery.isEmptyObject( props ); - if ( !propTween && jQuery.isEmptyObject( orig ) ) { - return; - } - - // Restrict "overflow" and "display" styles during box animations - if ( isBox && elem.nodeType === 1 ) { - - // Support: IE <=9 - 11, Edge 12 - 15 - // Record all 3 overflow attributes because IE does not infer the shorthand - // from identically-valued overflowX and overflowY and Edge just mirrors - // the overflowX value there. - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Identify a display type, preferring old show/hide data over the CSS cascade - restoreDisplay = dataShow && dataShow.display; - if ( restoreDisplay == null ) { - restoreDisplay = dataPriv.get( elem, "display" ); - } - display = jQuery.css( elem, "display" ); - if ( display === "none" ) { - if ( restoreDisplay ) { - display = restoreDisplay; - } else { - - // Get nonempty value(s) by temporarily forcing visibility - showHide( [ elem ], true ); - restoreDisplay = elem.style.display || restoreDisplay; - display = jQuery.css( elem, "display" ); - showHide( [ elem ] ); - } - } - - // Animate inline elements as inline-block - if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { - if ( jQuery.css( elem, "float" ) === "none" ) { - - // Restore the original display value at the end of pure show/hide animations - if ( !propTween ) { - anim.done( function() { - style.display = restoreDisplay; - } ); - if ( restoreDisplay == null ) { - display = style.display; - restoreDisplay = display === "none" ? "" : display; - } - } - style.display = "inline-block"; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - anim.always( function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - } ); - } - - // Implement show/hide animations - propTween = false; - for ( prop in orig ) { - - // General show/hide setup for this element animation - if ( !propTween ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); - } - - // Store hidden/visible for toggle so `.stop().toggle()` "reverses" - if ( toggle ) { - dataShow.hidden = !hidden; - } - - // Show elements before animating them - if ( hidden ) { - showHide( [ elem ], true ); - } - - /* eslint-disable no-loop-func */ - - anim.done( function() { - - /* eslint-enable no-loop-func */ - - // The final step of a "hide" animation is actually hiding the element - if ( !hidden ) { - showHide( [ elem ] ); - } - dataPriv.remove( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - } ); - } - - // Per-property setup - propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = propTween.start; - if ( hidden ) { - propTween.end = propTween.start; - propTween.start = 0; - } - } - } -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( Array.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // Not quite $.extend, this won't overwrite existing keys. - // Reusing 'index' because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = Animation.prefilters.length, - deferred = jQuery.Deferred().always( function() { - - // Don't match elem in the :animated selector - delete tick.elem; - } ), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - - // Support: Android 2.3 only - // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ] ); - - // If there's more to do, yield - if ( percent < 1 && length ) { - return remaining; - } - - // If this was an empty animation, synthesize a final progress notification - if ( !length ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - } - - // Resolve the animation and report its conclusion - deferred.resolveWith( elem, [ animation ] ); - return false; - }, - animation = deferred.promise( { - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { - specialEasing: {}, - easing: jQuery.easing._default - }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - - // If we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // Resolve when we played the last frame; otherwise, reject - if ( gotoEnd ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - } ), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length; index++ ) { - result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - if ( isFunction( result.stop ) ) { - jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = - result.stop.bind( result ); - } - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - // Attach callbacks from options - animation - .progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - } ) - ); - - return animation; -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweeners: { - "*": [ function( prop, value ) { - var tween = this.createTween( prop, value ); - adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); - return tween; - } ] - }, - - tweener: function( props, callback ) { - if ( isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.match( rnothtmlwhite ); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length; index++ ) { - prop = props[ index ]; - Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; - Animation.tweeners[ prop ].unshift( callback ); - } - }, - - prefilters: [ defaultPrefilter ], - - prefilter: function( callback, prepend ) { - if ( prepend ) { - Animation.prefilters.unshift( callback ); - } else { - Animation.prefilters.push( callback ); - } - } -} ); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !isFunction( easing ) && easing - }; - - // Go to the end state if fx are off - if ( jQuery.fx.off ) { - opt.duration = 0; - - } else { - if ( typeof opt.duration !== "number" ) { - if ( opt.duration in jQuery.fx.speeds ) { - opt.duration = jQuery.fx.speeds[ opt.duration ]; - - } else { - opt.duration = jQuery.fx.speeds._default; - } - } - } - - // Normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.fn.extend( { - fadeTo: function( speed, to, easing, callback ) { - - // Show any hidden elements after setting opacity to 0 - return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() - - // Animate to the value specified - .end().animate( { opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || dataPriv.get( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue ) { - this.queue( type || "fx", [] ); - } - - return this.each( function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = dataPriv.get( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && - ( type == null || timers[ index ].queue === type ) ) { - - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // Start the next in the queue if the last step wasn't forced. - // Timers currently will call their complete callbacks, which - // will dequeue but only if they were gotoEnd. - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - } ); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each( function() { - var index, - data = dataPriv.get( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // Enable finishing flag on private data - data.finish = true; - - // Empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // Look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // Look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // Turn off finishing flag - delete data.finish; - } ); - } -} ); - -jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -} ); - -// Generate shortcuts for custom animations -jQuery.each( { - slideDown: genFx( "show" ), - slideUp: genFx( "hide" ), - slideToggle: genFx( "toggle" ), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -} ); - -jQuery.timers = []; -jQuery.fx.tick = function() { - var timer, - i = 0, - timers = jQuery.timers; - - fxNow = Date.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - - // Run the timer and safely remove it when done (allowing for external removal) - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - jQuery.timers.push( timer ); - jQuery.fx.start(); -}; - -jQuery.fx.interval = 13; -jQuery.fx.start = function() { - if ( inProgress ) { - return; - } - - inProgress = true; - schedule(); -}; - -jQuery.fx.stop = function() { - inProgress = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - - // Default speed - _default: 400 -}; - - -// Based off of the plugin by Clint Helfers, with permission. -// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ -jQuery.fn.delay = function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = window.setTimeout( next, time ); - hooks.stop = function() { - window.clearTimeout( timeout ); - }; - } ); -}; - - -( function() { - var input = document.createElement( "input" ), - select = document.createElement( "select" ), - opt = select.appendChild( document.createElement( "option" ) ); - - input.type = "checkbox"; - - // Support: Android <=4.3 only - // Default value for a checkbox should be "on" - support.checkOn = input.value !== ""; - - // Support: IE <=11 only - // Must access selectedIndex to make default options select - support.optSelected = opt.selected; - - // Support: IE <=11 only - // An input loses its value after becoming a radio - input = document.createElement( "input" ); - input.value = "t"; - input.type = "radio"; - support.radioValue = input.value === "t"; -} )(); - - -var boolHook, - attrHandle = jQuery.expr.attrHandle; - -jQuery.fn.extend( { - attr: function( name, value ) { - return access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each( function() { - jQuery.removeAttr( this, name ); - } ); - } -} ); - -jQuery.extend( { - attr: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set attributes on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - // Attribute hooks are determined by the lowercase version - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - hooks = jQuery.attrHooks[ name.toLowerCase() ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); - } - - if ( value !== undefined ) { - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return; - } - - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - elem.setAttribute( name, value + "" ); - return value; - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? undefined : ret; - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !support.radioValue && value === "radio" && - nodeName( elem, "input" ) ) { - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - removeAttr: function( elem, value ) { - var name, - i = 0, - - // Attribute names can contain non-HTML whitespace characters - // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 - attrNames = value && value.match( rnothtmlwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( ( name = attrNames[ i++ ] ) ) { - elem.removeAttribute( name ); - } - } - } -} ); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - elem.setAttribute( name, name ); - } - return name; - } -}; - -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { - var getter = attrHandle[ name ] || jQuery.find.attr; - - attrHandle[ name ] = function( elem, name, isXML ) { - var ret, handle, - lowercaseName = name.toLowerCase(); - - if ( !isXML ) { - - // Avoid an infinite loop by temporarily removing this function from the getter - handle = attrHandle[ lowercaseName ]; - attrHandle[ lowercaseName ] = ret; - ret = getter( elem, name, isXML ) != null ? - lowercaseName : - null; - attrHandle[ lowercaseName ] = handle; - } - return ret; - }; -} ); - - - - -var rfocusable = /^(?:input|select|textarea|button)$/i, - rclickable = /^(?:a|area)$/i; - -jQuery.fn.extend( { - prop: function( name, value ) { - return access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - return this.each( function() { - delete this[ jQuery.propFix[ name ] || name ]; - } ); - } -} ); - -jQuery.extend( { - prop: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set properties on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - return ( elem[ name ] = value ); - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - return elem[ name ]; - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - - // Support: IE <=9 - 11 only - // elem.tabIndex doesn't always return the - // correct value when it hasn't been explicitly set - // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - if ( tabindex ) { - return parseInt( tabindex, 10 ); - } - - if ( - rfocusable.test( elem.nodeName ) || - rclickable.test( elem.nodeName ) && - elem.href - ) { - return 0; - } - - return -1; - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - } -} ); - -// Support: IE <=11 only -// Accessing the selectedIndex property -// forces the browser to respect setting selected -// on the option -// The getter ensures a default option is selected -// when in an optgroup -// eslint rule "no-unused-expressions" is disabled for this code -// since it considers such accessions noop -if ( !support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent && parent.parentNode ) { - parent.parentNode.selectedIndex; - } - return null; - }, - set: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent ) { - parent.selectedIndex; - - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - }; -} - -jQuery.each( [ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -} ); - - - - - // Strip and collapse whitespace according to HTML spec - // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace - function stripAndCollapse( value ) { - var tokens = value.match( rnothtmlwhite ) || []; - return tokens.join( " " ); - } - - -function getClass( elem ) { - return elem.getAttribute && elem.getAttribute( "class" ) || ""; -} - -function classesToArray( value ) { - if ( Array.isArray( value ) ) { - return value; - } - if ( typeof value === "string" ) { - return value.match( rnothtmlwhite ) || []; - } - return []; -} - -jQuery.fn.extend( { - addClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - classes = classesToArray( value ); - - if ( classes.length ) { - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( !arguments.length ) { - return this.attr( "class", "" ); - } - - classes = classesToArray( value ); - - if ( classes.length ) { - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) > -1 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isValidValue = type === "string" || Array.isArray( value ); - - if ( typeof stateVal === "boolean" && isValidValue ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( isFunction( value ) ) { - return this.each( function( i ) { - jQuery( this ).toggleClass( - value.call( this, i, getClass( this ), stateVal ), - stateVal - ); - } ); - } - - return this.each( function() { - var className, i, self, classNames; - - if ( isValidValue ) { - - // Toggle individual class names - i = 0; - self = jQuery( this ); - classNames = classesToArray( value ); - - while ( ( className = classNames[ i++ ] ) ) { - - // Check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( value === undefined || type === "boolean" ) { - className = getClass( this ); - if ( className ) { - - // Store className if set - dataPriv.set( this, "__className__", className ); - } - - // If the element has a class name or if we're passed `false`, - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - if ( this.setAttribute ) { - this.setAttribute( "class", - className || value === false ? - "" : - dataPriv.get( this, "__className__" ) || "" - ); - } - } - } ); - }, - - hasClass: function( selector ) { - var className, elem, - i = 0; - - className = " " + selector + " "; - while ( ( elem = this[ i++ ] ) ) { - if ( elem.nodeType === 1 && - ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { - return true; - } - } - - return false; - } -} ); - - - - -var rreturn = /\r/g; - -jQuery.fn.extend( { - val: function( value ) { - var hooks, ret, valueIsFunction, - elem = this[ 0 ]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || - jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && - "get" in hooks && - ( ret = hooks.get( elem, "value" ) ) !== undefined - ) { - return ret; - } - - ret = elem.value; - - // Handle most common string cases - if ( typeof ret === "string" ) { - return ret.replace( rreturn, "" ); - } - - // Handle cases where value is null/undef or number - return ret == null ? "" : ret; - } - - return; - } - - valueIsFunction = isFunction( value ); - - return this.each( function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( valueIsFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - - } else if ( typeof val === "number" ) { - val += ""; - - } else if ( Array.isArray( val ) ) { - val = jQuery.map( val, function( value ) { - return value == null ? "" : value + ""; - } ); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - } ); - } -} ); - -jQuery.extend( { - valHooks: { - option: { - get: function( elem ) { - - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - - // Support: IE <=10 - 11 only - // option.text throws exceptions (#14686, #14858) - // Strip and collapse whitespace - // https://html.spec.whatwg.org/#strip-and-collapse-whitespace - stripAndCollapse( jQuery.text( elem ) ); - } - }, - select: { - get: function( elem ) { - var value, option, i, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one", - values = one ? null : [], - max = one ? index + 1 : options.length; - - if ( index < 0 ) { - i = max; - - } else { - i = one ? index : 0; - } - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // Support: IE <=9 only - // IE8-9 doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - - // Don't return options that are disabled or in a disabled optgroup - !option.disabled && - ( !option.parentNode.disabled || - !nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - - /* eslint-disable no-cond-assign */ - - if ( option.selected = - jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 - ) { - optionSet = true; - } - - /* eslint-enable no-cond-assign */ - } - - // Force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - } -} ); - -// Radios and checkboxes getter/setter -jQuery.each( [ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( Array.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); - } - } - }; - if ( !support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - return elem.getAttribute( "value" ) === null ? "on" : elem.value; - }; - } -} ); - - - - -// Return jQuery for attributes-only inclusion - - -support.focusin = "onfocusin" in window; - - -var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - stopPropagationCallback = function( e ) { - e.stopPropagation(); - }; - -jQuery.extend( jQuery.event, { - - trigger: function( event, data, elem, onlyHandlers ) { - - var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, - eventPath = [ elem || document ], - type = hasOwn.call( event, "type" ) ? event.type : event, - namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; - - cur = lastElement = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf( "." ) > -1 ) { - - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split( "." ); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf( ":" ) < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join( "." ); - event.rnamespace = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === ( elem.ownerDocument || document ) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { - lastElement = cur; - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( - dataPriv.get( cur, "events" ) || Object.create( null ) - )[ event.type ] && - dataPriv.get( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && handle.apply && acceptData( cur ) ) { - event.result = handle.apply( cur, data ); - if ( event.result === false ) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( ( !special._default || - special._default.apply( eventPath.pop(), data ) === false ) && - acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name as the event. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - - if ( event.isPropagationStopped() ) { - lastElement.addEventListener( type, stopPropagationCallback ); - } - - elem[ type ](); - - if ( event.isPropagationStopped() ) { - lastElement.removeEventListener( type, stopPropagationCallback ); - } - - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - // Piggyback on a donor event to simulate a different one - // Used only for `focus(in | out)` events - simulate: function( type, elem, event ) { - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true - } - ); - - jQuery.event.trigger( e, null, elem ); - } - -} ); - -jQuery.fn.extend( { - - trigger: function( type, data ) { - return this.each( function() { - jQuery.event.trigger( type, data, this ); - } ); - }, - triggerHandler: function( type, data ) { - var elem = this[ 0 ]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -} ); - - -// Support: Firefox <=44 -// Firefox doesn't have focus(in | out) events -// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 -// -// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 -// focus(in | out) events fire after focus & blur events, -// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order -// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 -if ( !support.focusin ) { - jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - - // Handle: regular nodes (via `this.ownerDocument`), window - // (via `this.document`) & document (via `this`). - var doc = this.ownerDocument || this.document || this, - attaches = dataPriv.access( doc, fix ); - - if ( !attaches ) { - doc.addEventListener( orig, handler, true ); - } - dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); - }, - teardown: function() { - var doc = this.ownerDocument || this.document || this, - attaches = dataPriv.access( doc, fix ) - 1; - - if ( !attaches ) { - doc.removeEventListener( orig, handler, true ); - dataPriv.remove( doc, fix ); - - } else { - dataPriv.access( doc, fix, attaches ); - } - } - }; - } ); -} -var location = window.location; - -var nonce = { guid: Date.now() }; - -var rquery = ( /\?/ ); - - - -// Cross-browser xml parsing -jQuery.parseXML = function( data ) { - var xml; - if ( !data || typeof data !== "string" ) { - return null; - } - - // Support: IE 9 - 11 only - // IE throws on parseFromString with invalid input. - try { - xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); - } catch ( e ) { - xml = undefined; - } - - if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; -}; - - -var - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( Array.isArray( obj ) ) { - - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - - // Item is non-scalar (array or object), encode its numeric index. - buildParams( - prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", - v, - traditional, - add - ); - } - } ); - - } else if ( !traditional && toType( obj ) === "object" ) { - - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - - // Serialize scalar item. - add( prefix, obj ); - } -} - -// Serialize an array of form elements or a set of -// key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, valueOrFunction ) { - - // If value is a function, invoke it and use its return value - var value = isFunction( valueOrFunction ) ? - valueOrFunction() : - valueOrFunction; - - s[ s.length ] = encodeURIComponent( key ) + "=" + - encodeURIComponent( value == null ? "" : value ); - }; - - if ( a == null ) { - return ""; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - } ); - - } else { - - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ); -}; - -jQuery.fn.extend( { - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map( function() { - - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - } ) - .filter( function() { - var type = this.type; - - // Use .is( ":disabled" ) so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !rcheckableType.test( type ) ); - } ) - .map( function( _i, elem ) { - var val = jQuery( this ).val(); - - if ( val == null ) { - return null; - } - - if ( Array.isArray( val ) ) { - return jQuery.map( val, function( val ) { - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ); - } - - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ).get(); - } -} ); - - -var - r20 = /%20/g, - rhash = /#.*$/, - rantiCache = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, - - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat( "*" ), - - // Anchor tag for parsing the document origin - originAnchor = document.createElement( "a" ); - originAnchor.href = location.href; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; - - if ( isFunction( func ) ) { - - // For each dataType in the dataTypeExpression - while ( ( dataType = dataTypes[ i++ ] ) ) { - - // Prepend if requested - if ( dataType[ 0 ] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); - - // Otherwise append - } else { - ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if ( typeof dataTypeOrTransport === "string" && - !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - } ); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var key, deep, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - - var ct, type, finalDataType, firstDataType, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while ( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s.throws ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { - state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current - }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} - -jQuery.extend( { - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: location.href, - type: "GET", - isLocal: rlocalProtocol.test( location.protocol ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - - /* + match[1] = match[1].toLowerCase(); + + if (match[1].slice(0, 3) === 'nth') { + // nth-* requires argument + if (!match[3]) { + Sizzle.error(match[0]); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +(match[4] + ? match[5] + (match[6] || 1) + : 2 * (match[3] === 'even' || match[3] === 'odd')); + match[5] = +(match[7] + match[8] || match[3] === 'odd'); + + // other types prohibit arguments + } else if (match[3]) { + Sizzle.error(match[0]); + } + + return match; + }, + + PSEUDO: function (match) { + var excess, + unquoted = !match[6] && match[2]; + + if (matchExpr['CHILD'].test(match[0])) { + return null; + } + + // Accept quoted arguments as-is + if (match[3]) { + match[2] = match[4] || match[5] || ''; + + // Strip excess characters from unquoted arguments + } else if ( + unquoted && + rpseudo.test(unquoted) && + // Get excess from tokenize (recursively) + (excess = tokenize(unquoted, true)) && + // advance to the next closing parenthesis + (excess = + unquoted.indexOf(')', unquoted.length - excess) - + unquoted.length) + ) { + // excess is a negative index + match[0] = match[0].slice(0, excess); + match[2] = unquoted.slice(0, excess); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice(0, 3); + }, + }, + + filter: { + TAG: function (nodeNameSelector) { + var nodeName = nodeNameSelector + .replace(runescape, funescape) + .toLowerCase(); + return nodeNameSelector === '*' + ? function () { + return true; + } + : function (elem) { + return ( + elem.nodeName && elem.nodeName.toLowerCase() === nodeName + ); + }; + }, + + CLASS: function (className) { + var pattern = classCache[className + ' ']; + + return ( + pattern || + ((pattern = new RegExp( + '(^|' + whitespace + ')' + className + '(' + whitespace + '|$)', + )) && + classCache(className, function (elem) { + return pattern.test( + (typeof elem.className === 'string' && elem.className) || + (typeof elem.getAttribute !== 'undefined' && + elem.getAttribute('class')) || + '', + ); + })) + ); + }, + + ATTR: function (name, operator, check) { + return function (elem) { + var result = Sizzle.attr(elem, name); + + if (result == null) { + return operator === '!='; + } + if (!operator) { + return true; + } + + result += ''; + + /* eslint-disable max-len */ + + return operator === '=' + ? result === check + : operator === '!=' + ? result !== check + : operator === '^=' + ? check && result.indexOf(check) === 0 + : operator === '*=' + ? check && result.indexOf(check) > -1 + : operator === '$=' + ? check && result.slice(-check.length) === check + : operator === '~=' + ? ( + ' ' + + result.replace(rwhitespace, ' ') + + ' ' + ).indexOf(check) > -1 + : operator === '|=' + ? result === check || + result.slice(0, check.length + 1) === check + '-' + : false; + /* eslint-enable max-len */ + }; + }, + + CHILD: function (type, what, _argument, first, last) { + var simple = type.slice(0, 3) !== 'nth', + forward = type.slice(-4) !== 'last', + ofType = what === 'of-type'; + + return first === 1 && last === 0 + ? // Shortcut for :nth-*(n) + function (elem) { + return !!elem.parentNode; + } + : function (elem, _context, xml) { + var cache, + uniqueCache, + outerCache, + node, + nodeIndex, + start, + dir = + simple !== forward ? 'nextSibling' : 'previousSibling', + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if (parent) { + // :(first|last|only)-(child|of-type) + if (simple) { + while (dir) { + node = elem; + while ((node = node[dir])) { + if ( + ofType + ? node.nodeName.toLowerCase() === name + : node.nodeType === 1 + ) { + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = + type === 'only' && !start && 'nextSibling'; + } + return true; + } + + start = [forward ? parent.firstChild : parent.lastChild]; + + // non-xml :nth-child(...) stores cache data on `parent` + if (forward && useCache) { + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[expando] || (node[expando] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = + outerCache[node.uniqueID] || + (outerCache[node.uniqueID] = {}); + + cache = uniqueCache[type] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = nodeIndex && cache[2]; + node = nodeIndex && parent.childNodes[nodeIndex]; + + while ( + (node = + (++nodeIndex && node && node[dir]) || + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || + start.pop()) + ) { + // When found, cache indexes on `parent` and break + if (node.nodeType === 1 && ++diff && node === elem) { + uniqueCache[type] = [dirruns, nodeIndex, diff]; + break; + } + } + } else { + // Use previously-cached element index if available + if (useCache) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[expando] || (node[expando] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = + outerCache[node.uniqueID] || + (outerCache[node.uniqueID] = {}); + + cache = uniqueCache[type] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if (diff === false) { + // Use the same loop as above to seek `elem` from the start + while ( + (node = + (++nodeIndex && node && node[dir]) || + (diff = nodeIndex = 0) || + start.pop()) + ) { + if ( + (ofType + ? node.nodeName.toLowerCase() === name + : node.nodeType === 1) && + ++diff + ) { + // Cache the index of each encountered element + if (useCache) { + outerCache = + node[expando] || (node[expando] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = + outerCache[node.uniqueID] || + (outerCache[node.uniqueID] = {}); + + uniqueCache[type] = [dirruns, diff]; + } + + if (node === elem) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return ( + diff === first || + (diff % first === 0 && diff / first >= 0) + ); + } + }; + }, + + PSEUDO: function (pseudo, argument) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = + Expr.pseudos[pseudo] || + Expr.setFilters[pseudo.toLowerCase()] || + Sizzle.error('unsupported pseudo: ' + pseudo); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if (fn[expando]) { + return fn(argument); + } + + // But maintain support for old signatures + if (fn.length > 1) { + args = [pseudo, pseudo, '', argument]; + return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) + ? markFunction(function (seed, matches) { + var idx, + matched = fn(seed, argument), + i = matched.length; + while (i--) { + idx = indexOf(seed, matched[i]); + seed[idx] = !(matches[idx] = matched[i]); + } + }) + : function (elem) { + return fn(elem, 0, args); + }; + } + + return fn; + }, + }, + + pseudos: { + // Potentially complex pseudos + not: markFunction(function (selector) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile(selector.replace(rtrim, '$1')); + + return matcher[expando] + ? markFunction(function (seed, matches, _context, xml) { + var elem, + unmatched = matcher(seed, null, xml, []), + i = seed.length; + + // Match elements unmatched by `matcher` + while (i--) { + if ((elem = unmatched[i])) { + seed[i] = !(matches[i] = elem); + } + } + }) + : function (elem, _context, xml) { + input[0] = elem; + matcher(input, null, xml, results); + + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + has: markFunction(function (selector) { + return function (elem) { + return Sizzle(selector, elem).length > 0; + }; + }), + + contains: markFunction(function (text) { + text = text.replace(runescape, funescape); + return function (elem) { + return (elem.textContent || getText(elem)).indexOf(text) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + lang: markFunction(function (lang) { + // lang value must be a valid identifier + if (!ridentifier.test(lang || '')) { + Sizzle.error('unsupported lang: ' + lang); + } + lang = lang.replace(runescape, funescape).toLowerCase(); + return function (elem) { + var elemLang; + do { + if ( + (elemLang = documentIsHTML + ? elem.lang + : elem.getAttribute('xml:lang') || + elem.getAttribute('lang')) + ) { + elemLang = elemLang.toLowerCase(); + return ( + elemLang === lang || elemLang.indexOf(lang + '-') === 0 + ); + } + } while ((elem = elem.parentNode) && elem.nodeType === 1); + return false; + }; + }), + + // Miscellaneous + target: function (elem) { + var hash = window.location && window.location.hash; + return hash && hash.slice(1) === elem.id; + }, + + root: function (elem) { + return elem === docElem; + }, + + focus: function (elem) { + return ( + elem === document.activeElement && + (!document.hasFocus || document.hasFocus()) && + !!(elem.type || elem.href || ~elem.tabIndex) + ); + }, + + // Boolean properties + enabled: createDisabledPseudo(false), + disabled: createDisabledPseudo(true), + + checked: function (elem) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( + (nodeName === 'input' && !!elem.checked) || + (nodeName === 'option' && !!elem.selected) + ); + }, + + selected: function (elem) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if (elem.parentNode) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + empty: function (elem) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for (elem = elem.firstChild; elem; elem = elem.nextSibling) { + if (elem.nodeType < 6) { + return false; + } + } + return true; + }, + + parent: function (elem) { + return !Expr.pseudos['empty'](elem); + }, + + // Element/input types + header: function (elem) { + return rheader.test(elem.nodeName); + }, + + input: function (elem) { + return rinputs.test(elem.nodeName); + }, + + button: function (elem) { + var name = elem.nodeName.toLowerCase(); + return ( + (name === 'input' && elem.type === 'button') || name === 'button' + ); + }, + + text: function (elem) { + var attr; + return ( + elem.nodeName.toLowerCase() === 'input' && + elem.type === 'text' && + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ((attr = elem.getAttribute('type')) == null || + attr.toLowerCase() === 'text') + ); + }, + + // Position-in-collection + first: createPositionalPseudo(function () { + return [0]; + }), + + last: createPositionalPseudo(function (_matchIndexes, length) { + return [length - 1]; + }), + + eq: createPositionalPseudo( + function (_matchIndexes, length, argument) { + return [argument < 0 ? argument + length : argument]; + }, + ), + + even: createPositionalPseudo(function (matchIndexes, length) { + var i = 0; + for (; i < length; i += 2) { + matchIndexes.push(i); + } + return matchIndexes; + }), + + odd: createPositionalPseudo(function (matchIndexes, length) { + var i = 1; + for (; i < length; i += 2) { + matchIndexes.push(i); + } + return matchIndexes; + }), + + lt: createPositionalPseudo(function (matchIndexes, length, argument) { + var i = + argument < 0 + ? argument + length + : argument > length + ? length + : argument; + for (; --i >= 0; ) { + matchIndexes.push(i); + } + return matchIndexes; + }), + + gt: createPositionalPseudo(function (matchIndexes, length, argument) { + var i = argument < 0 ? argument + length : argument; + for (; ++i < length; ) { + matchIndexes.push(i); + } + return matchIndexes; + }), + }, + }; + + Expr.pseudos['nth'] = Expr.pseudos['eq']; + + // Add button/input type pseudos + for (i in { + radio: true, + checkbox: true, + file: true, + password: true, + image: true, + }) { + Expr.pseudos[i] = createInputPseudo(i); + } + for (i in {submit: true, reset: true}) { + Expr.pseudos[i] = createButtonPseudo(i); + } + + // Easy API for creating new setFilters + function setFilters() {} + setFilters.prototype = Expr.filters = Expr.pseudos; + Expr.setFilters = new setFilters(); + + tokenize = Sizzle.tokenize = function (selector, parseOnly) { + var matched, + match, + tokens, + type, + soFar, + groups, + preFilters, + cached = tokenCache[selector + ' ']; + + if (cached) { + return parseOnly ? 0 : cached.slice(0); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while (soFar) { + // Comma and first run + if (!matched || (match = rcomma.exec(soFar))) { + if (match) { + // Don't consume trailing commas as valid + soFar = soFar.slice(match[0].length) || soFar; + } + groups.push((tokens = [])); + } + + matched = false; + + // Combinators + if ((match = rcombinators.exec(soFar))) { + matched = match.shift(); + tokens.push({ + value: matched, + + // Cast descendant combinators to space + type: match[0].replace(rtrim, ' '), + }); + soFar = soFar.slice(matched.length); + } + + // Filters + for (type in Expr.filter) { + if ( + (match = matchExpr[type].exec(soFar)) && + (!preFilters[type] || (match = preFilters[type](match))) + ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match, + }); + soFar = soFar.slice(matched.length); + } + } + + if (!matched) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly + ? soFar.length + : soFar + ? Sizzle.error(selector) + : // Cache the tokens + tokenCache(selector, groups).slice(0); + }; + + function toSelector(tokens) { + var i = 0, + len = tokens.length, + selector = ''; + for (; i < len; i++) { + selector += tokens[i].value; + } + return selector; + } + + function addCombinator(matcher, combinator, base) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === 'parentNode', + doneName = done++; + + return combinator.first + ? // Check against closest ancestor/preceding element + function (elem, context, xml) { + while ((elem = elem[dir])) { + if (elem.nodeType === 1 || checkNonElements) { + return matcher(elem, context, xml); + } + } + return false; + } + : // Check against all ancestor/preceding elements + function (elem, context, xml) { + var oldCache, + uniqueCache, + outerCache, + newCache = [dirruns, doneName]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if (xml) { + while ((elem = elem[dir])) { + if (elem.nodeType === 1 || checkNonElements) { + if (matcher(elem, context, xml)) { + return true; + } + } + } + } else { + while ((elem = elem[dir])) { + if (elem.nodeType === 1 || checkNonElements) { + outerCache = elem[expando] || (elem[expando] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = + outerCache[elem.uniqueID] || + (outerCache[elem.uniqueID] = {}); + + if (skip && skip === elem.nodeName.toLowerCase()) { + elem = elem[dir] || elem; + } else if ( + (oldCache = uniqueCache[key]) && + oldCache[0] === dirruns && + oldCache[1] === doneName + ) { + // Assign to newCache so results back-propagate to previous elements + return (newCache[2] = oldCache[2]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[key] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ((newCache[2] = matcher(elem, context, xml))) { + return true; + } + } + } + } + } + return false; + }; + } + + function elementMatcher(matchers) { + return matchers.length > 1 + ? function (elem, context, xml) { + var i = matchers.length; + while (i--) { + if (!matchers[i](elem, context, xml)) { + return false; + } + } + return true; + } + : matchers[0]; + } + + function multipleContexts(selector, contexts, results) { + var i = 0, + len = contexts.length; + for (; i < len; i++) { + Sizzle(selector, contexts[i], results); + } + return results; + } + + function condense(unmatched, map, filter, context, xml) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for (; i < len; i++) { + if ((elem = unmatched[i])) { + if (!filter || filter(elem, context, xml)) { + newUnmatched.push(elem); + if (mapped) { + map.push(i); + } + } + } + } + + return newUnmatched; + } + + function setMatcher( + preFilter, + selector, + matcher, + postFilter, + postFinder, + postSelector, + ) { + if (postFilter && !postFilter[expando]) { + postFilter = setMatcher(postFilter); + } + if (postFinder && !postFinder[expando]) { + postFinder = setMatcher(postFinder, postSelector); + } + return markFunction(function (seed, results, context, xml) { + var temp, + i, + elem, + preMap = [], + postMap = [], + preexisting = results.length, + // Get initial elements from seed or context + elems = + seed || + multipleContexts( + selector || '*', + context.nodeType ? [context] : context, + [], + ), + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = + preFilter && (seed || !selector) + ? condense(elems, preMap, preFilter, context, xml) + : elems, + matcherOut = matcher + ? // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || (seed ? preFilter : preexisting || postFilter) + ? // ...intermediate processing is necessary + [] + : // ...otherwise use results directly + results + : matcherIn; + + // Find primary matches + if (matcher) { + matcher(matcherIn, matcherOut, context, xml); + } + + // Apply postFilter + if (postFilter) { + temp = condense(matcherOut, postMap); + postFilter(temp, [], context, xml); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while (i--) { + if ((elem = temp[i])) { + matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem); + } + } + } + + if (seed) { + if (postFinder || preFilter) { + if (postFinder) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while (i--) { + if ((elem = matcherOut[i])) { + // Restore matcherIn since elem is not yet a final match + temp.push((matcherIn[i] = elem)); + } + } + postFinder(null, (matcherOut = []), temp, xml); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while (i--) { + if ( + (elem = matcherOut[i]) && + (temp = postFinder ? indexOf(seed, elem) : preMap[i]) > -1 + ) { + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results + ? matcherOut.splice(preexisting, matcherOut.length) + : matcherOut, + ); + if (postFinder) { + postFinder(null, results, matcherOut, xml); + } else { + push.apply(results, matcherOut); + } + } + }); + } + + function matcherFromTokens(tokens) { + var checkContext, + matcher, + j, + len = tokens.length, + leadingRelative = Expr.relative[tokens[0].type], + implicitRelative = leadingRelative || Expr.relative[' '], + i = leadingRelative ? 1 : 0, + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( + function (elem) { + return elem === checkContext; + }, + implicitRelative, + true, + ), + matchAnyContext = addCombinator( + function (elem) { + return indexOf(checkContext, elem) > -1; + }, + implicitRelative, + true, + ), + matchers = [ + function (elem, context, xml) { + var ret = + (!leadingRelative && (xml || context !== outermostContext)) || + ((checkContext = context).nodeType + ? matchContext(elem, context, xml) + : matchAnyContext(elem, context, xml)); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + }, + ]; + + for (; i < len; i++) { + if ((matcher = Expr.relative[tokens[i].type])) { + matchers = [addCombinator(elementMatcher(matchers), matcher)]; + } else { + matcher = Expr.filter[tokens[i].type].apply( + null, + tokens[i].matches, + ); + + // Return special upon seeing a positional matcher + if (matcher[expando]) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for (; j < len; j++) { + if (Expr.relative[tokens[j].type]) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher(matchers), + i > 1 && + toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice(0, i - 1) + .concat({value: tokens[i - 2].type === ' ' ? '*' : ''}), + ).replace(rtrim, '$1'), + matcher, + i < j && matcherFromTokens(tokens.slice(i, j)), + j < len && matcherFromTokens((tokens = tokens.slice(j))), + j < len && toSelector(tokens), + ); + } + matchers.push(matcher); + } + } + + return elementMatcher(matchers); + } + + function matcherFromGroupMatchers(elementMatchers, setMatchers) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function (seed, context, xml, results, outermost) { + var elem, + j, + matcher, + matchedCount = 0, + i = '0', + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || (byElement && Expr.find['TAG']('*', outermost)), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += + contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if (outermost) { + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for (; i !== len && (elem = elems[i]) != null; i++) { + if (byElement && elem) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if (!context && elem.ownerDocument != document) { + setDocument(elem); + xml = !documentIsHTML; + } + while ((matcher = elementMatchers[j++])) { + if (matcher(elem, context || document, xml)) { + results.push(elem); + break; + } + } + if (outermost) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if (bySet) { + // They will have gone through all possible matchers + if ((elem = !matcher && elem)) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if (seed) { + unmatched.push(elem); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if (bySet && i !== matchedCount) { + j = 0; + while ((matcher = setMatchers[j++])) { + matcher(unmatched, setMatched, context, xml); + } + + if (seed) { + // Reintegrate element matches to eliminate the need for sorting + if (matchedCount > 0) { + while (i--) { + if (!(unmatched[i] || setMatched[i])) { + setMatched[i] = pop.call(results); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense(setMatched); + } + + // Add matches to results + push.apply(results, setMatched); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( + outermost && + !seed && + setMatched.length > 0 && + matchedCount + setMatchers.length > 1 + ) { + Sizzle.uniqueSort(results); + } + } + + // Override manipulation of globals by nested matchers + if (outermost) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? markFunction(superMatcher) : superMatcher; + } + + compile = Sizzle.compile = function ( + selector, + match /* Internal Use Only */, + ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[selector + ' ']; + + if (!cached) { + // Generate a function of recursive functions that can be used to check each element + if (!match) { + match = tokenize(selector); + } + i = match.length; + while (i--) { + cached = matcherFromTokens(match[i]); + if (cached[expando]) { + setMatchers.push(cached); + } else { + elementMatchers.push(cached); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers(elementMatchers, setMatchers), + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; + }; + + /** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ + select = Sizzle.select = function (selector, context, results, seed) { + var i, + tokens, + token, + type, + find, + compiled = typeof selector === 'function' && selector, + match = !seed && tokenize((selector = compiled.selector || selector)); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if (match.length === 1) { + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice(0); + if ( + tokens.length > 2 && + (token = tokens[0]).type === 'ID' && + context.nodeType === 9 && + documentIsHTML && + Expr.relative[tokens[1].type] + ) { + context = (Expr.find['ID']( + token.matches[0].replace(runescape, funescape), + context, + ) || [])[0]; + if (!context) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if (compiled) { + context = context.parentNode; + } + + selector = selector.slice(tokens.shift().value.length); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr['needsContext'].test(selector) ? 0 : tokens.length; + while (i--) { + token = tokens[i]; + + // Abort if we hit a combinator + if (Expr.relative[(type = token.type)]) { + break; + } + if ((find = Expr.find[type])) { + // Search, expanding context for leading sibling combinators + if ( + (seed = find( + token.matches[0].replace(runescape, funescape), + (rsibling.test(tokens[0].type) && + testContext(context.parentNode)) || + context, + )) + ) { + // If seed is empty or no tokens remain, we can return early + tokens.splice(i, 1); + selector = seed.length && toSelector(tokens); + if (!selector) { + push.apply(results, seed); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + (compiled || compile(selector, match))( + seed, + context, + !documentIsHTML, + results, + !context || + (rsibling.test(selector) && testContext(context.parentNode)) || + context, + ); + return results; + }; + + // One-time assignments + + // Sort stability + support.sortStable = + expando.split('').sort(sortOrder).join('') === expando; + + // Support: Chrome 14-35+ + // Always assume duplicates if they aren't passed to the comparison function + support.detectDuplicates = !!hasDuplicate; + + // Initialize against the default document + setDocument(); + + // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) + // Detached nodes confoundingly follow *each other* + support.sortDetached = assert(function (el) { + // Should return 1, but returns 4 (following) + return ( + el.compareDocumentPosition(document.createElement('fieldset')) & 1 + ); + }); + + // Support: IE<8 + // Prevent attribute/property "interpolation" + // https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx + if ( + !assert(function (el) { + el.innerHTML = ""; + return el.firstChild.getAttribute('href') === '#'; + }) + ) { + addHandle('type|href|height|width', function (elem, name, isXML) { + if (!isXML) { + return elem.getAttribute( + name, + name.toLowerCase() === 'type' ? 1 : 2, + ); + } + }); + } + + // Support: IE<9 + // Use defaultValue in place of getAttribute("value") + if ( + !support.attributes || + !assert(function (el) { + el.innerHTML = ''; + el.firstChild.setAttribute('value', ''); + return el.firstChild.getAttribute('value') === ''; + }) + ) { + addHandle('value', function (elem, _name, isXML) { + if (!isXML && elem.nodeName.toLowerCase() === 'input') { + return elem.defaultValue; + } + }); + } + + // Support: IE<9 + // Use getAttributeNode to fetch booleans when getAttribute lies + if ( + !assert(function (el) { + return el.getAttribute('disabled') == null; + }) + ) { + addHandle(booleans, function (elem, name, isXML) { + var val; + if (!isXML) { + return elem[name] === true + ? name.toLowerCase() + : (val = elem.getAttributeNode(name)) && val.specified + ? val.value + : null; + } + }); + } + + return Sizzle; + })(window); + + jQuery.find = Sizzle; + jQuery.expr = Sizzle.selectors; + + // Deprecated + jQuery.expr[':'] = jQuery.expr.pseudos; + jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; + jQuery.text = Sizzle.getText; + jQuery.isXMLDoc = Sizzle.isXML; + jQuery.contains = Sizzle.contains; + jQuery.escapeSelector = Sizzle.escape; + + var dir = function (elem, dir, until) { + var matched = [], + truncate = until !== undefined; + + while ((elem = elem[dir]) && elem.nodeType !== 9) { + if (elem.nodeType === 1) { + if (truncate && jQuery(elem).is(until)) { + break; + } + matched.push(elem); + } + } + return matched; + }; + + var siblings = function (n, elem) { + var matched = []; + + for (; n; n = n.nextSibling) { + if (n.nodeType === 1 && n !== elem) { + matched.push(n); + } + } + + return matched; + }; + + var rneedsContext = jQuery.expr.match.needsContext; + + function nodeName(elem, name) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + } + var rsingleTag = + /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; + + // Implement the identical functionality for filter and not + function winnow(elements, qualifier, not) { + if (isFunction(qualifier)) { + return jQuery.grep(elements, function (elem, i) { + return !!qualifier.call(elem, i, elem) !== not; + }); + } + + // Single element + if (qualifier.nodeType) { + return jQuery.grep(elements, function (elem) { + return (elem === qualifier) !== not; + }); + } + + // Arraylike of elements (jQuery, arguments, Array) + if (typeof qualifier !== 'string') { + return jQuery.grep(elements, function (elem) { + return indexOf.call(qualifier, elem) > -1 !== not; + }); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter(qualifier, elements, not); + } + + jQuery.filter = function (expr, elems, not) { + var elem = elems[0]; + + if (not) { + expr = ':not(' + expr + ')'; + } + + if (elems.length === 1 && elem.nodeType === 1) { + return jQuery.find.matchesSelector(elem, expr) ? [elem] : []; + } + + return jQuery.find.matches( + expr, + jQuery.grep(elems, function (elem) { + return elem.nodeType === 1; + }), + ); + }; + + jQuery.fn.extend({ + find: function (selector) { + var i, + ret, + len = this.length, + self = this; + + if (typeof selector !== 'string') { + return this.pushStack( + jQuery(selector).filter(function () { + for (i = 0; i < len; i++) { + if (jQuery.contains(self[i], this)) { + return true; + } + } + }), + ); + } + + ret = this.pushStack([]); + + for (i = 0; i < len; i++) { + jQuery.find(selector, self[i], ret); + } + + return len > 1 ? jQuery.uniqueSort(ret) : ret; + }, + filter: function (selector) { + return this.pushStack(winnow(this, selector || [], false)); + }, + not: function (selector) { + return this.pushStack(winnow(this, selector || [], true)); + }, + is: function (selector) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === 'string' && rneedsContext.test(selector) + ? jQuery(selector) + : selector || [], + false, + ).length; + }, + }); + + // Initialize a jQuery object + + // A central reference to the root jQuery(document) + var rootjQuery, + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + init = (jQuery.fn.init = function (selector, context, root) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if (!selector) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if (typeof selector === 'string') { + if ( + selector[0] === '<' && + selector[selector.length - 1] === '>' && + selector.length >= 3 + ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [null, selector, null]; + } else { + match = rquickExpr.exec(selector); + } + + // Match html or make sure no context is specified for #id + if (match && (match[1] || !context)) { + // HANDLE: $(html) -> $(array) + if (match[1]) { + context = context instanceof jQuery ? context[0] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( + this, + jQuery.parseHTML( + match[1], + context && context.nodeType + ? context.ownerDocument || context + : document, + true, + ), + ); + + // HANDLE: $(html, props) + if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) { + for (match in context) { + // Properties of context are called as methods if possible + if (isFunction(this[match])) { + this[match](context[match]); + + // ...and otherwise set as attributes + } else { + this.attr(match, context[match]); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById(match[2]); + + if (elem) { + // Inject the element directly into the jQuery object + this[0] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if (!context || context.jquery) { + return (context || root).find(selector); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor(context).find(selector); + } + + // HANDLE: $(DOMElement) + } else if (selector.nodeType) { + this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if (isFunction(selector)) { + return root.ready !== undefined + ? root.ready(selector) + : // Execute immediately if ready is not present + selector(jQuery); + } + + return jQuery.makeArray(selector, this); + }); + + // Give the init function the jQuery prototype for later instantiation + init.prototype = jQuery.fn; + + // Initialize central reference + rootjQuery = jQuery(document); + + var rparentsprev = /^(?:parents|prev(?:Until|All))/, + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true, + }; + + jQuery.fn.extend({ + has: function (target) { + var targets = jQuery(target, this), + l = targets.length; + + return this.filter(function () { + var i = 0; + for (; i < l; i++) { + if (jQuery.contains(this, targets[i])) { + return true; + } + } + }); + }, + + closest: function (selectors, context) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== 'string' && jQuery(selectors); + + // Positional selectors never match, since there's no _selection_ context + if (!rneedsContext.test(selectors)) { + for (; i < l; i++) { + for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) { + // Always skip document fragments + if ( + cur.nodeType < 11 && + (targets + ? targets.index(cur) > -1 + : // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector(cur, selectors)) + ) { + matched.push(cur); + break; + } + } + } + } + + return this.pushStack( + matched.length > 1 ? jQuery.uniqueSort(matched) : matched, + ); + }, + + // Determine the position of an element within the set + index: function (elem) { + // No argument, return index in parent + if (!elem) { + return this[0] && this[0].parentNode + ? this.first().prevAll().length + : -1; + } + + // Index in selector + if (typeof elem === 'string') { + return indexOf.call(jQuery(elem), this[0]); + } + + // Locate the position of the desired element + return indexOf.call( + this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, + ); + }, + + add: function (selector, context) { + return this.pushStack( + jQuery.uniqueSort(jQuery.merge(this.get(), jQuery(selector, context))), + ); + }, + + addBack: function (selector) { + return this.add( + selector == null ? this.prevObject : this.prevObject.filter(selector), + ); + }, + }); + + function sibling(cur, dir) { + while ((cur = cur[dir]) && cur.nodeType !== 1) {} + return cur; + } + + jQuery.each( + { + parent: function (elem) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function (elem) { + return dir(elem, 'parentNode'); + }, + parentsUntil: function (elem, _i, until) { + return dir(elem, 'parentNode', until); + }, + next: function (elem) { + return sibling(elem, 'nextSibling'); + }, + prev: function (elem) { + return sibling(elem, 'previousSibling'); + }, + nextAll: function (elem) { + return dir(elem, 'nextSibling'); + }, + prevAll: function (elem) { + return dir(elem, 'previousSibling'); + }, + nextUntil: function (elem, _i, until) { + return dir(elem, 'nextSibling', until); + }, + prevUntil: function (elem, _i, until) { + return dir(elem, 'previousSibling', until); + }, + siblings: function (elem) { + return siblings((elem.parentNode || {}).firstChild, elem); + }, + children: function (elem) { + return siblings(elem.firstChild); + }, + contents: function (elem) { + if ( + elem.contentDocument != null && + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto(elem.contentDocument) + ) { + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if (nodeName(elem, 'template')) { + elem = elem.content || elem; + } + + return jQuery.merge([], elem.childNodes); + }, + }, + function (name, fn) { + jQuery.fn[name] = function (until, selector) { + var matched = jQuery.map(this, fn, until); + + if (name.slice(-5) !== 'Until') { + selector = until; + } + + if (selector && typeof selector === 'string') { + matched = jQuery.filter(selector, matched); + } + + if (this.length > 1) { + // Remove duplicates + if (!guaranteedUnique[name]) { + jQuery.uniqueSort(matched); + } + + // Reverse order for parents* and prev-derivatives + if (rparentsprev.test(name)) { + matched.reverse(); + } + } + + return this.pushStack(matched); + }; + }, + ); + var rnothtmlwhite = /[^\x20\t\r\n\f]+/g; + + // Convert String-formatted options into Object-formatted ones + function createOptions(options) { + var object = {}; + jQuery.each(options.match(rnothtmlwhite) || [], function (_, flag) { + object[flag] = true; + }); + return object; + } + + /* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ + jQuery.Callbacks = function (options) { + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = + typeof options === 'string' + ? createOptions(options) + : jQuery.extend({}, options); + + var // Flag to know if list is currently firing + firing, + // Last fire value for non-forgettable lists + memory, + // Flag to know if list was already fired + fired, + // Flag to prevent firing + locked, + // Actual callback list + list = [], + // Queue of execution data for repeatable lists + queue = [], + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + // Fire callbacks + fire = function () { + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for (; queue.length; firingIndex = -1) { + memory = queue.shift(); + while (++firingIndex < list.length) { + // Run callback and check for early termination + if ( + list[firingIndex].apply(memory[0], memory[1]) === false && + options.stopOnFalse + ) { + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if (!options.memory) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if (locked) { + // Keep an empty list if we have data for future add calls + if (memory) { + list = []; + + // Otherwise, this object is spent + } else { + list = ''; + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function () { + if (list) { + // If we have memory from a past run, we should fire after adding + if (memory && !firing) { + firingIndex = list.length - 1; + queue.push(memory); + } + + (function add(args) { + jQuery.each(args, function (_, arg) { + if (isFunction(arg)) { + if (!options.unique || !self.has(arg)) { + list.push(arg); + } + } else if (arg && arg.length && toType(arg) !== 'string') { + // Inspect recursively + add(arg); + } + }); + })(arguments); + + if (memory && !firing) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function () { + jQuery.each(arguments, function (_, arg) { + var index; + while ((index = jQuery.inArray(arg, list, index)) > -1) { + list.splice(index, 1); + + // Handle firing indexes + if (index <= firingIndex) { + firingIndex--; + } + } + }); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function (fn) { + return fn ? jQuery.inArray(fn, list) > -1 : list.length > 0; + }, + + // Remove all callbacks from the list + empty: function () { + if (list) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function () { + locked = queue = []; + list = memory = ''; + return this; + }, + disabled: function () { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function () { + locked = queue = []; + if (!memory && !firing) { + list = memory = ''; + } + return this; + }, + locked: function () { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function (context, args) { + if (!locked) { + args = args || []; + args = [context, args.slice ? args.slice() : args]; + queue.push(args); + if (!firing) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function () { + self.fireWith(this, arguments); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function () { + return !!fired; + }, + }; + + return self; + }; + + function Identity(v) { + return v; + } + function Thrower(ex) { + throw ex; + } + + function adoptValue(value, resolve, reject, noValue) { + var method; + + try { + // Check for promise aspect first to privilege synchronous behavior + if (value && isFunction((method = value.promise))) { + method.call(value).done(resolve).fail(reject); + + // Other thenables + } else if (value && isFunction((method = value.then))) { + method.call(value, resolve, reject); + + // Other non-thenables + } else { + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply(undefined, [value].slice(noValue)); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch (value) { + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply(undefined, [value]); + } + } + + jQuery.extend({ + Deferred: function (func) { + var tuples = [ + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ + 'notify', + 'progress', + jQuery.Callbacks('memory'), + jQuery.Callbacks('memory'), + 2, + ], + [ + 'resolve', + 'done', + jQuery.Callbacks('once memory'), + jQuery.Callbacks('once memory'), + 0, + 'resolved', + ], + [ + 'reject', + 'fail', + jQuery.Callbacks('once memory'), + jQuery.Callbacks('once memory'), + 1, + 'rejected', + ], + ], + state = 'pending', + promise = { + state: function () { + return state; + }, + always: function () { + deferred.done(arguments).fail(arguments); + return this; + }, + catch: function (fn) { + return promise.then(null, fn); + }, + + // Keep pipe for back-compat + pipe: function (/* fnDone, fnFail, fnProgress */) { + var fns = arguments; + + return jQuery + .Deferred(function (newDefer) { + jQuery.each(tuples, function (_i, tuple) { + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction(fns[tuple[4]]) && fns[tuple[4]]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[tuple[1]](function () { + var returned = fn && fn.apply(this, arguments); + if (returned && isFunction(returned.promise)) { + returned + .promise() + .progress(newDefer.notify) + .done(newDefer.resolve) + .fail(newDefer.reject); + } else { + newDefer[tuple[0] + 'With']( + this, + fn ? [returned] : arguments, + ); + } + }); + }); + fns = null; + }) + .promise(); + }, + then: function (onFulfilled, onRejected, onProgress) { + var maxDepth = 0; + function resolve(depth, deferred, handler, special) { + return function () { + var that = this, + args = arguments, + mightThrow = function () { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if (depth < maxDepth) { + return; + } + + returned = handler.apply(that, args); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if (returned === deferred.promise()) { + throw new TypeError('Thenable self-resolution'); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = + returned && + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + (typeof returned === 'object' || + typeof returned === 'function') && + returned.then; + + // Handle a returned thenable + if (isFunction(then)) { + // Special processors (notify) just wait for resolution + if (special) { + then.call( + returned, + resolve(maxDepth, deferred, Identity, special), + resolve(maxDepth, deferred, Thrower, special), + ); + + // Normal processors (resolve) also hook into progress + } else { + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve(maxDepth, deferred, Identity, special), + resolve(maxDepth, deferred, Thrower, special), + resolve( + maxDepth, + deferred, + Identity, + deferred.notifyWith, + ), + ); + } + + // Handle all other returned values + } else { + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if (handler !== Identity) { + that = undefined; + args = [returned]; + } + + // Process the value(s) + // Default process is resolve + (special || deferred.resolveWith)(that, args); + } + }, + // Only normal processors (resolve) catch and reject exceptions + process = special + ? mightThrow + : function () { + try { + mightThrow(); + } catch (e) { + if (jQuery.Deferred.exceptionHook) { + jQuery.Deferred.exceptionHook( + e, + process.stackTrace, + ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if (depth + 1 >= maxDepth) { + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if (handler !== Thrower) { + that = undefined; + args = [e]; + } + + deferred.rejectWith(that, args); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if (depth) { + process(); + } else { + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if (jQuery.Deferred.getStackHook) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout(process); + } + }; + } + + return jQuery + .Deferred(function (newDefer) { + // progress_handlers.add( ... ) + tuples[0][3].add( + resolve( + 0, + newDefer, + isFunction(onProgress) ? onProgress : Identity, + newDefer.notifyWith, + ), + ); + + // fulfilled_handlers.add( ... ) + tuples[1][3].add( + resolve( + 0, + newDefer, + isFunction(onFulfilled) ? onFulfilled : Identity, + ), + ); + + // rejected_handlers.add( ... ) + tuples[2][3].add( + resolve( + 0, + newDefer, + isFunction(onRejected) ? onRejected : Thrower, + ), + ); + }) + .promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function (obj) { + return obj != null ? jQuery.extend(obj, promise) : promise; + }, + }, + deferred = {}; + + // Add list-specific methods + jQuery.each(tuples, function (i, tuple) { + var list = tuple[2], + stateString = tuple[5]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[tuple[1]] = list.add; + + // Handle state + if (stateString) { + list.add( + function () { + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[3 - i][2].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[3 - i][3].disable, + + // progress_callbacks.lock + tuples[0][2].lock, + + // progress_handlers.lock + tuples[0][3].lock, + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add(tuple[3].fire); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[tuple[0]] = function () { + deferred[tuple[0] + 'With']( + this === deferred ? undefined : this, + arguments, + ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[tuple[0] + 'With'] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise(deferred); + + // Call given func if any + if (func) { + func.call(deferred, deferred); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function (singleValue) { + var // count of uncompleted subordinates + remaining = arguments.length, + // count of unprocessed arguments + i = remaining, + // subordinate fulfillment data + resolveContexts = Array(i), + resolveValues = slice.call(arguments), + // the master Deferred + master = jQuery.Deferred(), + // subordinate callback factory + updateFunc = function (i) { + return function (value) { + resolveContexts[i] = this; + resolveValues[i] = + arguments.length > 1 ? slice.call(arguments) : value; + if (!--remaining) { + master.resolveWith(resolveContexts, resolveValues); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if (remaining <= 1) { + adoptValue( + singleValue, + master.done(updateFunc(i)).resolve, + master.reject, + !remaining, + ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( + master.state() === 'pending' || + isFunction(resolveValues[i] && resolveValues[i].then) + ) { + return master.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while (i--) { + adoptValue(resolveValues[i], updateFunc(i), master.reject); + } + + return master.promise(); + }, + }); + + // These usually indicate a programmer mistake during development, + // warn about them ASAP rather than swallowing them by default. + var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + + jQuery.Deferred.exceptionHook = function (error, stack) { + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( + window.console && + window.console.warn && + error && + rerrorNames.test(error.name) + ) { + window.console.warn( + 'jQuery.Deferred exception: ' + error.message, + error.stack, + stack, + ); + } + }; + + jQuery.readyException = function (error) { + window.setTimeout(function () { + throw error; + }); + }; + + // The deferred used on DOM ready + var readyList = jQuery.Deferred(); + + jQuery.fn.ready = function (fn) { + readyList + .then(fn) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch(function (error) { + jQuery.readyException(error); + }); + + return this; + }; + + jQuery.extend({ + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function (wait) { + // Abort if there are pending holds or we're already ready + if (wait === true ? --jQuery.readyWait : jQuery.isReady) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if (wait !== true && --jQuery.readyWait > 0) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith(document, [jQuery]); + }, + }); + + jQuery.ready.then = readyList.then; + + // The ready event handler and self cleanup method + function completed() { + document.removeEventListener('DOMContentLoaded', completed); + window.removeEventListener('load', completed); + jQuery.ready(); + } + + // Catch cases where $(document).ready() is called + // after the browser event has already occurred. + // Support: IE <=9 - 10 only + // Older IE sometimes signals "interactive" too soon + if ( + document.readyState === 'complete' || + (document.readyState !== 'loading' && !document.documentElement.doScroll) + ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout(jQuery.ready); + } else { + // Use the handy event callback + document.addEventListener('DOMContentLoaded', completed); + + // A fallback to window.onload, that will always work + window.addEventListener('load', completed); + } + + // Multifunctional method to get and set values of a collection + // The value/s can optionally be executed if it's a function + var access = function (elems, fn, key, value, chainable, emptyGet, raw) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if (toType(key) === 'object') { + chainable = true; + for (i in key) { + access(elems, fn, i, key[i], true, emptyGet, raw); + } + + // Sets one value + } else if (value !== undefined) { + chainable = true; + + if (!isFunction(value)) { + raw = true; + } + + if (bulk) { + // Bulk operations run against the entire set + if (raw) { + fn.call(elems, value); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function (elem, _key, value) { + return bulk.call(jQuery(elem), value); + }; + } + } + + if (fn) { + for (; i < len; i++) { + fn( + elems[i], + key, + raw ? value : value.call(elems[i], i, fn(elems[i], key)), + ); + } + } + } + + if (chainable) { + return elems; + } + + // Gets + if (bulk) { + return fn.call(elems); + } + + return len ? fn(elems[0], key) : emptyGet; + }; + + // Matches dashed string for camelizing + var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + + // Used by camelCase as callback to replace() + function fcamelCase(_all, letter) { + return letter.toUpperCase(); + } + + // Convert dashed to camelCase; used by the css and data modules + // Support: IE <=9 - 11, Edge 12 - 15 + // Microsoft forgot to hump their vendor prefix (#9572) + function camelCase(string) { + return string.replace(rmsPrefix, 'ms-').replace(rdashAlpha, fcamelCase); + } + var acceptData = function (owner) { + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !+owner.nodeType; + }; + + function Data() { + this.expando = jQuery.expando + Data.uid++; + } + + Data.uid = 1; + + Data.prototype = { + cache: function (owner) { + // Check if the owner object already has a cache + var value = owner[this.expando]; + + // If not, create one + if (!value) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if (acceptData(owner)) { + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if (owner.nodeType) { + owner[this.expando] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty(owner, this.expando, { + value: value, + configurable: true, + }); + } + } + } + + return value; + }, + set: function (owner, data, value) { + var prop, + cache = this.cache(owner); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if (typeof data === 'string') { + cache[camelCase(data)] = value; + + // Handle: [ owner, { properties } ] args + } else { + // Copy the properties one-by-one to the cache object + for (prop in data) { + cache[camelCase(prop)] = data[prop]; + } + } + return cache; + }, + get: function (owner, key) { + return key === undefined + ? this.cache(owner) + : // Always use camelCase key (gh-2257) + owner[this.expando] && owner[this.expando][camelCase(key)]; + }, + access: function (owner, key, value) { + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( + key === undefined || + (key && typeof key === 'string' && value === undefined) + ) { + return this.get(owner, key); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set(owner, key, value); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function (owner, key) { + var i, + cache = owner[this.expando]; + + if (cache === undefined) { + return; + } + + if (key !== undefined) { + // Support array or space separated string of keys + if (Array.isArray(key)) { + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map(camelCase); + } else { + key = camelCase(key); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? [key] : key.match(rnothtmlwhite) || []; + } + + i = key.length; + + while (i--) { + delete cache[key[i]]; + } + } + + // Remove the expando if there's no more data + if (key === undefined || jQuery.isEmptyObject(cache)) { + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if (owner.nodeType) { + owner[this.expando] = undefined; + } else { + delete owner[this.expando]; + } + } + }, + hasData: function (owner) { + var cache = owner[this.expando]; + return cache !== undefined && !jQuery.isEmptyObject(cache); + }, + }; + var dataPriv = new Data(); + + var dataUser = new Data(); + + // Implementation Summary + // + // 1. Enforce API surface and semantic compatibility with 1.9.x branch + // 2. Improve the module's maintainability by reducing the storage + // paths to a single mechanism. + // 3. Use the same single mechanism to support "private" and "user" data. + // 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) + // 5. Avoid exposing implementation details on user objects (eg. expando properties) + // 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + + var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + + function getData(data) { + if (data === 'true') { + return true; + } + + if (data === 'false') { + return false; + } + + if (data === 'null') { + return null; + } + + // Only convert to a number if it doesn't change the string + if (data === +data + '') { + return +data; + } + + if (rbrace.test(data)) { + return JSON.parse(data); + } + + return data; + } + + function dataAttr(elem, key, data) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if (data === undefined && elem.nodeType === 1) { + name = 'data-' + key.replace(rmultiDash, '-$&').toLowerCase(); + data = elem.getAttribute(name); + + if (typeof data === 'string') { + try { + data = getData(data); + } catch (e) {} + + // Make sure we set the data so it isn't changed later + dataUser.set(elem, key, data); + } else { + data = undefined; + } + } + return data; + } + + jQuery.extend({ + hasData: function (elem) { + return dataUser.hasData(elem) || dataPriv.hasData(elem); + }, + + data: function (elem, name, data) { + return dataUser.access(elem, name, data); + }, + + removeData: function (elem, name) { + dataUser.remove(elem, name); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function (elem, name, data) { + return dataPriv.access(elem, name, data); + }, + + _removeData: function (elem, name) { + dataPriv.remove(elem, name); + }, + }); + + jQuery.fn.extend({ + data: function (key, value) { + var i, + name, + data, + elem = this[0], + attrs = elem && elem.attributes; + + // Gets all values + if (key === undefined) { + if (this.length) { + data = dataUser.get(elem); + + if (elem.nodeType === 1 && !dataPriv.get(elem, 'hasDataAttrs')) { + i = attrs.length; + while (i--) { + // Support: IE 11 only + // The attrs elements can be null (#14894) + if (attrs[i]) { + name = attrs[i].name; + if (name.indexOf('data-') === 0) { + name = camelCase(name.slice(5)); + dataAttr(elem, name, data[name]); + } + } + } + dataPriv.set(elem, 'hasDataAttrs', true); + } + } + + return data; + } + + // Sets multiple values + if (typeof key === 'object') { + return this.each(function () { + dataUser.set(this, key); + }); + } + + return access( + this, + function (value) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if (elem && value === undefined) { + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get(elem, key); + if (data !== undefined) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr(elem, key); + if (data !== undefined) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each(function () { + // We always store the camelCased key + dataUser.set(this, key, value); + }); + }, + null, + value, + arguments.length > 1, + null, + true, + ); + }, + + removeData: function (key) { + return this.each(function () { + dataUser.remove(this, key); + }); + }, + }); + + jQuery.extend({ + queue: function (elem, type, data) { + var queue; + + if (elem) { + type = (type || 'fx') + 'queue'; + queue = dataPriv.get(elem, type); + + // Speed up dequeue by getting out quickly if this is just a lookup + if (data) { + if (!queue || Array.isArray(data)) { + queue = dataPriv.access(elem, type, jQuery.makeArray(data)); + } else { + queue.push(data); + } + } + return queue || []; + } + }, + + dequeue: function (elem, type) { + type = type || 'fx'; + + var queue = jQuery.queue(elem, type), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks(elem, type), + next = function () { + jQuery.dequeue(elem, type); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if (fn === 'inprogress') { + fn = queue.shift(); + startLength--; + } + + if (fn) { + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if (type === 'fx') { + queue.unshift('inprogress'); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call(elem, next, hooks); + } + + if (!startLength && hooks) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function (elem, type) { + var key = type + 'queueHooks'; + return ( + dataPriv.get(elem, key) || + dataPriv.access(elem, key, { + empty: jQuery.Callbacks('once memory').add(function () { + dataPriv.remove(elem, [type + 'queue', key]); + }), + }) + ); + }, + }); + + jQuery.fn.extend({ + queue: function (type, data) { + var setter = 2; + + if (typeof type !== 'string') { + data = type; + type = 'fx'; + setter--; + } + + if (arguments.length < setter) { + return jQuery.queue(this[0], type); + } + + return data === undefined + ? this + : this.each(function () { + var queue = jQuery.queue(this, type, data); + + // Ensure a hooks for this queue + jQuery._queueHooks(this, type); + + if (type === 'fx' && queue[0] !== 'inprogress') { + jQuery.dequeue(this, type); + } + }); + }, + dequeue: function (type) { + return this.each(function () { + jQuery.dequeue(this, type); + }); + }, + clearQueue: function (type) { + return this.queue(type || 'fx', []); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function (type, obj) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function () { + if (!--count) { + defer.resolveWith(elements, [elements]); + } + }; + + if (typeof type !== 'string') { + obj = type; + type = undefined; + } + type = type || 'fx'; + + while (i--) { + tmp = dataPriv.get(elements[i], type + 'queueHooks'); + if (tmp && tmp.empty) { + count++; + tmp.empty.add(resolve); + } + } + resolve(); + return defer.promise(obj); + }, + }); + var pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source; + + var rcssNum = new RegExp('^(?:([+-])=|)(' + pnum + ')([a-z%]*)$', 'i'); + + var cssExpand = ['Top', 'Right', 'Bottom', 'Left']; + + var documentElement = document.documentElement; + + var isAttached = function (elem) { + return jQuery.contains(elem.ownerDocument, elem); + }, + composed = {composed: true}; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if (documentElement.getRootNode) { + isAttached = function (elem) { + return ( + jQuery.contains(elem.ownerDocument, elem) || + elem.getRootNode(composed) === elem.ownerDocument + ); + }; + } + var isHiddenWithinTree = function (elem, el) { + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return ( + elem.style.display === 'none' || + (elem.style.display === '' && + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached(elem) && + jQuery.css(elem, 'display') === 'none') + ); + }; + + function adjustCSS(elem, prop, valueParts, tween) { + var adjusted, + scale, + maxIterations = 20, + currentValue = tween + ? function () { + return tween.cur(); + } + : function () { + return jQuery.css(elem, prop, ''); + }, + initial = currentValue(), + unit = + (valueParts && valueParts[3]) || (jQuery.cssNumber[prop] ? '' : 'px'), + // Starting value computation is required for potential unit mismatches + initialInUnit = + elem.nodeType && + (jQuery.cssNumber[prop] || (unit !== 'px' && +initial)) && + rcssNum.exec(jQuery.css(elem, prop)); + + if (initialInUnit && initialInUnit[3] !== unit) { + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[3]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while (maxIterations--) { + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style(elem, prop, initialInUnit + unit); + if ( + (1 - scale) * (1 - (scale = currentValue() / initial || 0.5)) <= + 0 + ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + } + + initialInUnit = initialInUnit * 2; + jQuery.style(elem, prop, initialInUnit + unit); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if (valueParts) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[1] + ? initialInUnit + (valueParts[1] + 1) * valueParts[2] + : +valueParts[2]; + if (tween) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; + } + + var defaultDisplayMap = {}; + + function getDefaultDisplay(elem) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[nodeName]; + + if (display) { + return display; + } + + temp = doc.body.appendChild(doc.createElement(nodeName)); + display = jQuery.css(temp, 'display'); + + temp.parentNode.removeChild(temp); + + if (display === 'none') { + display = 'block'; + } + defaultDisplayMap[nodeName] = display; + + return display; + } + + function showHide(elements, show) { + var display, + elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for (; index < length; index++) { + elem = elements[index]; + if (!elem.style) { + continue; + } + + display = elem.style.display; + if (show) { + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if (display === 'none') { + values[index] = dataPriv.get(elem, 'display') || null; + if (!values[index]) { + elem.style.display = ''; + } + } + if (elem.style.display === '' && isHiddenWithinTree(elem)) { + values[index] = getDefaultDisplay(elem); + } + } else { + if (display !== 'none') { + values[index] = 'none'; + + // Remember what we're overwriting + dataPriv.set(elem, 'display', display); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for (index = 0; index < length; index++) { + if (values[index] != null) { + elements[index].style.display = values[index]; + } + } + + return elements; + } + + jQuery.fn.extend({ + show: function () { + return showHide(this, true); + }, + hide: function () { + return showHide(this); + }, + toggle: function (state) { + if (typeof state === 'boolean') { + return state ? this.show() : this.hide(); + } + + return this.each(function () { + if (isHiddenWithinTree(this)) { + jQuery(this).show(); + } else { + jQuery(this).hide(); + } + }); + }, + }); + var rcheckableType = /^(?:checkbox|radio)$/i; + + var rtagName = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i; + + var rscriptType = /^$|^module$|\/(?:java|ecma)script/i; + + (function () { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild(document.createElement('div')), + input = document.createElement('input'); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute('type', 'radio'); + input.setAttribute('checked', 'checked'); + input.setAttribute('name', 't'); + + div.appendChild(input); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ''; + support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces '; + support.option = !!div.lastChild; + })(); + + // We have to close these tags to support XHTML (#13200) + var wrapMap = { + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [1, '', '
'], + col: [2, '', '
'], + tr: [2, '', '
'], + td: [3, '', '
'], + + _default: [0, '', ''], + }; + + wrapMap.tbody = + wrapMap.tfoot = + wrapMap.colgroup = + wrapMap.caption = + wrapMap.thead; + wrapMap.th = wrapMap.td; + + // Support: IE <=9 only + if (!support.option) { + wrapMap.optgroup = wrapMap.option = [ + 1, + "', + ]; + } + + function getAll(context, tag) { + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if (typeof context.getElementsByTagName !== 'undefined') { + ret = context.getElementsByTagName(tag || '*'); + } else if (typeof context.querySelectorAll !== 'undefined') { + ret = context.querySelectorAll(tag || '*'); + } else { + ret = []; + } + + if (tag === undefined || (tag && nodeName(context, tag))) { + return jQuery.merge([context], ret); + } + + return ret; + } + + // Mark scripts as having already been evaluated + function setGlobalEval(elems, refElements) { + var i = 0, + l = elems.length; + + for (; i < l; i++) { + dataPriv.set( + elems[i], + 'globalEval', + !refElements || dataPriv.get(refElements[i], 'globalEval'), + ); + } + } + + var rhtml = /<|&#?\w+;/; + + function buildFragment(elems, context, scripts, selection, ignored) { + var elem, + tmp, + tag, + wrap, + attached, + j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for (; i < l; i++) { + elem = elems[i]; + + if (elem || elem === 0) { + // Add nodes directly + if (toType(elem) === 'object') { + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge(nodes, elem.nodeType ? [elem] : elem); + + // Convert non-html into a text node + } else if (!rhtml.test(elem)) { + nodes.push(context.createTextNode(elem)); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild(context.createElement('div')); + + // Deserialize a standard representation + tag = (rtagName.exec(elem) || ['', ''])[1].toLowerCase(); + wrap = wrapMap[tag] || wrapMap._default; + tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while (j--) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge(nodes, tmp.childNodes); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ''; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ''; + + i = 0; + while ((elem = nodes[i++])) { + // Skip elements already in the context collection (trac-4087) + if (selection && jQuery.inArray(elem, selection) > -1) { + if (ignored) { + ignored.push(elem); + } + continue; + } + + attached = isAttached(elem); + + // Append to fragment + tmp = getAll(fragment.appendChild(elem), 'script'); + + // Preserve script evaluation history + if (attached) { + setGlobalEval(tmp); + } + + // Capture executables + if (scripts) { + j = 0; + while ((elem = tmp[j++])) { + if (rscriptType.test(elem.type || '')) { + scripts.push(elem); + } + } + } + } + + return fragment; + } + + var rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + + function returnTrue() { + return true; + } + + function returnFalse() { + return false; + } + + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous, except when they are no-op. + // So expect focus to be synchronous when the element is already active, + // and blur to be synchronous when the element is not already active. + // (focus and blur are always synchronous in other supported browsers, + // this just defines when we can count on it). + function expectSync(elem, type) { + return (elem === safeActiveElement()) === (type === 'focus'); + } + + // Support: IE <=9 only + // Accessing document.activeElement can throw unexpectedly + // https://bugs.jquery.com/ticket/13393 + function safeActiveElement() { + try { + return document.activeElement; + } catch (err) {} + } + + function on(elem, types, selector, data, fn, one) { + var origFn, type; + + // Types can be a map of types/handlers + if (typeof types === 'object') { + // ( types-Object, selector, data ) + if (typeof selector !== 'string') { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for (type in types) { + on(elem, type, selector, data, types[type], one); + } + return elem; + } + + if (data == null && fn == null) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if (fn == null) { + if (typeof selector === 'string') { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if (fn === false) { + fn = returnFalse; + } else if (!fn) { + return elem; + } + + if (one === 1) { + origFn = fn; + fn = function (event) { + // Can use an empty set, since event contains the info + jQuery().off(event); + return origFn.apply(this, arguments); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || (origFn.guid = jQuery.guid++); + } + return elem.each(function () { + jQuery.event.add(this, types, fn, data, selector); + }); + } + + /* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ + jQuery.event = { + global: {}, + + add: function (elem, types, handler, data, selector) { + var handleObjIn, + eventHandle, + tmp, + events, + t, + handleObj, + special, + handlers, + type, + namespaces, + origType, + elemData = dataPriv.get(elem); + + // Only attach events to objects that accept data + if (!acceptData(elem)) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if (handler.handler) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if (selector) { + jQuery.find.matchesSelector(documentElement, selector); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if (!handler.guid) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if (!(events = elemData.events)) { + events = elemData.events = Object.create(null); + } + if (!(eventHandle = elemData.handle)) { + eventHandle = elemData.handle = function (e) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== 'undefined' && + jQuery.event.triggered !== e.type + ? jQuery.event.dispatch.apply(elem, arguments) + : undefined; + }; + } + + // Handle multiple events separated by a space + types = (types || '').match(rnothtmlwhite) || ['']; + t = types.length; + while (t--) { + tmp = rtypenamespace.exec(types[t]) || []; + type = origType = tmp[1]; + namespaces = (tmp[2] || '').split('.').sort(); + + // There *must* be a type, no attaching namespace-only handlers + if (!type) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[type] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = (selector ? special.delegateType : special.bindType) || type; + + // Update special based on newly reset type + special = jQuery.event.special[type] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( + { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: + selector && jQuery.expr.match.needsContext.test(selector), + namespace: namespaces.join('.'), + }, + handleObjIn, + ); + + // Init the event handler queue if we're the first + if (!(handlers = events[type])) { + handlers = events[type] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( + !special.setup || + special.setup.call(elem, data, namespaces, eventHandle) === false + ) { + if (elem.addEventListener) { + elem.addEventListener(type, eventHandle); + } + } + } + + if (special.add) { + special.add.call(elem, handleObj); + + if (!handleObj.handler.guid) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if (selector) { + handlers.splice(handlers.delegateCount++, 0, handleObj); + } else { + handlers.push(handleObj); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[type] = true; + } + }, + + // Detach an event or set of events from an element + remove: function (elem, types, handler, selector, mappedTypes) { + var j, + origCount, + tmp, + events, + t, + handleObj, + special, + handlers, + type, + namespaces, + origType, + elemData = dataPriv.hasData(elem) && dataPriv.get(elem); + + if (!elemData || !(events = elemData.events)) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = (types || '').match(rnothtmlwhite) || ['']; + t = types.length; + while (t--) { + tmp = rtypenamespace.exec(types[t]) || []; + type = origType = tmp[1]; + namespaces = (tmp[2] || '').split('.').sort(); + + // Unbind all events (on this namespace, if provided) for the element + if (!type) { + for (type in events) { + jQuery.event.remove(elem, type + types[t], handler, selector, true); + } + continue; + } + + special = jQuery.event.special[type] || {}; + type = (selector ? special.delegateType : special.bindType) || type; + handlers = events[type] || []; + tmp = + tmp[2] && + new RegExp('(^|\\.)' + namespaces.join('\\.(?:.*\\.|)') + '(\\.|$)'); + + // Remove matching events + origCount = j = handlers.length; + while (j--) { + handleObj = handlers[j]; + + if ( + (mappedTypes || origType === handleObj.origType) && + (!handler || handler.guid === handleObj.guid) && + (!tmp || tmp.test(handleObj.namespace)) && + (!selector || + selector === handleObj.selector || + (selector === '**' && handleObj.selector)) + ) { + handlers.splice(j, 1); + + if (handleObj.selector) { + handlers.delegateCount--; + } + if (special.remove) { + special.remove.call(elem, handleObj); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if (origCount && !handlers.length) { + if ( + !special.teardown || + special.teardown.call(elem, namespaces, elemData.handle) === false + ) { + jQuery.removeEvent(elem, type, elemData.handle); + } + + delete events[type]; + } + } + + // Remove data and the expando if it's no longer used + if (jQuery.isEmptyObject(events)) { + dataPriv.remove(elem, 'handle events'); + } + }, + + dispatch: function (nativeEvent) { + var i, + j, + ret, + matched, + handleObj, + handlerQueue, + args = new Array(arguments.length), + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix(nativeEvent), + handlers = + (dataPriv.get(this, 'events') || Object.create(null))[event.type] || + [], + special = jQuery.event.special[event.type] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + + for (i = 1; i < arguments.length; i++) { + args[i] = arguments[i]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( + special.preDispatch && + special.preDispatch.call(this, event) === false + ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call(this, event, handlers); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) { + event.currentTarget = matched.elem; + + j = 0; + while ( + (handleObj = matched.handlers[j++]) && + !event.isImmediatePropagationStopped() + ) { + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( + !event.rnamespace || + handleObj.namespace === false || + event.rnamespace.test(handleObj.namespace) + ) { + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( + (jQuery.event.special[handleObj.origType] || {}).handle || + handleObj.handler + ).apply(matched.elem, args); + + if (ret !== undefined) { + if ((event.result = ret) === false) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if (special.postDispatch) { + special.postDispatch.call(this, event); + } + + return event.result; + }, + + handlers: function (event, handlers) { + var i, + handleObj, + sel, + matchedHandlers, + matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( + delegateCount && + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !(event.type === 'click' && event.button >= 1) + ) { + for (; cur !== this; cur = cur.parentNode || this) { + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( + cur.nodeType === 1 && + !(event.type === 'click' && cur.disabled === true) + ) { + matchedHandlers = []; + matchedSelectors = {}; + for (i = 0; i < delegateCount; i++) { + handleObj = handlers[i]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + ' '; + + if (matchedSelectors[sel] === undefined) { + matchedSelectors[sel] = handleObj.needsContext + ? jQuery(sel, this).index(cur) > -1 + : jQuery.find(sel, this, null, [cur]).length; + } + if (matchedSelectors[sel]) { + matchedHandlers.push(handleObj); + } + } + if (matchedHandlers.length) { + handlerQueue.push({elem: cur, handlers: matchedHandlers}); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if (delegateCount < handlers.length) { + handlerQueue.push({elem: cur, handlers: handlers.slice(delegateCount)}); + } + + return handlerQueue; + }, + + addProp: function (name, hook) { + Object.defineProperty(jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction(hook) + ? function () { + if (this.originalEvent) { + return hook(this.originalEvent); + } + } + : function () { + if (this.originalEvent) { + return this.originalEvent[name]; + } + }, + + set: function (value) { + Object.defineProperty(this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value, + }); + }, + }); + }, + + fix: function (originalEvent) { + return originalEvent[jQuery.expando] + ? originalEvent + : new jQuery.Event(originalEvent); + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true, + }, + click: { + // Utilize native event to ensure correct state for checkable inputs + setup: function (data) { + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( + rcheckableType.test(el.type) && + el.click && + nodeName(el, 'input') + ) { + // dataPriv.set( el, "click", ... ) + leverageNative(el, 'click', returnTrue); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function (data) { + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( + rcheckableType.test(el.type) && + el.click && + nodeName(el, 'input') + ) { + leverageNative(el, 'click'); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function (event) { + var target = event.target; + return ( + (rcheckableType.test(target.type) && + target.click && + nodeName(target, 'input') && + dataPriv.get(target, 'click')) || + nodeName(target, 'a') + ); + }, + }, + + beforeunload: { + postDispatch: function (event) { + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if (event.result !== undefined && event.originalEvent) { + event.originalEvent.returnValue = event.result; + } + }, + }, + }, + }; + + // Ensure the presence of an event listener that handles manually-triggered + // synthetic events by interrupting progress until reinvoked in response to + // *native* events that it fires directly, ensuring that state changes have + // already occurred before other listeners are invoked. + function leverageNative(el, type, expectSync) { + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if (!expectSync) { + if (dataPriv.get(el, type) === undefined) { + jQuery.event.add(el, type, returnTrue); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set(el, type, false); + jQuery.event.add(el, type, { + namespace: false, + handler: function (event) { + var notAsync, + result, + saved = dataPriv.get(this, type); + + if (event.isTrigger & 1 && this[type]) { + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if (!saved.length) { + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call(arguments); + dataPriv.set(this, type, saved); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync(this, type); + this[type](); + result = dataPriv.get(this, type); + if (saved !== result || notAsync) { + dataPriv.set(this, type, false); + } else { + result = {}; + } + if (saved !== result) { + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + return result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ((jQuery.event.special[type] || {}).delegateType) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if (saved.length) { + // ...and capture the result + dataPriv.set(this, type, { + value: jQuery.event.trigger( + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend(saved[0], jQuery.Event.prototype), + saved.slice(1), + this, + ), + }); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + }, + }); + } + + jQuery.removeEvent = function (elem, type, handle) { + // This "if" is needed for plain objects + if (elem.removeEventListener) { + elem.removeEventListener(type, handle); + } + }; + + jQuery.Event = function (src, props) { + // Allow instantiation without the 'new' keyword + if (!(this instanceof jQuery.Event)) { + return new jQuery.Event(src, props); + } + + // Event object + if (src && src.type) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = + src.defaultPrevented || + (src.defaultPrevented === undefined && + // Support: Android <=2.3 only + src.returnValue === false) + ? returnTrue + : returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = + src.target && src.target.nodeType === 3 + ? src.target.parentNode + : src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if (props) { + jQuery.extend(this, props); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = (src && src.timeStamp) || Date.now(); + + // Mark it as fixed + this[jQuery.expando] = true; + }; + + // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding + // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html + jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function () { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if (e && !this.isSimulated) { + e.preventDefault(); + } + }, + stopPropagation: function () { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if (e && !this.isSimulated) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function () { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if (e && !this.isSimulated) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + }, + }; + + // Includes all common event props including KeyEvent and MouseEvent specific props + jQuery.each( + { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + char: true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + + which: function (event) { + var button = event.button; + + // Add which for key events + if (event.which == null && rkeyEvent.test(event.type)) { + return event.charCode != null ? event.charCode : event.keyCode; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + if ( + !event.which && + button !== undefined && + rmouseEvent.test(event.type) + ) { + if (button & 1) { + return 1; + } + + if (button & 2) { + return 3; + } + + if (button & 4) { + return 2; + } + + return 0; + } + + return event.which; + }, + }, + jQuery.event.addProp, + ); + + jQuery.each( + {focus: 'focusin', blur: 'focusout'}, + function (type, delegateType) { + jQuery.event.special[type] = { + // Utilize native event if possible so blur/focus sequence is correct + setup: function () { + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative(this, type, expectSync); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function () { + // Force setup before trigger + leverageNative(this, type); + + // Return non-false to allow normal event-path propagation + return true; + }, + + delegateType: delegateType, + }; + }, + ); + + // Create mouseenter/leave events using mouseover/out and event-time checks + // so that event delegation works in jQuery. + // Do the same for pointerenter/pointerleave and pointerover/pointerout + // + // Support: Safari 7 only + // Safari sends mouseenter too often; see: + // https://bugs.chromium.org/p/chromium/issues/detail?id=470258 + // for the description of the bug (it existed in older Chrome versions as well). + jQuery.each( + { + mouseenter: 'mouseover', + mouseleave: 'mouseout', + pointerenter: 'pointerover', + pointerleave: 'pointerout', + }, + function (orig, fix) { + jQuery.event.special[orig] = { + delegateType: fix, + bindType: fix, + + handle: function (event) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( + !related || + (related !== target && !jQuery.contains(target, related)) + ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply(this, arguments); + event.type = fix; + } + return ret; + }, + }; + }, + ); + + jQuery.fn.extend({ + on: function (types, selector, data, fn) { + return on(this, types, selector, data, fn); + }, + one: function (types, selector, data, fn) { + return on(this, types, selector, data, fn, 1); + }, + off: function (types, selector, fn) { + var handleObj, type; + if (types && types.preventDefault && types.handleObj) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery(types.delegateTarget).off( + handleObj.namespace + ? handleObj.origType + '.' + handleObj.namespace + : handleObj.origType, + handleObj.selector, + handleObj.handler, + ); + return this; + } + if (typeof types === 'object') { + // ( types-object [, selector] ) + for (type in types) { + this.off(type, selector, types[type]); + } + return this; + } + if (selector === false || typeof selector === 'function') { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if (fn === false) { + fn = returnFalse; + } + return this.each(function () { + jQuery.event.remove(this, types, fn, selector); + }); + }, + }); + + var // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + + // Prefer a tbody over its parent table for containing new rows + function manipulationTarget(elem, content) { + if ( + nodeName(elem, 'table') && + nodeName(content.nodeType !== 11 ? content : content.firstChild, 'tr') + ) { + return jQuery(elem).children('tbody')[0] || elem; + } + + return elem; + } + + // Replace/restore the type attribute of script elements for safe DOM manipulation + function disableScript(elem) { + elem.type = (elem.getAttribute('type') !== null) + '/' + elem.type; + return elem; + } + function restoreScript(elem) { + if ((elem.type || '').slice(0, 5) === 'true/') { + elem.type = elem.type.slice(5); + } else { + elem.removeAttribute('type'); + } + + return elem; + } + + function cloneCopyEvent(src, dest) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if (dest.nodeType !== 1) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if (dataPriv.hasData(src)) { + pdataOld = dataPriv.get(src); + events = pdataOld.events; + + if (events) { + dataPriv.remove(dest, 'handle events'); + + for (type in events) { + for (i = 0, l = events[type].length; i < l; i++) { + jQuery.event.add(dest, type, events[type][i]); + } + } + } + } + + // 2. Copy user data + if (dataUser.hasData(src)) { + udataOld = dataUser.access(src); + udataCur = jQuery.extend({}, udataOld); + + dataUser.set(dest, udataCur); + } + } + + // Fix IE bugs, see support tests + function fixInput(src, dest) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if (nodeName === 'input' && rcheckableType.test(src.type)) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if (nodeName === 'input' || nodeName === 'textarea') { + dest.defaultValue = src.defaultValue; + } + } + + function domManip(collection, args, callback, ignored) { + // Flatten any nested arrays + args = flat(args); + + var fragment, + first, + scripts, + hasScripts, + node, + doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[0], + valueIsFunction = isFunction(value); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( + valueIsFunction || + (l > 1 && + typeof value === 'string' && + !support.checkClone && + rchecked.test(value)) + ) { + return collection.each(function (index) { + var self = collection.eq(index); + if (valueIsFunction) { + args[0] = value.call(this, index, self.html()); + } + domManip(self, args, callback, ignored); + }); + } + + if (l) { + fragment = buildFragment( + args, + collection[0].ownerDocument, + false, + collection, + ignored, + ); + first = fragment.firstChild; + + if (fragment.childNodes.length === 1) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if (first || ignored) { + scripts = jQuery.map(getAll(fragment, 'script'), disableScript); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for (; i < l; i++) { + node = fragment; + + if (i !== iNoClone) { + node = jQuery.clone(node, true, true); + + // Keep references to cloned scripts for later restoration + if (hasScripts) { + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge(scripts, getAll(node, 'script')); + } + } + + callback.call(collection[i], node, i); + } + + if (hasScripts) { + doc = scripts[scripts.length - 1].ownerDocument; + + // Reenable scripts + jQuery.map(scripts, restoreScript); + + // Evaluate executable scripts on first document insertion + for (i = 0; i < hasScripts; i++) { + node = scripts[i]; + if ( + rscriptType.test(node.type || '') && + !dataPriv.access(node, 'globalEval') && + jQuery.contains(doc, node) + ) { + if (node.src && (node.type || '').toLowerCase() !== 'module') { + // Optional AJAX dependency, but won't run scripts if not present + if (jQuery._evalUrl && !node.noModule) { + jQuery._evalUrl( + node.src, + { + nonce: node.nonce || node.getAttribute('nonce'), + }, + doc, + ); + } + } else { + DOMEval(node.textContent.replace(rcleanScript, ''), node, doc); + } + } + } + } + } + } + + return collection; + } + + function remove(elem, selector, keepData) { + var node, + nodes = selector ? jQuery.filter(selector, elem) : elem, + i = 0; + + for (; (node = nodes[i]) != null; i++) { + if (!keepData && node.nodeType === 1) { + jQuery.cleanData(getAll(node)); + } + + if (node.parentNode) { + if (keepData && isAttached(node)) { + setGlobalEval(getAll(node, 'script')); + } + node.parentNode.removeChild(node); + } + } + + return elem; + } + + jQuery.extend({ + htmlPrefilter: function (html) { + return html; + }, + + clone: function (elem, dataAndEvents, deepDataAndEvents) { + var i, + l, + srcElements, + destElements, + clone = elem.cloneNode(true), + inPage = isAttached(elem); + + // Fix IE cloning issues + if ( + !support.noCloneChecked && + (elem.nodeType === 1 || elem.nodeType === 11) && + !jQuery.isXMLDoc(elem) + ) { + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll(clone); + srcElements = getAll(elem); + + for (i = 0, l = srcElements.length; i < l; i++) { + fixInput(srcElements[i], destElements[i]); + } + } + + // Copy the events from the original to the clone + if (dataAndEvents) { + if (deepDataAndEvents) { + srcElements = srcElements || getAll(elem); + destElements = destElements || getAll(clone); + + for (i = 0, l = srcElements.length; i < l; i++) { + cloneCopyEvent(srcElements[i], destElements[i]); + } + } else { + cloneCopyEvent(elem, clone); + } + } + + // Preserve script evaluation history + destElements = getAll(clone, 'script'); + if (destElements.length > 0) { + setGlobalEval(destElements, !inPage && getAll(elem, 'script')); + } + + // Return the cloned set + return clone; + }, + + cleanData: function (elems) { + var data, + elem, + type, + special = jQuery.event.special, + i = 0; + + for (; (elem = elems[i]) !== undefined; i++) { + if (acceptData(elem)) { + if ((data = elem[dataPriv.expando])) { + if (data.events) { + for (type in data.events) { + if (special[type]) { + jQuery.event.remove(elem, type); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent(elem, type, data.handle); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[dataPriv.expando] = undefined; + } + if (elem[dataUser.expando]) { + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[dataUser.expando] = undefined; + } + } + } + }, + }); + + jQuery.fn.extend({ + detach: function (selector) { + return remove(this, selector, true); + }, + + remove: function (selector) { + return remove(this, selector); + }, + + text: function (value) { + return access( + this, + function (value) { + return value === undefined + ? jQuery.text(this) + : this.empty().each(function () { + if ( + this.nodeType === 1 || + this.nodeType === 11 || + this.nodeType === 9 + ) { + this.textContent = value; + } + }); + }, + null, + value, + arguments.length, + ); + }, + + append: function () { + return domManip(this, arguments, function (elem) { + if ( + this.nodeType === 1 || + this.nodeType === 11 || + this.nodeType === 9 + ) { + var target = manipulationTarget(this, elem); + target.appendChild(elem); + } + }); + }, + + prepend: function () { + return domManip(this, arguments, function (elem) { + if ( + this.nodeType === 1 || + this.nodeType === 11 || + this.nodeType === 9 + ) { + var target = manipulationTarget(this, elem); + target.insertBefore(elem, target.firstChild); + } + }); + }, + + before: function () { + return domManip(this, arguments, function (elem) { + if (this.parentNode) { + this.parentNode.insertBefore(elem, this); + } + }); + }, + + after: function () { + return domManip(this, arguments, function (elem) { + if (this.parentNode) { + this.parentNode.insertBefore(elem, this.nextSibling); + } + }); + }, + + empty: function () { + var elem, + i = 0; + + for (; (elem = this[i]) != null; i++) { + if (elem.nodeType === 1) { + // Prevent memory leaks + jQuery.cleanData(getAll(elem, false)); + + // Remove any remaining nodes + elem.textContent = ''; + } + } + + return this; + }, + + clone: function (dataAndEvents, deepDataAndEvents) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = + deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map(function () { + return jQuery.clone(this, dataAndEvents, deepDataAndEvents); + }); + }, + + html: function (value) { + return access( + this, + function (value) { + var elem = this[0] || {}, + i = 0, + l = this.length; + + if (value === undefined && elem.nodeType === 1) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( + typeof value === 'string' && + !rnoInnerhtml.test(value) && + !wrapMap[(rtagName.exec(value) || ['', ''])[1].toLowerCase()] + ) { + value = jQuery.htmlPrefilter(value); + + try { + for (; i < l; i++) { + elem = this[i] || {}; + + // Remove element nodes and prevent memory leaks + if (elem.nodeType === 1) { + jQuery.cleanData(getAll(elem, false)); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch (e) {} + } + + if (elem) { + this.empty().append(value); + } + }, + null, + value, + arguments.length, + ); + }, + + replaceWith: function () { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( + this, + arguments, + function (elem) { + var parent = this.parentNode; + + if (jQuery.inArray(this, ignored) < 0) { + jQuery.cleanData(getAll(this)); + if (parent) { + parent.replaceChild(elem, this); + } + } + + // Force callback invocation + }, + ignored, + ); + }, + }); + + jQuery.each( + { + appendTo: 'append', + prependTo: 'prepend', + insertBefore: 'before', + insertAfter: 'after', + replaceAll: 'replaceWith', + }, + function (name, original) { + jQuery.fn[name] = function (selector) { + var elems, + ret = [], + insert = jQuery(selector), + last = insert.length - 1, + i = 0; + + for (; i <= last; i++) { + elems = i === last ? this : this.clone(true); + jQuery(insert[i])[original](elems); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply(ret, elems.get()); + } + + return this.pushStack(ret); + }; + }, + ); + var rnumnonpx = new RegExp('^(' + pnum + ')(?!px)[a-z%]+$', 'i'); + + var getStyles = function (elem) { + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if (!view || !view.opener) { + view = window; + } + + return view.getComputedStyle(elem); + }; + + var swap = function (elem, options, callback) { + var ret, + name, + old = {}; + + // Remember the old values, and insert the new ones + for (name in options) { + old[name] = elem.style[name]; + elem.style[name] = options[name]; + } + + ret = callback.call(elem); + + // Revert the old values + for (name in options) { + elem.style[name] = old[name]; + } + + return ret; + }; + + var rboxStyle = new RegExp(cssExpand.join('|'), 'i'); + + (function () { + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + // This is a singleton, we need to execute it only once + if (!div) { + return; + } + + container.style.cssText = + 'position:absolute;left:-11111px;width:60px;' + + 'margin-top:1px;padding:0;border:0'; + div.style.cssText = + 'position:relative;display:block;box-sizing:border-box;overflow:scroll;' + + 'margin:auto;border:1px;padding:1px;' + + 'width:60%;top:1%'; + documentElement.appendChild(container).appendChild(div); + + var divStyle = window.getComputedStyle(div); + pixelPositionVal = divStyle.top !== '1%'; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures(divStyle.marginLeft) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = '60%'; + pixelBoxStylesVal = roundPixelMeasures(divStyle.right) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures(divStyle.width) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = 'absolute'; + scrollboxSizeVal = roundPixelMeasures(div.offsetWidth / 3) === 12; + + documentElement.removeChild(container); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures(measure) { + return Math.round(parseFloat(measure)); + } + + var pixelPositionVal, + boxSizingReliableVal, + scrollboxSizeVal, + pixelBoxStylesVal, + reliableTrDimensionsVal, + reliableMarginLeftVal, + container = document.createElement('div'), + div = document.createElement('div'); + + // Finish early in limited (non-browser) environments + if (!div.style) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = 'content-box'; + div.cloneNode(true).style.backgroundClip = ''; + support.clearCloneStyle = div.style.backgroundClip === 'content-box'; + + jQuery.extend(support, { + boxSizingReliable: function () { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function () { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function () { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function () { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function () { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + reliableTrDimensions: function () { + var table, tr, trChild, trStyle; + if (reliableTrDimensionsVal == null) { + table = document.createElement('table'); + tr = document.createElement('tr'); + trChild = document.createElement('div'); + + table.style.cssText = 'position:absolute;left:-11111px'; + tr.style.height = '1px'; + trChild.style.height = '9px'; + + documentElement + .appendChild(table) + .appendChild(tr) + .appendChild(trChild); + + trStyle = window.getComputedStyle(tr); + reliableTrDimensionsVal = parseInt(trStyle.height) > 3; + + documentElement.removeChild(table); + } + return reliableTrDimensionsVal; + }, + }); + })(); + + function curCSS(elem, name, computed) { + var width, + minWidth, + maxWidth, + ret, + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles(elem); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if (computed) { + ret = computed.getPropertyValue(name) || computed[name]; + + if (ret === '' && !isAttached(elem)) { + ret = jQuery.style(elem, name); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( + !support.pixelBoxStyles() && + rnumnonpx.test(ret) && + rboxStyle.test(name) + ) { + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined + ? // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + '' + : ret; + } + + function addGetHookIf(conditionFn, hookFn) { + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function () { + if (conditionFn()) { + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return (this.get = hookFn).apply(this, arguments); + }, + }; + } + + var cssPrefixes = ['Webkit', 'Moz', 'ms'], + emptyStyle = document.createElement('div').style, + vendorProps = {}; + + // Return a vendor-prefixed property or undefined + function vendorPropName(name) { + // Check for vendor prefixed names + var capName = name[0].toUpperCase() + name.slice(1), + i = cssPrefixes.length; + + while (i--) { + name = cssPrefixes[i] + capName; + if (name in emptyStyle) { + return name; + } + } + } + + // Return a potentially-mapped jQuery.cssProps or vendor prefixed property + function finalPropName(name) { + var final = jQuery.cssProps[name] || vendorProps[name]; + + if (final) { + return final; + } + if (name in emptyStyle) { + return name; + } + return (vendorProps[name] = vendorPropName(name) || name); + } + + var // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = {position: 'absolute', visibility: 'hidden', display: 'block'}, + cssNormalTransform = { + letterSpacing: '0', + fontWeight: '400', + }; + + function setPositiveNumber(_elem, value, subtract) { + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec(value); + return matches + ? // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max(0, matches[2] - (subtract || 0)) + (matches[3] || 'px') + : value; + } + + function boxModelAdjustment( + elem, + dimension, + box, + isBorderBox, + styles, + computedVal, + ) { + var i = dimension === 'width' ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if (box === (isBorderBox ? 'border' : 'content')) { + return 0; + } + + for (; i < 4; i += 2) { + // Both box models exclude margin + if (box === 'margin') { + delta += jQuery.css(elem, box + cssExpand[i], true, styles); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if (!isBorderBox) { + // Add padding + delta += jQuery.css(elem, 'padding' + cssExpand[i], true, styles); + + // For "border" or "margin", add border + if (box !== 'padding') { + delta += jQuery.css( + elem, + 'border' + cssExpand[i] + 'Width', + true, + styles, + ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( + elem, + 'border' + cssExpand[i] + 'Width', + true, + styles, + ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + // For "content", subtract padding + if (box === 'content') { + delta -= jQuery.css(elem, 'padding' + cssExpand[i], true, styles); + } + + // For "content" or "padding", subtract border + if (box !== 'margin') { + delta -= jQuery.css( + elem, + 'border' + cssExpand[i] + 'Width', + true, + styles, + ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if (!isBorderBox && computedVal >= 0) { + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += + Math.max( + 0, + Math.ceil( + elem['offset' + dimension[0].toUpperCase() + dimension.slice(1)] - + computedVal - + delta - + extra - + 0.5, + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ), + ) || 0; + } + + return delta; + } + + function getWidthOrHeight(elem, dimension, extra) { + // Start with computed style + var styles = getStyles(elem), + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = + boxSizingNeeded && + jQuery.css(elem, 'boxSizing', false, styles) === 'border-box', + valueIsBorderBox = isBorderBox, + val = curCSS(elem, dimension, styles), + offsetProp = 'offset' + dimension[0].toUpperCase() + dimension.slice(1); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if (rnumnonpx.test(val)) { + if (!extra) { + return val; + } + val = 'auto'; + } + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( + ((!support.boxSizingReliable() && isBorderBox) || + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + (!support.reliableTrDimensions() && nodeName(elem, 'tr')) || + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === 'auto' || + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + (!parseFloat(val) && + jQuery.css(elem, 'display', false, styles) === 'inline')) && + // Make sure the element is visible & connected + elem.getClientRects().length + ) { + isBorderBox = + jQuery.css(elem, 'boxSizing', false, styles) === 'border-box'; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if (valueIsBorderBox) { + val = elem[offsetProp]; + } + } + + // Normalize "" and auto + val = parseFloat(val) || 0; + + // Adjust for the element's box model + return ( + val + + boxModelAdjustment( + elem, + dimension, + extra || (isBorderBox ? 'border' : 'content'), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val, + ) + + 'px' + ); + } + + jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function (elem, computed) { + if (computed) { + // We should always get a number back from opacity + var ret = curCSS(elem, 'opacity'); + return ret === '' ? '1' : ret; + } + }, + }, + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + animationIterationCount: true, + columnCount: true, + fillOpacity: true, + flexGrow: true, + flexShrink: true, + fontWeight: true, + gridArea: true, + gridColumn: true, + gridColumnEnd: true, + gridColumnStart: true, + gridRow: true, + gridRowEnd: true, + gridRowStart: true, + lineHeight: true, + opacity: true, + order: true, + orphans: true, + widows: true, + zIndex: true, + zoom: true, + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function (elem, name, value, extra) { + // Don't set styles on text and comment nodes + if (!elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style) { + return; + } + + // Make sure that we're working with the right name + var ret, + type, + hooks, + origName = camelCase(name), + isCustomProp = rcustomProp.test(name), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if (!isCustomProp) { + name = finalPropName(origName); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName]; + + // Check if we're setting a value + if (value !== undefined) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if (type === 'string' && (ret = rcssNum.exec(value)) && ret[1]) { + value = adjustCSS(elem, name, ret); + + // Fixes bug #9237 + type = 'number'; + } + + // Make sure that null and NaN values aren't set (#7116) + if (value == null || value !== value) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if (type === 'number' && !isCustomProp) { + value += (ret && ret[3]) || (jQuery.cssNumber[origName] ? '' : 'px'); + } + + // background-* props affect original clone's values + if ( + !support.clearCloneStyle && + value === '' && + name.indexOf('background') === 0 + ) { + style[name] = 'inherit'; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( + !hooks || + !('set' in hooks) || + (value = hooks.set(elem, value, extra)) !== undefined + ) { + if (isCustomProp) { + style.setProperty(name, value); + } else { + style[name] = value; + } + } + } else { + // If a hook was provided get the non-computed value from there + if ( + hooks && + 'get' in hooks && + (ret = hooks.get(elem, false, extra)) !== undefined + ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[name]; + } + }, + + css: function (elem, name, extra, styles) { + var val, + num, + hooks, + origName = camelCase(name), + isCustomProp = rcustomProp.test(name); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if (!isCustomProp) { + name = finalPropName(origName); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[name] || jQuery.cssHooks[origName]; + + // If a hook was provided get the computed value from there + if (hooks && 'get' in hooks) { + val = hooks.get(elem, true, extra); + } + + // Otherwise, if a way to get the computed value exists, use that + if (val === undefined) { + val = curCSS(elem, name, styles); + } + + // Convert "normal" to computed value + if (val === 'normal' && name in cssNormalTransform) { + val = cssNormalTransform[name]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if (extra === '' || extra) { + num = parseFloat(val); + return extra === true || isFinite(num) ? num || 0 : val; + } + + return val; + }, + }); + + jQuery.each(['height', 'width'], function (_i, dimension) { + jQuery.cssHooks[dimension] = { + get: function (elem, computed, extra) { + if (computed) { + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test(jQuery.css(elem, 'display')) && + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + (!elem.getClientRects().length || + !elem.getBoundingClientRect().width) + ? swap(elem, cssShow, function () { + return getWidthOrHeight(elem, dimension, extra); + }) + : getWidthOrHeight(elem, dimension, extra); + } + }, + + set: function (elem, value, extra) { + var matches, + styles = getStyles(elem), + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = + !support.scrollboxSize() && styles.position === 'absolute', + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = + boxSizingNeeded && + jQuery.css(elem, 'boxSizing', false, styles) === 'border-box', + subtract = extra + ? boxModelAdjustment(elem, dimension, extra, isBorderBox, styles) + : 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if (isBorderBox && scrollboxSizeBuggy) { + subtract -= Math.ceil( + elem['offset' + dimension[0].toUpperCase() + dimension.slice(1)] - + parseFloat(styles[dimension]) - + boxModelAdjustment(elem, dimension, 'border', false, styles) - + 0.5, + ); + } + + // Convert to pixels if value adjustment is needed + if ( + subtract && + (matches = rcssNum.exec(value)) && + (matches[3] || 'px') !== 'px' + ) { + elem.style[dimension] = value; + value = jQuery.css(elem, dimension); + } + + return setPositiveNumber(elem, value, subtract); + }, + }; + }); + + jQuery.cssHooks.marginLeft = addGetHookIf( + support.reliableMarginLeft, + function (elem, computed) { + if (computed) { + return ( + (parseFloat(curCSS(elem, 'marginLeft')) || + elem.getBoundingClientRect().left - + swap(elem, {marginLeft: 0}, function () { + return elem.getBoundingClientRect().left; + })) + 'px' + ); + } + }, + ); + + // These hooks are used by animate to expand properties + jQuery.each( + { + margin: '', + padding: '', + border: 'Width', + }, + function (prefix, suffix) { + jQuery.cssHooks[prefix + suffix] = { + expand: function (value) { + var i = 0, + expanded = {}, + // Assumes a single number if not a string + parts = typeof value === 'string' ? value.split(' ') : [value]; + + for (; i < 4; i++) { + expanded[prefix + cssExpand[i] + suffix] = + parts[i] || parts[i - 2] || parts[0]; + } + + return expanded; + }, + }; + + if (prefix !== 'margin') { + jQuery.cssHooks[prefix + suffix].set = setPositiveNumber; + } + }, + ); + + jQuery.fn.extend({ + css: function (name, value) { + return access( + this, + function (elem, name, value) { + var styles, + len, + map = {}, + i = 0; + + if (Array.isArray(name)) { + styles = getStyles(elem); + len = name.length; + + for (; i < len; i++) { + map[name[i]] = jQuery.css(elem, name[i], false, styles); + } + + return map; + } + + return value !== undefined + ? jQuery.style(elem, name, value) + : jQuery.css(elem, name); + }, + name, + value, + arguments.length > 1, + ); + }, + }); + + function Tween(elem, options, prop, end, easing) { + return new Tween.prototype.init(elem, options, prop, end, easing); + } + jQuery.Tween = Tween; + + Tween.prototype = { + constructor: Tween, + init: function (elem, options, prop, end, easing, unit) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || (jQuery.cssNumber[prop] ? '' : 'px'); + }, + cur: function () { + var hooks = Tween.propHooks[this.prop]; + + return hooks && hooks.get + ? hooks.get(this) + : Tween.propHooks._default.get(this); + }, + run: function (percent) { + var eased, + hooks = Tween.propHooks[this.prop]; + + if (this.options.duration) { + this.pos = eased = jQuery.easing[this.easing]( + percent, + this.options.duration * percent, + 0, + 1, + this.options.duration, + ); + } else { + this.pos = eased = percent; + } + this.now = (this.end - this.start) * eased + this.start; + + if (this.options.step) { + this.options.step.call(this.elem, this.now, this); + } + + if (hooks && hooks.set) { + hooks.set(this); + } else { + Tween.propHooks._default.set(this); + } + return this; + }, + }; + + Tween.prototype.init.prototype = Tween.prototype; + + Tween.propHooks = { + _default: { + get: function (tween) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( + tween.elem.nodeType !== 1 || + (tween.elem[tween.prop] != null && + tween.elem.style[tween.prop] == null) + ) { + return tween.elem[tween.prop]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css(tween.elem, tween.prop, ''); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === 'auto' ? 0 : result; + }, + set: function (tween) { + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if (jQuery.fx.step[tween.prop]) { + jQuery.fx.step[tween.prop](tween); + } else if ( + tween.elem.nodeType === 1 && + (jQuery.cssHooks[tween.prop] || + tween.elem.style[finalPropName(tween.prop)] != null) + ) { + jQuery.style(tween.elem, tween.prop, tween.now + tween.unit); + } else { + tween.elem[tween.prop] = tween.now; + } + }, + }, + }; + + // Support: IE <=9 only + // Panic based approach to setting things on disconnected nodes + Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function (tween) { + if (tween.elem.nodeType && tween.elem.parentNode) { + tween.elem[tween.prop] = tween.now; + } + }, + }; + + jQuery.easing = { + linear: function (p) { + return p; + }, + swing: function (p) { + return 0.5 - Math.cos(p * Math.PI) / 2; + }, + _default: 'swing', + }; + + jQuery.fx = Tween.prototype.init; + + // Back compat <1.8 extension point + jQuery.fx.step = {}; + + var fxNow, + inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + + function schedule() { + if (inProgress) { + if (document.hidden === false && window.requestAnimationFrame) { + window.requestAnimationFrame(schedule); + } else { + window.setTimeout(schedule, jQuery.fx.interval); + } + + jQuery.fx.tick(); + } + } + + // Animations created synchronously will run synchronously + function createFxNow() { + window.setTimeout(function () { + fxNow = undefined; + }); + return (fxNow = Date.now()); + } + + // Generate parameters to create a standard animation + function genFx(type, includeWidth) { + var which, + i = 0, + attrs = {height: type}; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for (; i < 4; i += 2 - includeWidth) { + which = cssExpand[i]; + attrs['margin' + which] = attrs['padding' + which] = type; + } + + if (includeWidth) { + attrs.opacity = attrs.width = type; + } + + return attrs; + } + + function createTween(value, prop, animation) { + var tween, + collection = (Animation.tweeners[prop] || []).concat( + Animation.tweeners['*'], + ), + index = 0, + length = collection.length; + for (; index < length; index++) { + if ((tween = collection[index].call(animation, prop, value))) { + // We're done with this property + return tween; + } + } + } + + function defaultPrefilter(elem, props, opts) { + var prop, + value, + toggle, + hooks, + oldfire, + propTween, + restoreDisplay, + display, + isBox = 'width' in props || 'height' in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree(elem), + dataShow = dataPriv.get(elem, 'fxshow'); + + // Queue-skipping animations hijack the fx hooks + if (!opts.queue) { + hooks = jQuery._queueHooks(elem, 'fx'); + if (hooks.unqueued == null) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function () { + if (!hooks.unqueued) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always(function () { + // Ensure the complete handler is called before this completes + anim.always(function () { + hooks.unqueued--; + if (!jQuery.queue(elem, 'fx').length) { + hooks.empty.fire(); + } + }); + }); + } + + // Detect show/hide animations + for (prop in props) { + value = props[prop]; + if (rfxtypes.test(value)) { + delete props[prop]; + toggle = toggle || value === 'toggle'; + if (value === (hidden ? 'hide' : 'show')) { + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if (value === 'show' && dataShow && dataShow[prop] !== undefined) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[prop] = (dataShow && dataShow[prop]) || jQuery.style(elem, prop); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject(props); + if (!propTween && jQuery.isEmptyObject(orig)) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if (isBox && elem.nodeType === 1) { + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [style.overflow, style.overflowX, style.overflowY]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if (restoreDisplay == null) { + restoreDisplay = dataPriv.get(elem, 'display'); + } + display = jQuery.css(elem, 'display'); + if (display === 'none') { + if (restoreDisplay) { + display = restoreDisplay; + } else { + // Get nonempty value(s) by temporarily forcing visibility + showHide([elem], true); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css(elem, 'display'); + showHide([elem]); + } + } + + // Animate inline elements as inline-block + if ( + display === 'inline' || + (display === 'inline-block' && restoreDisplay != null) + ) { + if (jQuery.css(elem, 'float') === 'none') { + // Restore the original display value at the end of pure show/hide animations + if (!propTween) { + anim.done(function () { + style.display = restoreDisplay; + }); + if (restoreDisplay == null) { + display = style.display; + restoreDisplay = display === 'none' ? '' : display; + } + } + style.display = 'inline-block'; + } + } + } + + if (opts.overflow) { + style.overflow = 'hidden'; + anim.always(function () { + style.overflow = opts.overflow[0]; + style.overflowX = opts.overflow[1]; + style.overflowY = opts.overflow[2]; + }); + } + + // Implement show/hide animations + propTween = false; + for (prop in orig) { + // General show/hide setup for this element animation + if (!propTween) { + if (dataShow) { + if ('hidden' in dataShow) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access(elem, 'fxshow', {display: restoreDisplay}); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if (toggle) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if (hidden) { + showHide([elem], true); + } + + /* eslint-disable no-loop-func */ + + anim.done(function () { + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if (!hidden) { + showHide([elem]); + } + dataPriv.remove(elem, 'fxshow'); + for (prop in orig) { + jQuery.style(elem, prop, orig[prop]); + } + }); + } + + // Per-property setup + propTween = createTween(hidden ? dataShow[prop] : 0, prop, anim); + if (!(prop in dataShow)) { + dataShow[prop] = propTween.start; + if (hidden) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } + } + + function propFilter(props, specialEasing) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for (index in props) { + name = camelCase(index); + easing = specialEasing[name]; + value = props[index]; + if (Array.isArray(value)) { + easing = value[1]; + value = props[index] = value[0]; + } + + if (index !== name) { + props[name] = value; + delete props[index]; + } + + hooks = jQuery.cssHooks[name]; + if (hooks && 'expand' in hooks) { + value = hooks.expand(value); + delete props[name]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for (index in value) { + if (!(index in props)) { + props[index] = value[index]; + specialEasing[index] = easing; + } + } + } else { + specialEasing[name] = easing; + } + } + } + + function Animation(elem, properties, options) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always(function () { + // Don't match elem in the :animated selector + delete tick.elem; + }), + tick = function () { + if (stopped) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( + 0, + animation.startTime + animation.duration - currentTime, + ), + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for (; index < length; index++) { + animation.tweens[index].run(percent); + } + + deferred.notifyWith(elem, [animation, percent, remaining]); + + // If there's more to do, yield + if (percent < 1 && length) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if (!length) { + deferred.notifyWith(elem, [animation, 1, 0]); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith(elem, [animation]); + return false; + }, + animation = deferred.promise({ + elem: elem, + props: jQuery.extend({}, properties), + opts: jQuery.extend( + true, + { + specialEasing: {}, + easing: jQuery.easing._default, + }, + options, + ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function (prop, end) { + var tween = jQuery.Tween( + elem, + animation.opts, + prop, + end, + animation.opts.specialEasing[prop] || animation.opts.easing, + ); + animation.tweens.push(tween); + return tween; + }, + stop: function (gotoEnd) { + var index = 0, + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if (stopped) { + return this; + } + stopped = true; + for (; index < length; index++) { + animation.tweens[index].run(1); + } + + // Resolve when we played the last frame; otherwise, reject + if (gotoEnd) { + deferred.notifyWith(elem, [animation, 1, 0]); + deferred.resolveWith(elem, [animation, gotoEnd]); + } else { + deferred.rejectWith(elem, [animation, gotoEnd]); + } + return this; + }, + }), + props = animation.props; + + propFilter(props, animation.opts.specialEasing); + + for (; index < length; index++) { + result = Animation.prefilters[index].call( + animation, + elem, + props, + animation.opts, + ); + if (result) { + if (isFunction(result.stop)) { + jQuery._queueHooks(animation.elem, animation.opts.queue).stop = + result.stop.bind(result); + } + return result; + } + } + + jQuery.map(props, createTween, animation); + + if (isFunction(animation.opts.start)) { + animation.opts.start.call(elem, animation); + } + + // Attach callbacks from options + animation + .progress(animation.opts.progress) + .done(animation.opts.done, animation.opts.complete) + .fail(animation.opts.fail) + .always(animation.opts.always); + + jQuery.fx.timer( + jQuery.extend(tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue, + }), + ); + + return animation; + } + + jQuery.Animation = jQuery.extend(Animation, { + tweeners: { + '*': [ + function (prop, value) { + var tween = this.createTween(prop, value); + adjustCSS(tween.elem, prop, rcssNum.exec(value), tween); + return tween; + }, + ], + }, + + tweener: function (props, callback) { + if (isFunction(props)) { + callback = props; + props = ['*']; + } else { + props = props.match(rnothtmlwhite); + } + + var prop, + index = 0, + length = props.length; + + for (; index < length; index++) { + prop = props[index]; + Animation.tweeners[prop] = Animation.tweeners[prop] || []; + Animation.tweeners[prop].unshift(callback); + } + }, + + prefilters: [defaultPrefilter], + + prefilter: function (callback, prepend) { + if (prepend) { + Animation.prefilters.unshift(callback); + } else { + Animation.prefilters.push(callback); + } + }, + }); + + jQuery.speed = function (speed, easing, fn) { + var opt = + speed && typeof speed === 'object' + ? jQuery.extend({}, speed) + : { + complete: fn || (!fn && easing) || (isFunction(speed) && speed), + duration: speed, + easing: (fn && easing) || (easing && !isFunction(easing) && easing), + }; + + // Go to the end state if fx are off + if (jQuery.fx.off) { + opt.duration = 0; + } else { + if (typeof opt.duration !== 'number') { + if (opt.duration in jQuery.fx.speeds) { + opt.duration = jQuery.fx.speeds[opt.duration]; + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if (opt.queue == null || opt.queue === true) { + opt.queue = 'fx'; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function () { + if (isFunction(opt.old)) { + opt.old.call(this); + } + + if (opt.queue) { + jQuery.dequeue(this, opt.queue); + } + }; + + return opt; + }; + + jQuery.fn.extend({ + fadeTo: function (speed, to, easing, callback) { + // Show any hidden elements after setting opacity to 0 + return ( + this.filter(isHiddenWithinTree) + .css('opacity', 0) + .show() + + // Animate to the value specified + .end() + .animate({opacity: to}, speed, easing, callback) + ); + }, + animate: function (prop, speed, easing, callback) { + var empty = jQuery.isEmptyObject(prop), + optall = jQuery.speed(speed, easing, callback), + doAnimation = function () { + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation(this, jQuery.extend({}, prop), optall); + + // Empty animations, or finishing resolves immediately + if (empty || dataPriv.get(this, 'finish')) { + anim.stop(true); + } + }; + doAnimation.finish = doAnimation; + + return empty || optall.queue === false + ? this.each(doAnimation) + : this.queue(optall.queue, doAnimation); + }, + stop: function (type, clearQueue, gotoEnd) { + var stopQueue = function (hooks) { + var stop = hooks.stop; + delete hooks.stop; + stop(gotoEnd); + }; + + if (typeof type !== 'string') { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if (clearQueue) { + this.queue(type || 'fx', []); + } + + return this.each(function () { + var dequeue = true, + index = type != null && type + 'queueHooks', + timers = jQuery.timers, + data = dataPriv.get(this); + + if (index) { + if (data[index] && data[index].stop) { + stopQueue(data[index]); + } + } else { + for (index in data) { + if (data[index] && data[index].stop && rrun.test(index)) { + stopQueue(data[index]); + } + } + } + + for (index = timers.length; index--; ) { + if ( + timers[index].elem === this && + (type == null || timers[index].queue === type) + ) { + timers[index].anim.stop(gotoEnd); + dequeue = false; + timers.splice(index, 1); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if (dequeue || !gotoEnd) { + jQuery.dequeue(this, type); + } + }); + }, + finish: function (type) { + if (type !== false) { + type = type || 'fx'; + } + return this.each(function () { + var index, + data = dataPriv.get(this), + queue = data[type + 'queue'], + hooks = data[type + 'queueHooks'], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue(this, type, []); + + if (hooks && hooks.stop) { + hooks.stop.call(this, true); + } + + // Look for any active animations, and finish them + for (index = timers.length; index--; ) { + if (timers[index].elem === this && timers[index].queue === type) { + timers[index].anim.stop(true); + timers.splice(index, 1); + } + } + + // Look for any animations in the old queue and finish them + for (index = 0; index < length; index++) { + if (queue[index] && queue[index].finish) { + queue[index].finish.call(this); + } + } + + // Turn off finishing flag + delete data.finish; + }); + }, + }); + + jQuery.each(['toggle', 'show', 'hide'], function (_i, name) { + var cssFn = jQuery.fn[name]; + jQuery.fn[name] = function (speed, easing, callback) { + return speed == null || typeof speed === 'boolean' + ? cssFn.apply(this, arguments) + : this.animate(genFx(name, true), speed, easing, callback); + }; + }); + + // Generate shortcuts for custom animations + jQuery.each( + { + slideDown: genFx('show'), + slideUp: genFx('hide'), + slideToggle: genFx('toggle'), + fadeIn: {opacity: 'show'}, + fadeOut: {opacity: 'hide'}, + fadeToggle: {opacity: 'toggle'}, + }, + function (name, props) { + jQuery.fn[name] = function (speed, easing, callback) { + return this.animate(props, speed, easing, callback); + }; + }, + ); + + jQuery.timers = []; + jQuery.fx.tick = function () { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for (; i < timers.length; i++) { + timer = timers[i]; + + // Run the timer and safely remove it when done (allowing for external removal) + if (!timer() && timers[i] === timer) { + timers.splice(i--, 1); + } + } + + if (!timers.length) { + jQuery.fx.stop(); + } + fxNow = undefined; + }; + + jQuery.fx.timer = function (timer) { + jQuery.timers.push(timer); + jQuery.fx.start(); + }; + + jQuery.fx.interval = 13; + jQuery.fx.start = function () { + if (inProgress) { + return; + } + + inProgress = true; + schedule(); + }; + + jQuery.fx.stop = function () { + inProgress = null; + }; + + jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400, + }; + + // Based off of the plugin by Clint Helfers, with permission. + // https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ + jQuery.fn.delay = function (time, type) { + time = jQuery.fx ? jQuery.fx.speeds[time] || time : time; + type = type || 'fx'; + + return this.queue(type, function (next, hooks) { + var timeout = window.setTimeout(next, time); + hooks.stop = function () { + window.clearTimeout(timeout); + }; + }); + }; + + (function () { + var input = document.createElement('input'), + select = document.createElement('select'), + opt = select.appendChild(document.createElement('option')); + + input.type = 'checkbox'; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ''; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement('input'); + input.value = 't'; + input.type = 'radio'; + support.radioValue = input.value === 't'; + })(); + + var boolHook, + attrHandle = jQuery.expr.attrHandle; + + jQuery.fn.extend({ + attr: function (name, value) { + return access(this, jQuery.attr, name, value, arguments.length > 1); + }, + + removeAttr: function (name) { + return this.each(function () { + jQuery.removeAttr(this, name); + }); + }, + }); + + jQuery.extend({ + attr: function (elem, name, value) { + var ret, + hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if (nType === 3 || nType === 8 || nType === 2) { + return; + } + + // Fallback to prop when attributes are not supported + if (typeof elem.getAttribute === 'undefined') { + return jQuery.prop(elem, name, value); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if (nType !== 1 || !jQuery.isXMLDoc(elem)) { + hooks = + jQuery.attrHooks[name.toLowerCase()] || + (jQuery.expr.match.bool.test(name) ? boolHook : undefined); + } + + if (value !== undefined) { + if (value === null) { + jQuery.removeAttr(elem, name); + return; + } + + if ( + hooks && + 'set' in hooks && + (ret = hooks.set(elem, value, name)) !== undefined + ) { + return ret; + } + + elem.setAttribute(name, value + ''); + return value; + } + + if (hooks && 'get' in hooks && (ret = hooks.get(elem, name)) !== null) { + return ret; + } + + ret = jQuery.find.attr(elem, name); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function (elem, value) { + if ( + !support.radioValue && + value === 'radio' && + nodeName(elem, 'input') + ) { + var val = elem.value; + elem.setAttribute('type', value); + if (val) { + elem.value = val; + } + return value; + } + }, + }, + }, + + removeAttr: function (elem, value) { + var name, + i = 0, + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match(rnothtmlwhite); + + if (attrNames && elem.nodeType === 1) { + while ((name = attrNames[i++])) { + elem.removeAttribute(name); + } + } + }, + }); + + // Hooks for boolean attributes + boolHook = { + set: function (elem, value, name) { + if (value === false) { + // Remove boolean attributes when set to false + jQuery.removeAttr(elem, name); + } else { + elem.setAttribute(name, name); + } + return name; + }, + }; + + jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function (_i, name) { + var getter = attrHandle[name] || jQuery.find.attr; + + attrHandle[name] = function (elem, name, isXML) { + var ret, + handle, + lowercaseName = name.toLowerCase(); + + if (!isXML) { + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[lowercaseName]; + attrHandle[lowercaseName] = ret; + ret = getter(elem, name, isXML) != null ? lowercaseName : null; + attrHandle[lowercaseName] = handle; + } + return ret; + }; + }); + + var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + + jQuery.fn.extend({ + prop: function (name, value) { + return access(this, jQuery.prop, name, value, arguments.length > 1); + }, + + removeProp: function (name) { + return this.each(function () { + delete this[jQuery.propFix[name] || name]; + }); + }, + }); + + jQuery.extend({ + prop: function (elem, name, value) { + var ret, + hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if (nType === 3 || nType === 8 || nType === 2) { + return; + } + + if (nType !== 1 || !jQuery.isXMLDoc(elem)) { + // Fix name and attach hooks + name = jQuery.propFix[name] || name; + hooks = jQuery.propHooks[name]; + } + + if (value !== undefined) { + if ( + hooks && + 'set' in hooks && + (ret = hooks.set(elem, value, name)) !== undefined + ) { + return ret; + } + + return (elem[name] = value); + } + + if (hooks && 'get' in hooks && (ret = hooks.get(elem, name)) !== null) { + return ret; + } + + return elem[name]; + }, + + propHooks: { + tabIndex: { + get: function (elem) { + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr(elem, 'tabindex'); + + if (tabindex) { + return parseInt(tabindex, 10); + } + + if ( + rfocusable.test(elem.nodeName) || + (rclickable.test(elem.nodeName) && elem.href) + ) { + return 0; + } + + return -1; + }, + }, + }, + + propFix: { + for: 'htmlFor', + class: 'className', + }, + }); + + // Support: IE <=11 only + // Accessing the selectedIndex property + // forces the browser to respect setting selected + // on the option + // The getter ensures a default option is selected + // when in an optgroup + // eslint rule "no-unused-expressions" is disabled for this code + // since it considers such accessions noop + if (!support.optSelected) { + jQuery.propHooks.selected = { + get: function (elem) { + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if (parent && parent.parentNode) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function (elem) { + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if (parent) { + parent.selectedIndex; + + if (parent.parentNode) { + parent.parentNode.selectedIndex; + } + } + }, + }; + } + + jQuery.each( + [ + 'tabIndex', + 'readOnly', + 'maxLength', + 'cellSpacing', + 'cellPadding', + 'rowSpan', + 'colSpan', + 'useMap', + 'frameBorder', + 'contentEditable', + ], + function () { + jQuery.propFix[this.toLowerCase()] = this; + }, + ); + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse(value) { + var tokens = value.match(rnothtmlwhite) || []; + return tokens.join(' '); + } + + function getClass(elem) { + return (elem.getAttribute && elem.getAttribute('class')) || ''; + } + + function classesToArray(value) { + if (Array.isArray(value)) { + return value; + } + if (typeof value === 'string') { + return value.match(rnothtmlwhite) || []; + } + return []; + } + + jQuery.fn.extend({ + addClass: function (value) { + var classes, + elem, + cur, + curValue, + clazz, + j, + finalValue, + i = 0; + + if (isFunction(value)) { + return this.each(function (j) { + jQuery(this).addClass(value.call(this, j, getClass(this))); + }); + } + + classes = classesToArray(value); + + if (classes.length) { + while ((elem = this[i++])) { + curValue = getClass(elem); + cur = elem.nodeType === 1 && ' ' + stripAndCollapse(curValue) + ' '; + + if (cur) { + j = 0; + while ((clazz = classes[j++])) { + if (cur.indexOf(' ' + clazz + ' ') < 0) { + cur += clazz + ' '; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse(cur); + if (curValue !== finalValue) { + elem.setAttribute('class', finalValue); + } + } + } + } + + return this; + }, + + removeClass: function (value) { + var classes, + elem, + cur, + curValue, + clazz, + j, + finalValue, + i = 0; + + if (isFunction(value)) { + return this.each(function (j) { + jQuery(this).removeClass(value.call(this, j, getClass(this))); + }); + } + + if (!arguments.length) { + return this.attr('class', ''); + } + + classes = classesToArray(value); + + if (classes.length) { + while ((elem = this[i++])) { + curValue = getClass(elem); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ' ' + stripAndCollapse(curValue) + ' '; + + if (cur) { + j = 0; + while ((clazz = classes[j++])) { + // Remove *all* instances + while (cur.indexOf(' ' + clazz + ' ') > -1) { + cur = cur.replace(' ' + clazz + ' ', ' '); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse(cur); + if (curValue !== finalValue) { + elem.setAttribute('class', finalValue); + } + } + } + } + + return this; + }, + + toggleClass: function (value, stateVal) { + var type = typeof value, + isValidValue = type === 'string' || Array.isArray(value); + + if (typeof stateVal === 'boolean' && isValidValue) { + return stateVal ? this.addClass(value) : this.removeClass(value); + } + + if (isFunction(value)) { + return this.each(function (i) { + jQuery(this).toggleClass( + value.call(this, i, getClass(this), stateVal), + stateVal, + ); + }); + } + + return this.each(function () { + var className, i, self, classNames; + + if (isValidValue) { + // Toggle individual class names + i = 0; + self = jQuery(this); + classNames = classesToArray(value); + + while ((className = classNames[i++])) { + // Check each className given, space separated list + if (self.hasClass(className)) { + self.removeClass(className); + } else { + self.addClass(className); + } + } + + // Toggle whole class name + } else if (value === undefined || type === 'boolean') { + className = getClass(this); + if (className) { + // Store className if set + dataPriv.set(this, '__className__', className); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if (this.setAttribute) { + this.setAttribute( + 'class', + className || value === false + ? '' + : dataPriv.get(this, '__className__') || '', + ); + } + } + }); + }, + + hasClass: function (selector) { + var className, + elem, + i = 0; + + className = ' ' + selector + ' '; + while ((elem = this[i++])) { + if ( + elem.nodeType === 1 && + (' ' + stripAndCollapse(getClass(elem)) + ' ').indexOf(className) > -1 + ) { + return true; + } + } + + return false; + }, + }); + + var rreturn = /\r/g; + + jQuery.fn.extend({ + val: function (value) { + var hooks, + ret, + valueIsFunction, + elem = this[0]; + + if (!arguments.length) { + if (elem) { + hooks = + jQuery.valHooks[elem.type] || + jQuery.valHooks[elem.nodeName.toLowerCase()]; + + if ( + hooks && + 'get' in hooks && + (ret = hooks.get(elem, 'value')) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if (typeof ret === 'string') { + return ret.replace(rreturn, ''); + } + + // Handle cases where value is null/undef or number + return ret == null ? '' : ret; + } + + return; + } + + valueIsFunction = isFunction(value); + + return this.each(function (i) { + var val; + + if (this.nodeType !== 1) { + return; + } + + if (valueIsFunction) { + val = value.call(this, i, jQuery(this).val()); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if (val == null) { + val = ''; + } else if (typeof val === 'number') { + val += ''; + } else if (Array.isArray(val)) { + val = jQuery.map(val, function (value) { + return value == null ? '' : value + ''; + }); + } + + hooks = + jQuery.valHooks[this.type] || + jQuery.valHooks[this.nodeName.toLowerCase()]; + + // If set returns undefined, fall back to normal setting + if ( + !hooks || + !('set' in hooks) || + hooks.set(this, val, 'value') === undefined + ) { + this.value = val; + } + }); + }, + }); + + jQuery.extend({ + valHooks: { + option: { + get: function (elem) { + var val = jQuery.find.attr(elem, 'value'); + return val != null + ? val + : // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse(jQuery.text(elem)); + }, + }, + select: { + get: function (elem) { + var value, + option, + i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === 'select-one', + values = one ? null : [], + max = one ? index + 1 : options.length; + + if (index < 0) { + i = max; + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for (; i < max; i++) { + option = options[i]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( + (option.selected || i === index) && + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + (!option.parentNode.disabled || + !nodeName(option.parentNode, 'optgroup')) + ) { + // Get the specific value for the option + value = jQuery(option).val(); + + // We don't need an array for one selects + if (one) { + return value; + } + + // Multi-Selects return an array + values.push(value); + } + } + + return values; + }, + + set: function (elem, value) { + var optionSet, + option, + options = elem.options, + values = jQuery.makeArray(value), + i = options.length; + + while (i--) { + option = options[i]; + + /* eslint-disable no-cond-assign */ + + if ( + (option.selected = + jQuery.inArray(jQuery.valHooks.option.get(option), values) > -1) + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if (!optionSet) { + elem.selectedIndex = -1; + } + return values; + }, + }, + }, + }); + + // Radios and checkboxes getter/setter + jQuery.each(['radio', 'checkbox'], function () { + jQuery.valHooks[this] = { + set: function (elem, value) { + if (Array.isArray(value)) { + return (elem.checked = + jQuery.inArray(jQuery(elem).val(), value) > -1); + } + }, + }; + if (!support.checkOn) { + jQuery.valHooks[this].get = function (elem) { + return elem.getAttribute('value') === null ? 'on' : elem.value; + }; + } + }); + + // Return jQuery for attributes-only inclusion + + support.focusin = 'onfocusin' in window; + + var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function (e) { + e.stopPropagation(); + }; + + jQuery.extend(jQuery.event, { + trigger: function (event, data, elem, onlyHandlers) { + var i, + cur, + tmp, + bubbleType, + ontype, + handle, + special, + lastElement, + eventPath = [elem || document], + type = hasOwn.call(event, 'type') ? event.type : event, + namespaces = hasOwn.call(event, 'namespace') + ? event.namespace.split('.') + : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if (elem.nodeType === 3 || elem.nodeType === 8) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if (rfocusMorph.test(type + jQuery.event.triggered)) { + return; + } + + if (type.indexOf('.') > -1) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split('.'); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(':') < 0 && 'on' + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[jQuery.expando] + ? event + : new jQuery.Event(type, typeof event === 'object' && event); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join('.'); + event.rnamespace = event.namespace + ? new RegExp('(^|\\.)' + namespaces.join('\\.(?:.*\\.|)') + '(\\.|$)') + : null; + + // Clean up the event in case it is being reused + event.result = undefined; + if (!event.target) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? [event] : jQuery.makeArray(data, [event]); + + // Allow special events to draw outside the lines + special = jQuery.event.special[type] || {}; + if ( + !onlyHandlers && + special.trigger && + special.trigger.apply(elem, data) === false + ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if (!onlyHandlers && !special.noBubble && !isWindow(elem)) { + bubbleType = special.delegateType || type; + if (!rfocusMorph.test(bubbleType + type)) { + cur = cur.parentNode; + } + for (; cur; cur = cur.parentNode) { + eventPath.push(cur); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if (tmp === (elem.ownerDocument || document)) { + eventPath.push(tmp.defaultView || tmp.parentWindow || window); + } + } + + // Fire handlers on the event path + i = 0; + while ((cur = eventPath[i++]) && !event.isPropagationStopped()) { + lastElement = cur; + event.type = i > 1 ? bubbleType : special.bindType || type; + + // jQuery handler + handle = + (dataPriv.get(cur, 'events') || Object.create(null))[event.type] && + dataPriv.get(cur, 'handle'); + if (handle) { + handle.apply(cur, data); + } + + // Native handler + handle = ontype && cur[ontype]; + if (handle && handle.apply && acceptData(cur)) { + event.result = handle.apply(cur, data); + if (event.result === false) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if (!onlyHandlers && !event.isDefaultPrevented()) { + if ( + (!special._default || + special._default.apply(eventPath.pop(), data) === false) && + acceptData(elem) + ) { + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if (ontype && isFunction(elem[type]) && !isWindow(elem)) { + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ontype]; + + if (tmp) { + elem[ontype] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if (event.isPropagationStopped()) { + lastElement.addEventListener(type, stopPropagationCallback); + } + + elem[type](); + + if (event.isPropagationStopped()) { + lastElement.removeEventListener(type, stopPropagationCallback); + } + + jQuery.event.triggered = undefined; + + if (tmp) { + elem[ontype] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function (type, elem, event) { + var e = jQuery.extend(new jQuery.Event(), event, { + type: type, + isSimulated: true, + }); + + jQuery.event.trigger(e, null, elem); + }, + }); + + jQuery.fn.extend({ + trigger: function (type, data) { + return this.each(function () { + jQuery.event.trigger(type, data, this); + }); + }, + triggerHandler: function (type, data) { + var elem = this[0]; + if (elem) { + return jQuery.event.trigger(type, data, elem, true); + } + }, + }); + + // Support: Firefox <=44 + // Firefox doesn't have focus(in | out) events + // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 + // + // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 + // focus(in | out) events fire after focus & blur events, + // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order + // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 + if (!support.focusin) { + jQuery.each({focus: 'focusin', blur: 'focusout'}, function (orig, fix) { + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function (event) { + jQuery.event.simulate(fix, event.target, jQuery.event.fix(event)); + }; + + jQuery.event.special[fix] = { + setup: function () { + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access(doc, fix); + + if (!attaches) { + doc.addEventListener(orig, handler, true); + } + dataPriv.access(doc, fix, (attaches || 0) + 1); + }, + teardown: function () { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access(doc, fix) - 1; + + if (!attaches) { + doc.removeEventListener(orig, handler, true); + dataPriv.remove(doc, fix); + } else { + dataPriv.access(doc, fix, attaches); + } + }, + }; + }); + } + var location = window.location; + + var nonce = {guid: Date.now()}; + + var rquery = /\?/; + + // Cross-browser xml parsing + jQuery.parseXML = function (data) { + var xml; + if (!data || typeof data !== 'string') { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = new window.DOMParser().parseFromString(data, 'text/xml'); + } catch (e) { + xml = undefined; + } + + if (!xml || xml.getElementsByTagName('parsererror').length) { + jQuery.error('Invalid XML: ' + data); + } + return xml; + }; + + var rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + + function buildParams(prefix, obj, traditional, add) { + var name; + + if (Array.isArray(obj)) { + // Serialize array item. + jQuery.each(obj, function (i, v) { + if (traditional || rbracket.test(prefix)) { + // Treat each array item as a scalar. + add(prefix, v); + } else { + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + '[' + (typeof v === 'object' && v != null ? i : '') + ']', + v, + traditional, + add, + ); + } + }); + } else if (!traditional && toType(obj) === 'object') { + // Serialize object item. + for (name in obj) { + buildParams(prefix + '[' + name + ']', obj[name], traditional, add); + } + } else { + // Serialize scalar item. + add(prefix, obj); + } + } + + // Serialize an array of form elements or a set of + // key/values into a query string + jQuery.param = function (a, traditional) { + var prefix, + s = [], + add = function (key, valueOrFunction) { + // If value is a function, invoke it and use its return value + var value = isFunction(valueOrFunction) + ? valueOrFunction() + : valueOrFunction; + + s[s.length] = + encodeURIComponent(key) + + '=' + + encodeURIComponent(value == null ? '' : value); + }; + + if (a == null) { + return ''; + } + + // If an array was passed in, assume that it is an array of form elements. + if (Array.isArray(a) || (a.jquery && !jQuery.isPlainObject(a))) { + // Serialize the form elements + jQuery.each(a, function () { + add(this.name, this.value); + }); + } else { + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for (prefix in a) { + buildParams(prefix, a[prefix], traditional, add); + } + } + + // Return the resulting serialization + return s.join('&'); + }; + + jQuery.fn.extend({ + serialize: function () { + return jQuery.param(this.serializeArray()); + }, + serializeArray: function () { + return this.map(function () { + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop(this, 'elements'); + return elements ? jQuery.makeArray(elements) : this; + }) + .filter(function () { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return ( + this.name && + !jQuery(this).is(':disabled') && + rsubmittable.test(this.nodeName) && + !rsubmitterTypes.test(type) && + (this.checked || !rcheckableType.test(type)) + ); + }) + .map(function (_i, elem) { + var val = jQuery(this).val(); + + if (val == null) { + return null; + } + + if (Array.isArray(val)) { + return jQuery.map(val, function (val) { + return {name: elem.name, value: val.replace(rCRLF, '\r\n')}; + }); + } + + return {name: elem.name, value: val.replace(rCRLF, '\r\n')}; + }) + .get(); + }, + }); + + var r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/gm, + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = + /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = '*/'.concat('*'), + // Anchor tag for parsing the document origin + originAnchor = document.createElement('a'); + originAnchor.href = location.href; + + // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport + function addToPrefiltersOrTransports(structure) { + // dataTypeExpression is optional and defaults to "*" + return function (dataTypeExpression, func) { + if (typeof dataTypeExpression !== 'string') { + func = dataTypeExpression; + dataTypeExpression = '*'; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match(rnothtmlwhite) || []; + + if (isFunction(func)) { + // For each dataType in the dataTypeExpression + while ((dataType = dataTypes[i++])) { + // Prepend if requested + if (dataType[0] === '+') { + dataType = dataType.slice(1) || '*'; + (structure[dataType] = structure[dataType] || []).unshift(func); + + // Otherwise append + } else { + (structure[dataType] = structure[dataType] || []).push(func); + } + } + } + }; + } + + // Base inspection function for prefilters and transports + function inspectPrefiltersOrTransports( + structure, + options, + originalOptions, + jqXHR, + ) { + var inspected = {}, + seekingTransport = structure === transports; + + function inspect(dataType) { + var selected; + inspected[dataType] = true; + jQuery.each(structure[dataType] || [], function (_, prefilterOrFactory) { + var dataTypeOrTransport = prefilterOrFactory( + options, + originalOptions, + jqXHR, + ); + if ( + typeof dataTypeOrTransport === 'string' && + !seekingTransport && + !inspected[dataTypeOrTransport] + ) { + options.dataTypes.unshift(dataTypeOrTransport); + inspect(dataTypeOrTransport); + return false; + } else if (seekingTransport) { + return !(selected = dataTypeOrTransport); + } + }); + return selected; + } + + return inspect(options.dataTypes[0]) || (!inspected['*'] && inspect('*')); + } + + // A special extend for ajax options + // that takes "flat" options (not to be deep extended) + // Fixes #9887 + function ajaxExtend(target, src) { + var key, + deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for (key in src) { + if (src[key] !== undefined) { + (flatOptions[key] ? target : deep || (deep = {}))[key] = src[key]; + } + } + if (deep) { + jQuery.extend(true, target, deep); + } + + return target; + } + + /* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ + function ajaxHandleResponses(s, jqXHR, responses) { + var ct, + type, + finalDataType, + firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while (dataTypes[0] === '*') { + dataTypes.shift(); + if (ct === undefined) { + ct = s.mimeType || jqXHR.getResponseHeader('Content-Type'); + } + } + + // Check if we're dealing with a known content-type + if (ct) { + for (type in contents) { + if (contents[type] && contents[type].test(ct)) { + dataTypes.unshift(type); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if (dataTypes[0] in responses) { + finalDataType = dataTypes[0]; + } else { + // Try convertible dataTypes + for (type in responses) { + if (!dataTypes[0] || s.converters[type + ' ' + dataTypes[0]]) { + finalDataType = type; + break; + } + if (!firstDataType) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if (finalDataType) { + if (finalDataType !== dataTypes[0]) { + dataTypes.unshift(finalDataType); + } + return responses[finalDataType]; + } + } + + /* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ + function ajaxConvert(s, response, jqXHR, isSuccess) { + var conv2, + current, + conv, + tmp, + prev, + converters = {}, + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if (dataTypes[1]) { + for (conv in s.converters) { + converters[conv.toLowerCase()] = s.converters[conv]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while (current) { + if (s.responseFields[current]) { + jqXHR[s.responseFields[current]] = response; + } + + // Apply the dataFilter if provided + if (!prev && isSuccess && s.dataFilter) { + response = s.dataFilter(response, s.dataType); + } + + prev = current; + current = dataTypes.shift(); + + if (current) { + // There's only work to do if current dataType is non-auto + if (current === '*') { + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if (prev !== '*' && prev !== current) { + // Seek a direct converter + conv = converters[prev + ' ' + current] || converters['* ' + current]; + + // If none found, seek a pair + if (!conv) { + for (conv2 in converters) { + // If conv2 outputs current + tmp = conv2.split(' '); + if (tmp[1] === current) { + // If prev can be converted to accepted input + conv = + converters[prev + ' ' + tmp[0]] || converters['* ' + tmp[0]]; + if (conv) { + // Condense equivalence converters + if (conv === true) { + conv = converters[conv2]; + + // Otherwise, insert the intermediate dataType + } else if (converters[conv2] !== true) { + current = tmp[0]; + dataTypes.unshift(tmp[1]); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if (conv !== true) { + // Unless errors are allowed to bubble, catch and return them + if (conv && s.throws) { + response = conv(response); + } else { + try { + response = conv(response); + } catch (e) { + return { + state: 'parsererror', + error: conv + ? e + : 'No conversion from ' + prev + ' to ' + current, + }; + } + } + } + } + } + } + + return {state: 'success', data: response}; + } + + jQuery.extend({ + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: 'GET', + isLocal: rlocalProtocol.test(location.protocol), + global: true, + processData: true, + async: true, + contentType: 'application/x-www-form-urlencoded; charset=UTF-8', + + /* timeout: 0, data: null, dataType: null, @@ -9303,1570 +9582,1587 @@ jQuery.extend( { headers: {}, */ - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": JSON.parse, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var transport, - - // URL without anti-cache param - cacheURL, - - // Response headers - responseHeadersString, - responseHeaders, - - // timeout handle - timeoutTimer, - - // Url cleanup var - urlAnchor, - - // Request state (becomes false upon send and true upon completion) - completed, - - // To know if global events are to be dispatched - fireGlobals, - - // Loop variable - i, - - // uncached part of the url - uncached, - - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - - // Callbacks context - callbackContext = s.context || s, - - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && - ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks( "once memory" ), - - // Status-dependent callbacks - statusCode = s.statusCode || {}, - - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - - // Default abort message - strAbort = "canceled", - - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( completed ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( ( match = rheaders.exec( responseHeadersString ) ) ) { - responseHeaders[ match[ 1 ].toLowerCase() + " " ] = - ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) - .concat( match[ 2 ] ); - } - } - match = responseHeaders[ key.toLowerCase() + " " ]; - } - return match == null ? null : match.join( ", " ); - }, - - // Raw string - getAllResponseHeaders: function() { - return completed ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - if ( completed == null ) { - name = requestHeadersNames[ name.toLowerCase() ] = - requestHeadersNames[ name.toLowerCase() ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( completed == null ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( completed ) { - - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } else { - - // Lazy-add the new callbacks in a way that preserves old ones - for ( code in map ) { - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ); - - // Add protocol if not provided (prefilters might expect it) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || location.href ) + "" ) - .replace( rprotocol, location.protocol + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; - - // A cross-domain request is in order when the origin doesn't match the current origin. - if ( s.crossDomain == null ) { - urlAnchor = document.createElement( "a" ); - - // Support: IE <=8 - 11, Edge 12 - 15 - // IE throws exception on accessing the href property if url is malformed, - // e.g. http://example.com:80x/ - try { - urlAnchor.href = s.url; - - // Support: IE <=8 - 11 only - // Anchor's host property isn't correctly set when s.url is relative - urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host; - } catch ( e ) { - - // If there is an error parsing the URL, assume it is crossDomain, - // it can be rejected by the transport if it is invalid - s.crossDomain = true; - } - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( completed ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) - fireGlobals = jQuery.event && s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger( "ajaxStart" ); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - // Remove hash to simplify url manipulation - cacheURL = s.url.replace( rhash, "" ); - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // Remember the hash so we can put it back - uncached = s.url.slice( cacheURL.length ); - - // If data is available and should be processed, append data to url - if ( s.data && ( s.processData || typeof s.data === "string" ) ) { - cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; - - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add or update anti-cache param if needed - if ( s.cache === false ) { - cacheURL = cacheURL.replace( rantiCache, "$1" ); - uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + - uncached; - } - - // Put hash and anti-cache on the URL that will be requested (gh-1732) - s.url = cacheURL + uncached; - - // Change '%20' to '+' if this is encoded form body content (gh-2658) - } else if ( s.data && s.processData && - ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { - s.data = s.data.replace( r20, "+" ); - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? - s.accepts[ s.dataTypes[ 0 ] ] + - ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && - ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { - - // Abort if not done already and return - return jqXHR.abort(); - } - - // Aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - completeDeferred.add( s.complete ); - jqXHR.done( s.success ); - jqXHR.fail( s.error ); - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - - // If request was aborted inside ajaxSend, stop there - if ( completed ) { - return jqXHR; - } - - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = window.setTimeout( function() { - jqXHR.abort( "timeout" ); - }, s.timeout ); - } - - try { - completed = false; - transport.send( requestHeaders, done ); - } catch ( e ) { - - // Rethrow post-completion exceptions - if ( completed ) { - throw e; - } - - // Propagate others as results - done( -1, e ); - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Ignore repeat invocations - if ( completed ) { - return; - } - - completed = true; - - // Clear timeout if it exists - if ( timeoutTimer ) { - window.clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Use a noop converter for missing script - if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { - s.converters[ "text script" ] = function() {}; - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader( "Last-Modified" ); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader( "etag" ); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - - // Extract error from statusText and normalize for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger( "ajaxStop" ); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -} ); - -jQuery.each( [ "get", "post" ], function( _i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - - // Shift arguments if data argument was omitted - if ( isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - // The url can be an options object (which then must have .url) - return jQuery.ajax( jQuery.extend( { - url: url, - type: method, - dataType: type, - data: data, - success: callback - }, jQuery.isPlainObject( url ) && url ) ); - }; -} ); - -jQuery.ajaxPrefilter( function( s ) { - var i; - for ( i in s.headers ) { - if ( i.toLowerCase() === "content-type" ) { - s.contentType = s.headers[ i ] || ""; - } - } -} ); - - -jQuery._evalUrl = function( url, options, doc ) { - return jQuery.ajax( { - url: url, - - // Make this explicit, since user can override this through ajaxSetup (#11264) - type: "GET", - dataType: "script", - cache: true, - async: false, - global: false, - - // Only evaluate the response if it is successful (gh-4126) - // dataFilter is not invoked for failure responses, so using it instead - // of the default converter is kludgy but it works. - converters: { - "text script": function() {} - }, - dataFilter: function( response ) { - jQuery.globalEval( response, options, doc ); - } - } ); -}; - - -jQuery.fn.extend( { - wrapAll: function( html ) { - var wrap; - - if ( this[ 0 ] ) { - if ( isFunction( html ) ) { - html = html.call( this[ 0 ] ); - } - - // The elements to wrap the target around - wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); - - if ( this[ 0 ].parentNode ) { - wrap.insertBefore( this[ 0 ] ); - } - - wrap.map( function() { - var elem = this; - - while ( elem.firstElementChild ) { - elem = elem.firstElementChild; - } - - return elem; - } ).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( isFunction( html ) ) { - return this.each( function( i ) { - jQuery( this ).wrapInner( html.call( this, i ) ); - } ); - } - - return this.each( function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - } ); - }, - - wrap: function( html ) { - var htmlIsFunction = isFunction( html ); - - return this.each( function( i ) { - jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); - } ); - }, - - unwrap: function( selector ) { - this.parent( selector ).not( "body" ).each( function() { - jQuery( this ).replaceWith( this.childNodes ); - } ); - return this; - } -} ); - - -jQuery.expr.pseudos.hidden = function( elem ) { - return !jQuery.expr.pseudos.visible( elem ); -}; -jQuery.expr.pseudos.visible = function( elem ) { - return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); -}; - - - - -jQuery.ajaxSettings.xhr = function() { - try { - return new window.XMLHttpRequest(); - } catch ( e ) {} -}; - -var xhrSuccessStatus = { - - // File protocol always yields status code 0, assume 200 - 0: 200, - - // Support: IE <=9 only - // #1450: sometimes IE returns 1223 when it should be 204 - 1223: 204 - }, - xhrSupported = jQuery.ajaxSettings.xhr(); - -support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -support.ajax = xhrSupported = !!xhrSupported; - -jQuery.ajaxTransport( function( options ) { - var callback, errorCallback; - - // Cross domain only allowed if supported through XMLHttpRequest - if ( support.cors || xhrSupported && !options.crossDomain ) { - return { - send: function( headers, complete ) { - var i, - xhr = options.xhr(); - - xhr.open( - options.type, - options.url, - options.async, - options.username, - options.password - ); - - // Apply custom fields if provided - if ( options.xhrFields ) { - for ( i in options.xhrFields ) { - xhr[ i ] = options.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( options.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( options.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { - headers[ "X-Requested-With" ] = "XMLHttpRequest"; - } - - // Set headers - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - - // Callback - callback = function( type ) { - return function() { - if ( callback ) { - callback = errorCallback = xhr.onload = - xhr.onerror = xhr.onabort = xhr.ontimeout = - xhr.onreadystatechange = null; - - if ( type === "abort" ) { - xhr.abort(); - } else if ( type === "error" ) { - - // Support: IE <=9 only - // On a manual native abort, IE9 throws - // errors on any property access that is not readyState - if ( typeof xhr.status !== "number" ) { - complete( 0, "error" ); - } else { - complete( - - // File: protocol always yields status 0; see #8605, #14207 - xhr.status, - xhr.statusText - ); - } - } else { - complete( - xhrSuccessStatus[ xhr.status ] || xhr.status, - xhr.statusText, - - // Support: IE <=9 only - // IE9 has no XHR2 but throws on binary (trac-11426) - // For XHR2 non-text, let the caller handle it (gh-2498) - ( xhr.responseType || "text" ) !== "text" || - typeof xhr.responseText !== "string" ? - { binary: xhr.response } : - { text: xhr.responseText }, - xhr.getAllResponseHeaders() - ); - } - } - }; - }; - - // Listen to events - xhr.onload = callback(); - errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); - - // Support: IE 9 only - // Use onreadystatechange to replace onabort - // to handle uncaught aborts - if ( xhr.onabort !== undefined ) { - xhr.onabort = errorCallback; - } else { - xhr.onreadystatechange = function() { - - // Check readyState before timeout as it changes - if ( xhr.readyState === 4 ) { - - // Allow onerror to be called first, - // but that will not handle a native abort - // Also, save errorCallback to a variable - // as xhr.onerror cannot be accessed - window.setTimeout( function() { - if ( callback ) { - errorCallback(); - } - } ); - } - }; - } - - // Create the abort callback - callback = callback( "abort" ); - - try { - - // Do send the request (this may raise an exception) - xhr.send( options.hasContent && options.data || null ); - } catch ( e ) { - - // #14683: Only rethrow if this hasn't been notified as an error yet - if ( callback ) { - throw e; - } - } - }, - - abort: function() { - if ( callback ) { - callback(); - } - } - }; - } -} ); - - - - -// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) -jQuery.ajaxPrefilter( function( s ) { - if ( s.crossDomain ) { - s.contents.script = false; - } -} ); - -// Install script dataType -jQuery.ajaxSetup( { - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -} ); - -// Handle cache's special case and crossDomain -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - } -} ); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function( s ) { - - // This transport only deals with cross domain or forced-by-attrs requests - if ( s.crossDomain || s.scriptAttrs ) { - var script, callback; - return { - send: function( _, complete ) { - script = jQuery( "\r\n"; - -// inject VBScript -document.write(IEBinaryToArray_ByteStr_Script); - -global.JSZipUtils._getBinaryFromXHR = function (xhr) { - var binary = xhr.responseBody; - var byteMapping = {}; - for ( var i = 0; i < 256; i++ ) { - for ( var j = 0; j < 256; j++ ) { - byteMapping[ String.fromCharCode( i + (j << 8) ) ] = - String.fromCharCode(i) + String.fromCharCode(j); - } +(function e(t, n, r) { + function s(o, u) { + if (!n[o]) { + if (!t[o]) { + var a = typeof require == 'function' && require; + if (!u && a) return a(o, !0); + if (i) return i(o, !0); + throw new Error("Cannot find module '" + o + "'"); + } + var f = (n[o] = {exports: {}}); + t[o][0].call( + f.exports, + function (e) { + var n = t[o][1][e]; + return s(n ? n : e); + }, + f, + f.exports, + e, + t, + n, + r, + ); } - var rawBytes = IEBinaryToArray_ByteStr(binary); - var lastChr = IEBinaryToArray_ByteStr_Last(binary); - return rawBytes.replace(/[\s\S]/g, function( match ) { - return byteMapping[match]; - }) + lastChr; -}; + return n[o].exports; + } + var i = typeof require == 'function' && require; + for (var o = 0; o < r.length; o++) s(r[o]); + return s; +})( + { + 1: [ + function (require, module, exports) { + var global = + typeof self !== 'undefined' + ? self + : typeof window !== 'undefined' + ? window + : {}; /* jshint evil: true, newcap: false */ + /* global IEBinaryToArray_ByteStr, IEBinaryToArray_ByteStr_Last */ + ('use strict'); -// enforcing Stuk's coding style -// vim: set shiftwidth=4 softtabstop=4: + // Adapted from http://stackoverflow.com/questions/1095102/how-do-i-load-binary-image-data-using-javascript-and-xmlhttprequest + var IEBinaryToArray_ByteStr_Script = + '\r\n' + + "\r\n'; -},{}]},{},[1]) -; + // inject VBScript + document.write(IEBinaryToArray_ByteStr_Script); + + global.JSZipUtils._getBinaryFromXHR = function (xhr) { + var binary = xhr.responseBody; + var byteMapping = {}; + for (var i = 0; i < 256; i++) { + for (var j = 0; j < 256; j++) { + byteMapping[String.fromCharCode(i + (j << 8))] = + String.fromCharCode(i) + String.fromCharCode(j); + } + } + var rawBytes = IEBinaryToArray_ByteStr(binary); + var lastChr = IEBinaryToArray_ByteStr_Last(binary); + return ( + rawBytes.replace(/[\s\S]/g, function (match) { + return byteMapping[match]; + }) + lastChr + ); + }; + + // enforcing Stuk's coding style + // vim: set shiftwidth=4 softtabstop=4: + }, + {}, + ], + }, + {}, + [1], +); diff --git a/static/rule-java-docs/jquery/jszip-utils/dist/jszip-utils.js b/static/rule-java-docs/jquery/jszip-utils/dist/jszip-utils.js index 775895ec9..cb4d46ef0 100644 --- a/static/rule-java-docs/jquery/jszip-utils/dist/jszip-utils.js +++ b/static/rule-java-docs/jquery/jszip-utils/dist/jszip-utils.js @@ -7,112 +7,165 @@ JSZipUtils - A collection of cross-browser utilities to go along with JSZip. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. */ -!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o @@ -24,7 +77,7891 @@ JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/master/LICENSE */ -!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=t()}}(function(){return function s(a,o,h){function u(r,t){if(!o[r]){if(!a[r]){var e="function"==typeof require&&require;if(!t&&e)return e(r,!0);if(l)return l(r,!0);var i=new Error("Cannot find module '"+r+"'");throw i.code="MODULE_NOT_FOUND",i}var n=o[r]={exports:{}};a[r][0].call(n.exports,function(t){var e=a[r][1][t];return u(e||t)},n,n.exports,s,a,o,h)}return o[r].exports}for(var l="function"==typeof require&&require,t=0;t>2,s=(3&e)<<4|r>>4,a=1>6:64,o=2>4,r=(15&n)<<4|(s=p.indexOf(t.charAt(o++)))>>2,i=(3&s)<<6|(a=p.indexOf(t.charAt(o++))),u[h++]=e,64!==s&&(u[h++]=r),64!==a&&(u[h++]=i);return u}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var i=t("./external"),n=t("./stream/DataWorker"),s=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function o(t,e,r,i,n){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=i,this.compressedContent=n}o.prototype={getContentWorker:function(){var t=new n(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new n(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new s).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var i=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var i=t("./utils"),a=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==i.getTypeOf(t)?function(t,e,r){var i=a,n=0+r;t^=-1;for(var s=0;s>>8^i[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,r){var i=a,n=0+r;t^=-1;for(var s=0;s>>8^i[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var i;i="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:i}},{lie:37}],7:[function(t,e,r){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=t("pako"),s=t("./utils"),a=t("./stream/GenericWorker"),o=i?"uint8array":"array";function h(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",s.inherits(h,a),h.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,t.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(t){return new h("Deflate",t)},r.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function O(t,e){var r,i="";for(r=0;r>>=8;return i}function n(t,e,r,i,n,s){var a,o,h=t.file,u=t.compression,l=s!==R.utf8encode,f=B.transformTo("string",s(h.name)),d=B.transformTo("string",R.utf8encode(h.name)),c=h.comment,p=B.transformTo("string",s(c)),m=B.transformTo("string",R.utf8encode(c)),_=d.length!==h.name.length,g=m.length!==c.length,b="",v="",y="",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(x.crc32=t.crc32,x.compressedSize=t.compressedSize,x.uncompressedSize=t.uncompressedSize);var S=0;e&&(S|=8),l||!_&&!g||(S|=2048);var z,C,E=0,A=0;w&&(E|=16),"UNIX"===n?(A=798,E|=(z=h.unixPermissions,(C=z)||(C=w?16893:33204),(65535&C)<<16)):(A=20,E|=63&(h.dosPermissions||0)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(b+="up"+O((v=O(1,1)+O(T(f),4)+d).length,2)+v),g&&(b+="uc"+O((y=O(1,1)+O(T(p),4)+m).length,2)+y);var I="";return I+="\n\0",I+=O(S,2),I+=u.magic,I+=O(a,2),I+=O(o,2),I+=O(x.crc32,4),I+=O(x.compressedSize,4),I+=O(x.uncompressedSize,4),I+=O(f.length,2),I+=O(b.length,2),{fileRecord:D.LOCAL_FILE_HEADER+I+f+b,dirRecord:D.CENTRAL_FILE_HEADER+O(A,2)+I+O(p.length,2)+"\0\0\0\0"+O(E,4)+O(i,4)+f+b+p}}var B=t("../utils"),s=t("../stream/GenericWorker"),R=t("../utf8"),T=t("../crc32"),D=t("../signature");function i(t,e,r,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}B.inherits(i,s),i.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,s.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-i-1))/r:100}}))},i.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=n(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},i.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,i=n(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),r)this.push({data:(e=t,D.DATA_DESCRIPTOR+O(e.crc32,4)+O(e.compressedSize,4)+O(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},i.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=n},{"../utils":32}],19:[function(t,e,r){"use strict";var i=t("./Uint8ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var i=t("./DataReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},n.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},n.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},n.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var i=t("./ArrayReader");function n(t){i.call(this,t)}t("../utils").inherits(n,i),n.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var i=t("../utils"),n=t("../support"),s=t("./ArrayReader"),a=t("./StringReader"),o=t("./NodeBufferReader"),h=t("./Uint8ArrayReader");e.exports=function(t){var e=i.getTypeOf(t);return i.checkSupport(e),"string"!==e||n.uint8array?"nodebuffer"===e?new o(t):n.uint8array?new h(i.transformTo("uint8array",t)):new s(i.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var i=t("./GenericWorker"),n=t("../utils");function s(t){i.call(this,"ConvertWorker to "+t),this.destType=t}n.inherits(s,i),s.prototype.processChunk=function(t){this.push({data:n.transformTo(this.destType,t.data),meta:t.meta})},e.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var i=t("./GenericWorker"),n=t("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(s,i),s.prototype.processChunk=function(t){this.streamInfo.crc32=n(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var i=t("../utils"),n=t("./GenericWorker");function s(t){n.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(s,n),s.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}n.prototype.processChunk.call(this,t)},e.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var i=t("../utils"),n=t("./GenericWorker");function s(t){n.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=i.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}i.inherits(s,n),s.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function i(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=i},{}],29:[function(t,e,r){"use strict";var h=t("../utils"),n=t("./ConvertWorker"),s=t("./GenericWorker"),u=t("../base64"),i=t("../support"),a=t("../external"),o=null;if(i.nodestream)try{o=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function l(t,e,r){var i=e;switch(e){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=e,this._mimeType=r,h.checkSupport(i),this._worker=t.pipe(new n(i)),t.lock()}catch(t){this._worker=new s("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return function(t,o){return new a.Promise(function(e,r){var i=[],n=t._internalType,s=t._outputType,a=t._mimeType;t.on("data",function(t,e){i.push(t),o&&o(e)}).on("error",function(t){i=[],r(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return h.newBlob(h.transformTo("arraybuffer",e),r);case"base64":return u.encode(e);default:return h.transformTo(t,e)}}(s,function(t,e){var r,i=0,n=null,s=0;for(r=0;r>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e}(t)},s.utf8decode=function(t){return h.nodebuffer?o.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,i,n,s=t.length,a=new Array(2*s);for(e=r=0;e>10&1023,a[r++]=56320|1023&i)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(t=o.transformTo(h.uint8array?"uint8array":"array",t))},o.inherits(a,i),a.prototype.processChunk=function(t){var e=o.transformTo(h.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=e;(e=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),e.set(r,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var i=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+u[t[r]]>e?r:e}(e),n=e;i!==e.length&&(h.uint8array?(n=e.subarray(0,i),this.leftOver=e.subarray(i,e.length)):(n=e.slice(0,i),this.leftOver=e.slice(i,e.length))),this.push({data:s.utf8decode(n),meta:t.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,i),l.prototype.processChunk=function(t){this.push({data:s.utf8encode(t.data),meta:t.meta})},s.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,o){"use strict";var h=t("./support"),u=t("./base64"),r=t("./nodejsUtils"),i=t("set-immediate-shim"),l=t("./external");function n(t){return t}function f(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,r,i,n=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e},r.buf2binstring=function(t){return l(t,t.length)},r.binstring2buf=function(t){for(var e=new h.Buf8(t.length),r=0,i=e.length;r>10&1023,o[i++]=56320|1023&n)}return l(o,i)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0?e:0===r?e:r+u[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){"use strict";e.exports=function(t,e,r,i){for(var n=65535&t|0,s=t>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var n=o,s=i+r;t^=-1;for(var a=i;a>>8^n[255&(t^e[a])];return-1^t}},{}],46:[function(t,e,r){"use strict";var h,d=t("../utils/common"),u=t("./trees"),c=t("./adler32"),p=t("./crc32"),i=t("./messages"),l=0,f=0,m=-2,n=2,_=8,s=286,a=30,o=19,g=2*s+1,b=15,v=3,y=258,w=y+v+1,k=42,x=113;function S(t,e){return t.msg=i[e],e}function z(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(d.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function A(t,e){u._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,E(t.strm)}function I(t,e){t.pending_buf[t.pending++]=e}function O(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function B(t,e){var r,i,n=t.max_chain_length,s=t.strstart,a=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-w?t.strstart-(t.w_size-w):0,u=t.window,l=t.w_mask,f=t.prev,d=t.strstart+y,c=u[s+a-1],p=u[s+a];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(u[(r=e)+a]===p&&u[r+a-1]===c&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&sh&&0!=--n);return a<=t.lookahead?a:t.lookahead}function R(t){var e,r,i,n,s,a,o,h,u,l,f=t.w_size;do{if(n=t.window_size-t.lookahead-t.strstart,t.strstart>=f+(f-w)){for(d.arraySet(t.window,t.window,f,f,0),t.match_start-=f,t.strstart-=f,t.block_start-=f,e=r=t.hash_size;i=t.head[--e],t.head[e]=f<=i?i-f:0,--r;);for(e=r=f;i=t.prev[--e],t.prev[e]=f<=i?i-f:0,--r;);n+=f}if(0===t.strm.avail_in)break;if(a=t.strm,o=t.window,h=t.strstart+t.lookahead,l=void 0,(u=n)<(l=a.avail_in)&&(l=u),r=0===l?0:(a.avail_in-=l,d.arraySet(o,a.input,a.next_in,l,h),1===a.state.wrap?a.adler=c(a.adler,o,l,h):2===a.state.wrap&&(a.adler=p(a.adler,o,l,h)),a.next_in+=l,a.total_in+=l,l),t.lookahead+=r,t.lookahead+t.insert>=v)for(s=t.strstart-t.insert,t.ins_h=t.window[s],t.ins_h=(t.ins_h<=v&&(t.ins_h=(t.ins_h<=v)if(i=u._tr_tally(t,t.strstart-t.match_start,t.match_length-v),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=v){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=v&&(t.ins_h=(t.ins_h<=v&&t.match_length<=t.prev_length){for(n=t.strstart+t.lookahead-v,i=u._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-v),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=n&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(R(t),0===t.lookahead&&e===l)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+r;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,A(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-w&&(A(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(A(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(A(t,!1),t.strm.avail_out),1)}),new F(4,4,8,4,T),new F(4,5,16,8,T),new F(4,6,32,32,T),new F(4,4,16,16,D),new F(8,16,32,32,D),new F(8,16,128,128,D),new F(8,32,128,256,D),new F(32,128,258,1024,D),new F(32,258,258,4096,D)],r.deflateInit=function(t,e){return L(t,e,_,15,8,0)},r.deflateInit2=L,r.deflateReset=P,r.deflateResetKeep=U,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?m:(t.state.gzhead=e,f):m},r.deflate=function(t,e){var r,i,n,s;if(!t||!t.state||5>8&255),I(i,i.gzhead.time>>16&255),I(i,i.gzhead.time>>24&255),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(I(i,255&i.gzhead.extra.length),I(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=p(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(I(i,0),I(i,0),I(i,0),I(i,0),I(i,0),I(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),I(i,3),i.status=x);else{var a=_+(i.w_bits-8<<4)<<8;a|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=x,O(i,a),0!==i.strstart&&(O(i,t.adler>>>16),O(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),E(t),n=i.pending,i.pending!==i.pending_buf_size));)I(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),E(t),n=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexn&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),0===s&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),E(t),n=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexn&&(t.adler=p(t.adler,i.pending_buf,i.pending-n,n)),0===s&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&E(t),i.pending+2<=i.pending_buf_size&&(I(i,255&t.adler),I(i,t.adler>>8&255),t.adler=0,i.status=x)):i.status=x),0!==i.pending){if(E(t),0===t.avail_out)return i.last_flush=-1,f}else if(0===t.avail_in&&z(e)<=z(r)&&4!==e)return S(t,-5);if(666===i.status&&0!==t.avail_in)return S(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==l&&666!==i.status){var o=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(R(t),0===t.lookahead)){if(e===l)return 1;break}if(t.match_length=0,r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(A(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(A(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(A(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var r,i,n,s,a=t.window;;){if(t.lookahead<=y){if(R(t),t.lookahead<=y&&e===l)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=v&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=v?(r=u._tr_tally(t,1,t.match_length-v),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=u._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(A(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(A(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(A(t,!1),0===t.strm.avail_out)?1:2}(i,e):h[i.level].func(i,e);if(3!==o&&4!==o||(i.status=666),1===o||3===o)return 0===t.avail_out&&(i.last_flush=-1),f;if(2===o&&(1===e?u._tr_align(i):5!==e&&(u._tr_stored_block(i,0,0,!1),3===e&&(C(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),E(t),0===t.avail_out))return i.last_flush=-1,f}return 4!==e?f:i.wrap<=0?1:(2===i.wrap?(I(i,255&t.adler),I(i,t.adler>>8&255),I(i,t.adler>>16&255),I(i,t.adler>>24&255),I(i,255&t.total_in),I(i,t.total_in>>8&255),I(i,t.total_in>>16&255),I(i,t.total_in>>24&255)):(O(i,t.adler>>>16),O(i,65535&t.adler)),E(t),0=r.w_size&&(0===s&&(C(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new d.Buf8(r.w_size),d.arraySet(u,e,l-r.w_size,r.w_size,0),e=u,l=r.w_size),a=t.avail_in,o=t.next_in,h=t.input,t.avail_in=l,t.next_in=0,t.input=e,R(r);r.lookahead>=v;){for(i=r.strstart,n=r.lookahead-(v-1);r.ins_h=(r.ins_h<>>=y=v>>>24,p-=y,0==(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(c&(1<>>=y,p-=y),p<15&&(c+=z[i++]<>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(c&(1<>>=y,p-=y,(y=s-a)>3,c&=(1<<(p-=w<<3))-1,t.next_in=i,t.next_out=s,t.avail_in=i>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function s(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=P,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new I.Buf32(i),e.distcode=e.distdyn=new I.Buf32(n),e.sane=1,e.back=-1,N):U}function o(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,a(t)):U}function h(t,e){var r,i;return t&&t.state?(i=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=s.wsize?(I.arraySet(s.window,e,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(n=s.wsize-s.wnext)&&(n=i),I.arraySet(s.window,e,r-i,n,s.wnext),(i-=n)?(I.arraySet(s.window,e,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&u)){t.msg="unknown compression method",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break t;o--,u+=i[s++]<>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break t;o--,u+=i[s++]<>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break t;o--,u+=i[s++]<>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(c=r.length)&&(c=o),c&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,i,s,c,k)),512&r.flags&&(r.check=B(r.check,i,c,s)),o-=c,s+=c,r.length-=c),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break t;for(c=0;k=i[s+c++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&c>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break t;o--,u+=i[s++]<>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break t;o--,u+=i[s++]<>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==e)break;u>>>=2,l-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break t;o--,u+=i[s++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(c=r.length){if(o>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l>>=_,l-=_,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],c=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l>>=_)),u>>>=3,l-=3}else{for(z=_+7;l>>=_)),u>>>=7,l-=7}if(r.have+c>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;c--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=o&&258<=h){t.next_out=a,t.avail_out=h,t.next_in=s,t.avail_in=o,r.hold=u,r.bits=l,R(t,d),a=t.next_out,n=t.output,h=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break t;o--,u+=i[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){t.msg="invalid distance code",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===h)break t;if(c=d-h,r.offset>c){if((c=r.offset-c)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}p=c>r.wnext?(c-=r.wnext,r.wsize-c):r.wnext-c,c>r.length&&(c=r.length),m=r.window}else m=n,p=a-r.offset,c=r.length;for(hc?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=e[r+a[v]]}if(k>>7)]}function x(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function S(t,e,r){t.bi_valid>n-r?(t.bi_buf|=e<>n-t.bi_valid,t.bi_valid+=r-n):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function E(t,e,r){var i,n,s=new Array(_+1),a=0;for(i=1;i<=_;i++)s[i]=a=a+r[i-1]<<1;for(n=0;n<=e;n++){var o=t[2*n+1];0!==o&&(t[2*n]=C(s[o]++,o))}}function A(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function I(t){8>1;1<=r;r--)B(t,s,r);for(n=h;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],B(t,s,1),i=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=i,s[2*n]=s[2*r]+s[2*i],t.depth[n]=(t.depth[r]>=t.depth[i]?t.depth[r]:t.depth[i])+1,s[2*r+1]=s[2*i+1]=n,t.heap[1]=n++,B(t,s,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,i,n,s,a,o,h=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,f=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,c=e.stat_desc.extra_base,p=e.stat_desc.max_length,m=0;for(s=0;s<=_;s++)t.bl_count[s]=0;for(h[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)p<(s=h[2*h[2*(i=t.heap[r])+1]+1]+1)&&(s=p,m++),h[2*i+1]=s,u>=7;i<30;i++)for(y[i]=n<<7,t=0;t<1<>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),T(t,t.l_desc),T(t,t.d_desc),a=function(t){var e;for(D(t,t.dyn_ltree,t.l_desc.max_code),D(t,t.dyn_dtree,t.d_desc.max_code),T(t,t.bl_desc),e=18;3<=e&&0===t.bl_tree[2*l[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),n=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=n&&(n=s)):n=s=r+5,r+4<=n&&-1!==e?U(t,e,r,i):4===t.strategy||s===n?(S(t,2+(i?1:0),3),R(t,f,d)):(S(t,4+(i?1:0),3),function(t,e,r,i){var n;for(S(t,e-257,5),S(t,r-1,5),S(t,i-4,4),n=0;n>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(p[r]+256+1)]++,t.dyn_dtree[2*k(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;S(t,2,3),z(t,256,f),16===(e=t).bi_valid?(x(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){"use strict";e.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}); -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}]},{},[1])(1) -}); \ No newline at end of file + !(function (t) { + if ('object' == typeof exports && 'undefined' != typeof module) + module.exports = t(); + else if ('function' == typeof define && define.amd) define([], t); + else { + ('undefined' != typeof window + ? window + : 'undefined' != typeof global + ? global + : 'undefined' != typeof self + ? self + : this + ).JSZip = t(); + } + })(function () { + return (function s(a, o, h) { + function u(r, t) { + if (!o[r]) { + if (!a[r]) { + var e = 'function' == typeof require && require; + if (!t && e) return e(r, !0); + if (l) return l(r, !0); + var i = new Error("Cannot find module '" + r + "'"); + throw ((i.code = 'MODULE_NOT_FOUND'), i); + } + var n = (o[r] = {exports: {}}); + a[r][0].call( + n.exports, + function (t) { + var e = a[r][1][t]; + return u(e || t); + }, + n, + n.exports, + s, + a, + o, + h, + ); + } + return o[r].exports; + } + for ( + var l = 'function' == typeof require && require, t = 0; + t < h.length; + t++ + ) + u(h[t]); + return u; + })( + { + 1: [ + function (f, e, i) { + (function (r) { + !(function (t) { + 'object' == typeof i && void 0 !== e + ? (e.exports = t()) + : (('undefined' != typeof window + ? window + : void 0 !== r + ? r + : 'undefined' != typeof self + ? self + : this + ).JSZip = t()); + })(function () { + return (function s(a, o, h) { + function u(e, t) { + if (!o[e]) { + if (!a[e]) { + var r = 'function' == typeof f && f; + if (!t && r) return r(e, !0); + if (l) return l(e, !0); + var i = new Error( + "Cannot find module '" + e + "'", + ); + throw ((i.code = 'MODULE_NOT_FOUND'), i); + } + var n = (o[e] = {exports: {}}); + a[e][0].call( + n.exports, + function (t) { + return u(a[e][1][t] || t); + }, + n, + n.exports, + s, + a, + o, + h, + ); + } + return o[e].exports; + } + for ( + var l = 'function' == typeof f && f, t = 0; + t < h.length; + t++ + ) + u(h[t]); + return u; + })( + { + 1: [ + function (t, e, r) { + 'use strict'; + var c = t('./utils'), + f = t('./support'), + p = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; + (r.encode = function (t) { + for ( + var e, + r, + i, + n, + s, + a, + o, + h = [], + u = 0, + l = t.length, + f = l, + d = 'string' !== c.getTypeOf(t); + u < t.length; + + ) + (f = l - u), + (i = d + ? ((e = t[u++]), + (r = u < l ? t[u++] : 0), + u < l ? t[u++] : 0) + : ((e = t.charCodeAt(u++)), + (r = u < l ? t.charCodeAt(u++) : 0), + u < l ? t.charCodeAt(u++) : 0)), + (n = e >> 2), + (s = ((3 & e) << 4) | (r >> 4)), + (a = + 1 < f + ? ((15 & r) << 2) | (i >> 6) + : 64), + (o = 2 < f ? 63 & i : 64), + h.push( + p.charAt(n) + + p.charAt(s) + + p.charAt(a) + + p.charAt(o), + ); + return h.join(''); + }), + (r.decode = function (t) { + var e, + r, + i, + n, + s, + a, + o = 0, + h = 0; + if ( + 'data:' === t.substr(0, 'data:'.length) + ) + throw new Error( + 'Invalid base64 input, it looks like a data url.', + ); + var u, + l = + (3 * + (t = t.replace( + /[^A-Za-z0-9\+\/\=]/g, + '', + )).length) / + 4; + if ( + (t.charAt(t.length - 1) === + p.charAt(64) && l--, + t.charAt(t.length - 2) === + p.charAt(64) && l--, + l % 1 != 0) + ) + throw new Error( + 'Invalid base64 input, bad content length.', + ); + for ( + u = f.uint8array + ? new Uint8Array(0 | l) + : new Array(0 | l); + o < t.length; + + ) + (e = + (p.indexOf(t.charAt(o++)) << 2) | + ((n = p.indexOf(t.charAt(o++))) >> + 4)), + (r = + ((15 & n) << 4) | + ((s = p.indexOf(t.charAt(o++))) >> + 2)), + (i = + ((3 & s) << 6) | + (a = p.indexOf(t.charAt(o++)))), + (u[h++] = e), + 64 !== s && (u[h++] = r), + 64 !== a && (u[h++] = i); + return u; + }); + }, + {'./support': 30, './utils': 32}, + ], + 2: [ + function (t, e, r) { + 'use strict'; + var i = t('./external'), + n = t('./stream/DataWorker'), + s = t('./stream/Crc32Probe'), + a = t('./stream/DataLengthProbe'); + function o(t, e, r, i, n) { + (this.compressedSize = t), + (this.uncompressedSize = e), + (this.crc32 = r), + (this.compression = i), + (this.compressedContent = n); + } + (o.prototype = { + getContentWorker: function () { + var t = new n( + i.Promise.resolve( + this.compressedContent, + ), + ) + .pipe( + this.compression.uncompressWorker(), + ) + .pipe(new a('data_length')), + e = this; + return ( + t.on('end', function () { + if ( + this.streamInfo.data_length !== + e.uncompressedSize + ) + throw new Error( + 'Bug : uncompressed data size mismatch', + ); + }), + t + ); + }, + getCompressedWorker: function () { + return new n( + i.Promise.resolve( + this.compressedContent, + ), + ) + .withStreamInfo( + 'compressedSize', + this.compressedSize, + ) + .withStreamInfo( + 'uncompressedSize', + this.uncompressedSize, + ) + .withStreamInfo('crc32', this.crc32) + .withStreamInfo( + 'compression', + this.compression, + ); + }, + }), + (o.createWorkerFrom = function (t, e, r) { + return t + .pipe(new s()) + .pipe(new a('uncompressedSize')) + .pipe(e.compressWorker(r)) + .pipe(new a('compressedSize')) + .withStreamInfo('compression', e); + }), + (e.exports = o); + }, + { + './external': 6, + './stream/Crc32Probe': 25, + './stream/DataLengthProbe': 26, + './stream/DataWorker': 27, + }, + ], + 3: [ + function (t, e, r) { + 'use strict'; + var i = t('./stream/GenericWorker'); + (r.STORE = { + magic: '\0\0', + compressWorker: function (t) { + return new i('STORE compression'); + }, + uncompressWorker: function () { + return new i('STORE decompression'); + }, + }), + (r.DEFLATE = t('./flate')); + }, + {'./flate': 7, './stream/GenericWorker': 28}, + ], + 4: [ + function (t, e, r) { + 'use strict'; + var i = t('./utils'), + a = (function () { + for (var t, e = [], r = 0; r < 256; r++) { + t = r; + for (var i = 0; i < 8; i++) + t = + 1 & t + ? 3988292384 ^ (t >>> 1) + : t >>> 1; + e[r] = t; + } + return e; + })(); + e.exports = function (t, e) { + return void 0 !== t && t.length + ? 'string' !== i.getTypeOf(t) + ? (function (t, e, r) { + var i = a, + n = 0 + r; + t ^= -1; + for (var s = 0; s < n; s++) + t = + (t >>> 8) ^ i[255 & (t ^ e[s])]; + return -1 ^ t; + })(0 | e, t, t.length) + : (function (t, e, r) { + var i = a, + n = 0 + r; + t ^= -1; + for (var s = 0; s < n; s++) + t = + (t >>> 8) ^ + i[255 & (t ^ e.charCodeAt(s))]; + return -1 ^ t; + })(0 | e, t, t.length) + : 0; + }; + }, + {'./utils': 32}, + ], + 5: [ + function (t, e, r) { + 'use strict'; + (r.base64 = !1), + (r.binary = !1), + (r.dir = !1), + (r.createFolders = !0), + (r.date = null), + (r.compression = null), + (r.compressionOptions = null), + (r.comment = null), + (r.unixPermissions = null), + (r.dosPermissions = null); + }, + {}, + ], + 6: [ + function (t, e, r) { + 'use strict'; + var i; + (i = + 'undefined' != typeof Promise + ? Promise + : t('lie')), + (e.exports = {Promise: i}); + }, + {lie: 37}, + ], + 7: [ + function (t, e, r) { + 'use strict'; + var i = + 'undefined' != typeof Uint8Array && + 'undefined' != typeof Uint16Array && + 'undefined' != typeof Uint32Array, + n = t('pako'), + s = t('./utils'), + a = t('./stream/GenericWorker'), + o = i ? 'uint8array' : 'array'; + function h(t, e) { + a.call(this, 'FlateWorker/' + t), + (this._pako = null), + (this._pakoAction = t), + (this._pakoOptions = e), + (this.meta = {}); + } + (r.magic = '\b\0'), + s.inherits(h, a), + (h.prototype.processChunk = function (t) { + (this.meta = t.meta), + null === this._pako && + this._createPako(), + this._pako.push( + s.transformTo(o, t.data), + !1, + ); + }), + (h.prototype.flush = function () { + a.prototype.flush.call(this), + null === this._pako && + this._createPako(), + this._pako.push([], !0); + }), + (h.prototype.cleanUp = function () { + a.prototype.cleanUp.call(this), + (this._pako = null); + }), + (h.prototype._createPako = function () { + this._pako = new n[this._pakoAction]({ + raw: !0, + level: this._pakoOptions.level || -1, + }); + var e = this; + this._pako.onData = function (t) { + e.push({data: t, meta: e.meta}); + }; + }), + (r.compressWorker = function (t) { + return new h('Deflate', t); + }), + (r.uncompressWorker = function () { + return new h('Inflate', {}); + }); + }, + { + './stream/GenericWorker': 28, + './utils': 32, + pako: 38, + }, + ], + 8: [ + function (t, e, r) { + 'use strict'; + function O(t, e) { + var r, + i = ''; + for (r = 0; r < e; r++) + (i += String.fromCharCode(255 & t)), + (t >>>= 8); + return i; + } + function n(t, e, r, i, n, s) { + var a, + o, + h = t.file, + u = t.compression, + l = s !== R.utf8encode, + f = B.transformTo('string', s(h.name)), + d = B.transformTo( + 'string', + R.utf8encode(h.name), + ), + c = h.comment, + p = B.transformTo('string', s(c)), + m = B.transformTo( + 'string', + R.utf8encode(c), + ), + _ = d.length !== h.name.length, + g = m.length !== c.length, + b = '', + v = '', + y = '', + w = h.dir, + k = h.date, + x = { + crc32: 0, + compressedSize: 0, + uncompressedSize: 0, + }; + (e && !r) || + ((x.crc32 = t.crc32), + (x.compressedSize = t.compressedSize), + (x.uncompressedSize = + t.uncompressedSize)); + var S = 0; + e && (S |= 8), + l || (!_ && !g) || (S |= 2048); + var z, + C, + E = 0, + A = 0; + w && (E |= 16), + 'UNIX' === n + ? ((A = 798), + (E |= + ((z = h.unixPermissions), + (C = z) || (C = w ? 16893 : 33204), + (65535 & C) << 16))) + : ((A = 20), + (E |= 63 & (h.dosPermissions || 0))), + (a = k.getUTCHours()), + (a <<= 6), + (a |= k.getUTCMinutes()), + (a <<= 5), + (a |= k.getUTCSeconds() / 2), + (o = k.getUTCFullYear() - 1980), + (o <<= 4), + (o |= k.getUTCMonth() + 1), + (o <<= 5), + (o |= k.getUTCDate()), + _ && + (b += + 'up' + + O( + (v = O(1, 1) + O(T(f), 4) + d) + .length, + 2, + ) + + v), + g && + (b += + 'uc' + + O( + (y = O(1, 1) + O(T(p), 4) + m) + .length, + 2, + ) + + y); + var I = ''; + return ( + (I += '\n\0'), + (I += O(S, 2)), + (I += u.magic), + (I += O(a, 2)), + (I += O(o, 2)), + (I += O(x.crc32, 4)), + (I += O(x.compressedSize, 4)), + (I += O(x.uncompressedSize, 4)), + (I += O(f.length, 2)), + (I += O(b.length, 2)), + { + fileRecord: + D.LOCAL_FILE_HEADER + I + f + b, + dirRecord: + D.CENTRAL_FILE_HEADER + + O(A, 2) + + I + + O(p.length, 2) + + '\0\0\0\0' + + O(E, 4) + + O(i, 4) + + f + + b + + p, + } + ); + } + var B = t('../utils'), + s = t('../stream/GenericWorker'), + R = t('../utf8'), + T = t('../crc32'), + D = t('../signature'); + function i(t, e, r, i) { + s.call(this, 'ZipFileWorker'), + (this.bytesWritten = 0), + (this.zipComment = e), + (this.zipPlatform = r), + (this.encodeFileName = i), + (this.streamFiles = t), + (this.accumulate = !1), + (this.contentBuffer = []), + (this.dirRecords = []), + (this.currentSourceOffset = 0), + (this.entriesCount = 0), + (this.currentFile = null), + (this._sources = []); + } + B.inherits(i, s), + (i.prototype.push = function (t) { + var e = t.meta.percent || 0, + r = this.entriesCount, + i = this._sources.length; + this.accumulate + ? this.contentBuffer.push(t) + : ((this.bytesWritten += t.data.length), + s.prototype.push.call(this, { + data: t.data, + meta: { + currentFile: this.currentFile, + percent: r + ? (e + 100 * (r - i - 1)) / r + : 100, + }, + })); + }), + (i.prototype.openedSource = function (t) { + (this.currentSourceOffset = + this.bytesWritten), + (this.currentFile = t.file.name); + var e = this.streamFiles && !t.file.dir; + if (e) { + var r = n( + t, + e, + !1, + this.currentSourceOffset, + this.zipPlatform, + this.encodeFileName, + ); + this.push({ + data: r.fileRecord, + meta: {percent: 0}, + }); + } else this.accumulate = !0; + }), + (i.prototype.closedSource = function (t) { + this.accumulate = !1; + var e, + r = this.streamFiles && !t.file.dir, + i = n( + t, + r, + !0, + this.currentSourceOffset, + this.zipPlatform, + this.encodeFileName, + ); + if ( + (this.dirRecords.push(i.dirRecord), r) + ) + this.push({ + data: + ((e = t), + D.DATA_DESCRIPTOR + + O(e.crc32, 4) + + O(e.compressedSize, 4) + + O(e.uncompressedSize, 4)), + meta: {percent: 100}, + }); + else + for ( + this.push({ + data: i.fileRecord, + meta: {percent: 0}, + }); + this.contentBuffer.length; + + ) + this.push(this.contentBuffer.shift()); + this.currentFile = null; + }), + (i.prototype.flush = function () { + for ( + var t = this.bytesWritten, e = 0; + e < this.dirRecords.length; + e++ + ) + this.push({ + data: this.dirRecords[e], + meta: {percent: 100}, + }); + var r, + i, + n, + s, + a, + o, + h = this.bytesWritten - t, + u = + ((r = this.dirRecords.length), + (i = h), + (n = t), + (s = this.zipComment), + (a = this.encodeFileName), + (o = B.transformTo('string', a(s))), + D.CENTRAL_DIRECTORY_END + + '\0\0\0\0' + + O(r, 2) + + O(r, 2) + + O(i, 4) + + O(n, 4) + + O(o.length, 2) + + o); + this.push({ + data: u, + meta: {percent: 100}, + }); + }), + (i.prototype.prepareNextSource = + function () { + (this.previous = this._sources.shift()), + this.openedSource( + this.previous.streamInfo, + ), + this.isPaused + ? this.previous.pause() + : this.previous.resume(); + }), + (i.prototype.registerPrevious = function ( + t, + ) { + this._sources.push(t); + var e = this; + return ( + t.on('data', function (t) { + e.processChunk(t); + }), + t.on('end', function () { + e.closedSource(e.previous.streamInfo), + e._sources.length + ? e.prepareNextSource() + : e.end(); + }), + t.on('error', function (t) { + e.error(t); + }), + this + ); + }), + (i.prototype.resume = function () { + return ( + !!s.prototype.resume.call(this) && + (!this.previous && this._sources.length + ? (this.prepareNextSource(), !0) + : this.previous || + this._sources.length || + this.generatedError + ? void 0 + : (this.end(), !0)) + ); + }), + (i.prototype.error = function (t) { + var e = this._sources; + if (!s.prototype.error.call(this, t)) + return !1; + for (var r = 0; r < e.length; r++) + try { + e[r].error(t); + } catch (t) {} + return !0; + }), + (i.prototype.lock = function () { + s.prototype.lock.call(this); + for ( + var t = this._sources, e = 0; + e < t.length; + e++ + ) + t[e].lock(); + }), + (e.exports = i); + }, + { + '../crc32': 4, + '../signature': 23, + '../stream/GenericWorker': 28, + '../utf8': 31, + '../utils': 32, + }, + ], + 9: [ + function (t, e, r) { + 'use strict'; + var u = t('../compressions'), + i = t('./ZipFileWorker'); + r.generateWorker = function (t, a, e) { + var o = new i( + a.streamFiles, + e, + a.platform, + a.encodeFileName, + ), + h = 0; + try { + t.forEach(function (t, e) { + h++; + var r = (function (t, e) { + var r = t || e, + i = u[r]; + if (!i) + throw new Error( + r + + ' is not a valid compression method !', + ); + return i; + })( + e.options.compression, + a.compression, + ), + i = + e.options.compressionOptions || + a.compressionOptions || + {}, + n = e.dir, + s = e.date; + e._compressWorker(r, i) + .withStreamInfo('file', { + name: t, + dir: n, + date: s, + comment: e.comment || '', + unixPermissions: e.unixPermissions, + dosPermissions: e.dosPermissions, + }) + .pipe(o); + }), + (o.entriesCount = h); + } catch (t) { + o.error(t); + } + return o; + }; + }, + {'../compressions': 3, './ZipFileWorker': 8}, + ], + 10: [ + function (t, e, r) { + 'use strict'; + function i() { + if (!(this instanceof i)) return new i(); + if (arguments.length) + throw new Error( + 'The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.', + ); + (this.files = Object.create(null)), + (this.comment = null), + (this.root = ''), + (this.clone = function () { + var t = new i(); + for (var e in this) + 'function' != typeof this[e] && + (t[e] = this[e]); + return t; + }); + } + ((i.prototype = t('./object')).loadAsync = + t('./load')), + (i.support = t('./support')), + (i.defaults = t('./defaults')), + (i.version = '3.7.1'), + (i.loadAsync = function (t, e) { + return new i().loadAsync(t, e); + }), + (i.external = t('./external')), + (e.exports = i); + }, + { + './defaults': 5, + './external': 6, + './load': 11, + './object': 15, + './support': 30, + }, + ], + 11: [ + function (t, e, r) { + 'use strict'; + var i = t('./utils'), + n = t('./external'), + o = t('./utf8'), + h = t('./zipEntries'), + s = t('./stream/Crc32Probe'), + u = t('./nodejsUtils'); + function l(i) { + return new n.Promise(function (t, e) { + var r = i.decompressed + .getContentWorker() + .pipe(new s()); + r.on('error', function (t) { + e(t); + }) + .on('end', function () { + r.streamInfo.crc32 !== + i.decompressed.crc32 + ? e( + new Error( + 'Corrupted zip : CRC32 mismatch', + ), + ) + : t(); + }) + .resume(); + }); + } + e.exports = function (t, s) { + var a = this; + return ( + (s = i.extend(s || {}, { + base64: !1, + checkCRC32: !1, + optimizedBinaryString: !1, + createFolders: !1, + decodeFileName: o.utf8decode, + })), + u.isNode && u.isStream(t) + ? n.Promise.reject( + new Error( + "JSZip can't accept a stream when loading a zip file.", + ), + ) + : i + .prepareContent( + 'the loaded zip file', + t, + !0, + s.optimizedBinaryString, + s.base64, + ) + .then(function (t) { + var e = new h(s); + return e.load(t), e; + }) + .then(function (t) { + var e = [n.Promise.resolve(t)], + r = t.files; + if (s.checkCRC32) + for ( + var i = 0; + i < r.length; + i++ + ) + e.push(l(r[i])); + return n.Promise.all(e); + }) + .then(function (t) { + for ( + var e = t.shift(), + r = e.files, + i = 0; + i < r.length; + i++ + ) { + var n = r[i]; + a.file( + n.fileNameStr, + n.decompressed, + { + binary: !0, + optimizedBinaryString: !0, + date: n.date, + dir: n.dir, + comment: n.fileCommentStr + .length + ? n.fileCommentStr + : null, + unixPermissions: + n.unixPermissions, + dosPermissions: + n.dosPermissions, + createFolders: + s.createFolders, + }, + ); + } + return ( + e.zipComment.length && + (a.comment = e.zipComment), + a + ); + }) + ); + }; + }, + { + './external': 6, + './nodejsUtils': 14, + './stream/Crc32Probe': 25, + './utf8': 31, + './utils': 32, + './zipEntries': 33, + }, + ], + 12: [ + function (t, e, r) { + 'use strict'; + var i = t('../utils'), + n = t('../stream/GenericWorker'); + function s(t, e) { + n.call( + this, + 'Nodejs stream input adapter for ' + t, + ), + (this._upstreamEnded = !1), + this._bindStream(e); + } + i.inherits(s, n), + (s.prototype._bindStream = function (t) { + var e = this; + (this._stream = t).pause(), + t + .on('data', function (t) { + e.push({ + data: t, + meta: {percent: 0}, + }); + }) + .on('error', function (t) { + e.isPaused + ? (this.generatedError = t) + : e.error(t); + }) + .on('end', function () { + e.isPaused + ? (e._upstreamEnded = !0) + : e.end(); + }); + }), + (s.prototype.pause = function () { + return ( + !!n.prototype.pause.call(this) && + (this._stream.pause(), !0) + ); + }), + (s.prototype.resume = function () { + return ( + !!n.prototype.resume.call(this) && + (this._upstreamEnded + ? this.end() + : this._stream.resume(), + !0) + ); + }), + (e.exports = s); + }, + {'../stream/GenericWorker': 28, '../utils': 32}, + ], + 13: [ + function (t, e, r) { + 'use strict'; + var n = t('readable-stream').Readable; + function i(t, e, r) { + n.call(this, e), (this._helper = t); + var i = this; + t.on('data', function (t, e) { + i.push(t) || i._helper.pause(), r && r(e); + }) + .on('error', function (t) { + i.emit('error', t); + }) + .on('end', function () { + i.push(null); + }); + } + t('../utils').inherits(i, n), + (i.prototype._read = function () { + this._helper.resume(); + }), + (e.exports = i); + }, + {'../utils': 32, 'readable-stream': 16}, + ], + 14: [ + function (t, e, r) { + 'use strict'; + e.exports = { + isNode: 'undefined' != typeof Buffer, + newBufferFrom: function (t, e) { + if ( + Buffer.from && + Buffer.from !== Uint8Array.from + ) + return Buffer.from(t, e); + if ('number' == typeof t) + throw new Error( + 'The "data" argument must not be a number', + ); + return new Buffer(t, e); + }, + allocBuffer: function (t) { + if (Buffer.alloc) return Buffer.alloc(t); + var e = new Buffer(t); + return e.fill(0), e; + }, + isBuffer: function (t) { + return Buffer.isBuffer(t); + }, + isStream: function (t) { + return ( + t && + 'function' == typeof t.on && + 'function' == typeof t.pause && + 'function' == typeof t.resume + ); + }, + }; + }, + {}, + ], + 15: [ + function (t, e, r) { + 'use strict'; + function s(t, e, r) { + var i, + n = l.getTypeOf(e), + s = l.extend(r || {}, d); + (s.date = s.date || new Date()), + null !== s.compression && + (s.compression = + s.compression.toUpperCase()), + 'string' == typeof s.unixPermissions && + (s.unixPermissions = parseInt( + s.unixPermissions, + 8, + )), + s.unixPermissions && + 16384 & s.unixPermissions && + (s.dir = !0), + s.dosPermissions && + 16 & s.dosPermissions && + (s.dir = !0), + s.dir && (t = u(t)), + s.createFolders && + (i = (function (t) { + '/' === t.slice(-1) && + (t = t.substring(0, t.length - 1)); + var e = t.lastIndexOf('/'); + return 0 < e ? t.substring(0, e) : ''; + })(t)) && + g.call(this, i, !0); + var a = + 'string' === n && + !1 === s.binary && + !1 === s.base64; + (r && void 0 !== r.binary) || + (s.binary = !a), + ((e instanceof c && + 0 === e.uncompressedSize) || + s.dir || + !e || + 0 === e.length) && + ((s.base64 = !1), + (s.binary = !0), + (e = ''), + (s.compression = 'STORE'), + (n = 'string')); + var o; + o = + e instanceof c || e instanceof f + ? e + : m.isNode && m.isStream(e) + ? new _(t, e) + : l.prepareContent( + t, + e, + s.binary, + s.optimizedBinaryString, + s.base64, + ); + var h = new p(t, o, s); + this.files[t] = h; + } + function u(t) { + return '/' !== t.slice(-1) && (t += '/'), t; + } + var n = t('./utf8'), + l = t('./utils'), + f = t('./stream/GenericWorker'), + a = t('./stream/StreamHelper'), + d = t('./defaults'), + c = t('./compressedObject'), + p = t('./zipObject'), + o = t('./generate'), + m = t('./nodejsUtils'), + _ = t('./nodejs/NodejsStreamInputAdapter'), + g = function (t, e) { + return ( + (e = + void 0 !== e ? e : d.createFolders), + (t = u(t)), + this.files[t] || + s.call(this, t, null, { + dir: !0, + createFolders: e, + }), + this.files[t] + ); + }; + function h(t) { + return ( + '[object RegExp]' === + Object.prototype.toString.call(t) + ); + } + var i = { + load: function () { + throw new Error( + 'This method has been removed in JSZip 3.0, please check the upgrade guide.', + ); + }, + forEach: function (t) { + var e, r, i; + for (e in this.files) + (i = this.files[e]), + (r = e.slice( + this.root.length, + e.length, + )) && + e.slice(0, this.root.length) === + this.root && + t(r, i); + }, + filter: function (r) { + var i = []; + return ( + this.forEach(function (t, e) { + r(t, e) && i.push(e); + }), + i + ); + }, + file: function (t, e, r) { + if (1 !== arguments.length) + return ( + (t = this.root + t), + s.call(this, t, e, r), + this + ); + if (h(t)) { + var i = t; + return this.filter(function (t, e) { + return !e.dir && i.test(t); + }); + } + var n = this.files[this.root + t]; + return n && !n.dir ? n : null; + }, + folder: function (r) { + if (!r) return this; + if (h(r)) + return this.filter(function (t, e) { + return e.dir && r.test(t); + }); + var t = this.root + r, + e = g.call(this, t), + i = this.clone(); + return (i.root = e.name), i; + }, + remove: function (r) { + r = this.root + r; + var t = this.files[r]; + if ( + (t || + ('/' !== r.slice(-1) && (r += '/'), + (t = this.files[r])), + t && !t.dir) + ) + delete this.files[r]; + else + for ( + var e = this.filter(function (t, e) { + return ( + e.name.slice(0, r.length) === r + ); + }), + i = 0; + i < e.length; + i++ + ) + delete this.files[e[i].name]; + return this; + }, + generate: function (t) { + throw new Error( + 'This method has been removed in JSZip 3.0, please check the upgrade guide.', + ); + }, + generateInternalStream: function (t) { + var e, + r = {}; + try { + if ( + (((r = l.extend(t || {}, { + streamFiles: !1, + compression: 'STORE', + compressionOptions: null, + type: '', + platform: 'DOS', + comment: null, + mimeType: 'application/zip', + encodeFileName: n.utf8encode, + })).type = r.type.toLowerCase()), + (r.compression = + r.compression.toUpperCase()), + 'binarystring' === r.type && + (r.type = 'string'), + !r.type) + ) + throw new Error( + 'No output type specified.', + ); + l.checkSupport(r.type), + ('darwin' !== r.platform && + 'freebsd' !== r.platform && + 'linux' !== r.platform && + 'sunos' !== r.platform) || + (r.platform = 'UNIX'), + 'win32' === r.platform && + (r.platform = 'DOS'); + var i = r.comment || this.comment || ''; + e = o.generateWorker(this, r, i); + } catch (t) { + (e = new f('error')).error(t); + } + return new a( + e, + r.type || 'string', + r.mimeType, + ); + }, + generateAsync: function (t, e) { + return this.generateInternalStream( + t, + ).accumulate(e); + }, + generateNodeStream: function (t, e) { + return ( + (t = t || {}).type || + (t.type = 'nodebuffer'), + this.generateInternalStream( + t, + ).toNodejsStream(e) + ); + }, + }; + e.exports = i; + }, + { + './compressedObject': 2, + './defaults': 5, + './generate': 9, + './nodejs/NodejsStreamInputAdapter': 12, + './nodejsUtils': 14, + './stream/GenericWorker': 28, + './stream/StreamHelper': 29, + './utf8': 31, + './utils': 32, + './zipObject': 35, + }, + ], + 16: [ + function (t, e, r) { + e.exports = t('stream'); + }, + {stream: void 0}, + ], + 17: [ + function (t, e, r) { + 'use strict'; + var i = t('./DataReader'); + function n(t) { + i.call(this, t); + for (var e = 0; e < this.data.length; e++) + t[e] = 255 & t[e]; + } + t('../utils').inherits(n, i), + (n.prototype.byteAt = function (t) { + return this.data[this.zero + t]; + }), + (n.prototype.lastIndexOfSignature = + function (t) { + for ( + var e = t.charCodeAt(0), + r = t.charCodeAt(1), + i = t.charCodeAt(2), + n = t.charCodeAt(3), + s = this.length - 4; + 0 <= s; + --s + ) + if ( + this.data[s] === e && + this.data[s + 1] === r && + this.data[s + 2] === i && + this.data[s + 3] === n + ) + return s - this.zero; + return -1; + }), + (n.prototype.readAndCheckSignature = + function (t) { + var e = t.charCodeAt(0), + r = t.charCodeAt(1), + i = t.charCodeAt(2), + n = t.charCodeAt(3), + s = this.readData(4); + return ( + e === s[0] && + r === s[1] && + i === s[2] && + n === s[3] + ); + }), + (n.prototype.readData = function (t) { + if ((this.checkOffset(t), 0 === t)) + return []; + var e = this.data.slice( + this.zero + this.index, + this.zero + this.index + t, + ); + return (this.index += t), e; + }), + (e.exports = n); + }, + {'../utils': 32, './DataReader': 18}, + ], + 18: [ + function (t, e, r) { + 'use strict'; + var i = t('../utils'); + function n(t) { + (this.data = t), + (this.length = t.length), + (this.index = 0), + (this.zero = 0); + } + (n.prototype = { + checkOffset: function (t) { + this.checkIndex(this.index + t); + }, + checkIndex: function (t) { + if (this.length < this.zero + t || t < 0) + throw new Error( + 'End of data reached (data length = ' + + this.length + + ', asked index = ' + + t + + '). Corrupted zip ?', + ); + }, + setIndex: function (t) { + this.checkIndex(t), (this.index = t); + }, + skip: function (t) { + this.setIndex(this.index + t); + }, + byteAt: function (t) {}, + readInt: function (t) { + var e, + r = 0; + for ( + this.checkOffset(t), + e = this.index + t - 1; + e >= this.index; + e-- + ) + r = (r << 8) + this.byteAt(e); + return (this.index += t), r; + }, + readString: function (t) { + return i.transformTo( + 'string', + this.readData(t), + ); + }, + readData: function (t) {}, + lastIndexOfSignature: function (t) {}, + readAndCheckSignature: function (t) {}, + readDate: function () { + var t = this.readInt(4); + return new Date( + Date.UTC( + 1980 + ((t >> 25) & 127), + ((t >> 21) & 15) - 1, + (t >> 16) & 31, + (t >> 11) & 31, + (t >> 5) & 63, + (31 & t) << 1, + ), + ); + }, + }), + (e.exports = n); + }, + {'../utils': 32}, + ], + 19: [ + function (t, e, r) { + 'use strict'; + var i = t('./Uint8ArrayReader'); + function n(t) { + i.call(this, t); + } + t('../utils').inherits(n, i), + (n.prototype.readData = function (t) { + this.checkOffset(t); + var e = this.data.slice( + this.zero + this.index, + this.zero + this.index + t, + ); + return (this.index += t), e; + }), + (e.exports = n); + }, + {'../utils': 32, './Uint8ArrayReader': 21}, + ], + 20: [ + function (t, e, r) { + 'use strict'; + var i = t('./DataReader'); + function n(t) { + i.call(this, t); + } + t('../utils').inherits(n, i), + (n.prototype.byteAt = function (t) { + return this.data.charCodeAt( + this.zero + t, + ); + }), + (n.prototype.lastIndexOfSignature = + function (t) { + return ( + this.data.lastIndexOf(t) - this.zero + ); + }), + (n.prototype.readAndCheckSignature = + function (t) { + return t === this.readData(4); + }), + (n.prototype.readData = function (t) { + this.checkOffset(t); + var e = this.data.slice( + this.zero + this.index, + this.zero + this.index + t, + ); + return (this.index += t), e; + }), + (e.exports = n); + }, + {'../utils': 32, './DataReader': 18}, + ], + 21: [ + function (t, e, r) { + 'use strict'; + var i = t('./ArrayReader'); + function n(t) { + i.call(this, t); + } + t('../utils').inherits(n, i), + (n.prototype.readData = function (t) { + if ((this.checkOffset(t), 0 === t)) + return new Uint8Array(0); + var e = this.data.subarray( + this.zero + this.index, + this.zero + this.index + t, + ); + return (this.index += t), e; + }), + (e.exports = n); + }, + {'../utils': 32, './ArrayReader': 17}, + ], + 22: [ + function (t, e, r) { + 'use strict'; + var i = t('../utils'), + n = t('../support'), + s = t('./ArrayReader'), + a = t('./StringReader'), + o = t('./NodeBufferReader'), + h = t('./Uint8ArrayReader'); + e.exports = function (t) { + var e = i.getTypeOf(t); + return ( + i.checkSupport(e), + 'string' !== e || n.uint8array + ? 'nodebuffer' === e + ? new o(t) + : n.uint8array + ? new h( + i.transformTo('uint8array', t), + ) + : new s(i.transformTo('array', t)) + : new a(t) + ); + }; + }, + { + '../support': 30, + '../utils': 32, + './ArrayReader': 17, + './NodeBufferReader': 19, + './StringReader': 20, + './Uint8ArrayReader': 21, + }, + ], + 23: [ + function (t, e, r) { + 'use strict'; + (r.LOCAL_FILE_HEADER = 'PK'), + (r.CENTRAL_FILE_HEADER = 'PK'), + (r.CENTRAL_DIRECTORY_END = 'PK'), + (r.ZIP64_CENTRAL_DIRECTORY_LOCATOR = 'PK'), + (r.ZIP64_CENTRAL_DIRECTORY_END = 'PK'), + (r.DATA_DESCRIPTOR = 'PK\b'); + }, + {}, + ], + 24: [ + function (t, e, r) { + 'use strict'; + var i = t('./GenericWorker'), + n = t('../utils'); + function s(t) { + i.call(this, 'ConvertWorker to ' + t), + (this.destType = t); + } + n.inherits(s, i), + (s.prototype.processChunk = function (t) { + this.push({ + data: n.transformTo( + this.destType, + t.data, + ), + meta: t.meta, + }); + }), + (e.exports = s); + }, + {'../utils': 32, './GenericWorker': 28}, + ], + 25: [ + function (t, e, r) { + 'use strict'; + var i = t('./GenericWorker'), + n = t('../crc32'); + function s() { + i.call(this, 'Crc32Probe'), + this.withStreamInfo('crc32', 0); + } + t('../utils').inherits(s, i), + (s.prototype.processChunk = function (t) { + (this.streamInfo.crc32 = n( + t.data, + this.streamInfo.crc32 || 0, + )), + this.push(t); + }), + (e.exports = s); + }, + { + '../crc32': 4, + '../utils': 32, + './GenericWorker': 28, + }, + ], + 26: [ + function (t, e, r) { + 'use strict'; + var i = t('../utils'), + n = t('./GenericWorker'); + function s(t) { + n.call(this, 'DataLengthProbe for ' + t), + (this.propName = t), + this.withStreamInfo(t, 0); + } + i.inherits(s, n), + (s.prototype.processChunk = function (t) { + if (t) { + var e = + this.streamInfo[this.propName] || 0; + this.streamInfo[this.propName] = + e + t.data.length; + } + n.prototype.processChunk.call(this, t); + }), + (e.exports = s); + }, + {'../utils': 32, './GenericWorker': 28}, + ], + 27: [ + function (t, e, r) { + 'use strict'; + var i = t('../utils'), + n = t('./GenericWorker'); + function s(t) { + n.call(this, 'DataWorker'); + var e = this; + (this.dataIsReady = !1), + (this.index = 0), + (this.max = 0), + (this.data = null), + (this.type = ''), + (this._tickScheduled = !1), + t.then( + function (t) { + (e.dataIsReady = !0), + (e.data = t), + (e.max = (t && t.length) || 0), + (e.type = i.getTypeOf(t)), + e.isPaused || e._tickAndRepeat(); + }, + function (t) { + e.error(t); + }, + ); + } + i.inherits(s, n), + (s.prototype.cleanUp = function () { + n.prototype.cleanUp.call(this), + (this.data = null); + }), + (s.prototype.resume = function () { + return ( + !!n.prototype.resume.call(this) && + (!this._tickScheduled && + this.dataIsReady && + ((this._tickScheduled = !0), + i.delay( + this._tickAndRepeat, + [], + this, + )), + !0) + ); + }), + (s.prototype._tickAndRepeat = function () { + (this._tickScheduled = !1), + this.isPaused || + this.isFinished || + (this._tick(), + this.isFinished || + (i.delay( + this._tickAndRepeat, + [], + this, + ), + (this._tickScheduled = !0))); + }), + (s.prototype._tick = function () { + if (this.isPaused || this.isFinished) + return !1; + var t = null, + e = Math.min( + this.max, + this.index + 16384, + ); + if (this.index >= this.max) + return this.end(); + switch (this.type) { + case 'string': + t = this.data.substring( + this.index, + e, + ); + break; + case 'uint8array': + t = this.data.subarray(this.index, e); + break; + case 'array': + case 'nodebuffer': + t = this.data.slice(this.index, e); + } + return ( + (this.index = e), + this.push({ + data: t, + meta: { + percent: this.max + ? (this.index / this.max) * 100 + : 0, + }, + }) + ); + }), + (e.exports = s); + }, + {'../utils': 32, './GenericWorker': 28}, + ], + 28: [ + function (t, e, r) { + 'use strict'; + function i(t) { + (this.name = t || 'default'), + (this.streamInfo = {}), + (this.generatedError = null), + (this.extraStreamInfo = {}), + (this.isPaused = !0), + (this.isFinished = !1), + (this.isLocked = !1), + (this._listeners = { + data: [], + end: [], + error: [], + }), + (this.previous = null); + } + (i.prototype = { + push: function (t) { + this.emit('data', t); + }, + end: function () { + if (this.isFinished) return !1; + this.flush(); + try { + this.emit('end'), + this.cleanUp(), + (this.isFinished = !0); + } catch (t) { + this.emit('error', t); + } + return !0; + }, + error: function (t) { + return ( + !this.isFinished && + (this.isPaused + ? (this.generatedError = t) + : ((this.isFinished = !0), + this.emit('error', t), + this.previous && + this.previous.error(t), + this.cleanUp()), + !0) + ); + }, + on: function (t, e) { + return this._listeners[t].push(e), this; + }, + cleanUp: function () { + (this.streamInfo = + this.generatedError = + this.extraStreamInfo = + null), + (this._listeners = []); + }, + emit: function (t, e) { + if (this._listeners[t]) + for ( + var r = 0; + r < this._listeners[t].length; + r++ + ) + this._listeners[t][r].call(this, e); + }, + pipe: function (t) { + return t.registerPrevious(this); + }, + registerPrevious: function (t) { + if (this.isLocked) + throw new Error( + "The stream '" + + this + + "' has already been used.", + ); + (this.streamInfo = t.streamInfo), + this.mergeStreamInfo(), + (this.previous = t); + var e = this; + return ( + t.on('data', function (t) { + e.processChunk(t); + }), + t.on('end', function () { + e.end(); + }), + t.on('error', function (t) { + e.error(t); + }), + this + ); + }, + pause: function () { + return ( + !this.isPaused && + !this.isFinished && + ((this.isPaused = !0), + this.previous && this.previous.pause(), + !0) + ); + }, + resume: function () { + if (!this.isPaused || this.isFinished) + return !1; + var t = (this.isPaused = !1); + return ( + this.generatedError && + (this.error(this.generatedError), + (t = !0)), + this.previous && this.previous.resume(), + !t + ); + }, + flush: function () {}, + processChunk: function (t) { + this.push(t); + }, + withStreamInfo: function (t, e) { + return ( + (this.extraStreamInfo[t] = e), + this.mergeStreamInfo(), + this + ); + }, + mergeStreamInfo: function () { + for (var t in this.extraStreamInfo) + this.extraStreamInfo.hasOwnProperty( + t, + ) && + (this.streamInfo[t] = + this.extraStreamInfo[t]); + }, + lock: function () { + if (this.isLocked) + throw new Error( + "The stream '" + + this + + "' has already been used.", + ); + (this.isLocked = !0), + this.previous && this.previous.lock(); + }, + toString: function () { + var t = 'Worker ' + this.name; + return this.previous + ? this.previous + ' -> ' + t + : t; + }, + }), + (e.exports = i); + }, + {}, + ], + 29: [ + function (t, e, r) { + 'use strict'; + var h = t('../utils'), + n = t('./ConvertWorker'), + s = t('./GenericWorker'), + u = t('../base64'), + i = t('../support'), + a = t('../external'), + o = null; + if (i.nodestream) + try { + o = t( + '../nodejs/NodejsStreamOutputAdapter', + ); + } catch (t) {} + function l(t, e, r) { + var i = e; + switch (e) { + case 'blob': + case 'arraybuffer': + i = 'uint8array'; + break; + case 'base64': + i = 'string'; + } + try { + (this._internalType = i), + (this._outputType = e), + (this._mimeType = r), + h.checkSupport(i), + (this._worker = t.pipe(new n(i))), + t.lock(); + } catch (t) { + (this._worker = new s('error')), + this._worker.error(t); + } + } + (l.prototype = { + accumulate: function (t) { + return (function (t, o) { + return new a.Promise(function (e, r) { + var i = [], + n = t._internalType, + s = t._outputType, + a = t._mimeType; + t.on('data', function (t, e) { + i.push(t), o && o(e); + }) + .on('error', function (t) { + (i = []), r(t); + }) + .on('end', function () { + try { + var t = (function (t, e, r) { + switch (t) { + case 'blob': + return h.newBlob( + h.transformTo( + 'arraybuffer', + e, + ), + r, + ); + case 'base64': + return u.encode(e); + default: + return h.transformTo( + t, + e, + ); + } + })( + s, + (function (t, e) { + var r, + i = 0, + n = null, + s = 0; + for ( + r = 0; + r < e.length; + r++ + ) + s += e[r].length; + switch (t) { + case 'string': + return e.join(''); + case 'array': + return Array.prototype.concat.apply( + [], + e, + ); + case 'uint8array': + for ( + n = new Uint8Array(s), + r = 0; + r < e.length; + r++ + ) + n.set(e[r], i), + (i += e[r].length); + return n; + case 'nodebuffer': + return Buffer.concat(e); + default: + throw new Error( + "concat : unsupported type '" + + t + + "'", + ); + } + })(n, i), + a, + ); + e(t); + } catch (t) { + r(t); + } + i = []; + }) + .resume(); + }); + })(this, t); + }, + on: function (t, e) { + var r = this; + return ( + 'data' === t + ? this._worker.on(t, function (t) { + e.call(r, t.data, t.meta); + }) + : this._worker.on(t, function () { + h.delay(e, arguments, r); + }), + this + ); + }, + resume: function () { + return ( + h.delay( + this._worker.resume, + [], + this._worker, + ), + this + ); + }, + pause: function () { + return this._worker.pause(), this; + }, + toNodejsStream: function (t) { + if ( + (h.checkSupport('nodestream'), + 'nodebuffer' !== this._outputType) + ) + throw new Error( + this._outputType + + ' is not supported by this method', + ); + return new o( + this, + { + objectMode: + 'nodebuffer' !== this._outputType, + }, + t, + ); + }, + }), + (e.exports = l); + }, + { + '../base64': 1, + '../external': 6, + '../nodejs/NodejsStreamOutputAdapter': 13, + '../support': 30, + '../utils': 32, + './ConvertWorker': 24, + './GenericWorker': 28, + }, + ], + 30: [ + function (t, e, r) { + 'use strict'; + if ( + ((r.base64 = !0), + (r.array = !0), + (r.string = !0), + (r.arraybuffer = + 'undefined' != typeof ArrayBuffer && + 'undefined' != typeof Uint8Array), + (r.nodebuffer = + 'undefined' != typeof Buffer), + (r.uint8array = + 'undefined' != typeof Uint8Array), + 'undefined' == typeof ArrayBuffer) + ) + r.blob = !1; + else { + var i = new ArrayBuffer(0); + try { + r.blob = + 0 === + new Blob([i], {type: 'application/zip'}) + .size; + } catch (t) { + try { + var n = new (self.BlobBuilder || + self.WebKitBlobBuilder || + self.MozBlobBuilder || + self.MSBlobBuilder)(); + n.append(i), + (r.blob = + 0 === + n.getBlob('application/zip').size); + } catch (t) { + r.blob = !1; + } + } + } + try { + r.nodestream = + !!t('readable-stream').Readable; + } catch (t) { + r.nodestream = !1; + } + }, + {'readable-stream': 16}, + ], + 31: [ + function (t, e, s) { + 'use strict'; + for ( + var o = t('./utils'), + h = t('./support'), + r = t('./nodejsUtils'), + i = t('./stream/GenericWorker'), + u = new Array(256), + n = 0; + n < 256; + n++ + ) + u[n] = + 252 <= n + ? 6 + : 248 <= n + ? 5 + : 240 <= n + ? 4 + : 224 <= n + ? 3 + : 192 <= n + ? 2 + : 1; + function a() { + i.call(this, 'utf-8 decode'), + (this.leftOver = null); + } + function l() { + i.call(this, 'utf-8 encode'); + } + (u[254] = u[254] = 1), + (s.utf8encode = function (t) { + return h.nodebuffer + ? r.newBufferFrom(t, 'utf-8') + : (function (t) { + var e, + r, + i, + n, + s, + a = t.length, + o = 0; + for (n = 0; n < a; n++) + 55296 == + (64512 & + (r = t.charCodeAt(n))) && + n + 1 < a && + 56320 == + (64512 & + (i = t.charCodeAt( + n + 1, + ))) && + ((r = + 65536 + + ((r - 55296) << 10) + + (i - 56320)), + n++), + (o += + r < 128 + ? 1 + : r < 2048 + ? 2 + : r < 65536 + ? 3 + : 4); + for ( + e = h.uint8array + ? new Uint8Array(o) + : new Array(o), + n = s = 0; + s < o; + n++ + ) + 55296 == + (64512 & + (r = t.charCodeAt(n))) && + n + 1 < a && + 56320 == + (64512 & + (i = t.charCodeAt( + n + 1, + ))) && + ((r = + 65536 + + ((r - 55296) << 10) + + (i - 56320)), + n++), + r < 128 + ? (e[s++] = r) + : (r < 2048 + ? (e[s++] = + 192 | (r >>> 6)) + : (r < 65536 + ? (e[s++] = + 224 | (r >>> 12)) + : ((e[s++] = + 240 | (r >>> 18)), + (e[s++] = + 128 | + ((r >>> 12) & + 63))), + (e[s++] = + 128 | + ((r >>> 6) & 63))), + (e[s++] = 128 | (63 & r))); + return e; + })(t); + }), + (s.utf8decode = function (t) { + return h.nodebuffer + ? o + .transformTo('nodebuffer', t) + .toString('utf-8') + : (function (t) { + var e, + r, + i, + n, + s = t.length, + a = new Array(2 * s); + for (e = r = 0; e < s; ) + if ((i = t[e++]) < 128) + a[r++] = i; + else if (4 < (n = u[i])) + (a[r++] = 65533), (e += n - 1); + else { + for ( + i &= + 2 === n + ? 31 + : 3 === n + ? 15 + : 7; + 1 < n && e < s; + + ) + (i = + (i << 6) | (63 & t[e++])), + n--; + 1 < n + ? (a[r++] = 65533) + : i < 65536 + ? (a[r++] = i) + : ((i -= 65536), + (a[r++] = + 55296 | + ((i >> 10) & 1023)), + (a[r++] = + 56320 | (1023 & i))); + } + return ( + a.length !== r && + (a.subarray + ? (a = a.subarray(0, r)) + : (a.length = r)), + o.applyFromCharCode(a) + ); + })( + (t = o.transformTo( + h.uint8array + ? 'uint8array' + : 'array', + t, + )), + ); + }), + o.inherits(a, i), + (a.prototype.processChunk = function (t) { + var e = o.transformTo( + h.uint8array ? 'uint8array' : 'array', + t.data, + ); + if ( + this.leftOver && + this.leftOver.length + ) { + if (h.uint8array) { + var r = e; + (e = new Uint8Array( + r.length + this.leftOver.length, + )).set(this.leftOver, 0), + e.set(r, this.leftOver.length); + } else e = this.leftOver.concat(e); + this.leftOver = null; + } + var i = (function (t, e) { + var r; + for ( + (e = e || t.length) > t.length && + (e = t.length), + r = e - 1; + 0 <= r && 128 == (192 & t[r]); + + ) + r--; + return r < 0 + ? e + : 0 === r + ? e + : r + u[t[r]] > e + ? r + : e; + })(e), + n = e; + i !== e.length && + (h.uint8array + ? ((n = e.subarray(0, i)), + (this.leftOver = e.subarray( + i, + e.length, + ))) + : ((n = e.slice(0, i)), + (this.leftOver = e.slice( + i, + e.length, + )))), + this.push({ + data: s.utf8decode(n), + meta: t.meta, + }); + }), + (a.prototype.flush = function () { + this.leftOver && + this.leftOver.length && + (this.push({ + data: s.utf8decode(this.leftOver), + meta: {}, + }), + (this.leftOver = null)); + }), + (s.Utf8DecodeWorker = a), + o.inherits(l, i), + (l.prototype.processChunk = function (t) { + this.push({ + data: s.utf8encode(t.data), + meta: t.meta, + }); + }), + (s.Utf8EncodeWorker = l); + }, + { + './nodejsUtils': 14, + './stream/GenericWorker': 28, + './support': 30, + './utils': 32, + }, + ], + 32: [ + function (t, e, o) { + 'use strict'; + var h = t('./support'), + u = t('./base64'), + r = t('./nodejsUtils'), + i = t('set-immediate-shim'), + l = t('./external'); + function n(t) { + return t; + } + function f(t, e) { + for (var r = 0; r < t.length; ++r) + e[r] = 255 & t.charCodeAt(r); + return e; + } + o.newBlob = function (e, r) { + o.checkSupport('blob'); + try { + return new Blob([e], {type: r}); + } catch (t) { + try { + var i = new (self.BlobBuilder || + self.WebKitBlobBuilder || + self.MozBlobBuilder || + self.MSBlobBuilder)(); + return i.append(e), i.getBlob(r); + } catch (t) { + throw new Error( + "Bug : can't construct the Blob.", + ); + } + } + }; + var s = { + stringifyByChunk: function (t, e, r) { + var i = [], + n = 0, + s = t.length; + if (s <= r) + return String.fromCharCode.apply( + null, + t, + ); + for (; n < s; ) + 'array' === e || 'nodebuffer' === e + ? i.push( + String.fromCharCode.apply( + null, + t.slice(n, Math.min(n + r, s)), + ), + ) + : i.push( + String.fromCharCode.apply( + null, + t.subarray( + n, + Math.min(n + r, s), + ), + ), + ), + (n += r); + return i.join(''); + }, + stringifyByChar: function (t) { + for (var e = '', r = 0; r < t.length; r++) + e += String.fromCharCode(t[r]); + return e; + }, + applyCanBeUsed: { + uint8array: (function () { + try { + return ( + h.uint8array && + 1 === + String.fromCharCode.apply( + null, + new Uint8Array(1), + ).length + ); + } catch (t) { + return !1; + } + })(), + nodebuffer: (function () { + try { + return ( + h.nodebuffer && + 1 === + String.fromCharCode.apply( + null, + r.allocBuffer(1), + ).length + ); + } catch (t) { + return !1; + } + })(), + }, + }; + function a(t) { + var e = 65536, + r = o.getTypeOf(t), + i = !0; + if ( + ('uint8array' === r + ? (i = s.applyCanBeUsed.uint8array) + : 'nodebuffer' === r && + (i = s.applyCanBeUsed.nodebuffer), + i) + ) + for (; 1 < e; ) + try { + return s.stringifyByChunk(t, r, e); + } catch (t) { + e = Math.floor(e / 2); + } + return s.stringifyByChar(t); + } + function d(t, e) { + for (var r = 0; r < t.length; r++) + e[r] = t[r]; + return e; + } + o.applyFromCharCode = a; + var c = {}; + (c.string = { + string: n, + array: function (t) { + return f(t, new Array(t.length)); + }, + arraybuffer: function (t) { + return c.string.uint8array(t).buffer; + }, + uint8array: function (t) { + return f(t, new Uint8Array(t.length)); + }, + nodebuffer: function (t) { + return f(t, r.allocBuffer(t.length)); + }, + }), + (c.array = { + string: a, + array: n, + arraybuffer: function (t) { + return new Uint8Array(t).buffer; + }, + uint8array: function (t) { + return new Uint8Array(t); + }, + nodebuffer: function (t) { + return r.newBufferFrom(t); + }, + }), + (c.arraybuffer = { + string: function (t) { + return a(new Uint8Array(t)); + }, + array: function (t) { + return d( + new Uint8Array(t), + new Array(t.byteLength), + ); + }, + arraybuffer: n, + uint8array: function (t) { + return new Uint8Array(t); + }, + nodebuffer: function (t) { + return r.newBufferFrom( + new Uint8Array(t), + ); + }, + }), + (c.uint8array = { + string: a, + array: function (t) { + return d(t, new Array(t.length)); + }, + arraybuffer: function (t) { + return t.buffer; + }, + uint8array: n, + nodebuffer: function (t) { + return r.newBufferFrom(t); + }, + }), + (c.nodebuffer = { + string: a, + array: function (t) { + return d(t, new Array(t.length)); + }, + arraybuffer: function (t) { + return c.nodebuffer.uint8array(t) + .buffer; + }, + uint8array: function (t) { + return d(t, new Uint8Array(t.length)); + }, + nodebuffer: n, + }), + (o.transformTo = function (t, e) { + if (((e = e || ''), !t)) return e; + o.checkSupport(t); + var r = o.getTypeOf(e); + return c[r][t](e); + }), + (o.getTypeOf = function (t) { + return 'string' == typeof t + ? 'string' + : '[object Array]' === + Object.prototype.toString.call(t) + ? 'array' + : h.nodebuffer && r.isBuffer(t) + ? 'nodebuffer' + : h.uint8array && + t instanceof Uint8Array + ? 'uint8array' + : h.arraybuffer && + t instanceof ArrayBuffer + ? 'arraybuffer' + : void 0; + }), + (o.checkSupport = function (t) { + if (!h[t.toLowerCase()]) + throw new Error( + t + + ' is not supported by this platform', + ); + }), + (o.MAX_VALUE_16BITS = 65535), + (o.MAX_VALUE_32BITS = -1), + (o.pretty = function (t) { + var e, + r, + i = ''; + for (r = 0; r < (t || '').length; r++) + i += + '\\x' + + ((e = t.charCodeAt(r)) < 16 + ? '0' + : '') + + e.toString(16).toUpperCase(); + return i; + }), + (o.delay = function (t, e, r) { + i(function () { + t.apply(r || null, e || []); + }); + }), + (o.inherits = function (t, e) { + function r() {} + (r.prototype = e.prototype), + (t.prototype = new r()); + }), + (o.extend = function () { + var t, + e, + r = {}; + for (t = 0; t < arguments.length; t++) + for (e in arguments[t]) + arguments[t].hasOwnProperty(e) && + void 0 === r[e] && + (r[e] = arguments[t][e]); + return r; + }), + (o.prepareContent = function ( + i, + t, + n, + s, + a, + ) { + return l.Promise.resolve(t) + .then(function (i) { + return h.blob && + (i instanceof Blob || + -1 !== + [ + '[object File]', + '[object Blob]', + ].indexOf( + Object.prototype.toString.call( + i, + ), + )) && + 'undefined' != typeof FileReader + ? new l.Promise(function (e, r) { + var t = new FileReader(); + (t.onload = function (t) { + e(t.target.result); + }), + (t.onerror = function (t) { + r(t.target.error); + }), + t.readAsArrayBuffer(i); + }) + : i; + }) + .then(function (t) { + var e, + r = o.getTypeOf(t); + return r + ? ('arraybuffer' === r + ? (t = o.transformTo( + 'uint8array', + t, + )) + : 'string' === r && + (a + ? (t = u.decode(t)) + : n && + !0 !== s && + (t = f( + (e = t), + h.uint8array + ? new Uint8Array( + e.length, + ) + : new Array(e.length), + ))), + t) + : l.Promise.reject( + new Error( + "Can't read the data of '" + + i + + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?", + ), + ); + }); + }); + }, + { + './base64': 1, + './external': 6, + './nodejsUtils': 14, + './support': 30, + 'set-immediate-shim': 54, + }, + ], + 33: [ + function (t, e, r) { + 'use strict'; + var i = t('./reader/readerFor'), + n = t('./utils'), + s = t('./signature'), + a = t('./zipEntry'), + o = (t('./utf8'), t('./support')); + function h(t) { + (this.files = []), (this.loadOptions = t); + } + (h.prototype = { + checkSignature: function (t) { + if ( + !this.reader.readAndCheckSignature(t) + ) { + this.reader.index -= 4; + var e = this.reader.readString(4); + throw new Error( + 'Corrupted zip or bug: unexpected signature (' + + n.pretty(e) + + ', expected ' + + n.pretty(t) + + ')', + ); + } + }, + isSignature: function (t, e) { + var r = this.reader.index; + this.reader.setIndex(t); + var i = this.reader.readString(4) === e; + return this.reader.setIndex(r), i; + }, + readBlockEndOfCentral: function () { + (this.diskNumber = + this.reader.readInt(2)), + (this.diskWithCentralDirStart = + this.reader.readInt(2)), + (this.centralDirRecordsOnThisDisk = + this.reader.readInt(2)), + (this.centralDirRecords = + this.reader.readInt(2)), + (this.centralDirSize = + this.reader.readInt(4)), + (this.centralDirOffset = + this.reader.readInt(4)), + (this.zipCommentLength = + this.reader.readInt(2)); + var t = this.reader.readData( + this.zipCommentLength, + ), + e = o.uint8array + ? 'uint8array' + : 'array', + r = n.transformTo(e, t); + this.zipComment = + this.loadOptions.decodeFileName(r); + }, + readBlockZip64EndOfCentral: function () { + (this.zip64EndOfCentralSize = + this.reader.readInt(8)), + this.reader.skip(4), + (this.diskNumber = + this.reader.readInt(4)), + (this.diskWithCentralDirStart = + this.reader.readInt(4)), + (this.centralDirRecordsOnThisDisk = + this.reader.readInt(8)), + (this.centralDirRecords = + this.reader.readInt(8)), + (this.centralDirSize = + this.reader.readInt(8)), + (this.centralDirOffset = + this.reader.readInt(8)), + (this.zip64ExtensibleData = {}); + for ( + var t, + e, + r, + i = this.zip64EndOfCentralSize - 44; + 0 < i; + + ) + (t = this.reader.readInt(2)), + (e = this.reader.readInt(4)), + (r = this.reader.readData(e)), + (this.zip64ExtensibleData[t] = { + id: t, + length: e, + value: r, + }); + }, + readBlockZip64EndOfCentralLocator: + function () { + if ( + ((this.diskWithZip64CentralDirStart = + this.reader.readInt(4)), + (this.relativeOffsetEndOfZip64CentralDir = + this.reader.readInt(8)), + (this.disksCount = + this.reader.readInt(4)), + 1 < this.disksCount) + ) + throw new Error( + 'Multi-volumes zip are not supported', + ); + }, + readLocalFiles: function () { + var t, e; + for (t = 0; t < this.files.length; t++) + (e = this.files[t]), + this.reader.setIndex( + e.localHeaderOffset, + ), + this.checkSignature( + s.LOCAL_FILE_HEADER, + ), + e.readLocalPart(this.reader), + e.handleUTF8(), + e.processAttributes(); + }, + readCentralDir: function () { + var t; + for ( + this.reader.setIndex( + this.centralDirOffset, + ); + this.reader.readAndCheckSignature( + s.CENTRAL_FILE_HEADER, + ); + + ) + (t = new a( + {zip64: this.zip64}, + this.loadOptions, + )).readCentralPart(this.reader), + this.files.push(t); + if ( + this.centralDirRecords !== + this.files.length && + 0 !== this.centralDirRecords && + 0 === this.files.length + ) + throw new Error( + 'Corrupted zip or bug: expected ' + + this.centralDirRecords + + ' records in central dir, got ' + + this.files.length, + ); + }, + readEndOfCentral: function () { + var t = this.reader.lastIndexOfSignature( + s.CENTRAL_DIRECTORY_END, + ); + if (t < 0) + throw this.isSignature( + 0, + s.LOCAL_FILE_HEADER, + ) + ? new Error( + "Corrupted zip: can't find end of central directory", + ) + : new Error( + "Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html", + ); + this.reader.setIndex(t); + var e = t; + if ( + (this.checkSignature( + s.CENTRAL_DIRECTORY_END, + ), + this.readBlockEndOfCentral(), + this.diskNumber === + n.MAX_VALUE_16BITS || + this.diskWithCentralDirStart === + n.MAX_VALUE_16BITS || + this.centralDirRecordsOnThisDisk === + n.MAX_VALUE_16BITS || + this.centralDirRecords === + n.MAX_VALUE_16BITS || + this.centralDirSize === + n.MAX_VALUE_32BITS || + this.centralDirOffset === + n.MAX_VALUE_32BITS) + ) { + if ( + ((this.zip64 = !0), + (t = this.reader.lastIndexOfSignature( + s.ZIP64_CENTRAL_DIRECTORY_LOCATOR, + )) < 0) + ) + throw new Error( + "Corrupted zip: can't find the ZIP64 end of central directory locator", + ); + if ( + (this.reader.setIndex(t), + this.checkSignature( + s.ZIP64_CENTRAL_DIRECTORY_LOCATOR, + ), + this.readBlockZip64EndOfCentralLocator(), + !this.isSignature( + this + .relativeOffsetEndOfZip64CentralDir, + s.ZIP64_CENTRAL_DIRECTORY_END, + ) && + ((this.relativeOffsetEndOfZip64CentralDir = + this.reader.lastIndexOfSignature( + s.ZIP64_CENTRAL_DIRECTORY_END, + )), + this + .relativeOffsetEndOfZip64CentralDir < + 0)) + ) + throw new Error( + "Corrupted zip: can't find the ZIP64 end of central directory", + ); + this.reader.setIndex( + this + .relativeOffsetEndOfZip64CentralDir, + ), + this.checkSignature( + s.ZIP64_CENTRAL_DIRECTORY_END, + ), + this.readBlockZip64EndOfCentral(); + } + var r = + this.centralDirOffset + + this.centralDirSize; + this.zip64 && + ((r += 20), + (r += 12 + this.zip64EndOfCentralSize)); + var i = e - r; + if (0 < i) + this.isSignature( + e, + s.CENTRAL_FILE_HEADER, + ) || (this.reader.zero = i); + else if (i < 0) + throw new Error( + 'Corrupted zip: missing ' + + Math.abs(i) + + ' bytes.', + ); + }, + prepareReader: function (t) { + this.reader = i(t); + }, + load: function (t) { + this.prepareReader(t), + this.readEndOfCentral(), + this.readCentralDir(), + this.readLocalFiles(); + }, + }), + (e.exports = h); + }, + { + './reader/readerFor': 22, + './signature': 23, + './support': 30, + './utf8': 31, + './utils': 32, + './zipEntry': 34, + }, + ], + 34: [ + function (t, e, r) { + 'use strict'; + var i = t('./reader/readerFor'), + s = t('./utils'), + n = t('./compressedObject'), + a = t('./crc32'), + o = t('./utf8'), + h = t('./compressions'), + u = t('./support'); + function l(t, e) { + (this.options = t), (this.loadOptions = e); + } + (l.prototype = { + isEncrypted: function () { + return 1 == (1 & this.bitFlag); + }, + useUTF8: function () { + return 2048 == (2048 & this.bitFlag); + }, + readLocalPart: function (t) { + var e, r; + if ( + (t.skip(22), + (this.fileNameLength = t.readInt(2)), + (r = t.readInt(2)), + (this.fileName = t.readData( + this.fileNameLength, + )), + t.skip(r), + -1 === this.compressedSize || + -1 === this.uncompressedSize) + ) + throw new Error( + "Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)", + ); + if ( + null === + (e = (function (t) { + for (var e in h) + if ( + h.hasOwnProperty(e) && + h[e].magic === t + ) + return h[e]; + return null; + })(this.compressionMethod)) + ) + throw new Error( + 'Corrupted zip : compression ' + + s.pretty(this.compressionMethod) + + ' unknown (inner file : ' + + s.transformTo( + 'string', + this.fileName, + ) + + ')', + ); + this.decompressed = new n( + this.compressedSize, + this.uncompressedSize, + this.crc32, + e, + t.readData(this.compressedSize), + ); + }, + readCentralPart: function (t) { + (this.versionMadeBy = t.readInt(2)), + t.skip(2), + (this.bitFlag = t.readInt(2)), + (this.compressionMethod = + t.readString(2)), + (this.date = t.readDate()), + (this.crc32 = t.readInt(4)), + (this.compressedSize = t.readInt(4)), + (this.uncompressedSize = t.readInt(4)); + var e = t.readInt(2); + if ( + ((this.extraFieldsLength = + t.readInt(2)), + (this.fileCommentLength = t.readInt(2)), + (this.diskNumberStart = t.readInt(2)), + (this.internalFileAttributes = + t.readInt(2)), + (this.externalFileAttributes = + t.readInt(4)), + (this.localHeaderOffset = t.readInt(4)), + this.isEncrypted()) + ) + throw new Error( + 'Encrypted zip are not supported', + ); + t.skip(e), + this.readExtraFields(t), + this.parseZIP64ExtraField(t), + (this.fileComment = t.readData( + this.fileCommentLength, + )); + }, + processAttributes: function () { + (this.unixPermissions = null), + (this.dosPermissions = null); + var t = this.versionMadeBy >> 8; + (this.dir = !!( + 16 & this.externalFileAttributes + )), + 0 == t && + (this.dosPermissions = + 63 & this.externalFileAttributes), + 3 == t && + (this.unixPermissions = + (this.externalFileAttributes >> + 16) & + 65535), + this.dir || + '/' !== this.fileNameStr.slice(-1) || + (this.dir = !0); + }, + parseZIP64ExtraField: function (t) { + if (this.extraFields[1]) { + var e = i(this.extraFields[1].value); + this.uncompressedSize === + s.MAX_VALUE_32BITS && + (this.uncompressedSize = + e.readInt(8)), + this.compressedSize === + s.MAX_VALUE_32BITS && + (this.compressedSize = + e.readInt(8)), + this.localHeaderOffset === + s.MAX_VALUE_32BITS && + (this.localHeaderOffset = + e.readInt(8)), + this.diskNumberStart === + s.MAX_VALUE_32BITS && + (this.diskNumberStart = + e.readInt(4)); + } + }, + readExtraFields: function (t) { + var e, + r, + i, + n = t.index + this.extraFieldsLength; + for ( + this.extraFields || + (this.extraFields = {}); + t.index + 4 < n; + + ) + (e = t.readInt(2)), + (r = t.readInt(2)), + (i = t.readData(r)), + (this.extraFields[e] = { + id: e, + length: r, + value: i, + }); + t.setIndex(n); + }, + handleUTF8: function () { + var t = u.uint8array + ? 'uint8array' + : 'array'; + if (this.useUTF8()) + (this.fileNameStr = o.utf8decode( + this.fileName, + )), + (this.fileCommentStr = o.utf8decode( + this.fileComment, + )); + else { + var e = + this.findExtraFieldUnicodePath(); + if (null !== e) this.fileNameStr = e; + else { + var r = s.transformTo( + t, + this.fileName, + ); + this.fileNameStr = + this.loadOptions.decodeFileName(r); + } + var i = + this.findExtraFieldUnicodeComment(); + if (null !== i) this.fileCommentStr = i; + else { + var n = s.transformTo( + t, + this.fileComment, + ); + this.fileCommentStr = + this.loadOptions.decodeFileName(n); + } + } + }, + findExtraFieldUnicodePath: function () { + var t = this.extraFields[28789]; + if (t) { + var e = i(t.value); + return 1 !== e.readInt(1) + ? null + : a(this.fileName) !== e.readInt(4) + ? null + : o.utf8decode( + e.readData(t.length - 5), + ); + } + return null; + }, + findExtraFieldUnicodeComment: function () { + var t = this.extraFields[25461]; + if (t) { + var e = i(t.value); + return 1 !== e.readInt(1) + ? null + : a(this.fileComment) !== e.readInt(4) + ? null + : o.utf8decode( + e.readData(t.length - 5), + ); + } + return null; + }, + }), + (e.exports = l); + }, + { + './compressedObject': 2, + './compressions': 3, + './crc32': 4, + './reader/readerFor': 22, + './support': 30, + './utf8': 31, + './utils': 32, + }, + ], + 35: [ + function (t, e, r) { + 'use strict'; + function i(t, e, r) { + (this.name = t), + (this.dir = r.dir), + (this.date = r.date), + (this.comment = r.comment), + (this.unixPermissions = + r.unixPermissions), + (this.dosPermissions = r.dosPermissions), + (this._data = e), + (this._dataBinary = r.binary), + (this.options = { + compression: r.compression, + compressionOptions: + r.compressionOptions, + }); + } + var s = t('./stream/StreamHelper'), + n = t('./stream/DataWorker'), + a = t('./utf8'), + o = t('./compressedObject'), + h = t('./stream/GenericWorker'); + i.prototype = { + internalStream: function (t) { + var e = null, + r = 'string'; + try { + if (!t) + throw new Error( + 'No output type specified.', + ); + var i = + 'string' === (r = t.toLowerCase()) || + 'text' === r; + ('binarystring' !== r && + 'text' !== r) || + (r = 'string'), + (e = this._decompressWorker()); + var n = !this._dataBinary; + n && + !i && + (e = e.pipe( + new a.Utf8EncodeWorker(), + )), + !n && + i && + (e = e.pipe( + new a.Utf8DecodeWorker(), + )); + } catch (t) { + (e = new h('error')).error(t); + } + return new s(e, r, ''); + }, + async: function (t, e) { + return this.internalStream(t).accumulate( + e, + ); + }, + nodeStream: function (t, e) { + return this.internalStream( + t || 'nodebuffer', + ).toNodejsStream(e); + }, + _compressWorker: function (t, e) { + if ( + this._data instanceof o && + this._data.compression.magic === t.magic + ) + return this._data.getCompressedWorker(); + var r = this._decompressWorker(); + return ( + this._dataBinary || + (r = r.pipe( + new a.Utf8EncodeWorker(), + )), + o.createWorkerFrom(r, t, e) + ); + }, + _decompressWorker: function () { + return this._data instanceof o + ? this._data.getContentWorker() + : this._data instanceof h + ? this._data + : new n(this._data); + }, + }; + for ( + var u = [ + 'asText', + 'asBinary', + 'asNodeBuffer', + 'asUint8Array', + 'asArrayBuffer', + ], + l = function () { + throw new Error( + 'This method has been removed in JSZip 3.0, please check the upgrade guide.', + ); + }, + f = 0; + f < u.length; + f++ + ) + i.prototype[u[f]] = l; + e.exports = i; + }, + { + './compressedObject': 2, + './stream/DataWorker': 27, + './stream/GenericWorker': 28, + './stream/StreamHelper': 29, + './utf8': 31, + }, + ], + 36: [ + function (t, l, e) { + (function (e) { + 'use strict'; + var r, + i, + t = + e.MutationObserver || + e.WebKitMutationObserver; + if (t) { + var n = 0, + s = new t(u), + a = e.document.createTextNode(''); + s.observe(a, {characterData: !0}), + (r = function () { + a.data = n = ++n % 2; + }); + } else if ( + e.setImmediate || + void 0 === e.MessageChannel + ) + r = + 'document' in e && + 'onreadystatechange' in + e.document.createElement('script') + ? function () { + var t = + e.document.createElement( + 'script', + ); + (t.onreadystatechange = + function () { + u(), + (t.onreadystatechange = + null), + t.parentNode.removeChild(t), + (t = null); + }), + e.document.documentElement.appendChild( + t, + ); + } + : function () { + setTimeout(u, 0); + }; + else { + var o = new e.MessageChannel(); + (o.port1.onmessage = u), + (r = function () { + o.port2.postMessage(0); + }); + } + var h = []; + function u() { + var t, e; + i = !0; + for (var r = h.length; r; ) { + for (e = h, h = [], t = -1; ++t < r; ) + e[t](); + r = h.length; + } + i = !1; + } + l.exports = function (t) { + 1 !== h.push(t) || i || r(); + }; + }).call( + this, + void 0 !== r + ? r + : 'undefined' != typeof self + ? self + : 'undefined' != typeof window + ? window + : {}, + ); + }, + {}, + ], + 37: [ + function (t, e, r) { + 'use strict'; + var n = t('immediate'); + function u() {} + var l = {}, + s = ['REJECTED'], + a = ['FULFILLED'], + i = ['PENDING']; + function o(t) { + if ('function' != typeof t) + throw new TypeError( + 'resolver must be a function', + ); + (this.state = i), + (this.queue = []), + (this.outcome = void 0), + t !== u && c(this, t); + } + function h(t, e, r) { + (this.promise = t), + 'function' == typeof e && + ((this.onFulfilled = e), + (this.callFulfilled = + this.otherCallFulfilled)), + 'function' == typeof r && + ((this.onRejected = r), + (this.callRejected = + this.otherCallRejected)); + } + function f(e, r, i) { + n(function () { + var t; + try { + t = r(i); + } catch (t) { + return l.reject(e, t); + } + t === e + ? l.reject( + e, + new TypeError( + 'Cannot resolve promise with itself', + ), + ) + : l.resolve(e, t); + }); + } + function d(t) { + var e = t && t.then; + if ( + t && + ('object' == typeof t || + 'function' == typeof t) && + 'function' == typeof e + ) + return function () { + e.apply(t, arguments); + }; + } + function c(e, t) { + var r = !1; + function i(t) { + r || ((r = !0), l.reject(e, t)); + } + function n(t) { + r || ((r = !0), l.resolve(e, t)); + } + var s = p(function () { + t(n, i); + }); + 'error' === s.status && i(s.value); + } + function p(t, e) { + var r = {}; + try { + (r.value = t(e)), (r.status = 'success'); + } catch (t) { + (r.status = 'error'), (r.value = t); + } + return r; + } + ((e.exports = o).prototype.finally = + function (e) { + if ('function' != typeof e) return this; + var r = this.constructor; + return this.then( + function (t) { + return r + .resolve(e()) + .then(function () { + return t; + }); + }, + function (t) { + return r + .resolve(e()) + .then(function () { + throw t; + }); + }, + ); + }), + (o.prototype.catch = function (t) { + return this.then(null, t); + }), + (o.prototype.then = function (t, e) { + if ( + ('function' != typeof t && + this.state === a) || + ('function' != typeof e && + this.state === s) + ) + return this; + var r = new this.constructor(u); + return ( + this.state !== i + ? f( + r, + this.state === a ? t : e, + this.outcome, + ) + : this.queue.push(new h(r, t, e)), + r + ); + }), + (h.prototype.callFulfilled = function (t) { + l.resolve(this.promise, t); + }), + (h.prototype.otherCallFulfilled = function ( + t, + ) { + f(this.promise, this.onFulfilled, t); + }), + (h.prototype.callRejected = function (t) { + l.reject(this.promise, t); + }), + (h.prototype.otherCallRejected = function ( + t, + ) { + f(this.promise, this.onRejected, t); + }), + (l.resolve = function (t, e) { + var r = p(d, e); + if ('error' === r.status) + return l.reject(t, r.value); + var i = r.value; + if (i) c(t, i); + else { + (t.state = a), (t.outcome = e); + for ( + var n = -1, s = t.queue.length; + ++n < s; + + ) + t.queue[n].callFulfilled(e); + } + return t; + }), + (l.reject = function (t, e) { + (t.state = s), (t.outcome = e); + for ( + var r = -1, i = t.queue.length; + ++r < i; + + ) + t.queue[r].callRejected(e); + return t; + }), + (o.resolve = function (t) { + return t instanceof this + ? t + : l.resolve(new this(u), t); + }), + (o.reject = function (t) { + var e = new this(u); + return l.reject(e, t); + }), + (o.all = function (t) { + var r = this; + if ( + '[object Array]' !== + Object.prototype.toString.call(t) + ) + return this.reject( + new TypeError('must be an array'), + ); + var i = t.length, + n = !1; + if (!i) return this.resolve([]); + for ( + var s = new Array(i), + a = 0, + e = -1, + o = new this(u); + ++e < i; + + ) + h(t[e], e); + return o; + function h(t, e) { + r.resolve(t).then( + function (t) { + (s[e] = t), + ++a !== i || + n || + ((n = !0), l.resolve(o, s)); + }, + function (t) { + n || ((n = !0), l.reject(o, t)); + }, + ); + } + }), + (o.race = function (t) { + if ( + '[object Array]' !== + Object.prototype.toString.call(t) + ) + return this.reject( + new TypeError('must be an array'), + ); + var e = t.length, + r = !1; + if (!e) return this.resolve([]); + for ( + var i, n = -1, s = new this(u); + ++n < e; + + ) + (i = t[n]), + this.resolve(i).then( + function (t) { + r || ((r = !0), l.resolve(s, t)); + }, + function (t) { + r || ((r = !0), l.reject(s, t)); + }, + ); + return s; + }); + }, + {immediate: 36}, + ], + 38: [ + function (t, e, r) { + 'use strict'; + var i = {}; + (0, t('./lib/utils/common').assign)( + i, + t('./lib/deflate'), + t('./lib/inflate'), + t('./lib/zlib/constants'), + ), + (e.exports = i); + }, + { + './lib/deflate': 39, + './lib/inflate': 40, + './lib/utils/common': 41, + './lib/zlib/constants': 44, + }, + ], + 39: [ + function (t, e, r) { + 'use strict'; + var a = t('./zlib/deflate'), + o = t('./utils/common'), + h = t('./utils/strings'), + n = t('./zlib/messages'), + s = t('./zlib/zstream'), + u = Object.prototype.toString, + l = 0, + f = -1, + d = 0, + c = 8; + function p(t) { + if (!(this instanceof p)) return new p(t); + this.options = o.assign( + { + level: f, + method: c, + chunkSize: 16384, + windowBits: 15, + memLevel: 8, + strategy: d, + to: '', + }, + t || {}, + ); + var e = this.options; + e.raw && 0 < e.windowBits + ? (e.windowBits = -e.windowBits) + : e.gzip && + 0 < e.windowBits && + e.windowBits < 16 && + (e.windowBits += 16), + (this.err = 0), + (this.msg = ''), + (this.ended = !1), + (this.chunks = []), + (this.strm = new s()), + (this.strm.avail_out = 0); + var r = a.deflateInit2( + this.strm, + e.level, + e.method, + e.windowBits, + e.memLevel, + e.strategy, + ); + if (r !== l) throw new Error(n[r]); + if ( + (e.header && + a.deflateSetHeader(this.strm, e.header), + e.dictionary) + ) { + var i; + if ( + ((i = + 'string' == typeof e.dictionary + ? h.string2buf(e.dictionary) + : '[object ArrayBuffer]' === + u.call(e.dictionary) + ? new Uint8Array(e.dictionary) + : e.dictionary), + (r = a.deflateSetDictionary( + this.strm, + i, + )) !== l) + ) + throw new Error(n[r]); + this._dict_set = !0; + } + } + function i(t, e) { + var r = new p(e); + if ((r.push(t, !0), r.err)) + throw r.msg || n[r.err]; + return r.result; + } + (p.prototype.push = function (t, e) { + var r, + i, + n = this.strm, + s = this.options.chunkSize; + if (this.ended) return !1; + (i = e === ~~e ? e : !0 === e ? 4 : 0), + 'string' == typeof t + ? (n.input = h.string2buf(t)) + : '[object ArrayBuffer]' === u.call(t) + ? (n.input = new Uint8Array(t)) + : (n.input = t), + (n.next_in = 0), + (n.avail_in = n.input.length); + do { + if ( + (0 === n.avail_out && + ((n.output = new o.Buf8(s)), + (n.next_out = 0), + (n.avail_out = s)), + 1 !== (r = a.deflate(n, i)) && r !== l) + ) + return ( + this.onEnd(r), !(this.ended = !0) + ); + (0 !== n.avail_out && + (0 !== n.avail_in || + (4 !== i && 2 !== i))) || + ('string' === this.options.to + ? this.onData( + h.buf2binstring( + o.shrinkBuf( + n.output, + n.next_out, + ), + ), + ) + : this.onData( + o.shrinkBuf(n.output, n.next_out), + )); + } while ( + (0 < n.avail_in || 0 === n.avail_out) && + 1 !== r + ); + return 4 === i + ? ((r = a.deflateEnd(this.strm)), + this.onEnd(r), + (this.ended = !0), + r === l) + : 2 !== i || + (this.onEnd(l), !(n.avail_out = 0)); + }), + (p.prototype.onData = function (t) { + this.chunks.push(t); + }), + (p.prototype.onEnd = function (t) { + t === l && + ('string' === this.options.to + ? (this.result = this.chunks.join('')) + : (this.result = o.flattenChunks( + this.chunks, + ))), + (this.chunks = []), + (this.err = t), + (this.msg = this.strm.msg); + }), + (r.Deflate = p), + (r.deflate = i), + (r.deflateRaw = function (t, e) { + return ((e = e || {}).raw = !0), i(t, e); + }), + (r.gzip = function (t, e) { + return ((e = e || {}).gzip = !0), i(t, e); + }); + }, + { + './utils/common': 41, + './utils/strings': 42, + './zlib/deflate': 46, + './zlib/messages': 51, + './zlib/zstream': 53, + }, + ], + 40: [ + function (t, e, r) { + 'use strict'; + var d = t('./zlib/inflate'), + c = t('./utils/common'), + p = t('./utils/strings'), + m = t('./zlib/constants'), + i = t('./zlib/messages'), + n = t('./zlib/zstream'), + s = t('./zlib/gzheader'), + _ = Object.prototype.toString; + function a(t) { + if (!(this instanceof a)) return new a(t); + this.options = c.assign( + {chunkSize: 16384, windowBits: 0, to: ''}, + t || {}, + ); + var e = this.options; + e.raw && + 0 <= e.windowBits && + e.windowBits < 16 && + ((e.windowBits = -e.windowBits), + 0 === e.windowBits && + (e.windowBits = -15)), + !( + 0 <= e.windowBits && e.windowBits < 16 + ) || + (t && t.windowBits) || + (e.windowBits += 32), + 15 < e.windowBits && + e.windowBits < 48 && + 0 == (15 & e.windowBits) && + (e.windowBits |= 15), + (this.err = 0), + (this.msg = ''), + (this.ended = !1), + (this.chunks = []), + (this.strm = new n()), + (this.strm.avail_out = 0); + var r = d.inflateInit2( + this.strm, + e.windowBits, + ); + if (r !== m.Z_OK) throw new Error(i[r]); + (this.header = new s()), + d.inflateGetHeader( + this.strm, + this.header, + ); + } + function o(t, e) { + var r = new a(e); + if ((r.push(t, !0), r.err)) + throw r.msg || i[r.err]; + return r.result; + } + (a.prototype.push = function (t, e) { + var r, + i, + n, + s, + a, + o, + h = this.strm, + u = this.options.chunkSize, + l = this.options.dictionary, + f = !1; + if (this.ended) return !1; + (i = + e === ~~e + ? e + : !0 === e + ? m.Z_FINISH + : m.Z_NO_FLUSH), + 'string' == typeof t + ? (h.input = p.binstring2buf(t)) + : '[object ArrayBuffer]' === _.call(t) + ? (h.input = new Uint8Array(t)) + : (h.input = t), + (h.next_in = 0), + (h.avail_in = h.input.length); + do { + if ( + (0 === h.avail_out && + ((h.output = new c.Buf8(u)), + (h.next_out = 0), + (h.avail_out = u)), + (r = d.inflate(h, m.Z_NO_FLUSH)) === + m.Z_NEED_DICT && + l && + ((o = + 'string' == typeof l + ? p.string2buf(l) + : '[object ArrayBuffer]' === + _.call(l) + ? new Uint8Array(l) + : l), + (r = d.inflateSetDictionary( + this.strm, + o, + ))), + r === m.Z_BUF_ERROR && + !0 === f && + ((r = m.Z_OK), (f = !1)), + r !== m.Z_STREAM_END && r !== m.Z_OK) + ) + return ( + this.onEnd(r), !(this.ended = !0) + ); + h.next_out && + ((0 !== h.avail_out && + r !== m.Z_STREAM_END && + (0 !== h.avail_in || + (i !== m.Z_FINISH && + i !== m.Z_SYNC_FLUSH))) || + ('string' === this.options.to + ? ((n = p.utf8border( + h.output, + h.next_out, + )), + (s = h.next_out - n), + (a = p.buf2string(h.output, n)), + (h.next_out = s), + (h.avail_out = u - s), + s && + c.arraySet( + h.output, + h.output, + n, + s, + 0, + ), + this.onData(a)) + : this.onData( + c.shrinkBuf( + h.output, + h.next_out, + ), + ))), + 0 === h.avail_in && + 0 === h.avail_out && + (f = !0); + } while ( + (0 < h.avail_in || 0 === h.avail_out) && + r !== m.Z_STREAM_END + ); + return ( + r === m.Z_STREAM_END && (i = m.Z_FINISH), + i === m.Z_FINISH + ? ((r = d.inflateEnd(this.strm)), + this.onEnd(r), + (this.ended = !0), + r === m.Z_OK) + : i !== m.Z_SYNC_FLUSH || + (this.onEnd(m.Z_OK), + !(h.avail_out = 0)) + ); + }), + (a.prototype.onData = function (t) { + this.chunks.push(t); + }), + (a.prototype.onEnd = function (t) { + t === m.Z_OK && + ('string' === this.options.to + ? (this.result = this.chunks.join('')) + : (this.result = c.flattenChunks( + this.chunks, + ))), + (this.chunks = []), + (this.err = t), + (this.msg = this.strm.msg); + }), + (r.Inflate = a), + (r.inflate = o), + (r.inflateRaw = function (t, e) { + return ((e = e || {}).raw = !0), o(t, e); + }), + (r.ungzip = o); + }, + { + './utils/common': 41, + './utils/strings': 42, + './zlib/constants': 44, + './zlib/gzheader': 47, + './zlib/inflate': 49, + './zlib/messages': 51, + './zlib/zstream': 53, + }, + ], + 41: [ + function (t, e, r) { + 'use strict'; + var i = + 'undefined' != typeof Uint8Array && + 'undefined' != typeof Uint16Array && + 'undefined' != typeof Int32Array; + (r.assign = function (t) { + for ( + var e = Array.prototype.slice.call( + arguments, + 1, + ); + e.length; + + ) { + var r = e.shift(); + if (r) { + if ('object' != typeof r) + throw new TypeError( + r + 'must be non-object', + ); + for (var i in r) + r.hasOwnProperty(i) && (t[i] = r[i]); + } + } + return t; + }), + (r.shrinkBuf = function (t, e) { + return t.length === e + ? t + : t.subarray + ? t.subarray(0, e) + : ((t.length = e), t); + }); + var n = { + arraySet: function (t, e, r, i, n) { + if (e.subarray && t.subarray) + t.set(e.subarray(r, r + i), n); + else + for (var s = 0; s < i; s++) + t[n + s] = e[r + s]; + }, + flattenChunks: function (t) { + var e, r, i, n, s, a; + for ( + e = i = 0, r = t.length; + e < r; + e++ + ) + i += t[e].length; + for ( + a = new Uint8Array(i), + e = n = 0, + r = t.length; + e < r; + e++ + ) + (s = t[e]), + a.set(s, n), + (n += s.length); + return a; + }, + }, + s = { + arraySet: function (t, e, r, i, n) { + for (var s = 0; s < i; s++) + t[n + s] = e[r + s]; + }, + flattenChunks: function (t) { + return [].concat.apply([], t); + }, + }; + (r.setTyped = function (t) { + t + ? ((r.Buf8 = Uint8Array), + (r.Buf16 = Uint16Array), + (r.Buf32 = Int32Array), + r.assign(r, n)) + : ((r.Buf8 = Array), + (r.Buf16 = Array), + (r.Buf32 = Array), + r.assign(r, s)); + }), + r.setTyped(i); + }, + {}, + ], + 42: [ + function (t, e, r) { + 'use strict'; + var h = t('./common'), + n = !0, + s = !0; + try { + String.fromCharCode.apply(null, [0]); + } catch (t) { + n = !1; + } + try { + String.fromCharCode.apply( + null, + new Uint8Array(1), + ); + } catch (t) { + s = !1; + } + for ( + var u = new h.Buf8(256), i = 0; + i < 256; + i++ + ) + u[i] = + 252 <= i + ? 6 + : 248 <= i + ? 5 + : 240 <= i + ? 4 + : 224 <= i + ? 3 + : 192 <= i + ? 2 + : 1; + function l(t, e) { + if ( + e < 65537 && + ((t.subarray && s) || (!t.subarray && n)) + ) + return String.fromCharCode.apply( + null, + h.shrinkBuf(t, e), + ); + for (var r = '', i = 0; i < e; i++) + r += String.fromCharCode(t[i]); + return r; + } + (u[254] = u[254] = 1), + (r.string2buf = function (t) { + var e, + r, + i, + n, + s, + a = t.length, + o = 0; + for (n = 0; n < a; n++) + 55296 == + (64512 & (r = t.charCodeAt(n))) && + n + 1 < a && + 56320 == + (64512 & + (i = t.charCodeAt(n + 1))) && + ((r = + 65536 + + ((r - 55296) << 10) + + (i - 56320)), + n++), + (o += + r < 128 + ? 1 + : r < 2048 + ? 2 + : r < 65536 + ? 3 + : 4); + for ( + e = new h.Buf8(o), n = s = 0; + s < o; + n++ + ) + 55296 == + (64512 & (r = t.charCodeAt(n))) && + n + 1 < a && + 56320 == + (64512 & + (i = t.charCodeAt(n + 1))) && + ((r = + 65536 + + ((r - 55296) << 10) + + (i - 56320)), + n++), + r < 128 + ? (e[s++] = r) + : (r < 2048 + ? (e[s++] = 192 | (r >>> 6)) + : (r < 65536 + ? (e[s++] = + 224 | (r >>> 12)) + : ((e[s++] = + 240 | (r >>> 18)), + (e[s++] = + 128 | + ((r >>> 12) & 63))), + (e[s++] = + 128 | ((r >>> 6) & 63))), + (e[s++] = 128 | (63 & r))); + return e; + }), + (r.buf2binstring = function (t) { + return l(t, t.length); + }), + (r.binstring2buf = function (t) { + for ( + var e = new h.Buf8(t.length), + r = 0, + i = e.length; + r < i; + r++ + ) + e[r] = t.charCodeAt(r); + return e; + }), + (r.buf2string = function (t, e) { + var r, + i, + n, + s, + a = e || t.length, + o = new Array(2 * a); + for (r = i = 0; r < a; ) + if ((n = t[r++]) < 128) o[i++] = n; + else if (4 < (s = u[n])) + (o[i++] = 65533), (r += s - 1); + else { + for ( + n &= + 2 === s ? 31 : 3 === s ? 15 : 7; + 1 < s && r < a; + + ) + (n = (n << 6) | (63 & t[r++])), s--; + 1 < s + ? (o[i++] = 65533) + : n < 65536 + ? (o[i++] = n) + : ((n -= 65536), + (o[i++] = + 55296 | ((n >> 10) & 1023)), + (o[i++] = 56320 | (1023 & n))); + } + return l(o, i); + }), + (r.utf8border = function (t, e) { + var r; + for ( + (e = e || t.length) > t.length && + (e = t.length), + r = e - 1; + 0 <= r && 128 == (192 & t[r]); + + ) + r--; + return r < 0 + ? e + : 0 === r + ? e + : r + u[t[r]] > e + ? r + : e; + }); + }, + {'./common': 41}, + ], + 43: [ + function (t, e, r) { + 'use strict'; + e.exports = function (t, e, r, i) { + for ( + var n = (65535 & t) | 0, + s = ((t >>> 16) & 65535) | 0, + a = 0; + 0 !== r; + + ) { + for ( + r -= a = 2e3 < r ? 2e3 : r; + (s = (s + (n = (n + e[i++]) | 0)) | 0), + --a; + + ); + (n %= 65521), (s %= 65521); + } + return n | (s << 16) | 0; + }; + }, + {}, + ], + 44: [ + function (t, e, r) { + 'use strict'; + e.exports = { + Z_NO_FLUSH: 0, + Z_PARTIAL_FLUSH: 1, + Z_SYNC_FLUSH: 2, + Z_FULL_FLUSH: 3, + Z_FINISH: 4, + Z_BLOCK: 5, + Z_TREES: 6, + Z_OK: 0, + Z_STREAM_END: 1, + Z_NEED_DICT: 2, + Z_ERRNO: -1, + Z_STREAM_ERROR: -2, + Z_DATA_ERROR: -3, + Z_BUF_ERROR: -5, + Z_NO_COMPRESSION: 0, + Z_BEST_SPEED: 1, + Z_BEST_COMPRESSION: 9, + Z_DEFAULT_COMPRESSION: -1, + Z_FILTERED: 1, + Z_HUFFMAN_ONLY: 2, + Z_RLE: 3, + Z_FIXED: 4, + Z_DEFAULT_STRATEGY: 0, + Z_BINARY: 0, + Z_TEXT: 1, + Z_UNKNOWN: 2, + Z_DEFLATED: 8, + }; + }, + {}, + ], + 45: [ + function (t, e, r) { + 'use strict'; + var o = (function () { + for (var t, e = [], r = 0; r < 256; r++) { + t = r; + for (var i = 0; i < 8; i++) + t = + 1 & t + ? 3988292384 ^ (t >>> 1) + : t >>> 1; + e[r] = t; + } + return e; + })(); + e.exports = function (t, e, r, i) { + var n = o, + s = i + r; + t ^= -1; + for (var a = i; a < s; a++) + t = (t >>> 8) ^ n[255 & (t ^ e[a])]; + return -1 ^ t; + }; + }, + {}, + ], + 46: [ + function (t, e, r) { + 'use strict'; + var h, + d = t('../utils/common'), + u = t('./trees'), + c = t('./adler32'), + p = t('./crc32'), + i = t('./messages'), + l = 0, + f = 0, + m = -2, + n = 2, + _ = 8, + s = 286, + a = 30, + o = 19, + g = 2 * s + 1, + b = 15, + v = 3, + y = 258, + w = y + v + 1, + k = 42, + x = 113; + function S(t, e) { + return (t.msg = i[e]), e; + } + function z(t) { + return (t << 1) - (4 < t ? 9 : 0); + } + function C(t) { + for (var e = t.length; 0 <= --e; ) t[e] = 0; + } + function E(t) { + var e = t.state, + r = e.pending; + r > t.avail_out && (r = t.avail_out), + 0 !== r && + (d.arraySet( + t.output, + e.pending_buf, + e.pending_out, + r, + t.next_out, + ), + (t.next_out += r), + (e.pending_out += r), + (t.total_out += r), + (t.avail_out -= r), + (e.pending -= r), + 0 === e.pending && (e.pending_out = 0)); + } + function A(t, e) { + u._tr_flush_block( + t, + 0 <= t.block_start ? t.block_start : -1, + t.strstart - t.block_start, + e, + ), + (t.block_start = t.strstart), + E(t.strm); + } + function I(t, e) { + t.pending_buf[t.pending++] = e; + } + function O(t, e) { + (t.pending_buf[t.pending++] = + (e >>> 8) & 255), + (t.pending_buf[t.pending++] = 255 & e); + } + function B(t, e) { + var r, + i, + n = t.max_chain_length, + s = t.strstart, + a = t.prev_length, + o = t.nice_match, + h = + t.strstart > t.w_size - w + ? t.strstart - (t.w_size - w) + : 0, + u = t.window, + l = t.w_mask, + f = t.prev, + d = t.strstart + y, + c = u[s + a - 1], + p = u[s + a]; + t.prev_length >= t.good_match && (n >>= 2), + o > t.lookahead && (o = t.lookahead); + do { + if ( + u[(r = e) + a] === p && + u[r + a - 1] === c && + u[r] === u[s] && + u[++r] === u[s + 1] + ) { + (s += 2), r++; + do {} while ( + u[++s] === u[++r] && + u[++s] === u[++r] && + u[++s] === u[++r] && + u[++s] === u[++r] && + u[++s] === u[++r] && + u[++s] === u[++r] && + u[++s] === u[++r] && + u[++s] === u[++r] && + s < d + ); + if ( + ((i = y - (d - s)), + (s = d - y), + a < i) + ) { + if ( + ((t.match_start = e), o <= (a = i)) + ) + break; + (c = u[s + a - 1]), (p = u[s + a]); + } + } + } while ((e = f[e & l]) > h && 0 != --n); + return a <= t.lookahead ? a : t.lookahead; + } + function R(t) { + var e, + r, + i, + n, + s, + a, + o, + h, + u, + l, + f = t.w_size; + do { + if ( + ((n = + t.window_size - + t.lookahead - + t.strstart), + t.strstart >= f + (f - w)) + ) { + for ( + d.arraySet( + t.window, + t.window, + f, + f, + 0, + ), + t.match_start -= f, + t.strstart -= f, + t.block_start -= f, + e = r = t.hash_size; + (i = t.head[--e]), + (t.head[e] = f <= i ? i - f : 0), + --r; + + ); + for ( + e = r = f; + (i = t.prev[--e]), + (t.prev[e] = f <= i ? i - f : 0), + --r; + + ); + n += f; + } + if (0 === t.strm.avail_in) break; + if ( + ((a = t.strm), + (o = t.window), + (h = t.strstart + t.lookahead), + (l = void 0), + (u = n) < (l = a.avail_in) && (l = u), + (r = + 0 === l + ? 0 + : ((a.avail_in -= l), + d.arraySet( + o, + a.input, + a.next_in, + l, + h, + ), + 1 === a.state.wrap + ? (a.adler = c( + a.adler, + o, + l, + h, + )) + : 2 === a.state.wrap && + (a.adler = p( + a.adler, + o, + l, + h, + )), + (a.next_in += l), + (a.total_in += l), + l)), + (t.lookahead += r), + t.lookahead + t.insert >= v) + ) + for ( + s = t.strstart - t.insert, + t.ins_h = t.window[s], + t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[s + 1]) & + t.hash_mask; + t.insert && + ((t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[s + v - 1]) & + t.hash_mask), + (t.prev[s & t.w_mask] = + t.head[t.ins_h]), + (t.head[t.ins_h] = s), + s++, + t.insert--, + !(t.lookahead + t.insert < v)); + + ); + } while ( + t.lookahead < w && + 0 !== t.strm.avail_in + ); + } + function T(t, e) { + for (var r, i; ; ) { + if (t.lookahead < w) { + if ((R(t), t.lookahead < w && e === l)) + return 1; + if (0 === t.lookahead) break; + } + if ( + ((r = 0), + t.lookahead >= v && + ((t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[t.strstart + v - 1]) & + t.hash_mask), + (r = t.prev[t.strstart & t.w_mask] = + t.head[t.ins_h]), + (t.head[t.ins_h] = t.strstart)), + 0 !== r && + t.strstart - r <= t.w_size - w && + (t.match_length = B(t, r)), + t.match_length >= v) + ) + if ( + ((i = u._tr_tally( + t, + t.strstart - t.match_start, + t.match_length - v, + )), + (t.lookahead -= t.match_length), + t.match_length <= t.max_lazy_match && + t.lookahead >= v) + ) { + for ( + t.match_length--; + t.strstart++, + (t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[ + t.strstart + v - 1 + ]) & + t.hash_mask), + (r = t.prev[ + t.strstart & t.w_mask + ] = + t.head[t.ins_h]), + (t.head[t.ins_h] = t.strstart), + 0 != --t.match_length; + + ); + t.strstart++; + } else + (t.strstart += t.match_length), + (t.match_length = 0), + (t.ins_h = t.window[t.strstart]), + (t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[t.strstart + 1]) & + t.hash_mask); + else + (i = u._tr_tally( + t, + 0, + t.window[t.strstart], + )), + t.lookahead--, + t.strstart++; + if ( + i && + (A(t, !1), 0 === t.strm.avail_out) + ) + return 1; + } + return ( + (t.insert = + t.strstart < v - 1 + ? t.strstart + : v - 1), + 4 === e + ? (A(t, !0), + 0 === t.strm.avail_out ? 3 : 4) + : t.last_lit && + (A(t, !1), 0 === t.strm.avail_out) + ? 1 + : 2 + ); + } + function D(t, e) { + for (var r, i, n; ; ) { + if (t.lookahead < w) { + if ((R(t), t.lookahead < w && e === l)) + return 1; + if (0 === t.lookahead) break; + } + if ( + ((r = 0), + t.lookahead >= v && + ((t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[t.strstart + v - 1]) & + t.hash_mask), + (r = t.prev[t.strstart & t.w_mask] = + t.head[t.ins_h]), + (t.head[t.ins_h] = t.strstart)), + (t.prev_length = t.match_length), + (t.prev_match = t.match_start), + (t.match_length = v - 1), + 0 !== r && + t.prev_length < t.max_lazy_match && + t.strstart - r <= t.w_size - w && + ((t.match_length = B(t, r)), + t.match_length <= 5 && + (1 === t.strategy || + (t.match_length === v && + 4096 < + t.strstart - + t.match_start)) && + (t.match_length = v - 1)), + t.prev_length >= v && + t.match_length <= t.prev_length) + ) { + for ( + n = t.strstart + t.lookahead - v, + i = u._tr_tally( + t, + t.strstart - 1 - t.prev_match, + t.prev_length - v, + ), + t.lookahead -= t.prev_length - 1, + t.prev_length -= 2; + ++t.strstart <= n && + ((t.ins_h = + ((t.ins_h << t.hash_shift) ^ + t.window[t.strstart + v - 1]) & + t.hash_mask), + (r = t.prev[t.strstart & t.w_mask] = + t.head[t.ins_h]), + (t.head[t.ins_h] = t.strstart)), + 0 != --t.prev_length; + + ); + if ( + ((t.match_available = 0), + (t.match_length = v - 1), + t.strstart++, + i && + (A(t, !1), 0 === t.strm.avail_out)) + ) + return 1; + } else if (t.match_available) { + if ( + ((i = u._tr_tally( + t, + 0, + t.window[t.strstart - 1], + )) && A(t, !1), + t.strstart++, + t.lookahead--, + 0 === t.strm.avail_out) + ) + return 1; + } else + (t.match_available = 1), + t.strstart++, + t.lookahead--; + } + return ( + t.match_available && + ((i = u._tr_tally( + t, + 0, + t.window[t.strstart - 1], + )), + (t.match_available = 0)), + (t.insert = + t.strstart < v - 1 + ? t.strstart + : v - 1), + 4 === e + ? (A(t, !0), + 0 === t.strm.avail_out ? 3 : 4) + : t.last_lit && + (A(t, !1), 0 === t.strm.avail_out) + ? 1 + : 2 + ); + } + function F(t, e, r, i, n) { + (this.good_length = t), + (this.max_lazy = e), + (this.nice_length = r), + (this.max_chain = i), + (this.func = n); + } + function N() { + (this.strm = null), + (this.status = 0), + (this.pending_buf = null), + (this.pending_buf_size = 0), + (this.pending_out = 0), + (this.pending = 0), + (this.wrap = 0), + (this.gzhead = null), + (this.gzindex = 0), + (this.method = _), + (this.last_flush = -1), + (this.w_size = 0), + (this.w_bits = 0), + (this.w_mask = 0), + (this.window = null), + (this.window_size = 0), + (this.prev = null), + (this.head = null), + (this.ins_h = 0), + (this.hash_size = 0), + (this.hash_bits = 0), + (this.hash_mask = 0), + (this.hash_shift = 0), + (this.block_start = 0), + (this.match_length = 0), + (this.prev_match = 0), + (this.match_available = 0), + (this.strstart = 0), + (this.match_start = 0), + (this.lookahead = 0), + (this.prev_length = 0), + (this.max_chain_length = 0), + (this.max_lazy_match = 0), + (this.level = 0), + (this.strategy = 0), + (this.good_match = 0), + (this.nice_match = 0), + (this.dyn_ltree = new d.Buf16(2 * g)), + (this.dyn_dtree = new d.Buf16( + 2 * (2 * a + 1), + )), + (this.bl_tree = new d.Buf16( + 2 * (2 * o + 1), + )), + C(this.dyn_ltree), + C(this.dyn_dtree), + C(this.bl_tree), + (this.l_desc = null), + (this.d_desc = null), + (this.bl_desc = null), + (this.bl_count = new d.Buf16(b + 1)), + (this.heap = new d.Buf16(2 * s + 1)), + C(this.heap), + (this.heap_len = 0), + (this.heap_max = 0), + (this.depth = new d.Buf16(2 * s + 1)), + C(this.depth), + (this.l_buf = 0), + (this.lit_bufsize = 0), + (this.last_lit = 0), + (this.d_buf = 0), + (this.opt_len = 0), + (this.static_len = 0), + (this.matches = 0), + (this.insert = 0), + (this.bi_buf = 0), + (this.bi_valid = 0); + } + function U(t) { + var e; + return t && t.state + ? ((t.total_in = t.total_out = 0), + (t.data_type = n), + ((e = t.state).pending = 0), + (e.pending_out = 0), + e.wrap < 0 && (e.wrap = -e.wrap), + (e.status = e.wrap ? k : x), + (t.adler = 2 === e.wrap ? 0 : 1), + (e.last_flush = l), + u._tr_init(e), + f) + : S(t, m); + } + function P(t) { + var e, + r = U(t); + return ( + r === f && + (((e = t.state).window_size = + 2 * e.w_size), + C(e.head), + (e.max_lazy_match = + h[e.level].max_lazy), + (e.good_match = h[e.level].good_length), + (e.nice_match = h[e.level].nice_length), + (e.max_chain_length = + h[e.level].max_chain), + (e.strstart = 0), + (e.block_start = 0), + (e.lookahead = 0), + (e.insert = 0), + (e.match_length = e.prev_length = + v - 1), + (e.match_available = 0), + (e.ins_h = 0)), + r + ); + } + function L(t, e, r, i, n, s) { + if (!t) return m; + var a = 1; + if ( + (-1 === e && (e = 6), + i < 0 + ? ((a = 0), (i = -i)) + : 15 < i && ((a = 2), (i -= 16)), + n < 1 || + 9 < n || + r !== _ || + i < 8 || + 15 < i || + e < 0 || + 9 < e || + s < 0 || + 4 < s) + ) + return S(t, m); + 8 === i && (i = 9); + var o = new N(); + return ( + ((t.state = o).strm = t), + (o.wrap = a), + (o.gzhead = null), + (o.w_bits = i), + (o.w_size = 1 << o.w_bits), + (o.w_mask = o.w_size - 1), + (o.hash_bits = n + 7), + (o.hash_size = 1 << o.hash_bits), + (o.hash_mask = o.hash_size - 1), + (o.hash_shift = ~~( + (o.hash_bits + v - 1) / + v + )), + (o.window = new d.Buf8(2 * o.w_size)), + (o.head = new d.Buf16(o.hash_size)), + (o.prev = new d.Buf16(o.w_size)), + (o.lit_bufsize = 1 << (n + 6)), + (o.pending_buf_size = 4 * o.lit_bufsize), + (o.pending_buf = new d.Buf8( + o.pending_buf_size, + )), + (o.d_buf = 1 * o.lit_bufsize), + (o.l_buf = 3 * o.lit_bufsize), + (o.level = e), + (o.strategy = s), + (o.method = r), + P(t) + ); + } + (h = [ + new F(0, 0, 0, 0, function (t, e) { + var r = 65535; + for ( + r > t.pending_buf_size - 5 && + (r = t.pending_buf_size - 5); + ; + + ) { + if (t.lookahead <= 1) { + if ( + (R(t), 0 === t.lookahead && e === l) + ) + return 1; + if (0 === t.lookahead) break; + } + (t.strstart += t.lookahead), + (t.lookahead = 0); + var i = t.block_start + r; + if ( + (0 === t.strstart || + t.strstart >= i) && + ((t.lookahead = t.strstart - i), + (t.strstart = i), + A(t, !1), + 0 === t.strm.avail_out) + ) + return 1; + if ( + t.strstart - t.block_start >= + t.w_size - w && + (A(t, !1), 0 === t.strm.avail_out) + ) + return 1; + } + return ( + (t.insert = 0), + 4 === e + ? (A(t, !0), + 0 === t.strm.avail_out ? 3 : 4) + : (t.strstart > t.block_start && + (A(t, !1), t.strm.avail_out), + 1) + ); + }), + new F(4, 4, 8, 4, T), + new F(4, 5, 16, 8, T), + new F(4, 6, 32, 32, T), + new F(4, 4, 16, 16, D), + new F(8, 16, 32, 32, D), + new F(8, 16, 128, 128, D), + new F(8, 32, 128, 256, D), + new F(32, 128, 258, 1024, D), + new F(32, 258, 258, 4096, D), + ]), + (r.deflateInit = function (t, e) { + return L(t, e, _, 15, 8, 0); + }), + (r.deflateInit2 = L), + (r.deflateReset = P), + (r.deflateResetKeep = U), + (r.deflateSetHeader = function (t, e) { + return t && t.state + ? 2 !== t.state.wrap + ? m + : ((t.state.gzhead = e), f) + : m; + }), + (r.deflate = function (t, e) { + var r, i, n, s; + if (!t || !t.state || 5 < e || e < 0) + return t ? S(t, m) : m; + if ( + ((i = t.state), + !t.output || + (!t.input && 0 !== t.avail_in) || + (666 === i.status && 4 !== e)) + ) + return S(t, 0 === t.avail_out ? -5 : m); + if ( + ((i.strm = t), + (r = i.last_flush), + (i.last_flush = e), + i.status === k) + ) + if (2 === i.wrap) + (t.adler = 0), + I(i, 31), + I(i, 139), + I(i, 8), + i.gzhead + ? (I( + i, + (i.gzhead.text ? 1 : 0) + + (i.gzhead.hcrc ? 2 : 0) + + (i.gzhead.extra ? 4 : 0) + + (i.gzhead.name ? 8 : 0) + + (i.gzhead.comment ? 16 : 0), + ), + I(i, 255 & i.gzhead.time), + I( + i, + (i.gzhead.time >> 8) & 255, + ), + I( + i, + (i.gzhead.time >> 16) & 255, + ), + I( + i, + (i.gzhead.time >> 24) & 255, + ), + I( + i, + 9 === i.level + ? 2 + : 2 <= i.strategy || + i.level < 2 + ? 4 + : 0, + ), + I(i, 255 & i.gzhead.os), + i.gzhead.extra && + i.gzhead.extra.length && + (I( + i, + 255 & i.gzhead.extra.length, + ), + I( + i, + (i.gzhead.extra.length >> + 8) & + 255, + )), + i.gzhead.hcrc && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending, + 0, + )), + (i.gzindex = 0), + (i.status = 69)) + : (I(i, 0), + I(i, 0), + I(i, 0), + I(i, 0), + I(i, 0), + I( + i, + 9 === i.level + ? 2 + : 2 <= i.strategy || + i.level < 2 + ? 4 + : 0, + ), + I(i, 3), + (i.status = x)); + else { + var a = + (_ + ((i.w_bits - 8) << 4)) << 8; + (a |= + (2 <= i.strategy || i.level < 2 + ? 0 + : i.level < 6 + ? 1 + : 6 === i.level + ? 2 + : 3) << 6), + 0 !== i.strstart && (a |= 32), + (a += 31 - (a % 31)), + (i.status = x), + O(i, a), + 0 !== i.strstart && + (O(i, t.adler >>> 16), + O(i, 65535 & t.adler)), + (t.adler = 1); + } + if (69 === i.status) + if (i.gzhead.extra) { + for ( + n = i.pending; + i.gzindex < + (65535 & i.gzhead.extra.length) && + (i.pending !== i.pending_buf_size || + (i.gzhead.hcrc && + i.pending > n && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending - n, + n, + )), + E(t), + (n = i.pending), + i.pending !== + i.pending_buf_size)); + + ) + I( + i, + 255 & i.gzhead.extra[i.gzindex], + ), + i.gzindex++; + i.gzhead.hcrc && + i.pending > n && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending - n, + n, + )), + i.gzindex === + i.gzhead.extra.length && + ((i.gzindex = 0), + (i.status = 73)); + } else i.status = 73; + if (73 === i.status) + if (i.gzhead.name) { + n = i.pending; + do { + if ( + i.pending === + i.pending_buf_size && + (i.gzhead.hcrc && + i.pending > n && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending - n, + n, + )), + E(t), + (n = i.pending), + i.pending === i.pending_buf_size) + ) { + s = 1; + break; + } + (s = + i.gzindex < i.gzhead.name.length + ? 255 & + i.gzhead.name.charCodeAt( + i.gzindex++, + ) + : 0), + I(i, s); + } while (0 !== s); + i.gzhead.hcrc && + i.pending > n && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending - n, + n, + )), + 0 === s && + ((i.gzindex = 0), + (i.status = 91)); + } else i.status = 91; + if (91 === i.status) + if (i.gzhead.comment) { + n = i.pending; + do { + if ( + i.pending === + i.pending_buf_size && + (i.gzhead.hcrc && + i.pending > n && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending - n, + n, + )), + E(t), + (n = i.pending), + i.pending === i.pending_buf_size) + ) { + s = 1; + break; + } + (s = + i.gzindex < + i.gzhead.comment.length + ? 255 & + i.gzhead.comment.charCodeAt( + i.gzindex++, + ) + : 0), + I(i, s); + } while (0 !== s); + i.gzhead.hcrc && + i.pending > n && + (t.adler = p( + t.adler, + i.pending_buf, + i.pending - n, + n, + )), + 0 === s && (i.status = 103); + } else i.status = 103; + if ( + (103 === i.status && + (i.gzhead.hcrc + ? (i.pending + 2 > + i.pending_buf_size && E(t), + i.pending + 2 <= + i.pending_buf_size && + (I(i, 255 & t.adler), + I(i, (t.adler >> 8) & 255), + (t.adler = 0), + (i.status = x))) + : (i.status = x)), + 0 !== i.pending) + ) { + if ((E(t), 0 === t.avail_out)) + return (i.last_flush = -1), f; + } else if ( + 0 === t.avail_in && + z(e) <= z(r) && + 4 !== e + ) + return S(t, -5); + if (666 === i.status && 0 !== t.avail_in) + return S(t, -5); + if ( + 0 !== t.avail_in || + 0 !== i.lookahead || + (e !== l && 666 !== i.status) + ) { + var o = + 2 === i.strategy + ? (function (t, e) { + for (var r; ; ) { + if ( + 0 === t.lookahead && + (R(t), 0 === t.lookahead) + ) { + if (e === l) return 1; + break; + } + if ( + ((t.match_length = 0), + (r = u._tr_tally( + t, + 0, + t.window[t.strstart], + )), + t.lookahead--, + t.strstart++, + r && + (A(t, !1), + 0 === t.strm.avail_out)) + ) + return 1; + } + return ( + (t.insert = 0), + 4 === e + ? (A(t, !0), + 0 === t.strm.avail_out + ? 3 + : 4) + : t.last_lit && + (A(t, !1), + 0 === t.strm.avail_out) + ? 1 + : 2 + ); + })(i, e) + : 3 === i.strategy + ? (function (t, e) { + for ( + var r, + i, + n, + s, + a = t.window; + ; + + ) { + if (t.lookahead <= y) { + if ( + (R(t), + t.lookahead <= y && + e === l) + ) + return 1; + if (0 === t.lookahead) + break; + } + if ( + ((t.match_length = 0), + t.lookahead >= v && + 0 < t.strstart && + (i = + a[ + (n = t.strstart - 1) + ]) === a[++n] && + i === a[++n] && + i === a[++n]) + ) { + s = t.strstart + y; + do {} while ( + i === a[++n] && + i === a[++n] && + i === a[++n] && + i === a[++n] && + i === a[++n] && + i === a[++n] && + i === a[++n] && + i === a[++n] && + n < s + ); + (t.match_length = + y - (s - n)), + t.match_length > + t.lookahead && + (t.match_length = + t.lookahead); + } + if ( + (t.match_length >= v + ? ((r = u._tr_tally( + t, + 1, + t.match_length - v, + )), + (t.lookahead -= + t.match_length), + (t.strstart += + t.match_length), + (t.match_length = 0)) + : ((r = u._tr_tally( + t, + 0, + t.window[ + t.strstart + ], + )), + t.lookahead--, + t.strstart++), + r && + (A(t, !1), + 0 === t.strm.avail_out)) + ) + return 1; + } + return ( + (t.insert = 0), + 4 === e + ? (A(t, !0), + 0 === t.strm.avail_out + ? 3 + : 4) + : t.last_lit && + (A(t, !1), + 0 === + t.strm.avail_out) + ? 1 + : 2 + ); + })(i, e) + : h[i.level].func(i, e); + if ( + ((3 !== o && 4 !== o) || + (i.status = 666), + 1 === o || 3 === o) + ) + return ( + 0 === t.avail_out && + (i.last_flush = -1), + f + ); + if ( + 2 === o && + (1 === e + ? u._tr_align(i) + : 5 !== e && + (u._tr_stored_block(i, 0, 0, !1), + 3 === e && + (C(i.head), + 0 === i.lookahead && + ((i.strstart = 0), + (i.block_start = 0), + (i.insert = 0)))), + E(t), + 0 === t.avail_out) + ) + return (i.last_flush = -1), f; + } + return 4 !== e + ? f + : i.wrap <= 0 + ? 1 + : (2 === i.wrap + ? (I(i, 255 & t.adler), + I(i, (t.adler >> 8) & 255), + I(i, (t.adler >> 16) & 255), + I(i, (t.adler >> 24) & 255), + I(i, 255 & t.total_in), + I(i, (t.total_in >> 8) & 255), + I(i, (t.total_in >> 16) & 255), + I(i, (t.total_in >> 24) & 255)) + : (O(i, t.adler >>> 16), + O(i, 65535 & t.adler)), + E(t), + 0 < i.wrap && (i.wrap = -i.wrap), + 0 !== i.pending ? f : 1); + }), + (r.deflateEnd = function (t) { + var e; + return t && t.state + ? (e = t.state.status) !== k && + 69 !== e && + 73 !== e && + 91 !== e && + 103 !== e && + e !== x && + 666 !== e + ? S(t, m) + : ((t.state = null), + e === x ? S(t, -3) : f) + : m; + }), + (r.deflateSetDictionary = function (t, e) { + var r, + i, + n, + s, + a, + o, + h, + u, + l = e.length; + if (!t || !t.state) return m; + if ( + 2 === (s = (r = t.state).wrap) || + (1 === s && r.status !== k) || + r.lookahead + ) + return m; + for ( + 1 === s && + (t.adler = c(t.adler, e, l, 0)), + r.wrap = 0, + l >= r.w_size && + (0 === s && + (C(r.head), + (r.strstart = 0), + (r.block_start = 0), + (r.insert = 0)), + (u = new d.Buf8(r.w_size)), + d.arraySet( + u, + e, + l - r.w_size, + r.w_size, + 0, + ), + (e = u), + (l = r.w_size)), + a = t.avail_in, + o = t.next_in, + h = t.input, + t.avail_in = l, + t.next_in = 0, + t.input = e, + R(r); + r.lookahead >= v; + + ) { + for ( + i = r.strstart, + n = r.lookahead - (v - 1); + (r.ins_h = + ((r.ins_h << r.hash_shift) ^ + r.window[i + v - 1]) & + r.hash_mask), + (r.prev[i & r.w_mask] = + r.head[r.ins_h]), + (r.head[r.ins_h] = i), + i++, + --n; + + ); + (r.strstart = i), + (r.lookahead = v - 1), + R(r); + } + return ( + (r.strstart += r.lookahead), + (r.block_start = r.strstart), + (r.insert = r.lookahead), + (r.lookahead = 0), + (r.match_length = r.prev_length = + v - 1), + (r.match_available = 0), + (t.next_in = o), + (t.input = h), + (t.avail_in = a), + (r.wrap = s), + f + ); + }), + (r.deflateInfo = + 'pako deflate (from Nodeca project)'); + }, + { + '../utils/common': 41, + './adler32': 43, + './crc32': 45, + './messages': 51, + './trees': 52, + }, + ], + 47: [ + function (t, e, r) { + 'use strict'; + e.exports = function () { + (this.text = 0), + (this.time = 0), + (this.xflags = 0), + (this.os = 0), + (this.extra = null), + (this.extra_len = 0), + (this.name = ''), + (this.comment = ''), + (this.hcrc = 0), + (this.done = !1); + }; + }, + {}, + ], + 48: [ + function (t, e, r) { + 'use strict'; + e.exports = function (t, e) { + var r, + i, + n, + s, + a, + o, + h, + u, + l, + f, + d, + c, + p, + m, + _, + g, + b, + v, + y, + w, + k, + x, + S, + z, + C; + (r = t.state), + (i = t.next_in), + (z = t.input), + (n = i + (t.avail_in - 5)), + (s = t.next_out), + (C = t.output), + (a = s - (e - t.avail_out)), + (o = s + (t.avail_out - 257)), + (h = r.dmax), + (u = r.wsize), + (l = r.whave), + (f = r.wnext), + (d = r.window), + (c = r.hold), + (p = r.bits), + (m = r.lencode), + (_ = r.distcode), + (g = (1 << r.lenbits) - 1), + (b = (1 << r.distbits) - 1); + t: do { + p < 15 && + ((c += z[i++] << p), + (p += 8), + (c += z[i++] << p), + (p += 8)), + (v = m[c & g]); + e: for (;;) { + if ( + ((c >>>= y = v >>> 24), + (p -= y), + 0 == (y = (v >>> 16) & 255)) + ) + C[s++] = 65535 & v; + else { + if (!(16 & y)) { + if (0 == (64 & y)) { + v = + m[ + (65535 & v) + + (c & ((1 << y) - 1)) + ]; + continue e; + } + if (32 & y) { + r.mode = 12; + break t; + } + (t.msg = + 'invalid literal/length code'), + (r.mode = 30); + break t; + } + (w = 65535 & v), + (y &= 15) && + (p < y && + ((c += z[i++] << p), (p += 8)), + (w += c & ((1 << y) - 1)), + (c >>>= y), + (p -= y)), + p < 15 && + ((c += z[i++] << p), + (p += 8), + (c += z[i++] << p), + (p += 8)), + (v = _[c & b]); + r: for (;;) { + if ( + ((c >>>= y = v >>> 24), + (p -= y), + !(16 & (y = (v >>> 16) & 255))) + ) { + if (0 == (64 & y)) { + v = + _[ + (65535 & v) + + (c & ((1 << y) - 1)) + ]; + continue r; + } + (t.msg = 'invalid distance code'), + (r.mode = 30); + break t; + } + if ( + ((k = 65535 & v), + p < (y &= 15) && + ((c += z[i++] << p), + (p += 8) < y && + ((c += z[i++] << p), + (p += 8))), + h < (k += c & ((1 << y) - 1))) + ) { + (t.msg = + 'invalid distance too far back'), + (r.mode = 30); + break t; + } + if ( + ((c >>>= y), + (p -= y), + (y = s - a) < k) + ) { + if (l < (y = k - y) && r.sane) { + (t.msg = + 'invalid distance too far back'), + (r.mode = 30); + break t; + } + if (((S = d), (x = 0) === f)) { + if (((x += u - y), y < w)) { + for ( + w -= y; + (C[s++] = d[x++]), --y; + + ); + (x = s - k), (S = C); + } + } else if (f < y) { + if ( + ((x += u + f - y), + (y -= f) < w) + ) { + for ( + w -= y; + (C[s++] = d[x++]), --y; + + ); + if (((x = 0), f < w)) { + for ( + w -= y = f; + (C[s++] = d[x++]), --y; + + ); + (x = s - k), (S = C); + } + } + } else if ( + ((x += f - y), y < w) + ) { + for ( + w -= y; + (C[s++] = d[x++]), --y; + + ); + (x = s - k), (S = C); + } + for (; 2 < w; ) + (C[s++] = S[x++]), + (C[s++] = S[x++]), + (C[s++] = S[x++]), + (w -= 3); + w && + ((C[s++] = S[x++]), + 1 < w && (C[s++] = S[x++])); + } else { + for ( + x = s - k; + (C[s++] = C[x++]), + (C[s++] = C[x++]), + (C[s++] = C[x++]), + 2 < (w -= 3); + + ); + w && + ((C[s++] = C[x++]), + 1 < w && (C[s++] = C[x++])); + } + break; + } + } + break; + } + } while (i < n && s < o); + (i -= w = p >> 3), + (c &= (1 << (p -= w << 3)) - 1), + (t.next_in = i), + (t.next_out = s), + (t.avail_in = + i < n ? n - i + 5 : 5 - (i - n)), + (t.avail_out = + s < o ? o - s + 257 : 257 - (s - o)), + (r.hold = c), + (r.bits = p); + }; + }, + {}, + ], + 49: [ + function (t, e, r) { + 'use strict'; + var I = t('../utils/common'), + O = t('./adler32'), + B = t('./crc32'), + R = t('./inffast'), + T = t('./inftrees'), + D = 1, + F = 2, + N = 0, + U = -2, + P = 1, + i = 852, + n = 592; + function L(t) { + return ( + ((t >>> 24) & 255) + + ((t >>> 8) & 65280) + + ((65280 & t) << 8) + + ((255 & t) << 24) + ); + } + function s() { + (this.mode = 0), + (this.last = !1), + (this.wrap = 0), + (this.havedict = !1), + (this.flags = 0), + (this.dmax = 0), + (this.check = 0), + (this.total = 0), + (this.head = null), + (this.wbits = 0), + (this.wsize = 0), + (this.whave = 0), + (this.wnext = 0), + (this.window = null), + (this.hold = 0), + (this.bits = 0), + (this.length = 0), + (this.offset = 0), + (this.extra = 0), + (this.lencode = null), + (this.distcode = null), + (this.lenbits = 0), + (this.distbits = 0), + (this.ncode = 0), + (this.nlen = 0), + (this.ndist = 0), + (this.have = 0), + (this.next = null), + (this.lens = new I.Buf16(320)), + (this.work = new I.Buf16(288)), + (this.lendyn = null), + (this.distdyn = null), + (this.sane = 0), + (this.back = 0), + (this.was = 0); + } + function a(t) { + var e; + return t && t.state + ? ((e = t.state), + (t.total_in = + t.total_out = + e.total = + 0), + (t.msg = ''), + e.wrap && (t.adler = 1 & e.wrap), + (e.mode = P), + (e.last = 0), + (e.havedict = 0), + (e.dmax = 32768), + (e.head = null), + (e.hold = 0), + (e.bits = 0), + (e.lencode = e.lendyn = new I.Buf32(i)), + (e.distcode = e.distdyn = + new I.Buf32(n)), + (e.sane = 1), + (e.back = -1), + N) + : U; + } + function o(t) { + var e; + return t && t.state + ? (((e = t.state).wsize = 0), + (e.whave = 0), + (e.wnext = 0), + a(t)) + : U; + } + function h(t, e) { + var r, i; + return t && t.state + ? ((i = t.state), + e < 0 + ? ((r = 0), (e = -e)) + : ((r = 1 + (e >> 4)), + e < 48 && (e &= 15)), + e && (e < 8 || 15 < e) + ? U + : (null !== i.window && + i.wbits !== e && + (i.window = null), + (i.wrap = r), + (i.wbits = e), + o(t))) + : U; + } + function u(t, e) { + var r, i; + return t + ? ((i = new s()), + ((t.state = i).window = null), + (r = h(t, e)) !== N && (t.state = null), + r) + : U; + } + var l, + f, + d = !0; + function j(t) { + if (d) { + var e; + for ( + l = new I.Buf32(512), + f = new I.Buf32(32), + e = 0; + e < 144; + + ) + t.lens[e++] = 8; + for (; e < 256; ) t.lens[e++] = 9; + for (; e < 280; ) t.lens[e++] = 7; + for (; e < 288; ) t.lens[e++] = 8; + for ( + T(D, t.lens, 0, 288, l, 0, t.work, { + bits: 9, + }), + e = 0; + e < 32; + + ) + t.lens[e++] = 5; + T(F, t.lens, 0, 32, f, 0, t.work, { + bits: 5, + }), + (d = !1); + } + (t.lencode = l), + (t.lenbits = 9), + (t.distcode = f), + (t.distbits = 5); + } + function Z(t, e, r, i) { + var n, + s = t.state; + return ( + null === s.window && + ((s.wsize = 1 << s.wbits), + (s.wnext = 0), + (s.whave = 0), + (s.window = new I.Buf8(s.wsize))), + i >= s.wsize + ? (I.arraySet( + s.window, + e, + r - s.wsize, + s.wsize, + 0, + ), + (s.wnext = 0), + (s.whave = s.wsize)) + : (i < (n = s.wsize - s.wnext) && + (n = i), + I.arraySet( + s.window, + e, + r - i, + n, + s.wnext, + ), + (i -= n) + ? (I.arraySet( + s.window, + e, + r - i, + i, + 0, + ), + (s.wnext = i), + (s.whave = s.wsize)) + : ((s.wnext += n), + s.wnext === s.wsize && + (s.wnext = 0), + s.whave < s.wsize && + (s.whave += n))), + 0 + ); + } + (r.inflateReset = o), + (r.inflateReset2 = h), + (r.inflateResetKeep = a), + (r.inflateInit = function (t) { + return u(t, 15); + }), + (r.inflateInit2 = u), + (r.inflate = function (t, e) { + var r, + i, + n, + s, + a, + o, + h, + u, + l, + f, + d, + c, + p, + m, + _, + g, + b, + v, + y, + w, + k, + x, + S, + z, + C = 0, + E = new I.Buf8(4), + A = [ + 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, + 4, 12, 3, 13, 2, 14, 1, 15, + ]; + if ( + !t || + !t.state || + !t.output || + (!t.input && 0 !== t.avail_in) + ) + return U; + 12 === (r = t.state).mode && + (r.mode = 13), + (a = t.next_out), + (n = t.output), + (h = t.avail_out), + (s = t.next_in), + (i = t.input), + (o = t.avail_in), + (u = r.hold), + (l = r.bits), + (f = o), + (d = h), + (x = N); + t: for (;;) + switch (r.mode) { + case P: + if (0 === r.wrap) { + r.mode = 13; + break; + } + for (; l < 16; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + if (2 & r.wrap && 35615 === u) { + (E[(r.check = 0)] = 255 & u), + (E[1] = (u >>> 8) & 255), + (r.check = B(r.check, E, 2, 0)), + (l = u = 0), + (r.mode = 2); + break; + } + if ( + ((r.flags = 0), + r.head && (r.head.done = !1), + !(1 & r.wrap) || + (((255 & u) << 8) + (u >> 8)) % + 31) + ) { + (t.msg = + 'incorrect header check'), + (r.mode = 30); + break; + } + if (8 != (15 & u)) { + (t.msg = + 'unknown compression method'), + (r.mode = 30); + break; + } + if ( + ((l -= 4), + (k = 8 + (15 & (u >>>= 4))), + 0 === r.wbits) + ) + r.wbits = k; + else if (k > r.wbits) { + (t.msg = 'invalid window size'), + (r.mode = 30); + break; + } + (r.dmax = 1 << k), + (t.adler = r.check = 1), + (r.mode = 512 & u ? 10 : 12), + (l = u = 0); + break; + case 2: + for (; l < 16; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + if ( + ((r.flags = u), + 8 != (255 & r.flags)) + ) { + (t.msg = + 'unknown compression method'), + (r.mode = 30); + break; + } + if (57344 & r.flags) { + (t.msg = + 'unknown header flags set'), + (r.mode = 30); + break; + } + r.head && + (r.head.text = (u >> 8) & 1), + 512 & r.flags && + ((E[0] = 255 & u), + (E[1] = (u >>> 8) & 255), + (r.check = B( + r.check, + E, + 2, + 0, + ))), + (l = u = 0), + (r.mode = 3); + case 3: + for (; l < 32; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + r.head && (r.head.time = u), + 512 & r.flags && + ((E[0] = 255 & u), + (E[1] = (u >>> 8) & 255), + (E[2] = (u >>> 16) & 255), + (E[3] = (u >>> 24) & 255), + (r.check = B( + r.check, + E, + 4, + 0, + ))), + (l = u = 0), + (r.mode = 4); + case 4: + for (; l < 16; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + r.head && + ((r.head.xflags = 255 & u), + (r.head.os = u >> 8)), + 512 & r.flags && + ((E[0] = 255 & u), + (E[1] = (u >>> 8) & 255), + (r.check = B( + r.check, + E, + 2, + 0, + ))), + (l = u = 0), + (r.mode = 5); + case 5: + if (1024 & r.flags) { + for (; l < 16; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (r.length = u), + r.head && + (r.head.extra_len = u), + 512 & r.flags && + ((E[0] = 255 & u), + (E[1] = (u >>> 8) & 255), + (r.check = B( + r.check, + E, + 2, + 0, + ))), + (l = u = 0); + } else + r.head && (r.head.extra = null); + r.mode = 6; + case 6: + if ( + 1024 & r.flags && + (o < (c = r.length) && (c = o), + c && + (r.head && + ((k = + r.head.extra_len - + r.length), + r.head.extra || + (r.head.extra = new Array( + r.head.extra_len, + )), + I.arraySet( + r.head.extra, + i, + s, + c, + k, + )), + 512 & r.flags && + (r.check = B( + r.check, + i, + c, + s, + )), + (o -= c), + (s += c), + (r.length -= c)), + r.length) + ) + break t; + (r.length = 0), (r.mode = 7); + case 7: + if (2048 & r.flags) { + if (0 === o) break t; + for ( + c = 0; + (k = i[s + c++]), + r.head && + k && + r.length < 65536 && + (r.head.name += + String.fromCharCode(k)), + k && c < o; + + ); + if ( + (512 & r.flags && + (r.check = B( + r.check, + i, + c, + s, + )), + (o -= c), + (s += c), + k) + ) + break t; + } else + r.head && (r.head.name = null); + (r.length = 0), (r.mode = 8); + case 8: + if (4096 & r.flags) { + if (0 === o) break t; + for ( + c = 0; + (k = i[s + c++]), + r.head && + k && + r.length < 65536 && + (r.head.comment += + String.fromCharCode(k)), + k && c < o; + + ); + if ( + (512 & r.flags && + (r.check = B( + r.check, + i, + c, + s, + )), + (o -= c), + (s += c), + k) + ) + break t; + } else + r.head && (r.head.comment = null); + r.mode = 9; + case 9: + if (512 & r.flags) { + for (; l < 16; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + if (u !== (65535 & r.check)) { + (t.msg = 'header crc mismatch'), + (r.mode = 30); + break; + } + l = u = 0; + } + r.head && + ((r.head.hcrc = + (r.flags >> 9) & 1), + (r.head.done = !0)), + (t.adler = r.check = 0), + (r.mode = 12); + break; + case 10: + for (; l < 32; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + (t.adler = r.check = L(u)), + (l = u = 0), + (r.mode = 11); + case 11: + if (0 === r.havedict) + return ( + (t.next_out = a), + (t.avail_out = h), + (t.next_in = s), + (t.avail_in = o), + (r.hold = u), + (r.bits = l), + 2 + ); + (t.adler = r.check = 1), + (r.mode = 12); + case 12: + if (5 === e || 6 === e) break t; + case 13: + if (r.last) { + (u >>>= 7 & l), + (l -= 7 & l), + (r.mode = 27); + break; + } + for (; l < 3; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + switch ( + ((r.last = 1 & u), + (l -= 1), + 3 & (u >>>= 1)) + ) { + case 0: + r.mode = 14; + break; + case 1: + if ( + (j(r), (r.mode = 20), 6 !== e) + ) + break; + (u >>>= 2), (l -= 2); + break t; + case 2: + r.mode = 17; + break; + case 3: + (t.msg = 'invalid block type'), + (r.mode = 30); + } + (u >>>= 2), (l -= 2); + break; + case 14: + for ( + u >>>= 7 & l, l -= 7 & l; + l < 32; + + ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + if ( + (65535 & u) != + ((u >>> 16) ^ 65535) + ) { + (t.msg = + 'invalid stored block lengths'), + (r.mode = 30); + break; + } + if ( + ((r.length = 65535 & u), + (l = u = 0), + (r.mode = 15), + 6 === e) + ) + break t; + case 15: + r.mode = 16; + case 16: + if ((c = r.length)) { + if ( + (o < c && (c = o), + h < c && (c = h), + 0 === c) + ) + break t; + I.arraySet(n, i, s, c, a), + (o -= c), + (s += c), + (h -= c), + (a += c), + (r.length -= c); + break; + } + r.mode = 12; + break; + case 17: + for (; l < 14; ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + if ( + ((r.nlen = 257 + (31 & u)), + (u >>>= 5), + (l -= 5), + (r.ndist = 1 + (31 & u)), + (u >>>= 5), + (l -= 5), + (r.ncode = 4 + (15 & u)), + (u >>>= 4), + (l -= 4), + 286 < r.nlen || 30 < r.ndist) + ) { + (t.msg = + 'too many length or distance symbols'), + (r.mode = 30); + break; + } + (r.have = 0), (r.mode = 18); + case 18: + for (; r.have < r.ncode; ) { + for (; l < 3; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (r.lens[A[r.have++]] = 7 & u), + (u >>>= 3), + (l -= 3); + } + for (; r.have < 19; ) + r.lens[A[r.have++]] = 0; + if ( + ((r.lencode = r.lendyn), + (r.lenbits = 7), + (S = {bits: r.lenbits}), + (x = T( + 0, + r.lens, + 0, + 19, + r.lencode, + 0, + r.work, + S, + )), + (r.lenbits = S.bits), + x) + ) { + (t.msg = + 'invalid code lengths set'), + (r.mode = 30); + break; + } + (r.have = 0), (r.mode = 19); + case 19: + for ( + ; + r.have < r.nlen + r.ndist; + + ) { + for ( + ; + (g = + ((C = + r.lencode[ + u & ((1 << r.lenbits) - 1) + ]) >>> + 16) & + 255), + (b = 65535 & C), + !((_ = C >>> 24) <= l); + + ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + if (b < 16) + (u >>>= _), + (l -= _), + (r.lens[r.have++] = b); + else { + if (16 === b) { + for (z = _ + 2; l < z; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + if ( + ((u >>>= _), + (l -= _), + 0 === r.have) + ) { + (t.msg = + 'invalid bit length repeat'), + (r.mode = 30); + break; + } + (k = r.lens[r.have - 1]), + (c = 3 + (3 & u)), + (u >>>= 2), + (l -= 2); + } else if (17 === b) { + for (z = _ + 3; l < z; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (l -= _), + (k = 0), + (c = 3 + (7 & (u >>>= _))), + (u >>>= 3), + (l -= 3); + } else { + for (z = _ + 7; l < z; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (l -= _), + (k = 0), + (c = + 11 + (127 & (u >>>= _))), + (u >>>= 7), + (l -= 7); + } + if ( + r.have + c > + r.nlen + r.ndist + ) { + (t.msg = + 'invalid bit length repeat'), + (r.mode = 30); + break; + } + for (; c--; ) + r.lens[r.have++] = k; + } + } + if (30 === r.mode) break; + if (0 === r.lens[256]) { + (t.msg = + 'invalid code -- missing end-of-block'), + (r.mode = 30); + break; + } + if ( + ((r.lenbits = 9), + (S = {bits: r.lenbits}), + (x = T( + D, + r.lens, + 0, + r.nlen, + r.lencode, + 0, + r.work, + S, + )), + (r.lenbits = S.bits), + x) + ) { + (t.msg = + 'invalid literal/lengths set'), + (r.mode = 30); + break; + } + if ( + ((r.distbits = 6), + (r.distcode = r.distdyn), + (S = {bits: r.distbits}), + (x = T( + F, + r.lens, + r.nlen, + r.ndist, + r.distcode, + 0, + r.work, + S, + )), + (r.distbits = S.bits), + x) + ) { + (t.msg = 'invalid distances set'), + (r.mode = 30); + break; + } + if (((r.mode = 20), 6 === e)) + break t; + case 20: + r.mode = 21; + case 21: + if (6 <= o && 258 <= h) { + (t.next_out = a), + (t.avail_out = h), + (t.next_in = s), + (t.avail_in = o), + (r.hold = u), + (r.bits = l), + R(t, d), + (a = t.next_out), + (n = t.output), + (h = t.avail_out), + (s = t.next_in), + (i = t.input), + (o = t.avail_in), + (u = r.hold), + (l = r.bits), + 12 === r.mode && (r.back = -1); + break; + } + for ( + r.back = 0; + (g = + ((C = + r.lencode[ + u & ((1 << r.lenbits) - 1) + ]) >>> + 16) & + 255), + (b = 65535 & C), + !((_ = C >>> 24) <= l); + + ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + if (g && 0 == (240 & g)) { + for ( + v = _, y = g, w = b; + (g = + ((C = + r.lencode[ + w + + ((u & + ((1 << (v + y)) - + 1)) >> + v) + ]) >>> + 16) & + 255), + (b = 65535 & C), + !(v + (_ = C >>> 24) <= l); + + ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (u >>>= v), + (l -= v), + (r.back += v); + } + if ( + ((u >>>= _), + (l -= _), + (r.back += _), + (r.length = b), + 0 === g) + ) { + r.mode = 26; + break; + } + if (32 & g) { + (r.back = -1), (r.mode = 12); + break; + } + if (64 & g) { + (t.msg = + 'invalid literal/length code'), + (r.mode = 30); + break; + } + (r.extra = 15 & g), (r.mode = 22); + case 22: + if (r.extra) { + for (z = r.extra; l < z; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (r.length += + u & ((1 << r.extra) - 1)), + (u >>>= r.extra), + (l -= r.extra), + (r.back += r.extra); + } + (r.was = r.length), (r.mode = 23); + case 23: + for ( + ; + (g = + ((C = + r.distcode[ + u & ((1 << r.distbits) - 1) + ]) >>> + 16) & + 255), + (b = 65535 & C), + !((_ = C >>> 24) <= l); + + ) { + if (0 === o) break t; + o--, (u += i[s++] << l), (l += 8); + } + if (0 == (240 & g)) { + for ( + v = _, y = g, w = b; + (g = + ((C = + r.distcode[ + w + + ((u & + ((1 << (v + y)) - + 1)) >> + v) + ]) >>> + 16) & + 255), + (b = 65535 & C), + !(v + (_ = C >>> 24) <= l); + + ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (u >>>= v), + (l -= v), + (r.back += v); + } + if ( + ((u >>>= _), + (l -= _), + (r.back += _), + 64 & g) + ) { + (t.msg = 'invalid distance code'), + (r.mode = 30); + break; + } + (r.offset = b), + (r.extra = 15 & g), + (r.mode = 24); + case 24: + if (r.extra) { + for (z = r.extra; l < z; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + (r.offset += + u & ((1 << r.extra) - 1)), + (u >>>= r.extra), + (l -= r.extra), + (r.back += r.extra); + } + if (r.offset > r.dmax) { + (t.msg = + 'invalid distance too far back'), + (r.mode = 30); + break; + } + r.mode = 25; + case 25: + if (0 === h) break t; + if (((c = d - h), r.offset > c)) { + if ( + (c = r.offset - c) > r.whave && + r.sane + ) { + (t.msg = + 'invalid distance too far back'), + (r.mode = 30); + break; + } + (p = + c > r.wnext + ? ((c -= r.wnext), + r.wsize - c) + : r.wnext - c), + c > r.length && (c = r.length), + (m = r.window); + } else + (m = n), + (p = a - r.offset), + (c = r.length); + for ( + h < c && (c = h), + h -= c, + r.length -= c; + (n[a++] = m[p++]), --c; + + ); + 0 === r.length && (r.mode = 21); + break; + case 26: + if (0 === h) break t; + (n[a++] = r.length), + h--, + (r.mode = 21); + break; + case 27: + if (r.wrap) { + for (; l < 32; ) { + if (0 === o) break t; + o--, + (u |= i[s++] << l), + (l += 8); + } + if ( + ((d -= h), + (t.total_out += d), + (r.total += d), + d && + (t.adler = r.check = + r.flags + ? B(r.check, n, d, a - d) + : O( + r.check, + n, + d, + a - d, + )), + (d = h), + (r.flags ? u : L(u)) !== + r.check) + ) { + (t.msg = + 'incorrect data check'), + (r.mode = 30); + break; + } + l = u = 0; + } + r.mode = 28; + case 28: + if (r.wrap && r.flags) { + for (; l < 32; ) { + if (0 === o) break t; + o--, + (u += i[s++] << l), + (l += 8); + } + if ( + u !== + (4294967295 & r.total) + ) { + (t.msg = + 'incorrect length check'), + (r.mode = 30); + break; + } + l = u = 0; + } + r.mode = 29; + case 29: + x = 1; + break t; + case 30: + x = -3; + break t; + case 31: + return -4; + case 32: + default: + return U; + } + return ( + (t.next_out = a), + (t.avail_out = h), + (t.next_in = s), + (t.avail_in = o), + (r.hold = u), + (r.bits = l), + (r.wsize || + (d !== t.avail_out && + r.mode < 30 && + (r.mode < 27 || 4 !== e))) && + Z( + t, + t.output, + t.next_out, + d - t.avail_out, + ) + ? ((r.mode = 31), -4) + : ((f -= t.avail_in), + (d -= t.avail_out), + (t.total_in += f), + (t.total_out += d), + (r.total += d), + r.wrap && + d && + (t.adler = r.check = + r.flags + ? B( + r.check, + n, + d, + t.next_out - d, + ) + : O( + r.check, + n, + d, + t.next_out - d, + )), + (t.data_type = + r.bits + + (r.last ? 64 : 0) + + (12 === r.mode ? 128 : 0) + + (20 === r.mode || 15 === r.mode + ? 256 + : 0)), + ((0 == f && 0 === d) || 4 === e) && + x === N && + (x = -5), + x) + ); + }), + (r.inflateEnd = function (t) { + if (!t || !t.state) return U; + var e = t.state; + return ( + e.window && (e.window = null), + (t.state = null), + N + ); + }), + (r.inflateGetHeader = function (t, e) { + var r; + return t && t.state + ? 0 == (2 & (r = t.state).wrap) + ? U + : (((r.head = e).done = !1), N) + : U; + }), + (r.inflateSetDictionary = function (t, e) { + var r, + i = e.length; + return t && t.state + ? 0 !== (r = t.state).wrap && + 11 !== r.mode + ? U + : 11 === r.mode && + O(1, e, i, 0) !== r.check + ? -3 + : Z(t, e, i, i) + ? ((r.mode = 31), -4) + : ((r.havedict = 1), N) + : U; + }), + (r.inflateInfo = + 'pako inflate (from Nodeca project)'); + }, + { + '../utils/common': 41, + './adler32': 43, + './crc32': 45, + './inffast': 48, + './inftrees': 50, + }, + ], + 50: [ + function (t, e, r) { + 'use strict'; + var D = t('../utils/common'), + F = [ + 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, + 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, + 99, 115, 131, 163, 195, 227, 258, 0, 0, + ], + N = [ + 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, + 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, + 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, + 78, + ], + U = [ + 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, + 65, 97, 129, 193, 257, 385, 513, 769, + 1025, 1537, 2049, 3073, 4097, 6145, 8193, + 12289, 16385, 24577, 0, 0, + ], + P = [ + 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, + 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, + 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, + 64, 64, + ]; + e.exports = function ( + t, + e, + r, + i, + n, + s, + a, + o, + ) { + var h, + u, + l, + f, + d, + c, + p, + m, + _, + g = o.bits, + b = 0, + v = 0, + y = 0, + w = 0, + k = 0, + x = 0, + S = 0, + z = 0, + C = 0, + E = 0, + A = null, + I = 0, + O = new D.Buf16(16), + B = new D.Buf16(16), + R = null, + T = 0; + for (b = 0; b <= 15; b++) O[b] = 0; + for (v = 0; v < i; v++) O[e[r + v]]++; + for ( + k = g, w = 15; + 1 <= w && 0 === O[w]; + w-- + ); + if ((w < k && (k = w), 0 === w)) + return ( + (n[s++] = 20971520), + (n[s++] = 20971520), + (o.bits = 1), + 0 + ); + for (y = 1; y < w && 0 === O[y]; y++); + for ( + k < y && (k = y), b = z = 1; + b <= 15; + b++ + ) + if (((z <<= 1), (z -= O[b]) < 0)) + return -1; + if (0 < z && (0 === t || 1 !== w)) + return -1; + for (B[1] = 0, b = 1; b < 15; b++) + B[b + 1] = B[b] + O[b]; + for (v = 0; v < i; v++) + 0 !== e[r + v] && (a[B[e[r + v]]++] = v); + if ( + ((c = + 0 === t + ? ((A = R = a), 19) + : 1 === t + ? ((A = F), + (I -= 257), + (R = N), + (T -= 257), + 256) + : ((A = U), (R = P), -1)), + (b = y), + (d = s), + (S = v = E = 0), + (l = -1), + (f = (C = 1 << (x = k)) - 1), + (1 === t && 852 < C) || + (2 === t && 592 < C)) + ) + return 1; + for (;;) { + for ( + p = b - S, + _ = + a[v] < c + ? ((m = 0), a[v]) + : a[v] > c + ? ((m = R[T + a[v]]), + A[I + a[v]]) + : ((m = 96), 0), + h = 1 << (b - S), + y = u = 1 << x; + (n[d + (E >> S) + (u -= h)] = + (p << 24) | (m << 16) | _ | 0), + 0 !== u; + + ); + for (h = 1 << (b - 1); E & h; ) h >>= 1; + if ( + (0 !== h + ? ((E &= h - 1), (E += h)) + : (E = 0), + v++, + 0 == --O[b]) + ) { + if (b === w) break; + b = e[r + a[v]]; + } + if (k < b && (E & f) !== l) { + for ( + 0 === S && (S = k), + d += y, + z = 1 << (x = b - S); + x + S < w && !((z -= O[x + S]) <= 0); + + ) + x++, (z <<= 1); + if ( + ((C += 1 << x), + (1 === t && 852 < C) || + (2 === t && 592 < C)) + ) + return 1; + n[(l = E & f)] = + (k << 24) | (x << 16) | (d - s) | 0; + } + } + return ( + 0 !== E && + (n[d + E] = + ((b - S) << 24) | (64 << 16) | 0), + (o.bits = k), + 0 + ); + }; + }, + {'../utils/common': 41}, + ], + 51: [ + function (t, e, r) { + 'use strict'; + e.exports = { + 2: 'need dictionary', + 1: 'stream end', + 0: '', + '-1': 'file error', + '-2': 'stream error', + '-3': 'data error', + '-4': 'insufficient memory', + '-5': 'buffer error', + '-6': 'incompatible version', + }; + }, + {}, + ], + 52: [ + function (t, e, r) { + 'use strict'; + var o = t('../utils/common'); + function i(t) { + for (var e = t.length; 0 <= --e; ) t[e] = 0; + } + var _ = 15, + n = 16, + h = [ + 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, + 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, + 0, + ], + u = [ + 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, + 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, + 12, 12, 13, 13, + ], + a = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 2, 3, 7, + ], + l = [ + 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, + 12, 3, 13, 2, 14, 1, 15, + ], + f = new Array(576); + i(f); + var d = new Array(60); + i(d); + var c = new Array(512); + i(c); + var p = new Array(256); + i(p); + var m = new Array(29); + i(m); + var g, + b, + v, + y = new Array(30); + function w(t, e, r, i, n) { + (this.static_tree = t), + (this.extra_bits = e), + (this.extra_base = r), + (this.elems = i), + (this.max_length = n), + (this.has_stree = t && t.length); + } + function s(t, e) { + (this.dyn_tree = t), + (this.max_code = 0), + (this.stat_desc = e); + } + function k(t) { + return t < 256 ? c[t] : c[256 + (t >>> 7)]; + } + function x(t, e) { + (t.pending_buf[t.pending++] = 255 & e), + (t.pending_buf[t.pending++] = + (e >>> 8) & 255); + } + function S(t, e, r) { + t.bi_valid > n - r + ? ((t.bi_buf |= + (e << t.bi_valid) & 65535), + x(t, t.bi_buf), + (t.bi_buf = e >> (n - t.bi_valid)), + (t.bi_valid += r - n)) + : ((t.bi_buf |= + (e << t.bi_valid) & 65535), + (t.bi_valid += r)); + } + function z(t, e, r) { + S(t, r[2 * e], r[2 * e + 1]); + } + function C(t, e) { + for ( + var r = 0; + (r |= 1 & t), + (t >>>= 1), + (r <<= 1), + 0 < --e; + + ); + return r >>> 1; + } + function E(t, e, r) { + var i, + n, + s = new Array(_ + 1), + a = 0; + for (i = 1; i <= _; i++) + s[i] = a = (a + r[i - 1]) << 1; + for (n = 0; n <= e; n++) { + var o = t[2 * n + 1]; + 0 !== o && (t[2 * n] = C(s[o]++, o)); + } + } + function A(t) { + var e; + for (e = 0; e < 286; e++) + t.dyn_ltree[2 * e] = 0; + for (e = 0; e < 30; e++) + t.dyn_dtree[2 * e] = 0; + for (e = 0; e < 19; e++) + t.bl_tree[2 * e] = 0; + (t.dyn_ltree[512] = 1), + (t.opt_len = t.static_len = 0), + (t.last_lit = t.matches = 0); + } + function I(t) { + 8 < t.bi_valid + ? x(t, t.bi_buf) + : 0 < t.bi_valid && + (t.pending_buf[t.pending++] = t.bi_buf), + (t.bi_buf = 0), + (t.bi_valid = 0); + } + function O(t, e, r, i) { + var n = 2 * e, + s = 2 * r; + return ( + t[n] < t[s] || + (t[n] === t[s] && i[e] <= i[r]) + ); + } + function B(t, e, r) { + for ( + var i = t.heap[r], n = r << 1; + n <= t.heap_len && + (n < t.heap_len && + O( + e, + t.heap[n + 1], + t.heap[n], + t.depth, + ) && + n++, + !O(e, i, t.heap[n], t.depth)); + + ) + (t.heap[r] = t.heap[n]), + (r = n), + (n <<= 1); + t.heap[r] = i; + } + function R(t, e, r) { + var i, + n, + s, + a, + o = 0; + if (0 !== t.last_lit) + for ( + ; + (i = + (t.pending_buf[t.d_buf + 2 * o] << + 8) | + t.pending_buf[t.d_buf + 2 * o + 1]), + (n = t.pending_buf[t.l_buf + o]), + o++, + 0 === i + ? z(t, n, e) + : (z(t, (s = p[n]) + 256 + 1, e), + 0 !== (a = h[s]) && + S(t, (n -= m[s]), a), + z(t, (s = k(--i)), r), + 0 !== (a = u[s]) && + S(t, (i -= y[s]), a)), + o < t.last_lit; + + ); + z(t, 256, e); + } + function T(t, e) { + var r, + i, + n, + s = e.dyn_tree, + a = e.stat_desc.static_tree, + o = e.stat_desc.has_stree, + h = e.stat_desc.elems, + u = -1; + for ( + t.heap_len = 0, t.heap_max = 573, r = 0; + r < h; + r++ + ) + 0 !== s[2 * r] + ? ((t.heap[++t.heap_len] = u = r), + (t.depth[r] = 0)) + : (s[2 * r + 1] = 0); + for (; t.heap_len < 2; ) + (s[ + 2 * + (n = t.heap[++t.heap_len] = + u < 2 ? ++u : 0) + ] = 1), + (t.depth[n] = 0), + t.opt_len--, + o && (t.static_len -= a[2 * n + 1]); + for ( + e.max_code = u, r = t.heap_len >> 1; + 1 <= r; + r-- + ) + B(t, s, r); + for ( + n = h; + (r = t.heap[1]), + (t.heap[1] = t.heap[t.heap_len--]), + B(t, s, 1), + (i = t.heap[1]), + (t.heap[--t.heap_max] = r), + (t.heap[--t.heap_max] = i), + (s[2 * n] = s[2 * r] + s[2 * i]), + (t.depth[n] = + (t.depth[r] >= t.depth[i] + ? t.depth[r] + : t.depth[i]) + 1), + (s[2 * r + 1] = s[2 * i + 1] = n), + (t.heap[1] = n++), + B(t, s, 1), + 2 <= t.heap_len; + + ); + (t.heap[--t.heap_max] = t.heap[1]), + (function (t, e) { + var r, + i, + n, + s, + a, + o, + h = e.dyn_tree, + u = e.max_code, + l = e.stat_desc.static_tree, + f = e.stat_desc.has_stree, + d = e.stat_desc.extra_bits, + c = e.stat_desc.extra_base, + p = e.stat_desc.max_length, + m = 0; + for (s = 0; s <= _; s++) + t.bl_count[s] = 0; + for ( + h[2 * t.heap[t.heap_max] + 1] = 0, + r = t.heap_max + 1; + r < 573; + r++ + ) + p < + (s = + h[ + 2 * h[2 * (i = t.heap[r]) + 1] + + 1 + ] + 1) && ((s = p), m++), + (h[2 * i + 1] = s), + u < i || + (t.bl_count[s]++, + (a = 0), + c <= i && (a = d[i - c]), + (o = h[2 * i]), + (t.opt_len += o * (s + a)), + f && + (t.static_len += + o * (l[2 * i + 1] + a))); + if (0 !== m) { + do { + for ( + s = p - 1; + 0 === t.bl_count[s]; + + ) + s--; + t.bl_count[s]--, + (t.bl_count[s + 1] += 2), + t.bl_count[p]--, + (m -= 2); + } while (0 < m); + for (s = p; 0 !== s; s--) + for (i = t.bl_count[s]; 0 !== i; ) + u < (n = t.heap[--r]) || + (h[2 * n + 1] !== s && + ((t.opt_len += + (s - h[2 * n + 1]) * + h[2 * n]), + (h[2 * n + 1] = s)), + i--); + } + })(t, e), + E(s, u, t.bl_count); + } + function D(t, e, r) { + var i, + n, + s = -1, + a = e[1], + o = 0, + h = 7, + u = 4; + for ( + 0 === a && ((h = 138), (u = 3)), + e[2 * (r + 1) + 1] = 65535, + i = 0; + i <= r; + i++ + ) + (n = a), + (a = e[2 * (i + 1) + 1]), + (++o < h && n === a) || + (o < u + ? (t.bl_tree[2 * n] += o) + : 0 !== n + ? (n !== s && t.bl_tree[2 * n]++, + t.bl_tree[32]++) + : o <= 10 + ? t.bl_tree[34]++ + : t.bl_tree[36]++, + (s = n), + (u = + (o = 0) === a + ? ((h = 138), 3) + : n === a + ? ((h = 6), 3) + : ((h = 7), 4))); + } + function F(t, e, r) { + var i, + n, + s = -1, + a = e[1], + o = 0, + h = 7, + u = 4; + for ( + 0 === a && ((h = 138), (u = 3)), i = 0; + i <= r; + i++ + ) + if ( + ((n = a), + (a = e[2 * (i + 1) + 1]), + !(++o < h && n === a)) + ) { + if (o < u) + for ( + ; + z(t, n, t.bl_tree), 0 != --o; + + ); + else + 0 !== n + ? (n !== s && + (z(t, n, t.bl_tree), o--), + z(t, 16, t.bl_tree), + S(t, o - 3, 2)) + : o <= 10 + ? (z(t, 17, t.bl_tree), + S(t, o - 3, 3)) + : (z(t, 18, t.bl_tree), + S(t, o - 11, 7)); + (s = n), + (u = + (o = 0) === a + ? ((h = 138), 3) + : n === a + ? ((h = 6), 3) + : ((h = 7), 4)); + } + } + i(y); + var N = !1; + function U(t, e, r, i) { + var n, s, a; + S(t, 0 + (i ? 1 : 0), 3), + (s = e), + (a = r), + I((n = t)), + x(n, a), + x(n, ~a), + o.arraySet( + n.pending_buf, + n.window, + s, + a, + n.pending, + ), + (n.pending += a); + } + (r._tr_init = function (t) { + N || + ((function () { + var t, + e, + r, + i, + n, + s = new Array(_ + 1); + for (i = r = 0; i < 28; i++) + for ( + m[i] = r, t = 0; + t < 1 << h[i]; + t++ + ) + p[r++] = i; + for ( + p[r - 1] = i, i = n = 0; + i < 16; + i++ + ) + for ( + y[i] = n, t = 0; + t < 1 << u[i]; + t++ + ) + c[n++] = i; + for (n >>= 7; i < 30; i++) + for ( + y[i] = n << 7, t = 0; + t < 1 << (u[i] - 7); + t++ + ) + c[256 + n++] = i; + for (e = 0; e <= _; e++) s[e] = 0; + for (t = 0; t <= 143; ) + (f[2 * t + 1] = 8), t++, s[8]++; + for (; t <= 255; ) + (f[2 * t + 1] = 9), t++, s[9]++; + for (; t <= 279; ) + (f[2 * t + 1] = 7), t++, s[7]++; + for (; t <= 287; ) + (f[2 * t + 1] = 8), t++, s[8]++; + for (E(f, 287, s), t = 0; t < 30; t++) + (d[2 * t + 1] = 5), + (d[2 * t] = C(t, 5)); + (g = new w(f, h, 257, 286, _)), + (b = new w(d, u, 0, 30, _)), + (v = new w( + new Array(0), + a, + 0, + 19, + 7, + )); + })(), + (N = !0)), + (t.l_desc = new s(t.dyn_ltree, g)), + (t.d_desc = new s(t.dyn_dtree, b)), + (t.bl_desc = new s(t.bl_tree, v)), + (t.bi_buf = 0), + (t.bi_valid = 0), + A(t); + }), + (r._tr_stored_block = U), + (r._tr_flush_block = function (t, e, r, i) { + var n, + s, + a = 0; + 0 < t.level + ? (2 === t.strm.data_type && + (t.strm.data_type = (function (t) { + var e, + r = 4093624447; + for ( + e = 0; + e <= 31; + e++, r >>>= 1 + ) + if ( + 1 & r && + 0 !== t.dyn_ltree[2 * e] + ) + return 0; + if ( + 0 !== t.dyn_ltree[18] || + 0 !== t.dyn_ltree[20] || + 0 !== t.dyn_ltree[26] + ) + return 1; + for (e = 32; e < 256; e++) + if (0 !== t.dyn_ltree[2 * e]) + return 1; + return 0; + })(t)), + T(t, t.l_desc), + T(t, t.d_desc), + (a = (function (t) { + var e; + for ( + D( + t, + t.dyn_ltree, + t.l_desc.max_code, + ), + D( + t, + t.dyn_dtree, + t.d_desc.max_code, + ), + T(t, t.bl_desc), + e = 18; + 3 <= e && + 0 === t.bl_tree[2 * l[e] + 1]; + e-- + ); + return ( + (t.opt_len += + 3 * (e + 1) + 5 + 5 + 4), + e + ); + })(t)), + (n = (t.opt_len + 3 + 7) >>> 3), + (s = (t.static_len + 3 + 7) >>> 3) <= + n && (n = s)) + : (n = s = r + 5), + r + 4 <= n && -1 !== e + ? U(t, e, r, i) + : 4 === t.strategy || s === n + ? (S(t, 2 + (i ? 1 : 0), 3), + R(t, f, d)) + : (S(t, 4 + (i ? 1 : 0), 3), + (function (t, e, r, i) { + var n; + for ( + S(t, e - 257, 5), + S(t, r - 1, 5), + S(t, i - 4, 4), + n = 0; + n < i; + n++ + ) + S( + t, + t.bl_tree[2 * l[n] + 1], + 3, + ); + F(t, t.dyn_ltree, e - 1), + F(t, t.dyn_dtree, r - 1); + })( + t, + t.l_desc.max_code + 1, + t.d_desc.max_code + 1, + a + 1, + ), + R(t, t.dyn_ltree, t.dyn_dtree)), + A(t), + i && I(t); + }), + (r._tr_tally = function (t, e, r) { + return ( + (t.pending_buf[ + t.d_buf + 2 * t.last_lit + ] = (e >>> 8) & 255), + (t.pending_buf[ + t.d_buf + 2 * t.last_lit + 1 + ] = 255 & e), + (t.pending_buf[t.l_buf + t.last_lit] = + 255 & r), + t.last_lit++, + 0 === e + ? t.dyn_ltree[2 * r]++ + : (t.matches++, + e--, + t.dyn_ltree[2 * (p[r] + 256 + 1)]++, + t.dyn_dtree[2 * k(e)]++), + t.last_lit === t.lit_bufsize - 1 + ); + }), + (r._tr_align = function (t) { + var e; + S(t, 2, 3), + z(t, 256, f), + 16 === (e = t).bi_valid + ? (x(e, e.bi_buf), + (e.bi_buf = 0), + (e.bi_valid = 0)) + : 8 <= e.bi_valid && + ((e.pending_buf[e.pending++] = + 255 & e.bi_buf), + (e.bi_buf >>= 8), + (e.bi_valid -= 8)); + }); + }, + {'../utils/common': 41}, + ], + 53: [ + function (t, e, r) { + 'use strict'; + e.exports = function () { + (this.input = null), + (this.next_in = 0), + (this.avail_in = 0), + (this.total_in = 0), + (this.output = null), + (this.next_out = 0), + (this.avail_out = 0), + (this.total_out = 0), + (this.msg = ''), + (this.state = null), + (this.data_type = 2), + (this.adler = 0); + }; + }, + {}, + ], + 54: [ + function (t, e, r) { + 'use strict'; + e.exports = + 'function' == typeof setImmediate + ? setImmediate + : function () { + var t = [].slice.apply(arguments); + t.splice(1, 0, 0), + setTimeout.apply(null, t); + }; + }, + {}, + ], + }, + {}, + [10], + )(10); + }); + }).call( + this, + 'undefined' != typeof global + ? global + : 'undefined' != typeof self + ? self + : 'undefined' != typeof window + ? window + : {}, + ); + }, + {}, + ], + }, + {}, + [1], + )(1); + }); + }).call( + this, + typeof global !== 'undefined' + ? global + : typeof self !== 'undefined' + ? self + : typeof window !== 'undefined' + ? window + : {}, + ); + }, + {}, + ], + }, + {}, + [1], + )(1); +}); diff --git a/static/rule-java-docs/member-search-index.js b/static/rule-java-docs/member-search-index.js index 3c60eb53a..8e8495b2e 100644 --- a/static/rule-java-docs/member-search-index.js +++ b/static/rule-java-docs/member-search-index.js @@ -1 +1,2908 @@ -memberSearchIndex = [{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"_allowedValues"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"_categoryName"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"_client"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"_required"},{"p":"sailpoint.object","c":"Filter","l":"accept(Filter.FilterVisitor)","url":"accept(sailpoint.object.Filter.FilterVisitor)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"accept(Filter.FilterVisitor)","url":"accept(sailpoint.object.Filter.FilterVisitor)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"accept(Filter.FilterVisitor)","url":"accept(sailpoint.object.Filter.FilterVisitor)"},{"p":"sailpoint.rule","c":"Account","l":"Account()","url":"%3Cinit%3E()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"accountExistsByDisplayName(String, String)","url":"accountExistsByDisplayName(java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"accountExistsByNativeIdentity(String, String)","url":"accountExistsByNativeIdentity(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"AccountRequest()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"AccountRequest(Map)","url":"%3Cinit%3E(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"AccountRequest(ProvisioningPlan.AccountRequest.Operation, String, String, String)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan.AccountRequest.Operation,java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"AccountRequest(ProvisioningPlan.AccountRequest)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan.AccountRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"Add"},{"p":"sailpoint.object","c":"QueryOptions","l":"add(Filter...)","url":"add(sailpoint.object.Filter...)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"add(Filter)","url":"add(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"add(ProvisioningPlan.AccountRequest)","url":"add(sailpoint.object.ProvisioningPlan.AccountRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"add(ProvisioningPlan.ObjectRequest)","url":"add(sailpoint.object.ProvisioningPlan.ObjectRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"add(String, String, Object)","url":"add(java.lang.String,java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"add(String, String, ProvisioningPlan.AccountRequest.Operation)","url":"add(java.lang.String,java.lang.String,sailpoint.object.ProvisioningPlan.AccountRequest.Operation)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"add(String, String, ProvisioningPlan.Operation, Object)","url":"add(java.lang.String,java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"add(String, String, String, ProvisioningPlan.Operation, Object)","url":"add(java.lang.String,java.lang.String,java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object)"},{"p":"sailpoint.object","c":"QueryOptions","l":"addFilter(Filter)","url":"addFilter(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"addFiltered(ProvisioningPlan.AbstractRequest)","url":"addFiltered(sailpoint.object.ProvisioningPlan.AbstractRequest)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"addHeader(String, String)","url":"addHeader(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"addObjectRequest(ProvisioningPlan.ObjectRequest)","url":"addObjectRequest(sailpoint.object.ProvisioningPlan.ObjectRequest)"},{"p":"sailpoint.object","c":"QueryOptions","l":"addOrdering(String, boolean)","url":"addOrdering(java.lang.String,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"addRequest(ProvisioningPlan.AbstractRequest)","url":"addRequest(sailpoint.object.ProvisioningPlan.AbstractRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"addRequester(Identity)","url":"addRequester(sailpoint.object.Identity)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"addValues(Object, boolean)","url":"addValues(java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"addValues(Object, Object, boolean)","url":"addValues(java.lang.Object,java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"addValues(Object, Object)","url":"addValues(java.lang.Object,java.lang.Object)"},{"p":"sailpoint.object","c":"Filter.BooleanOperation","l":"AND"},{"p":"sailpoint.object","c":"Filter","l":"and(Filter, Filter)","url":"and(sailpoint.object.Filter,sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter","l":"and(Filter...)","url":"and(sailpoint.object.Filter...)"},{"p":"sailpoint.object","c":"Filter","l":"and(List)","url":"and(java.util.List)"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"ANYWHERE"},{"p":"sailpoint.object","c":"Application","l":"Application()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"ATT_DEASSIGN_ENTITLEMENTS"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_GROUP_PROVISIONING"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_HOST"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_NAME"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_NO_GROUP_PERMISSIONS"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_NO_PERMISSIONS"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_NO_PROVISIONING_REQUESTS"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"ATT_OBJ_REQ_NO_PROVISIONING"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_OPERATIONS"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_PASSWORD"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_PASSWORD_CONFIRM"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"ATT_PREFER_REMOVE_OVER_RETAIN"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_PROVISIONING_REQUEST_EXPIRATION"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_ROLE_SYNC_HISTORY"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_SCHEMA_PROVISIONING_MAP"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_STATUS_SUCCESS_IS_COMMITTED"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_UNIVERSAL_MANAGER"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_URL"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ATT_USERNAME"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"ATTACHMENT_CONFIG_LIST"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"ATTACHMENTS"},{"p":"sailpoint.object","c":"AttributeDefinition","l":"AttributeDefinition()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"AttributeRequest()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"AttributeRequest(Map)","url":"%3Cinit%3E(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"AttributeRequest(ProvisioningPlan.AttributeRequest)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan.AttributeRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"AttributeRequest(String, Object)","url":"%3Cinit%3E(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"AttributeRequest(String, ProvisioningPlan.Operation, Object, String)","url":"%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"AttributeRequest(String, ProvisioningPlan.Operation, Object)","url":"%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object)"},{"p":"sailpoint.object","c":"Attributes","l":"Attributes()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Attributes","l":"Attributes(Attributes)","url":"%3Cinit%3E(sailpoint.object.Attributes)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"attrSearchCountAccounts(List, String, String, List)","url":"attrSearchCountAccounts(java.util.List,java.lang.String,java.lang.String,java.util.List)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"attrSearchGetIdentityName(List, String, String, List)","url":"attrSearchGetIdentityName(java.util.List,java.lang.String,java.lang.String,java.util.List)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"BaseAttributeDefinition()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"BaseFilterVisitor()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Bundle","l":"Bundle()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"clone()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"clone()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"clone()"},{"p":"sailpoint.object","c":"Filter","l":"clone(Filter)","url":"clone(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"clone(ProvisioningPlan.GenericRequest)","url":"clone(sailpoint.object.ProvisioningPlan.GenericRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"cloneAccountProperties(ProvisioningPlan.AccountRequest)","url":"cloneAccountProperties(sailpoint.object.ProvisioningPlan.AccountRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"collapse(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"collapse(boolean)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"COLLECTION_CONDITION"},{"p":"sailpoint.object","c":"Filter","l":"collectionCondition(String, Filter)","url":"collectionCondition(java.lang.String,sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter","l":"compile(String)","url":"compile(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.FilterCompiler","l":"compileFilter(String)","url":"compileFilter(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"CompositeFilter()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"CompositeFilter(Filter.BooleanOperation, Filter...)","url":"%3Cinit%3E(sailpoint.object.Filter.BooleanOperation,sailpoint.object.Filter...)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"CompositeFilter(Filter.BooleanOperation, List)","url":"%3Cinit%3E(sailpoint.object.Filter.BooleanOperation,java.util.List)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"CompositeFilter(Filter.CompositeFilter)","url":"%3Cinit%3E(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"CONFIG_DEFAULT_LANG"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"CONFIG_LANGUAGES"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"configure(Map)","url":"configure(java.util.Map)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"CONTAINS_ALL"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"contains(List, Object, boolean)","url":"contains(java.util.List,java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"Filter","l":"containsAll(String, Collection)","url":"containsAll(java.lang.String,java.util.Collection)"},{"p":"sailpoint.object","c":"Filter","l":"contentEquals(Filter)","url":"contentEquals(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter.FilterCompiler.IdentitiferLookAhead","l":"continueParsingInternal(Parser)","url":"continueParsingInternal(sailpoint.tools.Parser)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"countAccounts(String)","url":"countAccounts(java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"countIdentitiesBySearchableIdentityAttribute(String, String, String)","url":"countIdentitiesBySearchableIdentityAttribute(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.api","c":"SailPointContext","l":"countObjects(Class, QueryOptions)","url":"countObjects(java.lang.Class,sailpoint.object.QueryOptions)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Create"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Create"},{"p":"sailpoint.object","c":"Filter.ValueEscapeStyle","l":"DEFAULT"},{"p":"sailpoint.connector","c":"DelimitedFileConnector","l":"defaultBuildMap(List, List, boolean)","url":"defaultBuildMap(java.util.List,java.util.List,boolean)"},{"p":"sailpoint.connector","c":"DelimitedFileConnector","l":"defaultBuildMap(List, List)","url":"defaultBuildMap(java.util.List,java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Delete"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Delete"},{"p":"sailpoint.connector","c":"DelimitedFileConnector","l":"DelimitedFileConnector()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"DESCRIPTION_ATTRIBUTE"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Disable"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Disable"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Enable"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Enable"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"END"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"Endpoint()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"Entitlement"},{"p":"sailpoint.object","c":"Entitlement","l":"Entitlement(String, String, String, String, Locale)","url":"%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Locale)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"EQ"},{"p":"sailpoint.object","c":"Filter","l":"eq(String, Object)","url":"eq(java.lang.String,java.lang.Object)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"EQUALS_FILTER"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"equals(Object, Object, boolean)","url":"equals(java.lang.Object,java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"Filter","l":"equals(Object)","url":"equals(java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"equals(Object)","url":"equals(java.lang.Object)"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"EXACT"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"EXEC_STYLE_REQUEST"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"EXEC_STYLE_SYNCHRONOUS"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executeDelete(String, List)","url":"executeDelete(java.lang.String,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executeDelete(String, Map, List)","url":"executeDelete(java.lang.String,java.util.Map,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executeGet(Map, List)","url":"executeGet(java.util.Map,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executeGet(String, Map, List)","url":"executeGet(java.lang.String,java.util.Map,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executePatch(String, Object, List)","url":"executePatch(java.lang.String,java.lang.Object,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executePatch(String, Object, Map, List)","url":"executePatch(java.lang.String,java.lang.Object,java.util.Map,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executePost(String, Object, List)","url":"executePost(java.lang.String,java.lang.Object,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executePost(String, Object, Map, List)","url":"executePost(java.lang.String,java.lang.Object,java.util.Map,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executePut(String, Object, List)","url":"executePut(java.lang.String,java.lang.Object,java.util.List)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"executePut(String, Object, Map, List)","url":"executePut(java.lang.String,java.lang.Object,java.util.Map,java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"expandRequest()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"expandRequest()"},{"p":"sailpoint.object","c":"Field","l":"Field()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Filter","l":"Filter()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Filter.FilterCompiler","l":"FilterCompiler()","url":"%3Cinit%3E()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"findIdentitiesBySearchableIdentityAttribute(String, String, String, String)","url":"findIdentitiesBySearchableIdentityAttribute(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"Filter","l":"fromExample(Object)","url":"fromExample(java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"fromMap(Map)","url":"fromMap(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"fromMap(Map)","url":"fromMap(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"fromMap(Map)","url":"fromMap(java.util.Map)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"GE"},{"p":"sailpoint.object","c":"Filter","l":"ge(String, Object)","url":"ge(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"GenericRequest()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"GenericRequest(ProvisioningPlan.GenericRequest)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan.GenericRequest)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"get(String)","url":"get(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"get(String)","url":"get(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"get(String)","url":"get(java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountAttribute(Account, String)","url":"getAccountAttribute(sailpoint.rule.Account,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountAttribute(String, String, String)","url":"getAccountAttribute(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountAttributeBool(Account, String)","url":"getAccountAttributeBool(sailpoint.rule.Account,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountAttributeBool(String, String, String)","url":"getAccountAttributeBool(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountAttributeInt(Account, String)","url":"getAccountAttributeInt(sailpoint.rule.Account,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountAttributeInt(String, String, String)","url":"getAccountAttributeInt(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountByDisplayName(String, String)","url":"getAccountByDisplayName(java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAccountByNativeIdentity(String, String)","url":"getAccountByNativeIdentity(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"Entitlement","l":"getAccountEntitlements(Locale, Link, String)","url":"getAccountEntitlements(java.util.Locale,sailpoint.object.Link,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAccountRequest(String, String, String)","url":"getAccountRequest(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAccountRequest(String)","url":"getAccountRequest(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAccountRequests()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAccountRequests(String, String)","url":"getAccountRequests(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAccountRequests(String)","url":"getAccountRequests(java.lang.String)"},{"p":"sailpoint.object","c":"Application","l":"getAccountSchema()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getAfterRule()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getAllAccounts(String, String)","url":"getAllAccounts(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAllRequests()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getAppForTargetCollector()"},{"p":"sailpoint.object","c":"Field","l":"getApplication()"},{"p":"sailpoint.object","c":"Link","l":"getApplication()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getApplication()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getApplicationDisplayName(String)","url":"getApplicationDisplayName(java.lang.String)"},{"p":"sailpoint.object","c":"Link","l":"getApplicationId()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getApplicationId()"},{"p":"sailpoint.object","c":"Entitlement","l":"getApplicationName()"},{"p":"sailpoint.object","c":"Link","l":"getApplicationName()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getApplicationNames()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"getArgs()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getArgs()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getArguments()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getArguments()"},{"p":"sailpoint.object","c":"Identity","l":"getAssignedRole(String)","url":"getAssignedRole(java.lang.String)"},{"p":"sailpoint.object","c":"Identity","l":"getAssignedRoles()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getAssignmentId()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getAttribute()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getAttribute(String)","url":"getAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Field","l":"getAttribute(String)","url":"getAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Identity","l":"getAttribute(String)","url":"getAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"getAttribute(String)","url":"getAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Link","l":"getAttribute(String)","url":"getAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getAttribute(String)","url":"getAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Schema","l":"getAttributeDefinition(String)","url":"getAttributeDefinition(java.lang.String)"},{"p":"sailpoint.object","c":"Entitlement","l":"getAttributeName()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getAttributes()"},{"p":"sailpoint.object","c":"Application","l":"getAttributes()"},{"p":"sailpoint.object","c":"Identity","l":"getAttributes()"},{"p":"sailpoint.object","c":"Link","l":"getAttributes()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getAttributes()"},{"p":"sailpoint.object","c":"Schema","l":"getAttributes()"},{"p":"sailpoint.rule","c":"Account","l":"getAttributes()"},{"p":"sailpoint.rule","c":"Identity","l":"getAttributes()"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"getAttributes()"},{"p":"sailpoint.object","c":"Entitlement","l":"getAttributeValue()"},{"p":"sailpoint.object","c":"Application","l":"getAttributeValue(String)","url":"getAttributeValue(java.lang.String)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getBaseUrl()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getBeforeRule()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getBody()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getBoolean(String)","url":"getBoolean(java.lang.String)"},{"p":"sailpoint.object","c":"Identity","l":"getBundles()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getCast()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getCategoryName()"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"getChildren()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getCollectionCondition()"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"getColumn()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getComments()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getComments()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getContextUrl()"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"getCookies()"},{"p":"sailpoint.rule","c":"Identity","l":"getCountry()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getDefaultValue()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getDescription()"},{"p":"sailpoint.object","c":"Entitlement","l":"getDescription()"},{"p":"sailpoint.rule","c":"Account","l":"getDescription()"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"getDescription()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getDescription(Locale)","url":"getDescription(java.util.Locale)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getDescriptions()"},{"p":"sailpoint.object","c":"Bundle","l":"getDisplayableName()"},{"p":"sailpoint.object","c":"Identity","l":"getDisplayableName()"},{"p":"sailpoint.object","c":"Link","l":"getDisplayableName()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getDisplayableName()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getDisplayableName(Locale)","url":"getDisplayableName(java.util.Locale)"},{"p":"sailpoint.object","c":"Schema","l":"getDisplayAttribute()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getDisplayName()"},{"p":"sailpoint.object","c":"Bundle","l":"getDisplayName()"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"getDisplayName()"},{"p":"sailpoint.object","c":"Identity","l":"getDisplayName()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getDisplayName()"},{"p":"sailpoint.rule","c":"Identity","l":"getDisplayName()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getDisplayValue()"},{"p":"sailpoint.object","c":"Identity","l":"getEmail()"},{"p":"sailpoint.rule","c":"Identity","l":"getEmail()"},{"p":"sailpoint.rule","c":"Identity","l":"getEmployeeNumber()"},{"p":"sailpoint.object","c":"Schema","l":"getEntitlementAttributeNames()"},{"p":"sailpoint.object","c":"Link","l":"getEntitlementAttributes()"},{"p":"sailpoint.object","c":"Schema","l":"getEntitlementAttributes()"},{"p":"sailpoint.object","c":"Link","l":"getEntitlements(Locale, String)","url":"getEntitlements(java.util.Locale,java.lang.String)"},{"p":"sailpoint.object","c":"Filter","l":"getExpression()"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"getExpression()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getExpression()"},{"p":"sailpoint.object","c":"Filter","l":"getExpression(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getFiltered()"},{"p":"sailpoint.object","c":"QueryOptions","l":"getFilters()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getFirstAccount(String, String)","url":"getFirstAccount(java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getFirstAccountNativeIdentity(String, String)","url":"getFirstAccountNativeIdentity(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"Identity","l":"getFirstname()"},{"p":"sailpoint.rule","c":"Identity","l":"getFirstName()"},{"p":"sailpoint.object","c":"QueryOptions","l":"getFirstRow()"},{"p":"sailpoint.object","c":"Identity","l":"getFullName()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getFullUrl()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getHeader()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getHttpMethodType()"},{"p":"sailpoint.object","c":"Identity","l":"getId()"},{"p":"sailpoint.rule","c":"Identity","l":"getId()"},{"p":"sailpoint.object","c":"Link","l":"getIdentity()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getIdentity()"},{"p":"sailpoint.object","c":"ResourceObject","l":"getIdentity()"},{"p":"sailpoint.object","c":"Schema","l":"getIdentityAttribute()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getIdentityById(String)","url":"getIdentityById(java.lang.String)"},{"p":"sailpoint.rule","c":"Account","l":"getIdentityId()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getIDMAccountRequest()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getIIQAccountRequest()"},{"p":"sailpoint.object","c":"Application","l":"getIntAttributeValue(String)","url":"getIntAttributeValue(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getIntegrationData()"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"getInverseOperation()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getJoinProperty()"},{"p":"sailpoint.object","c":"Attributes","l":"getKeys()"},{"p":"sailpoint.object","c":"Identity","l":"getLastname()"},{"p":"sailpoint.rule","c":"Identity","l":"getLastName()"},{"p":"sailpoint.rule","c":"Identity","l":"getLifecycleState()"},{"p":"sailpoint.object","c":"Identity","l":"getLink(Application)","url":"getLink(sailpoint.object.Application)"},{"p":"sailpoint.object","c":"Identity","l":"getLinks()"},{"p":"sailpoint.object","c":"Attributes","l":"getList(String)","url":"getList(java.lang.String)"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"getLocalizedMessage()"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"getLocalizedMessage(Locale, TimeZone)","url":"getLocalizedMessage(java.util.Locale,java.util.TimeZone)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getMaintenanceExpiration()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getManagedAttributeDescription(String, String, String, ManagedAttribute.Type)","url":"getManagedAttributeDescription(java.lang.String,java.lang.String,java.lang.String,sailpoint.object.ManagedAttribute.Type)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getManagedAttributeDetails(String, String, String, ManagedAttribute.Type)","url":"getManagedAttributeDetails(java.lang.String,java.lang.String,java.lang.String,sailpoint.object.ManagedAttribute.Type)"},{"p":"sailpoint.object","c":"Identity","l":"getManager()"},{"p":"sailpoint.object","c":"Application","l":"getManagerCorrelationFilter()"},{"p":"sailpoint.rule","c":"Identity","l":"getManagerId()"},{"p":"sailpoint.rule","c":"Identity","l":"getManagerName()"},{"p":"sailpoint.object","c":"Identity","l":"getManagerStatus()"},{"p":"sailpoint.object","c":"Attributes","l":"getMap()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getMatchingAccountRequest(ProvisioningPlan.AccountRequest)","url":"getMatchingAccountRequest(sailpoint.object.ProvisioningPlan.AccountRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getMatchingRequest(List, ProvisioningPlan.AbstractRequest, boolean)","url":"getMatchingRequest(java.util.List,sailpoint.object.ProvisioningPlan.AbstractRequest,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getMatchingRequest(List, ProvisioningPlan.AbstractRequest)","url":"getMatchingRequest(java.util.List,sailpoint.object.ProvisioningPlan.AbstractRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getMatchingRequest(ProvisioningPlan.AbstractRequest, boolean)","url":"getMatchingRequest(sailpoint.object.ProvisioningPlan.AbstractRequest,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getMatchingRequest(ProvisioningPlan.AbstractRequest)","url":"getMatchingRequest(sailpoint.object.ProvisioningPlan.AbstractRequest)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getMatchMode()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getMatchModeString(String, String)","url":"getMatchModeString(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"getMessageKey()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getModified()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getModifyAccountRequests()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getName()"},{"p":"sailpoint.object","c":"Identity","l":"getName()"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"getName()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getName()"},{"p":"sailpoint.rule","c":"Identity","l":"getName()"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"getName()"},{"p":"sailpoint.object","c":"Link","l":"getNativeIdentity()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getNativeIdentity()"},{"p":"sailpoint.rule","c":"Account","l":"getNativeIdentity()"},{"p":"sailpoint.object","c":"Schema","l":"getNativeObjectType()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getNonModifyAccountRequests()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getNormalizedStatus()"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"getObject()"},{"p":"sailpoint.api","c":"SailPointContext","l":"getObject(Class, String)","url":"getObject(java.lang.Class,java.lang.String)"},{"p":"sailpoint.api","c":"SailPointContext","l":"getObjectById(Class, String)","url":"getObjectById(java.lang.Class,java.lang.String)"},{"p":"sailpoint.api","c":"SailPointContext","l":"getObjectByName(Class, String)","url":"getObjectByName(java.lang.Class,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getObjectRequest(String, String, String)","url":"getObjectRequest(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getObjectRequests()"},{"p":"sailpoint.api","c":"SailPointContext","l":"getObjects(Class, QueryOptions)","url":"getObjects(java.lang.Class,sailpoint.object.QueryOptions)"},{"p":"sailpoint.object","c":"Schema","l":"getObjectType()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getOp()"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"getOperation()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getOperation()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"getOperation()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getOperation()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getOperationType()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getOwner()"},{"p":"sailpoint.object","c":"Application","l":"getPasswordPolicies()"},{"p":"sailpoint.rule","c":"Identity","l":"getPersonalEmail()"},{"p":"sailpoint.rule","c":"Identity","l":"getPhone()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getProperty()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getRawAccountAttribute(Account, String)","url":"getRawAccountAttribute(sailpoint.rule.Account,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getRawAccountAttribute(String, String, String)","url":"getRawAccountAttribute(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getRequesters()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getResMappingObj()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getResponseCode()"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"getResponseHeaders()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getResult()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getResult()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"getRights()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"getRightsList()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"getRightsListClone()"},{"p":"sailpoint.object","c":"Identity","l":"getRoleAssignments()"},{"p":"sailpoint.object","c":"RoleAssignment","l":"getRoleId()"},{"p":"sailpoint.object","c":"RoleAssignment","l":"getRoleName()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getRootPath()"},{"p":"sailpoint.object","c":"Application","l":"getSchema(String)","url":"getSchema(java.lang.String)"},{"p":"sailpoint.object","c":"Application","l":"getSchemas()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getSequenceNumberForEndpoint()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getSource()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getSourceAttributeBySourceId(String, String)","url":"getSourceAttributeBySourceId(java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"getSourceAttributeBySourceName(String, String)","url":"getSourceAttributeBySourceName(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getSourceId()"},{"p":"sailpoint.rule","c":"Account","l":"getSourceId()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getSourceName()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getSourceType()"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"getStatus()"},{"p":"sailpoint.object","c":"Attributes","l":"getString(String)","url":"getString(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getString(String)","url":"getString(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getString(String)","url":"getString(java.lang.String)"},{"p":"sailpoint.object","c":"ResourceObject","l":"getString(String)","url":"getString(java.lang.String)"},{"p":"sailpoint.object","c":"Field","l":"getStringAttribute(String)","url":"getStringAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Identity","l":"getStringAttribute(String)","url":"getStringAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"ResourceObject","l":"getStringAttribute(String)","url":"getStringAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Application","l":"getStringAttributeValue(String)","url":"getStringAttributeValue(java.lang.String)"},{"p":"sailpoint.object","c":"Attributes","l":"getStringList(String)","url":"getStringList(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"getStringRepresentation()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getSubqueryClass()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getSubqueryFilter()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getSubqueryProperty()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"getTarget()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"getTargetClass()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getTargetCollector()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"getTargetId()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getTargetIntegration()"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"getTargetIntegration()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"getTargetName()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getTrackingId()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getTrackingId()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"getType()"},{"p":"sailpoint.object","c":"Bundle","l":"getType()"},{"p":"sailpoint.object","c":"Identity","l":"getType()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getType()"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"getType()"},{"p":"sailpoint.object","c":"Identity","l":"getTypeName(boolean)"},{"p":"sailpoint.rule","c":"Identity","l":"getUid()"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"getUniqueNameForEndPoint()"},{"p":"sailpoint.api","c":"SailPointContext","l":"getUniqueObject(Class, Filter...)","url":"getUniqueObject(java.lang.Class,sailpoint.object.Filter...)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getUnmappedName()"},{"p":"sailpoint.object","c":"Field","l":"getUnqualifiedName()"},{"p":"sailpoint.rule","c":"Account","l":"getUuid()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getValue()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"getValue()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"getValue()"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"getValue()"},{"p":"sailpoint.object","c":"Filter","l":"getValueEscapeStyle()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getValueXMLAttribute()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"getValueXMLElement()"},{"p":"sailpoint.rule","c":"Identity","l":"getWorkPhone()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlErrors()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlRequestID()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"getXmlRequestID()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlSourceId()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlSourceName()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlSourceType()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlStatus()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"getXmlWarnings()"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"GT"},{"p":"sailpoint.object","c":"Filter","l":"gt(String, Object)","url":"gt(java.lang.String,java.lang.Object)"},{"p":"sailpoint.rule","c":"Account","l":"hasEntitlements()"},{"p":"sailpoint.object","c":"Filter","l":"hashCode()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"hashCode()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"hasNoAttributesOrPermissions()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"hasNoAttributesOrPermissions()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"hasRequests()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"hasTargetCollector()"},{"p":"sailpoint.object","c":"Filter.FilterCompiler.IdentitiferLookAhead","l":"IdentitiferLookAhead()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Identity","l":"Identity()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Filter","l":"ignoreCase(Filter)","url":"ignoreCase(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"IN"},{"p":"sailpoint.object","c":"Filter","l":"in(String, Collection)","url":"in(java.lang.String,java.util.Collection)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"instantiate()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"instantiate()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"instantiate()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"instantiate()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"instantiate()"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"IntegrationConfig()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"isAccountRequest()"},{"p":"sailpoint.object","c":"Filter.FilterCompiler.IdentitiferLookAhead","l":"isAmbiguous(char)"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"isAscending()"},{"p":"sailpoint.rule","c":"Account","l":"isAuthoritative()"},{"p":"sailpoint.object","c":"Identity","l":"isCorrelated()"},{"p":"sailpoint.object","c":"Identity","l":"isDifferencable()"},{"p":"sailpoint.object","c":"Link","l":"isDisabled()"},{"p":"sailpoint.rule","c":"Account","l":"isDisabled()"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"ISEMPTY"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"isEmpty()"},{"p":"sailpoint.object","c":"Filter","l":"isempty(String)","url":"isempty(java.lang.String)"},{"p":"sailpoint.object","c":"AttributeDefinition","l":"isEntitlement()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"isGroupRequest()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"isIdentityPlan()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"isIgnoreCase()"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"isIgnoreCase()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"isIIQ()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"isIIQ(String)","url":"isIIQ(java.lang.String)"},{"p":"sailpoint.object","c":"Identity","l":"isInactive()"},{"p":"sailpoint.rule","c":"Account","l":"isLocked()"},{"p":"sailpoint.rule","c":"Identity","l":"isManager()"},{"p":"sailpoint.rule","c":"Account","l":"isManuallyCorrelated()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"isMatch(ProvisioningPlan.AbstractRequest)","url":"isMatch(sailpoint.object.ProvisioningPlan.AbstractRequest)"},{"p":"sailpoint.object","c":"AttributeDefinition","l":"isMulti()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"isMulti()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"isMultiValued()"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"ISNULL"},{"p":"sailpoint.object","c":"Filter","l":"isnull(String)","url":"isnull(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"isProvisioned()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"isRequired()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"isRoleExpansion()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AttributeRequest","l":"isSecret()"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"isSecret()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"isSecret()"},{"p":"sailpoint.rule","c":"Account","l":"isSystemAccount()"},{"p":"sailpoint.rule","c":"Account","l":"isUncorrelated()"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"isUniqueAccountId(String, String, String)","url":"isUniqueAccountId(java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"isUniqueLDAPValue(String, String, String, String)","url":"isUniqueLDAPValue(java.lang.String,java.lang.String,java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"JOIN"},{"p":"sailpoint.object","c":"Filter","l":"join(String, String)","url":"join(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"LE"},{"p":"sailpoint.object","c":"Filter","l":"le(String, Object)","url":"le(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter(Filter.LeafFilter)","url":"%3Cinit%3E(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter(Filter.LogicalOperation, String, Class, String, Filter)","url":"%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String,java.lang.Class,java.lang.String,sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter(Filter.LogicalOperation, String, Object, Filter.MatchMode)","url":"%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String,java.lang.Object,sailpoint.object.Filter.MatchMode)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter(Filter.LogicalOperation, String, Object)","url":"%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter(Filter.LogicalOperation, String)","url":"%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"LeafFilter(String, Filter.CompositeFilter)","url":"%3Cinit%3E(java.lang.String,sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"LIKE"},{"p":"sailpoint.object","c":"Filter","l":"like(String, Object, Filter.MatchMode)","url":"like(java.lang.String,java.lang.Object,sailpoint.object.Filter.MatchMode)"},{"p":"sailpoint.object","c":"Filter","l":"like(String, Object)","url":"like(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"Link","l":"Link()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Lock"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Lock"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"LT"},{"p":"sailpoint.object","c":"Filter","l":"lt(String, Object)","url":"lt(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"ManagedAttribute()","url":"%3Cinit%3E()"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"ManagedAttributeDetails()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"merge(ProvisioningPlan, boolean)","url":"merge(sailpoint.object.ProvisioningPlan,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"merge(ProvisioningPlan)","url":"merge(sailpoint.object.ProvisioningPlan)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Modify"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Modify"},{"p":"sailpoint.object","c":"Filter.ValueEscapeStyle","l":"MYSQL_5_6"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"NE"},{"p":"sailpoint.object","c":"Filter","l":"ne(String, Object)","url":"ne(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"Filter.BooleanOperation","l":"NOT"},{"p":"sailpoint.object","c":"Filter","l":"not(Filter)","url":"not(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"NOTNULL"},{"p":"sailpoint.object","c":"Filter","l":"notnull(String)","url":"notnull(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"ObjectRequest()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"ObjectRequest(Map)","url":"%3Cinit%3E(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"ObjectRequest(ProvisioningPlan.ObjectRequest)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan.ObjectRequest)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"OLD_PERMISSION_ATTRIBUTE"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"OP_SET_PASSWORD"},{"p":"sailpoint.object","c":"Filter.BooleanOperation","l":"OR"},{"p":"sailpoint.object","c":"Filter","l":"or(Filter, Filter)","url":"or(sailpoint.object.Filter,sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter","l":"or(Filter...)","url":"or(sailpoint.object.Filter...)"},{"p":"sailpoint.object","c":"Filter","l":"or(List)","url":"or(java.util.List)"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"Ordering(String, boolean, boolean)","url":"%3Cinit%3E(java.lang.String,boolean,boolean)"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"Ordering(String, boolean)","url":"%3Cinit%3E(java.lang.String,boolean)"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"Permission"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest(Map)","url":"%3Cinit%3E(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest(ProvisioningPlan.PermissionRequest)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan.PermissionRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest(String, ProvisioningPlan.Operation, List, String)","url":"%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.util.List,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest(String, ProvisioningPlan.Operation, List)","url":"%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest(String, ProvisioningPlan.Operation, String)","url":"%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"PermissionRequest(String, String)","url":"%3Cinit%3E(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_ATTRIBUTE"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_ATTRIBUTES"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_CLASSIFICATIONS"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_DESCRIPTIONS"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_DISPLAY_NAME"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_MANAGED_ATTRIBUTE_TYPE"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_OWNER"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_REQUESTABLE"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"PROV_SCOPE"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"ProvisioningPlan()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"ProvisioningPlan(Map)","url":"%3Cinit%3E(java.util.Map)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"ProvisioningPlan(ProvisioningPlan, boolean)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"ProvisioningPlan(ProvisioningPlan)","url":"%3Cinit%3E(sailpoint.object.ProvisioningPlan)"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"ProvisioningResult()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"put(String, Object)","url":"put(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"put(String, Object)","url":"put(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"put(String, Object)","url":"put(java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"Attributes","l":"putClean(K, V)","url":"putClean(K,V)"},{"p":"sailpoint.object","c":"QueryOptions","l":"QueryOptions()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"Remove"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"remove(List, Object, boolean)","url":"remove(java.util.List,java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"remove(ProvisioningPlan.AccountRequest)","url":"remove(sailpoint.object.ProvisioningPlan.AccountRequest)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"remove(String, String, Object)","url":"remove(java.lang.String,java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"remove(String)","url":"remove(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"removeAll(List, List, boolean)","url":"removeAll(java.util.List,java.util.List,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"removeValues(Object, boolean)","url":"removeValues(java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"removeValues(Object, Object, boolean)","url":"removeValues(java.lang.Object,java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"removeValues(Object, Object)","url":"removeValues(java.lang.Object,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"resetResults()"},{"p":"sailpoint.object","c":"ResourceObject","l":"ResourceObject()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"Retain"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"retainAll(List, List, boolean)","url":"retainAll(java.util.List,java.util.List,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"retainValues(Object, boolean)","url":"retainValues(java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"retainValues(Object, Object, boolean)","url":"retainValues(java.lang.Object,java.lang.Object,boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"Revoke"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ROLE_SYNC_STYLE_ASSIGNABLE"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ROLE_SYNC_STYLE_DETECTABLE"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ROLE_SYNC_STYLE_DUAL"},{"p":"sailpoint.object","c":"IntegrationConfig","l":"ROLE_SYNC_STYLE_NONE"},{"p":"sailpoint.object","c":"RoleAssignment","l":"RoleAssignment()","url":"%3Cinit%3E()"},{"p":"sailpoint.api","c":"SailPointContext","l":"SailPointContext()","url":"%3Cinit%3E()"},{"p":"sailpoint.object","c":"Schema","l":"Schema()","url":"%3Cinit%3E()"},{"p":"sailpoint.api","c":"SailPointContext","l":"search(Class, QueryOptions, String)","url":"search(java.lang.Class,sailpoint.object.QueryOptions,java.lang.String)"},{"p":"sailpoint.api","c":"SailPointContext","l":"search(Class, QueryOptions)","url":"search(java.lang.Class,sailpoint.object.QueryOptions)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Set"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"Set"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"set(String, String, Object)","url":"set(java.lang.String,java.lang.String,java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setAccountRequests(List)","url":"setAccountRequests(java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setAddDate(Date)","url":"setAddDate(java.util.Date)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"setArgs(Attributes)","url":"setArgs(sailpoint.object.Attributes)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setArgs(Attributes)","url":"setArgs(sailpoint.object.Attributes)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setArguments(Attributes)","url":"setArguments(sailpoint.object.Attributes)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setArguments(Attributes)","url":"setArguments(sailpoint.object.Attributes)"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"setAscending(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setAssignment(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setAssignmentId(String)","url":"setAssignmentId(java.lang.String)"},{"p":"sailpoint.object","c":"Field","l":"setAttribute(String, Object)","url":"setAttribute(java.lang.String,java.lang.Object)"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"setAttributes(Map)","url":"setAttributes(java.util.Map)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setBaseUrl(String)","url":"setBaseUrl(java.lang.String)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setBody(Map)","url":"setBody(java.util.Map)"},{"p":"sailpoint.object","c":"QueryOptions","l":"setCacheResults(boolean)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setCast(String)","url":"setCast(java.lang.String)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setCategoryName(String)","url":"setCategoryName(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"setChildren(List)","url":"setChildren(java.util.List)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setCollectionCondition(Filter.CompositeFilter)","url":"setCollectionCondition(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"setColumn(String)","url":"setColumn(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setComments(String)","url":"setComments(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setComments(String)","url":"setComments(java.lang.String)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setContextUrl(String)","url":"setContextUrl(java.lang.String)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setDefaultValue(Object)","url":"setDefaultValue(java.lang.Object)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setDescription(String)","url":"setDescription(java.lang.String)"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"setDescription(String)","url":"setDescription(java.lang.String)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setDisplayName(String)","url":"setDisplayName(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setDisplayValue(String)","url":"setDisplayValue(java.lang.String)"},{"p":"sailpoint.object","c":"QueryOptions","l":"setDistinct(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setFiltered(List)","url":"setFiltered(java.util.List)"},{"p":"sailpoint.object","c":"QueryOptions","l":"setFilters(List)","url":"setFilters(java.util.List)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setFullUrl(String)","url":"setFullUrl(java.lang.String)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setHeader(Map)","url":"setHeader(java.util.Map)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setHttpMethodType(String)","url":"setHttpMethodType(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setIdentity(Identity)","url":"setIdentity(sailpoint.object.Identity)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setIgnoreCase(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setIntegrationData(Attributes)","url":"setIntegrationData(sailpoint.object.Attributes)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setJoinProperty(String)","url":"setJoinProperty(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setLinkEdit(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setMaintenanceExpiration(long)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setMatchMode(Filter.MatchMode)","url":"setMatchMode(sailpoint.object.Filter.MatchMode)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setMulti(boolean)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setMultiValued(boolean)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setName(String)","url":"setName(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setName(String)","url":"setName(java.lang.String)"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"setName(String)","url":"setName(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setNativeIdentity(String)","url":"setNativeIdentity(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setObjectRequests(List)","url":"setObjectRequests(java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setOp(ProvisioningPlan.Operation)","url":"setOp(sailpoint.object.ProvisioningPlan.Operation)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"setOperation(Filter.BooleanOperation)","url":"setOperation(sailpoint.object.Filter.BooleanOperation)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setOperation(Filter.LogicalOperation)","url":"setOperation(sailpoint.object.Filter.LogicalOperation)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"setOperation(ProvisioningPlan.AccountRequest.Operation)","url":"setOperation(sailpoint.object.ProvisioningPlan.AccountRequest.Operation)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setOperation(ProvisioningPlan.Operation)","url":"setOperation(sailpoint.object.ProvisioningPlan.Operation)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setOperationType(String)","url":"setOperationType(java.lang.String)"},{"p":"sailpoint.object","c":"QueryOptions","l":"setOrderAscending(boolean)"},{"p":"sailpoint.object","c":"QueryOptions","l":"setOrderBy(String)","url":"setOrderBy(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setProperty(String)","url":"setProperty(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setProvisioned(boolean)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setRemoveDate(Date)","url":"setRemoveDate(java.util.Date)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setRequesters(List)","url":"setRequesters(java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setRequestTrackingId(String)","url":"setRequestTrackingId(java.lang.String)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setRequired(boolean)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setResMappingObj(Map)","url":"setResMappingObj(java.util.Map)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setResponseCode(List)","url":"setResponseCode(java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setResult(ProvisioningResult)","url":"setResult(sailpoint.object.ProvisioningResult)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setResult(ProvisioningResult)","url":"setResult(sailpoint.object.ProvisioningResult)"},{"p":"sailpoint.object","c":"QueryOptions","l":"setResultLimit(int)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"setRights(String)","url":"setRights(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"setRightsList(List)","url":"setRightsList(java.util.List)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"setRoleExpansion(boolean)"},{"p":"sailpoint.connector.webservices","c":"Endpoint","l":"setRootPath(String)","url":"setRootPath(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setSource(String)","url":"setSource(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setSourceId(String)","url":"setSourceId(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setSourceName(String)","url":"setSourceName(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setSourceType(String)","url":"setSourceType(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"setStatus(String)","url":"setStatus(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setSubqueryClass(Class)","url":"setSubqueryClass(java.lang.Class)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setSubqueryFilter(Filter)","url":"setSubqueryFilter(sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setSubqueryProperty(String)","url":"setSubqueryProperty(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"setTarget(String)","url":"setTarget(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"setTargetClass(String)","url":"setTargetClass(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setTargetCollector(String)","url":"setTargetCollector(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"setTargetId(String)","url":"setTargetId(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setTargetIntegration(String)","url":"setTargetIntegration(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"setTargetIntegration(String)","url":"setTargetIntegration(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectRequest","l":"setTargetName(String)","url":"setTargetName(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setTrackingId(String)","url":"setTrackingId(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setTrackingId(String)","url":"setTrackingId(java.lang.String)"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"setType(String)","url":"setType(java.lang.String)"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"setType(String)","url":"setType(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setUnmappedName(String)","url":"setUnmappedName(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setValue(Object)","url":"setValue(java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan.GenericRequest","l":"setValue(Object)","url":"setValue(java.lang.Object)"},{"p":"sailpoint.rule","c":"ManagedAttributeDetails","l":"setValue(String)","url":"setValue(java.lang.String)"},{"p":"sailpoint.object","c":"Filter","l":"setValueEscapeStyle(Filter.ValueEscapeStyle)","url":"setValueEscapeStyle(sailpoint.object.Filter.ValueEscapeStyle)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setValueXMLAttribute(String)","url":"setValueXMLAttribute(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"setValueXMLElement(Object)","url":"setValueXMLElement(java.lang.Object)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setXmlSourceId(String)","url":"setXmlSourceId(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setXmlSourceName(String)","url":"setXmlSourceName(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setXmlSourceType(String)","url":"setXmlSourceType(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan","l":"setXmlStatus(String)","url":"setXmlStatus(java.lang.String)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"SP_ACCOUNTGROUP_BY_MODIFIED"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"SP_ACCOUNTGROUP_BY_NAME"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"SP_ACCOUNTGROUP_BY_NATIVE_IDENTITY"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"SP_ACCOUNTGROUP_BY_OWNER"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"START"},{"p":"sailpoint.server","c":"IdnRuleUtil","l":"STARTS_WITH_FILTER"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"STATUS_COMMITTED"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"STATUS_FAILED"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"STATUS_QUEUED"},{"p":"sailpoint.object","c":"ProvisioningResult","l":"STATUS_RETRY"},{"p":"sailpoint.object","c":"Filter","l":"subquery(String, Class, String, Filter)","url":"subquery(java.lang.String,java.lang.Class,java.lang.String,sailpoint.object.Filter)"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"SYSTEM_ATTRIBUTES"},{"p":"sailpoint.object","c":"ProvisioningPlan.PermissionRequest","l":"toMap()"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"toMatchString(String, String)","url":"toMatchString(java.lang.String,java.lang.String)"},{"p":"sailpoint.object","c":"Filter.CompositeFilter","l":"toString()"},{"p":"sailpoint.object","c":"Filter.LeafFilter","l":"toString()"},{"p":"sailpoint.object","c":"Identity","l":"toString()"},{"p":"sailpoint.object","c":"ManagedAttribute","l":"toString()"},{"p":"sailpoint.object","c":"QueryOptions","l":"toString()"},{"p":"sailpoint.object","c":"QueryOptions.Ordering","l":"toString()"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_BOOLEAN"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_DATE"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"TYPE_ENTITLEMENT"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_IDENTITY"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_INT"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_LONG"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_PERMISSION"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest","l":"TYPE_ROLE"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_RULE"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_SECRET"},{"p":"sailpoint.object","c":"BaseAttributeDefinition","l":"TYPE_STRING"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"Unlock"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"Unlock"},{"p":"sailpoint.object","c":"Filter.BooleanOperation","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.ValueEscapeStyle","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"valueOf(String)","url":"valueOf(java.lang.String)"},{"p":"sailpoint.object","c":"Filter.BooleanOperation","l":"values()"},{"p":"sailpoint.object","c":"Filter.LogicalOperation","l":"values()"},{"p":"sailpoint.object","c":"Filter.MatchMode","l":"values()"},{"p":"sailpoint.object","c":"Filter.ValueEscapeStyle","l":"values()"},{"p":"sailpoint.object","c":"ManagedAttribute.Type","l":"values()"},{"p":"sailpoint.object","c":"ProvisioningPlan.AccountRequest.Operation","l":"values()"},{"p":"sailpoint.object","c":"ProvisioningPlan.ObjectOperation","l":"values()"},{"p":"sailpoint.object","c":"ProvisioningPlan.Operation","l":"values()"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitAnd(Filter.CompositeFilter)","url":"visitAnd(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitAnd(Filter.CompositeFilter)","url":"visitAnd(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitCollectionCondition(Filter.LeafFilter)","url":"visitCollectionCondition(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitCollectionCondition(Filter.LeafFilter)","url":"visitCollectionCondition(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitContainsAll(Filter.LeafFilter)","url":"visitContainsAll(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitContainsAll(Filter.LeafFilter)","url":"visitContainsAll(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitEQ(Filter.LeafFilter)","url":"visitEQ(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitEQ(Filter.LeafFilter)","url":"visitEQ(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitGE(Filter.LeafFilter)","url":"visitGE(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitGE(Filter.LeafFilter)","url":"visitGE(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitGT(Filter.LeafFilter)","url":"visitGT(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitGT(Filter.LeafFilter)","url":"visitGT(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitIn(Filter.LeafFilter)","url":"visitIn(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitIn(Filter.LeafFilter)","url":"visitIn(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitIsEmpty(Filter.LeafFilter)","url":"visitIsEmpty(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitIsEmpty(Filter.LeafFilter)","url":"visitIsEmpty(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitIsNull(Filter.LeafFilter)","url":"visitIsNull(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitIsNull(Filter.LeafFilter)","url":"visitIsNull(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitJoin(Filter.LeafFilter)","url":"visitJoin(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitJoin(Filter.LeafFilter)","url":"visitJoin(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitLE(Filter.LeafFilter)","url":"visitLE(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitLE(Filter.LeafFilter)","url":"visitLE(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitLike(Filter.LeafFilter)","url":"visitLike(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitLike(Filter.LeafFilter)","url":"visitLike(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitLT(Filter.LeafFilter)","url":"visitLT(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitLT(Filter.LeafFilter)","url":"visitLT(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitNE(Filter.LeafFilter)","url":"visitNE(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitNE(Filter.LeafFilter)","url":"visitNE(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitNot(Filter.CompositeFilter)","url":"visitNot(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitNot(Filter.CompositeFilter)","url":"visitNot(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitNotNull(Filter.LeafFilter)","url":"visitNotNull(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitNotNull(Filter.LeafFilter)","url":"visitNotNull(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitOr(Filter.CompositeFilter)","url":"visitOr(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitOr(Filter.CompositeFilter)","url":"visitOr(sailpoint.object.Filter.CompositeFilter)"},{"p":"sailpoint.object","c":"Filter.BaseFilterVisitor","l":"visitSubquery(Filter.LeafFilter)","url":"visitSubquery(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.object","c":"Filter.FilterVisitor","l":"visitSubquery(Filter.LeafFilter)","url":"visitSubquery(sailpoint.object.Filter.LeafFilter)"},{"p":"sailpoint.connector.webservices","c":"WebServicesClient","l":"WebServicesClient()","url":"%3Cinit%3E()"}] \ No newline at end of file +memberSearchIndex = [ + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: '_allowedValues'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: '_categoryName'}, + {p: 'sailpoint.connector.webservices', c: 'WebServicesClient', l: '_client'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: '_required'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'accept(Filter.FilterVisitor)', + url: 'accept(sailpoint.object.Filter.FilterVisitor)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'accept(Filter.FilterVisitor)', + url: 'accept(sailpoint.object.Filter.FilterVisitor)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'accept(Filter.FilterVisitor)', + url: 'accept(sailpoint.object.Filter.FilterVisitor)', + }, + {p: 'sailpoint.rule', c: 'Account', l: 'Account()', url: '%3Cinit%3E()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'accountExistsByDisplayName(String, String)', + url: 'accountExistsByDisplayName(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'accountExistsByNativeIdentity(String, String)', + url: 'accountExistsByNativeIdentity(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'AccountRequest()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'AccountRequest(Map)', + url: '%3Cinit%3E(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'AccountRequest(ProvisioningPlan.AccountRequest.Operation, String, String, String)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan.AccountRequest.Operation,java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'AccountRequest(ProvisioningPlan.AccountRequest)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan.AccountRequest)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.Operation', l: 'Add'}, + { + p: 'sailpoint.object', + c: 'QueryOptions', + l: 'add(Filter...)', + url: 'add(sailpoint.object.Filter...)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'add(Filter)', + url: 'add(sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'add(ProvisioningPlan.AccountRequest)', + url: 'add(sailpoint.object.ProvisioningPlan.AccountRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'add(ProvisioningPlan.ObjectRequest)', + url: 'add(sailpoint.object.ProvisioningPlan.ObjectRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'add(String, String, Object)', + url: 'add(java.lang.String,java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'add(String, String, ProvisioningPlan.AccountRequest.Operation)', + url: 'add(java.lang.String,java.lang.String,sailpoint.object.ProvisioningPlan.AccountRequest.Operation)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'add(String, String, ProvisioningPlan.Operation, Object)', + url: 'add(java.lang.String,java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'add(String, String, String, ProvisioningPlan.Operation, Object)', + url: 'add(java.lang.String,java.lang.String,java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions', + l: 'addFilter(Filter)', + url: 'addFilter(sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'addFiltered(ProvisioningPlan.AbstractRequest)', + url: 'addFiltered(sailpoint.object.ProvisioningPlan.AbstractRequest)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'addHeader(String, String)', + url: 'addHeader(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'addObjectRequest(ProvisioningPlan.ObjectRequest)', + url: 'addObjectRequest(sailpoint.object.ProvisioningPlan.ObjectRequest)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions', + l: 'addOrdering(String, boolean)', + url: 'addOrdering(java.lang.String,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'addRequest(ProvisioningPlan.AbstractRequest)', + url: 'addRequest(sailpoint.object.ProvisioningPlan.AbstractRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'addRequester(Identity)', + url: 'addRequester(sailpoint.object.Identity)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'addValues(Object, boolean)', + url: 'addValues(java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'addValues(Object, Object, boolean)', + url: 'addValues(java.lang.Object,java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'addValues(Object, Object)', + url: 'addValues(java.lang.Object,java.lang.Object)', + }, + {p: 'sailpoint.object', c: 'Filter.BooleanOperation', l: 'AND'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'and(Filter, Filter)', + url: 'and(sailpoint.object.Filter,sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'and(Filter...)', + url: 'and(sailpoint.object.Filter...)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'and(List)', + url: 'and(java.util.List)', + }, + {p: 'sailpoint.object', c: 'Filter.MatchMode', l: 'ANYWHERE'}, + { + p: 'sailpoint.object', + c: 'Application', + l: 'Application()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'ATT_DEASSIGN_ENTITLEMENTS', + }, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_GROUP_PROVISIONING'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_HOST'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_NAME'}, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ATT_NO_GROUP_PERMISSIONS', + }, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_NO_PERMISSIONS'}, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ATT_NO_PROVISIONING_REQUESTS', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'ATT_OBJ_REQ_NO_PROVISIONING', + }, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_OPERATIONS'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_PASSWORD'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_PASSWORD_CONFIRM'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'ATT_PREFER_REMOVE_OVER_RETAIN', + }, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ATT_PROVISIONING_REQUEST_EXPIRATION', + }, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_ROLE_SYNC_HISTORY'}, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ATT_SCHEMA_PROVISIONING_MAP', + }, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ATT_STATUS_SUCCESS_IS_COMMITTED', + }, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_UNIVERSAL_MANAGER'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_URL'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ATT_USERNAME'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'ATTACHMENT_CONFIG_LIST', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'ATTACHMENTS', + }, + { + p: 'sailpoint.object', + c: 'AttributeDefinition', + l: 'AttributeDefinition()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'AttributeRequest()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'AttributeRequest(Map)', + url: '%3Cinit%3E(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'AttributeRequest(ProvisioningPlan.AttributeRequest)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan.AttributeRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'AttributeRequest(String, Object)', + url: '%3Cinit%3E(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'AttributeRequest(String, ProvisioningPlan.Operation, Object, String)', + url: '%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'AttributeRequest(String, ProvisioningPlan.Operation, Object)', + url: '%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'Attributes', + l: 'Attributes()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'Attributes', + l: 'Attributes(Attributes)', + url: '%3Cinit%3E(sailpoint.object.Attributes)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'attrSearchCountAccounts(List, String, String, List)', + url: 'attrSearchCountAccounts(java.util.List,java.lang.String,java.lang.String,java.util.List)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'attrSearchGetIdentityName(List, String, String, List)', + url: 'attrSearchGetIdentityName(java.util.List,java.lang.String,java.lang.String,java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'BaseAttributeDefinition()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'BaseFilterVisitor()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'Bundle', l: 'Bundle()', url: '%3Cinit%3E()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.AccountRequest', l: 'clone()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.GenericRequest', l: 'clone()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectRequest', l: 'clone()'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'clone(Filter)', + url: 'clone(sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'clone(ProvisioningPlan.GenericRequest)', + url: 'clone(sailpoint.object.ProvisioningPlan.GenericRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'cloneAccountProperties(ProvisioningPlan.AccountRequest)', + url: 'cloneAccountProperties(sailpoint.object.ProvisioningPlan.AccountRequest)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'collapse(boolean)'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'collapse(boolean)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LogicalOperation', + l: 'COLLECTION_CONDITION', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'collectionCondition(String, Filter)', + url: 'collectionCondition(java.lang.String,sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'compile(String)', + url: 'compile(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterCompiler', + l: 'compileFilter(String)', + url: 'compileFilter(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'CompositeFilter()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'CompositeFilter(Filter.BooleanOperation, Filter...)', + url: '%3Cinit%3E(sailpoint.object.Filter.BooleanOperation,sailpoint.object.Filter...)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'CompositeFilter(Filter.BooleanOperation, List)', + url: '%3Cinit%3E(sailpoint.object.Filter.BooleanOperation,java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'CompositeFilter(Filter.CompositeFilter)', + url: '%3Cinit%3E(sailpoint.object.Filter.CompositeFilter)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'CONFIG_DEFAULT_LANG'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'CONFIG_LANGUAGES'}, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'configure(Map)', + url: 'configure(java.util.Map)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'CONTAINS_ALL'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'contains(List, Object, boolean)', + url: 'contains(java.util.List,java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'containsAll(String, Collection)', + url: 'containsAll(java.lang.String,java.util.Collection)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'contentEquals(Filter)', + url: 'contentEquals(sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterCompiler.IdentitiferLookAhead', + l: 'continueParsingInternal(Parser)', + url: 'continueParsingInternal(sailpoint.tools.Parser)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'countAccounts(String)', + url: 'countAccounts(java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'countIdentitiesBySearchableIdentityAttribute(String, String, String)', + url: 'countIdentitiesBySearchableIdentityAttribute(java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'countObjects(Class, QueryOptions)', + url: 'countObjects(java.lang.Class,sailpoint.object.QueryOptions)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Create', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Create'}, + {p: 'sailpoint.object', c: 'Filter.ValueEscapeStyle', l: 'DEFAULT'}, + { + p: 'sailpoint.connector', + c: 'DelimitedFileConnector', + l: 'defaultBuildMap(List, List, boolean)', + url: 'defaultBuildMap(java.util.List,java.util.List,boolean)', + }, + { + p: 'sailpoint.connector', + c: 'DelimitedFileConnector', + l: 'defaultBuildMap(List, List)', + url: 'defaultBuildMap(java.util.List,java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Delete', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Delete'}, + { + p: 'sailpoint.connector', + c: 'DelimitedFileConnector', + l: 'DelimitedFileConnector()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'DESCRIPTION_ATTRIBUTE'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Disable', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Disable'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Enable', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Enable'}, + {p: 'sailpoint.object', c: 'Filter.MatchMode', l: 'END'}, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'Endpoint()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute.Type', l: 'Entitlement'}, + { + p: 'sailpoint.object', + c: 'Entitlement', + l: 'Entitlement(String, String, String, String, Locale)', + url: '%3Cinit%3E(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Locale)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'EQ'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'eq(String, Object)', + url: 'eq(java.lang.String,java.lang.Object)', + }, + {p: 'sailpoint.server', c: 'IdnRuleUtil', l: 'EQUALS_FILTER'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'equals(Object, Object, boolean)', + url: 'equals(java.lang.Object,java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'equals(Object)', + url: 'equals(java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'equals(Object)', + url: 'equals(java.lang.Object)', + }, + {p: 'sailpoint.object', c: 'Filter.MatchMode', l: 'EXACT'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'EXEC_STYLE_REQUEST'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'EXEC_STYLE_SYNCHRONOUS'}, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executeDelete(String, List)', + url: 'executeDelete(java.lang.String,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executeDelete(String, Map, List)', + url: 'executeDelete(java.lang.String,java.util.Map,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executeGet(Map, List)', + url: 'executeGet(java.util.Map,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executeGet(String, Map, List)', + url: 'executeGet(java.lang.String,java.util.Map,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executePatch(String, Object, List)', + url: 'executePatch(java.lang.String,java.lang.Object,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executePatch(String, Object, Map, List)', + url: 'executePatch(java.lang.String,java.lang.Object,java.util.Map,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executePost(String, Object, List)', + url: 'executePost(java.lang.String,java.lang.Object,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executePost(String, Object, Map, List)', + url: 'executePost(java.lang.String,java.lang.Object,java.util.Map,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executePut(String, Object, List)', + url: 'executePut(java.lang.String,java.lang.Object,java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'executePut(String, Object, Map, List)', + url: 'executePut(java.lang.String,java.lang.Object,java.util.Map,java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'expandRequest()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'expandRequest()', + }, + {p: 'sailpoint.object', c: 'Field', l: 'Field()', url: '%3Cinit%3E()'}, + {p: 'sailpoint.object', c: 'Filter', l: 'Filter()', url: '%3Cinit%3E()'}, + { + p: 'sailpoint.object', + c: 'Filter.FilterCompiler', + l: 'FilterCompiler()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'findIdentitiesBySearchableIdentityAttribute(String, String, String, String)', + url: 'findIdentitiesBySearchableIdentityAttribute(java.lang.String,java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'fromExample(Object)', + url: 'fromExample(java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'fromMap(Map)', + url: 'fromMap(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'fromMap(Map)', + url: 'fromMap(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'fromMap(Map)', + url: 'fromMap(java.util.Map)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'GE'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'ge(String, Object)', + url: 'ge(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'GenericRequest()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'GenericRequest(ProvisioningPlan.GenericRequest)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan.GenericRequest)', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'get(String)', + url: 'get(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'get(String)', + url: 'get(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'get(String)', + url: 'get(java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountAttribute(Account, String)', + url: 'getAccountAttribute(sailpoint.rule.Account,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountAttribute(String, String, String)', + url: 'getAccountAttribute(java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountAttributeBool(Account, String)', + url: 'getAccountAttributeBool(sailpoint.rule.Account,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountAttributeBool(String, String, String)', + url: 'getAccountAttributeBool(java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountAttributeInt(Account, String)', + url: 'getAccountAttributeInt(sailpoint.rule.Account,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountAttributeInt(String, String, String)', + url: 'getAccountAttributeInt(java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountByDisplayName(String, String)', + url: 'getAccountByDisplayName(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAccountByNativeIdentity(String, String)', + url: 'getAccountByNativeIdentity(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Entitlement', + l: 'getAccountEntitlements(Locale, Link, String)', + url: 'getAccountEntitlements(java.util.Locale,sailpoint.object.Link,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getAccountRequest(String, String, String)', + url: 'getAccountRequest(java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getAccountRequest(String)', + url: 'getAccountRequest(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getAccountRequests()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getAccountRequests(String, String)', + url: 'getAccountRequests(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getAccountRequests(String)', + url: 'getAccountRequests(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Application', l: 'getAccountSchema()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getAfterRule()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getAllAccounts(String, String)', + url: 'getAllAccounts(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getAllRequests()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getAppForTargetCollector()', + }, + {p: 'sailpoint.object', c: 'Field', l: 'getApplication()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getApplication()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getApplication()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getApplicationDisplayName(String)', + url: 'getApplicationDisplayName(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Link', l: 'getApplicationId()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getApplicationId()'}, + {p: 'sailpoint.object', c: 'Entitlement', l: 'getApplicationName()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getApplicationName()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getApplicationNames()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.AccountRequest', l: 'getArgs()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.GenericRequest', l: 'getArgs()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getArguments()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getArguments()', + }, + { + p: 'sailpoint.object', + c: 'Identity', + l: 'getAssignedRole(String)', + url: 'getAssignedRole(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getAssignedRoles()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getAssignmentId()', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getAttribute()'}, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'getAttribute(String)', + url: 'getAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Field', + l: 'getAttribute(String)', + url: 'getAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Identity', + l: 'getAttribute(String)', + url: 'getAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'getAttribute(String)', + url: 'getAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Link', + l: 'getAttribute(String)', + url: 'getAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'getAttribute(String)', + url: 'getAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Schema', + l: 'getAttributeDefinition(String)', + url: 'getAttributeDefinition(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Entitlement', l: 'getAttributeName()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getAttributes()'}, + {p: 'sailpoint.object', c: 'Application', l: 'getAttributes()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getAttributes()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getAttributes()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getAttributes()'}, + {p: 'sailpoint.object', c: 'Schema', l: 'getAttributes()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'getAttributes()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getAttributes()'}, + {p: 'sailpoint.rule', c: 'ManagedAttributeDetails', l: 'getAttributes()'}, + {p: 'sailpoint.object', c: 'Entitlement', l: 'getAttributeValue()'}, + { + p: 'sailpoint.object', + c: 'Application', + l: 'getAttributeValue(String)', + url: 'getAttributeValue(java.lang.String)', + }, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getBaseUrl()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getBeforeRule()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getBody()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getBoolean(String)', + url: 'getBoolean(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getBundles()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getCast()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'getCategoryName()'}, + {p: 'sailpoint.object', c: 'Filter.CompositeFilter', l: 'getChildren()'}, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'getCollectionCondition()', + }, + {p: 'sailpoint.object', c: 'QueryOptions.Ordering', l: 'getColumn()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getComments()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getComments()', + }, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getContextUrl()'}, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'getCookies()', + }, + {p: 'sailpoint.rule', c: 'Identity', l: 'getCountry()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'getDefaultValue()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'getDescription()'}, + {p: 'sailpoint.object', c: 'Entitlement', l: 'getDescription()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'getDescription()'}, + {p: 'sailpoint.rule', c: 'ManagedAttributeDetails', l: 'getDescription()'}, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'getDescription(Locale)', + url: 'getDescription(java.util.Locale)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getDescriptions()'}, + {p: 'sailpoint.object', c: 'Bundle', l: 'getDisplayableName()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getDisplayableName()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getDisplayableName()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getDisplayableName()'}, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'getDisplayableName(Locale)', + url: 'getDisplayableName(java.util.Locale)', + }, + {p: 'sailpoint.object', c: 'Schema', l: 'getDisplayAttribute()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'getDisplayName()'}, + {p: 'sailpoint.object', c: 'Bundle', l: 'getDisplayName()'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'getDisplayName()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getDisplayName()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getDisplayName()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getDisplayName()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getDisplayValue()', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getEmail()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getEmail()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getEmployeeNumber()'}, + {p: 'sailpoint.object', c: 'Schema', l: 'getEntitlementAttributeNames()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getEntitlementAttributes()'}, + {p: 'sailpoint.object', c: 'Schema', l: 'getEntitlementAttributes()'}, + { + p: 'sailpoint.object', + c: 'Link', + l: 'getEntitlements(Locale, String)', + url: 'getEntitlements(java.util.Locale,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Filter', l: 'getExpression()'}, + {p: 'sailpoint.object', c: 'Filter.CompositeFilter', l: 'getExpression()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getExpression()'}, + {p: 'sailpoint.object', c: 'Filter', l: 'getExpression(boolean)'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getFiltered()'}, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'getFilters()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getFirstAccount(String, String)', + url: 'getFirstAccount(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getFirstAccountNativeIdentity(String, String)', + url: 'getFirstAccountNativeIdentity(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getFirstname()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getFirstName()'}, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'getFirstRow()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getFullName()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getFullUrl()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getHeader()'}, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'getHttpMethodType()', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getId()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getId()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getIdentity()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getIdentity()'}, + {p: 'sailpoint.object', c: 'ResourceObject', l: 'getIdentity()'}, + {p: 'sailpoint.object', c: 'Schema', l: 'getIdentityAttribute()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getIdentityById(String)', + url: 'getIdentityById(java.lang.String)', + }, + {p: 'sailpoint.rule', c: 'Account', l: 'getIdentityId()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getIDMAccountRequest()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getIIQAccountRequest()'}, + { + p: 'sailpoint.object', + c: 'Application', + l: 'getIntAttributeValue(String)', + url: 'getIntAttributeValue(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getIntegrationData()'}, + { + p: 'sailpoint.object', + c: 'Filter.LogicalOperation', + l: 'getInverseOperation()', + }, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getJoinProperty()'}, + {p: 'sailpoint.object', c: 'Attributes', l: 'getKeys()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getLastname()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getLastName()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getLifecycleState()'}, + { + p: 'sailpoint.object', + c: 'Identity', + l: 'getLink(Application)', + url: 'getLink(sailpoint.object.Application)', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getLinks()'}, + { + p: 'sailpoint.object', + c: 'Attributes', + l: 'getList(String)', + url: 'getList(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute.Type', + l: 'getLocalizedMessage()', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute.Type', + l: 'getLocalizedMessage(Locale, TimeZone)', + url: 'getLocalizedMessage(java.util.Locale,java.util.TimeZone)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getMaintenanceExpiration()', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getManagedAttributeDescription(String, String, String, ManagedAttribute.Type)', + url: 'getManagedAttributeDescription(java.lang.String,java.lang.String,java.lang.String,sailpoint.object.ManagedAttribute.Type)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getManagedAttributeDetails(String, String, String, ManagedAttribute.Type)', + url: 'getManagedAttributeDetails(java.lang.String,java.lang.String,java.lang.String,sailpoint.object.ManagedAttribute.Type)', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getManager()'}, + {p: 'sailpoint.object', c: 'Application', l: 'getManagerCorrelationFilter()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getManagerId()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getManagerName()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getManagerStatus()'}, + {p: 'sailpoint.object', c: 'Attributes', l: 'getMap()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getMatchingAccountRequest(ProvisioningPlan.AccountRequest)', + url: 'getMatchingAccountRequest(sailpoint.object.ProvisioningPlan.AccountRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getMatchingRequest(List, ProvisioningPlan.AbstractRequest, boolean)', + url: 'getMatchingRequest(java.util.List,sailpoint.object.ProvisioningPlan.AbstractRequest,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getMatchingRequest(List, ProvisioningPlan.AbstractRequest)', + url: 'getMatchingRequest(java.util.List,sailpoint.object.ProvisioningPlan.AbstractRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getMatchingRequest(ProvisioningPlan.AbstractRequest, boolean)', + url: 'getMatchingRequest(sailpoint.object.ProvisioningPlan.AbstractRequest,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getMatchingRequest(ProvisioningPlan.AbstractRequest)', + url: 'getMatchingRequest(sailpoint.object.ProvisioningPlan.AbstractRequest)', + }, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getMatchMode()'}, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'getMatchModeString(String, String)', + url: 'getMatchModeString(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute.Type', l: 'getMessageKey()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getModified()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getModifyAccountRequests()', + }, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'getName()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getName()'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'getName()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.GenericRequest', l: 'getName()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getName()'}, + {p: 'sailpoint.rule', c: 'ManagedAttributeDetails', l: 'getName()'}, + {p: 'sailpoint.object', c: 'Link', l: 'getNativeIdentity()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getNativeIdentity()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'getNativeIdentity()'}, + {p: 'sailpoint.object', c: 'Schema', l: 'getNativeObjectType()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getNonModifyAccountRequests()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getNormalizedStatus()'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'getObject()'}, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'getObject(Class, String)', + url: 'getObject(java.lang.Class,java.lang.String)', + }, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'getObjectById(Class, String)', + url: 'getObjectById(java.lang.Class,java.lang.String)', + }, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'getObjectByName(Class, String)', + url: 'getObjectByName(java.lang.Class,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getObjectRequest(String, String, String)', + url: 'getObjectRequest(java.lang.String,java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getObjectRequests()'}, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'getObjects(Class, QueryOptions)', + url: 'getObjects(java.lang.Class,sailpoint.object.QueryOptions)', + }, + {p: 'sailpoint.object', c: 'Schema', l: 'getObjectType()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.GenericRequest', l: 'getOp()'}, + {p: 'sailpoint.object', c: 'Filter.CompositeFilter', l: 'getOperation()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getOperation()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'getOperation()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getOperation()', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'getOperationType()', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getOwner()'}, + {p: 'sailpoint.object', c: 'Application', l: 'getPasswordPolicies()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getPersonalEmail()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getPhone()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getProperty()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getRawAccountAttribute(Account, String)', + url: 'getRawAccountAttribute(sailpoint.rule.Account,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getRawAccountAttribute(String, String, String)', + url: 'getRawAccountAttribute(java.lang.String,java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getRequesters()'}, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'getResMappingObj()', + }, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getResponseCode()'}, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'getResponseHeaders()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getResult()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getResult()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'getRights()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'getRightsList()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'getRightsListClone()', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'getRoleAssignments()'}, + {p: 'sailpoint.object', c: 'RoleAssignment', l: 'getRoleId()'}, + {p: 'sailpoint.object', c: 'RoleAssignment', l: 'getRoleName()'}, + {p: 'sailpoint.connector.webservices', c: 'Endpoint', l: 'getRootPath()'}, + { + p: 'sailpoint.object', + c: 'Application', + l: 'getSchema(String)', + url: 'getSchema(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Application', l: 'getSchemas()'}, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'getSequenceNumberForEndpoint()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getSource()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getSourceAttributeBySourceId(String, String)', + url: 'getSourceAttributeBySourceId(java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'getSourceAttributeBySourceName(String, String)', + url: 'getSourceAttributeBySourceName(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getSourceId()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'getSourceId()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getSourceName()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getSourceType()'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'getStatus()'}, + { + p: 'sailpoint.object', + c: 'Attributes', + l: 'getString(String)', + url: 'getString(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'getString(String)', + url: 'getString(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getString(String)', + url: 'getString(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ResourceObject', + l: 'getString(String)', + url: 'getString(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Field', + l: 'getStringAttribute(String)', + url: 'getStringAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Identity', + l: 'getStringAttribute(String)', + url: 'getStringAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ResourceObject', + l: 'getStringAttribute(String)', + url: 'getStringAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Application', + l: 'getStringAttributeValue(String)', + url: 'getStringAttributeValue(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Attributes', + l: 'getStringList(String)', + url: 'getStringList(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LogicalOperation', + l: 'getStringRepresentation()', + }, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getSubqueryClass()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getSubqueryFilter()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getSubqueryProperty()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'getTarget()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'getTargetClass()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getTargetCollector()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'getTargetId()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getTargetIntegration()'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'getTargetIntegration()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'getTargetName()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getTrackingId()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getTrackingId()', + }, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'getType()'}, + {p: 'sailpoint.object', c: 'Bundle', l: 'getType()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getType()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getType()'}, + {p: 'sailpoint.rule', c: 'ManagedAttributeDetails', l: 'getType()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'getTypeName(boolean)'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getUid()'}, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'getUniqueNameForEndPoint()', + }, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'getUniqueObject(Class, Filter...)', + url: 'getUniqueObject(java.lang.Class,sailpoint.object.Filter...)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getUnmappedName()', + }, + {p: 'sailpoint.object', c: 'Field', l: 'getUnqualifiedName()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'getUuid()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getValue()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'getValue()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'getValue()', + }, + {p: 'sailpoint.rule', c: 'ManagedAttributeDetails', l: 'getValue()'}, + {p: 'sailpoint.object', c: 'Filter', l: 'getValueEscapeStyle()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getValueXMLAttribute()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'getValueXMLElement()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'getWorkPhone()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlErrors()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlRequestID()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'getXmlRequestID()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlSourceId()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlSourceName()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlSourceType()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlStatus()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'getXmlWarnings()'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'GT'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'gt(String, Object)', + url: 'gt(java.lang.String,java.lang.Object)', + }, + {p: 'sailpoint.rule', c: 'Account', l: 'hasEntitlements()'}, + {p: 'sailpoint.object', c: 'Filter', l: 'hashCode()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'hashCode()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'hasNoAttributesOrPermissions()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'hasNoAttributesOrPermissions()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'hasRequests()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'hasTargetCollector()', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterCompiler.IdentitiferLookAhead', + l: 'IdentitiferLookAhead()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'Identity()', url: '%3Cinit%3E()'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'ignoreCase(Filter)', + url: 'ignoreCase(sailpoint.object.Filter)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'IN'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'in(String, Collection)', + url: 'in(java.lang.String,java.util.Collection)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'instantiate()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'instantiate()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'instantiate()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'instantiate()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'instantiate()', + }, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'IntegrationConfig()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'isAccountRequest()', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterCompiler.IdentitiferLookAhead', + l: 'isAmbiguous(char)', + }, + {p: 'sailpoint.object', c: 'QueryOptions.Ordering', l: 'isAscending()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'isAuthoritative()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'isCorrelated()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'isDifferencable()'}, + {p: 'sailpoint.object', c: 'Link', l: 'isDisabled()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'isDisabled()'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'ISEMPTY'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'isEmpty()'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'isempty(String)', + url: 'isempty(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'AttributeDefinition', l: 'isEntitlement()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'isGroupRequest()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'isIdentityPlan()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'isIgnoreCase()'}, + {p: 'sailpoint.object', c: 'QueryOptions.Ordering', l: 'isIgnoreCase()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'isIIQ()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'isIIQ(String)', + url: 'isIIQ(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Identity', l: 'isInactive()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'isLocked()'}, + {p: 'sailpoint.rule', c: 'Identity', l: 'isManager()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'isManuallyCorrelated()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'isMatch(ProvisioningPlan.AbstractRequest)', + url: 'isMatch(sailpoint.object.ProvisioningPlan.AbstractRequest)', + }, + {p: 'sailpoint.object', c: 'AttributeDefinition', l: 'isMulti()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'isMulti()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'isMultiValued()'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'ISNULL'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'isnull(String)', + url: 'isnull(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'isProvisioned()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'isRequired()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'isRoleExpansion()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AttributeRequest', + l: 'isSecret()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'isSecret()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'isSecret()', + }, + {p: 'sailpoint.rule', c: 'Account', l: 'isSystemAccount()'}, + {p: 'sailpoint.rule', c: 'Account', l: 'isUncorrelated()'}, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'isUniqueAccountId(String, String, String)', + url: 'isUniqueAccountId(java.lang.String,java.lang.String,java.lang.String)', + }, + { + p: 'sailpoint.server', + c: 'IdnRuleUtil', + l: 'isUniqueLDAPValue(String, String, String, String)', + url: 'isUniqueLDAPValue(java.lang.String,java.lang.String,java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'JOIN'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'join(String, String)', + url: 'join(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'LE'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'le(String, Object)', + url: 'le(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter(Filter.LeafFilter)', + url: '%3Cinit%3E(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter(Filter.LogicalOperation, String, Class, String, Filter)', + url: '%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String,java.lang.Class,java.lang.String,sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter(Filter.LogicalOperation, String, Object, Filter.MatchMode)', + url: '%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String,java.lang.Object,sailpoint.object.Filter.MatchMode)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter(Filter.LogicalOperation, String, Object)', + url: '%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter(Filter.LogicalOperation, String)', + url: '%3Cinit%3E(sailpoint.object.Filter.LogicalOperation,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'LeafFilter(String, Filter.CompositeFilter)', + url: '%3Cinit%3E(java.lang.String,sailpoint.object.Filter.CompositeFilter)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'LIKE'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'like(String, Object, Filter.MatchMode)', + url: 'like(java.lang.String,java.lang.Object,sailpoint.object.Filter.MatchMode)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'like(String, Object)', + url: 'like(java.lang.String,java.lang.Object)', + }, + {p: 'sailpoint.object', c: 'Link', l: 'Link()', url: '%3Cinit%3E()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Lock', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Lock'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'LT'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'lt(String, Object)', + url: 'lt(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'ManagedAttribute()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.rule', + c: 'ManagedAttributeDetails', + l: 'ManagedAttributeDetails()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'merge(ProvisioningPlan, boolean)', + url: 'merge(sailpoint.object.ProvisioningPlan,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'merge(ProvisioningPlan)', + url: 'merge(sailpoint.object.ProvisioningPlan)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Modify', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Modify'}, + {p: 'sailpoint.object', c: 'Filter.ValueEscapeStyle', l: 'MYSQL_5_6'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'NE'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'ne(String, Object)', + url: 'ne(java.lang.String,java.lang.Object)', + }, + {p: 'sailpoint.object', c: 'Filter.BooleanOperation', l: 'NOT'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'not(Filter)', + url: 'not(sailpoint.object.Filter)', + }, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'NOTNULL'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'notnull(String)', + url: 'notnull(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'ObjectRequest()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'ObjectRequest(Map)', + url: '%3Cinit%3E(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'ObjectRequest(ProvisioningPlan.ObjectRequest)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan.ObjectRequest)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'OLD_PERMISSION_ATTRIBUTE'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'OP_SET_PASSWORD'}, + {p: 'sailpoint.object', c: 'Filter.BooleanOperation', l: 'OR'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'or(Filter, Filter)', + url: 'or(sailpoint.object.Filter,sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'or(Filter...)', + url: 'or(sailpoint.object.Filter...)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'or(List)', + url: 'or(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions.Ordering', + l: 'Ordering(String, boolean, boolean)', + url: '%3Cinit%3E(java.lang.String,boolean,boolean)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions.Ordering', + l: 'Ordering(String, boolean)', + url: '%3Cinit%3E(java.lang.String,boolean)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute.Type', l: 'Permission'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest(Map)', + url: '%3Cinit%3E(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest(ProvisioningPlan.PermissionRequest)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan.PermissionRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest(String, ProvisioningPlan.Operation, List, String)', + url: '%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.util.List,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest(String, ProvisioningPlan.Operation, List)', + url: '%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest(String, ProvisioningPlan.Operation, String)', + url: '%3Cinit%3E(java.lang.String,sailpoint.object.ProvisioningPlan.Operation,java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'PermissionRequest(String, String)', + url: '%3Cinit%3E(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_ATTRIBUTE'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_ATTRIBUTES'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_CLASSIFICATIONS'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_DESCRIPTIONS'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_DISPLAY_NAME'}, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'PROV_MANAGED_ATTRIBUTE_TYPE', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_OWNER'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_REQUESTABLE'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'PROV_SCOPE'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'ProvisioningPlan()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'ProvisioningPlan(Map)', + url: '%3Cinit%3E(java.util.Map)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'ProvisioningPlan(ProvisioningPlan, boolean)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'ProvisioningPlan(ProvisioningPlan)', + url: '%3Cinit%3E(sailpoint.object.ProvisioningPlan)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningResult', + l: 'ProvisioningResult()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'put(String, Object)', + url: 'put(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'put(String, Object)', + url: 'put(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'put(String, Object)', + url: 'put(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'Attributes', + l: 'putClean(K, V)', + url: 'putClean(K,V)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions', + l: 'QueryOptions()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.Operation', l: 'Remove'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'remove(List, Object, boolean)', + url: 'remove(java.util.List,java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'remove(ProvisioningPlan.AccountRequest)', + url: 'remove(sailpoint.object.ProvisioningPlan.AccountRequest)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'remove(String, String, Object)', + url: 'remove(java.lang.String,java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'remove(String)', + url: 'remove(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'removeAll(List, List, boolean)', + url: 'removeAll(java.util.List,java.util.List,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'removeValues(Object, boolean)', + url: 'removeValues(java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'removeValues(Object, Object, boolean)', + url: 'removeValues(java.lang.Object,java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'removeValues(Object, Object)', + url: 'removeValues(java.lang.Object,java.lang.Object)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'resetResults()'}, + { + p: 'sailpoint.object', + c: 'ResourceObject', + l: 'ResourceObject()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.Operation', l: 'Retain'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'retainAll(List, List, boolean)', + url: 'retainAll(java.util.List,java.util.List,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'retainValues(Object, boolean)', + url: 'retainValues(java.lang.Object,boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'retainValues(Object, Object, boolean)', + url: 'retainValues(java.lang.Object,java.lang.Object,boolean)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.Operation', l: 'Revoke'}, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ROLE_SYNC_STYLE_ASSIGNABLE', + }, + { + p: 'sailpoint.object', + c: 'IntegrationConfig', + l: 'ROLE_SYNC_STYLE_DETECTABLE', + }, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ROLE_SYNC_STYLE_DUAL'}, + {p: 'sailpoint.object', c: 'IntegrationConfig', l: 'ROLE_SYNC_STYLE_NONE'}, + { + p: 'sailpoint.object', + c: 'RoleAssignment', + l: 'RoleAssignment()', + url: '%3Cinit%3E()', + }, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'SailPointContext()', + url: '%3Cinit%3E()', + }, + {p: 'sailpoint.object', c: 'Schema', l: 'Schema()', url: '%3Cinit%3E()'}, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'search(Class, QueryOptions, String)', + url: 'search(java.lang.Class,sailpoint.object.QueryOptions,java.lang.String)', + }, + { + p: 'sailpoint.api', + c: 'SailPointContext', + l: 'search(Class, QueryOptions)', + url: 'search(java.lang.Class,sailpoint.object.QueryOptions)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Set'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.Operation', l: 'Set'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'set(String, String, Object)', + url: 'set(java.lang.String,java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setAccountRequests(List)', + url: 'setAccountRequests(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setAddDate(Date)', + url: 'setAddDate(java.util.Date)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'setArgs(Attributes)', + url: 'setArgs(sailpoint.object.Attributes)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setArgs(Attributes)', + url: 'setArgs(sailpoint.object.Attributes)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setArguments(Attributes)', + url: 'setArguments(sailpoint.object.Attributes)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setArguments(Attributes)', + url: 'setArguments(sailpoint.object.Attributes)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions.Ordering', + l: 'setAscending(boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setAssignment(boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setAssignmentId(String)', + url: 'setAssignmentId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Field', + l: 'setAttribute(String, Object)', + url: 'setAttribute(java.lang.String,java.lang.Object)', + }, + { + p: 'sailpoint.rule', + c: 'ManagedAttributeDetails', + l: 'setAttributes(Map)', + url: 'setAttributes(java.util.Map)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setBaseUrl(String)', + url: 'setBaseUrl(java.lang.String)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setBody(Map)', + url: 'setBody(java.util.Map)', + }, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'setCacheResults(boolean)'}, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setCast(String)', + url: 'setCast(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setCategoryName(String)', + url: 'setCategoryName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'setChildren(List)', + url: 'setChildren(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setCollectionCondition(Filter.CompositeFilter)', + url: 'setCollectionCondition(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions.Ordering', + l: 'setColumn(String)', + url: 'setColumn(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setComments(String)', + url: 'setComments(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setComments(String)', + url: 'setComments(java.lang.String)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setContextUrl(String)', + url: 'setContextUrl(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setDefaultValue(Object)', + url: 'setDefaultValue(java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setDescription(String)', + url: 'setDescription(java.lang.String)', + }, + { + p: 'sailpoint.rule', + c: 'ManagedAttributeDetails', + l: 'setDescription(String)', + url: 'setDescription(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setDisplayName(String)', + url: 'setDisplayName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setDisplayValue(String)', + url: 'setDisplayValue(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'setDistinct(boolean)'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setFiltered(List)', + url: 'setFiltered(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'QueryOptions', + l: 'setFilters(List)', + url: 'setFilters(java.util.List)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setFullUrl(String)', + url: 'setFullUrl(java.lang.String)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setHeader(Map)', + url: 'setHeader(java.util.Map)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setHttpMethodType(String)', + url: 'setHttpMethodType(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setIdentity(Identity)', + url: 'setIdentity(sailpoint.object.Identity)', + }, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'setIgnoreCase(boolean)'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setIntegrationData(Attributes)', + url: 'setIntegrationData(sailpoint.object.Attributes)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setJoinProperty(String)', + url: 'setJoinProperty(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setLinkEdit(boolean)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setMaintenanceExpiration(long)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setMatchMode(Filter.MatchMode)', + url: 'setMatchMode(sailpoint.object.Filter.MatchMode)', + }, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'setMulti(boolean)'}, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setMultiValued(boolean)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setName(String)', + url: 'setName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setName(String)', + url: 'setName(java.lang.String)', + }, + { + p: 'sailpoint.rule', + c: 'ManagedAttributeDetails', + l: 'setName(String)', + url: 'setName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setNativeIdentity(String)', + url: 'setNativeIdentity(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setObjectRequests(List)', + url: 'setObjectRequests(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setOp(ProvisioningPlan.Operation)', + url: 'setOp(sailpoint.object.ProvisioningPlan.Operation)', + }, + { + p: 'sailpoint.object', + c: 'Filter.CompositeFilter', + l: 'setOperation(Filter.BooleanOperation)', + url: 'setOperation(sailpoint.object.Filter.BooleanOperation)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setOperation(Filter.LogicalOperation)', + url: 'setOperation(sailpoint.object.Filter.LogicalOperation)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'setOperation(ProvisioningPlan.AccountRequest.Operation)', + url: 'setOperation(sailpoint.object.ProvisioningPlan.AccountRequest.Operation)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setOperation(ProvisioningPlan.Operation)', + url: 'setOperation(sailpoint.object.ProvisioningPlan.Operation)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setOperationType(String)', + url: 'setOperationType(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'setOrderAscending(boolean)'}, + { + p: 'sailpoint.object', + c: 'QueryOptions', + l: 'setOrderBy(String)', + url: 'setOrderBy(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setProperty(String)', + url: 'setProperty(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan', l: 'setProvisioned(boolean)'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setRemoveDate(Date)', + url: 'setRemoveDate(java.util.Date)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setRequesters(List)', + url: 'setRequesters(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setRequestTrackingId(String)', + url: 'setRequestTrackingId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setRequired(boolean)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setResMappingObj(Map)', + url: 'setResMappingObj(java.util.Map)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setResponseCode(List)', + url: 'setResponseCode(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setResult(ProvisioningResult)', + url: 'setResult(sailpoint.object.ProvisioningResult)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setResult(ProvisioningResult)', + url: 'setResult(sailpoint.object.ProvisioningResult)', + }, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'setResultLimit(int)'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'setRights(String)', + url: 'setRights(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'setRightsList(List)', + url: 'setRightsList(java.util.List)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'setRoleExpansion(boolean)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'Endpoint', + l: 'setRootPath(String)', + url: 'setRootPath(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setSource(String)', + url: 'setSource(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setSourceId(String)', + url: 'setSourceId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setSourceName(String)', + url: 'setSourceName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setSourceType(String)', + url: 'setSourceType(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningResult', + l: 'setStatus(String)', + url: 'setStatus(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setSubqueryClass(Class)', + url: 'setSubqueryClass(java.lang.Class)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setSubqueryFilter(Filter)', + url: 'setSubqueryFilter(sailpoint.object.Filter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setSubqueryProperty(String)', + url: 'setSubqueryProperty(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'setTarget(String)', + url: 'setTarget(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'setTargetClass(String)', + url: 'setTargetClass(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setTargetCollector(String)', + url: 'setTargetCollector(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'setTargetId(String)', + url: 'setTargetId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setTargetIntegration(String)', + url: 'setTargetIntegration(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningResult', + l: 'setTargetIntegration(String)', + url: 'setTargetIntegration(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectRequest', + l: 'setTargetName(String)', + url: 'setTargetName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setTrackingId(String)', + url: 'setTrackingId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setTrackingId(String)', + url: 'setTrackingId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'BaseAttributeDefinition', + l: 'setType(String)', + url: 'setType(java.lang.String)', + }, + { + p: 'sailpoint.rule', + c: 'ManagedAttributeDetails', + l: 'setType(String)', + url: 'setType(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setUnmappedName(String)', + url: 'setUnmappedName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setValue(Object)', + url: 'setValue(java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.GenericRequest', + l: 'setValue(Object)', + url: 'setValue(java.lang.Object)', + }, + { + p: 'sailpoint.rule', + c: 'ManagedAttributeDetails', + l: 'setValue(String)', + url: 'setValue(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'setValueEscapeStyle(Filter.ValueEscapeStyle)', + url: 'setValueEscapeStyle(sailpoint.object.Filter.ValueEscapeStyle)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setValueXMLAttribute(String)', + url: 'setValueXMLAttribute(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LeafFilter', + l: 'setValueXMLElement(Object)', + url: 'setValueXMLElement(java.lang.Object)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setXmlSourceId(String)', + url: 'setXmlSourceId(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setXmlSourceName(String)', + url: 'setXmlSourceName(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setXmlSourceType(String)', + url: 'setXmlSourceType(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan', + l: 'setXmlStatus(String)', + url: 'setXmlStatus(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'SP_ACCOUNTGROUP_BY_MODIFIED', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'SP_ACCOUNTGROUP_BY_NAME'}, + { + p: 'sailpoint.object', + c: 'ManagedAttribute', + l: 'SP_ACCOUNTGROUP_BY_NATIVE_IDENTITY', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'SP_ACCOUNTGROUP_BY_OWNER'}, + {p: 'sailpoint.object', c: 'Filter.MatchMode', l: 'START'}, + {p: 'sailpoint.server', c: 'IdnRuleUtil', l: 'STARTS_WITH_FILTER'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'STATUS_COMMITTED'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'STATUS_FAILED'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'STATUS_QUEUED'}, + {p: 'sailpoint.object', c: 'ProvisioningResult', l: 'STATUS_RETRY'}, + { + p: 'sailpoint.object', + c: 'Filter', + l: 'subquery(String, Class, String, Filter)', + url: 'subquery(java.lang.String,java.lang.Class,java.lang.String,sailpoint.object.Filter)', + }, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'SYSTEM_ATTRIBUTES'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.PermissionRequest', + l: 'toMap()', + }, + { + p: 'sailpoint.object', + c: 'Filter.MatchMode', + l: 'toMatchString(String, String)', + url: 'toMatchString(java.lang.String,java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Filter.CompositeFilter', l: 'toString()'}, + {p: 'sailpoint.object', c: 'Filter.LeafFilter', l: 'toString()'}, + {p: 'sailpoint.object', c: 'Identity', l: 'toString()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute', l: 'toString()'}, + {p: 'sailpoint.object', c: 'QueryOptions', l: 'toString()'}, + {p: 'sailpoint.object', c: 'QueryOptions.Ordering', l: 'toString()'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_BOOLEAN'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_DATE'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest', + l: 'TYPE_ENTITLEMENT', + }, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_IDENTITY'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_INT'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_LONG'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_PERMISSION'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.AccountRequest', l: 'TYPE_ROLE'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_RULE'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_SECRET'}, + {p: 'sailpoint.object', c: 'BaseAttributeDefinition', l: 'TYPE_STRING'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'Unlock', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'Unlock'}, + { + p: 'sailpoint.object', + c: 'Filter.BooleanOperation', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.LogicalOperation', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.MatchMode', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'Filter.ValueEscapeStyle', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ManagedAttribute.Type', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.ObjectOperation', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.Operation', + l: 'valueOf(String)', + url: 'valueOf(java.lang.String)', + }, + {p: 'sailpoint.object', c: 'Filter.BooleanOperation', l: 'values()'}, + {p: 'sailpoint.object', c: 'Filter.LogicalOperation', l: 'values()'}, + {p: 'sailpoint.object', c: 'Filter.MatchMode', l: 'values()'}, + {p: 'sailpoint.object', c: 'Filter.ValueEscapeStyle', l: 'values()'}, + {p: 'sailpoint.object', c: 'ManagedAttribute.Type', l: 'values()'}, + { + p: 'sailpoint.object', + c: 'ProvisioningPlan.AccountRequest.Operation', + l: 'values()', + }, + {p: 'sailpoint.object', c: 'ProvisioningPlan.ObjectOperation', l: 'values()'}, + {p: 'sailpoint.object', c: 'ProvisioningPlan.Operation', l: 'values()'}, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitAnd(Filter.CompositeFilter)', + url: 'visitAnd(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitAnd(Filter.CompositeFilter)', + url: 'visitAnd(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitCollectionCondition(Filter.LeafFilter)', + url: 'visitCollectionCondition(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitCollectionCondition(Filter.LeafFilter)', + url: 'visitCollectionCondition(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitContainsAll(Filter.LeafFilter)', + url: 'visitContainsAll(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitContainsAll(Filter.LeafFilter)', + url: 'visitContainsAll(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitEQ(Filter.LeafFilter)', + url: 'visitEQ(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitEQ(Filter.LeafFilter)', + url: 'visitEQ(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitGE(Filter.LeafFilter)', + url: 'visitGE(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitGE(Filter.LeafFilter)', + url: 'visitGE(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitGT(Filter.LeafFilter)', + url: 'visitGT(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitGT(Filter.LeafFilter)', + url: 'visitGT(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitIn(Filter.LeafFilter)', + url: 'visitIn(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitIn(Filter.LeafFilter)', + url: 'visitIn(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitIsEmpty(Filter.LeafFilter)', + url: 'visitIsEmpty(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitIsEmpty(Filter.LeafFilter)', + url: 'visitIsEmpty(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitIsNull(Filter.LeafFilter)', + url: 'visitIsNull(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitIsNull(Filter.LeafFilter)', + url: 'visitIsNull(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitJoin(Filter.LeafFilter)', + url: 'visitJoin(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitJoin(Filter.LeafFilter)', + url: 'visitJoin(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitLE(Filter.LeafFilter)', + url: 'visitLE(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitLE(Filter.LeafFilter)', + url: 'visitLE(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitLike(Filter.LeafFilter)', + url: 'visitLike(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitLike(Filter.LeafFilter)', + url: 'visitLike(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitLT(Filter.LeafFilter)', + url: 'visitLT(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitLT(Filter.LeafFilter)', + url: 'visitLT(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitNE(Filter.LeafFilter)', + url: 'visitNE(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitNE(Filter.LeafFilter)', + url: 'visitNE(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitNot(Filter.CompositeFilter)', + url: 'visitNot(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitNot(Filter.CompositeFilter)', + url: 'visitNot(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitNotNull(Filter.LeafFilter)', + url: 'visitNotNull(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitNotNull(Filter.LeafFilter)', + url: 'visitNotNull(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitOr(Filter.CompositeFilter)', + url: 'visitOr(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitOr(Filter.CompositeFilter)', + url: 'visitOr(sailpoint.object.Filter.CompositeFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.BaseFilterVisitor', + l: 'visitSubquery(Filter.LeafFilter)', + url: 'visitSubquery(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.object', + c: 'Filter.FilterVisitor', + l: 'visitSubquery(Filter.LeafFilter)', + url: 'visitSubquery(sailpoint.object.Filter.LeafFilter)', + }, + { + p: 'sailpoint.connector.webservices', + c: 'WebServicesClient', + l: 'WebServicesClient()', + url: '%3Cinit%3E()', + }, +]; diff --git a/static/rule-java-docs/package-search-index.js b/static/rule-java-docs/package-search-index.js index d3fa1004a..b0e292d49 100644 --- a/static/rule-java-docs/package-search-index.js +++ b/static/rule-java-docs/package-search-index.js @@ -1 +1,9 @@ -packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"},{"l":"sailpoint.api"},{"l":"sailpoint.connector"},{"l":"sailpoint.connector.webservices"},{"l":"sailpoint.object"},{"l":"sailpoint.rule"},{"l":"sailpoint.server"}] \ No newline at end of file +packageSearchIndex = [ + {l: 'All Packages', url: 'allpackages-index.html'}, + {l: 'sailpoint.api'}, + {l: 'sailpoint.connector'}, + {l: 'sailpoint.connector.webservices'}, + {l: 'sailpoint.object'}, + {l: 'sailpoint.rule'}, + {l: 'sailpoint.server'}, +]; diff --git a/static/rule-java-docs/script.js b/static/rule-java-docs/script.js index b34635693..730d9b0d6 100644 --- a/static/rule-java-docs/script.js +++ b/static/rule-java-docs/script.js @@ -1,30 +1,26 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); +function show(type) { + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = count++ % 2 ? rowColor : altColor; + } else row.style.display = 'none'; + } + updateTabs(type); } -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } +function updateTabs(type) { + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } else { + sNode.className = tableTab; + spanNode.innerHTML = + '' + tabs[value][1] + ''; } + } } diff --git a/static/rule-java-docs/search.js b/static/rule-java-docs/search.js index 38160c2fb..2648956cf 100644 --- a/static/rule-java-docs/search.js +++ b/static/rule-java-docs/search.js @@ -23,304 +23,334 @@ * */ -var noResult = {l: "No results found"}; -var catModules = "Modules"; -var catPackages = "Packages"; -var catTypes = "Types"; -var catMembers = "Members"; -var catSearchTags = "SearchTags"; -var highlight = "$&"; -var camelCaseRegexp = ""; -var secondaryMatcher = ""; +var noResult = {l: 'No results found'}; +var catModules = 'Modules'; +var catPackages = 'Packages'; +var catTypes = 'Types'; +var catMembers = 'Members'; +var catSearchTags = 'SearchTags'; +var highlight = '$&'; +var camelCaseRegexp = ''; +var secondaryMatcher = ''; function getHighlightedText(item) { - var ccMatcher = new RegExp(camelCaseRegexp); - var label = item.replace(ccMatcher, highlight); - if (label === item) { - label = item.replace(secondaryMatcher, highlight); - } - return label; + var ccMatcher = new RegExp(camelCaseRegexp); + var label = item.replace(ccMatcher, highlight); + if (label === item) { + label = item.replace(secondaryMatcher, highlight); + } + return label; } function getURLPrefix(ui) { - var urlPrefix=""; - if (useModuleDirectories) { - var slash = "/"; - if (ui.item.category === catModules) { - return ui.item.l + slash; - } else if (ui.item.category === catPackages && ui.item.m) { - return ui.item.m + slash; - } else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) { - $.each(packageSearchIndex, function(index, item) { - if (ui.item.p == item.l) { - urlPrefix = item.m + slash; - } - }); - return urlPrefix; - } else { - return urlPrefix; + var urlPrefix = ''; + if (useModuleDirectories) { + var slash = '/'; + if (ui.item.category === catModules) { + return ui.item.l + slash; + } else if (ui.item.category === catPackages && ui.item.m) { + return ui.item.m + slash; + } else if ( + (ui.item.category === catTypes && ui.item.p) || + ui.item.category === catMembers + ) { + $.each(packageSearchIndex, function (index, item) { + if (ui.item.p == item.l) { + urlPrefix = item.m + slash; } + }); + return urlPrefix; + } else { + return urlPrefix; } - return urlPrefix; + } + return urlPrefix; } var watermark = 'Search'; -$(function() { - $("#search").val(''); - $("#search").prop("disabled", false); - $("#reset").prop("disabled", false); - $("#search").val(watermark).addClass('watermark'); - $("#search").blur(function() { - if ($(this).val().length == 0) { - $(this).val(watermark).addClass('watermark'); - } - }); - $("#search").on('click keydown', function() { - if ($(this).val() == watermark) { - $(this).val('').removeClass('watermark'); - } - }); - $("#reset").click(function() { - $("#search").val(''); - $("#search").focus(); - }); - $("#search").focus(); - $("#search")[0].setSelectionRange(0, 0); -}); -$.widget("custom.catcomplete", $.ui.autocomplete, { - _create: function() { - this._super(); - this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); - }, - _renderMenu: function(ul, items) { - var rMenu = this, - currentCategory = ""; - rMenu.menu.bindings = $(); - $.each(items, function(index, item) { - var li; - if (item.l !== noResult.l && item.category !== currentCategory) { - ul.append("
  • " + item.category + "
  • "); - currentCategory = item.category; - } - li = rMenu._renderItemData(ul, item); - if (item.category) { - li.attr("aria-label", item.category + " : " + item.l); - li.attr("class", "resultItem"); - } else { - li.attr("aria-label", item.l); - li.attr("class", "resultItem"); - } - }); - }, - _renderItem: function(ul, item) { - var label = ""; - if (item.category === catModules) { - label = getHighlightedText(item.l); - } else if (item.category === catPackages) { - label = (item.m) - ? getHighlightedText(item.m + "/" + item.l) - : getHighlightedText(item.l); - } else if (item.category === catTypes) { - label = (item.p) - ? getHighlightedText(item.p + "." + item.l) - : getHighlightedText(item.l); - } else if (item.category === catMembers) { - label = getHighlightedText(item.p + "." + (item.c + "." + item.l)); - } else if (item.category === catSearchTags) { - label = getHighlightedText(item.l); - } else { - label = item.l; - } - var li = $("
  • ").appendTo(ul); - var div = $("
    ").appendTo(li); - if (item.category === catSearchTags) { - if (item.d) { - div.html(label + " (" + item.h + ")
    " - + item.d + "
    "); - } else { - div.html(label + " (" + item.h + ")"); - } - } else { - div.html(label); - } - return li; +$(function () { + $('#search').val(''); + $('#search').prop('disabled', false); + $('#reset').prop('disabled', false); + $('#search').val(watermark).addClass('watermark'); + $('#search').blur(function () { + if ($(this).val().length == 0) { + $(this).val(watermark).addClass('watermark'); } + }); + $('#search').on('click keydown', function () { + if ($(this).val() == watermark) { + $(this).val('').removeClass('watermark'); + } + }); + $('#reset').click(function () { + $('#search').val(''); + $('#search').focus(); + }); + $('#search').focus(); + $('#search')[0].setSelectionRange(0, 0); }); -$(function() { - $("#search").catcomplete({ - minLength: 1, - delay: 100, - source: function(request, response) { - var result = new Array(); - var presult = new Array(); - var tresult = new Array(); - var mresult = new Array(); - var tgresult = new Array(); - var secondaryresult = new Array(); - var displayCount = 0; - var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i"); - camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)"); - var camelCaseMatcher = new RegExp("^" + camelCaseRegexp); - secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i"); - - // Return the nested innermost name from the specified object - function nestedName(e) { - return e.l.substring(e.l.lastIndexOf(".") + 1); - } - - function concatResults(a1, a2) { - a1 = a1.concat(a2); - a2.length = 0; - return a1; - } - - if (moduleSearchIndex) { - var mdleCount = 0; - $.each(moduleSearchIndex, function(index, item) { - item.category = catModules; - if (exactMatcher.test(item.l)) { - result.push(item); - mdleCount++; - } else if (camelCaseMatcher.test(item.l)) { - result.push(item); - } else if (secondaryMatcher.test(item.l)) { - secondaryresult.push(item); - } - }); - displayCount = mdleCount; - result = concatResults(result, secondaryresult); - } - if (packageSearchIndex) { - var pCount = 0; - var pkg = ""; - $.each(packageSearchIndex, function(index, item) { - item.category = catPackages; - pkg = (item.m) - ? (item.m + "/" + item.l) - : item.l; - if (exactMatcher.test(item.l)) { - presult.push(item); - pCount++; - } else if (camelCaseMatcher.test(pkg)) { - presult.push(item); - } else if (secondaryMatcher.test(pkg)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(presult, secondaryresult)); - displayCount = (pCount > displayCount) ? pCount : displayCount; - } - if (typeSearchIndex) { - var tCount = 0; - $.each(typeSearchIndex, function(index, item) { - item.category = catTypes; - var s = nestedName(item); - if (exactMatcher.test(s)) { - tresult.push(item); - tCount++; - } else if (camelCaseMatcher.test(s)) { - tresult.push(item); - } else if (secondaryMatcher.test(item.p + "." + item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(tresult, secondaryresult)); - displayCount = (tCount > displayCount) ? tCount : displayCount; - } - if (memberSearchIndex) { - var mCount = 0; - $.each(memberSearchIndex, function(index, item) { - item.category = catMembers; - var s = nestedName(item); - if (exactMatcher.test(s)) { - mresult.push(item); - mCount++; - } else if (camelCaseMatcher.test(s)) { - mresult.push(item); - } else if (secondaryMatcher.test(item.c + "." + item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(mresult, secondaryresult)); - displayCount = (mCount > displayCount) ? mCount : displayCount; - } - if (tagSearchIndex) { - var tgCount = 0; - $.each(tagSearchIndex, function(index, item) { - item.category = catSearchTags; - if (exactMatcher.test(item.l)) { - tgresult.push(item); - tgCount++; - } else if (secondaryMatcher.test(item.l)) { - secondaryresult.push(item); - } - }); - result = result.concat(concatResults(tgresult, secondaryresult)); - displayCount = (tgCount > displayCount) ? tgCount : displayCount; - } - displayCount = (displayCount > 500) ? displayCount : 500; - var counter = function() { - var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0}; - var f = function(item) { - count[item.category] += 1; - return (count[item.category] <= displayCount); - }; - return f; - }(); - response(result.filter(counter)); - }, - response: function(event, ui) { - if (!ui.content.length) { - ui.content.push(noResult); - } else { - $("#search").empty(); - } - }, - autoFocus: true, - position: { - collision: "flip" - }, - select: function(event, ui) { - if (ui.item.l !== noResult.l) { - var url = getURLPrefix(ui); - if (ui.item.category === catModules) { - if (useModuleDirectories) { - url += "module-summary.html"; - } else { - url = ui.item.l + "-summary.html"; - } - } else if (ui.item.category === catPackages) { - if (ui.item.url) { - url = ui.item.url; - } else { - url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; - } - } else if (ui.item.category === catTypes) { - if (ui.item.url) { - url = ui.item.url; - } else if (ui.item.p === "") { - url += ui.item.l + ".html"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; - } - } else if (ui.item.category === catMembers) { - if (ui.item.p === "") { - url += ui.item.c + ".html" + "#"; - } else { - url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; - } - if (ui.item.url) { - url += ui.item.url; - } else { - url += ui.item.l; - } - } else if (ui.item.category === catSearchTags) { - url += ui.item.u; - } - if (top !== window) { - parent.classFrame.location = pathtoroot + url; - } else { - window.location.href = pathtoroot + url; - } - $("#search").focus(); - } - } +$.widget('custom.catcomplete', $.ui.autocomplete, { + _create: function () { + this._super(); + this.widget().menu('option', 'items', '> :not(.ui-autocomplete-category)'); + }, + _renderMenu: function (ul, items) { + var rMenu = this, + currentCategory = ''; + rMenu.menu.bindings = $(); + $.each(items, function (index, item) { + var li; + if (item.l !== noResult.l && item.category !== currentCategory) { + ul.append( + '
  • ' + item.category + '
  • ', + ); + currentCategory = item.category; + } + li = rMenu._renderItemData(ul, item); + if (item.category) { + li.attr('aria-label', item.category + ' : ' + item.l); + li.attr('class', 'resultItem'); + } else { + li.attr('aria-label', item.l); + li.attr('class', 'resultItem'); + } }); + }, + _renderItem: function (ul, item) { + var label = ''; + if (item.category === catModules) { + label = getHighlightedText(item.l); + } else if (item.category === catPackages) { + label = item.m + ? getHighlightedText(item.m + '/' + item.l) + : getHighlightedText(item.l); + } else if (item.category === catTypes) { + label = item.p + ? getHighlightedText(item.p + '.' + item.l) + : getHighlightedText(item.l); + } else if (item.category === catMembers) { + label = getHighlightedText(item.p + '.' + (item.c + '.' + item.l)); + } else if (item.category === catSearchTags) { + label = getHighlightedText(item.l); + } else { + label = item.l; + } + var li = $('
  • ').appendTo(ul); + var div = $('
    ').appendTo(li); + if (item.category === catSearchTags) { + if (item.d) { + div.html( + label + + ' (' + + item.h + + ')
    ' + + item.d + + '
    ', + ); + } else { + div.html( + label + + ' (' + + item.h + + ')', + ); + } + } else { + div.html(label); + } + return li; + }, +}); +$(function () { + $('#search').catcomplete({ + minLength: 1, + delay: 100, + source: function (request, response) { + var result = new Array(); + var presult = new Array(); + var tresult = new Array(); + var mresult = new Array(); + var tgresult = new Array(); + var secondaryresult = new Array(); + var displayCount = 0; + var exactMatcher = new RegExp( + '^' + $.ui.autocomplete.escapeRegex(request.term) + '$', + 'i', + ); + camelCaseRegexp = $.ui.autocomplete + .escapeRegex(request.term) + .split(/(?=[A-Z])/) + .join('([a-z0-9_$]*?)'); + var camelCaseMatcher = new RegExp('^' + camelCaseRegexp); + secondaryMatcher = new RegExp( + $.ui.autocomplete.escapeRegex(request.term), + 'i', + ); + + // Return the nested innermost name from the specified object + function nestedName(e) { + return e.l.substring(e.l.lastIndexOf('.') + 1); + } + + function concatResults(a1, a2) { + a1 = a1.concat(a2); + a2.length = 0; + return a1; + } + + if (moduleSearchIndex) { + var mdleCount = 0; + $.each(moduleSearchIndex, function (index, item) { + item.category = catModules; + if (exactMatcher.test(item.l)) { + result.push(item); + mdleCount++; + } else if (camelCaseMatcher.test(item.l)) { + result.push(item); + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + displayCount = mdleCount; + result = concatResults(result, secondaryresult); + } + if (packageSearchIndex) { + var pCount = 0; + var pkg = ''; + $.each(packageSearchIndex, function (index, item) { + item.category = catPackages; + pkg = item.m ? item.m + '/' + item.l : item.l; + if (exactMatcher.test(item.l)) { + presult.push(item); + pCount++; + } else if (camelCaseMatcher.test(pkg)) { + presult.push(item); + } else if (secondaryMatcher.test(pkg)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(presult, secondaryresult)); + displayCount = pCount > displayCount ? pCount : displayCount; + } + if (typeSearchIndex) { + var tCount = 0; + $.each(typeSearchIndex, function (index, item) { + item.category = catTypes; + var s = nestedName(item); + if (exactMatcher.test(s)) { + tresult.push(item); + tCount++; + } else if (camelCaseMatcher.test(s)) { + tresult.push(item); + } else if (secondaryMatcher.test(item.p + '.' + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tresult, secondaryresult)); + displayCount = tCount > displayCount ? tCount : displayCount; + } + if (memberSearchIndex) { + var mCount = 0; + $.each(memberSearchIndex, function (index, item) { + item.category = catMembers; + var s = nestedName(item); + if (exactMatcher.test(s)) { + mresult.push(item); + mCount++; + } else if (camelCaseMatcher.test(s)) { + mresult.push(item); + } else if (secondaryMatcher.test(item.c + '.' + item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(mresult, secondaryresult)); + displayCount = mCount > displayCount ? mCount : displayCount; + } + if (tagSearchIndex) { + var tgCount = 0; + $.each(tagSearchIndex, function (index, item) { + item.category = catSearchTags; + if (exactMatcher.test(item.l)) { + tgresult.push(item); + tgCount++; + } else if (secondaryMatcher.test(item.l)) { + secondaryresult.push(item); + } + }); + result = result.concat(concatResults(tgresult, secondaryresult)); + displayCount = tgCount > displayCount ? tgCount : displayCount; + } + displayCount = displayCount > 500 ? displayCount : 500; + var counter = (function () { + var count = { + Modules: 0, + Packages: 0, + Types: 0, + Members: 0, + SearchTags: 0, + }; + var f = function (item) { + count[item.category] += 1; + return count[item.category] <= displayCount; + }; + return f; + })(); + response(result.filter(counter)); + }, + response: function (event, ui) { + if (!ui.content.length) { + ui.content.push(noResult); + } else { + $('#search').empty(); + } + }, + autoFocus: true, + position: { + collision: 'flip', + }, + select: function (event, ui) { + if (ui.item.l !== noResult.l) { + var url = getURLPrefix(ui); + if (ui.item.category === catModules) { + if (useModuleDirectories) { + url += 'module-summary.html'; + } else { + url = ui.item.l + '-summary.html'; + } + } else if (ui.item.category === catPackages) { + if (ui.item.url) { + url = ui.item.url; + } else { + url += ui.item.l.replace(/\./g, '/') + '/package-summary.html'; + } + } else if (ui.item.category === catTypes) { + if (ui.item.url) { + url = ui.item.url; + } else if (ui.item.p === '') { + url += ui.item.l + '.html'; + } else { + url += ui.item.p.replace(/\./g, '/') + '/' + ui.item.l + '.html'; + } + } else if (ui.item.category === catMembers) { + if (ui.item.p === '') { + url += ui.item.c + '.html' + '#'; + } else { + url += + ui.item.p.replace(/\./g, '/') + '/' + ui.item.c + '.html' + '#'; + } + if (ui.item.url) { + url += ui.item.url; + } else { + url += ui.item.l; + } + } else if (ui.item.category === catSearchTags) { + url += ui.item.u; + } + if (top !== window) { + parent.classFrame.location = pathtoroot + url; + } else { + window.location.href = pathtoroot + url; + } + $('#search').focus(); + } + }, + }); }); diff --git a/static/rule-java-docs/stylesheet.css b/static/rule-java-docs/stylesheet.css index fa246765c..16b3114ae 100644 --- a/static/rule-java-docs/stylesheet.css +++ b/static/rule-java-docs/stylesheet.css @@ -12,87 +12,93 @@ */ body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; + background-color: #ffffff; + color: #353833; + font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size: 14px; + margin: 0; + padding: 0; + height: 100%; + width: 100%; } iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; + margin: 0; + padding: 0; + height: 100%; + width: 100%; + overflow-y: scroll; + border: none; } -a:link, a:visited { - text-decoration:none; - color:#4A6782; +a:link, +a:visited { + text-decoration: none; + color: #4a6782; } -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; +a[href]:hover, +a[href]:focus { + text-decoration: none; + color: #bb7a2a; } a[name] { - color:#353833; + color: #353833; } -a[name]:before, a[name]:target, a[id]:before, a[id]:target { - content:""; - display:inline-block; - position:relative; - padding-top:129px; - margin-top:-129px; +a[name]:before, +a[name]:target, +a[id]:before, +a[id]:target { + content: ''; + display: inline-block; + position: relative; + padding-top: 129px; + margin-top: -129px; } pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; + font-family: 'DejaVu Sans Mono', monospace; + font-size: 14px; } h1 { - font-size:20px; + font-size: 20px; } h2 { - font-size:18px; + font-size: 18px; } h3 { - font-size:16px; - font-style:italic; + font-size: 16px; + font-style: italic; } h4 { - font-size:13px; + font-size: 13px; } h5 { - font-size:12px; + font-size: 12px; } h6 { - font-size:11px; + font-size: 11px; } ul { - list-style-type:disc; + list-style-type: disc; } -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; +code, +tt { + font-family: 'DejaVu Sans Mono', monospace; + font-size: 14px; + padding-top: 4px; + margin-top: 8px; + line-height: 1.4em; } dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; + font-family: 'DejaVu Sans Mono', monospace; + font-size: 14px; + padding-top: 4px; } table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; + font-family: 'DejaVu Sans Mono', monospace; + font-size: 14px; + vertical-align: top; + padding-top: 4px; } sup { - font-size:8px; + font-size: 8px; } /* @@ -105,725 +111,900 @@ sup { * Styles for document title and copyright. */ .clear { - clear:both; - height:0px; - overflow:hidden; + clear: both; + height: 0px; + overflow: hidden; } .aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; + float: right; + padding: 0px 21px; + font-size: 11px; + z-index: 200; + margin-top: -9px; } .legalCopy { - margin-left:.5em; + margin-left: 0.5em; } -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; +.bar a, +.bar a:link, +.bar a:visited, +.bar a:active { + color: #ffffff; + text-decoration: none; } -.bar a:hover, .bar a:focus { - color:#bb7a2a; +.bar a:hover, +.bar a:focus { + color: #bb7a2a; } .tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; + background-color: #0066ff; + color: #ffffff; + padding: 8px; + width: 5em; + font-weight: bold; } /* * Styles for navigation bar. */ .bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; + background-color: #4d7a97; + color: #ffffff; + padding: 0.8em 0.5em 0.4em 0.8em; + height: auto; /*height:1.8em;*/ + font-size: 11px; + margin: 0; } .navPadding { - padding-top: 107px; + padding-top: 107px; } .fixedNav { - position:fixed; - width:100%; - z-index:999; - background-color:#ffffff; + position: fixed; + width: 100%; + z-index: 999; + background-color: #ffffff; } .topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; + background-color: #4d7a97; + color: #ffffff; + float: left; + padding: 0; + width: 100%; + clear: right; + height: 2.8em; + padding-top: 10px; + overflow: hidden; + font-size: 12px; } .bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; + margin-top: 10px; + background-color: #4d7a97; + color: #ffffff; + float: left; + padding: 0; + width: 100%; + clear: right; + height: 2.8em; + padding-top: 10px; + overflow: hidden; + font-size: 12px; } .subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; + background-color: #dee3e9; + float: left; + width: 100%; + overflow: hidden; + font-size: 12px; } .subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; + clear: left; + float: left; + padding: 0 0 5px 6px; + text-transform: uppercase; } -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; +ul.navList, +ul.subNavList { + float: left; + margin: 0 25px 0 0; + padding: 0; } -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; +ul.navList li { + list-style: none; + float: left; + padding: 5px 6px; + text-transform: uppercase; } ul.navListSearch { - float:right; - margin:0 0 0 0; - padding:0; + float: right; + margin: 0 0 0 0; + padding: 0; } ul.navListSearch li { - list-style:none; - float:right; - padding: 5px 6px; - text-transform:uppercase; + list-style: none; + float: right; + padding: 5px 6px; + text-transform: uppercase; } ul.navListSearch li label { - position:relative; - right:-16px; + position: relative; + right: -16px; } ul.subNavList li { - list-style:none; - float:left; + list-style: none; + float: left; } -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; +.topNav a:link, +.topNav a:active, +.topNav a:visited, +.bottomNav a:link, +.bottomNav a:active, +.bottomNav a:visited { + color: #ffffff; + text-decoration: none; + text-transform: uppercase; } -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; +.topNav a:hover, +.bottomNav a:hover { + text-decoration: none; + color: #bb7a2a; + text-transform: uppercase; } .navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; + background-color: #f8981d; + color: #253441; + margin: auto 5px; } .skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; + position: absolute; + top: auto; + left: -9999px; + overflow: hidden; } /* * Styles for page header and footer. */ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; +.header, +.footer { + clear: both; + margin: 0 20px; + padding: 5px 0 0 0; } .indexNav { - position:relative; - font-size:12px; - background-color:#dee3e9; + position: relative; + font-size: 12px; + background-color: #dee3e9; } .indexNav ul { - margin-top:0; - padding:5px; + margin-top: 0; + padding: 5px; } .indexNav ul li { - display:inline; - list-style-type:none; - padding-right:10px; - text-transform:uppercase; + display: inline; + list-style-type: none; + padding-right: 10px; + text-transform: uppercase; } .indexNav h1 { - font-size:13px; + font-size: 13px; } .title { - color:#2c4557; - margin:10px 0; + color: #2c4557; + margin: 10px 0; } .subTitle { - margin:5px 0 0 0; + margin: 5px 0 0 0; } .header ul { - margin:0 0 15px 0; - padding:0; + margin: 0 0 15px 0; + padding: 0; } .footer ul { - margin:20px 0 5px 0; + margin: 20px 0 5px 0; } -.header ul li, .footer ul li { - list-style:none; - font-size:13px; +.header ul li, +.footer ul li { + list-style: none; + font-size: 13px; } /* * Styles for headings. */ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, +div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color: #dee3e9; + border: 1px solid #d0d9e0; + margin: 0 0 6px -8px; + padding: 7px 5px; } ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; + background-color: #dee3e9; + border: 1px solid #d0d9e0; + margin: 0 0 6px -8px; + padding: 7px 5px; } ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; + padding: 0; + margin: 15px 0; } ul.blockList li.blockList h2 { - padding:0px 0 20px 0; + padding: 0px 0 20px 0; } /* * Styles for page layout containers. */ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, -.allClassesContainer, .allPackagesContainer { - clear:both; - padding:10px 20px; - position:relative; +.contentContainer, +.sourceContainer, +.classUseContainer, +.serializedFormContainer, +.constantValuesContainer, +.allClassesContainer, +.allPackagesContainer { + clear: both; + padding: 10px 20px; + position: relative; } .indexContainer { - margin:10px; - position:relative; - font-size:12px; + margin: 10px; + position: relative; + font-size: 12px; } .indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; + font-size: 13px; + padding: 0 0 3px 0; } .indexContainer ul { - margin:0; - padding:0; + margin: 0; + padding: 0; } .indexContainer ul li { - list-style:none; - padding-top:2px; + list-style: none; + padding-top: 2px; } -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; +.contentContainer .description dl dt, +.contentContainer .details dl dt, +.serializedFormContainer dl dt { + font-size: 12px; + font-weight: bold; + margin: 10px 0 0 0; + color: #4e4e4e; } -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +.contentContainer .description dl dd, +.contentContainer .details dl dd, +.serializedFormContainer dl dd { + margin: 5px 0 10px 0px; + font-size: 14px; + font-family: 'DejaVu Serif', Georgia, 'Times New Roman', Times, serif; } .serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; + margin-left: 1px; + font-size: 1.1em; + display: inline; + font-weight: bold; } .serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; + margin: 0 0 0 1px; + font-size: 1.1em; + display: inline; } /* * Styles for lists. */ li.circle { - list-style:circle; + list-style: circle; } ul.horizontal li { - display:inline; - font-size:0.9em; + display: inline; + font-size: 0.9em; } ul.inheritance { - margin:0; - padding:0; + margin: 0; + padding: 0; } ul.inheritance li { - display:inline; - list-style:none; + display: inline; + list-style: none; } ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; + margin-left: 15px; + padding-left: 15px; + padding-top: 1px; } -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; +ul.blockList, +ul.blockListLast { + margin: 10px 0 10px 0; + padding: 0; } -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; +ul.blockList li.blockList, +ul.blockListLast li.blockList { + list-style: none; + margin-bottom: 15px; + line-height: 1.4; } -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; +ul.blockList ul.blockList li.blockList, +ul.blockList ul.blockListLast li.blockList { + padding: 0px 20px 5px 10px; + border: 1px solid #ededed; + background-color: #f8f8f8; } -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; +ul.blockList ul.blockList ul.blockList li.blockList, +ul.blockList ul.blockList ul.blockListLast li.blockList { + padding: 0 0 5px 8px; + background-color: #ffffff; + border: none; } ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; + margin-left: 0; + padding-left: 0; + padding-bottom: 15px; + border: none; } ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; + list-style: none; + border-bottom: none; + padding-bottom: 0; } -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; +table tr td dl, +table tr td dl dt, +table tr td dl dd { + margin-top: 0; + margin-bottom: 1px; } /* * Styles for tables. */ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, -.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; +.overviewSummary, +.memberSummary, +.typeSummary, +.useSummary, +.constantsSummary, +.deprecatedSummary, +.requiresSummary, +.packagesSummary, +.providesSummary, +.usesSummary { + width: 100%; + border-spacing: 0; + border-left: 1px solid #eee; + border-right: 1px solid #eee; + border-bottom: 1px solid #eee; } -.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - padding:0px; +.overviewSummary, +.memberSummary, +.requiresSummary, +.packagesSummary, +.providesSummary, +.usesSummary { + padding: 0px; } -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, -.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; +.overviewSummary caption, +.memberSummary caption, +.typeSummary caption, +.useSummary caption, +.constantsSummary caption, +.deprecatedSummary caption, +.requiresSummary caption, +.packagesSummary caption, +.providesSummary caption, +.usesSummary caption { + position: relative; + text-align: left; + background-repeat: no-repeat; + color: #253441; + font-weight: bold; + clear: none; + overflow: hidden; + padding: 0px; + padding-top: 10px; + padding-left: 1px; + margin: 0px; + white-space: pre; } -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.constantsSummary caption a:link, .deprecatedSummary caption a:link, -.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, +.overviewSummary caption a:link, +.memberSummary caption a:link, +.typeSummary caption a:link, +.constantsSummary caption a:link, +.deprecatedSummary caption a:link, +.requiresSummary caption a:link, +.packagesSummary caption a:link, +.providesSummary caption a:link, .usesSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, +.overviewSummary caption a:hover, +.memberSummary caption a:hover, +.typeSummary caption a:hover, +.constantsSummary caption a:hover, +.deprecatedSummary caption a:hover, +.requiresSummary caption a:hover, +.packagesSummary caption a:hover, +.providesSummary caption a:hover, .usesSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.constantsSummary caption a:active, .deprecatedSummary caption a:active, -.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, +.overviewSummary caption a:active, +.memberSummary caption a:active, +.typeSummary caption a:active, +.constantsSummary caption a:active, +.deprecatedSummary caption a:active, +.requiresSummary caption a:active, +.packagesSummary caption a:active, +.providesSummary caption a:active, .usesSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, -.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, +.overviewSummary caption a:visited, +.memberSummary caption a:visited, +.typeSummary caption a:visited, +.constantsSummary caption a:visited, +.deprecatedSummary caption a:visited, +.requiresSummary caption a:visited, +.packagesSummary caption a:visited, +.providesSummary caption a:visited, .usesSummary caption a:visited { - color:#FFFFFF; + color: #ffffff; } -.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, +.useSummary caption a:link, +.useSummary caption a:hover, +.useSummary caption a:active, .useSummary caption a:visited { - color:#1f389c; + color: #1f389c; } -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, -.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, +.overviewSummary caption span, +.memberSummary caption span, +.typeSummary caption span, +.useSummary caption span, +.constantsSummary caption span, +.deprecatedSummary caption span, +.requiresSummary caption span, +.packagesSummary caption span, +.providesSummary caption span, .usesSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; + white-space: nowrap; + padding-top: 5px; + padding-left: 12px; + padding-right: 12px; + padding-bottom: 7px; + display: inline-block; + float: left; + background-color: #f8981d; + border: none; + height: 16px; } -.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, -.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; +.memberSummary caption span.activeTableTab span, +.packagesSummary caption span.activeTableTab span, +.overviewSummary caption span.activeTableTab span, +.typeSummary caption span.activeTableTab span { + white-space: nowrap; + padding-top: 5px; + padding-left: 12px; + padding-right: 12px; + margin-right: 3px; + display: inline-block; + float: left; + background-color: #f8981d; + height: 16px; } -.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, -.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; +.memberSummary caption span.tableTab span, +.packagesSummary caption span.tableTab span, +.overviewSummary caption span.tableTab span, +.typeSummary caption span.tableTab span { + white-space: nowrap; + padding-top: 5px; + padding-left: 12px; + padding-right: 12px; + margin-right: 3px; + display: inline-block; + float: left; + background-color: #4d7a97; + height: 16px; } -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, -.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, -.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, -.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; +.memberSummary caption span.tableTab, +.memberSummary caption span.activeTableTab, +.packagesSummary caption span.tableTab, +.packagesSummary caption span.activeTableTab, +.overviewSummary caption span.tableTab, +.overviewSummary caption span.activeTableTab, +.typeSummary caption span.tableTab, +.typeSummary caption span.activeTableTab { + padding-top: 0px; + padding-left: 0px; + padding-right: 0px; + background-image: none; + float: none; + display: inline; } -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, -.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; +.overviewSummary .tabEnd, +.memberSummary .tabEnd, +.typeSummary .tabEnd, +.useSummary .tabEnd, +.constantsSummary .tabEnd, +.deprecatedSummary .tabEnd, +.requiresSummary .tabEnd, +.packagesSummary .tabEnd, +.providesSummary .tabEnd, +.usesSummary .tabEnd { + display: none; + width: 5px; + position: relative; + float: left; + background-color: #f8981d; } -.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, -.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; +.memberSummary .activeTableTab .tabEnd, +.packagesSummary .activeTableTab .tabEnd, +.overviewSummary .activeTableTab .tabEnd, +.typeSummary .activeTableTab .tabEnd { + display: none; + width: 5px; + margin-right: 3px; + position: relative; + float: left; + background-color: #f8981d; } -.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, -.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; +.memberSummary .tableTab .tabEnd, +.packagesSummary .tableTab .tabEnd, +.overviewSummary .tableTab .tabEnd, +.typeSummary .tableTab .tabEnd { + display: none; + width: 5px; + margin-right: 3px; + position: relative; + background-color: #4d7a97; + float: left; } -.rowColor th, .altColor th { - font-weight:normal; +.rowColor th, +.altColor th { + font-weight: normal; } -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td, -.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { - text-align:left; - padding:0px 0px 12px 10px; +.overviewSummary td, +.memberSummary td, +.typeSummary td, +.useSummary td, +.constantsSummary td, +.deprecatedSummary td, +.requiresSummary td, +.packagesSummary td, +.providesSummary td, +.usesSummary td { + text-align: left; + padding: 0px 0px 12px 10px; } -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, -.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, +th.colFirst, +th.colSecond, +th.colLast, +th.colConstructorName, +th.colDeprecatedItemName, +.useSummary th, +.constantsSummary th, +.packagesSummary th, +td.colFirst, +td.colSecond, +td.colLast, +.useSummary td, .constantsSummary td { - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; + vertical-align: top; + padding-right: 0px; + padding-top: 8px; + padding-bottom: 3px; } -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, +th.colFirst, +th.colSecond, +th.colLast, +th.colConstructorName, +th.colDeprecatedItemName, +.constantsSummary th, .packagesSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; + background: #dee3e9; + text-align: left; + padding: 8px 3px 3px 7px; } -td.colFirst, th.colFirst { - font-size:13px; +td.colFirst, +th.colFirst { + font-size: 13px; } -td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { - font-size:13px; +td.colSecond, +th.colSecond, +td.colLast, +th.colConstructorName, +th.colDeprecatedItemName, +th.colLast { + font-size: 13px; } -.constantsSummary th, .packagesSummary th { - font-size:13px; +.constantsSummary th, +.packagesSummary th { + font-size: 13px; } -.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, +.providesSummary th.colFirst, +.providesSummary th.colLast, +.providesSummary td.colFirst, .providesSummary td.colLast { - white-space:normal; - font-size:13px; + white-space: normal; + font-size: 13px; } -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.requiresSummary td.colFirst, .requiresSummary th.colFirst, -.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, -.usesSummary td.colFirst, .usesSummary th.colFirst, -.providesSummary td.colFirst, .providesSummary th.colFirst, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, -.typeSummary td.colFirst, .typeSummary th.colFirst { - vertical-align:top; +.overviewSummary td.colFirst, +.overviewSummary th.colFirst, +.requiresSummary td.colFirst, +.requiresSummary th.colFirst, +.packagesSummary td.colFirst, +.packagesSummary td.colSecond, +.packagesSummary th.colFirst, +.packagesSummary th, +.usesSummary td.colFirst, +.usesSummary th.colFirst, +.providesSummary td.colFirst, +.providesSummary th.colFirst, +.memberSummary td.colFirst, +.memberSummary th.colFirst, +.memberSummary td.colSecond, +.memberSummary th.colSecond, +.memberSummary th.colConstructorName, +.typeSummary td.colFirst, +.typeSummary th.colFirst { + vertical-align: top; } -.packagesSummary th.colLast, .packagesSummary td.colLast { - white-space:normal; +.packagesSummary th.colLast, +.packagesSummary td.colLast { + white-space: normal; } -td.colFirst a:link, td.colFirst a:visited, -td.colSecond a:link, td.colSecond a:visited, -th.colFirst a:link, th.colFirst a:visited, -th.colSecond a:link, th.colSecond a:visited, -th.colConstructorName a:link, th.colConstructorName a:visited, -th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, -.constantValuesContainer td a:link, .constantValuesContainer td a:visited, -.allClassesContainer td a:link, .allClassesContainer td a:visited, -.allPackagesContainer td a:link, .allPackagesContainer td a:visited { - font-weight:bold; +td.colFirst a:link, +td.colFirst a:visited, +td.colSecond a:link, +td.colSecond a:visited, +th.colFirst a:link, +th.colFirst a:visited, +th.colSecond a:link, +th.colSecond a:visited, +th.colConstructorName a:link, +th.colConstructorName a:visited, +th.colDeprecatedItemName a:link, +th.colDeprecatedItemName a:visited, +.constantValuesContainer td a:link, +.constantValuesContainer td a:visited, +.allClassesContainer td a:link, +.allClassesContainer td a:visited, +.allPackagesContainer td a:link, +.allPackagesContainer td a:visited { + font-weight: bold; } .tableSubHeadingColor { - background-color:#EEEEFF; + background-color: #eeeeff; } -.altColor, .altColor th { - background-color:#FFFFFF; +.altColor, +.altColor th { + background-color: #ffffff; } -.rowColor, .rowColor th { - background-color:#EEEEEF; +.rowColor, +.rowColor th { + background-color: #eeeeef; } /* * Styles for contents. */ .description pre { - margin-top:0; + margin-top: 0; } .deprecatedContent { - margin:0; - padding:10px 0; + margin: 0; + padding: 10px 0; } .docSummary { - padding:0; + padding: 0; } ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; + font-style: normal; } div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; + font-size: 14px; + font-family: 'DejaVu Serif', Georgia, 'Times New Roman', Times, serif; } td.colLast div { - padding-top:0px; + padding-top: 0px; } td.colLast a { - padding-bottom:3px; + padding-bottom: 3px; } /* * Styles for formatting effect. */ .sourceLineNo { - color:green; - padding:0 30px 0 0; + color: green; + padding: 0 30px 0 0; } h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; + visibility: hidden; + overflow: hidden; + font-size: 10px; } .block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; + display: block; + margin: 3px 10px 2px 0px; + color: #474747; } -.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, -.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, -.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, -.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { - font-weight:bold; +.deprecatedLabel, +.descfrmTypeLabel, +.implementationLabel, +.memberNameLabel, +.memberNameLink, +.moduleLabelInPackage, +.moduleLabelInType, +.overrideSpecifyLabel, +.packageLabelInType, +.packageHierarchyLabel, +.paramLabel, +.returnLabel, +.seeLabel, +.simpleTagLabel, +.throwsLabel, +.typeNameLabel, +.typeNameLink, +.searchTagLink { + font-weight: bold; } -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; +.deprecationComment, +.emphasizedPhrase, +.interfaceName { + font-style: italic; } .deprecationBlock { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; + font-size: 14px; + font-family: 'DejaVu Serif', Georgia, 'Times New Roman', Times, serif; + border-style: solid; + border-width: thin; + border-radius: 10px; + padding: 10px; + margin-bottom: 10px; + margin-right: 10px; + display: inline-block; } -div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.deprecationComment, +div.block div.block span.emphasizedPhrase, div.block div.block span.interfaceName { - font-style:normal; + font-style: normal; } div.contentContainer ul.blockList li.blockList h2 { - padding-bottom:0px; + padding-bottom: 0px; } /* * Styles for IFRAME. */ .mainContainer { - margin:0 auto; - padding:0; - height:100%; - width:100%; - position:fixed; - top:0; - left:0; + margin: 0 auto; + padding: 0; + height: 100%; + width: 100%; + position: fixed; + top: 0; + left: 0; } .leftContainer { - height:100%; - position:fixed; - width:320px; + height: 100%; + position: fixed; + width: 320px; } .leftTop { - position:relative; - float:left; - width:315px; - top:0; - left:0; - height:30%; - border-right:6px solid #ccc; - border-bottom:6px solid #ccc; + position: relative; + float: left; + width: 315px; + top: 0; + left: 0; + height: 30%; + border-right: 6px solid #ccc; + border-bottom: 6px solid #ccc; } .leftBottom { - position:relative; - float:left; - width:315px; - bottom:0; - left:0; - height:70%; - border-right:6px solid #ccc; - border-top:1px solid #000; + position: relative; + float: left; + width: 315px; + bottom: 0; + left: 0; + height: 70%; + border-right: 6px solid #ccc; + border-top: 1px solid #000; } .rightContainer { - position:absolute; - left:320px; - top:0; - bottom:0; - height:100%; - right:0; - border-left:1px solid #000; + position: absolute; + left: 320px; + top: 0; + bottom: 0; + height: 100%; + right: 0; + border-left: 1px solid #000; } .rightIframe { - margin:0; - padding:0; - height:100%; - right:30px; - width:100%; - overflow:visible; - margin-bottom:30px; + margin: 0; + padding: 0; + height: 100%; + right: 30px; + width: 100%; + overflow: visible; + margin-bottom: 30px; } /* * Styles specific to HTML5 elements. */ -main, nav, header, footer, section { - display:block; +main, +nav, +header, +footer, +section { + display: block; } /* * Styles for javadoc search. */ .ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; + font-weight: bold; + font-size: 15px; + padding: 7px 0 7px 3px; + background-color: #4d7a97; + color: #ffffff; } .resultItem { - font-size:13px; + font-size: 13px; } .ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); + max-height: 85%; + max-width: 65%; + overflow-y: scroll; + overflow-x: scroll; + white-space: nowrap; + box-shadow: + 0 3px 6px rgba(0, 0, 0, 0.16), + 0 3px 6px rgba(0, 0, 0, 0.23); } ul.ui-autocomplete { - position:fixed; - z-index:999999; + position: fixed; + z-index: 999999; } -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; +ul.ui-autocomplete li { + float: left; + clear: both; + width: 100%; } .resultHighlight { - font-weight:bold; + font-weight: bold; } #search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; + background-image: url('resources/glass.png'); + background-size: 13px; + background-repeat: no-repeat; + background-position: 2px 3px; + padding-left: 20px; + position: relative; + right: -18px; } #reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:17px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; + background-color: rgb(255, 255, 255); + background-image: url('resources/x.png'); + background-position: center; + background-repeat: no-repeat; + background-size: 12px; + border: 0 none; + width: 16px; + height: 17px; + position: relative; + left: -4px; + top: -4px; + font-size: 0px; } .watermark { - color:#545454; + color: #545454; } .searchTagDescResult { - font-style:italic; - font-size:11px; + font-style: italic; + font-size: 11px; } .searchTagHolderResult { - font-style:italic; - font-size:12px; + font-style: italic; + font-size: 12px; } -.searchTagResult:before, .searchTagResult:target { - color:red; +.searchTagResult:before, +.searchTagResult:target { + color: red; } .moduleGraph span { - display:none; - position:absolute; + display: none; + position: absolute; } .moduleGraph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; + display: block; + margin: -100px 0 0 100px; + z-index: 1; } .methodSignature { - white-space:normal; + white-space: normal; } /* @@ -848,59 +1029,76 @@ ul.ui-autocomplete li { table.borderless, table.plain, table.striped { - margin-top: 10px; - margin-bottom: 10px; + margin-top: 10px; + margin-bottom: 10px; } table.borderless > caption, table.plain > caption, table.striped > caption { - font-weight: bold; - font-size: smaller; + font-weight: bold; + font-size: smaller; } -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; +table.borderless th, +table.borderless td, +table.plain th, +table.plain td, +table.striped th, +table.striped td { + padding: 2px 5px; } table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; +table.borderless > thead > tr > th, +table.borderless > tbody > tr > th, +table.borderless > tr > th, +table.borderless > thead > tr > td, +table.borderless > tbody > tr > td, +table.borderless > tr > td { + border: none; } -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; +table.borderless > thead > tr, +table.borderless > tbody > tr, +table.borderless > tr { + background-color: transparent; } table.plain { - border-collapse: collapse; - border: 1px solid black; + border-collapse: collapse; + border: 1px solid black; } -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; +table.plain > thead > tr, +table.plain > tbody tr, +table.plain > tr { + background-color: transparent; } -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; +table.plain > thead > tr > th, +table.plain > tbody > tr > th, +table.plain > tr > th, +table.plain > thead > tr > td, +table.plain > tbody > tr > td, +table.plain > tr > td { + border: 1px solid black; } table.striped { - border-collapse: collapse; - border: 1px solid black; + border-collapse: collapse; + border: 1px solid black; } table.striped > thead { - background-color: #E3E3E3; + background-color: #e3e3e3; } -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; +table.striped > thead > tr > th, +table.striped > thead > tr > td { + border: 1px solid black; } table.striped > tbody > tr:nth-child(even) { - background-color: #EEE + background-color: #eee; } table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF + background-color: #fff; } -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; +table.striped > tbody > tr > th, +table.striped > tbody > tr > td { + border-left: 1px solid black; + border-right: 1px solid black; } table.striped > tbody > tr > th { - font-weight: normal; + font-weight: normal; } diff --git a/static/rule-java-docs/type-search-index.js b/static/rule-java-docs/type-search-index.js index 35be57228..d510bbe42 100644 --- a/static/rule-java-docs/type-search-index.js +++ b/static/rule-java-docs/type-search-index.js @@ -1 +1,49 @@ -typeSearchIndex = [{"p":"sailpoint.rule","l":"Account"},{"p":"sailpoint.object","l":"ProvisioningPlan.AccountRequest"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"sailpoint.object","l":"Application"},{"p":"sailpoint.object","l":"AttributeDefinition"},{"p":"sailpoint.object","l":"ProvisioningPlan.AttributeRequest"},{"p":"sailpoint.object","l":"Attributes"},{"p":"sailpoint.object","l":"BaseAttributeDefinition"},{"p":"sailpoint.object","l":"Filter.BaseFilterVisitor"},{"p":"sailpoint.object","l":"Filter.BooleanOperation"},{"p":"sailpoint.object","l":"Bundle"},{"p":"sailpoint.object","l":"Filter.CompositeFilter"},{"p":"sailpoint.connector","l":"DelimitedFileConnector"},{"p":"sailpoint.connector.webservices","l":"Endpoint"},{"p":"sailpoint.object","l":"Entitlement"},{"p":"sailpoint.object","l":"Field"},{"p":"sailpoint.object","l":"Filter"},{"p":"sailpoint.object","l":"Filter.FilterCompiler"},{"p":"sailpoint.object","l":"Filter.FilterVisitor"},{"p":"sailpoint.object","l":"ProvisioningPlan.GenericRequest"},{"p":"sailpoint.object","l":"Filter.FilterCompiler.IdentitiferLookAhead"},{"p":"sailpoint.object","l":"Identity"},{"p":"sailpoint.rule","l":"Identity"},{"p":"sailpoint.server","l":"IdnRuleUtil"},{"p":"sailpoint.object","l":"IntegrationConfig"},{"p":"sailpoint.object","l":"Filter.LeafFilter"},{"p":"sailpoint.object","l":"Link"},{"p":"sailpoint.object","l":"Filter.LogicalOperation"},{"p":"sailpoint.object","l":"ManagedAttribute"},{"p":"sailpoint.rule","l":"ManagedAttributeDetails"},{"p":"sailpoint.object","l":"Filter.MatchMode"},{"p":"sailpoint.object","l":"ProvisioningPlan.ObjectOperation"},{"p":"sailpoint.object","l":"ProvisioningPlan.ObjectRequest"},{"p":"sailpoint.object","l":"ProvisioningPlan.AccountRequest.Operation"},{"p":"sailpoint.object","l":"ProvisioningPlan.Operation"},{"p":"sailpoint.object","l":"QueryOptions.Ordering"},{"p":"sailpoint.object","l":"ProvisioningPlan.PermissionRequest"},{"p":"sailpoint.object","l":"ProvisioningPlan"},{"p":"sailpoint.object","l":"ProvisioningResult"},{"p":"sailpoint.object","l":"QueryOptions"},{"p":"sailpoint.object","l":"ResourceObject"},{"p":"sailpoint.object","l":"RoleAssignment"},{"p":"sailpoint.api","l":"SailPointContext"},{"p":"sailpoint.object","l":"Schema"},{"p":"sailpoint.object","l":"ManagedAttribute.Type"},{"p":"sailpoint.object","l":"Filter.ValueEscapeStyle"},{"p":"sailpoint.connector.webservices","l":"WebServicesClient"}] \ No newline at end of file +typeSearchIndex = [ + {p: 'sailpoint.rule', l: 'Account'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.AccountRequest'}, + {l: 'All Classes', url: 'allclasses-index.html'}, + {p: 'sailpoint.object', l: 'Application'}, + {p: 'sailpoint.object', l: 'AttributeDefinition'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.AttributeRequest'}, + {p: 'sailpoint.object', l: 'Attributes'}, + {p: 'sailpoint.object', l: 'BaseAttributeDefinition'}, + {p: 'sailpoint.object', l: 'Filter.BaseFilterVisitor'}, + {p: 'sailpoint.object', l: 'Filter.BooleanOperation'}, + {p: 'sailpoint.object', l: 'Bundle'}, + {p: 'sailpoint.object', l: 'Filter.CompositeFilter'}, + {p: 'sailpoint.connector', l: 'DelimitedFileConnector'}, + {p: 'sailpoint.connector.webservices', l: 'Endpoint'}, + {p: 'sailpoint.object', l: 'Entitlement'}, + {p: 'sailpoint.object', l: 'Field'}, + {p: 'sailpoint.object', l: 'Filter'}, + {p: 'sailpoint.object', l: 'Filter.FilterCompiler'}, + {p: 'sailpoint.object', l: 'Filter.FilterVisitor'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.GenericRequest'}, + {p: 'sailpoint.object', l: 'Filter.FilterCompiler.IdentitiferLookAhead'}, + {p: 'sailpoint.object', l: 'Identity'}, + {p: 'sailpoint.rule', l: 'Identity'}, + {p: 'sailpoint.server', l: 'IdnRuleUtil'}, + {p: 'sailpoint.object', l: 'IntegrationConfig'}, + {p: 'sailpoint.object', l: 'Filter.LeafFilter'}, + {p: 'sailpoint.object', l: 'Link'}, + {p: 'sailpoint.object', l: 'Filter.LogicalOperation'}, + {p: 'sailpoint.object', l: 'ManagedAttribute'}, + {p: 'sailpoint.rule', l: 'ManagedAttributeDetails'}, + {p: 'sailpoint.object', l: 'Filter.MatchMode'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.ObjectOperation'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.ObjectRequest'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.AccountRequest.Operation'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.Operation'}, + {p: 'sailpoint.object', l: 'QueryOptions.Ordering'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan.PermissionRequest'}, + {p: 'sailpoint.object', l: 'ProvisioningPlan'}, + {p: 'sailpoint.object', l: 'ProvisioningResult'}, + {p: 'sailpoint.object', l: 'QueryOptions'}, + {p: 'sailpoint.object', l: 'ResourceObject'}, + {p: 'sailpoint.object', l: 'RoleAssignment'}, + {p: 'sailpoint.api', l: 'SailPointContext'}, + {p: 'sailpoint.object', l: 'Schema'}, + {p: 'sailpoint.object', l: 'ManagedAttribute.Type'}, + {p: 'sailpoint.object', l: 'Filter.ValueEscapeStyle'}, + {p: 'sailpoint.connector.webservices', l: 'WebServicesClient'}, +];