PageSourceSearch

https://www.coinscope.co/_next/static/chunks/2700.f9c00dc5811f1630.js

js coinscope.co collected 2026-09-26 13:54:23 UTC 6,765 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3403d1c0-589b-4a0c-bee8-180d01e093af",e._sentryDebugIdIdentifier="sentry-dbid-3403d1c0-589b-4a0c-bee8-180d01e093af")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d2911879bc35c39df91a8e85b8eeba45c19f4ad7"};"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2700],{62700:function(e,n,t){t.r(n),t.d(n,{default:function(){return HeaderDesktop}});var r=t(85893),l=t(94200),o=t(82729),a=t(13952),i=t(1958),s=t(41664),c=t.n(s),d=t(5152),u=t.n(d),x=t(70714),p=t(18087),f=t(81379),h=t(11938);function _templateObject(){let e=(0,o._)(["\n  span {\n    line-height: 12px;\n  }\n  &:hover {\n    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.4);\n    border-color: white;\n  }\n"]);return _templateObject=function(){return e},e}let b=(0,x.default)(l.x).withConfig({componentId:"sc-26783f96-0"})(_templateObject());function Price(e){let{value:n,...t}=e;return(0,r.jsx)(p.x,{size:"xsmall",weight:"normal",color:"status-disabled",...t,children:n})}function PriceList(e){let{cardPadding:n,...t}=e,{coinscopeCoin:o}=(0,h.qt)(),i=(0,f.default)();if(!o)return null;let{dollarPrice:s}=o;return(0,r.jsx)(l.x,{flex:!1,...t,children:(0,r.jsx)(a.e,{href:"https://pancakeswap.finance/swap?outputCurrency=0xd41c4805a9a3128f9f7a7074da25965371ba50d5",target:"_blank",rel:"noopener","data-ga":"priceList::click::coinscope",children:(0,r.jsxs)(b,{border:{color:"#2E364D"},pad:{horizontal:"xsmall",vertical:"xsmall"},round:"4px",justify:"between",direction:i?"column":"row",...n,children:[(0,r.jsxs)(l.x,{direction:"row",children:[(0,r.jsx)(p.x,{size:"xsmall",children:"COINSCOPE"}),(0,r.jsx)(Price,{value:s,margin:{left:"xsmall"}})]}),(0,r.jsx)(p.x,{size:"xsmall",weight:"normal",color:"brand",margin:{top:"xxsmall"},children:"BUY NOW"})]})})})}var g=t(38017),m=t(97407),j=t(52739);
1function topBarDesktop_templateObject(){let e=(0,o._)(["\n  padding: 12px;\n  &:hover {\n    color: ",";\n  }\n"]);return topBarDesktop_templateObject=function(){return e},e}let w=u()(()=>t.e(4893).then(t.bind(t,94893)),{loadableGenerated:{webpack:()=>[94893]}}),y=(0,x.default)(a.e).withConfig({componentId:"sc-e2890af3-0"})(topBarDesktop_templateObject(),e=>{let{theme:n}=e;return n.global.colors.brand});function TopBarDesktop(){let e=(0,m.Z)();return(0,r.jsxs)(l.x,{direction:"row",justify:"between",pad:{top:"medium",horizontal:"medium"},width:{width:"100%",max:"xxlarge"},children:[(0,r.jsxs)(l.x,{direction:"row",align:"center",children:[(0,r.jsx)(j.Z,{}),(0,r.jsx)(PriceList,{margin:{left:"small"}})]}),(0,r.jsx)(g.Z,{flex:!0,margin:{horizontal:"medium"}}),(0,r.jsxs)(l.x,{direction:"row",align:"center",children:[(0,r.jsx)(x.ThemeContext.Extend,{value:{global:{colors:{text:"white"}}},children:(0,r.jsx)(c(),{href:"/promote",passHref:!0,legacyBehavior:!0,children:(0,r.jsx)(i.z,{label:"Promote",primary:!0})})}),(0,r.jsx)(c(),{href:"/addcoin",passHref:!0,legacyBehavior:!0,children:(0,r.jsx)(y,{margin:{left:"xsmall"},label:"Add Coin",color:"white"})}),e.user?(0,r.jsx)(w,{gaCategory:"headerLarge"}):(0,r.jsx)(l.x,{justify:"center",children:(0,r.jsx)(c(),{href:"/login",passHref:!0,legacyBehavior:!0,children:(0,r.jsx)(y,{label:"Login",color:"white"})})})]})]})}var _=t(8787),k=t(40129),v=t(15195);function TrendingDesktop(e){let[n,t]=(0,k.QH)();return(0,r.jsxs)(v.W2,{direction:"row",gap:"large",...e,children:[(0,r.jsx)(v.OC,{}),t?(0,r.jsx)(v.Ci,{coins:n}):(0,r.jsx)(v.ad,{})]})}function HeaderDesktop(e){return(0,r.jsxs)(l.x,{border:{side:"bottom",color:"#526085"},align:"center",...e,children:[(0,r.jsx)(TrendingDesktop,{}),(0,r.jsx)(TopBarDesktop,{}),(0,r.jsx)(_.Z,{})]})}},56982:function(e,n,t){t.d(n,{Z:function(){return Coin}});var r=t(82729),l=t(85893),o=t(63829),a=t(94200),i=t(18087),s=t(70714);function _templateObject(){let e=(0,r._)(["\n  flex-shrink: 0;\n"]);return _templateObject=function(){return e},e}let c=(0,s.default)(o.q).withConfig({componentId:"sc-9d13e2be-0"})(_templateObject());function Coin(e){let{icon:n,name:t,symbol:r,slug:o,size:s,isLast:d,...u}=e;return(0,l.jsxs)(a.x,{direction:"row",align:"center",gap:"small",border:!d&&{color:"#EBE9E9",side:"bottom"},pad:"small",elevation:"",...u,children:[(0,l.jsx)(c,{size:"small"===s?"small":"32px",src:n}),(0,l.jsxs)(a.x,{children:[(0,l.jsx)(i.x,{size:"small",truncate:!0,children:t}),(0,l.jsxs)(i.x,{color:"#676C79",size:"xsmall",truncate:!0,children:["$",r,"・",o]})]})]})}},38017:function(e,n,t){t.d(n,{Z:function(){return Search}});var r=t(82729),l=t(85893),o=t(6154),a=t(94200),i=t(59459),s=t(24372),c=t(91296),d=t.n(c),u=t(11163),x=t(67294),p=t(70714),f=t(91521),h=t(24057),b=t(19147),g=t(56982);function _templateObject(){let e=(0,r._)(["\n  &:focus-within {\n    border-color: #798197;\n  }\n  /* background: #313239; */\n  ","\n\n  input::placeholder {\n    color: #b6adad;\n  }\n  input {\n    padding: 13px 32px 13px 24px;\n  }\n"]);return _templateObject=function(){return e},e}let m=[],j=(0,b.Z)({duration:"0.6s"}),w=(0,p.default)(a.x).attrs({border:{side:"all",color:"#2E364D"},round:"large",justify:"center"}).withConfig({componentId:"sc-348e5b78-0"})(_templateObject(),e=>{let{isLoading:n}=e;return n&&j}),makeSuggestion=e=>{let{coin:{icon:n,name:t,symbol:r,slug:o},isLast:a,includeSlug:i}=e;return{label:(0,l.jsx)(g.Z,{icon:n,name:t,symbol:r,slug:o,isLast:a,includeSlug:i}),value:o}};function Search(e){let{value:n="",onChange:t,autoFocus:r,disabled:a,includeSlug:c=!1,...p}=e,b=(0,u.useRouter)(),[g,j]=(0,x.useState)(n),[y,_,k]=(0,f.Z)({action:e=>o.Z.get("/api/search?q=".concat(e).concat(c?"&include=slug":"")),initialData:m},[]),v=(0,x.useMemo)(()=>d()(e=>{e.length>2&&y(e),(0,h.LN)("search","typed",e)},400),[]),C=(0,x.useMemo)(()=>_.map((e,n)=>makeSuggestion({coin:e,isLast:n===_.length-1,includeSlug:c})),[_]),D=(0,x.useCallback)(e=>{let{value:n}=e.target;j(n),v(n)},[]),O=(0,x.useCallback)(e=>{let n=e.suggestion.value;if(t)return t(_.find(e=>e.slug===n));b.push("/coin/".concat(n)),(0,h.LN)("search","selected",n)},[_]);return(0,l.jsx)(w,{width:{width:"100%",max:"380px"},isLoading:k,...p,children:(0,l.jsx)(i.o,{dropProps:{elevation:"none",background:"white",border:{side:"bottom"},round:"xsmall",stretch:!0,margin:{top:"xsmall"},zIndex:200},disabled:a,autoFocus:r,icon:(0,l.jsx)(s.o,{size:"16px",color:"#2E364D"}),placeholder:"Search coin, symbol".concat(c?", slug":"","..."),plain:!0,value:g,onChange:D,suggestions:C,onSelect:O,size:"small",reverse:!0})})}}}]);
2//# sourceMappingURL=2700.f9c00dc5811f1630.js.map

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.