PageSourceSearch

https://usedom.de/_next/static/chunks/pages/sentry-example-page-ef2193ceb24a1943.js

js usedom.de collected 2026-10-01 12:15:13 UTC 8,024 bytes, 1 lines download raw bytes

1!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="905eecfb-c869-4319-8f3b-1394b57ebc9a",n._sentryDebugIdIdentifier="sentry-dbid-905eecfb-c869-4319-8f3b-1394b57ebc9a")}catch(n){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4084],{14142:(n,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>k});var t=r(16927),s=r(89688),o=r(3711),a=r(63321),i=r(20294),c=r(90848),l=r(4902),d=r(37876),p=r(92797),u=r(31260);async function h(){let n=(0,p.KU)();if(!n)return"no-client-active";if(!n.getDsn())return"no-dsn-configured";let e=n.getOptions().tunnel||"https://o447951.ingest.sentry.io/api/4509632503087104/envelope/?sentry_version=7&sentry_key=c1dfb07d783ad5325c245c1fd3725390&sentry_client=sentry.javascript.browser%2F1.33.7";try{await (0,u.M1)(()=>fetch(e,{body:"{}",method:"POST",mode:"cors",credentials:"omit"}))}catch{return"sentry-unreachable"}}var f=r(56011),x=r(12833),b=r(77704),g=r(52035),y=r(99742),m=r(77328),w=r.n(m),_=r(14232),v=function(n){function e(n){var r;return(0,o._)(this,e),(r=(0,s._)(this,e,[n])).name="SentryExampleFrontendError",r}return(0,a._)(e,n),e}((0,c._)(Error));function k(){var n=(0,i._)((0,_.useState)(!1),2),e=n[0],r=n[1],s=(0,i._)((0,_.useState)(!0),2),o=s[0],a=s[1];return(0,_.useEffect)(function(){(0,t._)(function(){return(0,l.YH)(this,function(n){switch(n.label){case 0:return[4,h()];case 1:return a("sentry-unreachable"!==n.sent()),[2]}})})()},[]),(0,d.jsxs)("div",{children:[(0,d.jsxs)(w(),{children:[(0,d.jsx)("title",{children:"sentry-example-page"}),(0,d.jsx)("meta",{name:"description",content:"Test Sentry for your Next.js app!"})]}),(0,d.jsxs)("main",{children:[(0,d.jsx)("div",{className:"flex-spacer"}),(0,d.jsx)("svg",{height:"40",width:"40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M21.85 2.995a3.698 3.698 0 0 1 1.353 1.354l16.303 28.278a3.703 3.703 0 0 1-1.354 5.053 3.694 3.694 0 0 1-1.848.496h-3.828a31.149 31.149 0 0 0 0-3.09h3.815a.61.61 0 0 0 .537-.917L20.523 5.893a.61.61 0 0 0-1.057 0l-3.739 6.494a28.948 28.948 0 0 1 9.63 10.453 28.988 28.988 0 0 1 3.499 13.78v1.542h-9.852v-1.544a19.106 19.106 0 0 0-2.182-8.85 19.08 19.08 0 0 0-6.032-6.829l-1.85 3.208a15.377 15.377 0 0 1 6.382 12.484v1.542H3.696A3.694 3.694 0 0 1 0 34.473c0-.648.17-1.286.494-1.849l2.33-4.074a8.562 8.562 0 0 1 2.689 1.536L3.158 34.17a.611.611 0 0 0 .538.917h8.448a12.481 12.481 0 0 0-6.037-9.09l-1.344-.772 4.908-8.545 1.344.77a22.16 22.16 0 0 1 7.705 7.444 22.193 22.193 0 0 1 3.316 10.193h3.699a25.892 25.892 0 0 0-3.811-12.033 25.856 25.856 0 0 0-9.046-8.796l-1.344-.772 5.269-9.136a3.698 3.698 0 0 1 3.2-1.849c.648 0 1.285.17 1.847.495Z",fill:"currentcolor"})}),(0,d.jsx)("h1",{children:"sentry-example-page"}),(0,d.jsxs)("p",{className:"description",children:["Click the button below, and view the sample error on the Sentry"," ",(0,d.jsx)("a",{target:"_blank",href:"https://sentry.hetzner.stakkle.com/organizations/sentry/issues/?project=11",children:"Issues Page"}),". For more details about setting up Sentry,"," ",(0,d.jsx)("a",{target:"_blank",href:"https://docs.sentry.io/platforms/javascript/guides/nextjs/",children:"read our docs"}),"."]}),(0,d.jsx)("button",{type:"button",onClick:function(){return(0,t._)(function(){return(0,l.YH)(this,function(n){switch(n.label){case 0:var e,s;return[4,(e={name:"Example Frontend/Backend Span",op:"test"},!function(n){let e=y.env.NEXT_PHASE===g.PHASE_PRODUCTION_BUILD,r=!!n&&function(n){if(n.$$typeof!==Symbol.for("react.server.reference"))return!1;let{type:e}=function(n){let e=parseInt(n.slice(0,2),16),r=e>>1&63,t=Array(6);for(let n=0;n<6;n++){let e=r>>5-n&1;t[n]=1===e}return{type:1==(e>>7&1)?"use-cache":"server-action",usedArgs:t,hasRestArgs:1==(1&e)}}(n.$$id);return"use-cache"===e}(n);return r&&b.T&&f.Yz.log("Skipping span creation in Cache Components context"),e||r}(s=function(){return(0,t._)(function(){return(0,l.YH)(this,function(n){switch(n.label){case 0:return[4,fetch("/api/sentry-example-api")];case 1:return n.sent().ok||r(!0),[2]}})})()})?(0,u.Lk)(e,s):s(new x.w({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})))];case 1:throw n.sent(),new v("This error is raised on the frontend of the example page.")}})})()},disabled:!o,children:(0,d.jsx)("span",{children:"Throw Sample Error"})}),e?(0,d.jsx)("p",{className:"success",children:"Error sent to Sentry."}):o?(0,d.jsx)("div",{className:"success_placeholder"}):(0,d.jsx)("div",{className:"connectivity-error",children:(0,d.jsx)("p",{children:"It looks like network requests to Sentry are being blocked, which will prevent errors from being captured. Try disabling your ad-blocker to complete the test."})}),(0,d.jsx)("div",{className:"flex-spacer"})]}),(0,d.jsx)("style",{children:'\n        main {\n          display: flex;\n          min-height: 100vh;\n          flex-direction: column;\n          justify-content: center;\n          align-items: center;\n          gap: 16px;\n          padding: 16px;\n          font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;\n        }\n\n        h1 {\n          padding: 0px 4px;\n          border-radius: 4px;\n          background-color: rgba(24, 20, 35, 0.03);\n          font-family: monospace;\n          font-size: 20px;\n          line-height: 1.2;\n        }\n\n        p {\n          margin: 0;\n          font-size: 20px;\n        }\n\n        a {\n          color: #6341F0;\n          text-decoration: underline;\n          cursor: pointer;\n\n          @media (prefers-color-scheme: dark) {\n            color: #B3A1FF;\n          }\n        }\n\n        button {\n          border-radius: 8px;\n          color: white;\n          cursor: pointer;\n          background-color: #553DB8;\n          border: none;\n          padding: 0;\n          margin-top: 4px;\n\n          & > span {\n            display: inline-block;\n            padding: 12px 16px;\n            border-radius: inherit;\n            font-size: 20px;\n            font-weight: bold;\n            line-height: 1;\n            background-color: #7553FF;\n            border: 1px solid #553DB8;\n            transform: translateY(-4px);\n          }\n\n          &:hover > span {\n            transform: translateY(-8px);\n          }\n\n          &:active > span {\n            transform: translateY(0);\n          }
1\n\n          &:disabled {\n	            cursor: not-allowed;\n	            opacity: 0.6;\n\n	            & > span {\n	              transform: translateY(0);\n	              border: none\n	            }\n	          }\n        }\n\n        .description {\n          text-align: center;\n          color: #6E6C75;\n          max-width: 500px;\n          line-height: 1.5;\n          font-size: 20px;\n\n          @media (prefers-color-scheme: dark) {\n            color: #A49FB5;\n          }\n        }\n\n        .flex-spacer {\n          flex: 1;\n        }\n\n        .success {\n          padding: 12px 16px;\n          border-radius: 8px;\n          font-size: 20px;\n          line-height: 1;\n          background-color: #00F261;\n          border: 1px solid #00BF4D;\n          color: #181423;\n        }\n\n        .success_placeholder {\n          height: 46px;\n        }\n\n        .connectivity-error {\n          padding: 12px 16px;\n          background-color: #E50045;\n          border-radius: 8px;\n          width: 500px;\n          color: #FFFFFF;\n          border: 1px solid #A80033;\n          text-align: center;\n          margin: 0;\n        }\n\n        .connectivity-error a {\n          color: #FFFFFF;\n          text-decoration: underline;\n        }\n      '})]})}},46588:(n,e,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sentry-example-page",function(){return r(14142)}])},52035:(n,e,r)=>{n.exports=r(17892)}},n=>{n.O(0,[636,6593,8792],()=>n(n.s=46588)),_N_E=n.O()}]);

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.