PageSourceSearch

https://hodler.sh/_next/static/chunks/9762.b9bbbd16aa4f9469.js

js hodler.sh collected 2026-10-02 02:09:49 UTC 45,634 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9762],{90348:function(e,t,r){"use strict";let n,i,s;var o,a,l=r(40257),u=Object.create,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,p=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,y=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of h(t))d.call(e,i)||i===r||c(e,i,{get:()=>t[i],enumerable:!(n=f(t,i))||n.enumerable});return e},m={};((e,t)=>{for(var r in t)c(e,r,{get:t[r],enumerable:!0})})(m,{analytics:()=>_}),e.exports=y(c({},"__esModule",{value:!0}),m);var b=(s=null!=(n=r(29272))?u(p(n)):{},y(!i&&n&&n.__esModule?s:c(s,"default",{value:n,enumerable:!0}),n)),v=class{constructor(e){this.batch=[],this.maxTimeoutMs=3e4,this.timeoutId=null,this.isSending=!1,this.batchSize=e.batchSize,this.baseTimeoutMs=e.baseTimeoutMs,this.currentTimeoutMs=e.baseTimeoutMs,this.sendFn=e.sendFn}enqueue(e){this.batch.push(e),this.schedule()}schedule(){this.batch.length>0&&!this.timeoutId&&(this.timeoutId=setTimeout(()=>{this.timeoutId=null,this.flush()},this.currentTimeoutMs))}async flush(){if(this.isSending||0===this.batch.length)return;this.isSending=!0;let e=[...this.batch.slice(0,this.batchSize)];this.batch=this.batch.slice(this.batchSize);try{await this.sendFn(e),this.currentTimeoutMs=this.baseTimeoutMs}catch(t){console.error("Sender: Failed to send batch",t),this.batch=[...e,...this.batch],this.currentTimeoutMs=Math.min(2*this.currentTimeoutMs,this.maxTimeoutMs)}finally{this.isSending=!1,this.schedule()}}},g=class{constructor(e){this.enabled=!1,this.properties={};let t=(0,b.default)({baseUrl:e}),r=async e=>{let r=await t.POST("/v1/events",{body:e});if(200!==r.response.status)throw Error(r.error)};this.sender=new v({batchSize:100,baseTimeoutMs:200,sendFn:r})}enable(){this.enabled=!0}setGlobalProperty(e,t){this.properties[e]=t}track(e,t){if(!this.enabled)return;let r={name:e,...this.properties,...t};this.sender.enqueue(r)}};void 0!==l&&l.env&&(o=null!=(a=l.env.METAMASK_ANALYTICS_ENDPOINT)?a:l.env.NEXT_PUBLIC_METAMASK_ANALYTICS_ENDPOINT);var _=new g(null!=o?o:"https://mm-sdk-analytics.api.cx.metamask.io/")},80751:function(e,t,r){var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g,i=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();(function(e){var t=void 0!==i&&i||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],o=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function a(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function u(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function c(e){this.map={},e instanceof c?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){if(2!=e.length)throw TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function f(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(TypeError("Already read"));e.bodyUsed=!0}}function h(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function p(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){if(this.bodyUsed=this.bodyUsed,this._bodyInit=e,e){if("string"==typeof e)this._bodyText=e;else if(n.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(n.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else{var t;n.arrayBuffer&&n.blob&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||o(e))?this._bodyArrayBuffer=d(e):this._bodyText=e=Object.prototype.toString.call(e)}}else this._noBody=!0,this._bodyText="";!this.headers.get("content-type")&&("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(!this._bodyFormData)return Promise.resolve(new Blob([this._bodyText]));throw Error("could not read FormData body as blob")}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return f(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(n.blob)return this.blob().then(p);throw Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,n,i,s=f(this);if(s)return s;if(this._bodyBlob)return e=this._bodyBlob,r=h(t=new FileReader),i=(n=/charset=([A-Za-z0-9_-]+)/.exec(e.type))?n[1]:"utf-8",t.readAsText(e,i),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(!this._bodyFormData)return Promise.resolve(this._bodyText);throw Error("could not read FormData body as text")},n.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(e,t){e=a(e),t=l(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[a(e)]},c.prototype.get=function(e){return e=a(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(a(e))},c.prototype.set=function(e,t){this.map[a(e)]=l(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),u(e)},c.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),u(e)},c.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),u(e)},n.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var m=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function b(e,r){if(!(this instanceof b))throw TypeError('Please use the "new" operator, this DOM object c
1onstructor cannot be called as a function.');var n,i,s=(r=r||{}).body;if(e instanceof b){if(e.bodyUsed)throw TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new c(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,s||null==e._bodyInit||(s=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=r.credentials||this.credentials||"same-origin",(r.headers||!this.headers)&&(this.headers=new c(r.headers)),this.method=(i=(n=r.method||this.method||"GET").toUpperCase(),m.indexOf(i)>-1?i:n),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||function(){if("AbortController"in t)return new AbortController().signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&s)throw TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(s),("GET"===this.method||"HEAD"===this.method)&&("no-store"===r.cache||"no-cache"===r.cache)){var o=/([?&])_=[^&]*/;o.test(this.url)?this.url=this.url.replace(o,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}function v(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}}),t}function g(e,t){if(!(this instanceof g))throw TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},g.error=function(){var e=new g(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var _=[301,302,303,307,308];g.redirect=function(e,t){if(-1===_.indexOf(t))throw RangeError("Invalid status code");return new g(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function w(r,i){return new Promise(function(s,o){var u=new b(r,i);if(u.signal&&u.signal.aborted)return o(new e.DOMException("Aborted","AbortError"));var f=new XMLHttpRequest;function h(){f.abort()}if(f.onload=function(){var e,t,r={statusText:f.statusText,headers:(e=f.getAllResponseHeaders()||"",t=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}}),t)};0===u.url.indexOf("file://")&&(f.status<200||f.status>599)?r.status=200:r.status=f.status,r.url="responseURL"in f?f.responseURL:r.headers.get("X-Request-URL");var n="response"in f?f.response:f.responseText;setTimeout(function(){s(new g(n,r))},0)},f.onerror=function(){setTimeout(function(){o(TypeError("Network request failed"))},0)},f.ontimeout=function(){setTimeout(function(){o(TypeError("Network request timed out"))},0)},f.onabort=function(){setTimeout(function(){o(new e.DOMException("Aborted","AbortError"))},0)},f.open(u.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}(u.url),!0),"include"===u.credentials?f.withCredentials=!0:"omit"===u.credentials&&(f.withCredentials=!1),"responseType"in f&&(n.blob?f.responseType="blob":n.arrayBuffer&&(f.responseType="arraybuffer")),i&&"object"==typeof i.headers&&!(i.headers instanceof c||t.Headers&&i.headers instanceof t.Headers)){var p=[];
1Object.getOwnPropertyNames(i.headers).forEach(function(e){p.push(a(e)),f.setRequestHeader(e,l(i.headers[e]))}),u.headers.forEach(function(e,t){-1===p.indexOf(t)&&f.setRequestHeader(t,e)})}else u.headers.forEach(function(e,t){f.setRequestHeader(t,e)});u.signal&&(u.signal.addEventListener("abort",h),f.onreadystatechange=function(){4===f.readyState&&u.signal.removeEventListener("abort",h)}),f.send(void 0===u._bodyInit?null:u._bodyInit)})}w.polyfill=!0,t.fetch||(t.fetch=w,t.Headers=c,t.Request=b,t.Response=g),e.Headers=c,e.Request=b,e.Response=g,e.fetch=w})({}),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var s=n.fetch?n:i;(t=s.fetch).default=s.fetch,t.fetch=s.fetch,t.Headers=s.Headers,t.Request=s.Request,t.Response=s.Response,e.exports=t},31464:function(e,t,r){let n;var i=r(40257);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(27244)(t);let{formatters:s}=e.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},27244:function(e,t,r){e.exports=function(e){function t(e){let r,i,s;let o=null;function a(...e){if(!a.enabled)return;let n=Number(new Date),i=n-(r||n);a.diff=i,a.prev=r,a.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";s++;let i=t.formatters[n];if("function"==typeof i){let t=e[s];r=i.call(a,t),e.splice(s,1),s--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r<i;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(RegExp("^"+e.slice(1)+"$")):t.names.push(RegExp("^"+e+"$")))},t.enabled=function(e){let r,n;if("*"===e[e.length-1])return!0;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(35169),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},96653:function(e,t,r){var n,i=r(40257);!function(s){var o=Object.hasOwnProperty,a=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},l="object"==typeof i&&"function"==typeof i.nextTick,u="function"==typeof Symbol,c="object"==typeof Reflect,f="function"==typeof setImmediate?setImmediate:setTimeout,h=u?c&&"function"==typeof Reflect.ownKeys?Reflect.ownKeys:function(e){var t=Object.getOwnPropertyNames(e);return t.push.apply(t,Object.getOwnPropertySymbols(e)),t}:Object.keys;function p(){this._events={},this._conf&&d.call(this,this._conf)}function d(e){e&&(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),s!==e.maxListeners&&(this._maxListeners=e.maxListeners),e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener),e.verboseMemoryLeak&&(this.verboseMemoryLeak=e.verboseMemoryLeak),e.ignoreErrors&&(this.ignoreErrors=e.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function y(e,t){var r="(node) warning: possible EventEmitter memory leak detected. "+e+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(r+=" Event name: "+t+"."),void 0!==i&&i.emitWarning){var n=Error(r);n.name="MaxListenersExceededWarning",n.emitter=this,n.count=e,i.emitWarning(n)}
1else console.error(r),console.trace&&console.trace()}var m=function(e,t,r){var n=arguments.length;switch(n){case 0:return[];case 1:return[e];case 2:return[e,t];case 3:return[e,t,r];default:for(var i=Array(n);n--;)i[n]=arguments[n];return i}};function b(e,t){for(var r={},n=e.length,i=t?t.length:0,o=0;o<n;o++)r[e[o]]=o<i?t[o]:s;return r}function v(e,t,r){if(this._emitter=e,this._target=t,this._listeners={},this._listenersCount=0,(r.on||r.off)&&(n=r.on,i=r.off),t.addEventListener?(n=t.addEventListener,i=t.removeEventListener):t.addListener?(n=t.addListener,i=t.removeListener):t.on&&(n=t.on,i=t.off),!n&&!i)throw Error("target does not implement any known event API");if("function"!=typeof n)throw TypeError("on method must be a function");if("function"!=typeof i)throw TypeError("off method must be a function");this._on=n,this._off=i;var n,i,s=e._observers;s?s.push(this):e._observers=[this]}function g(e,t,r,n){var i,a,l,u=Object.assign({},t);if(!e)return u;if("object"!=typeof e)throw TypeError("options must be an object");var c=Object.keys(e),f=c.length;function h(e){throw Error('Invalid "'+i+'" option value'+(e?". Reason: "+e:""))}for(var p=0;p<f;p++){if(i=c[p],!n&&!o.call(t,i))throw Error('Unknown "'+i+'" option');s!==(a=e[i])&&(l=r[i],u[i]=l?l(a,h):a)}return u}function _(e,t){return"function"==typeof e&&e.hasOwnProperty("prototype")||t("value must be a constructor"),e}function w(e){var t="value must be type of "+e.join("|"),r=e.length,n=e[0],i=e[1];return 1===r?function(e,r){if(typeof e===n)return e;r(t)}:2===r?function(e,r){var s=typeof e;if(s===n||s===i)return e;r(t)}:function(n,i){for(var s=typeof n,o=r;o-- >0;)if(s===e[o])return n;i(t)}}Object.assign(v.prototype,{subscribe:function(e,t,r){var n=this,i=this._target,s=this._emitter,o=this._listeners,a=function(){var n=m.apply(null,arguments),o={data:n,name:t,original:e};if(r){!1!==r.call(i,o)&&s.emit.apply(s,[o.name].concat(n));return}s.emit.apply(s,[t].concat(n))};if(o[e])throw Error("Event '"+e+"' is already listening");this._listenersCount++,s._newListener&&s._removeListener&&!n._onNewListener?(this._onNewListener=function(r){r===t&&null===o[e]&&(o[e]=a,n._on.call(i,e,a))},s.on("newListener",this._onNewListener),this._onRemoveListener=function(r){r===t&&!s.hasListeners(r)&&o[e]&&(o[e]=null,n._off.call(i,e,a))},o[e]=null,s.on("removeListener",this._onRemoveListener)):(o[e]=a,n._on.call(i,e,a))},unsubscribe:function(e){var t,r,n,i=this,s=this._listeners,o=this._emitter,a=this._off,l=this._target;if(e&&"string"!=typeof e)throw TypeError("event must be a string");function u(){i._onNewListener&&(o.off("newListener",i._onNewListener),o.off("removeListener",i._onRemoveListener),i._onNewListener=null,i._onRemoveListener=null);var e=A.call(o,i);o._observers.splice(e,1)}if(e){if(!(t=s[e]))return;a.call(l,e,t),delete s[e],--this._listenersCount||u()}else{for(n=(r=h(s)).length;n-- >0;)e=r[n],a.call(l,e,s[e]);this._listeners={},this._listenersCount=0,u()}}});var C=w(["function"]),E=w(["object","function"]);function T(e,t,r){var n,i,s,o=0,a=new e(function(l,u,c){function f(){i&&(i=null),o&&(clearTimeout(o),o=0)}n=!(r=g(r,{timeout:0,overload:!1},{timeout:function(e,t){return("number"!=typeof(e*=1)||e<0||!Number.isFinite(e))&&t("timeout must be a positive number"),e}})).overload&&"function"==typeof e.prototype.cancel&&"function"==typeof c;var h=function(e){f(),l(e)},p=function(e){f(),u(e)};n?t(h,p,c):(i=[function(e){p(e||Error("canceled"))}],t(h,p,function(e){if(s)throw Error("Unable to subscribe on cancel event asynchronously");if("function"!=typeof e)throw TypeError("onCancel callback must be a function");i.push(e)}),s=!0),r.timeout>0&&(o=setTimeout(function(){var e=Error("timeout");e.code="ETIMEDOUT",o=0,a.cancel(e),u(e)},r.timeout))});return n||(a.cancel=function(e){if(i){for(var t=i.length,r=1;r<t;r++)i[r](e);i[0](e),i=null}}),a}function A(e){var t=this._observers;if(!t)return -1;for(var r=t.length,n=0;n<r;n++)if(t[n]._target===e)return n;return -1}function L(e,t,r,n,i){if(!r)return null;if(0===n){var s=typeof t;if("string"===s){var o,a,l=0,u=0,c=this.delimiter,f=c.length;if(-1!==(a=t.indexOf(c))){o=[,,,,,];do o[l++]=t.slice(u,a),u=a+f;while(-1!==(a=t.indexOf(c,u)));o[l++]=t.slice(u),t=o,i=l}else t=[t],i=1}else"object"===s?i=t.length:(t=[t],i=1)}var p,d,y,m,b,v,g,_=null,w=t[n],C=t[n+1];if(n===i)r._listeners&&("function"==typeof r._listeners?e&&e.push(r._listeners):e&&e.push.apply(e,r._listeners),_=[r]);else{if("*"===w){for(a=(v=h(r)).length;a-- >0;)"_listeners"!==(p=v[a])&&(g=L(e,t,r[p],n+1,i))&&(_?_.push.apply(_,g):_=g);return _}if("**"===w){for((b=n+1===i||n+2===i&&"*"===C)&&r._listeners&&(_=L(e,t,r,i,i)),a=(v=h(r)).length;a-- >0;)"_listeners"!==(p=v[a])&&("*"===p||"**"===p?(r[p]._listeners&&!b&&(g=L(e,t,r[p],i,i))&&(_?_.push.apply(_,g):_=g),g=L(e,t,r[p],n,i)):g=p===C?L(e,t,r[p],n+2,i):L(e,t,r[p],n,i),g&&(_?_.push.apply(_,g):_=g));return _}r[w]&&(_=L(e,t,r[w],n+1,i))}if((d=r["*"])&&L(e,t,d,n+1,i),y=r["**"]){if(n<i)for(y._listeners&&L(e,t,y,i,i),a=(v=h(y)).length;a-- >0;)"_listeners"!==(p=v[a])&&(p===C?L(e,t,y[p],n+2,i):p===w?L(e,t,y[p],n+1,i):((m={})[p]=y[p],L(e,t,{"**":m},n+1,i)));else y._listeners?L(e,t,y,i,i):y["*"]&&y["*"]._listeners&&L(e,t,y["*"],i,i)}return _}function O(e,t,r){var n,i,s=0,o=0,a=this.delimiter,l=a.length;if("string"==typeof e){if(-1!==(n=e.indexOf(a))){i=[,,,,,];do i[s++]=e.slice(o,n),o=n+l;while(-1!==(n=e.indexOf(a,o)));i[s++]=e.slice(o)}else i=[e],s=1}else i=e,s=e.length;if(s>1){for(n=0;n+1<s;n++)if("**"===i[n]&&"**"===i[n+1])return}var u,c=this.listenerTree;for(n=0;n<s;n++)if(c=c[u=i[n]]||(c[u]={}),n===s-1){c._listeners?("function"==typeof c._listeners&&(c._listeners=[c._listeners]),r?c._listeners.unshift(t):c._listeners.push(t),!c._listeners.warned&&this._maxListeners>0&&c._listeners.length>this._maxListeners&&(c._listeners.warned=!0,y.call(this,c._listeners.length,u))):c._listeners=t;break}return!0}function j(e,t,r,n){for(var i,s,o,a,l=h(e),u=l.length,c=e._listeners;u-- >0;)i=e[s=l[u]],o="_listeners"===s?r:r?r.concat(s):[s],a=n||"symbol"==typeof s,c&&t.pu
1sh(a?o:o.join(this.delimiter)),"object"==typeof i&&j.call(this,i,t,o,a);return t}function x(e){for(var t,r,n,i=h(e),s=i.length;s-- >0;)(t=e[r=i[s]])&&(n=!0,"_listeners"===r||x(t)||delete e[r]);return n}function F(e,t,r){this.emitter=e,this.event=t,this.listener=r}function P(e,t,r){if(!0===r)o=!0;else if(!1===r)n=!0;else{if(!r||"object"!=typeof r)throw TypeError("options should be an object or true");var n=r.async,o=r.promisify,a=r.nextTick,u=r.objectify}if(n||a||o){var c=t,h=t._origin||t;if(a&&!l)throw Error("process.nextTick is not supported");s===o&&(o="AsyncFunction"===t.constructor.name),(t=function(){var e=arguments,t=this,r=this.event;return o?a?Promise.resolve():new Promise(function(e){f(e)}).then(function(){return t.event=r,c.apply(t,e)}):(a?i.nextTick:f)(function(){t.event=r,c.apply(t,e)})})._async=!0,t._origin=h}return[t,u?new F(this,e,t):this]}function R(e){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,d.call(this,e)}F.prototype.off=function(){return this.emitter.off(this.event,this.listener),this},R.EventEmitter2=R,R.prototype.listenTo=function(e,t,r){if("object"!=typeof e)throw TypeError("target musts be an object");var n=this;return r=g(r,{on:s,off:s,reducers:s},{on:C,off:C,reducers:E}),function(t){if("object"!=typeof t)throw TypeError("events must be an object");var i,s,o=r.reducers,a=A.call(n,e);i=-1===a?new v(n,e,r):n._observers[a];for(var l=h(t),u=l.length,c="function"==typeof o,f=0;f<u;f++)s=l[f],i.subscribe(s,t[s]||s,c?o:o&&o[s])}(a(t)?b(t):"string"==typeof t?b(t.split(/\s+/)):t),this},R.prototype.stopListeningTo=function(e,t){var r,n=this._observers;if(!n)return!1;var i=n.length,s=!1;if(e&&"object"!=typeof e)throw TypeError("target should be an object");for(;i-- >0;)r=n[i],e&&r._target!==e||(r.unsubscribe(t),s=!0);return s},R.prototype.delimiter=".",R.prototype.setMaxListeners=function(e){s!==e&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},R.prototype.getMaxListeners=function(){return this._maxListeners},R.prototype.event="",R.prototype.once=function(e,t,r){return this._once(e,t,!1,r)},R.prototype.prependOnceListener=function(e,t,r){return this._once(e,t,!0,r)},R.prototype._once=function(e,t,r,n){return this._many(e,1,t,r,n)},R.prototype.many=function(e,t,r,n){return this._many(e,t,r,!1,n)},R.prototype.prependMany=function(e,t,r,n){return this._many(e,t,r,!0,n)},R.prototype._many=function(e,t,r,n,i){var s=this;if("function"!=typeof r)throw Error("many only accepts instances of Function");function o(){return 0==--t&&s.off(e,o),r.apply(this,arguments)}return o._origin=r,this._on(e,o,n,i)},R.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||p.call(this);var e,t,r,n,i,s,o,a=arguments[0],l=this.wildcard;if("newListener"===a&&!this._newListener&&!this._events.newListener)return!1;if(l&&(o=a,"newListener"!==a&&"removeListener"!==a&&"object"==typeof a)){if(t=a.length,u){for(r=0;r<t;r++)if("symbol"==typeof a[r]){i=!0;break}}i||(a=a.join(this.delimiter))}var c=arguments.length;if(this._all&&this._all.length)for(r=0,t=(s=this._all.slice()).length;r<t;r++)switch(this.event=a,c){case 1:s[r].call(this,a);break;case 2:s[r].call(this,a,arguments[1]);break;case 3:s[r].call(this,a,arguments[1],arguments[2]);break;default:s[r].apply(this,arguments)}if(l)s=[],L.call(this,s,o,this.listenerTree,0,t);else{if("function"==typeof(s=this._events[a])){switch(this.event=a,c){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:for(n=1,e=Array(c-1);n<c;n++)e[n-1]=arguments[n];s.apply(this,e)}return!0}s&&(s=s.slice())}if(s&&s.length){if(c>3)for(n=1,e=Array(c-1);n<c;n++)e[n-1]=arguments[n];for(r=0,t=s.length;r<t;r++)switch(this.event=a,c){case 1:s[r].call(this);break;case 2:s[r].call(this,arguments[1]);break;case 3:s[r].call(this,arguments[1],arguments[2]);break;default:s[r].apply(this,e)}return!0}if(!this.ignoreErrors&&!this._all&&"error"===a){if(arguments[1]instanceof Error)throw arguments[1];throw Error("Uncaught, unspecified 'error' event.")}return!!this._all},R.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||p.call(this);var e,t,r,n,i,s,o,a=arguments[0],l=this.wildcard;if("newListener"===a&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(l&&(s=a,"newListener"!==a&&"removeListener"!==a&&"object"==typeof a)){if(t=a.length,u){for(r=0;r<t;r++)if("symbol"==typeof a[r]){o=!0;break}}o||(a=a.join(this.delimiter))}var c=[],f=arguments.length;if(this._all)for(r=0,t=this._all.length;r<t;r++)switch(this.event=a,f){case 1:c.push(this._all[r].call(this,a));break;case 2:c.push(this._all[r].call(this,a,arguments[1]));break;case 3:c.push(this._all[r].call(this,a,arguments[1],arguments[2]));break;default:c.push(this._all[r].apply(this,arguments))}if(l?(i=[],L.call(this,i,s,this.listenerTree,0)):i=this._events[a],"function"==typeof i)switch(this.event=a,f){case 1:c.push(i.call(this));break;case 2:c.push(i.call(this,arguments[1]));break;case 3:c.push(i.call(this,arguments[1],arguments[2]));break;default:for(n=1,e=Array(f-1);n<f;n++)e[n-1]=arguments[n];c.push(i.apply(this,e))}else if(i&&i.length){if(i=i.slice(),f>3)for(n=1,e=Array(f-1);n<f;n++)e[n-1]=arguments[n];for(r=0,t=i.length;r<t;r++)switch(this.event=a,f){case 1:c.push(i[r].call(this));break;case 2:c.push(i[r].call(this,arguments[1]));break;case 3:c.push(i[r].call(this,arguments[1],arguments[2]));break;default:c.push(i[r].apply(this,e))}}else if(!this.ignoreErrors&&!this._all&&"error"===a)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(c)},R.prototype.on=function(e,t,r){return this._on(e,t,!1,r)},R.prototype.prependListener=function(e,t,r){return this._on(e,t,!0,r)},R.prototype.onAny=function(e){return this._onAny(e,!1)},R.prototype.prependAny=function(e){return this._onAny(e,!0)},R.prototype.addListener=R.prototype.on,R.prototype._onAny=function(e,t){if("function"!=typeof e)throw Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t?this._all.unshift(e):this._all.push(e),this},R.prototype._on=function(e,t,r,n){if("function"==typeof e)return this._onAny(e,t),this;if("function"!=typeof t)throw Error("on only accepts instances of Function");this._events||p.call(this);var i,o=this;return(s!==n&&(t=(i=P.call(this,e,t,n))[0],o=i[1]),this._newListener&&this.emit
1("newListener",e,t),this.wildcard)?O.call(this,e,t,r):this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),r?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&this._maxListeners>0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,y.call(this,this._events[e].length,e))):this._events[e]=t,o},R.prototype.off=function(e,t){if("function"!=typeof t)throw Error("removeListener only takes instances of Function");var r,n=[];if(this.wildcard){var i="string"==typeof e?e.split(this.delimiter):e.slice();if(!(n=L.call(this,null,i,this.listenerTree,0)))return this}else{if(!this._events[e])return this;r=this._events[e],n.push({_listeners:r})}for(var s=0;s<n.length;s++){var o=n[s];if(a(r=o._listeners)){for(var l=-1,u=0,c=r.length;u<c;u++)if(r[u]===t||r[u].listener&&r[u].listener===t||r[u]._origin&&r[u]._origin===t){l=u;break}if(l<0)continue;return this.wildcard?o._listeners.splice(l,1):this._events[e].splice(l,1),0===r.length&&(this.wildcard?delete o._listeners:delete this._events[e]),this._removeListener&&this.emit("removeListener",e,t),this}(r===t||r.listener&&r.listener===t||r._origin&&r._origin===t)&&(this.wildcard?delete o._listeners:delete this._events[e],this._removeListener&&this.emit("removeListener",e,t))}return this.listenerTree&&x(this.listenerTree),this},R.prototype.offAny=function(e){var t,r=0,n=0;if(e&&this._all&&this._all.length>0){for(r=0,n=(t=this._all).length;r<n;r++)if(e===t[r]){t.splice(r,1),this._removeListener&&this.emit("removeListenerAny",e);break}}else{if(t=this._all,this._removeListener)for(r=0,n=t.length;r<n;r++)this.emit("removeListenerAny",t[r]);this._all=[]}return this},R.prototype.removeListener=R.prototype.off,R.prototype.removeAllListeners=function(e){if(s===e)return this._events&&p.call(this),this;if(this.wildcard){var t,r=L.call(this,null,e,this.listenerTree,0);if(!r)return this;for(t=0;t<r.length;t++)r[t]._listeners=null;this.listenerTree&&x(this.listenerTree)}else this._events&&(this._events[e]=null);return this},R.prototype.listeners=function(e){var t,r,n,i,o,a=this._events;if(s===e){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!a)return[];for(i=(t=h(a)).length,n=[];i-- >0;)"function"==typeof(r=a[t[i]])?n.push(r):n.push.apply(n,r);return n}if(this.wildcard){if(!(o=this.listenerTree))return[];var l=[],u="string"==typeof e?e.split(this.delimiter):e.slice();return L.call(this,l,u,o,0),l}return a&&(r=a[e])?"function"==typeof r?[r]:r:[]},R.prototype.eventNames=function(e){var t=this._events;return this.wildcard?j.call(this,this.listenerTree,[],null,e):t?h(t):[]},R.prototype.listenerCount=function(e){return this.listeners(e).length},R.prototype.hasListeners=function(e){if(this.wildcard){var t=[],r="string"==typeof e?e.split(this.delimiter):e.slice();return L.call(this,t,r,this.listenerTree,0),t.length>0}var n=this._events,i=this._all;return!!(i&&i.length||n&&(s===e?h(n).length:n[e]))},R.prototype.listenersAny=function(){return this._all?this._all:[]},R.prototype.waitFor=function(e,t){var r=this,n=typeof t;return"number"===n?t={timeout:t}:"function"===n&&(t={filter:t}),T((t=g(t,{timeout:0,filter:s,handleError:!1,Promise:Promise,overload:!1},{filter:C,Promise:_})).Promise,function(n,i,s){function o(){var s=t.filter;if(!s||s.apply(r,arguments)){if(r.off(e,o),t.handleError){var a=arguments[0];a?i(a):n(m.apply(null,arguments).slice(1))}else n(m.apply(null,arguments))}}s(function(){r.off(e,o)}),r._on(e,o,!1)},{timeout:t.timeout,overload:t.overload})};var k=R.prototype;Object.defineProperties(R,{defaultMaxListeners:{get:function(){return k._maxListeners},set:function(e){if("number"!=typeof e||e<0||Number.isNaN(e))throw TypeError("n must be a non-negative number");k._maxListeners=e},enumerable:!0},once:{value:function(e,t,r){return T((r=g(r,{Promise:Promise,timeout:0,overload:!1},{Promise:_})).Promise,function(r,n,i){if("function"==typeof e.addEventListener){s=function(){r(m.apply(null,arguments))},i(function(){e.removeEventListener(t,s)}),e.addEventListener(t,s,{once:!0});return}var s,o,a=function(){o&&e.removeListener("error",o),r(m.apply(null,arguments))};"error"!==t&&(o=function(r){e.removeListener(t,a),n(r)},e.once("error",o)),i(function(){o&&e.removeListener("error",o),e.removeListener(t,a)}),e.once(t,a)},{timeout:r.timeout,overload:r.overload})},writable:!0,configurable:!0}}),Object.defineProperties(k,{_maxListeners:{value:10,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),s!==(n=(function(){return R}).call(t,r,t,e))&&(e.exports=n)}()},35169:function(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,i,s=typeof e;if("string"===s&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===s&&isFinite(e))return r.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>
1=1e3?t(e,n,1e3,"second"):e+" ms":(i=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":i>=36e5?Math.round(e/36e5)+"h":i>=6e4?Math.round(e/6e4)+"m":i>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},99222:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});for(var n,i=new Uint8Array(16),s=r(66737),o=[],a=0;a<256;++a)o.push((a+256).toString(16).substr(1));var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,s.Z)(r))throw TypeError("Stringified UUID is invalid");return r},u=function(e,t,r){var s=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)})();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=s[o];return t}return l(s)}},66737:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,i=function(e){return"string"==typeof e&&n.test(e)}},29272:function(e,t,r){"use strict";var n=r(40257),i=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{createFinalURL:()=>E,createPathBasedClient:()=>m,createQuerySerializer:()=>_,default:()=>h,defaultBodySerializer:()=>C,defaultPathSerializer:()=>w,mergeHeaders:()=>T,randomID:()=>f,removeTrailingSlash:()=>A,serializeArrayParam:()=>g,serializeObjectParam:()=>v,serializePrimitiveParam:()=>b,wrapAsPathBasedClient:()=>y}),e.exports=((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))a.call(e,l)||l===r||i(e,l,{get:()=>t[l],enumerable:!(n=s(t,l))||n.enumerable});return e})(i({},"__esModule",{value:!0}),l);var u=/\{[^{}]+\}/g,c=()=>"object"==typeof n&&Number.parseInt(n?.versions?.node?.substring(0,2))>=18&&n.versions.undici;function f(){return Math.random().toString(36).slice(2,11)}function h(e){let{baseUrl:t="",Request:r=globalThis.Request,fetch:n=globalThis.fetch,querySerializer:i,bodySerializer:s,headers:o,requestInitExt:a,...l}={...e};a=c()?a:void 0,t=A(t);let u=[];async function h(e,c){let h,p,d;let{baseUrl:y,fetch:m=n,Request:b=r,headers:v,params:g={},parseAs:w="json",querySerializer:L,bodySerializer:O=s??C,body:j,...x}=c||{},F=t;y&&(F=A(y)??t);let P="function"==typeof i?i:_(i);L&&(P="function"==typeof L?L:_({..."object"==typeof i?i:{},...L}));let R=void 0===j?void 0:O(j,T(o,v,g.header)),k=T(void 0===R||R instanceof FormData?{}:{"Content-Type":"application/json"},o,v,g.header),S={redirect:"follow",...l,...x,body:R,headers:k},D=new r(E(e,{baseUrl:F,params:g,querySerializer:P}),S);for(let e in x)e in D||(D[e]=x[e]);if(u.length){for(let t of(h=f(),p=Object.freeze({baseUrl:F,fetch:m,parseAs:w,querySerializer:P,bodySerializer:O}),u))if(t&&"object"==typeof t&&"function"==typeof t.onRequest){let n=await t.onRequest({request:D,schemaPath:e,params:g,options:p,id:h});if(n){if(n instanceof r)D=n;else if(n instanceof Response){d=n;break}else throw Error("onRequest: must return new Request() or Response() when modifying the request")}}}if(!d){try{d=await m(D,a)}catch(r){let t=r;if(u.length)for(let r=u.length-1;r>=0;r--){let n=u[r];if(n&&"object"==typeof n&&"function"==typeof n.onError){let r=await n.onError({request:D,error:t,schemaPath:e,params:g,options:p,id:h});if(r){if(r instanceof Response){t=void 0,d=r;break}if(r instanceof Error){t=r;continue}throw Error("onError: must return new Response() or instance of Error")}}}if(t)throw t}if(u.length)for(let t=u.length-1;t>=0;t--){let r=u[t];if(r&&"object"==typeof r&&"function"==typeof r.onResponse){let t=await r.onResponse({request:D,response:d,schemaPath:e,params:g,options:p,id:h});if(t){if(!(t instanceof Response))throw Error("onResponse: must return new Response() when modifying the response");d=t}}}}if(204===d.status||"HEAD"===D.method||"0"===d.headers.get("Content-Length"))return d.ok?{data:void 0,response:d}:{error:void 0,response:d};if(d.ok)return"stream"===w?{data:d.body,response:d}:{data:await d[w](),response:d};let M=await d.text();try{M=JSON.parse(M)}catch{}return{error:M,response:d}}return{request:(e,t,r)=>h(t,{...r,method:e.toUpperCase()}),GET:(e,t)=>h(e,{...t,method:"GET"}),PUT:(e,t)=>h(e,{...t,method:"PUT"}),POST:(e,t)=>h(e,{...t,method:"POST"}),DELETE:(e,t)=>h(e,{...t,method:"DELETE"}),OPTIONS:(e,t)=>h(e,{...t,method:"OPTIONS"}),HEAD:(e,t)=>h(e,{...t,method:"HEAD"}),PATCH:(e,t)=>h(e,{...t,method:"PATCH"}),TRACE:(e,t)=>h(e,{...t,method:"TRACE"}),use(...e){for(let t of e)if(t){if("object"!=typeof t||!("onRequest"in t||"onResponse"in t||"onError"in t))throw Error("Middleware must be an object with one of `onRequest()`, `onResponse() or `onError()`");u.push(t)}},eject(...e){for(let t of e){let e=u.indexOf(t);-1!==e&&u.splice(e,1)}}}}var p=class{constructor(e,t){this.client=e,this.url=t}GET=e=>this.client.GET(this.url,e);PUT=e=>this.client.PUT(this.url,e);POST=e=>this.client.POST(this.url,e);DELETE=e=>this.client.DELETE(this.url,e);OPTIONS=e=>this.client.OPTIONS(this.url,e);HEAD=e=>this.client.HEAD(this.url,e);PATCH=e=>this.client.PATCH(this.url,e);TRACE=e=>this.client.TRACE(this.url,e)},d=class{constructor(){this.client=null}get(e,t){let r=new p(e,t);return this.client[t]=r,r}};function y(e){let t=new d,r=new Proxy(e,t);function n(){}n.prototype=r;let i=new n;return t.client=i,i}function m(e){return y(h(e))}function b(e,t,r){if(null==t)return"";if("object"==typeof t)throw Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${e}=${r?.allowReserved===!0?t:encodeURIComponent(t)}`}function v(e,t,r){if(!t||"object"!=typeof t)return"";let n=[],i={simple:",",label:".",matrix:";"}[r.style]||"&";if("deepObject"!==r.style&&!1===r.explode){for(let e in t)n.push(e,!0===r.allowReserved?t[e]:encodeURIComponent(t[e]));let i=n.join(",");switch(r.style){case"form":return`${e}=${i}`;case"label":return`.${i}`;case"matrix":return`;${e}=${i}`;default:return i}}for(let i in t){let s="deepObject"===r.style?`${e}[${i}]`:i;n.push(b(s,t[i],r))}let s=n.join(i);return"label"===r.style||"matrix"===r.style?`${i}${s}`:s}function g(e,t,r){if(!Array.isArray(t))return"";if(!1===r.explode){let n={form:",",spaceDelimited:"%20",pipeDelimited:"|"}[r.style]||",",i=(!0===r.allowReserved?t:t.map(e=>encodeURIComponent(e))).join(n);switch(r.style){case"simple":return i;case"label":return`.${i}`;case"matrix":return`;${e}=${i}`;default:return`${e}=${i}`}}let n={simple:",",label:".",matrix:";"}[r.style]||"&",i=[];for(let n of t)"simple"===r.style||"label"===r.style?i.push(!0===r.allowReserved?n:encodeURIComponent(n)):i.push(b(e,n,r));return"label"===r.style||"matrix"===r.style?`${n}${i.join(n)}`:i.join(n)}function _(e){return function(t){let r=[];if(t&&"object"==typeof t)for(let n in t){let i=t[n];if(null!=i){if(Array.isArray(i)){if(0===i.length)continue;r.push(g(n,i,{style:"form",explode:!0,...e?.array,allowReserved:e?.allowReserved||!1}));continue}if("object"==typeof i){r.push(v(n,i,{style:"deepObject",explode:!0,...e?.object,allowReserved:e?.allowReserved||!1}));continue}r.push(b(n,i,e))}}return r.join("&")}}function w(e,t){let r=e;for(let n of e.match(u)??[]){let e=n.substring(1,n.length-1),i=!1,s="simple";if(e.endsWith("*")&&(i=!0,e=e.substring(0,e.length-1)),e.startsWith(".")?(s="label",e=e.substring(1)):e.startsWith(";")&&(s="matrix",e=e.substring(1)),!t||void 0===t[e]||null===t[e])continue;let o=t[e];if(Array.isArray(o)){r=r.replace(n,g(e,o,{style:s,explode:i}));continue}if("object"==typeof o){r=r.replace(n,v(e,o,{style:s,explode:i}));continue}if("matrix"===s){r=r.replace(n,`;${b(e,o)}`);continue}r=r.replace(n,"label"===s?`.${encodeURIComponent(o)}`:encodeURIComponent(o))}return r}function C(e,t){return e instanceof FormData?e:t&&"application/x-www-form-urlencoded"===(t.get instanceof Function?t.get("Content-Type")??t.get("content-type"):t["Content-Type"]??t["content-type"])?new URLSearchParams(e).toString():JSON.stringify(e)}function E(e,t){let r=`${t.baseUrl}${e}`;t.params?.path&&(r=w(r,t.params.path));let n=t.querySerializer(t.params.query??{});return n.startsWith("?")&&(n=n.substring(1)),n&&(r+=`?${n}`),r}function T(...e){let t=new Headers;for(let r of e)if(r&&"object"==typeof r)for(let[e,n]of r instanceof Headers?r.entries():Object.entries(r))if(null===n)t.delete(e);else if(Array.isArray(n))for(let r of n)t.append(e,r);else void 0!==n&&t.set(e,n);return t}function A(e){return e.endsWith("/")?e.substring(0,e.length-1):e}}}]);

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.