function a9_0x4170(r,t){r-=333;var e=a9_0x50f2(),o=e[r];if(void 0===a9_0x4170.sReIqn){var n=function(r){for(var t,e,o="",a="",c=o+n,i=0,s=0;e=r.charAt(s++);~e&&(t=i%4?64*t+e:e,i++%4)?o+=c.charCodeAt(s+10)-10!=0?String.fromCharCode(255&t>>(-2*i&6)):i:0)e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(e);for(var h=0,f=o.length;h<f;h++)a+="%"+("00"+o.charCodeAt(h).toString(16)).slice(-2);return decodeURIComponent(a)};a9_0x4170.qJjUIQ=function(r,t){var e,o,a=[],c=0,i="";for(r=n(r),o=0;o<256;o++)a[o]=o;for(o=0;o<256;o++)c=(c+a[o]+t.charCodeAt(o%t.length))%256,e=a[o],a[o]=a[c],a[c]=e;o=0,c=0;for(var s=0;s<r.length;s++)c=(c+a[o=(o+1)%256])%256,e=a[o],a[o]=a[c],a[c]=e,i+=String.fromCharCode(r.charCodeAt(s)^a[(a[o]+a[c])%256]);return i},a9_0x4170.hyWxTU={},a9_0x4170.sReIqn=!0}var a=r+e[0],c=a9_0x4170.hyWxTU[a];if(c)o=c;else{if(void 0===a9_0x4170.vtzLbR){var i=function(r){this.scloIT=r,this.gqvqGX=[1,0,0],this.JoepwL=function(){return"newState"},this.xmfkvx="\\w+ *\\(\\) *{\\w+ *",this.YXHRUK="['|\"].+['|\"];? *}"};i.prototype.kRqOep=function(){var r=new RegExp(this.xmfkvx+this.YXHRUK).test(this.JoepwL.toString())?--this.gqvqGX[1]:--this.gqvqGX[0];return this.InVvbE(r)},i.prototype.InVvbE=function(r){return Boolean(~r)?this.fbBPOS(this.scloIT):r},i.prototype.fbBPOS=function(r){for(var t=0,e=this.gqvqGX.length;t<e;t++)this.gqvqGX.push(Math.round(Math.random())),e=this.gqvqGX.length;return r(this.gqvqGX[0])},new i(a9_0x4170).kRqOep(),a9_0x4170.vtzLbR=!0}o=a9_0x4170.qJjUIQ(o,t),a9_0x4170.hyWxTU[a]=o}return o}!function(){var r=396,t="Fh*#",e="0%Qg",o=199,n="$9bo",a="lVXF",c=388,i=395,s="YNq5",h=383,f="qcP3",u=201,x="7aFB",p=194,d=538,W=48,v=a9_0x50f2();function g(r,t){return a9_0x4170(r-W,t)}function E(r,t,e,o){return a9_0x4170(o- -d,r)}for(;;)try{if(163758===-parseInt(g(r,t))/1*(-parseInt(g(406,e))/2)+parseInt(E("T3dt",0,0,-o))/3*(parseInt(E(n,0,0,-193))/4)+-parseInt(g(384,a))/5+-parseInt(g(c,"uzhq"))/6*(-parseInt(g(408,"7aFB"))/7)+parseInt(g(i,s))/8+-parseInt(g(h,f))/9*(-parseInt(E("T3dt",0,0,-u))/10)+-parseInt(E(x,0,0,-p))/11)break;v.push(v.shift())}catch(r){v.push(v.shift())}}();var a9_0x4c67a8=function(){var r=!0;return function(t,e){var o=890,n="FdW@",a=r?function(){if(e){var r=e[a=o,c=n,a9_0x4170(a-548,c)](t,arguments);return e=null,r}var a,c}:function(){};return r=!1,a}}(),a9_0x1069ac=a9_0x4c67a8(this,function(){var r=1323,t=1315,e="!rY(",o="&OB6",n=1307,a={};a[s(1335,1339,1327,"T3dt")]=s(r,t,1316,"Ns9w")+"+$";var c=a;function i(r,t,e){return a9_0x4170(e-811,t)}function s(r,t,e,o){return a9_0x4170(e-973,o)}return a9_0x1069ac[i(0,e,1152)]()[i(0,"wIOp",1162)](c[i(0,"&OB6",1160)])[s(0,0,1319,o)]()[s(0,0,n,"7aFB")+"r"](a9_0x1069ac).search(c[i(0,"&o]&",1144)])});a9_0x1069ac();export{generateXchangeKey,xchangeEncrypt,xchangeDecrypt}from"./xchange.js";function a9_0x50f2(){var r=["W57dP8omjs7cMSkeW4VcTcpdLq","WRP2vwPUWQpcLmoX","axhcHe3dMCkFWOpdVdTEAuDJ","dxqFpwRcQmkO","WQP/sMHl","W7OSmc8SWOJcOSoeCXzv","WOldKcNcMSkXW5G","zrvAW404D8oBW7pcHmknwG","zrzEW4TUumoWW5dcHSkY","cSoBtmklW7i","W5G2W5nzdmoWACkO","etVdObWyWQtdS8kdW7i","wCkDj8owWQyXea","C8o8nJHApdxcUx/cGue","nCkFW7ddTYRdNbqfWR3cQcq","judcHfpcO8oubmkddq","WOdcKc1BW48","DXFdK23cHmoXmmkZoZK","W501WQSkjSoJESkjxCo4","vqxcM8kEW6RcHNlcLCk9W4tcIINdKa","vSkpn8onW4qGWOlcN8khEa","cSoBr8o7iKCsWOflWPHDDsq","wSkpt8kEW6eDWR7cLG","WPZcJCoTjmoJuCoOWPeiW7Sj","W50LdJhcRdmSzW","ySoEWRFcOMC","WP7cRfxdOSoSzhZdSCo9sq","ieNcJYRdHCkXCSkLpZ/cVmo3Fa"];return(a9_0x50f2=function(){return r})()}export{AES_KEY_BYTES,AES_IV_BYTES,BUNDLE_HEADER_BYTES}from"./xchange.js";export{XchangeErrorClass,KeygenError,EncryptError,DecryptError,BundleError,ERROR_MESSAGES,toXchangeError,isXchangeError}from"./errors.js";export{createXchangeErrorDetail}from"./errors.js";export{ProgressReporter,createDetailedError,formatErrorForUser,formatErrorForLog,isACIError,toACIError}from"../ux-helpers/index.js";export{LazyXchange,createLazyXchange,LazyXchangeErrorCode}from"./lazy-init.js";export{autoAcceptInvite,AutoAcceptErrorCode}from"./auto-accept.js";export{XchangeInviteService,XchangeInviteErrorCode}from"./invite-client.js";export{MemoryXchangeTrustRegistry,autoAcceptXchangeInvite,registerXchangeService}from"./trust-integration.js";