1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{83541:function(e,t,l){Promise.resolve().then(l.bind(l,88291)),Promise.resolve().then(l.bind(l,1952)),Promise.resolve().then(l.t.bind(l,65878,23)),Promise.resolve().then(l.t.bind(l,72972,23)),Promise.resolve().then(l.bind(l,75186)),Promise.resolve().then(l.t.bind(l,2778,23)),Promise.resolve().then(l.bind(l,43703)),Promise.resolve().then(l.bind(l,75401)),Promise.resolve().then(l.bind(l,13665)),Promise.resolve().then(l.bind(l,34645)),Promise.resolve().then(l.bind(l,24870)),Promise.resolve().then(l.bind(l,72436)),Promise.resolve().then(l.bind(l,93865))},99018:function(e,t,l){"use strict";var s=l(57437),a=l(43703);t.Z=e=>{let{fallback:t=a.default,alt:l,src:n=a.default,...r}=e;return(0,s.jsx)("img",{style:{background:"black"},alt:l,onError:e=>{let l=e.target;l.onerror=null,l.src=t,l.classList.add("opacity-5")},src:n.endsWith("/undefined")||n.endsWith("/null")?a.default:n,...r,className:"pointer-events-none ".concat(r.className||"")})}},34645:function(e,t,l){"use strict";var s=l(57437),a=l(54916),n=l(18658),r=l(56957),i=l(1141),c=l(23610),o=l(27648),u=l(99376),d=l(2265),v=l(61273),h=l(94295),m=l(99018);t.default=()=>{(0,c.ZH)();let e=(0,i.qs)(""),t=(0,u.useRouter)(),l=(0,u.usePathname)().split("/").pop()||"",x=(0,i.qs)(l),f=(0,i.qs)(!1),p=(0,d.useRef)(null),b=(0,d.useCallback)(l=>{if(l.preventDefault(),e.value.length>0){l.currentTarget.blur(),f.value=!1;let s="/listings/search/".concat(e.value);e.value="",n.E.value=a.iF.Loading,t.push(s)}},[e.value,f.value,t,n.X.value]);(0,i.cE)(()=>{let t=async e=>{let t="".concat(a.mf,"/ticker/autofill/bsv20/").concat(e),{promise:l}=r.rK(t),s=await l,i="".concat(a.mf,"/ticker/autofill/bsv21/").concat(e),{promise:c}=r.rK(i),o=await c;n.X.value=s.concat(o)};e.value.length>0&&x.value!==e.value&&(x.value=e.value,t(e.value))});let j=(0,d.useCallback)(t=>{"Escape"===t.key&&(e.value="",n.X.value=null,f.value=!1,t.currentTarget.blur())},[e,f]),g=(0,d.useCallback)(()=>{var t;e.value="",n.X.value=null,f.value=!1,null===(t=p.current)||void 0===t||t.blur()},[e,f]),w=(0,d.useCallback)(()=>{if(e.value.length>0)b(new Event("submit"));else{var t;null===(t=p.current)||void 0===t||t.focus()}},[e,b]),N=(0,i.Fl)(()=>n.E.value===a.iF.Loading?(0,s.jsx)(v.fCD,{className:"absolute right-2 text-primary/25 animate-spin"}):(0,s.jsx)(h.y5k,{className:"absolute right-2 top-1/2 transform -translate-y-1/2 text-primary/25 group-hover:text-secondary-content transition w-5 h-5 cursor-pointer",onClick:w})),k=(0,d.useMemo)(()=>f.value&&n.X.value&&n.X.value.length>0&&(e.value!==l||""===e.value)&&(0,s.jsx)("div",{className:"flex-col text-left right-0 top-0 mt-2 h-full text-white rounded w-full flex z-20 overflow-hidden overflow-y-scroll",children:n.X.value.map(t=>(0,s.jsxs)(o.default,{onClick:()=>{e.value="",n.X.value=null},href:t.type===a.h3.BSV20?"/market/bsv20/".concat(t.tick):"/market/bsv21/".concat(t.id),className:"hover:bg-base-200 flex items-center justify-between w-full h-fit p-2 ",children:[(0,s.jsxs)("div",{className:"flex items-center justify-start gap-2",children:[t.type===a.h3.BSV21&&(0,s.jsx)(m.Z,{src:"".concat(a.jd,"/").concat(t.icon),alt:t.tick,width:30,height:30}),t.type===a.h3.BSV20?(0,s.jsxs)("div",{className:"flex items-center text-[#555]",children:[(0,s.jsx)(v.qc7,{className:"w-8 "}),t.num]}):"",t.tick]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[t.type===a.h3.BSV21&&t.contract?(0,s.jsx)("div",{className:"text-yellow-500/50",children:t.contract}):"",(0,s.jsx)("div",{className:"text-[#555]",children:t.type})]})]},t.id))}),[n.X.value,e.value,l,f.value]);return(0,s.jsx)("div",{className:"px-2 md:px-0 justify-center items-center ".concat(f.value?"absolute top-0 left:0 mt-2 md:mt-auto md:left-auto md:top-auto md:modal-backdrop md:backdrop-blur w-full md:h-screen":"w-fit mx-auto"),onClick:t=>{e.value="",n.X.value=null,f.value=!1,n.E.value=a.iF.Idle},children:(0,s.jsx)("div",{className:"".concat(f.value?" border border-yellow-200/25 w-full bg-[#111] rounded-box md:w-[50vw] max-w-xl h-[50vh] flex flex-col items-center justify-start p-3 z-20":""),children:(0,s.jsxs)("form",{className:"w-full navbar-center relative flex flex-col h-full",onSubmit:b,children:[(0,s.jsxs)("div",{className:"w-full group gap-2 relative flex items-center",children:[(0,s.jsx)("input",{ref:p,type:"text",placeholder:"Search",className:"w-full input input-ghost hover:input-bordered pr-16",value:e.value,onChange:t=>{e.value=t.target.value,f.value||(f.value=!0)},onClick:()=>{f.value=!0,e.value=""},onFocus:()=>{f.value=!0},onKeyDown:j}),f.value&&e.value.length>0&&(0,s.jsx)(h.QAE,{className:"absolute right-8 top-1/2 transform -translate-y-1/2 text-primary/25 hover:text-secondary-content transition w-5 h-5 cursor-pointer",onClick:g}),N.value]}),k]})})})}},75401:function(e,t,l){"use strict";var s=l(57437),a=l(2265);t.default=()=>{let[e,t]=(0,a.useState)("1sat.market");(0,a.useEffect)(()=>{t(window.location.host)},[]);let l="alpha.1satordinals.com"===e||"alpha.1sat.market"===e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"md:block hidden text-nowrap",children:"1sat.market"===e||l?"1Sat.Market":"localhost:3000"===e?"1Sat Hackinals":"1Sat Ordinals"}),(0,s.jsx)("div",{className:"absolute -top-1 -right-12 bg-yellow-400 text-black text-xs font-bold py-1 px-2 rounded-sm transform rotate-12 shadow-md",children:l?"ALPHA":"BETA"})]})}},13665:function(e,t,l){"use strict";var s=l(57437),a=l(30420),n=l(9738),r=l(23610),i=l(27648),c=l(76186),o=l(49089);t.default=()=>
1{(0,r.ZH)();let e=n.p.value;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"hidden md:block dropdown dropdown-end",children:[a.dl.value>0&&(0,s.jsxs)("div",{className:"relative rounded bg-[#111] px-1 mr-2 text-sm text-[#555] pointer-events-none",children:["1 BSV ="," ",(0,s.jsxs)("span",{className:"text-emerald-300/50",children:["$",a.dl.value.toFixed(2)]})]}),e&&!a.dl.value&&(0,s.jsx)("div",{className:"relative rounded bg-[#111] px-1 mr-2 text-sm text-[#555] pointer-events-none",children:(0,s.jsx)(c.frZ,{className:"animate-spin"})})]}),(0,s.jsxs)("div",{className:"dropdown dropdown-end",children:[(0,s.jsx)("div",{className:"btn btn-ghost m-1 rounded relative",tabIndex:0,role:"button",children:(0,s.jsx)("div",{className:"tooltip tooltip-bottom","data-tip":"Market",children:(0,s.jsx)(o.KSn,{})})}),(0,s.jsxs)("ul",{tabIndex:0,className:"dropdown-content z-[20] menu shadow bg-base-100 rounded-box w-64 border border-yellow-200/25 ",children:[(0,s.jsx)("div",{className:"divider",children:"Collectables"}),(0,s.jsx)("li",{children:(0,s.jsxs)(i.default,{href:"/market/ordinals",className:"flex items-center justify-between",children:[(0,s.jsx)("div",{children:"Market Listings"}),(0,s.jsx)("div",{className:"text-[#555]",children:"NFT"})]})}),(0,s.jsx)("li",{children:(0,s.jsxs)(i.default,{href:"/collection",className:"flex items-center justify-between",children:[(0,s.jsx)("div",{children:"Collections"}),(0,s.jsx)("div",{className:"text-[#555]",children:"NFT"})]})}),(0,s.jsx)("div",{className:"divider",children:"Token Market"}),(0,s.jsx)("li",{children:(0,s.jsxs)(i.default,{className:"flex items-center justify-between",href:"/market/bsv20",children:["BSV20 ",(0,s.jsx)("div",{className:"text-[#555]",children:"FT"})]})}),(0,s.jsx)("li",{children:(0,s.jsxs)(i.default,{className:"flex items-center justify-between",href:"/market/bsv21",children:["BSV21 ",(0,s.jsx)("div",{className:"text-[#555]",children:"FT"})]})})]})]})]})}},24870:function(e,t,l){"use strict";l.d(t,{Spotlight:function(){return r}});var s=l(57437),a=l(81201),n=l(99376);let r=e=>{let{className:t,fill:l}=e;return"/"!==(0,n.usePathname)()?null:(0,s.jsxs)("svg",{className:(0,a.cn)("animate-spotlight pointer-events-none absolute z-[4] h-[169%] w-[138%] lg:w-[84%] opacity-0",t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 3787 2842",fill:"none",children:[(0,s.jsx)("g",{filter:"url(#filter)",children:(0,s.jsx)("ellipse",{cx:"1924.71",cy:"273.501",rx:"1924.71",ry:"273.501",transform:"matrix(-0.822377 -0.568943 -0.568943 0.822377 3631.88 2291.09)",fill:l||"white",fillOpacity:"0.21"})}),(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"filter",x:"0.860352",y:"0.838989",width:"3785.16",height:"2840.26",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,s.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,s.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),(0,s.jsx)("feGaussianBlur",{stdDeviation:"151",result:"effect1_foregroundBlur_1065_8"})]})})]})}},93865:function(e,t,l){"use strict";var s=l(57437),a=l(61339),n=l(29827),r=l(3204);let i=new a.S;t.default=e=>{let{children:t}=e;return(0,s.jsxs)(n.aH,{client:i,children:[t,(0,s.jsx)(r.t,{initialIsOpen:!1})]})}},18658:function(e,t,l){"use strict";l.d(t,{E:function(){return r},X:function(){return n}});var s=l(54916),a=l(1141);let n=(0,a.td)(null),r=(0,a.td)(s.iF.Idle)},81201:function(e,t,l){"use strict";l.d(t,{cn:function(){return n}});var s=l(61994),a=l(53335);function n(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return(0,a.m6)((0,s.W)(t))}},2778:function(){},43703:function(e,t,l){"use strict";l.r(t),t.default={src:"/_next/static/media/oneSatLogoDark.171b57a9.svg",height:402,width:402,blurWidth:0,blurHeight:0}}},function(e){e.O(0,[2461,2592,6950,522,7240,5452,9956,7699,1694,7142,2972,9057,9045,5821,5878,6275,1055,9763,6137,570,6767,6728,2330,953,1112,2436,2971,2117,1744],function(){return e(e.s=83541)}),_N_E=e.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.