PageSourceSearch

https://marketplace.elgato.com/_next/static/chunks/8646-af695d119ad38c65.js

js elgato.com collected 2026-09-24 08:28:28 UTC 27,483 bytes, 4 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8646],{14733:(t,e,n)=>{n.d(e,{HideSidebarContextProvider:()=>a});var s=n(54568),i=n(7620);let r=(0,i.createContext)({}),a=t=>{let{open:e,children:n}=t,[,a]=(0,i.useState)(null),{contextId:o}=(0,i.useContext)(r),l=(0,i.useId)();return((0,i.useEffect)(()=>{if(!o){if(e)return void a(t=>{if(null===t){let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",t}return t});a(t=>null!==t?(document.body.style.overflow=t,null):t)}},[e]),o)?n:(0,s.jsx)(r.Provider,{value:{contextId:l},children:n})}},26424:(t,e,n)=>{n.d(e,{Dialog:()=>x,DialogActions:()=>b,DialogBody:()=>S,DialogFooter:()=>y,DialogHeader:()=>v});var s=n(17867),i=n(54568),r=n(7620),a=n(72902),o=n(75192),l=n(15280),c=n(51686),u=n(8910),d=n(41071),h=n(32638);let p={s:"max-w-[320px]",m:"max-w-[480px]",l:"max-w-[640px]"},g={s:320,m:480,l:640},_=(0,r.createContext)({placement:"center",draggable:!1,onClose:()=>{},setScrolling:()=>{}}),f={none:"",condensed:"px-xs",default:"px-m"},m={center:{portal:"justify-center items-center",container:"place-items-center",dialog:"w-[calc(100vw-calc(var(--grid-padding)*2))] max-h-[calc(100dvh-calc(var(--grid-padding)*2))] rounded-m",dialogBody:"last-of-type:max-h-[calc(100dvh-calc(var(--space-2-xl)*4))]"},left:{portal:"justify-start items-center",container:"h-[100dvh] max-w-[320px] w-[calc(100vw-var(--space-4-xl))]",dialog:"m-0 w-full h-full rounded-r-m pl-[env(safe-area-inset-left)]",animation:"-translate-x-full transition-transform duration-200 ease-out data-[open=true]:translate-x-0"},right:{portal:"justify-end items-center",container:(0,a.A)("ml-auto mr-0 h-dvh w-[calc(100vw-var(--space-4-xl))] max-w-[320px]","[&>div.animation-wrapper]:translate-x-full [&[data-open=true]>div.animation-wrapper]:translate-x-0"),dialog:"m-0 w-full h-full rounded-l-m pr-[env(safe-area-inset-right)]",animation:"translate-x-full transition-transform duration-200 ease-out data-[open=true]:translate-x-0"},bottom:{wrapper:"mt-[--space-4-xl] bottom-0 left-1/2",container:"max-w-[480px] w-screen absolute bottom-0 left-1/2",dialog:"w-full max-h-[calc(100dvh-var(--space-4-xl))] rounded-t-m -left-1/2",animation:"translate-y-full duration-200 ease-out data-[open=true]:translate-y-0"},full:{container:"h-[100dvh] w-screen",dialog:"h-[100dvh] w-screen"}},x=t=>{var{open:e=!1,size:n="m",placement:o="center",draggable:l=!0,persistent:u=!1,maxHeight:d,portal:f=!0,unmountOnClose:x=!0,responsiveCenter:v=!0,className:S,onClose:y,children:b}=t,E=(0,s.Tt)(t,["open","size","placement","draggable","persistent","maxHeight","portal","unmountOnClose","responsiveCenter","className","onClose","children"]);let w=(0,r.useRef)(null),[C,T]=(0,r.useState)(!1),[N,j]=(0,r.useState)(!1),[O,D]=(0,r.useState)({y:0}),k=(0,r.useRef)({y:0}),A=(0,r.useRef)({y:0,ts:0}),[R,P]=(0,r.useState)(!1),[I,L]=(0,r.useState)(void 0),[M,Y]=(0,r.useState)(e),[U,H]=(0,r.useState)(!1),{isTouchDevice:q}=(0,h.Y)();(0,r.useEffect)(()=>{e?(Y(!0),setTimeout(()=>{var t;H(!0),null==(t=w.current)||t.focus()},50)):(H(!1),x&&setTimeout(()=>Y(!1),200))},[e]);let B=(t,e)=>{j(!0),k.current={y:e+O.y},A.current={y:e,ts:t.timeStamp}},G=(t,e)=>{var n;j(!1);let s=e-A.current.y,i=t.timeStamp-A.current.ts^2,r=t.target.closest("[data-drag-handle]");if(s/i>=1&&(!R||r))return void V();let a=(null==(n=w.current)?void 0:n.clientHeight)||0;O.y>=-((a-a/2)*1)?(D({y:0}),L(1)):V()},J=(t,e)=>{var n;let{clientX:s,clientY:i}=e,r=t.target.closest("[data-drag-handle]");if(!window||!N||R&&!r)return;if(s<=0||i<=0||s>=window.innerWidth||i>=window.innerHeight)return void G(t,i);let a=k.current.y-i;D({y:Math.min(a,0)}),L(parseFloat((1-a/(-1*((null==(n=w.current)?void 0:n.clientHeight)||0))).toFixed(2)))},$=(0,r.useCallback)(t=>{let{clientX:e,clientY:n}=t.touches[0];J(t,{clientX:e,clientY:n})},[N,R]),F=(0,r.useCallback)(t=>{let{clientX:e,clientY:n}=t;J(t,{clientX:e,clientY:n})},[N,R]),V=()=>{K&&(j(!1),D({y:0}),L(void 0)),null==y||y()};if(!M)return null;let z="center"===o&&q&&v?"bottom":o,K=l&&"bottom"===z&&q;return(0,i.jsx)(c.Overlay,Object.assign({open:e,portal:f,className:(0,a.A)("grid place-content-center",N&&"data-[dragging=true]:transition-none"),containerClassName:(0,a.A)(m[z].wrapper,"inset-[revert]"),portalClassName:(0,a.A)("absolute left-0 top-0 flex h-full w-full",m[z].portal)},K&&{opacity:I,"data-dragging":N},{onClick:()=>{u?(T(!0),setTimeout(()=>T(!1),100)):V()},unmountOnClose:x,children:(0,i.jsx)("div",{className:(0,a.A)("grid","center"===z&&"h-full",m[z].container),children:(0,i.jsx)(_.Provider,{value:{placement:z,draggable:l,onClose:V,setScrolling:P},children:(0,i.jsxs)("dialog",Object.assign({},E,{ref:w,open:!0,className:(0,a.A)("relative flex cursor-auto flex-col overflow-hidden bg-surface-overlay","styled-focus-ring shadow-xl",m[z].animation,m[z].dialog,"center"===z&&(0,a.A)(p[n],u&&(0,a.A)("scale-100 data-[persisting=true]:scale-[1.02] data-[persisting=true]:ease-inout","data-[persisting=true]:transition-transform data-[persisting=true]:duration-100")),"bottom"===z&&(0,a.A)(K&&"cursor-move",N?"transition-transform":"transition-[transform,bottom]"),S),onKeyDown:t=>{"Escape"===t.key&&V()},style:Object.assign(Object.assign({bottom:O.y},void 0!==d&&{maxHeight:"number"==typeof d?d:g[d]}),E.style),"data-open":U,"data-draggable":K,"data-persisting":C},K&&{onTouchStart:t=>{B(t,t.touches[0].clientY)},onTouchEnd:t=>{G(t,t.changedTouches[0].clientY)},onTouchMove:$,onPointerDown:t=>{B(t,t.clientY)},onPointerUp:t=>{G(t,t.clientY)},onPointerMove:F},{children:[K&&(0,i.jsx)("div",{className:(0,a.A)("grid place-content-center pt-xs","pb-3xs has-[+[data-drag-handle]]:pb-0"),"data-drag-handle":!0,children:(0,i.jsx)("div",{className:"h-3xs w-4xl rounded-full bg-surface-strong"})}),b]}))})})}))},v=t=>{var{closable:e=!0,className:n,children:c}=t,h=(0,s.Tt)(t,["closable","className","children"]);let{placement:p="center",onClose:g}=(0,r.useContext)(_);return(0,i.jsxs)("div",Object.assign({},h,{className:(0,a.A)("flex justify-between p-xs",m[p].dialogHeader,"string"!=typeof c&&"items-center gap-xs",n),"data-drag-handle":!0,children:["string"==typeof c?(0,i.jsx)("div",{className:"flex items-center truncate px-xs py-3xs",children:(0,i.jsx)(u.E,{size:"l",className:"truncate font-medium",children:c})}):(0,i.jsx)("div",{className:"flex flex-1 items-center",children:c}),e&&(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(d.Tooltip,{closeDelay:0,openDelay:500,label:"Close",children:(0,i.jsx)(o.IconButton,Object.assign({icon:l.IconClose,"aria-label":"Close",variant:"quiet"},g&&{onClick:g}))})})]}))},S=t=>{var{children:e,className:n,padding:o="default"}=t,l=(0,s.Tt)(t,["children","className","padding"]);let{placement:c="center",draggable:d=!1,setScrolling:h}=(0,r.useContext)(_);return(0,i.jsx)("div",Object.assign({},l,{className:(0,a.A)("overflow-y-auto first-of-type:mt-m last-of-type:mb-m",f[o],m[c].dialogBody,"center"!==c&&"h-full",n)},d&&"bottom"===c&&{onScroll:t=>h(0!==t.target.scrollTop)},{children:"string"==typeof e?(0,i.jsx)(u.E,{tag:"div",children:e}):e}))},y=t=>{var{children:e,className:n}=t,o=(0,s.Tt)(t,["children","className"]);let{placement:l="center"}=(0,r.useContext)(_);return(0,i.jsx)("div",Object.assign({},o,{className:(0,a.A)("p-m",m[l].dialogFooter,"center"!==l&&"pb-[calc(env(safe-area-inset-bottom)+var(--space-m))]",n),children:"string"==typeof e?(0,i.jsx)(u.E,{tag:"div",children:e}):e}))},b=t=>{var{children:e,className:n}=t,r=(0,s.Tt)(t,["children","className"]);return(0,i.jsx)("div",Object.assign({},r,{className:(0,a.A)("flex flex-wrap justify-end gap-xs",n),children:e}))}},45712:(t,e,n)=>{n.d(e,{Portal:()=>a});var s=n(17867),i=n(54568),r=n(82095);let a=t=>{var{children:e}
1=t,n=(0,s.Tt)(t,["children"]);return(0,i.jsx)(r.ZL,Object.assign({},n,{children:e}))}},51686:(t,e,n)=>{n.d(e,{Overlay:()=>c});var s=n(17867),i=n(54568),r=n(7620),a=n(72902),o=n(45712),l=n(14733);let c=t=>{var{open:e=!1,opacity:n,transitionContent:c=!0,portal:u=!0,unmountOnClose:d=!0,children:h,className:p,containerClassName:g,portalClassName:_}=t,f=(0,s.Tt)(t,["open","opacity","transitionContent","portal","unmountOnClose","children","className","containerClassName","portalClassName"]);let[m,x]=(0,r.useState)(e),[v,S]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{e?(x(!0),setTimeout(()=>S(!0),50)):(S(!1),d&&setTimeout(()=>x(!1),200))},[e]),!m)return null;let y="transition-opacity duration-200 ease-inout",b=v?"pointer-events-auto opacity-100":"pointer-events-none opacity-0",E=(0,i.jsxs)(l.HideSidebarContextProvider,{open:e,children:[(0,i.jsx)("div",Object.assign({},f,{className:(0,a.A)("fixed inset-0 z-50 h-screen w-full bg-overlay",y,b,p)},void 0!==n&&e&&{style:Object.assign(Object.assign({},f.style),{opacity:n})})),(0,i.jsx)("div",{className:(0,a.A)("fixed inset-0 z-50",c&&y,b,g),children:h})]});return u?(0,i.jsx)(o.Portal,{as:"div",className:_,children:E}):E}},79428:(t,e,n)=>{n.d(e,{useIsMutating:()=>o,useMutationState:()=>c});var s=n(7620),i=n(69950),r=n(95635),a=n(4869);function o(t,e){let n=(0,a.useQueryClient)(e);return c({filters:{...t,status:"pending"}},n).length}function l(t,e){return t.findAll(e.filters).map(t=>e.select?e.select(t):t.state)}function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=(0,a.useQueryClient)(e).getMutationCache(),o=s.useRef(t),c=s.useRef(null);return null===c.current&&(c.current=l(n,t)),s.useEffect(()=>{o.current=t}),s.useSyncExternalStore(s.useCallback(t=>n.subscribe(()=>{let e=(0,i.BH)(c.current,l(n,o.current));c.current!==e&&(c.current=e,r.jG.schedule(t))}),[n]),()=>c.current,()=>c.current)}},93402:(t,e,n)=>{var s;n.d(e,{Cp:()=>I,KU:()=>L,o5:()=>M});let i=Object.prototype.toString;function r(t){return"[object Object]"===i.call(t)}function a(t){return!!(t&&t.then&&"function"==typeof t.then)}function o(t){return t&&t.Math==Math?t:void 0}let l="object"==typeof globalThis&&o(globalThis)||"object"==typeof window&&o(window)||"object"==typeof self&&o(self)||"object"==typeof n.g&&o(n.g)||function(){return this}()||{};function c(t,e,n){let s=n||l,i=s.__SENTRY__=s.__SENTRY__||{};return i[t]||(i[t]=e())}function u(){let t=l.crypto||l.msCrypto,e=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(e=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(t){}return"10000000100040008000100000000000".replace(/[018]/g,t=>(t^(15&e())>>t/4).toString(16))}function d(){return Date.now()/1e3}let h=function(){let{performance:t}=l;if(!t||!t.now)return d;let e=Date.now()-t.now(),n=void 0==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/1e3}();(()=>{let{performance:t}=l;if(!t||!t.now)return;let e=t.now(),n=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,i=t.timing&&t.timing.navigationStart,r="number"==typeof i?Math.abs(i+e-n):36e5;if((s<36e5||r<36e5)&&s<=r)return t.timeOrigin})();let p="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,g=["debug","info","warn","error","log","assert","trace"],_={};function f(t){if(!("console"in l))return t();let e=l.console,n={},s=Object.keys(_);s.forEach(t=>{let s=_[t];n[t]=e[t],e[t]=s});try{return t()}finally{s.forEach(t=>{e[t]=n[t]})}}let m=function(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return p?g.forEach(n=>{e[n]=(...e)=>{t&&f(()=>{l.console[n](`Sentry Logger [${n}]:`,...e)})}}):g.forEach(t=>{e[t]=()=>void 0}),e}(),x="production",v="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(s||(s={}));class S{constructor(t){S.prototype.__init.call(this),S.prototype.__init2.call(this),S.prototype.__init3.call(this),S.prototype.__init4.call(this),this._state=s.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new S((n,s)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){s(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){s(t)}else s(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new S((e,n)=>{let s,i;return this.then(e=>{i=!1,s=e,t&&t()},e=>{i=!0,s=e,t&&t()}).then(()=>
1{if(i)return void n(s);e(s)})})}__init(){this._resolve=t=>{this._setResult(s.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(s.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{if(this._state===s.PENDING){if(a(e))return void e.then(this._resolve,this._reject);this._state=t,this._value=e,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===s.PENDING)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(this._state===s.RESOLVED&&t[1](this._value),this._state===s.REJECTED&&t[2](this._value),t[0]=!0)})}}}function y(t){return function t(e,n){if(function(t){if(!r(t))return!1;try{let e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(e)){let s=n.get(e);if(void 0!==s)return s;let i={};for(let s of(n.set(e,i),Object.keys(e)))void 0!==e[s]&&(i[s]=t(e[s],n));return i}if(Array.isArray(e)){let s=n.get(e);if(void 0!==s)return s;let i=[];return n.set(e,i),e.forEach(e=>{i.push(t(e,n))}),i}return e}(t,new Map)}function b(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||h(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:u()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function E(t){return t.transaction}function w(t){return"function"==typeof t.getSpanJSON?t.getSpanJSON():"function"==typeof t.toJSON?t.toJSON():{}}class C{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=T()}static clone(t){return t?t.clone():new C}clone(){let t=new C;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&b(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t;if(e instanceof C){let t=e.getScopeData();this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&Object.keys(t.user).length&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint.length&&(this._fingerprint=t.fingerprint),e.getRequestSession()&&(this._requestSession=e.getRequestSession()),t.propagationContext&&(this._propagationContext=t.propagationContext)}else r(e)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession),t.propagationContext&&(this._propagationContext=t.propagationContext));return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=T(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let s={timestamp:d(),...t},i=this._breadcrumbs;return i.push(s),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}
1getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:t,_attachments:e,_contexts:n,_tags:s,_extra:i,_user:r,_level:a,_fingerprint:o,_eventProcessors:l,_propagationContext:c,_sdkProcessingMetadata:u,_transactionName:d,_span:h}=this;return{breadcrumbs:t,attachments:e,contexts:n,tags:s,extra:i,user:r,level:a,fingerprint:o||[],eventProcessors:l,propagationContext:c,sdkProcessingMetadata:u,transactionName:d,span:h}}applyToEvent(t,e={},n=[]){var s,i,r,o,l,u=this.getScopeData();let{fingerprint:d,span:h,breadcrumbs:p,sdkProcessingMetadata:g}=u;return function(t,e){let{extra:n,tags:s,user:i,contexts:r,level:a,transactionName:o}=e,l=y(n);l&&Object.keys(l).length&&(t.extra={...l,...t.extra});let c=y(s);c&&Object.keys(c).length&&(t.tags={...c,...t.tags});let u=y(i);u&&Object.keys(u).length&&(t.user={...u,...t.user});let d=y(r);d&&Object.keys(d).length&&(t.contexts={...d,...t.contexts}),a&&(t.level=a),o&&(t.transaction=o)}(t,u),h&&function(t,e){t.contexts={trace:function(t){let{spanId:e,traceId:n}=t.spanContext(),{data:s,op:i,parent_span_id:r,status:a,tags:o,origin:l}=w(t);return y({data:s,op:i,parent_span_id:r,span_id:e,status:a,tags:o,trace_id:n,origin:l})}(e),...t.contexts};let n=E(e);if(n){t.sdkProcessingMetadata={dynamicSamplingContext:function(t){let e=L();if(!e)return{};let n=function(t,e,n){let s=e.getOptions(),{publicKey:i}=e.getDsn()||{},{segment:r}=n&&n.getUser()||{},a=y({environment:s.environment||x,release:s.release,user_segment:r,public_key:i,trace_id:t});return e.emit&&e.emit("createDsc",a),a}(w(t).trace_id||"",e,M()),s=E(t);if(!s)return n;let i=s&&s._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:r,source:a}=s.metadata;null!=r&&(n.sample_rate=`${r}`);let o=w(s);return a&&"url"!==a&&(n.transaction=o.description),n.sampled=String(function(t){let{traceFlags:e}=t.spanContext();return!!(1&e)}(s)),e.emit&&e.emit("createDsc",n),n}(e),...t.sdkProcessingMetadata};let s=w(n).description;s&&(t.tags={transaction:s,...t.tags})}}(t,h),s=t,i=d,s.fingerprint=s.fingerprint?Array.isArray(r=s.fingerprint)?r:[r]:[],i&&(s.fingerprint=s.fingerprint.concat(i)),s.fingerprint&&!s.fingerprint.length&&delete s.fingerprint,function(t,e){let n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,p),o=t,l=g,o.sdkProcessingMetadata={...o.sdkProcessingMetadata,...l},function t(e,n,s,i=0){return new S((r,o)=>{let l=e[i];if(null===n||"function"!=typeof l)r(n);else{let c=l({...n},s);v&&l.id&&null===c&&m.log(`Event processor "${l.id}" dropped event`),a(c)?c.then(n=>t(e,n,s,i+1).then(r)).then(null,o):t(e,c,s,i+1).then(r).then(null,o)}})}([...n,...c("globalEventProcessors",()=>[]),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e&&e.event_id?e.event_id:u();if(!this._client)return m.warn("No client configured on scope - will not capture exception!"),n;let s=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...e,event_id:n},this),n}captureMessage(t,e,n){let s=n&&n.event_id?n.event_id:u();if(!this._client)return m.warn("No client configured on scope - will not capture message!"),s;let i=Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:s},this),s}captureEvent(t,e){let n=e&&e.event_id?e.event_id:u();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):m.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function T(){return{traceId:u(),spanId:u().substring(16)}}let N=parseFloat("7.120.4");class j{constructor(t,e,n,s=N){let i,r;this._version=s,e?i=e:(i=new C).setClient(t),n?r=n:(r=new C).setClient(t),this._stack=[{scope:i}],t&&this.bindClient(t),this._isolationScope=r}isOlderThan(t){return this._version<t}bindClient(t){let e=this.getStackTop();
1e.client=t,e.scope.setClient(t),t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){let t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){let e,n=this.pushScope();try{e=t(n)}catch(t){throw this.popScope(),t}return a(e)?e.then(t=>(this.popScope(),t),t=>{throw this.popScope(),t}):(this.popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){let n=this._lastEventId=e&&e.event_id?e.event_id:u(),s=Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:s,...e,event_id:n}),n}captureMessage(t,e,n){let s=this._lastEventId=n&&n.event_id?n.event_id:u(),i=Error(t);return this.getScope().captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:s}),s}captureEvent(t,e){let n=e&&e.event_id?e.event_id:u();return t.type||(this._lastEventId=n),this.getScope().captureEvent(t,{...e,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){let{scope:n,client:s}=this.getStackTop();if(!s)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:r=100}=s.getOptions&&s.getOptions()||{};if(r<=0)return;let a={timestamp:d(),...t},o=i?f(()=>i(a,e)):a;null!==o&&(s.emit&&s.emit("beforeAddBreadcrumb",o,e),n.addBreadcrumb(o,r))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e),this.getIsolationScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e),this.getIsolationScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e),this.getIsolationScope().setContext(t,e)}configureScope(t){let{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){let e=D(this);try{t(this)}finally{D(e)}}getIntegration(t){let e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return v&&m.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){let n=this._callExtensionMethod("startTransaction",t,e);return v&&!n&&(this.getClient()?m.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
2Sentry.addTracingExtensions();
3Sentry.init({...});
4`):m.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){let t,e=this.getStackTop().scope,n=e.getSession();n&&(t={},"ok"===n.status&&(t={status:"exited"}),b(n,t)),this._sendSessionUpdate(),e.setSession()}startSession(t){let{scope:e,client:n}=this.getStackTop(),{release:s,environment:i=x}=n&&n.getOptions()||{},{userAgent:r}=l.navigator||{},a=function(t){let e=h(),n={sid:u(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,y({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}};return t&&b(n,t),n}({release:s,environment:i,user:e.getUser(),...r&&{userAgent:r},...t}),o=e.getSession&&e.getSession();return o&&"ok"===o.status&&b(o,{status:"exited"}),this.endSession(),e.setSession(a),a}shouldSendDefaultPii(){let t=this.getClient(),e=t&&t.getOptions();return!!(e&&e.sendDefaultPii)}_sendSessionUpdate(){let{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_callExtensionMethod(t,...e){let n=O().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);v&&m.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function O(){return l.__SENTRY__=l.__SENTRY__||{extensions:{},hub:void 0},l}function D(t){let e=O(),n=A(e);return R(e,t),n}
4function k(){let t=O();if(t.__SENTRY__&&t.__SENTRY__.acs){let e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return function(t=O()){var e;return(!((e=t)&&e.__SENTRY__&&e.__SENTRY__.hub)||A(t).isOlderThan(N))&&R(t,new j),A(t)}(t)}function A(t){return c("hub",()=>new j,t)}function R(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}new WeakMap;let P=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function I(t,e){return k().captureException(t,function(t){if(t){var e;return(e=t)instanceof C||"function"==typeof e||Object.keys(t).some(t=>P.includes(t))?{captureContext:t}:t}}(e))}function L(){return k().getClient()}function M(){return k().getScope()}}}]);

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.