Full Code of boyney123/github-actions for AI

master e049d3c6f803 cached
140 files
1.0 MB
346.8k tokens
453 symbols
1 requests
Download .txt
Showing preview only (1,114K chars total). Download the full file or copy to clipboard to get everything.
Repository: boyney123/github-actions
Branch: master
Commit: e049d3c6f803
Files: 140
Total size: 1.0 MB

Directory structure:
gitextract_me2v_ca3/

├── .all-contributorsrc
├── .gitignore
├── .nvmrc
├── .prettierrc
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── functions/
│   └── github.js
├── gatsby-browser.js
├── gatsby-config.js
├── gatsby-node.js
├── gatsby-ssr.js
├── netlify.toml
├── package.json
└── src/
    ├── actions/
    │   ├── PHP-Lint.md
    │   ├── a-branch-cleanup.md
    │   ├── aloba.md
    │   ├── android.md
    │   ├── apprise-ga.md
    │   ├── assignee-to-reviewer.md
    │   ├── automerge.md
    │   ├── aws-sam.md
    │   ├── aws.md
    │   ├── azure.md
    │   ├── azure_node.md
    │   ├── cake-tasks.md
    │   ├── clojure-formatter.md
    │   ├── cloudflare-worker.md
    │   ├── composer.md
    │   ├── cowsays.md
    │   ├── dart-formatter.md
    │   ├── digitalocean.md
    │   ├── discord-notification.md
    │   ├── dnscontrol-action.md
    │   ├── docker-linter.md
    │   ├── docker.md
    │   ├── ember-cli.md
    │   ├── firebase.md
    │   ├── gatsby-cli.md
    │   ├── ghpages.md
    │   ├── git-auto-commit-action.md
    │   ├── gitcret.md
    │   ├── github-deployments.md
    │   ├── github-push-action.md
    │   ├── github-wiki.md
    │   ├── golang.md
    │   ├── google-cloud-platform.md
    │   ├── goreleaser.md
    │   ├── gradle.md
    │   ├── graphql-inspector.md
    │   ├── hadolint.md
    │   ├── heroku.md
    │   ├── home-assistant.md
    │   ├── httpie-action.md
    │   ├── hugo-to-github-pages.md
    │   ├── install-qt-action.md
    │   ├── issue-label-manager.md
    │   ├── jekyll-builds-on-github-pages.md
    │   ├── jenkins-single-shot.md
    │   ├── js-build-tools.md
    │   ├── lint-pull-request.md
    │   ├── mercure.md
    │   ├── mjolnir.md
    │   ├── my-broken-link-checker.md
    │   ├── netlify-build.md
    │   ├── netlify-cli.md
    │   ├── netlify-diff-includes.md
    │   ├── nexmo-sms.md
    │   ├── node-code-formatter.md
    │   ├── notify-slack-action.md
    │   ├── npm-audit-fix.md
    │   ├── npm-cli.md
    │   ├── okteto.md
    │   ├── pandoc.md
    │   ├── php-code-fixer.md
    │   ├── php-stan.md
    │   ├── phpqa.md
    │   ├── powershell-formatter.md
    │   ├── pr-status-giphy.md
    │   ├── psake.md
    │   ├── publish-puppet-forge.md
    │   ├── publish-wordpress-plugin.md
    │   ├── pulumi.md
    │   ├── py-lambda-action.md
    │   ├── pypi-publish.md
    │   ├── rebase-pr.md
    │   ├── release-archive.md
    │   ├── release_notify.md
    │   ├── repetitive.md
    │   ├── rstats.md
    │   ├── rsync.md
    │   ├── ruby-gems.md
    │   ├── ruby-linter.md
    │   ├── run-github-actions-locally.md
    │   ├── semantic-release-action.md
    │   ├── send-emails.md
    │   ├── setup-flutter.md
    │   ├── setup-php.md
    │   ├── shaking-finger.md
    │   ├── size-label-action.md
    │   ├── slack-message-as-bot.md
    │   ├── slack-message.md
    │   ├── sleep.md
    │   ├── spothub.md
    │   ├── ssh.md
    │   ├── storybook-surge.md
    │   ├── synk-cli.md
    │   ├── terraform.md
    │   ├── tslint-linter.md
    │   ├── tweet.md
    │   ├── twitter-action.md
    │   ├── vamp.md
    │   ├── vscode-vsce.md
    │   ├── wait-for-200.md
    │   ├── webpack-stats-to-packtracker.md
    │   ├── wemake-python-styleguide.md
    │   ├── wip.md
    │   ├── wordpress-dotorg-plugin-deploy.md
    │   ├── wordpress-plugin-asset-update.md
    │   ├── wordpress-pot-generator.md
    │   ├── wp-text-domain.md
    │   ├── yarn.md
    │   ├── zeit-now.md
    │   └── zola-deploy.md
    ├── components/
    │   ├── Action-Card/
    │   │   ├── index.js
    │   │   └── styles.css
    │   ├── ActionHeader/
    │   │   └── index.js
    │   ├── Footer/
    │   │   ├── index.js
    │   │   └── styles.css
    │   ├── Navigation/
    │   │   ├── index.js
    │   │   └── styles.css
    │   ├── SiteHeader/
    │   │   └── index.js
    │   ├── layout.css
    │   └── layout.js
    ├── functions/
    │   └── github.js
    ├── images/
    │   └── .gitkeep
    ├── pages/
    │   ├── 404.js
    │   └── index.js
    └── templates/
        ├── blog-post.css
        └── blog-post.js

================================================
FILE CONTENTS
================================================

================================================
FILE: .all-contributorsrc
================================================
{
  "projectName": "github-actions",
  "projectOwner": "boyney123",
  "repoType": "github",
  "repoHost": "https://github.com",
  "files": [
    "README.md"
  ],
  "imageSize": 100,
  "commit": true,
  "contributors": [
    {
      "login": "boyney123",
      "name": "David Boyne",
      "avatar_url": "https://avatars1.githubusercontent.com/u/3268013?v=4",
      "profile": "https://medium.com/@boyney123",
      "contributions": [
        "code"
      ]
    },
    {
      "login": "bltavares",
      "name": "Bruno Tavares",
      "avatar_url": "https://avatars1.githubusercontent.com/u/109474?v=4",
      "profile": "http://bltavares.com",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "pascalgn",
      "name": "Pascal",
      "avatar_url": "https://avatars2.githubusercontent.com/u/432333?v=4",
      "profile": "https://twitter.com/pascalgn",
      "contributions": [
        "doc",
        "code"
      ]
    },
    {
      "login": "pxgamer",
      "name": "Owen Voke",
      "avatar_url": "https://avatars0.githubusercontent.com/u/1899334?v=4",
      "profile": "https://pxgamer.xyz",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "maxheld83",
      "name": "Maximilian Held",
      "avatar_url": "https://avatars0.githubusercontent.com/u/5372770?v=4",
      "profile": "http://www.maxheld.de/",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "jzweifel",
      "name": "Jacob Zweifel",
      "avatar_url": "https://avatars0.githubusercontent.com/u/39281691?v=4",
      "profile": "https://github.com/jzweifel",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "mscoutermarsh",
      "name": "Mike Coutermarsh",
      "avatar_url": "https://avatars0.githubusercontent.com/u/155044?v=4",
      "profile": "https://mikecoutermarsh.com",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "jonico",
      "name": "Johannes Nicolai",
      "avatar_url": "https://avatars3.githubusercontent.com/u/1872314?v=4",
      "profile": "https://github.com/jonico",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "Ilshidur",
      "name": "Nicolas Coutin",
      "avatar_url": "https://avatars1.githubusercontent.com/u/6564012?v=4",
      "profile": "https://nicolas-coutin.fr",
      "contributions": [
        "code"
      ]
    },
    {
      "login": "mariamrf",
      "name": "Mariam Maarouf",
      "avatar_url": "https://avatars0.githubusercontent.com/u/10760189?v=4",
      "profile": "https://maarouf.me",
      "contributions": [
        "code"
      ]
    },
    {
      "login": "ldez",
      "name": "Ludovic Fernandez",
      "avatar_url": "https://avatars0.githubusercontent.com/u/5674651?v=4",
      "profile": "https://twitter.com/ludnadez",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "michaelw90",
      "name": "Michael Wright",
      "avatar_url": "https://avatars1.githubusercontent.com/u/348317?v=4",
      "profile": "http://codular.com",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "jeffpaul",
      "name": "Jeffrey Paul",
      "avatar_url": "https://avatars2.githubusercontent.com/u/2818133?v=4",
      "profile": "https://jeffpaul.com/",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "cstuder",
      "name": "Christian Studer",
      "avatar_url": "https://avatars0.githubusercontent.com/u/288493?v=4",
      "profile": "https://hymnos.existenz.ch",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "andrewsomething",
      "name": "Andrew Starr-Bochicchio",
      "avatar_url": "https://avatars0.githubusercontent.com/u/46943?v=4",
      "profile": "http://blog.andrewsomething.com/",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "MrRhodes",
      "name": "Stephen Rhodes",
      "avatar_url": "https://avatars3.githubusercontent.com/u/130488?v=4",
      "profile": "http://www.linkedin.com/in/sterhodes",
      "contributions": [
        "code"
      ]
    },
    {
      "login": "varunsridharan",
      "name": "Varun Sridharan",
      "avatar_url": "https://avatars1.githubusercontent.com/u/1884287?v=4",
      "profile": "http://varunsridharan.in",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "shivammathur",
      "name": "Shivam Mathur",
      "avatar_url": "https://avatars1.githubusercontent.com/u/1571086?v=4",
      "profile": "https://shivammathur.com",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "tnc1997",
      "name": "Thomas Clark",
      "avatar_url": "https://avatars1.githubusercontent.com/u/17160067?v=4",
      "profile": "https://github.com/tnc1997",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "MarvinJWendt",
      "name": "MarvinJWendt",
      "avatar_url": "https://avatars0.githubusercontent.com/u/31022056?v=4",
      "profile": "https://marvinjwendt.com",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "jurplel",
      "name": "Benjamin O",
      "avatar_url": "https://avatars0.githubusercontent.com/u/10716694?v=4",
      "profile": "http://interversehq.com",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "webknjaz",
      "name": "Sviatoslav Sydorenko",
      "avatar_url": "https://avatars2.githubusercontent.com/u/578543?v=4",
      "profile": "https://webknjaz.me",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "barnumbirr",
      "name": "Martin Simon",
      "avatar_url": "https://avatars1.githubusercontent.com/u/2029239?v=4",
      "profile": "https://martinsimon.me/",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "cycjimmy",
      "name": "Geoffrey.C",
      "avatar_url": "https://avatars1.githubusercontent.com/u/19383787?v=4",
      "profile": "https://www.cycjimmy.tech",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "ad-m",
      "name": "Adam Dobrawy",
      "avatar_url": "https://avatars1.githubusercontent.com/u/3618479?v=4",
      "profile": "http://ochrona.jawne.info.pl",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "NiklasMerz",
      "name": "Niklas Merz",
      "avatar_url": "https://avatars0.githubusercontent.com/u/3585860?v=4",
      "profile": "https://blog.merzlabs.com/authors/niklas-merz/",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "sobolevn",
      "name": "Nikita Sobolev",
      "avatar_url": "https://avatars1.githubusercontent.com/u/4660275?v=4",
      "profile": "https://sobolevn.me",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "y-mehta",
      "name": "Yash Mehta",
      "avatar_url": "https://avatars1.githubusercontent.com/u/24428063?v=4",
      "profile": "https://github.com/y-mehta",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "stefanzweifel",
      "name": "Stefan Zweifel",
      "avatar_url": "https://avatars3.githubusercontent.com/u/1080923?v=4",
      "profile": "https://stefanzweifel.io",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "ravgeetdhillon",
      "name": "Ravgeet Dhillon",
      "avatar_url": "https://avatars0.githubusercontent.com/u/27858510?v=4",
      "profile": "https://ravgeet.dev/",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "Andrew-Chen-Wang",
      "name": "Andrew Chen Wang",
      "avatar_url": "https://avatars0.githubusercontent.com/u/60190294?v=4",
      "profile": "https://github.com/Andrew-Chen-Wang",
      "contributions": [
        "doc"
      ]
    },
    {
      "login": "ruzickap",
      "name": "Petr Ruzicka",
      "avatar_url": "https://avatars2.githubusercontent.com/u/1434387?v=4",
      "profile": "https://petr.ruzicka.dev/",
      "contributions": [
        "doc"
      ]
    }
  ],
  "contributorsPerLine": 7,
  "commitConvention": "none"
}


================================================
FILE: .gitignore
================================================
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

./functions

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env

# gatsby files
.cache/
public

# Mac files
.DS_Store

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity


================================================
FILE: .nvmrc
================================================
v10.16.3


================================================
FILE: .prettierrc
================================================
{
  "semi": false,
  "singleQuote": true,
  "trailingComma": "es5"
}


================================================
FILE: CONTRIBUTING.md
================================================
## Contributing

Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.

## Issues

We'd love you to open issues, if they're relevant to this repository: feature requests, bug reports, questions about our processes, declarations of gratefulness, etc. are all welcome.

In particular, if you have a large PR you want to send our way, it may make sense to open an issue to discuss it with the maintainers first.

## Submitting a pull request

1. [Fork][fork] and clone the repository
1. Create a new branch: `git checkout -b my-branch-name`
1. Make your changes
1. Push to your fork and [submit a pull request][pr]
1. Pat your self on the back and wait for your pull request to be reviewed and merged.

## Adding your configuration to github-actions

