PageSourceSearch

https://static.sumsub.com/checkus/assets/chunk-bc6ky9am.js

js sumsub.com collected 2026-09-24 08:31:28 UTC 13,236 bytes, 3 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:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1a4f4a12-07ae-4ab1-be40-bcb210fc2d62`,e._sentryDebugIdIdentifier=`sentry-dbid-1a4f4a12-07ae-4ab1-be40-bcb210fc2d62`)}catch{}})();import{$ as e,$t as t,At as n,Bt as r,Gt as i,Ht as a,It as o,Jn as s,Jt as c,Kt as l,Lt as u,Mt as d,Nt as f,Q as p,Qn as m,Rt as h,Sn as g,Tt as _,Ut as v,Vt as y,Xt as b,Y as x,Yt as S,Z as C,Zn as w,an as ee,at as te,ct as ne,dt as T,et as E,ft as D,gn as O,in as re,it as k,jt as A,kt as j,nn as ie,nt as ae,ot as oe,pt as M,q as N,rn as se,rt as ce,st as le,tn as ue,tr as P,tt as de,un as F,ut as fe,vt as pe,wt as I}from"./chunk-hlpluifv.js";import{c as L,l as me,m as R,u as he}from"./chunk-dyaqt3kn.js";function z(e){s.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function B(e,t){if(!t?.length)return!1;for(let n of t){if(ve(n)){if(e.description&&O(e.description,n))return P&&z(e),!0;continue}let t=!!n.attributes&&Object.keys(n.attributes).length>0;if(!n.name&&!n.op&&!t)continue;let r=!n.name||e.description&&O(e.description,n.name),i=!n.op||e.op&&O(e.op,n.op),a=!n.attributes||Object.entries(n.attributes).every(([t,n])=>ge(e.attributes?.[t],n));if(r&&i&&a)return P&&z(e),!0}return!1}function ge(e,t){return typeof e==`string`&&(typeof t==`string`||t instanceof RegExp)?O(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e===t}function _e(e,t){let n=t.parent_span_id,r=t.span_id;if(n)for(let t of e)t.parent_span_id===r&&(t.parent_span_id=n)}function ve(e){return typeof e==`string`||e instanceof RegExp}function V(e){return!!e&&typeof e==`function`&&`_streamed`in e&&!!e._streamed}function ye(e,t){if(!t)return e;let n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function be(e,t,n,r){let i=R(n),a={sent_at:new Date(g()).toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:_(t)}},o=`aggregates`in e?[{type:`sessions`},e]:[{type:`session`},e.toJSON()];return L(a,[o])}function xe(e,t,n,r){let i=R(n),a=e.type&&e.type!==`replay_event`?e.type:`event`;ye(e,n?.sdk);let o=me(e,i,r,t);return delete e.sdkProcessingMetadata,L(o,[[{type:a},e]])}function Se(e,t){function n(e){return!!e.trace_id&&!!e.public_key}let r=x(e[0]),i=t?.getDsn(),a=t?.getOptions().tunnel,o={sent_at:new Date(g()).toISOString(),...n(r)&&{trace:r},...!!a&&i&&{dsn:_(i)}},{beforeSendSpan:s,ignoreSpans:c}=t?.getOptions()||{},l=c?.length?e.filter(e=>{let t=M(e);return!B({description:t.description,op:t.op,attributes:t.data},c)}):e,u=e.length-l.length;u&&t?.recordDroppedEvent(`before_send`,`span`,u);let d=s?e=>{let t=M(e);return(V(s)?t:s(t))||(fe(),t)}:M,f=[];for(let e of l){let t=d(e);t&&f.push(he(t))}return L(o,f)}function Ce(e){if(!P)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`,parent_span_id:r}=M(e),{spanId:i}=e.spanContext(),a=T(e),o=k(e),c=o===e,l=`[Tracing] Starting ${a?`sampled`:`unsampled`} ${c?`root `:``}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!c){let{op:e,description:t}=M(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}s.log(`${l}
2  ${u.join(`
3  `)}`)}function we(e){if(!P)return;let{description:t=`< unknown name >`,op:n=`< unknown op >`}=M(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${k(e)===e?`root `:``}span "${t}" with ID ${r}`;s.log(i)}function Te(e,t,n,i=ce()){let a=i&&k(i);a&&(P&&s.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${n}`),a.addEvent(e,{[y]:t,[r]:n}))}function H(e){if(!e||e.length===0)return;let t={};return e.forEach(e=>{let n=e.attributes||{},i=n[r],a=n[y];typeof i==`string`&&typeof a==`number`&&(t[e.name]={value:a,unit:i})}),t}function U(){return m(w()).segmentSpanCaptureStrategy}function W(e){return e.getOptions().traceLifecycle===`stream`}var G=1e3,K=class{constructor(e={}){this._traceId=e.traceId||ee(),this._spanId=e.spanId||re(),this._startTime=e.startTimestamp||F(),this._links=e.links,this._attributes={},this.setAttributes({[v]:`manual`,[a]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),`sampled`in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}
3addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:+!!n}}setAttribute(e,t){return this._frozen?this:(t===void 0?delete this._attributes[e]:this._attributes[e]=t,e===`sentry.source`&&t!==void 0&&f(this)&&n(this),this)}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=D(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen?this:(this._name=e,f(this)||this.setAttribute(l,`custom`),this)}end(e){if(this._endTime){this._frozen=d(this);return}this._endTime=D(e),we(this),this._onSpanEnded(),this._frozen=d(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[a],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:le(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[v],profile_id:this._attributes[u],exclusive_time:this._attributes[o],measurements:H(this._events),is_segment:this._isStandaloneSpan&&k(this)===this||void 0,segment_id:this._isStandaloneSpan?k(this).spanContext().spanId:void 0,links:ae(this._links)}}getStreamedSpanJSON(){return{name:this._name??``,span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===k(this),status:te(this._status),attributes:de(this._attributes,this._status),links:ne(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){if(this._frozen)return this;P&&s.log(`[Tracing] Adding an event to span:`,e);let r=q(t)?t:n||F(),i=q(t)?{}:t||{},a={name:e,time:D(r),attributes:i};return this._events.push(a),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=c();e&&(e.emit(`spanEnd`,this),this._isStandaloneSpan||e.emit(`afterSpanEnd`,this));let t=k(this),n=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?De(Se([this],e)):(P&&s.log(`[Tracing] Discarding standalone span because its trace was not chosen to be sampled.`),e&&e.recordDroppedEvent(`sample_rate`,`span`));return}if(!n){let e=U();if(e){let n=j(this).scope||S();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),n)}return}if(e&&W(e)){e.emit(`afterSegmentSpanEnd`,this);return}let r=j(this).scope||S(),i=U();if(i)i.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),r);else{let e=this._convertSpanToTransaction();e&&r.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!J(M(this)))return;this._name||=(P&&s.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),`<unlabeled transaction>`);let{scope:t,isolationScope:n}=j(this),r=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(this._sampled!==!0)return;e.onSpanCaptured?.(this);let i=[];for(let t of oe(this)){if(t===this||Ee(t)||e.isSpanAlreadyCaptured?.(t))continue;let n=M(t);J(n)&&(e.onSpanCaptured?.(t),i.push(n))}let a=this._attributes[l];delete this._attributes[h];let o=!1;i.forEach(e=>{delete e.data[h],e.op?.startsWith(`gen_ai.`)&&(o=!0)});let c={contexts:{trace:pe(this)},spans:i.length>G?i.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,G):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:`transaction`,sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:n,dynamicSamplingContext:x(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},u=H(this._events);return u&&Object.keys(u).length&&(P&&s.log(`[Measurements] Adding measurements to transaction event`,JSON.stringify(u,void 0,2)),c.measurements=u),c}};function q(e){return e&&typeof e==`number`||e instanceof Date||Array.isArray(e)}function J(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function Ee(e){return e instanceof K&&e.isStandaloneSpan()}function De(e){let t=c();if(!t)return;let n=e[1];if(!n||n.length===0){t.recordDroppedEvent(`before_send`,`span`);return}t.sendEnvelope(e)}function Oe(t,n,r){if(!e(t))return[!1];let i,a;typeof t.tracesSampler==`function`?(a=t.tracesSampler({...n,inheritOrSampleWith:e=>typeof n.parentSampleRate==`number`?n.parentSampleRate:typeof n.parentSampled==`boolean`?Number(n.parentSampled):e}),i=!0):n.parentSampled===void 0?t.tracesSampleRate!==void 0&&(a=t.tracesSampleRate,i=!0):a=n.parentSampled;let o=I(a);if(o===void 0)return P&&s.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(a)} of type ${JSON.stringify(typeof a)}.`),[!1];if(!o)return P&&s.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler==`function`?`tracesSampler returned 0 or false`:`a negative sampling decision was inherited or tracesSampleRate is set to 0`}`),[!1,o,i];let c=r<o;return c||P&&s.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(a)})`),[c,o,i]}var ke=`__SENTRY_SUPPRESS_TRACING__`;function Ae(e){let t=Q();return t.startInactiveSpan?t.startInactiveSpan(e):je(e)}function je(e){let n=Ne(e),{forceTransaction:r,parentSpan:i}=e;return(e.scope?n=>t(e.scope,n):i===void 0?e=>e():e=>Y(i,e))(()=>{let t=S(),a=Fe(t,i),o=c();return e.onlyIfParent&&!a?Me(t,o):Z({parentSpan:a,spanArguments:n,forceTransaction:r,scope:t})})}function Y(e,n){let r=Q();return r.withActiveSpan?r.withActiveSpan(e,n):t(t=>(se(t,e||void 0),n(t)))}function X(e=S()){let t=Q();return t.isTracingSuppressed?t.isTracingSuppressed(e):e.getScopeData().sdkProcessingMetadata[ke]===!0}function Me(e,t){t?.recordDroppedEvent(`no_parent_span`,`span`);let n=new C({traceId:e.getPropagationContext().traceId});return A(n,e,b()),n}function Z({parentSpan:t,spanArguments:n,forceTransaction:r,scope:i}){let a=b();if(!e()){let e={...a.getPropagationContext(),...i.getPropagationContext()},n=t?t.spanContext().traceId:e.traceId,o=new C({traceId:n});return t&&!r&&E(t,o),A(o,i,a),o}let o=c();if(Ie(o,n)){X(i)||o?.recordDroppedEvent(`ignored`,`span`);let e=new C({dropReason:`ignored`,traceId:t?.spanContext().traceId??i.getPropagationContext().traceId});return t&&!r&&E(t,e),A(e,i,a),e}let s;if(t&&!r)s=Pe(t,i,n,a),E(t,s);else if(t){let e=x(t),{traceId:r,spanId:o}=t.spanContext(),c=T(t);s=$({traceId:r,parentSpanId:o,...n},i,a,c),N(s,e)}else{let{traceId:e,dsc:t,parentSpanId:r,sampled:o}={...a.getPropagationContext(),...i.getPropagationContext()};s=$({traceId:e,parentSpanId:r,...n},i,a,o),t&&N(s,t)}return Ce(s),s}function Ne(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let n={...t};return n.startTimestamp=D(e.startTime),delete n.startTime,n}return t}function Q(){let e=w();return ue(e)}function $(e,t,n,r){let a=c(),o=a?.getOptions()||{},{name:u=``}=e,d={spanAttributes:{...e.attributes},spanName:u,parentSampled:r};a?.emit(`beforeSampling`,d,{decision:!1});let f=d.parentSampled??r,p=d.spanAttributes,m=t.getPropagationContext(),h=X(t),[g,_,v]=h?[!1]:Oe(o,{name:u,parentSampled:f,attributes:p,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:I(m.dsc?.sample_rate)},m.sampleRand),y=new K({...e,attributes:{[l]:`custom`,[i]:_!==void 0&&v?_:void 0,...p},sampled:g});return!g&&a&&!h&&(P&&s.log(`[Tracing] Discarding root span because its trace was not chosen to be sampled.`),a.recordDroppedEvent(`sample_rate`,W(a)?`span`:`transaction`)),A(y,t,n),a&&a.emit(`spanStart`,y),y}function Pe(e,t,n,r){let{spanId:i,traceId:a}=e.spanContext(),o=X(t),s=!o&&T(e),l=s?new K({...n,parentSpanId:i,traceId:a,sampled:s}):new C({traceId:a});E(e,l),A(l,t,r);let u=c();return u?(W(u)&&p(l)&&(p(e)&&e.dropReason?(l.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,`span`)):o||(l.dropReason=`sample_rate`,u.recordDroppedEvent(`sample_rate`,`span`))),u.emit(`spanStart`,l),n.endTimestamp&&(u.emit(`spanEnd`,l),u.emit(`afterSpanEnd`,l)),l):l}function Fe(e,t){if(t)return t;if(t===null)return;let n=ie(e);if(!n)return;let r=c();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?k(n):n}function Ie(e,t){let n=e?.getOptions().ignoreSpans;return!e||!W(e)||!n?.length?!1:B({description:t.name||``,op:t.attributes?.[`sentry.op`]||t.op,attributes:t.attributes},n)}function Le(e){return p(e)&&e.dropReason===`ignored`}export{W as a,be as c,B as d,K as i,V as l,Ae as n,Te as o,Y as r,xe as s,Le as t,_e as u};

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.