import{a as B,c as v,p as w}from"./thirdweb-Co3M1EyP.js";var m={};/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var g=function(e,r){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var i in o)o.hasOwnProperty(i)&&(t[i]=o[i])},g(e,r)};function E(e,r){g(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}var O=function(){return O=Object.assign||function(r){for(var t,o=1,i=arguments.length;o<i;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},O.apply(this,arguments)};function q(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)r.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(t[o[i]]=e[o[i]]);return t}function I(e,r,t,o){var i=arguments.length,n=i<3?r:o===null?o=Object.getOwnPropertyDescriptor(r,t):o,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,r,t,o);else for(var f=e.length-1;f>=0;f--)(u=e[f])&&(n=(i<3?u(n):i>3?u(r,t,n):u(r,t))||n);return i>3&&n&&Object.defineProperty(r,t,n),n}function N(e,r){return function(t,o){r(t,o,e)}}function T(e,r){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,r)}function A(e,r,t,o){function i(n){return n instanceof t?n:new t(function(u){u(n)})}return new(t||(t=Promise))(function(n,u){function f(l){try{a(o.next(l))}catch(p){u(p)}}function s(l){try{a(o.throw(l))}catch(p){u(p)}}function a(l){l.done?n(l.value):i(l.value).then(f,s)}a((o=o.apply(e,r||[])).next())})}function G(e,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(a){return function(l){return s([a,l])}}function s(a){if(o)throw new TypeError("Generator is already executing.");for(;t;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return t.label++,{value:a[1],done:!1};case 5:t.label++,i=a[1],a=[0];continue;case 7:a=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){t=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){t.label=a[1];break}if(a[0]===6&&t.label<n[1]){t.label=n[1],n=a;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(a);break}n[2]&&t.ops.pop(),t.trys.pop();continue}a=r.call(e,t)}catch(l){a=[6,l],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function M(e,r,t,o){o===void 0&&(o=t),e[o]=r[t]}function D(e,r){for(var t in e)t!=="default"&&!r.hasOwnProperty(t)&&(r[t]=e[t])}function S(e){var r=typeof Symbol=="function"&&Symbol.iterator,t=r&&e[r],o=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(e,r){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var o=t.call(e),i,n=[],u;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)n.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(u)throw u.error}}return n}function F(){for(var e=[],r=0;r<arguments.length;r++)e=e.concat(C(arguments[r]));return e}function z(){for(var e=0,r=0,t=arguments.length;r<t;r++)e+=arguments[r].length;for(var o=Array(e),i=0,r=0;r<t;r++)for(var n=arguments[r],u=0,f=n.length;u<f;u++,i++)o[i]=n[u];return o}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function V(e,r,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=t.apply(e,r||[]),i,n=[];return i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i;function u(c){o[c]&&(i[c]=function(d){return new Promise(function(h,R){n.push([c,d,h,R])>1||f(c,d)})})}function f(c,d){try{s(o[c](d))}catch(h){p(n[0][3],h)}}function s(c){c.value instanceof b?Promise.resolve(c.value.v).then(a,l):p(n[0][2],c)}function a(c){f("next",c)}function l(c){f("throw",c)}function p(c,d){c(d),n.shift(),n.length&&f(n[0][0],n[0][1])}}function H(e){var r,t;return r={},o("next"),o("throw",function(i){throw i}),o("return"),r[Symbol.iterator]=function(){return this},r;function o(i,n){r[i]=e[i]?function(u){return(t=!t)?{value:b(e[i](u)),done:i==="return"}:n?n(u):u}:n}}function J(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],t;return r?r.call(e):(e=typeof S=="function"?S(e):e[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(u){return new Promise(function(f,s){u=e[n](u),i(f,s,u.done,u.value)})}}function i(n,u,f,s){Promise.resolve(s).then(function(a){n({value:a,done:f})},u)}}function K(e,r){return Object.defineProperty?Object.defineProperty(e,"raw",{value:r}):e.raw=r,e}function L(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}function Q(e){return e&&e.__esModule?e:{default:e}}function U(e,r){if(!r.has(e))throw new TypeError("attempted to get private field on non-instance");return r.get(e)}function W(e,r,t){if(!r.has(e))throw new TypeError("attempted to set private field on non-instance");return r.set(e,t),t}const X=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return O},__asyncDelegator:H,__asyncGenerator:V,__asyncValues:J,__await:b,__awaiter:A,__classPrivateFieldGet:U,__classPrivateFieldSet:W,__createBinding:M,__decorate:I,__exportStar:D,__extends:E,__generator:G,__importDefault:Q,__importStar:L,__makeTemplateObject:K,__metadata:T,__param:N,__read:C,__rest:q,__spread:F,__spreadArrays:z,__values:S},Symbol.toStringTag,{value:"Module"})),Y=B(X);var y={},j;function Z(){if(j)return y;j=1,Object.defineProperty(y,"__esModule",{value:!0}),y.isBrowserCryptoAvailable=y.getSubtleCrypto=y.getBrowerCrypto=void 0;function e(){return(v===null||v===void 0?void 0:v.crypto)||(v===null||v===void 0?void 0:v.msCrypto)||{}}y.getBrowerCrypto=e;function r(){const o=e();return o.subtle||o.webkitSubtle}y.getSubtleCrypto=r;function t(){return!!e()&&!!r()}return y.isBrowserCryptoAvailable=t,y}var _={},P;function $(){if(P)return _;P=1,Object.defineProperty(_,"__esModule",{value:!0}),_.isBrowser=_.isNode=_.isReactNative=void 0;function e(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}_.isReactNative=e;function r(){return typeof w<"u"&&typeof w.versions<"u"&&typeof w.versions.node<"u"}_.isNode=r;function t(){return!e()&&!r()}return _.isBrowser=t,_}var x;function k(){return x||(x=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});const r=Y;r.__exportStar(Z(),e),r.__exportStar($(),e)}(m)),m}var te=k();export{te as c};
