1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[687],{23208:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/post/[id]",function(){return e(27860)}])},38725:function(n,t,e){"use strict";e.d(t,{v:function(){return u}});var i=e(19379),o=e(93780);let u=i.predefinedSporeConfigs.Testnet;o.config.initializeConfig(u.lumos),(0,i.setSporeConfig)(u)},27860:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return s}});var i=e(85893),o=e(93780),u=e(19379),r=e(11163),c=e(67294),f=e(73639),l=e(38725);function s(){let n=(0,r.useRouter)(),{id:t}=n.query,[e,s]=(0,c.useState)(),[d,a]=(0,f._H)();return(0,c.useEffect)(()=>{t&&(async()=>{let n=new o.Indexer(l.v.ckbIndexerUrl),{script:e}=(0,u.getSporeScript)(l.v,"Spore"),i=n.collector({type:{...e,args:t}});for await(let n of i.collect()){var r;let t=u.SporeData.unpack(n.data),{title:e,content:i}=null!==(r=JSON.parse((0,u.bufferToRawString)(t.content)))&&void 0!==r?r:{};if(e&&i){s({id:n.cellOutput.type.args,outPoint:n.outPoint,title:e,content:i});return}}})()},[t]),(0,c.useEffect)(()=>{var n;a(null!==(n=null==e?void 0:e.content)&&void 0!==n?n:"")},[e,a]),(0,i.jsxs)("div",{children:[(0,i.jsx)("h1",{children:null==e?void 0:e.title}),(0,i.jsx)("div",{style:{width:"600px"},children:d})]})}},5879:function(){},96611:function(){},46601:function(){},89214:function(){},85568:function(){}},function(n){n.O(0,[714,596,145,677,774,888,179],function(){return n(n.s=23208)}),_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.