1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[245],{8809:function(e,t,l){"use strict";l.d(t,{Z:function(){return r}});var o=l(5893),s=l(7294),n=l(4640),c=l(9191),a=l.n(c);function r(e){let{value:t,onChange:l,options:c,placeholder:r="Select...",label:i,className:u=""}=e,[d,p]=(0,s.useState)(!1),[_,h]=(0,s.useState)(""),v=(0,s.useRef)(null),C=(0,n.useTranslations)(),x=c.find(e=>e.value===t);(0,s.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let m=c.filter(e=>e.label.toLowerCase().includes(_.toLowerCase())||e.value.toLowerCase().includes(_.toLowerCase())||e.symbol&&e.symbol.toLowerCase().includes(_.toLowerCase())),w=e=>{l(e),p(!1),h("")},D=e=>"/coinicon/".concat(e,".png");return(0,o.jsxs)("div",{className:"".concat(a().selectContainer," ").concat(u),ref:v,children:[i&&(0,o.jsx)("label",{className:a().selectLabel,children:i}),(0,o.jsxs)("div",{className:a().selectWrapper,children:[(0,o.jsxs)("button",{type:"button",className:a().selectButton,onClick:()=>p(!d),onKeyDown:e=>{"Escape"===e.key&&p(!1)},"aria-expanded":d,"aria-haspopup":"listbox",children:[(0,o.jsx)("div",{className:a().selectedValue,children:x?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("img",{src:D(x.value),alt:"".concat(x.value," icon"),className:a().selectedIcon,onError:e=>{e.currentTarget.style.display="none"}}),(0,o.jsx)("span",{className:a().selectedLabel,children:x.label})]}):(0,o.jsx)("span",{className:a().placeholder,children:r})}),(0,o.jsx)("div",{className:"".concat(a().selectArrow," ").concat(d?a().selectArrowOpen:""),children:(0,o.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",children:(0,o.jsx)("path",{fill:"currentColor",d:"M16.37 8.75H7.63a.75.75 0 00-.569 1.238l4.37 5.098c.299.349.84.349 1.138 0l4.37-5.098a.75.75 0 00-.57-1.238z"})})})]}),d&&(0,o.jsxs)("div",{className:a().dropdownMenu,children:[(0,o.jsx)("div",{className:a().searchContainer,children:(0,o.jsx)("input",{type:"text",placeholder:C("Common.search")||"Search currencies...",value:_,onChange:e=>h(e.target.value),className:a().searchInput,autoFocus:!0})}),(0,o.jsx)("div",{className:a().optionsList,role:"listbox",children:m.length>0?m.map(e=>(0,o.jsxs)("button",{className:"".concat(a().optionButton," ").concat(t===e.value?a().optionButtonSelected:""),onClick:()=>w(e.value),role:"option","aria-selected":t===e.value,children:[(0,o.jsx)("img",{src:D(e.value),alt:"".concat(e.value," icon"),className:a().optionIcon,onError:e=>{e.currentTarget.style.display="none"}}),(0,o.jsxs)("div",{className:a().optionContent,children:[(0,o.jsx)("span",{className:a().optionLabel,children:e.label}),e.symbol&&(0,o.jsx)("span",{className:a().optionSymbol,children:e.symbol})]})]},e.value)):(0,o.jsx)("div",{className:a().noResults,children:C("Common.noResults")||"No currencies found"})})]})]})]})}},8202:function(e,t,l){"use strict";l.d(t,{Z:function(){return r}});var o=l(5893),s=l(7294),n=l(4231),c=l.n(n),a=l(4640);function r(e){let{value:t,onChange:l,options:n,placeholder:r,label:i,className:u=""}
1=e,[d,p]=(0,s.useState)(!1),[_,h]=(0,s.useState)(""),v=(0,s.useRef)(null),C=(0,a.useTranslations)(),x=n.find(e=>e.value===t);(0,s.useEffect)(()=>{let e=e=>{v.current&&!v.current.contains(e.target)&&p(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let m=n.filter(e=>e.label.toLowerCase().includes(_.toLowerCase())||e.value.toLowerCase().includes(_.toLowerCase())||e.symbol.toLowerCase().includes(_.toLowerCase())),w=e=>{l(e),p(!1),h("")},D=e=>({usd:"\uD83C\uDDFA\uD83C\uDDF8",eur:"\uD83C\uDDEA\uD83C\uDDFA",gbp:"\uD83C\uDDEC\uD83C\uDDE7",jpy:"\uD83C\uDDEF\uD83C\uDDF5",cny:"\uD83C\uDDE8\uD83C\uDDF3",aud:"\uD83C\uDDE6\uD83C\uDDFA",cad:"\uD83C\uDDE8\uD83C\uDDE6",chf:"\uD83C\uDDE8\uD83C\uDDED",inr:"\uD83C\uDDE8\uD83C\uDDEE",krw:"\uD83C\uDDE8\uD83C\uDDF0",rub:"\uD83C\uDDE8\uD83C\uDDF7",sgd:"\uD83C\uDDF8\uD83C\uDDEC"})[e.toLowerCase()]||"\uD83D\uDCB0";return(0,o.jsxs)("div",{className:"".concat(c().selectContainer," ").concat(u),ref:v,children:[i&&(0,o.jsx)("label",{className:c().selectLabel,children:i}),(0,o.jsxs)("div",{className:c().selectWrapper,children:[(0,o.jsxs)("button",{type:"button",className:c().selectButton,onClick:()=>p(!d),onKeyDown:e=>{"Escape"===e.key&&p(!1)},"aria-expanded":d,"aria-haspopup":"listbox",children:[(0,o.jsx)("div",{className:c().selectedValue,children:x?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:c().selectedFlag,children:D(x.value)}),(0,o.jsx)("span",{className:c().selectedLabel,children:x.label})]}):(0,o.jsx)("span",{className:c().placeholder,children:r||C("Common.selectFiat")})}),(0,o.jsx)("div",{className:"".concat(c().selectArrow," ").concat(d?c().selectArrowOpen:""),children:(0,o.jsx)("svg",{viewBox:"0 0 24 24",width:"16",height:"16",children:(0,o.jsx)("path",{fill:"currentColor",d:"M16.37 8.75H7.63a.75.75 0 00-.569 1.238l4.37 5.098c.299.349.84.349 1.138 0l4.37-5.098a.75.75 0 00-.57-1.238z"})})})]}),d&&(0,o.jsxs)("div",{className:c().dropdownMenu,children:[(0,o.jsx)("div",{className:c().searchContainer,children:(0,o.jsx)("input",{type:"text",placeholder:C("Common.search")||"Search currencies...",value:_,onChange:e=>h(e.target.value),className:c().searchInput,autoFocus:!0})}),(0,o.jsx)("div",{className:c().optionsList,role:"listbox",children:m.length>0?m.map(e=>(0,o.jsxs)("button",{className:"".concat(c().optionButton," ").concat(t===e.value?c().optionButtonSelected:""),onClick:()=>w(e.value),role:"option","aria-selected":t===e.value,children:[(0,o.jsx)("span",{className:c().optionFlag,children:D(e.value)}),(0,o.jsxs)("div",{className:c().optionContent,children:[(0,o.jsx)("span",{className:c().optionLabel,children:e.label}),(0,o.jsx)("span",{className:c().optionSymbol,children:e.symbol})]})]},e.value)):(0,o.jsx)("div",{className:c().noResults,children:C("Common.noResults")||"No currencies found"})})]})]})]})}},738:function(e,t,l){"use strict";l.d(t,{Z:function(){return a}});var o=l(5893);l(7294);var s=l(5704),n=l.n(s);let c={realtime:(0,o.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",fill:"currentColor"})]}),multicurrency:(0,o.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67V7z",fill:"currentColor"}),(0,o.jsx)("circle",{cx:"12",cy:"12",r:"2",fill:"currentColor"})]}),exchange:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z",fill:"currentColor"})}),seo:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",fill:"
1currentColor"})}),globe:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z",fill:"currentColor"})}),arrow:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M7 7h8.586L5.293 4.707l1.414-1.414L17.414 12l-9.707 9.707-1.414-1.414L15.586 13H7v-2z",fill:"currentColor"})}),swap:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M6.99 11L3 15l3.99 4v-3H14v-2H6.99v-3zM21 9l-3.99-4v3H10v2h7.01v3L21 9z",fill:"currentColor"})}),copy:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",fill:"currentColor"})}),check:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:"currentColor"})}),bitcoin:(0,o.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M11.93 3.5c-3.47 0-6.29 2.82-6.29 6.29s2.82 6.29 6.29 6.29 6.29-2.82 6.29-6.29S15.4 3.5 11.93 3.5zm0 10.58c-2.37 0-4.29-1.92-4.29-4.29s1.92-4.29 4.29-4.29 4.29 1.92 4.29 4.29-1.92 4.29-4.29 4.29z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12 0C5.37 0 0 5.37 0 12s5.37 12 12 12 12-5.37 12-12S18.63 0 12 0zm0 22C6.48 22 2 17.52 2 12S6.48 2 12 2s10 4.48 10 10-4.48 10-10 10z",fill:"currentColor"}),(0,o.jsx)("path",{d:"M13 7.5h-2v-2h2v2zm0 3h-2v-2h2v2zm-4 3h6v-2h-6v2z",fill:"currentColor"})]})};function a(e){let{name:t,size:l=24,className:s=""}=e,a=c[t];return a?(0,o.jsx)("span",{className:"".concat(n().icon," ").concat(s),style:{width:l,height:l},children:a}):null}},9191:function(e){e.exports={selectContainer:"CryptoSelect_selectContainer__IGcnT",selectLabel:"CryptoSelect_selectLabel__XMlVe",selectWrapper:"CryptoSelect_selectWrapper__66Kq_",selectButton:"CryptoSelect_selectButton___JJ88",selectedValue:"CryptoSelect_selectedValue__IZIxX",selectedIcon:"CryptoSelect_selectedIcon__XRlAJ",selectedLabel:"CryptoSelect_selectedLabel__CF73o",placeholder:"CryptoSelect_placeholder__7_XH_",selectArrow:"CryptoSelect_selectArrow__NDQxm",selectArrowOpen:"CryptoSelect_selectArrowOpen__DLC64",dropdownMenu:"CryptoSelect_dropdownMenu__bzDnj",dropdownSlide:"CryptoSelect_dropdownSlide__UrP6y",searchContainer:"CryptoSelect_searchContainer__xAR3d",searchInput:"CryptoSelect_searchInput__SXD_d",optionsList:"CryptoSelect_optionsList__l3FgX",optionButton:"CryptoSelect_optionButton__IAAUp",optionButtonSelected:"CryptoSelect_optionButtonSelected__HSm8M",optionIcon:"CryptoSelect_optionIcon__oTybR",optionContent:"CryptoSelect_optionContent__gmw7I",optionLabel:"CryptoSelect_optionLabel__wUGO4",optionSymbol:"CryptoSelect_optionSymbol__TM91b",noResults:"CryptoSelect_noResults__ei5gX"}},4231:function(e){e.exports={selectContainer:"FiatSelect_selectContainer__gqq_I",selectLabel:"FiatSelect_selectLabel__wFyxd",selectWrapper:"FiatSelect_selectWrapper__RgmFv",selectButton:"FiatSelect_selectButton__BO6WK",selectedValue:"FiatSelect_selectedValue__jd_74",selectedFlag:"FiatSelect_selectedFlag__MsFUI",selectedLabel:"FiatSelect_selectedLabel__KdVKU",placeholder:"FiatSelect_placeholder__TYQq_",selectArrow:"FiatSelect_selectArrow__Mpbb1",selectArrowOpen:"FiatSelect_selectArrowOpen__DLyj3",dropdownMenu:"FiatSelect_dropdownMenu__BvJsQ",searchContainer:"FiatSelect_searchContainer__lKn3d",searchInput:"FiatSelect_searchInput__NjhH_",optionsList:"FiatSelect_optionsList___JsL2",optionButton:"FiatSelect_optionButton___i7Xx",optionButtonSelected:"FiatSelect_optionButtonSelected__QUdQY",optionFlag:"FiatSelect_optionFlag__jiFyT",optionContent:"FiatSelect_optionContent__1E8_s",optionLabel:"FiatSelect_optionLabel__DaXlp",optionSymbol:"FiatSelect_optionSymbol__wT9Jf",noResults:"FiatSelect_noResults__b1iJl"}},5704:function(e){e.exports={icon:"Icon_icon__aGU0w"}}}]);
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.