You can add your action to the website by creating a [new file md in `/actions directory`](https://github.com/boyney123/github-actions/new/master?filename=src/actions/your-action.md) with a template.

You have two options to generate a template:

1. Use wizard magic and use this url to generate your markdown : [https://github-actions.netlify.com/.netlify/functions/github?url={YOUR_GITHUB_URL}](https://github-actions.netlify.com/.netlify/functions/github?url={YOUR_GITHUB_URL})

2. Copy the contents below.

```m
---
path: '/new-action'
title: 'My New Action'
github_url: 'https://github.com/action-url'
author: 'David Boyne'
twitter: '@boyney123'
tags: ['tagExample']
subtitle: 'My new action that does some super cool things.'
---


# Action details

Write up a description or just copy your README here

```


================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) David Boyne <davidboyne123@hotmail.co.uk> 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


================================================
FILE: README.md
================================================
<div align="center">
<h1>github-actions</h1>
<a href="https://www.emojione.com/emoji/1f428">
<img height="80" width="80" alt="goat" src="./animal.png" />
</a>

<p>A open source app to help developers find GitHub Actions.</p>

[https://github-actions.netlify.app/](https://github-actions.netlify.app/)

</div>

<hr/>

[![All Contributors](https://img.shields.io/badge/all_contributors-20-orange.svg?style=flat-square)](#contributors-) [![MIT License][license-badge]][license] [![PRs Welcome][prs-badge]][prs]
[![Netlify Status](https://api.netlify.com/api/v1/badges/135bba3e-819f-41a7-86f7-bc93cfecd07d/deploy-status)](https://app.netlify.com/sites/github-actions/deploys)
[![Join the community on Spectrum][spectrum-badge]][spectrum]

## Motivation

[Github Actions](https://css-tricks.com/introducing-github-actions/) are currently in beta and I believe they are game changing.

Here is a great podcast that inspired me to write this website: [GitHub Actions is the next big thing](https://changelog.com/podcast/331)

I'm excited to see what people build and also discover new actions that are available. You can checkout [https://github.com/sdras/awesome-actions](https://github.com/sdras/awesome-actions) which has some great resource on it!

I created to this application to help people search and share GitHub actions with each other and I wanted to further my knowledge with some tech [gatsbyjs](https://www.gatsbyjs.org/) & [netlify](https://www.netlify.com/).

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://medium.com/@boyney123"><img src="https://avatars1.githubusercontent.com/u/3268013?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David Boyne</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=boyney123" title="Code">💻</a></td>
    <td align="center"><a href="http://bltavares.com"><img src="https://avatars1.githubusercontent.com/u/109474?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bruno Tavares</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=bltavares" title="Documentation">📖</a></td>
    <td align="center"><a href="https://twitter.com/pascalgn"><img src="https://avatars2.githubusercontent.com/u/432333?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Pascal</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=pascalgn" title="Documentation">📖</a> <a href="https://github.com/boyney123/github-actions/commits?author=pascalgn" title="Code">💻</a></td>
    <td align="center"><a href="https://pxgamer.xyz"><img src="https://avatars0.githubusercontent.com/u/1899334?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Owen Voke</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=pxgamer" title="Documentation">📖</a></td>
    <td align="center"><a href="http://www.maxheld.de/"><img src="https://avatars0.githubusercontent.com/u/5372770?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Maximilian Held</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=maxheld83" title="Documentation">📖</a></td>
    <td align="center"><a href="https://github.com/jzweifel"><img src="https://avatars0.githubusercontent.com/u/39281691?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jacob Zweifel</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=jzweifel" title="Documentation">📖</a></td>
    <td align="center"><a href="https://mikecoutermarsh.com"><img src="https://avatars0.githubusercontent.com/u/155044?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mike Coutermarsh</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=mscoutermarsh" title="Documentation">📖</a></td>
  </tr>
  <tr>
    <td align="center"><a href="https://github.com/jonico"><img src="https://avatars3.githubusercontent.com/u/1872314?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Johannes Nicolai</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=jonico" title="Documentation">📖</a></td>
    <td align="center"><a href="https://nicolas-coutin.fr"><img src="https://avatars1.githubusercontent.com/u/6564012?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nicolas Coutin</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=Ilshidur" title="Code">💻</a></td>
    <td align="center"><a href="https://maarouf.me"><img src="https://avatars0.githubusercontent.com/u/10760189?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Mariam Maarouf</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=mariamrf" title="Code">💻</a></td>
    <td align="center"><a href="https://twitter.com/ludnadez"><img src="https://avatars0.githubusercontent.com/u/5674651?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ludovic Fernandez</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=ldez" title="Documentation">📖</a></td>
    <td align="center"><a href="http://codular.com"><img src="https://avatars1.githubusercontent.com/u/348317?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Michael Wright</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=michaelw90" title="Documentation">📖</a></td>
    <td align="center"><a href="https://jeffpaul.com/"><img src="https://avatars2.githubusercontent.com/u/2818133?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jeffrey Paul</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=jeffpaul" title="Documentation">📖</a></td>
    <td align="center"><a href="https://hymnos.existenz.ch"><img src="https://avatars0.githubusercontent.com/u/288493?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christian Studer</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=cstuder" title="Documentation">📖</a></td>
  </tr>
  <tr>
    <td align="center"><a href="http://blog.andrewsomething.com/"><img src="https://avatars0.githubusercontent.com/u/46943?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrew Starr-Bochicchio</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=andrewsomething" title="Documentation">📖</a></td>
    <td align="center"><a href="http://www.linkedin.com/in/sterhodes"><img src="https://avatars3.githubusercontent.com/u/130488?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Stephen Rhodes</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=MrRhodes" title="Code">💻</a></td>
    <td align="center"><a href="http://varunsridharan.in"><img src="https://avatars1.githubusercontent.com/u/1884287?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Varun Sridharan</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=varunsridharan" title="Documentation">📖</a></td>
    <td align="center"><a href="https://shivammathur.com"><img src="https://avatars1.githubusercontent.com/u/1571086?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Shivam Mathur</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=shivammathur" title="Documentation">📖</a></td>
    <td align="center"><a href="https://github.com/tnc1997"><img src="https://avatars1.githubusercontent.com/u/17160067?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Thomas Clark</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=tnc1997" title="Documentation">📖</a></td>
    <td align="center"><a href="https://marvinjwendt.com"><img src="https://avatars0.githubusercontent.com/u/31022056?v=4?s=100" width="100px;" alt=""/><br /><sub><b>MarvinJWendt</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=MarvinJWendt" title="Documentation">📖</a></td>
    <td align="center"><a href="http://interversehq.com"><img src="https://avatars0.githubusercontent.com/u/10716694?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Benjamin O</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=jurplel" title="Documentation">📖</a></td>
  </tr>
  <tr>
    <td align="center"><a href="https://webknjaz.me"><img src="https://avatars2.githubusercontent.com/u/578543?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sviatoslav Sydorenko</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=webknjaz" title="Documentation">📖</a></td>
    <td align="center"><a href="https://martinsimon.me/"><img src="https://avatars1.githubusercontent.com/u/2029239?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Martin Simon</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=barnumbirr" title="Documentation">📖</a></td>
    <td align="center"><a href="https://www.cycjimmy.tech"><img src="https://avatars1.githubusercontent.com/u/19383787?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Geoffrey.C</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=cycjimmy" title="Documentation">📖</a></td>
    <td align="center"><a href="http://ochrona.jawne.info.pl"><img src="https://avatars1.githubusercontent.com/u/3618479?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adam Dobrawy</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=ad-m" title="Documentation">📖</a></td>
    <td align="center"><a href="https://blog.merzlabs.com/authors/niklas-merz/"><img src="https://avatars0.githubusercontent.com/u/3585860?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Niklas Merz</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=NiklasMerz" title="Documentation">📖</a></td>
    <td align="center"><a href="https://sobolevn.me"><img src="https://avatars1.githubusercontent.com/u/4660275?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nikita Sobolev</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=sobolevn" title="Documentation">📖</a></td>
    <td align="center"><a href="https://github.com/y-mehta"><img src="https://avatars1.githubusercontent.com/u/24428063?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yash Mehta</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=y-mehta" title="Documentation">📖</a></td>
  </tr>
  <tr>
    <td align="center"><a href="https://stefanzweifel.io"><img src="https://avatars3.githubusercontent.com/u/1080923?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Stefan Zweifel</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=stefanzweifel" title="Documentation">📖</a></td>
    <td align="center"><a href="https://ravgeet.dev/"><img src="https://avatars0.githubusercontent.com/u/27858510?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ravgeet Dhillon</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=ravgeetdhillon" title="Documentation">📖</a></td>
    <td align="center"><a href="https://github.com/Andrew-Chen-Wang"><img src="https://avatars0.githubusercontent.com/u/60190294?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Andrew Chen Wang</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=Andrew-Chen-Wang" title="Documentation">📖</a></td>
    <td align="center"><a href="https://petr.ruzicka.dev/"><img src="https://avatars2.githubusercontent.com/u/1434387?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Petr Ruzicka</b></sub></a><br /><a href="https://github.com/boyney123/github-actions/commits?author=ruzickap" title="Documentation">📖</a></td>
  </tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

<!-- prettier-ignore-start -->

[spectrum-badge]: https://withspectrum.github.io/badge/badge.svg
[spectrum]: https://spectrum.chat/github-actions
[license-badge]: https://img.shields.io/badge/License-MIT-yellow.svg
[license]: https://github.com/boyney123/github-actions/blob/master/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com
<!-- prettier-ignore-end -->


================================================
FILE: functions/github.js
================================================
!function(e,t){for(var a in t)e[a]=t[a]}(exports,function(e){var t={};function a(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(r,i,function(t){return e[t]}.bind(null,i));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=92)}([function(e,t,a){var r=a(21),i=a(17).Stream,o=a(4),n=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function c(e,t,a,i,n){throw new r.AssertionError({message:o.format("%s (%s) is required",e,t),actual:void 0===n?typeof i:n(i),expected:t,operator:a||"===",stackStartFunction:c.caller})}function u(e){return Object.prototype.toString.call(e).slice(8,-1)}function p(){}var l={bool:{check:function(e){return"boolean"==typeof e}},func:{check:function(e){return"function"==typeof e}},string:{check:function(e){return"string"==typeof e}},object:{check:function(e){return"object"==typeof e&&null!==e}},number:{check:function(e){return"number"==typeof e&&!isNaN(e)}},finite:{check:function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof i},operator:"instanceof",actual:u},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:u},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:u},uuid:{check:function(e){return"string"==typeof e&&n.test(e)},operator:"isUUID"}};e.exports=function e(t){var a,i=Object.keys(l);return a=process.env.NODE_NDEBUG?p:function(e,t){e||c(t,"true",e)},i.forEach(function(e){if(t)a[e]=p;else{var r=l[e];a[e]=function(t,a){r.check(t)||c(a,e,r.operator,t,r.actual)}}}),i.forEach(function(e){var r="optional"+s(e);if(t)a[r]=p;else{var i=l[e];a[r]=function(t,a){null!=t&&(i.check(t)||c(a,e,i.operator,t,i.actual))}}}),i.forEach(function(e){var r="arrayOf"+s(e);if(t)a[r]=p;else{var i=l[e],o="["+e+"]";a[r]=function(e,t){var a;for(Array.isArray(e)||c(t,o,i.operator,e,i.actual),a=0;a<e.length;a++)i.check(e[a])||c(t,o,i.operator,e,i.actual)}}}),i.forEach(function(e){var r="optionalArrayOf"+s(e);if(t)a[r]=p;else{var i=l[e],o="["+e+"]";a[r]=function(e,t){var a;if(null!=e)for(Array.isArray(e)||c(t,o,i.operator,e,i.actual),a=0;a<e.length;a++)i.check(e[a])||c(t,o,i.operator,e,i.actual)}}}),Object.keys(r).forEach(function(e){a[e]="AssertionError"!==e&&t?p:r[e]}),a._setExports=e,a}(process.env.NODE_NDEBUG)},function(e,t,a){"use strict";var r=a(16),i="undefined"==typeof navigator,o={e:{}},n,s="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0!==this?this:null;function c(){try{var e=n;return n=null,e.apply(this,arguments)}catch(e){return o.e=e,o}}function u(e){return n=e,c}var p=function(e,t){var a={}.hasOwnProperty;function r(){for(var r in this.constructor=e,this.constructor$=t,t.prototype)a.call(t.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=t.prototype[r])}return r.prototype=t.prototype,e.prototype=new r,e.prototype};function l(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function m(e){return"function"==typeof e||"object"==typeof e&&null!==e}function h(e){return l(e)?new Error(S(e)):e}function d(e,t){var a,r=e.length,i=new Array(r+1);for(a=0;a<r;++a)i[a]=e[a];return i[a]=t,i}function f(e,t,a){if(!r.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var i=Object.getOwnPropertyDescriptor(e,t);return null!=i?null==i.get&&null==i.set?i.value:a:void 0}function g(e,t,a){if(l(e))return e;var i={value:a,configurable:!0,enumerable:!1,writable:!0};return r.defineProperty(e,t,i),e}function v(e){throw e}var y=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var a=0;a<e.length;++a)if(e[a]===t)return!0;return!1};if(r.isES5){var a=Object.getOwnPropertyNames;return function(e){for(var i=[],o=Object.create(null);null!=e&&!t(e);){var n;try{n=a(e)}catch(e){return i}for(var s=0;s<n.length;++s){var c=n[s];if(!o[c]){o[c]=!0;var u=Object.getOwnPropertyDescriptor(e,c);null!=u&&null==u.get&&null==u.set&&i.push(c)}}e=r.getPrototypeOf(e)}return i}}var i={}.hasOwnProperty;return function(a){if(t(a))return[];var r=[];e:for(var o in a)if(i.call(a,o))r.push(o);else{for(var n=0;n<e.length;++n)if(i.call(e[n],o))continue e;r.push(o)}return r}}(),b=/this\s*\.\s*\S+\s*=/;function k(e){try{if("function"==typeof e){var t=r.names(e.prototype),a=r.isES5&&t.length>1,i=t.length>0&&!(1===t.length&&"constructor"===t[0]),o=b.test(e+"")&&r.names(e).length>0;if(a||i||o)return!0}return!1}catch(e){return!1}}function x(e){function t(){}t.prototype=e;var a=new t;function r(){return typeof a.foo}return r(),r(),e}var w=/^[a-z$_][a-z$_0-9]*$/i;function j(e){return w.test(e)}function _(e,t,a){for(var r=new Array(e),i=0;i<e;++i)r[i]=t+i+a;return r}function S(e){try{return e+""}catch(e){return"[no string representation]"}}function E(e){return e instanceof Error||null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name}function F(e){try{g(e,"isOperational",!0)}catch(e){}}function P(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function z(e){return E(e)&&r.propertyIsWritable(e,"stack")}var C="stack"in new Error?function(e){return z(e)?e:new Error(S(e))}:function(e){if(z(e))return e;try{throw new Error(S(e))}catch(e){return e}};function A(e){return{}.toString.call(e)}function O(e,t,a){for(var i=r.names(e),o=0;o<i.length;++o){var n=i[o];if(a(n))try{r.defineProperty(t,n,r.getDescriptor(e,n))}catch(e){}}}var q=function(e){return r.isArray(e)?e:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var T="function"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,a=[],r=e[Symbol.iterator]();!(t=r.next()).done;)a.push(t.value);return a};q=function(e){return r.isArray(e)?e:null!=e&&"function"==typeof e[Symbol.iterator]?T(e):null}}var B="undefined"!=typeof process&&"[object process]"===A(process).toLowerCase(),D="undefined"!=typeof process&&void 0!==process.env;function I(e){return D?process.env[e]:void 0}function R(){if("function"==typeof Promise)try{var e=new Promise(function(){});if("[object Promise]"==={}.toString.call(e))return Promise}catch(e){}}function N(e,t){return e.bind(t)}var L={isClass:k,isIdentifier:j,inheritedDataKeys:y,getDataPropertyOrDefault:f,thrower:v,isArray:r.isArray,asArray:q,notEnumerableProp:g,isPrimitive:l,isObject:m,isError:E,canEvaluate:i,errorObj:o,tryCatch:u,inherits:p,withAppended:d,maybeWrapAsError:h,toFastProperties:x,filledRange:_,toString:S,canAttachTrace:z,ensureErrorObject:C,originatesFromRejection:P,markAsOriginatingFromRejection:F,classString:A,copyDescriptors:O,hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:B,hasEnvVariables:D,env:I,global:s,getNativePromise:R,domainBind:N},U;L.isRecentNode=L.isNode&&(U=process.versions.node.split(".").map(Number),0===U[0]&&U[1]>10||U[0]>0),L.isNode&&L.toFastProperties(process);try{throw new Error}catch(e){L.lastLineError=e}e.exports=L},function(e,t,a){"use strict";var r,i=a(62),o=i.Buffer,n={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(n[r]=i[r]);var s=n.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(s[r]=o[r]);if(n.Buffer.prototype=o.prototype,s.from&&s.from!==Uint8Array.from||(s.from=function(e,t,a){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,a)}),s.alloc||(s.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"==typeof a?r.fill(t,a):r.fill(t):r.fill(0),r}),!n.kStringMaxLength)try{n.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}n.constants||(n.constants={MAX_LENGTH:n.kMaxLength},n.kStringMaxLength&&(n.constants.MAX_STRING_LENGTH=n.kStringMaxLength)),e.exports=n},function(e,t){e.exports=require("crypto")},function(e,t){e.exports=require("util")},function(e,t,a){e.exports=g;var r,i=a(0),o=a(8),n=a(3),s=a(22),c=a(10),u=a(41).DiffieHellman,p=a(9),l=a(6),m=a(7);try{r=a(63)}catch(e){}var h=p.InvalidAlgorithmError,d=p.KeyParseError,f={};function g(e){i.object(e,"options"),i.arrayOfObject(e.parts,"options.parts"),i.string(e.type,"options.type"),i.optionalString(e.comment,"options.comment");var t=o.info[e.type];if("object"!=typeof t)throw new h(e.type);for(var a,r={},n=0;n<e.parts.length;++n){var s=e.parts[n];r[s.name]=s}if(this.type=e.type,this.parts=e.parts,this.part=r,this.comment=void 0,this.source=e.source,this._rfc4253Cache=e._rfc4253Cache,this._hashCache={},this.curve=void 0,"ecdsa"===this.type){var c=this.part.curve.data.toString();this.curve=c,a=o.curves[c].size}else if("ed25519"===this.type||"curve25519"===this.type)a=256,this.curve="curve25519";else{var u=this.part[t.sizePart];a=8*(a=u.data.length)-l.countZeros(u.data)}this.size=a}f.auto=a(64),f.pem=a(14),f.pkcs1=a(42),f.pkcs8=a(26),f.rfc4253=a(15),f.ssh=a(66),f["ssh-private"]=a(32),f.openssh=f["ssh-private"],f.dnssec=a(43),f.putty=a(67),f.ppk=f.putty,g.formats=f,g.prototype.toBuffer=function(e,t){return void 0===e&&(e="ssh"),i.string(e,"format"),i.object(f[e],"formats[format]"),i.optionalObject(t,"options"),"rfc4253"===e?(void 0===this._rfc4253Cache&&(this._rfc4253Cache=f.rfc4253.write(this)),this._rfc4253Cache):f[e].write(this,t)},g.prototype.toString=function(e,t){return this.toBuffer(e,t).toString()},g.prototype.hash=function(e,t){if(i.string(e,"algorithm"),i.optionalString(t,"type"),void 0===t&&(t="ssh"),e=e.toLowerCase(),void 0===o.hashAlgs[e])throw new h(e);var a,r=e+"||"+t;if(this._hashCache[r])return this._hashCache[r];if("ssh"===t)a=this.toBuffer("rfc4253");else{if("spki"!==t)throw new Error("Hash type "+t+" not supported");a=f.pkcs8.pkcs8ToBuffer(this)}var s=n.createHash(e).update(a).digest();return this._hashCache[r]=s,s},g.prototype.fingerprint=function(e,t){void 0===e&&(e="sha256"),void 0===t&&(t="ssh"),i.string(e,"algorithm"),i.string(t,"type");var a={type:"key",hash:this.hash(e,t),algorithm:e,hashType:t};return new s(a)},g.prototype.defaultHashAlgorithm=function(){var e="sha1";return"rsa"===this.type&&(e="sha256"),"dsa"===this.type&&this.size>1024&&(e="sha256"),"ed25519"===this.type&&(e="sha512"),"ecdsa"===this.type&&(e=this.size<=256?"sha256":this.size<=384?"sha384":"sha512"),e},g.prototype.createVerify=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),i.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==r)return new r.Verifier(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,a,o;try{a=e.toUpperCase(),t=n.createVerify(a)}catch(e){o=e}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(a="RSA-",a+=e.toUpperCase(),t=n.createVerify(a)),i.ok(t,"failed to create verifier");var s=t.verify.bind(t),u=this.toBuffer("pkcs8"),p=this.curve,l=this;return t.verify=function(t,a){if(c.isSignature(t,[2,0]))return t.type===l.type&&((!t.hashAlgorithm||t.hashAlgorithm===e)&&((!t.curve||"ecdsa"!==l.type||t.curve===p)&&s(u,t.toBuffer("asn1"))));if("string"==typeof t||Buffer.isBuffer(t))return s(u,t,a);throw c.isSignature(t,[1,0])?new Error("signature was created by too old a version of sshpk and cannot be verified"):new TypeError("signature must be a string, Buffer, or Signature object")},t},g.prototype.createDiffieHellman=function(){if("rsa"===this.type)throw new Error("RSA keys do not support Diffie-Hellman");return new u(this)},g.prototype.createDH=g.prototype.createDiffieHellman,g.parse=function(e,t,a){"string"!=typeof e&&i.buffer(e,"data"),void 0===t&&(t="auto"),i.string(t,"format"),"string"==typeof a&&(a={filename:a}),i.optionalObject(a,"options"),void 0===a&&(a={}),i.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),i.object(f[t],"formats[format]");try{var r=f[t].read(e,a);return r instanceof m&&(r=r.toPublic()),r.comment||(r.comment=a.filename),r}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new d(a.filename,t,e)}},g.isKey=function(e,t){return l.isCompatible(e,g,t)},g.prototype._sshpkApiVersion=[1,7],g._oldVersionDetect=function(e){return i.func(e.toBuffer),i.func(e.fingerprint),e.createDH?[1,4]:e.defaultHashAlgorithm?[1,3]:e.formats.auto?[1,2]:e.formats.pkcs1?[1,1]:[1,0]}},function(e,t,a){e.exports={bufferSplit:function(e,t){r.buffer(e),r.string(t);for(var a=[],i=0,o=0,n=0;n<e.length;++n)if(e[n]===t.charCodeAt(o)?++o:o=e[n]===t.charCodeAt(0)?1:0,o>=t.length){var s=n+1;a.push(e.slice(i,s-o)),i=s,o=0}i<=e.length&&a.push(e.slice(i,e.length));return a},addRSAMissing:function(e){r.object(e),d(e,o,[1,1]);var t,a=new l(e.part.d.data);if(!e.part.dmodp){var i=new l(e.part.p.data),n=a.mod(i.subtract(1));t=y(n),e.part.dmodp={name:"dmodp",data:t},e.parts.push(e.part.dmodp)}if(!e.part.dmodq){var s=new l(e.part.q.data),c=a.mod(s.subtract(1));t=y(c),e.part.dmodq={name:"dmodq",data:t},e.parts.push(e.part.dmodq)}},calculateDSAPublic:function(e,t,a){return r.buffer(e),r.buffer(t),r.buffer(a),e=new l(e),t=new l(t),a=new l(a),y(e.modPow(a,t))},calculateED25519Public:function(e){r.buffer(e);var t=m.sign.keyPair.fromSeed(new Uint8Array(e));return i.from(t.publicKey)},calculateX25519Public:function(e){r.buffer(e);var t=m.box.keyPair.fromSeed(new Uint8Array(e));return i.from(t.publicKey)},mpNormalize:v,mpDenormalize:function(e){r.buffer(e);for(;e.length>1&&0===e[0];)e=e.slice(1);return e},ecNormalize:function(e,t){if(r.buffer(e),0===e[0]&&4===e[1])return t?e:e.slice(1);if(4===e[0]){if(!t)return e}else{for(;0===e[0];)e=e.slice(1);if(2===e[0]||3===e[0])throw new Error("Compressed elliptic curve points are not supported");if(4!==e[0])throw new Error("Not a valid elliptic curve point");if(!t)return e}var a=i.alloc(e.length+1);return a[0]=0,e.copy(a,1),a},countZeros:function(e){var t=0,a=8;for(;t<e.length;){var r=1<<a;if((e[t]&r)===r)break;--a<0&&(t++,a=8)}return 8*t+(8-a)-1},assertCompatible:d,isCompatible:function(e,t,a){if(null===e||"object"!=typeof e)return!1;void 0===a&&(a=t.prototype._sshpkApiVersion);if(e instanceof t&&t.prototype._sshpkApiVersion[0]==a[0])return!0;var r=Object.getPrototypeOf(e),i=0;for(;r.constructor.name!==t.name;)if(!(r=Object.getPrototypeOf(r))||++i>h)return!1;if(r.constructor.name!==t.name)return!1;var o=r._sshpkApiVersion;void 0===o&&(o=t._oldVersionDetect(e));return!(o[0]!=a[0]||o[1]<a[1])},opensslKeyDeriv:function(e,t,a,o){r.buffer(t,"salt"),r.buffer(a,"passphrase"),r.number(o,"iteration count");var n,c,u,p=f[e];r.object(p,"supported cipher"),t=t.slice(0,g);var l=i.alloc(0);for(;l.length<p.key+p.iv;){u=[],c&&u.push(c),u.push(a),u.push(t),n=i.concat(u);for(var m=0;m<o;++m)n=s.createHash("md5").update(n).digest();l=i.concat([l,n]),c=n}return{key:l.slice(0,p.key),iv:l.slice(p.key,p.key+p.iv)}},opensshCipherInfo:function(e){var t={};switch(e){case"3des-cbc":t.keySize=24,t.blockSize=8,t.opensslName="des-ede3-cbc";break;case"blowfish-cbc":t.keySize=16,t.blockSize=8,t.opensslName="bf-cbc";break;case"aes128-cbc":case"aes128-ctr":case"aes128-gcm@openssh.com":t.keySize=16,t.blockSize=16,t.opensslName="aes-128-"+e.slice(7,10);break;case"aes192-cbc":case"aes192-ctr":case"aes192-gcm@openssh.com":t.keySize=24,t.blockSize=16,t.opensslName="aes-192-"+e.slice(7,10);break;case"aes256-cbc":case"aes256-ctr":case"aes256-gcm@openssh.com":t.keySize=32,t.blockSize=16,t.opensslName="aes-256-"+e.slice(7,10);break;default:throw new Error('Unsupported openssl cipher "'+e+'"')}return t},publicFromPrivateECDSA:function(e,t){r.string(e,"curveName"),r.buffer(t);var a=c.curves[e],o=new l(a.p),s=new l(a.a),u=new l(a.b),m=new p.ECCurveFp(o,s,u),h=m.decodePointHex(a.G.toString("hex")),d=new l(v(t)),f=h.multiply(d);f=i.from(m.encodePointHex(f),"hex");var g=[];return g.push({name:"curve",data:i.from(e)}),g.push({name:"Q",data:f}),new n({type:"ecdsa",curve:m,parts:g})},zeroPadToLength:function(e,t){r.buffer(e),r.number(t);for(;e.length>t;)r.equal(e[0],0),e=e.slice(1);for(;e.length<t;){var a=i.alloc(e.length+1);a[0]=0,e.copy(a,1),e=a}return e},writeBitString:function(e,t,a){void 0===a&&(a=u.Ber.BitString);var r=i.alloc(t.length+1);r[0]=0,t.copy(r,1),e.writeBuffer(r,a)},readBitString:function(e,t){void 0===t&&(t=u.Ber.BitString);var a=e.readString(t,!0);return r.strictEqual(a[0],0,"bit strings with unused bits are not supported (0x"+a[0].toString(16)+")"),a.slice(1)},pbkdf2:function(e,t,a,r,o){var n=i.alloc(t.length+4);t.copy(n);var c=0,u=[],p=1;for(;c<r;){var l=m(p++);c+=l.length,u.push(l)}return i.concat(u).slice(0,r);function m(t){n.writeUInt32BE(t,n.length-4);var r=s.createHmac(e,o);r.update(n);for(var i=r.digest(),c=i,u=1;u++<a;){(r=s.createHmac(e,o)).update(c),c=r.digest();for(var p=0;p<i.length;++p)i[p]^=c[p]}return i}}};var r=a(0),i=a(2).Buffer,o=a(7),n=a(5),s=a(3),c=a(8),u=a(11),p=a(31),l=a(23).BigInteger,m=a(24),h=3;function d(e,t,a,i){if(void 0===i&&(i="object"),r.ok(e,i+" must not be null"),r.object(e,i+" must be an object"),void 0===a&&(a=t.prototype._sshpkApiVersion),!(e instanceof t&&t.prototype._sshpkApiVersion[0]==a[0])){for(var o=Object.getPrototypeOf(e),n=0;o.constructor.name!==t.name;)o=Object.getPrototypeOf(o),r.ok(o&&++n<=h,i+" must be a "+t.name+" instance");r.strictEqual(o.constructor.name,t.name,i+" must be a "+t.name+" instance");var s=o._sshpkApiVersion;void 0===s&&(s=t._oldVersionDetect(e)),r.ok(s[0]==a[0]&&s[1]>=a[1],i+" must be compatible with "+t.name+" klass version "+a[0]+"."+a[1])}}var f={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}},g=8;function v(e){for(r.buffer(e);e.length>1&&0===e[0]&&0==(128&e[1]);)e=e.slice(1);if(128==(128&e[0])){var t=i.alloc(e.length+1);t[0]=0,e.copy(t,1),e=t}return e}function y(e){var t=i.from(e.toByteArray());return t=v(t)}},function(e,t,a){e.exports=b;var r=a(0),i=a(2).Buffer,o=a(8),n=a(3),s=(a(22),a(10)),c=a(9),u=a(4),p=a(6),l=a(41),m=l.generateECDSA,h=l.generateED25519,d=a(63),f=a(24),g=a(5),v=(c.InvalidAlgorithmError,c.KeyParseError),y=(c.KeyEncryptedError,{});function b(e){r.object(e,"options"),g.call(this,e),this._pubCache=void 0}y.auto=a(64),y.pem=a(14),y.pkcs1=a(42),y.pkcs8=a(26),y.rfc4253=a(15),y["ssh-private"]=a(32),y.openssh=y["ssh-private"],y.ssh=y["ssh-private"],y.dnssec=a(43),u.inherits(b,g),b.formats=y,b.prototype.toBuffer=function(e,t){return void 0===e&&(e="pkcs1"),r.string(e,"format"),r.object(y[e],"formats[format]"),r.optionalObject(t,"options"),y[e].write(this,t)},b.prototype.hash=function(e,t){return this.toPublic().hash(e,t)},b.prototype.fingerprint=function(e,t){return this.toPublic().fingerprint(e,t)},b.prototype.toPublic=function(){if(this._pubCache)return this._pubCache;for(var e=o.info[this.type],t=[],a=0;a<e.parts.length;++a){var r=e.parts[a];t.push(this.part[r])}return this._pubCache=new g({type:this.type,source:this,parts:t}),this.comment&&(this._pubCache.comment=this.comment),this._pubCache},b.prototype.derive=function(e){var t,a,o;if(r.string(e,"type"),"ed25519"===this.type&&"curve25519"===e)return 0===(t=this.part.k.data)[0]&&(t=t.slice(1)),o=f.box.keyPair.fromSecretKey(new Uint8Array(t)),a=i.from(o.publicKey),new b({type:"curve25519",parts:[{name:"A",data:p.mpNormalize(a)},{name:"k",data:p.mpNormalize(t)}]});if("curve25519"===this.type&&"ed25519"===e)return 0===(t=this.part.k.data)[0]&&(t=t.slice(1)),o=f.sign.keyPair.fromSeed(new Uint8Array(t)),a=i.from(o.publicKey),new b({type:"ed25519",parts:[{name:"A",data:p.mpNormalize(a)},{name:"k",data:p.mpNormalize(t)}]});throw new Error("Key derivation not supported from "+this.type+" to "+e)},b.prototype.createVerify=function(e){return this.toPublic().createVerify(e)},b.prototype.createSign=function(e){if(void 0===e&&(e=this.defaultHashAlgorithm()),r.string(e,"hash algorithm"),"ed25519"===this.type&&void 0!==d)return new d.Signer(this,e);if("curve25519"===this.type)throw new Error("Curve25519 keys are not suitable for signing or verification");var t,a,o;try{a=e.toUpperCase(),t=n.createSign(a)}catch(e){o=e}(void 0===t||o instanceof Error&&o.message.match(/Unknown message digest/))&&(a="RSA-",a+=e.toUpperCase(),t=n.createSign(a)),r.ok(t,"failed to create verifier");var c=t.sign.bind(t),u=this.toBuffer("pkcs1"),p=this.type,l=this.curve;return t.sign=function(){var t=c(u);return"string"==typeof t&&(t=i.from(t,"binary")),(t=s.parse(t,p,"asn1")).hashAlgorithm=e,t.curve=l,t},t},b.parse=function(e,t,a){"string"!=typeof e&&r.buffer(e,"data"),void 0===t&&(t="auto"),r.string(t,"format"),"string"==typeof a&&(a={filename:a}),r.optionalObject(a,"options"),void 0===a&&(a={}),r.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),r.object(y[t],"formats[format]");try{var i=y[t].read(e,a);return r.ok(i instanceof b,"key is not a private key"),i.comment||(i.comment=a.filename),i}catch(e){if("KeyEncryptedError"===e.name)throw e;throw new v(a.filename,t,e)}},b.isPrivateKey=function(e,t){return p.isCompatible(e,b,t)},b.generate=function(e,t){switch(void 0===t&&(t={}),r.object(t,"options"),e){case"ecdsa":return void 0===t.curve&&(t.curve="nistp256"),r.string(t.curve,"options.curve"),m(t.curve);case"ed25519":return h();default:throw new Error('Key generation not supported with key type "'+e+'"')}},b.prototype._sshpkApiVersion=[1,6],b._oldVersionDetect=function(e){return r.func(e.toPublic),r.func(e.createSign),e.derive?[1,3]:e.defaultHashAlgorithm?[1,2]:e.formats.auto?[1,1]:[1,0]}},function(e,t,a){var r=a(2).Buffer,i={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};i.curve25519=i.ed25519;var o={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};o.curve25519=o.ed25519;var n={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:r.from("00ffffffff 00000001 00000000 0000000000000000 ffffffff ffffffff ffffffff".replace(/ /g,""),"hex"),a:r.from("00FFFFFFFF 00000001 00000000 0000000000000000 FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:r.from("5ac635d8 aa3a93e7 b3ebbd55 769886bc651d06b0 cc53b0f6 3bce3c3e 27d2604b".replace(/ /g,""),"hex"),s:r.from("00c49d3608 86e70493 6a6678e1 139d26b7819f7e90".replace(/ /g,""),"hex"),n:r.from("00ffffffff 00000000 ffffffff ffffffffbce6faad a7179e84 f3b9cac2 fc632551".replace(/ /g,""),"hex"),G:r.from("046b17d1f2 e12c4247 f8bce6e5 63a440f277037d81 2deb33a0 f4a13945 d898c2964fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e162bce3357 6b315ece cbb64068 37bf51f5".replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:r.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffeffffffff 00000000 00000000 ffffffff".replace(/ /g,""),"hex"),a:r.from("00FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFEFFFFFFFF 00000000 00000000 FFFFFFFC".replace(/ /g,""),"hex"),b:r.from("b3312fa7 e23ee7e4 988e056b e3f82d19181d9c6e fe814112 0314088f 5013875ac656398d 8a2ed19d 2a85c8ed d3ec2aef".replace(/ /g,""),"hex"),s:r.from("00a335926a a319a27a 1d00896a 6773a4827acdac73".replace(/ /g,""),"hex"),n:r.from("00ffffffff ffffffff ffffffff ffffffffffffffff ffffffff c7634d81 f4372ddf581a0db2 48b0a77a ecec196a ccc52973".replace(/ /g,""),"hex"),G:r.from("04aa87ca22 be8b0537 8eb1c71e f320ad746e1d3b62 8ba79b98 59f741e0 82542a385502f25d bf55296c 3a545e38 72760ab73617de4a 96262c6f 5d9e98bf 9292dc29f8f41dbd 289a147c e9da3113 b5f0b8c00a60b1ce 1d7e819d 7a431d7c 90ea0e5f".replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:r.from("01ffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff ffffffffffff".replace(/ /g,""),"hex"),a:r.from("01FFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFFFFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC".replace(/ /g,""),"hex"),b:r.from("51953eb961 8e1c9a1f 929a21a0 b68540eea2da725b 99b315f3 b8b48991 8ef109e156193951 ec7e937b 1652c0bd 3bb1bf073573df88 3d2c34f1 ef451fd4 6b503f00".replace(/ /g,""),"hex"),s:r.from("00d09e8800 291cb853 96cc6717 393284aaa0da64ba".replace(/ /g,""),"hex"),n:r.from("01ffffffffff ffffffff ffffffff ffffffffffffffff ffffffff ffffffff fffffffa51868783 bf2f966b 7fcc0148 f709a5d03bb5c9b8 899c47ae bb6fb71e 91386409".replace(/ /g,""),"hex"),G:r.from("0400c6 858e06b7 0404e9cd 9e3ecb66 2395b4429c648139 053fb521 f828af60 6b4d3dbaa14b5e77 efe75928 fe1dc127 a2ffa8de3348b3c1 856a429b f97e7e31 c2e5bd660118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd998f54449 579b4468 17afbd17 273e662c97ee7299 5ef42640 c550b901 3fad0761353c7086 a272c240 88be9476 9fd16650".replace(/ /g,""),"hex")}};e.exports={info:i,privInfo:o,hashAlgs:{md5:!0,sha1:!0,sha256:!0,sha384:!0,sha512:!0},curves:n}},function(e,t,a){a(0);var r=a(4);function i(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,i),this.name="FingerprintFormatError",this.fingerprint=e,this.format=t,this.message="Fingerprint format is not supported, or is invalid: ",void 0!==e&&(this.message+=" fingerprint = "+e),void 0!==t&&(this.message+=" format = "+t)}function o(e){Error.captureStackTrace&&Error.captureStackTrace(this,o),this.name="InvalidAlgorithmError",this.algorithm=e,this.message='Algorithm "'+e+'" is not supported'}function n(e,t,a){Error.captureStackTrace&&Error.captureStackTrace(this,n),this.name="KeyParseError",this.format=t,this.keyName=e,this.innerErr=a,this.message="Failed to parse "+e+" as a valid "+t+" format key: "+a.message}function s(e,t,a){Error.captureStackTrace&&Error.captureStackTrace(this,s),this.name="SignatureParseError",this.type=e,this.format=t,this.innerErr=a,this.message="Failed to parse the given data as a "+e+" signature in "+t+" format: "+a.message}function c(e,t,a){Error.captureStackTrace&&Error.captureStackTrace(this,c),this.name="CertificateParseError",this.format=t,this.certName=e,this.innerErr=a,this.message="Failed to parse "+e+" as a valid "+t+" format certificate: "+a.message}function u(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,u),this.name="KeyEncryptedError",this.format=t,this.keyName=e,this.message="The "+t+" format key "+e+" is encrypted (password-protected), and no passphrase was provided in `options`"}r.inherits(i,Error),r.inherits(o,Error),r.inherits(n,Error),r.inherits(s,Error),r.inherits(c,Error),r.inherits(u,Error),e.exports={FingerprintFormatError:i,InvalidAlgorithmError:o,KeyParseError:n,SignatureParseError:s,KeyEncryptedError:u,CertificateParseError:c}},function(e,t,a){e.exports=l;var r=a(0),i=a(2).Buffer,o=(a(8),a(3),a(9)),n=a(6),s=a(11),c=a(25),u=o.InvalidAlgorithmError,p=o.SignatureParseError;function l(e){r.object(e,"options"),r.arrayOfObject(e.parts,"options.parts"),r.string(e.type,"options.type");for(var t={},a=0;a<e.parts.length;++a){var i=e.parts[a];t[i.name]=i}this.type=e.type,this.hashAlgorithm=e.hashAlgo,this.curve=e.curve,this.parts=e.parts,this.part=t}function m(e,t,a,i){if("ssh"===a){try{var o=new c({buffer:e}),n=o.readString()}catch(e){}if(void 0!==o){var s="SSH signature does not match expected type (expected "+t+", got "+n+")";switch(n){case"ssh-rsa":r.strictEqual(t,"rsa",s),i.hashAlgo="sha1";break;case"rsa-sha2-256":r.strictEqual(t,"rsa",s),i.hashAlgo="sha256";break;case"rsa-sha2-512":r.strictEqual(t,"rsa",s),i.hashAlgo="sha512";break;case"ssh-ed25519":r.strictEqual(t,"ed25519",s),i.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature type: "+n)}var u=o.readPart();return r.ok(o.atEnd(),"extra trailing bytes"),u.name="sig",i.parts.push(u),new l(i)}}return i.parts.push({name:"sig",data:e}),new l(i)}l.prototype.toBuffer=function(e){var t;void 0===e&&(e="asn1"),r.string(e,"format");var a="ssh-"+this.type;switch(this.type){case"rsa":switch(this.hashAlgorithm){case"sha256":a="rsa-sha2-256";break;case"sha512":a="rsa-sha2-512";break;case"sha1":case void 0:break;default:throw new Error("SSH signature format does not support hash algorithm "+this.hashAlgorithm)}return"ssh"===e?((t=new c({})).writeString(a),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case"ed25519":return"ssh"===e?((t=new c({})).writeString(a),t.writePart(this.part.sig),t.toBuffer()):this.part.sig.data;case"dsa":case"ecdsa":var o,u;if("asn1"===e){var p=new s.BerWriter;return p.startSequence(),o=n.mpNormalize(this.part.r.data),u=n.mpNormalize(this.part.s.data),p.writeBuffer(o,s.Ber.Integer),p.writeBuffer(u,s.Ber.Integer),p.endSequence(),p.buffer}if("ssh"===e&&"dsa"===this.type){if((t=new c({})).writeString("ssh-dss"),(o=this.part.r.data).length>20&&0===o[0]&&(o=o.slice(1)),(u=this.part.s.data).length>20&&0===u[0]&&(u=u.slice(1)),this.hashAlgorithm&&"sha1"!==this.hashAlgorithm||o.length+u.length!==40)throw new Error("OpenSSH only supports DSA signatures with SHA1 hash");return t.writeBuffer(i.concat([o,u])),t.toBuffer()}if("ssh"===e&&"ecdsa"===this.type){var l,m=new c({});o=this.part.r.data,m.writeBuffer(o),m.writePart(this.part.s),t=new c({}),0===o[0]&&(o=o.slice(1));var h=8*o.length;return 256===h?l="nistp256":384===h?l="nistp384":528===h&&(l="nistp521"),t.writeString("ecdsa-sha2-"+l),t.writeBuffer(m.toBuffer()),t.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}},l.prototype.toString=function(e){return r.optionalString(e,"format"),this.toBuffer(e).toString("base64")},l.parse=function(e,t,a){"string"==typeof e&&(e=i.from(e,"base64")),r.buffer(e,"data"),r.string(a,"format"),r.string(t,"type");var o={};o.type=t.toLowerCase(),o.parts=[];try{switch(r.ok(e.length>0,"signature must not be empty"),o.type){case"rsa":case"ed25519":return m(e,t,a,o);case"dsa":case"ecdsa":return"asn1"===a?function(e,t,a,r){var i=new s.BerReader(e);i.readSequence();var o=i.readString(s.Ber.Integer,!0),c=i.readString(s.Ber.Integer,!0);return r.parts.push({name:"r",data:n.mpNormalize(o)}),r.parts.push({name:"s",data:n.mpNormalize(c)}),new l(r)}(e,0,0,o):"dsa"===o.type?function(e,t,a,i){if(40!=e.length){var o=new c({buffer:e}),n=o.readBuffer();"ssh-dss"===n.toString("ascii")&&(n=o.readBuffer()),r.ok(o.atEnd(),"extra trailing bytes"),r.strictEqual(n.length,40,"invalid inner length"),e=n}return i.parts.push({name:"r",data:e.slice(0,20)}),i.parts.push({name:"s",data:e.slice(20,40)}),new l(i)}(e,0,0,o):function(e,t,a,i){var o,n,s=new c({buffer:e}),u=s.readBuffer(),p=u.toString("ascii");if("ecdsa-"===p.slice(0,6)){var m=p.split("-");switch(r.strictEqual(m[0],"ecdsa"),r.strictEqual(m[1],"sha2"),i.curve=m[2],i.curve){case"nistp256":i.hashAlgo="sha256";break;case"nistp384":i.hashAlgo="sha384";break;case"nistp521":i.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+i.curve)}u=s.readBuffer(),r.ok(s.atEnd(),"extra trailing bytes on outer"),s=new c({buffer:u}),o=s.readPart()}else o={data:u};return n=s.readPart(),r.ok(s.atEnd(),"extra trailing bytes"),o.name="r",n.name="s",i.parts.push(o),i.parts.push(n),new l(i)}(e,0,0,o);default:throw new u(t)}}catch(e){if(e instanceof u)throw e;throw new p(t,a,e)}},l.isSignature=function(e,t){return n.isCompatible(e,l,t)},l.prototype._sshpkApiVersion=[2,1],l._oldVersionDetect=function(e){return r.func(e.toBuffer),e.hasOwnProperty("hashAlgorithm")?[2,0]:[1,0]}},function(e,t,a){var r=a(150);e.exports={Ber:r,BerReader:r.Reader,BerWriter:r.Writer}},function(e,t,a){"use strict";var r,i,o=a(16),n=o.freeze,s=a(1),c=s.inherits,u=s.notEnumerableProp;function p(e,t){function a(r){if(!(this instanceof a))return new a(r);u(this,"message","string"==typeof r?r:t),u(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return c(a,Error),a}var l=p("Warning","warning"),m=p("CancellationError","cancellation error"),h=p("TimeoutError","timeout error"),d=p("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(e){r=p("TypeError","type error"),i=p("RangeError","range error")}for(var f="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;g<f.length;++g)"function"==typeof Array.prototype[f[g]]&&(d.prototype[f[g]]=Array.prototype[f[g]]);o.defineProperty(d.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),d.prototype.isOperational=!0;var v=0;function y(e){if(!(this instanceof y))return new y(e);u(this,"name","OperationalError"),u(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(u(this,"message",e.message),u(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}d.prototype.toString=function(){var e=Array(4*v+1).join(" "),t="\n"+e+"AggregateError of:\n";v++,e=Array(4*v+1).join(" ");for(var a=0;a<this.length;++a){for(var r=this[a]===this?"[Circular AggregateError]":this[a]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=e+i[o];t+=(r=i.join("\n"))+"\n"}return v--,t},c(y,Error);var b=Error.__BluebirdErrorTypes__;b||(b=n({CancellationError:m,TimeoutError:h,OperationalError:y,RejectionError:y,AggregateError:d}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:b,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:l}},function(e,t){e.exports=require("url")},function(e,t,a){e.exports={read:function(e,t,a){var c=e;"string"!=typeof e&&(r.buffer(e,"buf"),e=e.toString("ascii"));var u,y,k=e.trim().split(/[\r\n]+/g),x=-1;for(;!u&&x<k.length;)u=k[++x].match(/[-]+[ ]*BEGIN ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);r.ok(u,"invalid PEM header");var w=k.length;for(;!y&&w>0;)y=k[--w].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/);r.ok(y,"invalid PEM footer"),r.equal(u[2],y[2]);var j,_=u[2].toLowerCase();u[1]&&(r.equal(u[1],y[1],"PEM header and footer mismatch"),j=u[1].trim());k=k.slice(x,w+1);var S,E,F,P={};for(;k=k.slice(1),u=k[0].match(/^([A-Za-z0-9-]+): (.+)$/);)P[u[1].toLowerCase()]=u[2];if(k=k.slice(0,-1).join(""),e=n.from(k,"base64"),P["proc-type"]){var z=P["proc-type"].split(",");if("4"===z[0]&&"ENCRYPTED"===z[1]){if("string"==typeof t.passphrase&&(t.passphrase=n.from(t.passphrase,"utf-8")),!n.isBuffer(t.passphrase))throw new d.KeyEncryptedError(t.filename,"PEM");z=P["dek-info"].split(","),r.ok(2===z.length),S=z[0].toLowerCase(),F=n.from(z[1],"hex"),E=s.opensslKeyDeriv(S,F,t.passphrase,1).key}}if(j&&"encrypted"===j.toLowerCase()){var C,A=new i.BerReader(e);A.readSequence(),A.readSequence(),C=A.offset+A.length;var O=A.readOID();if(O!==f)throw new Error("Unsupported PEM/PKCS8 encryption scheme: "+O);A.readSequence(),A.readSequence();var q=A.offset+A.length,T=A.readOID();if(T!==g)throw new Error("Unsupported PBES2 KDF: "+T);A.readSequence();var B=A.readString(i.Ber.OctetString,!0),D=A.readInt(),I="sha1";if(A.offset<q){A.readSequence();var R=A.readOID();if(void 0===(I=b[R]))throw new Error("Unsupported PBKDF2 hash: "+R)}A._offset=q,A.readSequence();var N=A.readOID();if(void 0===(S=v[N]))throw new Error("Unsupported PBES2 cipher: "+N);if(F=A.readString(i.Ber.OctetString,!0),A._offset=C,e=A.readString(i.Ber.OctetString,!0),"string"==typeof t.passphrase&&(t.passphrase=n.from(t.passphrase,"utf-8")),!n.isBuffer(t.passphrase))throw new d.KeyEncryptedError(t.filename,"PEM");var L=s.opensshCipherInfo(S);S=L.opensslName,E=s.pbkdf2(I,B,D,L.keySize,t.passphrase),j=void 0}if(S&&E&&F){var U,H=o.createDecipheriv(S,E,F),$=[];for(H.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),H.write(e),H.end();null!==(U=H.read());)$.push(U);e=n.concat($)}if(j&&"openssh"===j.toLowerCase())return m.readSSHPrivate(_,e,t);if(j&&"ssh2"===j.toLowerCase())return h.readType(_,e,t);var M=new i.BerReader(e);return M.originalInput=c,M.readSequence(),j?(a&&r.strictEqual(a,"pkcs1"),p.readPkcs1(j,_,M)):(a&&r.strictEqual(a,"pkcs8"),l.readPkcs8(j,_,M))},write:function(e,t,a){r.object(e);var o,s={ecdsa:"EC",rsa:"RSA",dsa:"DSA",ed25519:"EdDSA"}[e.type],m=new i.BerWriter;if(u.isPrivateKey(e))a&&"pkcs8"===a?(o="PRIVATE KEY",l.writePkcs8(m,e)):(a&&r.strictEqual(a,"pkcs1"),o=s+" PRIVATE KEY",p.writePkcs1(m,e));else{if(!c.isKey(e))throw new Error("key is not a Key or PrivateKey");a&&"pkcs1"===a?(o=s+" PUBLIC KEY",p.writePkcs1(m,e)):(a&&r.strictEqual(a,"pkcs8"),o="PUBLIC KEY",l.writePkcs8(m,e))}var h=m.buffer.toString("base64"),d=h.length+h.length/64+18+16+2*o.length+10,f=n.alloc(d),g=0;g+=f.write("-----BEGIN "+o+"-----\n",g);for(var v=0;v<h.length;){var y=v+64;y>h.length&&(y=h.length),g+=f.write(h.slice(v,y),g),f[g++]=10,v=y}return g+=f.write("-----END "+o+"-----\n",g),f.slice(0,g)}};var r=a(0),i=a(11),o=a(3),n=a(2).Buffer,s=(a(8),a(6)),c=a(5),u=a(7),p=a(42),l=a(26),m=a(32),h=a(15),d=a(9),f="1.2.840.113549.1.5.13",g="1.2.840.113549.1.5.12",v={"1.2.840.113549.3.7":"3des-cbc","2.16.840.1.101.3.4.1.2":"aes128-cbc","2.16.840.1.101.3.4.1.42":"aes256-cbc"},y={};Object.keys(v).forEach(function(e){y[v[e]]=e});var b={"1.2.840.113549.2.7":"sha1","1.2.840.113549.2.9":"sha256","1.2.840.113549.2.11":"sha512"},k={};Object.keys(b).forEach(function(e){k[b[e]]=e})},function(e,t,a){e.exports={read:m.bind(void 0,!1,void 0),readType:m.bind(void 0,!1),write:function(e,t){r.object(e);var a,s=l(e),p=o.info[e.type];c.isPrivateKey(e)&&(p=o.privInfo[e.type]);var m=p.parts,h=new u({});for(h.writeString(s),a=0;a<m.length;++a){var d=e.part[m[a]].data;!1!==p.normalize&&(d="ed25519"===e.type?n.zeroPadToLength(d,32):n.mpNormalize(d)),"ed25519"===e.type&&"k"===m[a]&&(d=i.concat([d,e.part.A.data])),h.writeBuffer(d)}return h.toBuffer()},readPartial:m.bind(void 0,!0),readInternal:m,keyTypeToAlg:l,algToKeyType:p};var r=a(0),i=a(2).Buffer,o=a(8),n=a(6),s=a(5),c=a(7),u=a(25);function p(e){if(r.string(e),"ssh-dss"===e)return"dsa";if("ssh-rsa"===e)return"rsa";if("ssh-ed25519"===e)return"ed25519";if("ssh-curve25519"===e)return"curve25519";if(e.match(/^ecdsa-sha2-/))return"ecdsa";throw new Error("Unknown algorithm "+e)}function l(e){if(r.object(e),"dsa"===e.type)return"ssh-dss";if("rsa"===e.type)return"ssh-rsa";if("ed25519"===e.type)return"ssh-ed25519";if("curve25519"===e.type)return"ssh-curve25519";if("ecdsa"===e.type)return"ecdsa-sha2-"+e.part.curve.data.toString();throw new Error("Unknown key type "+e.type)}function m(e,t,a,l){"string"==typeof a&&(a=i.from(a)),r.buffer(a,"buf");var m={},h=m.parts=[],d=new u({buffer:a}),f=d.readString();r.ok(!d.atEnd(),"key must have at least one part"),m.type=p(f);var g=o.info[m.type].parts.length;for(t&&"private"===t&&(g=o.privInfo[m.type].parts.length);!d.atEnd()&&h.length<g;)h.push(d.readPart());for(;!e&&!d.atEnd();)h.push(d.readPart());r.ok(h.length>=1,"key must have at least one part"),r.ok(e||d.atEnd(),"leftover bytes at end of key");var v=s,y=o.info[m.type];if("private"!==t&&y.parts.length===h.length||(y=o.privInfo[m.type],v=c),r.strictEqual(y.parts.length,h.length),"ecdsa"===m.type){var b=/^ecdsa-sha2-(.+)$/.exec(f);r.ok(null!==b),r.strictEqual(b[1],h[0].data.toString())}for(var k=!0,x=0;x<y.parts.length;++x){var w,j=h[x];if(j.name=y.parts[x],"ed25519"===m.type&&"k"===j.name&&(j.data=j.data.slice(0,32)),"curve"!==j.name&&!1!==y.normalize)(w="ed25519"===m.type?n.zeroPadToLength(j.data,32):n.mpNormalize(j.data)).toString("binary")!==j.data.toString("binary")&&(j.data=w,k=!1)}return k&&(m._rfc4253Cache=d.toBuffer()),e&&"object"==typeof e&&(e.remainder=d.remainder(),e.consumed=d._offset),new v(m)}},function(e,t){var a=function(){"use strict";return void 0===this}();if(a)e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:a,propertyIsWritable:function(e,t){var a=Object.getOwnPropertyDescriptor(e,t);return!(a&&!a.writable&&!a.set)}};else{var r={}.hasOwnProperty,i={}.toString,o={}.constructor.prototype,n=function(e){var t=[];for(var a in e)r.call(e,a)&&t.push(a);return t};e.exports={isArray:function(e){try{return"[object Array]"===i.call(e)}catch(e){return!1}},keys:n,names:n,defineProperty:function(e,t,a){return e[t]=a.value,e},getDescriptor:function(e,t){return{value:e[t]}},freeze:function(e){return e},getPrototypeOf:function(e){try{return Object(e).constructor.prototype}catch(e){return o}},isES5:a,propertyIsWritable:function(){return!0}}}},function(e,t){e.exports=require("stream")},function(e,t,a){"use strict";function r(e,t,a){var r=a?" !== ":" === ",i=a?" || ":" && ",o=a?"!":"",n=a?"":"!";switch(e){case"null":return t+r+"null";case"array":return o+"Array.isArray("+t+")";case"object":return"("+o+t+i+"typeof "+t+r+'"object"'+i+n+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+r+'"number"'+i+n+"("+t+" % 1)"+i+t+r+t+")";default:return"typeof "+t+r+'"'+e+'"'}}e.exports={copy:function(e,t){for(var a in t=t||{},e)t[a]=e[a];return t},checkDataType:r,checkDataTypes:function(e,t){switch(e.length){case 1:return r(e[0],t,!0);default:var a="",i=o(e);for(var n in i.array&&i.object&&(a=i.null?"(":"(!"+t+" || ",a+="typeof "+t+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer,i)a+=(a?" && ":"")+r(n,t,!0);return a}},coerceToTypes:function(e,t){if(Array.isArray(t)){for(var a=[],r=0;r<t.length;r++){var o=t[r];i[o]?a[a.length]=o:"array"===e&&"array"===o&&(a[a.length]=o)}if(a.length)return a}else{if(i[t])return[t];if("array"===e&&"array"===t)return["array"]}},toHash:o,getProperty:c,escapeQuotes:u,equal:a(46),ucs2length:a(184),varOccurences:function(e,t){t+="[^0-9]";var a=e.match(new RegExp(t,"g"));return a?a.length:0},varReplace:function(e,t,a){return t+="([^0-9])",a=a.replace(/\$/g,"$$$$"),e.replace(new RegExp(t,"g"),a+"$1")},cleanUpCode:function(e){return e.replace(p,"").replace(l,"").replace(m,"if (!($1))")},finalCleanUpCode:function(e,t){var a=e.match(h);a&&2==a.length&&(e=t?e.replace(f,"").replace(y,b):e.replace(d,"").replace(g,v));return(a=e.match(k))&&3===a.length?e.replace(x,""):e},schemaHasRules:function(e,t){if("boolean"==typeof e)return!e;for(var a in e)if(t[a])return!0},schemaHasRulesExcept:function(e,t,a){if("boolean"==typeof e)return!e&&"not"!=a;for(var r in e)if(r!=a&&t[r])return!0},toQuotedString:w,getPathExpr:function(e,t,a,r){return S(e,a?"'/' + "+t+(r?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):r?"'[' + "+t+" + ']'":"'[\\'' + "+t+" + '\\']'")},getPath:function(e,t,a){var r=w(a?"/"+E(t):c(t));return S(e,r)},getData:function(e,t,a){var r,i,o,n;if(""===e)return"rootData";if("/"==e[0]){if(!j.test(e))throw new Error("Invalid JSON-pointer: "+e);i=e,o="rootData"}else{if(!(n=e.match(_)))throw new Error("Invalid JSON-pointer: "+e);if(r=+n[1],"#"==(i=n[2])){if(r>=t)throw new Error("Cannot access property/index "+r+" levels up, current level is "+t);return a[t-r]}if(r>t)throw new Error("Cannot access data "+r+" levels up, current level is "+t);if(o="data"+(t-r||""),!i)return o}for(var s=o,u=i.split("/"),p=0;p<u.length;p++){var l=u[p];l&&(o+=c(F(l)),s+=" && "+o)}return s},unescapeFragment:function(e){return F(decodeURIComponent(e))},unescapeJsonPointer:F,escapeFragment:function(e){return encodeURIComponent(E(e))},escapeJsonPointer:E};var i=o(["string","number","integer","boolean","null"]);function o(e){for(var t={},a=0;a<e.length;a++)t[e[a]]=!0;return t}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function c(e){return"number"==typeof e?"["+e+"]":n.test(e)?"."+e:"['"+u(e)+"']"}function u(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}var p=/else\s*{\s*}/g,l=/if\s*\([^)]+\)\s*\{\s*\}(?!\s*else)/g,m=/if\s*\(([^)]+)\)\s*\{\s*\}\s*else(?!\s*if)/g;var h=/[^v.]errors/g,d=/var errors = 0;|var vErrors = null;|validate.errors = vErrors;/g,f=/var errors = 0;|var vErrors = null;/g,g="return errors === 0;",v="validate.errors = null; return true;",y=/if \(errors === 0\) return data;\s*else throw new ValidationError\(vErrors\);/,b="return data;",k=/[^A-Za-z_$]rootData[^A-Za-z0-9_$]/g,x=/if \(rootData === undefined\) rootData = data;/;function w(e){return"'"+u(e)+"'"}var j=/^\/(?:[^~]|~0|~1)*$/,_=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function S(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}function E(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function F(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}},function(e,t,a){var r=a(62),i=r.Buffer;function o(e,t){for(var a in e)t[a]=e[a]}function n(e,t,a){return i(e,t,a)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=n),o(i,n),n.from=function(e,t,a){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,a)},n.alloc=function(e,t,a){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof a?r.fill(t,a):r.fill(t):r.fill(0),r},n.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},n.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){e.exports=require("http")},function(e,t){e.exports=require("assert")},function(e,t,a){e.exports=d;var r=a(0),i=a(2).Buffer,o=a(8),n=a(3),s=a(9),c=a(5),u=a(7),p=a(27),l=a(6),m=s.FingerprintFormatError,h=s.InvalidAlgorithmError;function d(e){if(r.object(e,"options"),r.string(e.type,"options.type"),r.buffer(e.hash,"options.hash"),r.string(e.algorithm,"options.algorithm"),this.algorithm=e.algorithm.toLowerCase(),!0!==o.hashAlgs[this.algorithm])throw new h(this.algorithm);this.hash=e.hash,this.type=e.type,this.hashType=e.hashType}d.prototype.toString=function(e){switch(void 0===e&&(e="md5"===this.algorithm||"spki"===this.hashType?"hex":"base64"),r.string(e),e){case"hex":return"spki"===this.hashType?this.hash.toString("hex"):this.hash.toString("hex").replace(/(.{2})(?=.)/g,"$1:");case"base64":return"spki"===this.hashType?this.hash.toString("base64"):function(e,t){return e.toUpperCase()+":"+(a=t,a.replace(/=*$/,""));var a}(this.algorithm,this.hash.toString("base64"));default:throw new m(void 0,e)}},d.prototype.matches=function(e){r.object(e,"key or certificate"),"key"===this.type&&"ssh"!==this.hashType?(l.assertCompatible(e,c,[1,7],"key with spki"),u.isPrivateKey(e)&&l.assertCompatible(e,u,[1,6],"privatekey with spki support")):"key"===this.type?l.assertCompatible(e,c,[1,0],"key"):l.assertCompatible(e,p,[1,0],"certificate");var t=e.hash(this.algorithm,this.hashType),a=n.createHash(this.algorithm).update(t).digest("base64");return void 0===this.hash2&&(this.hash2=n.createHash(this.algorithm).update(this.hash).digest("base64")),this.hash2===a};var f=/^[A-Za-z0-9+\/=]+$/,g=/^[a-fA-F0-9]+$/;d.parse=function(e,t){var a,n,s;r.string(e,"fingerprint"),Array.isArray(t)&&(s=t,t={}),r.optionalObject(t,"options"),void 0===t&&(t={}),void 0!==t.enAlgs&&(s=t.enAlgs),void 0!==t.algorithms&&(s=t.algorithms),r.optionalArrayOfString(s,"algorithms");var c="ssh";void 0!==t.hashType&&(c=t.hashType),r.string(c,"options.hashType");var u=e.split(":");if(2==u.length){if(a=u[0].toLowerCase(),!f.test(u[1]))throw new m(e);try{n=i.from(u[1],"base64")}catch(t){throw new m(e)}}else if(u.length>2){if(a="md5","md5"===u[0].toLowerCase()&&(u=u.slice(1)),u=(u=u.map(function(t){for(;t.length<2;)t="0"+t;if(t.length>2)throw new m(e);return t})).join(""),!g.test(u)||u.length%2!=0)throw new m(e);try{n=i.from(u,"hex")}catch(t){throw new m(e)}}else{if(g.test(e))n=i.from(e,"hex");else{if(!f.test(e))throw new m(e);n=i.from(e,"base64")}switch(n.length){case 32:a="sha256";break;case 16:a="md5";break;case 20:a="sha1";break;case 64:a="sha512";break;default:throw new m(e)}void 0===t.hashType&&(c="spki")}if(void 0===a)throw new m(e);if(void 0===o.hashAlgs[a])throw new h(a);if(void 0!==s&&-1===(s=s.map(function(e){return e.toLowerCase()})).indexOf(a))throw new h(a);return new d({algorithm:a,hash:n,type:t.type||"key",hashType:c})},d.isFingerprint=function(e,t){return l.isCompatible(e,d,t)},d.prototype._sshpkApiVersion=[1,2],d._oldVersionDetect=function(e){return r.func(e.toString),r.func(e.matches),[1,0]}},function(e,t,a){(function(){var t;function a(e,t,a){null!=e&&("number"==typeof e?this.fromNumber(e,t,a):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function r(){return new a(null)}var i="undefined"!=typeof navigator;i&&"Microsoft Internet Explorer"==navigator.appName?(a.prototype.am=function(e,t,a,r,i,o){for(var n=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,p=s*c+u*n;i=((c=n*c+((32767&p)<<15)+a[r]+(1073741823&i))>>>30)+(p>>>15)+s*u+(i>>>30),a[r++]=1073741823&c}return i},t=30):i&&"Netscape"!=navigator.appName?(a.prototype.am=function(e,t,a,r,i,o){for(;--o>=0;){var n=t*this[e++]+a[r]+i;i=Math.floor(n/67108864),a[r++]=67108863&n}return i},t=26):(a.prototype.am=function(e,t,a,r,i,o){for(var n=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,p=s*c+u*n;i=((c=n*c+((16383&p)<<14)+a[r]+i)>>28)+(p>>14)+s*u,a[r++]=268435455&c}return i},t=28),a.prototype.DB=t,a.prototype.DM=(1<<t)-1,a.prototype.DV=1<<t;a.prototype.FV=Math.pow(2,52),a.prototype.F1=52-t,a.prototype.F2=2*t-52;var o,n,s="0123456789abcdefghijklmnopqrstuvwxyz",c=new Array;for(o="0".charCodeAt(0),n=0;n<=9;++n)c[o++]=n;for(o="a".charCodeAt(0),n=10;n<36;++n)c[o++]=n;for(o="A".charCodeAt(0),n=10;n<36;++n)c[o++]=n;function u(e){return s.charAt(e)}function p(e,t){var a=c[e.charCodeAt(t)];return null==a?-1:a}function l(e){var t=r();return t.fromInt(e),t}function m(e){var t,a=1;return 0!=(t=e>>>16)&&(e=t,a+=16),0!=(t=e>>8)&&(e=t,a+=8),0!=(t=e>>4)&&(e=t,a+=4),0!=(t=e>>2)&&(e=t,a+=2),0!=(t=e>>1)&&(e=t,a+=1),a}function h(e){this.m=e}function d(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function f(e,t){return e&t}function g(e,t){return e|t}function v(e,t){return e^t}function y(e,t){return e&~t}function b(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function k(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function x(){}function w(e){return e}function j(e){this.r2=r(),this.q3=r(),a.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}h.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},h.prototype.revert=function(e){return e},h.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},h.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a),this.reduce(a)},h.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},d.prototype.convert=function(e){var t=r();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(a.ZERO)>0&&this.m.subTo(t,t),t},d.prototype.revert=function(e){var t=r();return e.copyTo(t),this.reduce(t),t},d.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var a=32767&e[t],r=a*this.mpl+((a*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[a=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[a]>=e.DV;)e[a]-=e.DV,e[++a]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},d.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a),this.reduce(a)},d.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},a.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},a.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},a.prototype.fromString=function(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var i=e.length,o=!1,n=0;--i>=0;){var s=8==r?255&e[i]:p(e,i);s<0?"-"==e.charAt(i)&&(o=!0):(o=!1,0==n?this[this.t++]=s:n+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-n)-1)<<n,this[this.t++]=s>>this.DB-n):this[this.t-1]|=s<<n,(n+=r)>=this.DB&&(n-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,n>0&&(this[this.t-1]|=(1<<this.DB-n)-1<<n)),this.clamp(),o&&a.ZERO.subTo(this,this)},a.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},a.prototype.dlShiftTo=function(e,t){var a;for(a=this.t-1;a>=0;--a)t[a+e]=this[a];for(a=e-1;a>=0;--a)t[a]=0;t.t=this.t+e,t.s=this.s},a.prototype.drShiftTo=function(e,t){for(var a=e;a<this.t;++a)t[a-e]=this[a];t.t=Math.max(this.t-e,0),t.s=this.s},a.prototype.lShiftTo=function(e,t){var a,r=e%this.DB,i=this.DB-r,o=(1<<i)-1,n=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(a=this.t-1;a>=0;--a)t[a+n+1]=this[a]>>i|s,s=(this[a]&o)<<r;for(a=n-1;a>=0;--a)t[a]=0;t[n]=s,t.t=this.t+n+1,t.s=this.s,t.clamp()},a.prototype.rShiftTo=function(e,t){t.s=this.s;var a=Math.floor(e/this.DB);if(a>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[a]>>r;for(var n=a+1;n<this.t;++n)t[n-a-1]|=(this[n]&o)<<i,t[n-a]=this[n]>>r;r>0&&(t[this.t-a-1]|=(this.s&o)<<i),t.t=this.t-a,t.clamp()}},a.prototype.subTo=function(e,t){for(var a=0,r=0,i=Math.min(e.t,this.t);a<i;)r+=this[a]-e[a],t[a++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;a<this.t;)r+=this[a],t[a++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;a<e.t;)r-=e[a],t[a++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[a++]=this.DV+r:r>0&&(t[a++]=r),t.t=a,t.clamp()},a.prototype.multiplyTo=function(e,t){var r=this.abs(),i=e.abs(),o=r.t;for(t.t=o+i.t;--o>=0;)t[o]=0;for(o=0;o<i.t;++o)t[o+r.t]=r.am(0,i[o],t,o,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&a.ZERO.subTo(t,t)},a.prototype.squareTo=function(e){for(var t=this.abs(),a=e.t=2*t.t;--a>=0;)e[a]=0;for(a=0;a<t.t-1;++a){var r=t.am(a,t[a],e,2*a,0,1);(e[a+t.t]+=t.am(a+1,2*t[a],e,2*a+1,r,t.t-a-1))>=t.DV&&(e[a+t.t]-=t.DV,e[a+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(a,t[a],e,2*a,0,1)),e.s=0,e.clamp()},a.prototype.divRemTo=function(e,t,i){var o=e.abs();if(!(o.t<=0)){var n=this.abs();if(n.t<o.t)return null!=t&&t.fromInt(0),void(null!=i&&this.copyTo(i));null==i&&(i=r());var s=r(),c=this.s,u=e.s,p=this.DB-m(o[o.t-1]);p>0?(o.lShiftTo(p,s),n.lShiftTo(p,i)):(o.copyTo(s),n.copyTo(i));var l=s.t,h=s[l-1];if(0!=h){var d=h*(1<<this.F1)+(l>1?s[l-2]>>this.F2:0),f=this.FV/d,g=(1<<this.F1)/d,v=1<<this.F2,y=i.t,b=y-l,k=null==t?r():t;for(s.dlShiftTo(b,k),i.compareTo(k)>=0&&(i[i.t++]=1,i.subTo(k,i)),a.ONE.dlShiftTo(l,k),k.subTo(s,s);s.t<l;)s[s.t++]=0;for(;--b>=0;){var x=i[--y]==h?this.DM:Math.floor(i[y]*f+(i[y-1]+v)*g);if((i[y]+=s.am(0,x,i,b,0,l))<x)for(s.dlShiftTo(b,k),i.subTo(k,i);i[y]<--x;)i.subTo(k,i)}null!=t&&(i.drShiftTo(l,t),c!=u&&a.ZERO.subTo(t,t)),i.t=l,i.clamp(),p>0&&i.rShiftTo(p,i),c<0&&a.ZERO.subTo(i,i)}}},a.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},a.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},a.prototype.exp=function(e,t){if(e>4294967295||e<1)return a.ONE;var i=r(),o=r(),n=t.convert(this),s=m(e)-1;for(n.copyTo(i);--s>=0;)if(t.sqrTo(i,o),(e&1<<s)>0)t.mulTo(o,n,i);else{var c=i;i=o,o=c}return t.revert(i)},a.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var a,r=(1<<t)-1,i=!1,o="",n=this.t,s=this.DB-n*this.DB%t;if(n-- >0)for(s<this.DB&&(a=this[n]>>s)>0&&(i=!0,o=u(a));n>=0;)s<t?(a=(this[n]&(1<<s)-1)<<t-s,a|=this[--n]>>(s+=this.DB-t)):(a=this[n]>>(s-=t)&r,s<=0&&(s+=this.DB,--n)),a>0&&(i=!0),i&&(o+=u(a));return i?o:"0"},a.prototype.negate=function(){var e=r();return a.ZERO.subTo(this,e),e},a.prototype.abs=function(){return this.s<0?this.negate():this},a.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var a=this.t;if(0!=(t=a-e.t))return this.s<0?-t:t;for(;--a>=0;)if(0!=(t=this[a]-e[a]))return t;return 0},a.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+m(this[this.t-1]^this.s&this.DM)},a.prototype.mod=function(e){var t=r();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(a.ZERO)>0&&e.subTo(t,t),t},a.prototype.modPowInt=function(e,t){var a;return a=e<256||t.isEven()?new h(t):new d(t),this.exp(e,a)},a.ZERO=l(0),a.ONE=l(1),x.prototype.convert=w,x.prototype.revert=w,x.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a)},x.prototype.sqrTo=function(e,t){e.squareTo(t)},j.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=r();return e.copyTo(t),this.reduce(t),t},j.prototype.revert=function(e){return e},j.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},j.prototype.mulTo=function(e,t,a){e.multiplyTo(t,a),this.reduce(a)},j.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var _,S,E,F=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],P=(1<<26)/F[F.length-1];function z(){var e;e=(new Date).getTime(),S[E++]^=255&e,S[E++]^=e>>8&255,S[E++]^=e>>16&255,S[E++]^=e>>24&255,E>=D&&(E-=D)}if(a.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},a.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),a=Math.pow(e,t),i=l(a),o=r(),n=r(),s="";for(this.divRemTo(i,o,n);o.signum()>0;)s=(a+n.intValue()).toString(e).substr(1)+s,o.divRemTo(i,o,n);return n.intValue().toString(e)+s},a.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),i=Math.pow(t,r),o=!1,n=0,s=0,c=0;c<e.length;++c){var u=p(e,c);u<0?"-"==e.charAt(c)&&0==this.signum()&&(o=!0):(s=t*s+u,++n>=r&&(this.dMultiply(i),this.dAddOffset(s,0),n=0,s=0))}n>0&&(this.dMultiply(Math.pow(t,n)),this.dAddOffset(s,0)),o&&a.ZERO.subTo(this,this)},a.prototype.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(a.ONE.shiftLeft(e-1),g,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(a.ONE.shiftLeft(e-1),this);else{var i=new Array,o=7&e;i.length=1+(e>>3),t.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}},a.prototype.bitwiseTo=function(e,t,a){var r,i,o=Math.min(e.t,this.t);for(r=0;r<o;++r)a[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)a[r]=t(this[r],i);a.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)a[r]=t(i,e[r]);a.t=e.t}a.s=t(this.s,e.s),a.clamp()},a.prototype.changeBit=function(e,t){var r=a.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},a.prototype.addTo=function(e,t){for(var a=0,r=0,i=Math.min(e.t,this.t);a<i;)r+=this[a]+e[a],t[a++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;a<this.t;)r+=this[a],t[a++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;a<e.t;)r+=e[a],t[a++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[a++]=r:r<-1&&(t[a++]=this.DV+r),t.t=a,t.clamp()},a.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},a.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},a.prototype.multiplyLowerTo=function(e,t,a){var r,i=Math.min(this.t+e.t,t);for(a.s=0,a.t=i;i>0;)a[--i]=0;for(r=a.t-this.t;i<r;++i)a[i+this.t]=this.am(0,e[i],a,i,0,this.t);for(r=Math.min(e.t,t);i<r;++i)this.am(0,e[i],a,i,0,t-i);a.clamp()},a.prototype.multiplyUpperTo=function(e,t,a){--t;var r=a.t=this.t+e.t-t;for(a.s=0;--r>=0;)a[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)a[this.t+r-t]=this.am(t-r,e[r],a,0,0,this.t+r-t);a.clamp(),a.drShiftTo(1,a)},a.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,a=this.s<0?e-1:0;if(this.t>0)if(0==t)a=this[0]%e;else for(var r=this.t-1;r>=0;--r)a=(t*a+this[r])%e;return a},a.prototype.millerRabin=function(e){var t=this.subtract(a.ONE),i=t.getLowestSetBit();if(i<=0)return!1;var o=t.shiftRight(i);(e=e+1>>1)>F.length&&(e=F.length);for(var n=r(),s=0;s<e;++s){n.fromInt(F[Math.floor(Math.random()*F.length)]);var c=n.modPow(o,this);if(0!=c.compareTo(a.ONE)&&0!=c.compareTo(t)){for(var u=1;u++<i&&0!=c.compareTo(t);)if(0==(c=c.modPowInt(2,this)).compareTo(a.ONE))return!1;if(0!=c.compareTo(t))return!1}}return!0},a.prototype.clone=function(){var e=r();return this.copyTo(e),e},a.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},a.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},a.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},a.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},a.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var a,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(a=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=a|this.s<<this.DB-r);e>=0;)r<8?(a=(this[e]&(1<<r)-1)<<8-r,a|=this[--e]>>(r+=this.DB-8)):(a=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&a)&&(a|=-256),0==i&&(128&this.s)!=(128&a)&&++i,(i>0||a!=this.s)&&(t[i++]=a);return t},a.prototype.equals=function(e){return 0==this.compareTo(e)},a.prototype.min=function(e){return this.compareTo(e)<0?this:e},a.prototype.max=function(e){return this.compareTo(e)>0?this:e},a.prototype.and=function(e){var t=r();return this.bitwiseTo(e,f,t),t},a.prototype.or=function(e){var t=r();return this.bitwiseTo(e,g,t),t},a.prototype.xor=function(e){var t=r();return this.bitwiseTo(e,v,t),t},a.prototype.andNot=function(e){var t=r();return this.bitwiseTo(e,y,t),t},a.prototype.not=function(){for(var e=r(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},a.prototype.shiftLeft=function(e){var t=r();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},a.prototype.shiftRight=function(e){var t=r();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},a.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+b(this[e]);return this.s<0?this.t*this.DB:-1},a.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,a=0;a<this.t;++a)e+=k(this[a]^t);return e},a.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},a.prototype.setBit=function(e){return this.changeBit(e,g)},a.prototype.clearBit=function(e){return this.changeBit(e,y)},a.prototype.flipBit=function(e){return this.changeBit(e,v)},a.prototype.add=function(e){var t=r();return this.addTo(e,t),t},a.prototype.subtract=function(e){var t=r();return this.subTo(e,t),t},a.prototype.multiply=function(e){var t=r();return this.multiplyTo(e,t),t},a.prototype.divide=function(e){var t=r();return this.divRemTo(e,t,null),t},a.prototype.remainder=function(e){var t=r();return this.divRemTo(e,null,t),t},a.prototype.divideAndRemainder=function(e){var t=r(),a=r();return this.divRemTo(e,t,a),new Array(t,a)},a.prototype.modPow=function(e,t){var a,i,o=e.bitLength(),n=l(1);if(o<=0)return n;a=o<18?1:o<48?3:o<144?4:o<768?5:6,i=o<8?new h(t):t.isEven()?new j(t):new d(t);var s=new Array,c=3,u=a-1,p=(1<<a)-1;if(s[1]=i.convert(this),a>1){var f=r();for(i.sqrTo(s[1],f);c<=p;)s[c]=r(),i.mulTo(f,s[c-2],s[c]),c+=2}var g,v,y=e.t-1,b=!0,k=r();for(o=m(e[y])-1;y>=0;){for(o>=u?g=e[y]>>o-u&p:(g=(e[y]&(1<<o+1)-1)<<u-o,y>0&&(g|=e[y-1]>>this.DB+o-u)),c=a;0==(1&g);)g>>=1,--c;if((o-=c)<0&&(o+=this.DB,--y),b)s[g].copyTo(n),b=!1;else{for(;c>1;)i.sqrTo(n,k),i.sqrTo(k,n),c-=2;c>0?i.sqrTo(n,k):(v=n,n=k,k=v),i.mulTo(k,s[g],n)}for(;y>=0&&0==(e[y]&1<<o);)i.sqrTo(n,k),v=n,n=k,k=v,--o<0&&(o=this.DB-1,--y)}return i.revert(n)},a.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return a.ZERO;for(var r=e.clone(),i=this.clone(),o=l(1),n=l(0),s=l(0),c=l(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(o.isEven()&&n.isEven()||(o.addTo(this,o),n.subTo(e,n)),o.rShiftTo(1,o)):n.isEven()||n.subTo(e,n),n.rShiftTo(1,n);for(;i.isEven();)i.rShiftTo(1,i),t?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(e,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(e,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),t&&o.subTo(s,o),n.subTo(c,n)):(i.subTo(r,i),t&&s.subTo(o,s),c.subTo(n,c))}return 0!=i.compareTo(a.ONE)?a.ZERO:c.compareTo(e)>=0?c.subtract(e):c.signum()<0?(c.addTo(e,c),c.signum()<0?c.add(e):c):c},a.prototype.pow=function(e){return this.exp(e,new x)},a.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),a=e.s<0?e.negate():e.clone();if(t.compareTo(a)<0){var r=t;t=a,a=r}var i=t.getLowestSetBit(),o=a.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),a.rShiftTo(o,a));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=a.getLowestSetBit())>0&&a.rShiftTo(i,a),t.compareTo(a)>=0?(t.subTo(a,t),t.rShiftTo(1,t)):(a.subTo(t,a),a.rShiftTo(1,a));return o>0&&a.lShiftTo(o,a),a},a.prototype.isProbablePrime=function(e){var t,a=this.abs();if(1==a.t&&a[0]<=F[F.length-1]){for(t=0;t<F.length;++t)if(a[0]==F[t])return!0;return!1}if(a.isEven())return!1;for(t=1;t<F.length;){for(var r=F[t],i=t+1;i<F.length&&r<P;)r*=F[i++];for(r=a.modInt(r);t<i;)if(r%F[t++]==0)return!1}return a.millerRabin(e)},a.prototype.square=function(){var e=r();return this.squareTo(e),e},a.prototype.Barrett=j,null==S){var C;if(S=new Array,E=0,"undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var A=new Uint8Array(32);for(window.crypto.getRandomValues(A),C=0;C<32;++C)S[E++]=A[C]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var O=window.crypto.random(32);for(C=0;C<O.length;++C)S[E++]=255&O.charCodeAt(C)}for(;E<D;)C=Math.floor(65536*Math.random()),S[E++]=C>>>8,S[E++]=255&C;E=0,z()}function q(){if(null==_){for(z(),(_=new B).init(S),E=0;E<S.length;++E)S[E]=0;E=0}return _.next()}function T(){}function B(){this.i=0,this.j=0,this.S=new Array}T.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=q()},B.prototype.init=function(e){var t,a,r;for(t=0;t<256;++t)this.S[t]=t;for(a=0,t=0;t<256;++t)a=a+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[a],this.S[a]=r;this.i=0,this.j=0},B.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var D=256;a.SecureRandom=T,a.BigInteger=a,e.exports=a}).call(this)},function(e,t,a){!function(e){"use strict";var t=function(e){var t,a=new Float64Array(16);if(e)for(t=0;t<e.length;t++)a[t]=e[t];return a},r=function(){throw new Error("no PRNG")},i=new Uint8Array(16),o=new Uint8Array(32);o[0]=9;var n=t(),s=t([1]),c=t([56129,1]),u=t([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),p=t([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),l=t([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),m=t([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),h=t([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function d(e,t,a,r){e[t]=a>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+3]=255&a,e[t+4]=r>>24&255,e[t+5]=r>>16&255,e[t+6]=r>>8&255,e[t+7]=255&r}function f(e,t,a,r,i){var o,n=0;for(o=0;o<i;o++)n|=e[t+o]^a[r+o];return(1&n-1>>>8)-1}function g(e,t,a,r){return f(e,t,a,r,16)}function v(e,t,a,r){return f(e,t,a,r,32)}function y(e,t,a,r){!function(e,t,a,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,n=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,s=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,c=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,u=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,m=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,f=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,g=255&a[16]|(255&a[17])<<8|(255&a[18])<<16|(255&a[19])<<24,v=255&a[20]|(255&a[21])<<8|(255&a[22])<<16|(255&a[23])<<24,y=255&a[24]|(255&a[25])<<8|(255&a[26])<<16|(255&a[27])<<24,b=255&a[28]|(255&a[29])<<8|(255&a[30])<<16|(255&a[31])<<24,k=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=o,w=n,j=s,_=c,S=u,E=p,F=l,P=m,z=h,C=d,A=f,O=g,q=v,T=y,B=b,D=k,I=0;I<20;I+=2)x^=(i=(q^=(i=(z^=(i=(S^=(i=x+q|0)<<7|i>>>25)+x|0)<<9|i>>>23)+S|0)<<13|i>>>19)+z|0)<<18|i>>>14,E^=(i=(w^=(i=(T^=(i=(C^=(i=E+w|0)<<7|i>>>25)+E|0)<<9|i>>>23)+C|0)<<13|i>>>19)+T|0)<<18|i>>>14,A^=(i=(F^=(i=(j^=(i=(B^=(i=A+F|0)<<7|i>>>25)+A|0)<<9|i>>>23)+B|0)<<13|i>>>19)+j|0)<<18|i>>>14,D^=(i=(O^=(i=(P^=(i=(_^=(i=D+O|0)<<7|i>>>25)+D|0)<<9|i>>>23)+_|0)<<13|i>>>19)+P|0)<<18|i>>>14,x^=(i=(_^=(i=(j^=(i=(w^=(i=x+_|0)<<7|i>>>25)+x|0)<<9|i>>>23)+w|0)<<13|i>>>19)+j|0)<<18|i>>>14,E^=(i=(S^=(i=(P^=(i=(F^=(i=E+S|0)<<7|i>>>25)+E|0)<<9|i>>>23)+F|0)<<13|i>>>19)+P|0)<<18|i>>>14,A^=(i=(C^=(i=(z^=(i=(O^=(i=A+C|0)<<7|i>>>25)+A|0)<<9|i>>>23)+O|0)<<13|i>>>19)+z|0)<<18|i>>>14,D^=(i=(B^=(i=(T^=(i=(q^=(i=D+B|0)<<7|i>>>25)+D|0)<<9|i>>>23)+q|0)<<13|i>>>19)+T|0)<<18|i>>>14;x=x+o|0,w=w+n|0,j=j+s|0,_=_+c|0,S=S+u|0,E=E+p|0,F=F+l|0,P=P+m|0,z=z+h|0,C=C+d|0,A=A+f|0,O=O+g|0,q=q+v|0,T=T+y|0,B=B+b|0,D=D+k|0,e[0]=x>>>0&255,e[1]=x>>>8&255,e[2]=x>>>16&255,e[3]=x>>>24&255,e[4]=w>>>0&255,e[5]=w>>>8&255,e[6]=w>>>16&255,e[7]=w>>>24&255,e[8]=j>>>0&255,e[9]=j>>>8&255,e[10]=j>>>16&255,e[11]=j>>>24&255,e[12]=_>>>0&255,e[13]=_>>>8&255,e[14]=_>>>16&255,e[15]=_>>>24&255,e[16]=S>>>0&255,e[17]=S>>>8&255,e[18]=S>>>16&255,e[19]=S>>>24&255,e[20]=E>>>0&255,e[21]=E>>>8&255,e[22]=E>>>16&255,e[23]=E>>>24&255,e[24]=F>>>0&255,e[25]=F>>>8&255,e[26]=F>>>16&255,e[27]=F>>>24&255,e[28]=P>>>0&255,e[29]=P>>>8&255,e[30]=P>>>16&255,e[31]=P>>>24&255,e[32]=z>>>0&255,e[33]=z>>>8&255,e[34]=z>>>16&255,e[35]=z>>>24&255,e[36]=C>>>0&255,e[37]=C>>>8&255,e[38]=C>>>16&255,e[39]=C>>>24&255,e[40]=A>>>0&255,e[41]=A>>>8&255,e[42]=A>>>16&255,e[43]=A>>>24&255,e[44]=O>>>0&255,e[45]=O>>>8&255,e[46]=O>>>16&255,e[47]=O>>>24&255,e[48]=q>>>0&255,e[49]=q>>>8&255,e[50]=q>>>16&255,e[51]=q>>>24&255,e[52]=T>>>0&255,e[53]=T>>>8&255,e[54]=T>>>16&255,e[55]=T>>>24&255,e[56]=B>>>0&255,e[57]=B>>>8&255,e[58]=B>>>16&255,e[59]=B>>>24&255,e[60]=D>>>0&255,e[61]=D>>>8&255,e[62]=D>>>16&255,e[63]=D>>>24&255}(e,t,a,r)}function b(e,t,a,r){!function(e,t,a,r){for(var i,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,n=255&a[0]|(255&a[1])<<8|(255&a[2])<<16|(255&a[3])<<24,s=255&a[4]|(255&a[5])<<8|(255&a[6])<<16|(255&a[7])<<24,c=255&a[8]|(255&a[9])<<8|(255&a[10])<<16|(255&a[11])<<24,u=255&a[12]|(255&a[13])<<8|(255&a[14])<<16|(255&a[15])<<24,p=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,m=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,d=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,f=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,g=255&a[16]|(255&a[17])<<8|(255&a[18])<<16|(255&a[19])<<24,v=255&a[20]|(255&a[21])<<8|(255&a[22])<<16|(255&a[23])<<24,y=255&a[24]|(255&a[25])<<8|(255&a[26])<<16|(255&a[27])<<24,b=255&a[28]|(255&a[29])<<8|(255&a[30])<<16|(255&a[31])<<24,k=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,x=0;x<20;x+=2)o^=(i=(v^=(i=(h^=(i=(u^=(i=o+v|0)<<7|i>>>25)+o|0)<<9|i>>>23)+u|0)<<13|i>>>19)+h|0)<<18|i>>>14,p^=(i=(n^=(i=(y^=(i=(d^=(i=p+n|0)<<7|i>>>25)+p|0)<<9|i>>>23)+d|0)<<13|i>>>19)+y|0)<<18|i>>>14,f^=(i=(l^=(i=(s^=(i=(b^=(i=f+l|0)<<7|i>>>25)+f|0)<<9|i>>>23)+b|0)<<13|i>>>19)+s|0)<<18|i>>>14,k^=(i=(g^=(i=(m^=(i=(c^=(i=k+g|0)<<7|i>>>25)+k|0)<<9|i>>>23)+c|0)<<13|i>>>19)+m|0)<<18|i>>>14,o^=(i=(c^=(i=(s^=(i=(n^=(i=o+c|0)<<7|i>>>25)+o|0)<<9|i>>>23)+n|0)<<13|i>>>19)+s|0)<<18|i>>>14,p^=(i=(u^=(i=(m^=(i=(l^=(i=p+u|0)<<7|i>>>25)+p|0)<<9|i>>>23)+l|0)<<13|i>>>19)+m|0)<<18|i>>>14,f^=(i=(d^=(i=(h^=(i=(g^=(i=f+d|0)<<7|i>>>25)+f|0)<<9|i>>>23)+g|0)<<13|i>>>19)+h|0)<<18|i>>>14,k^=(i=(b^=(i=(y^=(i=(v^=(i=k+b|0)<<7|i>>>25)+k|0)<<9|i>>>23)+v|0)<<13|i>>>19)+y|0)<<18|i>>>14;e[0]=o>>>0&255,e[1]=o>>>8&255,e[2]=o>>>16&255,e[3]=o>>>24&255,e[4]=p>>>0&255,e[5]=p>>>8&255,e[6]=p>>>16&255,e[7]=p>>>24&255,e[8]=f>>>0&255,e[9]=f>>>8&255,e[10]=f>>>16&255,e[11]=f>>>24&255,e[12]=k>>>0&255,e[13]=k>>>8&255,e[14]=k>>>16&255,e[15]=k>>>24&255,e[16]=l>>>0&255,e[17]=l>>>8&255,e[18]=l>>>16&255,e[19]=l>>>24&255,e[20]=m>>>0&255,e[21]=m>>>8&255,e[22]=m>>>16&255,e[23]=m>>>24&255,e[24]=h>>>0&255,e[25]=h>>>8&255,e[26]=h>>>16&255,e[27]=h>>>24&255,e[28]=d>>>0&255,e[29]=d>>>8&255,e[30]=d>>>16&255,e[31]=d>>>24&255}(e,t,a,r)}var k=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function x(e,t,a,r,i,o,n){var s,c,u=new Uint8Array(16),p=new Uint8Array(64);for(c=0;c<16;c++)u[c]=0;for(c=0;c<8;c++)u[c]=o[c];for(;i>=64;){for(y(p,u,n,k),c=0;c<64;c++)e[t+c]=a[r+c]^p[c];for(s=1,c=8;c<16;c++)s=s+(255&u[c])|0,u[c]=255&s,s>>>=8;i-=64,t+=64,r+=64}if(i>0)for(y(p,u,n,k),c=0;c<i;c++)e[t+c]=a[r+c]^p[c];return 0}function w(e,t,a,r,i){var o,n,s=new Uint8Array(16),c=new Uint8Array(64);for(n=0;n<16;n++)s[n]=0;for(n=0;n<8;n++)s[n]=r[n];for(;a>=64;){for(y(c,s,i,k),n=0;n<64;n++)e[t+n]=c[n];for(o=1,n=8;n<16;n++)o=o+(255&s[n])|0,s[n]=255&o,o>>>=8;a-=64,t+=64}if(a>0)for(y(c,s,i,k),n=0;n<a;n++)e[t+n]=c[n];return 0}function j(e,t,a,r,i){var o=new Uint8Array(32);b(o,r,i,k);for(var n=new Uint8Array(8),s=0;s<8;s++)n[s]=r[s+16];return w(e,t,a,n,o)}function _(e,t,a,r,i,o,n){var s=new Uint8Array(32);b(s,o,n,k);for(var c=new Uint8Array(8),u=0;u<8;u++)c[u]=o[u+16];return x(e,t,a,r,i,c,s)}var S=function(e){var t,a,r,i,o,n,s,c;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,a=255&e[2]|(255&e[3])<<8,this.r[1]=8191&(t>>>13|a<<3),r=255&e[4]|(255&e[5])<<8,this.r[2]=7939&(a>>>10|r<<6),i=255&e[6]|(255&e[7])<<8,this.r[3]=8191&(r>>>7|i<<9),o=255&e[8]|(255&e[9])<<8,this.r[4]=255&(i>>>4|o<<12),this.r[5]=o>>>1&8190,n=255&e[10]|(255&e[11])<<8,this.r[6]=8191&(o>>>14|n<<2),s=255&e[12]|(255&e[13])<<8,this.r[7]=8065&(n>>>11|s<<5),c=255&e[14]|(255&e[15])<<8,this.r[8]=8191&(s>>>8|c<<8),this.r[9]=c>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function E(e,t,a,r,i,o){var n=new S(o);return n.update(a,r,i),n.finish(e,t),0}function F(e,t,a,r,i,o){var n=new Uint8Array(16);return E(n,0,a,r,i,o),g(e,t,n,0)}function P(e,t,a,r,i){var o;if(a<32)return-1;for(_(e,0,t,0,a,r,i),E(e,16,e,32,a-32,e),o=0;o<16;o++)e[o]=0;return 0}function z(e,t,a,r,i){var o,n=new Uint8Array(32);if(a<32)return-1;if(j(n,0,32,r,i),0!==F(t,16,t,32,a-32,n))return-1;for(_(e,0,t,0,a,r,i),o=0;o<32;o++)e[o]=0;return 0}function C(e,t){var a;for(a=0;a<16;a++)e[a]=0|t[a]}function A(e){var t,a,r=1;for(t=0;t<16;t++)a=e[t]+r+65535,r=Math.floor(a/65536),e[t]=a-65536*r;e[0]+=r-1+37*(r-1)}function O(e,t,a){for(var r,i=~(a-1),o=0;o<16;o++)r=i&(e[o]^t[o]),e[o]^=r,t[o]^=r}function q(e,a){var r,i,o,n=t(),s=t();for(r=0;r<16;r++)s[r]=a[r];for(A(s),A(s),A(s),i=0;i<2;i++){for(n[0]=s[0]-65517,r=1;r<15;r++)n[r]=s[r]-65535-(n[r-1]>>16&1),n[r-1]&=65535;n[15]=s[15]-32767-(n[14]>>16&1),o=n[15]>>16&1,n[14]&=65535,O(s,n,1-o)}for(r=0;r<16;r++)e[2*r]=255&s[r],e[2*r+1]=s[r]>>8}function T(e,t){var a=new Uint8Array(32),r=new Uint8Array(32);return q(a,e),q(r,t),v(a,0,r,0)}function B(e){var t=new Uint8Array(32);return q(t,e),1&t[0]}function D(e,t){var a;for(a=0;a<16;a++)e[a]=t[2*a]+(t[2*a+1]<<8);e[15]&=32767}function I(e,t,a){for(var r=0;r<16;r++)e[r]=t[r]+a[r]}function R(e,t,a){for(var r=0;r<16;r++)e[r]=t[r]-a[r]}function N(e,t,a){var r,i,o=0,n=0,s=0,c=0,u=0,p=0,l=0,m=0,h=0,d=0,f=0,g=0,v=0,y=0,b=0,k=0,x=0,w=0,j=0,_=0,S=0,E=0,F=0,P=0,z=0,C=0,A=0,O=0,q=0,T=0,B=0,D=a[0],I=a[1],R=a[2],N=a[3],L=a[4],U=a[5],H=a[6],$=a[7],M=a[8],K=a[9],V=a[10],Q=a[11],G=a[12],W=a[13],Z=a[14],Y=a[15];o+=(r=t[0])*D,n+=r*I,s+=r*R,c+=r*N,u+=r*L,p+=r*U,l+=r*H,m+=r*$,h+=r*M,d+=r*K,f+=r*V,g+=r*Q,v+=r*G,y+=r*W,b+=r*Z,k+=r*Y,n+=(r=t[1])*D,s+=r*I,c+=r*R,u+=r*N,p+=r*L,l+=r*U,m+=r*H,h+=r*$,d+=r*M,f+=r*K,g+=r*V,v+=r*Q,y+=r*G,b+=r*W,k+=r*Z,x+=r*Y,s+=(r=t[2])*D,c+=r*I,u+=r*R,p+=r*N,l+=r*L,m+=r*U,h+=r*H,d+=r*$,f+=r*M,g+=r*K,v+=r*V,y+=r*Q,b+=r*G,k+=r*W,x+=r*Z,w+=r*Y,c+=(r=t[3])*D,u+=r*I,p+=r*R,l+=r*N,m+=r*L,h+=r*U,d+=r*H,f+=r*$,g+=r*M,v+=r*K,y+=r*V,b+=r*Q,k+=r*G,x+=r*W,w+=r*Z,j+=r*Y,u+=(r=t[4])*D,p+=r*I,l+=r*R,m+=r*N,h+=r*L,d+=r*U,f+=r*H,g+=r*$,v+=r*M,y+=r*K,b+=r*V,k+=r*Q,x+=r*G,w+=r*W,j+=r*Z,_+=r*Y,p+=(r=t[5])*D,l+=r*I,m+=r*R,h+=r*N,d+=r*L,f+=r*U,g+=r*H,v+=r*$,y+=r*M,b+=r*K,k+=r*V,x+=r*Q,w+=r*G,j+=r*W,_+=r*Z,S+=r*Y,l+=(r=t[6])*D,m+=r*I,h+=r*R,d+=r*N,f+=r*L,g+=r*U,v+=r*H,y+=r*$,b+=r*M,k+=r*K,x+=r*V,w+=r*Q,j+=r*G,_+=r*W,S+=r*Z,E+=r*Y,m+=(r=t[7])*D,h+=r*I,d+=r*R,f+=r*N,g+=r*L,v+=r*U,y+=r*H,b+=r*$,k+=r*M,x+=r*K,w+=r*V,j+=r*Q,_+=r*G,S+=r*W,E+=r*Z,F+=r*Y,h+=(r=t[8])*D,d+=r*I,f+=r*R,g+=r*N,v+=r*L,y+=r*U,b+=r*H,k+=r*$,x+=r*M,w+=r*K,j+=r*V,_+=r*Q,S+=r*G,E+=r*W,F+=r*Z,P+=r*Y,d+=(r=t[9])*D,f+=r*I,g+=r*R,v+=r*N,y+=r*L,b+=r*U,k+=r*H,x+=r*$,w+=r*M,j+=r*K,_+=r*V,S+=r*Q,E+=r*G,F+=r*W,P+=r*Z,z+=r*Y,f+=(r=t[10])*D,g+=r*I,v+=r*R,y+=r*N,b+=r*L,k+=r*U,x+=r*H,w+=r*$,j+=r*M,_+=r*K,S+=r*V,E+=r*Q,F+=r*G,P+=r*W,z+=r*Z,C+=r*Y,g+=(r=t[11])*D,v+=r*I,y+=r*R,b+=r*N,k+=r*L,x+=r*U,w+=r*H,j+=r*$,_+=r*M,S+=r*K,E+=r*V,F+=r*Q,P+=r*G,z+=r*W,C+=r*Z,A+=r*Y,v+=(r=t[12])*D,y+=r*I,b+=r*R,k+=r*N,x+=r*L,w+=r*U,j+=r*H,_+=r*$,S+=r*M,E+=r*K,F+=r*V,P+=r*Q,z+=r*G,C+=r*W,A+=r*Z,O+=r*Y,y+=(r=t[13])*D,b+=r*I,k+=r*R,x+=r*N,w+=r*L,j+=r*U,_+=r*H,S+=r*$,E+=r*M,F+=r*K,P+=r*V,z+=r*Q,C+=r*G,A+=r*W,O+=r*Z,q+=r*Y,b+=(r=t[14])*D,k+=r*I,x+=r*R,w+=r*N,j+=r*L,_+=r*U,S+=r*H,E+=r*$,F+=r*M,P+=r*K,z+=r*V,C+=r*Q,A+=r*G,O+=r*W,q+=r*Z,T+=r*Y,k+=(r=t[15])*D,n+=38*(w+=r*R),s+=38*(j+=r*N),c+=38*(_+=r*L),u+=38*(S+=r*U),p+=38*(E+=r*H),l+=38*(F+=r*$),m+=38*(P+=r*M),h+=38*(z+=r*K),d+=38*(C+=r*V),f+=38*(A+=r*Q),g+=38*(O+=r*G),v+=38*(q+=r*W),y+=38*(T+=r*Z),b+=38*(B+=r*Y),o=(r=(o+=38*(x+=r*I))+(i=1)+65535)-65536*(i=Math.floor(r/65536)),n=(r=n+i+65535)-65536*(i=Math.floor(r/65536)),s=(r=s+i+65535)-65536*(i=Math.floor(r/65536)),c=(r=c+i+65535)-65536*(i=Math.floor(r/65536)),u=(r=u+i+65535)-65536*(i=Math.floor(r/65536)),p=(r=p+i+65535)-65536*(i=Math.floor(r/65536)),l=(r=l+i+65535)-65536*(i=Math.floor(r/65536)),m=(r=m+i+65535)-65536*(i=Math.floor(r/65536)),h=(r=h+i+65535)-65536*(i=Math.floor(r/65536)),d=(r=d+i+65535)-65536*(i=Math.floor(r/65536)),f=(r=f+i+65535)-65536*(i=Math.floor(r/65536)),g=(r=g+i+65535)-65536*(i=Math.floor(r/65536)),v=(r=v+i+65535)-65536*(i=Math.floor(r/65536)),y=(r=y+i+65535)-65536*(i=Math.floor(r/65536)),b=(r=b+i+65535)-65536*(i=Math.floor(r/65536)),k=(r=k+i+65535)-65536*(i=Math.floor(r/65536)),o=(r=(o+=i-1+37*(i-1))+(i=1)+65535)-65536*(i=Math.floor(r/65536)),n=(r=n+i+65535)-65536*(i=Math.floor(r/65536)),s=(r=s+i+65535)-65536*(i=Math.floor(r/65536)),c=(r=c+i+65535)-65536*(i=Math.floor(r/65536)),u=(r=u+i+65535)-65536*(i=Math.floor(r/65536)),p=(r=p+i+65535)-65536*(i=Math.floor(r/65536)),l=(r=l+i+65535)-65536*(i=Math.floor(r/65536)),m=(r=m+i+65535)-65536*(i=Math.floor(r/65536)),h=(r=h+i+65535)-65536*(i=Math.floor(r/65536)),d=(r=d+i+65535)-65536*(i=Math.floor(r/65536)),f=(r=f+i+65535)-65536*(i=Math.floor(r/65536)),g=(r=g+i+65535)-65536*(i=Math.floor(r/65536)),v=(r=v+i+65535)-65536*(i=Math.floor(r/65536)),y=(r=y+i+65535)-65536*(i=Math.floor(r/65536)),b=(r=b+i+65535)-65536*(i=Math.floor(r/65536)),k=(r=k+i+65535)-65536*(i=Math.floor(r/65536)),o+=i-1+37*(i-1),e[0]=o,e[1]=n,e[2]=s,e[3]=c,e[4]=u,e[5]=p,e[6]=l,e[7]=m,e[8]=h,e[9]=d,e[10]=f,e[11]=g,e[12]=v,e[13]=y,e[14]=b,e[15]=k}function L(e,t){N(e,t,t)}function U(e,a){var r,i=t();for(r=0;r<16;r++)i[r]=a[r];for(r=253;r>=0;r--)L(i,i),2!==r&&4!==r&&N(i,i,a);for(r=0;r<16;r++)e[r]=i[r]}function H(e,a,r){var i,o,n=new Uint8Array(32),s=new Float64Array(80),u=t(),p=t(),l=t(),m=t(),h=t(),d=t();for(o=0;o<31;o++)n[o]=a[o];for(n[31]=127&a[31]|64,n[0]&=248,D(s,r),o=0;o<16;o++)p[o]=s[o],m[o]=u[o]=l[o]=0;for(u[0]=m[0]=1,o=254;o>=0;--o)O(u,p,i=n[o>>>3]>>>(7&o)&1),O(l,m,i),I(h,u,l),R(u,u,l),I(l,p,m),R(p,p,m),L(m,h),L(d,u),N(u,l,u),N(l,p,h),I(h,u,l),R(u,u,l),L(p,u),R(l,m,d),N(u,l,c),I(u,u,m),N(l,l,u),N(u,m,d),N(m,p,s),L(p,h),O(u,p,i),O(l,m,i);for(o=0;o<16;o++)s[o+16]=u[o],s[o+32]=l[o],s[o+48]=p[o],s[o+64]=m[o];var f=s.subarray(32),g=s.subarray(16);return U(f,f),N(g,g,f),q(e,g),0}function $(e,t){return H(e,t,o)}function M(e,t){return r(t,32),$(e,t)}function K(e,t,a){var r=new Uint8Array(32);return H(r,a,t),b(e,i,r,k)}S.prototype.blocks=function(e,t,a){for(var r,i,o,n,s,c,u,p,l,m,h,d,f,g,v,y,b,k,x,w=this.fin?0:2048,j=this.h[0],_=this.h[1],S=this.h[2],E=this.h[3],F=this.h[4],P=this.h[5],z=this.h[6],C=this.h[7],A=this.h[8],O=this.h[9],q=this.r[0],T=this.r[1],B=this.r[2],D=this.r[3],I=this.r[4],R=this.r[5],N=this.r[6],L=this.r[7],U=this.r[8],H=this.r[9];a>=16;)m=l=0,m+=(j+=8191&(r=255&e[t+0]|(255&e[t+1])<<8))*q,m+=(_+=8191&(r>>>13|(i=255&e[t+2]|(255&e[t+3])<<8)<<3))*(5*H),m+=(S+=8191&(i>>>10|(o=255&e[t+4]|(255&e[t+5])<<8)<<6))*(5*U),m+=(E+=8191&(o>>>7|(n=255&e[t+6]|(255&e[t+7])<<8)<<9))*(5*L),l=(m+=(F+=8191&(n>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12))*(5*N))>>>13,m&=8191,m+=(P+=s>>>1&8191)*(5*R),m+=(z+=8191&(s>>>14|(c=255&e[t+10]|(255&e[t+11])<<8)<<2))*(5*I),m+=(C+=8191&(c>>>11|(u=255&e[t+12]|(255&e[t+13])<<8)<<5))*(5*D),m+=(A+=8191&(u>>>8|(p=255&e[t+14]|(255&e[t+15])<<8)<<8))*(5*B),h=l+=(m+=(O+=p>>>5|w)*(5*T))>>>13,h+=j*T,h+=_*q,h+=S*(5*H),h+=E*(5*U),l=(h+=F*(5*L))>>>13,h&=8191,h+=P*(5*N),h+=z*(5*R),h+=C*(5*I),h+=A*(5*D),l+=(h+=O*(5*B))>>>13,h&=8191,d=l,d+=j*B,d+=_*T,d+=S*q,d+=E*(5*H),l=(d+=F*(5*U))>>>13,d&=8191,d+=P*(5*L),d+=z*(5*N),d+=C*(5*R),d+=A*(5*I),f=l+=(d+=O*(5*D))>>>13,f+=j*D,f+=_*B,f+=S*T,f+=E*q,l=(f+=F*(5*H))>>>13,f&=8191,f+=P*(5*U),f+=z*(5*L),f+=C*(5*N),f+=A*(5*R),g=l+=(f+=O*(5*I))>>>13,g+=j*I,g+=_*D,g+=S*B,g+=E*T,l=(g+=F*q)>>>13,g&=8191,g+=P*(5*H),g+=z*(5*U),g+=C*(5*L),g+=A*(5*N),v=l+=(g+=O*(5*R))>>>13,v+=j*R,v+=_*I,v+=S*D,v+=E*B,l=(v+=F*T)>>>13,v&=8191,v+=P*q,v+=z*(5*H),v+=C*(5*U),v+=A*(5*L),y=l+=(v+=O*(5*N))>>>13,y+=j*N,y+=_*R,y+=S*I,y+=E*D,l=(y+=F*B)>>>13,y&=8191,y+=P*T,y+=z*q,y+=C*(5*H),y+=A*(5*U),b=l+=(y+=O*(5*L))>>>13,b+=j*L,b+=_*N,b+=S*R,b+=E*I,l=(b+=F*D)>>>13,b&=8191,b+=P*B,b+=z*T,b+=C*q,b+=A*(5*H),k=l+=(b+=O*(5*U))>>>13,k+=j*U,k+=_*L,k+=S*N,k+=E*R,l=(k+=F*I)>>>13,k&=8191,k+=P*D,k+=z*B,k+=C*T,k+=A*q,x=l+=(k+=O*(5*H))>>>13,x+=j*H,x+=_*U,x+=S*L,x+=E*N,l=(x+=F*R)>>>13,x&=8191,x+=P*I,x+=z*D,x+=C*B,x+=A*T,j=m=8191&(l=(l=((l+=(x+=O*q)>>>13)<<2)+l|0)+(m&=8191)|0),_=h+=l>>>=13,S=d&=8191,E=f&=8191,F=g&=8191,P=v&=8191,z=y&=8191,C=b&=8191,A=k&=8191,O=x&=8191,t+=16,a-=16;this.h[0]=j,this.h[1]=_,this.h[2]=S,this.h[3]=E,this.h[4]=F,this.h[5]=P,this.h[6]=z,this.h[7]=C,this.h[8]=A,this.h[9]=O},S.prototype.finish=function(e,t){var a,r,i,o,n=new Uint16Array(10);if(this.leftover){for(o=this.leftover,this.buffer[o++]=1;o<16;o++)this.buffer[o]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(a=this.h[1]>>>13,this.h[1]&=8191,o=2;o<10;o++)this.h[o]+=a,a=this.h[o]>>>13,this.h[o]&=8191;for(this.h[0]+=5*a,a=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=a,a=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=a,n[0]=this.h[0]+5,a=n[0]>>>13,n[0]&=8191,o=1;o<10;o++)n[o]=this.h[o]+a,a=n[o]>>>13,n[o]&=8191;for(n[9]-=8192,r=(1^a)-1,o=0;o<10;o++)n[o]&=r;for(r=~r,o=0;o<10;o++)this.h[o]=this.h[o]&r|n[o];for(this.h[0]=65535&(this.h[0]|this.h[1]<<13),this.h[1]=65535&(this.h[1]>>>3|this.h[2]<<10),this.h[2]=65535&(this.h[2]>>>6|this.h[3]<<7),this.h[3]=65535&(this.h[3]>>>9|this.h[4]<<4),this.h[4]=65535&(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14),this.h[5]=65535&(this.h[6]>>>2|this.h[7]<<11),this.h[6]=65535&(this.h[7]>>>5|this.h[8]<<8),this.h[7]=65535&(this.h[8]>>>8|this.h[9]<<5),i=this.h[0]+this.pad[0],this.h[0]=65535&i,o=1;o<8;o++)i=(this.h[o]+this.pad[o]|0)+(i>>>16)|0,this.h[o]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},S.prototype.update=function(e,t,a){var r,i;if(this.leftover){for((i=16-this.leftover)>a&&(i=a),r=0;r<i;r++)this.buffer[this.leftover+r]=e[t+r];if(a-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(a>=16&&(i=a-a%16,this.blocks(e,t,i),t+=i,a-=i),a){for(r=0;r<a;r++)this.buffer[this.leftover+r]=e[t+r];this.leftover+=a}};var V=P,Q=z;var G=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function W(e,t,a,r){for(var i,o,n,s,c,u,p,l,m,h,d,f,g,v,y,b,k,x,w,j,_,S,E,F,P,z,C=new Int32Array(16),A=new Int32Array(16),O=e[0],q=e[1],T=e[2],B=e[3],D=e[4],I=e[5],R=e[6],N=e[7],L=t[0],U=t[1],H=t[2],$=t[3],M=t[4],K=t[5],V=t[6],Q=t[7],W=0;r>=128;){for(w=0;w<16;w++)j=8*w+W,C[w]=a[j+0]<<24|a[j+1]<<16|a[j+2]<<8|a[j+3],A[w]=a[j+4]<<24|a[j+5]<<16|a[j+6]<<8|a[j+7];for(w=0;w<80;w++)if(i=O,o=q,n=T,s=B,c=D,u=I,p=R,N,m=L,h=U,d=H,f=$,g=M,v=K,y=V,Q,E=65535&(S=Q),F=S>>>16,P=65535&(_=N),z=_>>>16,E+=65535&(S=(M>>>14|D<<18)^(M>>>18|D<<14)^(D>>>9|M<<23)),F+=S>>>16,P+=65535&(_=(D>>>14|M<<18)^(D>>>18|M<<14)^(M>>>9|D<<23)),z+=_>>>16,E+=65535&(S=M&K^~M&V),F+=S>>>16,P+=65535&(_=D&I^~D&R),z+=_>>>16,_=G[2*w],E+=65535&(S=G[2*w+1]),F+=S>>>16,P+=65535&_,z+=_>>>16,_=C[w%16],F+=(S=A[w%16])>>>16,P+=65535&_,z+=_>>>16,P+=(F+=(E+=65535&S)>>>16)>>>16,E=65535&(S=x=65535&E|F<<16),F=S>>>16,P=65535&(_=k=65535&P|(z+=P>>>16)<<16),z=_>>>16,E+=65535&(S=(L>>>28|O<<4)^(O>>>2|L<<30)^(O>>>7|L<<25)),F+=S>>>16,P+=65535&(_=(O>>>28|L<<4)^(L>>>2|O<<30)^(L>>>7|O<<25)),z+=_>>>16,F+=(S=L&U^L&H^U&H)>>>16,P+=65535&(_=O&q^O&T^q&T),z+=_>>>16,l=65535&(P+=(F+=(E+=65535&S)>>>16)>>>16)|(z+=P>>>16)<<16,b=65535&E|F<<16,E=65535&(S=f),F=S>>>16,P=65535&(_=s),z=_>>>16,F+=(S=x)>>>16,P+=65535&(_=k),z+=_>>>16,q=i,T=o,B=n,D=s=65535&(P+=(F+=(E+=65535&S)>>>16)>>>16)|(z+=P>>>16)<<16,I=c,R=u,N=p,O=l,U=m,H=h,$=d,M=f=65535&E|F<<16,K=g,V=v,Q=y,L=b,w%16==15)for(j=0;j<16;j++)_=C[j],E=65535&(S=A[j]),F=S>>>16,P=65535&_,z=_>>>16,_=C[(j+9)%16],E+=65535&(S=A[(j+9)%16]),F+=S>>>16,P+=65535&_,z+=_>>>16,k=C[(j+1)%16],E+=65535&(S=((x=A[(j+1)%16])>>>1|k<<31)^(x>>>8|k<<24)^(x>>>7|k<<25)),F+=S>>>16,P+=65535&(_=(k>>>1|x<<31)^(k>>>8|x<<24)^k>>>7),z+=_>>>16,k=C[(j+14)%16],F+=(S=((x=A[(j+14)%16])>>>19|k<<13)^(k>>>29|x<<3)^(x>>>6|k<<26))>>>16,P+=65535&(_=(k>>>19|x<<13)^(x>>>29|k<<3)^k>>>6),z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,C[j]=65535&P|z<<16,A[j]=65535&E|F<<16;E=65535&(S=L),F=S>>>16,P=65535&(_=O),z=_>>>16,_=e[0],F+=(S=t[0])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[0]=O=65535&P|z<<16,t[0]=L=65535&E|F<<16,E=65535&(S=U),F=S>>>16,P=65535&(_=q),z=_>>>16,_=e[1],F+=(S=t[1])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[1]=q=65535&P|z<<16,t[1]=U=65535&E|F<<16,E=65535&(S=H),F=S>>>16,P=65535&(_=T),z=_>>>16,_=e[2],F+=(S=t[2])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[2]=T=65535&P|z<<16,t[2]=H=65535&E|F<<16,E=65535&(S=$),F=S>>>16,P=65535&(_=B),z=_>>>16,_=e[3],F+=(S=t[3])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[3]=B=65535&P|z<<16,t[3]=$=65535&E|F<<16,E=65535&(S=M),F=S>>>16,P=65535&(_=D),z=_>>>16,_=e[4],F+=(S=t[4])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[4]=D=65535&P|z<<16,t[4]=M=65535&E|F<<16,E=65535&(S=K),F=S>>>16,P=65535&(_=I),z=_>>>16,_=e[5],F+=(S=t[5])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[5]=I=65535&P|z<<16,t[5]=K=65535&E|F<<16,E=65535&(S=V),F=S>>>16,P=65535&(_=R),z=_>>>16,_=e[6],F+=(S=t[6])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[6]=R=65535&P|z<<16,t[6]=V=65535&E|F<<16,E=65535&(S=Q),F=S>>>16,P=65535&(_=N),z=_>>>16,_=e[7],F+=(S=t[7])>>>16,P+=65535&_,z+=_>>>16,z+=(P+=(F+=(E+=65535&S)>>>16)>>>16)>>>16,e[7]=N=65535&P|z<<16,t[7]=Q=65535&E|F<<16,W+=128,r-=128}return r}function Z(e,t,a){var r,i=new Int32Array(8),o=new Int32Array(8),n=new Uint8Array(256),s=a;for(i[0]=1779033703,i[1]=3144134277,i[2]=1013904242,i[3]=2773480762,i[4]=1359893119,i[5]=2600822924,i[6]=528734635,i[7]=1541459225,o[0]=4089235720,o[1]=2227873595,o[2]=4271175723,o[3]=1595750129,o[4]=2917565137,o[5]=725511199,o[6]=4215389547,o[7]=327033209,W(i,o,t,a),a%=128,r=0;r<a;r++)n[r]=t[s-a+r];for(n[a]=128,n[(a=256-128*(a<112?1:0))-9]=0,d(n,a-8,s/536870912|0,s<<3),W(i,o,n,a),r=0;r<8;r++)d(e,8*r,i[r],o[r]);return 0}function Y(e,a){var r=t(),i=t(),o=t(),n=t(),s=t(),c=t(),u=t(),l=t(),m=t();R(r,e[1],e[0]),R(m,a[1],a[0]),N(r,r,m),I(i,e[0],e[1]),I(m,a[0],a[1]),N(i,i,m),N(o,e[3],a[3]),N(o,o,p),N(n,e[2],a[2]),I(n,n,n),R(s,i,r),R(c,n,o),I(u,n,o),I(l,i,r),N(e[0],s,c),N(e[1],l,u),N(e[2],u,c),N(e[3],s,l)}function J(e,t,a){var r;for(r=0;r<4;r++)O(e[r],t[r],a)}function X(e,a){var r=t(),i=t(),o=t();U(o,a[2]),N(r,a[0],o),N(i,a[1],o),q(e,i),e[31]^=B(r)<<7}function ee(e,t,a){var r,i;for(C(e[0],n),C(e[1],s),C(e[2],s),C(e[3],n),i=255;i>=0;--i)J(e,t,r=a[i/8|0]>>(7&i)&1),Y(t,e),Y(e,e),J(e,t,r)}function te(e,a){var r=[t(),t(),t(),t()];C(r[0],l),C(r[1],m),C(r[2],s),N(r[3],l,m),ee(e,r,a)}function ae(e,a,i){var o,n=new Uint8Array(64),s=[t(),t(),t(),t()];for(i||r(a,32),Z(n,a,32),n[0]&=248,n[31]&=127,n[31]|=64,te(s,n),X(e,s),o=0;o<32;o++)a[o+32]=e[o];return 0}var re=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ie(e,t){var a,r,i,o;for(r=63;r>=32;--r){for(a=0,i=r-32,o=r-12;i<o;++i)t[i]+=a-16*t[r]*re[i-(r-32)],a=t[i]+128>>8,t[i]-=256*a;t[i]+=a,t[r]=0}for(a=0,i=0;i<32;i++)t[i]+=a-(t[31]>>4)*re[i],a=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=a*re[i];for(r=0;r<32;r++)t[r+1]+=t[r]>>8,e[r]=255&t[r]}function oe(e){var t,a=new Float64Array(64);for(t=0;t<64;t++)a[t]=e[t];for(t=0;t<64;t++)e[t]=0;ie(e,a)}function ne(e,a,r,i){var o,n,s=new Uint8Array(64),c=new Uint8Array(64),u=new Uint8Array(64),p=new Float64Array(64),l=[t(),t(),t(),t()];Z(s,i,32),s[0]&=248,s[31]&=127,s[31]|=64;var m=r+64;for(o=0;o<r;o++)e[64+o]=a[o];for(o=0;o<32;o++)e[32+o]=s[32+o];for(Z(u,e.subarray(32),r+32),oe(u),te(l,u),X(e,l),o=32;o<64;o++)e[o]=i[o];for(Z(c,e,r+64),oe(c),o=0;o<64;o++)p[o]=0;for(o=0;o<32;o++)p[o]=u[o];for(o=0;o<32;o++)for(n=0;n<32;n++)p[o+n]+=c[o]*s[n];return ie(e.subarray(32),p),m}function se(e,a){var r=t(),i=t(),o=t(),c=t(),p=t(),l=t(),m=t();return C(e[2],s),D(e[1],a),L(o,e[1]),N(c,o,u),R(o,o,e[2]),I(c,e[2],c),L(p,c),L(l,p),N(m,l,p),N(r,m,o),N(r,r,c),function(e,a){var r,i=t();for(r=0;r<16;r++)i[r]=a[r];for(r=250;r>=0;r--)L(i,i),1!==r&&N(i,i,a);for(r=0;r<16;r++)e[r]=i[r]}(r,r),N(r,r,o),N(r,r,c),N(r,r,c),N(e[0],r,c),L(i,e[0]),N(i,i,c),T(i,o)&&N(e[0],e[0],h),L(i,e[0]),N(i,i,c),T(i,o)?-1:(B(e[0])===a[31]>>7&&R(e[0],n,e[0]),N(e[3],e[0],e[1]),0)}function ce(e,a,r,i){var o,n=new Uint8Array(32),s=new Uint8Array(64),c=[t(),t(),t(),t()],u=[t(),t(),t(),t()];if(-1,r<64)return-1;if(se(u,i))return-1;for(o=0;o<r;o++)e[o]=a[o];for(o=0;o<32;o++)e[o+32]=i[o];if(Z(s,e,r),oe(s),ee(c,u,s),te(u,a.subarray(32)),Y(c,u),X(n,c),r-=64,v(a,0,n,0)){for(o=0;o<r;o++)e[o]=0;return-1}for(o=0;o<r;o++)e[o]=a[o+64];return r}var ue=32,pe=24,le=32,me=32,he=pe;function de(e,t){if(e.length!==ue)throw new Error("bad key size");if(t.length!==pe)throw new Error("bad nonce size")}function fe(){var e,t;for(t=0;t<arguments.length;t++)if("[object Uint8Array]"!==(e=Object.prototype.toString.call(arguments[t])))throw new TypeError("unexpected type "+e+", use Uint8Array")}function ge(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:b,crypto_stream_xor:_,crypto_stream:j,crypto_stream_salsa20_xor:x,crypto_stream_salsa20:w,crypto_onetimeauth:E,crypto_onetimeauth_verify:F,crypto_verify_16:g,crypto_verify_32:v,crypto_secretbox:P,crypto_secretbox_open:z,crypto_scalarmult:H,crypto_scalarmult_base:$,crypto_box_beforenm:K,crypto_box_afternm:V,crypto_box:function(e,t,a,r,i,o){var n=new Uint8Array(32);return K(n,i,o),V(e,t,a,r,n)},crypto_box_open:function(e,t,a,r,i,o){var n=new Uint8Array(32);return K(n,i,o),Q(e,t,a,r,n)},crypto_box_keypair:M,crypto_hash:Z,crypto_sign:ne,crypto_sign_keypair:ae,crypto_sign_open:ce,crypto_secretbox_KEYBYTES:ue,crypto_secretbox_NONCEBYTES:pe,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:le,crypto_box_SECRETKEYBYTES:me,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:he,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64},e.util||(e.util={},e.util.decodeUTF8=e.util.encodeUTF8=e.util.encodeBase64=e.util.decodeBase64=function(){throw new Error("nacl.util moved into separate package: https://github.com/dchest/tweetnacl-util-js")}),e.randomBytes=function(e){var t=new Uint8Array(e);return r(t,e),t},e.secretbox=function(e,t,a){fe(e,t,a),de(a,t);for(var r=new Uint8Array(32+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+32]=e[o];return P(i,r,r.length,t,a),i.subarray(16)},e.secretbox.open=function(e,t,a){fe(e,t,a),de(a,t);for(var r=new Uint8Array(16+e.length),i=new Uint8Array(r.length),o=0;o<e.length;o++)r[o+16]=e[o];return!(r.length<32)&&(0===z(i,r,r.length,t,a)&&i.subarray(32))},e.secretbox.keyLength=ue,e.secretbox.nonceLength=pe,e.secretbox.overheadLength=16,e.scalarMult=function(e,t){if(fe(e,t),32!==e.length)throw new Error("bad n size");if(32!==t.length)throw new Error("bad p size");var a=new Uint8Array(32);return H(a,e,t),a},e.scalarMult.base=function(e){if(fe(e),32!==e.length)throw new Error("bad n size");var t=new Uint8Array(32);return $(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,a,r,i){var o=e.box.before(r,i);return e.secretbox(t,a,o)},e.box.before=function(e,t){fe(e,t),function(e,t){if(e.length!==le)throw new Error("bad public key size");if(t.length!==me)throw new Error("bad secret key size")}(e,t);var a=new Uint8Array(32);return K(a,e,t),a},e.box.after=e.secretbox,e.box.open=function(t,a,r,i){var o=e.box.before(r,i);return e.secretbox.open(t,a,o)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(le),t=new Uint8Array(me);return M(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(fe(e),e.length!==me)throw new Error("bad secret key size");var t=new Uint8Array(le);return $(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=le,e.box.secretKeyLength=me,e.box.sharedKeyLength=32,e.box.nonceLength=he,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(fe(e,t),64!==t.length)throw new Error("bad secret key size");var a=new Uint8Array(64+e.length);return ne(a,e,e.length,t),a},e.sign.open=function(e,t){if(2!==arguments.length)throw new Error("nacl.sign.open accepts 2 arguments; did you mean to use nacl.sign.detached.verify?");if(fe(e,t),32!==t.length)throw new Error("bad public key size");var a=new Uint8Array(e.length),r=ce(a,e,e.length,t);if(r<0)return null;for(var i=new Uint8Array(r),o=0;o<i.length;o++)i[o]=a[o];return i},e.sign.detached=function(t,a){for(var r=e.sign(t,a),i=new Uint8Array(64),o=0;o<i.length;o++)i[o]=r[o];return i},e.sign.detached.verify=function(e,t,a){if(fe(e,t,a),64!==t.length)throw new Error("bad signature size");if(32!==a.length)throw new Error("bad public key size");var r,i=new Uint8Array(64+e.length),o=new Uint8Array(64+e.length);for(r=0;r<64;r++)i[r]=t[r];for(r=0;r<e.length;r++)i[r+64]=e[r];return ce(o,i,i.length,a)>=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return ae(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(fe(e),64!==e.length)throw new Error("bad secret key size");for(var t=new Uint8Array(32),a=0;a<t.length;a++)t[a]=e[32+a];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(fe(e),32!==e.length)throw new Error("bad seed size");for(var t=new Uint8Array(32),a=new Uint8Array(64),r=0;r<32;r++)a[r]=e[r];return ae(t,a,!0),{publicKey:t,secretKey:a}},e.sign.publicKeyLength=32,e.sign.secretKeyLength=64,e.sign.seedLength=32,e.sign.signatureLength=64,e.hash=function(e){fe(e);var t=new Uint8Array(64);return Z(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return fe(e,t),0!==e.length&&0!==t.length&&(e.length===t.length&&0===f(e,0,t,0,e.length))},e.setPRNG=function(e){r=e},function(){var t="undefined"!=typeof self?self.crypto||self.msCrypto:null;if(t&&t.getRandomValues){e.setPRNG(function(e,a){var r,i=new Uint8Array(a);for(r=0;r<a;r+=65536)t.getRandomValues(i.subarray(r,r+Math.min(a-r,65536)));for(r=0;r<a;r++)e[r]=i[r];ge(i)})}else(t=a(3))&&t.randomBytes&&e.setPRNG(function(e,a){var r,i=t.randomBytes(a);for(r=0;r<a;r++)e[r]=i[r];ge(i)})}()}(e.exports?e.exports:self.nacl=self.nacl||{})},function(e,t,a){e.exports=o;var r=a(0),i=a(2).Buffer;function o(e){r.object(e,"options"),void 0!==e.buffer&&r.buffer(e.buffer,"options.buffer"),this._size=e.buffer?e.buffer.length:1024,this._buffer=e.buffer||i.alloc(this._size),this._offset=0}o.prototype.toBuffer=function(){return this._buffer.slice(0,this._offset)},o.prototype.atEnd=function(){return this._offset>=this._buffer.length},o.prototype.remainder=function(){return this._buffer.slice(this._offset)},o.prototype.skip=function(e){this._offset+=e},o.prototype.expand=function(){this._size*=2;var e=i.alloc(this._size);this._buffer.copy(e,0),this._buffer=e},o.prototype.readPart=function(){return{data:this.readBuffer()}},o.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4,r.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var t=this._buffer.slice(this._offset,this._offset+e);return this._offset+=e,t},o.prototype.readString=function(){return this.readBuffer().toString()},o.prototype.readCString=function(){for(var e=this._offset;e<this._buffer.length&&0!==this._buffer[e];)e++;r.ok(e<this._buffer.length,"c string does not terminate");var t=this._buffer.slice(this._offset,e).toString();return this._offset=e+1,t},o.prototype.readInt=function(){var e=this._buffer.readUInt32BE(this._offset);return this._offset+=4,e},o.prototype.readInt64=function(){r.ok(this._offset+8<this._buffer.length,"buffer not long enough to read Int64");var e=this._buffer.slice(this._offset,this._offset+8);return this._offset+=8,e},o.prototype.readChar=function(){return this._buffer[this._offset++]},o.prototype.writeBuffer=function(e){for(;this._offset+4+e.length>this._size;)this.expand();this._buffer.writeUInt32BE(e.length,this._offset),this._offset+=4,e.copy(this._buffer,this._offset),this._offset+=e.length},o.prototype.writeString=function(e){this.writeBuffer(i.from(e,"utf8"))},o.prototype.writeCString=function(e){for(;this._offset+1+e.length>this._size;)this.expand();this._buffer.write(e,this._offset),this._offset+=e.length,this._buffer[this._offset++]=0},o.prototype.writeInt=function(e){for(;this._offset+4>this._size;)this.expand();this._buffer.writeUInt32BE(e,this._offset),this._offset+=4},o.prototype.writeInt64=function(e){if(r.buffer(e,"value"),e.length>8){for(var t=e.slice(0,e.length-8),a=0;a<t.length;++a)r.strictEqual(t[a],0,"must fit in 64 bits of precision");e=e.slice(e.length-8,e.length)}for(;this._offset+8>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=8},o.prototype.writeChar=function(e){for(;this._offset+1>this._size;)this.expand();this._buffer[this._offset++]=e},o.prototype.writePart=function(e){this.writeBuffer(e.data)},o.prototype.write=function(e){for(;this._offset+e.length>this._size;)this.expand();e.copy(this._buffer,this._offset),this._offset+=e.length}},function(e,t,a){e.exports={read:function(e,t){return p.read(e,t,"pkcs8")},readPkcs8:function(e,t,a){a.peek()===i.Ber.Integer&&(r.strictEqual(t,"private","unexpected Integer at start of public key"),a.readString(i.Ber.Integer,!0));a.readSequence();var n=a.offset+a.length,p=a.readOID();switch(p){case"1.2.840.113549.1.1.1":return a._offset=n,"public"===t?function(e){e.readSequence(i.Ber.BitString),e.readByte(),e.readSequence();var t=l(e,"modulus"),a=l(e,"exponent"),r={type:"rsa",source:e.originalInput,parts:[{name:"e",data:a},{name:"n",data:t}]};return new c(r)}(a):function(e){e.readSequence(i.Ber.OctetString),e.readSequence();var t=l(e,"version");r.equal(t[0],0,"unknown RSA private key version");var a=l(e,"modulus"),o=l(e,"public exponent"),n=l(e,"private exponent"),s=l(e,"prime1"),c=l(e,"prime2"),p=l(e,"exponent1"),m=l(e,"exponent2"),h=l(e,"iqmp");return new u({type:"rsa",parts:[{name:"n",data:a},{name:"e",data:o},{name:"d",data:n},{name:"iqmp",data:h},{name:"p",data:s},{name:"q",data:c},{name:"dmodp",data:p},{name:"dmodq",data:m}]})}(a);case"1.2.840.10040.4.1":return"public"===t?function(e){e.readSequence();var t=l(e,"p"),a=l(e,"q"),r=l(e,"g");e.readSequence(i.Ber.BitString),e.readByte();var o=l(e,"y");return new c({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:a},{name:"g",data:r},{name:"y",data:o}]})}(a):function(e){e.readSequence();var t=l(e,"p"),a=l(e,"q"),r=l(e,"g");e.readSequence(i.Ber.OctetString);var o=l(e,"x"),n=s.calculateDSAPublic(r,t,o);return new u({type:"dsa",parts:[{name:"p",data:t},{name:"q",data:a},{name:"g",data:r},{name:"y",data:n},{name:"x",data:o}]})}(a);case"1.2.840.10045.2.1":return"public"===t?function(e){var t=m(e);r.string(t,"a known elliptic curve");var a=e.readString(i.Ber.BitString,!0);a=s.ecNormalize(a);var n={type:"ecdsa",parts:[{name:"curve",data:o.from(t)},{name:"Q",data:a}]};return new c(n)}(a):function(e){var t=m(e);r.string(t,"a known elliptic curve"),e.readSequence(i.Ber.OctetString),e.readSequence();var a=l(e,"version");r.equal(a[0],1,"unknown version of ECDSA key");var n,c=e.readString(i.Ber.OctetString,!0);160==e.peek()&&(e.readSequence(160),e._offset+=e.length);161==e.peek()&&(e.readSequence(161),n=e.readString(i.Ber.BitString,!0),n=s.ecNormalize(n));if(void 0===n){var p=s.publicFromPrivateECDSA(t,c);n=p.part.Q.data}var h={type:"ecdsa",parts:[{name:"curve",data:o.from(t)},{name:"Q",data:n},{name:"d",data:c}]};return new u(h)}(a);case"1.3.101.112":return"public"===t?function(e){0===e.peek()&&e.readByte();var t=s.readBitString(e),a={type:"ed25519",parts:[{name:"A",data:s.zeroPadToLength(t,32)}]};return new c(a)}(a):function(e){0===e.peek()&&e.readByte();e.readSequence(i.Ber.OctetString);var t,a=e.readString(i.Ber.OctetString,!0);a=s.zeroPadToLength(a,32),e.peek()===i.Ber.BitString?(t=s.readBitString(e),t=s.zeroPadToLength(t,32)):t=s.calculateED25519Public(a);var r={type:"ed25519",parts:[{name:"A",data:s.zeroPadToLength(t,32)},{name:"k",data:s.zeroPadToLength(a,32)}]};return new u(r)}(a);case"1.3.101.110":return"public"===t?function(e){var t=s.readBitString(e),a={type:"curve25519",parts:[{name:"A",data:s.zeroPadToLength(t,32)}]};return new c(a)}(a):function(e){0===e.peek()&&e.readByte();e.readSequence(i.Ber.OctetString);var t=e.readString(i.Ber.OctetString,!0);t=s.zeroPadToLength(t,32);var a=s.calculateX25519Public(t),r={type:"curve25519",parts:[{name:"A",data:s.zeroPadToLength(a,32)},{name:"k",data:s.zeroPadToLength(t,32)}]};return new u(r)}(a);default:throw new Error("Unknown key type OID "+p)}},write:function(e,t){return p.write(e,t,"pkcs8")},writePkcs8:h,pkcs8ToBuffer:function(e){var t=new i.BerWriter;return h(t,e),t.buffer},readECDSACurve:m,writeECDSACurve:d};var r=a(0),i=a(11),o=a(2).Buffer,n=a(8),s=a(6),c=a(5),u=a(7),p=a(14);function l(e,t){return r.strictEqual(e.peek(),i.Ber.Integer,t+" is not an Integer"),s.mpNormalize(e.readString(i.Ber.Integer,!0))}function m(e){var t,a,c,u,p;if(e.peek()===i.Ber.OID){var l=e.readOID();for(a=Object.keys(n.curves),c=0;c<a.length;++c)if(u=a[c],(p=n.curves[u]).pkcs8oid===l){t=u;break}}else{e.readSequence();var m=e.readString(i.Ber.Integer,!0);r.strictEqual(m[0],1,"ECDSA key not version 1");var h={};e.readSequence();var d=e.readOID();r.strictEqual(d,"1.2.840.10045.1.1","ECDSA key is not from a prime-field");var f=h.p=s.mpNormalize(e.readString(i.Ber.Integer,!0));h.size=8*f.length-s.countZeros(f),e.readSequence(),h.a=s.mpNormalize(e.readString(i.Ber.OctetString,!0)),h.b=s.mpNormalize(e.readString(i.Ber.OctetString,!0)),e.peek()===i.Ber.BitString&&(h.s=e.readString(i.Ber.BitString,!0)),h.G=e.readString(i.Ber.OctetString,!0),r.strictEqual(h.G[0],4,"uncompressed G is required"),h.n=s.mpNormalize(e.readString(i.Ber.Integer,!0)),h.h=s.mpNormalize(e.readString(i.Ber.Integer,!0)),r.strictEqual(h.h[0],1,"a cofactor=1 curve is required"),a=Object.keys(n.curves);var g=Object.keys(h);for(c=0;c<a.length;++c){u=a[c],p=n.curves[u];for(var v=!0,y=0;y<g.length;++y){var b=g[y];if(void 0!==p[b])if("object"==typeof p[b]&&void 0!==p[b].equals){if(!p[b].equals(h[b])){v=!1;break}}else if(o.isBuffer(p[b])){if(p[b].toString("binary")!==h[b].toString("binary")){v=!1;break}}else if(p[b]!==h[b]){v=!1;break}}if(v){t=u;break}}}return t}function h(e,t){if(e.startSequence(),u.isPrivateKey(t)){var a=o.from([0]);e.writeBuffer(a,i.Ber.Integer)}switch(e.startSequence(),t.type){case"rsa":e.writeOID("1.2.840.113549.1.1.1"),u.isPrivateKey(t)?function(e,t){t.writeNull(),t.endSequence(),t.startSequence(i.Ber.OctetString),t.startSequence();var a=o.from([0]);t.writeBuffer(a,i.Ber.Integer),t.writeBuffer(e.part.n.data,i.Ber.Integer),t.writeBuffer(e.part.e.data,i.Ber.Integer),t.writeBuffer(e.part.d.data,i.Ber.Integer),t.writeBuffer(e.part.p.data,i.Ber.Integer),t.writeBuffer(e.part.q.data,i.Ber.Integer),e.part.dmodp&&e.part.dmodq||s.addRSAMissing(e);t.writeBuffer(e.part.dmodp.data,i.Ber.Integer),t.writeBuffer(e.part.dmodq.data,i.Ber.Integer),t.writeBuffer(e.part.iqmp.data,i.Ber.Integer),t.endSequence(),t.endSequence()}(t,e):function(e,t){t.writeNull(),t.endSequence(),t.startSequence(i.Ber.BitString),t.writeByte(0),t.startSequence(),t.writeBuffer(e.part.n.data,i.Ber.Integer),t.writeBuffer(e.part.e.data,i.Ber.Integer),t.endSequence(),t.endSequence()}(t,e);break;case"dsa":e.writeOID("1.2.840.10040.4.1"),u.isPrivateKey(t)?function(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,i.Ber.Integer),t.writeBuffer(e.part.q.data,i.Ber.Integer),t.writeBuffer(e.part.g.data,i.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(i.Ber.OctetString),t.writeBuffer(e.part.x.data,i.Ber.Integer),t.endSequence()}(t,e):function(e,t){t.startSequence(),t.writeBuffer(e.part.p.data,i.Ber.Integer),t.writeBuffer(e.part.q.data,i.Ber.Integer),t.writeBuffer(e.part.g.data,i.Ber.Integer),t.endSequence(),t.endSequence(),t.startSequence(i.Ber.BitString),t.writeByte(0),t.writeBuffer(e.part.y.data,i.Ber.Integer),t.endSequence()}(t,e);break;case"ecdsa":e.writeOID("1.2.840.10045.2.1"),u.isPrivateKey(t)?function(e,t){d(e,t),t.endSequence(),t.startSequence(i.Ber.OctetString),t.startSequence();var a=o.from([1]);t.writeBuffer(a,i.Ber.Integer),t.writeBuffer(e.part.d.data,i.Ber.OctetString),t.startSequence(161);var r=s.ecNormalize(e.part.Q.data,!0);t.writeBuffer(r,i.Ber.BitString),t.endSequence(),t.endSequence(),t.endSequence()}(t,e):function(e,t){d(e,t),t.endSequence();var a=s.ecNormalize(e.part.Q.data,!0);t.writeBuffer(a,i.Ber.BitString)}(t,e);break;case"ed25519":if(e.writeOID("1.3.101.112"),u.isPrivateKey(t))throw new Error("Ed25519 private keys in pkcs8 format are not supported");!function(e,t){t.endSequence(),s.writeBitString(t,e.part.A.data)}(t,e);break;default:throw new Error("Unsupported key type: "+t.type)}e.endSequence()}function d(e,t){var a=n.curves[e.curve];if(a.pkcs8oid)t.writeOID(a.pkcs8oid);else{t.startSequence();var r=o.from([1]);t.writeBuffer(r,i.Ber.Integer),t.startSequence(),t.writeOID("1.2.840.10045.1.1"),t.writeBuffer(a.p,i.Ber.Integer),t.endSequence(),t.startSequence();var s=a.p;0===s[0]&&(s=s.slice(1)),t.writeBuffer(s,i.Ber.OctetString),t.writeBuffer(a.b,i.Ber.OctetString),t.writeBuffer(a.s,i.Ber.BitString),t.endSequence(),t.writeBuffer(a.G,i.Ber.OctetString),t.writeBuffer(a.n,i.Ber.Integer);var c=a.h;c||(c=o.from([1])),t.writeBuffer(c,i.Ber.Integer),t.endSequence()}}},function(e,t,a){e.exports=g;var r=a(0),i=a(2).Buffer,o=a(8),n=a(3),s=a(22),c=(a(10),a(9)),u=(a(4),a(6)),p=a(5),l=a(7),m=a(28),h={};h.openssh=a(155),h.x509=a(68),h.pem=a(156);var d=c.CertificateParseError,f=c.InvalidAlgorithmError;function g(e){r.object(e,"options"),r.arrayOfObject(e.subjects,"options.subjects"),u.assertCompatible(e.subjects[0],m,[1,0],"options.subjects"),u.assertCompatible(e.subjectKey,p,[1,0],"options.subjectKey"),u.assertCompatible(e.issuer,m,[1,0],"options.issuer"),void 0!==e.issuerKey&&u.assertCompatible(e.issuerKey,p,[1,0],"options.issuerKey"),r.object(e.signatures,"options.signatures"),r.buffer(e.serial,"options.serial"),r.date(e.validFrom,"options.validFrom"),r.date(e.validUntil,"optons.validUntil"),r.optionalArrayOfString(e.purposes,"options.purposes"),this._hashCache={},this.subjects=e.subjects,this.issuer=e.issuer,this.subjectKey=e.subjectKey,this.issuerKey=e.issuerKey,this.signatures=e.signatures,this.serial=e.serial,this.validFrom=e.validFrom,this.validUntil=e.validUntil,this.purposes=e.purposes}g.formats=h,g.prototype.toBuffer=function(e,t){return void 0===e&&(e="x509"),r.string(e,"format"),r.object(h[e],"formats[format]"),r.optionalObject(t,"options"),h[e].write(this,t)},g.prototype.toString=function(e,t){return void 0===e&&(e="pem"),this.toBuffer(e,t).toString()},g.prototype.fingerprint=function(e){void 0===e&&(e="sha256"),r.string(e,"algorithm");var t={type:"certificate",hash:this.hash(e),algorithm:e};return new s(t)},g.prototype.hash=function(e){if(r.string(e,"algorithm"),e=e.toLowerCase(),void 0===o.hashAlgs[e])throw new f(e);if(this._hashCache[e])return this._hashCache[e];var t=n.createHash(e).update(this.toBuffer("x509")).digest();return this._hashCache[e]=t,t},g.prototype.isExpired=function(e){return void 0===e&&(e=new Date),!(e.getTime()>=this.validFrom.getTime()&&e.getTime()<this.validUntil.getTime())},g.prototype.isSignedBy=function(e){return u.assertCompatible(e,g,[1,0],"issuer"),!!this.issuer.equals(e.subjects[0])&&(!(this.issuer.purposes&&this.issuer.purposes.length>0&&-1===this.issuer.purposes.indexOf("ca"))&&this.isSignedByKey(e.subjectKey))},g.prototype.getExtension=function(e){return r.string(e,"keyOrOid"),this.getExtensions().filter(function(t){return"x509"===t.format?t.oid===e:"openssh"===t.format&&t.name===e})[0]},g.prototype.getExtensions=function(){var e=[],t=this.signatures.x509;t&&t.extras&&t.extras.exts&&t.extras.exts.forEach(function(t){t.format="x509",e.push(t)});var a=this.signatures.openssh;return a&&a.exts&&a.exts.forEach(function(t){t.format="openssh",e.push(t)}),e},g.prototype.isSignedByKey=function(e){if(u.assertCompatible(e,p,[1,2],"issuerKey"),void 0!==this.issuerKey)return this.issuerKey.fingerprint("sha512").matches(e);var t=Object.keys(this.signatures)[0],a=h[t].verify(this,e);return a&&(this.issuerKey=e),a},g.prototype.signWith=function(e){u.assertCompatible(e,l,[1,2],"key");for(var t=Object.keys(h),a=!1,r=0;r<t.length;++r){if("pem"!==t[r])!0===h[t[r]].sign(this,e)&&(a=!0)}if(!a)throw new Error("Failed to sign the certificate for any available certificate formats")},g.createSelfSigned=function(e,t,a){var o;o=Array.isArray(e)?e:[e],r.arrayOfObject(o),o.forEach(function(e){u.assertCompatible(e,m,[1,0],"subject")}),u.assertCompatible(t,l,[1,2],"private key"),r.optionalObject(a,"options"),void 0===a&&(a={}),r.optionalObject(a.validFrom,"options.validFrom"),r.optionalObject(a.validUntil,"options.validUntil");var n=a.validFrom,s=a.validUntil;if(void 0===n&&(n=new Date),void 0===s){r.optionalNumber(a.lifetime,"options.lifetime");var c=a.lifetime;void 0===c&&(c=31536e4),(s=new Date).setTime(s.getTime()+1e3*c)}r.optionalBuffer(a.serial,"options.serial");var p=a.serial;void 0===p&&(p=i.from("0000000000000001","hex"));var h=a.purposes;if(void 0===h&&(h=[]),-1===h.indexOf("signature")&&h.push("signature"),-1===h.indexOf("ca")&&h.push("ca"),-1===h.indexOf("crl")&&h.push("crl"),h.length<=3){var d=o.filter(function(e){return"host"===e.type}),f=o.filter(function(e){return"user"===e.type});d.length>0&&-1===h.indexOf("serverAuth")&&h.push("serverAuth"),f.length>0&&-1===h.indexOf("clientAuth")&&h.push("clientAuth"),(f.length>0||d.length>0)&&(-1===h.indexOf("keyAgreement")&&h.push("keyAgreement"),"rsa"===t.type&&-1===h.indexOf("encryption")&&h.push("encryption"))}var v=new g({subjects:o,issuer:o[0],subjectKey:t.toPublic(),issuerKey:t.toPublic(),signatures:{},serial:p,validFrom:n,validUntil:s,purposes:h});return v.signWith(t),v},g.create=function(e,t,a,o,n){var s;s=Array.isArray(e)?e:[e],r.arrayOfObject(s),s.forEach(function(e){u.assertCompatible(e,m,[1,0],"subject")}),u.assertCompatible(t,p,[1,0],"key"),l.isPrivateKey(t)&&(t=t.toPublic()),u.assertCompatible(a,m,[1,0],"issuer"),u.assertCompatible(o,l,[1,2],"issuer key"),r.optionalObject(n,"options"),void 0===n&&(n={}),r.optionalObject(n.validFrom,"options.validFrom"),r.optionalObject(n.validUntil,"options.validUntil");var c=n.validFrom,h=n.validUntil;if(void 0===c&&(c=new Date),void 0===h){r.optionalNumber(n.lifetime,"options.lifetime");var d=n.lifetime;void 0===d&&(d=31536e4),(h=new Date).setTime(h.getTime()+1e3*d)}r.optionalBuffer(n.serial,"options.serial");var f=n.serial;void 0===f&&(f=i.from("0000000000000001","hex"));var v=n.purposes;void 0===v&&(v=[]),-1===v.indexOf("signature")&&v.push("signature"),!0===n.ca&&(-1===v.indexOf("ca")&&v.push("ca"),-1===v.indexOf("crl")&&v.push("crl"));var y=s.filter(function(e){return"host"===e.type}),b=s.filter(function(e){return"user"===e.type});y.length>0&&-1===v.indexOf("serverAuth")&&v.push("serverAuth"),b.length>0&&-1===v.indexOf("clientAuth")&&v.push("clientAuth"),(b.length>0||y.length>0)&&(-1===v.indexOf("keyAgreement")&&v.push("keyAgreement"),"rsa"===t.type&&-1===v.indexOf("encryption")&&v.push("encryption"));var k=new g({subjects:s,issuer:a,subjectKey:t,issuerKey:o.toPublic(),signatures:{},serial:f,validFrom:c,validUntil:h,purposes:v});return k.signWith(o),k},g.parse=function(e,t,a){"string"!=typeof e&&r.buffer(e,"data"),void 0===t&&(t="auto"),r.string(t,"format"),"string"==typeof a&&(a={filename:a}),r.optionalObject(a,"options"),void 0===a&&(a={}),r.optionalString(a.filename,"options.filename"),void 0===a.filename&&(a.filename="(unnamed)"),r.object(h[t],"formats[format]");try{return h[t].read(e,a)}catch(e){throw new d(a.filename,t,e)}},g.isCertificate=function(e,t){return u.isCompatible(e,g,t)},g.prototype._sshpkApiVersion=[1,1],g._oldVersionDetect=function(e){return[1,0]}},function(e,t,a){e.exports=p;var r=a(0),i=(a(8),a(3),a(22),a(10),a(9),a(4),a(6)),o=a(11),n=a(2).Buffer,s=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i,c={cn:"2.5.4.3",o:"2.5.4.10",ou:"2.5.4.11",l:"2.5.4.7",s:"2.5.4.8",c:"2.5.4.6",sn:"2.5.4.4",postalCode:"2.5.4.17",serialNumber:"2.5.4.5",street:"2.5.4.9",x500UniqueIdentifier:"2.5.4.45",role:"2.5.4.72",telephoneNumber:"2.5.4.20",description:"2.5.4.13",dc:"0.9.2342.19200300.100.1.25",uid:"0.9.2342.19200300.100.1.1",mail:"0.9.2342.19200300.100.1.3",title:"2.5.4.12",gn:"2.5.4.42",initials:"2.5.4.43",pseudonym:"2.5.4.65",emailAddress:"1.2.840.113549.1.9.1"},u={};function p(e){var t=this;if(r.object(e,"options"),r.arrayOfObject(e.components,"options.components"),this.components=e.components,this.componentLookup={},this.components.forEach(function(e){e.name&&!e.oid&&(e.oid=c[e.name]),e.oid&&!e.name&&(e.name=u[e.oid]),void 0===t.componentLookup[e.name]&&(t.componentLookup[e.name]=[]),t.componentLookup[e.name].push(e)}),this.componentLookup.cn&&this.componentLookup.cn.length>0&&(this.cn=this.componentLookup.cn[0].value),r.optionalString(e.type,"options.type"),void 0===e.type)1===this.components.length&&this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(s)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length?(this.type="host",this.hostname=this.componentLookup.dc.map(function(e){return e.value}).join(".")):this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length&&this.componentLookup.cn[0].value.match(s)?(this.type="host",this.hostname=this.componentLookup.cn[0].value):this.componentLookup.uid&&1===this.componentLookup.uid.length?(this.type="user",this.uid=this.componentLookup.uid[0].value):this.componentLookup.mail&&1===this.componentLookup.mail.length?(this.type="email",this.email=this.componentLookup.mail[0].value):this.componentLookup.cn&&1===this.componentLookup.cn.length?(this.type="user",this.uid=this.componentLookup.cn[0].value):this.type="unknown";else if(this.type=e.type,"host"===this.type)this.hostname=e.hostname;else if("user"===this.type)this.uid=e.uid;else{if("email"!==this.type)throw new Error("Unknown type "+this.type);this.email=e.email}}Object.keys(c).forEach(function(e){u[c[e]]=e}),p.prototype.toString=function(){return this.components.map(function(e){var t=e.name.toUpperCase();t=t.replace(/=/g,"\\=");var a=e.value;return t+"="+(a=a.replace(/,/g,"\\,"))}).join(", ")},p.prototype.get=function(e,t){r.string(e,"name");var a=this.componentLookup[e];if(void 0!==a&&0!==a.length){if(!t&&a.length>1)throw new Error("Multiple values for attribute "+e);return t?a.map(function(e){return e.value}):a[0].value}},p.prototype.toArray=function(e){return this.components.map(function(e){return{name:e.name,value:e.value}})};var l=/[^a-zA-Z0-9 '(),+.\/:=?-]/,m=/[^\x00-\x7f]/;function h(e,t){if("**"===e||"**"===t)return!0;var a=e.split("."),r=t.split(".");if(a.length!==r.length)return!1;for(var i=0;i<a.length;++i)if("*"!==a[i]&&"*"!==r[i]&&a[i]!==r[i])return!1;return!0}p.prototype.toAsn1=function(e,t){e.startSequence(t),this.components.forEach(function(t){if(e.startSequence(o.Ber.Constructor|o.Ber.Set),e.startSequence(),e.writeOID(t.oid),t.asn1type===o.Ber.Utf8String||t.value.match(m)){var a=n.from(t.value,"utf8");e.writeBuffer(a,o.Ber.Utf8String)}else if(t.asn1type===o.Ber.IA5String||t.value.match(l))e.writeString(t.value,o.Ber.IA5String);else{var r=o.Ber.PrintableString;void 0!==t.asn1type&&(r=t.asn1type),e.writeString(t.value,r)}e.endSequence(),e.endSequence()}),e.endSequence()},p.prototype.equals=function(e){if(!p.isIdentity(e,[1,0]))return!1;if(e.components.length!==this.components.length)return!1;for(var t=0;t<this.components.length;++t){if(this.components[t].oid!==e.components[t].oid)return!1;if(!h(this.components[t].value,e.components[t].value))return!1}return!0},p.forHost=function(e){return r.string(e,"hostname"),new p({type:"host",hostname:e,components:[{name:"cn",value:e}]})},p.forUser=function(e){return r.string(e,"uid"),new p({type:"user",uid:e,components:[{name:"uid",value:e}]})},p.forEmail=function(e){return r.string(e,"email"),new p({type:"email",email:e,components:[{name:"mail",value:e}]})},p.parseDN=function(e){r.string(e,"dn");for(var t=[""],a=0,i=e;i.length>0;){var o;if(null!==(o=/^,/.exec(i)))t[++a]="",i=i.slice(o[0].length);else if(null!==(o=/^\\,/.exec(i)))t[a]+=",",i=i.slice(o[0].length);else if(null!==(o=/^\\./.exec(i)))t[a]+=o[0],i=i.slice(o[0].length);else{if(null===(o=/^[^\\,]+/.exec(i)))throw new Error("Failed to parse DN");t[a]+=o[0],i=i.slice(o[0].length)}}return new p({components:t.map(function(e){for(var t=(e=e.trim()).indexOf("=");t>0&&"\\"===e.charAt(t-1);)t=e.indexOf("=",t+1);if(-1===t)throw new Error("Failed to parse DN");return{name:e.slice(0,t).toLowerCase().replace(/\\=/g,"="),value:e.slice(t+1)}})})},p.fromArray=function(e){return r.arrayOfObject(e,"components"),e.forEach(function(e){if(r.object(e,"component"),r.string(e.name,"component.name"),!n.isBuffer(e.value)&&"string"!=typeof e.value)throw new Error("Invalid component value")}),new p({components:e})},p.parseAsn1=function(e,t){var a=[];e.readSequence(t);for(var r=e.offset+e.length;e.offset<r;){e.readSequence(o.Ber.Constructor|o.Ber.Set);var i=e.offset+e.length;e.readSequence();var n,s=e.readOID(),c=e.peek();switch(c){case o.Ber.PrintableString:case o.Ber.IA5String:case o.Ber.OctetString:case o.Ber.T61String:n=e.readString(c);break;case o.Ber.Utf8String:n=(n=e.readString(c,!0)).toString("utf8");break;case o.Ber.CharacterString:case o.Ber.BMPString:n=(n=e.readString(c,!0)).toString("utf16le");break;default:throw new Error("Unknown asn1 type "+c)}a.push({oid:s,asn1type:c,value:n}),e._offset=i}return e._offset=r,new p({components:a})},p.isIdentity=function(e,t){return i.isCompatible(e,p,t)},p.prototype._sshpkApiVersion=[1,0],p._oldVersionDetect=function(e){return[1,0]}},function(e,t){e.exports=require("https")},function(e,t,a){var r=a(0),i=a(38),o=a(4),n={sha1:!0,sha256:!0,sha512:!0},s={rsa:!0,dsa:!0,ecdsa:!0};function c(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t||c),this.message=e,this.name=t.name}function u(e){c.call(this,e,u)}o.inherits(c,Error),o.inherits(u,c),e.exports={HASH_ALGOS:n,PK_ALGOS:s,HttpSignatureError:c,InvalidAlgorithmError:u,validateAlgorithm:function(e){var t=e.toLowerCase().split("-");if(2!==t.length)throw new u(t[0].toUpperCase()+" is not a valid algorithm");if("hmac"!==t[0]&&!s[t[0]])throw new u(t[0].toUpperCase()+" type keys are not supported");if(!n[t[1]])throw new u(t[1].toUpperCase()+" is not a supported hash algorithm");return t},sshKeyToPEM:function(e){return r.string(e,"ssh_key"),i.parseKey(e,"ssh").toString("pem")},fingerprint:function(e){return r.string(e,"ssh_key"),i.parseKey(e,"ssh").fingerprint("md5").toString("hex")},pemToRsaSSHKey:function(e,t){r.equal("string",typeof e,"typeof pem");var a=i.parseKey(e,"pem");return a.comment=t,a.toString("ssh")}}},function(e,t,a){var r=a(23).BigInteger,i=r.prototype.Barrett;function o(e,t){this.x=t,this.q=e}function n(e,t,a,i){this.curve=e,this.x=t,this.y=a,this.z=null==i?r.ONE:i,this.zinv=null}function s(e,t,a){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(a),this.infinity=new n(this,null,null),this.reducer=new i(this.q)}o.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)},o.prototype.toBigInteger=function(){return this.x},o.prototype.negate=function(){return new o(this.q,this.x.negate().mod(this.q))},o.prototype.add=function(e){return new o(this.q,this.x.add(e.toBigInteger()).mod(this.q))},o.prototype.subtract=function(e){return new o(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))},o.prototype.multiply=function(e){return new o(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))},o.prototype.square=function(){return new o(this.q,this.x.square().mod(this.q))},o.prototype.divide=function(e){return new o(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))},n.prototype.getX=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.x.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},n.prototype.getY=function(){null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q));var e=this.y.toBigInteger().multiply(this.zinv);return this.curve.reduce(e),this.curve.fromBigInteger(e)},n.prototype.equals=function(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():!!e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(r.ZERO)&&e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(r.ZERO))},n.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(r.ZERO)&&!this.y.toBigInteger().equals(r.ZERO)},n.prototype.negate=function(){return new n(this.curve,this.x,this.y.negate(),this.z)},n.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),a=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(r.ZERO.equals(a))return r.ZERO.equals(t)?this.twice():this.curve.getInfinity();var i=new r("3"),o=this.x.toBigInteger(),s=this.y.toBigInteger(),c=(e.x.toBigInteger(),e.y.toBigInteger(),a.square()),u=c.multiply(a),p=o.multiply(c),l=t.square().multiply(this.z),m=l.subtract(p.shiftLeft(1)).multiply(e.z).subtract(u).multiply(a).mod(this.curve.q),h=p.multiply(i).multiply(t).subtract(s.multiply(u)).subtract(l.multiply(t)).multiply(e.z).add(t.multiply(u)).mod(this.curve.q),d=u.multiply(this.z).multiply(e.z).mod(this.curve.q);return new n(this.curve,this.curve.fromBigInteger(m),this.curve.fromBigInteger(h),d)},n.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new r("3"),t=this.x.toBigInteger(),a=this.y.toBigInteger(),i=a.multiply(this.z),o=i.multiply(a).mod(this.curve.q),s=this.curve.a.toBigInteger(),c=t.square().multiply(e);r.ZERO.equals(s)||(c=c.add(this.z.square().multiply(s)));var u=(c=c.mod(this.curve.q)).square().subtract(t.shiftLeft(3).multiply(o)).shiftLeft(1).multiply(i).mod(this.curve.q),p=c.multiply(e).multiply(t).subtract(o.shiftLeft(1)).shiftLeft(2).multiply(o).subtract(c.square().multiply(c)).mod(this.curve.q),l=i.square().multiply(i).shiftLeft(3).mod(this.curve.q);return new n(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(p),l)},n.prototype.multiply=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,a=e,i=a.multiply(new r("3")),o=this.negate(),n=this;for(t=i.bitLength()-2;t>0;--t){n=n.twice();var s=i.testBit(t);s!=a.testBit(t)&&(n=n.add(s?this:o))}return n},n.prototype.multiplyTwo=function(e,t,a){var r;r=e.bitLength()>a.bitLength()?e.bitLength()-1:a.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(t);r>=0;)i=i.twice(),e.testBit(r)?i=a.testBit(r)?i.add(o):i.add(this):a.testBit(r)&&(i=i.add(t)),--r;return i},s.prototype.getQ=function(){return this.q},s.prototype.getA=function(){return this.a},s.prototype.getB=function(){return this.b},s.prototype.equals=function(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)},s.prototype.getInfinity=function(){return this.infinity},s.prototype.fromBigInteger=function(e){return new o(this.q,e)},s.prototype.reduce=function(e){this.reducer.reduce(e)},s.prototype.encodePointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),a=e.getY().toBigInteger().toString(16),r=this.getQ().toString(16).length;for(r%2!=0&&r++;t.length<r;)t="0"+t;for(;a.length<r;)a="0"+a;return"04"+t+a},s.prototype.decodePointHex=function(e){var t;switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:t=!1;case 3:null==t&&(t=!0);var a=e.length-2,i=e.substr(2,a),o=this.fromBigInteger(new r(i,16)),s=o.multiply(o.square().add(this.getA())).add(this.getB()).sqrt();if(null==s)throw"Invalid point compression";var c=s.toBigInteger();return c.testBit(0)!=t&&(s=this.fromBigInteger(this.getQ().subtract(c))),new n(this,o,s);case 4:case 6:case 7:a=(e.length-2)/2,i=e.substr(2,a);var u=e.substr(a+2,a);return new n(this,this.fromBigInteger(new r(i,16)),this.fromBigInteger(new r(u,16)));default:return null}},s.prototype.encodeCompressedPointHex=function(e){if(e.isInfinity())return"00";var t=e.getX().toBigInteger().toString(16),a=this.getQ().toString(16).length;for(a%2!=0&&a++;t.length<a;)t="0"+t;return(e.getY().toBigInteger().isEven()?"02":"03")+t},o.prototype.getR=function(){if(null!=this.r)return this.r;this.r=null;var e=this.q.bitLength();e>128&&(-1==this.q.shiftRight(e-64).intValue()&&(this.r=r.ONE.shiftLeft(e).subtract(this.q)));return this.r},o.prototype.modMult=function(e,t){return this.modReduce(e.multiply(t))},o.prototype.modReduce=function(e){if(null!=this.getR()){for(var t=q.bitLength();e.bitLength()>t+1;){var a=e.shiftRight(t),i=e.subtract(a.shiftLeft(t));this.getR().equals(r.ONE)||(a=a.multiply(this.getR())),e=a.add(i)}for(;e.compareTo(q)>=0;)e=e.subtract(q)}else e=e.mod(q);return e},o.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new o(this.q,this.x.modPow(this.q.shiftRight(2).add(r.ONE),this.q));return e.square().equals(this)?e:null}var t=this.q.subtract(r.ONE),a=t.shiftRight(1);if(!this.x.modPow(a,this.q).equals(r.ONE))return null;var i,n,s=t.shiftRight(2).shiftLeft(1).add(r.ONE),c=this.x,u=modDouble(modDouble(c));do{var p;do{p=new r(this.q.bitLength(),new SecureRandom)}while(p.compareTo(this.q)>=0||!p.multiply(p).subtract(u).modPow(a,this.q).equals(t));var l=this.lucasSequence(p,c,s);if(i=l[0],n=l[1],this.modMult(n,n).equals(u))return n.testBit(0)&&(n=n.add(q)),n=n.shiftRight(1),new o(q,n)}while(i.equals(r.ONE)||i.equals(t));return null},o.prototype.lucasSequence=function(e,t,a){for(var i=a.bitLength(),o=a.getLowestSetBit(),n=r.ONE,s=r.TWO,c=e,u=r.ONE,p=r.ONE,l=i-1;l>=o+1;--l)u=this.modMult(u,p),a.testBit(l)?(p=this.modMult(u,t),n=this.modMult(n,c),s=this.modReduce(c.multiply(s).subtract(e.multiply(u))),c=this.modReduce(c.multiply(c).subtract(p.shiftLeft(1)))):(p=u,n=this.modReduce(n.multiply(s).subtract(u)),c=this.modReduce(c.multiply(s).subtract(e.multiply(u))),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1))));u=this.modMult(u,p),p=this.modMult(u,t),n=this.modReduce(n.multiply(s).subtract(u)),s=this.modReduce(c.multiply(s).subtract(e.multiply(u))),u=this.modMult(u,p);for(l=1;l<=o;++l)n=this.modMult(n,s),s=this.modReduce(s.multiply(s).subtract(u.shiftLeft(1))),u=this.modMult(u,u);return[n,s]};t={ECCurveFp:s,ECPointFp:n,ECFieldElementFp:o};e.exports=t},function(e,t,a){e.exports={read:function(e,t){return u.read(e,t)},readSSHPrivate:function(e,t,c){var u=(t=new l({buffer:t})).readCString();i.strictEqual(u,h,"bad magic string");var d=t.readString(),f=t.readString(),g=t.readBuffer();if(1!==t.readInt())throw new Error("OpenSSH-format key file contains multiple keys: this is unsupported.");var v=t.readBuffer();if("public"===e)return i.ok(t.atEnd(),"excess bytes left after key"),p.read(v);var y=t.readBuffer();i.ok(t.atEnd(),"excess bytes left after key");var b=new l({buffer:g});switch(f){case"none":if("none"!==d)throw new Error('OpenSSH-format key uses KDF "none" but specifies a cipher other than "none"');break;case"bcrypt":var k=b.readBuffer(),x=b.readInt(),w=n.opensshCipherInfo(d);if(void 0===r&&(r=a(65)),"string"==typeof c.passphrase&&(c.passphrase=o.from(c.passphrase,"utf-8")),!o.isBuffer(c.passphrase))throw new m.KeyEncryptedError(c.filename,"OpenSSH");var j=new Uint8Array(c.passphrase),_=new Uint8Array(k),S=new Uint8Array(w.keySize+w.blockSize),E=r.pbkdf(j,j.length,_,_.length,S,S.length,x);if(0!==E)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var F=(S=o.from(S)).slice(0,w.keySize),P=S.slice(w.keySize,w.keySize+w.blockSize),z=s.createDecipheriv(w.opensslName,F,P);z.setAutoPadding(!1);var C,A=[];for(z.once("error",function(e){if(-1!==e.toString().indexOf("bad decrypt"))throw new Error("Incorrect passphrase supplied, could not decrypt key");throw e}),z.write(y),z.end();null!==(C=z.read());)A.push(C);y=o.concat(A);break;default:throw new Error('OpenSSH-format key uses unknown KDF "'+f+'"')}var O=(t=new l({buffer:y})).readInt(),q=t.readInt();if(O!==q)throw new Error("Incorrect passphrase supplied, could not decrypt key");var T={},B=p.readInternal(T,"private",t.remainder());t.skip(T.consumed);var D=t.readString();return B.comment=D,B},write:function(e,t){var u;u=c.isPrivateKey(e)?e.toPublic():e;var p,m,d="none",f="none",g=o.alloc(0),v={blockSize:8};void 0!==t&&("string"==typeof(p=t.passphrase)&&(p=o.from(p,"utf-8")),void 0!==p&&(i.buffer(p,"options.passphrase"),i.optionalString(t.cipher,"options.cipher"),void 0===(d=t.cipher)&&(d="aes128-ctr"),v=n.opensshCipherInfo(d),f="bcrypt"));if(c.isPrivateKey(e)){m=new l({});var y=s.randomBytes(4).readUInt32BE(0);m.writeInt(y),m.writeInt(y),m.write(e.toBuffer("rfc4253")),m.writeString(e.comment||"");for(var b=1;m._offset%v.blockSize!=0;)m.writeChar(b++);m=m.toBuffer()}switch(f){case"none":break;case"bcrypt":var k=s.randomBytes(16),x=new l({});x.writeBuffer(k),x.writeInt(16),g=x.toBuffer(),void 0===r&&(r=a(65));var w=new Uint8Array(p),j=new Uint8Array(k),_=new Uint8Array(v.keySize+v.blockSize),S=r.pbkdf(w,w.length,j,j.length,_,_.length,16);if(0!==S)throw new Error("bcrypt_pbkdf function returned failure, parameters invalid");var E=(_=o.from(_)).slice(0,v.keySize),F=_.slice(v.keySize,v.keySize+v.blockSize),P=s.createCipheriv(v.opensslName,E,F);P.setAutoPadding(!1);var z,C=[];for(P.once("error",function(e){throw e}),P.write(m),P.end();null!==(z=P.read());)C.push(z);m=o.concat(C);break;default:throw new Error("Unsupported kdf "+f)}var A,O=new l({});O.writeCString(h),O.writeString(d),O.writeString(f),O.writeBuffer(g),O.writeInt(1),O.writeBuffer(u.toBuffer("rfc4253")),m&&O.writeBuffer(m);O=O.toBuffer(),A=c.isPrivateKey(e)?"OPENSSH PRIVATE KEY":"OPENSSH PUBLIC KEY";var q=O.toString("base64"),T=q.length+q.length/70+18+16+2*A.length+10;O=o.alloc(T);var B=0;B+=O.write("-----BEGIN "+A+"-----\n",B);for(var D=0;D<q.length;){var I=D+70;I>q.length&&(I=q.length),B+=O.write(q.slice(D,I),B),O[B++]=10,D=I}return B+=O.write("-----END "+A+"-----\n",B),O.slice(0,B)}};var r,i=a(0),o=(a(11),a(2).Buffer),n=(a(8),a(6)),s=a(3),c=(a(5),a(7)),u=a(14),p=a(15),l=a(25),m=a(9);var h="openssh-key-v1"},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,a){"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},c=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,a=r.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!a&&!o)return!1;for(t in e);return void 0===t||r.call(e,t)},u=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},p=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;if(n)return n(e,t).value}return e[t]};e.exports=function e(){var t,a,r,i,o,n,l=arguments[0],m=1,h=arguments.length,d=!1;for("boolean"==typeof l&&(d=l,l=arguments[1]||{},m=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});m<h;++m)if(null!=(t=arguments[m]))for(a in t)r=p(l,a),l!==(i=p(t,a))&&(d&&i&&(c(i)||(o=s(i)))?(o?(o=!1,n=r&&s(r)?r:[]):n=r&&c(r)?r:{},u(l,{name:a,newValue:e(d,n,i)})):void 0!==i&&u(l,{name:a,newValue:i}));return l}},function(e,t){e.exports=require("net")},function(e,t,a){"use strict";var r=a(142),i=a(3),o=a(19).Buffer,n="undefined"==typeof setImmediate?process.nextTick:setImmediate;t.paramsHaveRequestBody=function(e){return e.body||e.requestBodyStream||e.json&&"boolean"!=typeof e.json||e.multipart},t.safeStringify=function(e,t){var a;try{a=JSON.stringify(e,t)}catch(i){a=r(e,t)}return a},t.md5=function(e){return i.createHash("md5").update(e).digest("hex")},t.isReadStream=function(e){return e.readable&&e.path&&e.mode},t.toBase64=function(e){return o.from(e||"","utf8").toString("base64")},t.copy=function(e){var t={};return Object.keys(e).forEach(function(a){t[a]=e[a]}),t},t.version=function(){var e=process.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}},t.defer=n},function(e,t){e.exports=require("querystring")},function(e,t,a){var r=a(5),i=a(22),o=a(10),n=a(7),s=a(27),c=a(28),u=a(9);e.exports={Key:r,parseKey:r.parse,Fingerprint:i,parseFingerprint:i.parse,Signature:o,parseSignature:o.parse,PrivateKey:n,parsePrivateKey:n.parse,generatePrivateKey:n.generate,Certificate:s,parseCertificate:s.parse,createSelfSignedCertificate:s.createSelfSigned,createCertificate:s.create,Identity:c,identityFromDN:c.parseDN,identityForHost:c.forHost,identityForUser:c.forUser,identityForEmail:c.forEmail,identityFromArray:c.fromArray,FingerprintFormatError:u.FingerprintFormatError,InvalidAlgorithmError:u.InvalidAlgorithmError,KeyParseError:u.KeyParseError,SignatureParseError:u.SignatureParseError,KeyEncryptedError:u.KeyEncryptedError,CertificateParseError:u.CertificateParseError}},function(e,t){e.exports={newInvalidAsn1Error:function(e){var t=new Error;return t.name="InvalidAsn1Error",t.message=e||"",t}}},function(e,t){e.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},function(e,t,a){e.exports={DiffieHellman:d,generateECDSA:function(e){var t=[];if(l){var a={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e],r=i.createECDH(a);return r.generateKeys(),t.push({name:"curve",data:o.from(e)}),t.push({name:"Q",data:r.getPublicKey()}),t.push({name:"d",data:r.getPrivateKey()}),new p({type:"ecdsa",curve:e,parts:t})}var n=new f(e),s=n.getN(),c=Math.ceil((s.bitLength()+64)/8),u=new h(i.randomBytes(c)),m=s.subtract(h.ONE),d=u.mod(m).add(h.ONE),g=n.getG().multiply(d);return d=o.from(d.toByteArray()),g=o.from(n.getCurve().encodePointHex(g),"hex"),t.push({name:"curve",data:o.from(e)}),t.push({name:"Q",data:g}),t.push({name:"d",data:d}),new p({type:"ecdsa",curve:e,parts:t})},generateED25519:function(){var e=c.sign.keyPair(),t=o.from(e.secretKey),a=o.from(e.publicKey);r.strictEqual(t.length,64),r.strictEqual(a.length,32);var i=[];return i.push({name:"A",data:a}),i.push({name:"k",data:t.slice(0,32)}),new p({type:"ed25519",parts:i})}};var r=a(0),i=a(3),o=a(2).Buffer,n=a(8),s=a(6),c=a(24),u=a(5),p=a(7),l=void 0!==i.createECDH,m=(a(153),a(31)),h=a(23).BigInteger;function d(e){if(s.assertCompatible(e,u,[1,4],"key"),this._isPriv=p.isPrivateKey(e,[1,3]),this._algo=e.type,this._curve=e.curve,this._key=e,"dsa"===e.type){if(!l)throw new Error("Due to bugs in the node 0.10 crypto API, node 0.12.x or later is required to use DH");this._dh=i.createDiffieHellman(e.part.p.data,void 0,e.part.g.data,void 0),this._p=e.part.p,this._g=e.part.g,this._isPriv&&this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data)}else if("ecdsa"===e.type){if(!l)return this._ecParams=new f(this._curve),void(this._isPriv&&(this._priv=new v(this._ecParams,e.part.d.data)));var t={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e.curve];if(this._dh=i.createECDH(t),"object"!=typeof this._dh||"function"!=typeof this._dh.setPrivateKey)return l=!1,void d.call(this,e);this._isPriv&&this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)}else{if("curve25519"!==e.type)throw new Error("DH not supported for "+e.type+" keys");this._isPriv&&(s.assertCompatible(e,p,[1,5],"key"),this._priv=e.part.k.data)}}function f(e){var t=n.curves[e];r.object(t);var a=new h(t.p),i=new h(t.a),o=new h(t.b),s=new h(t.n),c=h.ONE,u=new m.ECCurveFp(a,i,o),p=u.decodePointHex(t.G.toString("hex"));this.curve=u,this.g=p,this.n=s,this.h=c}function g(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getCurve().decodePointHex(t.toString("hex"))}function v(e,t){this._params=e,this._priv=new h(s.mpNormalize(t))}d.prototype.getPublicKey=function(){return this._isPriv?this._key.toPublic():this._key},d.prototype.getPrivateKey=function(){return this._isPriv?this._key:void 0},d.prototype.getKey=d.prototype.getPrivateKey,d.prototype._keyCheck=function(e,t){if(r.object(e,"key"),t||s.assertCompatible(e,p,[1,3],"key"),s.assertCompatible(e,u,[1,4],"key"),e.type!==this._algo)throw new Error("A "+e.type+" key cannot be used in "+this._algo+" Diffie-Hellman");if(e.curve!==this._curve)throw new Error("A key from the "+e.curve+" curve cannot be used with a "+this._curve+" Diffie-Hellman");"dsa"===e.type&&(r.deepEqual(e.part.p,this._p,"DSA key prime does not match"),r.deepEqual(e.part.g,this._g,"DSA key generator does not match"))},d.prototype.setKey=function(e){if(this._keyCheck(e),"dsa"===e.type)this._dh.setPrivateKey(e.part.x.data),this._dh.setPublicKey(e.part.y.data);else if("ecdsa"===e.type)l?(this._dh.setPrivateKey(e.part.d.data),this._dh.setPublicKey(e.part.Q.data)):this._priv=new v(this._ecParams,e.part.d.data);else if("curve25519"===e.type){var t=e.part.k;e.part.k||(t=e.part.r),this._priv=t.data,0===this._priv[0]&&(this._priv=this._priv.slice(1)),this._priv=this._priv.slice(0,32)}this._key=e,this._isPriv=!0},d.prototype.setPrivateKey=d.prototype.setKey,d.prototype.computeSecret=function(e){if(this._keyCheck(e,!0),!this._isPriv)throw new Error("DH exchange has not been initialized with a private key yet");var t;if("dsa"===this._algo)return this._dh.computeSecret(e.part.y.data);if("ecdsa"===this._algo)return l?this._dh.computeSecret(e.part.Q.data):(t=new g(this._ecParams,e.part.Q.data),this._priv.deriveSharedSecret(t));if("curve25519"===this._algo){for(t=e.part.A.data;0===t[0]&&t.length>32;)t=t.slice(1);var a=this._priv;r.strictEqual(t.length,32),r.strictEqual(a.length,32);var i=c.box.before(new Uint8Array(t),new Uint8Array(a));return o.from(i)}throw new Error("Invalid algorithm: "+this._algo)},d.prototype.generateKey=function(){var e,t,a=[];if("dsa"===this._algo)return this._dh.generateKeys(),a.push({name:"p",data:this._p.data}),a.push({name:"q",data:this._key.part.q.data}),a.push({name:"g",data:this._g.data}),a.push({name:"y",data:this._dh.getPublicKey()}),a.push({name:"x",data:this._dh.getPrivateKey()}),this._key=new p({type:"dsa",parts:a}),this._isPriv=!0,this._key;if("ecdsa"===this._algo){if(l)return this._dh.generateKeys(),a.push({name:"curve",data:o.from(this._curve)}),a.push({name:"Q",data:this._dh.getPublicKey()}),a.push({name:"d",data:this._dh.getPrivateKey()}),this._key=new p({type:"ecdsa",curve:this._curve,parts:a}),this._isPriv=!0,this._key;var n=this._ecParams.getN(),s=new h(i.randomBytes(n.bitLength())),u=n.subtract(h.ONE);return e=s.mod(u).add(h.ONE),t=this._ecParams.getG().multiply(e),e=o.from(e.toByteArray()),t=o.from(this._ecParams.getCurve().encodePointHex(t),"hex"),this._priv=new v(this._ecParams,e),a.push({name:"curve",data:o.from(this._curve)}),a.push({name:"Q",data:t}),a.push({name:"d",data:e}),this._key=new p({type:"ecdsa",curve:this._curve,parts:a}),this._isPriv=!0,this._key}if("curve25519"===this._algo){var m=c.box.keyPair();return e=o.from(m.secretKey),t=o.from(m.publicKey),e=o.concat([e,t]),r.strictEqual(e.length,64),r.strictEqual(t.length,32),a.push({name:"A",data:t}),a.push({name:"k",data:e}),this._key=new p({type:"curve25519",parts:a}),this._isPriv=!0,this._key}throw new Error("Invalid algorithm: "+this._algo)},d.prototype.generateKeys=d.prototype.generateKey,f.prototype.getCurve=function(){return this.curve},f.prototype.getG=function(){return this.g},f.prototype.getN=function(){return this.n},f.prototype.getH=function(){return this.h},v.prototype.deriveSharedSecret=function(e){r.ok(e instanceof g);var t=e._pub.multiply(this._priv);return o.from(t.getX().toBigInteger().toByteArray())}},function(e,t,a){e.exports={read:function(e,t){return p.read(e,t,"pkcs1")},readPkcs1:function(e,t,a){switch(e){case"RSA":if("public"===t)return function(e){var t=m(e,"modulus"),a=m(e,"exponent");return new c({type:"rsa",parts:[{name:"e",data:a},{name:"n",data:t}]})}(a);if("private"===t)return function(e){var t=m(e,"version");r.strictEqual(t[0],0);var a=m(e,"modulus"),i=m(e,"public exponent"),o=m(e,"private exponent"),n=m(e,"prime1"),s=m(e,"prime2"),c=m(e,"exponent1"),p=m(e,"exponent2"),l=m(e,"iqmp");return new u({type:"rsa",parts:[{name:"n",data:a},{name:"e",data:i},{name:"d",data:o},{name:"iqmp",data:l},{name:"p",data:n},{name:"q",data:s},{name:"dmodp",data:c},{name:"dmodq",data:p}]})}(a);throw new Error("Unknown key type: "+t);case"DSA":if("public"===t)return function(e){var t=m(e,"y"),a=m(e,"p"),r=m(e,"q"),i=m(e,"g");return new c({type:"dsa",parts:[{name:"y",data:t},{name:"p",data:a},{name:"q",data:r},{name:"g",data:i}]})}(a);if("private"===t)return function(e){var t=m(e,"version");r.strictEqual(t.readUInt8(0),0);var a=m(e,"p"),i=m(e,"q"),o=m(e,"g"),n=m(e,"y"),s=m(e,"x");return new u({type:"dsa",parts:[{name:"p",data:a},{name:"q",data:i},{name:"g",data:o},{name:"y",data:n},{name:"x",data:s}]})}(a);throw new Error("Unknown key type: "+t);case"EC":case"ECDSA":if("private"===t)return function(e){var t=m(e,"version");r.strictEqual(t.readUInt8(0),1);var a=e.readString(i.Ber.OctetString,!0);e.readSequence(160);var n=l(e);r.string(n,"a known elliptic curve"),e.readSequence(161);var c=e.readString(i.Ber.BitString,!0);c=s.ecNormalize(c);var p={type:"ecdsa",parts:[{name:"curve",data:o.from(n)},{name:"Q",data:c},{name:"d",data:a}]};return new u(p)}(a);if("public"===t)return function(e){e.readSequence();var t=e.readOID();r.strictEqual(t,"1.2.840.10045.2.1","must be ecPublicKey");for(var a,u=e.readOID(),p=Object.keys(n.curves),l=0;l<p.length;++l){var m=p[l],h=n.curves[m];if(h.pkcs8oid===u){a=m;break}}r.string(a,"a known ECDSA named curve");var d=e.readString(i.Ber.BitString,!0);d=s.ecNormalize(d);var f={type:"ecdsa",parts:[{name:"curve",data:o.from(a)},{name:"Q",data:d}]};return new c(f)}(a);throw new Error("Unknown key type: "+t);case"EDDSA":case"EdDSA":if("private"===t)return function(e){var t=m(e,"version");r.strictEqual(t.readUInt8(0),1);var a=e.readString(i.Ber.OctetString,!0);e.readSequence(160);var o=e.readOID();r.strictEqual(o,"1.3.101.112","the ed25519 curve identifier"),e.readSequence(161);var n=s.readBitString(e),c={type:"ed25519",parts:[{name:"A",data:s.zeroPadToLength(n,32)},{name:"k",data:a}]};return new u(c)}(a);throw new Error(t+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+e)}},write:function(e,t){return p.write(e,t,"pkcs1")},writePkcs1:function(e,t){switch(e.startSequence(),t.type){case"rsa":u.isPrivateKey(t)?function(e,t){var a=o.from([0]);e.writeBuffer(a,i.Ber.Integer),e.writeBuffer(t.part.n.data,i.Ber.Integer),e.writeBuffer(t.part.e.data,i.Ber.Integer),e.writeBuffer(t.part.d.data,i.Ber.Integer),e.writeBuffer(t.part.p.data,i.Ber.Integer),e.writeBuffer(t.part.q.data,i.Ber.Integer),t.part.dmodp&&t.part.dmodq||s.addRSAMissing(t);e.writeBuffer(t.part.dmodp.data,i.Ber.Integer),e.writeBuffer(t.part.dmodq.data,i.Ber.Integer),e.writeBuffer(t.part.iqmp.data,i.Ber.Integer)}(e,t):function(e,t){e.writeBuffer(t.part.n.data,i.Ber.Integer),e.writeBuffer(t.part.e.data,i.Ber.Integer)}(e,t);break;case"dsa":u.isPrivateKey(t)?function(e,t){var a=o.from([0]);e.writeBuffer(a,i.Ber.Integer),e.writeBuffer(t.part.p.data,i.Ber.Integer),e.writeBuffer(t.part.q.data,i.Ber.Integer),e.writeBuffer(t.part.g.data,i.Ber.Integer),e.writeBuffer(t.part.y.data,i.Ber.Integer),e.writeBuffer(t.part.x.data,i.Ber.Integer)}(e,t):function(e,t){e.writeBuffer(t.part.y.data,i.Ber.Integer),e.writeBuffer(t.part.p.data,i.Ber.Integer),e.writeBuffer(t.part.q.data,i.Ber.Integer),e.writeBuffer(t.part.g.data,i.Ber.Integer)}(e,t);break;case"ecdsa":u.isPrivateKey(t)?function(e,t){var a=o.from([1]);e.writeBuffer(a,i.Ber.Integer),e.writeBuffer(t.part.d.data,i.Ber.OctetString),e.startSequence(160);var c=t.part.curve.data.toString(),u=n.curves[c].pkcs8oid;r.string(u,"a known ECDSA named curve"),e.writeOID(u),e.endSequence(),e.startSequence(161);var p=s.ecNormalize(t.part.Q.data,!0);e.writeBuffer(p,i.Ber.BitString),e.endSequence()}(e,t):function(e,t){e.startSequence(),e.writeOID("1.2.840.10045.2.1");var a=t.part.curve.data.toString(),o=n.curves[a].pkcs8oid;r.string(o,"a known ECDSA named curve"),e.writeOID(o),e.endSequence();var c=s.ecNormalize(t.part.Q.data,!0);e.writeBuffer(c,i.Ber.BitString)}(e,t);break;case"ed25519":u.isPrivateKey(t)?function(e,t){var a=o.from([1]);e.writeBuffer(a,i.Ber.Integer),e.writeBuffer(t.part.k.data,i.Ber.OctetString),e.startSequence(160),e.writeOID("1.3.101.112"),e.endSequence(),e.startSequence(161),s.writeBitString(e,t.part.A.data),e.endSequence()}(e,t):function(e,t){throw new Error("Public keys are not supported for EdDSA PKCS#1")}();break;default:throw new Error("Unknown key algo: "+t.type)}e.endSequence()}};var r=a(0),i=a(11),o=a(2).Buffer,n=a(8),s=a(6),c=a(5),u=a(7),p=a(14),l=a(26).readECDSACurve;function m(e,t){return r.strictEqual(e.peek(),i.Ber.Integer,t+" is not an Integer"),s.mpNormalize(e.readString(i.Ber.Integer,!0))}},function(e,t,a){e.exports={read:function(e,t){"string"!=typeof e&&(r.buffer(e,"buf"),e=e.toString("ascii"));var a=e.split("\n");if(a[0].match(/^Private-key-format\: v1/)){var c=a[1].split(" "),l=parseInt(c[1],10),m=c[2];if(!u[l])throw new Error("Unsupported algorithm: "+m);return function(e,t){if(u[e].match(/^RSA-/))return function(e){var t={};e.forEach(function(e){"Modulus:"===e.split(" ")[0]?t.n=p(e):"PublicExponent:"===e.split(" ")[0]?t.e=p(e):"PrivateExponent:"===e.split(" ")[0]?t.d=p(e):"Prime1:"===e.split(" ")[0]?t.p=p(e):"Prime2:"===e.split(" ")[0]?t.q=p(e):"Exponent1:"===e.split(" ")[0]?t.dmodp=p(e):"Exponent2:"===e.split(" ")[0]?t.dmodq=p(e):"Coefficient:"===e.split(" ")[0]&&(t.iqmp=p(e))});var a={type:"rsa",parts:[{name:"e",data:s.mpNormalize(t.e)},{name:"n",data:s.mpNormalize(t.n)},{name:"d",data:s.mpNormalize(t.d)},{name:"p",data:s.mpNormalize(t.p)},{name:"q",data:s.mpNormalize(t.q)},{name:"dmodp",data:s.mpNormalize(t.dmodp)},{name:"dmodq",data:s.mpNormalize(t.dmodq)},{name:"iqmp",data:s.mpNormalize(t.iqmp)}]};return new n(a)}(t);if("ECDSA-P384-SHA384"===u[e]||"ECDSA-P256-SHA256"===u[e]){var a=i.from(t[0].split(" ")[1],"base64"),r="nistp384",o=384;"ECDSA-P256-SHA256"===u[e]&&(r="nistp256",o=256);var c=s.publicFromPrivateECDSA(r,a),l=c.part.Q.data,m={type:"ecdsa",curve:r,size:o,parts:[{name:"curve",data:i.from(r)},{name:"d",data:a},{name:"Q",data:l}]};return new n(m)}throw new Error("Unsupported algorithm: "+u[e])}(l,a.slice(2))}var h=0;for(;a[h].match(/^\;/);)h++;if((a[h].match(/\. IN KEY /)||a[h].match(/\. IN DNSKEY /))&&0===a[h+1].length)return function(e){var t=e.split(" "),a=parseInt(t[5],10);if(!u[a])throw new Error("Unsupported algorithm: "+a);var r=t.slice(6,t.length).join(),n=i.from(r,"base64");if(u[a].match(/^RSA-/)){var c=n.readUInt8(0);if(3!=c&&1!=c)throw new Error("Cannot parse dnssec key: unsupported exponent length");var p=n.slice(1,c+1);p=s.mpNormalize(p);var l=n.slice(1+c);l=s.mpNormalize(l);var m={type:"rsa",parts:[]};return m.parts.push({name:"e",data:p}),m.parts.push({name:"n",data:l}),new o(m)}if("ECDSA-P384-SHA384"===u[a]||"ECDSA-P256-SHA256"===u[a]){var h="nistp384",d=384;u[a].match(/^ECDSA-P256-SHA256/)&&(h="nistp256",d=256);var f={type:"ecdsa",curve:h,size:d,parts:[{name:"curve",data:i.from(h)},{name:"Q",data:s.ecNormalize(n)}]};return new o(f)}throw new Error("Unsupported algorithm: "+u[a])}(a[h]);throw new Error("Cannot parse dnssec key")},write:function(e,t){if(n.isPrivateKey(e)){if("rsa"===e.type)return function(e,t){e.part.dmodp&&e.part.dmodq||s.addRSAMissing(e);var a="";a+="Private-key-format: v1.3\n",a+="Algorithm: "+function(e){if(e&&e.hashAlgo&&"sha1"!==e.hashAlgo){if("sha256"===e.hashAlgo)return"8 (RSASHA256)";if("sha512"===e.hashAlgo)return"10 (RSASHA512)";throw new Error("Unknown or unsupported hash: "+e.hashAlgo)}return"5 (RSASHA1)"}(t)+"\n";var r=s.mpDenormalize(e.part.n.data);a+="Modulus: "+r.toString("base64")+"\n";var o=s.mpDenormalize(e.part.e.data);a+="PublicExponent: "+o.toString("base64")+"\n";var n=s.mpDenormalize(e.part.d.data);a+="PrivateExponent: "+n.toString("base64")+"\n";var c=s.mpDenormalize(e.part.p.data);a+="Prime1: "+c.toString("base64")+"\n";var u=s.mpDenormalize(e.part.q.data);a+="Prime2: "+u.toString("base64")+"\n";var p=s.mpDenormalize(e.part.dmodp.data);a+="Exponent1: "+p.toString("base64")+"\n";var m=s.mpDenormalize(e.part.dmodq.data);a+="Exponent2: "+m.toString("base64")+"\n";var h=s.mpDenormalize(e.part.iqmp.data);a+="Coefficient: "+h.toString("base64")+"\n";var d=new Date;return a+="Created: "+l(d)+"\n",a+="Publish: "+l(d)+"\n",a+="Activate: "+l(d)+"\n",i.from(a,"ascii")}(e,t);if("ecdsa"===e.type)return function(e,t){var a="";if(a+="Private-key-format: v1.3\n","nistp256"===e.curve)a+="Algorithm: 13 (ECDSAP256SHA256)\n";else{if("nistp384"!==e.curve)throw new Error("Unsupported curve");a+="Algorithm: 14 (ECDSAP384SHA384)\n"}var r=e.part.d.data.toString("base64");a+="PrivateKey: "+r+"\n";var o=new Date;return a+="Created: "+l(o)+"\n",a+="Publish: "+l(o)+"\n",a+="Activate: "+l(o)+"\n",i.from(a,"ascii")}(e);throw new Error("Unsupported algorithm: "+e.type)}throw o.isKey(e)?new Error('Format "dnssec" only supports writing private keys'):new Error("key is not a Key or PrivateKey")}};var r=a(0),i=a(2).Buffer,o=a(5),n=a(7),s=a(6),c=(a(25),a(41),{"rsa-sha1":5,"rsa-sha256":8,"rsa-sha512":10,"ecdsa-p256-sha256":13,"ecdsa-p384-sha384":14}),u={};function p(e){return i.from(e.split(" ")[1],"base64")}function l(e){var t=e.getFullYear()+""+(e.getMonth()+1)+e.getUTCDate();return t+=""+e.getUTCHours()+e.getUTCMinutes(),t+=e.getUTCSeconds()}Object.keys(c).forEach(function(e){u[c[e]]=e.toUpperCase()})},function(e,t){function a(e){this.dict=e||{}}a.prototype.set=function(e,t,a){if("object"!=typeof e){void 0===a&&(a=!0);var r=this.has(e);return!a&&r?this.dict[r]=this.dict[r]+","+t:this.dict[r||e]=t,r}for(var i in e)this.set(i,e[i],t)},a.prototype.has=function(e){for(var t=Object.keys(this.dict),a=(e=e.toLowerCase(),0);a<t.length;a++)if(t[a].toLowerCase()===e)return t[a];return!1},a.prototype.get=function(e){var t,a;e=e.toLowerCase();var r=this.dict;return Object.keys(r).forEach(function(i){a=i.toLowerCase(),e===a&&(t=r[i])}),t},a.prototype.swap=function(e){var t=this.has(e);if(t!==e){if(!t)throw new Error('There is no header than matches "'+e+'"');this.dict[e]=this.dict[t],delete this.dict[t]}},a.prototype.del=function(e){var t=this.has(e);return delete this.dict[t||e]},e.exports=function(e){return new a(e)},e.exports.httpify=function(e,t){var r=new a(t);return e.setHeader=function(e,t,a){if(void 0!==t)return r.set(e,t,a)},e.hasHeader=function(e){return r.has(e)},e.getHeader=function(e){return r.get(e)},e.removeHeader=function(e){return r.del(e)},e.headers=r.dict,r}},function(e,t,a){"use strict";var r=a(183),i=a(46),o=a(18),n=a(85),s=a(185);function c(e,t,a){var r=this._refs[a];if("string"==typeof r){if(!this._refs[r])return c.call(this,e,t,r);r=this._refs[r]}if((r=r||this._schemas[a])instanceof n)return h(r.schema,this._opts.inlineRefs)?r.schema:r.validate||this._compile(r);var i,o,s,p=u.call(this,t,a);return p&&(i=p.schema,t=p.root,s=p.baseId),i instanceof n?o=i.validate||e.call(this,i.schema,t,void 0,s):void 0!==i&&(o=h(i,this._opts.inlineRefs)?i:e.call(this,i,t,void 0,s)),o}function u(e,t){var a=r.parse(t),i=f(a),o=d(this._getId(e.schema));if(0===Object.keys(e.schema).length||i!==o){var s=v(i),c=this._refs[s];if("string"==typeof c)return function(e,t,a){var r=u.call(this,e,t);if(r){var i=r.schema,o=r.baseId;e=r.root;var n=this._getId(i);return n&&(o=y(o,n)),l.call(this,a,o,i,e)}}.call(this,e,c,a);if(c instanceof n)c.validate||this._compile(c),e=c;else{if(!((c=this._schemas[s])instanceof n))return;if(c.validate||this._compile(c),s==v(t))return{schema:c,root:e,baseId:o};e=c}if(!e.schema)return;o=d(this._getId(e.schema))}return l.call(this,a,o,e.schema,e)}e.exports=c,c.normalizeId=v,c.fullPath=d,c.url=y,c.ids=function(e){var t=v(this._getId(e)),a={"":t},n={"":d(t,!1)},c={},u=this;return s(e,{allKeys:!0},function(e,t,s,p,l,m,h){if(""!==t){var d=u._getId(e),f=a[p],g=n[p]+"/"+l;if(void 0!==h&&(g+="/"+("number"==typeof h?h:o.escapeFragment(h))),"string"==typeof d){d=f=v(f?r.resolve(f,d):d);var y=u._refs[d];if("string"==typeof y&&(y=u._refs[y]),y&&y.schema){if(!i(e,y.schema))throw new Error('id "'+d+'" resolves to more than one schema')}else if(d!=v(g))if("#"==d[0]){if(c[d]&&!i(e,c[d]))throw new Error('id "'+d+'" resolves to more than one schema');c[d]=e}else u._refs[d]=g}a[t]=f,n[t]=g}}),c},c.inlineRef=h,c.schema=u;var p=o.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function l(e,t,a,r){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0,1)){for(var i=e.fragment.split("/"),n=1;n<i.length;n++){var s=i[n];if(s){if(void 0===(a=a[s=o.unescapeFragment(s)]))break;var c;if(!p[s]&&((c=this._getId(a))&&(t=y(t,c)),a.$ref)){var l=y(t,a.$ref),m=u.call(this,r,l);m&&(a=m.schema,r=m.root,t=m.baseId)}}}return void 0!==a&&a!==r.schema?{schema:a,root:r,baseId:t}:void 0}}var m=o.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function h(e,t){return!1!==t&&(void 0===t||!0===t?function e(t){var a;if(Array.isArray(t)){for(var r=0;r<t.length;r++)if("object"==typeof(a=t[r])&&!e(a))return!1}else for(var i in t){if("$ref"==i)return!1;if("object"==typeof(a=t[i])&&!e(a))return!1}return!0}(e):t?function e(t){var a,r=0;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if("object"==typeof(a=t[i])&&(r+=e(a)),r==1/0)return 1/0}else for(var o in t){if("$ref"==o)return 1/0;if(m[o])r++;else if("object"==typeof(a=t[o])&&(r+=e(a)+1),r==1/0)return 1/0}return r}(e)<=t:void 0)}function d(e,t){return!1!==t&&(e=v(e)),f(r.parse(e))}function f(e){return r.serialize(e).split("#")[0]+"#"}var g=/#\/?$/;function v(e){return e?e.replace(g,""):""}function y(e,t){return t=v(t),r.resolve(e,t)}},function(e,t,a){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty;e.exports=function e(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){var n,s,c,u=r(t),p=r(a);if(u&&p){if((s=t.length)!=a.length)return!1;for(n=s;0!=n--;)if(!e(t[n],a[n]))return!1;return!0}if(u!=p)return!1;var l=t instanceof Date,m=a instanceof Date;if(l!=m)return!1;if(l&&m)return t.getTime()==a.getTime();var h=t instanceof RegExp,d=a instanceof RegExp;if(h!=d)return!1;if(h&&d)return t.toString()==a.toString();var f=i(t);if((s=f.length)!==i(a).length)return!1;for(n=s;0!=n--;)if(!o.call(a,f[n]))return!1;for(n=s;0!=n--;)if(!e(t[c=f[n]],a[c]))return!1;return!0}return t!=t&&a!=a}},function(e,t,a){"use strict";var r=a(45);function i(e,t,a){this.message=a||i.message(e,t),this.missingRef=r.url(e,t),this.missingSchema=r.normalizeId(r.fullPath(this.missingRef))}function o(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}e.exports={Validation:o(function(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}),MissingRef:o(i)},i.message=function(e,t){return"can't resolve reference "+t+" from id "+e}},function(e,t,a){var r=a(237),i=a(238);e.exports=function(e,t,a){var o=t&&a||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var n=(e=e||{}).random||(e.rng||r)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t)for(var s=0;s<16;++s)t[o+s]=n[s];return t||i(n)}},function(e,t,a){"use strict";e.exports=function(e){var t=a(1),r=a(16).keys,i=t.tryCatch,o=t.errorObj;return function(a,n,s){return function(c){var u=s._boundValue();e:for(var p=0;p<a.length;++p){var l=a[p];if(l===Error||null!=l&&l.prototype instanceof Error){if(c instanceof l)return i(n).call(u,c)}else if("function"==typeof l){var m=i(l).call(u,c);if(m===o)return m;if(m)return i(n).call(u,c)}else if(t.isObject(c)){for(var h=r(l),d=0;d<h.length;++d){var f=h[d];if(l[f]!=c[f])continue e}return i(n).call(u,c)}}return e}}}},function(e,t,a){"use strict";var r=a(1),i=r.maybeWrapAsError,o=a(12).OperationalError,n=a(16);var s=/^(?:name|message|stack|cause)$/;function c(e){var t;if(function(e){return e instanceof Error&&n.getPrototypeOf(e)===Error.prototype}(e)){(t=new o(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var a=n.keys(e),i=0;i<a.length;++i){var c=a[i];s.test(c)||(t[c]=e[c])}return t}return r.markAsOriginatingFromRejection(e),e}e.exports=function(e,t){return function(a,r){if(null!==e){if(a){var o=c(i(a));e._attachExtraTrace(o),e._reject(o)}else if(t){for(var n=arguments.length,s=new Array(Math.max(n-1,0)),u=1;u<n;++u)s[u-1]=arguments[u];e._fulfill(s)}else e._fulfill(r);e=null}}}},function(e,t,a){var r=a(52),i=a(133),o="[object AsyncFunction]",n="[object Function]",s="[object GeneratorFunction]",c="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=r(e);return t==n||t==s||t==o||t==c}},function(e,t,a){var r=a(53),i=a(131),o=a(132),n="[object Null]",s="[object Undefined]",c=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:n:c&&c in Object(e)?i(e):o(e)}},function(e,t,a){var r=a(129).Symbol;e.exports=r},function(e,t){var a=Array.isArray;e.exports=a},function(e,t,a){"use strict";var r=a(56),i=r.Cookie,o=r.CookieJar;function n(e){this._jar=new o(e,{looseMode:!0})}t.parse=function(e){if(e&&e.uri&&(e=e.uri),"string"!=typeof e)throw new Error("The cookie function only accepts STRING as param");return i.parse(e,{loose:!0})},n.prototype.setCookie=function(e,t,a){return this._jar.setCookieSync(e,t,a||{})},n.prototype.getCookieString=function(e){return this._jar.getCookieStringSync(e)},n.prototype.getCookies=function(e){return this._jar.getCookiesSync(e)},t.jar=function(e){return new n(e)}},function(e,t,a){"use strict";
/*!
 * Copyright (c) 2015, Salesforce.com, Inc.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice,
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * 3. Neither the name of Salesforce.com nor the names of its contributors may
 * be used to endorse or promote products derived from this software without
 * specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */var r,i=a(35),o=a(13).parse,n=a(4),s=a(57),c=a(59).Store,u=a(140).MemoryCookieStore,p=a(61).pathMatch,l=a(141).version;try{r=a(58)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var m=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,h=/[\x00-\x1F]/,d=["\n","\r","\0"],f=/[\x20-\x3A\x3C-\x7E]+/,g=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,v={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],b=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],k=2147483647e3;function x(e,t,a,r){for(var i=0;i<e.length;){var o=e.charCodeAt(i);if(o<=47||o>=58)break;i++}return i<t||i>a?null:r||i==e.length?parseInt(e.substr(0,i),10):null}function w(e){var t=e.split(":"),a=[0,0,0];if(3!==t.length)return null;for(var r=0;r<3;r++){var i=2==r,o=x(t[r],1,2,i);if(null===o)return null;a[r]=o}return a}function j(e){e=String(e).substr(0,3).toLowerCase();var t=v[e];return t>=0?t:null}function _(e){if(e){var t=e.split(g);if(t){for(var a=null,r=null,i=null,o=null,n=null,s=null,c=0;c<t.length;c++){var u,p=t[c].trim();if(p.length)null===i&&(u=w(p))?(a=u[0],r=u[1],i=u[2]):null!==o||null===(u=x(p,1,2,!0))?null!==n||null===(u=j(p))?null===s&&null!==(u=x(p,2,4,!0))&&((s=u)>=70&&s<=99?s+=1900:s>=0&&s<=69&&(s+=2e3)):n=u:o=u}if(!(null===o||null===n||null===s||null===i||o<1||o>31||s<1601||a>23||r>59||i>59))return new Date(Date.UTC(s,n,o,a,r,i))}}}function S(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var a=e.getUTCHours();a=a>=10?a:"0"+a;var r=e.getUTCMinutes();r=r>=10?r:"0"+r;var i=e.getUTCSeconds();return i=i>=10?i:"0"+i,b[e.getUTCDay()]+", "+t+" "+y[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+a+":"+r+":"+i+" GMT"}function E(e){return null==e?null:(e=e.trim().replace(/^\./,""),r&&/[^\u0001-\u007f]/.test(e)&&(e=r.toASCII(e)),e.toLowerCase())}function F(e,t,a){if(null==e||null==t)return null;if(!1!==a&&(e=E(e),t=E(t)),e==t)return!0;if(i.isIP(e))return!1;var r=e.indexOf(t);return!(r<=0)&&(e.length===t.length+r&&"."===e.substr(r-1,1))}function P(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;var t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}function z(e,t){var a,r,i=(e=function(e){for(var t=0;t<d.length;t++){var a=e.indexOf(d[t]);-1!==a&&(e=e.substr(0,a))}return e}(e)).indexOf("=");if(t)0===i&&(i=(e=e.substr(1)).indexOf("="));else if(i<=0)return;if(i<=0?(a="",r=e.trim()):(a=e.substr(0,i).trim(),r=e.substr(i+1).trim()),!h.test(a)&&!h.test(r)){var o=new B;return o.key=a,o.value=r,o}}function C(e,t){t&&"object"==typeof t||(t={});var a=(e=e.trim()).indexOf(";"),r=z(-1===a?e:e.substr(0,a),!!t.loose);if(r){if(-1===a)return r;var i=e.slice(a+1).trim();if(0===i.length)return r;for(var o=i.split(";");o.length;){var n=o.shift().trim();if(0!==n.length){var s,c,u=n.indexOf("=");switch(-1===u?(s=n,c=null):(s=n.substr(0,u),c=n.substr(u+1)),s=s.trim().toLowerCase(),c&&(c=c.trim()),s){case"expires":if(c){var p=_(c);p&&(r.expires=p)}break;case"max-age":if(c&&/^-?[0-9]+$/.test(c)){var l=parseInt(c,10);r.setMaxAge(l)}break;case"domain":if(c){var m=c.trim().replace(/^\./,"");m&&(r.domain=m.toLowerCase())}break;case"path":r.path=c&&"/"===c[0]?c:null;break;case"secure":r.secure=!0;break;case"httponly":r.httpOnly=!0;break;default:r.extensions=r.extensions||[],r.extensions.push(n)}}}return r}}function A(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function O(e){if(!e)return null;var t;if("string"==typeof e){if((t=A(e))instanceof Error)return null}else t=e;for(var a=new B,r=0;r<B.serializableProperties.length;r++){var i=B.serializableProperties[r];void 0!==t[i]&&t[i]!==B.prototype[i]&&("expires"===i||"creation"===i||"lastAccessed"===i?null===t[i]?a[i]=null:a[i]="Infinity"==t[i]?"Infinity":new Date(t[i]):a[i]=t[i])}return a}function q(e,t){var a=0,r=e.path?e.path.length:0;return 0!==(a=(t.path?t.path.length:0)-r)?a:0!==(a=(e.creation?e.creation.getTime():k)-(t.creation?t.creation.getTime():k))?a:a=e.creationIndex-t.creationIndex}function T(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(e){}return o(e)}function B(e){e=e||{},Object.keys(e).forEach(function(t){B.prototype.hasOwnProperty(t)&&B.prototype[t]!==e[t]&&"_"!==t.substr(0,1)&&(this[t]=e[t])},this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++B.cookiesCreated})}function D(e,t){"boolean"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new u),this.store=e}B.cookiesCreated=0,B.parse=C,B.fromJSON=O,B.prototype.key="",B.prototype.value="",B.prototype.expires="Infinity",B.prototype.maxAge=null,B.prototype.domain=null,B.prototype.path=null,B.prototype.secure=!1,B.prototype.httpOnly=!1,B.prototype.extensions=null,B.prototype.hostOnly=null,B.prototype.pathIsDefault=null,B.prototype.creation=null,B.prototype.lastAccessed=null,Object.defineProperty(B.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),B.serializableProperties=Object.keys(B.prototype).filter(function(e){return!(B.prototype[e]instanceof Function||"creationIndex"===e||"_"===e.substr(0,1))}),B.prototype.inspect=function(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(null!=this.hostOnly?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'},n.inspect.custom&&(B.prototype[n.inspect.custom]=B.prototype.inspect),B.prototype.toJSON=function(){for(var e={},t=B.serializableProperties,a=0;a<t.length;a++){var r=t[a];this[r]!==B.prototype[r]&&("expires"===r||"creation"===r||"lastAccessed"===r?null===this[r]?e[r]=null:e[r]="Infinity"==this[r]?"Infinity":this[r].toISOString():"maxAge"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-1/0?this[r].toString():this[r]):this[r]!==B.prototype[r]&&(e[r]=this[r]))}return e},B.prototype.clone=function(){return O(this.toJSON())},B.prototype.validate=function(){if(!m.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||_(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!f.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==s.getPublicSuffix(e))return!1}return!0},B.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=_(e)||"Infinity"},B.prototype.setMaxAge=function(e){this.maxAge=e===1/0||e===-1/0?e.toString():e},B.prototype.cookieString=function(){var e=this.value;return null==e&&(e=""),""===this.key?e:this.key+"="+e},B.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(this.expires instanceof Date?e+="; Expires="+S(this.expires):e+="; Expires="+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach(function(t){e+="; "+t}),e},B.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=_(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},B.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,a=this.maxAge<=0?-1/0:1e3*this.maxAge;return t.getTime()+a}return this.expires==1/0?1/0:this.expires.getTime()},B.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(k):t==-1/0?new Date(0):new Date(t)},B.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},B.prototype.cdomain=B.prototype.canonicalizedDomain=function(){return null==this.domain?null:E(this.domain)},D.prototype.store=null,D.prototype.rejectPublicSuffixes=!0,D.prototype.enableLooseMode=!1;var I=[];I.push("setCookie"),D.prototype.setCookie=function(e,t,a,r){var i,o=T(t);a instanceof Function&&(r=a,a={});var n=E(o.hostname),c=this.enableLooseMode;if(null!=a.loose&&(c=a.loose),e instanceof B||(e=B.parse(e,{loose:c})),!e)return i=new Error("Cookie failed to parse"),r(a.ignoreError?null:i);var u=a.now||new Date;if(this.rejectPublicSuffixes&&e.domain&&null==s.getPublicSuffix(e.cdomain()))return i=new Error("Cookie has domain set to a public suffix"),r(a.ignoreError?null:i);if(e.domain){if(!F(n,e.cdomain(),!1))return i=new Error("Cookie not in this host's domain. Cookie:"+e.cdomain()+" Request:"+n),r(a.ignoreError?null:i);null=
Download .txt
gitextract_me2v_ca3/

├── .all-contributorsrc
├── .gitignore
├── .nvmrc
├── .prettierrc
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── functions/
│   └── github.js
├── gatsby-browser.js
├── gatsby-config.js
├── gatsby-node.js
├── gatsby-ssr.js
├── netlify.toml
├── package.json
└── src/
    ├── actions/
    │   ├── PHP-Lint.md
    │   ├── a-branch-cleanup.md
    │   ├── aloba.md
    │   ├── android.md
    │   ├── apprise-ga.md
    │   ├── assignee-to-reviewer.md
    │   ├── automerge.md
    │   ├── aws-sam.md
    │   ├── aws.md
    │   ├── azure.md
    │   ├── azure_node.md
    │   ├── cake-tasks.md
    │   ├── clojure-formatter.md
    │   ├── cloudflare-worker.md
    │   ├── composer.md
    │   ├── cowsays.md
    │   ├── dart-formatter.md
    │   ├── digitalocean.md
    │   ├── discord-notification.md
    │   ├── dnscontrol-action.md
    │   ├── docker-linter.md
    │   ├── docker.md
    │   ├── ember-cli.md
    │   ├── firebase.md
    │   ├── gatsby-cli.md
    │   ├── ghpages.md
    │   ├── git-auto-commit-action.md
    │   ├── gitcret.md
    │   ├── github-deployments.md
    │   ├── github-push-action.md
    │   ├── github-wiki.md
    │   ├── golang.md
    │   ├── google-cloud-platform.md
    │   ├── goreleaser.md
    │   ├── gradle.md
    │   ├── graphql-inspector.md
    │   ├── hadolint.md
    │   ├── heroku.md
    │   ├── home-assistant.md
    │   ├── httpie-action.md
    │   ├── hugo-to-github-pages.md
    │   ├── install-qt-action.md
    │   ├── issue-label-manager.md
    │   ├── jekyll-builds-on-github-pages.md
    │   ├── jenkins-single-shot.md
    │   ├── js-build-tools.md
    │   ├── lint-pull-request.md
    │   ├── mercure.md
    │   ├── mjolnir.md
    │   ├── my-broken-link-checker.md
    │   ├── netlify-build.md
    │   ├── netlify-cli.md
    │   ├── netlify-diff-includes.md
    │   ├── nexmo-sms.md
    │   ├── node-code-formatter.md
    │   ├── notify-slack-action.md
    │   ├── npm-audit-fix.md
    │   ├── npm-cli.md
    │   ├── okteto.md
    │   ├── pandoc.md
    │   ├── php-code-fixer.md
    │   ├── php-stan.md
    │   ├── phpqa.md
    │   ├── powershell-formatter.md
    │   ├── pr-status-giphy.md
    │   ├── psake.md
    │   ├── publish-puppet-forge.md
    │   ├── publish-wordpress-plugin.md
    │   ├── pulumi.md
    │   ├── py-lambda-action.md
    │   ├── pypi-publish.md
    │   ├── rebase-pr.md
    │   ├── release-archive.md
    │   ├── release_notify.md
    │   ├── repetitive.md
    │   ├── rstats.md
    │   ├── rsync.md
    │   ├── ruby-gems.md
    │   ├── ruby-linter.md
    │   ├── run-github-actions-locally.md
    │   ├── semantic-release-action.md
    │   ├── send-emails.md
    │   ├── setup-flutter.md
    │   ├── setup-php.md
    │   ├── shaking-finger.md
    │   ├── size-label-action.md
    │   ├── slack-message-as-bot.md
    │   ├── slack-message.md
    │   ├── sleep.md
    │   ├── spothub.md
    │   ├── ssh.md
    │   ├── storybook-surge.md
    │   ├── synk-cli.md
    │   ├── terraform.md
    │   ├── tslint-linter.md
    │   ├── tweet.md
    │   ├── twitter-action.md
    │   ├── vamp.md
    │   ├── vscode-vsce.md
    │   ├── wait-for-200.md
    │   ├── webpack-stats-to-packtracker.md
    │   ├── wemake-python-styleguide.md
    │   ├── wip.md
    │   ├── wordpress-dotorg-plugin-deploy.md
    │   ├── wordpress-plugin-asset-update.md
    │   ├── wordpress-pot-generator.md
    │   ├── wp-text-domain.md
    │   ├── yarn.md
    │   ├── zeit-now.md
    │   └── zola-deploy.md
    ├── components/
    │   ├── Action-Card/
    │   │   ├── index.js
    │   │   └── styles.css
    │   ├── ActionHeader/
    │   │   └── index.js
    │   ├── Footer/
    │   │   ├── index.js
    │   │   └── styles.css
    │   ├── Navigation/
    │   │   ├── index.js
    │   │   └── styles.css
    │   ├── SiteHeader/
    │   │   └── index.js
    │   ├── layout.css
    │   └── layout.js
    ├── functions/
    │   └── github.js
    ├── images/
    │   └── .gitkeep
    ├── pages/
    │   ├── 404.js
    │   └── index.js
    └── templates/
        ├── blog-post.css
        └── blog-post.js
Download .txt
SYMBOL INDEX (453 symbols across 3 files)

FILE: functions/github.js
  function a (line 1) | function a(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{...
  function s (line 1) | function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}
  function c (line 1) | function c(e,t,a,i,n){throw new r.AssertionError({message:o.format("%s (...
  function u (line 1) | function u(e){return Object.prototype.toString.call(e).slice(8,-1)}
  function p (line 1) | function p(){}
  function c (line 1) | function c(){try{var e=n;return n=null,e.apply(this,arguments)}catch(e){...
  function u (line 1) | function u(e){return n=e,c}
  function r (line 1) | function r(){for(var r in this.constructor=e,this.constructor$=t,t.proto...
  function l (line 1) | function l(e){return null==e||!0===e||!1===e||"string"==typeof e||"numbe...
  function m (line 1) | function m(e){return"function"==typeof e||"object"==typeof e&&null!==e}
  function h (line 1) | function h(e){return l(e)?new Error(S(e)):e}
  function d (line 1) | function d(e,t){var a,r=e.length,i=new Array(r+1);for(a=0;a<r;++a)i[a]=e...
  function f (line 1) | function f(e,t,a){if(!r.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:voi...
  function g (line 1) | function g(e,t,a){if(l(e))return e;var i={value:a,configurable:!0,enumer...
  function v (line 1) | function v(e){throw e}
  function k (line 1) | function k(e){try{if("function"==typeof e){var t=r.names(e.prototype),a=...
  function x (line 1) | function x(e){function t(){}t.prototype=e;var a=new t;function r(){retur...
  function j (line 1) | function j(e){return w.test(e)}
  function _ (line 1) | function _(e,t,a){for(var r=new Array(e),i=0;i<e;++i)r[i]=t+i+a;return r}
  function S (line 1) | function S(e){try{return e+""}catch(e){return"[no string representation]"}}
  function E (line 1) | function E(e){return e instanceof Error||null!==e&&"object"==typeof e&&"...
  function F (line 1) | function F(e){try{g(e,"isOperational",!0)}catch(e){}}
  function P (line 1) | function P(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__...
  function z (line 1) | function z(e){return E(e)&&r.propertyIsWritable(e,"stack")}
  function A (line 1) | function A(e){return{}.toString.call(e)}
  function O (line 1) | function O(e,t,a){for(var i=r.names(e),o=0;o<i.length;++o){var n=i[o];if...
  function I (line 1) | function I(e){return D?process.env[e]:void 0}
  function R (line 1) | function R(){if("function"==typeof Promise)try{var e=new Promise(functio...
  function N (line 1) | function N(e,t){return e.bind(t)}
  function g (line 1) | function g(e){i.object(e,"options"),i.arrayOfObject(e.parts,"options.par...
  function m (line 1) | function m(t){n.writeUInt32BE(t,n.length-4);var r=s.createHmac(e,o);r.up...
  function d (line 1) | function d(e,t,a,i){if(void 0===i&&(i="object"),r.ok(e,i+" must not be n...
  function v (line 1) | function v(e){for(r.buffer(e);e.length>1&&0===e[0]&&0==(128&e[1]);)e=e.s...
  function y (line 1) | function y(e){var t=i.from(e.toByteArray());return t=v(t)}
  function b (line 1) | function b(e){r.object(e,"options"),g.call(this,e),this._pubCache=void 0}
  function i (line 1) | function i(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,i)...
  function o (line 1) | function o(e){Error.captureStackTrace&&Error.captureStackTrace(this,o),t...
  function n (line 1) | function n(e,t,a){Error.captureStackTrace&&Error.captureStackTrace(this,...
  function s (line 1) | function s(e,t,a){Error.captureStackTrace&&Error.captureStackTrace(this,...
  function c (line 1) | function c(e,t,a){Error.captureStackTrace&&Error.captureStackTrace(this,...
  function u (line 1) | function u(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,u)...
  function l (line 1) | function l(e){r.object(e,"options"),r.arrayOfObject(e.parts,"options.par...
  function m (line 1) | function m(e,t,a,i){if("ssh"===a){try{var o=new c({buffer:e}),n=o.readSt...
  function p (line 1) | function p(e,t){function a(r){if(!(this instanceof a))return new a(r);u(...
  function y (line 1) | function y(e){if(!(this instanceof y))return new y(e);u(this,"name","Ope...
  function p (line 1) | function p(e){if(r.string(e),"ssh-dss"===e)return"dsa";if("ssh-rsa"===e)...
  function l (line 1) | function l(e){if(r.object(e),"dsa"===e.type)return"ssh-dss";if("rsa"===e...
  function m (line 1) | function m(e,t,a,l){"string"==typeof a&&(a=i.from(a)),r.buffer(a,"buf");...
  function r (line 1) | function r(e,t,a){var r=a?" !== ":" === ",i=a?" || ":" && ",o=a?"!":"",n...
  function o (line 1) | function o(e){for(var t={},a=0;a<e.length;a++)t[e[a]]=!0;return t}
  function c (line 1) | function c(e){return"number"==typeof e?"["+e+"]":n.test(e)?"."+e:"['"+u(...
  function u (line 1) | function u(e){return e.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\...
  function w (line 1) | function w(e){return"'"+u(e)+"'"}
  function S (line 1) | function S(e,t){return'""'==e?t:(e+" + "+t).replace(/' \+ '/g,"")}
  function E (line 1) | function E(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}
  function F (line 1) | function F(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}
  function o (line 1) | function o(e,t){for(var a in e)t[a]=e[a]}
  function n (line 1) | function n(e,t,a){return i(e,t,a)}
  function d (line 1) | function d(e){if(r.object(e,"options"),r.string(e.type,"options.type"),r...
  function a (line 1) | function a(e,t,a){null!=e&&("number"==typeof e?this.fromNumber(e,t,a):nu...
  function r (line 1) | function r(){return new a(null)}
  function u (line 1) | function u(e){return s.charAt(e)}
  function p (line 1) | function p(e,t){var a=c[e.charCodeAt(t)];return null==a?-1:a}
  function l (line 1) | function l(e){var t=r();return t.fromInt(e),t}
  function m (line 1) | function m(e){var t,a=1;return 0!=(t=e>>>16)&&(e=t,a+=16),0!=(t=e>>8)&&(...
  function h (line 1) | function h(e){this.m=e}
  function d (line 1) | function d(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this....
  function f (line 1) | function f(e,t){return e&t}
  function g (line 1) | function g(e,t){return e|t}
  function v (line 1) | function v(e,t){return e^t}
  function y (line 1) | function y(e,t){return e&~t}
  function b (line 1) | function b(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=1...
  function k (line 1) | function k(e){for(var t=0;0!=e;)e&=e-1,++t;return t}
  function x (line 1) | function x(){}
  function w (line 1) | function w(e){return e}
  function j (line 1) | function j(e){this.r2=r(),this.q3=r(),a.ONE.dlShiftTo(2*e.t,this.r2),thi...
  function z (line 1) | function z(){var e;e=(new Date).getTime(),S[E++]^=255&e,S[E++]^=e>>8&255...
  function q (line 1) | function q(){if(null==_){for(z(),(_=new B).init(S),E=0;E<S.length;++E)S[...
  function T (line 1) | function T(){}
  function B (line 1) | function B(){this.i=0,this.j=0,this.S=new Array}
  function d (line 1) | function d(e,t,a,r){e[t]=a>>24&255,e[t+1]=a>>16&255,e[t+2]=a>>8&255,e[t+...
  function f (line 1) | function f(e,t,a,r,i){var o,n=0;for(o=0;o<i;o++)n|=e[t+o]^a[r+o];return(...
  function g (line 1) | function g(e,t,a,r){return f(e,t,a,r,16)}
  function v (line 1) | function v(e,t,a,r){return f(e,t,a,r,32)}
  function y (line 1) | function y(e,t,a,r){!function(e,t,a,r){for(var i,o=255&r[0]|(255&r[1])<<...
  function b (line 1) | function b(e,t,a,r){!function(e,t,a,r){for(var i,o=255&r[0]|(255&r[1])<<...
  function x (line 1) | function x(e,t,a,r,i,o,n){var s,c,u=new Uint8Array(16),p=new Uint8Array(...
  function w (line 1) | function w(e,t,a,r,i){var o,n,s=new Uint8Array(16),c=new Uint8Array(64);...
  function j (line 1) | function j(e,t,a,r,i){var o=new Uint8Array(32);b(o,r,i,k);for(var n=new ...
  function _ (line 1) | function _(e,t,a,r,i,o,n){var s=new Uint8Array(32);b(s,o,n,k);for(var c=...
  function E (line 1) | function E(e,t,a,r,i,o){var n=new S(o);return n.update(a,r,i),n.finish(e...
  function F (line 1) | function F(e,t,a,r,i,o){var n=new Uint8Array(16);return E(n,0,a,r,i,o),g...
  function P (line 1) | function P(e,t,a,r,i){var o;if(a<32)return-1;for(_(e,0,t,0,a,r,i),E(e,16...
  function z (line 1) | function z(e,t,a,r,i){var o,n=new Uint8Array(32);if(a<32)return-1;if(j(n...
  function C (line 1) | function C(e,t){var a;for(a=0;a<16;a++)e[a]=0|t[a]}
  function A (line 1) | function A(e){var t,a,r=1;for(t=0;t<16;t++)a=e[t]+r+65535,r=Math.floor(a...
  function O (line 1) | function O(e,t,a){for(var r,i=~(a-1),o=0;o<16;o++)r=i&(e[o]^t[o]),e[o]^=...
  function q (line 1) | function q(e,a){var r,i,o,n=t(),s=t();for(r=0;r<16;r++)s[r]=a[r];for(A(s...
  function T (line 1) | function T(e,t){var a=new Uint8Array(32),r=new Uint8Array(32);return q(a...
  function B (line 1) | function B(e){var t=new Uint8Array(32);return q(t,e),1&t[0]}
  function D (line 1) | function D(e,t){var a;for(a=0;a<16;a++)e[a]=t[2*a]+(t[2*a+1]<<8);e[15]&=...
  function I (line 1) | function I(e,t,a){for(var r=0;r<16;r++)e[r]=t[r]+a[r]}
  function R (line 1) | function R(e,t,a){for(var r=0;r<16;r++)e[r]=t[r]-a[r]}
  function N (line 1) | function N(e,t,a){var r,i,o=0,n=0,s=0,c=0,u=0,p=0,l=0,m=0,h=0,d=0,f=0,g=...
  function L (line 1) | function L(e,t){N(e,t,t)}
  function U (line 1) | function U(e,a){var r,i=t();for(r=0;r<16;r++)i[r]=a[r];for(r=253;r>=0;r-...
  function H (line 1) | function H(e,a,r){var i,o,n=new Uint8Array(32),s=new Float64Array(80),u=...
  function $ (line 1) | function $(e,t){return H(e,t,o)}
  function M (line 1) | function M(e,t){return r(t,32),$(e,t)}
  function K (line 1) | function K(e,t,a){var r=new Uint8Array(32);return H(r,a,t),b(e,i,r,k)}
  function W (line 1) | function W(e,t,a,r){for(var i,o,n,s,c,u,p,l,m,h,d,f,g,v,y,b,k,x,w,j,_,S,...
  function Z (line 1) | function Z(e,t,a){var r,i=new Int32Array(8),o=new Int32Array(8),n=new Ui...
  function Y (line 1) | function Y(e,a){var r=t(),i=t(),o=t(),n=t(),s=t(),c=t(),u=t(),l=t(),m=t(...
  function J (line 1) | function J(e,t,a){var r;for(r=0;r<4;r++)O(e[r],t[r],a)}
  function X (line 1) | function X(e,a){var r=t(),i=t(),o=t();U(o,a[2]),N(r,a[0],o),N(i,a[1],o),...
  function ee (line 1) | function ee(e,t,a){var r,i;for(C(e[0],n),C(e[1],s),C(e[2],s),C(e[3],n),i...
  function te (line 1) | function te(e,a){var r=[t(),t(),t(),t()];C(r[0],l),C(r[1],m),C(r[2],s),N...
  function ae (line 1) | function ae(e,a,i){var o,n=new Uint8Array(64),s=[t(),t(),t(),t()];for(i|...
  function ie (line 1) | function ie(e,t){var a,r,i,o;for(r=63;r>=32;--r){for(a=0,i=r-32,o=r-12;i...
  function oe (line 1) | function oe(e){var t,a=new Float64Array(64);for(t=0;t<64;t++)a[t]=e[t];f...
  function ne (line 1) | function ne(e,a,r,i){var o,n,s=new Uint8Array(64),c=new Uint8Array(64),u...
  function se (line 1) | function se(e,a){var r=t(),i=t(),o=t(),c=t(),p=t(),l=t(),m=t();return C(...
  function ce (line 1) | function ce(e,a,r,i){var o,n=new Uint8Array(32),s=new Uint8Array(64),c=[...
  function de (line 1) | function de(e,t){if(e.length!==ue)throw new Error("bad key size");if(t.l...
  function fe (line 1) | function fe(){var e,t;for(t=0;t<arguments.length;t++)if("[object Uint8Ar...
  function ge (line 1) | function ge(e){for(var t=0;t<e.length;t++)e[t]=0}
  function o (line 1) | function o(e){r.object(e,"options"),void 0!==e.buffer&&r.buffer(e.buffer...
  function l (line 1) | function l(e,t){return r.strictEqual(e.peek(),i.Ber.Integer,t+" is not a...
  function m (line 1) | function m(e){var t,a,c,u,p;if(e.peek()===i.Ber.OID){var l=e.readOID();f...
  function h (line 1) | function h(e,t){if(e.startSequence(),u.isPrivateKey(t)){var a=o.from([0]...
  function d (line 1) | function d(e,t){var a=n.curves[e.curve];if(a.pkcs8oid)t.writeOID(a.pkcs8...
  function g (line 1) | function g(e){r.object(e,"options"),r.arrayOfObject(e.subjects,"options....
  function p (line 1) | function p(e){var t=this;if(r.object(e,"options"),r.arrayOfObject(e.comp...
  function h (line 1) | function h(e,t){if("**"===e||"**"===t)return!0;var a=e.split("."),r=t.sp...
  function c (line 1) | function c(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,t|...
  function u (line 1) | function u(e){c.call(this,e,u)}
  function o (line 1) | function o(e,t){this.x=t,this.q=e}
  function n (line 1) | function n(e,t,a,i){this.curve=e,this.x=t,this.y=a,this.z=null==i?r.ONE:...
  function s (line 1) | function s(e,t,a){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fro...
  function d (line 1) | function d(e){if(s.assertCompatible(e,u,[1,4],"key"),this._isPriv=p.isPr...
  function f (line 1) | function f(e){var t=n.curves[e];r.object(t);var a=new h(t.p),i=new h(t.a...
  function g (line 1) | function g(e,t){this._params=e,0===t[0]&&(t=t.slice(1)),this._pub=e.getC...
  function v (line 1) | function v(e,t){this._params=e,this._priv=new h(s.mpNormalize(t))}
  function m (line 1) | function m(e,t){return r.strictEqual(e.peek(),i.Ber.Integer,t+" is not a...
  function p (line 1) | function p(e){return i.from(e.split(" ")[1],"base64")}
  function l (line 1) | function l(e){var t=e.getFullYear()+""+(e.getMonth()+1)+e.getUTCDate();r...
  function a (line 1) | function a(e){this.dict=e||{}}
  function c (line 1) | function c(e,t,a){var r=this._refs[a];if("string"==typeof r){if(!this._r...
  function u (line 1) | function u(e,t){var a=r.parse(t),i=f(a),o=d(this._getId(e.schema));if(0=...
  function l (line 1) | function l(e,t,a,r){if(e.fragment=e.fragment||"","/"==e.fragment.slice(0...
  function h (line 1) | function h(e,t){return!1!==t&&(void 0===t||!0===t?function e(t){var a;if...
  function d (line 1) | function d(e,t){return!1!==t&&(e=v(e)),f(r.parse(e))}
  function f (line 1) | function f(e){return r.serialize(e).split("#")[0]+"#"}
  function v (line 1) | function v(e){return e?e.replace(g,""):""}
  function y (line 1) | function y(e,t){return t=v(t),r.resolve(e,t)}
  function i (line 1) | function i(e,t,a){this.message=a||i.message(e,t),this.missingRef=r.url(e...
  function o (line 1) | function o(e){return e.prototype=Object.create(Error.prototype),e.protot...
  function c (line 1) | function c(e){var t;if(function(e){return e instanceof Error&&n.getProto...
  function n (line 1) | function n(e){this._jar=new o(e,{looseMode:!0})}
  function x (line 31) | function x(e,t,a,r){for(var i=0;i<e.length;){var o=e.charCodeAt(i);if(o<...
  function w (line 31) | function w(e){var t=e.split(":"),a=[0,0,0];if(3!==t.length)return null;f...
  function j (line 31) | function j(e){e=String(e).substr(0,3).toLowerCase();var t=v[e];return t>...
  function _ (line 31) | function _(e){if(e){var t=e.split(g);if(t){for(var a=null,r=null,i=null,...
  function S (line 31) | function S(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var a=e.getUTCHours()...
  function E (line 31) | function E(e){return null==e?null:(e=e.trim().replace(/^\./,""),r&&/[^\u...
  function F (line 31) | function F(e,t,a){if(null==e||null==t)return null;if(!1!==a&&(e=E(e),t=E...
  function P (line 31) | function P(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;v...
  function z (line 31) | function z(e,t){var a,r,i=(e=function(e){for(var t=0;t<d.length;t++){var...
  function C (line 31) | function C(e,t){t&&"object"==typeof t||(t={});var a=(e=e.trim()).indexOf...
  function A (line 31) | function A(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}
  function O (line 31) | function O(e){if(!e)return null;var t;if("string"==typeof e){if((t=A(e))...
  function q (line 31) | function q(e,t){var a=0,r=e.path?e.path.length:0;return 0!==(a=(t.path?t...
  function T (line 31) | function T(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(e...
  function B (line 31) | function B(e){e=e||{},Object.keys(e).forEach(function(t){B.prototype.has...
  function D (line 31) | function D(e,t){"boolean"==typeof t?t={rejectPublicSuffixes:t}:null==t&&...
  function h (line 31) | function h(e){if(e.hostOnly){if(e.domain!=i)return!1}else if(!F(i,e.doma...
  function r (line 91) | function r(){}
  function u (line 151) | function u(e,t){if("sha512"!==t.toLowerCase())throw new Error("ED25519 o...
  function p (line 151) | function p(e,t){if("sha512"!==t.toLowerCase())throw new Error("ED25519 o...
  function l (line 151) | function l(e){if(e.length<=p.length)return!1;if(e.slice(0,p.length).toSt...
  function n (line 151) | function n(e,t,a){return(e[0][t[a+3]]+e[1][t[a+2]]^e[2][t[a+1]])+e[3][t[...
  function s (line 151) | function s(e,t){var a,r=0;for(a=0;a<4;a++,i++)i>=t&&(i=0),r=r<<8|e[i];re...
  function p (line 151) | function p(e,t,a){var r,i=new o,n=new Uint32Array(c),u=new Uint8Array([7...
  function s (line 151) | function s(e){var t=e.indexOf(":");if(-1===t)return null;var a=e.slice(0...
  function l (line 151) | function l(e){return i.Ber.Context|i.Ber.Constructor|e}
  function m (line 151) | function m(e){return i.Ber.Context|e}
  function f (line 151) | function f(e){if(e.peek()===i.Ber.UTCTime)return function(e){var t=e.mat...
  function g (line 151) | function g(e,t){var a,r;t.getUTCFullYear()>=2050||t.getUTCFullYear()<195...
  function x (line 151) | function x(e,t,a){a.readSequence();var r,o,n=a.offset+a.length,c=a.readO...
  function _ (line 151) | function _(e,t){void 0===t&&(t=2);for(var a=""+e;a.length<t;)a="0"+a;ret...
  function S (line 151) | function S(e,t){var a=e.signatures.x509;r.object(a,"x509 signature"),t.s...
  function E (line 151) | function E(e,t){var a=t.length,r=Math.ceil(a/8),i=8*r-a,n=o.alloc(1+r);n...
  function o (line 151) | function o(e){var t,a,o,n,u,p,l,m,h,d=["([^%]*)","%","(['\\-+ #0]*?)","(...
  function n (line 151) | function n(e){var t=Array.prototype.slice.call(arguments,1);return e.wri...
  function s (line 151) | function s(e,t,a,r){for(var i=r;i.length<t;)a?i+=e:i=e+i;return i}
  function c (line 151) | function c(e){var t;if(!(e instanceof Error))throw new Error(o("invalid ...
  function p (line 157) | function p(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),a=t&&n[...
  function s (line 157) | function s(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxD...
  function n (line 157) | function n(e,t){return e<t?-1:e>t?1:0}
  function i (line 157) | function i(e){return e instanceof r.Stream}
  function o (line 157) | function o(e){return i(e)&&"function"==typeof e._read&&"object"==typeof ...
  function n (line 157) | function n(e){return i(e)&&"function"==typeof e._write&&"object"==typeof...
  function W (line 157) | function W(e){for(var t=e.rules,a=0;a<t.length;a++)if(Z(t[a]))return!0}
  function Z (line 157) | function Z(t){return void 0!==e.schema[t.keyword]||t.implements&&functio...
  function o (line 157) | function o(){}
  function P (line 157) | function P(e){e!==f&&function(e,t){if(null==e||e.constructor!==P)throw n...
  function z (line 157) | function z(e){this.promise._resolveCallback(e)}
  function C (line 157) | function C(e){this.promise._rejectCallback(e,!1)}
  function A (line 157) | function A(e){var t=new P(f);t._fulfillmentHandler0=e,t._rejectionHandle...
  function s (line 157) | function s(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueu...
  function c (line 157) | function c(e,t,a){this._lateQueue.push(e,t,a),this._queueTick()}
  function u (line 157) | function u(e,t,a){this._normalQueue.push(e,t,a),this._queueTick()}
  function p (line 157) | function p(e){this._normalQueue._pushOne(e),this._queueTick()}
  function l (line 157) | function l(e){for(;e.length()>0;)m(e)}
  function m (line 157) | function m(e){var t=e.shift();if("function"!=typeof t)t._settlePromises(...
  function r (line 157) | function r(e){this._capacity=e,this._length=0,this._front=0}
  function s (line 157) | function s(a){var r=this._promise=new e(t);a instanceof e&&r._propagateF...
  function r (line 157) | function r(){this._trace=new r.CapturedTrace(i())}
  function i (line 157) | function i(){var e=a.length-1;if(e>=0)return a[e]}
  function S (line 157) | function S(e,t){return{promise:t}}
  function P (line 157) | function P(){return!1}
  function z (line 157) | function z(e,t,a){var r=this;try{e(t,a,function(e){if("function"!=typeof...
  function C (line 157) | function C(e){if(!this._isCancellable())return this;var t=this._onCancel...
  function A (line 157) | function A(){return this._onCancelField}
  function O (line 157) | function O(e){this._onCancelField=e}
  function q (line 157) | function q(){this._cancellationParent=void 0,this._onCancelField=void 0}
  function T (line 157) | function T(e,t){if(0!=(1&t)){this._cancellationParent=e;var a=e._branche...
  function D (line 157) | function D(){var t=this._boundTo;return void 0!==t&&t instanceof e?t.isF...
  function I (line 157) | function I(){this._trace=new Z(this._peekContext())}
  function R (line 157) | function R(e,t){if(l(e)){var a=this._trace;if(void 0!==a&&t&&(a=a._paren...
  function N (line 157) | function N(){this._trace=void 0}
  function L (line 157) | function L(t,a,r){if(J.warnings){var i,o=new c(t);if(a)r._attachExtraTra...
  function U (line 157) | function U(e){for(var t=[],a=0;a<e.length;++a){var r=e[a],i="    (No sta...
  function H (line 157) | function H(e){var t=e.stack,a=e.toString();return t="string"==typeof t&&...
  function $ (line 157) | function $(e,t,a){if("undefined"!=typeof console){var r;if(u.isObject(e)...
  function M (line 157) | function M(e,t,a,r){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionH...
  function K (line 157) | function K(e){var t;if("function"==typeof e)t="[function "+(e.name||"ano...
  function V (line 157) | function V(){return"function"==typeof Y}
  function W (line 157) | function W(e){var t=e.match(G);if(t)return{fileName:t[1],line:parseInt(t...
  function Z (line 157) | function Z(e){this._parent=e,this._promisesCreated=0;var t=this._length=...
  function c (line 157) | function c(e,t,a){this.promise=e,this.type=t,this.handler=a,this.called=...
  function u (line 157) | function u(e){this.finallyHandler=e}
  function p (line 157) | function p(e,t){return null!=e.cancelPromise&&(arguments.length>1?e.canc...
  function l (line 157) | function l(){return h.call(this,this.promise._target()._settledValue())}
  function m (line 157) | function m(e){if(!p(this,e))return n.e=e,n}
  function h (line 157) | function h(a){var i=this.promise,s=this.handler;if(!this.called){this.ca...
  function t (line 157) | function t(){return this.value}
  function a (line 157) | function a(){throw this.reason}
  function t (line 157) | function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this....
  function m (line 157) | function m(e,t,a,r){this.constructor$(e),this._promise._captureStackTrac...
  function h (line 157) | function h(t,a,i,o){if("function"!=typeof a)return r("expecting a functi...
  function m (line 157) | function m(t,a){var r;if(null!=t&&(r=t[a]),"function"!=typeof r){var i="...
  function h (line 157) | function h(e){return m(e,this.pop()).apply(e,this)}
  function d (line 157) | function d(e){return e[this]}
  function f (line 157) | function f(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}
  function h (line 157) | function h(e){setTimeout(function(){throw e},0)}
  function d (line 157) | function d(t,a){var i=0,n=t.length,s=new e(o);return function o(){if(i>=...
  function f (line 157) | function f(e,t,a){this._data=e,this._promise=t,this._context=a}
  function g (line 157) | function g(e,t,a){this.constructor$(e,t,a)}
  function v (line 157) | function v(e){return f.isDisposer(e)?(this.resources[this.index]._setDis...
  function y (line 157) | function y(e){this.length=e,this.promise=null,this[e-1]=null}
  function n (line 157) | function n(e){this.handle=e}
  function u (line 157) | function u(e){return clearTimeout(this.handle),e}
  function p (line 157) | function p(e){throw clearTimeout(this.handle),e}
  function m (line 157) | function m(t,a,i,o){if(n.cancellation()){var s=new e(r),c=this._finallyP...
  function n (line 157) | function n(e,a){if(!t.isArray(e))return s.call(this,e,a);var n=i(a).appl...
  function s (line 157) | function s(e,t){var a=this._boundValue(),n=void 0===e?i(t).call(a,null):...
  function c (line 157) | function c(e,t){if(!e){var a=new Error(e+"");a.cause=e,e=a}var n=i(t).ca...
  function h (line 157) | function h(e){return!l.test(e)}
  function d (line 157) | function d(e){try{return!0===e.__isPromisified__}catch(e){return!1}}
  function f (line 157) | function f(e,t,a){var r=i.getDataPropertyOrDefault(e,t+a,p);return!!r&&d...
  function g (line 157) | function g(e,t,a,r){for(var o=i.inheritedDataKeys(e),n=[],s=0;s<o.length...
  function f (line 157) | function f(){var i=c;c===r&&(i=this);var u=new e(t);u._captureStackTrace...
  function k (line 157) | function k(e,t,a,o,n){for(var s=new RegExp(v(t)+"$"),c=g(e,t,s,a),u=0,p=...
  function a (line 157) | function a(a,r){this[e]=a,this[e+t]=r,e++}
  function p (line 157) | function p(e){var t,a=!1;if(void 0!==o&&e instanceof o)t=u(e),a=!0;else{...
  function l (line 157) | function l(t){var a,o=r(t);return s(o)?(a=o instanceof e?o._then(e.props...
  function s (line 157) | function s(a,s){var c=r(a);if(c instanceof e)return n(c);if(null===(a=o....
  function p (line 157) | function p(t,a,r,i){this.constructor$(t);var n=s();this._fn=null===n?a:c...
  function l (line 157) | function l(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}
  function m (line 157) | function m(e,t,a,i){return"function"!=typeof t?r("expecting a function b...
  function h (line 157) | function h(t){this.accum=t,this.array._gotAccum(t);var a=i(this.value,th...
  function d (line 157) | function d(t){var a,r=this.array,i=r._promise,o=u(r._fn);i._pushContext(...
  function o (line 157) | function o(e){this.constructor$(e)}
  function u (line 157) | function u(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this....
  function p (line 157) | function p(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer...
  function i (line 157) | function i(){return r(this)}
  function a (line 157) | function a(e){var a=new t(e),r=a.promise();return a.setHowMany(1),a.setU...
  function r (line 157) | function r(e,t,a){this.name="RequestError",this.message=String(e),this.c...
  function i (line 157) | function i(e,t,a,r){this.name="StatusCodeError",this.statusCode=e,this.m...
  function o (line 157) | function o(e,t,a){this.name="TransformError",this.message=String(e),this...
  function i (line 157) | function i(e,t){for(var a in e)Object.prototype.hasOwnProperty.call(e,a)...
  function o (line 157) | function o(e,t){return i(t,function(a){e[a]=t[a]}),e}
  function n (line 157) | function n(e){i(e,function(t){r.test(t)||delete e[t]})}
  function n (line 157) | function n(e,t,a){"function"==typeof t&&(a=t);var i={};return"object"==t...
  function s (line 157) | function s(e,t,a){if(void 0===e)throw new Error("undefined is not a vali...
  function c (line 157) | function c(e){var t=e.toUpperCase();return function(e,a,r){var i=n(e,a,r...
  function u (line 157) | function u(e,t,a,i){return function(o,s,c){var u=n(o,s,c),p={};return r(...
  function s (line 187) | function s(){r.call(this),this.idx={}}
  function a (line 187) | function a(e,t){var a=[],r=[];return null==t&&(t=function(e,t){return a[...
  function L (line 187) | function L(){return{uri:this.uri,method:this.method,headers:this.headers}}
  function U (line 187) | function U(){return{statusCode:this.statusCode,body:this.body,headers:th...
  function H (line 187) | function H(e){e.har&&(this._har=new j(this),e=this._har.options(e)),s.St...
  function $ (line 187) | function $(){H.debug&&console.error("REQUEST %s",n.format.apply(n,argume...
  function S (line 187) | function S(){var e;(y(t.body)&&(t.body=A.from(t.body)),t.hasHeader("cont...
  function n (line 203) | function n(e){return"AWS "+e.key+":"+c(e)}
  function s (line 203) | function s(e){return r.createHmac("sha1",e.secret).update(e.message).dig...
  function c (line 203) | function c(e){return e.message=u(e),s(e)}
  function u (line 203) | function u(e){var t=e.amazonHeaders||"";return t&&(t+="\n"),[e.verb,e.md...
  function p (line 203) | function p(e){return"GET\n\n\n"+e.date+"\n"+e.resource}
  function c (line 203) | function c(e,t,a){return n.createHmac("sha256",e).update(t,"utf8").diges...
  function u (line 203) | function u(e,t){return n.createHash("sha256").update(e,"utf8").digest(t)}
  function p (line 203) | function p(e){return e.replace(/[!'()*]/g,function(e){return"%"+e.charCo...
  function l (line 203) | function l(e,t){"string"==typeof e&&(e=i.parse(e));var a=e.headers=e.hea...
  function a (line 203) | function a(e){this.capacity=0|e,this.map=Object.create(null),this.list=n...
  function r (line 203) | function r(){this.firstNode=null,this.lastNode=null}
  function i (line 203) | function i(e,t){this.key=e,this.val=t,this.prev=null,this.next=null}
  function f (line 203) | function f(e){n.call(this,e,f)}
  function g (line 203) | function g(e){n.call(this,e,g)}
  function v (line 203) | function v(e){n.call(this,e,v)}
  function y (line 203) | function y(e){n.call(this,e,y)}
  function b (line 203) | function b(e){n.call(this,e,b)}
  function s (line 203) | function s(e){if(!e||!i.isBuffer(e))throw new TypeError("data must be a ...
  function c (line 203) | function c(e){var t,a;t=s,a=e||{},r.ok(t),r.equal(typeof t,"object"),r.o...
  function n (line 203) | function n(e,t){return e.length>=t?e:n("0"+e,t)}
  function o (line 203) | function o(e,t,a,r){this.curve=e,this.g=t,this.n=a,this.h=r}
  function n (line 203) | function n(e){return new r(e,16)}
  function s (line 203) | function s(){var e=n("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF"),t=n("FFFFFFFDFF...
  function c (line 203) | function c(){var e=n("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73"),t=r.ZER...
  function u (line 203) | function u(){var e=n("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF"),t=n("FF...
  function p (line 203) | function p(){var e=n("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37")...
  function l (line 203) | function l(){var e=n("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF")...
  function m (line 203) | function m(){var e=n("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000...
  function h (line 203) | function h(){var e=n("FFFFFFFF00000001000000000000000000000000FFFFFFFFFF...
  function g (line 203) | function g(e,t,a){var o=new i({buffer:e}),n=o.readString();if(void 0!==t...
  function v (line 203) | function v(e){var t=4294967296*e.readUInt32BE(0);t+=e.readUInt32BE(4);va...
  function y (line 203) | function y(e){if(void 0!==e.sourceInt64)return e.sourceInt64;var t=Math....
  function b (line 203) | function b(e,t){r.object(e.signatures.openssh,"signature for openssh for...
  function k (line 203) | function k(e){if("rsa"===e.type)return"ssh-rsa-cert-v01@openssh.com";if(...
  function g (line 203) | function g(e){h.call(this,e,g)}
  function v (line 203) | function v(e){h.call(this,e,v)}
  function y (line 203) | function y(e){r.object(e,"options");var t=[];if(void 0!==e.algorithm&&(r...
  function s (line 203) | function s(e,t){return r.equal(typeof t,"string"),Object.prototype.hasOw...
  function C (line 203) | function C(e){return e>=h&&e<=d?e-F:e>=f&&e<=k?e-P:e>=x&&e<=E?e-z:-1}
  function A (line 203) | function A(e){return 32===e||e>=9&&e<=13||160===e||5760===e||6158===e||e...
  function O (line 203) | function O(e,t){var a=n.validate(t,e);if(0===a.errors.length)return null...
  function q (line 203) | function q(e){r.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrt...
  function T (line 203) | function T(e,t){q(e),q(t),r.ok(e[0]>t[0]||e[0]==t[0]&&e[1]>=t[1],"negati...
  function B (line 203) | function B(e,t){return q(e),q(t),e[1]+=t[1],e[1]>=1e9&&(e[0]++,e[1]-=1e9...
  function D (line 203) | function D(e,t,a){var r,i;if(r={},a)for(i in a)r[i]=a[i];if(e)for(i in e...
  function c (line 203) | function c(e){var t,a,i,o;if(r.object(e,"args"),r.bool(e.strict,"args.st...
  function u (line 203) | function u(){var e,t,a,i,o,s,p;if(e=Array.prototype.slice.call(arguments...
  function p (line 203) | function p(){var e,t,a,r;return e=Array.prototype.slice.call(arguments,0...
  function l (line 203) | function l(e){r.array(e,"list of errors"),r.ok(e.length>0,"must be at le...
  function m (line 203) | function m(){var e,t,a,r;return e=Array.prototype.slice.call(arguments,0...
  function a (line 203) | function a(e){return Object.prototype.toString.call(e)}
  function a (line 203) | function a(e,t){return a(e,t,{changing:!1})}
  function o (line 203) | function o(e){return e.type||t[e.name]==e&&e.name.toLowerCase()}
  function s (line 203) | function s(e,t,a,c){var u;function p(e){n.push({property:a,message:e})}i...
  function c (line 209) | function c(e,t){return"string"==typeof e?e+":"+t:e.host+":"+e.port+":"+(...
  function u (line 209) | function u(e){var t=this;t.options=e||{},t.requests={},t.sockets={},t.fr...
  function p (line 209) | function p(e){u.call(this,e)}
  function h (line 209) | function h(e){if(!(this instanceof h))return new h;for(var t in this._ov...
  function o (line 209) | function o(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,t...
  function i (line 209) | function i(e){return o(e)||n(e)}
  function o (line 209) | function o(e){return e instanceof Int8Array||e instanceof Int16Array||e ...
  function n (line 209) | function n(e){return r[a.call(e)]}
  function r (line 209) | function r(e){return e.replace(/^\.*/,".").toLowerCase()}
  function i (line 209) | function i(e){var t=(e=e.trim().toLowerCase()).split(":",2);return{hostn...
  function o (line 209) | function o(e){this.request=e,this.lib=null,this.useQuerystring=null,this...
  function s (line 209) | function s(e){this.request=e}
  function a (line 209) | function a(t){return t.some(function(t){return 0===e.postData.mimeType.i...
  function i (line 209) | function i(e){return 0===a.postData.mimeType.indexOf(e)}
  function s (line 209) | function s(e,t){t=t||{};var s=(r=r||function(){var e=new i({allErrors:!0...
  function o (line 209) | function o(){var t=e.validate,a=t.apply(this,arguments);return o.errors=...
  function v (line 209) | function v(e){if(!(this instanceof v))return new v(e);e=this._opts=l.cop...
  function y (line 209) | function y(e,t){return t=i.normalizeId(t),e._schemas[t]||e._refs[t]||e._...
  function b (line 209) | function b(e,t,a){for(var r in t){var i=t[r];i.meta||a&&!a.test(r)||(e._...
  function k (line 209) | function k(e){return e.$id&&this.logger.warn("schema $id ignored",e.$id)...
  function x (line 209) | function x(e){return e.id&&this.logger.warn("schema id ignored",e.id),e....
  function w (line 209) | function w(e){if(e.$id&&e.id&&e.$id!=e.id)throw new Error("schema $id is...
  function j (line 209) | function j(e,t){if(e._schemas[t]||e._refs[t])throw new Error('schema wit...
  function _ (line 209) | function _(){}
  function l (line 209) | function l(e,t,a){for(var r=0;r<this._compilations.length;r++){var i=thi...
  function m (line 209) | function m(e,t){return"var pattern"+e+" = new RegExp("+i.toQuotedString(...
  function h (line 209) | function h(e){return"var default"+e+" = defaults["+e+"];"}
  function d (line 209) | function d(e,t){return void 0===t[e]?"":"var refVal"+e+" = refVal["+e+"];"}
  function f (line 209) | function f(e){return"var customRule"+e+" = customRules["+e+"];"}
  function g (line 209) | function g(e,t){if(!e.length)return"";for(var a="",r=0;r<e.length;r++)a+...
  function T (line 209) | function T(t,n,l,v){var y=!n||n&&n.schema==t;if(n.schema!=a.schema)retur...
  function B (line 209) | function B(t,i,o){i=r.url(t,i);var n,s,c=w[i];if(void 0!==c)return I(n=x...
  function D (line 209) | function D(e,t){var a=x.length;return x[a]=t,w[e]=a,"refVal"+a}
  function I (line 209) | function I(e,t){return"object"==typeof e||"boolean"==typeof e?{code:t,sc...
  function R (line 209) | function R(e){var t=_[e];return void 0===t&&(t=_[e]=j.length,j[t]=e),"pa...
  function N (line 209) | function N(e){switch(typeof e){case"boolean":case"number":return""+e;cas...
  function L (line 209) | function L(e,t,a,r){var i=e.definition.validateSchema;if(i&&!1!==b._opts...
  function t (line 211) | function t(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=argu...
  function a (line 211) | function a(e){return"(?:"+e+")"}
  function r (line 211) | function r(e){return void 0===e?"undefined":null===e?"null":Object.proto...
  function i (line 211) | function i(e){return e.toUpperCase()}
  function o (line 211) | function o(e){var r=t("[0-9]","[A-Fa-f]"),i=a(a("%[EFef]"+r+"%"+r+r+"%"+...
  function g (line 211) | function g(e){throw new RangeError(h[e])}
  function v (line 211) | function v(e,t){var a=e.split("@"),r="";a.length>1&&(r=a[0]+"@",e=a[1]);...
  function y (line 211) | function y(e){for(var t=[],a=0,r=e.length;a<r;){var i=e.charCodeAt(a++);...
  function S (line 211) | function S(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUp...
  function E (line 211) | function E(e){for(var t="",a=0,r=e.length;a<r;){var i=parseInt(e.substr(...
  function F (line 211) | function F(e,t){function a(e){var a=E(e);return a.match(t.UNRESERVED)?a:...
  function P (line 211) | function P(e){return e.replace(/^0*(.*)/,"$1")||"0"}
  function z (line 211) | function z(e,t){var a=e.match(t.IPV4ADDRESS)||[],r=c(a,2),i=r[1];return ...
  function C (line 211) | function C(e,t){var a=e.match(t.IPV6ADDRESS)||[],r=c(a,3),i=r[1],o=r[2];...
  function q (line 211) | function q(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
  function R (line 211) | function R(e){for(var t=[];e.length;)if(e.match(T))e=e.replace(T,"");els...
  function N (line 211) | function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
  function L (line 211) | function L(e,t){var a=arguments.length>2&&void 0!==arguments[2]?argument...
  function U (line 211) | function U(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:n....
  function ee (line 211) | function ee(e){var t=E(e);return t.match(W)?t:e}
  function f (line 211) | function f(e){return e="full"==e?"full":"fast",r.copy(f[e])}
  function g (line 211) | function g(e){var t=e.match(i);if(!t)return!1;var a=+t[1],r=+t[2],n=+t[3...
  function v (line 211) | function v(e,t){var a=e.match(n);if(!a)return!1;var r=a[1],i=a[2],o=a[3]...
  function x (line 211) | function x(e){if(k.test(e))return!1;try{return new RegExp(e),!0}catch(e)...
  function i (line 211) | function i(r){var i=r.missingSchema;if(u(i))throw new Error("Schema "+i+...
  function c (line 211) | function c(){delete o._loadingSchemas[i]}
  function u (line 211) | function u(e){return o._refs[e]||o._schemas[e]}
  function i (line 211) | function i(r){var i=r.missingSchema;if(u(i))throw new Error("Schema "+i+...
  function s (line 211) | function s(t){var a=t.$schema;return a&&!o.getSchema(a)?e.call(o,{$ref:a...
  function p (line 211) | function p(e,t,r){for(var o,n=0;n<a.length;n++){var s=a[n];if(s.type==t)...
  function l (line 211) | function l(e){if(!a.types[e])throw new Error("Unknown type "+e)}
  function a (line 211) | function a(e){this.name="HARError",this.message="validation failed",this...
  function c (line 211) | function c(e){this.request=e,this.hasAuth=!1,this.sentAuth=!1,this.beare...
  function p (line 211) | function p(e){this.request=e,this.params=null}
  function i (line 211) | function i(e,t,a){return r.createHmac(a,e).update(t).digest("base64")}
  function o (line 211) | function o(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/...
  function n (line 211) | function n(e,t){return e>t?1:e<t?-1:0}
  function s (line 211) | function s(e,t,a){var r=function(e){var t,a,r=[];for(t in e)if(a=e[t],Ar...
  function c (line 211) | function c(e,t,a,r,n){var c=s(e,t,a);return i([r||"",n||""].map(o).join(...
  function u (line 211) | function u(e,t,a,r,n){var c=s(e,t,a);return i([r||"",n||""].map(o).join(...
  function p (line 211) | function p(e,t,a,i,o){return function(e,t){return r.createSign("RSA-SHA1...
  function l (line 211) | function l(e,t){return[e||"",t||""].map(o).join("&")}
  function s (line 211) | function s(e){this.request=e,this.boundary=r(),this.chunked=!1,this.body...
  function o (line 211) | function o(e){return"number"==typeof e&&(e=e.toString()),t?r.append(e):r...
  function o (line 211) | function o(e){this.request=e,this.followRedirect=!0,this.followRedirects...
  function s (line 211) | function s(e){this.request=e,this.proxyHeaderWhiteList=o,this.proxyHeade...
  function l (line 211) | function l(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy|...
  function m (line 211) | function m(e,t){var a=this;l.prototype.createSocket.call(a,e,function(r)...
  function h (line 211) | function h(e){for(var t=1,a=arguments.length;t<a;++t){var r=arguments[t]...
  function r (line 211) | function r(){t.emit("free",a,e.host,e.port)}
  function i (line 211) | function i(e){t.removeSocket(a),a.removeListener("free",r),a.removeListe...
  function s (line 211) | function s(o,s,u){if(n.removeAllListeners(),s.removeAllListeners(),200==...
  function c (line 211) | function c(e,t){return 0===t?e+"\n":e+"\n"+(0,s.default)("",2*t)}

FILE: src/pages/index.js
  class IndexPage (line 11) | class IndexPage extends Component {
    method handleFilter (line 16) | handleFilter(event) {
    method render (line 21) | render() {

FILE: src/templates/blog-post.js
  function Template (line 11) | function Template({ data }) {
Condensed preview — 140 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,155K chars).
[
  {
    "path": ".all-contributorsrc",
    "chars": 8049,
    "preview": "{\n  \"projectName\": \"github-actions\",\n  \"projectOwner\": \"boyney123\",\n  \"repoType\": \"github\",\n  \"repoHost\": \"https://githu"
  },
  {
    "path": ".gitignore",
    "chars": 986,
    "preview": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\n./functions\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lo"
  },
  {
    "path": ".nvmrc",
    "chars": 9,
    "preview": "v10.16.3\n"
  },
  {
    "path": ".prettierrc",
    "chars": 69,
    "preview": "{\n  \"semi\": false,\n  \"singleQuote\": true,\n  \"trailingComma\": \"es5\"\n}\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "chars": 1625,
    "preview": "## Contributing\n\nHi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keep"
  },
  {
    "path": "LICENSE",
    "chars": 1094,
    "preview": "MIT License\n\nCopyright (c) David Boyne <davidboyne123@hotmail.co.uk> \n\nPermission is hereby granted, free of charge, to "
  },
  {
    "path": "README.md",
    "chars": 12568,
    "preview": "<div align=\"center\">\n<h1>github-actions</h1>\n<a href=\"https://www.emojione.com/emoji/1f428\">\n<img height=\"80\" width=\"80\""
  },
  {
    "path": "functions/github.js",
    "chars": 791760,
    "preview": "!function(e,t){for(var a in t)e[a]=t[a]}(exports,function(e){var t={};function a(r){if(t[r])return t[r].exports;var i=t["
  },
  {
    "path": "gatsby-browser.js",
    "chars": 164,
    "preview": "/**\n * Implement Gatsby's Browser APIs in this file.\n *\n * See: https://www.gatsbyjs.org/docs/browser-apis/\n */\n\n// You "
  },
  {
    "path": "gatsby-config.js",
    "chars": 1267,
    "preview": "module.exports = {\n  siteMetadata: {\n    title: 'Github Actions',\n  },\n  plugins: [\n    'gatsby-plugin-react-helmet',\n  "
  },
  {
    "path": "gatsby-node.js",
    "chars": 796,
    "preview": "const path = require('path')\n\nexports.createPages = ({ actions, graphql }) => {\n  const { createPage } = actions\n\n  cons"
  },
  {
    "path": "gatsby-ssr.js",
    "chars": 180,
    "preview": "/**\n * Implement Gatsby's SSR (Server Side Rendering) APIs in this file.\n *\n * See: https://www.gatsbyjs.org/docs/ssr-ap"
  },
  {
    "path": "netlify.toml",
    "chars": 34,
    "preview": "\n[build]\n  functions = \"functions\""
  },
  {
    "path": "package.json",
    "chars": 1400,
    "preview": "{\n  \"name\": \"github-action\",\n  \"description\": \"List of Github Actions\",\n  \"version\": \"1.0.0\",\n  \"author\": \"David Boyne\","
  },
  {
    "path": "src/actions/PHP-Lint.md",
    "chars": 813,
    "preview": "---\npath: \"/PHP-Lint\"\ntitle: \"PHP Lint\"\ngithub_url: \"https://github.com/michaelw90/PHP-Lint\"\nauthor: \"michaelw90\"\nsubtit"
  },
  {
    "path": "src/actions/a-branch-cleanup.md",
    "chars": 1058,
    "preview": "---\npath: '/a-branch-cleanup'\ntitle: 'A Branch Cleanup'\ngithub_url: 'https://github.com/jessfraz/branch-cleanup-action'\n"
  },
  {
    "path": "src/actions/aloba.md",
    "chars": 2300,
    "preview": "---\npath: \"/aloba\"\ntitle: \"aloba\"\ngithub_url: \"https://github.com/containous/aloba\"\nauthor: \"containous\"\nsubtitle: \"Myrm"
  },
  {
    "path": "src/actions/android.md",
    "chars": 322,
    "preview": "---\npath: '/android'\ntitle: 'Android'\ngithub_url: 'https://github.com/vgaidarji/android-github-actions'\nauthor: 'vgaidar"
  },
  {
    "path": "src/actions/apprise-ga.md",
    "chars": 2328,
    "preview": "---\npath: \"/apprise-ga\"\ntitle: \"apprise-ga\"\ngithub_url: \"https://github.com/cstuder/apprise-ga\"\nauthor: \"cstuder\"\nsubtit"
  },
  {
    "path": "src/actions/assignee-to-reviewer.md",
    "chars": 1098,
    "preview": "---\npath: '/assignee-to-reviewer'\ntitle: 'Set pull request reviewers based on assignees'\ngithub_url: 'https://github.com"
  },
  {
    "path": "src/actions/automerge.md",
    "chars": 2031,
    "preview": "---\npath: '/automerge'\ntitle: 'Automerge'\ngithub_url: 'https://github.com/pascalgn/automerge-action'\nauthor: 'Pascal'\ntw"
  },
  {
    "path": "src/actions/aws-sam.md",
    "chars": 890,
    "preview": "---\npath: '/aws-sam'\ntitle: 'AWS SAM'\ngithub_url: 'https://github.com/apex/actions/'\nauthor: 'apex'\ntags: ['aws', 'sam',"
  },
  {
    "path": "src/actions/aws.md",
    "chars": 429,
    "preview": "---\npath: '/aws'\ntitle: 'aws'\ngithub_url: 'https://github.com/actions/aws'\nauthor: 'github'\ntags: ['aws', 'amazon']\nsubt"
  },
  {
    "path": "src/actions/azure.md",
    "chars": 414,
    "preview": "---\npath: '/azure'\ntitle: 'Azure'\ngithub_url: 'https://github.com/Azure/github-actions'\nauthor: 'Azure'\ntags: ['azure', "
  },
  {
    "path": "src/actions/azure_node.md",
    "chars": 325,
    "preview": "---\npath: '/azure-node'\ntitle: 'Azure-Node'\ngithub_url: 'https://github.com/sdras/example-azure-node'\nauthor: 'Sarah Dra"
  },
  {
    "path": "src/actions/cake-tasks.md",
    "chars": 435,
    "preview": "---\npath: '/cake-tasks'\ntitle: 'Cake Tasks'\ngithub_url: 'https://github.com/gep13/cake-actions'\nauthor: 'gep13'\ntags: []"
  },
  {
    "path": "src/actions/clojure-formatter.md",
    "chars": 1356,
    "preview": "---\npath: '/clojure-formatter'\ntitle: 'Clojure Formatter'\ngithub_url: 'https://github.com/bltavares/actions'\nauthor: 'bl"
  },
  {
    "path": "src/actions/cloudflare-worker.md",
    "chars": 1665,
    "preview": "---\npath: '/cloudflare-workder'\ntitle: 'Cloudflare worker'\ngithub_url: 'https://github.com/cpilsworth/cloudflare-worker-"
  },
  {
    "path": "src/actions/composer.md",
    "chars": 493,
    "preview": "---\npath: '/composer'\ntitle: 'Composer'\ngithub_url: 'https://github.com/pxgamer/composer-action'\nauthor: 'Owen Voke'\ntwi"
  },
  {
    "path": "src/actions/cowsays.md",
    "chars": 696,
    "preview": "---\npath: '/cowsays'\ntitle: 'Cowsays Action'\ngithub_url: 'https://github.com/mscoutermarsh/cowsays-action'\nauthor: 'Mike"
  },
  {
    "path": "src/actions/dart-formatter.md",
    "chars": 1106,
    "preview": "---\npath: '/dart-formatter'\ntitle: 'Dart & flutter formatter'\ngithub_url: 'https://github.com/bltavares/actions'\nauthor:"
  },
  {
    "path": "src/actions/digitalocean.md",
    "chars": 1810,
    "preview": "---\npath: \"/actions\"\ntitle: \"DigitalOcean\"\ngithub_url: \"https://github.com/digitalocean/actions\"\nauthor: \"digitalocean\"\n"
  },
  {
    "path": "src/actions/discord-notification.md",
    "chars": 1811,
    "preview": "---\npath: '/discord-notification'\ntitle: 'Discord Notification'\ngithub_url: 'https://github.com/Ilshidur/action-discord'"
  },
  {
    "path": "src/actions/dnscontrol-action.md",
    "chars": 4352,
    "preview": "---\npath: '/dnscontrol-action'\ntitle: 'dnscontrol-action'\ngithub_url: 'https://github.com/koenrh/dnscontrol-action'\nauth"
  },
  {
    "path": "src/actions/docker-linter.md",
    "chars": 1492,
    "preview": "---\npath: '/docker-linter'\ntitle: 'DockerFile Linter'\ngithub_url: 'https://github.com/jwr0/dockerfile-linter-action'\naut"
  },
  {
    "path": "src/actions/docker.md",
    "chars": 453,
    "preview": "---\npath: '/docker'\ntitle: 'Docker'\ngithub_url: 'https://github.com/actions/docker'\nauthor: 'GitHub'\ntags: ['docker', 'c"
  },
  {
    "path": "src/actions/ember-cli.md",
    "chars": 800,
    "preview": "---\npath: '/ember-cli'\ntitle: 'Ember Cli'\ngithub_url: 'https://github.com/NuckChorris/ember-cli-actions'\nauthor: 'NuckCh"
  },
  {
    "path": "src/actions/firebase.md",
    "chars": 867,
    "preview": "---\npath: '/firebase'\ntitle: 'Firebase'\ngithub_url: 'https://github.com/w9jds/firebase-action'\nauthor: 'w9jds'\ntags: ['f"
  },
  {
    "path": "src/actions/gatsby-cli.md",
    "chars": 828,
    "preview": "---\npath: '/gatsby-cli'\ntitle: 'Gatsby CLI'\ngithub_url: 'https://github.com/jzweifel/gatsby-cli-github-action'\nauthor: '"
  },
  {
    "path": "src/actions/ghpages.md",
    "chars": 3301,
    "preview": "---\npath: \"/ghpages\"\ntitle: \"ghpages\"\ngithub_url: \"https://github.com/maxheld83/ghpages\"\nauthor: \"maxheld83\"\nsubtitle: \""
  },
  {
    "path": "src/actions/git-auto-commit-action.md",
    "chars": 3513,
    "preview": "---\npath: \"/git-auto-commit-action\"\ntitle: \"git-auto-commit-action\"\ngithub_url: \"https://github.com/stefanzweifel/git-au"
  },
  {
    "path": "src/actions/gitcret.md",
    "chars": 1464,
    "preview": "---\npath: \"/gitcret\"\ntitle: \"gitcret\"\ngithub_url: \"https://github.com/CySeq/gitcret\"\nauthor: \"CySeq\"\nsubtitle: \"Prevents"
  },
  {
    "path": "src/actions/github-deployments.md",
    "chars": 1238,
    "preview": "---\npath: \"/github-deployment-action\"\ntitle: \"github-deployment-action\"\ngithub_url: \"https://github.com/NiklasMerz/githu"
  },
  {
    "path": "src/actions/github-push-action.md",
    "chars": 2192,
    "preview": "---\npath: '/github-push-action'\ntitle: 'github-push-action'\ngithub_url: 'https://github.com/ad-m/github-push-action'\naut"
  },
  {
    "path": "src/actions/github-wiki.md",
    "chars": 4580,
    "preview": "---\npath: \"/github-wiki-action\"\ntitle: \"github-wiki-action\"\ngithub_url: \"https://github.com/Andrew-Chen-Wang/github-wiki"
  },
  {
    "path": "src/actions/golang.md",
    "chars": 565,
    "preview": "---\npath: '/golang'\ntitle: 'Golang'\ngithub_url: 'https://github.com/cedrickring/golang-action'\nauthor: 'cedrickring'\ntag"
  },
  {
    "path": "src/actions/google-cloud-platform.md",
    "chars": 547,
    "preview": "---\npath: '/google-cloud-platform'\ntitle: 'Google Cloud Platform'\ngithub_url: 'https://github.com/actions/gcloud'\nauthor"
  },
  {
    "path": "src/actions/goreleaser.md",
    "chars": 1303,
    "preview": "---\npath: \"/goreleaser\"\ntitle: \"GoReleaser\"\ngithub_url: \"https://github.com/goreleaser/goreleaser\"\nauthor: \"goreleaser\"\n"
  },
  {
    "path": "src/actions/gradle.md",
    "chars": 667,
    "preview": "---\npath: '/gradle'\ntitle: 'gradle'\ngithub_url: 'https://github.com/MrRamych/gradle-actions'\nauthor: 'MrRamych'\nsubtitle"
  },
  {
    "path": "src/actions/graphql-inspector.md",
    "chars": 418,
    "preview": "---\npath: '/graphql-inspector'\ntitle: 'GraphQL Inspector'\ngithub_url: 'https://github.com/kamilkisiela/graphql-inspector"
  },
  {
    "path": "src/actions/hadolint.md",
    "chars": 1343,
    "preview": "---\npath: '/hadolint'\ntitle: 'Hadolint'\ngithub_url: 'https://github.com/burdzwastaken/hadolint-action'\nauthor: 'burdzwas"
  },
  {
    "path": "src/actions/heroku.md",
    "chars": 1448,
    "preview": "---\npath: '/heroku-cli'\ntitle: 'Heroku CLI'\ngithub_url: 'https://github.com/actions/heroku'\nauthor: 'github'\ntags: ['her"
  },
  {
    "path": "src/actions/home-assistant.md",
    "chars": 2386,
    "preview": "---\npath: '/home-assistant'\ntitle: 'Home Assistant'\ngithub_url: 'https://github.com/maddox/actions'\nauthor: 'maddox'\ntag"
  },
  {
    "path": "src/actions/httpie-action.md",
    "chars": 5363,
    "preview": "---\npath: '/httpie-action'\ntitle: 'Httpie'\ngithub_url: 'https://github.com/swinton/httpie-action'\nauthor: 'swinton'\ntags"
  },
  {
    "path": "src/actions/hugo-to-github-pages.md",
    "chars": 835,
    "preview": "---\npath: '/hugo-to-github-pages'\ntitle: 'Build Hugo static content site and publish it to gh-pages branch'\ngithub_url: "
  },
  {
    "path": "src/actions/install-qt-action.md",
    "chars": 2852,
    "preview": "---\npath: \"/install-qt-action\"\ntitle: \"Install Qt\"\ngithub_url: \"https://github.com/jurplel/install-qt-action\"\nauthor: \"j"
  },
  {
    "path": "src/actions/issue-label-manager.md",
    "chars": 1373,
    "preview": "---\npath: '/issue-label-manager'\ntitle: 'Issue Label Manager'\ngithub_url: 'https://github.com/lannonbr/issue-label-manag"
  },
  {
    "path": "src/actions/jekyll-builds-on-github-pages.md",
    "chars": 1444,
    "preview": "---\npath: '/jekyll-builds-on-github-pages'\ntitle: 'Custom Jekyll Builds on GitHub Pages'\ngithub_url: 'https://github.com"
  },
  {
    "path": "src/actions/jenkins-single-shot.md",
    "chars": 10637,
    "preview": "---\npath: '/jenkins-single-shot'\ntitle: 'POC for Jenkins Single-shot master'\ngithub_url: 'https://github.com/jonico/jenk"
  },
  {
    "path": "src/actions/js-build-tools.md",
    "chars": 2202,
    "preview": "---\npath: '/js-build-tools'\ntitle: 'JavaScript Build Tools'\ngithub_url: 'https://github.com/elstudio/actions-js-build'\na"
  },
  {
    "path": "src/actions/lint-pull-request.md",
    "chars": 5523,
    "preview": "### Static linting for pull requests\n\nThis release supports linting pull request titles and descriptions by testing agai"
  },
  {
    "path": "src/actions/mercure.md",
    "chars": 1909,
    "preview": "---\npath: \"/action-mercure\"\ntitle: \"action-mercure\"\ngithub_url: \"https://github.com/Ilshidur/action-mercure\"\nauthor: \"Il"
  },
  {
    "path": "src/actions/mjolnir.md",
    "chars": 1324,
    "preview": "---\npath: \"/gha-mjolnir\"\ntitle: \"Mjolnir\"\ngithub_url: \"https://github.com/ldez/gha-mjolnir\"\nauthor: \"ldez\"\nsubtitle: \":h"
  },
  {
    "path": "src/actions/my-broken-link-checker.md",
    "chars": 16457,
    "preview": "---\npath: \"/action-my-broken-link-checker\"\ntitle: \"My Broken Link Checker\"\ngithub_url: \"https://github.com/ruzickap/acti"
  },
  {
    "path": "src/actions/netlify-build.md",
    "chars": 1519,
    "preview": "---\npath: '/netlify-build'\ntitle: 'Netlify: Build'\ngithub_url: 'https://github.com/netlify/actions'\nauthor: 'netlify'\nta"
  },
  {
    "path": "src/actions/netlify-cli.md",
    "chars": 827,
    "preview": "---\npath: '/netlify-cli'\ntitle: 'Netlify: CLI'\ngithub_url: 'https://github.com/netlify/actions'\nauthor: 'netlify'\ntags: "
  },
  {
    "path": "src/actions/netlify-diff-includes.md",
    "chars": 981,
    "preview": "---\npath: '/netlify-diff-includes'\ntitle: 'Netlify: Diff Includes Filter'\ngithub_url: 'https://github.com/netlify/action"
  },
  {
    "path": "src/actions/nexmo-sms.md",
    "chars": 2793,
    "preview": "---\npath: '/nexmo-sms'\ntitle: 'Nexmo SMS'\ngithub_url: 'https://github.com/nexmo-community/nexmo-sms-action'\nauthor: 'nex"
  },
  {
    "path": "src/actions/node-code-formatter.md",
    "chars": 2096,
    "preview": "---\npath: \"/node-code-formatter\"\ntitle: \"node-code-formatter\"\ngithub_url: \"https://github.com/MarvinJWendt/run-node-form"
  },
  {
    "path": "src/actions/notify-slack-action.md",
    "chars": 1153,
    "preview": "---\npath: \"/notify-slack-action\"\ntitle: \"notify-slack-action\"\ngithub_url: \"https://github.com/ravsamhq/notify-slack-acti"
  },
  {
    "path": "src/actions/npm-audit-fix.md",
    "chars": 732,
    "preview": "---\npath: '/npm-audit-fix'\ntitle: 'npm Audit Fix'\ngithub_url: 'https://github.com/JasonEtco/npm-audit-fix-action'\nauthor"
  },
  {
    "path": "src/actions/npm-cli.md",
    "chars": 1971,
    "preview": "---\npath: '/npm-cli'\ntitle: 'NPM Cli'\ngithub_url: 'https://github.com/actions/npm'\nauthor: 'GitHub'\ntags: ['cli']\nsubtit"
  },
  {
    "path": "src/actions/okteto.md",
    "chars": 1298,
    "preview": "---\npath: '/okteto'\ntitle: 'Okteto Deploy'\ngithub_url: 'https://github.com/okteto/actions'\nauthor: 'Luis Vilca'\ntwitter:"
  },
  {
    "path": "src/actions/pandoc.md",
    "chars": 1794,
    "preview": "---\npath: \"/pandoc\"\ntitle: \"pandoc\"\ngithub_url: \"https://github.com/maxheld83/pandoc\"\nauthor: \"maxheld83\"\nsubtitle: \"Git"
  },
  {
    "path": "src/actions/php-code-fixer.md",
    "chars": 1268,
    "preview": "---\npath: '/php-code-fixer'\ntitle: 'PHP Code Fixer'\ngithub_url: 'https://github.com/OskarStark/php-cs-fixer-ga'\nauthor: "
  },
  {
    "path": "src/actions/php-stan.md",
    "chars": 1047,
    "preview": "---\npath: '/php-stan'\ntitle: 'PHPStan'\ngithub_url: 'https://github.com/OskarStark/phpstan-ga'\nauthor: 'OskarStark'\ntags:"
  },
  {
    "path": "src/actions/phpqa.md",
    "chars": 825,
    "preview": "---\npath: '/phpqa'\ntitle: 'PHPQA toolsuite'\ngithub_url: 'https://github.com/mickaelandrieu/phpqa-ga'\nauthor: 'mickaeland"
  },
  {
    "path": "src/actions/powershell-formatter.md",
    "chars": 1199,
    "preview": "---\npath: '/powershell-formatter'\ntitle: 'Powershell formatter'\ngithub_url: 'https://github.com/bltavares/actions'\nautho"
  },
  {
    "path": "src/actions/pr-status-giphy.md",
    "chars": 1552,
    "preview": "---\npath: \"/pr-status-giphy\"\ntitle: \"Pull Request Status Giphy Action\"\ngithub_url: \"https://github.com/jzweifel/pr-statu"
  },
  {
    "path": "src/actions/psake.md",
    "chars": 2044,
    "preview": "---\npath: '/psake-tasks'\ntitle: 'Run psake tasks'\ngithub_url: 'https://github.com/devblackops/psake-github-action'\nautho"
  },
  {
    "path": "src/actions/publish-puppet-forge.md",
    "chars": 1684,
    "preview": "---\npath: \"/action-forge-publish\"\ntitle: \"action-forge-publish\"\ngithub_url: \"https://github.com/barnumbirr/action-forge-"
  },
  {
    "path": "src/actions/publish-wordpress-plugin.md",
    "chars": 2956,
    "preview": "---\npath: '/publish-wordpress-plugin'\ntitle: 'Publish WordPress plugin'\ngithub_url: 'https://github.com/lubusIN/actions'"
  },
  {
    "path": "src/actions/pulumi.md",
    "chars": 4911,
    "preview": "---\npath: '/pulumi'\ntitle: 'Pulumi'\ngithub_url: 'https://github.com/pulumi/actions'\nauthor: 'pulumi'\ntags: ['cloud']\nsub"
  },
  {
    "path": "src/actions/py-lambda-action.md",
    "chars": 2168,
    "preview": "---\npath: \"/py-lambda\"\ntitle: \"py-lambda\"\ngithub_url: \"https://github.com/mariamrf/py-lambda-action\"\nauthor: \"mariamrf\"\n"
  },
  {
    "path": "src/actions/pypi-publish.md",
    "chars": 3785,
    "preview": "---\npath: \"/gh-action-pypi-publish\"\ntitle: \"gh-action-pypi-publish\"\ngithub_url: \"https://github.com/pypa/gh-action-pypi-"
  },
  {
    "path": "src/actions/rebase-pr.md",
    "chars": 1461,
    "preview": "---\npath: '/rebase-pr'\ntitle: 'Automaticly rebase pull requests'\ngithub_url: 'https://github.com/cirrus-actions/rebase'\n"
  },
  {
    "path": "src/actions/release-archive.md",
    "chars": 2886,
    "preview": "---\npath: '/release-archive'\ntitle: 'Release Archive'\ngithub_url: 'https://github.com/lubusIN/actions'\nauthor: 'lubusIN'"
  },
  {
    "path": "src/actions/release_notify.md",
    "chars": 3889,
    "preview": "---\npath: '/release-notify-action'\ntitle: 'Release notify'\ngithub_url: 'https://github.com/bitoiu/release-notify-action'"
  },
  {
    "path": "src/actions/repetitive.md",
    "chars": 576,
    "preview": "---\npath: '/repetitive'\ntitle: 'Repetitive Actions'\ngithub_url: 'https://github.com/repetitive/actions'\nauthor: 'repetit"
  },
  {
    "path": "src/actions/rstats.md",
    "chars": 3252,
    "preview": "---\npath: \"/ghactions\"\ntitle: \"GitHub actions for R\"\ngithub_url: \"https://github.com/maxheld83/ghactions\"\nauthor: \"maxhe"
  },
  {
    "path": "src/actions/rsync.md",
    "chars": 3283,
    "preview": "---\npath: \"/rsync\"\ntitle: \"rsync\"\ngithub_url: \"https://github.com/maxheld83/rsync\"\nauthor: \"maxheld83\"\nsubtitle: \"GitHub"
  },
  {
    "path": "src/actions/ruby-gems.md",
    "chars": 1457,
    "preview": "---\npath: '/ruby-gem'\ntitle: 'Ruby Gems'\ngithub_url: 'https://github.com/scarhand/actions-ruby'\nauthor: 'scarhand'\nsubti"
  },
  {
    "path": "src/actions/ruby-linter.md",
    "chars": 1117,
    "preview": "---\npath: '/ruby-linter'\ntitle: 'Ruby linter and formatter'\ngithub_url: 'https://github.com/bltavares/actions'\nauthor: '"
  },
  {
    "path": "src/actions/run-github-actions-locally.md",
    "chars": 3419,
    "preview": "---\npath: '/run-github-actions-locally'\ntitle: 'Github actions locally'\ngithub_url: 'https://github.com/nektos/act'\nauth"
  },
  {
    "path": "src/actions/semantic-release-action.md",
    "chars": 3475,
    "preview": "---\npath: \"/semantic-release-action\"\ntitle: \"GitHub Action for Semantic Release\"\ngithub_url: \"https://github.com/cycjimm"
  },
  {
    "path": "src/actions/send-emails.md",
    "chars": 1440,
    "preview": "---\npath: '/send-emails'\ntitle: 'Send Emails'\ngithub_url: 'https://github.com/cirrus-actions/email'\nauthor: 'cirrus-acti"
  },
  {
    "path": "src/actions/setup-flutter.md",
    "chars": 1118,
    "preview": "---\npath: '/setup-flutter'\ntitle: 'Setup Flutter environment'\ngithub_url: 'https://github.com/tnc1997/github-actions/blo"
  },
  {
    "path": "src/actions/setup-php.md",
    "chars": 18205,
    "preview": "---\npath: \"/setup-php\"\ntitle: \"setup-php\"\ngithub_url: \"https://github.com/shivammathur/setup-php\"\nauthor: \"shivammathur\""
  },
  {
    "path": "src/actions/shaking-finger.md",
    "chars": 1323,
    "preview": "---\npath: '/shaking-finger'\ntitle: 'Shaking Finger'\ngithub_url: 'https://github.com/jessfraz/shaking-finger-action'\nauth"
  },
  {
    "path": "src/actions/size-label-action.md",
    "chars": 662,
    "preview": "---\npath: '/size-label'\ntitle: 'Assign size labels'\ngithub_url: 'https://github.com/pascalgn/size-label-action'\nauthor: "
  },
  {
    "path": "src/actions/slack-message-as-bot.md",
    "chars": 4447,
    "preview": "---\npath: '/slack-message-as-bot'\ntitle: 'Slack Message as bot'\ngithub_url: 'https://github.com/pullreminders/slack-gith"
  },
  {
    "path": "src/actions/slack-message.md",
    "chars": 1167,
    "preview": "---\npath: '/slack-message'\ntitle: 'Slack message'\ngithub_url: 'https://github.com/apex/actions'\nauthor: 'apex'\ntags: ['s"
  },
  {
    "path": "src/actions/sleep.md",
    "chars": 814,
    "preview": "---\npath: '/sleep'\ntitle: 'Sleep'\ngithub_url: 'https://github.com/maddox/actions'\nauthor: 'maddox'\ntags: []\nsubtitle: 'S"
  },
  {
    "path": "src/actions/spothub.md",
    "chars": 1921,
    "preview": "---\npath: '/spothub'\ntitle: 'SpotHub'\ngithub_url: 'https://github.com/swinton/SpotHub'\nauthor: 'swinton'\ntags: []\nsubtit"
  },
  {
    "path": "src/actions/ssh.md",
    "chars": 1129,
    "preview": "---\npath: '/ssh'\ntitle: 'SSH'\ngithub_url: 'https://github.com/maddox/actions'\nauthor: 'maddox'\ntags: []\nsubtitle: 'Run a"
  },
  {
    "path": "src/actions/storybook-surge.md",
    "chars": 1104,
    "preview": "---\npath: '/storybook-surge'\ntitle: 'Storybook to Surge'\ngithub_url: 'https://github.com/codeship/storybook-surge-github"
  },
  {
    "path": "src/actions/synk-cli.md",
    "chars": 507,
    "preview": "---\npath: '/synk-cli'\ntitle: 'Synk Cli'\ngithub_url: 'https://github.com/clarkio/snyk-cli-action'\nauthor: 'clarkio'\ntags:"
  },
  {
    "path": "src/actions/terraform.md",
    "chars": 1227,
    "preview": "---\npath: '/terraform'\ntitle: 'Terraform'\ngithub_url: 'https://github.com/hashicorp/terraform-github-actions/blob/master"
  },
  {
    "path": "src/actions/tslint-linter.md",
    "chars": 1266,
    "preview": "---\npath: '/tslint-linter'\ntitle: 'TypeScript linter & formatter'\ngithub_url: 'https://github.com/bltavares/actions'\naut"
  },
  {
    "path": "src/actions/tweet.md",
    "chars": 1446,
    "preview": "---\npath: '/twitter-action'\ntitle: 'Send a Tweet'\ngithub_url: 'https://github.com/xorilog/twitter-action'\nauthor: 'xoril"
  },
  {
    "path": "src/actions/twitter-action.md",
    "chars": 1446,
    "preview": "---\npath: '/twitter-action'\ntitle: 'Send a Tweet'\ngithub_url: 'https://github.com/xorilog/twitter-action'\nauthor: 'xoril"
  },
  {
    "path": "src/actions/vamp.md",
    "chars": 911,
    "preview": "---\npath: '/vamp'\ntitle: 'vamp'\ngithub_url: 'https://github.com/magneticio/vamp-github-actions'\nauthor: 'magneticio'\nsub"
  },
  {
    "path": "src/actions/vscode-vsce.md",
    "chars": 1733,
    "preview": "---\npath: '/vscode-vsce'\ntitle: 'vscode deploying extensions'\ngithub_url: 'https://github.com/lannonbr/vsce-action'\nauth"
  },
  {
    "path": "src/actions/wait-for-200.md",
    "chars": 1207,
    "preview": "---\npath: '/wait-for-200'\ntitle: 'Wait for 200'\ngithub_url: 'https://github.com/maddox/actions'\nauthor: 'maddox'\ntags: ["
  },
  {
    "path": "src/actions/webpack-stats-to-packtracker.md",
    "chars": 957,
    "preview": "---\npath: '/webpack-stats-to-packtracker'\ntitle: 'Webpack stats to packtracker.io'\ngithub_url: 'https://github.com/packt"
  },
  {
    "path": "src/actions/wemake-python-styleguide.md",
    "chars": 7320,
    "preview": "---\npath: \"/wemake-python-styleguide\"\ntitle: \"wemake-python-styleguide\"\ngithub_url: \"https://github.com/wemake-services/"
  },
  {
    "path": "src/actions/wip.md",
    "chars": 827,
    "preview": "---\npath: '/wip'\ntitle: 'Work In Progress'\ngithub_url: 'https://github.com/wip/action'\nauthor: 'wip'\nsubtitle: 'a work i"
  },
  {
    "path": "src/actions/wordpress-dotorg-plugin-deploy.md",
    "chars": 4785,
    "preview": "---\npath: \"/wordpress-dotorg-plugin-deploy\"\ntitle: \"WordPress.org Plugin Deploy\"\ngithub_url: \"https://github.com/10up/ac"
  },
  {
    "path": "src/actions/wordpress-plugin-asset-update.md",
    "chars": 4340,
    "preview": "---\npath: \"/action-wordpress-plugin-asset-update\"\ntitle: \"WordPress.org Plugin Readme/Assets Update\"\ngithub_url: \"https:"
  },
  {
    "path": "src/actions/wordpress-pot-generator.md",
    "chars": 1710,
    "preview": "---\npath: '/wordpress-pot-generator'\ntitle: 'WordPress Pot Generator'\ngithub_url: 'https://github.com/wpapps/wp-pot-gene"
  },
  {
    "path": "src/actions/wp-text-domain.md",
    "chars": 1278,
    "preview": "---\npath: '/wp-text-domain'\ntitle: 'WP Text Domain - Github Action'\ngithub_url: 'https://github.com/wpapps/wp-text-domai"
  },
  {
    "path": "src/actions/yarn.md",
    "chars": 1644,
    "preview": "---\npath: '/yarn'\ntitle: 'Yarn'\ngithub_url: 'https://github.com/Borales/actions-yarn'\nauthor: 'Borales'\ntags: ['yarn', '"
  },
  {
    "path": "src/actions/zeit-now.md",
    "chars": 1049,
    "preview": "---\npath: '/zeit-now'\ntitle: 'Zeit Now'\ngithub_url: 'https://github.com/actions/zeit-now'\nauthor: 'GitHub'\ntags: []\nsubt"
  },
  {
    "path": "src/actions/zola-deploy.md",
    "chars": 979,
    "preview": "---\npath: '/zola-deploy'\ntitle: 'Zola Deploy'\ngithub_url: 'https://github.com/shalzz/zola-deploy-action'\nauthor: 'shalzz"
  },
  {
    "path": "src/components/Action-Card/index.js",
    "chars": 1190,
    "preview": "import React from 'react'\nimport urljoin from 'url-join'\nimport { navigate } from 'gatsby'\n\nimport './styles.css'\n\nconst"
  },
  {
    "path": "src/components/Action-Card/styles.css",
    "chars": 1686,
    "preview": ".action-card {\n  box-shadow: inset 0 0 0 1px #e1e4e8, 0 2px 4px rgba(0, 0, 0, 0.15);\n  margin-bottom: 80px;\n  box-sizing"
  },
  {
    "path": "src/components/ActionHeader/index.js",
    "chars": 447,
    "preview": "import React from 'react'\nimport urljoin from 'url-join'\n\nconst ActionHeader = ({ title, github_url, author }) => {\n  re"
  },
  {
    "path": "src/components/Footer/index.js",
    "chars": 1788,
    "preview": "import React from 'react'\n\nimport './styles.css'\n\nconst Footer = () => {\n  return (\n    <footer className=\"footer hero i"
  },
  {
    "path": "src/components/Footer/styles.css",
    "chars": 170,
    "preview": "footer p {\n  margin-bottom: 10px;\n}\n\n.footer {\n  color: #797676;\n  font-size: 1.3em;\n  padding: 3rem 1.5rem 3rem !import"
  },
  {
    "path": "src/components/Navigation/index.js",
    "chars": 684,
    "preview": "import React from 'react'\n\nimport './styles.css'\n\nconst Navigation = () => {\n  return (\n    <nav className=\"navbar\" role"
  },
  {
    "path": "src/components/Navigation/styles.css",
    "chars": 138,
    "preview": "nav.navbar {\n  background: #423a3a;\n  color: white;\n  padding: 0 70px;\n}\n\nnav.navbar h1,\nnav.navbar a {\n  color: white;\n"
  },
  {
    "path": "src/components/SiteHeader/index.js",
    "chars": 2197,
    "preview": "import React from 'react'\n\nconst SiteHeader = ({ handleFilter, count }) => {\n  return (\n    <section className=\"main her"
  },
  {
    "path": "src/components/layout.css",
    "chars": 12740,
    "preview": "html {\n  font-family: sans-serif;\n  -ms-text-size-adjust: 100%;\n  -webkit-text-size-adjust: 100%;\n}\nbody {\n  margin: 0;\n"
  },
  {
    "path": "src/components/layout.js",
    "chars": 1569,
    "preview": "import React from 'react'\nimport PropTypes from 'prop-types'\nimport Helmet from 'react-helmet'\nimport { StaticQuery, gra"
  },
  {
    "path": "src/functions/github.js",
    "chars": 2438,
    "preview": "const request = require('request-promise')\nconst urljoin = require('url-join')\n\nconst transformAndWriteToFile = require("
  },
  {
    "path": "src/images/.gitkeep",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "src/pages/404.js",
    "chars": 246,
    "preview": "import React from 'react'\nimport Layout from '../components/layout'\n\nconst NotFoundPage = () => (\n  <Layout>\n    <h1>NOT"
  },
  {
    "path": "src/pages/index.js",
    "chars": 2814,
    "preview": "import React, { Component } from 'react'\nimport { navigate, graphql } from 'gatsby'\nimport urljoin from 'url-join'\n\nimpo"
  },
  {
    "path": "src/templates/blog-post.css",
    "chars": 393,
    "preview": ".container.blog-post {\n  margin-top: 80px;\n}\n\n.blog-post {\n  padding: 0 60px;\n}\n\n.blog-post .github-stars {\n  width: 100"
  },
  {
    "path": "src/templates/blog-post.js",
    "chars": 2677,
    "preview": "import React from 'react'\nimport Helmet from 'react-helmet'\nimport { graphql } from 'gatsby'\nimport urljoin from 'url-jo"
  }
]

About this extraction

This page contains the full source code of the boyney123/github-actions GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 140 files (1.0 MB), approximately 346.8k tokens, and a symbol index with 453 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!