Files
apps.apple.com/assets/versionBNUm1OH-k3.js

3 lines
28 KiB
JavaScript
Raw Normal View History

2025-11-04 05:03:50 +08:00
const z=Object.prototype.toString;function dt(e){switch(z.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return N(e,Error)}}function m(e,t){return z.call(e)==="[object ".concat(t,"]")}function ae(e){return m(e,"ErrorEvent")}function ce(e){return m(e,"DOMError")}function ue(e){return m(e,"DOMException")}function I(e){return m(e,"String")}function fe(e){return e===null||typeof e!="object"&&typeof e!="function"}function M(e){return m(e,"Object")}function lt(e){return typeof Event<"u"&&N(e,Event)}function _t(e){return typeof Element<"u"&&N(e,Element)}function ht(e){return m(e,"RegExp")}function K(e){return!!(e&&e.then&&typeof e.then=="function")}function pt(e){return M(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function gt(e){return typeof e=="number"&&e!==e}function N(e,t){try{return e instanceof t}catch(n){return!1}}function b(e){return e&&e.Math==Math?e:void 0}const h=typeof globalThis=="object"&&b(globalThis)||typeof window=="object"&&b(window)||typeof self=="object"&&b(self)||typeof global=="object"&&b(global)||function(){return this}()||{};function j(){return h}function U(e,t,n){const r=n||h,s=r.__SENTRY__=r.__SENTRY__||{};return s[e]||(s[e]=t())}const T=j(),yt=80;function mt(e,t={}){try{let n=e;const r=5,s=[];let i=0,o=0;const c=" > ",a=c.length;let u;const f=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||yt;for(;n&&i++<r&&(u=Et(n,f),!(u==="html"||i>1&&o+s.length*a+u.length>=d));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(c)}catch(n){return"<unknown>"}}function Et(e,t){const n=e,r=[];let s,i,o,c,a;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(d=>n.getAttribute(d)).map(d=>[d,n.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{r.push("[".concat(d[0],'="').concat(d[1],'"]'))});else if(n.id&&r.push("#".concat(n.id)),s=n.className,s&&I(s))for(i=s.split(/\s+/),a=0;a<i.length;a++)r.push(".".concat(i[a]));const f=["aria-label","type","name","title","alt"];for(a=0;a<f.length;a++)o=f[a],c=n.getAttribute(o),c&&r.push("[".concat(o,'="').concat(c,'"]'));return r.join("")}function de(){try{return T.document.location.href}catch(e){return""}}function le(e){return T.document&&T.document.querySelector?T.document.querySelector(e):null}const St="Sentry Logger ",k=["debug","info","warn","error","log","assert","trace"];function V(e){if(!("console"in h))return e();const t=h.console,n={};k.forEach(r=>{const s=t[r]&&t[r].__sentry_original__;r in t&&s&&(n[r]=t[r],t[r]=s)});try{return e()}finally{Object.keys(n).forEach(r=>{t[r]=n[r]})}}function Y(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?k.forEach(n=>{t[n]=(...r)=>{e&&V(()=>{h.console[n]("".concat(St,"[").concat(n,"]:"),...r)})}}):k.forEach(n=>{t[n]=()=>{}}),t}let _;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?_=U("logger",Y):_=Y();const bt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Tt(e){return e==="http"||e==="https"}function Nt(e,t=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:c,publicKey:a}=e;return"".concat(c,"://").concat(a).concat(t&&s?":".concat(s):"")+"@".concat(n).concat(i?":".concat(i):"","/").concat(r&&"".concat(r,"/")).concat(o)}function Rt(e){const t=bt.exec(e);if(!t){console.error("Invalid Sentry Dsn: ".concat(e));return}const[n,r,s="",i,o="",c]=t.slice(1);let a="",u=c;const f=u.split("/");if(f.length>1&&(a=f.slice(0,-1).join("/"),u=f.pop()),u){const d=u.match(/^\d+/);d&&(u=d[0])}return X({host:i,pass:s,path:a,projectId:u,port:o,protocol:n,publicKey:r})}function X(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Dt(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(_.error("Invalid Sentry Dsn: ".concat(o," missing")),!0))?!1:n.match(/^\d+$/)?Tt(r)?t&&isNaN(parseInt(t,10))?(_.error("Invalid Sen
//# sourceMappingURL=version~BNUm1OH-k3.js.map