PageSourceSearch

https://www.miaoer.net/_next/static/chunks/7395-838335ea0afd3db3.js

js miaoer.net collected 2026-09-25 20:04:06 UTC 12,018 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7395],{17984:(t,e,s)=>{let i;s.d(e,{H:()=>p});var n=s(51449),r=s(95707),o=s(62224),a=s(31422);function c(){return(0,o.Wk)()/1e3}var h=s(37785),u=s(39391);let _="_sentrySpan";function l(t,e){if(e)try{Object.defineProperty(t,_,{value:e,writable:!0,configurable:!0})}catch{n.T&&h.Yz.log(`Failed to add non-enumerable property "${String(_)}" to object`,t)}else delete t[_]}class p{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,r.eJ)(),sampleRand:(0,o.hY)()}}clone(){let t=new p;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,l(t,this[_]),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}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,username:void 0},this._session&&function(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||(i??(i=function(){let{performance:t}=a.O;if(!t?.now||!t.timeOrigin)return c;let e=t.timeOrigin;return()=>(e+(0,o.Qw)(()=>t.now()))/1e3}()))(),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:(0,r.eJ)()),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)}(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],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}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,{tags:s,attributes:i,extra:n,user:r,contexts:o,level:a,fingerprint:c=[],propagationContext:h,conversationId:_}=(e instanceof p?e.getScopeData():(0,u.Qd)(e)?t:void 0)||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...n},this._contexts={...this._contexts,...o},r&&Object.keys(r).length&&(this._user=r),a&&(this._level=a),c.length&&(this._fingerprint=c),h&&(this._propagationContext=h),_&&(this._conversationId=_),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,l(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,r.eJ)(),sampleRand:(0,o.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let s="number"==typeof e?e:100;if(s<=0)return this;let i={timestamp:c(),...t,message:t.message?function(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}(t.message,2048):t.message};return this._breadcrumbs.push(i),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client?.recordDroppedEvent("buffer_overflow","log_item")),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}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:this[_],conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=function t(e,s,i=2){if(!s||"object"!=typeof s||i<=0)return s;if(e&&0===Object.keys(s).length)return e;let n={...e};for(let e in s)Object.prototype.hasOwnProperty.call(s,e)&&(n[e]=t(n[e],s[e],i-1));return n}(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}
1captureException(t,e){let s=e?.event_id||(0,r.eJ)();if(!this._client)return n.T&&h.Yz.warn("No client configured on scope - will not capture exception!"),s;let i=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...e,event_id:s},this),s}captureMessage(t,e,s){let i=s?.event_id||(0,r.eJ)();if(!this._client)return n.T&&h.Yz.warn("No client configured on scope - will not capture message!"),i;let o=s?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:o,...s,event_id:i},this),i}captureEvent(t,e){let s=t.event_id||e?.event_id||(0,r.eJ)();return this._client?this._client.captureEvent(t,{...e,event_id:s},this):n.T&&h.Yz.warn("No client configured on scope - will not capture event!"),s}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}},31422:(t,e,s)=>{s.d(e,{O:()=>i});let i=globalThis},37785:(t,e,s)=>{s.d(e,{Yz:()=>u});var i=s(82807),n=s(51449),r=s(31422);let o={};function a(){return h().enabled}function c(t,...e){n.T&&a()&&function(t){if(!("console"in r.O))return t();let e=r.O.console,s={},i=Object.keys(o);i.forEach(t=>{let i=o[t];s[t]=e[t],e[t]=i});try{return t()}finally{i.forEach(t=>{e[t]=s[t]})}}(()=>{r.O.console[t](`Sentry Logger [${t}]:`,...e)})}function h(){return n.T?(0,i.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let u={enable:function(){h().enabled=!0},disable:function(){h().enabled=!1},isEnabled:a,log:function(...t){c("log",...t)},warn:function(...t){c("warn",...t)},error:function(...t){c("error",...t)}}},39391:(t,e,s)=>{s.d(e,{Qd:()=>n,Qg:()=>r});let i=Object.prototype.toString;function n(t){return"[object Object]"===i.call(t)}function r(t){return!!(t?.then&&"function"==typeof t.then)}},51449:(t,e,s)=>{s.d(e,{T:()=>i});let i="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},55263:(t,e,s)=>{s.d(e,{KU:()=>b,o5:()=>d,rm:()=>f,v4:()=>g});var i=s(82807),n=s(17984);let r=t=>t instanceof Promise&&!t[o],o=Symbol("chained PromiseLike");var a=s(39391);class c{constructor(t,e){let s,i;s=t||new n.H,i=e||new n.H,this._stack=[{scope:s}],this._isolationScope=i}withScope(t){let e,s=this._pushScope();try{e=t(s)}catch(t){throw this._popScope(),t}return(0,a.Qg)(e)?((t,e,s)=>{let i=t.then(t=>(e(t),t),t=>{throw s(t),t});return r(i)&&r(t)?i:((t,e)=>{let s=!1;for(let i in t){if(i in e)continue;s=!0;let n=t[i];"function"==typeof n?Object.defineProperty(e,i,{value:(...e)=>n.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[i]=n}return s&&Object.assign(e,{[o]:!0}),e})(t,i)})(e,()=>this._popScope(),()=>this._popScope()):(this._popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function h(){let t=(0,i.EU)(),e=(0,i.Se)(t);return e.stack=e.stack||new c((0,i.BY)("defaultCurrentScope",()=>new n.H),(0,i.BY)("defaultIsolationScope",()=>new n.H))}function u(t){return h().withScope(t)}function _(t,e){let s=h();return s.withScope(()=>(s.getStackTop().scope=t,e(t)))}function l(t){return h().withScope(()=>t(h().getIsolationScope()))}function p(t){let e=(0,i.Se)(t);return e.acs?e.acs:{withIsolationScope:l,withScope:u,withSetScope:_,withSetIsolationScope:(t,e)=>l(e),getCurrentScope:()=>h().getScope(),getIsolationScope:()=>h().getIsolationScope()}}function d(){return p((0,i.EU)()).getCurrentScope()}function f(){return p((0,i.EU)()).getIsolationScope()}function g(...t){let e=p((0,i.EU)());if(2===t.length){let[s,i]=t;return s?e.withSetScope(s,i):e.withScope(i)}return e.withScope(t[0])}function b(){return d().getClient()}},62224:(t,e,s)=>{let i;s.d(e,{Qw:()=>r,Wk:()=>a,hY:()=>o});var n=s(31422);function r(t){if(void 0!==i)return i?i(t):t();let e=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),s=n.O;return e in s&&"function"==typeof s[e]?(i=s[e])(t):(i=null,t())}function o(){return r(()=>Math.random())}function a(){return r(()=>Date.now())}},67395:(t,e,s)=>{s.d(e,{Cp:()=>c,bX:()=>h});var i=s(55263),n=s(51449),r=s(37785),o=s(17984);let a=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function c(t,e){return(0,i.o5)().captureException(t,function(t){if(t){var e;return(e=t)instanceof o.H||"function"==typeof e||Object.keys(t).some(t=>a.includes(t))?{captureContext:t}:t}}(e))}async function h(t){let e=(0,i.KU)();return e?e.flush(t):(n.T&&r.Yz.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}},82807:(t,e,s)=>{s.d(e,{BY:()=>a,EU:()=>r,Se:()=>o});let i="10.51.0";var n=s(31422);function r(){return o(n.O),n.O}function o(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||i,e[i]=e[i]||{}}function a(t,e,s=n.O){let r=s.__SENTRY__=s.__SENTRY__||{},o=r[i]=r[i]||{};
1return o[t]||(o[t]=e())}},95707:(t,e,s)=>{let i;s.d(e,{dO:()=>a,eJ:()=>o});var n=s(62224),r=s(31422);function o(t=function(){let t=r.O;return t.crypto||t.msCrypto}()){try{if(t?.randomUUID)return(0,n.Qw)(()=>t.randomUUID()).replace(/-/g,"")}catch{}return i||(i="10000000100040008000100000000000"),i.replace(/[018]/g,t=>(t^(15&16*(0,n.hY)())>>t/4).toString(16))}function a(t){try{return t.__sentry_captured__}catch{}}}}]);

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.