PageSourceSearch

https://www.deribit.com/assets/securityKeyWrapper-CoTpwXzT.js

js deribit.com collected 2026-09-24 09:24:17 UTC 2,144 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`3dcc281a8e79fff17adf3e75579634b27b7debb6`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f629ebad-32ae-4040-819d-d1c1dc0883e7`,e._sentryDebugIdIdentifier=`sentry-dbid-f629ebad-32ae-4040-819d-d1c1dc0883e7`)})()}catch{}import"./rolldown-runtime-Dm_dodAQ.js";import{A as e,k as t}from"./dist-kP4lwCLB.js";import{$a as n,Qo as r,Zo as i,a,do as o,fo as s,hd as c,i as l,so as u}from"./formatInstrumentName-BdL2ER9e.js";import{i as d}from"./useCurrency-C8kZJM0Z.js";var f=e();t(),r(),s();var overrideTheme=(e,t)=>o({...e,palette:{primary:e.palette[t],action:e.palette.action}});function OverridesThemeProvider({children:e,primary:t}){let r=u();return[`primary`,`secondary`,`default`,`inherit`].includes(t)?e:(0,f.jsx)(i,{injectFirst:!0,children:(0,f.jsx)(n,{theme:overrideTheme(r,t),children:e})})}var p={open:e=>
1{a.emit(l.OPEN_SECURITY_KEY_CONFIRMATION,e)},close:()=>{a.emit(l.CLOSE_SECURITY_KEY_CONFIRMATION)}};async function securityKeyWrapper(e,t,n){let r=new d;n?.signal&&n.signal.addEventListener(`abort`,()=>{r.reject(`SecurityKey confirmation cancelled`)});try{let i=await e(...t);c(i)&&`security_key_authorization_required`in i?p.open({authorizationError:n?.authorizationError,securityKeyRequirement:i,onAccept:async n=>{try{let i=await e({...t[0],...n},t.slice(1));r.resolve(i),p.close()}catch(e){r.reject(e)}},onError:e=>{r.reject(e)},onCancel:()=>{r.reject(`SecurityKey confirmation cancelled`),p.close()}}):r.resolve(i)}catch(e){r.reject(e)}finally{return r.promise}}async function securityKeyWrapperUntilValid(e,t){let n=new d,r=null,i=!1;do try{let a=await securityKeyWrapper(e,t,{authorizationError:r});n.resolve(a),i=!1}catch(e){e?.code===13668||e?.code===12998?(r=e,i=!0):(i=!1,n.reject(e),p.close())}while(i);return n.promise}export{OverridesThemeProvider as n,securityKeyWrapperUntilValid as t};

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.