text: !function(){return function t(e,n,r){function i(o,u){if(!n[o]){if(!e[o]){var s="function"==typeof require&&require;if(!u&&s)return s(o,!0);if(a)return a(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var c=n[o]={exports:{}};e[o][0].call(c.exports,function(t){return i(e[o][1][t]||t)},c,c.exports,t,e,n,r)}return n[o].exports}for(var a="function"==typeof require&&require,o=0;o<r.length;o++)i(r[o]);return i}}()({1:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=new Terminal({cursorBlink:!0,rows:24,scrollback:48,tabStopWidth:2});r.open(document.querySelector("#terminal"));var i=JSON.stringify.bind(JSON);n.default=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];r.writeln([t].concat(e.map(i)).join(" "))}}},{}],2:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t(3),i=t(1),a=r.default({iterations:8192,length:32}),o=r.default({encoding:"none",iterations:8192,length:32});i.default("example:")("digest passphrase..."),a("secret passphrase").then(i.default("example:digest:")),o("secret passphrase").then(i.default("example:raw-digest:"))},{1:1,3:3}],3:[function(t,e,n){(function(e){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};Object.defineProperty(n,"__esModule",{value:!0});var i=t(4),a={encoding:["base64","utf8","latin1","binary","ascii","hex","none"],salt:{default:64,min:32},iterations:{default:65536,min:8192},length:{default:64,min:32,max:64}};function o(t){try{return t&&i.isArrayBuffer(t.buffer)?e.from(t.buffer):t}catch(e){return t}}function u(t,n){return"none"!==n&&i.isString(t)?e.from(t.valueOf(),n):t}var s=function(){function n(t,e,n,r,i){this.pbkdf2=t,this.encoding=e,this.salt=n,this.iterations=r,this.length=i,this.hmac="sha512"}return n.prototype.hash=function(t){var e=this,n={encoding:this.encoding,salt:this.salt.chars||this.salt.bytes,iterations:this.iterations,length:this.length,hmac:this.hmac};return new Promise(function(r,i){e.pbkdf2(t,e.salt.bytes,e.iterations,e.length,e.hmac,function(t,a){t&&i(t);var o="none"===e.encoding?a:a.toString(e.encoding);r({value:o,spec:n})})})},n.getKdf=function(s){var f=s&&s.pbkdf2||t("pbkdf2").pbkdf2,c=function(t,n){var s=r({},n),f=function(t){var e=i.isString(t)&&t.valueOf();return a.encoding.indexOf(e)>=0?e:a.encoding[0]}(s.encoding),c=function(t,n,r){var s=o(function(t,e){return i.isNumber(e)?t(e.valueOf()):e}(t,u(n,r)));return e.isBuffer(s)&&s.length>=a.salt.min?e.from(s):t(a.salt.default)}(t,s.salt,f),l={encoding:f,salt:{bytes:c},iterations:function(t,e){var n=i.isNumber(t)&&Math.floor(t.valueOf());return t>=(e?1:a.iterations.min)?n:a.iterations.default}(s.iterations,s.relaxed),length:function(t){var e=i.isNumber(t)&&t.valueOf();return t>=a.length.min&&t<=a.length.max?e:a.length.default}(s.length)};return"none"!==f&&(l.salt.chars=c.toString(f)),l}(s&&s.randombytes||t("randombytes"),s),l=new n(f,c.encoding,c.salt,c.iterations,c.length);return function(t){var n=o(u(t,"utf8"));return e.isBuffer(n)?l.hash(n):Promise.reject(new TypeError("invalid password"))}},n}().getKdf;n.default=s}).call(this,t("buffer").Buffer)},{4:4,undefined:void 0}],4:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isString=function(t){return"string"==typeof(t&&t.valueOf())},n.isNumber=function(t){return"number"==typeof(t&&t.valueOf())},n.isArrayBuffer=function(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)}},{}]},{},[2]);