PageSourceSearch

https://playsout.com/_next/static/chunks/1599.25cdb5eb5db38745.js

js playsout.com collected 2026-09-24 10:47:42 UTC 2,738 bytes, 1 lines download raw bytes

vendor: 2,738 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1599],{61599:(e,a,t)=>{t.d(a,{offchainLookup:()=>k,offchainLookupSignature:()=>m});var s=t(34724),r=t(40474),n=t(76200),o=t(9678);class c extends n.C{constructor({callbackSelector:e,cause:a,data:t,extraData:s,sender:r,urls:n}){super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],a.metaMessages?.length?"":[],"Offchain Gateway Call:",n&&["  Gateway URL(s):",...n.map(e=>`    ${(0,o.I)(e)}`)],`  Sender: ${r}`,`  Data: ${t}`,`  Callback selector: ${e}`,`  Extra data: ${s}`].flat(),name:"OffchainLookupError"})}}class i extends n.C{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${(0,o.I)(a)}`,`Response: ${(0,r.A)(e)}`],name:"OffchainLookupResponseMalformedError"})}}class d extends n.C{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`],name:"OffchainLookupSenderMismatchError"})}}var u=t(36262),f=t(19031),l=t(23414),p=t(96268),h=t(58798),y=t(65859),w=t(44928);let m="0x556f1830",g={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function k(e,{blockNumber:a,blockTag:t,data:r,to:n}){let{args:o}=(0,f.W)({data:r,abi:[g]}),[i,u,y,m,b]=o,{ccipRead:O}=e,x=O&&"function"==typeof O?.request?O.request:C;try{if(!(0,p.h)(n,i))throw new d({sender:i,to:n});let r=u.includes(w.J)?await (0,w.X)({data:y,ccipRequest:x}):await x({data:y,sender:i,urls:u}),{data:o}=await (0,s.T)(e,{blockNumber:a,blockTag:t,data:(0,h.xW)([m,(0,l.h)([{type:"bytes"},{type:"bytes"}],[r,b])]),to:n});return o}catch(e){throw new c({callbackSelector:m,cause:e,data:r,extraData:b,sender:i,urls:u})}}async function C({data:e,sender:a,urls:t}){let s=Error("An unknown error occurred.");for(let n=0;n<t.length;n++){let o=t[n],c=o.includes("{data}")?"GET":"POST",d="POST"===c?{data:e,sender:a}:void 0,f="POST"===c?{"Content-Type":"application/json"}:{};try{let t,n=await fetch(o.replace("{sender}",a.toLowerCase()).replace("{data}",e),{body:JSON.stringify(d),headers:f,method:c});if(t=n.headers.get("Content-Type")?.startsWith("application/json")?(await n.json()).data:await n.text(),!n.ok){s=new u.Ci({body:d,details:t?.error?(0,r.A)(t.error):n.statusText,headers:n.headers,status:n.status,url:o});continue}if(!(0,y.q)(t)){s=new i({result:t,url:o});continue}return t}catch(e){s=new u.Ci({body:d,details:e.message,url:o})}}throw s}}}]);

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.