Lines 1-27javascript
2import{fb as $a}from"./chunk-ay5scfsk.js";import{gb as m,hb as v,jb as m0}from"./chunk-ac193nks.js";var f2=v((JF)=>{Object.defineProperty(JF,"__esModule",{value:!0});JF.VERSION=void 0;JF.VERSION="1.9.1"});var VF=v((zF)=>{Object.defineProperty(zF,"__esModule",{value:!0});zF.isCompatible=zF._makeCompatibilityCheck=void 0;var Nv=f2(),WF=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function KF($){let Z=new Set([$]),X=new Set,Q=$.match(WF);if(!Q)return()=>!1;let J={major:+Q[1],minor:+Q[2],patch:+Q[3],prerelease:Q[4]};if(J.prerelease!=null)return function(z){return z===$};function Y(K){return X.add(K),!1}functio ...
3`);for(let K=Q;K<W.length;K++){let z=W[K];if(z.length>1024)z=z.slice(0,1024);let H=_3.test(z)?z.replace(_3,"$1"):z;if(H.includes("Error: "))continue;for(let V of Z){let G=V(H);if(G){Y.push(G);break}}if(Y.length>=50+J)break}return N3(Y.slice(J))}}function CQ($){if(Array.isArray($))return A4(...$);return $}function N3($){if(!$.length)return[];let Z=Array.from($);if(/sentryWrapped/.test(f4(Z).function||""))Z.pop();if(Z.reverse(),R3.test(f4(Z).function||"")){if(Z.pop(),R3.test(f4(Z).function||""))Z.pop()}return Z.slice(0,50).map((X)=>({...X,filename:X.filename||f4(Z).filename,function:X.function|| ...
5 `)}`)}function o9($){if(!D)return;let{description:Z="< unknown name >",op:X="< unknown op >"}=S($),{spanId:Q}=$.spanContext(),Y=Y0($)===$,W=`[Tracing] Finishing "${X}" ${Y?"root "
7`),typeof K==="string"||K instanceof Uint8Array)J(K);else{let z;try{z=JSON.stringify(K)}catch{z=JSON.stringify(h0(K))}J(z)}}return typeof Q==="string"?Q:pT(Q)}function pT($){let Z=$.reduce((J,Y)=>J+Y.length,0),X=new Uint8Array(Z),Q=0;for(let J of $)X.set(J,Q),Q+=J.length;return X}function KJ($){return[{type:"span"},$]}function zJ($){let Z=typeof $.data==="string"?YJ($.data):$.data;return[{type:"attachment",length:Z.length,filename:$.filename,content_type:$.contentType,attachment_type:$.attachmentType},Z]}var WH={sessions:"session",event:"error",client_report:"internal",user_report:"default",pr ...
MediumSecret Pattern
Package contains a possible secret pattern.
lib/chunk-htrw9ag2.jsView on unpkg · L7 8Event: ${a6($)}`),!0;if(rE($))return D&&w.warn(`Event dropped due to not having an error message, error type or stacktrace.
9Event: ${a6($)}`),!0;if(pE($,Z.denyUrls))return D&&w.warn(`Event dropped due to being matched by \`denyUrls\` option.
11Url: ${l4($)}`),!0;if(!iE($,Z.allowUrls))return D&&w.warn(`Event dropped due to not being matched by \`allowUrls\` option.
13Url: ${l4($)}`),!0}else if($.type==="transaction"){if(lE($,Z.ignoreTransactions))return D&&w.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
14Event: ${a6($)}`),!0}return!1}function uE($,Z){if(!Z?.length)return!1;return u4($).some((X)=>M1(X,Z))}function lE($,Z){if
17Error:`,J)}}var i4=new Set([]);function o4($){let X=vJ("console",$);return BZ("console",Bh),X}function nH($){for(let Z of $)i4.add(Z);return()=>{for(let Z of $)i4.delete(Z)}}function Bh(){if(!("console"in g))return;L6.forEach(function($){if(!($ in g.console))return;E9(g.console,$,function(Z){return E1[$]=Z,function(...X){let Q=X[0],J=E1[$],Y=i4.size&&typeof Q==="string"&&M1(Q,i4);if(!Y)R7("console",{args:X,level:$});if(!Y||D&&w.isEnabled())J?.apply(g.console,X)}})})}function FZ($){return $==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes($)?$:"log"}function Fh($,Z){ ...
18Reason: ${B}`)})}_process($,Z){this._numProcessing++,this._promiseBuffer.add($).then((X)=>{return this._numProcessing--,X},(X)=>{if(this._numProcessing--,X===YZ)this.recordDroppedEvent("queue_overflow",Z);
19`),X=[];for(let Q of Z)try{let J=Q.indexOf(":");if(J===-1)continue;let Y=Q.slice(0,J).trim(),W=Q.slice(
21`)}function YW($,Z){let X=-1;for(let Q=0;Q<$.length;Q+=2){if($[Q]!==Z)continue;if(X===-1){X=Q;continue}
22`).some((X)=>X.indexOf("(https.js:")!==-1||X.indexOf("node:https:")!==-1)}createSocket($,Z,X){let Q={...Z,secureEndpoint:this.isSecureEndpoint(Z)};Promise.resolve().then(()=>this.connect($,Q)).then((J)=>{if(J instanceof uW.Agent)return J.addRequest($,Q);this[w6].currentSocket=J,super.createSocket($,Z,X)},X)}createConnection(){let $=this[w6].currentSocket;if(this[w6].currentSocket=void 0,!$)throw Error("No socket was returned in the `connect()` function");return $}get defaultPort(){return this[w6].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort($){if(this[w6])this[w6].defaultPort ...
24`);if(B===-1){MX("have not received end of HTTP headers yet..."),Y();return}let F=G.subarray(0,B).toString("ascii").split(`\r
25`),j=F.shift();if(!j)return $.destroy(),X(Error("No header received from proxy CONNECT response"));let U=j.split(" "),q=+(U[1]||0),M=U.slice(2).
26`;if(X.username||X.password){let G=`${decodeURIComponent(X.username)}:${decodeURIComponent(X.password)}`;J["Proxy-Authorization"]=`Basic ${Buffer.from(G).toString("base64")}`}if(J.Host=`${Y}:${Z.port}`,!J["Proxy-Connection"])J["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let G of Object.keys(J))W+=`${G}: ${J[
27`;let K=sR(Q);Q.write(`${W}\r
Long lines were clipped for display.