1var e=typeof globalThis==`object`&&`crypto`in globalThis?globalThis.crypto:void 0;function t(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`}function n(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, got `+e)}function r(e,...n){if(!t(e))throw Error(`Uint8Array expected`);if(n.length>0&&!n.includes(e.length))throw Error(`Uint8Array expected of length `+n+`, got length=`+e.length)}function i(e){if(typeof e!=`function`||typeof e.create!=`function`)throw Error(`Hash should be wrapped by utils.createHasher`);n(e.outputLen),n(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw Error(`Hash instance has been destroyed`);if(t&&e.finished)throw Error(`Hash#digest() has already been called`)}function o(e,t){r(e);let n=t.outputLen;if(e.length<n)throw Error(`digestInto() expects output buffer of length at least `+n)}function s(e){return new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4))}function c(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function l(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function u(e,t){return e<<32-t|e>>>t}var ee=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function te(e){return e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255}function d(e){for(let t=0;t<e.length;t++)e[t]=te(e[t]);return e}var f=ee?e=>e:d;typeof Uint8Array.from([]).toHex==`function`&&Uint8Array.fromHex;function p(e){if(typeof e!=`string`)throw Error(`string expected`);return new Uint8Array(new TextEncoder().encode(e))}function m(e){return typeof e==`string`&&(e=p(e)),r(e),e}function h(...e){let t=0;for(let n=0;n<e.length;n++){let i=e[n];r(i),t+=i.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}var ne=class{};function g(e){let t=t=>e().update(m(t)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function _(e){let t=(t,n)=>e(n).update(m(t)).digest(),n=e({});return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=t=>e(t),t}function v(t=32){if(e&&typeof e.getRandomValues==`function`)return e.getRandomValues(new Uint8Array(t));if(e&&typeof e.randomBytes==`function`)return Uint8Array.from(e.randomBytes(t));throw Error(`crypto.getRandomValues must be defined`)}var y=BigInt(2**32-1),b=BigInt(32);function re(e,t=!1){return t?{h:Number(e&y),l:Number(e>>b&y)}:{h:Number(e>>b&y)|0,l:Number(e&y)|0}}function ie(e,t=!1){let n=e.length,r=new Uint32Array(n),i=new Uint32Array(n);for(let a=0;a<n;a++){let{h:n,l:o}=re(e[a],t);[r[a],i[a]]=[n,o]}return[r,i]}var ae=(e,t,n)=>e>>>n,oe=(e,t,n)=>e<<32-n|t>>>n,se=(e,t,n)=>e>>>n|t<<32-n,ce=(e,t,n)=>e<<32-n|t>>>n,x=(e,t,n)=>e<<64-n|t>>>n-32,S=(e,t,n)=>e>>>n-32|t<<64-n,C=(e,t,n)=>e<<n|t>>>32-n,w=(e,t,n)=>t<<n|e>>>32-n,T=(e,t,n)=>t<<n-32|e>>>64-n,E=(e,t,n)=>e<<n-32|t>>>64-n;function D(e,t,n,r){let i=(t>>>0)+(r>>>0);return{h:e+n+(i/2**32|0)|0,l:i|0}}var O=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),k=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,A=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),j=(e,t,n,r,i)=>t+n+r+i+(e/2**32|0)|0,M=(e,t,n,r,i)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(i>>>0),N=(e,t,n,r,i,a)=>t+n+r+i+a+(e/2**32|0)|0,P=BigInt(0),F=BigInt(1);function I(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name===`Uint8Array`}function L(e){if(!I(e))throw Error(`Uint8Array expected`)}function R(e,t){if(typeof t!=`boolean`)throw Error(e+` boolean expected, got `+t)}function z(e){let t=e.toString(16);return t.length&1?`0`+t:t}function B(e){if(typeof e!=`string`)throw Error(`hex string expected, got `+typeof e);return e===``?P:BigInt(`0x`+e)}var V=typeof Uint8Array.from([]).toHex==`function`&&typeof Uint8Array.fromHex==`function`,H=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function U(e){if(L(e),V)return e.toHex();let t=``;for(let n=0;n<e.length;n++)t+=H[e[n]];return t}var W={_0:48,_9:57,A:65,F:70,a:97,f:102};function G(e){if(e>=W._0&&e<=W._9)return e-W._0;if(e>=W.A&&e<=W.F)return e-(W.A-10);if(e>=W.a&&e<=W.f)return e-(W.a-10)}function K(e){if(typeof e!=`string`)throw Error(`hex string expected, got `+typeof e);if(V)return Uint8Array.fromHex(e);let t=e.length,n=t/2;if(t%2)throw Error(`hex string expected, got unpadded hex of length `+t);let r=new Uint8Array(n);for(let t=0,i=0;t<n;t++,i+=2){let n=G(e.charCodeAt(i)),a=G(e.charCodeAt(i+1));if(n===void 0||a===void 0){let t=e[i]+e[i+1];throw Error(`hex string expected, got non-hex character "`+t+`" at index `+i)}r[t]=n*16+a}return r}function le(e){return B(U(e))}function ue(e){return L(e),B(U(Uint8Array.from(e).reverse()))}function q(e,t){return K(e.toString(16).padStart(t*2,`0`))}function de(e,t){return q(e,t).reverse()}function fe(e,t,n){let r;if(typeof t==`string`)try{r=K(t)}catch(t){throw Error(e+` must be hex string or Uint8Array, cause: `+t)}else if(I(t))r=Uint8Array.from(t);else throw Error(e+` must be hex string or Uint8Array`);let i=r.length;
1if(typeof n==`number`&&i!==n)throw Error(e+` of length `+n+` expected, got `+i);return r}function J(...e){let t=0;for(let n=0;n<e.length;n++){let r=e[n];L(r),t+=r.length}let n=new Uint8Array(t);for(let t=0,r=0;t<e.length;t++){let i=e[t];n.set(i,r),r+=i.length}return n}function pe(e,t){if(e.length!==t.length)return!1;let n=0;for(let r=0;r<e.length;r++)n|=e[r]^t[r];return n===0}function me(e){if(typeof e!=`string`)throw Error(`string expected`);return new Uint8Array(new TextEncoder().encode(e))}var Y=e=>typeof e==`bigint`&&P<=e;function X(e,t,n){return Y(e)&&Y(t)&&Y(n)&&t<=e&&e<n}function he(e,t,n,r){if(!X(t,n,r))throw Error(`expected valid `+e+`: `+n+` <= n < `+r+`, got `+t)}function Z(e){let t;for(t=0;e>P;e>>=F,t+=1);return t}var ge=e=>(F<<BigInt(e))-F,Q=e=>new Uint8Array(e),$=e=>Uint8Array.from(e);function _e(e,t,n){if(typeof e!=`number`||e<2)throw Error(`hashLen must be a number`);if(typeof t!=`number`||t<2)throw Error(`qByteLen must be a number`);if(typeof n!=`function`)throw Error(`hmacFn must be a function`);let r=Q(e),i=Q(e),a=0,o=()=>{r.fill(1),i.fill(0),a=0},s=(...e)=>n(i,r,...e),c=(e=Q(0))=>{i=s($([0]),e),r=s(),e.length!==0&&(i=s($([1]),e),r=s())},l=()=>{if(a++>=1e3)throw Error(`drbg: tried 1000 values`);let e=0,n=[];for(;e<t;){r=s();let t=r.slice();n.push(t),e+=r.length}return J(...n)};return(e,t)=>{o(),c(e);let n;for(;!(n=t(l()));)c();return o(),n}}var ve={bigint:e=>typeof e==`bigint`,function:e=>typeof e==`function`,boolean:e=>typeof e==`boolean`,string:e=>typeof e==`string`,stringOrUint8Array:e=>typeof e==`string`||I(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e==`function`&&Number.isSafeInteger(e.outputLen)};function ye(e,t,n={}){let r=(t,n,r)=>{let i=ve[n];if(typeof i!=`function`)throw Error(`invalid validator function`);let a=e[t];if(!(r&&a===void 0)&&!i(a,e))throw Error(`param `+String(t)+` is invalid. Expected `+n+`, got `+a)};for(let[e,n]of Object.entries(t))r(e,n,!1);for(let[e,t]of Object.entries(n))r(e,t,!0);return e}function be(e){let t=new WeakMap;return(n,...r)=>{let i=t.get(n);if(i!==void 0)return i;let a=e(n,...r);return t.set(n,a),a}}export{f as $,E as A,ne as B,k as C,N as D,A as E,se as F,o as G,a as H,ce as I,g as J,c as K,ae as L,w as M,x as N,M as O,S as P,u as Q,oe as R,D as S,j as T,i as U,r as V,n as W,_ as X,l as Y,v as Z,q as _,ge as a,me as b,ue as c,fe as d,m as et,pe as f,be as g,I as h,Z as i,C as j,T as k,J as l,X as m,R as n,U as o,K as p,h as q,L as r,le as s,he as t,s as tt,_e as u,de as v,O as w,ye as x,z as y,ie as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.