PageSourceSearch

http://www.kitco.com/_next/static/chunks/4913.6f1633674ab158c1.js

js kitco.com collected 2026-09-24 08:37:27 UTC 3,468 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4913],{4913:function(e,t,s){"use strict";s.r(t);var l=s(85893),a=s(10482),r=s(68718),n=s(90512),c=s(67294),o=s(86250),i=s(45007),u=s(98465),d=s(97759),m=s(88178),x=s.n(m),p=s(22311);let f={width:20,height:14,borderRadius:2,boxShadow:"0 0 0 1px rgba(0,0,0,.08)",flexShrink:0},h=()=>(0,l.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",children:(0,l.jsx)("path",{d:"M1 1l4 4 4-4",stroke:"#979797",strokeWidth:"1.5"})});t.default=e=>{let{hideNames:t=!0,hideFlags:s,classNamesListbox:m,classNamesItemListbox:b,classNamesIconListbox:v,forceCurrency:g,onChange:w,allowedSymbols:y,variant:j="default"}=e,N=(0,i.I0)(),{buttonRef:k,buttonWidth:_}=(0,d.o)(),Z=(0,i.v9)(e=>g?e.currency.temporaryCurrency:e.currency.selectedCurrency);return((0,c.useEffect)(()=>{g?N((0,u.CT)(g)):N((0,u.ER)())},[N,g]),Z)?(0,l.jsx)(a.Ri,{value:Z.symbol,onChange:e=>{let t=p.w[e];g?N((0,u.CT)(t)):N((0,u.NW)(t)),null==w||w(t)},children:(0,l.jsxs)("div",{className:(0,n.Z)("relative inline-block w-full","default"===j&&"rounded-sm border border-ktc-gray/20",m),ref:k,children:[(0,l.jsxs)(a.Y4,{className:(0,n.Z)("compact"===j?"h-[30px] w-full pl-2 pr-[9px] flex items-center justify-between gap-1.5 text-[13px] text-[#232323] bg-white rounded border border-[#dfe1e4]":"h-7 w-full px-2 flex items-center justify-between gap-1",b),children:[(0,l.jsxs)("span",{className:(0,n.Z)("flex min-w-0 items-center","compact"===j?"gap-1.5":"gap-1"),children:[!s&&(0,l.jsx)("img",{src:null==Z?void 0:Z.image,alt:null==Z?void 0:Z.name,className:"compact"===j?void 0:x().flag,style:"compact"===j?f:void 0}),(0,l.jsx)("span",{className:"block truncate",children:Z.symbol})]}),(0,l.jsx)("span",{className:(0,n.Z)("pl-1",v),children:"compact"===j?(0,l.jsx)(h,{}):(0,l.jsx)(o.V7A,{})})]}),(0,l.jsx)(r.u,{as:c.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,l.jsx)(a.O_,{modal:!1,style:{minWidth:_},anchor:"bottom end",className:(0,n.Z)("z-[2000] py-1 w-auto [--anchor-gap:4px]","max-h-[min(60vh,480px)] overflow-y-auto","min-w-max rounded-md bg-white text-base shadow-lg","ring-1 ring-black/20 focus:outline-none sm:text-sm"),children:Object.values(p.w).filter(e=>!y||y.includes(e.symbol)).map(e=>(0,l.jsx)(a.wt,{value:e.symbol,className:(0,n.Z)("relative block cursor-pointer select-none px-4 py-2","data-[focus]:bg-blue-200/30 data-[focus]:text-blue-800 text-gray-900"),children:(0,l.jsxs)("div",{className:"flex flex-nowrap items-center gap-2",children:[(0,l.jsx)("img",{src:null==e?void 0:e.image,alt:null==e?void 0:e.name,className:"compact"===j?void 0:x().flag,style:"compact"===j?f:void 0}),(0,l.jsx)("span",{className:(0,n.Z)("block basis-12 font-semibold"),children:e.symbol}),!t&&(0,l.jsx)("span",{className:(0,n.Z)("block basis-5/6 whitespace-nowrap opacity-70"),children:e.name})]})},e.symbol))})})]})}):null}},97759:function(e,t,s){"use strict";s.d(t,{o:function(){return a}});var l=s(67294);function a(){let e=(0,l.useRef)(null),[t,s]=(0,l.useState)(void 0);return(0,l.useEffect)(()=>{e.current&&s("".concat(e.current.offsetWidth,"px"))},[e.current]),(0,l.useEffect)(()=>{let t=new ResizeObserver(()=>{e.current&&s("".concat(e.current.offsetWidth,"px"))});return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}},[]),{buttonRef:e,buttonWidth:t}}},88178:function(e){e.exports={listBoxer:"select-box_listBoxer__egvss",flag:"select-box_flag__661Vx"}}}]);

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.