try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`20a201a5-7d32-4d12-a332-e8bfe545b335`,e._sentryDebugIdIdentifier=`sentry-dbid-20a201a5-7d32-4d12-a332-e8bfe545b335`)}catch{}import{t as e}from"./rolldown-runtime-nx40z1zs.js";for(var t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,n=typeof Uint8Array>`u`?[]:new Uint8Array(256),r=0;r<t.length;r++)n[t.charCodeAt(r)]=r;var i=function(e){var n=new Uint8Array(e),r,i=n.length,a=``;for(r=0;r<i;r+=3)a+=t[n[r]>>2],a+=t[(n[r]&3)<<4|n[r+1]>>4],a+=t[(n[r+1]&15)<<2|n[r+2]>>6],a+=t[n[r+2]&63];return i%3==2?a=a.substring(0,a.length-1)+`=`:i%3==1&&(a=a.substring(0,a.length-2)+`==`),a},a=function(e){var t=e.length*.75,r=e.length,i,a=0,o,s,c,l;e[e.length-1]===`=`&&(t--,e[e.length-2]===`=`&&t--);var u=new ArrayBuffer(t),d=new Uint8Array(u);for(i=0;i<r;i+=4)o=n[e.charCodeAt(i)],s=n[e.charCodeAt(i+1)],c=n[e.charCodeAt(i+2)],l=n[e.charCodeAt(i+3)],d[a++]=o<<2|s>>4,d[a++]=(s&15)<<4|c>>2,d[a++]=(c&3)<<6|l&63;return u},o=e(((e,t)=>{(function(n,r){if(typeof define==`function`&&define.amd)define([],r);else if(typeof e==`object`)t.exports=r();else{var i=r();n.TextEncoder=i.TextEncoder,n.TextDecoder=i.TextDecoder}})(e,function(){var e=typeof global<`u`?global:self;if(e.TextEncoder!==void 0&&e.TextDecoder!==void 0)return{TextEncoder:e.TextEncoder,TextDecoder:e.TextDecoder};var t=[`utf8`,`utf-8`,`unicode-1-1-utf-8`];return{TextEncoder:function(e){if(t.indexOf(e)<0&&e!=null)throw RangeError(`Invalid encoding type. Only utf-8 is supported`);this.encoding=`utf-8`,this.encode=function(e){if(typeof e!=`string`)throw TypeError(`passed argument must be of type string`);var t=unescape(encodeURIComponent(e)),n=new Uint8Array(t.length);return t.split(``).forEach(function(e,t){n[t]=e.charCodeAt(0)}),n}},TextDecoder:function(e,n){if(t.indexOf(e)<0&&e!=null)throw RangeError(`Invalid encoding type. Only utf-8 is supported`);if(this.encoding=`utf-8`,this.ignoreBOM=!1,this.fatal=n!==void 0&&`fatal`in n?n.fatal:!1,typeof this.fatal!=`boolean`)throw TypeError(`fatal flag must be boolean`);this.decode=function(e,t){if(e===void 0)return``;if(typeof(t!==void 0&&`stream`in t?t.stream:!1)!=`boolean`)throw TypeError(`stream option must be boolean`);if(ArrayBuffer.isView(e)){var n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),r=Array(n.length);return n.forEach(function(e,t){r[t]=String.fromCharCode(e)}),decodeURIComponent(escape(r.join(``)))}else throw TypeError(`passed argument must be an array buffer view`)}}}})}));export{a as n,i as r,o as t};