This situation occurs because the dependancy (zlibjs/bin/rawinflate.min.js) doesn't do a sanity check on distances going back farther than the current buffer.
For example:
DEFLATE data of '123' and then a length of 9 going back a distance of 6
ASCIIHEX: 333432869300
! infgen 3.0 output
!
last ! 1
fixed ! 01
literal '1 ! 10000110
literal '2 ! 01000110
literal '3 ! 11000110
match 9 6 ! 1 00100 1110000
infgen warning: distance too far back (6/3)
end ! 0000000
! 0
We only have 3 characters, we shouldn't be able to seek 6 characters back. But rawinflate.min.js doesn't check for this like the infgen debug tool (and others) would. So CyberChef would happily provide this as the result:
123...123...
Where the dots are just nulls of likley empty memory preceding the actual buffer
So with the example in this source
// e.g. Input data of [8b, 1d, dc, 44]
last ! 1
fixed ! 01
literal '] ! 10110001
match 158 5 ! 0 00100 11011 10000011
infgen warning: distance too far back (5/1)
This means we have a literal ']' and then we are asking for 158 more characters and to find them a distance of 5 back. This explains why the ']', why it repeats every 5, and why it is a length > 158.
This code should just be removed; it isn't justified. Being that this issue is a lack of sanity checking in a dependancy, and that this routine only catches the symptom of one of the nearly unlimited edge cases like this, AND it could filter out correct inputs, such as a recipe of this as input to RAWDEFLATE
]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX
Then getting an error with the INFLATE even though the input is actually valid.
This situation occurs because the dependancy (zlibjs/bin/rawinflate.min.js) doesn't do a sanity check on distances going back farther than the current buffer.
For example:
DEFLATE data of '123' and then a length of 9 going back a distance of 6
ASCIIHEX: 333432869300
! infgen 3.0 output
!
last ! 1
fixed ! 01
literal '1 ! 10000110
literal '2 ! 01000110
literal '3 ! 11000110
match 9 6 ! 1 00100 1110000
infgen warning: distance too far back (6/3)
end ! 0000000
! 0
We only have 3 characters, we shouldn't be able to seek 6 characters back. But rawinflate.min.js doesn't check for this like the infgen debug tool (and others) would. So CyberChef would happily provide this as the result:
123...123...
Where the dots are just nulls of likley empty memory preceding the actual buffer
So with the example in this source
// e.g. Input data of [8b, 1d, dc, 44]
last ! 1
fixed ! 01
literal '] ! 10110001
match 158 5 ! 0 00100 11011 10000011
infgen warning: distance too far back (5/1)
This means we have a literal ']' and then we are asking for 158 more characters and to find them a distance of 5 back. This explains why the ']', why it repeats every 5, and why it is a length > 158.
This code should just be removed; it isn't justified. Being that this issue is a lack of sanity checking in a dependancy, and that this routine only catches the symptom of one of the nearly unlimited edge cases like this, AND it could filter out correct inputs, such as a recipe of this as input to RAWDEFLATE
]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX[]OMG[]HAX
Then getting an error with the INFLATE even though the input is actually valid.
previous implementation only supported some PEMs (e.g. Certificate)
the new implementation is more general,
it just extracts the base64 between
header and footer and decodes that to hex
This adds an implementation of the SM4 block cipher, and operations
to encrypt and decrypt using it with CBC,ECB,CFB,OFB,CTR modes.
Also, a "no padding" option is added for AES,DES,3DES and SM4
decryption in ECB/CBC modes. This variant does not attempt to
validate the last block as being PKCS#7 padded.
This is useful, both since other padding schemes exist, and also
for decrypting data where the final block is missing.
When showing results in the frequency distribution table, it's quite
helpful to see the distribution of the ASCII letters, if any. Provide an
option to show this to show the characters alongside the code.
Fixes#1169.
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
Certain RTF files may attempt to thwart detection by having a malformed RTF header, such as **{\rt000**. Removing 0x66 will result in detecting these malformed yet valid RTFs as well.
Additional reading:
https://www.decalage.info/rtf_tricks#Trick_1:_Incomplete_RTF_Header
* Sets default flag to `false` for `showSubtraction` flag.
* Removes extra span for else case that was causing some tests to
fail. Moreover, the previous behavior was defined as that.
* Adds custom test for the showSubtraction option, both using the
`showAdded` and `showRemoved` flags.
Adds "Show Subtraction" button to allow seeing only the difference
between two texts.
When selected and combined, user can see only the characters or
words that were added. If not combined, with either removed or added
but selected, then nothing is displayed.
The bug report issue template is duplicated (`bug-report.md` and
`bug_report.md`, note the `-`/`_` difference).
Thus, GitHub was unable to use the bug report issue template, and it
does not show up when a new issue is being created.
Let's remove the duplicate template `bug_report.md`.
A MessageChannel is faster on Chrome, but causes issues in Firefox.
Bake button now says "Loading..." when the inputWorker is gathering inputs for baking
This was causing issues on single core systems after I got rid of the active status as we had already reached the max number of workers.
Instead, we just create a loaderWorker when needed as loaderWorkers are small enough!
Limits number of workers to number of cpu threads (4 if not supported)
Creates output tabs (switching doesn't work yet)
Disabled some highlighting for now.
Allow selecting multiple files.
Allow drag and dropping multiple files.
Clear all IO button will close all tabs.
Will now spawn multiple loaderworkers simultaneously.
Improve tab logic to break less and work in Firefox.
Switch a couple of for of loops in the critical path for classic fors.
This loses about 10% performance in Chrome, but it brings Firefox
performance in line with Chrome's, rather than 2.5 times slower.
Runs the Bombe multiple times with different rotor specs.
Edits the core BombeMachine a little to add the ability to switch rotors
without rewiring everything
Future proofing for when certificates with dates after 2049 begin being issued.
These certificates' dates will be in Generalized Time not UTC Time as per RFC 5280
Occasionally depending on the page width and the operation used, the label.bmd-label-floating's wraps and covers the input - CSS to hide the wrap
On register-list, if the regex match is not a word and longer than the div, it'll over run - CSS of word-break: break-all
This decoder will join up a HTTP response sent using chunked transfer encoding, raised in issue #168.
This is useful when attempting to extract files or gzipped responses sent using chunked transfer encoding, particularly when combined with the gunzip operation.
Main content has been moved to the IP lib file, as it is used in multiple files.
Changed the name, due to it originally containing a backslash, which caused issues with the script.
Currently the encrypt operation works only to my public key and not to
keys generated by the generate key pair operation. Probably something
wrong with the generate operation.
This commit splits "Text encoding" into two operations:
+ Encode text `string -> byteArray`
+ Decode text `byteArray -> string`
Base64 and Hex support are removed "Encode text" and "Decode text" as
they have their own operations.
Encode and decode operations now have support for the following
encodings:
+ IBM EBCDIC US-Canada
+ IBM EBCDIC International
+ Windows-874 Thai
+ Japanese Shift-JIS
+ Simplified Chinese GBK
+ Korean
+ Traditional Chinese Big5
+ UTF-16, little endian
+ UTF-16, big endian
+ Windows-1250 Central European
+ Windows-1251 Cyrillic
+ Windows-1252 Latin
+ Windows-1253 Greek
+ Windows-1254 Turkish
+ Windows-1255 Hebrew
+ Windows-1256 Arabic
+ Windows-1257 Baltic
+ Windows-1258 Vietnam
+ US-ASCII
+ Russian Cyrillic KOI8-R
+ Simplified Chinese GB2312
+ KOI8-U Ukrainian Cyrillic
+ ISO-8859-1 Latin 1 (Western European)
+ ISO-8859-2 Latin 2 (Central European)
+ ISO-8859-3 Latin 3
+ ISO-8859-4 Baltic
+ ISO-8859-5 Cyrillic
+ ISO-8859-6 Arabic
+ ISO-8859-7 Greek
+ ISO-8859-8 Hebrew
+ ISO-8859-9 Turkish
+ ISO-8859-10 Latin 6
+ ISO-8859-11 Latin (Thai)
+ ISO-8859-13 Latin 7 (Estonian)
+ ISO-8859-14 Latin 8 (Celtic)
+ ISO-8859-15 Latin 9
+ ISO-8859-16 Latin 10
+ ISO-2022 JIS Japanese
+ EUC Japanese
+ EUC Korean
+ Simplified Chinese GB18030
+ UTF-7
+ UTF-8
This adds operations
+ "To EBCDIC"
+ "From EBCDIC"
This makes use of the npm codepage package but it is not installed as a
dependency.
Instead I used the `make.sh` script to export pages 37 and 500.
To my knowledge there is no way currently to only import individual code pages
from the npm package (hence the included script).
If we were to import the package directly it increases the build size by
2.7MB.
Before, the tar operation would write the incorrect number of bytes to
indicate the end of the tar file. It should have been 2 blocks of 512
ascii zeros, but it would write 529 zeros instead.
The new implementation of `writeEndBlocks` is nicer and we can reuse
code with the `addEmptyBlock` function.
+ Added skeleton "Tar" operation with no functionality
+ Added intial functionality of "Untar"
+ Added a function in `Utils` `HTMLFormat` to generalize HTML generation
of files and folders (could later be used in Unzip).
I had a brief search for a small library for tar and untar operations,
however they were mostly for node (if anyone finds one we can drop in
that would be appreciated) or unmaintained. Luckily the tar spec is
relatively easy to understand just from Wikipedia.
Added "To Morse Code" and "From More Code" functions under the category
"Encryption / Encoding".
"To Morse Code" accepts 3 arguments:
1. Format options: e.g. ./- or Dot/Dash
2. Letter delimiter e.g. <space> or <newline>
3. Word delimiter e.g. <newline>
"From Morse Code" accepts 2 arguments:
1. Letter delimiter
2. Word delimiter
These operations are useful for taking the contents of a string, and making it
suitable for use as a stand alone string. For example, in an IDE you might see
a string which is represented as: "Say \"Hello\"". The escaped double quotes
are shown to make it clear that they do not end the string, despite the fact
that they are not truly part of the string. In order to get the raw string, you
would need to copy this, then manually remove the backslashes. The new
String_.run_unescape operation does this automatically.
The String_.run_escape is the inverse. It allows you to take a string like the
one above, and paste it between two quotes without having to manually escape
it.
Take a look through the [Wiki pages](https://github.com/gchq/CyberChef/wiki) for guides on [compiling CyberChef](https://github.com/gchq/CyberChef/wiki/Getting-started) and [adding new operations](https://github.com/gchq/CyberChef/wiki/Adding-a-new-operation).
There are lots of opportunities to contribute to CyberChef. If you want ideas, take a look at any [Issues](https://github.com/gchq/CyberChef/issues) tagged with '[help wanted](https://github.com/gchq/CyberChef/labels/help%20wanted)'.
Before your contributions can be accepted, you must:
- Sign the [GCHQ Contributor Licence Agreement](https://cla-assistant.io/gchq/CyberChef)
- Push your changes to your fork.
- Submit a pull request.
## Coding conventions
* Indentation: Each block should consist of 4 spaces
* Object/namespace identifiers: CamelCase
* Function/variable names: camelCase
* Constants: UNDERSCORE_UPPER_CASE
* Source code encoding: UTF-8 (without BOM)
* All source files must end with a newline
* Line endings: UNIX style (\n)
## Design Principles
1. If at all possible, all operations and features should be client-side and not rely on connections to an external server. This increases the utility of CyberChef on closed networks and in virtual machines that are not connected to the Internet. Calls to external APIs may be accepted if there is no other option, but not for critical components.
2. Latency should be kept to a minimum to enhance the user experience. This means that operation code should sit on the client and be executed there. However, as a trade-off between latency and bandwidth, operation code with large dependencies can be loaded in discrete modules in order to reduce the size of the initial download. The downloading of additional modules must remain entirely transparent so that the user is not inconvenienced.
3. Large libraries should be kept in separate modules so that they are not downloaded by everyone who uses the app, just those who specifically require the relevant operations.
4. Use Vanilla JS if at all possible to reduce the number of libraries required and relied upon. Frameworks like jQuery, although included, should not be used unless absolutely necessary.
With these principles in mind, any changes or additions to CyberChef should keep it:
run:npx grunt prod --msg="Version 10 is here! Read about the new features <a href='https://github.com/gchq/CyberChef/wiki/Character-encoding,-EOL-separators,-and-editor-features'>here</a>"
body:"See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details."
CyberChef uses the [semver](https://semver.org/) system to manage versioning: `<MAJOR>.<MINOR>.<PATCH>`.
- MAJOR version changes represent a significant change to the fundamental architecture of CyberChef and may (but don't always) make breaking changes that are not backwards compatible.
- MINOR version changes usually mean the addition of new operations or reasonably significant new features.
- PATCH versions are used for bug fixes and any other small tweaks that modify or improve existing capabilities.
All major and minor version changes will be documented in this file. Details of patch-level version changes can be found in [commit messages](https://github.com/gchq/CyberChef/commits/master).
- Improvements to the 'Magic' operation, allowing it to recognise more data formats and provide more accurate results [@n1073645] [@n1474335] | [#966] [b765534b](https://github.com/gchq/CyberChef/commit/b765534b8b2a0454a5132a0a52d1d8844bcbdaaa)
### [9.18.0] - 2020-03-13
- 'Convert to NATO alphabet' operation added [@MarvinJWendt] | [#674]
- 'Defang IP Addresses' operation added [@h345983745] | [#556]
</details>
## [9.0.0] - 2019-07-09
- [Multiple inputs](https://github.com/gchq/CyberChef/wiki/Multiple-Inputs) are now supported in the main web UI, allowing you to upload and process multiple files at once [@j433866] | [#566]
- A [Node.js API](https://github.com/gchq/CyberChef/wiki/Node-API) has been implemented, meaning that CyberChef can now be used as a library, either to provide specific operations, or an entire baking environment [@d98762625] | [#291]
- A [read-eval-print loop (REPL)](https://github.com/gchq/CyberChef/wiki/Node-API#repl) is also included to enable prototyping and experimentation with the API [@d98762625] | [#291]
- Light and dark Solarized themes added [@j433866] | [#566]
<details>
<summary>Click to expand v8 minor versions</summary>
- 'Index of Coincidence' operation added [@Ge0rg3] | [#571]
### [8.31.0] - 2019-04-12
- The downloadable version of CyberChef is now a .zip file containing separate modules rather than a single .htm file. It is still completely standalone and will not make any external network requests. This change reduces the complexity of the build process significantly. [@n1474335]
- UI test suite added to confirm that the app loads correctly in a reasonable time and that various operations from each module can be run [@n1474335] | [#458]
- UI updated to use [Bootstrap Material Design](https://fezvrasta.github.io/bootstrap-material-design/) [@n1474335] | [#248]
-`JSON`, `File` and `List<File>` Dish types added [@n1474335] | [#284]
-`OperationError` type added for better handling of errors thrown by operations [@d98762625] | [#296]
- A `present()` method has been added, allowing operations to pass machine-friendly data to subsequent operations whilst presenting human-friendly data to the user [@n1474335] | [#284]
- Added support for loading, processing and downloading files up to 500MB [@n1474335] | [#224]
## [6.0.0] - 2017-09-19
- Threading support added. All recipe processing moved into a [Web Worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) to increase performance and to allow long-running operations to be cancelled [@n1474335] | [#173]
- Module system created so that operations relying on large libraries can be downloaded separately as required, reducing the initial loading time for the app [@n1474335] | [#173]
## [5.0.0] - 2017-03-30
- Webpack build process configured with Babel transpilation and ES6 imports and exports [@n1474335] | [#95]
## [4.0.0] - 2016-11-28
- Initial open source commit [@n1474335] | [b1d73a72](https://github.com/gchq/CyberChef/commit/b1d73a725dc7ab9fb7eb789296efd2b7e4b08306)
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at oss@gchq.gov.uk. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
CyberChef is a simple, intuitive web app for carrying out all manner of "cyber" operations within a web browser. These operations include simple encoding like XOR and Base64, more complex encryption like AES, DES and Blowfish, creating binary and hexdumps, compression and decompression of data, calculating hashes and checksums, IPv6 and X.509 parsing, changing character encodings, and much more.
The tool is designed to enable both technical and non-technical analysts to manipulate data in complex ways without having to deal with complex tools or algorithms. It was conceived, designed, built and incrementally improved by an analyst in their 10% innovation time over several years.
## Live demo
CyberChef is still under active development. As a result, it shouldn't be considered a finished product. There is still testing and bug fixing to do, new features to be added and additional documentation to write. Please contribute!
Cryptographic operations in CyberChef should not be relied upon to provide security in any situation. No guarantee is offered for their correctness.
[A live demo can be found here][1] - have fun!
## How it works
There are four main areas in CyberChef:
1. The **input** box in the top right, where you can paste, type or drag the text or file you want to operate on.
2. The **output** box in the bottom right, where the outcome of your processing will be displayed.
3. The **operations** list on the far left, where you can find all the operations that CyberChef is capable of in categorised lists, or by searching.
4. The **recipe** area in the middle, where you can drag the operations that you want to use and specify arguments and options.
You can use as many operations as you like in simple or complex ways. Some examples are as follows:
- [Decode a Base64-encoded string][2]
- [Convert a date and time to a different time zone][3]
- [Parse a Teredo IPv6 address][4]
- [Convert data from a hexdump, then decompress][5]
- [Decrypt and disassemble shellcode][6]
- [Display multiple timestamps as full dates][7]
- [Carry out different operations on data of different types][8]
- [Use parts of the input as arguments to operations][9]
- [Perform AES decryption, extracting the IV from the beginning of the cipher stream][10]
- [Automagically detect several layers of nested encoding][12]
## Features
- Drag and drop
- Operations can be dragged in and out of the recipe list, or reorganised.
- Files up to 2GB can be dragged over the input box to load them directly into the browser.
- Auto Bake
- Whenever you modify the input or the recipe, CyberChef will automatically "bake" for you and produce the output immediately.
- This can be turned off and operated manually if it is affecting performance (if the input is very large, for instance).
- Automated encoding detection
- CyberChef uses [a number of techniques](https://github.com/gchq/CyberChef/wiki/Automatic-detection-of-encoded-data-using-CyberChef-Magic) to attempt to automatically detect which encodings your data is under. If it finds a suitable operation that make sense of your data, it displays the 'magic' icon in the Output field which you can click to decode your data.
- Breakpoints
- You can set breakpoints on any operation in your recipe to pause execution before running it.
- You can also step through the recipe one operation at a time to see what the data looks like at each stage.
- Save and load recipes
- If you come up with an awesome recipe that you know you’ll want to use again, just click "Save recipe" and add it to your local storage. It'll be waiting for you next time you visit CyberChef.
- You can also copy the URL, which includes your recipe and input, to easily share it with others.
- Search
- If you know the name of the operation you want or a word associated with it, start typing it into the search field and any matching operations will immediately be shown.
- Highlighting
- When you highlight text in the input or output, the offset and length values will be displayed and, if possible, the corresponding data will be highlighted in the output or input respectively (example: [highlight the word 'question' in the input to see where it appears in the output][11]).
- Save to file and load from file
- You can save the output to a file at any time or load a file by dragging and dropping it into the input field. Files up to around 2GB are supported (depending on your browser), however, some operations may take a very long time to run over this much data.
- CyberChef is entirely client-side
- It should be noted that none of your recipe configuration or input (either text or files) is ever sent to the CyberChef web server - all processing is carried out within your browser, on your own computer.
- Due to this feature, CyberChef can be downloaded and run locally. You can use the link in the top left corner of the app to download a full copy of CyberChef and drop it into a virtual machine, share it with other people, or host it in a closed network.
## Deep linking
By manipulating CyberChef's URL hash, you can change the initial settings with which the page opens.
The format is `https://gchq.github.io/CyberChef/#recipe=Operation()&input=...`
Supported arguments are `recipe`, `input` (encoded in Base64), and `theme`.
## Browser support
CyberChef is built to support
- Google Chrome 50+
- Mozilla Firefox 38+
## Node.js support
CyberChef is built to fully support Node.js `v16`. For more information, see the Node API page in the project [wiki pages](https://github.com/gchq/CyberChef/wiki)
## Contributing
Contributing a new operation to CyberChef is super easy! The quickstart script will walk you through the process. If you can write basic JavaScript, you can write a CyberChef operation.
An installation walkthrough, how-to guides for adding new operations and themes, descriptions of the repository structure, available data types and coding conventions can all be found in the project [wiki pages](https://github.com/gchq/CyberChef/wiki).
- Push your changes to your fork.
- Submit a pull request. If you are doing this for the first time, you will be prompted to sign the [GCHQ Contributor Licence Agreement](https://cla-assistant.io/gchq/CyberChef) via the CLA assistant on the pull request. This will also ask whether you are happy for GCHQ to contact you about a token of thanks for your contribution, or about job opportunities at GCHQ.
## Licencing
CyberChef is released under the [Apache 2.0 Licence](https://www.apache.org/licenses/LICENSE-2.0) and is covered by [Crown Copyright](https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/).
!function(t){vari={};functionr(o){if(i[o])returni[o].exports;vars=i[o]={i:o,l:!1,exports:{}};returnt[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=t,r.c=i,r.d=function(t,i,o){r.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,i){if(1&i&&(t=r(t)),8&i)returnt;if(4&i&&"object"==typeoft&&t&&t.__esModule)returnt;varo=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeoft)for(varsint)r.d(o,s,function(i){returnt[i]}.bind(null,s));returno},r.n=function(t){vari=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnr.d(i,"a",i),i},r.o=function(t,i){returnObject.prototype.hasOwnProperty.call(t,i)},r.p="",r(r.s=1)}([function(t,i){t.exports={options:{usePureJavaScript:!1}}},function(t,i,r){r(2),t.exports=r(0)},function(t,i,r){varo=r(0);r(3);vars=[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],e=(1<<26)/s[s.length-1],a=o.jsbn.BigInteger;newa(null).fromInt(2),self.addEventListener("message",(function(t){vari=function(t){for(vari=newa(t.hex,16),r=0,o=t.workLoad,s=0;s<o;++s){if(h(i))return{found:!0,prime:i.toString(16)};i.dAddOffset(n[r++%8],0)}return{found:!1}}(t.data);self.postMessage(i)})),self.postMessage({found:!1});varn=[6,4,2,4,2,4,6,2];functionh(t){for(vari=1;i<s.length;){for(varr=s[i],o=i+1;o<s.length&&r<e;)r*=s[o++];for(r=t.modInt(r);i<o;)if(r%s[i++]==0)return!1}returnfunction(t){vari,r=t.subtract(a.ONE),o=r.getLowestSetBit();if(o<=0)return!1;for(vars,e=r.shiftRight(o),n=(i=t.bitLength())<=100?27:i<=150?18:i<=200?15:i<=250?12:i<=300?9:i<=350?8:i<=400?7:i<=500?6:i<=600?5:i<=800?4:i<=1250?3:2,h={nextBytes:function(t){for(vari=0;i<t.length;++i)t[i]=Math.floor(255*Math.random())}},u=0;u<n;++u){do{s=newa(t.bitLength(),h)}while(s.compareTo(a.ONE)<=0||s.compareTo(r)>=0);varf=s.modPow(e,t);if(0!==f.compareTo(a.ONE)&&0!==f.compareTo(r)){for(varp=o;--p;){if(0===(f=f.modPowInt(2,t)).compareTo(a.ONE))return!1;if(0===f.compareTo(r))break}if(0===p)return!1}}return!0}(t)}},function(t,i,r){varo,s=r(0);functione(t,i,r){this.data=[],null!=t&&("number"==typeoft?this.fromNumber(t,i,r):null==i&&"string"!=typeoft?this.fromString(t,256):this.fromString(t,i))}functiona(){returnnewe(null)}functionn(t,i,r,o,s,e){for(vara=16383&i,n=i>>14;--e>=0;){varh=16383&this.data[t],u=this.data[t++]>>14,f=n*h+u*a;s=((h=a*h+((16383&f)<<14)+r.data[o]+s)>>28)+(f>>14)+n*u,r.data[o++]=268435455&h}returns}t.exports=s.jsbn=s.jsbn||{},s.jsbn.BigInteger=e,"undefined"==typeofnavigator?(e.prototype.am=n,o=28):"Microsoft Internet Explorer"==navigator.appName?(e.prototype.am=function(t,i,r,o,s,e){for(vara=32767&i,n=i>>15;--e>=0;){varh=32767&this.data[t],u=this.data[t++]>>15,f=n*h+u*a;s=((h=a*h+((32767&f)<<15)+r.data[o]+(1073741823&s))>>>30)+(f>>>15)+n*u+(s>>>30),r.data[o++]=1073741823&h}returns},o=30):"Netscape"!=navigator.appName?(e.prototype.am=function(t,i,r,o,s,e){for(;--e>=0;){vara=i*this.data[t++]+r.data[o]+s;s=Math.floor(a/67108864),r.data[o++]=67108863&a}returns},o=26):(e.prototype.am=n,o=28),e.prototype.DB=o,e.prototype.DM=(1<<o)-1,e.prototype.DV=1<<o,e.prototype.FV=Math.pow(2,52),e.prototype.F1=52-o,e.prototype.F2=2*o-52;varh,u,f=newArray;for(h="0".charCodeAt(0),u=0;u<=9;++u)f[h++]=u;for(h="a".charCodeAt(0),u=10;u<36;++u)f[h++]=u;for(h="A".charCodeAt(0),u=10;u<36;++u)f[h++]=u;functionp(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}functiond(t,i){varr=f[t.charCodeAt(i)];returnnull==r?-1:r}functionc(t){vari=a();returni.fromInt(t),i}functionm(t){vari,r=1;return0!=(i=t>>>16)&&(t=i,r+=16),0!=(i=t>>8)&&(t=i,r+=8),0!=(i=t>>4)&&(t=i,r+=4),0!=(i=t>>2)&&(t=i,r+=2),0!=(i=t>>1)&&(t=i,r+=1),r}functionl(t){this.m=t}functionv(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}functionT(t,i){returnt&i}functiony(t,i){returnt|i}functionb(t,i){returnt^i}functiong(t,i){returnt&~i}functionD(t){if(0==t)return-1;vari=0;return0==(65535&t)&&(t>>=16,i+=16),0==(255&t)&&(t>>=8,i+=8),0==(15&t)&&(t>>=4,i+=4),0==(3&t)&&(t>>=2,i+=2),0==(1&t)&&++i,i}functionB(t){for(vari=0;0!=t;)t&=t-1,++i;returni}functionS(){}functionM(t){returnt}functionw(t){this.r2=a(),this.q3=a(),eLine truncated
varTesseractCoreWASM=(()=>{varA="undefined"!=typeofdocument&&document.currentScript?document.currentScript.src:void0;return"undefined"!=typeof__filename&&(A=A||__filename),function(I){varg,C,B;I=I||{},g||(g=void0!==I?I:{}),g.ready=newPromise((function(A,I){C=A,B=I}));varQ,E,D,i,G,o,K=Object.assign({},g),F="./this.program",R=(A,I)=>{throwI},w="object"==typeofwindow,N="function"==typeofimportScripts,y="object"==typeofprocess&&"object"==typeofprocess.versions&&"string"==typeofprocess.versions.node,h="";y?(h=N?require("path").dirname(h)+"/":__dirname+"/",o=()=>{G||(i=require("fs"),G=require("path"))},Q=function(A,I){varg=rA(A);returng?I?g:g.toString():(o(),A=G.normalize(A),i.readFileSync(A,I?void0:"utf8"))},D=A=>((A=Q(A,!0)).buffer||(A=newUint8Array(A)),A),E=(A,I,g)=>{varC=rA(A);C&&I(C),o(),A=G.normalize(A),i.readFile(A,(function(A,C){A?g(A):I(C.buffer)}))},1<process.argv.length&&(F=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),process.on("uncaughtException",(function(A){if(!(AinstanceofBA))throwA})),process.on("unhandledRejection",(function(A){throwA})),R=(A,I)=>{if(S)throwprocess.exitCode=A,I;IinstanceofBA||J("exiting due to exception: "+I),process.exit(A)},g.inspect=function(){return"[Emscripten Module object]"}):(w||N)&&(N?h=self.location.href:"undefined"!=typeofdocument&&document.currentScript&&(h=document.currentScript.src),A&&(h=A),h=0!==h.indexOf("blob:")?h.substr(0,h.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Q=A=>{try{varI=newXMLHttpRequest;returnI.open("GET",A,!1),I.send(null),I.responseText}catch(B){if(A=rA(A)){I=[];for(varg=0;g<A.length;g++){varC=A[g];255<C&&(TA&&u("Character code "+C+" ("+String.fromCharCode(C)+") at offset "+g+" not in 0x00-0xFF."),C&=255),I.push(String.fromCharCode(C))}returnI.join("")}throwB}},N&&(D=A=>{try{varI=newXMLHttpRequest;returnI.open("GET",A,!1),I.responseType="arraybuffer",I.send(null),newUint8Array(I.response)}catch(I){if(A=rA(A))returnA;throwI}}),E=(A,I,g)=>{varC=newXMLHttpRequest;C.open("GET",A,!0),C.responseType="arraybuffer",C.onload=()=>{if(200==C.status||0==C.status&&C.response)I(C.response);else{varB=rA(A);B?I(B.buffer):g()}},C.onerror=g,C.send(null)});varU=g.print||console.log.bind(console),J=g.printErr||console.warn.bind(console);Object.assign(g,K),K=null,g.thisProgram&&(F=g.thisProgram),g.quit&&(R=g.quit);varY,H=0;g.wasmBinary&&(Y=g.wasmBinary);varS=g.noExitRuntime||!0;"object"!=typeofWebAssembly&&u("no native wasm support detected");varM,k,a,s,L,c,d,q,Z,t=!1,l="undefined"!=typeofTextDecoder?newTextDecoder("utf8"):void0;functionn(A,I){for(varg=I+NaN,C=I;A[C]&&!(C>=g);)++C;if(16<C-I&&A.buffer&&l)returnl.decode(A.subarray(I,C));for(g="";I<C;){varB=A[I++];if(128&B){varQ=63&A[I++];if(192==(224&B))g+=String.fromCharCode((31&B)<<6|Q);else{varE=63&A[I++];65536>(B=224==(240&B)?(15&B)<<12|Q<<6|E:(7&B)<<18|Q<<12|E<<6|63&A[I++])?g+=String.fromCharCode(B):(B-=65536,g+=String.fromCharCode(55296|B>>10,56320|1023&B))}}elseg+=String.fromCharCode(B)}returng}functionW(A){returnA?n(s,A):""}functionb(A,I,g,C){if(!(0<C))return0;varB=g;C=g+C-1;for(varQ=0;Q<A.length;++Q){varE=A.charCodeAt(Q);if(55296<=E&&57343>=E&&(E=65536+((1023&E)<<10)|1023&A.charCodeAt(++Q)),127>=E){if(g>=C)break;I[g++]=E}else{if(2047>=E){if(g+1>=C)break;I[g++]=192|E>>6}else{if(65535>=E){if(g+2>=C)break;I[g++]=224|E>>12}else{if(g+3>=C)break;I[g++]=240|E>>18,I[g++]=128|E>>12&63}I[g++]=128|E>>6&63}I[g++]=128|63&E}}returnI[g]=0,g-B}functionV(A){for(varI=0,g=0;g<A.length;++g){varC=A.charCodeAt(g);127>=C?I++:2047>=C?I+=2:55296<=C&&57343>=C?(I+=4,++g):I+=3}returnI}functionm(){varA=M.buffer;k=A,g.HEAP8=a=newInt8Array(A),g.HEAP16=L=newInt16Array(A),g.HEAP32=c=newInt32Array(A),g.HEAPU8=s=newUint8Array(A),g.HEAPU16=newUint16Array(A),g.HEAPU32=d=newUint32Array(A),g.HEAPF32=q=newFloat32Array(A),g.HEAPF64=Z=newFloat64Array(A)}varx,p=[],f=[],T=[],X=!1;functionr(){varA=g.preRun.shift();p.unshift(A)}varO=0,j=null,e=null;functionz(){O++,g.monitorRunDependencies&&g.monitorRunDependencies(O)}functionP(){if(O--,g.monitorRunDependencies&&g.monitorRunDependencies(O),0==O&&(null!==j&&(clearInterval(j),j=null),e)){varA=e;e=null,A()}}functionu(A){throwg.onAbort&&g.onAbort(A),J(A="Aborted("+A+")"),t=!0,A=newWebAssembly.RuntimeError(A+". Build with -sASSERTIONS for more info."),B(A),A}varv,_="data:application/octet-stream;base64,";if(!(v="data:application/octet-stream;base64,AGFzbQEAAAABmQukAWABfwBgAX8Bf2ADf39/AX9gAn9/AX9gAn9/AGADf39/AGAEf39/fwBgBH9/f38Bf2AFf39/f38AYAV/f39/fwF/YAZ/f39/f38Bf2AGf39/f39/AGADf35/AX5gB39/f39/f38AYAl/f39/f39/f38AYAAAYAF/AX1gAAF/YAd/f39/f39/AX9gCH9/f39/f39/AX9gAn9+AX9gCH9/f39/f39/AXxgAX8BfmAEf35/fwF+YAJ/fwF9YAx/f39/f39/f39/f38AYAF9AX1gAn9+AX5gAXwBfGADf39/AX1gCX9/f39/f39/fwF/YAJ/fQBgAn9/AX5gA399fwF/YAV/fn5+fgBgBX99fX1/AGACf38BfGAIf39/f39/f38AYAF/AXxgBH9/f38BfmAFf39/f3wBf2ADf39/AXxgCn9/f39/f39/f38Bf2ADf319AX9gBX9/fn9/AGAKf39/f39/f39/fwBgAnx8AXxgA39/fgBgA39+fwBgBX9/f39+AX9gAn5/AX9gBH9+fn8AYAN/fn8Bf2ADf399AXLine truncated
/*! For license information please see worker.min.js.LICENSE.txt */
(()=>{var__webpack_modules__={919:(t,e)=>{"use strict";e.byteLength=function(t){vare=f(t),r=e[0],n=e[1];return3*(r+n)/4-n},e.toByteArray=function(t){vare,r,o=f(t),a=o[0],s=o[1],u=newi(function(t,e,r){return3*(e+r)/4-r}(0,a,s)),c=0,h=s>0?a-4:a;for(r=0;r<h;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;return2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[c++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e),u},e.fromByteArray=function(t){for(vare,n=t.length,i=n%3,o=[],a=16383,s=0,f=n-i;s<f;s+=a)o.push(u(t,s,s+a>f?f:s+a));return1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")};for(varr=[],n=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;functionf(t){vare=t.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}functionu(t,e,n){for(vari,o,a=[],s=e;s<n;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},86:(t,e,r)=>{varn=r(752),i=r(773);t.exports={encode:n,decode:i}},773:(t,e,r)=>{varn=r(33).lW;functioni(t,e){if(this.pos=0,this.buffer=t,this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=this.buffer.toString("utf-8",0,this.pos+=2),"BM"!=this.flag)thrownewError("Invalid BMP File");this.parseHeader(),this.parseRGBA()}i.prototype.parseHeader=function(){if(this.fileSize=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.reserved=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.offset=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.headerSize=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.width=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.height=this.buffer.readInt32LE(this.pos),this.pos+=4,this.planes=this.buffer.readUInt16LE(this.pos),this.pos+=2,this.bitPP=this.buffer.readUInt16LE(this.pos),this.pos+=2,this.compress=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.rawSize=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.hr=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.vr=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.colors=this.buffer.readUInt32LE(this.pos),this.pos+=4,this.importantColors=this.buffer.readUInt32LE(this.pos),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){vart=0===this.colors?1<<this.bitPP:this.colors;this.palette=newArray(t);for(vare=0;e<t;e++){varr=this.buffer.readUInt8(this.pos++),n=this.buffer.readUInt8(this.pos++),i=this.buffer.readUInt8(this.pos++),o=this.buffer.readUInt8(this.pos++);this.palette[e]={red:i,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},i.prototype.parseRGBA=function(){vart="bit"+this.bitPP,e=this.width*this.height*4;this.data=newn(e),this[t]()},i.prototype.bit1=function(){vart=Math.ceil(this.width/8),e=t%4,r=this.height>=0?this.height-1:-this.height;for(r=this.height-1;r>=0;r--){for(varn=this.bottom_up?r:this.height-1-r,i=0;i<t;i++)for(varo=this.buffer.readUInt8(this.pos++),a=n*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){varf=this.palette[o>>7-s&1];this.data[a+4*s]=0,this.data[a+4*s+1]=f.blue,this.data[a+4*s+2]=f.green,this.data[a+4*s+3]=f.red}0!=e&&(this.pos+=4-e)}},i.prototype.bit4=function(){if(2==this.compress){vart=function(t){varr=this.palette[t];this.data[e]=0,this.data[e+1]=r.blue,this.data[e+2]=r.green,this.data[e+3]=r.red,e+=4};this.data.fill(255);for(vare=0,r=this.bottom_up?this.height-1:0,n=!1;e<this.data.length;){vari=this.buffer.readUInt8(this.pos++),o=this.buffer.readUInt8(this.pos++);if(0==i){if(0==o){this.bottom_up?r--:r++,e=r*this.width*4,n=!1;continue}if(1==o)break;if(2==o){vara=this.buffer.readUInt8(this.pos++),s=this.buffer.readUInt8(this.pos++);this.bottom_up?r-=s:r+=s,e+=s*this.width*4+4*a}else{for(varf=this.buffer.readUInt8(this.pos++),u=0;u<o;u++)t.call(this,n?15&f:(240&f)>>4),1&u&&u+1<o&&(f=this.buffer.readUInt8(this.pos++)),n=!n;1==(o+1>>1&1)&&this.pos++}}elsefor(u=0;u<i;u++)t.call(this,n?15&o:(240&o)>>4),n=!n}}else{varc=Math.ceil(this.width/2),h=c%4;for(s=this.height-1;s>=0;s--){varp=this.bottom_up?s:this.height-1-s;for(a=0;a<c;a++){o=this.buffer.readUInt8(this.pos++),e=p*this.width*4+2*a*4;varl=o>>4,d=15&o,m=this.palette[l];if(this.data[e]=0,this.data[e+1]=m.blue,this.data[e+2]=m.green,this.data[e+3]=m.red,2*a+1>=this.width)break;m=this.palette[d],this.data[e+4]=0,this.data[e+4+1]=m.blue,this.data[e+4+2]=m.green,this.data[e+4+3]=m.red}0!=h&&(this.pos+=4-h)}}},i.prototype.bit8=function(){if(1==this.compress){vart=function(t){varr=this.palette[t];this.data[e]=0,this.data[e+1]=r.blue,this.data[e+2]=r.green,this.dLine truncated
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE html><htmllang="en"class="classic"><head><metacharset="UTF-8"><title>CyberChef</title><metaname="copyright"content="Crown Copyright 2016"><metaname="description"content="The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis"><metaname="keywords"content="base64, hex, decode, encode, encrypt, decrypt, compress, decompress, regex, regular expressions, hash, crypt, hexadecimal, user agent, url, certificate, x.509, parser, JSON, gzip, md5, sha1, aes, des, blowfish, xor"><linkrel="icon"type="image/ico"href="assets/aecc661b69309290f600.ico"><scripttype="application/javascript">"use strict";try{document.querySelector(":root").className=(JSON.parse(localStorage.getItem("options"))||{}).theme}catch(e){}varloadingMsgs=["Proving P = NP...","Computing 6 x 9...","Mining bitcoin...","Dividing by 0...","Initialising Skynet...","[REDACTED]","Downloading more RAM...","Ordering 1s and 0s...","Navigating neural network...","Importing machine learning...","Issuing Alice and Bob one-time pads...","Mining bitcoin cash...","Generating key material by trying to escape vim...","for i in range(additional): Pylon()","(creating unresolved tension...","Symlinking emacs and vim to ed...","Training branch predictor...","Timing cache hits...","Speculatively executing recipes...","Adding LLM hallucinations..."];for(lete=loadingMsgs.length-1;e>0;--e){varj=Math.floor(Math.random()*(e+1)),temp=loadingMsgs[e];loadingMsgs[e]=loadingMsgs[j],loadingMsgs[j]=temp}functionchangeLoadingMsg(){vare=loadingMsgs.shift();loadingMsgs.push(e);try{varn=document.getElementById("preloader-msg");n.classList.contains("loading")||n.classList.add("loading"),n.innerHTML=e}catch(e){setTimeout(changeLoadingMsg,1e3)}}functionloadingErrorHandler(e){functionn(e){varn={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`"};returne.replace(/[&<>"'/`]/g,(function(e){returnn[e]}))}varr=e.message+(e.filename?"\nFilename: "+e.filename:"")+(e.lineno?"\nLine: "+e.lineno:"")+(e.colno?"\nColumn: "+e.colno:"")+(e.error?"\nError: "+e.error:"")+"\nUser-Agent: "+navigator.userAgent+"\nCyberChef version: 10.5.2";clearInterval(window.loadingMsgsInt),document.getElementById("preloader").remove(),document.getElementById("preloader-msg").remove(),document.getElementById("preloader-error").innerHTML="CyberChef encountered an error while loading.<br><br>The following browser versions are supported:<ul><li>Google Chrome 50+</li><li>Mozilla Firefox 38+</li></ul>Your user agent is:<br>"+n(navigator.userAgent)+"<br><br>If your browser is supported, please <a href='https://github.com/gchq/CyberChef/issues/new/choose'>raise an issue</a> including the following details:<br><br><pre>"+n(r)+"</pre>"}changeLoadingMsg(),window.loadingMsgsInt=setInterval(changeLoadingMsg,2e3*Math.random()+1500),window.addEventListener("error",loadingErrorHandler)</script><scriptdefer="defer"src="assets/main.js"></script><linkhref="assets/main.css"rel="stylesheet"><scripttype='application/ld+json'>[{"@context":"http://schema.org","@type":"Organization","url":"https://gchq.github.io/CyberChef/","logo":"https://gchq.github.io/CyberChef/images/cyberchef-128x128.png","sameAs":["https://github.com/gchq/CyberChef","https://www.npmjs.com/package/cyberchef"]},{"@context":"http://schema.org","@type":"WebSite","url":"https://gchq.github.io/CyberChef/","name":"CyberChef","potentialAction":{"@type":"SearchAction","target":"https://gchq.github.io/CyberChef/?op={operation_search_term}","query-input":"required name=operation_search_term"}}]</script></head><body><divid="loader-wrapper"><divid="preloader"class="loader"></div><divid="preloader-msg"class="loading-msg"></div><divid="preloader-error"class="loading-error"></div></div><buttontype="button"class="btn btn-warning bmd-btn-icon"id="edit-favourites"data-toggle="tooltip"title="Edit favourites"><iclass="material-icons">star</i></button><divid="content-wrapper"><divid="banner"class="row"><divclass="col"style="text-align:left;padding-left:10px"><ahref="#"data-toggle="modal"data-target="#download-modal"data-help-title="Downloading CyberChef"data-help="<p>CyberChef can be downloaded to run locally or hosted within your own network. It has no server-side component so all that is required is that the ZIP file is uncompressed and the files are accessible.</p><p>As a user, it is worth noting that unofficial versions of CyberChef could have been modified to introduce Input and/or Recipe exfiltration. We recommend always using the official, open source, up-to-date version of CyberChef hosted at <a href='https://gchq.github.io/CyberChef'>https://gchq.github.io/CyberChef</a> if accessible.</p><p>The Network tab in your browser's Developer console (F12) can be used to inspect the network requests made by a website. This can confirm that no data is uploaded when a CyberChef recipe is baked.</p>">Download CyberChef <iclass="material-icons">file_download</i></a></Line truncated
/*! For license information please see Bletchley.js.LICENSE.txt */
(()=>{vare={79742:(e,t)=>{"use strict";t.byteLength=function(e){vart=u(e),r=t[0],n=t[1];return3*(r+n)/4-n},t.toByteArray=function(e){vart,r,i=u(e),a=i[0],s=i[1],l=newo(function(e,t,r){return3*(t+r)/4-r}(0,a,s)),c=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;return2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(vart,n=e.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(l(e,s,s+a>u?u:s+a));return1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(varr=[],n=[],o="undefined"!=typeofUint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;functionu(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functionl(e,t,n){for(varo,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";constn=r(79742),o=r(80645),i="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.INSPECT_MAX_BYTES=50;consta=2147483647;functions(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');constt=newUint8Array(e);returnObject.setPrototypeOf(t,u.prototype),t}functionu(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnf(e)}returnl(e,t,r)}functionl(e,t,r){if("string"==typeofe)returnfunction(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!u.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);constr=0|m(e,t);letn=s(r);consto=n.write(e,t);returno!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))returnfunction(e){if(Y(e,Uint8Array)){constt=newUint8Array(e);returnp(t.buffer,t.byteOffset,t.byteLength)}returnh(e)}(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))returnp(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))returnp(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returnu.from(n,t,r);consto=function(e){if(u.isBuffer(e)){constt=0|d(e.length),r=s(t);return0===r.length||e.copy(r,0,0,t),r}returnvoid0!==e.length?"number"!=typeofe.length||J(e.length)?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void0}(e);if(o)returno;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returnu.from(e[Symbol.toPrimitive]("string"),t,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionc(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionf(e){returnc(e),s(e<0?0:0|d(e))}functionh(e){constt=e.length<0?0:0|d(e.length),r=s(t);for(letn=0;n<t;n+=1)r[n]=255&e[n];returnr}functionp(e,t,r){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===t&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,t):newUint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}functiond(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functionm(e,t){if(u.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||Y(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);constr=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leto=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnQ(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnH(e).length;default:if(o)returnn?-1:Q(e).length;t=(""+t).toLowerCase(),o=!0}}functionv(e,t,r){letn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see Charts.js.LICENSE.txt */
(()=>{vart={79742:(t,e)=>{"use strict";e.byteLength=function(t){vare=c(t),n=e[0],r=e[1];return3*(n+r)/4-r},e.toByteArray=function(t){vare,n,o=c(t),a=o[0],u=o[1],s=newi(function(t,e,n){return3*(e+n)/4-n}(0,a,u)),f=0,l=u>0?a-4:a;for(n=0;n<l;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],s[f++]=e>>16&255,s[f++]=e>>8&255,s[f++]=255&e;return2===u&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,s[f++]=255&e),1===u&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,s[f++]=e>>8&255,s[f++]=255&e),s},e.fromByteArray=function(t){for(vare,r=t.length,i=r%3,o=[],a=16383,u=0,c=r-i;u<c;u+=a)o.push(s(t,u,u+a>c?c:u+a));return1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),o.join("")};for(varn=[],r=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;functionc(t){vare=t.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varn=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}functions(t,e,r){for(vari,o,a=[],u=e;u<r;u+=3)i=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);returna.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:(t,e,n)=>{"use strict";constr=n(79742),i=n(80645),o="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=c,e.INSPECT_MAX_BYTES=50;consta=2147483647;functionu(t){if(t>a)thrownewRangeError('The value "'+t+'" is invalid for option "size"');conste=newUint8Array(t);returnObject.setPrototypeOf(e,c.prototype),e}functionc(t,e,n){if("number"==typeoft){if("string"==typeofe)thrownewTypeError('The "string" argument must be of type string. Received type number');returnl(t)}returns(t,e,n)}functions(t,e,n){if("string"==typeoft)returnfunction(t,e){if("string"==typeofe&&""!==e||(e="utf8"),!c.isEncoding(e))thrownewTypeError("Unknown encoding: "+e);constn=0|y(t,e);letr=u(n);consti=r.write(t,e);returni!==n&&(r=r.slice(0,i)),r}(t,e);if(ArrayBuffer.isView(t))returnfunction(t){if(X(t,Uint8Array)){conste=newUint8Array(t);returnd(e.buffer,e.byteOffset,e.byteLength)}returnh(t)}(t);if(null==t)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft);if(X(t,ArrayBuffer)||t&&X(t.buffer,ArrayBuffer))returnd(t,e,n);if("undefined"!=typeofSharedArrayBuffer&&(X(t,SharedArrayBuffer)||t&&X(t.buffer,SharedArrayBuffer)))returnd(t,e,n);if("number"==typeoft)thrownewTypeError('The "value" argument must not be of type number. Received type number');constr=t.valueOf&&t.valueOf();if(null!=r&&r!==t)returnc.from(r,e,n);consti=function(t){if(c.isBuffer(t)){conste=0|p(t.length),n=u(e);return0===n.length||t.copy(n,0,0,e),n}returnvoid0!==t.length?"number"!=typeoft.length||J(t.length)?u(0):h(t):"Buffer"===t.type&&Array.isArray(t.data)?h(t.data):void0}(t);if(i)returni;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeoft[Symbol.toPrimitive])returnc.from(t[Symbol.toPrimitive]("string"),e,n);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft)}functionf(t){if("number"!=typeoft)thrownewTypeError('"size" argument must be of type number');if(t<0)thrownewRangeError('The value "'+t+'" is invalid for option "size"')}functionl(t){returnf(t),u(t<0?0:0|p(t))}functionh(t){conste=t.length<0?0:0|p(t.length),n=u(e);for(letr=0;r<e;r+=1)n[r]=255&t[r];returnn}functiond(t,e,n){if(e<0||t.byteLength<e)thrownewRangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))thrownewRangeError('"length" is outside of buffer bounds');letr;returnr=void0===e&&void0===n?newUint8Array(t):void0===n?newUint8Array(t,e):newUint8Array(t,e,n),Object.setPrototypeOf(r,c.prototype),r}functionp(t){if(t>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|t}functiony(t,e){if(c.isBuffer(t))returnt.length;if(ArrayBuffer.isView(t)||X(t,ArrayBuffer))returnt.byteLength;if("string"!=typeoft)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeoft);constn=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return0;leti=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":returnG(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnV(t).length;default:if(i)returnr?-1:G(t).length;e=(""+e).toLowerCase(),i=!0}}functiong(t,e,n){letr=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<Line truncated
/*! For license information please see Ciphers.js.LICENSE.txt */
(()=>{var__webpack_modules__={10322:function(module){varfactory;factory=function(){returnfunction(e){vart={};functionr(n){if(t[n])returnt[n].exports;vari=t[n]={i:n,l:!1,exports:{}};returne[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}returnr.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(variine)r.d(n,i,function(t){returne[t]}.bind(null,i));returnn},r.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(t,"a",t),t},r.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=177)}([function(e,t){"function"==typeofObject.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;varr=function(){};r.prototype=t.prototype,e.prototype=newr,e.prototype.constructor=e}},function(e,t,r){varn=r(2),i=n.Buffer;functiona(e,t){for(varrine)t[r]=e[r]}functiono(e,t,r){returni(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeofe)thrownewTypeError("Argument must be a number");varn=i(e);returnvoid0!==t?"string"==typeofr?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeofe)thrownewTypeError("Argument must be a number");returni(e)},o.allocUnsafeSlow=function(e){if("number"!=typeofe)thrownewTypeError("Argument must be a number");returnn.SlowBuffer(e)}},function(e,t,r){"use strict";(function(e){varn=r(169),i=r(168),a=r(76);functiono(){returnc.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functions(e,t){if(o()<t)thrownewRangeError("Invalid typed array length");returnc.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t)).__proto__=c.prototype:(null===e&&(e=newc(t)),e.length=t),e}functionc(e,t,r){if(!(c.TYPED_ARRAY_SUPPORT||thisinstanceofc))returnnewc(e,t,r);if("number"==typeofe){if("string"==typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnh(this,e)}returnu(this,e,t,r)}functionu(e,t,r,n){if("number"==typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&tinstanceofArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))thrownewRangeError("'length' is out of bounds");returnt=void0===r&&void0===n?newUint8Array(t):void0===n?newUint8Array(t,r):newUint8Array(t,r,n),c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=l(e,t),e}(e,t,r,n):"string"==typeoft?function(e,t,r){if("string"==typeofr&&""!==r||(r="utf8"),!c.isEncoding(r))thrownewTypeError('"encoding" must be a valid string encoding');varn=0|p(t,r),i=(e=s(e,n)).write(t,r);returni!==n&&(e=e.slice(0,i)),e}(e,t,r):function(e,t){if(c.isBuffer(t)){varr=0|d(t.length);return0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!=typeoft.length||(n=t.length)!=n?s(e,0):l(e,t);if("Buffer"===t.type&&a(t.data))returnl(e,t.data)}varn;thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}functionf(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionh(e,t){if(f(t),e=s(e,t<0?0:0|d(t)),!c.TYPED_ARRAY_SUPPORT)for(varr=0;r<t;++r)e[r]=0;returne}functionl(e,t){varr=t.length<0?0:0|d(t.length);e=s(e,r);for(varn=0;n<r;n+=1)e[n]=255&t[n];returne}functiond(e){if(e>=o())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return0|e}functionp(e,t){if(c.isBuffer(e))returne.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!=typeofe&&(e=""+e);varr=e.length;if(0===r)return0;for(varn=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":casevoid0:returnK(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnG(e).length;default:if(n)returnK(e).length;t=(""+t).toLowerCase(),n=!0}}functiony(e,t,r){varn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.lenLine truncated
* Custom error type for handling Dish type errors.
* i.e. where the Dish cannot be successfully translated between types
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*/
/**
* Custom error type for handling operation input errors.
* i.e. where the operation can handle the error and print a message to the screen.
*
* @author d98762625 [d98762625@gmail.com]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*/
/**
* CyberChef - The Cyber Swiss Army Knife
*
* @copyright Crown Copyright 2016
* @license Apache-2.0
*
* Copyright 2016 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Decimal functions.
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*/
/**
* File signatures and extractor functions
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*
*/
/**
* File type functions
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*
*/
/**
* Hexadecimal functions.
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*/
/**
* RSA resources.
*
* @author Matt C [me@mitt.dev]
* @copyright Crown Copyright 2021
* @license Apache-2.0
*/
/**
* Stream class for parsing binary protocols.
*
* @author n1474335 [n1474335@gmail.com]
* @author tlwr [toby@toby.codes]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*
*/
/**
* Various delimiters
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2018
* @license Apache-2.0
*/
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- 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.
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.
/*! For license information please see Compression.js.LICENSE.txt */
(()=>{var__webpack_modules__={79742:(A,e)=>{"use strict";e.byteLength=function(A){vare=o(A),t=e[0],I=e[1];return3*(t+I)/4-I},e.toByteArray=function(A){vare,t,i=o(A),g=i[0],n=i[1],a=newr(function(A,e,t){return3*(e+t)/4-t}(0,g,n)),C=0,B=n>0?g-4:g;for(t=0;t<B;t+=4)e=I[A.charCodeAt(t)]<<18|I[A.charCodeAt(t+1)]<<12|I[A.charCodeAt(t+2)]<<6|I[A.charCodeAt(t+3)],a[C++]=e>>16&255,a[C++]=e>>8&255,a[C++]=255&e;return2===n&&(e=I[A.charCodeAt(t)]<<2|I[A.charCodeAt(t+1)]>>4,a[C++]=255&e),1===n&&(e=I[A.charCodeAt(t)]<<10|I[A.charCodeAt(t+1)]<<4|I[A.charCodeAt(t+2)]>>2,a[C++]=e>>8&255,a[C++]=255&e),a},e.fromByteArray=function(A){for(vare,I=A.length,r=I%3,i=[],g=16383,n=0,o=I-r;n<o;n+=g)i.push(a(A,n,n+g>o?o:n+g));return1===r?(e=A[I-1],i.push(t[e>>2]+t[e<<4&63]+"==")):2===r&&(e=(A[I-2]<<8)+A[I-1],i.push(t[e>>10]+t[e>>4&63]+t[e<<2&63]+"=")),i.join("")};for(vart=[],I=[],r="undefined"!=typeofUint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,n=i.length;g<n;++g)t[g]=i[g],I[i.charCodeAt(g)]=g;functiono(A){vare=A.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");vart=A.indexOf("=");return-1===t&&(t=e),[t,t===e?0:4-t%4]}functiona(A,e,I){for(varr,i,g=[],n=e;n<I;n+=3)r=(A[n]<<16&16711680)+(A[n+1]<<8&65280)+(255&A[n+2]),g.push(t[(i=r)>>18&63]+t[i>>12&63]+t[i>>6&63]+t[63&i]);returng.join("")}I["-".charCodeAt(0)]=62,I["_".charCodeAt(0)]=63},48764:(A,e,t)=>{"use strict";constI=t(79742),r=t(80645),i="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.INSPECT_MAX_BYTES=50;constg=2147483647;functionn(A){if(A>g)thrownewRangeError('The value "'+A+'" is invalid for option "size"');conste=newUint8Array(A);returnObject.setPrototypeOf(e,o.prototype),e}functiono(A,e,t){if("number"==typeofA){if("string"==typeofe)thrownewTypeError('The "string" argument must be of type string. Received type number');returnB(A)}returna(A,e,t)}functiona(A,e,t){if("string"==typeofA)returnfunction(A,e){if("string"==typeofe&&""!==e||(e="utf8"),!o.isEncoding(e))thrownewTypeError("Unknown encoding: "+e);constt=0|Q(A,e);letI=n(t);constr=I.write(A,e);returnr!==t&&(I=I.slice(0,r)),I}(A,e);if(ArrayBuffer.isView(A))returnfunction(A){if(Z(A,Uint8Array)){conste=newUint8Array(A);returnE(e.buffer,e.byteOffset,e.byteLength)}returns(A)}(A);if(null==A)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofA);if(Z(A,ArrayBuffer)||A&&Z(A.buffer,ArrayBuffer))returnE(A,e,t);if("undefined"!=typeofSharedArrayBuffer&&(Z(A,SharedArrayBuffer)||A&&Z(A.buffer,SharedArrayBuffer)))returnE(A,e,t);if("number"==typeofA)thrownewTypeError('The "value" argument must not be of type number. Received type number');constI=A.valueOf&&A.valueOf();if(null!=I&&I!==A)returno.from(I,e,t);constr=function(A){if(o.isBuffer(A)){conste=0|h(A.length),t=n(e);return0===t.length||A.copy(t,0,0,e),t}returnvoid0!==A.length?"number"!=typeofA.length||j(A.length)?n(0):s(A):"Buffer"===A.type&&Array.isArray(A.data)?s(A.data):void0}(A);if(r)returnr;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofA[Symbol.toPrimitive])returno.from(A[Symbol.toPrimitive]("string"),e,t);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofA)}functionC(A){if("number"!=typeofA)thrownewTypeError('"size" argument must be of type number');if(A<0)thrownewRangeError('The value "'+A+'" is invalid for option "size"')}functionB(A){returnC(A),n(A<0?0:0|h(A))}functions(A){conste=A.length<0?0:0|h(A.length),t=n(e);for(letI=0;I<e;I+=1)t[I]=255&A[I];returnt}functionE(A,e,t){if(e<0||A.byteLength<e)thrownewRangeError('"offset" is outside of buffer bounds');if(A.byteLength<e+(t||0))thrownewRangeError('"length" is outside of buffer bounds');letI;returnI=void0===e&&void0===t?newUint8Array(A):void0===t?newUint8Array(A,e):newUint8Array(A,e,t),Object.setPrototypeOf(I,o.prototype),I}functionh(A){if(A>=g)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+g.toString(16)+" bytes");return0|A}functionQ(A,e){if(o.isBuffer(A))returnA.length;if(ArrayBuffer.isView(A)||Z(A,ArrayBuffer))returnA.byteLength;if("string"!=typeofA)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofA);constt=A.length,I=arguments.length>2&&!0===arguments[2];if(!I&&0===t)return0;letr=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":returnt;case"utf8":case"utf-8":returnW(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*t;case"hex":returnt>>>1;case"base64":returnP(A).length;default:if(r)returnI?-1:W(A).length;e=(""+e).toLowerCase(),r=!0}}functionc(A,e,t){letI=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===t||t>this.length)&&Line truncated
/*! For license information please see Crypto.js.LICENSE.txt */
(()=>{vart,e,r={94110:(t,e,r)=>{vari,n=r(34155),o="undefined"!=typeofself&&void0!==self.Module?self.Module:{},a={};for(iino)o.hasOwnProperty(i)&&(a[i]=o[i]);vars,u,h,c,f=[];h="object"==typeofwindow,c="function"==typeofimportScripts,s="object"==typeofn&&"object"==typeofn.versions&&"string"==typeofn.versions.node,u=!h&&!s&&!c;varl,d,p,g,m,A="";s?(A=c?r(62520).dirname(A)+"/":"//",l=function(t,e){returng||(g=r(8866)),m||(m=r(62520)),t=m.normalize(t),g.readFileSync(t,e?null:"utf8")},p=function(t){vare=l(t,!0);returne.buffer||(e=newUint8Array(e)),C(e.buffer),e},n.argv.length>1&&n.argv[1].replace(/\\/g,"/"),f=n.argv.slice(2),t.exports=o,n.on("uncaughtException",(function(t){if(!(tinstanceofz))throwt})),n.on("unhandledRejection",N),o.inspect=function(){return"[Emscripten Module object]"}):u?("undefined"!=typeofread&&(l=function(t){returnread(t)}),p=function(t){vare;return"function"==typeofreadbuffer?newUint8Array(readbuffer(t)):(C("object"==typeof(e=read(t,"binary"))),e)},"undefined"!=typeofscriptArgs?f=scriptArgs:"undefined"!=typeofarguments&&(f=arguments),"undefined"!=typeofprint&&("undefined"==typeofconsole&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeofprintErr?printErr:print)):(h||c)&&(c?A=self.location.href:"undefined"!=typeofdocument&&document.currentScript&&(A=document.currentScript.src),A=0!==A.indexOf("blob:")?A.substr(0,A.lastIndexOf("/")+1):"",l=function(t){vare=newXMLHttpRequest;returne.open("GET",t,!1),e.send(null),e.responseText},c&&(p=function(t){vare=newXMLHttpRequest;returne.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),newUint8Array(e.response)}),d=function(t,e,r){vari=newXMLHttpRequest;i.open("GET",t,!0),i.responseType="arraybuffer",i.onload=function(){200==i.status||0==i.status&&i.response?e(i.response):r()},i.onerror=r,i.send(null)}),o.print||console.log.bind(console);vary,v,b=o.printErr||console.warn.bind(console);for(iina)a.hasOwnProperty(i)&&(o[i]=a[i]);a=null,o.arguments&&(f=o.arguments),o.thisProgram&&o.thisProgram,o.quit&&o.quit,o.wasmBinary&&(y=o.wasmBinary),o.noExitRuntime,"object"!=typeofWebAssembly&&N("no native wasm support detected");varw=!1;functionC(t,e){t||N("Assertion failed: "+e)}varE,B,I="undefined"!=typeofTextDecoder?newTextDecoder("utf8"):void0;functionM(t){E=t,o.HEAP8=newInt8Array(t),o.HEAP16=newInt16Array(t),o.HEAP32=newInt32Array(t),o.HEAPU8=B=newUint8Array(t),o.HEAPU16=newUint16Array(t),o.HEAPU32=newUint32Array(t),o.HEAPF32=newFloat32Array(t),o.HEAPF64=newFloat64Array(t)}o.INITIAL_MEMORY;varS,k=[],_=[],T=[],R=0,x=null,Q=null;functionN(t){throwo.onAbort&&o.onAbort(t),b(t+=""),w=!0,t="abort("+t+"). Build with -s ASSERTIONS=1 for more info.",newWebAssembly.RuntimeError(t)}o.preloadedImages={},o.preloadedAudios={};varD="data:application/octet-stream;base64,";functionU(t){returnt.startsWith(D)}functionL(t){returnt.startsWith("file://")}varF,O="argon2.wasm";functionP(t){try{if(t==O&&y)returnnewUint8Array(y);if(p)returnp(t);throw"both async and sync fetching of the wasm failed"}catch(t){N(t)}}functionH(t){for(;t.length>0;){vare=t.shift();if("function"!=typeofe){varr=e.func;"number"==typeofr?void0===e.arg?S.get(r)():S.get(r)(e.arg):r(void0===e.arg?null:e.arg)}elsee(o)}}functionj(t){try{returnv.grow(t-E.byteLength+65535>>>16),M(v.buffer),1}catch(t){}}U(O)||(F=O,O=o.locateFile?o.locateFile(F,A):A+F);varG,K={a:function(t,e,r){B.copyWithin(t,e,e+r)},b:function(t){vare,r=B.length,i=2147418112;if((t>>>=0)>i)return!1;for(varn=1;n<=4;n*=2){varo=r*(1+.2/n);if(o=Math.min(o,t+100663296),j(Math.min(i,((e=Math.max(t,o))%65536>0&&(e+=65536-e%65536),e))))return!0}return!1}},V=(function(){vart={a:K};functione(t,e){varr,i=t.exports;o.asm=i,M((v=o.asm.c).buffer),S=o.asm.k,r=o.asm.d,_.unshift(r),function(t){if(R--,o.monitorRunDependencies&&o.monitorRunDependencies(R),0==R&&(null!==x&&(clearInterval(x),x=null),Q)){vare=Q;Q=null,e()}}()}functionr(t){e(t.instance)}functioni(e){returnfunction(){if(!y&&(h||c)){if("function"==typeoffetch&&!L(O))returnfetch(O,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw"failed to load wasm binary file at '"+O+"'";returnt.arrayBuffer()})).catch((function(){returnP(O)}));if(d)returnnewPromise((function(t,e){d(O,(function(e){t(newUint8Array(e))}),e)}))}returnPromise.resolve().then((function(){returnP(O)}))}().then((function(e){returnWebAssembly.instantiate(e,t)})).then(e,(function(t){b("failed to asynchronously prepare wasm: "+t),N(t)}))}if(R++,o.monitorRunDependencies&&o.monitorRunDependencies(R),o.instantiateWasm)try{returno.instantiateWasm(t,e)}catch(t){returnb("Module.instantiateWasm callback failed with error: "+t),!1}y||"function"!=typeofWebAssembly.instantiateStreaming||U(O)||L(O)||"function"!=typeoffetch?i(r):fetch(O,{credentials:"same-origin"}).then((function(e){returnWebAssembly.instantiateStreaming(e,t).then(r,(function(t){returnb("wasm streaming compile failed: "+t),b("fallingbacktoArrayBuLine truncated
/*! For license information please see Diff.js.LICENSE.txt */
(()=>{vare={79742:(e,t)=>{"use strict";t.byteLength=function(e){vart=s(e),r=t[0],n=t[1];return3*(r+n)/4-n},t.toByteArray=function(e){vart,r,o=s(e),a=o[0],u=o[1],c=newi(function(e,t,r){return3*(t+r)/4-r}(0,a,u)),l=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(vart,n=e.length,i=n%3,o=[],a=16383,u=0,s=n-i;u<s;u+=a)o.push(c(e,u,u+a>s?s:u+a));return1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(varr=[],n=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;functions(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functionc(e,t,n){for(vari,o,a=[],u=t;u<n;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";constn=r(79742),i=r(80645),o="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.INSPECT_MAX_BYTES=50;consta=2147483647;functionu(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');constt=newUint8Array(e);returnObject.setPrototypeOf(t,s.prototype),t}functions(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnf(e)}returnc(e,t,r)}functionc(e,t,r){if("string"==typeofe)returnfunction(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!s.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);constr=0|m(e,t);letn=u(r);consti=n.write(e,t);returni!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))returnfunction(e){if(q(e,Uint8Array)){constt=newUint8Array(e);returnh(t.buffer,t.byteOffset,t.byteLength)}returnp(e)}(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer))returnh(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))returnh(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returns.from(n,t,r);consti=function(e){if(s.isBuffer(e)){constt=0|d(e.length),r=u(t);return0===r.length||e.copy(r,0,0,t),r}returnvoid0!==e.length?"number"!=typeofe.length||Z(e.length)?u(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void0}(e);if(i)returni;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returns.from(e[Symbol.toPrimitive]("string"),t,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionl(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionf(e){returnl(e),u(e<0?0:0|d(e))}functionp(e){constt=e.length<0?0:0|d(e.length),r=u(t);for(letn=0;n<t;n+=1)r[n]=255&e[n];returnr}functionh(e,t,r){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===t&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,t):newUint8Array(e,t,r),Object.setPrototypeOf(n,s.prototype),n}functiond(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functionm(e,t){if(s.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);constr=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leti=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnV(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnY(e).length;default:if(i)returnn?-1:V(e).length;t=(""+t).toLowerCase(),i=!0}}functionv(e,t,r){letn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see Encodings.js.LICENSE.txt */
(()=>{vart={79742:(t,e)=>{"use strict";e.byteLength=function(t){vare=s(t),r=e[0],n=e[1];return3*(r+n)/4-n},e.toByteArray=function(t){vare,r,i=s(t),a=i[0],l=i[1],c=newo(function(t,e,r){return3*(e+r)/4-r}(0,a,l)),h=0,f=l>0?a-4:a;for(r=0;r<f;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[h++]=e>>16&255,c[h++]=e>>8&255,c[h++]=255&e;return2===l&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[h++]=255&e),1===l&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[h++]=e>>8&255,c[h++]=255&e),c},e.fromByteArray=function(t){for(vare,n=t.length,o=n%3,i=[],a=16383,l=0,s=n-o;l<s;l+=a)i.push(c(t,l,l+a>s?s:l+a));return1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),i.join("")};for(varr=[],n=[],o="undefined"!=typeofUint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=i.length;a<l;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;functions(t){vare=t.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}functionc(t,e,n){for(varo,i,a=[],l=e;l<n;l+=3)o=(t[l]<<16&16711680)+(t[l+1]<<8&65280)+(255&t[l+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(t,e,r)=>{"use strict";constn=r(79742),o=r(80645),i="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=s,e.INSPECT_MAX_BYTES=50;consta=2147483647;functionl(t){if(t>a)thrownewRangeError('The value "'+t+'" is invalid for option "size"');conste=newUint8Array(t);returnObject.setPrototypeOf(e,s.prototype),e}functions(t,e,r){if("number"==typeoft){if("string"==typeofe)thrownewTypeError('The "string" argument must be of type string. Received type number');returnf(t)}returnc(t,e,r)}functionc(t,e,r){if("string"==typeoft)returnfunction(t,e){if("string"==typeofe&&""!==e||(e="utf8"),!s.isEncoding(e))thrownewTypeError("Unknown encoding: "+e);constr=0|g(t,e);letn=l(r);consto=n.write(t,e);returno!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))returnfunction(t){if(Y(t,Uint8Array)){conste=newUint8Array(t);returnp(e.buffer,e.byteOffset,e.byteLength)}returnu(t)}(t);if(null==t)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft);if(Y(t,ArrayBuffer)||t&&Y(t.buffer,ArrayBuffer))returnp(t,e,r);if("undefined"!=typeofSharedArrayBuffer&&(Y(t,SharedArrayBuffer)||t&&Y(t.buffer,SharedArrayBuffer)))returnp(t,e,r);if("number"==typeoft)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=t.valueOf&&t.valueOf();if(null!=n&&n!==t)returns.from(n,e,r);consto=function(t){if(s.isBuffer(t)){conste=0|d(t.length),r=l(e);return0===r.length||t.copy(r,0,0,e),r}returnvoid0!==t.length?"number"!=typeoft.length||K(t.length)?l(0):u(t):"Buffer"===t.type&&Array.isArray(t.data)?u(t.data):void0}(t);if(o)returno;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeoft[Symbol.toPrimitive])returns.from(t[Symbol.toPrimitive]("string"),e,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft)}functionh(t){if("number"!=typeoft)thrownewTypeError('"size" argument must be of type number');if(t<0)thrownewRangeError('The value "'+t+'" is invalid for option "size"')}functionf(t){returnh(t),l(t<0?0:0|d(t))}functionu(t){conste=t.length<0?0:0|d(t.length),r=l(e);for(letn=0;n<e;n+=1)r[n]=255&t[n];returnr}functionp(t,e,r){if(e<0||t.byteLength<e)thrownewRangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===e&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,e):newUint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}functiond(t){if(t>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|t}functiong(t,e){if(s.isBuffer(t))returnt.length;if(ArrayBuffer.isView(t)||Y(t,ArrayBuffer))returnt.byteLength;if("string"!=typeoft)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeoft);constr=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leto=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnq(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnW(t).length;default:if(o)returnn?-1:q(t).length;e=(""+e).toLowerCase(),o=!0}}functionA(t,e,r){letn=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see Hashing.js.LICENSE.txt */
(()=>{vart={39809:(t,e,r)=>{"use strict";consti=e;i.bignum=r(4590),i.define=r(22500).define,i.base=r(71979),i.constants=r(36826),i.decoders=r(78307),i.encoders=r(56579)},22500:(t,e,r)=>{"use strict";consti=r(56579),n=r(78307),o=r(35717);functions(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){returnnews(t,e)},s.prototype._createNamed=function(t){conste=this.name;functionr(t){this._initNamed(t,e)}returno(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},newr(this)},s.prototype._getDecoder=function(t){returnt=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(n[t])),this.decoders[t]},s.prototype.decode=function(t,e,r){returnthis._getDecoder(e).decode(t,r)},s.prototype._getEncoder=function(t){returnt=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(i[t])),this.encoders[t]},s.prototype.encode=function(t,e,r){returnthis._getEncoder(e).encode(t,r)}},36625:(t,e,r)=>{"use strict";consti=r(35717),n=r(98465).b,o=r(2399).Buffer;functions(t,e){n.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}functiona(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){returna.isEncoderBuffer(t)||(t=newa(t,e)),this.length+=t.length,t}),this);elseif("number"==typeoft){if(!(0<=t&&t<=255))returne.error("non-byte EncoderBuffer value");this.value=t,this.length=1}elseif("string"==typeoft)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))returne.error("Unsupported type: "+typeoft);this.value=t,this.length=t.length}}i(s,n),e.C=s,s.isDecoderBuffer=function(t){returntinstanceofs||"object"==typeoft&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeoft.offset&&"number"==typeoft.length&&"function"==typeoft.save&&"function"==typeoft.restore&&"function"==typeoft.isEmpty&&"function"==typeoft.readUInt8&&"function"==typeoft.skip&&"function"==typeoft.raw},s.prototype.save=function(){return{offset:this.offset,reporter:n.prototype.save.call(this)}},s.prototype.restore=function(t){conste=news(this.base);returne.offset=t.offset,e.length=this.offset,this.offset=t.offset,n.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){returnthis.offset===this.length},s.prototype.readUInt8=function(t){returnthis.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))returnthis.error(e||"DecoderBuffer overrun");constr=news(this.base);returnr._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},s.prototype.raw=function(t){returnthis.base.slice(t?t.offset:this.offset,this.length)},e.R=a,a.isEncoderBuffer=function(t){returntinstanceofa||"object"==typeoft&&"EncoderBuffer"===t.constructor.name&&"number"==typeoft.length&&"function"==typeoft.join},a.prototype.join=function(t,e){returnt||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeofthis.value?t[e]=this.value:"string"==typeofthis.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},71979:(t,e,r)=>{"use strict";consti=e;i.Reporter=r(98465).b,i.DecoderBuffer=r(36625).C,i.EncoderBuffer=r(36625).R,i.Node=r(41949)},41949:(t,e,r)=>{"use strict";consti=r(98465).b,n=r(36625).R,o=r(36625).C,s=r(79746),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],h=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);functionu(t,e,r){consti={};this._baseState=i,i.name=r,i.enc=t,i.parent=e||null,i.children=null,i.tag=null,i.args=null,i.reverseArgs=null,i.choice=null,i.optional=!1,i.any=!1,i.obj=!1,i.use=null,i.useDecoder=null,i.key=null,i.default=null,i.explicit=null,i.implicit=null,i.contains=null,i.parent||(i.children=[],this._wrap())}t.exports=u;constf=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){constt=this._baseState,e={};f.forEach((function(r){e[r]=t[r]}));constr=newthis.constructor(e.parent);returnr._baseState=e,r},u.prototype._wrap=function(){constt=this._baseState;h.forEach((function(e){this[e]=function(){constr=newthis.constructor(this);returnt.children.push(r),r[e].apply(r,arguments)}}),this)},u.prototype._init=function(t){conste=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){returnt._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(t){conste=this._baseState,Line truncated
/*! For license information please see Image.js.LICENSE.txt */
(()=>{var__webpack_modules__={63443:(t,e,r)=>{"use strict";varn=r(64836);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void0;vari=n(r(38416)),a=n(r(70784)),o=r(49118),s="image/bmp",u="image/x-ms-bmp",l=function(t){returne=a.default.decode(t),(0,o.scan)({bitmap:e},0,0,e.width,e.height,(function(t,r,n){vari=this.bitmap.data[n+0],a=this.bitmap.data[n+1],o=this.bitmap.data[n+2],s=this.bitmap.data[n+3];this.bitmap.data[n+0]=s,this.bitmap.data[n+1]=o,this.bitmap.data[n+2]=a,this.bitmap.data[n+3]=e.is_with_alpha?i:255})).bitmap;vare},c=function(t){returna.default.encode(function(t){return(0,o.scan)(t,0,0,t.bitmap.width,t.bitmap.height,(function(t,e,r){varn=this.bitmap.data[r+0],i=this.bitmap.data[r+1],a=this.bitmap.data[r+2],o=this.bitmap.data[r+3];this.bitmap.data[r+0]=o,this.bitmap.data[r+1]=a,this.bitmap.data[r+2]=i,this.bitmap.data[r+3]=n})).bitmap}(t)).data};e.default=function(){vart,e;return{mime:(0,i.default)({},s,["bmp"]),constants:{MIME_BMP:s,MIME_X_MS_BMP:u},decoders:(t={},(0,i.default)(t,s,l),(0,i.default)(t,u,l),t),encoders:(e={},(0,i.default)(e,s,c),(0,i.default)(e,u,c),e)}},t.exports=e.default},89407:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.srcOver=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a;return{r:(t.r*t.a+e.r*e.a*(1-t.a))/n,g:(t.g*t.a+e.g*e.a*(1-t.a))/n,b:(t.b*t.a+e.b*e.a*(1-t.a))/n,a:n}},e.dstOver=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a;return{r:(e.r*e.a+t.r*t.a*(1-e.a))/n,g:(e.g*e.a+t.g*t.a*(1-e.a))/n,b:(e.b*e.a+t.b*t.a*(1-e.a))/n,a:n}},e.multiply=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(i*s+i*(1-e.a)+s*(1-t.a))/n,g:(a*u+a*(1-e.a)+u*(1-t.a))/n,b:(o*l+o*(1-e.a)+l*(1-t.a))/n,a:n}},e.add=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a;return{r:(i+e.r*e.a)/n,g:(a+e.g*e.a)/n,b:(o+e.b*e.a)/n,a:n}},e.screen=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(i*e.a+s*t.a-i*s+i*(1-e.a)+s*(1-t.a))/n,g:(a*e.a+u*t.a-a*u+a*(1-e.a)+u*(1-t.a))/n,b:(o*e.a+l*t.a-o*l+o*(1-e.a)+l*(1-t.a))/n,a:n}},e.overlay=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(2*s<=e.a?2*i*s+i*(1-e.a)+s*(1-t.a):i*(1+e.a)+s*(1+t.a)-2*s*i-e.a*t.a)/n,g:(2*u<=e.a?2*a*u+a*(1-e.a)+u*(1-t.a):a*(1+e.a)+u*(1+t.a)-2*u*a-e.a*t.a)/n,b:(2*l<=e.a?2*o*l+o*(1-e.a)+l*(1-t.a):o*(1+e.a)+l*(1+t.a)-2*l*o-e.a*t.a)/n,a:n}},e.darken=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(Math.min(i*e.a,s*t.a)+i*(1-e.a)+s*(1-t.a))/n,g:(Math.min(a*e.a,u*t.a)+a*(1-e.a)+u*(1-t.a))/n,b:(Math.min(o*e.a,l*t.a)+o*(1-e.a)+l*(1-t.a))/n,a:n}},e.lighten=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(Math.max(i*e.a,s*t.a)+i*(1-e.a)+s*(1-t.a))/n,g:(Math.max(a*e.a,u*t.a)+a*(1-e.a)+u*(1-t.a))/n,b:(Math.max(o*e.a,l*t.a)+o*(1-e.a)+l*(1-t.a))/n,a:n}},e.hardLight=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(2*i<=t.a?2*i*s+i*(1-e.a)+s*(1-t.a):i*(1+e.a)+s*(1+t.a)-2*s*i-e.a*t.a)/n,g:(2*a<=t.a?2*a*u+a*(1-e.a)+u*(1-t.a):a*(1+e.a)+u*(1+t.a)-2*u*a-e.a*t.a)/n,b:(2*o<=t.a?2*o*l+o*(1-e.a)+l*(1-t.a):o*(1+e.a)+l*(1+t.a)-2*l*o-e.a*t.a)/n,a:n}},e.difference=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(i+s-2*Math.min(i*e.a,s*t.a))/n,g:(a+u-2*Math.min(a*e.a,u*t.a))/n,b:(o+l-2*Math.min(o*e.a,l*t.a))/n,a:n}},e.exclusion=function(t,e){varr=arguments.length>2&&void0!==arguments[2]?arguments[2]:1;t.a*=r;varn=e.a+t.a-e.a*t.a,i=t.r*t.a,a=t.g*t.a,o=t.b*t.a,s=e.r*e.a,u=e.g*e.a,l=e.b*e.a;return{r:(i*e.a+s*t.a-2*i*s+i*(1-e.a)+s*(1-t.a))/n,g:(a*e.a+u*t.a-2*a*u+a*(1-e.a)+u*(1-t.a))/n,b:(o*e.a+l*t.a-2*o*l+o*(1-e.a)+l*(1-t.a))/n,a:n}}},58380:(t,e,r)=>{"use strict";varn=r(75263);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){varn=arguments.length>3&&void0!==arguments[3]?arguments[3]:{},s=arguments.length>4?arguments[4]:void0;if("function"==typeofn&&(s=n,n={}),!(tinstanceofthis.constructor))returni.throwError.call(this,"The source must be a Jimp image",s);if("number"!=typeofe||"number"!=typeofr)returni.throwError.call(this,"Line truncated
/*! For license information please see OCR.js.LICENSE.txt */
(()=>{vare={79742:(e,t)=>{"use strict";t.byteLength=function(e){vart=s(e),r=t[0],n=t[1];return3*(r+n)/4-n},t.toByteArray=function(e){vart,r,i=s(e),a=i[0],u=i[1],c=newo(function(e,t,r){return3*(t+r)/4-r}(0,a,u)),l=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(vart,n=e.length,o=n%3,i=[],a=16383,u=0,s=n-o;u<s;u+=a)i.push(c(e,u,u+a>s?s:u+a));return1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(varr=[],n=[],o="undefined"!=typeofUint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;functions(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functionc(e,t,n){for(varo,i,a=[],u=t;u<n;u+=3)o=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";constn=r(79742),o=r(80645),i="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.INSPECT_MAX_BYTES=50;consta=2147483647;functionu(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');constt=newUint8Array(e);returnObject.setPrototypeOf(t,s.prototype),t}functions(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnf(e)}returnc(e,t,r)}functionc(e,t,r){if("string"==typeofe)returnfunction(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!s.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);constr=0|m(e,t);letn=u(r);consto=n.write(e,t);returno!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))returnfunction(e){if(q(e,Uint8Array)){constt=newUint8Array(e);returnh(t.buffer,t.byteOffset,t.byteLength)}returnp(e)}(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer))returnh(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))returnh(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returns.from(n,t,r);consto=function(e){if(s.isBuffer(e)){constt=0|d(e.length),r=u(t);return0===r.length||e.copy(r,0,0,t),r}returnvoid0!==e.length?"number"!=typeofe.length||K(e.length)?u(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void0}(e);if(o)returno;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returns.from(e[Symbol.toPrimitive]("string"),t,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionl(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionf(e){returnl(e),u(e<0?0:0|d(e))}functionp(e){constt=e.length<0?0:0|d(e.length),r=u(t);for(letn=0;n<t;n+=1)r[n]=255&e[n];returnr}functionh(e,t,r){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===t&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,t):newUint8Array(e,t,r),Object.setPrototypeOf(n,s.prototype),n}functiond(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functionm(e,t){if(s.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);constr=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leto=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnV(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnW(e).length;default:if(o)returnn?-1:V(e).length;t=(""+t).toLowerCase(),o=!0}}functiong(e,t,r){letn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see PGP.js.LICENSE.txt */
(()=>{vart={39809:(t,e,r)=>{"use strict";constn=e;n.bignum=r(4590),n.define=r(22500).define,n.base=r(71979),n.constants=r(36826),n.decoders=r(78307),n.encoders=r(56579)},22500:(t,e,r)=>{"use strict";constn=r(56579),i=r(78307),o=r(35717);functions(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){returnnews(t,e)},s.prototype._createNamed=function(t){conste=this.name;functionr(t){this._initNamed(t,e)}returno(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},newr(this)},s.prototype._getDecoder=function(t){returnt=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i[t])),this.decoders[t]},s.prototype.decode=function(t,e,r){returnthis._getDecoder(e).decode(t,r)},s.prototype._getEncoder=function(t){returnt=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},s.prototype.encode=function(t,e,r){returnthis._getEncoder(e).encode(t,r)}},36625:(t,e,r)=>{"use strict";constn=r(35717),i=r(98465).b,o=r(2399).Buffer;functions(t,e){i.call(this,e),o.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}functiona(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){returna.isEncoderBuffer(t)||(t=newa(t,e)),this.length+=t.length,t}),this);elseif("number"==typeoft){if(!(0<=t&&t<=255))returne.error("non-byte EncoderBuffer value");this.value=t,this.length=1}elseif("string"==typeoft)this.value=t,this.length=o.byteLength(t);else{if(!o.isBuffer(t))returne.error("Unsupported type: "+typeoft);this.value=t,this.length=t.length}}n(s,i),e.C=s,s.isDecoderBuffer=function(t){returntinstanceofs||"object"==typeoft&&o.isBuffer(t.base)&&"DecoderBuffer"===t.constructor.name&&"number"==typeoft.offset&&"number"==typeoft.length&&"function"==typeoft.save&&"function"==typeoft.restore&&"function"==typeoft.isEmpty&&"function"==typeoft.readUInt8&&"function"==typeoft.skip&&"function"==typeoft.raw},s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(t){conste=news(this.base);returne.offset=t.offset,e.length=this.offset,this.offset=t.offset,i.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){returnthis.offset===this.length},s.prototype.readUInt8=function(t){returnthis.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))returnthis.error(e||"DecoderBuffer overrun");constr=news(this.base);returnr._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},s.prototype.raw=function(t){returnthis.base.slice(t?t.offset:this.offset,this.length)},e.R=a,a.isEncoderBuffer=function(t){returntinstanceofa||"object"==typeoft&&"EncoderBuffer"===t.constructor.name&&"number"==typeoft.length&&"function"==typeoft.join},a.prototype.join=function(t,e){returnt||(t=o.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeofthis.value?t[e]=this.value:"string"==typeofthis.value?t.write(this.value,e):o.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},71979:(t,e,r)=>{"use strict";constn=e;n.Reporter=r(98465).b,n.DecoderBuffer=r(36625).C,n.EncoderBuffer=r(36625).R,n.Node=r(41949)},41949:(t,e,r)=>{"use strict";constn=r(98465).b,i=r(36625).R,o=r(36625).C,s=r(79746),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);functionf(t,e,r){constn={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}t.exports=f;consth=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];f.prototype.clone=function(){constt=this._baseState,e={};h.forEach((function(r){e[r]=t[r]}));constr=newthis.constructor(e.parent);returnr._baseState=e,r},f.prototype._wrap=function(){constt=this._baseState;u.forEach((function(e){this[e]=function(){constr=newthis.constructor(this);returnt.children.push(r),r[e].apply(r,arguments)}}),this)},f.prototype._init=function(t){conste=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){returnt._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},f.prototype._useArgs=function(t){conste=this._baseState,Line truncated
/*! For license information please see PublicKey.js.LICENSE.txt */
(()=>{vart={79742:(t,e)=>{"use strict";e.byteLength=function(t){vare=u(t),r=e[0],n=e[1];return3*(r+n)/4-n},e.toByteArray=function(t){vare,r,s=u(t),a=s[0],o=s[1],c=newi(function(t,e,r){return3*(e+r)/4-r}(0,a,o)),h=0,l=o>0?a-4:a;for(r=0;r<l;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],c[h++]=e>>16&255,c[h++]=e>>8&255,c[h++]=255&e;return2===o&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,c[h++]=255&e),1===o&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,c[h++]=e>>8&255,c[h++]=255&e),c},e.fromByteArray=function(t){for(vare,n=t.length,i=n%3,s=[],a=16383,o=0,u=n-i;o<u;o+=a)s.push(c(t,o,o+a>u?u:o+a));return1===i?(e=t[n-1],s.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],s.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),s.join("")};for(varr=[],n=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=s.length;a<o;++a)r[a]=s[a],n[s.charCodeAt(a)]=a;functionu(t){vare=t.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}functionc(t,e,n){for(vari,s,a=[],o=e;o<n;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),a.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(t,e,r)=>{"use strict";constn=r(79742),i=r(80645),s="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=u,e.INSPECT_MAX_BYTES=50;consta=2147483647;functiono(t){if(t>a)thrownewRangeError('The value "'+t+'" is invalid for option "size"');conste=newUint8Array(t);returnObject.setPrototypeOf(e,u.prototype),e}functionu(t,e,r){if("number"==typeoft){if("string"==typeofe)thrownewTypeError('The "string" argument must be of type string. Received type number');returnl(t)}returnc(t,e,r)}functionc(t,e,r){if("string"==typeoft)returnfunction(t,e){if("string"==typeofe&&""!==e||(e="utf8"),!u.isEncoding(e))thrownewTypeError("Unknown encoding: "+e);constr=0|d(t,e);letn=o(r);consti=n.write(t,e);returni!==r&&(n=n.slice(0,i)),n}(t,e);if(ArrayBuffer.isView(t))returnfunction(t){if(J(t,Uint8Array)){conste=newUint8Array(t);returnp(e.buffer,e.byteOffset,e.byteLength)}returnf(t)}(t);if(null==t)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft);if(J(t,ArrayBuffer)||t&&J(t.buffer,ArrayBuffer))returnp(t,e,r);if("undefined"!=typeofSharedArrayBuffer&&(J(t,SharedArrayBuffer)||t&&J(t.buffer,SharedArrayBuffer)))returnp(t,e,r);if("number"==typeoft)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=t.valueOf&&t.valueOf();if(null!=n&&n!==t)returnu.from(n,e,r);consti=function(t){if(u.isBuffer(t)){conste=0|g(t.length),r=o(e);return0===r.length||t.copy(r,0,0,e),r}returnvoid0!==t.length?"number"!=typeoft.length||Y(t.length)?o(0):f(t):"Buffer"===t.type&&Array.isArray(t.data)?f(t.data):void0}(t);if(i)returni;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeoft[Symbol.toPrimitive])returnu.from(t[Symbol.toPrimitive]("string"),e,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeoft)}functionh(t){if("number"!=typeoft)thrownewTypeError('"size" argument must be of type number');if(t<0)thrownewRangeError('The value "'+t+'" is invalid for option "size"')}functionl(t){returnh(t),o(t<0?0:0|g(t))}functionf(t){conste=t.length<0?0:0|g(t.length),r=o(e);for(letn=0;n<e;n+=1)r[n]=255&t[n];returnr}functionp(t,e,r){if(e<0||t.byteLength<e)thrownewRangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===e&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,e):newUint8Array(t,e,r),Object.setPrototypeOf(n,u.prototype),n}functiong(t){if(t>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|t}functiond(t,e){if(u.isBuffer(t))returnt.length;if(ArrayBuffer.isView(t)||J(t,ArrayBuffer))returnt.byteLength;if("string"!=typeoft)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeoft);constr=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leti=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":return$(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnz(t).length;default:if(i)returnn?-1:$(t).length;e=(""+e).toLowerCase(),i=!0}}functionm(t,e,r){letn=!1;if((void0===e||e<0)&&(e=0),e>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see Regex.js.LICENSE.txt */
(()=>{varu={66419:(u,e,t)=>{u.exports=t(27698)},41511:(u,e,t)=>{u.exports=t(83363)},82285:(u,e,t)=>{u.exports=t(8065)},7175:(u,e,t)=>{u.exports=t(48842)},78914:(u,e,t)=>{u.exports=t(46279)},81643:(u,e,t)=>{u.exports=t(19373)},2991:(u,e,t)=>{u.exports=t(8918)},32366:(u,e,t)=>{u.exports=t(34434)},3649:(u,e,t)=>{u.exports=t(82073)},47302:(u,e,t)=>{u.exports=t(62856)},54943:(u,e,t)=>{u.exports=t(14471)},63978:(u,e,t)=>{u.exports=t(41910)},94198:(u,e,t)=>{u.exports=t(74888)},65420:(u,e,t)=>{u.exports=t(92547)},53592:(u,e,t)=>{u.exports=t(27385)},78363:(u,e,t)=>{u.exports=t(81522)},19996:(u,e,t)=>{u.exports=t(32209)},67192:(u,e,t)=>{u.exports=t(81493)},51446:(u,e,t)=>{u.exports=t(86600)},34243:u=>{u.exports=function(u,e){(null==e||e>u.length)&&(e=u.length);for(vart=0,r=newArray(e);t<e;t++)r[t]=u[t];returnr},u.exports.__esModule=!0,u.exports.default=u.exports},57726:(u,e,t)=>{varr=t(78363);u.exports=function(u){if(r(u))returnu},u.exports.__esModule=!0,u.exports.default=u.exports},60530:u=>{u.exports=function(u){returnu&&u.__esModule?u:{default:u}},u.exports.__esModule=!0,u.exports.default=u.exports},65056:(u,e,t)=>{varr=t(51446),d=t(19996);u.exports=function(u,e){vart=null==u?null:void0!==r&&d(u)||u["@@iterator"];if(null!=t){varn,a,o=[],i=!0,c=!1;try{for(t=t.call(u);!(i=(n=t.next()).done)&&(o.push(n.value),!e||o.length!==e);i=!0);}catch(u){c=!0,a=u}finally{try{i||null==t.return||t.return()}finally{if(c)throwa}}returno}},u.exports.__esModule=!0,u.exports.default=u.exports},79736:u=>{u.exports=function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},u.exports.__esModule=!0,u.exports.default=u.exports},18777:(u,e,t)=>{varr=t(57726),d=t(65056),n=t(79299),a=t(79736);u.exports=function(u,e){returnr(u)||d(u,e)||n(u,e)||a()},u.exports.__esModule=!0,u.exports.default=u.exports},79299:(u,e,t)=>{varr=t(67192),d=t(53592),n=t(34243);u.exports=function(u,e){vart;if(u){if("string"==typeofu)returnn(u,e);vara=r(t=Object.prototype.toString.call(u)).call(t,8,-1);return"Object"===a&&u.constructor&&(a=u.constructor.name),"Map"===a||"Set"===a?d(u):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?n(u,e):void0}},u.exports.__esModule=!0,u.exports.default=u.exports},79742:(u,e)=>{"use strict";e.byteLength=function(u){vare=i(u),t=e[0],r=e[1];return3*(t+r)/4-r},e.toByteArray=function(u){vare,t,n=i(u),a=n[0],o=n[1],c=newd(function(u,e,t){return3*(e+t)/4-t}(0,a,o)),f=0,s=o>0?a-4:a;for(t=0;t<s;t+=4)e=r[u.charCodeAt(t)]<<18|r[u.charCodeAt(t+1)]<<12|r[u.charCodeAt(t+2)]<<6|r[u.charCodeAt(t+3)],c[f++]=e>>16&255,c[f++]=e>>8&255,c[f++]=255&e;return2===o&&(e=r[u.charCodeAt(t)]<<2|r[u.charCodeAt(t+1)]>>4,c[f++]=255&e),1===o&&(e=r[u.charCodeAt(t)]<<10|r[u.charCodeAt(t+1)]<<4|r[u.charCodeAt(t+2)]>>2,c[f++]=e>>8&255,c[f++]=255&e),c},e.fromByteArray=function(u){for(vare,r=u.length,d=r%3,n=[],a=16383,o=0,i=r-d;o<i;o+=a)n.push(c(u,o,o+a>i?i:o+a));return1===d?(e=u[r-1],n.push(t[e>>2]+t[e<<4&63]+"==")):2===d&&(e=(u[r-2]<<8)+u[r-1],n.push(t[e>>10]+t[e>>4&63]+t[e<<2&63]+"=")),n.join("")};for(vart=[],r=[],d="undefined"!=typeofUint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=n.length;a<o;++a)t[a]=n[a],r[n.charCodeAt(a)]=a;functioni(u){vare=u.length;if(e%4>0)thrownewError("Invalid string. Length must be a multiple of 4");vart=u.indexOf("=");return-1===t&&(t=e),[t,t===e?0:4-t%4]}functionc(u,e,r){for(vard,n,a=[],o=e;o<r;o+=3)d=(u[o]<<16&16711680)+(u[o+1]<<8&65280)+(255&u[o+2]),a.push(t[(n=d)>>18&63]+t[n>>12&63]+t[n>>6&63]+t[63&n]);returna.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48764:(u,e,t)=>{"use strict";constr=t(79742),d=t(80645),n="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=i,e.INSPECT_MAX_BYTES=50;consta=2147483647;functiono(u){if(u>a)thrownewRangeError('The value "'+u+'" is invalid for option "size"');conste=newUint8Array(u);returnObject.setPrototypeOf(e,i.prototype),e}functioni(u,e,t){if("number"==typeofu){if("string"==typeofe)thrownewTypeError('The "string" argument must be of type string. Received type number');returns(u)}returnc(u,e,t)}functionc(u,e,t){if("string"==typeofu)returnfunction(u,e){if("string"==typeofe&&""!==e||(e="utf8"),!i.isEncoding(e))thrownewTypeError("Unknown encoding: "+e);constt=0|D(u,e);letr=o(t);constd=r.write(u,e);returnd!==t&&(r=r.slice(0,d)),r}(u,e);if(ArrayBuffer.isView(u))returnfunction(u){if(q(u,Uint8Array)){conste=newUint8Array(u);returnp(e.buffer,e.byteOffset,e.byteLength)}returnl(u)}(u);if(null==u)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofu);if(q(u,ArrayBuffer)||u&&q(u.buffer,ArrayBuffer))returnp(u,e,t);if("undefined"!=typeofSharedArrayBuffer&&(q(u,SharedArrayBuffer)||u&&q(u.buffer,SharedALine truncated
/*! For license information please see Shellcode.js.LICENSE.txt */
(()=>{vare={79742:(e,t)=>{"use strict";t.byteLength=function(e){vart=s(e),r=t[0],n=t[1];return3*(r+n)/4-n},t.toByteArray=function(e){vart,r,o=s(e),a=o[0],u=o[1],c=newi(function(e,t,r){return3*(t+r)/4-r}(0,a,u)),A=0,l=u>0?a-4:a;for(r=0;r<l;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[A++]=t>>16&255,c[A++]=t>>8&255,c[A++]=255&t;return2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[A++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[A++]=t>>8&255,c[A++]=255&t),c},t.fromByteArray=function(e){for(vart,n=e.length,i=n%3,o=[],a=16383,u=0,s=n-i;u<s;u+=a)o.push(c(e,u,u+a>s?s:u+a));return1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(varr=[],n=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;functions(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functionc(e,t,n){for(vari,o,a=[],u=t;u<n;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";constn=r(79742),i=r(80645),o="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.INSPECT_MAX_BYTES=50;consta=2147483647;functionu(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');constt=newUint8Array(e);returnObject.setPrototypeOf(t,s.prototype),t}functions(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnl(e)}returnc(e,t,r)}functionc(e,t,r){if("string"==typeofe)returnfunction(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!s.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);constr=0|p(e,t);letn=u(r);consti=n.write(e,t);returni!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))returnfunction(e){if(Y(e,Uint8Array)){constt=newUint8Array(e);returnB(t.buffer,t.byteOffset,t.byteLength)}returnf(e)}(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))returnB(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))returnB(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returns.from(n,t,r);consti=function(e){if(s.isBuffer(e)){constt=0|S(e.length),r=u(t);return0===r.length||e.copy(r,0,0,t),r}returnvoid0!==e.length?"number"!=typeofe.length||z(e.length)?u(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void0}(e);if(i)returni;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returns.from(e[Symbol.toPrimitive]("string"),t,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionA(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionl(e){returnA(e),u(e<0?0:0|S(e))}functionf(e){constt=e.length<0?0:0|S(e.length),r=u(t);for(letn=0;n<t;n+=1)r[n]=255&e[n];returnr}functionB(e,t,r){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===t&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,t):newUint8Array(e,t,r),Object.setPrototypeOf(n,s.prototype),n}functionS(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functionp(e,t){if(s.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||Y(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);constr=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leti=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":return_(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnj(e).length;default:if(i)returnn?-1:_(e).length;t=(""+t).toLowerCase(),i=!0}}functionD(e,t,r){letn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see URL.js.LICENSE.txt */
(()=>{vare={79742:(e,t)=>{"use strict";t.byteLength=function(e){vart=s(e),r=t[0],n=t[1];return3*(r+n)/4-n},t.toByteArray=function(e){vart,r,o=s(e),a=o[0],u=o[1],c=newi(function(e,t,r){return3*(t+r)/4-r}(0,a,u)),l=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(vart,n=e.length,i=n%3,o=[],a=16383,u=0,s=n-i;u<s;u+=a)o.push(c(e,u,u+a>s?s:u+a));return1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(varr=[],n=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;functions(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functionc(e,t,n){for(vari,o,a=[],u=t;u<n;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";constn=r(79742),i=r(80645),o="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.INSPECT_MAX_BYTES=50;consta=2147483647;functionu(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');constt=newUint8Array(e);returnObject.setPrototypeOf(t,s.prototype),t}functions(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnf(e)}returnc(e,t,r)}functionc(e,t,r){if("string"==typeofe)returnfunction(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!s.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);constr=0|m(e,t);letn=u(r);consti=n.write(e,t);returni!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))returnfunction(e){if(J(e,Uint8Array)){constt=newUint8Array(e);returnp(t.buffer,t.byteOffset,t.byteLength)}returnh(e)}(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))returnp(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))returnp(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returns.from(n,t,r);consti=function(e){if(s.isBuffer(e)){constt=0|d(e.length),r=u(t);return0===r.length||e.copy(r,0,0,t),r}returnvoid0!==e.length?"number"!=typeofe.length||Z(e.length)?u(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void0}(e);if(i)returni;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returns.from(e[Symbol.toPrimitive]("string"),t,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionl(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionf(e){returnl(e),u(e<0?0:0|d(e))}functionh(e){constt=e.length<0?0:0|d(e.length),r=u(t);for(letn=0;n<t;n+=1)r[n]=255&e[n];returnr}functionp(e,t,r){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===t&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,t):newUint8Array(e,t,r),Object.setPrototypeOf(n,s.prototype),n}functiond(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functionm(e,t){if(s.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||J(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);constr=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leti=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnV(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnY(e).length;default:if(i)returnn?-1:V(e).length;t=(""+t).toLowerCase(),i=!0}}functiony(e,t,r){letn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see UserAgent.js.LICENSE.txt */
(()=>{vare={79742:(e,t)=>{"use strict";t.byteLength=function(e){vart=s(e),r=t[0],n=t[1];return3*(r+n)/4-n},t.toByteArray=function(e){vart,r,o=s(e),a=o[0],u=o[1],c=newi(function(e,t,r){return3*(t+r)/4-r}(0,a,u)),l=0,f=u>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;return2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t),c},t.fromByteArray=function(e){for(vart,n=e.length,i=n%3,o=[],a=16383,u=0,s=n-i;u<s;u+=a)o.push(c(e,u,u+a>s?s:u+a));return1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(varr=[],n=[],i="undefined"!=typeofUint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=o.length;a<u;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;functions(e){vart=e.length;if(t%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varr=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}functionc(e,t,n){for(vari,o,a=[],u=t;u<n;u+=3)i=(e[u]<<16&16711680)+(e[u+1]<<8&65280)+(255&e[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);returna.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48764:(e,t,r)=>{"use strict";constn=r(79742),i=r(80645),o="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.INSPECT_MAX_BYTES=50;consta=2147483647;functionu(e){if(e>a)thrownewRangeError('The value "'+e+'" is invalid for option "size"');constt=newUint8Array(e);returnObject.setPrototypeOf(t,s.prototype),t}functions(e,t,r){if("number"==typeofe){if("string"==typeoft)thrownewTypeError('The "string" argument must be of type string. Received type number');returnf(e)}returnc(e,t,r)}functionc(e,t,r){if("string"==typeofe)returnfunction(e,t){if("string"==typeoft&&""!==t||(t="utf8"),!s.isEncoding(t))thrownewTypeError("Unknown encoding: "+t);constr=0|m(e,t);letn=u(r);consti=n.write(e,t);returni!==r&&(n=n.slice(0,i)),n}(e,t);if(ArrayBuffer.isView(e))returnfunction(e){if(J(e,Uint8Array)){constt=newUint8Array(e);returnh(t.buffer,t.byteOffset,t.byteLength)}returnp(e)}(e);if(null==e)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe);if(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))returnh(e,t,r);if("undefined"!=typeofSharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))returnh(e,t,r);if("number"==typeofe)thrownewTypeError('The "value" argument must not be of type number. Received type number');constn=e.valueOf&&e.valueOf();if(null!=n&&n!==e)returns.from(n,t,r);consti=function(e){if(s.isBuffer(e)){constt=0|d(e.length),r=u(t);return0===r.length||e.copy(r,0,0,t),r}returnvoid0!==e.length?"number"!=typeofe.length||Z(e.length)?u(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void0}(e);if(i)returni;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofe[Symbol.toPrimitive])returns.from(e[Symbol.toPrimitive]("string"),t,r);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofe)}functionl(e){if("number"!=typeofe)thrownewTypeError('"size" argument must be of type number');if(e<0)thrownewRangeError('The value "'+e+'" is invalid for option "size"')}functionf(e){returnl(e),u(e<0?0:0|d(e))}functionp(e){constt=e.length<0?0:0|d(e.length),r=u(t);for(letn=0;n<t;n+=1)r[n]=255&e[n];returnr}functionh(e,t,r){if(t<0||e.byteLength<t)thrownewRangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))thrownewRangeError('"length" is outside of buffer bounds');letn;returnn=void0===t&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,t):newUint8Array(e,t,r),Object.setPrototypeOf(n,s.prototype),n}functiond(e){if(e>=a)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return0|e}functionm(e,t){if(s.isBuffer(e))returne.length;if(ArrayBuffer.isView(e)||J(e,ArrayBuffer))returne.byteLength;if("string"!=typeofe)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofe);constr=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return0;leti=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":returnr;case"utf8":case"utf-8":returnH(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*r;case"hex":returnr>>>1;case"base64":returnY(e).length;default:if(i)returnn?-1:H(e).length;t=(""+t).toLowerCase(),i=!0}}functiong(e,t,r){letn=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===r||r>this.length)&&(r=this.length),r<Line truncated
/*! For license information please see Yara.js.LICENSE.txt */
(()=>{varA={79742:(A,Q)=>{"use strict";Q.byteLength=function(A){varQ=i(A),I=Q[0],g=Q[1];return3*(I+g)/4-g},Q.toByteArray=function(A){varQ,I,C=i(A),E=C[0],D=C[1],o=newB(function(A,Q,I){return3*(Q+I)/4-I}(0,E,D)),w=0,F=D>0?E-4:E;for(I=0;I<F;I+=4)Q=g[A.charCodeAt(I)]<<18|g[A.charCodeAt(I+1)]<<12|g[A.charCodeAt(I+2)]<<6|g[A.charCodeAt(I+3)],o[w++]=Q>>16&255,o[w++]=Q>>8&255,o[w++]=255&Q;return2===D&&(Q=g[A.charCodeAt(I)]<<2|g[A.charCodeAt(I+1)]>>4,o[w++]=255&Q),1===D&&(Q=g[A.charCodeAt(I)]<<10|g[A.charCodeAt(I+1)]<<4|g[A.charCodeAt(I+2)]>>2,o[w++]=Q>>8&255,o[w++]=255&Q),o},Q.fromByteArray=function(A){for(varQ,g=A.length,B=g%3,C=[],E=16383,D=0,i=g-B;D<i;D+=E)C.push(o(A,D,D+E>i?i:D+E));return1===B?(Q=A[g-1],C.push(I[Q>>2]+I[Q<<4&63]+"==")):2===B&&(Q=(A[g-2]<<8)+A[g-1],C.push(I[Q>>10]+I[Q>>4&63]+I[Q<<2&63]+"=")),C.join("")};for(varI=[],g=[],B="undefined"!=typeofUint8Array?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E=0,D=C.length;E<D;++E)I[E]=C[E],g[C.charCodeAt(E)]=E;functioni(A){varQ=A.length;if(Q%4>0)thrownewError("Invalid string. Length must be a multiple of 4");varI=A.indexOf("=");return-1===I&&(I=Q),[I,I===Q?0:4-I%4]}functiono(A,Q,g){for(varB,C,E=[],D=Q;D<g;D+=3)B=(A[D]<<16&16711680)+(A[D+1]<<8&65280)+(255&A[D+2]),E.push(I[(C=B)>>18&63]+I[C>>12&63]+I[C>>6&63]+I[63&C]);returnE.join("")}g["-".charCodeAt(0)]=62,g["_".charCodeAt(0)]=63},48764:(A,Q,I)=>{"use strict";constg=I(79742),B=I(80645),C="function"==typeofSymbol&&"function"==typeofSymbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Q.Buffer=i,Q.INSPECT_MAX_BYTES=50;constE=2147483647;functionD(A){if(A>E)thrownewRangeError('The value "'+A+'" is invalid for option "size"');constQ=newUint8Array(A);returnObject.setPrototypeOf(Q,i.prototype),Q}functioni(A,Q,I){if("number"==typeofA){if("string"==typeofQ)thrownewTypeError('The "string" argument must be of type string. Received type number');returnF(A)}returno(A,Q,I)}functiono(A,Q,I){if("string"==typeofA)returnfunction(A,Q){if("string"==typeofQ&&""!==Q||(Q="utf8"),!i.isEncoding(Q))thrownewTypeError("Unknown encoding: "+Q);constI=0|a(A,Q);letg=D(I);constB=g.write(A,Q);returnB!==I&&(g=g.slice(0,B)),g}(A,Q);if(ArrayBuffer.isView(A))returnfunction(A){if(v(A,Uint8Array)){constQ=newUint8Array(A);returnG(Q.buffer,Q.byteOffset,Q.byteLength)}returny(A)}(A);if(null==A)thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofA);if(v(A,ArrayBuffer)||A&&v(A.buffer,ArrayBuffer))returnG(A,Q,I);if("undefined"!=typeofSharedArrayBuffer&&(v(A,SharedArrayBuffer)||A&&v(A.buffer,SharedArrayBuffer)))returnG(A,Q,I);if("number"==typeofA)thrownewTypeError('The "value" argument must not be of type number. Received type number');constg=A.valueOf&&A.valueOf();if(null!=g&&g!==A)returni.from(g,Q,I);constB=function(A){if(i.isBuffer(A)){constQ=0|c(A.length),I=D(Q);return0===I.length||A.copy(I,0,0,Q),I}returnvoid0!==A.length?"number"!=typeofA.length||P(A.length)?D(0):y(A):"Buffer"===A.type&&Array.isArray(A.data)?y(A.data):void0}(A);if(B)returnB;if("undefined"!=typeofSymbol&&null!=Symbol.toPrimitive&&"function"==typeofA[Symbol.toPrimitive])returni.from(A[Symbol.toPrimitive]("string"),Q,I);thrownewTypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeofA)}functionw(A){if("number"!=typeofA)thrownewTypeError('"size" argument must be of type number');if(A<0)thrownewRangeError('The value "'+A+'" is invalid for option "size"')}functionF(A){returnw(A),D(A<0?0:0|c(A))}functiony(A){constQ=A.length<0?0:0|c(A.length),I=D(Q);for(letg=0;g<Q;g+=1)I[g]=255&A[g];returnI}functionG(A,Q,I){if(Q<0||A.byteLength<Q)thrownewRangeError('"offset" is outside of buffer bounds');if(A.byteLength<Q+(I||0))thrownewRangeError('"length" is outside of buffer bounds');letg;returng=void0===Q&&void0===I?newUint8Array(A):void0===I?newUint8Array(A,Q):newUint8Array(A,Q,I),Object.setPrototypeOf(g,i.prototype),g}functionc(A){if(A>=E)thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+E.toString(16)+" bytes");return0|A}functiona(A,Q){if(i.isBuffer(A))returnA.length;if(ArrayBuffer.isView(A)||v(A,ArrayBuffer))returnA.byteLength;if("string"!=typeofA)thrownewTypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeofA);constI=A.length,g=arguments.length>2&&!0===arguments[2];if(!g&&0===I)return0;letB=!1;for(;;)switch(Q){case"ascii":case"latin1":case"binary":returnI;case"utf8":case"utf-8":returnX(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*I;case"hex":returnI>>>1;case"base64":returnO(A).length;default:if(B)returng?-1:X(A).length;Q=(""+Q).toLowerCase(),B=!0}}functionN(A,Q,I){letg=!1;if((void0===Q||Q<0)&&(Q=0),Q>this.length)return"";if((void0===I||I>this.length)&&(I=this.length),I<Line truncated
description:"The operation name should be short but descriptive.",
example:"URL Decode",
prompt:"Operation name",
type:"string",
pattern:/^[\w\s-/().]+$/,
required:true,
message:"Operation names should consist of letters, numbers or the following symbols: _-/()."
},
module:{
description:`Modules are used to group operations that rely on large libraries. Any operation that is not in the Default module will be loaded in dynamically when it is first called. All operations in the same module will also be loaded at this time. This system prevents the CyberChef web app from getting too bloated and taking a long time to load initially.
message:"Module names should start with a capital letter and not contain any spaces or symbols.",
default:"Default"
},
description:{
description:"The description should explain what the operation is and how it works. It can describe how the arguments should be entered and give examples of expected input and output. HTML markup is supported. Use <code> tags for examples. The description is scanned during searches, so include terms that are likely to be searched for when someone is looking for your operation.",
example:"Converts URI/URL percent-encoded characters back to their raw values.<br><br>e.g. <code>%3d</code> becomes <code>=</code>",
prompt:"Description",
type:"string"
},
infoURL:{
description:"An optional URL for an external site can be added to give more information about the operation. Wikipedia links are often suitable. If linking to Wikipedia, use an international link (e.g. https://wikipedia.org/...) rather than a localised link (e.g. https://en.wikipedia.org/...).",
description:`The input type defines how the input data will be presented to your operation. Check the project wiki for a full description of each type. The options are: ${ioTypes.join(", ")}.`,
example:"string",
prompt:"Input type",
type:"string",
pattern:newRegExp(`^(${ioTypes.join("|")})$`),
required:true,
message:`The input type should be one of: ${ioTypes.join(", ")}.`
},
outputType:{
description:`The output type tells CyberChef what sort of data you are returning from your operation. Check the project wiki for a full description of each type. The options are: ${ioTypes.join(", ")}.`,
example:"string",
prompt:"Output type",
type:"string",
pattern:newRegExp(`^(${ioTypes.join("|")})$`),
required:true,
message:`The output type should be one of: ${ioTypes.join(", ")}.`
},
highlight:{
description:"If your operation does not change the length of the input in any way, we can enable highlighting. If it does change the length in a predictable way, we may still be able to enable highlighting and calculate the correct offsets. If this is not possible, we will disable highlighting for this operation.",
example:"true/false",
prompt:"Enable highlighting",
type:"boolean",
default:"false",
message:"Enter true or false to specify if highlighting should be enabled."
},
authorName:{
description:"Your name or username will be added to the @author tag for this operation.",
example:"n1474335",
prompt:"Username",
type:"string"
},
authorEmail:{
description:"Your email address will also be added to the @author tag for this operation.",
console.log("\n\nThis script will generate a new operation template based on the information you provide. These values can be changed manually later.".yellow);
Loaded 100 of 826 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.