1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26182],{26182:function(e,t,i){i.r(t),i.d(t,{readContract:function(){return d}});var n=i(38766),r=i(78398),s=i(70440),o=i(75403);async function a(e,t){let{blockNumber:i,blockTag:n,...r}=t,s=(i?(0,o.eC)(i):void 0)||n||"latest";return await e({method:"eth_call",params:t.stateOverrides?[r,s,Object.fromEntries(Object.entries(t.stateOverrides).map(([e,t])=>[e,{balance:t.balance?(0,o.eC)(t.balance):void 0,nonce:t.nonce?(0,o.eC)(t.nonce):void 0,code:t.code,state:t.state,stateDiff:t.stateDiff}]))]:[r,s]})}var u=i(98511),c=i(39430),l=i(31917);async function d(e){let t;let{contract:i,method:o,params:d}=e,h=async()=>{if(Array.isArray(o))return o;if((0,s.s)(o))return(0,l.i)(o);if("function"==typeof o)return(0,l.i)(await o(i));if("string"==typeof o&&o.startsWith("function ")){let e=(0,n.s)(o);if("function"===e.type)return(0,l.i)(e);throw Error('"method" passed is not of type "function"')}if(i.abi&&i.abi?.length>0){let e=i.abi?.find(e=>"function"===e.type&&e.name===o);if(e)return(0,l.i)(e)}throw Error(`Could not resolve method "${o}".`)},[f,p]=await Promise.all([h(),"function"==typeof d?d():d]);t=0===f[1].length?f[0]:f[0]+(0,c.encodeAbiParameters)(f[1],p).slice(2);let b=(0,u.getRpcClient)({chain:i.chain,client:i.client}),y=await a(b,{data:t,to:i.address}),m=(0,r.r)(f[2],y);return Array.isArray(m)&&1===m.length?m[0]:m}},57412:function(e,t,i){i.d(t,{CI:function(){return w},FM:function(){return h},Gy:function(){return g},KY:function(){return y},M4:function(){return c},S4:function(){return b},SM:function(){return m},dh:function(){return v},fs:function(){return l},gr:function(){return u},hn:function(){return P},lC:function(){return f},mv:function(){return p},wM:function(){return $},wb:function(){return a},xB:function(){return o},yP:function(){return d}});var n=i(80522),r=i(39135),s=i(62027);class o extends s.G{constructor({data:e,params:t,size:i}){super(`Data size of ${i} bytes is too small for given parameters.`,{metaMessages:[`Params: (${(0,n.h)(t,{includeName:!0})})`,`Data: ${e} (${i} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingDataSizeTooSmallError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=e,this.params=t,this.size=i}}class a extends s.G{constructor(){super('Cannot decode zero data ("0x") with ABI parameters.'),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiDecodingZeroDataError"})}}class u extends s.G{constructor({expectedLength:e,givenLength:t,type:i}){super(`ABI encoding array length mismatch for type ${i}. 2Expected length: ${e} 3Given length: ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingArrayLengthMismatchError"})}}class c extends s.G{constructor({expectedSize:e,value:t}){super(`Size of bytes "${t}" (bytes${(0,r.d)(t)}) does not match expected size (bytes${e}).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingBytesSizeMismatchError"})}}class l extends s.G{constructor({expectedLength:e,givenLength:t}){super(`ABI encoding params/values length mismatch. 4Expected length (params): ${e} 5Given length (values): ${t}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEncodingLengthMismatchError"})}}class d extends s.G{constructor(e,{docsPath:t}){super(`Encoded error signature "${e}" not found on ABI. 6Make sure you are using the correct ABI and that the error exists on it. 7You can look up the decoded signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiErrorSignatureNotFoundError"}),Object.defineProperty(this,"signature",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.signature=e}}class h extends s.G{constructor({docsPath:e}){super("Cannot extract event signature from empty topics.",{docsPath:e}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventSignatureEmptyTopicsError"})}}class f extends s.G{constructor(e,{docsPath:t}){super(`Encoded event signature "${e}" not found on ABI. 8Make sure you are using the correct ABI and that the event exists on it. 9You can look up the signature here: https://openchain.xyz/signatures?query=${e}.`,{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventSignatureNotFoundError"})}}class p extends s.G{constructor(e,{docsPath:t}={}){super(`Event ${e?`"${e}" `:""}not found on ABI. 10Make sure you are using the correct ABI and that the event exists on it.`,{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiEventNotFoundError"})}}class b extends s.G{constructor(e,t){super("Found ambiguous types in overloaded ABI items.",{metaMessages:[`\`${e.type}\` in \`${(0,n.t)(e.abiItem)}\`, and`,`\`${t.type}\` in \`${(0,n.t)(t.abiItem)}\``,"","These types encode differently and cannot be distinguished at runtime.","Remove one of the ambiguous items in the ABI."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"AbiItemAmbiguityError"})}}class y extends s.G{constructor({expectedSize:e,givenSize:t}){super(`Expected bytes${e}, got bytes${t}.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BytesSizeMismatchError"})}}class m extends s.G{constructor({abiItem:e,data:t,params:i,size:r}){super(`Data size of ${r} bytes is too small for non-indexed event parameters.`,{metaMessages:[`Params: (${(0,n.h)(i,{includeName:!0})})`,`Data: ${t} (${r} bytes)`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DecodeLogDataMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"params",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"size",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e,this.data=t,this.params=i,this.size=r}}class g extends s.G{constructor({abiItem:e,param:t}){super(`Expected a topic for indexed event parameter${t.name?` "${t.name}"`:""} on event "${(0,n.t)(e,{includeName:!0})}".`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"DecodeLogTopicsMismatch"}),Object.defineProperty(this,"abiItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.abiItem=e}}class v extends s.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid encoding type. 11Please provide a valid ABI type.`,{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiEncodingType"})}}class w extends s.G{constructor(e,{docsPath:t}){super(`Type "${e}" is not a valid decoding type. 12Please provide a valid ABI type.`,{docsPath:t}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAbiDecodingType"})}}class P extends s.G{constructor(e){super(`Value "${e}" is not a valid array.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidArrayError"})}}class $ extends s.G{constructor(e){super(`"${e}" is not a valid definition type. 13Valid types: "function", "event", "error"`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidDefinitionTypeError"})}}},26087:function(e,t,i){i.d(t,{b:function(){return r}});var n=i(62027);class r extends n.G{constructor({address:e}){super(`Address "${e}
13" is invalid.`,{metaMessages:["- Address must be a hex value of 20 bytes (40 hex characters).","- Address must match its checksum counterpart."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"InvalidAddressError"})}}},66238:function(e,t,i){i.d(t,{KD:function(){return o},T_:function(){return r},lQ:function(){return s}});var n=i(62027);class r extends n.G{constructor({offset:e}){super(`Offset \`${e}\` cannot be negative.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"NegativeOffsetError"})}}class s extends n.G{constructor({length:e,position:t}){super(`Position \`${t}\` is out of bounds (\`0 < position < ${e}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PositionOutOfBoundsError"})}}class o extends n.G{constructor({count:e,limit:t}){super(`Recursive read limit of \`${t}\` exceeded (recursive read count: \`${e}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"RecursiveReadLimitExceededError"})}}},78398:function(e,t,i){i.d(t,{r:function(){return b}});var n=i(57412),r=i(45775),s=i(11221),o=i(39135),a=i(3972),u=i(61836),c=i(87788),l=i(95946),d=i(92106);function h(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let i=(0,d.ci)(e,t);return(0,l.ly)(i,t)}var f=i(11187),p=i(45444);function b(e,t){let i="string"==typeof t?(0,f.nr)(t):t,b=(0,s.q)(i);if(0===(0,o.d)(i)&&e.length>0)throw new n.wb;if((0,o.d)(t)&&32>(0,o.d)(t))throw new n.xB({data:"string"==typeof t?t:(0,d.ci)(t),params:e,size:(0,o.d)(t)});let m=0,g=[];for(let t=0;t<e.length;++t){let i=e[t];b.setPosition(m);let[s,o]=function e(t,i,{staticPosition:s}){let o=(0,p.S)(i.type);if(o){let[n,r]=o;return function(t,i,{length:n,staticPosition:r}){if(!n){let n=r+h(t.readBytes(32)),s=n+32;t.setPosition(n);let o=h(t.readBytes(32)),a=y(i),u=0,c=[];for(let n=0;n<o;++n){t.setPosition(s+(a?32*n:u));let[r,o]=e(t,i,{staticPosition:s});u+=o,c.push(r)}return t.setPosition(r+32),[c,32]}if(y(i)){let s=r+h(t.readBytes(32)),o=[];for(let r=0;r<n;++r){t.setPosition(s+32*r);let[n]=e(t,i,{staticPosition:s});o.push(n)}return t.setPosition(r+32),[o,32]}let s=0,o=[];for(let a=0;a<n;++a){let[n,a]=e(t,i,{staticPosition:r+s});s+=a,o.push(n)}return[o,s]}(t,{...i,type:r},{length:n,staticPosition:s})}if("tuple"===i.type)return function(t,i,{staticPosition:n}){let r=0===i.components.length||i.components.some(({name:e})=>!e),s=r?[]:{},o=0;if(y(i)){let a=n+h(t.readBytes(32));for(let n=0;n<i.components.length;++n){let u=i.components[n];t.setPosition(a+o);let[c,l]=e(t,u,{staticPosition:a});o+=l,s[r?n:u?.name]=c}return t.setPosition(n+32),[s,32]}for(let a=0;a<i.components.length;++a){let u=i.components[a],[c,l]=e(t,u,{staticPosition:n});s[r?a:u?.name]=c,o+=l}return[s,o]}(t,i,{staticPosition:s});if("address"===i.type)return function(e){let t=e.readBytes(32);return[(0,r.xs)((0,d.ci)((0,a.T4)(t,-20))),32]}(t);if("bool"===i.type)return[function(e,t={}){let i=e;if(void 0!==t.size&&((0,l.Yf)(i,{size:t.size}),i=(0,u.f)(i)),i.length>1||i[0]>1)throw new c.yr(i);return!!i[0]}(t.readBytes(32),{size:32}),32];if(i.type.startsWith("bytes"))return function(e,t,{staticPosition:i}){let[n,r]=t.type.split("bytes");if(!r){let t=h(e.readBytes(32));e.setPosition(i+t);let n=h(e.readBytes(32));if(0===n)return e.setPosition(i+32),["0x",32];let r=e.readBytes(n);return e.setPosition(i+32),[(0,d.ci)(r),32]}return[(0,d.ci)(e.readBytes(Number.parseInt(r),32)),32]}(t,i,{staticPosition:s});if(i.type.startsWith("uint")||i.type.startsWith("int"))return function(e,t){let i=t.type.startsWith("int"),n=Number.parseInt(t.type.split("int")[1]||"256"),r=e.readBytes(32);return[n>48?function(e,t={}){void 0!==t.size&&(0,l.Yf)(e,{size:t.size});let i=(0,d.ci)(e,t);return(0,l.y_)(i,t)}(r,{signed:i}):h(r,{signed:i}),32]}(t,i);if("string"===i.type)return function(e,{staticPosition:t}){let i=h(e.readBytes(32));e.setPosition(t+i);let n=h(e.readBytes(32));if(0===n)return e.setPosition(t+32),["",32];let r=e.readBytes(n,32),s=function(e,t={}){let i=e;return void 0!==t.size&&((0,l.Yf)(i,{size:t.size}),i=(0,u.f)(i,{dir:"right"})),new TextDecoder().decode(i)}((0,u.f)(r));return e.setPosition(t+32),[s,32]}(t,{staticPosition:s});throw new n.CI(i.type,{docsPath:"/docs/contract/decodeAbiParameters"})}(b,i,{staticPosition:0});m+=o,g.push(s)}return g}function y(e){let{type:t}=e;if("string"===t||"bytes"===t||t.endsWith("[]"))return!0;
vendor: 8,044 bytes, line 13
13if("tuple"===t)return e.components?.some(y);let i=(0,p.S)(e.type);return!!(i&&y({...e,type:i[1]}))}},45444:function(e,t,i){i.d(t,{E:function(){return h},S:function(){return p}});var n=i(57412),r=i(26087),s=i(62027),o=i(49321),a=i(57040),u=i(61769),c=i(39135),l=i(3972),d=i(92106);function h(e,t){if(e.length!==t.length)throw new n.fs({expectedLength:e.length,givenLength:t.length});let i=f(function({params:e,values:t}){let i=[];for(let h=0;h<e.length;h++)i.push(function e({param:t,value:i}){let h=p(t.type);if(h){let[r,s]=h;return function(t,{length:i,param:r}){let s=null===i;if(!Array.isArray(t))throw new n.hn(t);if(!s&&t.length!==i)throw new n.gr({expectedLength:i,givenLength:t.length,type:`${r.type}[${i}]`});let o=!1,u=[];for(let i=0;i<t.length;i++){let n=e({param:r,value:t[i]});n.dynamic&&(o=!0),u.push(n)}if(s||o){let e=f(u);if(s){let t=(0,d.eC)(u.length,{size:32});return{dynamic:!0,encoded:u.length>0?(0,a.zo)([t,e]):t}}if(o)return{dynamic:!0,encoded:e}}return{dynamic:!1,encoded:(0,a.zo)(u.map(({encoded:e})=>e))}}(i,{length:r,param:{...t,type:s}})}if("tuple"===t.type)return function(t,{param:i}){let n=!1,r=[];for(let s=0;s<i.components.length;s++){let o=i.components[s],a=Array.isArray(t)?s:o.name,u=e({param:o,value:t[a]});r.push(u),u.dynamic&&(n=!0)}return{dynamic:n,encoded:n?f(r):(0,a.zo)(r.map(({encoded:e})=>e))}}(i,{param:t});if("address"===t.type)return function(e){if(!(0,o.U)(e))throw new r.b({address:e});return{dynamic:!1,encoded:(0,u.gc)(e.toLowerCase())}}(i);if("bool"===t.type)return function(e){if("boolean"!=typeof e)throw new s.G(`Invalid boolean value: "${e}" (type: ${typeof e}). Expected: \`true\` or \`false\`.`);return{dynamic:!1,encoded:(0,u.gc)((0,d.C4)(e))}}(i);if(t.type.startsWith("uint")||t.type.startsWith("int"))return function(e,{signed:t}){return{dynamic:!1,encoded:(0,d.eC)(e,{size:32,signed:t})}}(i,{signed:t.type.startsWith("int")});if(t.type.startsWith("bytes"))return function(e,{param:t}){let[,i]=t.type.split("bytes"),r=(0,c.d)(e);if(!i){let t=e;return r%32!=0&&(t=(0,u.gc)(t,{dir:"right",size:32*Math.ceil((e.length-2)/2/32)})),{dynamic:!0,encoded:(0,a.zo)([(0,u.gc)((0,d.eC)(r,{size:32})),t])}}if(r!==Number.parseInt(i))throw new n.M4({expectedSize:Number.parseInt(i),value:e});return{dynamic:!1,encoded:(0,u.gc)(e,{dir:"right"})}}(i,{param:t});if("string"===t.type)return function(e){let t=(0,d.$G)(e),i=Math.ceil((0,c.d)(t)/32),n=[];for(let e=0;e<i;e++)n.push((0,u.gc)((0,l.tP)(t,32*e,(e+1)*32),{dir:"right"}));return{dynamic:!0,encoded:(0,a.zo)([(0,u.gc)((0,d.eC)((0,c.d)(t),{size:32})),...n])}}(i);throw new n.dh(t.type,{docsPath:"/docs/contract/encodeAbiParameters"})}({param:e[h],value:t[h]}));return i}({params:e,values:t}));return 0===i.length?"0x":i}function f(e){let t=0;for(let i=0;i<e.length;i++){let{dynamic:n,encoded:r}=e[i];n?t+=32:t+=(0,c.d)(r)}let i=[],n=[],r=0;for(let s=0;s<e.length;s++){let{dynamic:o,encoded:a}=e[s];o?(i.push((0,d.eC)(t+r,{size:32})),n.push(a),r+=(0,c.d)(a)):i.push(a)}return(0,a.zo)([...i,...n])}function p(e){let t=e.match(/^(.*)\[(\d+)?\]$/);return t?[t[2]?Number(t[2]):null,t[1]]:void 0}},80522:function(e,t,i){i.d(t,{h:function(){return s},t:function(){return r}});var n=i(57412);function r(e,{includeName:t=!1}={}){if("function"!==e.type&&"event"!==e.type&&"error"!==e.type)throw new n.wM(e.type);return`${e.name}(${s(e.inputs,{includeName:t})})`}function s(e,{includeName:t=!1}={}){return e?e.map(e=>(function(e,{includeName:t}){return e.type.startsWith("tuple")?`(${s(e.components,{includeName:t})})${e.type.slice(5)}`:e.type+(t&&e.name?` ${e.name}`:"")})(e,{includeName:t})).join(t?", ":","):""}},45775:function(e,t,i){i.d(t,{xs:function(){return o}});var n=i(11187),r=i(91734);let s=new(i(79773)).k(8192);function o(e,t){if(s.has(`${e}.${t}`))return s.get(`${e}.${t}`);let i=t?`${t}${e.toLowerCase()}`:e.substring(2).toLowerCase(),o=(0,r.w)((0,n.qX)(i),"bytes"),a=(t?i.substring(`${t}0x`.length):i).split("");for(let e=0;e<40;e+=2)o[e>>1]>>4>=8&&a[e]&&(a[e]=a[e].toUpperCase()),(15&o[e>>1])>=8&&a[e+1]&&(a[e+1]=a[e+1].toUpperCase());let u=`0x${a.join("")}`;return s.set(`${e}.${t}`,u),u}},49321:function(e,t,i){i.d(t,{U:function(){return a}});var n=i(79773),r=i(45775);let s=/^0x[a-fA-F0-9]{40}$/,o=new n.k(8192);function a(e,t){let{strict:i=!0}=t??{},n=`${e}.${i}`;if(o.has(n))return o.get(n);let a=!!s.test(e)&&(e.toLowerCase()===e||!i||(0,r.xs)(e)===e);return o.set(n,a),a}},11221:function(e,t,i){i.d(t,{q:function(){return s}});var n=i(66238);let r={bytes:new Uint8Array,dataView:new DataView(new ArrayBuffer(0)),position:0,positionReadCount:new Map,recursiveReadCount:0,recursiveReadLimit:Number.POSITIVE_INFINITY,assertReadLimit(){if(this.recursiveReadCount>=this.recursiveReadLimit)throw new n.KD({count:this.recursiveReadCount+1,limit:this.recursiveReadLimit})},assertPosition(e){if(e<0||e>this.bytes.length-1)throw new n.lQ({length:this.bytes.length,position:e})},decrementPosition(e){if(e<0)throw new n.T_({offset:e});let t=this.position-e;this.assertPosition(t),this.position=t},getReadCount(e){return this.positionReadCount.get(e||this.position)||0},incrementPosition(e){if(e<0)throw new n.T_({offset:e});let t=this.position+e;this.assertPosition(t),this.position=t},inspectByte(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectBytes(e,t){let i=t??this.position;return this.assertPosition(i+e-1),this.bytes.subarray(i,i+e)},inspectUint8(e){let t=e??this.position;return this.assertPosition(t),this.bytes[t]},inspectUint16(e){let t=e??this.position;return this.assertPosition(t+1),this.dataView.getUint16(t)},inspectUint24(e){let t=e??this.position;return this.assertPosition(t+2),(this.dataView.getUint16(t)<<8)+this.dataView.getUint8(t+2)},inspectUint32(e){let t=e??this.position;return this.assertPosition(t+3),this.dataView.getUint32(t)},pushByte(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushBytes(e){this.assertPosition(this.position+e.length-1),this.bytes.set(e,this.position),this.position+=e.length},pushUint8(e){this.assertPosition(this.position),this.bytes[this.position]=e,this.position++},pushUint16(e){this.assertPosition(this.position+1),this.dataView.setUint16(this.position,e),this.position+=2},pushUint24(e){this.assertPosition(this.position+2),this.dataView.setUint16(this.position,e>>8),this.dataView.setUint8(this.position+2,255&e),this.position+=3},pushUint32(e){this.assertPosition(this.position+3),this.dataView.setUint32(this.position,e),this.position+=4},readByte(){this.assertReadLimit(),this._touch();let e=this.inspectByte();return this.position++,e},readBytes(e,t){this.assertReadLimit(),this._touch();let i=this.inspectBytes(e);return this.position+=t??e,i},readUint8(){this.assertReadLimit(),this._touch();let e=this.inspectUint8();return this.position+=1,e},readUint16(){this.assertReadLimit(),this._touch();let e=this.inspectUint16();return this.position+=2,e},readUint24(){this.assertReadLimit(),this._touch();let e=this.inspectUint24();return this.position+=3,e},readUint32(){this.assertReadLimit(),this._touch();let e=this.inspectUint32();return this.position+=4,e},get remaining(){return this.bytes.length-this.position},setPosition(e){let t=this.position;return this.assertPosition(e),this.position=e,()=>this.position=t},_touch(){if(this.recursiveReadLimit===Number.POSITIVE_INFINITY)return;let e=this.getReadCount();this.positionReadCount.set(this.position,e+1),e>0&&this.recursiveReadCount++}};function s(e,{recursiveReadLimit:t=8192}={}){let i=Object.create(r);return i.bytes=e,i.dataView=new DataView(e.buffer,e.byteOffset,e.byteLength),i.positionReadCount=new Map,i.recursiveReadLimit=t,i}},61836:function(e,t,i){i.d(t,{f:function(){return n}});function n(e,{dir:t="left"}={}){let i="string"==typeof e?e.replace("0x",""):e,n=0;for(let e=0;e<i.length-1&&"0"===i["left"===t?e:i.length-e-1].toString();e++)n++;return(i="left"===t?i.slice(n):i.slice(0,i.length-n),"string"==typeof e)?(1===i.length&&"right"===t&&(i=`${i}0`),`0x${i.length%2==1?`0${i}`:i}`):i}},79773:function(e,t,i){i.d(t,{k:function(){return n}});
13class n extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}set(e,t){return super.set(e,t),this.maxSize&&this.size>this.maxSize&&this.delete(this.keys().next().value),this}}}}]);
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.