PageSourceSearch

https://cdn.castle.xyz/_next/static/chunks/4494-a5ed89b84eb7e19e.js

js castle.xyz collected 2026-10-01 13:10:01 UTC 9,740 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new t.Error).stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="ec90fe0b-c855-4cde-87a6-be2730b7df60",t._sentryDebugIdIdentifier="sentry-dbid-ec90fe0b-c855-4cde-87a6-be2730b7df60")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4494],{99979:function(t,n,e){"use strict";e.d(n,{AB:function(){return i},Wn:function(){return o},HO:function(){return c}});var a=e(85893);let o=(t,n)=>{let e=t=>JSON.stringify(t).replace(/</g,"\\u003c");return"(function(){try{\nvar c=".concat(e(t),",d=").concat(e(n),",p=location.pathname;\nif(p!==c&&p.indexOf(c+'/')!==0)return;\nif(p!==d){history.replaceState(history.state,'',d+location.search+location.hash);}\nwindow.__castleCanonicalPath=c;\nif(d===c)return;\nvar from=location.origin+d,to=location.origin+c;\nvar hit=/^https:\\/\\/([a-z0-9-]+\\.)*(google-analytics\\.com|google\\.[a-z]{2,3}(\\.[a-z]{2})?)\\/g\\/collect\\?/;\nvar fix=function(u){\nif(typeof u!=='string'||!hit.test(u))return u;\nreturn u.replace(/([?&])(dl|dr)=([^&#]*)/g,function(m,s,k,v){\nvar x=decodeURIComponent(v.replace(/\\+/g,' '));\nif(x!==from&&x.indexOf(from+'?')!==0&&x.indexOf(from+'#')!==0)return m;\nreturn s+k+'='+encodeURIComponent(to+x.slice(from.length));\n});\n};\nvar f=window.fetch;\nif(typeof f==='function'){window.fetch=function(i,o){try{i=fix(i);}catch(e){}return f.call(window,i,o);};}\nvar nav=window.navigator,b=nav&&nav.sendBeacon;\nif(typeof b==='function'){nav.sendBeacon=function(u,v){try{u=fix(u);}catch(e){}return b.call(nav,u,v);};}\nvar X=window.XMLHttpRequest,xo=X&&X.prototype&&X.prototype.open;\nif(typeof xo==='function'){X.prototype.open=function(){var a=Array.prototype.slice.call(arguments);try{a[1]=fix(a[1]);}catch(e){}return xo.apply(this,a);};}\n}catch(e){}})();")},r=(t,n)=>{let e=JSON.stringify(n||null).replace(/</g,"\\u003c");return"window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n  gtag('config', 'AW-416745668', {\n    'content_group': '".concat(t,"'\n  });\n  var ga4Config = {\n    'content_group': '").concat(t,"'\n  };\n  var ga4CanonicalPath = ").concat(e,";\n  if (ga4CanonicalPath) {\n    ga4Config['page_location'] = location.origin + ga4CanonicalPath + location.search + location.hash;\n  }\n  gtag('config', 'G-43XJ1KGSCB', ga4Config);\n\n\nfunction reportAndroidInstallConversion(callback) {\n  gtag('event', 'conversion', {\n      'send_to': 'AW-416745668/oEFtCJ2gp7IZEMSR3MYB',\n      'event_callback': callback\n  });\n  return false;\n}\n\nfunction reportIOSInstallConversion(callback) {\n  gtag('event', 'conversion', {\n      'send_to': 'AW-416745668/T0RPCJqgp7IZEMSR3MYB',\n      'event_callback': callback\n  });\n  return false;\n}\n\nfunction reportGA4Event(eventName, params) {\n  var p = params || {};\n  p['send_to'] = 'G-43XJ1KGSCB';\n  gtag('event', eventName, p);\n}\n  ")},c=(t,n)=>{try{"function"==typeof window.reportGA4Event&&window.reportGA4Event(t,n)}catch(t){}},i=t=>{let{contentGroup:n,canonicalPath:e=""}=t,o={__html:r(n,e)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=AW-416745668"}),(0,a.jsx)("script",{dangerouslySetInnerHTML:o})]})}},66760:function(t,n,e){"use strict";e.d(n,{Z:function(){return g}});var a=e(85893),o=e(9008),r=e.n(o),c=e(99979),i=e(91543);let l=t=>t.replace(/&/g,"\\u0026").replace(/</g,"\\u003c").replace(/>/g,"\\u003e").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029"),s=()=>'\n    {\n      "@context": "http://schema.org",\n      "@type": "WebSite",\n      "name": "Castle",\n      "url": "https://castle.xyz"\n    }\n  '.replace(/\n/g,""),p=()=>{let t={__html:s()};return(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:t})},u=t=>{let{data:n}=t,e={__html:l(JSON.stringify(n))};return(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:e})},f="https://castle.xyz/icon.png";function g(t){let{title:n="Castle",description:e="Make and play cool stuff on your phone",image:o=f,url:l,disableZoom:s=!1,viewportFitCover:g=!1,contentGroup:m,jsonLd:d,largeImage:h=!1,noindex:y=!1,playerUrl:x,playerWidth:v,playerHe
1ight:j,playerAspectRatio:w,oembedUrl:_,ogVideoUrl:b,displayPath:k}=t,A=function(t){if(t)return t.startsWith("http://")||t.startsWith("https://")?t:"".concat("https://castle.xyz").concat(t.startsWith("/")?t:"/".concat(t))}(l),C=k&&(null==l?void 0:l.startsWith("/"))?l:null,S=C?(0,c.Wn)(C,k):null,I=o;if(I&&"/"==I.charAt(0)&&(I="https://castle.xyz".concat(I)),!m)try{m=location.pathname.split("/")[1],""==m&&(m="home")}catch(t){m="default"}return i.RH.getClientSideContext().setLogEventProperties({contentGroup:m}),(0,a.jsxs)(r(),{children:[S?(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:S}},"display-path"):null,(0,a.jsx)("meta",{charSet:"UTF-8"}),(0,a.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),s?(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no".concat(g?", viewport-fit=cover":"")}):(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1".concat(g?", viewport-fit=cover":"")}),(0,a.jsx)("meta",{name:"sourceApp",content:"mobileWeb"}),(0,a.jsx)("title",{children:n}),(0,a.jsx)("meta",{name:"description",content:e}),y?(0,a.jsx)("meta",{name:"robots",content:"noindex"}):null,A?(0,a.jsx)("link",{rel:"canonical",href:A}):null,(0,a.jsx)("link",{rel:"preconnect",href:"https://image.castle.xyz"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://cdn.castle.xyz"}),(0,a.jsx)("link",{rel:"preload",href:"/Balto-Book.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preload",href:"/Balto-Medium.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preload",href:"/Basteleur-Bold.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,a.jsx)("link",{rel:"preload",href:"/Basteleur-Moonlight.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,a.jsx)("meta",{name:"apple-mobile-web-app-capable",content:"yes"}),(0,a.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,a.jsx)("link",{rel:"apple-touch-icon",href:I}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),(0,a.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#333333"}),(0,a.jsx)("meta",{name:"msapplication-TileColor",content:"#000000"}),(0,a.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,a.jsx)("meta",{name:"twitter:card",content:x?"player":h?"summary_large_image":"summary"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@castlexyz"}),(0,a.jsx)("meta",{name:"twitter:title",content:n}),(0,a.jsx)("meta",{name:"twitter:description",content:e}),(0,a.jsx)("meta",{name:"twitter:image",content:I}),x?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"twitter:player",content:x}),(0,a.jsx)("meta",{name:"twitter:player:width",content:String(v)}),(0,a.jsx)("meta",{name:"twitter:player:height",content:String(j)})]}):null,_?(0,a.jsx)("link",{rel:"alternate",type:"application/json+oembed",href:_,title:n}):null,x&&w?(0,a.jsx)("link",{rel:"iframely player",href:x,media:"aspect-ratio: ".concat(w)}):null,(0,a.jsx)("meta",{property:"og:title",content:n}),(0,a.jsx)("meta",{property:"og:description",content:e}),(0,a.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:site_name",content:"Castle"}),A?(0,a.jsx)("meta",{property:"og:url",content:A}):null,(0,a.jsx)("meta",{property:"og:image",content:o}),(0,a.jsx)("meta",{property:"og:image:url",content:o}),(0,a.jsx)("meta",{property:"og:image:secure_url",content:o}),o===f?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:image:width",content:"512"}),(0,a.jsx)("meta",{property:"og:image:height",content:"512"})]}):null,b?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:video",content:b}),(0,a.jsx)("meta",{property:"og:video:secure_url",content:b}),(0,a.jsx)("meta",{property:"og:video:type",content:"video/mp4"})]}):null,(0,a.jsx)(p,{}),d?(Array.isArray(d)?d:[d]).map((t,n)=>(0,a.jsx)(u,{data:t},n)):null,(0,a.jsx)(c.AB,{contentGroup:m,canonicalPath:C||""})]})}},67690:function(t,n,e){"use strict";e.d(n,{i:function(){return i}});var a=e(85893);e(67294);var o=e(86319),r=e.n(o);let c=t=>{let{url:n,className:e}=t;return n?(0,a.jsx)("img",{className:e,src:n,alt:"",loading:"lazy",decoding:"async"}):(0,a.jsx)("span",{className:"".concat(e," ").concat(r().placeholder)})},i=t=>{var n;let{party:e,size:o=44}=t,i=(null!==(n=null==e?void 0:e.highlightUsers)&&void 0!==n?n:[]).slice(0,3).map(t=>{var n,e;return null!==(e=null==t?void 0:null===(n=t.photo)||void 0===n?void 0:n.smallAvatarUrl)&&void 0!==e?e:null}),l=Math.max(1,Math.min(3,i.length));return(0,a.jsx)("span",{className:"".concat(r().root," ").concat(r()["count".concat(l)]),style:{width:o,height:o},"aria-hidden":"true",children:1===l?(0,a.jsx)(c,{url:i[0],className:r().single}):i.slice(0,l).map((t,n)=>(0,a.jsx)(c,{url:t,className:"".concat(r().stacked," ").concat(r()["pos".concat(n)])},n)).reverse()})}},86319:function(t){t.exports={root:"PartyAvatar_root__ylXjm",single:"PartyAvatar_single__HxXPm",placeholder:"PartyAvatar_placeholder__ORsuR",stacked:"PartyAvatar_stacked__wILin",count2:"PartyAvatar_count2__DqFhB",pos1:"PartyAvatar_pos1__wo2Qj",pos0:"PartyAvatar_pos0__CCjkl",count3:"PartyAvatar_count3__2TptE",pos2:"PartyAvatar_pos2__RoujB"}}}]);

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.