(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[9374],{24674:e=>{e.exports={brand:"brand-H6_2ZGVv",hovered:"hovered-H6_2ZGVv",background:"background-H6_2ZGVv","states-without-bg":"states-without-bg-H6_2ZGVv",disableActiveStateStyles:"disableActiveStateStyles-H6_2ZGVv",dimmed:"dimmed-H6_2ZGVv",selected:"selected-H6_2ZGVv",activated:"activated-H6_2ZGVv",gray:"gray-H6_2ZGVv","light-gray":"light-gray-H6_2ZGVv",xsmall:"xsmall-H6_2ZGVv",small:"small-H6_2ZGVv",medium:"medium-H6_2ZGVv",large:"large-H6_2ZGVv",textButton:"textButton-H6_2ZGVv",link:"link-H6_2ZGVv",content:"content-H6_2ZGVv",withStartIcon:"withStartIcon-H6_2ZGVv","start-icon":"start-icon-H6_2ZGVv",withEndIcon:"withEndIcon-H6_2ZGVv","end-icon":"end-icon-H6_2ZGVv",iconOnly:"iconOnly-H6_2ZGVv",caret:"caret-H6_2ZGVv",semibold18px:"semibold18px-H6_2ZGVv",semibold16px:"semibold16px-H6_2ZGVv",semibold14px:"semibold14px-H6_2ZGVv",regular12px:"regular12px-H6_2ZGVv",regular14px:"regular14px-H6_2ZGVv",regular16px:"regular16px-H6_2ZGVv"}},51284:e=>{e.exports={"tablet-normal-breakpoint":"(max-width: 768px)","small-height-breakpoint":"(max-height: 360px)","tablet-small-breakpoint":"(max-width: 440px)"}},55083:e=>{e.exports={label:"label-ou2KkVr5",text:"text-ou2KkVr5",icon:"icon-ou2KkVr5"}},85448:e=>{e.exports={icon:"icon-OJpk_CAQ"}},36383:(e,t,o)=>{"use strict";o.d(t,{useOutsideEvent:()=>l});var n=o(50959),r=o(43010),i=o(27267);function l(e){const{click:t,mouseDown:o,touchEnd:l,touchStart:s,handler:a,reference:c}=e,u=(0,n.useRef)(null),d=(0,n.useRef)("undefined"==typeof window?0:new window.CustomEvent("timestamp").timeStamp);return(0,r.useIsomorphicLayoutEffect)((()=>{const e={click:t,mouseDown:o,touchEnd:l,touchStart:s},n=c?c.current:u.current;return(0,i.addOutsideEventListener)(d.current,n,a,document,e)}),[t,o,l,s,a]),c||u}},99054:(e,t,o)=>{"use strict";o.d(t,{setFixedBodyState:()=>c});const n=(()=>{let e;return()=>{if(void 0===e){const t=document.createElement("div"),o=t.style;o.visibility="hidden",o.width="100px",o.msOverflowStyle="scrollbar",document.body.appendChild(t);const n=t.offsetWidth;t.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",t.appendChild(r);const i=r.offsetWidth;t.parentNode?.removeChild(t),e=n-i}return e}})();function r(e,t,o){null!==e&&e.style.setProperty(t,o)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function l(e,t){return parseInt(i(e,t))}let s=0,a=!1;function c(e){const{body:t}=document,o=t.querySelector(".widgetbar-wrap");if(e&&1==++s){const e=i(t,"overflow"),s=l(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(r(o,"right",`${n()}px`),t.style.paddingRight=`${s+n()}px`,a=!0),t.classList.add("i-no-scroll")}else if(!e&&s>0&&0==--s&&(t.classList.remove("i-no-scroll"),a)){r(o,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=n()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},87896:(e,t,o)=>{"use strict";o.d(t,{createReactRoot:()=>d});var n=o(50959),r=o(32227),i=o(4237);const l=(0,n.createContext)({isOnMobileAppPage:()=>!1,isRtl:!1,
locale:"en",renderMode:"legacy"});var s=o(84015),a=o(24640);const c={iOs:"old",android:"new",old:"old",new:"new",any:"any"};function u(e){const[t]=(0,n.useState)({isOnMobileAppPage:e=>(0,s.isOnMobileAppPage)(c[e]),isRtl:(0,a.isRtl)(),locale:window.locale,renderMode:e.renderMode??"legacy"});return n.createElement(l.Provider,{value:t},e.children)}function d(e,t,o="legacy"){const l=n.createElement(u,{renderMode:o},e);if("modern"===o){const e=(0,i.createRoot)(t);return e.render(l),{render(t){e.render(n.createElement(u,{renderMode:o},t))},unmount(){e.unmount()}}}return r.render(l,t),{render(e){r.render(n.createElement(u,{renderMode:o},e),t)},unmount(){r.unmountComponentAtNode(t)}}}},73986:(e,t,o)=>{"use strict";o.d(t,{DialogBreakpoints:()=>r});var n=o(51284);const r={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},29562:(e,t,o)=>{"use strict";o.d(t,{SymbolSearchFlag:()=>g});var n=o(50959),r=o(97754),i=o.n(r),l=o(24633),s=o(36279);const a=o.p+"mock-dark.16b5f3a431f502b03ae3.svg",c=o.p+"mock-light.d201313017eb2c1b989f.svg";function u(e){return e===l.StdTheme.Dark?a:c}var d=o(77975),m=o(45345),p=o(50151);const v=s.LogoSize.Medium;var h=o(85448);function g(e){const{country:t,tooltip:o,providerId:r,sourceId:l,sourceLogoId:a,className:c}=e,g=(0,d.useWatchedValueReadonly)({watchedValue:m.watchedTheme}),[y,f]=(0,n.useState)(function({country:e,providerId:t,sourceId:o,sourceLogoId:n}){const r=(0,s.getLogoUrlResolver)();return i=>{const l=e=>r.getProviderLogoUrl(e,v),s=[{value:n,resolve:e=>r.getSymbolLogoUrl(e,v)},{value:o,resolve:l},{value:e,resolve:e=>r.getCountryFlagUrl(e.toUpperCase(),v)},{value:t,resolve:l}].find((({value:e})=>void 0!==e&&e.length>0));return void 0!==s?s.resolve((0,p.ensureDefined)(s.value)):u(i)}}({country:t,providerId:r,sourceId:l,sourceLogoId:a})(g));return n.createElement("img",{className:i()(c,"apply-common-tooltip",h.icon),crossOrigin:"","data-tooltip":o,src:y,onError:function(){f(u(g))}})}},90692:(e,t,o)=>{"use strict";o.d(t,{MatchMedia:()=>r});var n=o(50959);class r extends n.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addEventListener("change",this._handleChange)}_unsubscribe(e){e.removeEventListener("change",this._handleChange)}}},65718:(e,t,o)=>{"use strict";o.d(t,{Portal:()=>n.Portal,PortalContext:()=>n.PortalContext});var n=o(19250)},41954:e=>{e.exports={"tablet-small-breakpoint":"(max-width: 440px)",dialog:"dialog-mBXAEZtB",wrap:"wrap-mBXAEZtB",separator:"separator-mBXAEZtB",groupSeparator:"groupSeparator-mBXAEZtB",
widgetSeparator:"widgetSeparator-mBXAEZtB",firstGroup:"firstGroup-mBXAEZtB",row:"row-mBXAEZtB",item:"item-mBXAEZtB",menuButton:"menuButton-mBXAEZtB",multipleLinks:"multipleLinks-mBXAEZtB",title:"title-mBXAEZtB",valueItem:"valueItem-mBXAEZtB",copyButton:"copyButton-mBXAEZtB",sessionHeader:"sessionHeader-mBXAEZtB",sessionWidget:"sessionWidget-mBXAEZtB",timeZone:"timeZone-mBXAEZtB",link:"link-mBXAEZtB",icon:"icon-mBXAEZtB",startSlot:"startSlot-mBXAEZtB",endSlot:"endSlot-mBXAEZtB"}},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"}},25770:e=>{e.exports={icon:"icon-mwO_HX5L"}},46003:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>s,ToolWidgetButton:()=>a});var n=o(50959),r=o(97754),i=o(9745),l=o(99343);const s=l,a=n.forwardRef(((e,t)=>{const{tag:o="div",icon:s,endIcon:a,isActive:c,isOpened:u,isDisabled:d,isDisabledAppearance:m,isGrouped:p,isHovered:v,isClicked:h,onClick:g,text:y,textBeforeIcon:f,title:b,theme:w=l,className:S,forceInteractive:E,"data-name":_,"data-tooltip":x,tooltipPosition:I,children:N,isPressed:B,...k}=e,V=r(S,w.button,{"apply-common-tooltip":Boolean(b||x),"common-tooltip-vertical":Boolean(x)&&"vertical"===I,[w.isActive]:c,[w.isOpened]:u,[w.isInteractive]:(E||Boolean(g))&&!d&&!m,[w.isDisabled]:Boolean(d||m),[w.isGrouped]:p,[w.hover]:v,[w.clicked]:h,[w.pressed]:B}),C=s&&("string"==typeof s?n.createElement(i.Icon,{className:w.icon,icon:s}):n.cloneElement(s,{className:r(w.icon,s.props.className)}));return"button"===o?n.createElement("button",{...k,ref:t,type:"button",className:r(V,w.accessible),disabled:d&&!m,onClick:g,title:b,"data-name":_,"data-tooltip":x},f&&y&&n.createElement("div",{className:r("js-button-text",w.text)},y),C,!f&&y&&n.createElement("div",{className:r("js-button-text",w.text)},y),N):n.createElement("div",{...k,ref:t,"data-role":"button",className:V,onClick:d?void 0:g,title:b,"data-name":_,"data-tooltip":x},f&&y&&n.createElement("div",{className:r("js-button-text",w.text)},y),C,!f&&y&&n.createElement("div",{className:r("js-button-text",w.text)},y),a&&n.createElement(i.Icon,{icon:a,className:l.endIcon}),N)}))},46069:(e,t,o)=>{"use strict";o.r(t),o.d(t,{SymbolInfoDialogImpl:()=>fe});var n=o(50959),r=o(97754),i=o.n(r),l=o(11542),s=o(9745),a=o(17946),c=o(2948),u=o.n(c),d=o(24674),m=o.n(d);const p=e=>{const t=(0,n.useContext)(a.CustomBehaviourContext),{className:o,isSelected:r,isDimmed:l,isHovered:s,size:c="medium",color:u,startIcon:d,endIcon:p,showCaret:v,enableActiveStateStyles:h=t.enableActiveStateStyles,typography:g,iconOnly:y,isLink:f=!1,isActivated:b}=e
;return i()(o,m().textButton,f&&m().link,r&&m().selected,l&&m().dimmed,s&&m().hovered,m()[u],m()[c],d&&m().withStartIcon,y&&m().iconOnly,(v||p)&&m().withEndIcon,!h&&m().disableActiveStateStyles,g&&m()[g],b&&m().activated)};function v(e){return n.createElement(n.Fragment,null,n.createElement("span",{className:i()(m().background,e.statesWithoutBg&&m()["states-without-bg"])}),e.startIcon&&n.createElement(s.Icon,{...e.startIconAriaAttrs,className:m()["start-icon"],icon:e.startIcon}),n.createElement("span",{className:m().content},e.children),(e.endIcon||e.showCaret)&&(e=>n.createElement(s.Icon,{...e.showCaret?void 0:e.endIconAriaAttrs,className:i()(m()["end-icon"],e.showCaret&&m().caret),icon:e.showCaret?u():e.endIcon}))(e))}function h(e){const{reference:t,className:o,isSelected:r,isHovered:i,isDimmed:l,children:s,startIcon:a,startIconAriaAttrs:c,showCaret:u,color:d,endIcon:m,endIconAriaAttrs:h,size:g,typography:y,iconOnly:f,statesWithoutBg:b,isActivated:w,...S}=e;return n.createElement("button",{...S,className:p({className:o,isSelected:r,isHovered:i,startIcon:a,showCaret:u,endIcon:m,color:d,size:g,typography:y,iconOnly:f,isDimmed:l,isActivated:w}),ref:t},n.createElement(v,{showCaret:u,startIcon:a,startIconAriaAttrs:{...c},endIcon:m,endIconAriaAttrs:{...h},statesWithoutBg:b},s))}o(21593);o(49406);var g=o(79418),y=o(22166),f=o(1445);class b extends n.PureComponent{constructor(e){super(e),this._fullSessionScheduleViewModel=new y.FullSessionScheduleViewModel(e.source)}componentWillUnmount(){this._fullSessionScheduleViewModel.destroy()}render(){const{className:e,showAllDays:t,timeZoneClassName:o}=this.props;return this.props.source.marketStatusModel()?.futuresContractExpirationTime()?.expired().value()?null:n.createElement(f.FullSessionScheduleRenderer,{className:e,timezone:this._fullSessionScheduleViewModel.timezone(),now:this._fullSessionScheduleViewModel.currentTimeValue(),sessionDays:this._fullSessionScheduleViewModel.sessionsDays,showAllDays:t,timeZoneClassName:o})}}var w=o(46003),S=o(56616),E=o(90484),_=o(38780),x=o(83358);const I=(0,E.default)(N,1500);function N(){document.removeEventListener("scroll",N),document.removeEventListener("touchstart",N),document.removeEventListener("mouseout",N),(0,_.hide)()}const B=400;function k(e,t={}){const{initialDelay:n=B,leaveOnMouseOut:r,withoutThumbsupIcon:i,text:s=l.t(null,void 0,o(23339))}=t;(0,_.showOnElement)(e,{below:!0,tooltipDelay:n,content:{type:"html",data:`${s}${i?"":` <span style="vertical-align: middle;">${x}</span>`}`}}),document.addEventListener("scroll",N),document.addEventListener("touchstart",N),r||document.addEventListener("mouseout",N)}var V=o(81662),C=o(47531),A=o(68182),Z=o(92450),H=o(67330),M=o(41954);function G(e){const{onClose:t,isOpened:i,groups:s,statusProvider:a}=e,[c,u]=(0,n.useState)(!1),d=(0,n.useRef)(null),m=(0,n.useRef)(null),p=c?A:C;return(0,n.useEffect)((()=>{null!==m.current&&m.current()}),[c]),n.createElement(g.AdaptivePopupDialog,{ref:d,className:M.dialog,isOpened:i,title:l.t(null,void 0,o(17502)),onClose:t,onClickOutside:t,
dataName:"symbol-info-dialog",render:function({requestResize:e}){return m.current=e,n.createElement("div",{className:M.wrap,"data-symbol-info-dialog-content":!0},v(),s.flat().length&&a&&n.createElement("div",{className:r(M.separator,M.widgetSeparator)}),a&&n.createElement(n.Fragment,null,n.createElement("div",{className:M.sessionHeader},n.createElement("span",{className:M.title},l.t(null,void 0,o(94031))),n.createElement(h,{onClick:()=>u(!c),color:"light-gray",size:"small",startIcon:p},l.t(null,void 0,o(17606)))),n.createElement(b,{source:a,showAllDays:c,className:M.sessionWidget,timeZoneClassName:M.timeZone})))},showSeparator:!0});function v(){return s?s.map(((e,t)=>e.length?n.createElement(n.Fragment,{key:t},n.createElement("div",{className:0===t?M.firstGroup:void 0},function(e){const t=[];for(let o=0;o<e.length;o+=2)t.push(e.slice(o,o+2));return t.map(((e,t)=>n.createElement(L,{key:t,fields:e})))}(e)),t!==s.length-1&&n.createElement("div",{className:r(M.separator,M.groupSeparator)})):null)):null}}function L(e){return n.createElement("div",{className:M.row},e.fields.map(((e,t)=>{const o=function(e){const t=e.value||e.defValue||"-";return!1===e.capitalize||Array.isArray(t)?t:(0,V.capitalizeFirstLetter)(t)}(e);return Array.isArray(o)?n.createElement(D,{key:t,field:e,fieldValue:o}):n.createElement(O,{key:t,field:e,fieldValue:o})})))}function D(e){const{field:t,fieldValue:o}=e,r=(0,n.useMemo)((()=>o.map((e=>{try{return new URL(e)}catch(e){return}})).filter((e=>void 0!==e))),[o]),[i,...l]=r;return n.createElement("div",{className:M.item},n.createElement("span",{className:M.title},t.title),n.createElement("div",{className:M.multipleLinks},n.createElement(P,{value:U(i),startSlot:t.startSlot,endSlot:t.endSlot,canCopy:t.canCopy,link:o[0]}),l.length?n.createElement(ToolWidgetMenu,{className:M.menuButton,arrow:!1,closeOnClickOutside:!0,horizontalAttachEdge:HorizontalAttachEdge.Right,horizontalDropDirection:HorizontalDropDirection.FromRightToLeft,verticalAttachEdge:VerticalAttachEdge.AutoStrict,content:n.createElement(s.Icon,{icon:dotsIcon})},l.map((e=>n.createElement(PopupMenuItem,{suppressToolboxClick:!1,onClick:()=>window.open(e.href),label:U(e),key:e.href,toolbox:n.createElement(s.Icon,{className:M.icon,icon:H})})))):null))}function U(e){return e.hostname.replace(/^www\./g,"")}function O(e){const{field:t,fieldValue:o}=e;return n.createElement("div",{className:M.item},n.createElement("span",{className:M.title},t.title),n.createElement(P,{value:o,startSlot:t.startSlot,endSlot:t.endSlot,canCopy:t.canCopy,link:t.link}))}function P(e){const{value:t,canCopy:i,link:a,startSlot:c,endSlot:u}=e,d=(0,n.useRef)(null),m=a?"a":"div",p="-"!==t;return n.createElement("div",{className:M.valueItem},c&&p&&n.createElement("div",{className:M.startSlot},c),n.createElement(m,{href:a,target:"_blank",className:r(a&&M.link)},n.createElement("span",{ref:d},t),a&&n.createElement(s.Icon,{icon:H,className:M.icon})),i&&p&&n.createElement(w.ToolWidgetButton,{className:M.copyButton,onClick:async function(){await(0,S.copyToClipboard)({text:t}),
d.current&&(k(d.current,{initialDelay:0,leaveOnMouseOut:!0,text:l.t(null,void 0,o(17254))}),I())},icon:Z}),u&&p&&n.createElement("div",{className:M.endSlot},u))}var F=o(22613),Q=o(53107),R=o(57025);const z=new F.WatchedValue(!1);class T{constructor(e){this._symbolInfo=new F.WatchedValue(null),this._quotesProvider=new R.QuotesProvider("simple"),this._setSymbolInfo=e=>{this._marketStatusModel.setSymbolInfo(e)},this._symbol=e.pro_name,this._quotesProvider.setQuotesSessionSymbol(this._symbol),this._symbolInfo.setValue(e),this._marketStatusModel=new Q.MarketStatusModel(this._quotesProvider),this._symbolInfo.subscribe(this._setSymbolInfo,{callWithLast:!0})}destroy(){this._quotesProvider.destroy(),this._marketStatusModel.destroy(),this._symbolInfo.unsubscribe(this._setSymbolInfo)}symbol(){return new F.WatchedValue(this._symbol).readonly()}isSymbolInvalid(){return new F.WatchedValue(!1).readonly()}marketStatusModel(){return this._marketStatusModel}errorStatus(){return new F.WatchedValue(null).readonly()}symbolInfo(){return this._symbolInfo.readonly()}hidden(){return z.readonly()}dataProblemModel(){return null}dataUpdatedModeModel(){return null}async pineSourceCodeModel(){return null}alertSourceModel(){return null}}class W{constructor(e){this._adapter=new T(e)}destroy(){this._adapter.destroy()}getAdapter(){return this._adapter.marketStatusModel()?this._adapter:null}}var X=o(55279),q=o(37103);function $(e,t){const o=Math.floor(t/1e4)%1e4,n=Math.floor(t/100)%100-1,r=t%100;return e.format(new Date(Date.UTC(o,n,r)))}var j=o(29562),K=o(25770);function Y(e){return n.createElement(j.SymbolSearchFlag,{...e,className:K.icon})}var J=o(95059),ee=o(50151),te=o(67563),oe=o(97514);const ne=new Set(["cfd","etf","reit","etn","dr","cdi"]);function re(e,t){return(e.minmove2??0)>0&&!e.fractional&&0!==e.pricescale}function ie(e,t){return re(e)&&void 0!==e.pricescale?new te.PriceFormatter({priceScale:e.pricescale/(0,ee.ensureDefined)(e.minmove2)}).format((0,ee.ensureDefined)(e.minmove2)/e.pricescale):null}function le(e,t){const{minmov:n,pricescale:r,fractional:i,minmove2:s}=e;if(void 0===n||void 0===r)return null;if(i&&r&&n)return s?l.t(null,{context:"double fractional tick size",replace:{minmove2:String(s),pricescale:String(r/s)}},o(13197)):`${n}/${r}`;const{variable_tick_size:a,...c}=e;return(0,J.createSeriesFormatter)(c,"default").format(n/r)}function se(e,t){const{type:o="",typespecs:n=[]}=e;return[o,...n.filter((e=>oe.VISIBLE_TYPESPECS.has(e)))].map((e=>ne.has(e)?e.toUpperCase():e)).join(" ")}function ae(e,t){return!1}function ce(e,t){return!0}function ue(e,t){return"expiration"in e}const de=new Set(["stock","fund","dr","right","warrant","structured"]);var me=o(92315),pe=o(55083);function ve(e){const{className:t}=e;return n.createElement("span",{className:i()(t,pe.label)},n.createElement(s.Icon,{className:pe.icon,icon:me}),n.createElement("span",{className:pe.text},l.t(null,void 0,o(54602))))}var he=o(88145);var ge=o(87896);let ye;class fe{constructor(){this._container=null,this._rootInstance=null,this._renderDialog=e=>{
this._container||(this._container=document.createElement("div"));const t=n.createElement(G,{...e});this._rootInstance?this._rootInstance.render(t):this._rootInstance=(0,ge.createReactRoot)(t,this._container)},this._close=()=>{this._rootInstance?.unmount(),this._rootInstance=null},this._getVisibleURL=e=>{try{return new URL(e).hostname.replace(/^www\./g,"")}catch(e){return}}}async show(e){const t=e.symbolInfo;if(!t)return;let r;r=new W(t);const i=function(e){const t=(0,q.enabled)("show_exchange_logos");return[{title:l.t(null,void 0,o(99709)),group:1,propName:"name",getEndSlot:e=>{if((0,he.isSymbolDelisted)(e.typespecs))return n.createElement(ve,null)}},{title:l.t(null,void 0,o(78734)),group:1,propName:"description"},{title:l.t(null,void 0,o(12272)),group:1,propName:"front_contract",visibility:ae,canCopy:!0},{title:l.t(null,void 0,o(99804)),group:1,propName:"sector",visibility:(e,t)=>de.has(e.type??"")&&!!t?.sector},{title:l.t(null,void 0,o(7727)),group:1,propName:"industry",visibility:(e,t)=>de.has(e.type??"")&&!!t?.industry},{title:l.t(null,void 0,o(88104)),group:1,propName:"isin-displayed",canCopy:!0,visibility:(e,t)=>!1},{title:l.t(null,void 0,o(56536)),group:1,propName:"figi",canCopy:!0,getter:(e,t)=>e.figi&&e.figi["exchange-level"]?e.figi["exchange-level"]:null,visibility:(e,t)=>!1},{title:l.t(null,void 0,o(16045)),group:1,propName:"web_site_url",showURLAsValue:!0,capitalize:!1,visibility:(e,t)=>"stock"===e.type&&!!t?.web_site_url},{title:l.t(null,void 0,o(26931)),group:1,propName:"homepage",showURLAsValue:!0,capitalize:!1,visibility:(e,t)=>"fund"===e.type&&!!t?.homepage},{title:l.t(null,void 0,o(16045)),group:1,propName:"website",capitalize:!1,getter:(e,t)=>t?.website?t?.website:null,visibility:(e,t)=>!!t?.website?.length},{title:l.t(null,void 0,o(98413)),group:2,propName:"type",getter:se},{title:l.t(null,void 0,o(88191)),group:2,propName:"expiration",visibility:ue,formatter:$.bind(null,e.dateFormatter)},{title:l.t(null,void 0,o(81314)),group:2,propName:"pointvalue"},{title:l.t(null,void 0,o(22415)),group:2,propName:"listed_exchange",visibility:ce,getStartSlot:(e,o)=>{const r=o?.country_code??e.country,i=e.exchange_logo;return t?n.createElement(Y,{country:r,providerId:e.provider_id,sourceId:i}):void 0}},{title:l.t(null,void 0,o(86905)),group:2,propName:"exchange",visibility:ce,getter:J.getSymbolListedExchange},{title:l.t(null,void 0,o(97751)),group:2,propName:"source",getter:J.getSourceForEconomySymbol,visibility:(e,t)=>Boolean((0,J.getSourceForEconomySymbol)(e))},{title:l.t(null,void 0,o(81849)),group:2,propName:"currency_code",getter:(e,t)=>(0,J.symbolOriginalCurrency)(e,!0),visibility:(e,t)=>Boolean((0,J.symbolOriginalCurrency)(e,!0)),formatter:e=>e??"",defValue:""},{title:l.t(null,void 0,o(91563)),group:2,propName:"value_unit_id",getter:(t,o)=>e.unitDescription((0,J.measureUnitId)(t)),visibility:(t,o)=>Boolean((0,J.measureUnitId)(t)&&(0,J.isMeasureUnitSymbol)(t)&&e.showUnit),formatter:e=>e??"",defValue:""},{title:l.t(null,void 0,o(33564)),group:2,propName:"unit_id",getter:(t,o)=>e.unitDescription((0,
J.symbolOriginalUnit)(t,!!e.showUnit)),visibility:(t,o)=>Boolean((0,J.symbolOriginalUnit)(t,!!e.showUnit)),formatter:e=>e??"",defValue:""},{title:l.t(null,void 0,o(39245)),group:2,propName:"pip_size",getter:ie,visibility:re},{title:l.t(null,void 0,o(24431)),group:2,propName:"tick_size",getter:le}]}(e);(0,X.getAdditionalSymbolInfoFields)().forEach((e=>{i.push({title:e.title,propName:e.propertyName,group:3})})),this._retrieveValues(i,t),this._renderDialog(this._createDialogProps(i,r))}static getInstance(){return ye||(ye=new fe),ye}_createDialogProps(e,t){return{isOpened:!0,onClose:()=>{t?.destroy(),this._close()},groups:this._separateByGroups(e),statusProvider:t?.getAdapter()}}_setURLs(e,t){}_defaultFormatter(e){return e?.toString()??"-"}_setFieldValue(e,t){(void 0===e.value||t)&&(e.value=t)}_retrieveValues(e,t,o){const n=o??t;for(let r=0;r<e.length;r++){const i=e[r].getter,l=e[r].getStartSlot?.(t,o),s=e[r].getEndSlot?.(t,o);if(l&&(e[r].startSlot=l),s&&(e[r].endSlot=s),i){const n=i(t,o);null!==n&&this._setFieldValue(e[r],n);continue}const a=e[r].propName,c=a in n?a:void 0;if(void 0!==c){const t=n[c];this._setFieldValue(e[r],(e[r].formatter||this._defaultFormatter)(t))}}this._removeHiddenFields(t,e,o)}_removeHiddenFields(e,t,o){for(let n=0;n<t.length;n++){const r=t[n];void 0===r.visibility||r.visibility(e,o)||(t.splice(n,1),n--)}}_separateByGroups(e){const t={};return e.forEach((e=>{const o=e.group;t[o]||(t[o]=[]),t[o].push(e)})),Object.values(t)}async _getMarket(e){return null}}},97514:(e,t,o)=>{"use strict";o.d(t,{VISIBLE_TYPESPECS:()=>l,marketType:()=>s});var n=o(11542);const r=new Map([["cfd",()=>n.t(null,void 0,o(79599))],["dr",()=>n.t(null,void 0,o(47268))],["index",()=>n.t(null,void 0,o(87464))],["forex",()=>n.t(null,void 0,o(17770))],["right",()=>n.t(null,{context:"symbol_type"},o(53174))],["bond",()=>n.t(null,void 0,o(42358))],["bitcoin",()=>n.t(null,void 0,o(46128))],["crypto",()=>n.t(null,void 0,o(46128))],["economic",()=>n.t(null,void 0,o(54094))],["indices",()=>n.t(null,void 0,o(90250))],["futures",()=>n.t(null,void 0,o(4723))],["stock",()=>n.t(null,void 0,o(76752))],["commodity",()=>n.t(null,void 0,o(70932))]]);o(40167);const i=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=[],o=!0){const n=t.filter((e=>l.has(e))),s=`${e}_${n.sort().join("_")}`,a=i.get(s);if(void 0!==a)return a;const c=o?function(e){return r.get(e)?.()||e}(e):e,u=Boolean(t.length)?[c,...n].join(" "):c;return i.set(s,u),u}},81662:(e,t,o)=>{"use strict";function n(e){return e.charAt(0).toUpperCase()+e.substring(1)}o.d(t,{capitalizeFirstLetter:()=>n})},47531:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="m4.67 7.38.66-.76L9 9.84l3.67-3.22.66.76L9 11.16 4.67 7.38Z"/></svg>'},68182:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="m4.67 10.62.66.76L9 8.16l3.67 3.22.66-.76L9 6.84l-4.33 3.78Z"/></svg>'},83358:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><g clip-path="url(#clip0)"><path fill="#FFDB5E" d="M13.651 7.972c0-.168-.04-.325-.107-.468-.447-1.442-2.54-1.337-5.516-1.407-.498-.012-.213-.6-.038-1.89.113-.838-.428-2.127-1.337-2.127-1.5 0-.057 1.183-1.383 4.108-.708 1.562-2.291.687-2.291 2.257v3.573c0 .61.06 1.198.919 1.295.833.093.646.687 1.847.687h6.015a1.112 1.112 0 0 0 1.11-1.111c0-.254-.088-.486-.232-.673.34-.19.573-.55.573-.966a1.1 1.1 0 0 0-.232-.672c.341-.19.576-.55.576-.967 0-.303-.123-.578-.32-.779a1.105 1.105 0 0 0 .416-.86z"/><path fill="#EE9547" d="M9.673 9.083h2.867c.39 0 .757-.209.956-.544a.292.292 0 0 0-.502-.298.53.53 0 0 1-.454.259H9.604a.528.528 0 0 1 0-1.056h1.962a.292.292 0 0 0 0-.583H9.603a1.112 1.112 0 0 0-1.11 1.111c0 .342.158.644.4.848a1.107 1.107 0 0 0-.332.791c0 .343.16.646.404.85a1.105 1.105 0 0 0 .14 1.693 1.102 1.102 0 0 0 .042 1.52c.208.208.49.325.785.326h1.828a1.117 1.117 0 0 0 .956-.544.292.292 0 0 0-.502-.298.531.531 0 0 1-.454.258H9.932a.528.528 0 0 1 0-1.055H12.1a1.117 1.117 0 0 0 .956-.544.292.292 0 1 0-.501-.298.526.526 0 0 1-.454.259H9.745a.529.529 0 0 1 0-1.056h2.697a1.116 1.116 0 0 0 .956-.544.292.292 0 0 0-.501-.298.525.525 0 0 1-.455.259h-2.77a.529.529 0 0 1 0-1.056z"/></g><defs><clipPath id="clip0"><path fill="#fff" d="M0 0h12v12H0z" transform="translate(2 2)"/></clipPath></defs></svg>'},67330:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M4.5 3C3.67 3 3 3.67 3 4.5v9c0 .83.67 1.5 1.5 1.5h9c.83 0 1.5-.67 1.5-1.5V10h-1v3.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5H8V3H4.5ZM11 4h2.3L9.14 8.15l.7.7L14 4.71V7h1V3h-4v1Z"/></svg>'},92450:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M6.5 2C5.67 2 5 2.67 5 3.5v8c0 .83.67 1.5 1.5 1.5h8c.83 0 1.5-.67 1.5-1.5v-8c0-.83-.67-1.5-1.5-1.5h-8ZM6 3.5c0-.28.22-.5.5-.5h8c.28 0 .5.22.5.5v8a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-8Zm-3 3c0-.28.22-.5.5-.5H4V5h-.5C2.67 5 2 5.67 2 6.5v8c0 .83.67 1.5 1.5 1.5h8c.83 0 1.5-.67 1.5-1.5V14h-1v.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-8Z"/></svg>'}}]);