PageSourceSearch

https://www.tokenpost.com/assets/index-DfMIlJZ_.js

js tokenpost.com collected 2026-10-03 21:49:17 UTC 324,979 bytes, 16 lines download raw bytes

1import{i4 as lr,i5 as pr,i6 as fi,i7 as Ue,i8 as un,i9 as dn,ia as mi,bs as Ne,ct as se,cs as N,cM as ea,cc as Lt,bJ as st,cl as me,ib as ge,ic as ta,id as ln,cw as hi,B,ie as yi,bW as fr,bz as gi,L as bi,K as vi,J as wi,cd as ke,ig as Wn,bN as de,ih as xi,ii as Ei,ij as Jn,ik as na,il as Si,bX as Ai,bZ as ki,cS as Oi,im as Pi,io as Ii,bv as Ci,d as Ti,c as Bi,h as mr,ci as ot,ck as Ve,ip as ji,iq as Ui,ir as Ni,is as Ri,ca as ra,cN as Li,cX as qe,it as aa,cQ as hr,cf as pn,c$ as yr,bB as ia,cR as Di,ch as gr,by as sa,bP as Mi,cg as Jt,cj as Fi,bA as Hi,b$ as Gi,cA as zi}from"./PrivyWallet-BcumCOkd.js";import{g as Ki}from"./index-CL5CVFz4.js";import{c as Vi,s as Yt,p as qi,e as Zi}from"./parseSignature-DT1dh4iG.js";const Wi="@base-org/account",Ji="1.1.1",oa={name:Wi,version:Ji},Yi="https://keys.coinbase.com/connect",ca="https://rpc.wallet.coinbase.com",Dt=oa.name,_e=oa.version;function ua(e,t){let n;try{n=e()}catch{return}return{getItem:a=>{var i;const c=s=>s===null?null:JSON.parse(s,void 0),o=(i=n.getItem(a))!=null?i:null;return o instanceof Promise?o.then(c):c(o)},setItem:(a,i)=>n.setItem(a,JSON.stringify(i,void 0)),removeItem:a=>n.removeItem(a)}}const fn=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return fn(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return fn(r)(n)}}}},Qi=(e,t)=>(n,r,a)=>{let i={storage:ua(()=>localStorage),partialize:y=>y,version:0,merge:(y,h)=>({...h,...y}),...t},c=!1;const o=new Set,s=new Set;let u=i.storage;if(!u)return e((...y)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...y)},r,a);const l=()=>{const y=i.partialize({...r()});return u.setItem(i.name,{state:y,version:i.version})},d=a.setState;a.setState=(y,h)=>{d(y,h),l()};const p=e((...y)=>{n(...y),l()},r,a);a.getInitialState=()=>p;let f;const m=()=>{var y,h;if(!u)return;c=!1,o.forEach(v=>{var b;return v((b=r())!=null?b:p)});const g=((h=i.onRehydrateStorage)==null?void 0:h.call(i,(y=r())!=null?y:p))||void 0;return fn(u.getItem.bind(u))(i.name).then(v=>{if(v)if(typeof v.version=="number"&&v.version!==i.version){if(i.migrate){const b=i.migrate(v.state,v.version);return b instanceof Promise?b.then(w=>[!0,w]):[!0,b]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,v.state];return[!1,void 0]}).then(v=>{var b;const[w,k]=v;if(f=i.merge(k,(b=r())!=null?b:p),n(f,!0),w)return l()}).then(()=>{g==null||g(f,void 0),f=r(),c=!0,s.forEach(v=>v(f))}).catch(v=>{g==null||g(void 0,v)})};return a.persist={setOptions:y=>{i={...i,...y},y.storage&&(u=y.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>m(),hasHydrated:()=>c,onHydrate:y=>(o.add(y),()=>{o.delete(y)}),onFinishHydration:y=>(s.add(y),()=>{s.delete(y)})},i.skipHydration||m(),f||p},Xi=Qi,br=e=>{let t;const n=new Set,r=(u,l)=>{const d=typeof u=="function"?u(t):u;if(!Object.is(d,t)){const p=t;t=l??(typeof d!="object"||d===null)?d:Object.assign({}
1,t,d),n.forEach(f=>f(t,p))}},a=()=>t,o={setState:r,getState:a,getInitialState:()=>s,subscribe:u=>(n.add(u),()=>n.delete(u))},s=t=e(r,a,o);return o},Yn=e=>e?br(e):br,_i=()=>({chains:[]}),$i=()=>({keys:{}}),es=()=>({account:{}}),ts=()=>({subAccount:void 0}),ns=()=>({subAccountConfig:{}}),rs=()=>({spendPermissions:[]}),as=()=>({config:{version:_e}}),Z=Yn(Xi((...e)=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_i(...e)),$i(...e)),es(...e)),ts(...e)),rs(...e)),as(...e)),ns(...e)),{name:"base-acc-sdk.store",storage:ua(()=>localStorage),partialize:e=>({chains:e.chains,keys:e.keys,account:e.account,subAccount:e.subAccount,spendPermissions:e.spendPermissions,config:e.config})})),is={get:()=>Z.getState().subAccountConfig,set:e=>{Z.setState(t=>({subAccountConfig:Object.assign(Object.assign({},t.subAccountConfig),e)}))},clear:()=>{Z.setState({subAccountConfig:{}})}},ss={get:()=>Z.getState().subAccount,set:e=>{Z.setState(t=>({subAccount:t.subAccount?Object.assign(Object.assign({},t.subAccount),e):Object.assign({address:e.address},e)}))},clear:()=>{Z.setState({subAccount:void 0})}},os={get:()=>Z.getState().spendPermissions,set:e=>{Z.setState({spendPermissions:e})},clear:()=>{Z.setState({spendPermissions:[]})}},cs={get:()=>Z.getState().account,set:e=>{Z.setState(t=>({account:Object.assign(Object.assign({},t.account),e)}))},clear:()=>{Z.setState({account:{}})}},us={get:()=>Z.getState().chains,set:e=>{Z.setState({chains:e})},clear:()=>{Z.setState({chains:[]})}},ds={get:e=>Z.getState().keys[e],set:(e,t)=>{Z.setState(n=>({keys:Object.assign(Object.assign({},n.keys),{[e]:t})}))},clear:()=>{Z.setState({keys:{}})}},da={get:()=>Z.getState().config,set:e=>{Z.setState(t=>({config:Object.assign(Object.assign({},t.config),e)}))}},ls={subAccounts:ss,subAccountsConfig:is,spendPermissions:os,account:cs,chains:us,keys:ds,config:da},x=Object.assign(Object.assign({},Z),ls),ps
vendor: 6,932 bytes, line 1
1='!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClientAnalytics=t():e.ClientAnalytics=t()}(this,(function(){return(()=>{var e={792:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},562:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var i=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?n.push(t.charAt(i>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\\/]/gi,"");for(var n=[],r=0,i=0;r<e.length;i=++r%4)0!=i&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|t.indexOf(e.charAt(r))>>>6-2*i);return n}},e.exports=n},335:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},762:(e,t,n)=>{var r,i,a,o,s;r=n(562),i=n(792).utf8,a=n(335),o=n(792).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):i.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,u=1732584193,l=-271733879,d=-1732584194,p=271733878,m=0;m<n.length;m++)n[m]=16711935&(n[m]<<8|n[m]>>>24)|4278255360&(n[m]<<24|n[m]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var f=s._ff,v=s._gg,g=s._hh,b=s._ii;for(m=0;m<n.length;m+=16){var h=u,w=l,y=d,T=p;u=f(u,l,d,p,n[m+0],7,-680876936),p=f(p,u,l,d,n[m+1],12,-389564586),d=f(d,p,u,l,n[m+2],17,606105819),l=f(l,d,p,u,n[m+3],22,-1044525330),u=f(u,l,d,p,n[m+4],7,-176418897),p=f(p,u,l,d,n[m+5],12,1200080426),d=f(d,p,u,l,n[m+6],17,-1473231341),l=f(l,d,p,u,n[m+7],22,-45705983),u=f(u,l,d,p,n[m+8],7,1770035416),p=f(p,u,l,d,n[m+9],12,-1958414417),d=f(d,p,u,l,n[m+10],17,-42063),l=f(l,d,p,u,n[m+11],22,-1990404162),u=f(u,l,d,p,n[m+12],7,1804603682),p=f(p,u,l,d,n[m+13],12,-40341101),d=f(d,p,u,l,n[m+14],17,-1502002290),u=v(u,l=f(l,d,p,u,n[m+15],22,1236535329),d,p,n[m+1],5,-165796510),p=v(p,u,l,d,n[m+6],9,-1069501632),d=v(d,p,u,l,n[m+11],14,643717713),l=v(l,d,p,u,n[m+0],20,-373897302),u=v(u,l,d,p,n[m+5],5,-701558691),p=v(p,u,l,d,n[m+10],9,38016083),d=v(d,p,u,l,n[m+15],14,-660478335),l=v(l,d,p,u,n[m+4],20,-405537848),u=v(u,l,d,p,n[m+9],5,568446438),p=v(p,u,l,d,n[m+14],9,-1019803690),d=v(d,p,u,l,n[m+3],14,-187363961),l=v(l,d,p,u,n[m+8],20,1163531501),u=v(u,l,d,p,n[m+13],5,-1444681467),p=v(p,u,l,d,n[m+2],9,-51403784),d=v(d,p,u,l,n[m+7],14,1735328473),u=g(u,l=v(l,d,p,u,n[m+12],20,-1926607734),d,p,n[m+5],4,-378558),p=g(p,u,l,d,n[m+8],11,-2022574463),d=g(d,p,u,l,n[m+11],16,1839030562),l=g(l,d,p,u,n[m+14],23,-35309556),u=g(u,l,d,p,n[m+1],4,-1530992060),p=g(p,u,l,d,n[m+4],11,1272893353),d=g(d,p,u,l,n[m+7],16,-155497632),l=g(l,d,p,u,n[m+10],23,-1094730640),u=g(u,l,d,p,n[m+13],4,681279174),p=g(p,u,l,d,n[m+0],11,-358537222),d=g(d,p,u,l,n[m+3],16,-722521979),l=g(l,d,p,u,n[m+6],23,76029189),u=g(u,l,d,p,n[m+9],4,-640364487),p=g(p,u,l,d,n[m+12],11,-421815835),d=g(d,p,u,l,n[m+15],16,530742520),u=b(u,l=g(l,d,p,u,n[m+2],23,-995338651),d,p,n[m+0],6,-198630844),p=b(p,u,l,d,n[m+7],10,1126891415),d=b(d,p,u,l,n[m+14],15,-1416354905),l=b(l,d,p,u,n[m+5],21,-57434055),u=b(u,l,d,p,n[m+12],6,1700485571),p=b(p,u,l,d,n[m+3],10,-1894986606),d=b(d,p,u,l,n[m+10],15,-1051523),l=b(l,d,p,u,n[m+1],21,-2054922799),u=b(u,l,d,p,n[m+8],6,1873313359),p=b(p,u,l,d,n[m+15],10,-30611744),d=b(d,p,u,l,n[m+6],15,-1560198380),l=b(l,d,p,u,n[m+13],21,1309151649),u=b(u,l,d,p,n[m+4],6,-145523070),p=b(p,u,l,d,n[m+11],10,-1120210379),d=b(d,p,u,l,n[m+2],15,718787259),l=b(l,d,p,u,n[m+9],21,-343485551),u=u+h>>>0,l=l+w>>>0,d=d+y>>>0,p=p+T>>>0}return r.endian([u,l,d,p])})._ff=function(e,t,n,r,i,a,o){var s=e+(t&n|~t&r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,n,r,i,a,o){var s=e+(t&r|n&~r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,n,r,i,a,o){var s=e+(t^n^r)+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,n,r,i,a,o){var s=e+(n^(t|~r))+(i>>>0)+o;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):r.bytesToHex(n)}},2:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Perfume:()=>ze,incrementUjNavigation:()=>Le,markStep:()=>Re,markStepOnce:()=>qe});var r,i,a={isResourceTiming:!1,isElementTiming:!1,maxTime:3e4,reportOptions:{},enableNavigationTracking:!0},o=window,s=o.console,c=o.navigator,u=o.performance,l=function(){return c.deviceMemory},d=function(){return c.hardwareConcurrency},p="mark.",m=function(){return u&&!!u.getEntriesByType&&!!u.now&&!!u.mark},f="4g",v=!1,g={},b={value:0},h={value:{beacon:0,css:0,fetch:0,img:0,other:0,script:0,total:0,xmlhttprequest:0}},w={value:0},y={value:0},T={},k={isHidden:!1,didChange:!1},_=function(){k.isHidden=!1,document.hidden&&(k.isHidden=document.hidden,k.didChange=!0)},S=function(e,t){try{var n=new PerformanceObserver((function(e){t(e.getEntries())}));return n.observe({type:e,buffered:!0}),n}catch(e){s.warn("Perfume.js:",e)}return null},E=function(){return!!(d()&&d()<=4)||!!(l()&&l()<=4)},x=function(e,t){switch(e){case"slow-2g":case"2g":case"3g":return!0;default:return E()||t}},O=function(e){return parseFloat(e.toFixed(4))},j=function(e){return"number"!=typeof e?null:O(e/Math.pow(1024,2))},N=function(e,t,n,r,i){var s,u=function(){a.analyticsTracker&&(k.isHidden&&!["CLS","INP"].includes(e)||a.analyticsTracker({attribution:r,metricName:e,data:t,navigatorInformation:c?{deviceMemory:l()||0,hardwareConcurrency:d()||0,serviceWorker
vendor: 77,044 bytes, line 1
1Status:"serviceWorker"in c?c.serviceWorker.controller?"controlled":"supported":"unsupported",isLowEndDevice:E(),isLowEndExperience:x(f,v)}:{},rating:n,navigationType:i}))};["CLS","INP"].includes(e)?u():(s=u,"requestIdleCallback"in o?o.requestIdleCallback(s,{timeout:3e3}):s())},I=function(e){e.forEach((function(e){if(!("self"!==e.name||e.startTime<b.value)){var t=e.duration-50;t>0&&(w.value+=t,y.value+=t)}}))};!function(e){e.instant="instant",e.quick="quick",e.moderate="moderate",e.slow="slow",e.unavoidable="unavoidable"}(r||(r={}));var P,M,B,C,D,A=((i={})[r.instant]={vitalsThresholds:[100,200],maxOutlierThreshold:1e4},i[r.quick]={vitalsThresholds:[200,500],maxOutlierThreshold:1e4},i[r.moderate]={vitalsThresholds:[500,1e3],maxOutlierThreshold:1e4},i[r.slow]={vitalsThresholds:[1e3,2e3],maxOutlierThreshold:1e4},i[r.unavoidable]={vitalsThresholds:[2e3,5e3],maxOutlierThreshold:2e4},i),L={RT:[100,200],TBT:[200,600],NTBT:[200,600]},U=function(e,t){return L[e]?t<=L[e][0]?"good":t<=L[e][1]?"needsImprovement":"poor":null},R=function(e,t,n){Object.keys(t).forEach((function(e){"number"==typeof t[e]&&(t[e]=O(t[e]))})),N(e,t,null,n||{})},q=function(e){var t=e.attribution,n=e.name,r=e.rating,i=e.value,o=e.navigationType;"FCP"===n&&(b.value=i),["FCP","LCP"].includes(n)&&!T[0]&&(T[0]=S("longtask",I)),"FID"===n&&setTimeout((function(){k.didChange||(q({attribution:t,name:"TBT",rating:U("TBT",w.value),value:w.value,navigationType:o}),R("dataConsumption",h.value))}),1e4);var s=O(i);s<=a.maxTime&&s>=0&&N(n,s,r,t,o)},F=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},z=function(e){if("loading"===document.readyState)return"loading";var t=F();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e<t.domComplete)return"dom-content-loaded"}return"complete"},K=function(e){var t=e.nodeName;return 1===e.nodeType?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},$=function(e,t){var n="";try{for(;e&&9!==e.nodeType;){var r=e,i=r.id?"#"+r.id:K(r)+(r.className&&r.className.length?"."+r.className.replace(/\\s+/g,"."):"");if(n.length+i.length>(t||100)-1)return n||i;if(n=n?i+">"+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},Q=-1,W=function(){return Q},H=function(e){addEventListener("pageshow",(function(t){t.persisted&&(Q=t.timeStamp,e(t))}),!0)},V=function(){var e=F();return e&&e.activationStart||0},J=function(e,t){var n=F(),r="navigate";return W()>=0?r="back-forward-cache":n&&(r=document.prerendering||V()>0?"prerender":document.wasDiscarded?"restore":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},X=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},G=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},Z=function(e,t,n,r){var i,a;return function(o){t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},Y=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},ee=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},te=-1,ne=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},re=function(e){"hidden"===document.visibilityState&&te>-1&&(te="visibilitychange"===e.type?e.timeStamp:0,ae())},ie=function(){addEventListener("visibilitychange",re,!0),addEventListener("prerenderingchange",re,!0)},ae=function(){removeEventListener("visibilitychange",re,!0),removeEventListener("prerenderingchange",re,!0)},oe=function(){return te<0&&(te=ne(),ie(),H((function(){setTimeout((function(){te=ne(),ie()}),0)}))),{get firstHiddenTime(){return te}}},se=function(e,t){t=t||{},ee((function(){var n,r=[1800,3e3],i=oe(),a=J("FCP"),o=X("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<i.firstHiddenTime&&(a.value=Math.max(e.startTime-V(),0),a.entries.push(e),n(!0)))}))}));o&&(n=Z(e,a,r,t.reportAllChanges),H((function(i){a=J("FCP"),n=Z(e,a,r,t.reportAllChanges),Y((function(){a.value=performance.now()-i.timeStamp,n(!0)}))})))}))},ce={passive:!0,capture:!0},ue=new Date,le=function(e,t){P||(P=t,M=e,B=new Date,me(removeEventListener),de())},de=function(){if(M>=0&&M<B-ue){var e={entryType:"first-input",name:P.type,target:P.target,cancelable:P.cancelable,startTime:P.timeStamp,processingStart:P.timeStamp+M};C.forEach((function(t){t(e)})),C=[]}},pe=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){le(e,t),i()},r=function(){i()},i=function(){removeEventListener("pointerup",n,ce),removeEventListener("pointercancel",r,ce)};addEventListener("pointerup",n,ce),addEventListener("pointercancel",r,ce)}(t,e):le(t,e)}},me=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,pe,ce)}))},fe=0,ve=1/0,ge=0,be=function(e){e.forEach((function(e){e.interactionId&&(ve=Math.min(ve,e.interactionId),ge=Math.max(ge,e.interactionId),fe=ge?(ge-ve)/7+1:0)}))},he=function(){return D?fe:performance.interactionCount||0},we=0,ye=function(){return he()-we},Te=[],ke={},_e=function(e){var t=Te[Te.length-1],n=ke[e.interactionId];if(n||Te.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};ke[r.id]=r,Te.push(r)}Te.sort((function(e,t){return t.latency-e.latency})),Te.splice(10).forEach((function(e){delete ke[e.id]}))}},Se={},Ee=function e(t){document.prerendering?ee((function(){return e(t)})):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},xe=function(e,t){t=t||{};var n=[800,1800],r=J("TTFB"),i=Z(e,r,n,t.reportAllChanges);Ee((function(){var a=F();if(a){var o=a.responseStart;if(o<=0||o>performance.now())return;r.value=Math.max(o-V(),0),r.entries=[a],i(!0),H((function(){r=J("TTFB",0),(i=Z(e,r,n,t.reportAllChanges))(!0)}))}}))},Oe=function(e){e.forEach((function(e){e.identifier&&q({attribution:{identifier:e.identifier},name:"ET",rating:null,value:e.startTime})}))},je=function(e){e.forEach((function(e){if(a.isResourceTiming&&R("resourceTiming",e),e.decodedBodySize&&e.initiatorType){var t=e.decodedBodySize/1e3;h.value[e.initiatorType]+=t,h.value.total+=t}}))},Ne=function(){!function(e,t){xe((function(e){!function(e){if(e.entries.length){var t=e.entries[0],n=t.activationStart||0,r=Math.max(t.domainLookupStart-n,0),i=Math.max(t.connectStart-n,0),a=Math.max(t.requestStart-n,0);e.attribution={waitingTime:r,dnsTime:i-r,connectionTime:a-i,requestTime:e.value-a,navigationEntry:t}}else e.attribution={waitingTime:0,dnsTime:0,connectionTime:0,requestTime:0}}(e),function(e){e.value>0&&q(e)}(e)}),t)}(0,a.reportOptions.ttfb),function(e,t){!function(e,t){t=t||{},ee((function(){var e,n=[.1,.25],r=J("CLS"),i=-1,a=0,o=[],s=function(e){i>-1&&function(e){!function(e){if(e.entries.length){var t=e.entries.reduce((function(e,t){return e&&e.value>t.value?e:t}));if(t&&t.sources&&t.sources.length){var n=(r=t.sources).find((function(e){return e.node&&1===e.node.nodeType}))||r[0];if(n)return void(e.attribution={largestShiftTarget:$(n.node),largestShiftTime:t.startTime,largestShiftValue:t.value,largestShiftSource:n,largestShiftEntry:t,loadState:z(t.startTime)})}}var r;e.attribution={}}(e),function(e){q(e)}(e)}(e)},c=function(t){t.forEach((function(t){if(!t.hadRecentInput){var n=o[0],i=o[o.length-1];a&&t.startTime-i.startTime<1e3&&t.startTime-n.startTime<5e3?(a+=t.value,o.push(t)):(a=t.value,o=[t]),a>r.value&&(r.value=a,r.entries=o,e())}}))},u=X("layout-shift",c);u&&(e=Z(s,r,n,t.reportAllChanges),se((function(t){i=t.value,r.value<0&&(r.value=0,e())})),G((function(){c(u.takeRecords()),e(!0)})),H((function(){a=0,i=-1,r=J("CLS",0),e=Z(s,r,n,t.reportAllChanges),Y((function(){return e()}))})))}))}(0,t)}(0,a.reportOptions.cls),function(e,t){se((function(e){!function(e){if(e.entries.length){var t=F(),n=e.entries[e.entries.length-1];if(t){var r=t.activationStart||0,i=Math.max(0,t.responseStart-r);return void(e.attribution={timeToFirstByte:i,firstByteToFCP:e.value-i,loadState:z(e.entries[0].startTime),navigationEntry:t,fcpEntry:n})}}e.attribution={timeToFirstByte:0,firstByteToFCP:e.value,loadState:z(W())}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.fcp),function(e,t){!function(e,t){t=t||{},ee((function(){var n,r=[100,300],i=oe(),a=J("FID"),o=function(e){e.startTime<i.firstHiddenTime&&(a.value=e.processingStart-e.startTime,a.entries.push(e),n(!0))},s=function(e){e.forEach(o)},c=X("first-input",s);n=Z(e,a,r,t.reportAllChanges),c&&G((function(){s(c.takeRecords()),c.disconnect()}),!0),c&&H((function(){var i;a=J("FID"),n=Z(e,a,r,t.reportAllChanges),C=[],M=-1,P=null,me(addEventListener),i=o,C.push(i),de()}))}))}((function(e){!function(e){var t=e.entries[0];e.attribution={eventTarget:$(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:z(t.startTime)}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.fid),function(e,t){!function(e,t){t=t||{},ee((function(){var n,r=[2500,4e3],i=oe(),a=J("LCP"),o=function(e){var t=e[e.length-1];if(t){var r=Math.max(t.startTime-V(),0);r<i.firstHiddenTime&&(a.value=r,a.entries=[t],n())}},s=X("largest-contentful-paint",o);if(s){n=Z(e,a,r,t.reportAllChanges);var c=function(){Se[a.id]||(o(s.takeRecords()),s.disconnect(),Se[a.id]=!0,n(!0))};["keydown","click"].forEach((function(e){addEventListener(e,c,{once:!0,capture:!0})})),G(c,!0),H((function(i){a=J("LCP"),n=Z(e,a,r,t.reportAllChanges),Y((function(){a.value=performance.now()-i.timeStamp,Se[a.id]=!0,n(!0)}))}))}}))}((function(e){!function(e){if(e.entries.length){var t=F();if(t){var n=t.activationStart||0,r=e.entries[e.entries.length-1],i=r.url&&performance.getEntriesByType("resource").filter((function(e){return e.name===r.url}))[0],a=Math.max(0,t.responseStart-n),o=Math.max(a,i?(i.requestStart||i.startTime)-n:0),s=Math.max(o,i?i.responseEnd-n:0),c=Math.max(s,r?r.startTime-n:0),u={element:$(r.element),timeToFirstByte:a,resourceLoadDelay:o-a,resourceLoadTime:s-o,elementRenderDelay:c-s,navigationEntry:t,lcpEntry:r};return r.url&&(u.url=r.url),i&&(u.lcpResourceEntry=i),void(e.attribution=u)}}e.attribution={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadTime:0,elementRenderDelay:e.value}}(e),function(e){q(e)}(e)}),t)}(0,a.reportOptions.lcp),function(e,t){!function(e,t){t=t||{},ee((function(){var n=[200,500];"interactionCount"in performance||D||(D=X("event",be,{type:"event",buffered:!0,durationThreshold:0}));var r,i=J("INP"),a=function(e){e.forEach((function(e){e.interactionId&&_e(e),"first-input"===e.entryType&&!Te.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&_e(e)}));var t,n=(t=Math.min(Te.length-1,Math.floor(ye()/50)),Te[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},o=X("event",a,{durationThreshold:t.durationThreshold||40});r=Z(e,i,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),G((function(){a(o.takeRecords()),i.value<0&&ye()>0&&(i.value=0,i.entries=[]),r(!0)})),H((function(){Te=[],we=he(),i=J("INP"),r=Z(e,i,n,t.reportAllChanges)})))}))}((function(t){!function(e){if(e.entries.length){var t=e.entries.sort((function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)}))[0];e.attribution={eventTarget:$(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:z(t.startTime)}}else e.attribution={}}(t),e(t)}),t)}((function(e){return q(e)}),a.reportOptions.inp),a.isResourceTiming&&S("resource",je),a.isElementTiming&&S("element",Oe)},Ie=function(e){var t="usageDetails"in e?e.usageDetails:{};R("storageEstimate",{quota:j(e.quota),usage:j(e.usage),caches:j(t.caches),indexedDB:j(t.indexedDB),serviceWorker:j(t.serviceWorkerRegistrations)})},Pe={finalMarkToStepsMap:{},startMarkToStepsMap:{},active:{},navigationSteps:{}},Me=function(e){delete Pe.active[e]},Be=function(){return Pe.navigationSteps},Ce=function(e){var t;return null!==(t=Be()[e])&&void 0!==t?t:{}},De=function(e,t,n){var r="step."+e,i=u.getEntriesByName(p+t).length>0;if(u.getEntriesByName(p+n).length>0&&a.steps){var o=A[a.steps[e].threshold],s=o.maxOutlierThreshold,c=o.vitalsThresholds;if(i){var l=u.measure(r,p+t,p+n),d=l.duration;if(d<=s){var m=function(e,t){return e<=t[0]?"good":e<=t[1]?"needsImprovement":"poor"}(d,c);d>=0&&(N("userJourneyStep",d,m,{stepName:e},void 0),u.measure("step.".concat(e,"_vitals_").concat(m),{start:l.startTime+l.duration,end:l.startTime+l.duration,detail:{type:"stepVital",duration:d}}))}}}},Ae=function(){var e=Be(),t=Pe.startMarkToStepsMap,n=Object.keys(e).length;if(0===n)return{};var r={},i=n-1,a=Ce(i);if(Object.keys(a).forEach((function(e){var n,i=null!==(n=t[e])&&void 0!==n?n:[];Object.keys(i).forEach((function(e){r[e]=!0}))})),n>1){var o=Ce(i-1);Object.keys(o).forEach((function(e){var n,i=null!==(n=t[e])&&void 0!==n?n:[];Object.keys(i).forEach((function(e){r[e]=!0}))}))}return r},Le=function(){var e,t=Object.keys(Pe.navigationSteps).length;Pe.navigationSteps[t]={};var n=Ae();null===(e=a.onMarkStep)||void 0===e||e.call(a,"",Object.keys(n))},Ue=function(e){var t,n,r,i,o,s,c;if(Pe.finalMarkToStepsMap[e]){!function(e){var t=Pe.navigationSteps,n=Pe.finalMarkToStepsMap,r=Object.keys(t).length;if(0!==r){var i=r-1,a=Ce(i);if(a&&n[e]){var o=n[e];o&&Object.keys(o).forEach((function(e){if(a[e]){var n=Ce(i)||{};n[e]=!1,t[i]=n}if(r>1){var o=i-1,s=Ce(o);s[e]&&(s[e]=!1,t[o]=s)}}))}}}(e);var u=Pe.finalMarkToStepsMap[e];Object.keys(u).forEach((function(t){var n=u[t];n.forEach(Me),Promise.all(n.map((function(n){return function(e,t,n,r){return new(n||(n=Promise))((function(e,t){function i(e){try{o(r.next(e))}catch(e){t(e)}}function a(e){try{o(r.throw(e))}catch(e){t(e)}}function o(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(i,a)}o((r=r.apply(undefined,[])).next())}))}(0,0,void 0,(function(){return function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,(function(r){switch(r.label){case 0:return[4,De(n,t,e)];case 1:return r.sent(),[2]}}))}))}))).catch((function(){}))}))}else r=e,i=Pe.navigationSteps,o=Object.keys(i).length,(c=Ce(s=(o>0?o:1)-1)||[])[r]=!0,i[s]=c,function(e){var t,n=null!==(t=Pe.startMarkToStepsMap[e])&&void 0!==t?t:[];Object.keys(n).forEach((function(e){Pe.active[e]||(Pe.active[e]=!0)}))}(e);if(a.enableNavigationTracking){var l=Ae();null===(t=a.onMarkStep)||void 0===t||t.call(a,e,Object.keys(l))}else null===(n=a.onMarkStep)||void 0===n||n.call(a,e,Object.keys(Pe.active))},Re=function(e){u.mark(p+e),Ue(e)},qe=function(e){0===u.getEntriesByName(p+e).length&&(u.mark(p+e),Ue(e))},Fe=0,ze=function(){function e(e){if(void 0===e&&(e={}),this.v="9.0.0-rc.3",a.analyticsTracker=e.analyticsTracker,a.isResourceTiming=!!e.resourceTiming,a.isElementTiming=!!e.elementTiming,a.maxTime=e.maxMeasureTime||a.maxTime,a.reportOptions=e.reportOptions||a.reportOptions,a.steps=e.steps,a.onMarkStep=e.onMarkStep,a.enableNavigationTracking=e.enableNavigationTracking,m()){"PerformanceObserver"in o&&Ne(),void 0!==document.hidden&&document.addEventListener("visibilitychange",_);var t=function(){if(!m())return{};var e=u.getEntriesByType("navigation")[0];if(!e)return{};var t=e.responseStart,n=e.responseEnd;return{fetchTime:n-e.fetchStart,workerTime:e.workerStart>0?n-e.workerStart:0,totalTime:n-e.requestStart,downloadTime:n-t,timeToFirstByte:t-e.requestStart,headerSize:e.transferSize-e.encodedBodySize||0,dnsLookupTime:e.domainLookupEnd-e.domainLookupStart,redirectTime:e.redirectEnd-e.redirectStart}}();R("navigationTiming",t),t.redirectTime&&q({attribution:{},name:"RT",rating:U("RT",t.redirectTime),value:t.redirectTime}),R("networkInformation",function(){if("connection"in c){var e=c.connection;return"object"!=typeof e?{}:(f=e.effectiveType,v=!!e.saveData,{downlink:e.downlink,effectiveType:e.effectiveType,rtt:e.rtt,saveData:!!e.saveData})}return{}}()),c&&c.storage&&"function"==typeof c.storage.estimate&&c.storage.estimate().then(Ie),a.steps&&a.steps&&(Pe.startMarkToStepsMap={},Pe.finalMarkToStepsMap={},Pe.active={},Pe.navigationSteps={},Object.entries(a.steps).forEach((function(e){var t,n,r=e[0],i=e[1].marks,a=i[0],o=i[1],s=null!==(n=Pe.startMarkToStepsMap[a])&&void 0!==n?n:{};if(s[r]=!0,Pe.startMarkToStepsMap[a]=s,Pe.finalMarkToStepsMap[o]){var c=Pe.finalMarkToStepsMap[o][a]||[];c.push(r),Pe.finalMarkToStepsMap[o][a]=c}else Pe.finalMarkToStepsMap[o]=((t={})[a]=[r],t)})))}}return e.prototype.start=function(e){m()&&!g[e]&&(g[e]=!0,u.mark("mark_".concat(e,"_start")))},e.prototype.end=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!0),m()&&g[e]){u.mark("mark_".concat(e,"_end")),delete g[e];var r=function(e){u.measure(e,"mark_".concat(e,"_start"),"mark_".concat(e,"_end"));var t=u.getEntriesByName(e).pop();return t&&"measure"===t.entryType?t.duration:-1}(e);n&&R(e,O(r),t)}},e.prototype.endPaint=function(e,t){var n=this;setTimeout((function(){n.end(e,t)}))},e.prototype.clear=function(e){delete g[e],u.clearMarks&&(u.clearMarks("mark_".concat(e,"_start")),u.clearMarks("mark_".concat(e,"_end")))},e.prototype.markNTBT=function(){var e=this;this.start("ntbt"),y.value=0,clearTimeout(Fe),Fe=setTimeout((function(){e.end("ntbt",{},!1),q({attribution:{},name:"NTBT",rating:U("NTBT",y.value),value:y.value}),y.value=0}),2e3)},e}()},426:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.iterator;var n={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},r=Object.assign,i={};function a(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||n}function o(){}function s(e,t,r){this.props=e,this.context=t,this.refs=i,this.updater=r||n}a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=a.prototype;var c=s.prototype=new o;c.constructor=s,r(c,a.prototype),c.isPureReactComponent=!0;Array.isArray,Object.prototype.hasOwnProperty;var u={current:null};t.useCallback=function(e,t){return u.current.useCallback(e,t)},t.useEffect=function(e,t){return u.current.useEffect(e,t)},t.useRef=function(e){return u.current.useRef(e)}},784:(e,t,n)=>{"use strict";e.exports=n(426)},353:function(e,t,n){var r;!function(i,a){"use strict";var o="function",s="undefined",c="object",u="string",l="major",d="model",p="name",m="type",f="vendor",v="version",g="architecture",b="console",h="mobile",w="tablet",y="smarttv",T="wearable",k="embedded",_="Amazon",S="Apple",E="ASUS",x="BlackBerry",O="Browser",j="Chrome",N="Firefox",I="Google",P="Huawei",M="LG",B="Microsoft",C="Motorola",D="Opera",A="Samsung",L="Sharp",U="Sony",R="Xiaomi",q="Zebra",F="Facebook",z="Chromium OS",K="Mac OS",$=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},Q=function(e,t){return typeof e===u&&-1!==W(t).indexOf(W(e))},W=function(e){return e.toLowerCase()},H=function(e,t){if(typeof e===u)return e=e.replace(/^\\s\\s*/,""),typeof t===s?e:e.substring(0,350)},V=function(e,t){for(var n,r,i,s,u,l,d=0;d<t.length&&!u;){var p=t[d],m=t[d+1];for(n=r=0;n<p.length&&!u&&p[n];)if(u=p[n++].exec(e))for(i=0;i<m.length;i++)l=u[++r],typeof(s=m[i])===c&&s.length>0?2===s.length?typeof s[1]==o?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3===s.length?typeof s[1]!==o||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):a:this[s[0]]=l?s[1].call(this,l,s[2]):a:4===s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):a):this[s]=l||a;d+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(Q(t[n][r],e))return"?"===n?a:n}else if(Q(t[n],e))return"?"===n?a:n;return e},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},G={browser:[[/\\b(?:crmo|crios)\\/([\\w\\.]+)/i],[v,[p,"Chrome"]],[/edg(?:e|ios|a)?\\/([\\w\\.]+)/i],[v,[p,"Edge"]],[/(opera mini)\\/([-\\w\\.]+)/i,/(opera [mobiletab]{3,6})\\b.+version\\/([-\\w\\.]+)/i,/(opera)(?:.+version\\/|[\\/ ]+)([\\w\\.]+)/i],[p,v],[/opios[\\/ ]+([\\w\\.]+)/i],[v,[p,D+" Mini"]],[/\\bopr\\/([\\w\\.]+)/i],[v,[p,D]],[/(kindle)\\/([\\w\\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\\/ ]?([\\w\\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\\/ ]?([\\w\\.]*)/i,/(ba?idubrowser)[\\/ ]?([\\w\\.]+)/i,/(?:ms|\\()(ie) ([\\w\\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\\/([-\\w\\.]+)/i,/(heytap|ovi)browser\\/([\\d\\.]+)/i,/(weibo)__([\\d\\.]+)/i],[p,v],[/(?:\\buc? ?browser|(?:juc.+)ucweb)[\\/ ]?([\\w\\.]+)/i],[v,[p,"UC"+O]],[/microm.+\\bqbcore\\/([\\w\\.]+)/i,/\\bqbcore\\/([\\w\\.]+).+microm/i],[v,[p,"WeChat(Win) Desktop"]],[/micromessenger\\/([\\w\\.]+)/i],[v,[p,"WeChat"]],[/konqueror\\/([\\w\\.]+)/i],[v,[p,"Konqueror"]],[/trident.+rv[: ]([\\w\\.]{1,9})\\b.+like gecko/i],[v,[p,"IE"]],[/ya(?:search)?browser\\/([\\w\\.]+)/i],[v,[p,"Yandex"]],[/(avast|avg)\\/([\\w\\.]+)/i],[[p,/(.+)/,"$1 Secure "+O],v],[/\\bfocus\\/([\\w\\.]+)/i],[v,[p,N+" Focus"]],[/\\bopt\\/([\\w\\.]+)/i],[v,[p,D+" Touch"]],[/coc_coc\\w+\\/([\\w\\.]+)/i],[v,[p,"Coc Coc"]],[/dolfin\\/([\\w\\.]+)/i],[v,[p,"Dolphin"]],[/coast\\/([\\w\\.]+)/i],[v,[p,D+" Coast"]],[/miuibrowser\\/([\\w\\.]+)/i],[v,[p,"MIUI "+O]],[/fxios\\/([-\\w\\.]+)/i],[v,[p,N]],[/\\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+O]],[/(oculus|samsung|sailfish|huawei)browser\\/([\\w\\.]+)/i],[[p,/(.+)/,"$1 "+O],v],[/(comodo_dragon)\\/([\\w\\.]+)/i],[[p,/_/g," "],v],[/(electron)\\/([\\w\\.]+) safari/i,/(tesla)(?: qtcarbrowser|\\/(20\\d\\d\\.[-\\w\\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\\/ ]?([\\w\\.]+)/i],[p,v],[/(metasr)[\\/ ]?([\\w\\.]+)/i,/(lbbrowser)/i,/\\[(linkedin)app\\]/i],[p],[/((?:fban\\/fbios|fb_iab\\/fb4a)(?!.+fbav)|;fbav\\/([\\w\\.]+);)/i],[[p,F],v],[/(kakao(?:talk|story))[\\/ ]([\\w\\.]+)/i,/(naver)\\(.*?(\\d+\\.[\\w\\.]+).*\\)/i,/safari (line)\\/([\\w\\.]+)/i,/\\b(line)\\/([\\w\\.]+)\\/iab/i,/(chromium|instagram)[\\/ ]([-\\w\\.]+)/i],[p,v],[/\\bgsa\\/([\\w\\.]+) .*safari\\//i],[v,[p,"GSA"]],[/musical_ly(?:.+app_?version\\/|_)([\\w\\.]+)/i],[v,[p,"TikTok"]],[/headlesschrome(?:\\/([\\w\\.]+)| )/i],[v,[p,j+" Headless"]],[/ wv\\).+(chrome)\\/([\\w\\.]+)/i],[[p,j+" WebView"],v],[/droid.+ version\\/([\\w\\.]+)\\b.+(?:mobile safari|safari)/i],[v,[p,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\/v?([\\w\\.]+)/i],[p,v],[/version\\/([\\w\\.\\,]+) .*mobile\\/\\w+ (safari)/i],[v,[p,"Mobile Safari"]],[/version\\/([\\w(\\.|\\,)]+) .*(mobile ?safari|safari)/i],[v,p],[/webkit.+?(mobile ?safari|safari)(\\/[\\w\\.]+)/i],[p,[v,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\\/([\\w\\.]+)/i],[p,v],[/(navigator|netscape\\d?)\\/([-\\w\\.]+)/i],[[p,"Netscape"],v],[/mobile vr; rv:([\\w\\.]+)\\).+firefox/i],[v,[p,N+" Reality"]],[/ekiohf.+(flow)\\/([\\w\\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\/ ]?([\\w\\.\\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\/([-\\w\\.]+)$/i,/(firefox)\\/([\\w\\.]+)/i,/(mozilla)\\/([\\w\\.]+) .+rv\\:.+gecko\\/\\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\. ]?browser)[-\\/ ]?v?([\\w\\.]+)/i,/(links) \\(([\\w\\.]+)/i,/panasonic;(viera)/i],[p,v],[/(cobalt)\\/([\\w\\.]+)/i],[p,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\)]/i],[[g,"amd64"]],[/(ia32(?=;))/i],[[g,W]],[/((?:i[346]|x)86)[;\\)]/i],[[g,"ia32"]],[/\\b(aarch64|arm(v?8e?l?|_?64))\\b/i],[[g,"arm64"]],[/\\b(arm(?:v[67])?ht?n?[fl]p?)\\b/i],[[g,"armhf"]],[/windows (ce|mobile); ppc;/i],[[g,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\\))/i],[[g,/ower/,"",W]],[/(sun4\\w)[;\\)]/i],[[g,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\\))|\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\b|pa-risc)/i],[[g,W]]],device:[[/\\b(sch-i[89]0\\d|shw-m380s|sm-[ptx]\\w{2,4}|gt-[pn]\\d{2,4}|sgh-t8[56]9|nexus 10)/i],[d,[f,A],[m,w]],[/\\b((?:s[cgp]h|gt|sm)-\\w+|sc[g-]?[\\d]+a?|galaxy nexus)/i,/samsung[- ]([-\\w]+)/i,/sec-(sgh\\w+)/i],[d,[f,A],[m,h]],[/(?:\\/|\\()(ip(?:hone|od)[\\w, ]*)(?:\\/|;)/i],[d,[f,S],[m,h]],[/\\((ipad);[-\\w\\),; ]+apple/i,/applecoremedia\\/[\\w\\.]+ \\((ipad)/i,/\\b(ipad)\\d\\d?,\\d\\d?[;\\]].+ios/i],[d,[f,S],[m,w]],[/(macintosh);/i],[d,[f,S]],[/\\b(sh-?[altvz]?\\d\\d[a-ekm]?)/i],[d,[f,L],[m,h]],[/\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\d{2})\\b(?!.+d\\/s)/i],[d,[f,P],[m,w]],[/(?:huawei|honor)([-\\w ]+)[;\\)]/i,/\\b(nexus 6p|\\w{2,4}e?-[atu]?[ln][\\dx][012359c][adn]?)\\b(?!.+d\\/s)/i],[d,[f,P],[m,h]],[/\\b(poco[\\w ]+)(?: bui|\\))/i,/\\b; (\\w+) build\\/hm\\1/i,/\\b(hm[-_ ]?note?[_ ]?(?:\\d\\w)?) bui/i,/\\b(redmi[\\-_ ]?(?:note|k)?[\\w_ ]+)(?: bui|\\))/i,/\\b(mi[-_ ]?(?:a\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\d?\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\))/i],[[d,/_/g," "],[f,R],[m,h]],[/\\b(mi[-_ ]?(?:pad)(?:[\\w_ ]+))(?: bui|\\))/i],[[d,/_/g," "],[f,R],[m,w]],[/; (\\w+) bui.+ oppo/i,/\\b(cph[12]\\d{3}|p(?:af|c[al]|d\\w|e[ar])[mt]\\d0|x9007|a101op)\\b/i],[d,[f,"OPPO"],[m,h]],[/vivo (\\w+)(?: bui|\\))/i,/\\b(v[12]\\d{3}\\w?[at])(?: bui|;)/i],[d,[f,"Vivo"],[m,h]],[/\\b(rmx[12]\\d{3})(?: bui|;|\\))/i],[d,[f,"Realme"],[m,h]],[/\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\b[\\w ]+build\\//i,/\\bmot(?:orola)?[- ](\\w*)/i,/((?:moto[\\w\\(\\) ]+|xt\\d{3,4}|nexus 6)(?= bui|\\)))/i],[d,[f,C],[m,h]],[/\\b(mz60\\d|xoom[2 ]{0,2}) build\\//i],[d,[f,C],[m,w]],[/((?=lg)?[vl]k\\-?\\d{3}) bui| 3\\.[-\\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[f,M],[m,w]],[/(lm(?:-?f100[nv]?|-[\\w\\.]+)(?= bui|\\))|nexus [45])/i,/\\blg[-e;\\/ ]+((?!browser|netcast|android tv)\\w+)/i,/\\blg-?([\\d\\w]+) bui/i],[d,[f,M],[m,h]],[/(ideatab[-\\w ]+)/i,/lenovo ?(s[56]000[-\\w]+|tab(?:[\\w ]+)|yt[-\\d\\w]{6}|tb[-\\d\\w]{6})/i],[d,[f,"Lenovo"],[m,w]],[/(?:maemo|nokia).*(n900|lumia \\d+)/i,/nokia[-_ ]?([-\\w\\.]*)/i],[[d,/_/g," "],[f,"Nokia"],[m,h]],[/(pixel c)\\b/i],[d,[f,I],[m,w]],[/droid.+; (pixel[\\daxl ]{0,6})(?: bui|\\))/i],[d,[f,I],[m,h]],[/droid.+ (a?\\d[0-2]{2}so|[c-g]\\d{4}|so[-gl]\\w+|xq-a\\w[4-7][12])(?= bui|\\).+chrome\\/(?![1-6]{0,1}\\d\\.))/i],[d,[f,U],[m,h]],[/sony tablet [ps]/i,/\\b(?:sony)?sgp\\w+(?: bui|\\))/i],[[d,"Xperia Tablet"],[f,U],[m,w]],[/ (kb2005|in20[12]5|be20[12][59])\\b/i,/(?:one)?(?:plus)? (a\\d0\\d\\d)(?: b|\\))/i],[d,[f,"OnePlus"],[m,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\))/i,/(kf[a-z]+)( bui|\\)).+silk\\//i],[d,[f,_],[m,w]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\\)).+silk\\//i],[[d,/(.+)/g,"Fire Phone $1"],[f,_],[m,h]],[/(playbook);[-\\w\\),; ]+(rim)/i],[d,f,[m,w]],[/\\b((?:bb[a-f]|st[hv])100-\\d)/i,/\\(bb10; (\\w+)/i],[d,[f,x],[m,h]],[/(?:\\b|asus_)(transfo[prime ]{4,10} \\w+|eeepc|slider \\w+|nexus 7|padfone|p00[cj])/i],[d,[f,E],[m,w]],[/ (z[bes]6[027][012][km][ls]|zenfone \\d\\w?)\\b/i],[d,[f,E],[m,h]],[/(nexus 9)/i],[d,[f,"HTC"],[m,w]],[/(htc)[-;_ ]{1,2}([\\w ]+(?=\\)| bui)|\\w+)/i,/(zte)[- ]([\\w ]+?)(?: bui|\\/|\\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\.))|sony(?!-bra))[-_ ]?([-\\w]*)/i],[f,[d,/_/g," "],[m,h]],[/droid.+; ([ab][1-7]-?[0178a]\\d\\d?)/i],[d,[f,"Acer"],[m,w]],[/droid.+; (m[1-5] note) bui/i,/\\bmz-([-\\w]{2,})/i],[d,[f,"Meizu"],[m,h]],[/(blackberry|benq|palm(?=\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\w]*)/i,/(hp) ([\\w ]+\\w)/i,/(asus)-?(\\w+)/i,/(microsoft); (lumia[\\w ]+)/i,/(lenovo)[-_ ]?([-\\w]+)/i,/(jolla)/i,/(oppo) ?([\\w ]+) bui/i],[f,d,[m,h]],[/(kobo)\\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\\/([\\w\\.]+)/i,/(nook)[\\w ]+build\\/(\\w+)/i,/(dell) (strea[kpr\\d ]*[\\dko])/i,/(le[- ]+pan)[- ]+(\\w{1,9}) bui/i,/(trinity)[- ]*(t\\d{3}) bui/i,/(gigaset)[- ]+(q\\w{1,9}) bui/i,/(vodafone) ([\\w ]+)(?:\\)| bui)/i],[f,d,[m,w]],[/(surface duo)/i],[d,[f,B],[m,w]],[/droid [\\d\\.]+; (fp\\du?)(?: b|\\))/i],[d,[f,"Fairphone"],[m,h]],[/(u304aa)/i],[d,[f,"AT&T"],[m,h]],[/\\bsie-(\\w*)/i],[d,[f,"Siemens"],[m,h]],[/\\b(rct\\w+) b/i],[d,[f,"RCA"],[m,w]],[/\\b(venue[\\d ]{2,7}) b/i],[d,[f,"Dell"],[m,w]],[/\\b(q(?:mv|ta)\\w+) b/i],[d,[f,"Verizon"],[m,w]],[/\\b(?:barnes[& ]+noble |bn[rt])([\\w\\+ ]*) b/i],[d,[f,"Barnes & Noble"],[m,w]],[/\\b(tm\\d{3}\\w+) b/i],[d,[f,"NuVision"],[m,w]],[/\\b(k88) b/i],[d,[f,"ZTE"],[m,w]],[/\\b(nx\\d{3}j) b/i],[d,[f,"ZTE"],[m,h]],[/\\b(gen\\d{3}) b.+49h/i],[d,[f,"Swiss"],[m,h]],[/\\b(zur\\d{3}) b/i],[d,[f,"Swiss"],[m,w]],[/\\b((zeki)?tb.*\\b) b/i],[d,[f,"Zeki"],[m,w]],[/\\b([yr]\\d{2}) b/i,/\\b(dragon[- ]+touch |dt)(\\w{5}) b/i],[[f,"Dragon Touch"],d,[m,w]],[/\\b(ns-?\\w{0,9}) b/i],[d,[f,"Insignia"],[m,w]],[/\\b((nxa|next)-?\\w{0,9}) b/i],[d,[f,"NextBook"],[m,w]],[/\\b(xtreme\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],d,[m,h]],[/\\b(lvtel\\-)?(v1[12]) b/i],[[f,"LvTel"],d,[m,h]],[/\\b(ph-1) /i],[d,[f,"Essential"],[m,h]],[/\\b(v(100md|700na|7011|917g).*\\b) b/i],[d,[f,"Envizen"],[m,w]],[/\\b(trio[-\\w\\. ]+) b/i],[d,[f,"MachSpeed"],[m,w]],[/\\btu_(1491) b/i],[d,[f,"Rotor"],[m,w]],[/(shield[\\w ]+) b/i],[d,[f,"Nvidia"],[m,w]],[/(sprint) (\\w+)/i],[f,d,[m,h]],[/(kin\\.[onetw]{3})/i],[[d,/\\./g," "],[f,B],[m,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\)/i],[d,[f,q],[m,w]],[/droid.+; (ec30|ps20|tc[2-8]\\d[kx])\\)/i],[d,[f,q],[m,h]],[/smart-tv.+(samsung)/i],[f,[m,y]],[/hbbtv.+maple;(\\d+)/i],[[d,/^/,"SmartTV"],[f,A],[m,y]],[/(nux; netcast.+smarttv|lg (netcast\\.tv-201\\d|android tv))/i],[[f,M],[m,y]],[/(apple) ?tv/i],[f,[d,S+" TV"],[m,y]],[/crkey/i],[[d,j+"cast"],[f,I],[m,y]],[/droid.+aft(\\w)( bui|\\))/i],[d,[f,_],[m,y]],[/\\(dtv[\\);].+(aquos)/i,/(aquos-tv[\\w ]+)\\)/i],[d,[f,L],[m,y]],[/(bravia[\\w ]+)( bui|\\))/i],[d,[f,U],[m,y]],[/(mitv-\\w{5}) bui/i],[d,[f,R],[m,y]],[/Hbbtv.*(technisat) (.*);/i],[f,d,[m,y]],[/\\b(roku)[\\dx]*[\\)\\/]((?:dvp-)?[\\d\\.]*)/i,/hbbtv\\/\\d+\\.\\d+\\.\\d+ +\\([\\w\\+ ]*; *([\\w\\d][^;]*);([^;]*)/i],[[f,H],[d,H],[m,y]],[/\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\b/i],[[m,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,d,[m,b]],[/droid.+; (shield) bui/i],[d,[f,"Nvidia"],[m,b]],[/(playstation [345portablevi]+)/i],[d,[f,U],[m,b]],[/\\b(xbox(?: one)?(?!; xbox))[\\); ]/i],[d,[f,B],[m,b]],[/((pebble))app/i],[f,d,[m,T]],[/(watch)(?: ?os[,\\/]|\\d,\\d\\/)[\\d\\.]+/i],[d,[f,S],[m,T]],[/droid.+; (glass) \\d/i],[d,[f,I],[m,T]],[/droid.+; (wt63?0{2,3})\\)/i],[d,[f,q],[m,T]],[/(quest( 2| pro)?)/i],[d,[f,F],[m,T]],[/(tesla)(?: qtcarbrowser|\\/[-\\w\\.]+)/i],[f,[m,k]],[/(aeobc)\\b/i],[d,[f,_],[m,k]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+? mobile safari/i],[d,[m,h]],[/droid .+?; ([^;]+?)(?: bui|\\) applew).+?(?! mobile) safari/i],[d,[m,w]],[/\\b((tablet|tab)[;\\/]|focus\\/\\d(?!.+mobile))/i],[[m,w]],[/(phone|mobile(?:[;\\/]| [ \\w\\/\\.]*safari)|pda(?=.+windows ce))/i],[[m,h]],[/(android[-\\w\\. ]{0,9});.+buil/i],[d,[f,"Generic"]]],engine:[[/windows.+ edge\\/([\\w\\.]+)/i],[v,[p,"EdgeHTML"]],[/webkit\\/537\\.36.+chrome\\/(?!27)([\\w\\.]+)/i],[v,[p,"Blink"]],[/(presto)\\/([\\w\\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\/([\\w\\.]+)/i,/ekioh(flow)\\/([\\w\\.]+)/i,/(khtml|tasman|links)[\\/ ]\\(?([\\w\\.]+)/i,/(icab)[\\/ ]([23]\\.[\\d\\.]+)/i,/\\b(libweb)/i],[p,v],[/rv\\:([\\w\\.]{1,9})\\b.+(gecko)/i],[v,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,v],[/(windows) nt 6\\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\\/ ]?([\\d\\.\\w ]*)/i,/(windows)[\\/ ]?([ntce\\d\\. ]+\\w)(?!.+xbox)/i],[p,[v,J,X]],[/(win(?=3|9|n)|win 9x )([nt\\d\\.]+)/i],[[p,"Windows"],[v,J,X]],[/ip[honead]{2,4}\\b(?:.*os ([\\w]+) like mac|; opera)/i,/ios;fbsv\\/([\\d\\.]+)/i,/cfnetwork\\/.+darwin/i],[[v,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\\w\\. ]*)/i,/(macintosh|mac_powerpc\\b)(?!.+haiku)/i],[[p,K],[v,/_/g,"."]],[/droid ([\\w\\.]+)\\b.+(android[- ]x86|harmonyos)/i],[v,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\/ ]?([\\w\\.]*)/i,/(blackberry)\\w*\\/([\\w\\.]*)/i,/(tizen|kaios)[\\/ ]([\\w\\.]+)/i,/\\((series40);/i],[p,v],[/\\(bb(10);/i],[v,[p,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\\/ ]?([\\w\\.]*)/i],[v,[p,"Symbian"]],[/mozilla\\/[\\d\\.]+ \\((?:mobile|tablet|tv|mobile; [\\w ]+); rv:.+ gecko\\/([\\w\\.]+)/i],[v,[p,N+" OS"]],[/web0s;.+rt(tv)/i,/\\b(?:hp)?wos(?:browser)?\\/([\\w\\.]+)/i],[v,[p,"webOS"]],[/watch(?: ?os[,\\/]|\\d,\\d\\/)([\\d\\.]+)/i],[v,[p,"watchOS"]],[/crkey\\/([\\d\\.]+)/i],[v,[p,j+"cast"]],[/(cros) [\\w]+(?:\\)| ([\\w\\.]+)\\b)/i],[[p,z],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\\/(\\d+\\.[\\w\\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\\);]+)/i,/\\b(joli|palm)\\b ?(?:os)?\\/?([\\w\\.]*)/i,/(mint)[\\/\\(\\) ]?(\\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\/ ]?(?!chrom|package)([-\\w\\.]*)/i,/(hurd|linux) ?([\\w\\.]*)/i,/(gnu) ?([\\w\\.]*)/i,/\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\/ ]?(?!amd|[ix346]{1,2}86)([\\w\\.]*)/i,/(haiku) (\\w+)/i],[p,v],[/(sunos) ?([\\w\\.\\d]*)/i],[[p,"Solaris"],v],[/((?:open)?solaris)[-\\/ ]?([\\w\\.]*)/i,/(aix) ((\\d)(?=\\.|\\)| )[\\w\\.])*/i,/\\b(beos|os\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\\w\\.]*)/i],[p,v]]},Z=function(e,t){if(typeof e===c&&(t=e,e=a),!(this instanceof Z))return new Z(e,t).getResult();var n=typeof i!==s&&i.navigator?i.navigator:a,r=e||(n&&n.userAgent?n.userAgent:""),b=n&&n.userAgentData?n.userAgentData:a,y=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(G,t):G,T=n&&n.userAgent==r;return this.getBrowser=function(){var e,t={};return t[p]=a,t[v]=a,V.call(t,r,y.browser),t[l]=typeof(e=t[v])===u?e.replace(/[^\\d\\.]/g,"").split(".")[0]:a,T&&n&&n.brave&&typeof n.brave.isBrave==o&&(t[p]="Brave"),t},this.getCPU=function(){var e={};return e[g]=a,V.call(e,r,y.cpu),e},this.getDevice=function(){var e={};return e[f]=a,e[d]=a,e[m]=a,V.call(e,r,y.device),T&&!e[m]&&b&&b.mobile&&(e[m]=h),T&&"Macintosh"==e[d]&&n&&typeof n.standalone!==s&&n.maxTouchPoints&&n.maxTouchPoints>2&&(e[d]="iPad",e[m]=w),e},this.getEngine=function(){var e={};return e[p]=a,e[v]=a,V.call(e,r,y.engine),e},this.getOS=function(){var e={};return e[p]=a,e[v]=a,V.call(e,r,y.os),T&&!e[p]&&b&&"Unknown"!=b.platform&&(e[p]=b.platform.replace(/chrome os/i,z).replace(/macos/i,K)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>350?H(e,350):e,this},this.setUA(r),this};Z.VERSION="1.0.35",Z.BROWSER=$([p,v,l]),Z.CPU=$([g]),Z.DEVICE=$([d,f,m,b,h,y,w,T,k]),Z.ENGINE=Z.OS=$([p,v]),typeof t!==s?(e.exports&&(t=e.exports=Z),t.UAParser=Z):n.amdO?(r=function(){return Z}.call(t,n,t,e))===a||(e.exports=r):typeof i!==s&&(i.UAParser=Z);var Y=typeof i!==s&&(i.jQuery||i.Zepto);if(Y&&!Y.ua){var ee=new Z;Y.ua=ee.getResult(),Y.ua.get=function(){return ee.getUA()},Y.ua.set=function(e){ee.setUA(e);var t=ee.getResult();for(var n in t)Y.ua[n]=t[n]}}}("object"==typeof window?window:this)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.r(r),n.d(r,{ActionType:()=>f,AmplitudePlatformName:()=>g,AnalyticsEventImportance:()=>l,AnalyticsQueries:()=>e,AuthStatus:()=>b,ComponentType:()=>m,IThresholdTier:()=>Jt,MetricType:()=>d,PlatformName:()=>v,SessionActions:()=>h,SessionAutomatedEvents:()=>w,SessionRank:()=>y,SubjectType:()=>p,UserTypeCommerce:()=>c,UserTypeInsto:()=>i,UserTypeRetail:()=>t,UserTypeRetailBusinessBanking:()=>s,UserTypeRetailEmployeeInternal:()=>a,UserTypeRetailEmployeePersonal:()=>o,UserTypeWallet:()=>u,automatedEvents:()=>xn,automatedMappingConfig:()=>In,clearMarkEntry:()=>Vn,clearPerformanceMarkEntries:()=>Xn,config:()=>A,createEventConfig:()=>On,createNewSpan:()=>Ln,createNewTrace:()=>Un,device:()=>W,endPerfMark:()=>Jn,exposeExperiment:()=>wn,flushQueue:()=>or,generateUUID:()=>V,getAnalyticsHeaders:()=>sr,getReferrerData:()=>le,getTracingHeaders:()=>An,getTracingId:()=>Dn,getUrlHostname:()=>pe,getUrlParams:()=>me,getUrlPathname:()=>fe,getUserContext:()=>ar,identify:()=>Tn,identifyFlow:()=>xe,identity:()=>H,identityFlow:()=>Se,incrementUjNavigation:()=>an,init:()=>yn,initNextJsTrackPageview:()=>_n,initTrackPageview:()=>kn,isEventKeyFormatValid:()=>we,isSessionEnded:()=>pt,location:()=>re,logEvent:()=>$t,logMetric:()=>Ht,logPageView:()=>on,logTrace:()=>Rn,markNTBT:()=>tn,markStep:()=>nn,markStepOnce:()=>rn,onVisibilityChange:()=>ln,optIn:()=>En,optOut:()=>Sn,perfMark:()=>Wn,persistentData:()=>oe,postMessage:()=>K,recordSessionDuration:()=>pn,removeFromIdentifyFlow:()=>Ee,savePersistentData:()=>st,sendScheduledEvents:()=>Bt,setBreadcrumbs:()=>ie,setConfig:()=>U,setLocation:()=>ae,setPagePath:()=>ve,setPageview:()=>Kt,setPersistentData:()=>se,setSessionStart:()=>dt,setTime:()=>Ue,startPerfMark:()=>Hn,timeStone:()=>Le,useEventLogger:()=>Yn,useLogEventOnMount:()=>tr,usePerformanceMarks:()=>rr});let e=function(e){return e.fbclid="fbclid",e.gclid="gclid",e.msclkid="msclkid",e.ptclid="ptclid",e.ttclid="ttclid",e.utm_source="utm_source",e.utm_medium="utm_medium",e.utm_campaign="utm_campaign",e.utm_term="utm_term",e.utm_content="utm_content",e}({});const t=0,i=1,a=2,o=3,s=4,c=5,u=6;let l=function(e){return e.low="low",e.high="high",e}({}),d=function(e){return e.count="count",e.rate="rate",e.gauge="gauge",e.distribution="distribution",e.histogram="histogram",e}({}),p=function(e){return e.commerce_merchant="commerce_merchant",e.device="device",e.edp_fingerprint_id="edp_fingerprint_id",e.nft_user="nft_user",e.user="user",e.wallet_user="wallet_user",e.uuid="user_uuid",e}({}),m=function(e){return e.unknown="unknown",e.banner="banner",e.button="button",e.card="card",e.chart="chart",e.content_script="content_script",e.dropdown="dropdown",e.link="link",e.page="page",e.modal="modal",e.table="table",e.search_bar="search_bar",e.service_worker="service_worker",e.text="text",e.text_input="text_input",e.tray="tray",e.checkbox="checkbox",e.icon="icon",e}({}),f=function(e){return e.unknown="unknown",e.blur="blur",e.click="click",e.change="change",e.dismiss="dismiss",e.focus="focus",e.hover="hover",e.select="select",e.measurement="measurement",e.move="move",e.process="process",e.render="render",e.scroll="scroll",e.view="view",e.search="search",e.keyPress="keyPress",e}({}),v=function(e){return e.unknown="unknown",e.web="web",e.android="android",e.ios="ios",e.mobile_web="mobile_web",e.tablet_web="tablet_web",e.server="server",e.windows="windows",e.macos="macos",e.extension="extension",e}({}),g=function(e){return e.web="Web",e.ios="iOS",e.android="Android",e}({}),b=function(e){return e[e.notLoggedIn=0]="notLoggedIn",e[e.loggedIn=1]="loggedIn",e}({}),h=function(e){return e.ac="ac",e.af="af",e.ah="ah",e.al="al",e.am="am",e.ar="ar",e.as="as",e}({}),w=function(e){return e.pv="pv",e}({}),y=function(e){return e.xs="xs",e.s="s",e.m="m",e.l="l",e.xl="xl",e.xxl="xxl",e}({});const T="https://analytics-service-dev.cbhq.net",k=3e5,_=5e3,S="analytics-db",E="experiment-exposure-db",x="Analytics SDK:",O=Object.values(e),j="pageview",N="session_duration",I={navigationTiming:{eventName:"perf_navigation_timing"},redirectTime:{eventName:"perf_redirect_time"},RT:{eventName:"perf_redirect_time"},TTFB:{eventName:"perf_time_to_first_byte"},networkInformation:{eventName:"perf_network_information"},storageEstimate:{eventName:"perf_storage_estimate"},FCP:{eventName:"perf_first_contentful_paint"},FID:{eventName:"perf_first_input_delay"},LCP:{eventName:"perf_largest_contentful_paint"},CLS:{eventName:"perf_cumulative_layout_shift"},TBT:{eventName:"perf_total_blocking_time"},NTBT:{eventName:"perf_navigation_total_blocking_time"},INP:{eventName:"perf_interact_to_next_paint"},ET:{eventName:"perf_element_timing"},userJourneyStep:{eventName:"perf_user_journey_step"}},P="1",M="web";function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}const C=/^(https?:\\/\\/)/;function D(e){return{eventsEndpoint:e+"/amp",metricsEndPoint:e+"/metrics",exposureEndpoint:e+"/track-exposures",tracesEndpoint:e+"/traces"}}const A=B({authCookie:"logged_in",amplitudeApiKey:"",batchEventsPeriod:_,batchEventsThreshold:30,batchMetricsPeriod:_,batchMetricsThreshold:30,batchTracesPeriod:_,batchTracesThreshold:30,headers:{},interactionManager:null,isAlwaysAuthed:!1,isProd:!1,isInternalApplication:!1,onError:(e,t)=>{console.error(x,e,t)},platform:v.unknown,projectName:"",ricTimeoutScheduleEvent:1e3,ricTimeoutSetDevice:500,showDebugLogging:!1,trackUserId:!1,version:null,apiEndpoint:T},D(T),{steps:{}}),L=[].reduce(((e,t)=>n=>e(t(n))),(e=>{if(!e.isProd)return e.isInternalApplication?(e.apiEndpoint="https://analytics-service-internal-dev.cbhq.net",B({},e,D(e.apiEndpoint))):e;const t=(e=>e.apiEndpoint?C.test(e.apiEndpoint)?e.apiEndpoint:`https://${e.apiEndpoint}`:e.isInternalApplication?"https://analytics-service-internal.cbhq.net":"https://as.coinbase.com")(e);return B({},e,{apiEndpoint:t},D(t))})),U=e=>{const{batchEventsThreshold:t,batchMetricsThreshold:n,batchTracesThreshold:r}=e,i=[t,n,r];for(const e of i)if((e||0)>30){console.warn("You are setting the threshhold for the batch limit to be greater than 30. This may cause request overload.");break}Object.assign(A,L(e))},R=[v.web,v.mobile_web,v.tablet_web];function q(){return"android"===A.platform}function F(){return"ios"===A.platform}function z(){return R.includes(A.platform)}function K(e){if(z()&&navigator&&"serviceWorker"in navigator&&navigator.serviceWorker.controller)try{navigator.serviceWorker.controller.postMessage(e)}catch(e){e instanceof Error&&A.onError(e)}}var $=n(353),Q=n.n($);const W={amplitudeOSName:null,amplitudeOSVersion:null,amplitudeDeviceModel:null,amplitudePlatform:null,browserName:null,browserMajor:null,osName:null,userAgent:null,width:null,height:null},H={countryCode:null,deviceId:null,device_os:null,isOptOut:!1,languageCode:null,locale:null,jwt:null,session_lcc_id:null,userAgent:null,userId:null},V=e=>e?(e^16*Math.random()>>e/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,V),J=()=>A.isAlwaysAuthed||!!H.userId,X=()=>{const e={};return H.countryCode&&(e.country_code=H.countryCode),e},G=()=>{const{platform:e}=A;if(e===v.web)switch(!0){case window.matchMedia("(max-width: 560px)").matches:return v.mobile_web;case window.matchMedia("(max-width: 1024px, min-width: 561px)").matches:return v.tablet_web}return e},Z=()=>{var e,t,n,r,i;z()?("requestIdleCallback"in window?window.requestIdleCallback(ne,{timeout:A.ricTimeoutSetDevice}):ne(),W.amplitudePlatform=g.web,W.userAgent=(null==(e=window)||null==(e=e.navigator)?void 0:e.userAgent)||null,ee({height:null!=(t=null==(n=window)?void 0:n.innerHeight)?t:null,width:null!=(r=null==(i=window)?void 0:i.innerWidth)?r:null})):F()?(W.amplitudePlatform=g.ios,W.userAgent=H.userAgent,W.userAgent&&ne()):q()&&(W.userAgent=H.userAgent,W.amplitudePlatform=g.android,W.userAgent&&ne())},Y=e=>{Object.assign(H,e),z()&&K({identity:{isAuthed:!!H.userId,locale:H.locale||null}})},ee=e=>{W.height=e.height,W.width=e.width},te=()=>{U({platform:G()}),z()&&K({config:{platform:A.platform}})},ne=()=>{var e;performance.mark&&performance.mark("ua_parser_start");const t=new(Q())(null!=(e=W.userAgent)?e:"").getResult();W.browserName=t.browser.name||null,W.browserMajor=t.browser.major||null,W.osName=t.os.name||null,W.amplitudeOSName=W.browserName,W.amplitudeOSVersion=W.browserMajor,W.amplitudeDeviceModel=W.osName,K({device:{browserName:W.browserName,osName:W.osName}}),performance.mark&&(performance.mark("ua_parser_end"),performance.measure("ua_parser","ua_parser_start","ua_parser_end"))},re={breadcrumbs:[],initialUAAData:{},pageKey:"",pageKeyRegex:{},pagePath:"",prevPageKey:"",prevPagePath:""};function ie(e){Object.assign(re,{breadcrumbs:e})}function ae(e){Object.assign(re,e)}const oe={eventId:0,sequenceNumber:0,sessionId:0,lastEventTime:0,sessionStart:0,sessionUUID:null,userId:null,ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0};function se(e){Object.assign(oe,e)}function ce(){var e,t;return null!=(e=null==(t=document)?void 0:t.referrer)?e:""}function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}const le=()=>{const e=ce();if(!e)return{};const t=new URL(e);return t.hostname===pe()?{}:{referrer:e,referring_domain:t.hostname}},de=()=>{const e=new URLSearchParams(me()),t={};return O.forEach((n=>{e.has(n)&&(t[n]=(e.get(n)||"").toLowerCase())})),t},pe=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.hostname)||""},me=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.search)||""},fe=()=>{var e;return(null==(e=window)||null==(e=e.location)?void 0:e.pathname)||""},ve=()=>{const e=A.overrideWindowLocation?re.pagePath:fe()+me();e&&e!==re.pagePath&&(e!==re.pagePath&&ge(),re.pagePath=e,re.pageKeyRegex&&Object.keys(re.pageKeyRegex).some((e=>{if(re.pageKeyRegex[e].test(re.pagePath))return re.pageKey=e,!0})))},ge=()=>{if(z()){const e=ce();if(!re.prevPagePath&&e){const t=new URL(e);if(t.hostname===pe())return void(re.prevPagePath=t.pathname)}}re.prevPagePath=re.pagePath,re.prevPageKey=re.pageKey},be=e=>{z()&&Object.assign(e,z()?(Object.keys(re.initialUAAData).length>0||(new URLSearchParams(me()),re.initialUAAData=ue({},(()=>{const e={};return O.forEach((t=>{oe[t]&&(e[t]=oe[t])})),e})(),de(),le())),re.initialUAAData):re.initialUAAData)},he=/^[a-zd]+(_[a-zd]+)*$/;function we(e){return he.test(e)}function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(this,arguments)}const Te=["action","component_type","component_name","context","logging_id"],ke=["num_non_hardware_accounts","ujs"],_e="ujs_",Se={};function Ee(e){e.forEach((e=>{ke.includes(e)&&delete Se[e]}))}function xe(e){var t;const n=Object.entries(e).reduce(((e,t)=>{const[n,r]=t;return!Te.includes(n)&&ke.includes(n)?we(n)?ye({},e,{[n]:r}):(A.onError(new Error("IdentityFlow property names must have snake case format"),{[n]:r}),e):e}),{});null!=(t=n.ujs)&&t.length&&(n.ujs=n.ujs.map((e=>`${_e}${e}`))),Object.assign(Se,n)}function Oe(){return A.platform!==v.unknown||(A.onError(new Error("SDK platform not initialized")),!1)}const je={eventsQueue:[],eventsScheduled:!1,metricsQueue:[],metricsScheduled:!1,tracesQueue:[],tracesScheduled:!1};function Ne(e){Object.assign(je,e)}const Ie={ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0,sqs:0},Pe={ac:20,af:5,ah:1,al:1,am:0,ar:10,as:20},Me={pv:25},Be={xs:0,s:1,m:1,l:2,xl:2,xxl:2},Ce=e=>e<15?y.xs:e<60?y.s:e<240?y.m:e<960?y.l:e<3840?y.xl:y.xxl,De=e=>{Object.assign(Ie,e)};function Ae(){return(new Date).getTime()}const Le={timeStart:Ae(),timeOnPagePath:0,timeOnPageKey:0,prevTimeOnPagePath:0,prevTimeOnPageKey:0,sessionDuration:0,sessionEnd:0,sessionStart:0,prevSessionDuration:0};function Ue(e){Object.assign(Le,e)}const Re=(e,t)=>t.some((t=>e instanceof t));let qe,Fe;const ze=new WeakMap,Ke=new WeakMap,$e=new WeakMap,Qe=new WeakMap,We=new WeakMap;let He={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return Ke.get(e);if("objectStoreNames"===t)return e.objectStoreNames||$e.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Je(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function Ve(e){return"function"==typeof e?(t=e)!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(Fe||(Fe=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(t)?function(...e){return t.apply(Xe(this),e),Je(ze.get(this))}:function(...e){return Je(t.apply(Xe(this),e))}:function(e,...n){const r=t.call(Xe(this),e,...n);return $e.set(r,e.sort?e.sort():[e]),Je(r)}:(e instanceof IDBTransaction&&function(e){if(Ke.has(e))return;const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",a),e.removeEventListener("abort",a)},i=()=>{t(),r()},a=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",a),e.addEventListener("abort",a)}));Ke.set(e,t)}(e),Re(e,qe||(qe=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,He):e);var t}function Je(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",a)},i=()=>{t(Je(e.result)),r()},a=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",a)}));return t.then((t=>{t instanceof IDBCursor&&ze.set(t,e)})).catch((()=>{})),We.set(t,e),t}(e);if(Qe.has(e))return Qe.get(e);const t=Ve(e);return t!==e&&(Qe.set(e,t),We.set(t,e)),t}const Xe=e=>We.get(e),Ge=["get","getKey","getAll","getAllKeys","count"],Ze=["put","add","delete","clear"],Ye=new Map;function et(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(Ye.get(t))return Ye.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=Ze.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!Ge.includes(n))return;const a=async function(e,...t){const a=this.transaction(e,i?"readwrite":"readonly");let o=a.store;return r&&(o=o.index(t.shift())),(await Promise.all([o[n](...t),i&&a.done]))[0]};return Ye.set(t,a),a}var tt;tt=He,He={...tt,get:(e,t,n)=>et(e,t)||tt.get(e,t,n),has:(e,t)=>!!et(e,t)||tt.has(e,t)};const nt={isReady:!1,idbKeyval:null};function rt(e){Object.assign(nt,e)}const it={},at=async e=>{if(!nt.idbKeyval)return Promise.resolve(null);try{return await nt.idbKeyval.get(e)}catch(e){return A.onError(new Error("IndexedDB:Get:InternalError")),Promise.resolve(null)}},ot=async(e,t)=>{if(nt.idbKeyval)try{await nt.idbKeyval.set(e,t)}catch(e){A.onError(new Error("IndexedDB:Set:InternalError"))}},st=()=>{"server"!==A.platform&&(se({sessionStart:Le.sessionStart,ac:Ie.ac,af:Ie.af,ah:Ie.ah,al:Ie.al,am:Ie.am,ar:Ie.ar,as:Ie.as,pv:Ie.pv}),H.userId&&se({userId:H.userId}),ot(S,oe))},ct="rgb(5,177,105)",ut=e=>{const{metricName:t,data:n}=e,r=e.importance||l.low;if(!A.showDebugLogging||!console)return;const i=`%c ${x}`,a=`color:${ct};font-size:11px;`,o=`Importance: ${r}`;console.group(i,a,t,o),n.forEach((e=>{e.event_type?console.log(e.event_type,e):console.log(e)})),console.groupEnd()},lt=e=>{const{metricName:t,data:n}=e,r=e.importance||l.low;if(!A.showDebugLogging||!console)return;const i=`color:${ct};font-size:11px;`,a=`%c ${x}`,o=`Importance: ${r}`;console.log(a,i,t,n,o)},dt=()=>{const e=Ae();oe.sessionId&&oe.lastEventTime&&oe.sessionUUID&&!pt(e)||(oe.sessionId=e,oe.sessionUUID=V(),Ue({sessionStart:e}),lt({metricName:"Started new session:",data:{persistentData:oe,timeStone:Le}})),oe.lastEventTime=e},pt=e=>e-oe.lastEventTime>18e5;function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(this,arguments)}const ft=e=>{var t;(e=>{switch(e.action){case f.click:Ie.ac+=1;break;case f.focus:Ie.af+=1;break;case f.hover:Ie.ah+=1;break;case f.move:Ie.am+=1;break;case f.scroll:Ie.al+=1;break;case f.search:Ie.ar+=1;break;case f.select:Ie.as+=1}})(t=e),t.event_type!==j?t.event_type===N&&((e=>{if(!e.session_rank)return;const t=e.session_rank;Object.values(h).forEach((e=>{Ie.sqs+=Ie[e]*Pe[e]})),Object.values(w).forEach((e=>{Ie.sqs+=Ie[e]*Me[e]})),Ie.sqs*=Be[t]})(t),Object.assign(t,Ie),De({ac:0,af:0,ah:0,al:0,am:0,ar:0,as:0,pv:0,sqs:0})):Ie.pv+=1;const n=e.event_type;delete e.event_type;const r=e.deviceId?e.deviceId:null,i=e.timestamp;return delete e.timestamp,se({eventId:oe.eventId+1}),se({sequenceNumber:oe.sequenceNumber+1}),dt(),st(),{device_id:H.deviceId||r||null,user_id:H.userId,timestamp:i,event_id:oe.eventId,session_id:oe.sessionId||-1,event_type:n,version_name:A.version||null,platform:W.amplitudePlatform,os_name:W.amplitudeOSName,os_version:W.amplitudeOSVersion,device_model:W.amplitudeDeviceModel,language:H.languageCode,event_properties:mt({},e,{session_uuid:oe.sessionUUID,height:W.height,width:W.width}),user_properties:X(),uuid:V(),library:{name:"@cbhq/client-analytics",version:"10.6.0"},sequence_number:oe.sequenceNumber,user_agent:W.userAgent||H.userAgent}},vt=e=>e.map((e=>ft(e)));function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gt.apply(this,arguments)}const bt=e=>e.map((e=>(e=>{const t=e.tags||{},n=gt({authed:J()?"true":"false",platform:A.platform},t,{project_name:A.projectName,version_name:A.version||null});return{metric_name:e.metricName,page_path:e.pagePath||null,value:e.value,tags:n,type:e.metricType}})(e))),ht=e=>0!==je.metricsQueue.length&&(je.metricsQueue.length>=A.batchMetricsThreshold||(je.metricsScheduled||(je.metricsScheduled=!0,setTimeout((()=>{je.metricsScheduled=!1,e(bt(je.metricsQueue)),je.metricsQueue=[]}),A.batchMetricsPeriod)),!1)),wt=e=>0!==je.tracesQueue.length&&(je.tracesQueue.length>=A.batchTracesThreshold||(je.tracesScheduled||(je.tracesScheduled=!0,setTimeout((()=>{je.tracesScheduled=!1,e(je.tracesQueue),je.tracesQueue=[]}),A.batchTracesPeriod)),!1)),yt=e=>{var t;z()&&null!=(t=window)&&t.requestIdleCallback?window.requestIdleCallback(e,{timeout:A.ricTimeoutScheduleEvent}):(q()||F())&&A.interactionManager?A.interactionManager.runAfterInteractions(e):e()};function Tt(){return Tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tt.apply(this,arguments)}const kt="application/x-www-form-urlencoded; charset=UTF-8",_t=e=>{const{data:t,importance:n,isJSON:r,onError:i,url:a}=e,o=r?"application/json":kt,s=n||l.low,c=r?JSON.stringify(t):new URLSearchParams(t).toString();function u(){const e=new XMLHttpRequest;e.open("POST",a,!0),Object.keys(A.headers||{}).forEach((t=>{e.setRequestHeader(t,A.headers[t])})),e.setRequestHeader("Content-Type",kt),H.jwt&&e.setRequestHeader("authorization",`Bearer ${H.jwt}`),e.send(c)}if(!z()||r||!("sendBeacon"in navigator)||s!==l.low||A.headers&&0!==Object.keys(A.headers).length)if(z()&&!r)u();else{const e=Tt({},A.headers,{"Content-Type":o});H.jwt&&(e.Authorization=`Bearer ${H.jwt}`),fetch(a,{method:"POST",mode:"no-cors",headers:e,body:c}).catch((e=>{i(e,{context:"AnalyticsSDKApiError"})}))}else{const e=new Blob([c],{type:kt});try{navigator.sendBeacon.bind(navigator)(a,e)||u()}catch(e){console.error(e),u()}}};var St=n(762),Et=n.n(St);const xt=(e,t,n)=>{const r=e||"";return Et()("2"+r+t+n)};function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(this,arguments)}class jt extends Error{constructor(e){super(e),this.name="CircularJsonReference",this.message=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}}class Nt extends jt{constructor(...e){super(...e),this.name="DomReferenceInAnalyticsEvent"}}function It(){return It=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},It.apply(this,arguments)}const Pt=(e,t=l.low)=>{var n;e&&je.eventsQueue.push(e),nt.isReady&&(!A.trackUserId||H.userId?(t===l.high||(n=Mt,0!==je.eventsQueue.length&&(je.eventsQueue.length>=A.batchEventsThreshold||(je.eventsScheduled||(je.eventsScheduled=!0,setTimeout((()=>{je.eventsScheduled=!1,n(vt(je.eventsQueue)),je.eventsQueue=[]}),A.batchEventsPeriod)),0))))&&Bt():je.eventsQueue.length>10&&(A.trackUserId=!1,A.onError(new Error("userId not set in Logged-in"))))},Mt=(e,t=l.low)=>{if(H.isOptOut||0===e.length)return;let n;try{n=JSON.stringify(e)}catch(t){const r=e.map((e=>e.event_type)).join(", "),[i,a]=(e=>{try{const n=[];for(const r of e){const e=Ot({},r);r.event_properties&&(e.event_properties=Ot({},e.event_properties,{currentTarget:null,target:null,relatedTarget:null,_dispatchInstances:null,_targetInst:null,view:(t=r.event_properties.view,["string","number","boolean"].includes(typeof t)?r.event_properties.view:null)})),n.push(e)}return[!0,JSON.stringify(n)]}catch(e){return[!1,""]}var t})(e);if(!i)return void A.onError(new jt(t instanceof Error?t.message:"unknown"),{listEventType:r});n=a,A.onError(new Nt("Found DOM element reference"),{listEventType:r,stringifiedEventData:n})}const r=Ae().toString(),i=It({},{e:n,v:"2",upload_time:r},{client:A.amplitudeApiKey,checksum:xt(A.amplitudeApiKey,n,r)});_t({url:A.eventsEndpoint,data:i,importance:t,onError:A.onError}),ut({metricName:"Batch Events",data:e,importance:t})},Bt=()=>{Mt(vt(je.eventsQueue)),Ne({eventsQueue:[]})};function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ct.apply(this,arguments)}const Dt=Object.values(f),At=Object.values(m),Lt=e=>Dt.includes(e)?e:f.unknown,Ut=e=>At.includes(e)?e:m.unknown,Rt=(e,t,n)=>{const r={auth:J()?b.loggedIn:b.notLoggedIn,action:Lt(e),component_type:Ut(t),logging_id:n,platform:A.platform,project_name:A.projectName};return"number"==typeof H.userTypeEnum&&(r.user_type_enum=H.userTypeEnum),r},qt=e=>{const t=Ae();if(!e)return A.onError(new Error("missing logData")),Ct({},Rt(f.unknown,m.unknown),{locale:H.locale,session_lcc_id:H.session_lcc_id,timestamp:t,time_start:Le.timeStart});const n=Ct({},e,Rt(e.action,e.componentType,e.loggingId),{locale:H.locale,session_lcc_id:H.session_lcc_id,timestamp:t,time_start:Le.timeStart});return delete n.componentType,delete n.loggingId,n},Ft={blacklistRegex:[],isEnabled:!1};function zt(){return{page_key:re.pageKey,page_path:re.pagePath,prev_page_key:re.prevPageKey,prev_page_path:re.prevPagePath}}function Kt(e){Object.assign(Ft,e)}function $t(e,t,n=l.low){if(H.isOptOut)return;if(!Oe())return;const r=qt(t);!function(e){Ft.isEnabled&&(ve(),Object.assign(e,zt()))}(r),be(r),function(e){Object.keys(Se).length>0&&Object.assign(e,Se)}(r),r.has_double_fired=!1,r.event_type=e,n===l.high?Pt(r,n):yt((()=>{Pt(r)}))}function Qt(e,t=!1){t?_t({url:A.metricsEndPoint,data:{metrics:e},isJSON:!0,onError:A.onError}):yt((()=>{_t({url:A.metricsEndPoint,data:{metrics:e},isJSON:!0,onError:A.onError})})),ut({metricName:"Batch Metrics",data:e})}function Wt(){return Wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wt.apply(this,arguments)}function Ht(e){if(!Oe())return;v.server!==A.platform&&!e.pagePath&&re.pagePath&&(e.pagePath=re.pagePath);const t=Object.keys(Se).length?Wt({},e.tags,Se):e.tags;t&&Object.assign(e,{tags:t}),je.metricsQueue.push(e),ht(Qt)&&(Qt(bt(je.metricsQueue)),je.metricsQueue=[])}function Vt(){return Vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vt.apply(this,arguments)}let Jt=function(e){return e.instant="instant",e.quick="quick",e.moderate="moderate",e.slow="slow",e.unavoidable="unavoidable",e}({});function Xt(e){return e.toLowerCase()}let Gt={};const Zt=(e,t)=>{null!=A&&A.onMarkStep&&A.onMarkStep(e,t),xe({ujs:t})};let Yt;const en={Perfume:()=>{},markStep:e=>{},markStepOnce:e=>{},incrementUjNavigation:()=>{}},tn=()=>{z()&&Yt&&Yt.markNTBT&&Yt.markNTBT()},nn=e=>{z()&&Yt&&en.markStep&&en.markStep(e)},rn=e=>{z()&&Yt&&en.markStepOnce&&en.markStepOnce(e)},an=()=>{z()&&Yt&&en.incrementUjNavigation&&en.incrementUjNavigation()};function on(e={callMarkNTBT:!0}){"unknown"!==A.platform&&(Ft.blacklistRegex.some((e=>e.test(fe())))||($t(j,{action:f.render,componentType:m.page}),e.callMarkNTBT&&tn()))}let sn=!1,cn=!1;const un=e=>{sn=!e.persisted},ln=(e,t="hidden",n=!1)=>{cn||(addEventListener("pagehide",un),addEventListener("beforeunload",(()=>{})),cn=!0),addEventListener("visibilitychange",(({timeStamp:n})=>{document.visibilityState===t&&e({timeStamp:n,isUnloading:sn})}),{capture:!0,once:n})},dn=36e3;function pn(){const e=pt(Ae());if(e&&(O.forEach((e=>{oe[e]&&delete oe[e]})),st()),!oe.lastEventTime||!Le.sessionStart||!e)return;const t=Math.round((oe.lastEventTime-Le.sessionStart)/1e3);if(t<1||t>dn)return;const n=Ce(t);$t(N,{action:f.measurement,componentType:m.page,session_duration:t,session_end:oe.lastEventTime,session_start:Le.sessionStart,session_rank:n})}function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mn.apply(this,arguments)}const fn=[],vn=[],gn=()=>{const e=fn.shift();e&&e()},bn=()=>{const e=vn.shift();e&&e()};let hn={};function wn(e){const t=function(e){return{test_name:e.testName,group_name:e.group,subject_id:e.subjectId,exposed_at:Ae(),subject_type:e.subjectType,platform:A.platform}}(e);hn[e.testName]=hn[e.testName]||0,hn[e.testName]+k>Ae()?lt({metricName:`Event: exposeExperiment ${e.testName} not sent`,data:t}):(hn[e.testName]=Ae(),ot(E,hn),lt({metricName:`Event: exposeExperiment ${e.testName} sent`,data:t}),_t({url:A.exposureEndpoint,data:[t],onError:(t,n)=>{hn[e.testName]=0,ot(E,hn),A.onError(t,n)},isJSON:!0,importance:l.high}))}const yn=e=>{var t,r,i;U(e),z()&&(H.languageCode=(null==(t=navigator)?void 0:t.languages[0])||(null==(r=navigator)?void 0:r.language)||""),te(),(()=>{var e;if(z()&&null!=(e=window)&&e.indexedDB){const e=function(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){const o=indexedDB.open(e,t),s=Je(o);return r&&o.addEventListener("upgradeneeded",(e=>{r(Je(o.result),e.oldVersion,e.newVersion,Je(o.transaction),e)})),n&&o.addEventListener("blocked",(e=>n(e.oldVersion,e.newVersion,e))),s.then((e=>{a&&e.addEventListener("close",(()=>a())),i&&e.addEventListener("versionchange",(e=>i(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),s}("keyval-store",1,{upgrade(e){e.createObjectStore("keyval")}});rt({idbKeyval:{get:async t=>(await e).get("keyval",t),set:async(t,n)=>(await e).put("keyval",n,t),delete:async t=>(await e).delete("keyval",t),keys:async()=>(await e).getAllKeys("keyval")}})}else rt({idbKeyval:{get:async e=>new Promise((t=>{t(it[e])})),set:async(e,t)=>new Promise((n=>{it[e]=t,n(e)})),delete:async e=>new Promise((()=>{delete it[e]})),keys:async()=>new Promise((e=>{e(Object.keys(it))}))}})})(),lt({metricName:"Initialized Analytics:",data:{deviceId:H.deviceId}}),fn.push((()=>{Pt()})),(async()=>{const e=await at(S);rt({isReady:!0}),gn(),e&&(bn(),se({eventId:e.eventId||oe.eventId,sequenceNumber:e.sequenceNumber||oe.sequenceNumber,sessionId:e.sessionId||oe.sessionId,lastEventTime:e.lastEventTime||oe.lastEventTime,sessionUUID:e.sessionUUID||oe.sessionUUID}),function(e){se(mn({},function(e){const t={};return O.forEach((n=>{e[n]&&(t[n]=e[n])})),t}(e),de()))}(e),Ue({sessionStart:e.sessionStart||oe.sessionStart}),De({ac:e.ac||Ie.ac,af:e.af||Ie.af,ah:e.ah||Ie.ah,al:e.al||Ie.al,am:e.am||Ie.am,ar:e.ar||Ie.ar,as:e.as||Ie.as,pv:e.pv||Ie.pv}),A.trackUserId&&Y({userId:e.userId||H.userId}),pn(),lt({metricName:"Initialized Analytics IndexedDB:",data:e}))})(),async function(){at(E).then((e=>{hn=null!=e?e:{}})).catch((e=>{e instanceof Error&&A.onError(e)}))}(),Z(),z()&&(ln((()=>{se({lastEventTime:Ae()}),st(),Bt()}),"hidden"),ln((()=>{pn()}),"visible")),z()&&(i=()=>{var e,t,n,r;te(),ee({width:null!=(e=null==(t=window)?void 0:t.innerWidth)?e:null,height:null!=(n=null==(r=window)?void 0:r.innerHeight)?n:null})},addEventListener("resize",(()=>{requestAnimationFrame((()=>{i()}))}))),(()=>{if(z())try{const e=n(2);en.markStep=e.markStep,en.markStepOnce=e.markStepOnce,en.incrementUjNavigation=e.incrementUjNavigation,Yt=new e.Perfume({analyticsTracker:e=>{const{data:t,attribution:n,metricName:r,navigatorInformation:i,rating:a}=e,o=I[r],s=(null==n?void 0:n.category)||null;if(!o&&!s)return;const c=(null==i?void 0:i.deviceMemory)||0,u=(null==i?void 0:i.hardwareConcurrency)||0,l=(null==i?void 0:i.isLowEndDevice)||!1,p=(null==i?void 0:i.isLowEndExperience)||!1,v=(null==i?void 0:i.serviceWorkerStatus)||"unsupported",g=Vt({deviceMemory:c,hardwareConcurrency:u,isLowEndDevice:l,isLowEndExperience:p,serviceWorkerStatus:v},Gt),b={is_low_end_device:l,is_low_end_experience:p,page_key:re.pageKey||"",save_data:t.saveData||!1,service_worker:v,is_perf_metric:!0};if("navigationTiming"===r)t&&"number"==typeof t.redirectTime&&Ht({metricName:I.redirectTime.eventName,metricType:d.histogram,tags:b,value:t.redirectTime||0});else if("TTFB"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,vitalsScore:a||null},g)),Ht({metricName:I.TTFB.eventName,metricType:d.histogram,tags:Vt({},b),value:t}),a&&Ht({metricName:`perf_web_vitals_ttfb_${a}`,metricType:d.count,tags:b,value:1});else if("networkInformation"===r)null!=t&&t.effectiveType&&(Gt=t,$t(o.eventName,{action:f.measurement,componentType:m.page,networkInformationDownlink:t.downlink,networkInformationEffectiveType:t.effectiveType,networkInformationRtt:t.rtt,networkInformationSaveData:t.saveData,navigatorDeviceMemory:c,navigatorHardwareConcurrency:u}));else if("storageEstimate"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page},t,g)),Ht({metricName:"perf_storage_estimate_caches",metricType:d.histogram,tags:b,value:t.caches}),Ht({metricName:"perf_storage_estimate_indexed_db",metricType:d.histogram,tags:b,value:t.indexedDB});else if("CLS"===r)$t(o.eventName,Vt({action:f.measurement,componentType:m.page,score:100*t||null,vitalsScore:a||null},g)),a&&Ht({metricName:`perf_web_vitals_cls_${a}`,metricType:d.count,tags:b,value:1});else if("FID"===r){const e=(null==n?void 0:n.performanceEntry)||null,r=parseInt((null==e?void 0:e.processingStart)||"");$t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,processingStart:null!=e&&e.processingStart?r:null,startTime:null!=e&&e.startTime?parseInt(e.startTime):null,vitalsScore:a||null},g)),a&&Ht({metricName:`perf_web_vitals_fidVitals_${a}`,metricType:d.count,tags:b,value:1})}else"userJourneyStep"===r?($t("perf_user_journey_step",Vt({action:f.measurement,componentType:m.page,duration:t||null,rating:null!=a?a:null,step_name:(null==n?void 0:n.stepName)||""},g)),Ht({metricName:`user_journey_step.${A.projectName}.${A.platform}.${(null==n?void 0:n.stepName)||""}_vitals_${a}`,metricType:d.count,tags:b,value:1}),Ht({metricName:`user_journey_step.${A.projectName}.${A.platform}.${(null==n?void 0:n.stepName)||""}`,metricType:d.distribution,tags:b,value:t||null})):I[r]&&t&&($t(o.eventName,Vt({action:f.measurement,componentType:m.page,duration:t||null,vitalsScore:a||null},g)),a&&(Ht({metricName:`perf_web_vitals_${Xt(r)}_${a}`,metricType:d.count,tags:b,value:1}),"LCP"===r&&Ht({metricName:`perf_web_vitals_${Xt(r)}`,metricType:d.distribution,tags:b,value:t})))},maxMeasureTime:3e4,steps:A.steps,onMarkStep:Zt})}catch(e){e instanceof Error&&A.onError(e)}})()},Tn=e=>{Y(e),e.userAgent&&Z(),lt({metricName:"Identify:",data:{countryCode:H.countryCode,deviceId:H.deviceId,userId:H.userId}})},kn=({blacklistRegex:e,pageKeyRegex:t,browserHistory:n})=>{Kt({blacklistRegex:e||[],isEnabled:!0}),ae({pageKeyRegex:t}),on({callMarkNTBT:!1}),n.listen((()=>{on()}))},_n=({blacklistRegex:e,pageKeyRegex:t,nextJsRouter:n})=>{Kt({blacklistRegex:e||[],isEnabled:!0}),ae({pageKeyRegex:t}),on({callMarkNTBT:!1}),n.events.on("routeChangeComplete",(()=>{on()}))},Sn=()=>{Y({isOptOut:!0}),ot(S,{})},En=()=>{Y({isOptOut:!1})},xn={Button:{label:"cb_button",uuid:"e921a074-40e6-4371-8700-134d5cd633e6",componentType:m.button}};function On(e,t,n){return{componentName:e,actions:t,data:n}}function jn(){return jn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jn.apply(this,arguments)}function Nn(e,t,n){const{componentName:r,data:i}=n;$t(e.label,jn({componentType:e.componentType,action:t,loggingId:e.uuid,component_name:r},i))}const In={actionMapping:{onPress:f.click,onHover:f.hover},handlers:{Button:{[f.click]:e=>Nn(xn.Button,f.click,e),[f.hover]:e=>Nn(xn.Button,f.hover,e)}}};function Pn(e,t=!1){t?_t({url:A.tracesEndpoint,data:{traces:e},isJSON:!0,onError:A.onError}):yt((()=>{_t({url:A.tracesEndpoint,data:{traces:e},isJSON:!0,onError:A.onError})})),ut({metricName:"Batch Traces",data:e})}function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mn.apply(this,arguments)}const Bn=1e6;function Cn(e){return e*Bn}function Dn(e=function(){var e;return null==(e=window)?void 0:e.crypto}()){const t=new Uint32Array(2);return null==e||e.getRandomValues(t),((BigInt(t[0])<<BigInt(32))+BigInt(t[1])).toString()}function An(e,t){return{"x-datadog-origin":"rum","x-datadog-parent-id":t,"x-datadog-sampling-priority":"1","x-datadog-trace-id":e}}function Ln(e){var t;const{name:n,traceId:r,spanId:i,start:a,duration:o,resource:s,meta:c}=e;return{duration:o?Cn(o):0,name:n,resource:s,service:A.projectName,span_id:null!=i?i:Dn(),start:a?Cn(a):0,trace_id:null!=r?r:Dn(),parent_id:P,type:M,meta:Mn({platform:A.platform},re.pageKey?{page_key:re.pageKey}:{},null!=(t=Se.ujs)&&t.length?{last_ujs:Se.ujs[Se.ujs.length-1]}:{},null!=c?c:{})}}function Un(e){return[Ln(e)]}function Rn(e,t){Oe()&&function(e){return e.length>0}(e)&&(t&&function(e,t){e.forEach((e=>function(e,t){const n=Mn({},e.meta,t.meta),r={start:t.start?Cn(t.start):e.start,duration:t.duration?Cn(t.duration):e.duration};Object.assign(e,t,Mn({meta:n},r))}(e,t)))}(e,t),je.tracesQueue.push(e),wt(Pn)&&(Pn(je.tracesQueue),je.tracesQueue=[]))}function qn(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function Fn(){return Fn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fn.apply(this,arguments)}function zn(){return void 0!==typeof window&&"performance"in window&&"mark"in performance&&"getEntriesByName"in performance}function Kn(e,t){return`perf_${e}${null!=t&&t.label?`_${t.label}`:""}`}function $n(e,t,n){return`${Kn(e,n)}__${t}`}let Qn={};function Wn(e,t,n){if(!zn())return;const r=$n(e,t,n);if(performance.mark(r),"end"===t){const t=Kn(e,n);!function(e,t,n){try{performance.measure(e,t,n)}catch(e){A.onError(e)}}(t,$n(e,"start",n),r);const i=performance.getEntriesByName(t).pop();i&&Ht(Fn({metricName:e,metricType:d.distribution,value:i.duration},null!=n&&n.tags?{tags:n.tags}:{}))}}function Hn(e,t){if(!zn())return;const n=$n(e,"start",t);Qn[n]||(Wn(e,"start",t),Qn[n]=!0)}function Vn(e,t){const n=$n(e,"start",t),r=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(Qn,[n].map(qn));Qn=r}function Jn(e,t){if(!zn())return;const n=$n(e,"start",t);Qn[n]&&(Wn(e,"end",t),Vn(e,t))}function Xn(){zn()&&(performance.clearMarks(),Qn={})}var Gn=n(784);function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zn.apply(this,arguments)}function Yn(e,t,n=l.low){const r=(0,Gn.useRef)(t);return(0,Gn.useEffect)((()=>{r.current=t}),[t]),(0,Gn.useCallback)((t=>{$t(e,Zn({},r.current,t),n)}),[e,n])}function er(){return er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},er.apply(this,arguments)}function tr(e,t,n=l.low){(0,Gn.useEffect)((()=>{const r=er({},t,{action:f.render});$t(e,r,n)}),[])}function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nr.apply(this,arguments)}const rr=function(e,t){return{markStartPerf:(0,Gn.useCallback)((()=>Hn(e,t)),[e,t]),markEndPerf:(0,Gn.useCallback)((n=>Jn(e,nr({},t,n))),[e,t])}};function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ir.apply(this,arguments)}function ar(){return Object.entries(ir({},Se,zt(),{sessionUUID:oe.sessionUUID,userId:oe.userId})).reduce(((e,t)=>{return null!=(n=t[1])&&""!==n?ir({},e,{[t[0]]:t[1]}):e;var n}),{})}async function or(){return new Promise((e=>{Mt(vt(je.eventsQueue)),Qt(bt(je.metricsQueue),!0),Pn(je.tracesQueue,!0),Ne({eventsQueue:[],metricsQueue:[],tracesQueue:[]}),e()}))}function sr(){return{"X-CB-Device-ID":H.deviceId||"unknown","X-CB-Is-Logged-In":H.userId?"true":"false","X-CB-Pagekey":re.pageKey||"unknown","X-CB-UJS":(e=Se.ujs,void 0===e||0===e.length?"":e.join(",")),"X-CB-Platform":A.platform||"unknown","X-CB-Project-Name":A.projectName||"unknown","X-CB-Session-UUID":oe.sessionUUID||"unknown","X-CB-Version-Name":A.version?String(A.version):"unknown"};var e}})(),r})()}));',
1fs=()=>new Promise((e,t)=>{if(window.ClientAnalytics)return e();try{const n=document.createElement("script");n.textContent=ps,n.type="text/javascript",document.head.appendChild(n),ms(),document.head.removeChild(n),e()}catch{console.error("Failed to execute inlined telemetry script"),t()}}),ms=()=>{var e,t,n;if(typeof window<"u"){const r=(n=(e=x.config.get().deviceId)!==null&&e!==void 0?e:(t=window.crypto)===null||t===void 0?void 0:t.randomUUID())!==null&&n!==void 0?n:"";if(window.ClientAnalytics){const{init:a,identify:i,PlatformName:c}=window.ClientAnalytics;a({isProd:!0,amplitudeApiKey:"c66737ad47ec354ced777935b0af822e",platform:c.web,projectName:"base_account_sdk",showDebugLogging:!1,version:"1.0.0",apiEndpoint:"https://cca-lite.coinbase.com"}),i({deviceId:r}),x.config.set({deviceId:r})}}},hs="0xba5ed110efdba3d005bfc882d75358acbbb85842",la="0xf85210B21cC50302F477BA56686d2019dC9b67Ad",oe=[{inputs:[],stateMutability:"nonpayable",type:"constructor"},{inputs:[{name:"owner",type:"bytes"}],name:"AlreadyOwner",type:"error"},{inputs:[],name:"Initialized",type:"error"},{inputs:[{name:"owner",type:"bytes"}],name:"InvalidEthereumAddressOwner",type:"error"},{inputs:[{name:"key",type:"uint256"}],name:"InvalidNonceKey",type:"error"},{inputs:[{name:"owner",type:"bytes"}],name:"InvalidOwnerBytesLength",type:"error"},{inputs:[],name:"LastOwner",type:"error"},{inputs:[{name:"index",type:"uint256"}],name:"NoOwnerAtIndex",type:"error"},{inputs:[{name:"ownersRemaining",type:"uint256"}],name:"NotLastOwner",type:"error"},{inputs:[{name:"selector",type:"bytes4"}],name:"SelectorNotAllowed",type:"error"},{inputs:[],name:"Unauthorized",type:"error"},{inputs:[],name:"UnauthorizedCallContext",type:"error"},{inputs:[],name:"UpgradeFailed",type:"error"},{inputs:[{name:"index",type:"uint256"},{name:"expectedOwner",type:"bytes"},{name:"actualOwner",type:"bytes"}],name:"WrongOwnerAtIndex",type:"error"},{anonymous:!1,inputs:[{indexed:!0,name:"index",type:"uint256"},{indexed:!1,name:"owner",type:"bytes"}],name:"AddOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"index",type:"uint256"},{indexed:!1,name:"owner",type:"bytes"}],name:"RemoveOwner",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"implementation",type:"address"}],name:"Upgraded",type:"event"},{stateMutability:"payable",type:"fallback"},{inputs:[],name:"REPLAYABLE_NONCE_KEY",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"owner",type:"address"}],name:"addOwnerAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"addOwnerPublicKey",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"functionSelector",type:"bytes4"}],name:"canSkipChainIdValidation",outputs:[{name:"",type:"bool"}],stateMutability:"pure",type:"function"},{inputs:[],name:"domainSeparator",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"eip712Domain",outputs:[{name:"fields",type:"bytes1"},{name:"name",type:"string"},{name:"version",type:"string"},{name:"chainId",type:"uint256"},{name:"verifyingContract",type:"address"},{name:"salt",type:"bytes32"},{name:"extensions",type:"uint256[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"entryPoint",outputs:[{name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"target",type:"address"},{name:"value",type:"uint256"},{name:"data",type:"bytes"}],name:"execute",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{name:"target",type:"address"},{name:"value",type:"uint256"},{name:"data",type:"bytes"}],name:"calls",type:"tuple[]"}],name:"executeBatch",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"calls",type:"bytes[]"}],name:"executeWithoutChainIdValidation",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"getUserOpHashWithoutChainId",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"implementation",outputs:[{name:"$",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{name:"owners",type:"bytes[]"}],name:"initialize",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"account",type:"address"}],name:"isOwnerAddress",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"bytes"}],name:"isOwnerBytes",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{name:"x",type:"bytes32"},{name:"y",type:"bytes32"}],name:"isOwnerPublicKey",outputs:[{name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{name:"hash",type:"bytes32"},{name:"signature",type:"bytes"}],name:"isValidSignature",outputs:[{name:"result",type:"bytes4"}],stateMutability:"view",type:"function"},{inputs:[],name:"nextOwnerIndex",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"index",type:"uint256"}],name:"ownerAtIndex",outputs:[{name:"",type:"bytes"}],stateMutability:"view",type:"function"},{inputs:[],name:"ownerCount",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"proxiableUUID",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{name:"index",type:"uint256"},{name:"owner",type:"bytes"}],name:"removeLastOwner",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"index",type:"uint256"},{name:"owner",type:"bytes"}],name:"removeOwnerAtIndex",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"removedOwnersCount",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"hash",type:"bytes32"}],name:"replaySafeHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{name:"newImplementation",type:"address"},{name:"data",type:"bytes"}],name:"upgradeToAndCall",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"},{name:"userOpHash",type:"bytes32"},{name:"missingAccountFunds",type:"uint256"}],name:"validateUserOp",outputs:[{name:"validationData",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],pa=[{inputs:[{name:"implementation_",type:"address"}],stateMutability:"payable",type:"constructor"},{inputs:[],name:"OwnerRequired",type:"error"},{inputs:[{name:"owners",type:"bytes[]"},{name:"nonce",type:"uint256"}],name:"createAccount",outputs:[{name:"account",type:"address"}],stateMutability:"payable",type:"function"},{inputs:[{name:"owners",type:"bytes[]"},{name:"nonce",type:"uint256"}],name:"getAddress",outputs:[{name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"implementation",outputs:[{name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"initCodeHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"}],V={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901,unsupportedChain:4902}},mn={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."},4902:{standard:"EIP-3085",message:"Unrecognized chain ID."}},fa="Unspecified error message.",ys="Unspecified server error.";function Qn(e,t=fa){if(e&&Number.isInteger(e)){const n=e.toString();if(hn(mn,n))return mn[n].message;if(ma(e))return ys}return t}function gs(e){if(!Number.isInteger(e))return!1;const t=e.toString();return!!(mn[t]||ma(e))}function bs(e,{shouldIncludeStack:t=!1}={}){const n={};if(e&&typeof e=="object"&&!Array.isArray(e)&&hn(e,"code")&&gs(e.code)){const r=e;n.code=r.code,r.message&&typeof r.message=="string"?(n.message=r.message,hn(r,"data")&&(n.data=r.data)):(n.message=Qn(n.code),n.data={originalError:vr(e)})}else n.code=V.rpc.internal,n.message=wr(e,"message")?e.message:fa,n.data={originalError:vr(e)};return t&&(n.stack=wr(e,"stack")?e.stack:void 0),n}function ma(e){return e>=-32099&&e<=-32e3}function vr(e){return e&&typeof e=="object"&&!Array.isArray(e)?Object.assign({},e):e}function hn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function wr(e,t){return typeof e=="object"&&e!==null&&t in e&&typeof e[t]=="str
1ing"}const S={rpc:{parse:e=>te(V.rpc.parse,e),invalidRequest:e=>te(V.rpc.invalidRequest,e),invalidParams:e=>te(V.rpc.invalidParams,e),methodNotFound:e=>te(V.rpc.methodNotFound,e),internal:e=>te(V.rpc.internal,e),server:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum RPC Server errors must provide single object argument.");const{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw new Error('"code" must be an integer such that: -32099 <= code <= -32005');return te(t,e)},invalidInput:e=>te(V.rpc.invalidInput,e),resourceNotFound:e=>te(V.rpc.resourceNotFound,e),resourceUnavailable:e=>te(V.rpc.resourceUnavailable,e),transactionRejected:e=>te(V.rpc.transactionRejected,e),methodNotSupported:e=>te(V.rpc.methodNotSupported,e),limitExceeded:e=>te(V.rpc.limitExceeded,e)},provider:{userRejectedRequest:e=>ze(V.provider.userRejectedRequest,e),unauthorized:e=>ze(V.provider.unauthorized,e),unsupportedMethod:e=>ze(V.provider.unsupportedMethod,e),disconnected:e=>ze(V.provider.disconnected,e),chainDisconnected:e=>ze(V.provider.chainDisconnected,e),unsupportedChain:e=>ze(V.provider.unsupportedChain,e),custom:e=>{if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Ethereum Provider custom errors must provide single object argument.");const{code:t,message:n,data:r}=e;if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string');return new ya(t,n,r)}}};function te(e,t){const[n,r]=ha(t);return new Xn(e,n||Qn(e),r)}function ze(e,t){const[n,r]=ha(t);return new ya(e,n||Qn(e),r)}function ha(e){if(e){if(typeof e=="string")return[e];if(typeof e=="object"&&!Array.isArray(e)){const{message:t,data:n}=e;
1if(t&&typeof t!="string")throw new Error("Must specify string message.");return[t||void 0,n]}}return[]}class Xn extends Error{constructor(t,n,r){if(!Number.isInteger(t))throw new Error('"code" must be an integer.');if(!n||typeof n!="string")throw new Error('"message" must be a nonempty string.');super(n),this.code=t,r!==void 0&&(this.data=r)}}class ya extends Xn{constructor(t,n,r){if(!vs(t))throw new Error('"code" must be an integer such that: 1000 <= code <= 4999');super(t,n,r)}}function vs(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}function xr(e){return typeof e=="object"&&e!==null&&"code"in e&&"data"in e&&e.code===-32090&&typeof e.data=="object"&&e.data!==null&&"type"in e.data&&e.data.type==="INSUFFICIENT_FUNDS"}function ga(e){return typeof e=="object"&&e!==null&&"details"in e}function ws(e){try{const t=JSON.parse(e.details);return new Xn(t.code,t.message,t.data)}catch{return null}}function re(e,t,n){if(e==null)throw t??S.rpc.invalidParams({message:"value must be present",data:e})}function Ae(e,t){if(!Array.isArray(e))throw S.rpc.invalidParams({message:t??"value must be an array",data:e})}const xs=`Base Account SDK requires the Cross-Origin-Opener-Policy header to not be set to 'same-origin'. This is to ensure that the SDK can communicate with the Base Account app.
2
3Please see https://docs.base.org/smart-wallet/quickstart#cross-origin-opener-policy for more information.`,Es=()=>{let e;return{getCrossOriginOpenerPolicy:()=>e===void 0?"undefined":e,checkCrossOriginOpenerPolicy:async()=>{if(typeof window>"u"){e="non-browser-env";return}try{const t=`${window.location.origin}${window.location.pathname}`,n=await fetch(t,{method:"HEAD"});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const r=n.headers.get("Cross-Origin-Opener-Policy");e=r??"null",e==="same-origin"&&console.error(xs)}catch(t){console.error("Error checking Cross-Origin-Opener-Policy:",t.message),e="error"}}}},{checkCrossOriginOpenerPolicy:Ss,getCrossOriginOpenerPolicy:As}=Es();function ks(e){if(e){if(e.attribution&&e.attribution.auto!==void 0&&e.attribution.dataSuffix!==void 0)throw new Error("Attribution cannot contain both auto and dataSuffix properties");if(e.telemetry&&typeof e.telemetry!="boolean")throw new Error("Telemetry must be a boolean")}}function Er(e){if(typeof e!="function")throw new Error("toAccount is not a function")}var R;(function(e){e.unknown="unknown",e.banner="banner",e.button="button",e.card="card",e.chart="chart",e.content_script="content_script",e.dropdown="dropdown",e.link="link",e.page="page",e.modal="modal",e.table="table",e.search_bar="search_bar",e.service_worker="service_worker",e.text="text",e.text_input="text_input",e.tray="tray",e.checkbox="checkbox",e.icon="icon"})(R||(R={}));var L;(function(e){e.unknown="unknown",e.blur="blur",e.click="click",e.change="change",e.dismiss="dismiss",e.focus="focus",e.hover="hover",e.select="select",e.measurement="measurement",e.move="move",e.process="process",e.render="render",e.scroll="scroll",e.view="view",e.search="search",e.keyPress="keyPress",e.error="error"})(L||(L={}));var D;(function(e){e.low="low",e.high="high"})(D||(D={}));function F(e,t,n){var r,a,i;window.ClientAnalytics&&((r=window.ClientAnalytics)===null||r===void 0||r.logEvent(e,Object.assign(Object.assign({}
3,t),{sdkVersion:_e,sdkName:Dt,appName:(i=(a=x.config.get().metadata)===null||a===void 0?void 0:a.appName)!==null&&i!==void 0?i:"",appOrigin:window.location.origin}),n))}const Os=()=>{F("communicator.popup_setup.started",{action:L.unknown,componentType:R.unknown},D.high)},Ps=()=>{F("communicator.popup_setup.completed",{action:L.unknown,componentType:R.unknown},D.high)},Is=()=>{F("communicator.popup_unload.received",{action:L.unknown,componentType:R.unknown},D.high)},_n=({dialogContext:e})=>{F(`dialog.${e}.shown`,{action:L.render,componentType:R.modal,dialogContext:e},D.high)},ba=({dialogContext:e})=>{F(`dialog.${e}.dismissed`,{action:L.dismiss,componentType:R.modal,dialogContext:e},D.high)},Re=({dialogContext:e,dialogAction:t})=>{F(`dialog.${e}.action_clicked`,{action:L.click,componentType:R.button,dialogContext:e,dialogAction:t},D.high)},Cs
vendor: 52,291 bytes, lines 3-12
3=`
4@font-face {
5  font-family: "BaseSans-Regular";
6  src: url("data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAJigAA8AAAACCywAAJg8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGoIuG4L7BhzCdAZgAJIGEQgKg+k0gv4NC4p0AAE2AiQDlWQEIAWGfgeublsIz5EGVeP2TiXfSAJ0G0LBr7Zlqf6pcAA3dwBbquuITJr6o7y2YrpNHoSyAwBKe/rZ//////+/IlmMMf8PuQcEUUitMtva1oSQhGamQkxJxpSLWVScqgQ1RW16VovNJTZ2uagkVSeuNje11QubnvZpYVB7yUGi4thNqJYBdoegR2V9jiA4dEhCOgf3Va7muEqhcRKz0dDNOVV47+hxPO9qkzFCUg5glpCZxKbOGFxehX5nYwGEBZOQwyRFIY5oljSrLwkSIj35dugPRJKk8G3GwUgw06hpknM0qqcUdO/UkzLvviWielabhCp59zPCaOnnqLtK3qXfP4Jz+vAum7Q0/NuZGXK9lUJKTpCEJ7ENfKrSzrLJy8uqLLgUD5sssqscpk8OS7HhGv36H+Ct59wJukpOmwpgFOqL6vCNd0ISNjq/nA5E/OXNVV0dR7EKTAKiB1ZvW+tSlyr7EWdJ3qxDtA8codE8WQY4xkT9EJF26FGP+iQKnwv66klyovCkLwlr8Lxu3nv/5/MNMUKMiAhhDtdkGsM0RAwRI8QYaRhCUNgOUAO4Bi0u3DhL0aZoKaLFsXHublwTFwWef9oP2rlv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QHgAHpsBBAEBZBODgEQhlQ9M02rp3srA5pxUvYzSOoIlKTVvxlCFQdXmtrIU6M23TVHXnxpybFR2q0n0oGtxUtrZLDQrx9VX8xWL2MQ1TqQ/dLnEbObO+tMox40BUNWblCpOi7bKmbV0AFHbZirNFCzOtBwGZTd32dTB53RcxFFjyCLV2PEsIu915+ZmaNkSyxlHXLzOkKfTNxHHI38JVhtawdFurteI9E7eSVO9nK4gSUgx3msEz1qCOpAhB0ZjbF6w5z7RVvThX0nYhtKQon2eZu1hmrcOB8RrPzrLotXhZc9RU2dTMaVVWSycJnKNhUUqOPNeC2PX6ployg2P53yvWtdRW18JNkgT08wtzVXM2OBXqyg9VnhwPGOw07JshDKrapPfl/JZ9U1UQv8muyogzfjq3zcXfBk5dUaandemo1Lpu+gfxRS0quGhm0MTixgxyGUTXdZZIb8fSeJ5iIbyL6xxlDU1z1Ondoq5WK/TiBmGFViZDOT9TXHjq9J/1n/df9F/2X2XX2eLqMYT6Bda7m7tPU7tesjePu86yzG/3v77fxWK6k+sviyhq2vJhA9bGk3/X5eN/AAAA")
7    format("woff2");
8  font-weight: normal;
9  font-style: normal;
10  font-display: swap;
11}
12`,
12Sr="BaseSans-Regular";function Ts(){if(document.head.querySelector(`style[base-sdk-font="${Sr}"]`))return;const t=document.createElement("style");t.setAttribute("base-sdk-font",Sr),t.textContent=Cs,document.head.appendChild(t)}var Bs=0;function K(e,t,n,r,a,i){t||(t={});var c,o,s=t;"ref"in t&&(c=t.ref,delete t.ref);var u={type:e,props:s,key:n,ref:c,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Bs,__i:-1,__u:0,__source:a,__self:i};if(typeof e=="function"&&(c=e.defaultProps))for(o in c)s[o]===void 0&&(s[o]=c[o]);return lr.vnode&&lr.vnode(u),u}async function js(e){return Us(e)}function Us(e,t=4){return`${e.slice(0,2+t)}...${e.slice(-t)}`}const Ns="#FFF",Rs="#0000FF",Ls=({fill:e})=>K("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K("path",{d:"M0 2.014C0 1.58105 0 1.36457 0.0815779 1.19805C0.159686 1.03861 0.288611 0.909686 0.448049 0.831578C0.61457 0.75 0.831047 0.75 1.264 0.75H14.736C15.169 0.75 15.3854 0.75 15.552 0.831578C15.7114 0.909686 15.8403 1.03861 15.9184 1.19805C16 1.36457 16 1.58105 16 2.014V15.486C16 15.919 16 16.1354 15.9184 16.302C15.8403 16.4614 15.7114 16.5903 15.552 16.6684C15.3854 16.75 15.169 16.75 14.736 16.75H1.264C0.831047 16.75 0.61457 16.75 0.448049 16.6684C0.288611 16.5903 0.159686 16.4614 0.0815779 16.302C0 16.1354 0 15.919 0 15.486V2.014Z",fill:e==="blue"?Rs:Ns})}),Ds='.-base-acc-sdk-css-reset{-webkit-font-smoothing:antialiased;pointer-events:auto !important}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-container{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2147483647}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-container *{user-select:none;box-sizing:border-box}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;padding:20px}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-backdrop{align-items:flex-end;justify-content:stretch;padding:0}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog{position:relative;z-index:2147483648}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog{width:100%}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);width:380px;max-height:90vh;overflow:hidden;transform:scale(0.95);opacity:0;transition:all .2s ease-in-out}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance{touch-action:pan-y;user-select:none}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-hidden{transform:scale(0.9);opacity:0}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-hidden{transform:translateY(100%)}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance:not(.-base-acc-sdk-dialog-instance-hidden){transform:scale(1);opacity:1}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance:not(.-base-acc-sdk-dialog-instance-hidden){transform:translateY(0)}}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance{width:100%;max-width:100%;border-radius:20px 20px 0 0;box-shadow:0 -10px 25px rgba(0,0,0,.15);max-height:80vh;transform:translateY(0)}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-hidden{transform:translateY(100%);opacity:1}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance:not(.-base-acc-sdk-dialog-instance-hidden){transform:translateY(0);opacity:1}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 0 20px}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header{padding:16px 20px 12px 20px}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-icon-and-title{display:flex;align-items:center;gap:8px}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-icon-and-title-title{font-family:"BaseSans-Regular",sans-serif;font-size:14px;font-weight:400;color:#5b616e}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-cblogo{width:32px;height:32px}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;
12cursor:pointer;border-radius:6px;transition:background-color .2s}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-close:hover{background-color:#f5f7f8}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-close-icon{width:14px;height:14px}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-header-close-icon{display:none}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-content{padding:20px 20px 16px 20px;font-family:"BaseSans-Regular",sans-serif}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-content{padding:8px 20px 12px 20px}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-content-title{font-size:20px;font-weight:600;line-height:28px;color:#0a0b0d;margin-bottom:10px}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-content-message{font-size:16px;font-weight:400;line-height:24px;color:#5b616e;margin-bottom:0}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-actions{display:flex;padding:16px 20px 20px 20px;flex-direction:column}@media(max-width: 600px)and (orientation: portrait){.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-actions{padding:16px 20px calc(20px + env(safe-area-inset-bottom)) 20px;gap:6px}}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button{font-family:"BaseSans-Regular",sans-serif;font-size:16px;font-weight:500;line-height:24px;border:none;border-radius:12px;padding:16px 24px;cursor:pointer;transition:all .2s ease-in-out;width:100%;margin:4px 0}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button:disabled{opacity:.5;cursor:not-allowed}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button-primary{background-color:#0a0b0d;color:#fff}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button-primary:hover:not(:disabled){background-color:#1c1e20}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button-primary:active:not(:disabled){background-color:#2a2d31}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button-secondary{background-color:#eef0f3;color:#0a0b0d}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button-secondary:hover:not(:disabled){background-color:#e1e4e8}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-instance-button-secondary:active:not(:disabled){background-color:#d4d8dd}.-base-acc-sdk-css-reset .-base-acc-sdk-dialog-handle-bar{position:absolute;top:-16px;left:50%;transform:translateX(-50%);width:64px;height:4px;background-color:#d1d5db;border-radius:2px;opacity:0;animation:handleBarFadeIn .2s ease-in-out .2s forwards}@keyframes handleBarFadeIn{from{opacity:0}to{opacity:1}}',Ms="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzIDFMMSAxM20wLTEyTDEzIDEzIiBzdHJva2U9IiM5Q0EzQUYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+";function va(){return window.innerWidth<=600&&window.innerHeight>window.innerWidth}const Fs=()=>{const[e,t]=Ue(!1);return dn(()=>{const n=()=>{t(va())};return n(),window.addEventListener("resize",n),window.addEventListener("orientationchange",n),()=>{window.removeEventListener("resize",n),window.removeEventListener("orientationchange",n)}},[]),e?K("div",{class:"-base-acc-sdk-dialog-handle-bar"}):null};class Hs{constructor(){this.items=new Map,this.nextItemKey=0,this.root=null}attach(t){this.root=document.createElement("div"),this.root.className="-base-acc-sdk-dialog-root",t.appendChild(this.root),this.render()}presentItem(t){const n=this.nextItemKey++;this.items.set(n,t),this.render()}clear(){this.items.clear(),this.root&&pr(null,this.root)}render(){this.root&&pr(K("div",{children:K(Gs,{children:Array.from(this.items.entries()).map(([t,n])=>fi(zs,Object.assign({},n,{key:t,handleClose:()=>{var r;this.clear(),(r=n.onClose)===null||r===void 0||r.call(n)}})))})}),this.root)}}const Gs=e=>{const[t,n]=Ue(0),[r,a]=Ue(!1),[i,c]=Ue(0),o=l=>{if(!va())return;const d=l.touches[0];c(d.clientY),a(!0)},s=l=>{if(!r)return;const p=l.touches[0].clientY-i;p>0&&(n(p),l.preventDefault())},u=()=>{if(r)if(a(!1),t>100){const l=document.querySelector(".-base-acc-sdk-dialog-instance-header-close");l&&l.click()}else n(0)};return K("div",{class:un("-base-acc-sdk-dialog-container"),children:[K("style",{children:Ds}),K("div",{class:"-base-acc-sdk-dialog-backdrop",onTouchStart:o,onTouchMove:s,onTouchEnd:u,children:K("div",{class:"-base-acc-sdk-dialog",style:{transform:`translateY(${t}px)`,transition:r?"none":"transform 0.2s ease-out"},children:[K(Fs,{}),e.children]})})]})},zs=({title:e,message:t,actionItems:n,handleClose:r})=>{const[a,i]=Ue(!0),[c,o]=Ue(!0),[s,u]=Ue(null);dn(()=>{const p=window.setTimeout(()=>{i(!1)},1);return()=>{window.clearTimeout(p)}},[]),dn(()=>{(async()=>{var f;const m=(f=x.account.get().accounts)===null||f===void 0?void 0:f[0];if(m){const y=await js(m);u(y)}o(!1)})()},[]);const l=mi(()=>s?`Signed in as ${s}`:"Base Account",[s]),d=!c;return K("div",{class:un("-base-acc-sdk-dialog-instance",a&&"-base-acc-sdk-dialog-instance-hidden"),children:[K("div",{class:"-base-acc-sdk-dialog-instance-header",children:[K("div",{class:"-base-acc-sdk-dialog-instance-header-icon-and-title",children:[K(Ls,{fill:"blue"}),d&&K("div",{class:"-base-acc-sdk-dialog-instance-header-icon-and-title-title",children:l})]}),K("div",{class:"-base-acc-sdk-dialog-instance-header-close",onClick:r,children:K("img",{src:Ms,class:"-base-acc-sdk-dialog-instance-header-close-icon"})})]}),K("div",{class:"-base-acc-sdk-dialog-instance-content",children:[K("div",{class:"-base-acc-sdk-dialog-instance-content-title",children:e}),K("div",{class:"-base-acc-sdk-dialog-instance-content-message",children:t})]}),n&&n.length>0&&K("div",{class:"-base-acc-sdk-dialog-instance-actions",children:n.map((p,f)=>K("button",{class:un("-base-acc-sdk-dialog-instance-button",p.variant==="primary"&&"-base-acc-sdk-dialog-instance-button-primary",p.variant==="secondary"&&"-base-acc-sdk-dialog-instance-button-secondary"),onClick:p.onClick,children:p.text},f))})]})};let pt=null;function $n(){if(!pt){const e=document.createElement("div");e.className="-base-acc-sdk-css-reset",document.body.appendChild(e),pt=new Hs,pt.attach(e)}return Ts(),pt}const Ar=420,kr=700,Ks="{app} wants to continue in Base Account",Vs="This action requires your permission to open a new window.";function qs(e){const t=(window.innerWidth-Ar)/2+window.screenX,n=(window.innerHeight-kr)/2+window.screenY;Ws(e);function r(){const i=`wallet_${crypto.randomUUID()}`,c=window.open(e,i,`width=${Ar}, height=${kr}, left=${t}, top=${n}`);return c==null||c.focus(),c||null}const a=r();return a?Promise.resolve(a):Js(r)}function Zs(e){e&&!e.closed&&e.close()}
12function Ws(e){const t={sdkName:Dt,sdkVersion:_e,origin:window.location.origin,coop:As()};for(const[n,r]of Object.entries(t))e.searchParams.has(n)||e.searchParams.append(n,r.toString())}function Js(e){var t,n;const r=(n=(t=x.config.get().metadata)===null||t===void 0?void 0:t.appName)!==null&&n!==void 0?n:"App",a=$n();return new Promise((i,c)=>{_n({dialogContext:"popup_blocked"}),a.presentItem({title:Ks.replace("{app}",r),message:Vs,onClose:()=>{Re({dialogContext:"popup_blocked",dialogAction:"cancel"}),c(S.rpc.internal("Popup window was blocked"))},actionItems:[{text:"Try again",variant:"primary",onClick:()=>{Re({dialogContext:"popup_blocked",dialogAction:"confirm"});const o=e();o?i(o):c(S.rpc.internal("Popup window was blocked")),a.clear()}},{text:"Cancel",variant:"secondary",onClick:()=>{Re({dialogContext:"popup_blocked",dialogAction:"cancel"}),c(S.rpc.internal("Popup window was blocked")),a.clear()}}]})})}class Ys{constructor({url:t=Yi,metadata:n,preference:r}){this.popup=null,this.listeners=new Map,this.postMessage=async a=>{(await this.waitForPopupLoaded()).postMessage(a,this.url.origin)},this.postRequestAndWaitForResponse=async a=>{const i=this.onMessage(({requestId:c})=>c===a.id);return this.postMessage(a),await i},this.onMessage=async a=>new Promise((i,c)=>{const o=s=>{if(s.origin!==this.url.origin)return;const u=s.data;a(u)&&(i(u),window.removeEventListener("message",o),this.listeners.delete(o))};window.addEventListener("message",o),this.listeners.set(o,{reject:c})}),this.disconnect=()=>{Zs(this.popup),this.popup=null,this.listeners.forEach(({reject:a},i)=>{a(S.provider.userRejectedRequest("Request rejected")),window.removeEventListener("message",i)}),this.listeners.clear()},this.waitForPopupLoaded=async()=>this.popup&&!this.popup.closed?(this.popup.focus(),this.popup):(Os(),this.popup=await qs(this.url),this.onMessage(({event:a})=>a==="PopupUnload").then(()=>{this.disconnect(),Is()}).catch(()=>{}),this.onMessage(({event:a})=>a==="PopupLoaded").then(a=>
12{this.postMessage({requestId:a.id,data:{version:_e,sdkName:Dt,metadata:this.metadata,preference:this.preference,location:window.location.toString()}})}).then(()=>{if(!this.popup)throw S.rpc.internal();return Ps(),this.popup})),this.url=new URL(t),this.metadata=n,this.preference=r}}function Qs(e){const t=bs(_s(e),{shouldIncludeStack:!0}),n=new URL("https://docs.cloud.coinbase.com/wallet-sdk/docs/errors");return n.searchParams.set("version",_e),n.searchParams.set("code",t.code.toString()),n.searchParams.set("message",t.message),Object.assign(Object.assign({},t),{docUrl:n.href})}function Xs(e){return e.errorMessage!==void 0}function _s(e){var t;if(typeof e=="string")return{message:e,code:V.rpc.internal};if(Xs(e)){const n=e.errorMessage,r=(t=e.errorCode)!==null&&t!==void 0?t:n.match(/(denied|rejected)/i)?V.provider.userRejectedRequest:void 0;return Object.assign(Object.assign({},e),{message:n,code:r,data:{method:e.method}})}return e}var Qt={exports:{}},Or;function $s(){return Or||(Or=1,(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function a(s,u,l){this.fn=s,this.context=u,this.once=l||!1}function i(s,u,l,d,p){if(typeof l!="function")throw new TypeError("The listener must be a function");var f=new a(l,d||s,p),m=n?n+u:u;return s._events[m]?s._events[m].fn?s._events[m]=[s._events[m],f]:s._events[m].push(f):(s._events[m]=f,s._eventsCount++),s}function c(s,u){--s._eventsCount===0?s._events=new r:delete s._events[u]}function o(){this._events=new r,this._eventsCount=0}o.prototype.eventNames=function(){var u=[],l,d;if(this._eventsCount===0)return u;for(d in l=this._events)t.call(l,d)&&u.push(n?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(l)):u},o.prototype.listeners=function(u){var l=n?n+u:u,d=this._events[l];if(!d)return[];if(d.fn)return[d.fn];for(var p=0,f=d.length,m=new Array(f);p<f;p++)m[p]=d[p].fn;return m},o.prototype.listenerCount=function(u){var l=n?n+u:u,d=this._events[l];return d?d.fn?1:d.length:0},o.prototype.emit=function(u,l,d,p,f,m){var y=n?n+u:u;if(!this._events[y])return!1;var h=this._events[y],g=arguments.length,v,b;if(h.fn){switch(h.once&&this.removeListener(u,h.fn,void 0,!0),g){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,l),!0;case 3:return h.fn.call(h.context,l,d),!0;case 4:return h.fn.call(h.context,l,d,p),!0;case 5:return h.fn.call(h.context,l,d,p,f),!0;case 6:return h.fn.call(h.context,l,d,p,f,m),!0}for(b=1,v=new Array(g-1);b<g;b++)v[b-1]=arguments[b];h.fn.apply(h.context,v)}else{var w=h.length,k;for(b=0;b<w;b++)switch(h[b].once&&this.removeListener(u,h[b].fn,void 0,!0),g){case 1:h[b].fn.call(h[b].context);break;case 2:h[b].fn.call(h[b].context,l);break;case 3:h[b].fn.call(h[b].context,l,d);break;case 4:h[b].fn.call(h[b].context,l,d,p);break;default:if(!v)for(k=1,v=new Array(g-1);k<g;k++)v[k-1]=arguments[k];h[b].fn.apply(h[b].context,v)}}return!0},o.prototype.on=function(u,l,d){return i(this,u,l,d,!1)},o.prototype.once=function(u,l,d){return i(this,u,l,d,!0)},o.prototype.removeListener=function(u,l,d,p){var f=n?n+u:u;if(!this._events[f])return this;if(!l)return c(this,f),this;var m=this._events[f];if(m.fn)m.fn===l&&(!p||m.once)&&(!d||m.context===d)&&c(this,f);else{for(var y=0,h=[],g=m.length;y<g;y++)(m[y].fn!==l||p&&!m[y].once||d&&m[y].context!==d)&&h.push(m[y]);h.length?this._events[f]=h.length===1?h[0]:h:c(this,f)}return this},o.prototype.removeAllListeners=function(u){var l;return u?(l=n?n+u:u,this._events[l]&&c(this,l)):(this._events=new r,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=n,o.EventEmitter=o,e.exports=o})(Qt)),Qt.exports}var eo=$s();const to=Ki(eo);class no extends to{}const ro=({method:e,correlationId:t})=>{F("provider.request.started",{action:L.unknown,componentType:R.unknown,method:e,signerType:"base-account",correlationId:t},D.high)},ao=({method:e,correlationId:t,errorMessage:n})=>{F("provider.request.error",{action:L.error,componentType:R.unknown,method:e,signerType:"base-account",correlationId:t,errorMessage:n},D.high)},io=({method:e,correlationId:t})=>{F("provider.request.responded",{action:L.unknown,componentType:R.unknown,method:e,signerType:"base-account",correlationId:t},D.high)};function so(){return e=>e}const At=so();function Xt(e){return Math.floor(e)}const oo=/^[0-9]*$/,wa=/^[a-f0-9]*$/;function co(e){return[...e].map(t=>t.toString(16).padStart(2,"0")).join("")}function uo(e){return new Uint8Array(e.match(/.{1,2}/g).map(t=>
12Number.parseInt(t,16)))}function xa(e){return At(`0x${BigInt(e).toString(16)}`)}function lo(e){return e.startsWith("0x")||e.startsWith("0X")}function Ea(e){return lo(e)?e.slice(2):e}function po(e){if(typeof e!="string")return!1;const t=Ea(e).toLowerCase();return wa.test(t)}function yn(e,t=!1){if(typeof e=="string"){const n=Ea(e).toLowerCase();if(wa.test(n))return At(t?`0x${n}`:n)}throw S.rpc.invalidParams(`"${String(e)}" is not a hexadecimal string`)}function fo(e,t=!1){let n=yn(e,!1);return n.length%2===1&&(n=At(`0${n}`)),t?At(`0x${n}`):n}function mo(e){if(typeof e=="number"&&Number.isInteger(e))return Xt(e);if(typeof e=="string"){if(oo.test(e))return Xt(Number(e));if(po(e))return Xt(Number(BigInt(fo(e,!0))))}throw S.rpc.invalidParams(`Not an integer: ${String(e)}`)}const ho=({method:e,correlationId:t})=>{var n;F("scw_signer.handshake.started",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},yo=({method:e,correlationId:t,errorMessage:n})=>{var r;F("scw_signer.handshake.error",{action:L.error,componentType:R.unknown,method:e,correlationId:t,errorMessage:n,enableAutoSubAccounts:(r=x.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},D.high)},go=({method:e,correlationId:t})=>{var n;F("scw_signer.handshake.completed",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},bo=({method:e,correlationId:t})=>{var n;F("scw_signer.request.started",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},vo=({method:e,correlationId:t,errorMessage:n})=>{var r;F("scw_signer.request.error",{action:L.error,componentType:R.unknown,method:e,correlationId:t,errorMessage:n,enableAutoSubAccounts:(r=x.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},D.high)},wo=({method:e,correlationId:t})=>{var n;F("scw_signer.request.completed",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},xo=({method:e,correlationId:t})=>{var n;F("scw_sub_account.request.started",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},Eo=({method:e,correlationId:t})=>{var n;F("scw_sub_account.request.completed",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},So=({method:e,correlationId:t,errorMessage:n})=>{var r;F("scw_sub_account.request.error",{action:L.error,componentType:R.unknown,method:e,correlationId:t,errorMessage:n,enableAutoSubAccounts:(r=x.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},D.high)},Ao=({method:e,correlationId:t})=>{var n;F("scw_sub_account.add_owner.started",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},ko=({method:e,correlationId:t})=>{var n;F("scw_sub_account.add_owner.completed",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},Oo=({method:e,correlationId:t,errorMessage:n})=>{var r;F("scw_sub_account.add_owner.error",{action:L.error,componentType:R.unknown,method:e,correlationId:t,errorMessage:n,enableAutoSubAccounts:(r=x.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},D.high)},Po=({method:e,correlationId:t})=>{var n;F("scw_sub_account.insufficient_balance.error_handling.started",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},Io=({method:e,correlationId:t})=>{var n;F("scw_sub_account.insufficient_balance.error_handling.completed",{action:L.unknown,componentType:R.unknown,method:e,correlationId:t,enableAutoSubAccounts:(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.enableAutoSubAccounts},D.high)},Co=({method:e,correlationId:t,errorMessage:n})=>{var r;F("scw_sub_account.insufficient_balance.error_handling.error",{action:L.error,componentType:R.unknown,method:e,correlationId:t,errorMessage:n,enableAutoSubAccounts:(r=x.subAccountsConfig.get())===null||r===void 0?void 0:r.enableAutoSubAccounts},D.high)},nt=e=>"message"in e&&typeof e.message=="string"?e.message:"",To=[{inputs:[{name:"preOpGas",type:"uint256"},{name:"paid",type:"uint256"},{name:"validAfter",type:"uint48"},{name:"validUntil",type:"uint48"},{name:"targetSuccess",type:"bool"},{name:"targetResult",type:"bytes"}],name:"ExecutionResult",type:"error"},{inputs:[{name:"opIndex",type:"uint256"},{name:"reason",type:"string"}],name:"FailedOp",type:"error"},{inputs:[{name:"sender",type:"address"}],name:"SenderAddressResult",type:"error"},{inputs:[{name:"aggregator",type:"address"}],name:"SignatureValidationFailed",type:"error"},{inputs:[{components:[{name:"preOpGas",type:"uint256"},{name:"prefund",type:"uint256"},{name:"sigFailed",type:"bool"},{name:"validAfter",type:"uint48"},{name:"validUntil",type:"uint48"},{name:"paymasterContext",type:"bytes"}],name:"returnInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"senderInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"factoryInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"paymasterInfo",type:"tuple"}],name:"ValidationResult",type:"error"},{inputs:[{components:[{name:"preOpGas",type:"uint256"},{name:"prefund",type:"uint256"},{name:"sigFailed",type:"bool"},{name:"validAfter",type:"uint48"},{name:"validUntil",type:"uint48"},{name:"paymasterContext",type:"bytes"}],name:"returnInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"senderInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"factoryInfo",type:"tuple"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"paymasterInfo",type:"tuple"},{components:[{name:"aggregator",type:"address"},{components:[{name:"stake",type:"uint256"},{name:"unstakeDelaySec",type:"uint256"}],name:"stakeInfo",type:"tuple"}],name:"aggregatorInfo",type:"tuple"}],name:"ValidationResultWithAggregation",type:"error"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"factory",type:"address"},{indexed:!1,name:"paymaster",type:"address"}],name:"AccountDeployed",type:"event"},{anonymous:!1,inputs:[],name:"BeforeExecution",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"totalDeposit",type:"uint256"}],name:"Deposited",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"aggregator",type:"address"}],name:"SignatureAggregatorChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"totalStaked",type:"uint256"},{indexed:!1,name:"unstakeDelaySec",type:"uint256"}],name:"StakeLocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawTime",type:"uint256"}],name:"StakeUnlocked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawAddress",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"StakeWithdrawn",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!0,name:"paymaster",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"success",type:"bool"},{indexed:!1,name:"actualGasCost",type:"uint256"},{indexed:!1,name:"actualGasUsed",type:"uint256"}],name:"UserOperationEvent",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"userOpHash",type:"bytes32"},{indexed:!0,name:"sender",type:"address"},{indexed:!1,name:"nonce",type:"uint256"},{indexed:!1,name:"revertReason",type:"bytes"}],name:"UserOperationRevertReason",type:"event"},{anonymous:!1,inputs:[{indexed:!0,name:"account",type:"address"},{indexed:!1,name:"withdrawAddress",type:"address"},{indexed:!1,name:"amount",type:"uint256"}],name:"Withdrawn",type:"event"},{inputs:[],name:"SIG_VALIDATION_FAILED",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"initCode",type:"bytes"},{name:"sender",type:"address"},{name:"paymasterAndData",type:"bytes"}],name:"_validateSenderAndPaymaster",outputs:[],stateMutability:"view",type:"function"},{inputs:[{name:"unstakeDelaySec",type:"uint32"}],name:"addStake",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"account",type:"address"}],name:"balanceOf",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"depositTo",outputs:[],stateMutability:"payable",type:"function"},{inputs:[{name:"",type:"address"}],name:"deposits",outputs:[{name:"deposit",type:"uint112"},{name:"staked",type:"bool"},{name:"stake",type:"uint112"},{name:"unstakeDelaySec",type:"uint32"},{name:"withdrawTime",type:"uint48"}],stateMutability:"view",type:"function"},{inputs:[{name:"account",type:"address"}],name:"getDepositInfo",outputs:[{components:[{name:"deposit",type:"uint112"},{name:"staked",type:"bool"},{name:"stake",type:"uint112"},{name:"unstakeDelaySec",type:"uint32"},{name:"withdrawTime",type:"uint48"}],name:"info",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{name:"sender",type:"address"},{name:"key",type:"uint192"}],name:"getNonce",outputs:[{name:"nonce",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{name:"initCode",type:"bytes"}],name:"getSenderAddress",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"getUserOpHash",outputs:[{name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{components:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOps",type:"tuple[]"},{name:"aggregator",type:"address"},{name:"signature",type:"bytes"}],name:"opsPerAggregator",type:"tuple[]"},{name:"beneficiary",type:"address"}],name:"handleAggregatedOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"ops",type:"tuple[]"},{name:"beneficiary",type:"address"}],name:"handleOps",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"key",type:"uint192"}],name:"incrementNonce",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"callData",type:"bytes"},{components:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"paymaster",type:"address"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"}],name:"mUserOp",type:"tuple"},{name:"userOpHash",type:"bytes32"},{name:"prefund",type:"uint256"},{name:"contextOffset",type:"uint256"},{name:"preOpGas",type:"uint256"}],name:"opInfo",type:"tuple"},{name:"context",type:"bytes"}],name:"innerHandleOp",outputs:[{name:"actualGasCost",type:"uint256"}],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"",type:"address"},{name:"",type:"uint192"}],name:"nonceSequenceNumber",outputs:[{name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"op",type:"tuple"},{name:"target",type:"address"},{name:"targetCallData",type:"bytes"}],name:"simulateHandleOp",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{components:[{name:"sender",type:"address"},{name:"nonce",type:"uint256"},{name:"initCode",type:"bytes"},{name:"callData",type:"bytes"},{name:"callGasLimit",type:"uint256"},{name:"verificationGasLimit",type:"uint256"},{name:"preVerificationGas",type:"uint256"},{name:"maxFeePerGas",type:"uint256"},{name:"maxPriorityFeePerGas",type:"uint256"},{name:"paymasterAndData",type:"bytes"},{name:"signature",type:"bytes"}],name:"userOp",type:"tuple"}],name:"simulateValidation",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"unlockStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"withdrawAddress",type:"address"}],name:"withdrawStake",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{name:"withdrawAddress",type:"address"},{name:"withdrawAmount",type:"uint256"}],name:"withdrawTo",outputs:[],stateMutability:"nonpayable",type:"function"},{stateMutability:"payable",type:"receive"}],Bo="0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";function Sa(e,t={}){const{forHash:n}=t,{authorization:r,factory:a,factoryData:i}=e;return n&&(a==="0x7702"||a==="0x7702000000000000000000000000000000000000")?r?Ne([r.address,i??"0x"]):"0x7702000000000000000000000000000000000000":a?Ne([a,i??"0x"]):"0x"}const Pr="0x22e325a297439656";function Aa(e,t={}){const{callGasLimit:n,callData:r,maxPriorityFeePerGas:a,maxFeePerGas:i,paymaster:c,paymasterData:o,paymasterPostOpGasLimit:s,paymasterSignature:u,paymasterVerificationGasLimit:l,sender:d,signature:p="0x",verificationGasLimit:f}=e,m=Ne([se(N(f||0n),{size:16}),se(N(n||0n),{size:16})]),y=Sa(e,t),h=Ne([se(N(a||0n),{size:16}),se(N(i||0n),{size:16})]),g=e.nonce??0n,v=c?Ne([c,se(N(l||0n),{size:16}),se(N(s||0n),{size:16}),o||"0x",...u?t.forHash?[Pr]:[u,se(N(ea(u)),{size:2}),Pr]:[]]):"0x",b=e.preVerificationGas??0n;return{accountGasLimits:m,callData:r,initCode:y,gasFees:h,nonce:g,paymasterAndData:v,preVerificationGas:b,sender:d,signature:p}}const jo={PackedUserOperation:[{type:"address",name:"sender"},{type:"uint256",name:"nonce"},{type:"bytes",name:"initCode"},{type:"bytes",name:"callData"},{type:"bytes32",name:"accountGasLimits"},{type:"uint256",name:"preVerificationGas"},{type:"bytes32",name:"gasFees"},{type:"bytes",name:"paymasterAndData"}]};function Uo(e){const{chainId:t,entryPointAddress:n,userOperation:r}=e,a=Aa(r,{forHash:!0});return{types:jo,primaryType:"PackedUserOperation",domain:{name:"ERC4337",version:"1",chainId:t,verifyingContract:n},message:a}}function No(e){const{chainId:t,entryPointAddress:n,entryPointVersion:r}=e,a=e.userOperation,{authorization:i,callData:c="0x",callGasLim
12it:o,maxFeePerGas:s,maxPriorityFeePerGas:u,nonce:l,paymasterAndData:d="0x",preVerificationGas:p,sender:f,verificationGasLimit:m}=a;if(r==="0.8"||r==="0.9")return Lt(Uo({chainId:t,entryPointAddress:n,userOperation:a}));const y=(()=>{var h,g;if(r==="0.6"){const v=(h=a.initCode)==null?void 0:h.slice(0,42),b=(g=a.initCode)==null?void 0:g.slice(42),w=Sa({authorization:i,factory:v,factoryData:b},{forHash:!0});return st([{type:"address"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"uint256"},{type:"bytes32"}],[f,l,me(w),me(c),o,m,p,s,u,me(d)])}if(r==="0.7"){const v=Aa(a,{forHash:!0});return st([{type:"address"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"},{type:"bytes32"},{type:"uint256"},{type:"bytes32"},{type:"bytes32"}],[v.sender,v.nonce,me(v.initCode),me(v.callData),v.accountGasLimits,v.preVerificationGas,v.gasFees,me(v.paymasterAndData)])}throw new Error(`entryPointVersion "${r}" not supported.`)})();return me(st([{type:"bytes32"},{type:"address"},{type:"uint256"}],[me(y),n,BigInt(t)]))}async function Ro(e){const{extend:t,nonceKeyManager:n=Vi({source:{get(){return Date.now()},set(){}}}),...r}=e;let a=!1;const i=await e.getAddress();return{...t,...r,address:i,async getFactoryArgs(){return"isDeployed"in this&&await this.isDeployed()?{factory:void 0,factoryData:void 0}:e.getFactoryArgs()},async getNonce(c){const o=(c==null?void 0:c.key)??BigInt(await n.consume({address:i,chainId:e.client.chain.id,client:e.client}));return e.getNonce?await e.getNonce({...c,key:o}):await ln(e.client,{abi:hi(["function getNonce(address, uint192) pure returns (uint256)"]),address:e.entryPoint.address,functionName:"getNonce",args:[i,o]})},async isDeployed(){return a?!0:(a=!!await ge(e.client,ta,"getCode")({address:i}),a)},...e.sign?{async sign(c){const[{factory:o,factoryData:s},u]=await Promise.all([this.getFactoryArgs(),e.sign(c)]);return o&&s?Yt({address:o,data:s,signature:u}):u}}:{},async signMessage(c){const[{factory:o,factoryData:s},u]=await Promise.all([this.getFactoryArgs(),e.signMessage(c)]);return o&&s&&o!=="0x7702"?Yt({address:o,data:s,signature:u}):u},async signTypedData(c){const[{factory:o,factoryData:s},u]=await Promise.all([this.getFactoryArgs(),e.signTypedData(c)]);return o&&s&&o!=="0x7702"?Yt({address:o,data:s,signature:u}):u},type:"smart"}}class gn extends B{constructor({cause:t}){super("Smart Account is not deployed.",{cause:t,metaMessages:["This could arise when:","- No `factory`/`factoryData` or `initCode` properties are provided for Smart Account deployment.","- An incorrect `sender` address is provided."],name:"AccountNotDeployedError"})}}Object.defineProperty(gn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa20/});class Ze extends B{constructor({cause:t,data:n,message:r}={}){var i;const a=(i=r==null?void 0:r.replace("execution reverted: ",""))==null?void 0:i.replace("execution reverted","");super(`Execution reverted ${a?`with reason: ${a}`:"for an unknown reason"}.`,{cause:t,name:"ExecutionRevertedError"}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=n}}Object.defineProperty(Ze,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32521});Object.defineProperty(Ze,"message",{enumerable:!0,configurable:!0,writable:!0,value:/execution reverted/});class bn extends B{constructor({cause:t}){super("Failed to send funds to beneficiary.",{cause:t,name:"FailedToSendToBeneficiaryError"})}}Object.defineProperty(bn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa91/});class vn extends B{constructor({cause:t}){super("Gas value overflowed.",{cause:t,metaMessages:["This could arise when:","- one of the gas values exceeded 2**120 (uint120)"].filter(
vendor: 8,437 bytes, lines 12-15
12Boolean),name:"GasValuesOverflowError"})}}Object.defineProperty(vn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa94/});class wn extends B{constructor({cause:t}){super("The `handleOps` function was called by the Bundler with a gas limit too low.",{cause:t,name:"HandleOpsOutOfGasError"})}}Object.defineProperty(wn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa95/});class xn extends B{constructor({cause:t,factory:n,factoryData:r,initCode:a}){super("Failed to simulate deployment for Smart Account.",{cause:t,metaMessages:["This could arise when:","- Invalid `factory`/`factoryData` or `initCode` properties are present","- Smart Account deployment execution ran out of gas (low `verificationGasLimit` value)",`- Smart Account deployment execution reverted with an error
13`,n&&`factory: ${n}`,r&&`factoryData: ${r}`,a&&`initCode: ${a}`].filter(Boolean),name:"InitCodeFailedError"})}}Object.defineProperty(xn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa13/});class En extends B{constructor({cause:t,factory:n,factoryData:r,initCode:a}){super("Smart Account initialization implementation did not create an account.",{cause:t,metaMessages:["This could arise when:","- `factory`/`factoryData` or `initCode` properties are invalid",`- Smart Account initialization implementation is incorrect
14`,n&&`factory: ${n}`,r&&`factoryData: ${r}`,a&&`initCode: ${a}`].filter(Boolean),name:"InitCodeMustCreateSenderError"})}}Object.defineProperty(En,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa15/});class Sn extends B{constructor({cause:t,factory:n,factoryData:r,initCode:a,sender:i}){super("Smart Account initialization implementation does not return the expected sender.",{cause:t,metaMessages:["This could arise when:",`Smart Account initialization implementation does not return a sender address
15`,n&&`factory: ${n}`,r&&`factoryData: ${r}`,a&&`initCode: ${a}`,i&&`sender: ${i}`].filter(Boolean),name:"InitCodeMustReturnSenderError"})}}Object.defineProperty(Sn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa14/});class An extends B{constructor({cause:t}){super("Smart Account does not have sufficient funds to execute the User Operation.",{cause:t,metaMessages:["This could arise when:","- the Smart Account does not have sufficient funds to cover the required prefund, or","- a Paymaster was not provided"].filter(Boolean),name:"InsufficientPrefundError"})}}Object.defineProperty(An,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa21/});class kn extends B{constructor({cause:t}){super("Bundler attempted to call an invalid function on the EntryPoint.",{cause:t,name:"InternalCallOnlyError"})}}Object.defineProperty(kn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa92/});class On extends B{constructor({cause:t}){super("Bundler used an invalid aggregator for handling aggregated User Operations.",{cause:t,name:"InvalidAggregatorError"})}}Object.defineProperty(On,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa96/});class Pn extends B{constructor({cause:t,nonce:n}){super("Invalid Smart Account nonce used for User Operation.",{cause:t,metaMessages:[n&&`nonce: ${n}`].filter(Boolean),name:"InvalidAccountNonceError"})}}Object.defineProperty(Pn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa25/});class In extends B{constructor({cause:t}){super("Bundler has not set a beneficiary address.",{cause:t,name:"InvalidBeneficiaryError"})}}Object.defineProperty(In,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa90/});class kt extends B{constructor({cause:t}){super("Invalid fields set on User Operation.",{cause:t,name:"InvalidFieldsError"})}}Object.defineProperty(kt,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class Cn extends B{constructor({cause:t,paymasterAndData:n}){super("Paymaster properties provided are invalid.",{cause:t,metaMessages:["This could arise when:","- the `paymasterAndData` property is of an incorrect length\n",n&&`paymasterAndData: ${n}`].filter(Boolean),name:"InvalidPaymasterAndDataError"})}}Object.defineProperty(Cn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa93/});class je extends B{constructor({cause:t}){super("Paymaster deposit for the User Operation is too low.",{cause:t,metaMessages:["This could arise when:","- the Paymaster has deposited less than the expected amount via the `deposit` function"].filter(Boolean),name:"PaymasterDepositTooLowError"})}}Object.defineProperty(je,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32508});Object.defineProperty(je,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa31/});class Tn extends B{constructor({cause:t}){super("The `validatePaymasterUserOp` function on the Paymaster reverted.",{cause:t,name:"PaymasterFunctionRevertedError"})}}Object.defineProperty(Tn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa33/});class Bn extends B{constructor({cause:t}){super("The Paymaster contract has not been deployed.",{cause:t,name:"PaymasterNotDeployedError"})}}Object.defineProperty(Bn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa30/});class Ot extends B{constructor({cause:t}){super("UserOperation rejected because paymaster (or signature aggregator) is throttled/banned.",{cause:t,name:"PaymasterRateLimitError"})}}Object.defineProperty(Ot,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32504});class Pt extends B{constructor({cause:t}){super("UserOperation rejected because paymaster (or signature aggregator) stake or unstake-delay is too low.",{cause:t,name:"PaymasterStakeTooLowError"})}}Object.defineProperty(Pt,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32505});class jn extends B{constructor({cause:t}){super("Paymaster `postOp` function reverted.",{cause:t,name:"PaymasterPostOpFunctionRevertedError"})}}Object.defineProperty(jn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa50/});class Un extends B{constructor({cause:t,factory:n,factoryData:r,initCode:a}){super("Smart Account has already been deployed.",{cause:t,metaMessages:["Remove the following properties and try again:",n&&"`factory`",r&&"`factoryData`",a&&"`initCode`"].filter(Boolean),name:"SenderAlreadyConstructedError"})}}Object.defineProperty(Un,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa10/});class It extends B{constructor({cause:t}){super("UserOperation rejected because account signature check failed (or paymaster signature, if the paymaster uses its data as signature).",{cause:t,name:"SignatureCheckFailedError"})}}Object.defineProperty(It,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32507});class Nn extends B{constructor({cause:t}){super("The `validateUserOp` function on the Smart Account reverted.",{cause:t,name:"SmartAccountFunctionRevertedError"})}}Object.defineProperty(Nn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa23/});class Ct extends B{constructor({cause:t}){super("UserOperation rejected because account specified unsupported signature aggregator.",{cause:t,name:"UnsupportedSignatureAggregatorError"})}}Object.defineProperty(Ct,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32506});class Rn extends B{constructor({cause:t}){super("User Operation expired.",{cause:t,metaMessages:["This could arise when:","- the `validAfter` or `validUntil` values returned from `validateUserOp` on the Smart Account are not satisfied"].filter(Boolean),name:"UserOperationExpiredError"})}}Object.defineProperty(Rn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa22/});class Ln extends B{constructor({cause:t}){super("Paymaster for User Operation expired.",{cause:t,metaMessages:["This could arise when:","- the `validAfter` or `validUntil` values returned from `validatePaymasterUserOp` on the Paymaster are not satisfied"].filter(Boolean),name:"UserOperationPaymasterExpiredError"})}}Object.defineProperty(Ln,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa32/});class Dn extends B{constructor({cause:t}){super("Signature provided for the User Operation is invalid.",{cause:t,metaMessages:["This could arise when:","- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Smart Account"].filter(Boolean),name:"UserOperationSignatureError"})}}Object.defineProperty(Dn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa24/});class Mn extends B{constructor({cause:t}
15){super("Signature provided for the User Operation is invalid.",{cause:t,metaMessages:["This could arise when:","- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster"].filter(Boolean),name:"UserOperationPaymasterSignatureError"})}}Object.defineProperty(Mn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa34/});class Tt extends B{constructor({cause:t}){super("User Operation rejected by EntryPoint's `simulateValidation` during account creation or validation.",{cause:t,name:"UserOperationRejectedByEntryPointError"})}}Object.defineProperty(Tt,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32500});class Bt extends B{constructor({cause:t}){super("User Operation rejected by Paymaster's `validatePaymasterUserOp`.",{cause:t,name:"UserOperationRejectedByPaymasterError"})}}Object.defineProperty(Bt,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32501});class jt extends B{constructor({cause:t}){super("User Operation rejected with op code validation error.",{cause:t,name:"UserOperationRejectedByOpCodeError"})}}Object.defineProperty(jt,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32502});class Ut extends B{constructor({cause:t}){super("UserOperation out of time-range: either wallet or paymaster returned a time-range, and it is already expired (or will expire soon).",{cause:t,name:"UserOperationOutOfTimeRangeError"})}}Object.defineProperty(Ut,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32503});class Lo extends B{constructor({cause:t}){super(`An error occurred while executing user operation: ${t==null?void 0:t.shortMessage}`,{cause:t,name:"UnknownBundlerError"})}}class Fn extends B{constructor({cause:t}){super("User Operation verification gas limit exceeded.",{cause:t,metaMessages:["This could arise when:","- the gas used for verification exceeded the `verificationGasLimit`"].filter(Boolean),name:"VerificationGasLimitExceededError"})}}Object.defineProperty(Fn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa40/});class Hn extends B{constructor({cause:t}){super("User Operation verification gas limit is too low.",{cause:t,metaMessages:["This could arise when:","- the `verificationGasLimit` is too low to verify the User Operation"].filter(Boolean),name:"VerificationGasLimitTooLowError"})}}Object.defineProperty(Hn,"message",{enumerable:!0,configurable:!0,writable:!0,value:/aa41/});class Do extends B{constructor(t,{callData:n,callGasLimit:r,docsPath:a,factory:i,factoryData:c,initCode:o,maxFeePerGas:s,maxPriorityFeePerGas:u,nonce:l,paymaster:d,paymasterAndData:p,paymasterData:f,paymasterPostOpGasLimit:m,paymasterVerificationGasLimit:y,preVerificationGas:h,sender:g,signature:v,verificationGasLimit:b}){const w=yi({callData:n,callGasLimit:r,factory:i,factoryData:c,initCode:o,maxFeePerGas:typeof s<"u"&&`${fr(s)} gwei`,maxPriorityFeePerGas:typeof u<"u"&&`${fr(u)} gwei`,nonce:l,paymaster:d,paymasterAndData:p,paymasterData:f,paymasterPostOpGasLimit:m,paymasterVerificationGasLimit:y,preVerificationGas:h,sender:g,signature:v,verificationGasLimit:b});super(t.shortMessage,{cause:t,docsPath:a,metaMessages:[...t.metaMessages?[...t.metaMessages," "]:[],"Request Arguments:",w].filter(Boolean),name:"UserOperationExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=t}}class Mo extends B{constructor({hash:t}){super(`User Operation receipt with hash "${t}" could not be found. The User Operation may not have been processed yet.`,{name:"UserOperationReceiptNotFoundError"})}}class Fo extends B{constructor({hash:t}){super(`User Operation with hash "${t}" could not be found.`,{name:"UserOperationNotFoundError"})}}class Ir extends B{constructor({hash:t}){super(`Timed out while waiting for User Operation with hash "${t}" to be confirmed.`,{name:"WaitForUserOperationReceiptTimeoutError"})}}const Ho=[Ze,kt,je,Ot,Pt,It,Ct,Ut,Tt,Bt,jt];function Go(e,t){const n=(e.details||"").toLowerCase();if(gn.message.test(n))return new gn({cause:e});if(bn.message.test(n))return new bn({cause:e});if(vn.message.test(n))return new vn({cause:e});if(wn.message.test(n))return new wn({cause:e});if(xn.message.test(n))return new xn({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(En.message.test(n))return new En({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(Sn.message.test(n))return new Sn({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode,sender:t.sender});if(An.message.test(n))return new An({cause:e});if(kn.message.test(n))return new kn({cause:e});if(Pn.message.test(n))return new Pn({cause:e,nonce:t.nonce});if(On.message.test(n))return new On({cause:e});if(In.message.test(n))return new In({cause:e});if(Cn.message.test(n))return new Cn({cause:e});if(je.message.test(n))return new je({cause:e});if(Tn.message.test(n))return new Tn({cause:e});if(Bn.message.test(n))return new Bn({cause:e});if(jn.message.test(n))return new jn({cause:e});if(Nn.message.test(n))return new Nn({cause:e});if(Un.message.test(n))return new Un({cause:e,factory:t.factory,factoryData:t.factoryData,initCode:t.initCode});if(Rn.message.test(n))return new Rn({cause:e});if(Ln.message.test(n))return new Ln({cause:e});if(Mn.message.test(n))return new Mn({cause:e});if(Dn.message.test(n))return new Dn({cause:e});if(Fn.message.test(n))return new Fn({cause:e});if(Hn.message.test(n))return new Hn({cause:e});const r=e.walk(a=>Ho.some(i=>i.code===a.code));if(r){if(r.code===Ze.code)return new Ze({cause:e,data:r.data,message:r.details});if(r.code===kt.code)return new kt({cause:e});if(r.code===je.code)return new je({cause:e});if(r.code===Ot.code)return new Ot({cause:e});if(r.code===Pt.code)return new Pt({cause:e});if(r.code===It.code)return new It({cause:e});if(r.code===Ct.code)return new Ct({cause:e});if(r.code===Ut.code)return new Ut({cause:e});if(r.code===Tt.code)return new Tt({cause:e});if(r.code===Bt.code)return new Bt({cause:e});if(r.code===jt.code)return new jt({cause:e})}return new Lo({cause:e})}function ka(e,{calls:t,docsPath:n,...r}){const a=(()=>{const i=Go(e,r);if(t&&i instanceof Ze){const c=zo(i),o=t==null?void 0:t.filter(s=>s.abi);if(c&&o.length>0)return Ko({calls:o,revertData:c})}return i})();return new Do(a,{docsPath:n,...r})}function zo(e){let t;return e.walk(n=>{var a,i,c,o;const r=n;
15if(typeof r.data=="string"||typeof((a=r.data)==null?void 0:a.revertData)=="string"||!(r instanceof B)&&typeof r.message=="string"){const s=(o=(c=((i=r.data)==null?void 0:i.revertData)||r.data||r.message).match)==null?void 0:o.call(c,/(0x[A-Za-z0-9]*)/);if(s)return t=s[1],!0}return!1}),t}function Ko(e){const{calls:t,revertData:n}=e,{abi:r,functionName:a,args:i,to:c}=(()=>{const s=t==null?void 0:t.filter(l=>!!l.abi);if(s.length===1)return s[0];const u=s.filter(l=>{try{return!!gi({abi:l.abi,data:n})}catch{return!1}});return u.length===1?u[0]:{abi:[],functionName:s.reduce((l,d)=>`${l?`${l} | `:""}${d.functionName}`,""),args:void 0,to:void 0}})(),o=n==="0x"?new bi({functionName:a}):new vi({abi:r,data:n,functionName:a});return new wi(o,{abi:r,args:i,contractAddress:c,functionName:a})}function Vo(e){const t={};return e.callGasLimit&&(t.callGasLimit=BigInt(e.callGasLimit)),e.preVerificationGas&&(t.preVerificationGas=BigInt(e.preVerificationGas)),e.verificationGasLimit&&(t.verificationGasLimit=BigInt(e.verificationGasLimit)),e.paymasterPostOpGasLimit&&(t.paymasterPostOpGasLimit=BigInt(e.paymasterPostOpGasLimit)),e.paymasterVerificationGasLimit&&(t.paymasterVerificationGasLimit=BigInt(e.paymasterVerificationGasLimit)),t}function Mt(e){const t={};return typeof e.callData<"u"&&(t.callData=e.callData),typeof e.callGasLimit<"u"&&(t.callGasLimit=N(e.callGasLimit)),typeof e.factory<"u"&&(t.factory=e.factory),typeof e.factoryData<"u"&&(t.factoryData=e.factoryData),typeof e.initCode<"u"&&(t.initCode=e.initCode),typeof e.maxFeePerGas<"u"&&(t.maxFeePerGas=N(e.maxFeePerGas)),typeof e.maxPriorityFeePerGas<"u"&&(t.maxPriorityFeePerGas=N(e.maxPriorityFeePerGas)),typeof e.nonce<"u"&&(t.nonce=N(e.nonce)),typeof e.paymaster<"u"&&(t.paymaster=e.paymaster),typeof e.paymasterAndData<"u"&&(t.paymasterAndData=e.paymasterAndData||"0x"),typeof e.paymasterData<"u"&&(t.paymasterData=e.paymasterData),typeof e.paymasterPostOpGasLimit<"u"&&(t.paymasterPostOpGasLimit=N(e.paymasterPostOpGasLimit)),typeof e.paymasterSignature<"u"&&(t.paymasterSignature=e.paymasterSignature),typeof e.paymasterVerificationGasLimit<"u"&&(t.paymasterVerificationGasLimit=N(e.paymasterVerificationGasLimit)),typeof e.preVerificationGas<"u"&&(t.preVerificationGas=N(e.preVerificationGas)),typeof e.sender<"u"&&(t.sender=e.sender),typeof e.signature<"u"&&(t.signature=e.signature),typeof e.verificationGasLimit<"u"&&(t.verificationGasLimit=N(e.verificationGasLimit)),typeof e.authorization<"u"&&(t.eip7702Auth=qo(e.authorization)),t}function qo(e){return{address:e.address,chainId:N(e.chainId),nonce:N(e.nonce),r:e.r?N(BigInt(e.r),{size:32}):se("0x",{size:32}),s:e.s?N(BigInt(e.s),{size:32}):se("0x",{size:32}),yParity:typeof e.yParity<"u"?N(e.yParity,{size:1}):se("0x",{size:32})}}async function Zo(e,t){const{chainId:n,entryPointAddress:r,context:a,...i}=t,c=Mt(i),{paymasterPostOpGasLimit:o,paymasterVerificationGasLimit:s,...u}=await e.request({method:"pm_getPaymasterData",params:[{...c,callGasLimit:c.callGasLimit??"0x0",verificationGasLimit:c.verificationGasLimit??"0x0",preVerificationGas:c.preVerificationGas??"0x0"},r,N(n),a]});return{...u,...o&&{paymasterPostOpGasLimit:ke(o)},...s&&{paymasterVerificationGasLimit:ke(s)}}}async function Wo(e,t){const{chainId:n,entryPointAddress:r,context:a,...i}=t,c=Mt(i),{paymasterPostOpGasLimit:o,paymasterVerificationGasLimit:s,...u}=await e.request({method:"pm_getPaymasterStubData",params:[{...c,callGasLimit:c.callGasLimit??"0x0",verificationGasLimit:c.verificationGasLimit??"0x0",preVerificationGas:c.preVerificationGas??"0x0"},r,N(n),a]});return{...u,...o&&{paymasterPostOpGasLimit:ke(o)},...s&&{paymasterVerificationGasLimit:ke(s)}}}const Jo=["factory","fees","gas","paymaster","nonce","signature","authorization"];async function er(e,t){var I,T;const n=t,{account:r=e.account,dataSuffix:a=typeof e.dataSuffix=="string"?e.dataSuffix:(I=e.dataSuffix)==null?void 0:I.value,parameters:i=Jo,stateOverride:c}=n;if(!r)throw new Wn;const o=Jn(r),s=e,u=n.paymaster??(s==null?void 0:s.paymaster),l=typeof u=="string"?u:void 0,{getPaymasterStubData:d,getPaymasterData:p}=(()=>
15{if(u===!0)return{getPaymasterStubData:E=>ge(s,Wo,"getPaymasterStubData")(E),getPaymasterData:E=>ge(s,Zo,"getPaymasterData")(E)};if(typeof u=="object"){const{getPaymasterStubData:E,getPaymasterData:j}=u;return{getPaymasterStubData:j&&E?E:j,getPaymasterData:j&&E?j:void 0}}return{getPaymasterStubData:void 0,getPaymasterData:void 0}})(),f=n.paymasterContext?n.paymasterContext:s==null?void 0:s.paymasterContext;let m={...n,paymaster:l,sender:o.address};const[y,h,g,v,b]=await Promise.all([(async()=>n.calls?o.encodeCalls(n.calls.map(E=>{const j=E;return j.abi?{data:de(j),to:j.to,value:j.value}:j})):n.callData)(),(async()=>{if(!i.includes("factory"))return;if(n.initCode)return{initCode:n.initCode};if(n.factory&&n.factoryData)return{factory:n.factory,factoryData:n.factoryData};const{factory:E,factoryData:j}=await o.getFactoryArgs();return o.entryPoint.version==="0.6"?{initCode:E&&j?Ne([E,j]):void 0}:{factory:E,factoryData:j}})(),(async()=>{var E;if(i.includes("fees")){if(typeof n.maxFeePerGas=="bigint"&&typeof n.maxPriorityFeePerGas=="bigint")return m;if((E=s==null?void 0:s.userOperation)!=null&&E.estimateFeesPerGas){const j=await s.userOperation.estimateFeesPerGas({account:o,bundlerClient:s,userOperation:m});return{...m,...j}}try{const j=s.client??e,H=await ge(j,xi,"estimateFeesPerGas")({chain:j.chain,type:"eip1559"});return{maxFeePerGas:typeof n.maxFeePerGas=="bigint"?n.maxFeePerGas:BigInt(2n*H.maxFeePerGas),maxPriorityFeePerGas:typeof n.maxPriorityFeePerGas=="bigint"?n.maxPriorityFeePerGas:BigInt(2n*H.maxPriorityFeePerGas)}}catch{return}}})(),(async()=>{if(i.includes("nonce"))return typeof n.nonce=="bigint"?n.nonce:o.getNonce()})(),(async()=>{if(i.includes("authorization")){if(typeof n.authorization=="object")return n.authorization;if(o.authorization&&!await o.isDeployed())return{...await Ei(o.client,o.authorization),r:"0xfffffffffffffffffffffffffffffff000000000000000000000000000000000",s:"0x7aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",yParity:1}}})()]);typeof y<"u"&&(m.callData=a?Ne([y,a]):y),typeof h<"u"&&(m={...m,...h}),typeof g<"u"&&(m={...m,...g}),typeof v<"u"&&(m.nonce=v),typeof b<"u"&&(m.authorization=b),i.includes("signature")&&(typeof n.signature<"u"?m.signature=n.signature:m.signature=await o.getStubSignature(m)),o.entryPoint.version==="0.6"&&!m.initCode&&(m.initCode="0x");let w;async function k(){return w||(e.chain?e.chain.id:(w=await ge(e,na,"getChainId")({}),w))}let C=!1;if(i.includes("paymaster")&&d&&!l&&!n.paymasterAndData){const{isFinal:E=!1,sponsor:j,...H}=await d({chainId:await k(),entryPointAddress:o.entryPoint.address,context:f,...m});C=E,m={...m,...H}}if(o.entryPoint.version==="0.6"&&!m.paymasterAndData&&(m.paymasterAndData="0x"),i.includes("gas")){if((T=o.userOperation)!=null&&T.estimateGas){const E=await o.userOperation.estimateGas(m);m={...m,...E}}if(typeof m.callGasLimit>"u"||typeof m.preVerificationGas>"u"||typeof m.verificationGasLimit>"u"||m.paymaster&&typeof m.paymasterPostOpGasLimit>"u"||m.paymaster&&typeof m.paymasterVerificationGasLimit>"u"){const E=await ge(s,Oa,"estimateUserOperationGas")({account:o,callGasLimit:0n,preVerificationGas:0n,verificationGasLimit:0n,stateOverride:c,...m.paymaster?{paymasterPostOpGasLimit:0n,paymasterVerificationGasLimit:0n}:{},...m});m={...m,callGasLimit:m.callGasLimit??E.callGasLimit,preVerificationGas:m.preVerificationGas??E.preVerificationGas,verificationGasLimit:m.verificationGasLimit??E.verificationGasLimit,paymasterPostOpGasLimit:m.paymasterPostOpGasLimit??E.paymasterPostOpGasLimit,paymasterVerificationGasLimit:m.paymasterVerificationGasLimit??E.paymasterVerificationGasLimit}}}if(i.includes("paymaster")&&p&&!l&&!n.paymasterAndData&&!C){const E=await p({chainId:await k(),entryPointAddress:o.entryPoint.address,context:f,...m});m={...m,...E}}return delete m.calls,delete m.parameters,delete m.paymasterContext,typeof m.paymaster!="string"&&delete m.paymaster,m}async function Oa(e,t){var s;const{account:n=e.account,entryPointAddress:r,stateOverride:a}=t;if(!n&&!t.sender)throw new Wn;const i=n?Jn(n):void 0,c=Si(a),o=i?await ge(e,er,"prepareUserOperation")({...t,parameters:["authorization","factory","fees","nonce","paymaster","signature"]}):t;try{const u=[Mt(o),r??((s=i==null?void 0:i.entryPoint)==null?void 0:s.address)],l=await e.request({method:"eth_estimateUserOperationGas",params:c?[...u,c]:[...u]});return Vo(l)}catch(u){const l=t.calls;throw ka(u,{...o,...l?{calls:l}:{}})}}function Yo(e){return e.request({method:"eth_supportedEntryPoints"})}function Qo(e){const t={...e};return e.callGasLimit&&(t.callGasLimit=BigInt(e.callGasLimit)),e.maxFeePerGas&&(t.maxFeePerGas=BigInt(e.maxFeePerGas)),e.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=BigInt(e.maxPriorityFeePerGas)),e.nonce&&(t.nonce=BigInt(e.nonce)),e.paymasterPostOpGasLimit&&(t.paymasterPostOpGasLimit=BigInt(e.paymasterPostOpGasLimit)),e.paymasterVerificationGasLimit&&(t.paymasterVerificationGasLimit=BigInt(e.paymasterVerificationGasLimit)),e.preVerificationGas&&(t.preVerificationGas=BigInt(e.preVerificationGas)),e.verificationGasLimit&&(t.verificationGasLimit=BigInt(e.verificationGasLimit)),t}async function Xo(e,{hash:t}){const n=await e.request({method:"eth_getUserOperationByHash",params:[t]},{dedupe:!0});if(!n)throw new Fo({hash:t});const{blockHash:r,blockNumber:a,entryPoint:i,transactionHash:c,userOperation:o}=n;
15return{blockHash:r,blockNumber:BigInt(a),entryPoint:i,transactionHash:c,userOperation:Qo(o)}}function _o(e){const t={...e};return e.actualGasCost&&(t.actualGasCost=BigInt(e.actualGasCost)),e.actualGasUsed&&(t.actualGasUsed=BigInt(e.actualGasUsed)),e.logs&&(t.logs=e.logs.map(n=>Ai(n))),e.receipt&&(t.receipt=ki(t.receipt)),t}async function Pa(e,{hash:t}){const n=await e.request({method:"eth_getUserOperationReceipt",params:[t]},{dedupe:!0});if(!n)throw new Mo({hash:t});return _o(n)}async function $o(e,t){var s,u;const{account:n=e.account,entryPointAddress:r}=t;if(!n&&!t.sender)throw new Wn;const a=n?Jn(n):void 0,i=a?await ge(e,er,"prepareUserOperation")(t):t,c=t.signature||await((s=a==null?void 0:a.signUserOperation)==null?void 0:s.call(a,i)),o=Mt({...i,signature:c});try{return await e.request({method:"eth_sendUserOperation",params:[o,r??((u=a==null?void 0:a.entryPoint)==null?void 0:u.address)]},{retryCount:0})}catch(l){const d=t.calls;throw ka(l,{...i,...d?{calls:d}:{},signature:c})}}function ec(e,t){const{hash:n,pollingInterval:r=e.pollingInterval,retryCount:a,timeout:i=12e4}=t;let c=0;const o=Oi(["waitForUserOperationReceipt",e.uid,n]);return new Promise((s,u)=>{const l=Pi(o,{resolve:s,reject:u},d=>{const p=y=>{m(),y(),l()},f=i?setTimeout(()=>p(()=>d.reject(new Ir({hash:n}))),i):void 0,m=Ii(async()=>{a&&c>=a&&(clearTimeout(f),p(()=>d.reject(new Ir({hash:n}))));try{const y=await ge(e,Pa,"getUserOperationReceipt")({hash:n});clearTimeout(f),p(()=>d.resolve(y))}catch(y){const h=y;h.name!=="UserOperationReceiptNotFoundError"&&(clearTimeout(f),p(()=>d.reject(h)))}c++},{emitOnBegin:!0,interval:r});return m})})}function tc(e){return{estimateUserOperationGas:t=>Oa(e,t),getChainId:()=>na(e),getSupportedEntryPoints:()=>Yo(e),getUserOperation:t=>Xo(e,t),getUserOperationReceipt:t=>Pa(e,t),prepareUserOperation:t=>er(e,t),sendUserOperation:t=>$o(e,t),waitForUserOperationReceipt:t=>ec(e,t)}}function nc(e){const{client:t,dataSuffix:n,key:r="bundler",name:a="Bundler Client",paymaster:i,paymasterContext:c,transport:o,userOperation:s}=e;return Object.assign(Ci({...e,chain:e.chain??(t==null?void 0:t.chain),key:r,name:a,transport:o,type:"bundlerClient"}),{client:t,dataSuffix:n??(t==null?void 0:t.dataSuffix),paymaster:i,paymasterContext:c,userOperation:s}).extend(tc)}const Ia=Yn(()=>({}));function Cr(e){e.forEach(t=>{var n,r,a,i,c,o,s,u;if(!t.rpcUrl)return;const l=Ti({id:t.id,rpcUrls:{default:{http:[t.rpcUrl]}},name:(r=(n=t.nativeCurrency)===null||n===void 0?void 0:n.name)!==null&&r!==void 0?r:"",nativeCurrency:{name:(i=(a=t.nativeCurrency)===null||a===void 0?void 0:a.name)!==null&&i!==void 0?i:"",symbol:(o=(c=t.nativeCurrency)===null||c===void 0?void 0:c.symbol)!==null&&o!==void 0?o:"",decimals:(u=(s=t.nativeCurrency)===null||s===void 0?void 0:s.decimal)!==null&&u!==void 0?u:18}}),d=Bi({chain:l,transport:mr(t.rpcUrl)}),p=nc({client:d,transport:mr(t.rpcUrl)});Ia.setState({[t.id]:{client:d,bundlerClient:p}})})}function Ca(e){var t;return(t=Ia.getState()[e])===null||t===void 0?void 0:t.client}const ft=Yn(()=>({correlationIds:new Map})),he={get:e=>ft.getState().correlationIds.get(e),set:(e,t)=>{ft.setState(n=>{const r=new Map(n.correlationIds);return r.set(e,t),{correlationIds:r}})},delete:e=>{ft.setState(t=>{const n=new Map(t.correlationIds);return n.delete(e),{correlationIds:n}})},clear:()=>{ft.setState({correlationIds:new Map})}};function mt(e){if(typeof e!="object"||e===null)throw S.rpc.internal("sub account info is not an object");if(!("address"in e))throw S.rpc.internal("sub account is invalid");if("address"in e&&typeof e.address=="string"&&!ot(e.address))throw S.rpc.internal("sub account address is invalid");if("factory"in e&&typeof e.factory=="string"&&!ot(e.factory))throw S.rpc.internal("sub account factory address is invalid");if("factoryData"in e&&typeof e.factoryData=="string"&&!Ve(e.factoryData))throw S.rpc.internal("sub account factory data is invalid")}async function rc(){return crypto.subtle.generateKey({name:"ECDH",namedCurve:"P-256"},!0,["deriveKey"])}async function ac(e,t){return crypto.subtle.deriveKey({name:"ECDH",public:t},e,{name:"AES-GCM",length:256},!1,["encrypt","decrypt"])}async function ic(e,t){const n=crypto.getRandomValues(new Uint8Array(12)),r=await crypto.subtle.encrypt({name:"AES-GCM",iv:n},e,new TextEncoder().encode(t));return{iv:n,cipherText:r}}async function sc(e,{iv:t,cipherText:n}
15){const r=await crypto.subtle.decrypt({name:"AES-GCM",iv:t},e,n);return new TextDecoder().decode(r)}function Ta(e){switch(e){case"public":return"spki";case"private":return"pkcs8"}}async function Ba(e,t){const n=Ta(e),r=await crypto.subtle.exportKey(n,t);return co(new Uint8Array(r))}async function ja(e,t){const n=Ta(e),r=uo(t).buffer;return await crypto.subtle.importKey(n,new Uint8Array(r),{name:"ECDH",namedCurve:"P-256"},!0,e==="private"?["deriveKey"]:[])}async function oc(e,t){const n=JSON.stringify(e,(r,a)=>{if(!(a instanceof Error))return a;const i=a;return Object.assign(Object.assign({},i.code?{code:i.code}:{}),{message:i.message})});return ic(t,n)}async function cc(e,t){return JSON.parse(await sc(t,e))}async function St(e,t){const n=Object.assign(Object.assign({},e),{jsonrpc:"2.0",id:crypto.randomUUID()}),r=await window.fetch(t,{method:"POST",body:JSON.stringify(n),mode:"cors",headers:{"Content-Type":"application/json","X-Cbw-Sdk-Version":_e,"X-Cbw-Sdk-Platform":Dt}}),{result:a,error:i}=await r.json();if(i)throw i;return a}function uc(e){if(!e||typeof e!="object"||Array.isArray(e))throw S.rpc.invalidParams({message:"Expected a single, non-array, object argument.",data:e});const{method:t,params:n}=e;if(typeof t!="string"||t.length===0)throw S.rpc.invalidParams({message:"'args.method' must be a non-empty string.",data:e});if(n!==void 0&&!Array.isArray(n)&&(typeof n!="object"||n===null))throw S.rpc.invalidParams({message:"'args.params' must be an object or array if provided.",data:e});switch(t){case"eth_sign":case"eth_signTypedData_v2":case"eth_subscribe":case"eth_unsubscribe":throw S.provider.unsupportedMethod()}}const dc="0.1.1";function lc(){return dc}class z extends Error{constructor(t,n={}){const r=(()=>{var s;if(n.cause instanceof z){if(n.cause.details)return n.cause.details;if(n.cause.shortMessage)return n.cause.shortMessage}return(s=n.cause)!=null&&s.message?n.cause.message:n.details})(),a=n.cause instanceof z&&n.cause.docsPath||n.docsPath,c=`https://oxlib.sh${a??""}`,o=[t||"An error occurred.",...n.metaMessages?["",...n.metaMessages]:[],...r||a?["",r?`Details: ${r}`:void 0,a?`See: ${c}`:void 0]:[]].filter(s=>typeof s=="string").join(`
16`);super(o,n.cause?{cause:n.cause}:void 0),Object.defineProperty(this,"details",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docs",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"docsPath",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shortMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"BaseError"}),Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:`ox@${lc()}`}),this.cause=n.cause,this.details=r,this.docs=c,this.docsPath=a,this.shortMessage=t}walk(t){return Ua(this,t)}}function Ua(e,t){return t!=null&&t(e)?e:e&&typeof e=="object"&&"cause"in e&&e.cause?Ua(e.cause,t):t?null:e}/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */function pc(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function tr(e,...t){if(!pc(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function Tr(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function fc(e,t){tr(e);const n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}function Gn(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function _t(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function ce(e,t){return e<<32-t|e>>>t}function mc(e){if(typeof e!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(e))}function Na(e){return typeof e=="string"&&(e=mc(e)),tr(e),e}let hc=class{};function yc(e){const t=r=>e().update(Na(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function gc(e,t,n,r){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,n,r);const a=BigInt(32),i=BigInt(4294967295),c=Number(n>>a&i),o=Number(n&i),s=r?4:0,u=r?0:4;e.setUint32(t+s,c,r),e.setUint32(t+u,o,r)}
vendor: 8,940 bytes, line 16
16function bc(e,t,n){return e&t^~e&n}function vc(e,t,n){return e&t^e&n^t&n}let wc=class extends hc{constructor(t,n,r,a){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=a,this.buffer=new Uint8Array(t),this.view=_t(this.buffer)}update(t){Tr(this),t=Na(t),tr(t);const{view:n,buffer:r,blockLen:a}=this,i=t.length;for(let c=0;c<i;){const o=Math.min(a-this.pos,i-c);if(o===a){const s=_t(t);for(;a<=i-c;c+=a)this.process(s,c);continue}r.set(t.subarray(c,c+o),this.pos),this.pos+=o,c+=o,this.pos===a&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Tr(this),fc(t,this),this.finished=!0;const{buffer:n,view:r,blockLen:a,isLE:i}=this;let{pos:c}=this;n[c++]=128,Gn(this.buffer.subarray(c)),this.padOffset>a-c&&(this.process(r,0),c=0);for(let d=c;d<a;d++)n[d]=0;gc(r,a-8,BigInt(this.length*8),i),this.process(r,0);const o=_t(t),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=s/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<u;d++)o.setUint32(4*d,l[d],i)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const r=t.slice(0,n);return this.destroy(),r}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:n,buffer:r,length:a,finished:i,destroyed:c,pos:o}=this;return t.destroyed=c,t.finished=i,t.length=a,t.pos=o,a%n&&t.buffer.set(r),t}clone(){return this._cloneInto()}};const we=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),xc=Uint32Array.from([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),xe=new Uint32Array(64);let Ec=class extends wc{constructor(t=32){super(64,t,8,!1),this.A=we[0]|0,this.B=we[1]|0,this.C=we[2]|0,this.D=we[3]|0,this.E=we[4]|0,this.F=we[5]|0,this.G=we[6]|0,this.H=we[7]|0}get(){const{A:t,B:n,C:r,D:a,E:i,F:c,G:o,H:s}=this;return[t,n,r,a,i,c,o,s]}set(t,n,r,a,i,c,o,s){this.A=t|0,this.B=n|0,this.C=r|0,this.D=a|0,this.E=i|0,this.F=c|0,this.G=o|0,this.H=s|0}process(t,n){for(let d=0;d<16;d++,n+=4)xe[d]=t.getUint32(n,!1);for(let d=16;d<64;d++){const p=xe[d-15],f=xe[d-2],m=ce(p,7)^ce(p,18)^p>>>3,y=ce(f,17)^ce(f,19)^f>>>10;xe[d]=y+xe[d-7]+m+xe[d-16]|0}let{A:r,B:a,C:i,D:c,E:o,F:s,G:u,H:l}=this;for(let d=0;d<64;d++){const p=ce(o,6)^ce(o,11)^ce(o,25),f=l+p+bc(o,s,u)+xc[d]+xe[d]|0,y=(ce(r,2)^ce(r,13)^ce(r,22))+vc(r,a,i)|0;l=u,u=s,s=o,o=c+f|0,c=i,i=a,a=r,r=f+y|0}r=r+this.A|0,a=a+this.B|0,i=i+this.C|0,c=c+this.D|0,o=o+this.E|0,s=s+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,a,i,c,o,s,u,l)}roundClean(){Gn(xe)}destroy(){this.set(0,0,0,0,0,0,0,0),Gn(this.buffer)}};const Sc=yc(()=>new Ec),Ac=Sc;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const nr=BigInt(0),Ra=BigInt(1),kc=BigInt(2);function Me(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function dt(e){if(!Me(e))throw new Error("Uint8Array expected")}function We(e,t){if(typeof t!="boolean")throw new Error(e+" boolean expected, got "+t)}const Oc=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Je(e){dt(e);let t="";for(let n=0;n<e.length;n++)t+=Oc[e[n]];return t}function at(e){const t=e.toString(16);return t.length&1?"0"+t:t}function rr(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);return e===""?nr:BigInt("0x"+e)}const pe={_0:48,_9:57,A:65,F:70,a:97,f:102};function Br(e){if(e>=pe._0&&e<=pe._9)return e-pe._0;if(e>=pe.A&&e<=pe.F)return e-(pe.A-10);if(e>=pe.a&&e<=pe.f)return e-(pe.a-10)}function ct(e){if(typeof e!="string")throw new Error("hex string expected, got "+typeof e);const t=e.length,n=t/2;if(t%2)throw new Error("hex string expected, got unpadded hex of length "+t);const r=new Uint8Array(n);for(let a=0,i=0;a<n;a++,i+=2){const c=Br(e.charCodeAt(i)),o=Br(e.charCodeAt(i+1));if(c===void 0||o===void 0){const s=e[i]+e[i+1];throw new Error('hex string expected, got non-hex character "'+s+'" at index '+i)}r[a]=c*16+o}return r}function Le(e){return rr(Je(e))}function ar(e){return dt(e),rr(Je(Uint8Array.from(e).reverse()))}function Ye(e,t){return ct(e.toString(16).padStart(t*2,"0"))}function ir(e,t){return Ye(e,t).reverse()}function ie(e,t,n){let r;if(typeof t=="string")try{r=ct(t)}catch(i){throw new Error(e+" must be hex string or Uint8Array, cause: "+i)}else if(Me(t))r=Uint8Array.from(t);else throw new Error(e+" must be hex string or Uint8Array");const a=r.length;if(typeof n=="number"&&a!==n)throw new Error(e+" of length "+n+" expected, got "+a);return r}function ut(...e){let t=0;for(let r=0;r<e.length;r++){const a=e[r];dt(a),t+=a.length}const n=new Uint8Array(t);for(let r=0,a=0;r<e.length;r++){const i=e[r];n.set(i,a),a+=i.length}return n}const $t=e=>typeof e=="bigint"&&nr<=e;function Ft(e,t,n){return $t(e)&&$t(t)&&$t(n)&&t<=e&&e<n}function De(e,t,n,r){if(!Ft(t,n,r))throw new Error("expected valid "+e+": "+n+" <= n < "+r+", got "+t)}function La(e){let t;for(t=0;e>nr;e>>=Ra,t+=1);return t}const sr=e=>(kc<<BigInt(e-1))-Ra,en=e=>new Uint8Array(e),jr=e=>Uint8Array.from(e);function Da(e,t,n){if(typeof e!="number"||e<2)throw new Error("hashLen must be a number");if(typeof t!="number"||t<2)throw new Error("qByteLen must be a number");if(typeof n!="function")throw new Error("hmacFn must be a function");let r=en(e),a=en(e),i=0;const c=()=>{r.fill(1),a.fill(0),i=0},o=(...d)=>n(a,r,...d),s=(d=en())=>{a=o(jr([0]),d),r=o(),d.length!==0&&(a=o(jr([1]),d),r=o())},u=()=>{if(i++>=1e3)throw new Error("drbg: tried 1000 values");let d=0;const p=[];for(;d<t;){r=o();const f=r.slice();p.push(f),d+=r.length}return ut(...p)};return(d,p)=>{c(),s(d);let f;for(;!(f=p(u()));)s();return c(),f}}const Pc={bigint:e=>typeof e=="bigint",function:e=>typeof e=="function",boolean:e=>typeof e=="boolean",string:e=>typeof e=="string",stringOrUint8Array:e=>typeof e=="string"||Me(e),isSafeInteger:e=>Number.isSafeInteger(e),array:e=>Array.isArray(e),field:(e,t)=>t.Fp.isValid(e),hash:e=>typeof e=="function"&&Number.isSafeInteger(e.outputLen)};function lt(e,t,n={}){const r=(a,i,c)=>{const o=Pc[i];if(typeof o!="function")throw new Error("invalid validator function");const s=e[a];if(!(c&&s===void 0)&&!o(s,e))throw new Error("param "+String(a)+" is invalid. Expected "+i+", got "+s)};for(const[a,i]of Object.entries(t))r(a,i,!1);for(const[a,i]of Object.entries(n))r(a,i,!0);return e}function zn(e){const t=new WeakMap;return(n,...r)=>{const a=t.get(n);if(a!==void 0)return a;const i=e(n,...r);return t.set(n,i),i}}const Ic=Object.freeze(Object.defineProperty({__proto__:null,aInRange:De,abool:We,abytes:dt,bitLen:La,bitMask:sr,bytesToHex:Je,bytesToNumberBE:Le,bytesToNumberLE:ar,concatBytes:ut,createHmacDrbg:Da,ensureBytes:ie,hexToBytes:ct,hexToNumber:rr,inRange:Ft,isBytes:Me,memoized:zn,numberToBytesBE:Ye,numberToBytesLE:ir,numberToHexUnpadded:at,validateObject:lt},Symbol.toStringTag,{value:"Module"})),Cc="#__bigint";function Ht(e,t,n){return JSON.stringify(e,(r,a)=>typeof a=="bigint"?a.toString()+Cc:a,n)}function Tc(e,t){if(Xe(e)>t)throw new Zc({givenSize:Xe(e),maxSize:t})}function Bc(e,t){if(typeof t=="number"&&t>0&&t>Xe(e)-1)throw new Za({offset:t,position:"start",size:Xe(e)})}function jc(e,t,n){if(typeof t=="number"&&typeof n=="number"&&Xe(e)!==n-t)throw new Za({offset:n,position:"end",size:Xe(e)})}const fe={zero:48,nine:57,A:65,F:70,a:97,f:102};function Ur(e){if(e>=fe.zero&&e<=fe.nine)return e-fe.zero;if(e>=fe.A&&e<=fe.F)return e-(fe.A-10);if(e>=fe.a&&e<=fe.f)return e-(fe.a-10)}function or(e,t){if(Pe(e)>t)throw new zc({givenSize:Pe(e),maxSize:t})}function Uc(e,t){if(typeof t=="number"&&t>0&&t>Pe(e)-1)throw new za({offset:t,position:"start",size:Pe(e)})}function Nc(e,t,n){if(typeof t=="number"&&typeof n=="number"&&Pe(e)!==n-t)throw new za({offset:n,position:"end",size:Pe(e)})}function Ma(e,t={}){const{dir:n,size:r=32}=t;if(r===0)return e;const a=e.replace("0x","");if(a.length>r*2)throw new Kc({size:Math.ceil(a.length/2),targetSize:r,type:"Hex"});return`0x${a[n==="right"?"padEnd":"padStart"](r*2,"0")}`}const Rc=new TextEncoder,Lc=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function Dc(e,t={}){const{strict:n=!1}=t;if(!e)throw new Nr(e);if(typeof e!="string")throw new Nr(e);if(n&&!/^0x[0-9a-fA-F]*$/.test(e))throw new Rr(e);
16if(!e.startsWith("0x"))throw new Rr(e)}function Gt(...e){return`0x${e.reduce((t,n)=>t+n.replace("0x",""),"")}`}function Fa(e){return e instanceof Uint8Array?Qe(e):Array.isArray(e)?Qe(new Uint8Array(e)):e}function Qe(e,t={}){let n="";for(let a=0;a<e.length;a++)n+=Lc[e[a]];const r=`0x${n}`;return typeof t.size=="number"?(or(r,t.size),Ga(r,t.size)):r}function Oe(e,t={}){const{signed:n,size:r}=t,a=BigInt(e);let i;r?n?i=(1n<<BigInt(r)*8n-1n)-1n:i=2n**(BigInt(r)*8n)-1n:typeof e=="number"&&(i=BigInt(Number.MAX_SAFE_INTEGER));const c=typeof i=="bigint"&&n?-i-1n:0;if(i&&a>i||a<c){const u=typeof e=="bigint"?"n":"";throw new Gc({max:i?`${i}${u}`:void 0,min:`${c}${u}`,signed:n,size:r,value:`${e}${u}`})}const s=`0x${(n&&a<0?(1n<<BigInt(r*8))+BigInt(a):a).toString(16)}`;return r?Mc(s,r):s}function Ha(e,t={}){return Qe(Rc.encode(e),t)}function Mc(e,t){return Ma(e,{dir:"left",size:t})}function Ga(e,t){return Ma(e,{dir:"right",size:t})}function ee(e,t,n,r={}){const{strict:a}=r;Uc(e,t);const i=`0x${e.replace("0x","").slice((t??0)*2,(n??e.length)*2)}`;return a&&Nc(i,t,n),i}function Pe(e){return Math.ceil((e.length-2)/2)}function Fc(e,t={}){const{signed:n}=t;t.size&&or(e,t.size);const r=BigInt(e);if(!n)return r;const a=(e.length-2)/2,i=(1n<<BigInt(a)*8n)-1n,c=i>>1n;return r<=c?r:r-i-1n}function Hc(e,t={}){const{strict:n=!1}=t;try{return Dc(e,{strict:n}),!0}catch{return!1}}class Gc extends z{constructor({max:t,min:n,signed:r,size:a,value:i}){super(`Number \`${i}\` is not in safe${a?` ${a*8}-bit`:""}${r?" signed":" unsigned"} integer range ${t?`(\`${n}\` to \`${t}\`)`:`(above \`${n}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class Nr extends z{constructor(t){super(`Value \`${typeof t=="object"?Ht(t):t}\` of type \`${typeof t}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class Rr extends z{constructor(t){super(`Value \`${t}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}let zc=class extends z{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${t}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}},za=class extends z{constructor({offset:t,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset \`${t}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}};class Kc extends z{constructor({size:t,targetSize:n,type:r}){super(`${r.charAt(0).toUpperCase()}${r.slice(1).toLowerCase()} size (\`${t}\`) exceeds padding size (\`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}function Vc(e){if(!(e instanceof Uint8Array)){if(!e)throw new ht(e);if(typeof e!="object")throw new ht(e);if(!("BYTES_PER_ELEMENT"in e))throw new ht(e);if(e.BYTES_PER_ELEMENT!==1||e.constructor.name!=="Uint8Array")throw new ht(e)}}function Ka(e){return e instanceof Uint8Array?e:typeof e=="string"?qa(e):Va(e)}function Va(e){return e instanceof Uint8Array?e:new Uint8Array(e)}function qa(e,t={}){const{size:n}=t;let r=e;n&&(or(e,n),r=Ga(e,n));let a=r.slice(2);a.length%2&&(a=`0${a}`);const i=a.length/2,c=new Uint8Array(i);for(let o=0,s=0;o<i;
vendor: 4,866 bytes, line 16
16o++){const u=Ur(a.charCodeAt(s++)),l=Ur(a.charCodeAt(s++));if(u===void 0||l===void 0)throw new z(`Invalid byte sequence ("${a[s-2]}${a[s-1]}" in "${a}").`);c[o]=u*16+l}return c}function Xe(e){return e.length}function Lr(e,t,n,r={}){const{strict:a}=r;Bc(e,t);const i=e.slice(t,n);return a&&jc(i,t,n),i}function Dr(e,t={}){const{size:n}=t;typeof n<"u"&&Tc(e,n);const r=Qe(e,t);return Fc(r,t)}function qc(e){try{return Vc(e),!0}catch{return!1}}class ht extends z{constructor(t){super(`Value \`${typeof t=="object"?Ht(t):t}\` of type \`${typeof t}\` is an invalid Bytes value.`,{metaMessages:["Bytes values must be of type `Bytes`."]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.InvalidBytesTypeError"})}}class Zc extends z{constructor({givenSize:t,maxSize:n}){super(`Size cannot exceed \`${n}\` bytes. Given size: \`${t}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SizeOverflowError"})}}class Za extends z{constructor({offset:t,position:n,size:r}){super(`Slice ${n==="start"?"starting":"ending"} at offset \`${t}\` is out-of-bounds (size: \`${r}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Bytes.SliceOffsetOutOfBoundsError"})}}function Wa(e,t={}){const{as:n=typeof e=="string"?"Hex":"Bytes"}=t,r=Ac(Ka(e));return n==="Bytes"?r:Qe(r)}function Ja(e,t={}){const{compressed:n}=t,{prefix:r,x:a,y:i}=e;if(n===!1||typeof a=="bigint"&&typeof i=="bigint"){if(r!==4)throw new Mr({prefix:r,cause:new Xc});return}if(n===!0||typeof a=="bigint"&&typeof i>"u"){if(r!==3&&r!==2)throw new Mr({prefix:r,cause:new Qc});return}throw new Yc({publicKey:e})}function Wc(e){const t=(()=>{if(Hc(e))return Ya(e);if(qc(e))return Jc(e);const{prefix:n,x:r,y:a}=e;return typeof r=="bigint"&&typeof a=="bigint"?{prefix:n??4,x:r,y:a}:{prefix:n,x:r}})();return Ja(t),t}function Jc(e){return Ya(Qe(e))}function Ya(e){if(e.length!==132&&e.length!==130&&e.length!==68)throw new _c({publicKey:e});if(e.length===130){const r=BigInt(ee(e,0,32)),a=BigInt(ee(e,32,64));return{prefix:4,x:r,y:a}}if(e.length===132){const r=Number(ee(e,0,1)),a=BigInt(ee(e,1,33)),i=BigInt(ee(e,33,65));return{prefix:r,x:a,y:i}}const t=Number(ee(e,0,1)),n=BigInt(ee(e,1,33));return{prefix:t,x:n}}function zt(e,t={}){Ja(e);const{prefix:n,x:r,y:a}=e,{includePrefix:i=!0}=t;return Gt(i?Oe(n,{size:1}):"0x",Oe(r,{size:32}),typeof a=="bigint"?Oe(a,{size:32}):"0x")}class Yc extends z{constructor({publicKey:t}){super(`Value \`${Ht(t)}\` is not a valid public key.`,{metaMessages:["Public key must contain:","- an `x` and `prefix` value (compressed)","- an `x`, `y`, and `prefix` value (uncompressed)"]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidError"})}}class Mr extends z{constructor({prefix:t,cause:n}){super(`Prefix "${t}" is invalid.`,{cause:n}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidPrefixError"})}}class Qc extends z{constructor(){super("Prefix must be 2 or 3 for compressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidCompressedPrefixError"})}}class Xc extends z{constructor(){super("Prefix must be 4 for uncompressed public keys."),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidUncompressedPrefixError"})}}let _c=class extends z{constructor({publicKey:t}){super(`Value \`${t}\` is an invalid public key size.`,{metaMessages:["Expected: 33 bytes (compressed + prefix), 64 bytes (uncompressed) or 65 bytes (uncompressed + prefix).",`Received ${Pe(Fa(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"PublicKey.InvalidSerializedSizeError"})}};const Fr=2n**256n-1n;function Hr(e){if(!Number.isSafeInteger(e)||e<0)throw new Error("positive integer expected, got "+e)}function $c(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function Kt(e,...t){if(!$c(e))throw new Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw new Error("Uint8Array expected of length "+t+", got length="+e.length)}function eu(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");Hr(e.outputLen),Hr(e.blockLen)}function Nt(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function tu(e,t){Kt(e);const n=t.outputLen;if(e.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}const Ke=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0;/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const tn=e=>
vendor: 5,624 bytes, line 16
16new DataView(e.buffer,e.byteOffset,e.byteLength),ue=(e,t)=>e<<32-t|e>>>t;function nu(e){if(typeof e!="string")throw new Error("utf8ToBytes expected string, got "+typeof e);return new Uint8Array(new TextEncoder().encode(e))}function cr(e){return typeof e=="string"&&(e=nu(e)),Kt(e),e}function ru(...e){let t=0;for(let r=0;r<e.length;r++){const a=e[r];Kt(a),t+=a.length}const n=new Uint8Array(t);for(let r=0,a=0;r<e.length;r++){const i=e[r];n.set(i,a),a+=i.length}return n}class Qa{clone(){return this._cloneInto()}}function au(e){const t=r=>e().update(cr(r)).digest(),n=e();return t.outputLen=n.outputLen,t.blockLen=n.blockLen,t.create=()=>e(),t}function iu(e=32){if(Ke&&typeof Ke.getRandomValues=="function")return Ke.getRandomValues(new Uint8Array(e));if(Ke&&typeof Ke.randomBytes=="function")return Ke.randomBytes(e);throw new Error("crypto.getRandomValues must be defined")}function su(e,t,n,r){if(typeof e.setBigUint64=="function")return e.setBigUint64(t,n,r);const a=BigInt(32),i=BigInt(4294967295),c=Number(n>>a&i),o=Number(n&i),s=r?4:0,u=r?0:4;e.setUint32(t+s,c,r),e.setUint32(t+u,o,r)}const ou=(e,t,n)=>e&t^~e&n,cu=(e,t,n)=>e&t^e&n^t&n;class uu extends Qa{constructor(t,n,r,a){super(),this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=a,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=tn(this.buffer)}update(t){Nt(this);const{view:n,buffer:r,blockLen:a}=this;t=cr(t);const i=t.length;for(let c=0;c<i;){const o=Math.min(a-this.pos,i-c);if(o===a){const s=tn(t);for(;a<=i-c;c+=a)this.process(s,c);continue}r.set(t.subarray(c,c+o),this.pos),this.pos+=o,c+=o,this.pos===a&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Nt(this),tu(t,this),this.finished=!0;const{buffer:n,view:r,blockLen:a,isLE:i}=this;let{pos:c}=this;n[c++]=128,this.buffer.subarray(c).fill(0),this.padOffset>a-c&&(this.process(r,0),c=0);for(let d=c;d<a;d++)n[d]=0;su(r,a-8,BigInt(this.length*8),i),this.process(r,0);const o=tn(t),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const u=s/4,l=this.get();if(u>l.length)throw new Error("_sha2: outputLen bigger than state");for(let d=0;d<u;d++)o.setUint32(4*d,l[d],i)}digest(){const{buffer:t,outputLen:n}=this;this.digestInto(t);const r=t.slice(0,n);return this.destroy(),r}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:n,buffer:r,length:a,finished:i,destroyed:c,pos:o}=this;return t.length=a,t.pos=o,t.finished=i,t.destroyed=c,a%n&&t.buffer.set(r),t}}const du=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ee=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Se=new Uint32Array(64);class lu extends uu{constructor(){super(64,32,8,!1),this.A=Ee[0]|0,this.B=Ee[1]|0,this.C=Ee[2]|0,this.D=Ee[3]|0,this.E=Ee[4]|0,this.F=Ee[5]|0,this.G=Ee[6]|0,this.H=Ee[7]|0}get(){const{A:t,B:n,C:r,D:a,E:i,F:c,G:o,H:s}=this;return[t,n,r,a,i,c,o,s]}set(t,n,r,a,i,c,o,s){this.A=t|0,this.B=n|0,this.C=r|0,this.D=a|0,this.E=i|0,this.F=c|0,this.G=o|0,this.H=s|0}process(t,n){for(let d=0;d<16;d++,n+=4)Se[d]=t.getUint32(n,!1);for(let d=16;d<64;d++){const p=Se[d-15],f=Se[d-2],m=ue(p,7)^ue(p,18)^p>>>3,y=ue(f,17)^ue(f,19)^f>>>10;Se[d]=y+Se[d-7]+m+Se[d-16]|0}let{A:r,B:a,C:i,D:c,E:o,F:s,G:u,H:l}=this;for(let d=0;d<64;d++){const p=ue(o,6)^ue(o,11)^ue(o,25),f=l+p+ou(o,s,u)+du[d]+Se[d]|0,y=(ue(r,2)^ue(r,13)^ue(r,22))+cu(r,a,i)|0;l=u,u=s,s=o,o=c+f|0,c=i,i=a,a=r,r=f+y|0}r=r+this.A|0,a=a+this.B|0,i=i+this.C|0,c=c+this.D|0,o=o+this.E|0,s=s+this.F|0,u=u+this.G|0,l=l+this.H|0,this.set(r,a,i,c,o,s,u,l)}roundClean(){Se.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}const pu=au(()=>new lu);class Xa extends Qa{constructor(t,n){super(),this.finished=!1,this.destroyed=!1,eu(t);const r=cr(n);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const a=this.blockLen,i=new Uint8Array(a);i.set(r.length>a?t.create().update(r).digest():r);for(let c=0;c<i.length;c++)i[c]^=54;this.iHash.update(i),this.oHash=t.create();for(let c=0;c<i.length;c++)i[c]^=106;this.oHash.update(i),i.fill(0)}update(t){return Nt(this),this.iHash.update(t),this}digestInto(t){Nt(this),Kt(t,this.outputLen),this.finished=!0,this.iHash.digestInto(t),this.oHash.update(t),this.oHash.digestInto(t),this.destroy()}digest(){const t=new Uint8Array(this.oHash.outputLen);return this.digestInto(t),t}_cloneInto(t){t||(t=Object.create(Object.getPrototypeOf(this),{}));const{oHash:n,iHash:r,finished:a,destroyed:i,blockLen:c,outputLen:o}=this;return t=t,t.finished=a,t.destroyed=i,t.blockLen=c,t.outputLen=o,t.oHash=n._cloneInto(t.oHash),t.iHash=r._cloneInto(t.iHash),t}destroy(){this.destroyed=!0,this.oHash.destroy(),this.iHash.destroy()}}const _a=(e,t,n)=>new Xa(e,t).update(n).digest();_a.create=(e,t)=>
vendor: 5,674 bytes, line 16
16new Xa(e,t);/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Y=BigInt(0),q=BigInt(1),Be=BigInt(2),fu=BigInt(3),Kn=BigInt(4),Gr=BigInt(5),zr=BigInt(8);function ne(e,t){const n=e%t;return n>=Y?n:t+n}function mu(e,t,n){if(t<Y)throw new Error("invalid exponent, negatives unsupported");if(n<=Y)throw new Error("invalid modulus");if(n===q)return Y;let r=q;for(;t>Y;)t&q&&(r=r*e%n),e=e*e%n,t>>=q;return r}function Vn(e,t){if(e===Y)throw new Error("invert: expected non-zero number");if(t<=Y)throw new Error("invert: expected positive modulus, got "+t);let n=ne(e,t),r=t,a=Y,i=q;for(;n!==Y;){const o=r/n,s=r%n,u=a-i*o;r=n,n=s,a=i,i=u}if(r!==q)throw new Error("invert: does not exist");return ne(a,t)}function hu(e){const t=(e-q)/Be;let n,r,a;for(n=e-q,r=0;n%Be===Y;n/=Be,r++);for(a=Be;a<e&&mu(a,t,e)!==e-q;a++)if(a>1e3)throw new Error("Cannot find square root: likely non-prime P");if(r===1){const c=(e+q)/Kn;return function(s,u){const l=s.pow(u,c);if(!s.eql(s.sqr(l),u))throw new Error("Cannot find square root");return l}}const i=(n+q)/Be;return function(o,s){if(o.pow(s,t)===o.neg(o.ONE))throw new Error("Cannot find square root");let u=r,l=o.pow(o.mul(o.ONE,a),n),d=o.pow(s,i),p=o.pow(s,n);for(;!o.eql(p,o.ONE);){if(o.eql(p,o.ZERO))return o.ZERO;let f=1;for(let y=o.sqr(p);f<u&&!o.eql(y,o.ONE);f++)y=o.sqr(y);const m=o.pow(l,q<<BigInt(u-f-1));l=o.sqr(m),d=o.mul(d,m),p=o.mul(p,l),u=f}return d}}function yu(e){if(e%Kn===fu){const t=(e+q)/Kn;return function(r,a){const i=r.pow(a,t);if(!r.eql(r.sqr(i),a))throw new Error("Cannot find square root");return i}}if(e%zr===Gr){const t=(e-Gr)/zr;return function(r,a){const i=r.mul(a,Be),c=r.pow(i,t),o=r.mul(a,c),s=r.mul(r.mul(o,Be),c),u=r.mul(o,r.sub(s,r.ONE));if(!r.eql(r.sqr(u),a))throw new Error("Cannot find square root");return u}}return hu(e)}const gu=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function bu(e){const t={ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"},n=gu.reduce((r,a)=>(r[a]="function",r),t);return lt(e,n)}function vu(e,t,n){if(n<Y)throw new Error("invalid exponent, negatives unsupported");if(n===Y)return e.ONE;if(n===q)return t;let r=e.ONE,a=t;for(;n>Y;)n&q&&(r=e.mul(r,a)),a=e.sqr(a),n>>=q;return r}function wu(e,t){const n=new Array(t.length),r=t.reduce((i,c,o)=>e.is0(c)?i:(n[o]=i,e.mul(i,c)),e.ONE),a=e.inv(r);return t.reduceRight((i,c,o)=>e.is0(c)?i:(n[o]=e.mul(i,n[o]),e.mul(i,c)),a),n}function $a(e,t){const n=t!==void 0?t:e.toString(2).length,r=Math.ceil(n/8);return{nBitLength:n,nByteLength:r}}function ei(e,t,n=!1,r={}){if(e<=Y)throw new Error("invalid field: expected ORDER > 0, got "+e);const{nBitLength:a,nByteLength:i}=$a(e,t);if(i>2048)throw new Error("invalid field: expected ORDER of <= 2048 bytes");let c;const o=Object.freeze({ORDER:e,isLE:n,BITS:a,BYTES:i,MASK:sr(a),ZERO:Y,ONE:q,create:s=>ne(s,e),isValid:s=>{if(typeof s!="bigint")throw new Error("invalid field element: expected bigint, got "+typeof s);return Y<=s&&s<e},is0:s=>s===Y,isOdd:s=>(s&q)===q,neg:s=>ne(-s,e),eql:(s,u)=>s===u,sqr:s=>ne(s*s,e),add:(s,u)=>ne(s+u,e),sub:(s,u)=>ne(s-u,e),mul:(s,u)=>ne(s*u,e),pow:(s,u)=>vu(o,s,u),div:(s,u)=>ne(s*Vn(u,e),e),sqrN:s=>s*s,addN:(s,u)=>s+u,subN:(s,u)=>s-u,mulN:(s,u)=>s*u,inv:s=>Vn(s,e),sqrt:r.sqrt||(s=>(c||(c=yu(e)),c(o,s))),invertBatch:s=>wu(o,s),cmov:(s,u,l)=>l?u:s,toBytes:s=>n?ir(s,i):Ye(s,i),fromBytes:s=>{if(s.length!==i)throw new Error("Field.fromBytes: expected "+i+" bytes, got "+s.length);return n?ar(s):Le(s)}});return Object.freeze(o)}function ti(e){if(typeof e!="bigint")throw new Error("field order must be bigint");const t=e.toString(2).length;return Math.ceil(t/8)}function ni(e){const t=ti(e);return t+Math.ceil(t/2)}function xu(e,t,n=!1){const r=e.length,a=ti(t),i=ni(t);if(r<16||r<i||r>1024)throw new Error("expected "+i+"-1024 bytes of input, got "+r);const c=n?ar(e):Le(e),o=ne(c,t-q)+q;return n?ir(o,a):Ye(o,a)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const Kr=BigInt(0),yt=BigInt(1);function nn(e,t){const n=t.negate();return e?n:t}function ri(e,t){if(!Number.isSafeInteger(e)||e<=0||e>t)throw new Error("invalid window size, expected [1.."+t+"], got W="+e)}function rn(e,t){ri(e,t);const n=Math.ceil(t/e)+1,r=2**(e-1);return{windows:n,windowSize:r}}function Eu(e,t){if(!Array.isArray(e))throw new Error("array expected");e.forEach((n,r)=>{if(!(n instanceof t))throw new Error("invalid point at index "+r)})}function Su(e,t){if(!Array.isArray(e))throw new Error("array of scalars expected");e.forEach((n,r)=>{if(!t.isValid(n))throw new Error("invalid scalar at index "+r)})}const an=new WeakMap,ai=new WeakMap;function sn(e){return ai.get(e)||1}function Au(e,t){return{constTimeNegate:nn,hasPrecomputes(n){return sn(n)!==1},unsafeLadder(n,r,a=e.ZERO){let i=n;for(;r>Kr;)r&yt&&(a=a.add(i)),i=i.double(),r>>=yt;return a},precomputeWindow(n,r){const{windows:a,windowSize:i}=rn(r,t),c=[];let o=n,s=o;for(let u=0;u<a;u++){s=o,c.push(s);for(let l=1;l<i;l++)s=s.add(o),c.push(s);o=s.double()}return c},wNAF(n,r,a){const{windows:i,windowSize:c}=rn(n,t);let o=e.ZERO,s=e.BASE;const u=BigInt(2**n-1),l=2**n,d=BigInt(n);for(let p=0;p<i;p++){const f=p*c;let m=Number(a&u);a>>=d,m>c&&(m-=l,a+=yt);const y=f,h=f+Math.abs(m)-1,g=p%2!==0,v=m<0;m===0?s=s.add(nn(g,r[y])):o=o.add(nn(v,r[h]))}return{p:o,f:s}},wNAFUnsafe(n,r,a,i=e.ZERO){const{windows:c,windowSize:o}=rn(n,t),s=BigInt(2**n-1),u=2**n,l=BigInt(n);for(let d=0;d<c;d++){const p=d*o;if(a===Kr)break;let f=Number(a&s);if(a>>=l,f>o&&(f-=u,a+=yt),f===0)continue;let m=r[p+Math.abs(f)-1];f<0&&(m=m.negate()),i=i.add(m)}return i},getPrecomputes(n,r,a){let i=an.get(r);
vendor: 4,490 bytes, line 16
16return i||(i=this.precomputeWindow(r,n),n!==1&&an.set(r,a(i))),i},wNAFCached(n,r,a){const i=sn(n);return this.wNAF(i,this.getPrecomputes(i,n,a),r)},wNAFCachedUnsafe(n,r,a,i){const c=sn(n);return c===1?this.unsafeLadder(n,r,i):this.wNAFUnsafe(c,this.getPrecomputes(c,n,a),r,i)},setWindowSize(n,r){ri(r,t),ai.set(n,r),an.delete(n)}}}function ku(e,t,n,r){if(Eu(n,e),Su(r,t),n.length!==r.length)throw new Error("arrays of points and scalars must have equal length");const a=e.ZERO,i=La(BigInt(n.length)),c=i>12?i-3:i>4?i-2:i?2:1,o=(1<<c)-1,s=new Array(o+1).fill(a),u=Math.floor((t.BITS-1)/c)*c;let l=a;for(let d=u;d>=0;d-=c){s.fill(a);for(let f=0;f<r.length;f++){const m=r[f],y=Number(m>>BigInt(d)&BigInt(o));s[y]=s[y].add(n[f])}let p=a;for(let f=s.length-1,m=a;f>0;f--)m=m.add(s[f]),p=p.add(m);if(l=l.add(p),d!==0)for(let f=0;f<c;f++)l=l.double()}return l}function ii(e){return bu(e.Fp),lt(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...$a(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function Vr(e){e.lowS!==void 0&&We("lowS",e.lowS),e.prehash!==void 0&&We("prehash",e.prehash)}function Ou(e){const t=ii(e);lt(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});const{endo:n,Fp:r,a}=t;if(n){if(!r.eql(a,r.ZERO))throw new Error("invalid endomorphism, can only be defined for Koblitz curves that have a=0");if(typeof n!="object"||typeof n.beta!="bigint"||typeof n.splitScalar!="function")throw new Error("invalid endomorphism, expected beta: bigint and splitScalar: function")}return Object.freeze({...t})}const{bytesToNumberBE:Pu,hexToBytes:Iu}=Ic;class Cu extends Error{constructor(t=""){super(t)}}const ye={Err:Cu,_tlv:{encode:(e,t)=>{const{Err:n}=ye;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length&1)throw new n("tlv.encode: unpadded data");const r=t.length/2,a=at(r);if(a.length/2&128)throw new n("tlv.encode: long form length too big");const i=r>127?at(a.length/2|128):"";return at(e)+i+a+t},decode(e,t){const{Err:n}=ye;let r=0;if(e<0||e>256)throw new n("tlv.encode: wrong tag");if(t.length<2||t[r++]!==e)throw new n("tlv.decode: wrong tlv");const a=t[r++],i=!!(a&128);let c=0;if(!i)c=a;else{const s=a&127;if(!s)throw new n("tlv.decode(long): indefinite length not supported");if(s>4)throw new n("tlv.decode(long): byte length is too big");const u=t.subarray(r,r+s);if(u.length!==s)throw new n("tlv.decode: length bytes not complete");if(u[0]===0)throw new n("tlv.decode(long): zero leftmost byte");for(const l of u)c=c<<8|l;if(r+=s,c<128)throw new n("tlv.decode(long): not minimal encoding")}const o=t.subarray(r,r+c);if(o.length!==c)throw new n("tlv.decode: wrong value length");return{v:o,l:t.subarray(r+c)}}},_int:{encode(e){const{Err:t}=ye;if(e<be)throw new t("integer: negative integers are not allowed");let n=at(e);if(Number.parseInt(n[0],16)&8&&(n="00"+n),n.length&1)throw new t("unexpected DER parsing assertion: unpadded hex");return n},decode(e){const{Err:t}=ye;if(e[0]&128)throw new t("invalid signature integer: negative");if(e[0]===0&&!(e[1]&128))throw new t("invalid signature integer: unnecessary leading zero");return Pu(e)}},toSig(e){const{Err:t,_int:n,_tlv:r}=ye,a=typeof e=="string"?Iu(e):e;dt(a);const{v:i,l:c}=r.decode(48,a);if(c.length)throw new t("invalid signature: left bytes after parsing");const{v:o,l:s}=r.decode(2,i),{v:u,l}=r.decode(2,s);if(l.length)throw new t("invalid signature: left bytes after parsing");return{r:n.decode(o),s:n.decode(u)}},hexFromSig(e){const{_tlv:t,_int:n}=ye,r=t.encode(2,n.encode(e.r)),a=t.encode(2,n.encode(e.s)),i=r+a;return t.encode(48,i)}},be=BigInt(0),J=BigInt(1);BigInt(2);const qr=BigInt(3);BigInt(4);function Tu(e){const t=Ou(e),{Fp:n}=t,r=ei(t.n,t.nBitLength),a=t.toBytes||((y,h,g)=>{const v=h.toAffine();return ut(Uint8Array.from([4]),n.toBytes(v.x),n.toBytes(v.y))}),i=t.fromBytes||(y=>{const h=y.subarray(1),g=n.fromBytes(h.subarray(0,n.BYTES)),v=n.fromBytes(h.subarray(n.BYTES,2*n.BYTES));return{x:g,y:v}});function c(y){const{a:h,b:g}=t,v=n.sqr(y),b=n.mul(v,y);return n.add(n.add(b,n.mul(y,h)),g)}if(!n.eql(n.sqr(t.Gy),c(t.Gx)))throw new Error("bad generator point: equation left != right");function o(y){return Ft(y,J,t.n)}function s(y){const{allowedPrivateKeyLengths:h,nByteLength:g,wrapPrivateKey:v,n:b}=t;
vendor: 4,643 bytes, line 16
16if(h&&typeof y!="bigint"){if(Me(y)&&(y=Je(y)),typeof y!="string"||!h.includes(y.length))throw new Error("invalid private key");y=y.padStart(g*2,"0")}let w;try{w=typeof y=="bigint"?y:Le(ie("private key",y,g))}catch{throw new Error("invalid private key, expected hex or "+g+" bytes, got "+typeof y)}return v&&(w=ne(w,b)),De("private key",w,J,b),w}function u(y){if(!(y instanceof p))throw new Error("ProjectivePoint expected")}const l=zn((y,h)=>{const{px:g,py:v,pz:b}=y;if(n.eql(b,n.ONE))return{x:g,y:v};const w=y.is0();h==null&&(h=w?n.ONE:n.inv(b));const k=n.mul(g,h),C=n.mul(v,h),I=n.mul(b,h);if(w)return{x:n.ZERO,y:n.ZERO};if(!n.eql(I,n.ONE))throw new Error("invZ was invalid");return{x:k,y:C}}),d=zn(y=>{if(y.is0()){if(t.allowInfinityPoint&&!n.is0(y.py))return;throw new Error("bad point: ZERO")}const{x:h,y:g}=y.toAffine();if(!n.isValid(h)||!n.isValid(g))throw new Error("bad point: x or y not FE");const v=n.sqr(g),b=c(h);if(!n.eql(v,b))throw new Error("bad point: equation left != right");if(!y.isTorsionFree())throw new Error("bad point: not in prime-order subgroup");return!0});class p{constructor(h,g,v){if(this.px=h,this.py=g,this.pz=v,h==null||!n.isValid(h))throw new Error("x required");if(g==null||!n.isValid(g))throw new Error("y required");if(v==null||!n.isValid(v))throw new Error("z required");Object.freeze(this)}static fromAffine(h){const{x:g,y:v}=h||{};if(!h||!n.isValid(g)||!n.isValid(v))throw new Error("invalid affine point");if(h instanceof p)throw new Error("projective point not allowed");const b=w=>n.eql(w,n.ZERO);return b(g)&&b(v)?p.ZERO:new p(g,v,n.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(h){const g=n.invertBatch(h.map(v=>v.pz));return h.map((v,b)=>v.toAffine(g[b])).map(p.fromAffine)}static fromHex(h){const g=p.fromAffine(i(ie("pointHex",h)));return g.assertValidity(),g}static fromPrivateKey(h){return p.BASE.multiply(s(h))}static msm(h,g){return ku(p,r,h,g)}_setWindowSize(h){m.setWindowSize(this,h)}assertValidity(){d(this)}hasEvenY(){const{y:h}=this.toAffine();if(n.isOdd)return!n.isOdd(h);throw new Error("Field doesn't support isOdd")}equals(h){u(h);const{px:g,py:v,pz:b}=this,{px:w,py:k,pz:C}=h,I=n.eql(n.mul(g,C),n.mul(w,b)),T=n.eql(n.mul(v,C),n.mul(k,b));return I&&T}negate(){return new p(this.px,n.neg(this.py),this.pz)}double(){const{a:h,b:g}=t,v=n.mul(g,qr),{px:b,py:w,pz:k}=this;let C=n.ZERO,I=n.ZERO,T=n.ZERO,E=n.mul(b,b),j=n.mul(w,w),H=n.mul(k,k),G=n.mul(b,w);return G=n.add(G,G),T=n.mul(b,k),T=n.add(T,T),C=n.mul(h,T),I=n.mul(v,H),I=n.add(C,I),C=n.sub(j,I),I=n.add(j,I),I=n.mul(C,I),C=n.mul(G,C),T=n.mul(v,T),H=n.mul(h,H),G=n.sub(E,H),G=n.mul(h,G),G=n.add(G,T),T=n.add(E,E),E=n.add(T,E),E=n.add(E,H),E=n.mul(E,G),I=n.add(I,E),H=n.mul(w,k),H=n.add(H,H),E=n.mul(H,G),C=n.sub(C,E),T=n.mul(H,j),T=n.add(T,T),T=n.add(T,T),new p(C,I,T)}add(h){u(h);const{px:g,py:v,pz:b}=this,{px:w,py:k,pz:C}=h;let I=n.ZERO,T=n.ZERO,E=n.ZERO;const j=t.a,H=n.mul(t.b,qr);let G=n.mul(g,w),$=n.mul(v,k),A=n.mul(b,C),O=n.add(g,v),P=n.add(w,k);O=n.mul(O,P),P=n.add(G,$),O=n.sub(O,P),P=n.add(g,b);let U=n.add(w,C);return P=n.mul(P,U),U=n.add(G,A),P=n.sub(P,U),U=n.add(v,b),I=n.add(k,C),U=n.mul(U,I),I=n.add($,A),U=n.sub(U,I),E=n.mul(j,P),I=n.mul(H,A),E=n.add(I,E),I=n.sub($,E),E=n.add($,E),T=n.mul(I,E),$=n.add(G,G),$=n.add($,G),A=n.mul(j,A),P=n.mul(H,P),$=n.add($,A),A=n.sub(G,A),A=n.mul(j,A),P=n.add(P,A),G=n.mul($,P),T=n.add(T,G),G=n.mul(U,P),I=n.mul(O,I),I=n.sub(I,G),G=n.mul(O,$),E=n.mul(U,E),E=n.add(E,G),new p(I,T,E)}subtract(h){return this.add(h.negate())}is0(){return this.equals(p.ZERO)}wNAF(h){return m.wNAFCached(this,h,p.normalizeZ)}multiplyUnsafe(h){const{endo:g,n:v}=t;De("scalar",h,be,v);const b=p.ZERO;if(h===be)return b;if(this.is0()||h===J)return this;if(!g||m.hasPrecomputes(this))return m.wNAFCachedUnsafe(this,h,p.normalizeZ);let{k1neg:w,k1:k,k2neg:C,k2:I}=g.splitScalar(h),T=b,E=b,j=this;for(;k>be||I>be;)k&J&&(T=T.add(j)),I&J&&(E=E.add(j)),j=j.double(),k>>=J,I>>=J;return w&&(T=T.negate()),C&&(E=E.negate()),E=new p(n.mul(E.px,g.beta),E.py,E.pz),T.add(E)}multiply(h){const{endo:g,n:v}=t;De("scalar",h,J,v);let b,w;if(g){const{k1neg:k,k1:C,k2neg:I,k2:T}=g.splitScalar(h);let{p:E,f:j}=this.wNAF(C),{p:H,f:G}=this.wNAF(T);E=m.constTimeNegate(k,E),H=m.constTimeNegate(I,H),H=new p(n.mul(H.px,g.beta),H.py,H.pz),b=E.add(H),w=j.add(G)}else{const{p:k,f:C}=this.wNAF(h);b=k,w=C}return p.normalizeZ([b,w])[0]}multiplyAndAddUnsafe(h,g,v){const b=p.BASE,w=(C,I)=>I===be||I===J||!C.equals(b)?C.multiplyUnsafe(I):C.multiply(I),k=w(this,g).add(w(h,v));return k.is0()?void 0:k}toAffine(h){return l(this,h)}isTorsionFree(){const{h,isTorsionFree:g}=t;if(h===J)return!0;
16if(g)return g(p,this);throw new Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){const{h,clearCofactor:g}=t;return h===J?this:g?g(p,this):this.multiplyUnsafe(t.h)}toRawBytes(h=!0){return We("isCompressed",h),this.assertValidity(),a(p,this,h)}toHex(h=!0){return We("isCompressed",h),Je(this.toRawBytes(h))}}p.BASE=new p(t.Gx,t.Gy,n.ONE),p.ZERO=new p(n.ZERO,n.ONE,n.ZERO);const f=t.nBitLength,m=Au(p,t.endo?Math.ceil(f/2):f);return{CURVE:t,ProjectivePoint:p,normPrivateKeyToScalar:s,weierstrassEquation:c,isWithinCurveOrder:o}}function Bu(e){const t=ii(e);return lt(t,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})}function ju(e){const t=Bu(e),{Fp:n,n:r}=t,a=n.BYTES+1,i=2*n.BYTES+1;function c(A){return ne(A,r)}function o(A){return Vn(A,r)}const{ProjectivePoint:s,normPrivateKeyToScalar:u,weierstrassEquation:l,isWithinCurveOrder:d}=Tu({...t,toBytes(A,O,P){const U=O.toAffine(),M=n.toBytes(U.x),W=ut;return We("isCompressed",P),P?W(Uint8Array.from([O.hasEvenY()?2:3]),M):W(Uint8Array.from([4]),M,n.toBytes(U.y))},fromBytes(A){const O=A.length,P=A[0],U=A.subarray(1);if(O===a&&(P===2||P===3)){const M=Le(U);if(!Ft(M,J,n.ORDER))throw new Error("Point is not on curve");const W=l(M);let X;try{X=n.sqrt(W)}catch(ae){const _=ae instanceof Error?": "+ae.message:"";throw new Error("Point is not on curve"+_)}const Q=(X&J)===J;return(P&1)===1!==Q&&(X=n.neg(X)),{x:M,y:X}}else if(O===i&&P===4){const M=n.fromBytes(U.subarray(0,n.BYTES)),W=n.fromBytes(U.subarray(n.BYTES,2*n.BYTES));return{x:M,y:W}}else{const M=a,W=i;throw new Error("invalid Point, expected length of "+M+", or uncompressed "+W+", got "+O)}}}),p=A=>Je(Ye(A,t.nByteLength));function f(A){const O=r>>J;return A>O}function m(A){return f(A)?c(-A):A}const y=(A,O,P)=>Le(A.slice(O,P));class h{constructor(O,P,U){this.r=O,this.s=P,this.recovery=U,this.assertValidity()}static fromCompact(O){const P=t.nByteLength;return O=ie("compactSignature",O,P*2),new h(y(O,0,P),y(O,P,2*P))}static fromDER(O){const{r:P,s:U}=ye.toSig(ie("DER",O));return new h(P,U)}assertValidity(){De("r",this.r,J,r),De("s",this.s,J,r)}addRecoveryBit(O){return new h(this.r,this.s,O)}recoverPublicKey(O){const{r:P,s:U,recovery:M}=this,W=C(ie("msgHash",O));if(M==null||![0,1,2,3].includes(M))throw new Error("recovery id invalid");const X=M===2||M===3?P+t.n:P;if(X>=n.ORDER)throw new Error("recovery id 2 or 3 invalid");const Q=(M&1)===0?"02":"03",le=s.fromHex(Q+p(X)),ae=o(X),_=c(-W*ae),Fe=c(U*ae),ve=s.BASE.multiplyAndAddUnsafe(le,_,Fe);if(!ve)throw new Error("point at infinify");return ve.assertValidity(),ve}hasHighS(){return f(this.s)}normalizeS(){return this.hasHighS()?new h(this.r,c(-this.s),this.recovery):this}toDERRawBytes(){return ct(this.toDERHex())}toDERHex(){return ye.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return ct(this.toCompactHex())}toCompactHex(){return p(this.r)+p(this.s)}}const g={isValidPrivateKey(A){try{return u(A),!0}catch{return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{const A=ni(t.n);return xu(t.randomBytes(A),t.n)},precompute(A=8,O=s.BASE){return O._setWindowSize(A),O.multiply(BigInt(3)),O}};function v(A,O=!0){return s.fromPrivateKey(A).toRawBytes(O)}function b(A){const O=Me(A),P=typeof A=="string",U=(O||P)&&A.length;return O?U===a||U===i:P?U===2*a||U===2*i:A instanceof s}function w(A,O,P=!0){if(b(A))throw new Error("first arg must be private key");if(!b(O))throw new Error("second arg must be public key");return s.fromHex(O).multiply(u(A)).toRawBytes(P)}const k=t.bits2int||function(A){if(A.length>8192)throw new Error("input is too large");const O=Le(A),P=A.length*8-t.nBitLength;return P>0?O>>BigInt(P):O},C=t.bits2int_modN||function(A){return c(k(A))},I=sr(t.nBitLength);function T(A){return De("num < 2^"+t.nBitLength,A,be,I),Ye(A,t.nByteLength)}function E(A,O,P=j){if(["recovered","canonical"].some(Ce=>Ce in P))throw new Error("sign() legacy options not supported");const{hash:U,randomBytes:M}=t;let{lowS:W,prehash:X,extraEntropy:Q}=P;W==null&&(W=!0),A=ie("msgHash",A),Vr(P),X&&(A=ie("prehashed msgHash",U(A)));const le=C(A),ae=u(O),_=[T(ae),T(le)];if(Q!=null&&Q!==!1){const Ce=Q===!0?M(n.BYTES):Q;_.push(ie("extraEntropy",Ce))}const Fe=ut(..._),ve=le;function Zt(Ce){const He=k(Ce);if(!d(He))return;const Wt=o(He),$e=s.BASE.multiply(He).toAffine(),Te=c($e.x);if(Te===be)return;const et=c(Wt*c(ve+Te*ae));if(et===be)return;let tt=($e.x===Te?0:2)|Number($e.y&J),Ge=et;return W&&f(et)&&(Ge=m(et),tt^=1),new h(Te,Ge,tt)}return{seed:Fe,k2sig:Zt}}const j={lowS:t.lowS,prehash:!1},H={lowS:t.lowS,prehash:!1};function G(A,O,P=j){const{seed:U,k2sig:M}=E(A,O,P),W=t;return Da(W.hash.outputLen,W.nByteLength,W.hmac)(U,M)}s.BASE._setWindowSize(8);function $(A,O,P,U=H){var tt;const M=A;O=ie("msgHash",O),P=ie("publicKey",P);const{lowS:W,prehash:X,format:Q}=U;if(Vr(U),"strict"in U)throw new Error("options.strict was renamed to lowS");if(Q!==void 0&&Q!=="compact"&&Q!=="der")throw new Error("format must be compact or der");
16const le=typeof M=="string"||Me(M),ae=!le&&!Q&&typeof M=="object"&&M!==null&&typeof M.r=="bigint"&&typeof M.s=="bigint";if(!le&&!ae)throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");let _,Fe;try{if(ae&&(_=new h(M.r,M.s)),le){try{Q!=="compact"&&(_=h.fromDER(M))}catch(Ge){if(!(Ge instanceof ye.Err))throw Ge}!_&&Q!=="der"&&(_=h.fromCompact(M))}Fe=s.fromHex(P)}catch{return!1}if(!_||W&&_.hasHighS())return!1;X&&(O=t.hash(O));const{r:ve,s:Zt}=_,Ce=C(O),He=o(Zt),Wt=c(Ce*He),$e=c(ve*He),Te=(tt=s.BASE.multiplyAndAddUnsafe(Fe,Wt,$e))==null?void 0:tt.toAffine();return Te?c(Te.x)===ve:!1}return{CURVE:t,getPublicKey:v,getSharedSecret:w,sign:G,verify:$,ProjectivePoint:s,Signature:h,utils:g}}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function Uu(e){return{hash:e,hmac:(t,...n)=>_a(e,t,ru(...n)),randomBytes:iu}}function Nu(e,t){const n=r=>ju({...e,...Uu(r)});return{...n(t),create:n}}function Ru(e,t={}){const{recovered:n}=t;if(typeof e.r>"u")throw new on({signature:e});if(typeof e.s>"u")throw new on({signature:e});if(n&&typeof e.yParity>"u")throw new on({signature:e});if(e.r<0n||e.r>Fr)throw new Hu({value:e.r});if(e.s<0n||e.s>Fr)throw new Gu({value:e.s});if(typeof e.yParity=="number"&&e.yParity!==0&&e.yParity!==1)throw new ur({value:e.yParity})}function si(e){if(e.length!==130&&e.length!==132)throw new Fu({signature:e});const t=BigInt(ee(e,0,32)),n=BigInt(ee(e,32,64)),r=(()=>{const a=+`0x${e.slice(130)}`;if(!Number.isNaN(a))try{return Du(a)}catch{throw new ur({value:a})}})();return typeof r>"u"?{r:t,s:n}:{r:t,s:n,yParity:r}}function Lu(e){Ru(e);const t=e.r,n=e.s;return Gt(Oe(t,{size:32}),Oe(n,{size:32}),typeof e.yParity=="number"?Oe(Mu(e.yParity),{size:1}):"0x")}function Du(e){if(e===0||e===27)return 0;if(e===1||e===28)return 1;if(e>=35)return e%2===0?1:0;throw new zu({value:e})}function Mu(e){if(e===0)return 27;if(e===1)return 28;throw new ur({value:e})}class Fu extends z{constructor({signature:t}){super(`Value \`${t}\` is an invalid signature size.`,{metaMessages:["Expected: 64 bytes or 65 bytes.",`Received ${Pe(Fa(t))} bytes.`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSerializedSizeError"})}}class on extends z{constructor({signature:t}){super(`Signature \`${Ht(t)}\` is missing either an \`r\`, \`s\`, or \`yParity\` property.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.MissingPropertiesError"})}}class Hu extends z{constructor({value:t}){super(`Value \`${t}\` is an invalid r value. r must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidRError"})}}class Gu extends z{constructor({value:t}){super(`Value \`${t}\` is an invalid s value. s must be a positive integer less than 2^256.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidSError"})}}class ur extends z{constructor({value:t}){super(`Value \`${t}\` is an invalid y-parity value. Y-parity must be 0 or 1.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidYParityError"})}}class zu extends z{constructor({value:t}){super(`Value \`${t}\` is an invalid v value. v must be 27, 28 or >=35.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Signature.InvalidVError"})}}const Ku=new TextDecoder,gt=Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((e,t)=>[t,e.charCodeAt(0)]));({...Object.fromEntries(Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").map((e,t)=>[e.charCodeAt(0),t]))});function Vu(e,t={}){const{pad:n=!0,url:r=!1}=t,a=new Uint8Array(Math.ceil(e.length/3)*4);for(let s=0,u=0;u<e.length;s+=4,u+=3){const l=(e[u]<<16)+(e[u+1]<<8)+(e[u+2]|0);a[s]=gt[l>>18],a[s+1]=gt[l>>12&63],a[s+2]=gt[l>>6&63],a[s+3]=gt[l&63]}const i=e.length%3,c=Math.floor(e.length/3)*4+(i&&i+1);
16let o=Ku.decode(new Uint8Array(a.buffer,0,c));return n&&i===1&&(o+="=="),n&&i===2&&(o+="="),r&&(o=o.replaceAll("+","-").replaceAll("/","_")),o}function qu(e,t={}){return Vu(qa(e),t)}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */const oi=ei(BigInt("0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff")),Zu=oi.create(BigInt("-3")),Wu=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b"),Zr=Nu({a:Zu,b:Wu,Fp:oi,n:BigInt("0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551"),Gx:BigInt("0x6b17d1f2e12c4247f8bce6e563a440f277037d812deb33a0f4a13945d898c296"),Gy:BigInt("0x4fe342e2fe1a7f9b8ee7eb4a7c0f9e162bce33576b315ececbb6406837bf51f5"),h:BigInt(1),lowS:!1},pu);Uint8Array.from([105,171,180,181,160,222,75,198,42,42,32,31,141,37,186,233]);function Ju(e={}){const{flag:t=5,rpId:n=window.location.hostname,signCount:r=0}=e,a=Wa(Ha(n)),i=Oe(t,{size:1}),c=Oe(r,{size:4});return Gt(a,i,c)}function Yu(e){const{challenge:t,crossOrigin:n=!1,extraClientData:r,origin:a=window.location.origin}=e;return JSON.stringify({type:"webauthn.get",challenge:qu(t,{url:!0,pad:!1}),origin:a,crossOrigin:n,...r})}function Qu(e){const{challenge:t,crossOrigin:n,extraClientData:r,flag:a,origin:i,rpId:c,signCount:o,userVerification:s="required"}=e,u=Ju({flag:a,rpId:c,signCount:o}),l=Yu({challenge:t,crossOrigin:n,extraClientData:r,origin:i}),d=Wa(Ha(l)),p=l.indexOf('"challenge"'),f=l.indexOf('"type"'),m={authenticatorData:u,clientDataJSON:l,challengeIndex:p,typeIndex:f,userVerificationRequired:s==="required"},y=Gt(u,d);return{metadata:m,payload:y}}async function Xu(e={}){const{extractable:t=!1}=e,n=await globalThis.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},t,["sign","verify"]),r=await globalThis.crypto.subtle.exportKey("raw",n.publicKey),a=Wc(new Uint8Array(r));return{privateKey:n.privateKey,publicKey:a}}async function _u(e){const{payload:t,privateKey:n}=e,r=await globalThis.crypto.subtle.sign({name:"ECDSA",hash:"SHA-256"},n,Ka(t)),a=Va(new Uint8Array(r)),i=Dr(Lr(a,0,32));let c=Dr(Lr(a,32,64));return c>Zr.CURVE.n/2n&&(c=Zr.CURVE.n-c),{r:i,s:c}}function $u(e,t){const n=typeof indexedDB<"u"?ji(e,t):void 0;return{getItem:async r=>{const a=await Ri(r,n);return a||null},removeItem:async r=>Ni(r,n),setItem:async(r,a)=>Ui(r,a,n)}}const ed="base-acc-sdk",td="keys",Vt="activeId",Ie=$u(ed,td);async function nd(){const e=await Xu({extractable:!1}),t=ee(zt(e.publicKey),1);return await Ie.setItem(t,e),await Ie.setItem(Vt,t),e}async function ci(){const e=await Ie.getItem(Vt);if(!e)return null;const t=await Ie.getItem(e);return t||null}async function rd(){const e=await ci();if(!e){const t=await nd(),n=ee(zt(t.publicKey),1);return await Ie.setItem(n,t),await Ie.setItem(Vt,n),t}return e}async function ad(){const e=await rd(),t=ee(zt(e.publicKey),1),n=async r=>{const{payload:a,metadata:i}=Qu({challenge:r,origin:"https://keys.coinbase.com",userVerification:"preferred"}),c=await _u({payload:a,privateKey:e.privateKey});return{signature:Lu(c),raw:{},webauthn:i}};return{id:t,publicKey:t,async sign({hash:r}){return n(r)},async signMessage({message:r}){return n(ra(r))},async signTypedData(r){return n(Lt(r))},type:"webAuthn"}}async function qn(){return{account:await ad()}}async function il(){const e=await ci();e&&(await Ie.removeItem(ee(zt(e.publicKey),1)),await Ie.removeItem(Vt))}const Wr={storageKey:"ownPrivateKey",keyType:"private"},Jr={storageKey:"ownPublicKey",keyType:"public"},Yr={storageKey:"peerPublicKey",keyType:"public"};class id{constructor(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null}async getOwnPublicKey(){return await this.loadKeysIfNeeded(),this.ownPublicKey}async getSharedSecret(){return await this.loadKeysIfNeeded(),this.sharedSecret}async setPeerPublicKey(t){this.sharedSecret=null,this.peerPublicKey=t,await this.storeKey(Yr,t),await this.loadKeysIfNeeded()}async clear(){this.ownPrivateKey=null,this.ownPublicKey=null,this.peerPublicKey=null,this.sharedSecret=null,x.keys.clear()}async generateKeyPair(){const t=await rc();this.ownPrivateKey=t.privateKey,this.ownPublicKey=t.publicKey,await this.storeKey(Wr,t.privateKey),await this.storeKey(Jr,t.publicKey)}async loadKeysIfNeeded(){if(this.ownPrivateKey===null&&(this.ownPrivateKey=await this.loadKey(Wr)),this.ownPublicKey===null&&(this.ownPublicKey=await this.loadKey(Jr)),(this.ownPrivateKey===null||this.ownPublicKey===null)&&await this.generateKeyPair(),this.peerPublicKey===null&&(this.peerPublicKey=await this.loadKey(Yr)),this.sharedSecret===null){if(this.ownPrivateKey===null||this.peerPublicKey===null)return;this.sharedSecret=await ac(this.ownPrivateKey,this.peerPublicKey)}}async loadKey(t){const n=x.keys.get(t.storageKey);return n?ja(t.keyType,n):null}async storeKey(t,n){const r=await Ba(t.keyType,n);x.keys.set(t.storageKey,r)}}function it(e,t){if(!(typeof e!="object"||e===null))return t.split(/[.[\]]+/).filter(
16Boolean).reduce((n,r)=>{if(typeof n=="object"&&n!==null)return n[r]},e)}function Qr(e){var t;if(!Array.isArray(e.params))return null;switch(e.method){case"personal_sign":return e.params[1];case"eth_signTypedData_v4":return e.params[0];case"eth_signTransaction":case"eth_sendTransaction":case"wallet_sendCalls":return(t=e.params[0])===null||t===void 0?void 0:t.from;default:return null}}function sd(e,t){if(!Array.isArray(e.params))throw S.rpc.invalidParams();const n=[...e.params];switch(e.method){case"eth_signTransaction":case"eth_sendTransaction":case"wallet_sendCalls":n[0].from=t;break;case"eth_signTypedData_v4":n[0]=t;break;case"personal_sign":n[1]=t;break}return Object.assign(Object.assign({},e),{params:n})}function Xr(e){var t;if(!e||!Array.isArray(e)||!(!((t=e[0])===null||t===void 0)&&t.chainId)||typeof e[0].chainId!="string"&&typeof e[0].chainId!="number")throw S.rpc.invalidParams()}function od(e){if(!e||!Array.isArray(e)||e.length!==1&&e.length!==2||typeof e[0]!="string"||!ot(e[0]))throw S.rpc.invalidParams();if(e.length===2){if(!Array.isArray(e[1]))throw S.rpc.invalidParams();for(const t of e[1])if(typeof t!="string"||!t.startsWith("0x"))throw S.rpc.invalidParams()}}function Rt(e,t){const n=Object.assign({},e);if(t&&e.method.startsWith("wallet_")){let r=it(n,"params.0.capabilities");if(typeof r>"u"&&(r={}),typeof r!="object")throw S.rpc.invalidParams();r=Object.assign(Object.assign({},t),r),n.params&&Array.isArray(n.params)&&(n.params[0]=Object.assign(Object.assign({},n.params[0]),{capabilities:r}))}return n}async function Zn(){var e;const t=(e=x.subAccountsConfig.get())!==null&&e!==void 0?e:{},n={};if(t.enableAutoSubAccounts){const{account:r}=t.toOwnerAccount?await t.toOwnerAccount():await qn();if(!r)throw S.provider.unauthorized("No owner account found");n.addSubAccount={account:{type:"create",keys:[{type:r.address?"address":"webauthn-p256",publicKey:r.address||r.publicKey}]}}}x.subAccountsConfig.set({capabilities:n})}function cd(e){if(!(e.method==="coinbase_fetchPermissions"&&e.params===void 0)){if(e.method==="coinbase_fetchPermissions"&&Array.isArray(e.params)&&e.params.length===1&&typeof e.params[0]=="object"){if(typeof e.params[0].account!="string"||!e.params[0].chainId.startsWith("0x"))throw S.rpc.invalidParams("FetchPermissions - Invalid params: params[0].account must be a hex string");if(typeof e.params[0].chainId!="string"||!e.params[0].chainId.startsWith("0x"))throw S.rpc.invalidParams("FetchPermissions - Invalid params: params[0].chainId must be a hex string");if(typeof e.params[0].spender!="string"||!e.params[0].spender.startsWith("0x"))throw S.rpc.invalidParams("FetchPermissions - Invalid params: params[0].spender must be a hex string");return}throw S.rpc.invalidParams()}}function ud(e){var t,n,r;if(e.params!==void 0)return e;const a=(t=x.getState().account.accounts)===null||t===void 0?void 0:t[0],i=(n=x.getState().account.chain)===null||n===void 0?void 0:n.id,c=(r=x.getState().subAccount)===null||r===void 0?void 0:r.address;if(!a||!c||!i)throw S.rpc.invalidParams("FetchPermissions - one or more of account, sub account, or chain id is missing, connect to sub account via wallet_connect first");return{method:"coinbase_fetchPermissions",params:[{account:a,chainId:N(i),spender:c}]}}function dd({spendPermission:e,chainId:t}){return{domain:{name:"Spend Permission Manager",version:"1",chainId:t,verifyingContract:la},types:{SpendPermission:[{name:"account",type:"address"},{name:"spender",type:"address"},{name:"token",type:"address"},{name:"allowance",type:"uint160"},{name:"period",type:"uint48"},{name:"start",type:"uint48"},{name:"end",type:"uint48"},{name:"salt",type:"uint256"},{name:"extraData",type:"bytes"}]},primaryType:"SpendPermission",message:{account:e.account,spender:e.spender,token:e.token,allowance:e.allowance,period:e.period,start:e.start,end:e.end,salt:e.salt,extraData:e.extraData}}}function ld({spendPermissionBatch:e,chainId:t}){return{domain:{name:"Spend Permission Manager",version:"1",chainId:t,verifyingContract:la},types:{SpendPermissionBatch:[{name:"account",type:"address"},{name:"period",type:"uint48"},{name:"start",type:"uint48"},{name:"end",type:"uint48"}
16,{name:"permissions",type:"PermissionDetails[]"}],PermissionDetails:[{name:"spender",type:"address"},{name:"token",type:"address"},{name:"allowance",type:"uint160"},{name:"salt",type:"uint256"},{name:"extraData",type:"bytes"}]},primaryType:"SpendPermissionBatch",message:{account:e.account,period:e.period,start:e.start,end:e.end,permissions:e.permissions.map(n=>({spender:n.spender,token:n.token,allowance:n.allowance,salt:n.salt,extraData:n.extraData}))}}}async function ui({client:e,id:t}){var n;const r=await aa(e,{id:t});if(r.status==="success")return(n=r.receipts)===null||n===void 0?void 0:n[0].transactionHash;throw S.rpc.internal("failed to send transaction")}function di({calls:e,from:t,chainId:n,capabilities:r}){const a=da.get().paymasterUrls;let i={method:"wallet_sendCalls",params:[{version:"1.0",calls:e,chainId:N(n),from:t,atomicRequired:!0,capabilities:r}]};return a!=null&&a[n]&&(i=Rt(i,{paymasterService:{url:a==null?void 0:a[n]}})),i}async function pd(){const e=$n();return await new Promise(n=>{_n({dialogContext:"sub_account_insufficient_balance"}),e.presentItem({title:"Insufficient spend permission",message:"Your spend permission's remaining balance cannot cover this transaction. Please choose how to proceed:",onClose:()=>{ba({dialogContext:"sub_account_insufficient_balance"}),e.clear()},actionItems:[{text:"Edit spend permission",variant:"primary",onClick:()=>{Re({dialogContext:"sub_account_insufficient_balance",dialogAction:"create_permission"}),e.clear(),n("update_permission")}},{text:"Use primary account",variant:"secondary",onClick:()=>{Re({dialogContext:"sub_account_insufficient_balance",dialogAction:"continue_in_popup"}),e.clear(),n("continue_popup")}}]})})}function fd({errorData:e,sourceAddress:t}){var n;const r=[];for(const[a,{amount:i,sources:c}]of Object.entries((n=e==null?void 0:e.required)!==null&&n!==void 0?n:{})){if(c.filter(s=>ke(s.balance)>=ke(i)&&s.address.toLowerCase()===(t==null?void 0:t.toLowerCase())).length===0)throw new Error("Source address has insufficient balance for a token");r.push({token:a,requiredAmount:ke(i)})}return r}function md(e){return typeof e=="object"&&e!==null&&"calls"in e}function hd(e){return Array.isArray(e)&&e.length===1&&typeof e[0]=="object"&&e[0]!==null&&"to"in e[0]}function yd(e){return Li(me(qe(e)),0,16)}function gd({attribution:e,dappOrigin:t}){if(e){if("auto"in e&&e.auto&&t)return yd(t);if("dataSuffix"in e)return e.dataSuffix}}function bd(e,t){var n;if(!Array.isArray(e==null?void 0:e.params))return!1;const r=(n=e.params[0])===null||n===void 0?void 0:n.capabilities;return!r||typeof r!="object"?!1:t in r}function bt(e,t){const n=e.filter(r=>r!==t);return[t,...n]}function vt(e,t){return[...e.filter(r=>r!==t),t]}async function vd(){const e=x.spendPermissions.get(),t=x.subAccounts.get(),n=x.account.get().accounts;return n?{accounts:n==null?void 0:n.map(a=>({address:a,capabilities:{subAccounts:t?[t]:void 0,spendPermissions:e.length>0?{permissions:e}:void 0}}))}:null}function wd(e){return e.replaceAll("+","-").replaceAll("/","_").replace(/=+$/,"")}function wt(e){const t=btoa(String.fromCharCode(...new Uint8Array(e)));return wd(t)}function xd({webauthn:e,signature:t,id:n}){const r=si(t);return{id:n,rawId:wt(hr(n)),response:{authenticatorData:wt(pn(e.authenticatorData)),clientDataJSON:wt(hr(e.clientDataJSON)),signature:wt(Ed(r.r,r.s))},type:JSON.parse(e.clientDataJSON).type}}function Ed(e,t){const n=pn(yr(N(e))),r=pn(yr(N(t))),a=n.length,i=r.length,c=a+i+4,o=new Uint8Array(c+2);return o[0]=48,o[1]=c,o[2]=2,o[3]=a,o.set(n,4),o[a+4]=2,o[a+5]=i,o.set(r,a+6),o}var Sd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};async function Ad(e){const{owner:t,ownerIndex:n,address:r,client:a,factoryData:i}=e,c={abi:To,address:Bo,version:"0.6"},o={abi:pa,address:hs};return Ro({client:a,entryPoint:c,extend:{abi:oe,factory:o},async decodeCalls(s){const u=ia({abi:oe,data:s});if(u.functionName==="execute")return[{to:u.args[0],value:u.args[1],data:u.args[2]}];
16if(u.functionName==="executeBatch")return u.args[0].map(l=>({to:l.target,value:l.value,data:l.data}));throw new B(`unable to decode calls for "${u.functionName}"`)},async encodeCalls(s){var u,l;return s.length===1?de({abi:oe,functionName:"execute",args:[s[0].to,(u=s[0].value)!==null&&u!==void 0?u:BigInt(0),(l=s[0].data)!==null&&l!==void 0?l:"0x"]}):de({abi:oe,functionName:"executeBatch",args:[s.map(d=>{var p,f;return{data:(p=d.data)!==null&&p!==void 0?p:"0x",target:d.to,value:(f=d.value)!==null&&f!==void 0?f:BigInt(0)}})]})},async getAddress(){return r},async getFactoryArgs(){return i?{factory:o.address,factoryData:i}:{factory:o.address,factoryData:i}},async getStubSignature(){return t.type==="webAuthn"?"0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000170000000000000000000000000000000000000000000000000000000000000001949fc7c88032b9fcb5f6efc7a7b8c63668eae9871b765e23123bb473ff57aa831a7c0d9276168ebcc29f2875a0239cffdf2a9cd1c2007c5c77c071db9264df1d000000000000000000000000000000000000000000000000000000000000002549960de5880e8c687434170f6476605b8fe4aeb9a28632c7995cf3ba831d97630500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008a7b2274797065223a22776562617574686e2e676574222c226368616c6c656e6765223a2273496a396e6164474850596759334b7156384f7a4a666c726275504b474f716d59576f4d57516869467773222c226f726967696e223a2268747470733a2f2f7369676e2e636f696e626173652e636f6d222c2263726f73734f726967696e223a66616c73657d00000000000000000000000000000000000000000000":rt({ownerIndex:n,signature:"0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c"})},async sign(s){const u=await this.getAddress(),l=cn({address:u,chainId:a.chain.id,hash:s.hash}),d=await xt({hash:l,owner:t});return rt({ownerIndex:n,signature:d})},async signMessage(s){const{message:u}=s,l=await this.getAddress(),d=cn({address:l,chainId:a.chain.id,hash:ra(u)}),p=await xt({hash:d,owner:t});return rt({ownerIndex:n,signature:p})},async signTypedData(s){const{domain:u,types:l,primaryType:d,message:p}=s,f=await this.getAddress(),m=cn({address:f,chainId:a.chain.id,hash:Lt({domain:u,message:p,primaryType:d,types:l})}),y=await xt({hash:m,owner:t});return rt({ownerIndex:n,signature:y})},async signUserOperation(s){const{chainId:u=a.chain.id}=s,l=Sd(s,["chainId"]),d=await this.getAddress(),p=No({chainId:u,entryPointAddress:c.address,entryPointVersion:c.version,userOperation:Object.assign(Object.assign({},l),{sender:d})}),f=await xt({hash:p,owner:t});return rt({ownerIndex:n,signature:f})},userOperation:{async estimateGas(s){var u;if(t.type==="webAuthn")return{verificationGasLimit:BigInt(Math.max(Number((u=s.verificationGasLimit)!==null&&u!==void 0?u:BigInt(0)),8e5))}}}})}async function xt({hash:e,owner:t}){if(t.type==="webAuthn"){const{signature:n,webauthn:r}=await t.sign({hash:e});return kd({signature:n,webauthn:r})}if(t.sign)return t.sign({hash:e});throw new B("`owner` does not support raw sign.")}function cn({address:e,chainId:t,hash:n}){return Lt({domain:{chainId:t,name:"Coinbase Smart Wallet",verifyingContract:e,version:"1"},types:{CoinbaseSmartWalletMessage:[{name:"hash",type:"bytes32"}]},primaryType:"CoinbaseSmartWalletMessage",message:{hash:n}})}function kd({webauthn:e,signature:t}){const{r:n,s:r}=si(t);return st([{components:[{name:"authenticatorData",type:"bytes"},{name:"clientDataJSON",type:"bytes"},{name:"challengeIndex",type:"uint256"},{name:"typeIndex",type:"uint256"},{name:"r",type:"uint256"},{name:"s",type:"uint256"}],type:"tuple"}],[{authenticatorData:e.authenticatorData,clientDataJSON:Di(e.clientDataJSON),challengeIndex:BigInt(e.challengeIndex),typeIndex:BigInt(e.typeIndex),r:n,s:r}])}function rt(e){const{ownerIndex:t=0}=e,n=(()=>
16{if(ea(e.signature)!==65)return e.signature;const r=qi(e.signature);return Zi(["bytes32","bytes32","uint8"],[r.r,r.s,r.yParity===0?27:28])})();return st([{components:[{name:"ownerIndex",type:"uint8"},{name:"signatureData",type:"bytes"}],type:"tuple"}],[{ownerIndex:t,signatureData:n}])}async function Od({address:e,client:t,factory:n,factoryData:r,owner:a,ownerIndex:i,parentAddress:c,attribution:o}){var s;const u={address:e,factory:n,factoryData:r},l=(s=t.chain)===null||s===void 0?void 0:s.id;if(!l)throw S.rpc.internal("chainId not found");const d=await Ad({owner:a,ownerIndex:i??1,address:e,client:t,factoryData:r}),p=async f=>{var m,y,h,g,v,b;try{switch(f.method){case"wallet_addSubAccount":return u;case"eth_accounts":return[u.address];case"eth_coinbase":return u.address;case"net_version":return l.toString();case"eth_chainId":return N(l);case"eth_sendTransaction":{Ae(f.params);const w=f.params[0];re(w.to,S.rpc.invalidParams("to is required"));const k={to:w.to,data:yn((m=w.data)!==null&&m!==void 0?m:"0x",!0),value:yn((y=w.value)!==null&&y!==void 0?y:"0x",!0),from:(h=w.from)!==null&&h!==void 0?h:u.address},C=di({calls:[k],chainId:l,from:k.from}),I=await p(C);return ui({client:t,id:I})}case"wallet_sendCalls":{Ae(f.params);const w=it(f.params[0],"chainId");if(!w)throw S.rpc.invalidParams("chainId is required");if(!Ve(w))throw S.rpc.invalidParams("chainId must be a hex encoded integer");if(!f.params[0])throw S.rpc.invalidParams("params are required");if(!("calls"in f.params[0]))throw S.rpc.invalidParams("calls are required");let k={method:"wallet_prepareCalls",params:[{version:"1.0",calls:f.params[0].calls,chainId:w,from:u.address,capabilities:"capabilities"in f.params[0]?f.params[0].capabilities:{}}]};c&&(k=Rt(k,{funding:[{type:"spendPermission",data:{autoApply:!0,sources:[c],preference:"PREFER_DIRECT_BALANCE"}}]}));let C=await p(k);const I=await((v=(g=a).sign)===null||v===void 0?void 0:v.call(g,{hash:gr(C.signatureRequest.hash)}));let T;if(!I)throw S.rpc.internal("signature not found");return Ve(I)?T={type:"secp256k1",data:{address:a.address,signature:I}}:T={type:"webauthn",data:{signature:JSON.stringify(xd(Object.assign({id:(b=a.id)!==null&&b!==void 0?b:"1"},I))),publicKey:a.publicKey}},(await p({method:"wallet_sendPreparedCalls",params:[{version:"1.0",type:C.type,data:C.userOp,chainId:C.chainId,signature:T}]}))[0]}case"wallet_sendPreparedCalls":{Ae(f.params);const w=it(f.params[0],"chainId");if(!w)throw S.rpc.invalidParams("chainId is required");if(!Ve(w))throw S.rpc.invalidParams("chainId must be a hex encoded integer");return await t.request({method:"wallet_sendPreparedCalls",params:f.params})}case"wallet_prepareCalls":{Ae(f.params);const w=it(f.params[0],"chainId");if(!w)throw S.rpc.invalidParams("chainId is required");if(!Ve(w))throw S.rpc.invalidParams("chainId must be a hex encoded integer");if(!f.params[0])throw S.rpc.invalidParams("params are required");if(!it(f.params[0],"calls"))throw S.rpc.invalidParams("calls are required");const k=f.params[0];return o&&k.capabilities&&!("attribution"in k.capabilities)&&(k.capabilities.attribution=o),await t.request({method:"wallet_prepareCalls",params:[Object.assign(Object.assign({},f.params[0]),{chainId:w})]})}case"personal_sign":{if(Ae(f.params),!Ve(f.params[0]))throw S.rpc.invalidParams("message must be a hex encoded string");const w=gr(f.params[0]);return d.signMessage({message:w})}case"eth_signTypedData_v4":{Ae(f.params);const w=typeof f.params[1]=="string"?JSON.parse(f.params[1]):f.params[1];return d.signTypedData(w)}case"eth_signTypedData_v1":case"eth_signTypedData_v3":case"wallet_addEthereumChain":case"wallet_switchEthereumChain":default:throw S.rpc.methodNotSupported()}}catch(w){if(ga(w)){const k=ws(w);if(k)throw k}throw w}};return{request:p}}async function li({address:e,client:t,publicKey:n,factory:r,factoryData:a}){if(!await ta(t,{address:e})&&r&&a){const o=ia({abi:pa,data:a});if(o.functionName!=="createAccount")throw S.rpc.internal("unknown factory function");const[s]=o.args;return s.findIndex(u=>u.toLowerCase()===_r(n).toLowerCase())}const c=await ln(t,{address:e,abi:oe,functionName:"ownerCount"});for(let o=Number(c)-1;o>=0;o--){const s=await ln(t,{address:e,abi:oe,functionName:"ownerAtIndex",args:[BigInt(o)]}),u=_r(n);if(s.toLowerCase()===u.toLowerCase())return o}return-1}function _r(e){return ot(e)?se(e):e}async function Pd(){var e,t;const n=(t=(e=x.config.get().metadata)===null||e===void 0?void 0:e.appName)!==null&&t!==void 0?t:"App",r=$n();return new Promise(a=>{_n({dialogContext:"sub_account_add_owner"}),r.presentItem({title:`Re-authorize ${n}`,message:`${n} has lost access to your account. Please sign at the next step to re-authorize ${n}`,onClose:()=>{ba({dialogContext:"sub_account_add_owner"}),a("cancel")},actionItems:[{text:"Continue",variant:"primary",onClick:()=>{Re({dialogContext:"sub_account_add_owner",dialogAction:"confirm"}),r.clear(),a("authenticate")}},{text:"Not now",variant:"secondary",onClick:()=>{Re({dialogContext:"sub_account_add_owner",dialogAction:"cancel"}),r.clear(),a("cancel")}}]})})}async function Id({ownerAccount:e,globalAccountRequest:t}){var n,r;const a=x.account.get(),i=x.subAccounts.get(),c=(n=a.accounts)===null||n===void 0?void 0:n.find(m=>m.toLowerCase()!==(i==null?void 0:i.address.toLowerCase()));re(c,S.provider.unauthorized("no global account")),re((r=a.chain)===null||r===void 0?void 0:r.id,S.provider.unauthorized("no chain id")),re(i==null?void 0:i.address,S.provider.unauthorized("no sub account"));const o=[];if(e.type==="local"&&e.address&&o.push({to:i.address,data:de({abi:oe,functionName:"addOwnerAddress",args:[e.address]}),value:qe(0)}),e.publicKey){const[m,y]=sa([{type:"bytes32"},{type:"bytes32"}],e.publicKey);o.push({to:i.address,data:de({abi:oe,functionName:"addOwnerPublicKey",args:[m,y]}),value:qe(0)})}const s={method:"wallet_sendCalls",params:[{version:"1",calls:o,chainId:N(84532),from:c}]};if(await Pd()==="cancel")throw S.provider.unauthorized("user cancelled");const l=await t(s),d=Ca(a.chain.id);if(re(d,S.rpc.internal(`client not found for chainId ${a.chain.id}`)),(await aa(d,{id:l})).status!=="success")throw S.rpc.internal("add owner call failed");const f=await li({address:i.address,publicKey:e.type==="local"&&e.address?e.address:e.publicKey,client:d});if(f===-1)throw S.rpc.internal("failed to find owner index");return f}async function Cd({errorData:e,globalAccountAddress:t,subAccountAddress:n,client:r,request:a,subAccountRequest:i,globalAccountRequest:c}){var o;const s=(o=r.chain)===null||o===void 0?void 0:o.id;re(s,S.rpc.internal("invalid chainId"));const u=fd({errorData:e,sourceAddress:t}),l=await pd();if(l==="cancel")throw new Error("User cancelled funding");let d;const p=3600*24,f=3;if(l==="update_permission"){if(u.length===1){const b=u[0],w=dd({spendPermission:{token:b.token,allowance:N(b.requiredAmount*BigInt(f)),period:p,account:t,spender:n,start:0,end:0xffffffffffff,salt:N(BigInt(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),extraData:"0x"},chainId:s});d={method:"eth_signTypedData_v4",params:[t,w]}}else{const b=ld({spendPermissionBatch:{account:t,period:p,start:0,end:0xffffffffffff,permissions:u.map(w=>({token:w.token,allowance:N(w.requiredAmount*BigInt(f)),period:p,account:t,spender:n,salt:"0x0",extraData:"0x"}))},chainId:s});d={method:"eth_signTypedData_v4",params:[t,b]}}try{await c(d)}catch(b){throw console.error(b),new Error("User denied spend permission request")}return i(a)}const m=u.map(b=>b.token.toLowerCase()==="0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE".toLowerCase()?{to:n,value:N(b.requiredAmount),data:"0x"}:{to:b.token,value:"0x0",data:de({abi:Mi,functionName:"transfer",args:[n,b.requiredAmount]})});let y;if(a.method==="wallet_sendCalls"&&md(a.params))y=a.params[0];else if(a.method==="eth_sendTransaction"&&hd(a.params))y=di({calls:[a.params[0]],chainId:s,from:a.params[0].from}).params[0];else throw new Error("Could not get original call");const h=de({abi:oe,functionName:"executeBatch",args:[y.calls.map(b=>{var w,k;return{target:b.to,value:ke((w=b.value)!==null&&w!==void 0?w:"0x0"),data:(k=b.data)!==null&&k!==void 0?k:"0x"}})]}),g=[...m,{data:h,to:n,value:"0x0"}],v=await c({method:"wallet_sendCalls",params:[Object.assign(Object.assign({},y),{calls:g,from:t})]});return a.method==="eth_sendTransaction"?ui({client:r,id:v}):v}class Td{constructor(t){var n,r,a,i;this.communicator=t.communicator,this.callback=t.callback,this.keyManager=new id;const{account:c,chains:o}=x.getState();this.accounts=(n=c.accounts)!==null&&n!==void 0?n:[],this.chain=(r=c.chain)!==null&&r!==void 0?r:{id:(i=(a=t.metadata.appChainIds)===null||a===void 0?void 0:a[0])!==null&&i!==void 0?i:1},o&&Cr(o)}get isConnected(){return this.accounts.length>0}async handshake(t){var n,r,a;const i=he.get(t);ho({method:t.method,correlationId:i});try{await((r=(n=this.communicator).waitForPopupLoaded)===null||r===void 0?void 0:r.call(n));const c=await this.createRequestMessage({handshake:{method:t.method,params:(a=t.params)!==null&&a!==void 0?a:[]}},i),o=await this.communicator.postRequestAndWaitForResponse(c);if("failure"in o.content)throw o.content.failure;
16const s=await ja("public",o.sender);await this.keyManager.setPeerPublicKey(s);const u=await this.decryptResponseMessage(o);this.handleResponse(t,u),go({method:t.method,correlationId:i})}catch(c){throw yo({method:t.method,correlationId:i,errorMessage:nt(c)}),c}}async request(t){const n=he.get(t);bo({method:t.method,correlationId:n});try{const r=await this._request(t);return wo({method:t.method,correlationId:n}),r}catch(r){throw vo({method:t.method,correlationId:n,errorMessage:nt(r)}),r}}async _request(t){var n,r,a,i,c,o,s,u,l,d;if(this.accounts.length===0)switch(t.method){case"wallet_switchEthereumChain":{Xr(t.params),this.chain.id=Number(t.params[0].chainId);return}case"wallet_connect":{await((r=(n=this.communicator).waitForPopupLoaded)===null||r===void 0?void 0:r.call(n)),await Zn();let p={};bd(t,"addSubAccount")&&(p=(i=(a=x.subAccountsConfig.get())===null||a===void 0?void 0:a.capabilities)!==null&&i!==void 0?i:{});const f=Rt(t,p);return this.sendRequestToPopup(f)}case"wallet_sendCalls":case"wallet_sign":return this.sendRequestToPopup(t);default:throw S.provider.unauthorized()}if(this.shouldRequestUseSubAccountSigner(t)){const p=he.get(t);xo({method:t.method,correlationId:p});try{const f=await this.sendRequestToSubAccountSigner(t);return Eo({method:t.method,correlationId:p}),f}catch(f){throw So({method:t.method,correlationId:p,errorMessage:nt(f)}),f}}switch(t.method){case"eth_requestAccounts":case"eth_accounts":{const p=x.subAccounts.get(),f=x.subAccountsConfig.get();return p!=null&&p.address&&(this.accounts=f!=null&&f.enableAutoSubAccounts?bt(this.accounts,p.address):vt(this.accounts,p.address)),(c=this.callback)===null||c===void 0||c.call(this,"connect",{chainId:N(this.chain.id)}),this.accounts}case"eth_coinbase":return this.accounts[0];case"net_version":return this.chain.id;case"eth_chainId":return N(this.chain.id);case"wallet_getCapabilities":return this.handleGetCapabilitiesRequest(t);case"wallet_switchEthereumChain":return this.handleSwitchChainRequest(t);case"eth_ecRecover":case"personal_sign":case"wallet_sign":case"personal_ecRecover":case"eth_signTransaction":case"eth_sendTransaction":case"eth_signTypedData_v1":case"eth_signTypedData_v3":case"eth_signTypedData_v4":case"eth_signTypedData":case"wallet_addEthereumChain":case"wallet_watchAsset":case"wallet_sendCalls":case"wallet_showCallsStatus":case"wallet_grantPermissions":return this.sendRequestToPopup(t);case"wallet_connect":{const p=await vd();if(p)return p;await((s=(o=this.communicator).waitForPopupLoaded)===null||s===void 0?void 0:s.call(o)),await Zn();const f=x.subAccountsConfig.get(),m=Rt(t,(u=f==null?void 0:f.capabilities)!==null&&u!==void 0?u:{}),y=await this.sendRequestToPopup(m);return(l=this.callback)===null||l===void 0||l.call(this,"connect",{chainId:N(this.chain.id)}),y}case"wallet_getSubAccounts":{const p=x.subAccounts.get();if(p!=null&&p.address)return{subAccounts:[p]};if(!this.chain.rpcUrl)throw S.rpc.internal("No RPC URL set for chain");const f=await St(t,this.chain.rpcUrl);if(Ae(f.subAccounts,"subAccounts"),f.subAccounts.length>0){mt(f.subAccounts[0]);const m=f.subAccounts[0];x.subAccounts.set({address:m.address,factory:m.factory,factoryData:m.factoryData})}return f}case"wallet_addSubAccount":return this.addSubAccount(t);case"coinbase_fetchPermissions":{cd(t);const p=ud(t),f=await St(p,ca),m=Jt((d=p.params)===null||d===void 0?void 0:d[0].chainId);return x.spendPermissions.set(f.permissions.map(y=>Object.assign(Object.assign({},y),{chainId:m}))),f}default:if(!this.chain.rpcUrl)throw S.rpc.internal("No RPC URL set for chain");return St(t,this.chain.rpcUrl)}}async sendRequestToPopup(t){var n,r;await((r=(n=this.communicator).waitForPopupLoaded)===null||r===void 0?void 0:r.call(n));const a=await this.sendEncryptedRequest(t),i=await this.decryptResponseMessage(a);return this.handleResponse(t,i)}async handleResponse(t,n){var r,a,i,c,o;const s=n.result;if("error"in s)throw s.error;switch(t.method){case"eth_requestAccounts":{const u=s.value;this.accounts=u,x.account.set({accounts:u,chain:this.chain}),(r=this.callback)===null||r===void 0||r.call(this,"accountsChanged",u);break}case"wallet_connect":{const u=s.value,l=u.accounts.map(g=>g.address);this.accounts=l,x.account.set({accounts:l});const d=u.accounts.at(0),p=d==null?void 0:d.capabilities;if(p!=null&&p.subAccounts){const g=p==null?void 0:p.subAccounts;Ae(g,"subAccounts"),mt(g[0]),x.subAccounts.set({address:g[0].address,factory:g[0].factory,factoryData:g[0].factoryData})}let f=[this.accounts[0]];const m=x.subAccounts.get(),y=x.subAccountsConfig.get();m!=null&&m.address&&(this.accounts=y!=null&&y.enableAutoSubAccounts?bt(this.accounts,m.address):vt(this.accounts,m.address));const h=(i=(a=u==null?void 0:u.accounts)===null||a===void 0?void 0:a[0].capabilities)===null||i===void 0?void 0:i.spendPermissions;h&&"permissions"in h&&x.spendPermissions.set(h==null?void 0:h.permissions),(c=this.callback)===null||c===void 0||c.c
16all(this,"accountsChanged",f);break}case"wallet_addSubAccount":{mt(s.value);const u=s.value;x.subAccounts.set(u);const l=x.subAccountsConfig.get();this.accounts=l!=null&&l.enableAutoSubAccounts?bt(this.accounts,u.address):vt(this.accounts,u.address),(o=this.callback)===null||o===void 0||o.call(this,"accountsChanged",this.accounts);break}}return s.value}async cleanup(){var t,n;const r=x.config.get().metadata;await this.keyManager.clear(),x.account.clear(),x.subAccounts.clear(),x.spendPermissions.clear(),x.chains.clear(),this.accounts=[],this.chain={id:(n=(t=r==null?void 0:r.appChainIds)===null||t===void 0?void 0:t[0])!==null&&n!==void 0?n:1}}async handleSwitchChainRequest(t){Xr(t.params);const n=mo(t.params[0].chainId);if(this.updateChain(n))return null;const a=await this.sendRequestToPopup(t);return a===null&&this.updateChain(n),a}async handleGetCapabilitiesRequest(t){od(t.params);const n=t.params[0],r=t.params[1];if(!this.accounts.some(o=>Fi(o,n)))throw S.provider.unauthorized("no active account found when getting capabilities");const a=x.getState().account.capabilities;if(!a)return{};if(!r||r.length===0)return a;const i=new Set(r.map(o=>Jt(o)));return Object.fromEntries(Object.entries(a).filter(([o])=>{try{const s=Jt(o);return i.has(s)}catch{return!1}}))}async sendEncryptedRequest(t){const n=await this.keyManager.getSharedSecret();if(!n)throw S.provider.unauthorized("No shared secret found when encrypting request");const r=await oc({action:t,chainId:this.chain.id},n),a=he.get(t),i=await this.createRequestMessage({encrypted:r},a);return this.communicator.postRequestAndWaitForResponse(i)}async createRequestMessage(t,n){const r=await Ba("public",await this.keyManager.getOwnPublicKey());return{id:crypto.randomUUID(),correlationId:n,sender:r,content:t,timestamp:new Date}}async decryptResponseMessage(t){var n,r,a;const i=t.content;if("failure"in i)throw i.failure;const c=await this.keyManager.getSharedSecret();if(!c)throw S.provider.unauthorized("Invalid session: no shared secret found when decrypting response");const o=await cc(i.encrypted,c),s=(n=o.data)===null||n===void 0?void 0:n.chains;if(s){const l=(r=o.data)===null||r===void 0?void 0:r.nativeCurrencies,d=Object.entries(s).map(([p,f])=>{const m=l==null?void 0:l[Number(p)];return Object.assign({id:Number(p),rpcUrl:f},m?{nativeCurrency:m}:{})});x.chains.set(d),this.updateChain(this.chain.id,d),Cr(d)}const u=(a=o.data)===null||a===void 0?void 0:a.capabilities;return u&&x.account.set({capabilities:u}),o}updateChain(t,n){var r;const a=x.getState(),i=n??a.chains,c=i==null?void 0:i.find(o=>o.id===t);return c?(c!==this.chain&&(this.chain=c,x.account.set({chain:c}),(r=this.callback)===null||r===void 0||r.call(this,"chainChanged",xa(c.id))),!0):!1}async addSubAccount(t){var n,r,a,i;const o=x.getState().subAccount,s=x.subAccountsConfig.get();if(o!=null&&o.address)return this.accounts=s!=null&&s.enableAutoSubAccounts?bt(this.accounts,o.address):vt(this.accounts,o.address),(n=this.callback)===null||n===void 0||n.call(this,"accountsChanged",this.accounts),o;if(await((a=(r=this.communicator).waitForPopupLoaded)===null||a===void 0?void 0:a.call(r)),Array.isArray(t.params)&&t.params.length>0&&t.params[0].account&&t.params[0].account.type==="create"){let l;if(t.params[0].account.keys&&t.params[0].account.keys.length>0)l=t.params[0].account.keys;else{const d=(i=x.subAccountsConfig.get())!==null&&i!==void 0?i:{},{account:p}=d.toOwnerAccount?await d.toOwnerAccount():await qn();if(!p)throw S.provider.unauthorized("could not get subaccount owner account when adding sub account");l=[{type:p.address?"address":"webauthn-p256",publicKey:p.address||p.publicKey}]}t.params[0].account.keys=l}const u=await this.sendRequestToPopup(t);return mt(u),u}shouldRequestUseSubAccountSigner(t){const n=Qr(t),r=x.subAccounts.get();return n?n.toLowerCase()===(r==null?void 0:r.address.toLowerCase()):!1}async sendRequestToSubAccountSigner(t){var n;const r=x.subAccounts.get(),a=x.subAccountsConfig.get(),i=x.config.get();re(r==null?void 0:r.address,S.provider.unauthorized("no active sub account when sending request to sub account signer"));const c=a!=null&&a.toOwnerAccount?await a.toOwnerAccount():await qn();re(c==null?void 0:c.account,S.provider.unauthorized("no active sub account owner when sending request to sub account signer")),Qr(t)===void 0&&(t=sd(t,r.address));const s=Ca(this.chain.id);re(s,S.rpc.internal(`client not found for chainId ${this.chain.id} when sending request to sub account signer`));const u=this.accounts.find(m=>m.toLowerCase()!==r.address.toLowerCase());re(u,S.provider.unauthorized("no global account found when sending request to sub account signer"));const l=gd({attribution:(n=i.preference)===null||n===void 0?void 0:n.attribution,dappOrigin:window.location.origin}),d=c.account.type==="local"?c.account.address:c.account.publicKey;let p=await li({address:r.address,factory:r.factory,factoryData:r.factoryData,publicKey:d,client:s});if(p===-1){const m=he.get(t);Ao({method:t.method,correlationId:m});try{p=await Id({ownerAccount:c.account,globalAccountRequest:this.sendRequestToPopup.bind(this)}),ko({method:t.method,correlationId:m})}catch(y){return Oo({method:t.method,correlationId:m,errorMessage:nt(y)}),S.provider.unauthorized("failed to add sub account owner when sending request to sub account signer")}}const{request:f}=await Od({address:r.address,owner:c.account,client:s,factory:r.factory,factoryData:r.factoryData,parentAddress:u,attribution:l?{suffix:l}:void 0,ownerIndex:p});try{return await f(t)}catch(m){let y;if(ga(m))y=JSON.parse(m.details);else if(xr(m))y=m;else throw m;if(!(xr(y)&&y.data)||!y.data)throw m;const h=he.get(t);Po({method:t.method,correlationId:h});try{const g=await Cd({errorData:y.data,globalAccountAddress:u,subAccountAddress:r.address,client:s,request:t,subAccountRequest:f,globalAccountRequest:this.request.bind(this)});return Io({method:t.method,correlationId:h}),g}catch(g){throw console.error(g),Co({method:t.method,correlationId:h,errorMessage:nt(g)}),m}}}}var Bd=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};
16class jd extends no{constructor(t){var{metadata:n}=t,r=t.preference,{walletUrl:a}=r,i=Bd(r,["walletUrl"]);super(),this.isBaseAccount=!0,this.communicator=new Ys({url:a,metadata:n,preference:i}),this.signer=new Td({metadata:n,communicator:this.communicator,callback:this.emit.bind(this)})}async request(t){const n=crypto.randomUUID();he.set(t,n),ro({method:t.method,correlationId:n});try{const r=await this._request(t);return io({method:t.method,correlationId:n}),r}catch(r){throw ao({method:t.method,correlationId:n,errorMessage:r instanceof Error?r.message:""}),r}finally{he.delete(t)}}async _request(t){var n,r;try{if(uc(t),!this.signer.isConnected)switch(t.method){case"eth_requestAccounts":{await this.signer.handshake({method:"handshake"}),await Zn(),await this.signer.request({method:"wallet_connect",params:[{version:"1",capabilities:Object.assign({},(r=(n=x.subAccountsConfig.get())===null||n===void 0?void 0:n.capabilities)!==null&&r!==void 0?r:{})}]});break}case"wallet_connect":return await this.signer.handshake({method:"handshake"}),await this.signer.request(t);case"wallet_sendCalls":case"wallet_sign":try{return await this.signer.handshake({method:"handshake"}),await this.signer.request(t)}finally{await this.signer.cleanup()}case"wallet_getCallsStatus":return await St(t,ca);case"eth_accounts":return[];case"net_version":return 1;case"eth_chainId":return xa(1);default:throw S.provider.unauthorized("Must call 'eth_requestAccounts' before other methods")}return await this.signer.request(t)}catch(a){const{code:i}=a;return i===V.provider.unauthorized&&await this.disconnect(),Promise.reject(Qs(a))}}async disconnect(){await this.signer.cleanup(),he.clear(),this.emit("disconnect",S.provider.disconnected("User initiated disconnection"))}}const Ud="isCoinbaseBrowser";function Nd(){var e,t;const n=(e=window.ethereum)!==null&&e!==void 0?e:(t=window.top)===null||t===void 0?void 0:t.ethereum;return n!=null&&n[Ud]?n:null}function Rd(e){var t,n,r,a;const i={metadata:{appName:e.appName||"App",appLogoUrl:e.appLogoUrl||"",appChainIds:e.appChainIds||[]},preference:(t=e.preference)!==null&&t!==void 0?t:{},paymasterUrls:e.paymasterUrls};!((n=e.subAccounts)===null||n===void 0)&&n.toOwnerAccount&&Er(e.subAccounts.toOwnerAccount),x.subAccountsConfig.set({toOwnerAccount:(r=e.subAccounts)===null||r===void 0?void 0:r.toOwnerAccount,enableAutoSubAccounts:(a=e.subAccounts)===null||a===void 0?void 0:a.enableAutoSubAccounts}),x.config.set(i),x.persist.rehydrate(),Ss(),ks(i.preference),i.preference.telemetry!==!1&&fs();let c=null;const o={getProvider:()=>{var s;return c||(c=(s=Nd())!==null&&s!==void 0?s:new jd(i)),c},subAccount:{async create(s){var u;return await((u=o.getProvider())===null||u===void 0?void 0:u.request({method:"wallet_addSubAccount",params:[{version:"1",account:s}]}))},async get(){var s,u;const l=x.subAccounts.get();if(l!=null&&l.address)return l;const p=(u=(await((s=o.getProvider())===null||s===void 0?void 0:s.request({method:"wallet_connect",params:[{version:"1",capabilities:{}}]}))).accounts[0].capabilities)===null||u===void 0?void 0:u.subAccounts;return Array.isArray(p)?p[0]:null},addOwner:async({address:s,publicKey:u,chainId:l})=>{var d,p;const f=x.subAccounts.get(),m=x.account.get();re(m,new Error("account does not exist")),re(f==null?void 0:f.address,new Error("subaccount does not exist"));const y=[];if(u){const[h,g]=sa([{type:"bytes32"},{type:"bytes32"}],u);y.push({to:f.address,data:de({abi:oe,functionName:"addOwnerPublicKey",args:[h,g]}),value:qe(0)})}return s&&y.push({to:f.address,data:de({abi:oe,functionName:"addOwnerAddress",args:[s]}),value:qe(0)}),await((d=o.getProvider())===null||d===void 0?void 0:d.request({method:"wallet_sendCalls",params:[{calls:y,chainId:qe(l),from:(p=m.accounts)===null||p===void 0?void 0:p[0],version:"1"}]}))},setToOwnerAccount(s){Er(s),x.subAccountsConfig.set({toOwnerAccount:s})}}};return o}const qt={USDC:{decimals:6,addresses:{base:"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",baseSepolia:"0x036CbD53842c5426634e7929541eC2318f3dCF7e"}}},dr={base:8453,baseSepolia:84532},pi=[{name:"transfer",type:"function",stateMutability:"nonpayable",inputs:[{name:"to",type:"address"},{name:"amount",type:"uint256"}],outputs:[{name:"",type:"bool"}]},{name:"Transfer",type:"event",anonymous:!1,inputs:[{name:"from",type:"address",indexed:!0},{name:"to",type:"address",indexed:!0},{name:"value",type:"uint256",indexed:!1}
16]}],Ld=({amount:e,testnet:t,correlationId:n})=>{F("payment.pay.started",{action:L.process,componentType:R.unknown,method:"pay",correlationId:n,signerType:"base-account",amount:e,testnet:t},D.high)},Dd=({amount:e,testnet:t,correlationId:n,errorMessage:r})=>{F("payment.pay.error",{action:L.error,componentType:R.unknown,method:"pay",correlationId:n,signerType:"base-account",amount:e,testnet:t,errorMessage:r},D.high)},Md=({amount:e,testnet:t,correlationId:n})=>{F("payment.pay.completed",{action:L.process,componentType:R.unknown,method:"pay",correlationId:n,signerType:"base-account",amount:e,testnet:t},D.high)},Fd=({testnet:e,correlationId:t})=>{F("payment.status_check.started",{action:L.process,componentType:R.unknown,method:"getPaymentStatus",correlationId:t,signerType:"base-account",testnet:e},D.low)},Et=({testnet:e,status:t,correlationId:n})=>{F("payment.status_check.completed",{action:L.process,componentType:R.unknown,method:"getPaymentStatus",correlationId:n,signerType:"base-account",testnet:e,status:t},D.low)},$r=({testnet:e,correlationId:t,errorMessage:n})=>{F("payment.status_check.error",{action:L.error,componentType:R.unknown,method:"getPaymentStatus",correlationId:t,errorMessage:n,signerType:"base-account",testnet:e},D.low)};async function Hd(e){var t;const{id:n,testnet:r=!1,telemetry:a=!0}=e,i=crypto.randomUUID();a&&Fd({testnet:r,correlationId:i});try{const c=r?"https://api.developer.coinbase.com/rpc/v1/base-sepolia/S-fOd2n2Oi4fl4e1Crm83XeDXZ7tkg8O":"https://api.developer.coinbase.com/rpc/v1/base/S-fOd2n2Oi4fl4e1Crm83XeDXZ7tkg8O",o=await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:1,method:"eth_getUserOperationReceipt",params:[n]})}).then(d=>d.json());if(o.error){console.error("[getPaymentStatus] RPC error:",o.error);const d=o.error.message||"Network error";return a&&$r({testnet:r,correlationId:i,errorMessage:d}),{status:"failed",id:n,message:"Unable to check payment status. Please try again later.",error:d}}if(!o.result){const d=await fetch(c,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:2,method:"eth_getUserOperationByHash",params:[n]})}).then(f=>f.json());return d.result?(a&&Et({testnet:r,status:"pending",correlationId:i}),{status:"pending",id:n,message:"Your payment is being processed. This usually takes a few seconds.",sender:d.result.sender}):(a&&Et({testnet:r,status:"not_found",correlationId:i}),{status:"not_found",id:n,message:"Payment not found. Please check your transaction ID."})}const{success:s,receipt:u,reason:l}=o.result;if(s){let d,p;if(u!=null&&u.logs){const m=r?"baseSepolia":"base",y=qt.USDC.addresses[m].toLowerCase();for(const h of u.logs)if(((t=h.address)===null||t===void 0?void 0:t.toLowerCase())===y)try{const g=Hi({abi:pi,data:h.data,topics:h.topics});if(g.eventName==="Transfer"&&g.args){const v=g.args;if(v.value&&v.to){d=Gi(v.value,6),p=v.to;break}}}catch(g){console.error("[getPaymentStatus] Error parsing log:",g)}}return a&&Et({testnet:r,status:"completed",correlationId:i}),{status:"completed",id:n,message:"Payment completed successfully",sender:o.result.sender,amount:d,recipient:p}}else{let d="Payment could not be completed";return l&&(l.toLowerCase().includes("insufficient")?d="Insufficient USDC balance":l.toLowerCase().includes("revert")?d="Payment was rejected":d=l),a&&Et({testnet:r,status:"failed",correlationId:i}),{status:"failed",id:n,message:"Payment failed",sender:o.result.sender,error:d}}}catch(c){console.error("[getPaymentStatus] Error checking status:",c);const o=c instanceof Error?c.message:"Connection error";return a&&$r({testnet:r,correlationId:i,errorMessage:o}),{status:"failed",id:n,message:"Unable to check payment status",error:o}}}function Gd(e,t,n=!0){const r=typeof window<"u"?window.location.origin:"Base Pay SDK";return Rd({appName:r,appChainIds:[e],preference:{telemetry:n,walletUrl:t}})}async function zd(e,t){var n;const a=await e.getProvider().request({method:"wallet_sendCalls",params:[t]});let i,c;if(typeof a=="string"&&a.length>=66)i=a.slice(0,66);else if(typeof a=="object"&&a!==null){const o=a;if(typeof o.id=="string"&&o.id.length>=66)i=o.id.slice(0,66),!((n=o.capabilities)===null||n===void 0)&&n.dataCallback&&(c=o.capabilities.dataCallback);else throw new Error(`Could not extract transaction hash from object response. Available fields: ${Object.keys(o).join(", ")}`)}else throw new Error(`Unexpected response format from wallet_sendCalls: expected string with length > 66 or object with id, got ${typeof a}`);return{transactionHash:i,payerInfoResponses:c}}async function Kd(e,t,n,r=!0){const i=dr[t?"baseSepolia":"base"],c=Gd(i,n,r),o=c.getProvider();try{return await zd(c,e)}finally{await o.disconnect()}}function Vd(e,t){const n=zi(t,qt.USDC.decimals);return de({abi:pi,functionName:"transfer",args:[e,n]})}function qd(e,t,n){const r=t?"baseSepolia":"base",a=dr[r],c={to:qt.USDC.addresses[r],data:e,value:"
160x0"},o={};return n&&n.requests.length>0&&(o.dataCallback={requests:n.requests.map(u=>{var l;return{type:u.type,optional:(l=u.optional)!==null&&l!==void 0?l:!1}}),callbackURL:n.callbackURL}),{version:"2.0.0",chainId:a,calls:[c],capabilities:o}}function Zd(e,t,n,r){const a=Vd(e,t);return qd(a,n,r)}function Wd(e,t){if(typeof e!="string")throw new Error("Invalid amount: must be a string");const n=parseFloat(e);if(isNaN(n))throw new Error("Invalid amount: must be a valid number");if(n<=0)throw new Error("Invalid amount: must be greater than 0");const r=e.indexOf(".");if(r!==-1&&e.length-r-1>t)throw new Error(`Invalid amount: pay only supports up to ${t} decimal places`)}function Jd(e){if(!e)throw new Error("Invalid address: address is required");if(!ot(e))throw new Error("Invalid address: must be a valid Ethereum address")}async function Yd(e){var t;const{amount:n,to:r,testnet:a=!1,payerInfo:i,walletUrl:c,telemetry:o=!0}=e,s=crypto.randomUUID();o&&Ld({amount:n,testnet:a,correlationId:s});try{Wd(n,2),Jd(r);const u=Zd(r,n,a,i),l=await Kd(u,a,c,o);return o&&Md({amount:n,testnet:a,correlationId:s}),{success:!0,id:l.transactionHash,amount:n,to:r,payerInfoResponses:l.payerInfoResponses}}catch(u){let l="Unknown error occurred";if(u instanceof Error)l=u.message;else if(typeof u=="string")l=u;else if(u&&typeof u=="object"){const d=u;typeof(d==null?void 0:d.message)=="string"?l=d.message:typeof((t=d==null?void 0:d.error)===null||t===void 0?void 0:t.message)=="string"?l=d.error.message:typeof(d==null?void 0:d.reason)=="string"&&(l=d.reason)}return o&&Dd({amount:n,testnet:a,correlationId:s,errorMessage:l}),{success:!1,error:l,amount:n,to:r}}}const sl={pay:Yd,getPaymentStatus:Hd,constants:{CHAIN_IDS:dr,TOKENS:qt},types:{}};export{sl as base,Rd as createBaseAccountSDK,qn as getCryptoKeyAccount,Hd as getPaymentStatus,Yd as pay,il as removeCryptoKey};

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.