(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9026],{66783:e=>{"use strict";var t=Object.prototype.hasOwnProperty;function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,n){if(r(e,n))return!0;if("object"!=typeof e||null===e||"object"!=typeof n||null===n)return!1;var o=Object.keys(e),a=Object.keys(n);if(o.length!==a.length)return!1;for(var l=0;l<o.length;l++)if(!t.call(n,o[l])||!r(e[o[l]],n[o[l]]))return!1;return!0}},37643:e=>{e.exports={pair:"pair-ocURKVwI",xxceptionallysmalldonotusebrv1023:"xxceptionallysmalldonotusebrv1023-ocURKVwI",xxxxsmall:"xxxxsmall-ocURKVwI",xxxsmall:"xxxsmall-ocURKVwI",xxsmall:"xxsmall-ocURKVwI",xsmall:"xsmall-ocURKVwI",small:"small-ocURKVwI",medium:"medium-ocURKVwI",large:"large-ocURKVwI",xlarge:"xlarge-ocURKVwI",xxlarge:"xxlarge-ocURKVwI",xxxlarge:"xxxlarge-ocURKVwI",logo:"logo-ocURKVwI",skeleton:"skeleton-ocURKVwI",empty:"empty-ocURKVwI"}},6916:e=>{e.exports={xxxsmall:"xxxsmall-napy2vLF",xxsmall:"xxsmall-napy2vLF",xsmall:"xsmall-napy2vLF",small:"small-napy2vLF",medium:"medium-napy2vLF",large:"large-napy2vLF",xlarge:"xlarge-napy2vLF",counter:"counter-napy2vLF","color-danger":"color-danger-napy2vLF","color-accent":"color-accent-napy2vLF","color-accent-light":"color-accent-light-napy2vLF","color-neutral-bold":"color-neutral-bold-napy2vLF","color-neutral":"color-neutral-napy2vLF","borderColor-primary":"borderColor-primary-napy2vLF","borderColor-secondary":"borderColor-secondary-napy2vLF","borderColor-tertiary":"borderColor-tertiary-napy2vLF",disabled:"disabled-napy2vLF"}},19954:e=>{e.exports={hidden:"hidden-DgcIT6Uz",fadeInWrapper:"fadeInWrapper-DgcIT6Uz",isAnimated:"isAnimated-DgcIT6Uz"}},53895:e=>{e.exports={disableSelfPositioning:"disableSelfPositioning-dYiqkKAE"}},37370:e=>{e.exports={container:"container-M1mz4quA",pairContainer:"pairContainer-M1mz4quA",logo:"logo-M1mz4quA",hidden:"hidden-M1mz4quA"}},23296:e=>{e.exports={container:"container-qm7Rg5MB",mobile:"mobile-qm7Rg5MB",inputContainer:"inputContainer-qm7Rg5MB",withCancel:"withCancel-qm7Rg5MB",input:"input-qm7Rg5MB",icon:"icon-qm7Rg5MB",cancel:"cancel-qm7Rg5MB"}},33313:e=>{e.exports={actions:"actions-rarsm4ka",actionButton:"actionButton-rarsm4ka"}},88183:e=>{e.exports={logo:"logo-d0vVmGvT"}},20255:e=>{e.exports={"tablet-small-breakpoint":"(max-width: 440px)",itemRow:"itemRow-oRSs8UQo",multiLine:"multiLine-oRSs8UQo",cell:"cell-oRSs8UQo",itemInfoCell:"itemInfoCell-oRSs8UQo",description:"description-oRSs8UQo",symbolDescription:"symbolDescription-oRSs8UQo",flag:"flag-oRSs8UQo",exchangeDescription:"exchangeDescription-oRSs8UQo",marketType:"marketType-oRSs8UQo",exchangeName:"exchangeName-oRSs8UQo",actionHandleWrap:"actionHandleWrap-oRSs8UQo",source:"source-oRSs8UQo",hover:"hover-oRSs8UQo",selected:"selected-oRSs8UQo",active:"active-oRSs8UQo",highlighted:"highlighted-oRSs8UQo",light:"light-oRSs8UQo","highlight-animation-theme-light":"highlight-animation-theme-light-oRSs8UQo",dark:"dark-oRSs8UQo","highlight-animation-theme-dark":"highlight-animation-theme-dark-oRSs8UQo",
markedFlag:"markedFlag-oRSs8UQo",offset:"offset-oRSs8UQo",descriptionCell:"descriptionCell-oRSs8UQo",addition:"addition-oRSs8UQo",exchangeCell:"exchangeCell-oRSs8UQo",fixedWidth:"fixedWidth-oRSs8UQo",expandHandle:"expandHandle-oRSs8UQo",expanded:"expanded-oRSs8UQo",symbolTitle:"symbolTitle-oRSs8UQo",invalid:"invalid-oRSs8UQo",noDescription:"noDescription-oRSs8UQo",highlightedText:"highlightedText-oRSs8UQo",icon:"icon-oRSs8UQo",narrow:"narrow-oRSs8UQo",wide:"wide-oRSs8UQo",dataMode:"dataMode-oRSs8UQo",actionsCell:"actionsCell-oRSs8UQo",action:"action-oRSs8UQo",targetAction:"targetAction-oRSs8UQo",removeAction:"removeAction-oRSs8UQo",addAction:"addAction-oRSs8UQo",markedFlagWrap:"markedFlagWrap-oRSs8UQo",markedFlagMobile:"markedFlagMobile-oRSs8UQo",logo:"logo-oRSs8UQo",isExpandable:"isExpandable-oRSs8UQo",primaryIcon:"primaryIcon-oRSs8UQo",promoBadge:"promoBadge-oRSs8UQo",promoIcon:"promoIcon-oRSs8UQo"}},85448:e=>{e.exports={icon:"icon-OJpk_CAQ"}},5779:e=>{e.exports={wrap:"wrap-IxKZEhmO",libAllSelected:"libAllSelected-IxKZEhmO",container:"container-IxKZEhmO",iconWrap:"iconWrap-IxKZEhmO",icon:"icon-IxKZEhmO",title:"title-IxKZEhmO",highlighted:"highlighted-IxKZEhmO",description:"description-IxKZEhmO",mobile:"mobile-IxKZEhmO",allSelected:"allSelected-IxKZEhmO",desktop:"desktop-IxKZEhmO",allSelectedIcon:"allSelectedIcon-IxKZEhmO",selected:"selected-IxKZEhmO",focused:"focused-IxKZEhmO",titleWithoutDesc:"titleWithoutDesc-IxKZEhmO",textBlock:"textBlock-IxKZEhmO",bordered:"bordered-IxKZEhmO"}},93900:e=>{e.exports={container:"container-dfKL9A7t",contentList:"contentList-dfKL9A7t",contentListDesktop:"contentListDesktop-dfKL9A7t",searchSourceItemsContainer:"searchSourceItemsContainer-dfKL9A7t",oneColumn:"oneColumn-dfKL9A7t",searchSourceItemsContainerDesktop:"searchSourceItemsContainerDesktop-dfKL9A7t",groupTitleDesktop:"groupTitleDesktop-dfKL9A7t",column:"column-dfKL9A7t",emptyText:"emptyText-dfKL9A7t",emptyIcon:"emptyIcon-dfKL9A7t",noResultsDesktop:"noResultsDesktop-dfKL9A7t"}},99605:e=>{e.exports={wrap:"wrap-gjrLBBL3",item:"item-gjrLBBL3",small:"small-gjrLBBL3",newStyles:"newStyles-gjrLBBL3",mobile:"mobile-gjrLBBL3",text:"text-gjrLBBL3",exchange:"exchange-gjrLBBL3",filterItem:"filterItem-gjrLBBL3",brokerWrap:"brokerWrap-gjrLBBL3"}},80903:e=>{e.exports={wrap:"wrap-dlewR1s1",watchlist:"watchlist-dlewR1s1",noFeed:"noFeed-dlewR1s1",newStyles:"newStyles-dlewR1s1",scrollContainer:"scrollContainer-dlewR1s1",listContainer:"listContainer-dlewR1s1",multiLineItemsContainer:"multiLineItemsContainer-dlewR1s1",withSpinner:"withSpinner-dlewR1s1",spinnerContainer:"spinnerContainer-dlewR1s1",largeSpinner:"largeSpinner-dlewR1s1"}},27864:e=>{e.exports={search:"search-ZXzPWcCf",upperCase:"upperCase-ZXzPWcCf",bubblesContainer:"bubblesContainer-ZXzPWcCf",mobile:"mobile-ZXzPWcCf",bubbles:"bubbles-ZXzPWcCf",withFilters:"withFilters-ZXzPWcCf",spinnerWrap:"spinnerWrap-ZXzPWcCf",emptyText:"emptyText-ZXzPWcCf",emptyIcon:"emptyIcon-ZXzPWcCf",noResultsDesktop:"noResultsDesktop-ZXzPWcCf",brokerButtonWrap:"brokerButtonWrap-ZXzPWcCf"}},57184:e=>{e.exports={
flagWrap:"flagWrap-QKnxaZOG",icon:"icon-QKnxaZOG",caret:"caret-QKnxaZOG",title:"title-QKnxaZOG",button:"button-QKnxaZOG",withFlag:"withFlag-QKnxaZOG",buttonContent:"buttonContent-QKnxaZOG"}},88716:e=>{e.exports={dialog:"dialog-u2dP3kv1",tabletDialog:"tabletDialog-u2dP3kv1",desktopDialog:"desktopDialog-u2dP3kv1",backButton:"backButton-u2dP3kv1"}},34007:e=>{e.exports={childrenWrapper:"childrenWrapper-_RhDhmVQ",container:"container-_RhDhmVQ"}},68222:e=>{e.exports={highlighted:"highlighted-cwp8YRo6"}},27692:e=>{e.exports={linkItem:"linkItem-zMVwkifW"}},55840:e=>{e.exports={roundTabButton:"roundTabButton-JbssaNvk",disableFocusOutline:"disableFocusOutline-JbssaNvk",enableCursorPointer:"enableCursorPointer-JbssaNvk",large:"large-JbssaNvk",withStartIcon:"withStartIcon-JbssaNvk",iconOnly:"iconOnly-JbssaNvk",withEndIcon:"withEndIcon-JbssaNvk",startIconWrap:"startIconWrap-JbssaNvk",endIconWrap:"endIconWrap-JbssaNvk",small:"small-JbssaNvk",xsmall:"xsmall-JbssaNvk",primary:"primary-JbssaNvk",disabled:"disabled-JbssaNvk",selected:"selected-JbssaNvk",disableActiveStateStyles:"disableActiveStateStyles-JbssaNvk",ghost:"ghost-JbssaNvk",fake:"fake-JbssaNvk",caret:"caret-JbssaNvk",visuallyHidden:"visuallyHidden-JbssaNvk",content:"content-JbssaNvk"}},70408:e=>{e.exports={scrollWrap:"scrollWrap-vgCB17hK",overflowScroll:"overflowScroll-vgCB17hK",roundTabs:"roundTabs-vgCB17hK",center:"center-vgCB17hK",overflowWrap:"overflowWrap-vgCB17hK",start:"start-vgCB17hK"}},86186:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},18429:(e,t,r)=>{"use strict";r.d(t,{SEPARATOR_PREFIX:()=>n,isSeparatorItem:()=>o});const n="###";function o(e){return e.startsWith(n)}},48199:(e,t,r)=>{"use strict";r.d(t,{BackButton:()=>L});var n,o=r(50959),a=r(64388),l=r(95694),s=r.n(l),c=r(49498),i=r.n(c),u=r(60176),d=r.n(u),m=r(35369),h=r.n(m),p=r(58478),g=r.n(p),f=r(73063),v=r.n(f),b=r(14127),y=r.n(b),S=r(18073),x=r.n(S),w=r(99243),k=r.n(w),C=r(42576),E=r.n(C);function I(e="large",t="1.2"){switch(e){case"large":return"1.2"===t?s():v();case"medium":return"1.2"===t?i():y();case"small":return"1.2"===t?d():x();case"xsmall":return"1.2"===t?h():k();case"xxsmall":return"1.2"===t?g():E();default:return i()}}!function(e){e.Thin="1.2",e.Medium="1.5"}(n||(n={}));const L=o.forwardRef(((e,t)=>{const{"aria-label":r,flipIconOnRtl:n,...l}=e;return o.createElement(a.NavButton,{...l,"aria-label":r,ref:t,icon:I(e.size,e.iconStrokeWidth),flipIconOnRtl:n})}))},86866:(e,t,r)=>{"use strict";r.d(t,{useIsNonFirstRender:()=>o});var n=r(50959);function o(){return!function(){const[e,t]=(0,n.useState)(!0);return(0,n.useEffect)((()=>{t(!1)}),[]),e}()}},125:(e,t,r)=>{"use strict";r.d(t,{useForceUpdate:()=>o});var n=r(50959);const o=()=>{const[,e]=(0,n.useReducer)((e=>e+1),0);return e}},3685:(e,t,r)=>{"use strict";function n(){return window.configurationData?.exchanges?.map((e=>({...e,country:"",providerId:"",flag:""})))??[]}r.d(t,{getExchanges:()=>n})},36279:(e,t,r)=>{"use strict";var n;r.d(t,{LogoSize:()=>n,getLogoUrlResolver:()=>l}),function(e){e[e.Medium=0]="Medium",
e[e.Large=1]="Large"}(n||(n={}));class o{getSymbolLogoUrl(e){return e}collectSymbolLogoUrls(e,t){return[]}getCountryFlagUrl(){return""}getCryptoLogoUrl(e){return e}getProviderLogoUrl(e){return e}getSourceLogoUrl(e){return e}getBlockchainContractLogoUrl(e){return e}}let a;function l(){return a||(a=new o),a}},69654:(e,t,r)=>{"use strict";r.d(t,{DialogSearch:()=>d});var n=r(50959),o=r(97754),a=r.n(o),l=r(11542),s=r(9745),c=r(6347),i=r(54313),u=r(23296);function d(e){const{children:t,isMobile:o,renderInput:d,onCancel:h,containerClassName:p,inputContainerClassName:g,iconClassName:f,cancelTitle:v=l.t(null,void 0,r(4543)),...b}=e;return n.createElement("div",{className:a()(u.container,o&&u.mobile,p)},n.createElement("div",{className:a()(u.inputContainer,o&&u.mobile,g,h&&u.withCancel)},d||n.createElement(m,{isMobile:o,...b})),t,n.createElement(s.Icon,{className:a()(u.icon,o&&u.mobile,f),icon:o?i:c}),h&&(!o||""!==b.value)&&n.createElement("div",{className:a()(u.cancel,o&&u.mobile),onClick:h},v))}function m(e){const{className:t,reference:r,isMobile:o,value:l,onChange:s,onFocus:c,onBlur:i,onKeyDown:d,onSelect:m,placeholder:h,activeDescendant:p,...g}=e;return n.createElement("input",{...g,ref:r,type:"text",className:a()(t,u.input,o&&u.mobile),autoComplete:"off",role:"searchbox","data-role":"search",placeholder:h,value:l,onChange:s,onFocus:c,onBlur:i,onSelect:m,onKeyDown:d,"aria-activedescendant":p})}},96967:(e,t,r)=>{"use strict";r.d(t,{SymbolSearchDialogContentItem:()=>F});var n=r(50959),o=r(97754),a=r.n(o),l=(r(11542),r(50151)),s=r(9745),c=r(37103),i=r(24637),u=r(97006),d=r(84524),m=r(24633),h=r(77975),p=r(45345),g=r(32563),f=r(91682),v=r(618),b=r(36279),y=r(59695),S=r(58492),x=r(39330),w=r(64971),k=r(43010),C=r(37370);function E(e){const{className:t,placeholderLetter:r,url1:o,url2:l,size:s="xxxsmall"}=e,c=(0,n.useRef)(null),i=(0,n.useRef)(null),u=(0,n.useRef)(null),d=(0,n.useRef)(null),m=(0,n.useRef)(null),h=(0,n.useRef)(null);return(0,k.useIsomorphicLayoutEffect)((()=>{const e=void 0===o?[]:void 0===l?[o]:[o,l],t=h.current=(r=e,Promise.all(r.map((e=>(0,w.getImage)(`symbol_logo_${e}`,e,L).then((e=>e.cloneNode()))))));var r;t.catch((()=>[])).then((e=>{if(t===h.current)switch(e.length){case 0:u.current?.classList.add(C.hidden),i.current?.classList.add(y.hiddenCircleLogoClass),c.current?.classList.remove(y.hiddenCircleLogoClass);break;case 1:I(i.current,e[0]),u.current?.classList.add(C.hidden),i.current?.classList.remove(y.hiddenCircleLogoClass),c.current?.classList.add(y.hiddenCircleLogoClass);break;case 2:I(d.current,e[0]),I(m.current,e[1]),u.current?.classList.remove(C.hidden),i.current?.classList.add(y.hiddenCircleLogoClass),c.current?.classList.add(y.hiddenCircleLogoClass)}}))}),[o,l]),n.createElement("span",{className:a()(t,C.container)},n.createElement("span",{ref:u,className:a()(C.pairContainer,C.hidden)},n.createElement("span",{className:(0,x.getBlockStyleClasses)(s)},n.createElement("span",{ref:m,className:a()(C.logo,(0,x.getLogoStyleClasses)(s))}),n.createElement("span",{ref:d,className:a()(C.logo,(0,
x.getLogoStyleClasses)(s))}))),n.createElement("span",{ref:i,className:a()(C.logo,y.hiddenCircleLogoClass,(0,S.getStyleClasses)(s))}),n.createElement("span",{ref:c,className:a()(C.logo,(0,S.getStyleClasses)(s))},n.createElement(y.CircleLogo,{size:s,placeholderLetter:r})))}function I(e,t){e&&(e.innerHTML="",e.appendChild(t))}function L(e){e.crossOrigin="",e.decoding="async"}var R=r(88183);function T(e){const{logoId:t,baseCurrencyLogoId:r,currencyLogoId:o,placeholder:l,className:s,size:c="xsmall"}=e,i=(0,n.useMemo)((()=>{const e={logoid:t,"currency-logoid":o,"base-currency-logoid":r};return(0,v.removeUsdFromCryptoPairLogos)((0,v.resolveLogoUrls)(e,b.LogoSize.Medium))}),[t,o,r]);return n.createElement(E,{key:c,className:a()(R.logo,s),url1:i[0],url2:i[1],placeholderLetter:l,size:c})}var N=r(29562),B=r(69533),M=r(20255);function F(e){const{dangerousTitleHTML:t,title:r,dangerousDescriptionHTML:o,description:v,searchToken:b,exchangeName:y,marketType:S,onClick:x,isSelected:w,isEod:k=!1,isActive:C=!1,isOffset:E=!1,invalid:I=!1,isHighlighted:L=!1,hideExchange:R=!1,hideMarkedListFlag:F=!1,onExpandClick:_,isExpanded:A,hoverComponent:D,country:P,providerId:O,sourceLogoId:U,source:Q,source2:V,type:W,flag:z,itemRef:K,onMouseOut:H,onMouseOver:Z,className:q,actions:$,reference:G,fullSymbolName:j,logoId:J,currencyLogoId:X,baseCurrencyLogoId:Y,shortName:ee,hideLogo:te=!1,exchangeTooltip:re,hideMarketType:ne,isPrimary:oe,isPromo:ae}=e,{isSmallWidth:le,isMobile:se}=(0,l.ensureNotNull)((0,n.useContext)(d.SymbolSearchItemsDialogContext)),ce=Boolean(D),ie=!I&&!R&&(se||!ce),ue=(0,h.useWatchedValueReadonly)({watchedValue:p.watchedTheme})===m.StdTheme.Dark?M.dark:M.light,de=D,me=c.enabled("show_symbol_logos"),he=c.enabled("show_exchange_logos"),pe=me||!1,ge=V?.description??Q,fe=V?.name??Q;return n.createElement("div",{className:a()(M.itemRow,le&&M.multiLine,L&&M.highlighted,L&&ue,w&&M.selected,C&&M.active,I&&M.invalid,!se&&g.mobiletouch&&ce&&M.hover,q),onClick:function(e){if(!x||e.defaultPrevented)return;e.preventDefault(),x(e)},"data-role":e["data-role"]||"list-item","data-active":C,"data-type":S,"data-name":"symbol-search-dialog-content-item",onMouseOut:H,onMouseOver:Z,ref:G},n.createElement("div",{ref:K,className:a()(M.itemInfoCell,M.cell,E&&M.offset)},n.createElement("div",{className:a()(M.actionHandleWrap,!pe&&M.fixedWidth)},n.createElement(n.Fragment,null,!1,_&&n.createElement("div",{onClick:function(e){if(!_||e.defaultPrevented)return;e.preventDefault(),_(e)}},n.createElement(s.Icon,{className:a()(M.expandHandle,A&&M.expanded,w&&M.selected),icon:B})),pe&&!E&&n.createElement("div",{className:a()(M.logo,Boolean(_)&&M.isExpandable)},n.createElement(T,{key:j,logoId:J,currencyLogoId:X,baseCurrencyLogoId:Y,placeholder:ee?ee[0]:void 0})))),n.createElement("div",{className:a()(M.description,pe&&E&&M.offset)},r&&n.createElement("div",{className:a()(M.symbolTitle,C&&M.active,I&&M.invalid,!Boolean(o)&&M.noDescription,!g.mobiletouch&&"apply-overflow-tooltip"),"data-overflow-tooltip-text":r,"data-name":"list-item-title"
},"string"==typeof r&&b?n.createElement(i.HighlightedText,{className:M.highlightedText,text:r,queryString:b,rules:(0,u.createRegExpList)(b)}):r,k&&n.createElement("span",{className:M.dataMode},"E")),!r&&t&&n.createElement("div",{className:a()(M.symbolTitle,C&&M.active,I&&M.invalid,!g.mobiletouch&&"apply-overflow-tooltip"),"data-name":"list-item-title","data-overflow-tooltip-text":(0,f.removeTags)(t)},n.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),k&&n.createElement("span",{className:M.dataMode},"E")),le&&ve())),!le&&n.createElement("div",{className:a()(M.cell,M.descriptionCell,Boolean(de)&&M.addition)},ve(),de?n.createElement(de,{...e,className:M.actions,onMouseOver:void 0,onMouseOut:void 0}):null),le&&de?n.createElement(de,{...e,className:M.cell,onMouseOver:void 0,onMouseOut:void 0}):null,ie&&n.createElement("div",{className:a()(M.exchangeCell,M.cell)},n.createElement("div",{className:a()(M.exchangeDescription)},!1,!ne&&n.createElement("div",{className:a()(M.marketType,C&&M.active)},S),n.createElement("div",{className:M.source},!1,!1,"economic"===W&&ge&&fe?n.createElement("div",{className:a()(M.exchangeName,C&&M.active,"apply-common-tooltip",M.narrow,ne&&M.wide),title:ge},fe):n.createElement("div",{className:a()(M.exchangeName,C&&M.active,re&&"apply-common-tooltip"),title:re},y))),he&&n.createElement("div",{className:M.flag},n.createElement(N.SymbolSearchFlag,{key:he?`${j}_exchange`:`${P}_${O}_${V?.id}_${W}_${z}`,className:M.icon,country:P,providerId:O,sourceLogoId:U??void 0}))),n.createElement("div",{className:a()(M.cell,Boolean($)&&M.actionsCell)},$));function ve(){if(I)return null;const e=a()(M.symbolDescription,C&&M.active,!g.mobiletouch&&"apply-overflow-tooltip apply-overflow-tooltip--allow-text");return v?n.createElement("div",{className:e},b?n.createElement(i.HighlightedText,{className:M.highlightedText,text:v,queryString:b,rules:(0,u.createRegExpList)(b)}):v):o?n.createElement("div",{"data-overflow-tooltip-text":(0,f.removeTags)(o),className:e,dangerouslySetInnerHTML:{__html:o}}):null}}},29562:(e,t,r)=>{"use strict";r.d(t,{SymbolSearchFlag:()=>f});var n=r(50959),o=r(97754),a=r.n(o),l=r(24633),s=r(36279);const c=r.p+"mock-dark.16b5f3a431f502b03ae3.svg",i=r.p+"mock-light.d201313017eb2c1b989f.svg";function u(e){return e===l.StdTheme.Dark?c:i}var d=r(77975),m=r(45345),h=r(50151);const p=s.LogoSize.Medium;var g=r(85448);function f(e){const{country:t,tooltip:r,providerId:o,sourceId:l,sourceLogoId:c,className:i}=e,f=(0,d.useWatchedValueReadonly)({watchedValue:m.watchedTheme}),[v,b]=(0,n.useState)(function({country:e,providerId:t,sourceId:r,sourceLogoId:n}){const o=(0,s.getLogoUrlResolver)();return a=>{const l=e=>o.getProviderLogoUrl(e,p),s=[{value:n,resolve:e=>o.getSymbolLogoUrl(e,p)},{value:r,resolve:l},{value:e,resolve:e=>o.getCountryFlagUrl(e.toUpperCase(),p)},{value:t,resolve:l}].find((({value:e})=>void 0!==e&&e.length>0));return void 0!==s?s.resolve((0,h.ensureDefined)(s.value)):u(a)}}({country:t,providerId:o,sourceId:l,sourceLogoId:c})(f));return n.createElement("img",{
className:a()(i,"apply-common-tooltip",g.icon),crossOrigin:"","data-tooltip":r,src:v,onError:function(){b(u(f))}})}},58442:(e,t,r)=>{"use strict";r.d(t,{QualifiedSources:()=>n,qualifyProName:()=>l});var n,o=r(50151),a=r(37103);r(81319);function l(e){return e}!function(e){function t(e){return e.pro_name}function r(e){{const t=a.enabled("pay_attention_to_ticker_not_symbol")?e.ticker:e.name;return(0,o.ensureDefined)(t)}}e.fromQuotesSnapshot=function(e){return"error"===e.status?e.symbolname:e.values.pro_name},e.fromQuotesResponse=function(e){const{values:r,symbolname:n,status:o}=e;return"error"===o&&n?n:t(r)},e.fromQuotes=t,e.fromSymbolSearchResult=function(e,t){{const{ticker:r,symbol:n}=t??e;return a.enabled("pay_attention_to_ticker_not_symbol")?(0,o.ensureDefined)(r??n):(0,o.ensureDefined)(n)}},e.fromSymbolInfo=r,e.fromSymbolMessage=function(e,t){return"symbol_resolved"===t.method?r(t.params[1]):e}}(n||(n={}))},20882:(e,t,r)=>{"use strict";r.d(t,{createSearchSources:()=>s,filterSearchSources:()=>a,isAllSearchSourcesSelected:()=>o,splitSearchSourcesByGroup:()=>l});const n=[];function o(e){return""===e.value()}function a(e,t){return e.filter((e=>e.includes(t)))}function l(e){const t=new Map;e.forEach((e=>{t.has(e.group())?t.get(e.group()).push(e):t.set(e.group(),[e])}));for(const e of t.values()){e[0].group()!==ExchangeGroup.NorthAmerica&&e.sort(((e,t)=>e.name().toLowerCase()>t.name().toLowerCase()?1:-1))}return new Map([...t.entries()].sort((([e],[t])=>n.indexOf(e)-n.indexOf(t))))}function s(e,t){return t.map((t=>new e(t)))}},70613:(e,t,r)=>{"use strict";r.d(t,{SymbolSearchDialogBodyContext:()=>n});const n=r(50959).createContext(null)},84524:(e,t,r)=>{"use strict";r.d(t,{SymbolSearchItemsDialogContext:()=>n});const n=r(50959).createContext(null)},59071:(e,t,r)=>{"use strict";r.d(t,{SymbolSearchItemsDialog:()=>Xt});var n,o,a,l,s=r(50959),c=r(97754),i=r.n(c),u=r(11542),d=r(37103),m=r(44254),h=r(81319);function p(e){const t=function(e){let t,r=0,n=0;for(let o=0;o<e.length;o++){const a=e[o];if("whitespace"!==a.type)switch(r){case 0:if("number"!==a.type||1!=+a.value)return[];r=1;break;case 1:if(1!==r||"divide"!==a.type)return[];r=2,t=o+1;break;case 2:if("openBrace"===a.type)r=3,n=1;else if((0,m.isBinaryOperator)(a.type))return[];break;case 3:"openBrace"===a.type?n++:"closeBrace"===a.type&&(n--,n<=0&&(r=2))}}return e.slice(t)}(e);return t.length?(0,m.factorOutBraces)(t):(0,m.factorOutBraces)((0,m.tokenize)("1/("+g(e)+")"))}function g(e){return e.reduce(((e,t)=>"symbol"===t.type&&m.symbolTokenEscapeRe.test(t.value)?e+`'${t.value}'`:e+t.value),"")}function f(e){const t=function(e){const t=(0,m.tokenize)(e),r=[];return t.forEach((e=>{if("symbol"!==e.type)return;const[t]=(0,m.parseToken)(e);t&&r.push(t)})),r}(e);if(1===t.length)return t[0]}function v(e,t,r){const n=e.value,[o,a]=b(e,r),l=(0,h.getSymbolFullName)(t),s=m.symbolTokenEscapeRe.test(l)?`'${l}'`:l;return[n.substring(0,a)+s+n.substring(a+o.length),a+s.length]}function b(e,t){const{value:r,selectionStart:n}=e,o=(0,m.tokenize)(t?r.toUpperCase():r),a=(0,
m.getTokenAtPos)(o,n||0);return[a?.value||"",a?a.offset:r.length,o]}!function(e){e.Init="init",e.Var="var",e.Operator="operator"}(n||(n={})),function(e){e[e.Init=0]="Init",e[e.Div=1]="Div",e[e.Expression=2]="Expression",e[e.BracedExpression=3]="BracedExpression"}(o||(o={})),function(e){e.Stocks="stocks",e.Futures="futures",e.Funds="funds",e.Forex="forex",e.Crypto="bitcoin,crypto",e.Index="index",e.Bond="bond",e.Economic="economic",e.Options="options"}(a||(a={})),function(e){e.EconomicCountrySelect="economic-country-select",e.EconomicSourceSelect="economic-source-select",e.EconomicCategorySelect="economic-category-select",e.StocksCountrySelect="stocks-country-select",e.StockTypeSelect="stock-type-select",e.StockSectorSelect="stock-sector-select",e.FuturesCountrySelect="futures-country-select",e.FuturesCategorySelect="futures-category-select",e.FundsCountrySelect="funds-country-select",e.FundsTypeSelect="funds-type-select",e.CryptoExchangeSelect="crypto-exchange-select",e.CryptoTypeSelect="crypto-type-select",e.CryptoExchangeTypeSelect="crypto-exchange-type-select",e.ForexExchangeSelect="forex-exchange-select",e.IndexExchangeSelect="index-exchange-select",e.BondCountrySelect="bond-country-select",e.BondTypeSelect="bond-type-select"}(l||(l={}));const y=["futures","forex","bond","economic","options"];var S=r(84877),x=r(73986),w=r(79418),k=r(9745),C=r(86240),E=r(86781),I=r(84524),L=r(69654),R=r(3343),T=r(22692);function N(e,t,r){return`source-item-${e}-${t}-${r}`}var B=r(20882),M=r(34007);function F(e){const{children:t,className:r}=e;return s.createElement("div",{className:i()(M.container,r)},s.createElement("div",{className:M.childrenWrapper},t))}var _=r(50151),A=r(78036),D=r(24637),P=r(97006),O=r(91540),U=r(5779);function Q(e){const{searchSource:t,onClick:r,queryString:n,isFocused:o,id:a}=e,{symbolSearchContent:l,isAllSearchSourcesSelected:c,allSearchSourcesTitle:u,isMobile:d}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),m=l.currentSelectedSearchSource,p=(0,_.ensureNotNull)(m).value(),g=c(t),f=t.value()===p,v=(0,s.useMemo)((()=>(0,P.createRegExpList)(n)),[n]),b=t.description(),y=b&&!g,S=h.isSeparateSymbolSearchTabs&&g&&u?u:t.name(),x=i()(U.container,d?U.mobile:U.desktop,f&&U.selected,o&&U.focused,g&&U.allSelected,g&&U.libAllSelected,!g&&d&&U.bordered);return s.createElement("div",{className:i()(!d&&U.wrap,g&&U.libAllSelected),onClick:r,id:a},s.createElement("div",{className:x},s.createElement("div",{className:U.iconWrap},!!g&&s.createElement(k.Icon,{className:i()(U.icon,U.allSelectedIcon),icon:O})),s.createElement("div",{className:U.textBlock},s.createElement("div",{className:i()(U.title,!y&&!d&&U.titleWithoutDesc)},s.createElement(D.HighlightedText,{className:i()(f&&U.highlighted),queryString:n,text:S,rules:v})),y&&s.createElement("div",{className:i()(U.description,"apply-overflow-tooltip")},s.createElement(D.HighlightedText,{className:U.highlighted,queryString:n,rules:v,text:b})))))}var V=r(77975),W=r(45345),z=r(24633),K=r(70613),H=r(66619),Z=r(67562),q=r(93900);const $={emptyTextClassName:q.emptyText}
;function G(e){const{searchSources:t}=e,{setSelectedIndex:n,setSelectedSearchSource:o,setMode:a,isMobile:l,emptyState:c,autofocus:d}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),m=(0,V.useWatchedValueReadonly)({watchedValue:W.watchedTheme})===z.StdTheme.Dark?H:Z,p=(0,E.useMatchMedia)(C["media-phone-vertical"]),[g,f]=(0,s.useState)(""),v=(0,s.useMemo)((()=>[{group:null,sources:(0,h.createGroupColumns)((0,B.filterSearchSources)(t,g),p?1:2)}]),[t,g,p]),b=((0,s.useMemo)((()=>({})),[]),(0,s.useRef)(null)),y=(0,s.useRef)(null),{focusedItem:S,activeDescendant:x,handleKeyDown:w,resetFocusedItem:M}=function(e,t,r){const[n,o]=(0,s.useState)(null),[a,l]=(0,s.useState)("");function c(t){const r=e[t.groupIndex].sources[t.col].length-1;if(t.row===r){const e=d(t.groupIndex+1);if(null===e)return;return t.col>0&&!u({...t,groupIndex:e,row:0})?void o({groupIndex:e,col:0,row:0}):void o({...t,groupIndex:e,row:0})}o({...t,row:t.row+1})}function i(t){if(0===t.row){const r=d(t.groupIndex-1,-1);if(null===r)return;const n=e[r].sources[t.col]?.length??0;return 0===n?void o({groupIndex:r,col:0,row:0}):void o({...t,groupIndex:r,row:n-1})}o({...t,row:t.row-1})}function u(t){return Boolean(e[t.groupIndex]?.sources[t.col]?.[t.row])}function d(t=0,r=1){const n=e.length;let o=(t+n)%n;for(;!u({groupIndex:o,col:0,row:0});)if(o=(o+r+n)%n,o===t)return null;return o}return(0,s.useEffect)((()=>{if(!r.current)return;if(!n)return void l("");const e=N(n.groupIndex,n.col,n.row),t=r.current.querySelector(`#${e}`);t?.scrollIntoView({block:"nearest"}),l(e)}),[n]),(0,s.useEffect)((()=>{o(null)}),[t]),{focusedItem:n,activeDescendant:a,handleKeyDown:function(a){if(!r.current)return;const l=(0,R.hashFromEvent)(a);if(32!==l&&13!==l)switch((0,T.mapKeyCodeToDirection)(l)){case"blockNext":if(a.preventDefault(),!n){const e=d();if(null===e)break;o({groupIndex:e,col:0,row:0});break}c(n);break;case"blockPrev":if(a.preventDefault(),!n)break;i(n);break;case"inlineNext":{if(!n||t)break;a.preventDefault();const r=e[n.groupIndex].sources.length;if(n.col===r-1||!u({...n,col:n.col+1})){c({...n,col:0});break}o({...n,col:n.col+1});break}case"inlinePrev":{if(!n||t)break;a.preventDefault();const r=e[n.groupIndex].sources.length;if(0===n.col){if(0!==n.row){i({...n,col:r-1});break}const t=d(n.groupIndex-1,-1);if(null===t)break;const a=e[t].sources.length,l=e[t].sources[0].length;if(!u({groupIndex:t,col:a-1,row:l-1})){i(n);break}o({groupIndex:t,col:a-1,row:l-1});break}o({...n,col:n.col-1});break}}else{if(!n)return;a.preventDefault();const e=r.current.querySelector(`#${N(n.groupIndex,n.col,n.row)}`);e instanceof HTMLElement&&e.click()}},resetFocusedItem:()=>o(null)}}(v,p,y);(0,s.useLayoutEffect)((()=>{d&&b?.current?.focus()}),[]);const _=c?s.createElement(c,null):s.createElement(F,{className:q.noResultsDesktop},s.createElement(k.Icon,{icon:m,className:q.emptyIcon}),s.createElement("div",{className:q.emptyText},u.t(null,void 0,r(53182)))),D=!(v.length&&v.every((e=>0===e.sources.length)));return s.createElement(K.SymbolSearchDialogBodyContext.Provider,{value:$
},s.createElement(L.DialogSearch,{placeholder:u.t(null,void 0,r(8573)),onChange:function(e){M(),f(e.target.value),y&&y.current&&(y.current.scrollTop=0)},reference:b,onKeyDown:w,onBlur:M,"aria-activedescendant":x}),D?s.createElement("div",{ref:y,className:i()(q.contentList,!l&&q.contentListDesktop),onTouchStart:function(){b.current?.blur()}},v.map(((e,t)=>{const{group:r,sources:n}=e;return 0===n.length?s.createElement(s.Fragment,{key:r}):s.createElement(s.Fragment,{key:r},!1,s.createElement("div",{className:i()(q.searchSourceItemsContainer,!l&&q.searchSourceItemsContainerDesktop,p&&q.oneColumn)},n.map(((e,r)=>s.createElement("div",{key:`${t}-${r}`,className:q.column},e.map(((e,n)=>s.createElement(Q,{id:N(t,r,n),isFocused:!!S&&(S.groupIndex===t&&S.col===r&&S.row===n),key:e.value(),searchSource:e,queryString:g,onClick:P.bind(null,e)}))))))))}))):_);function P(e){o(e),a("symbolSearch"),n(-1)}}var j,J,X,Y,ee=r(32227),te=r(95406),re=r(52959);r(32925);function ne(e){return e.hasOwnProperty("exchange")}async function oe(e){return new Promise((t=>{(0,re.getChartingLibraryGlobalContext)().ChartApiInstance.searchSymbolsPaginated({userInput:e.text??"",exchange:e.exchange??"",symbolType:e.type??"",searchSource:e.searchInitiationPoint??"symbolSearch",start:e.start},((e,r)=>{t({symbols:e,symbols_remaining:r})}))}))}!function(e){e.SourceId="source_id",e.EconomicCategory="economic_category",e.SearchType="search_type",e.Sector="sector",e.Product="product",e.Centralization="centralization",e.OnlyHasOptions="only_has_options"}(j||(j={})),function(e){e.SymbolSearch="symbolSearch",e.Watchlist="watchlist",e.Compare="compare",e.IndicatorInputs="indicatorInputs"}(J||(J={})),function(e){e[e.Prod=0]="Prod",e[e.Local=1]="Local"}(X||(X={})),function(e){e[e.Paginated=0]="Paginated",e[e.NoLimit=1]="NoLimit"}(Y||(Y={}));new Map([].map((({value:e,search_type:t})=>[e,t])));var ae=r(78136),le=r(51768),se=r(68335),ce=r(46003),ie=r(486),ue=r(81574),de=r(35119),me=r(32617),he=r(69135),pe=r(63861),ge=r(33313);function fe(e){const{state:t,update:r}=e,{searchRef:n,forceUpdate:o,upperCaseEnabled:a}=(0,_.ensureNotNull)((0,s.useContext)(I.SymbolSearchItemsDialogContext)),l=(0,m.tokenize)(n.current?.value),c=function(e){const t={braceBalance:0,currentState:"var",warnings:[],errors:[]};if(!d.enabled("show_spread_operators"))return t;let r="init";const n=[];for(let o=0;o<e.length;o++){const a=e[o];if("whitespace"!==a.type){if("incompleteSymbol"===a.type||"incompleteNumber"===a.type){const r=o!==e.length-1,n={status:r?"error":"incomplete",reason:"incomplete_token",offset:a.offset,token:a};if(r?t.errors.push(n):t.warnings.push(n),r)continue}switch(a.type){case"symbol":case"number":if("var"===r){t.errors.push({status:"error",reason:"unexpected_token",offset:a.offset,token:a});continue}r="var";break;case"plus":case"minus":case"multiply":case"divide":case"power":if("var"!==r){t.errors.push({status:"error",reason:"unexpected_token",offset:a.offset,token:a});continue}r="operator";break;case"openBrace":if("var"===r){t.errors.push({status:"error",
reason:"unexpected_token",offset:a.offset,token:a});continue}n.push(a),r="init";break;case"closeBrace":if("var"!==r){t.errors.push({status:"error",reason:"unexpected_token",offset:a.offset,token:a});continue}n.pop()||t.errors.push({status:"error",reason:"unbalanced_brace",offset:a.offset,token:a}),r="var";break;case"unparsed":t.errors.push({status:"error",reason:"unparsed_entity",offset:a.offset,token:a})}}}for(t.braceBalance=n.length,"var"!==r&&t.warnings.push({status:"incomplete",token:e[e.length-1]});n.length;){const e=n.pop();e&&t.warnings.push({status:"incomplete",reason:"unbalanced_brace",offset:e.offset,token:e})}return t.currentState=r,t}(l);let i=[{icon:ie,insert:"/",type:"binaryOp",name:"division"},{icon:ue,insert:"-",type:"binaryOp",name:"subtraction"},{icon:de,insert:"+",type:"binaryOp",name:"addition"},{icon:me,insert:"*",type:"binaryOp",name:"multiplication"}];return d.enabled("hide_exponentiation_spread_operator")||(i=i.concat([{icon:he,insert:"^",type:"binaryOp",name:"exponentiation"}])),d.enabled("hide_reciprocal_spread_operator")||(i=i.concat([{icon:pe,type:"complete",name:"1/x",callback:()=>{!n.current||c.errors.length||c.warnings.length||(n.current.value=g(p(l)),o())}}])),s.createElement("div",{className:ge.actions},i.map((e=>s.createElement(ce.ToolWidgetButton,{className:ge.actionButton,icon:e.icon,key:e.name,isDisabled:ve(e,c),onClick:()=>function(e){if(!ve(e,c)){if(e.insert&&n.current){const l=n.current.value+e.insert;n.current.value=l,n.current.setSelectionRange(l.length,l.length);const[s,,c]=b(n.current,a);t.current&&(t.current.selectedIndexValue=-1,t.current.searchSpreadsValue=(0,m.isSpread)(c),t.current.searchTokenValue=s),o(),r()}e.callback&&e.callback(),n.current?.focus(),(0,le.trackEvent)("GUI","SS",e.name)}}(e)}))))}function ve(e,t){let r=!1;if(!t.errors.length)switch(e.type){case"binaryOp":r="var"===t.currentState;break;case"openBrace":r="var"!==t.currentState;break;case"closeBrace":r="var"===t.currentState&&t.braceBalance>0;break;case"complete":r=!t.errors.length&&!t.warnings.length}return!r}var be=r(63932),ye=r(84952),Se=r(29006),xe=r(14543),we=r(10381),ke=r(52019),Ce=r(57184);const Ee=(0,h.getDefaultSearchSource)();function Ie(e){const{mode:t,setMode:n,searchRef:o,cachedInputValue:a,setSelectedIndex:l,setSelectedSearchSource:c,isAllSearchSourcesSelected:d,allSearchSourcesTitle:m,upperCaseEnabled:p,symbolSearchContent:g}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),f=g.currentSelectedSearchSource,v=(0,_.ensureNotNull)(f),b="symbolSearch"===t,y=d(v),S=h.isSeparateSymbolSearchTabs&&y&&m?m:v.name(),x=(0,s.useCallback)((()=>{if(h.isSeparateSymbolSearchTabs&&!y&&Ee)return c(Ee),l(-1),void o.current?.focus();o.current&&(a.current=p?o.current.value.toUpperCase():o.current.value),n("exchange")}),[y,o,p,n,c]);return h.isSeparateSymbolSearchTabs?b?s.createElement(xe.LightButton,{onClick:x,isPills:!y,size:"xsmall",variant:y?"ghost":"quiet-primary",showCaret:y,endSlot:y?void 0:s.createElement(k.Icon,{icon:ke}),enableActiveStateStyles:!1,className:i()(Ce.button,!y&&Ce.withFlag),
tabIndex:-1,"data-name":"sources-button"},s.createElement("div",{className:Ce.buttonContent},null,s.createElement("span",null,S))):null:b?s.createElement("div",{className:i()(Ce.flagWrap,"apply-common-tooltip",!y&&Ce.withFlag),title:u.t(null,void 0,r(57640)),onClick:x,"data-name":"sources-button"},y&&s.createElement(k.Icon,{className:Ce.icon,icon:O}),null,s.createElement("div",{className:i()(Ce.title)},S),s.createElement(we.ToolWidgetCaret,{className:Ce.caret,dropped:!1})):null}var Le=r(99605);function Re(e){const{brokerButton:t=null}=e,{isSmallWidth:n,selectedFilterValues:o,setSelectedFilterValues:a,setSelectedIndex:l,isMobile:c,searchRef:d,symbolSearchContent:m}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),p=m.tabSelectFilters;return h.isSeparateSymbolSearchTabs?s.createElement("div",{className:i()(Le.wrap,Le.small,Le.newStyles,c&&Le.mobile)},t&&s.createElement("div",{className:Le.brokerWrap},t),m.canChangeExchange&&s.createElement("div",{className:Le.filterItem},s.createElement(Ie,null)),p&&p.map((e=>{const{id:t,options:r,label:n}=e,i=r.find((e=>e.value===FILTER_DEFAULT_VALUE));if(!i)throw new Error("There must be default filter value in filter definition");const u=r.find((e=>e.value===o[m.currentSymbolType]?.[t]))||i;return s.createElement("div",{key:t,className:Le.filterItem},s.createElement(SymbolSearchSelectFilter,{selectedOption:u,defaultOption:i,options:r,onSelect:e=>{a(m.currentSymbolType,{[t]:e.value}),trackEvent("New SS",m.currentSymbolType,null===e.value?e.analyticsLabel:e.value),l(-1),d.current?.focus()},label:n,isMobile:c,"data-name":t}))}))):s.createElement("div",{className:i()(Le.wrap,n&&Le.small)},s.createElement("div",{className:Le.item},s.createElement("div",{className:Le.text},n?u.t(null,void 0,r(74007)):u.t(null,void 0,r(95481)))),s.createElement("div",{className:Le.item},!n&&s.createElement("div",{className:Le.text},u.t(null,void 0,r(78734))),m.canChangeExchange&&s.createElement("div",{className:Le.exchange},s.createElement(Ie,null))))}var Te=r(24640),Ne=r(50279),Be=r(39416);var Me=r(80903);function Fe(e){const{onTouchMove:t,listRef:r,className:n,listWrapRef:o,virtualListKey:a,items:l,getItemSize:c,hideFeed:u,canLoadMore:d,onLoadMoreSymbols:m}=e,{mode:p,isSmallWidth:g,handleListWidth:f}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),[v,b]=(0,s.useState)(null),y=(0,Se.useResizeObserver)((function([e]){b(e.contentRect.height),f(e.contentRect.width)})),S=(0,s.useCallback)((e=>{const{index:t,style:r}=e;return s.createElement("div",{style:r},l[t])}),[l]),x=(0,s.useCallback)((e=>(0,_.ensure)(l[e].key)),[l]),w="watchlist"===p&&null!==v,k=function(e,t={},r=[]){const n=(0,s.useRef)(null),o=(0,s.useRef)(e);o.current=e;const{ref:a=null,...l}=t,c=(0,s.useRef)(l);(0,Ne.default)(t,c.current)||(c.current=t);const i=(0,Be.useFunctionalRefObject)(a),u=(0,s.useCallback)((e=>{i(e),null!==n.current&&(n.current.disconnect(),null!==e&&n.current.observe(e))}),[i,n]);return(0,s.useEffect)((()=>(n.current=new IntersectionObserver(((e,t)=>o.current(e,t)),{...c.current,
root:c.current?.root?.current}),i.current&&u(i.current),()=>{n.current?.disconnect()})),[i,c.current,...r]),u}((e=>{const t=e.pop();void 0!==t&&t.isIntersecting&&m&&m()}),{threshold:0,rootMargin:"0px 0px 20px 0px",root:o});return s.createElement("div",{className:i()(Me.wrap,w&&Me.watchlist,u&&Me.noFeed,u&&h.isSeparateSymbolSearchTabs&&Me.newStyles,n),onTouchMove:t,ref:y},s.createElement("div",{ref:o,className:i()(Me.scrollContainer,u&&Me.noFeed)},w?s.createElement(ye.VariableSizeList,{key:a,ref:r,className:Me.listContainer,width:"100%",height:(0,_.ensureNotNull)(v),itemCount:l.length,itemSize:c,children:S,itemKey:x,overscanCount:20,direction:(0,Te.isRtl)()?"rtl":"ltr"}):s.createElement(s.Fragment,null,s.createElement("div",{className:i()(Me.listContainer,g&&Me.multiLineItemsContainer)},!h.isSeparateSymbolSearchTabs&&s.createElement(Re,null),...l,d&&s.createElement("div",{key:`observer-${l.length}`,className:i()(Me.spinnerContainer,g&&Me.largeSpinner),ref:k},s.createElement(be.Spinner,{size:g?"small":"mini"}))))))}var _e=r(96967),Ae=r(47201),De=r(35020);var Pe=r(95854),Oe=r(36966),Ue=r(7953),Qe=r(38528),Ve=r(66686);r(19954);const We=s.createContext({children:{},setIsReady:()=>{}});var ze=r(86866),Ke=r(67842);var He,Ze,qe,$e=r(6916),Ge=r.n($e);function je(e){const{className:t,count:r,compact:n=!0,size:o="xlarge",color:a="danger",sign:l,borderColor:c="none","aria-label":u,"aria-hidden":d,disabled:m,...h}=e,p=h;let g;g=!("xxsmall"===o||"xxxsmall"===o)&&r?n&&r>=100?"99+":l&&r>0?`+${r}`:r:"";const f=i()(t,Ge().counter,Ge()[o],Ge()[`color-${a}`],"none"!==c&&Ge()[`borderColor-${c}`],m&&Ge().disabled);return s.createElement("span",{...p,className:f,"aria-label":u,"aria-hidden":d},g)}function Je({count:e,color:t="danger",size:r="xsmall",disabled:n}){return s.createElement(je,{"aria-label":"Tab counter",count:e,size:r,color:t,borderColor:"primary",disabled:n})}function Xe(e,t,r){const{id:n,items:o,activationType:a,orientation:l="horizontal",disabled:c,onActivate:i,isActive:u,overflowBehaviour:d,enableActiveStateStyles:m,tablistLabelId:h,tablistLabel:p,preventDefaultIfKeyboardActionHandled:g,size:f,stopPropagationIfKeyboardActionHandled:v,keyboardNavigationLoop:b,defaultKeyboardFocus:y,focusableItemAttributes:S}=t,x=(0,s.useMemo)((()=>function(e,t,r){return e.map((e=>{const n=e.counter;return n?{...e,endUpperSlot:Je({count:n.count,color:n.color,size:r,disabled:t}),counter:void 0}:e}))}(o,c,f)),[o,c,f]),w=(0,De.useMobileTouchState)(),k=function(e){const t=(0,E.useSafeMatchMedia)(C["media-mf-phone-landscape"],!0),r=(0,De.useMobileTouchState)();return e??(r||!t?"scroll":"collapse")}(d),I=(0,s.useRef)(!1),L=(0,s.useCallback)((e=>e.id),[]),R=m??!w,T=function(){const{setIsReady:e,children:t}=(0,s.useContext)(We),r=(0,s.useRef)((0,s.useId)());return t[r.current]||(t[r.current]={isReady:!1}),(0,s.useCallback)((()=>{t[r.current].isReady=!0,e(Object.values(t).every((e=>e.isReady)))}),[t,e])}(),{visibleItems:N,hiddenItems:B,containerRefCallback:M,innerContainerRefCallback:F,moreButtonRef:_,setItemRef:A,itemsMeasurements:D}=(0,
Pe.useCollapsible)(x,L,u),P=function(e){const t=(0,s.useRef)(null);return(0,s.useEffect)((()=>{t.current=e}),[e]),t.current}(D.current?.containerWidth)??0,O=(0,ze.useIsNonFirstRender)(),U=D.current?.containerWidth??0;let Q=!1;D.current&&O&&(Q=function(e,t,r,n,o){if("collapse"!==n)return!0;const a=function(e,t,r){const n=e.filter((e=>t.find((t=>t.id===e[0]))));return t.length>0?n[0][1]+r:0}(Array.from(e.widthsMap.entries()),t,o),l=e.moreButtonWidth??0;let s=function(e,t){return e.reduce(((e,r)=>e+(t.get(r.id)??0)),0)}(r,e.widthsMap);return s+=t.length>0?l:0,function(e,t,r,n){return 0!==e?t-r<e&&t-r>n:r<t}(a,e.containerWidth,s,o)}(D.current,B,N,k,r.gap??0)||0===U);const V=(0,Ke.useResizeObserver)((([e])=>{requestAnimationFrame((()=>{O&&Q&&e.contentRect.width===P&&T()}))})),W="collapse"===k?N:x,z=(0,s.useMemo)((()=>"collapse"===k?B:[]),[k,B]),K=(0,s.useCallback)((e=>z.includes(e)),[z]),{isOpened:H,open:Z,close:q,onButtonClick:$}=(0,Ue.useDisclosure)({id:n,disabled:c}),{tabsBindings:G,tablistBinding:j,scrollWrapBinding:J,onActivate:X,onHighlight:Y,isHighlighted:ee}=(0,Oe.useTabs)({id:n,items:[...W,...z],activationType:a,orientation:l,disabled:c,tablistLabelId:h,tablistLabel:p,preventDefaultIfKeyboardActionHandled:g,scrollIntoViewOptions:r.scrollIntoViewOptions,onActivate:i,isActive:u,isCollapsed:K,isRtl:r.isRtl,isDisclosureOpened:H,isRadioGroup:r.isRadioGroup,stopPropagationIfKeyboardActionHandled:v,keyboardNavigationLoop:b,defaultKeyboardFocus:y,focusableItemAttributes:S}),te=z.find(ee),re=(0,s.useCallback)((()=>{const e=x.find(u);e&&Y(e)}),[Y,u,x]),ne=(0,s.useCallback)((()=>{q(),re(),I.current=!0}),[q,re]),oe=(0,s.useCallback)((()=>{te&&(X(te),Y(te,250))}),[X,Y,te]);J.ref=(0,Qe.useMergedRefs)([V,J.ref,M]),j.ref=(0,Qe.useMergedRefs)([j.ref,F]),j.onKeyDown=(0,Ae.createSafeMulticastEventHandler)((0,Ve.useKeyboardEventHandler)([(0,Ve.useKeyboardClose)(H,ne),(0,Ve.useKeyboardActionHandler)([13,32],oe,(0,s.useCallback)((()=>Boolean(te)),[te]))],g),j.onKeyDown);const ae=(0,s.useCallback)((e=>{I.current=!0,$(e)}),[I,$]),le=(0,s.useCallback)((e=>{e&&X(e)}),[X]);return(0,s.useEffect)((()=>{I.current?I.current=!1:te&&!H?Z():!te&&H&&q()}),[te,H,Z,q]),{enableActiveStateStyles:R,moreButtonRef:_,setItemRef:A,getBindings:e=>G.find((t=>t.id===e.id)),handleMoreButtonClick:ae,handleCollapsedItemClick:le,scrollWrapBinding:J,overflowBehaviour:k,tablistBinding:j,visibleTabs:W,hiddenTabs:z,handleActivate:X,isMobileTouch:w,getItemId:L,isDisclosureOpened:H,isHighlighted:ee,closeDisclosure:q}}!function(e){e.XXXSmall="xxxsmall",e.XXSmall="xxsmall",e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e.XLarge="xlarge"}(He||(He={})),function(e){e.Danger="danger",e.Accent="accent",e.AccentLight="accent-light",e.NeutralBold="neutral-bold",e.Neutral="neutral"}(Ze||(Ze={})),function(e){e.Primary="primary",e.Secondary="secondary",e.Tertiary="tertiary",e.None="none"}(qe||(qe={}));var Ye=r(8304),et=r(53017),tt=r(17946),rt=r(2948),nt=r(55840);const ot="xsmall",at="primary";function lt(e){const t=(0,
s.useContext)(tt.CustomBehaviourContext),{size:r="xsmall",variant:n="primary",active:o,fake:a,startIcon:l,endIcon:i,showCaret:u,iconOnly:d,anchor:m,enableActiveStateStyles:h=t.enableActiveStateStyles,disableFocusOutline:p=!1,tooltip:g,disabled:f}=e;return c(nt.roundTabButton,nt[r],nt[n],l&&nt.withStartIcon,(i||u)&&nt.withEndIcon,d&&nt.iconOnly,o&&nt.selected,a&&nt.fake,m&&nt.enableCursorPointer,!h&&nt.disableActiveStateStyles,p&&nt.disableFocusOutline,g&&"apply-common-tooltip",f&&nt.disabled,"apply-overflow-tooltip apply-overflow-tooltip--check-children-recursively apply-overflow-tooltip--allow-text")}function st(e){const{startIcon:t,endIcon:r,showCaret:n,iconOnly:o,children:a}=e;return s.createElement(s.Fragment,null,t&&s.createElement(k.Icon,{icon:t,className:nt.startIconWrap,"aria-hidden":!0}),a&&s.createElement("span",{className:c(nt.content,o&&nt.visuallyHidden)},a),(!o&&r||n)&&s.createElement(ct,{icon:r,showCaret:n}))}function ct(e){const{icon:t,showCaret:r}=e;return s.createElement(k.Icon,{className:c(nt.endIconWrap,r&&nt.caret),icon:r?rt:t,"aria-hidden":!0})}var it=r(34094);const ut=(0,s.forwardRef)(((e,t)=>{const{id:r,size:n,variant:o,active:a,fake:l,startIcon:c,endIcon:i,showCaret:u,iconOnly:d,children:m,enableActiveStateStyles:h,disableFocusOutline:p,tooltip:g,disabled:f,...v}=e;return s.createElement("button",{...v,id:r,ref:t,"data-tooltip":g,"data-overflow-tooltip-text":g??(0,it.getTextForTooltip)(m),className:lt({size:n,variant:o,active:a,fake:l,startIcon:c,endIcon:i,showCaret:u,iconOnly:d,enableActiveStateStyles:h,disableFocusOutline:p,tooltip:g,disabled:f})},s.createElement(st,{startIcon:c,endIcon:i,showCaret:u,iconOnly:d},m))}));ut.displayName="RoundTabsBaseButton";const dt=(0,s.createContext)({size:"small",variant:"primary",isHighlighted:!1,isCollapsed:!1,disabled:!1});function mt(e){const{item:t,highlighted:r,handleItemRef:n,reference:o,onClick:a,...l}=e,c=(0,s.useCallback)((e=>{l.disabled&&e.preventDefault(),a&&a(t)}),[a,t,l.disabled]),i=(0,s.useCallback)((e=>{n&&n(t,e),(0,et.isomorphicRef)(o)(e)}),[t,n]),u={size:l.size??ot,variant:l.variant??at,isHighlighted:Boolean(l.active),isCollapsed:!1,disabled:l.disabled??!1};return s.createElement(ut,{...l,id:t.id,onClick:c,ref:i,startIcon:t.startIcon,endIcon:t.endIcon,tooltip:t.tooltip,"aria-label":"radio"===l.role?t.children:void 0},s.createElement(dt.Provider,{value:u},t.children))}var ht=r(16396),pt=r(4523),gt=r(43845),ft=r(89882),vt=r(2057),bt=r(27692);function yt(e){const{disabled:t,isOpened:r,enableActiveStateStyles:n,disableFocusOutline:o,fake:a,items:l,buttonText:c,buttonPreset:i="text",buttonRef:u,size:d,variant:m,isAnchorTabs:h,isHighlighted:p,onButtonClick:g,onItemClick:f,onClose:v}=e,b=(0,s.useRef)(null),y=(0,Qe.useMergedRefs)([u,b]),S="text"===i?void 0:"xsmall"===d?ft:vt;return s.createElement(pt.PopupMenuDisclosureView,{buttonRef:b,listboxTabIndex:-1,isOpened:r,onClose:v,listboxAria:{"aria-hidden":!0},button:s.createElement(ut,{"aria-hidden":!0,disabled:t,active:r,onClick:g,ref:y,tabIndex:-1,size:d,variant:m,startIcon:S,showCaret:"text"===i,
iconOnly:"meatballs"===i,enableActiveStateStyles:n,disableFocusOutline:o,fake:a},c),popupChildren:s.createElement(s.Fragment,null,"meatballs"===i&&s.createElement(gt.ToolWidgetMenuSummary,null,c),l.map((e=>s.createElement(ht.PopupMenuItem,{key:e.id,className:h?bt.linkItem:void 0,onClick:f,onClickArg:e,isActive:p(e),label:s.createElement(St,{isHighlighted:p(e),size:d,variant:m,disabled:e.disabled},e.children),isDisabled:e.disabled,link:"href"in e?e.href:void 0,rel:"rel"in e?e.rel:void 0,target:"target"in e?e.target:void 0,icon:e.startIcon,toolbox:e.endIcon&&s.createElement(k.Icon,{icon:e.endIcon}),renderComponent:"renderComponent"in e?e.renderComponent:void 0,dontClosePopup:!0}))))})}function St(e){const{isHighlighted:t,size:r,variant:n,children:o,disabled:a}=e,l={size:r??ot,variant:n??at,isHighlighted:t,isCollapsed:!0,disabled:a??!1};return s.createElement(dt.Provider,{value:l},o)}var xt,wt,kt,Ct,Et=r(70408);function It(e){const{overflowBehaviour:t}=e;return c(Et.scrollWrap,"scroll"===t&&Et.overflowScroll,"wrap"===t&&Et.overflowWrap)}function Lt(e){const{align:t="start"}=e;return c(Et.roundTabs,Et[t])}function Rt(e){const{children:t,disabled:n,moreButtonText:o=u.t(null,void 0,r(37117)),moreButtonPreset:a,className:l,size:i,variant:d,align:m,style:h={},"data-name":p,isRadioGroup:g,"aria-controls":f}=e,v=function(e="xsmall"){switch(e){case"small":return 8;case"xsmall":return 4;default:return 16}}(i),{enableActiveStateStyles:b,moreButtonRef:y,setItemRef:S,getBindings:x,handleMoreButtonClick:w,handleCollapsedItemClick:k,scrollWrapBinding:C,overflowBehaviour:E,tablistBinding:I,visibleTabs:L,hiddenTabs:R,handleActivate:T,isMobileTouch:N,getItemId:B,isDisclosureOpened:M,isHighlighted:F,closeDisclosure:_}=Xe(Ye.TabNames.RoundButtonTabs,e,{isRtl:Te.isRtl,scrollIntoViewOptions:{additionalScroll:v},isRadioGroup:g,gap:v});return s.createElement("div",{...C,className:c(It({overflowBehaviour:E}),l),style:{...h,"--ui-lib-roundTabs-gap":`${v}px`},"data-name":p},s.createElement("div",{...I,className:Lt({align:m,overflowBehaviour:E})},L.map((e=>s.createElement(mt,{...x(e),key:e.id,item:e,onClick:()=>T(e),variant:d,size:i,enableActiveStateStyles:b,disableFocusOutline:N,reference:S(B(e)),...e.dataId&&{"data-id":e.dataId},"aria-controls":f}))),R.map((e=>s.createElement(mt,{...x(e),key:e.id,item:e,variant:d,size:i,reference:S(B(e)),"aria-controls":f,fake:!0}))),s.createElement(yt,{disabled:n,isOpened:M,items:R,buttonText:o,buttonPreset:a,buttonRef:y,isHighlighted:F,onButtonClick:w,onItemClick:k,onClose:_,variant:d,size:i,enableActiveStateStyles:b,disableFocusOutline:N,fake:0===R.length}),t))}function Tt(e){const{"data-name":t="round-tabs-buttons",...r}=e;return s.createElement(Rt,{...r,"data-name":t})}!function(e){e.Primary="primary",e.Ghost="ghost"}(xt||(xt={})),function(e){e.XSmall="xsmall",e.Small="small",e.Large="large"}(wt||(wt={})),function(e){e.Start="start",e.Center="center"}(kt||(kt={})),function(e){e.Text="text",e.Meatballs="meatballs"}(Ct||(Ct={}));r(21593);var Nt=r(27864);const Bt=d.enabled("hide_image_invalid_symbol")
;function Mt(e){const{otherSymbolsCount:t,onChangeSymbolTypeFilter:r,onResetFilters:n,onListTouchMove:o,brokerTitle:a,brokerLogoInfo:l,isBrokerActive:i,onBrokerToggle:u,listRef:d,listWrapRef:m,onLoadMoreSymbols:p,canLoadMore:g}=e,{mode:f,isMobile:v,selectedSymbolType:b,symbolTypes:y,feedItems:S,contentItem:x,emptyState:w=Ft,symbolSearchContent:k,symbolSearchState:C}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),E=a?s.createElement(BrokerButton,{brokerTitle:a,isActive:i,onToggle:u,onKeyDown:e=>{const t=(0,R.hashFromEvent)(e);t!==9+R.Modifiers.Shift&&9!==t&&e.stopPropagation()},logoInfo:l}):null,L=y.map((e=>({id:e.value,children:e.name}))),T="symbolSearch"===f&&["good","loadingWithPaginated"].includes(C),N=x??_e.SymbolSearchDialogContentItem,B=(0,s.useMemo)((()=>S.map((e=>s.createElement(N,{...e,searchToken:k.token})))),[S]);return s.createElement(s.Fragment,null,"symbolSearch"===f&&s.createElement(s.Fragment,null,s.createElement("div",{className:c(Nt.bubblesContainer,!v&&E&&Nt.withButton,v&&Nt.mobile)},y.length>0&&s.createElement(Tt,{id:"symbol-search-tabs",isActive:e=>e.id===b,onActivate:r,overflowBehaviour:v?"scroll":"wrap",className:c(Nt.bubbles,v&&Nt.mobile,h.isSeparateSymbolSearchTabs&&(k.withFilters||E)&&!v&&Nt.withFilters),items:L},v?null:s.createElement("div",null,E)),!h.isSeparateSymbolSearchTabs&&v&&y.length>0&&a&&s.createElement("div",{className:Nt.brokerButtonWrap},E)),h.isSeparateSymbolSearchTabs&&s.createElement(Re,{brokerButton:v?E:void 0})),s.createElement(Fe,{listRef:d,listWrapRef:m,onTouchMove:o,items:B,getItemSize:()=>At,onLoadMoreSymbols:p,canLoadMore:g,hideFeed:!T}),"loading"===C&&s.createElement("div",{className:Nt.spinnerWrap},s.createElement(be.Spinner,null)),"symbolSearch"===f&&s.createElement(s.Fragment,null,!1,"empty"===C&&s.createElement(w,null)))}function Ft(e){const t=(0,V.useWatchedValueReadonly)({watchedValue:W.watchedTheme})===z.StdTheme.Dark?H:Z;return s.createElement(F,{className:Nt.noResultsDesktop},!Bt&&s.createElement(k.Icon,{icon:t,className:Nt.emptyIcon}),s.createElement("div",{className:Nt.emptyText},u.t(null,void 0,r(76822))))}const _t=(0,h.getDefaultSearchSource)(),At=52;function Dt(e){const{mode:t,setMode:n,setSelectedIndex:o,isMobile:a,selectedSearchSource:l,setSelectedSearchSource:c,isAllSearchSourcesSelected:p,selectedSymbolType:g,setSelectedSymbolType:y,symbolSearchContent:S,setSymbolSearchContent:x,searchRef:w,setSearchSpreads:k,showSpreadActions:C,selectedItem:E,forceUpdate:R,placeholder:T,initialScreen:N,footer:B,searchInput:M,upperCaseEnabled:F,externalInput:_,handleKeyDown:D,customSearchSymbols:P,filterQueryParams:O,searchSources:U,symbolSearchState:Q,setSymbolSearchState:V,onEmptyResults:W,overrideQueryParams:z,getFiltersBySymbolType:H,showRecents:Z,searchInitiationPoint:q}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext),$=P??oe,G=(0,s.useRef)(t);G.current=t;const j=(0,s.useRef)(new AbortController),[J,X]=(0,s.useState)(0),Y=(0,s.useRef)(0),[re,ce]=(0,s.useState)(S.token),ie=(0,s.useRef)(null),ue=(0,s.useRef)(null),de=(0,s.useRef)({
selectedIndexValue:-1,searchTokenValue:"",searchSpreadsValue:!0}),me=(0,s.useRef)(null),he=(0,s.useRef)(null),pe=(0,s.useRef)(null),{broker:ge=null,brokerId:ve,brokerTitle:be,brokerLogoInfo:ye,isBrokerChecked:Se=!1,setIsBrokerChecked:xe=()=>{},unhideSymbolSearchGroups:we=""}={brokerId:void 0,brokerTitle:void 0,brokerLogoInfo:void 0};(0,s.useEffect)((()=>()=>{j.current.abort(),Pe(),Oe()}),[]),(0,s.useEffect)((()=>{w?.current&&ce(w.current.value)}),[]),(0,s.useEffect)((()=>{const e=w.current;if(e)return e.addEventListener("input",Te),e.addEventListener("focus",Ae),e.addEventListener("select",Re),e.addEventListener("click",Re),e.addEventListener("keyup",De),_&&D&&e.addEventListener("keydown",D),()=>{e&&(e.removeEventListener("input",Te),e.removeEventListener("focus",Ae),e.removeEventListener("select",Re),e.removeEventListener("click",Re),e.removeEventListener("keyup",De),_&&D&&e.removeEventListener("keydown",D))}}),[D]),(0,s.useEffect)((()=>{Boolean(N)&&""===re.trim()?x((e=>{const t=Boolean(l&&U.length>1&&!(0,h.exchangeSelectDisabled)(g)),r=H(g);return{...e,tabSelectFilters:r,currentSymbolType:g,canChangeExchange:t,withFilters:Boolean(t||r?.length),token:re,currentTabAvailableSearchSources:U,currentSelectedSearchSource:l}})):(x((e=>({...e,symbolStartIndex:0}))),Be(re,g,l).then((()=>{ie.current&&(ie.current.scrollTop=0)})))}),[re,g,l,Se,N,O]),(0,s.useEffect)((()=>{if(!E||!w.current)return;if(!d.enabled("show_spread_operators"))return w.current.value=E.symbol,void R();const e=ne(E)?E.exchange:E.parent.exchange;let t;t="contracts"in E&&E.contracts?.length?E.contracts[0]:E;const r={name:t.symbol,exchange:e,prefix:t.prefix,fullName:t.full_name},[n,o]=v(w.current,r,F);w.current.value=n,w.current.setSelectionRange(o,o),R()}),[E]);const ke=N??"div",Ce=Boolean(N)&&"symbolSearch"!==t,Ee=M??L.DialogSearch,Ie=(0,s.useMemo)((()=>({listRef:ue,resetRecommends:_e,updateRecommends:Be,searchToken:re,emptyTextClassName:Nt.emptyText,isBrokerChecked:Se,symbolSearchState:Q,currentMode:G})),[ue,re,Se,Q,G,O]);return s.createElement(K.SymbolSearchDialogBodyContext.Provider,{value:Ie},!(_&&"symbolSearch"===t)&&s.createElement(Ee,{reference:w,className:i()(Nt.search,F&&Nt.upperCase),placeholder:T||u.t(null,void 0,r(8573))},C&&s.createElement(fe,{state:de,update:Ne})),Ce?s.createElement(ke,null):s.createElement(Mt,{otherSymbolsCount:J,onListTouchMove:function(){w.current?.blur()},onChangeSymbolTypeFilter:function(e){const{id:t}=e;y(t),o(-1)},onResetFilters:function(){h.isSeparateSymbolSearchTabs?"resetFilter"===Q?y((0,h.getAllSymbolTypesValue)()):_t&&c(_t):(y((0,h.getAllSymbolTypesValue)()),_t&&c(_t));xe(!1),a||w.current?.focus()},brokerTitle:be,brokerLogoInfo:ye,isBrokerActive:Se,onBrokerToggle:xe,listRef:ue,listWrapRef:ie,onLoadMoreSymbols:function(){"loadingWithPaginated"!==Q&&Be(re,S.currentSymbolType,l,S.symbolStartIndex)},canLoadMore:0!==S.symbolsRemaining}),B);function Le(){if(!w.current)return;const[e,t,r]=b(w.current,F);Y.current=t,de.current={selectedIndexValue:-1,searchSpreadsValue:(0,m.isSpread)(r),searchTokenValue:e},
me.current||(me.current=setTimeout(Ne,0))}function Re(){if(!w.current)return;const[,e]=b(w.current,F);e!==Y.current&&Le()}function Te(){d.enabled("show_spread_operators")?Le():w.current&&(de.current={selectedIndexValue:-1,searchSpreadsValue:!1,searchTokenValue:w.current.value},me.current||(me.current=setTimeout(Ne,0)))}function Ne(){const{selectedIndexValue:e,searchTokenValue:t,searchSpreadsValue:r}=de.current;me.current=null,(0,ee.unstable_batchedUpdates)((()=>{k(r),o(e),ce(F?t.toUpperCase():t)}))}async function Be(e,t,r,n){try{"noop"===Q?V("loading"):n?V("loadingWithPaginated"):(Pe(),Oe(),he.current=setTimeout((()=>{const r=Boolean(l&&U.length>1&&!(0,h.exchangeSelectDisabled)(t)),n=H(t);x({token:e,canChangeExchange:r,tabSelectFilters:n,withFilters:Boolean(r||n?.length),currentSymbolType:t,currentSelectedSearchSource:l,currentTabAvailableSearchSources:U,renderSymbolSearchList:[],symbolsRemaining:0,symbolStartIndex:0}),V("loading")}),500)),Ue();(0,h.getAllSymbolTypesValue)();const o=!1;let a;if(Se&&ge){a=(await(0,te.respectAbort)(j.current.signal,ge.accountMetainfo())).prefix}const s=d.enabled("show_spread_operators")?f(e)??a??r?.getRequestExchangeValue():l?.getRequestExchangeValue(),c=f(e)?void 0:(r||l)?.getRequestCountryValue(),[i,u]=await Promise.all([Fe(j.current.signal,e,t,r,s,c,n),o&&!n?getRecent():Promise.resolve([])]),m=u.filter((e=>s?e.exchange?.toLowerCase()===s.toLowerCase():!c||e.country?.toLowerCase()===c.toLowerCase())),p=new Set(m.map((e=>`${e.exchange}_${e.symbol}`))),g=i.symbols.filter((e=>!p.has(`${e.exchange}_${e.symbol}`)));let v=function(e,t=window.ChartApiInstance.symbolsGrouping()){const r={},n=[];for(let o=0;o<e.length;++o){const a=e[o];if(a.prefix||Array.isArray(a.contracts))return e;const l=t[a.type];if(void 0===l){n.push(a);continue}const s=l.exec(a.symbol);if(s){const e=s[1];let t;r.hasOwnProperty(e)?t=r[e]:(t=n.length,r[e]=t,n.push({type:a.type,symbol:e,exchange:a.exchange,description:a.description,full_name:a.exchange+":"+e,contracts:[]})),n[t].contracts?.push(a)}else n.push(a)}return n}([...m,...g]);if(n&&(v=[...S.renderSymbolSearchList,...v]),!v.length)return x((r=>{const n=Boolean(l&&U.length>1&&!(0,h.exchangeSelectDisabled)(t)),o=H(t);return{...r,canChangeExchange:n,tabSelectFilters:o,token:e,symbolsRemaining:0,withFilters:Boolean(n||o?.length),currentSymbolType:t,currentSelectedSearchSource:l,currentTabAvailableSearchSources:U}})),Pe(),V("empty"),void Me();Pe(),x((r=>{const n=Boolean(l&&U.length>1&&!(0,h.exchangeSelectDisabled)(t)),o=H(t);return{...r,canChangeExchange:n,tabSelectFilters:o,renderSymbolSearchList:v,token:e,symbolsRemaining:i.symbols_remaining,withFilters:Boolean(n||o?.length),currentSymbolType:t,currentSelectedSearchSource:l,currentTabAvailableSearchSources:U,symbolStartIndex:r.symbolStartIndex+i.symbols.length}})),V("good")}catch(e){(0,te.skipAbortError)(e)}}function Me(){W&&(pe.current=setTimeout((()=>W()),1e3))}async function Fe(e,t,r,n,o,a,l){const s={serverHighlight:!1,text:d.enabled("show_spread_operators")?(0,m.shortName)(t):w.current?.value,exchange:o,
country:a,type:r,lang:window.language||"",sortByCountry:void 0,brokerId:ve,onlyTradable:Boolean(ve)&&Se,unhideSymbolSearchGroups:we,signal:e,start:l,filterQueryParams:O,overrideQueryParams:z,searchInitiationPoint:q},c=(0,ae.getSearchRequestDelay)();return void 0!==c&&await(0,te.delay)(e,c),$(s)}function _e(){Ue(),V("empty"),ce(""),k(!1),x((e=>({...e,symbolStartIndex:0}))),Pe()}function Ae(){"watchlist"===G.current&&(n("symbolSearch"),(0,le.trackEvent)("Watchlist","Mobile SS","Go to SS page"))}function De(e){switch((0,se.hashFromEvent)(e)){case 37:case 39:Re()}}function Pe(){he.current&&clearTimeout(he.current)}function Oe(){pe.current&&clearTimeout(pe.current)}function Ue(){j.current.abort(),j.current=new AbortController}}var Pt=r(48199),Ot=r(97514),Ut=r(58442),Qt=r(1765);function Vt(e){const[t,r]=(0,s.useState)((()=>{const{defaultSearchSource:t,searchSources:r}=e,n=Qt.getValue("symboledit.exchangefilter","");return r.find((e=>e.value()===n))||t}));return[t,(0,s.useCallback)((e=>{var t;r(e),t=e,Qt.setValue("symboledit.exchangefilter",t.value())}),[])]}function Wt(e){const{selectedSymbolSettingsKey:t="symboledit.filter"}=e,[r,n]=(0,s.useState)((()=>{if(1===e.types.length)return e.types[0].value;const r=Qt.getValue(t,(0,h.getAllSymbolTypesValue)());return e.types.find((e=>e.value===r))?r:(0,h.getAllSymbolTypesValue)()}));return[r,(0,s.useCallback)((e=>{n(e),function(e,t="symboledit.filter"){Qt.setValue(t,e)}(e,t)}),[t])]}var zt=r(46043),Kt=r(82708),Ht=r(88145),Zt=r(76460),qt=r(88716);const $t=!1,Gt=(0,h.getAvailableSearchSources)(),jt=(0,h.getDefaultSearchSource)(),Jt=d.enabled("uppercase_instrument_names");function Xt(e){const{onClose:t,symbolTypeFilter:n,initialMode:o,defaultValue:a="",showSpreadActions:l,hideMarkedListFlag:c,selectSearchOnInit:i=!0,onSearchComplete:m,dialogTitle:p=u.t(null,void 0,r(51165)),placeholder:g,fullscreen:f,initialScreen:b,wrapper:w,dialog:k,contentItem:C,footer:E,searchInput:L,emptyState:R,autofocus:N,dialogWidth:M,onKeyDown:F,searchSourcesScreen:_,customSearchSymbols:A,isDisableFiltering:D,disableRecents:P,shouldReturnFocus:O,onSymbolFiltersParamsChange:U,onEmptyResults:Q,enableOptionsChain:V,overrideQueryParams:W,hiddenFilterIds:z,showRecents:K=!0,searchInitiationPoint:H="symbolSearch",selectedSymbolSettingsKey:Z,filterValuesSettingsKey:q}=e,$=(0,s.useMemo)((()=>{if(D)return[];const t=e.symbolTypes??(0,h.getAvailableSymbolTypes)();return n?n(t):t}),[]),j=void 0!==e.input,J=D?[]:Gt,[X,Y]=(0,s.useState)((()=>or(a,V)?"options":o)),[ee,te]=(0,s.useState)((()=>or(a,V))),[re,ae]=(0,s.useState)((()=>null)),le=(0,s.useRef)(function(e,t){const r=or(e,t);return(0,h.isOptionDefaultValue)(e)?r??e.value:e}(a,V)),[ce,ie]=Vt({searchSources:J,defaultSearchSource:jt}),[ue,de]=[],[me,he]=Wt({types:$,selectedSymbolSettingsKey:Z}),[pe,ge]=[{},()=>{}],[fe,ve]=(0,s.useState)(!1),[be,ye]=(0,s.useState)(-1),[Se,xe]=(0,s.useState)("noop"),we=h.isSeparateSymbolSearchTabs?ue?.[me]||jt:ce,ke=(0,s.useMemo)((()=>{if(!h.isSeparateSymbolSearchTabs)return J;return J.filter((e=>{const t=TAB_SOURCE_FILTER_MAP[me]
;if(!t)return!1;if(!me)return!0;const r=e.group();return r===ExchangeGroup.AllExchanges||r&&t.value.includes(r)}))}),[J,me]),Ce=(0,s.useCallback)((e=>{const t=h.isSeparateSymbolSearchTabs?TAB_SELECT_FILTER_MAP:void 0;if(t)return z?.length?t[e]?.filter((e=>!z.includes(e.id))):t[e]}),[z]),[Ee,Ie]=(0,s.useState)((()=>{const e=Boolean(ce&&Gt.length>1&&!(0,h.exchangeSelectDisabled)(me)),t=Ce(me);return{canChangeExchange:e,tabSelectFilters:t,withFilters:Boolean(e||t?.length),renderSymbolSearchList:[],token:le.current,symbolsRemaining:0,currentSymbolType:me,currentSelectedSearchSource:we,currentTabAvailableSearchSources:ke,symbolStartIndex:0}})),Le=(0,s.useCallback)((e=>{trackEvent("New SS",me,"Change sources"),de?.(me,e),Ie((t=>({...t,currentSelectedSearchSource:e})))}),[me,Ie]),Re=(0,s.useRef)(e.input??null),[Ne,Be]=(0,s.useState)(!1),Me=(0,zt.useForceUpdate)(),[Fe,_e]=(0,s.useState)(new Set),{broker:Ae=null,brokerId:De,unhideSymbolSearchGroups:Pe="",displayBrokerSymbol:Oe=!1}={brokerId:void 0};(0,s.useLayoutEffect)((()=>{!Re?.current||!j&&Boolean(Re.current?.value)||(j||"compare"===X||(Re.current.value=le.current),!N||j&&"symbolSearch"!==X||Re.current.focus())}),[X]),(0,s.useEffect)((()=>{Re?.current&&i&&N&&Re.current.select()}),[]);const Ue=(0,s.useMemo)((()=>Ee.renderSymbolSearchList.reduce(((e,t)=>{const r=tr(t),n=Fe.has(r);return e.push(t),n&&t.contracts&&e.push(...t.contracts.map((e=>({...e,parent:t})))),e}),[])),[Ee.renderSymbolSearchList,Fe]),Qe=(0,s.useRef)(null);(0,s.useEffect)((()=>{-1!==be&&Qe.current?.scrollIntoView({block:"nearest"})}),[be,Qe]);const Ve=y.includes(me),We=(0,s.useMemo)((()=>Ue.map(((e,t)=>{if(ne(e)){const r=tr(e),n=e.contracts?Fe.has(r):void 0,o=t===be,a=Ee.renderSymbolSearchList.findIndex((t=>t.symbol===e.symbol&&t.exchange===e.exchange))+1;return{key:t,numberInList:a,id:r,title:er(e,Oe),description:e.description,isOffset:!1,onClick:Je.bind(null,e,a),providerId:e.provider_id,source:e.source,source2:e.source2,country:e.country?.toLocaleLowerCase(),type:e.type,exchangeName:null===e.exchange?void 0:e.exchange,exchangeTooltip:"",prefix:e.prefix||void 0,marketType:(0,Ot.marketType)(e.type,e.typespecs,!1),hideMarketType:Ve,isEod:e.params?.includes("eod")&&"economic"!==e.type,isYield:(0,Ht.isYield)(e),isExpanded:n,onExpandClick:e.contracts?Xe.bind(null,r):void 0,fullSymbolName:e.contracts?Ut.QualifiedSources.fromSymbolSearchResult(e,e.contracts[0]):Ut.QualifiedSources.fromSymbolSearchResult(e),itemRef:o?Qe:void 0,isSelected:t===be,hideMarkedListFlag:c,item:e,logoId:e.logoid,currencyLogoId:e["currency-logoid"],baseCurrencyLogoId:e["base-currency-logoid"],sourceLogoId:e.source_logoid,shortName:(0,Kt.safeShortName)(Ut.QualifiedSources.fromSymbolSearchResult(e)),currencyCode:e.currency_code,isPrimary:e.is_primary_listing,isPromo:e.is_promo}}{const{parent:r}=e,n=tr(r),o=t===be,a=Ee.renderSymbolSearchList.findIndex((e=>e.symbol===r.symbol&&e.exchange===r.exchange))+1;return{key:t,numberInList:a,id:n+e.symbol,dangerousTitleHTML:er(e,Oe),
dangerousDescriptionHTML:`${r.description}`+(e.description?` (${e.description})`:""),isOffset:!0,isEod:e.params?.includes("eod"),isYield:(0,Ht.isYield)(e),onClick:Ye.bind(null,e.parent,e,a),providerId:r.provider_id,country:r.country?.toLowerCase(),sourceLogoId:r.source_logoid,type:r.type,exchangeName:null===r.exchange?void 0:r.exchange,exchangeTooltip:"",marketType:(0,Ot.marketType)(r.type,e.typespecs,!1),hideMarketType:Ve,fullSymbolName:Ut.QualifiedSources.fromSymbolSearchResult(e.parent,e),itemRef:o?Qe:void 0,isSelected:o,hideMarkedListFlag:c,item:e}}}))),[Ee.renderSymbolSearchList,Fe,X,be,F]),ze=(0,s.useMemo)((()=>function(e,t,r){const n=new Map(t?.map((e=>[e.id,e.urlParam]))),o=r[e];let a;if(o){a={};for(const[e,t]of Object.entries(o)){const r=n.get(e);r&&(a[r]=t)}}return a}(me,Ce(me),pe)),[me,Ce,pe]),Ke=(0,s.useMemo)((()=>Ee.renderSymbolSearchList.slice(0,20).map((e=>e.contracts?Ut.QualifiedSources.fromSymbolSearchResult(e,e.contracts[0]):Ut.QualifiedSources.fromSymbolSearchResult(e)))),[Ee.renderSymbolSearchList]);(0,s.useEffect)((()=>{if(!U)return;const e=["resetFilter","resetTabFilter","empty"].includes(Se)?[]:Ke,t={...ze,result_list:e};if(t.search_type||(t.search_type="bitcoin,crypto"===me?"crypto":me),!h.isSeparateSymbolSearchTabs)return t.exchange=we?.getRequestCountryValue()??null,void U(t);if(me){const e=we?.getRequestCountryValue()??null;e&&(t.country=e);const r=we?.getRequestExchangeValue()??null;r&&(t.exchange=r)}U(t)}),[me,ze,Ke,we,Se]);const He=(0,s.useMemo)((()=>{if(A)return A}),[me,A,ze,V]),Ze=k??nr,qe=Ze!==nr&&!j,$e=(e,r)=>({mode:X,setMode:Y,selectedSearchSource:we,setSelectedSearchSource:h.isSeparateSymbolSearchTabs?Le:ie,isAllSearchSourcesSelected:B.isAllSearchSourcesSelected,allSearchSourcesTitle:h.isSeparateSymbolSearchTabs?TAB_SOURCE_FILTER_MAP[Ee.currentSymbolType]?.allSearchSourcesTitle:void 0,selectedSymbolType:me,setSelectedSymbolType:he,selectedIndex:be,setSelectedIndex:ye,onClose:t,setSymbolSearchContent:Ie,symbolSearchContent:Ee,searchRef:Re,cachedInputValue:le,searchSpreads:fe,setSearchSpreads:ve,handleListWidth:et,isSmallWidth:Ne,feedItems:We,isMobile:e,showSpreadActions:l,selectSearchOnInit:i,isTablet:r,selectedItem:Ue[be],forceUpdate:Me,placeholder:g,initialScreen:b,toggleExpand:Xe,openedItems:Fe,onSubmit:nt,onSearchComplete:m,footer:E,symbolTypes:$,contentItem:C,searchInput:L,emptyState:R,autofocus:N,upperCaseEnabled:Jt,externalInput:j,handleKeyDown:qe?void 0:rt,customSearchSymbols:He,searchSources:ke,selectedFilterValues:pe,setSelectedFilterValues:ge,filterQueryParams:ze,symbolSearchState:Se,setSymbolSearchState:xe,onEmptyResults:void 0,overrideQueryParams:W,getFiltersBySymbolType:Ce,showRecents:K,searchInitiationPoint:H}),Ge=_??G,je=w??"div";return s.createElement(je,null,s.createElement(S.MatchMediaMap,{rules:x.DialogBreakpoints},(({TabletSmall:e,TabletNormal:n})=>s.createElement(I.SymbolSearchItemsDialogContext.Provider,{value:$e(e,n)},s.createElement(Ze,{..."exchange"===X?{title:u.t(null,void 0,r(28628)),dataName:"exchanges-search",render:()=>s.createElement(Ge,{
searchSources:Ee.currentTabAvailableSearchSources}),additionalHeaderElement:s.createElement(Pt.BackButton,{onClick:()=>Y("symbolSearch"),className:qt.backButton,size:"medium","aria-label":u.t(null,{context:"input"},r(41256)),preservePaddings:!0,flipIconOnRtl:(0,Te.isRtl)()}),additionalElementPos:"before"}:{title:p,dataName:"symbol-search-items-dialog",render:()=>s.createElement(Dt,null),additionalElementPos:"after"},shouldReturnFocus:O,fullScreen:f,onClose:t,onClickOutside:t,onKeyDown:qe?void 0:rt,isOpened:!0})))));function Je(e,t,r){if(e.contracts)return e.contracts.length?void Ye(e,e.contracts[0],t,r):void Xe(tr(e));Ye(e,void 0,t,r)}function Xe(e){const t=new Set(Fe);t.has(e)?t.delete(e):t.add(e),_e(t)}function Ye(e,r,n,o){const a=r||e,{exchange:l}=e;if(d.enabled("show_spread_operators")){const e={name:a.symbol,exchange:l,prefix:a.prefix,fullName:a.full_name};if(fe)return tt(e),void Me();if(Re.current&&Re.current.value.includes(","))return void tt(e)}ot([{resolved:!0,symbol:Ut.QualifiedSources.fromSymbolSearchResult(e,r),result:a}],n,o),t()}function et(e){Be("fixed"===M||e<=640)}function tt(e){if(!Re.current)return;const[t,r]=v(Re.current,e,Jt);Re.current.value=t,Re.current.setSelectionRange(r,r),Re.current.focus()}function rt(e){if(e.target&&e.target!==Re.current)return;const r=(0,se.hashFromEvent)(e);switch(r){case 13:e.preventDefault(),nt(!0);break;case 27:if(e.preventDefault(),"exchange"===X)return void Y("symbolSearch");if("options"===X)return Y("symbolSearch"),te(null),void ae(null);t()}switch((0,T.mapKeyCodeToDirection)(r)){case"blockPrev":if(e.preventDefault(),0===be||"good"!==Se)return;if(-1===be)return void ye(0);ye(be-1);break;case"blockNext":if(e.preventDefault(),be===We.length-1||"good"!==Se)return;ye(be+1);break;case"inlinePrev":{if(-1===be)return;const t=We[be],{id:r,isOffset:n,onExpandClick:o}=t;if(!n&&r&&Fe.has(r)&&Boolean(o)&&!Boolean(F)&&(e.preventDefault(),Xe(r)),o)return void F?.(e,!0);break}case"inlineNext":{if(-1===be)return;const t=We[be],{id:r,isOffset:n,onExpandClick:o}=t;if(n||!r||Fe.has(r)||!Boolean(o)||Boolean(F)||(e.preventDefault(),Xe(r)),o)return void F?.(e,!0);break}}F?.(e)}function nt(e){if(!Re.current)return;let r=Re.current.value;if(d.enabled("show_spread_operators")&&fe&&r){const n=We[be];if(n&&void 0!==n.isExpanded&&(n.onClick(),r=Re.current.value),r.includes(",")){return ot(rr(r).map(Yt),null),void(e&&t())}return ot([{symbol:Jt?r.toUpperCase():r,resolved:!1}],null),void(e&&t())}if(r.includes(","))return ot(rr(r).map(Yt),null),void(e&&t());if(-1!==be){We[be].onClick()}else if(d.enabled("allow_arbitrary_symbol_search_input")){const n=Jt?r.toUpperCase():r;if(n&&""!==n.trim()){const e=rr(n);if($t||void 0===De||-1!==n.indexOf(":")){ot(e.map(Yt),null)}else(function(e){let t=!1;return Promise.all(e.map((e=>-1!==e.indexOf(":")||t?Promise.resolve({symbol:e,resolved:!1}):(t=!0,async function(e){await(Ae?.accountMetainfo());const t=void 0,r=await oe({strictMatch:!0,serverHighlight:!1,text:e,lang:window.language||"",brokerId:De,onlyTradable:!0,unhideSymbolSearchGroups:Pe,exchange:t})
;if(0!==r.symbols.length){const e=r.symbols[0],{contracts:t}=e,n=t&&t.length>0?t[0]:void 0,o=e.prefix||e.exchange,a=n?n.symbol:e.symbol;if(o&&a)return{symbol:Ut.QualifiedSources.fromSymbolSearchResult(e,n),resolved:!0,result:e}}return{symbol:e,resolved:!1}}(e)))))})(e).then((e=>ot(e,null)))}e&&t()}else if("empty"!==Se&&We.length>0){We[0].onClick()}}async function ot(e,t,r){const[{result:n,symbol:o,resolved:a}]=e,l=Re.current?.value,s=!r||(0,Zt.isKeyboardClick)(r);let c=fe;void 0!==n&&ne(n)&&(c="spread"===n.type),m(e,{symbolType:me,isKeyboardEvent:s,numberInList:t,inputValue:l,isSpread:c})}}function Yt(e){return{symbol:Jt?e.toUpperCase():e,resolved:!1}}function er(e,t){const{broker_symbol:r,symbol:n,description:o}=e;return`${"spread"===e.type?o:n}${t&&r?` (${r})`:""}`}function tr(e){return e.symbol+e.exchange+e.description}function rr(e){return e.split(",").map((e=>e.trim())).filter((e=>""!==e))}function nr(e){const{isMobile:t,isTablet:r}=(0,A.useEnsuredContext)(I.SymbolSearchItemsDialogContext);return s.createElement(w.AdaptivePopupDialog,{...e,className:i()(qt.dialog,!t&&(r?qt.tabletDialog:qt.desktopDialog)),backdrop:!0,draggable:!1})}function or(e,t){return null}},81319:(e,t,r)=>{"use strict";r.d(t,{createGroupColumns:()=>h,exchangeSelectDisabled:()=>m,getAllSymbolTypesValue:()=>d,getAvailableSearchSources:()=>i,getAvailableSymbolTypes:()=>u,getDefaultSearchSource:()=>c,getSymbolFullName:()=>s,isOptionDefaultValue:()=>g,isSeparateSymbolSearchTabs:()=>p});var n=r(11542),o=r(20882);class a{constructor(e){this._exchange=e}value(){return this._exchange.value}name(){return(0,o.isAllSearchSourcesSelected)(this)?n.t(null,void 0,r(34040)):this._exchange.name}description(){return this._exchange.desc}country(){return this._exchange.country}providerId(){return this._exchange.providerId}group(){return this._exchange.group}includes(e){return function(e,t){const r=t.toLowerCase(),{name:n,desc:o,searchTerms:a}=e;return n.toLowerCase().includes(r)||o.toLowerCase().includes(r)||void 0!==a&&a.some((e=>e.toLowerCase().includes(r)))}(this._exchange,e)}getRequestExchangeValue(){return this._exchange.value}getRequestCountryValue(){}}var l=r(3685);function s(e){if(e.fullName)return e.fullName;let t;return t=e.prefix||e.exchange?(e.prefix||e.exchange)+":"+e.name:e.name,t.replace(/<\/?[^>]+(>|$)/g,"")}function c(){const e=i();return e.find(o.isAllSearchSourcesSelected)||e[0]||null}function i(){return(0,o.createSearchSources)(a,(0,l.getExchanges)())}function u(){return window.ChartApiInstance.supportedSymbolsTypes()}function d(){return""}function m(e){return!!p&&!TAB_SOURCE_FILTER_MAP[e]}function h(e,t=2){if(0===e.length)return[];if(1===t)return[e];const r=Math.floor(e.length/2)+e.length%2;return[e.slice(0,r),e.slice(r)].filter((e=>e.length>0))}const p=!1;function g(e){return"string"!=typeof e}},82708:(e,t,r)=>{"use strict";r.d(t,{safeShortName:()=>o});var n=r(59149);function o(e){try{return(0,n.shortName)(e)}catch(t){return e}}},44254:(e,t,r)=>{"use strict";r.d(t,{factorOutBraces:()=>h,getTokenAtPos:()=>m,isBinaryOperator:()=>u,
isSpread:()=>d,parseToken:()=>g,shortName:()=>p,symbolTokenEscapeRe:()=>l,tokenize:()=>i});var n,o=r(18429);!function(e){e.Symbol="symbol",e.IncompleteSymbol="incompleteSymbol",e.Number="number",e.IncompleteNumber="incompleteNumber",e.SeparatorPrefix="separatorPrefix",e.OpenBrace="openBrace",e.CloseBrace="closeBrace",e.Plus="plus",e.Minus="minus",e.Multiply="multiply",e.Divide="divide",e.Power="power",e.Whitespace="whitespace",e.Unparsed="unparsed"}(n||(n={}));const a=/(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF^])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!:.&])*|'.+?'/,l=/[+\-/*]/,s=(e=!1)=>({number:e?/\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))(?:\s*(?=\s*$))?|\.\d+(?:\s*(?=\s*$))?/:/\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/,incompleteNumber:/\./,symbol:a,incompleteSymbol:/'[^']*/,separatorPrefix:o.SEPARATOR_PREFIX,openBrace:"(",closeBrace:")",plus:"+",minus:"-",multiply:"*",divide:"/",power:"^",whitespace:/[\0-\x20\s]+/,unparsed:null}),c=(e=s())=>new RegExp(Object.values(e).map((e=>{return null===e?"":`(${"string"==typeof e?(t=e,t.replace(/[\^$()[\]{}*+?|\\]/g,"\\$&")):e.source})`;var t})).filter((e=>""!==e)).concat(".").join("|"),"g");function i(e,t=s()){if(!e)return[];const r=[],n=Object.keys(t);let o;const a=c(t);for(;o=a.exec(e);){let e=!1;for(let t=n.length;t--;)if(o[t+1]){n[t]&&r.push({value:o[t+1],type:n[t],precedence:0,offset:o.index}),e=!0;break}e||r.push({value:o[0],type:"unparsed",precedence:0,offset:o.index})}return r}function u(e){return"plus"===e||"minus"===e||"multiply"===e||"divide"===e||"power"===e}function d(e){return e.length>1&&e.some((e=>u(e.type)))}function m(e,t){for(let r=0;r<e.length;r++){const n=e[r],o="symbol"===n.type||"incompleteSymbol"===n.type||"number"===n.type;if(n.offset<=t&&t<=n.offset+n.value.length&&o)return n}return null}function h(e){e=function(e){const t=[];for(const r of e)"whitespace"!==r.type&&t.push(r);return t}(e);const t=[],r=[];let n;for(let o=0;o<e.length;o++){const a=e[o];switch(a.type){case"plus":case"minus":case"multiply":case"divide":case"power":r.length&&r[r.length-1].minPrecedence>a.precedence&&(r[r.length-1].minPrecedence=a.precedence);break;case"openBrace":n={minPrecedence:1/0,openBraceIndex:o},r.push(n);break;case"closeBrace":{if(n=r.pop(),!n)break;const a=e[n.openBraceIndex-1],l=e[o+1],s=a&&("plus"===a.type||"multiply"===a.type);(!u(l?.type)||l?.precedence<=n.minPrecedence)&&(!u(a?.type)||a?.precedence<n?.minPrecedence||a?.precedence===n?.minPrecedence&&s)&&(t.unshift(n.openBraceIndex),t.push(o),r.length&&r[r.length-1].minPrecedence>n.minPrecedence&&(r[r.length-1].minPrecedence=n.minPrecedence))}}}for(let r=t.length;r--;)e.splice(t[r],1);return e}function p(e){return h(i(e)).reduce(((e,t)=>{if("symbol"!==t.type)return e+t.value;const[,r]=g(t);return r?e+r:e}),"")}function g(e){const t=/^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i.exec(e.value);return null===t?[void 0,void 0]:[t[1],t[2]]}},618:(e,t,r)=>{"use strict";r.d(t,{removeUsdFromCryptoPairLogos:()=>l,resolveLogoUrls:()=>a});var n=r(36279);const o=(0,n.getLogoUrlResolver)()
;function a(e,t=n.LogoSize.Medium){const r=e.logoid,a=e["base-currency-logoid"],l=e["currency-logoid"],s=r&&o.getSymbolLogoUrl(r,t);if(s)return[s];const c=a&&o.getSymbolLogoUrl(a,t),i=l&&o.getSymbolLogoUrl(l,t);return c&&i?[c,i]:c?[c]:i?[i]:[]}function l(e){return 2!==e.length?e:function(e){return e.some((e=>s(e)))}(e)&&!function(e){return e.some((e=>e.includes("country")&&!s(e)))}(e)?e.filter((e=>!s(e))):e}function s(e){return!1}},39330:(e,t,r)=>{"use strict";r.d(t,{getBlockStyleClasses:()=>c,getLogoStyleClasses:()=>i});var n=r(97754),o=r.n(n),a=r(52292),l=r(37643),s=r.n(l);function c(e,t){return o()(s().pair,s()[e],t)}function i(e,t=2,r=!0){return o()(s().logo,s()[e],s().skeleton,a.skeletonTheme.wrapper,!r&&s().empty,1===t&&o()(a.skeletonTheme.animated))}},58492:(e,t,r)=>{"use strict";r.d(t,{getStyleClasses:()=>n.getStyleClasses});var n=r(53885)},97006:(e,t,r)=>{"use strict";r.d(t,{createRegExpList:()=>s,getHighlightedChars:()=>c,rankedSearch:()=>l});var n=r(87465);function o(e){return e.replace(/[!-/[-^{-}?]/g,"\\$&")}var a;function l(e){const{data:t,rules:r,queryString:o,isPreventedFromFiltering:a,primaryKey:l,secondaryKey:s=l,optionalPrimaryKey:c,tertiaryKey:i}=e;return t.map((e=>{const t=c&&e[c]?e[c]:e[l],a=e[s],u=i&&e[i];let d,m=0;return r.forEach((e=>{const{re:r,fullMatch:l}=e;if(r.lastIndex=0,(0,n.isString)(t)&&t&&t.toLowerCase()===o.toLowerCase())return m=4,void(d=t.match(l)?.index);if((0,n.isString)(t)&&l.test(t))return m=3,void(d=t.match(l)?.index);if((0,n.isString)(a)&&l.test(a))return m=2,void(d=a.match(l)?.index);if((0,n.isString)(a)&&r.test(a))return m=2,void(d=a.match(r)?.index);if(Array.isArray(u))for(const e of u)if(l.test(e))return m=1,void(d=e.match(l)?.index)})),{matchPriority:m,matchIndex:d,item:e}})).filter((e=>a||e.matchPriority)).sort(((e,t)=>{if(e.matchPriority<t.matchPriority)return 1;if(e.matchPriority>t.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndex<t.matchIndex)return-1}return 0})).map((({item:e})=>e))}function s(e,t){const r=[],n=e.toLowerCase(),a=e.split("").map(((e,t)=>`(${0!==t?`[/\\s-]${o(e)}`:o(e)})`)).join("(.*?)")+"(.*)";return r.push({fullMatch:new RegExp(`(${o(e)})`,"i"),re:new RegExp(`^${a}`,"i"),reserveRe:new RegExp(a,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(n)&&r.push({fullMatch:t[n],re:t[n],fuzzyHighlight:!1}),r}function c(e,t,r){const n=[];return e&&r?(r.forEach((e=>{const{fullMatch:r,re:o,reserveRe:a}=e;r.lastIndex=0,o.lastIndex=0;const l=r.exec(t),s=l||o.exec(t)||a&&a.exec(t);if(e.fuzzyHighlight=!l,s)if(e.fuzzyHighlight){let e=s.index;for(let t=1;t<s.length;t++){const r=s[t],o=s[t].length;if(t%2){const t=r.startsWith(" ")||r.startsWith("/")||r.startsWith("-");n[t?e+1:e]=!0}e+=o}}else for(let e=0;e<s[0].length;e++)n[s.index+e]=!0})),n):n}!function(e){e[e.Low=0]="Low",e[e.MediumLow=1]="MediumLow",e[e.Medium=2]="Medium",e[e.High=3]="High",e[e.Highest=4]="Highest"}(a||(a={}))},24637:(e,t,r)=>{"use strict";r.d(t,{HighlightedText:()=>s})
;var n=r(50959),o=r(97754),a=r(97006),l=r(68222);function s(e){const{queryString:t,rules:r,text:s,className:c}=e,i=(0,n.useMemo)((()=>(0,a.getHighlightedChars)(t,s,r)),[t,r,s]);return n.createElement(n.Fragment,null,i.length?s.split("").map(((e,t)=>n.createElement(n.Fragment,{key:t},i[t]?n.createElement("span",{className:o(l.highlighted,c)},e):n.createElement("span",null,e)))):s)}},78036:(e,t,r)=>{"use strict";r.d(t,{useEnsuredContext:()=>a});var n=r(50959),o=r(50151);function a(e){return(0,o.ensureNotNull)((0,n.useContext)(e))}},46043:(e,t,r)=>{"use strict";r.d(t,{useForceUpdate:()=>n.useForceUpdate});var n=r(125)},29006:(e,t,r)=>{"use strict";r.d(t,{useResizeObserver:()=>n.useResizeObserver});var n=r(67842)},77975:(e,t,r)=>{"use strict";r.d(t,{useWatchedValueReadonly:()=>o});var n=r(50959);const o=(e,t=!1,r=[])=>{const o="watchedValue"in e?e.watchedValue:void 0,a="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[l,s]=(0,n.useState)(o?o.value():a);return(t?n.useLayoutEffect:n.useEffect)((()=>{if(o){s(o.value());const e=e=>s(e);return o.subscribe(e),()=>o.unsubscribe(e)}return()=>{}}),[o,...r]),l}},84877:(e,t,r)=>{"use strict";r.d(t,{MatchMediaMap:()=>l});var n=r(50959),o=r(66783),a=r.n(o);class l extends n.Component{constructor(e){super(e),this._handleMediaChange=()=>{const e=c(this.state.queries,((e,t)=>t.matches));let t=!1;for(const r in e)if(e.hasOwnProperty(r)&&this.state.matches[r]!==e[r]){t=!0;break}t&&this.setState({matches:e})};const{rules:t}=this.props;this.state=s(t)}shouldComponentUpdate(e,t){return!a()(e,this.props)||(!a()(t.rules,this.state.rules)||!a()(t.matches,this.state.matches))}componentDidMount(){this._migrate(null,this.state.queries)}componentDidUpdate(e,t){a()(e.rules,this.props.rules)||this._migrate(t.queries,this.state.queries)}componentWillUnmount(){this._migrate(this.state.queries,null)}render(){return this.props.children(this.state.matches)}static getDerivedStateFromProps(e,t){if(a()(e.rules,t.rules))return null;const{rules:r}=e;return s(r)}_migrate(e,t){null!==e&&c(e,((e,t)=>{t.removeEventListener("change",this._handleMediaChange)})),null!==t&&c(t,((e,t)=>{t.addEventListener("change",this._handleMediaChange)}))}}function s(e){const t=c(e,((e,t)=>window.matchMedia(t)));return{queries:t,matches:c(t,((e,t)=>t.matches)),rules:{...e}}}function c(e,t){const r={};for(const n in e)e.hasOwnProperty(n)&&(r[n]=t(n,e[n]));return r}},63932:(e,t,r)=>{"use strict";r.d(t,{Spinner:()=>i});var n=r(50959),o=r(97754),a=r.n(o),l=r(58096),s=(r(40987),r(53895)),c=r.n(s);function i(e){const{ariaLabel:t,ariaLabelledby:r,className:o,style:s,size:i,id:u,disableSelfPositioning:d}=e;return n.createElement("div",{className:a()(o,"tv-spinner","tv-spinner--shown",`tv-spinner--size_${l.spinnerSizeMap[i||l.DEFAULT_SIZE]}`,d&&c().disableSelfPositioning),style:s,role:"progressbar",id:u,"aria-label":t,"aria-labelledby":r})}},10381:(e,t,r)=>{"use strict";r.d(t,{ToolWidgetCaret:()=>c});var n=r(50959),o=r(97754),a=r(9745),l=r(86186),s=r(578);function c(e){const{dropped:t,className:r}=e;return n.createElement(a.Icon,{
className:o(r,l.icon,{[l.dropped]:t}),icon:s})}},99343:e=>{e.exports={button:"button-GwQQdU8S",pressed:"pressed-GwQQdU8S",hover:"hover-GwQQdU8S",clicked:"clicked-GwQQdU8S",isInteractive:"isInteractive-GwQQdU8S",accessible:"accessible-GwQQdU8S",isGrouped:"isGrouped-GwQQdU8S",isActive:"isActive-GwQQdU8S",isOpened:"isOpened-GwQQdU8S",isDisabled:"isDisabled-GwQQdU8S",text:"text-GwQQdU8S",icon:"icon-GwQQdU8S",endIcon:"endIcon-GwQQdU8S"}},79619:e=>{e.exports={title:"title-u3QJgF_p"}},46003:(e,t,r)=>{"use strict";r.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>s,ToolWidgetButton:()=>c});var n=r(50959),o=r(97754),a=r(9745),l=r(99343);const s=l,c=n.forwardRef(((e,t)=>{const{tag:r="div",icon:s,endIcon:c,isActive:i,isOpened:u,isDisabled:d,isDisabledAppearance:m,isGrouped:h,isHovered:p,isClicked:g,onClick:f,text:v,textBeforeIcon:b,title:y,theme:S=l,className:x,forceInteractive:w,"data-name":k,"data-tooltip":C,tooltipPosition:E,children:I,isPressed:L,...R}=e,T=o(x,S.button,{"apply-common-tooltip":Boolean(y||C),"common-tooltip-vertical":Boolean(C)&&"vertical"===E,[S.isActive]:i,[S.isOpened]:u,[S.isInteractive]:(w||Boolean(f))&&!d&&!m,[S.isDisabled]:Boolean(d||m),[S.isGrouped]:h,[S.hover]:p,[S.clicked]:g,[S.pressed]:L}),N=s&&("string"==typeof s?n.createElement(a.Icon,{className:S.icon,icon:s}):n.cloneElement(s,{className:o(S.icon,s.props.className)}));return"button"===r?n.createElement("button",{...R,ref:t,type:"button",className:o(T,S.accessible),disabled:d&&!m,onClick:f,title:y,"data-name":k,"data-tooltip":C},b&&v&&n.createElement("div",{className:o("js-button-text",S.text)},v),N,!b&&v&&n.createElement("div",{className:o("js-button-text",S.text)},v),I):n.createElement("div",{...R,ref:t,"data-role":"button",className:T,onClick:d?void 0:f,title:y,"data-name":k,"data-tooltip":C},b&&v&&n.createElement("div",{className:o("js-button-text",S.text)},v),N,!b&&v&&n.createElement("div",{className:o("js-button-text",S.text)},v),c&&n.createElement(a.Icon,{icon:c,className:l.endIcon}),I)}))},43845:(e,t,r)=>{"use strict";r.d(t,{ToolWidgetMenuSummary:()=>l});var n=r(50959),o=r(97754),a=r(79619);function l(e){return n.createElement("div",{className:o(e.className,a.title)},e.children)}},97514:(e,t,r)=>{"use strict";r.d(t,{VISIBLE_TYPESPECS:()=>l,marketType:()=>s});var n=r(11542);const o=new Map([["cfd",()=>n.t(null,void 0,r(79599))],["dr",()=>n.t(null,void 0,r(47268))],["index",()=>n.t(null,void 0,r(87464))],["forex",()=>n.t(null,void 0,r(17770))],["right",()=>n.t(null,{context:"symbol_type"},r(53174))],["bond",()=>n.t(null,void 0,r(42358))],["bitcoin",()=>n.t(null,void 0,r(46128))],["crypto",()=>n.t(null,void 0,r(46128))],["economic",()=>n.t(null,void 0,r(54094))],["indices",()=>n.t(null,void 0,r(90250))],["futures",()=>n.t(null,void 0,r(4723))],["stock",()=>n.t(null,void 0,r(76752))],["commodity",()=>n.t(null,void 0,r(70932))]]);r(40167);const a=new Map,l=new Set(["cfd","spreadbet","defi","yield","government","corporate","mutual","money","etf","unit","trust","reit","etn","convertible","closedend","crypto","oracle","ndf"]);function s(e,t=[],r=!0){
const n=t.filter((e=>l.has(e))),s=`${e}_${n.sort().join("_")}`,c=a.get(s);if(void 0!==c)return c;const i=r?function(e){return o.get(e)?.()||e}(e):e,u=Boolean(t.length)?[i,...n].join(" "):i;return a.set(s,u),u}},52019:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M13.35 5.35a.5.5 0 0 0-.7-.7L9 8.29 5.35 4.65a.5.5 0 1 0-.7.7L8.29 9l-3.64 3.65a.5.5 0 0 0 .7.7L9 9.71l3.65 3.64a.5.5 0 0 0 .7-.7L9.71 9l3.64-3.65z"/></svg>'},89882:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M5 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm6 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></svg>'},2057:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M9 14a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm8 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/></svg>'},95694:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M17 22.5 6.85 12.35a.5.5 0 0 1 0-.7L17 1.5"/></svg>'},49498:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M12 16.5 4.85 9.35a.5.5 0 0 1 0-.7L12 1.5"/></svg>'},60176:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M9.5 12.5 3.9 7.37a.5.5 0 0 1 0-.74L9.5 1.5"/></svg>'},35369:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" width="12" height="12" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M8 10.5 3.85 6.35a.5.5 0 0 1 0-.7L8 1.5"/></svg>'},58478:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" width="10" height="10" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.2" d="M7 8.5 3.85 5.35a.5.5 0 0 1 0-.7L7 1.5"/></svg>'},73063:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M17 22.5 6.85 12.35a.5.5 0 0 1 0-.7L17 1.5"/></svg>'},14127:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M12 16.5 4.85 9.35a.5.5 0 0 1 0-.7L12 1.5"/></svg>'},18073:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M9.5 12.5 3.9 7.37a.5.5 0 0 1 0-.74L9.5 1.5"/></svg>'},99243:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" width="12" height="12" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M8 10.5 3.85 6.35a.5.5 0 0 1 0-.7L8 1.5"/></svg>'},42576:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" width="10" height="10" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 8.5 3.85 5.35a.5.5 0 0 1 0-.7L7 1.5"/></svg>'},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},91540:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M2.5 14.5c1.68-1.26 3.7-2 6.5-2s4.91.74 6.5 2m-13-11c1.68 1.26 3.7 2 6.5 2s4.91-.74 6.5-2"/><circle stroke="currentColor" cx="9" cy="9" r="8.5"/><path stroke="currentColor" d="M13.5 9c0 2.42-.55 4.58-1.4 6.12-.87 1.56-1.98 2.38-3.1 2.38s-2.23-.82-3.1-2.38c-.85-1.54-1.4-3.7-1.4-6.12s.55-4.58 1.4-6.12C6.77 1.32 7.88.5 9 .5s2.23.82 3.1 2.38c.85 1.54 1.4 3.7 1.4 6.12z"/></svg>'},66619:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" width="120" height="120"><path fill="#B2B5BE" fill-rule="evenodd" d="M23 39a36 36 0 0 1 72 0v13.15l15.1 8.44 2.16 1.2-1.64 1.86-12.85 14.59 3.73 4.03L98.57 85 95 81.13V117H77v-12H67v9H50V95H40v22H23V81.28l-3.8 3.61-2.76-2.9 4.05-3.84-12.77-14.5-1.64-1.86 2.16-1.2L23 52.34V39Zm72 36.33 10.98-12.46L95 56.73v18.6ZM23 56.92v18.03L12.35 62.87 23 56.92ZM59 7a32 32 0 0 0-32 32v74h9V91h18v19h9v-9h18v12h10V39A32 32 0 0 0 59 7Zm-7 36a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm19 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/></svg>'},67562:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" width="120" height="120"><path fill="#131722" fill-rule="evenodd" d="M23 39a36 36 0 0 1 72 0v13.15l15.1 8.44 2.16 1.2-1.64 1.86-12.85 14.59 3.73 4.03L98.57 85 95 81.13V117H77v-12H67v9H50V95H40v22H23V81.28l-3.8 3.61-2.76-2.9 4.05-3.84-12.77-14.5-1.64-1.86 2.16-1.2L23 52.34V39Zm72 36.33 10.98-12.46L95 56.73v18.6ZM23 56.92v18.03L12.35 62.87 23 56.92ZM59 7a32 32 0 0 0-32 32v74h9V91h18v19h9v-9h18v12h10V39A32 32 0 0 0 59 7Zm-7 36a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm19 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/></svg>'},69533:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'},486:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M2.5 6.5h9"/><circle fill="currentColor" cx="7" cy="3" r="1"/><circle fill="currentColor" cx="7" cy="10" r="1"/></svg>'},63861:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><g fill="none" fill-rule="evenodd" stroke="currentColor"><path stroke-linecap="square" stroke-linejoin="round" d="M3.5 10V2.5L1 5"/><path stroke-linecap="square" d="M1.5 10.5h4"/><path d="M8 12l3-11"/></g></svg>'},81574:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M2.5 6.5h8"/></svg>'},32617:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M3 10l7-7M3 3l7 7"/></svg>'},35119:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M2.5 6.5h8m-4-4v8"/></svg>'},69135:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M3 7l3.5-3.5L10 7"/></svg>'},54313:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M18.5 12.5a6 6 0 1 1-12 0 6 6 0 0 1 12 0Zm-1.25 5.8a7.5 7.5 0 1 1 1.06-1.06l4.22 4.23.53.53L22 23.06l-.53-.53-4.22-4.22Z"/></svg>'},6347:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" d="M17.4 17.5a7 7 0 1 0-4.9 2c1.9 0 3.64-.76 4.9-2zm0 0l5.1 5"/></svg>'}}]);