Files
ai/charting_library/bundles/4640.33223c06f4a77ba1c6a1.js

21 lines
60 KiB
JavaScript

(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4640],{53764:t=>{t.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"}},9338:t=>{t.exports={logo:"logo-PsAlMQQF",hidden:"hidden-PsAlMQQF",xxceptionallysmalldonotusebrv1023:"xxceptionallysmalldonotusebrv1023-PsAlMQQF",xxxsmall:"xxxsmall-PsAlMQQF",xxsmall:"xxsmall-PsAlMQQF",xsmall:"xsmall-PsAlMQQF",small:"small-PsAlMQQF",medium:"medium-PsAlMQQF",large:"large-PsAlMQQF",xlarge:"xlarge-PsAlMQQF",xxlarge:"xxlarge-PsAlMQQF",xxxlarge:"xxxlarge-PsAlMQQF",skeleton:"skeleton-PsAlMQQF",letter:"letter-PsAlMQQF"}},44396:t=>{t.exports={wrapper:"wrapper-TJ9ObuLF",animated:"animated-TJ9ObuLF",pulsation:"pulsation-TJ9ObuLF"}},80129:(t,e,s)=>{"use strict";s.d(e,{CircleLogo:()=>n,hiddenCircleLogoClass:()=>o});var l=s(79474),a=s(11808),i=s(9338);const o=s.n(i)().hidden;function n(t){const e=(0,a.isCircleLogoWithUrlProps)(t),[s,i]=(0,l.useState)(0),o=(0,l.useRef)(null),n=(0,a.getStyleClasses)(t.size,s,t.className),r=t.alt??t.title??"",u=e?r[0]:t.placeholderLetter;return(0,l.useEffect)((()=>i(o.current?.complete??!e?2:1)),[e]),e&&3!==s?l.createElement("img",{ref:o,className:n,crossOrigin:"",src:t.logoUrl,alt:r,title:t.title,loading:t.loading,onLoad:()=>i(2),onError:()=>i(3),"aria-label":t["aria-label"],"aria-hidden":t["aria-hidden"]}):l.createElement("span",{className:n,title:t.title,"aria-label":t["aria-label"],"aria-hidden":t["aria-hidden"]},u)}},11808:(t,e,s)=>{"use strict";s.d(e,{getStyleClasses:()=>r,isCircleLogoWithUrlProps:()=>u});var l=s(14487),a=s.n(l),i=s(90849),o=s(9338),n=s.n(o);function r(t,e=2,s){return a()(n().logo,n()[t],s,0===e||1===e?a()(i.skeletonTheme.wrapper,n().skeleton):n().letter,1===e&&i.skeletonTheme.animated)}function u(t){return"logoUrl"in t&&null!==t.logoUrl&&void 0!==t.logoUrl&&0!==t.logoUrl.length}},5944:(t,e,s)=>{"use strict";s.d(e,{useIsNonFirstRender:()=>a});var l=s(79474);function a(){return!function(){const[t,e]=(0,l.useState)(!0);return(0,l.useEffect)((()=>{e(!1)}),[]),t}()}},73064:(t,e,s)=>{"use strict";s.d(e,{useFunctionalRefObject:()=>i});var l=s(79474),a=s(69947);function i(t){const e=(0,l.useMemo)((()=>function(t){const e=s=>{t(s),e.current=s};return e.current=null,e}((t=>{n.current(t)}))),[]),s=(0,l.useRef)(null),i=e=>{if(null===e)return o(s.current,e),void(s.current=null);s.current!==t&&(s.current=t,o(s.current,e))},n=(0,l.useRef)(i);return n.current=i,(0,a.useIsomorphicLayoutEffect)((()=>{if(null!==e.current)return n.current(e.current),()=>n.current(null)}),[t]),e}function o(t,e){null!==t&&("function"==typeof t?t(e):t.current=e)}},11763:(t,e,s)=>{"use strict";s.d(e,{useMatchMedia:()=>i,useSafeMatchMedia:()=>a});var l=s(79474)
;function a(t,e=!1){const[s,a]=(0,l.useState)(e);return(0,l.useEffect)((()=>{const e=window.matchMedia(t);function s(){a(e.matches)}return s(),e.addEventListener("change",s),()=>{e.removeEventListener("change",s)}}),[t]),s}function i(t){const e=(0,l.useMemo)((()=>window.matchMedia(t).matches),[]);return a(t,e)}},9774:(t,e,s)=>{"use strict";s.d(e,{useMergedRefs:()=>i});var l=s(79474),a=s(16455);function i(t){return(0,l.useCallback)((0,a.mergeRefs)(t),t)}},90849:(t,e,s)=>{"use strict";s.d(e,{skeletonTheme:()=>a});var l=s(44396);const a=s.n(l)()},27914:(t,e,s)=>{"use strict";s.d(e,{getTextForTooltip:()=>o});var l=s(79474);const a=t=>(0,l.isValidElement)(t)&&Boolean(t.props.children),i=(t,e=!0)=>null==t||"boolean"==typeof t||"{}"===JSON.stringify(t)?"":t.toString()+(e?" ":""),o=t=>Array.isArray(t)||(0,l.isValidElement)(t)?l.Children.toArray(t).reduce(((t,e)=>{let s="";return s=(0,l.isValidElement)(e)&&a(e)?o(e.props.children):(0,l.isValidElement)(e)&&!a(e)?"":i(e),t.concat(s)}),"").trim():i(t,!1)},20833:(t,e,s)=>{"use strict";function l(t){const e=t.logo??null;if(!e){if("logoid"in t&&t.logoid)return{style:"single",logoid:t.logoid};const e="currency-logoid"in t?t["currency-logoid"]:null,s="base-currency-logoid"in t?t["base-currency-logoid"]:null;if(e&&s)return{style:"pair",logoid:s,logoid2:e};if(e||s)return{style:"single",logoid:e??s}}return e}s.d(e,{logoDataFromQuotes:()=>l})},20293:(t,e,s)=>{"use strict";s.d(e,{usePromise:()=>i});var l=s(79474),a=s(98947);function i(t,e,s){const[i,o]=(0,l.useState)(null);return(0,l.useEffect)((()=>{const s=new AbortController;let l=null;return(0,a.respectAbort)(s.signal,t()).then((t=>o(l=t))).catch(a.skipAbortError),()=>{s.abort(),l&&e&&e(l)}}),s?[...s]:void 0),i}},58530:(t,e,s)=>{"use strict";s.d(e,{useWatchedValueReadonly:()=>l.useWatchedValueReadonly});var l=s(57069)},49698:(t,e,s)=>{"use strict";s.d(e,{removeUsdFromCryptoPairLogos:()=>n,resolveLogoUrlsFromLogoData:()=>o});var l=s(83443),a=s(93645);const i=(0,a.getLogoUrlResolver)();function o(t,e=a.LogoSize.Medium){return("pair"===t.style?[t.logoid,t.logoid2]:[t.logoid]).map((t=>i.getSymbolLogoUrl(t,e))).filter(l.notNull)}function n(t){return 2!==t.length?t:function(t){return t.some((t=>r(t)))}(t)&&!function(t){return t.some((t=>t.includes("country")&&!r(t)))}(t)?t.filter((t=>!r(t))):t}function r(t){return!1}},8547:(t,e,s)=>{"use strict";s.d(e,{getBlockStyleClasses:()=>r,getLogoStyleClasses:()=>u});var l=s(14487),a=s.n(l),i=s(90849),o=s(53764),n=s.n(o);function r(t,e){return a()(n().pair,n()[t],e)}function u(t,e=2,s=!0){return a()(n().logo,n()[t],n().skeleton,i.skeletonTheme.wrapper,!s&&n().empty,1===e&&a()(i.skeletonTheme.animated))}},22082:(t,e,s)=>{"use strict";s.d(e,{CircleLogo:()=>l.CircleLogo,hiddenCircleLogoClass:()=>l.hiddenCircleLogoClass});var l=s(80129)},26191:(t,e,s)=>{"use strict";s.d(e,{getStyleClasses:()=>l.getStyleClasses});var l=s(11808)},73283:(t,e,s)=>{"use strict";function l(t,e,s={}){return Object.assign({},t,function(t,e,s={}){const l=Object.assign({},e);for(const a of Object.keys(e)){const i=s[a]||a
;i in t&&(l[a]=[t[i],e[a]].join(" "))}return l}(t,e,s))}s.d(e,{mergeThemes:()=>l})},46303:t=>{t.exports={"css-value-small-size":"18px","css-value-medium-size":"22px","css-value-large-size":"28px","css-value-border-radius-small-size":"9px","css-value-border-radius-medium-size":"11px","css-value-border-radius-large-size":"8px","css-value-vertical-padding-size":"16px","css-value-horizontal-padding-size":"16px","css-value-vertical-padding-size-first":"11px","css-value-vertical-padding-size-last":"10px",popupWidgetWrapper:"popupWidgetWrapper-Wu2pIo3E",popupWidgetWidth:"popupWidgetWidth-Wu2pIo3E",popupWidget:"popupWidget-Wu2pIo3E",large:"large-Wu2pIo3E",mobile:"mobile-Wu2pIo3E",desc:"desc-Wu2pIo3E",icon:"icon-Wu2pIo3E",small:"small-Wu2pIo3E",medium:"medium-Wu2pIo3E",title:"title-Wu2pIo3E",text:"text-Wu2pIo3E",item:"item-Wu2pIo3E",boldItem:"boldItem-Wu2pIo3E",action:"action-Wu2pIo3E",actionBtn:"actionBtn-Wu2pIo3E",additionalWidget:"additionalWidget-Wu2pIo3E"}},28007:t=>{t.exports={"css-value-small-size":"18px","css-value-medium-size":"22px","css-value-large-size":"28px","css-value-border-radius-small-size":"9px","css-value-border-radius-medium-size":"11px","css-value-border-radius-large-size":"8px",statusesWrap:"statusesWrap-Lgtz1OtS",statuses:"statuses-Lgtz1OtS",statusItem:"statusItem-Lgtz1OtS",statuses_hidden:"statuses_hidden-Lgtz1OtS",small:"small-Lgtz1OtS",medium:"medium-Lgtz1OtS",large:"large-Lgtz1OtS",blinking:"blinking-Lgtz1OtS","blinking-animation":"blinking-animation-Lgtz1OtS",marketStatusOpen:"marketStatusOpen-Lgtz1OtS",marketStatusClose:"marketStatusClose-Lgtz1OtS",marketStatusPre:"marketStatusPre-Lgtz1OtS",marketStatusPost:"marketStatusPost-Lgtz1OtS",marketStatusHoliday:"marketStatusHoliday-Lgtz1OtS",marketStatusDelisted:"marketStatusDelisted-Lgtz1OtS",marketStatusExpired:"marketStatusExpired-Lgtz1OtS",marketStatusCustom:"marketStatusCustom-Lgtz1OtS",invalidSymbol:"invalidSymbol-Lgtz1OtS",activeStrategy:"activeStrategy-Lgtz1OtS",alert:"alert-Lgtz1OtS",alertItemsContainer:"alertItemsContainer-Lgtz1OtS",alertItem:"alertItem-Lgtz1OtS",replayModeAutoPlay:"replayModeAutoPlay-Lgtz1OtS",replayModePause:"replayModePause-Lgtz1OtS",replayModePointSelect:"replayModePointSelect-Lgtz1OtS","blinking-animation-custom":"blinking-animation-custom-Lgtz1OtS",notAccurate:"notAccurate-Lgtz1OtS",openedInPineEditor:"openedInPineEditor-Lgtz1OtS",openedInDetachedPineEditor:"openedInDetachedPineEditor-Lgtz1OtS",delay:"delay-Lgtz1OtS",eod:"eod-Lgtz1OtS",dataProblemHigh:"dataProblemHigh-Lgtz1OtS",dataProblemLow:"dataProblemLow-Lgtz1OtS",hasError:"hasError-Lgtz1OtS",updateAvailable:"updateAvailable-Lgtz1OtS"}},79894:(t,e,s)=>{"use strict";s.d(e,{ChartModelMainSeriesStatusSourceAdapter:()=>c,ChartModelStatusSourceAdapter:()=>d});var l,a=s(85842),i=s(68657),o=s(89659),n=s(20707),r=s(62352),u=s(20737);!function(t){t[t.ForceDisableHiddenStateTimeoutMs=3500]="ForceDisableHiddenStateTimeoutMs"}(l||(l={}));class d{constructor(t,e){this._hidden=new o.WatchedValue(!1),this._symbol=null,this._isSymbolInvalid=null,this._visibilityCombiner=null,
this._symbolInfo=new o.WatchedValue(null).spawn(),this._source=t,t.properties().hasChild("symbol")&&(this._symbol=(0,n.createWVFromGetterAndSubscription)((()=>t.properties().symbol.value()),t.properties().symbol.listeners()));const s=[];if((0,u.isStudyLineTool)(t))s.push(t.onStatusChanged());else if((0,r.isStudy)(t)||(0,r.isStudyStub)(t))s.push(t.onStatusChanged(),t.onIsActualIntervalChange()),this._isSymbolInvalid=(0,n.createWVFromGetterAndSubscriptions)((()=>t.isSymbolInvalid()&&t.isActualInterval()),s),(0,r.isStudy)(t)?(this._visibilityCombiner=(0,i.combine)(((t,e)=>!t||!e),(0,n.createWVFromGetterAndSubscription)((()=>t.isVisible()),t.properties().childs().visible).ownership(),(0,n.createWVFromGetterAndSubscription)((()=>t.isActualInterval()),t.onIsActualIntervalChange()).ownership()),this._visibilityCombiner.subscribe((t=>this._hidden.setValue(t)),{callWithLast:!0})):this._hidden.setValue(!t.isVisible()||!t.isActualInterval());else{(0,a.assert)(t===e.mainSeries());const l=e.mainSeries();s.push(l.onStatusChanged()),this._isSymbolInvalid=(0,n.createWVFromGetterAndSubscriptions)((()=>l.isSymbolInvalid()),s),this._symbolInfo=(0,n.createWVFromGetterAndSubscription)(l.symbolInfo.bind(l),l.dataEvents().symbolResolved())}this._dataSourceErrorStatus=(0,n.createWVFromGetterAndSubscriptions)((()=>this._source.statusProvider({}).errorStatus()),s)}destroy(){this._symbol?.destroy(),this._isSymbolInvalid?.destroy(),this._dataSourceErrorStatus.destroy(),this._symbolInfo.destroy(),this._visibilityCombiner?.destroy()}entityId(){return this._source.id()}symbol(){return this._symbol}isSymbolInvalid(){return this._isSymbolInvalid}errorStatus(){return this._dataSourceErrorStatus}symbolInfo(){return this._symbolInfo}hidden(){return this._hidden.readonly()}marketStatusModel(){return this._source.marketStatusModel()}dataProblemModel(){return this._source.dataProblemModel()}dataUpdatedModeModel(){return this._source.dataUpdatedModeModel()}async pineSourceCodeModel(){return null}alertSourceModel(){return this._source.alertSourceModel()}isMainSeries(){return this._source.isMainSeries?.()??!1}}class c extends d{constructor(t,e){super(t,e),this._quotesData=new o.WatchedValue(null),this._forceDisableHiddenState=new o.WatchedValue(!0),this._forceDisableHiddenStateTimeout=null,this._series=t,this._marketStatus=t.marketStatusModel().status().spawn(),this._marketStatus.subscribe((t=>{null===t&&(null!==this._forceDisableHiddenStateTimeout&&clearTimeout(this._forceDisableHiddenStateTimeout),this._forceDisableHiddenState.setValue(!1),this._forceDisableHiddenStateTimeout=setTimeout((()=>{this._forceDisableHiddenStateTimeout=null,this._forceDisableHiddenState.setValue(!0)}),3500))}),{callWithLast:!0}),this._dataProblems=this._series.dataProblemModel().dataProblems().spawn(),this._marketStatus.subscribe(this._updateHiddenValue.bind(this)),this._dataProblems.subscribe(this._updateHiddenValue.bind(this)),this._forceDisableHiddenState.subscribe(this._updateHiddenValue.bind(this)),t.onStatusChanged().subscribe(this,this._updateHiddenValue),
this._updateHiddenValue()}quotesData(){return this._quotesData.readonly().spawn()}destroy(){this._marketStatus.destroy(),this._dataProblems.destroy(),this._series.onStatusChanged().unsubscribeAll(this),null!==this._forceDisableHiddenStateTimeout&&clearTimeout(this._forceDisableHiddenStateTimeout),super.destroy()}_updateHiddenValue(){const t=this._series.status(),e=this._forceDisableHiddenState.value()||12===t||4===t||null!==this._marketStatus.value()&&2!==t&&1!==t||this._dataProblems.value().some((t=>"high"===t.severity));this._hidden.setValue(!e)}}},40008:(t,e,s)=>{"use strict";s.d(e,{DataSourceStatusesWidgetState:()=>We});var l=s(89659),a=s(68657),i=s(37032),o=s(79474),n=s(81323),r=s(45327);class u{constructor(t){this._source=t,this._fullSessionScheduleViewModel=new n.FullSessionScheduleViewModel(t)}destroy(){this._fullSessionScheduleViewModel.destroy()}renderer(t,e){const s=this._source.marketStatusModel()?.status().value();return"expired"===s||"delisted"===s?null:(0,o.createElement)(r.FullSessionScheduleRenderer,{key:t,className:e,showAllDays:void 0,sessionDays:this._fullSessionScheduleViewModel.sessionsDays,now:this._fullSessionScheduleViewModel.currentTimeValue(),timezone:this._fullSessionScheduleViewModel.timezone()})}updateSource(t){this._source=t,this._fullSessionScheduleViewModel.destroy(),this._fullSessionScheduleViewModel=new n.FullSessionScheduleViewModel(t)}}var d=s(11284),c=s(91599),h=s(42897),m=s(40306),p=s(15692),_=s(73775),g=s(93060),S=s(79831),b=s(77650),w=s(94144),v=s(28849),y=s(33228),M=s(63006),f=s(45983),V=s(47118),k=s(18094),x=s(30708);const C=new Map([["small",g],["medium",S],["large",S]]),E=new Map([["small",b],["medium",w],["large",w]]),I=new Map([["small",v],["medium",y],["large",y]]),W=(new Map([["small",M],["medium",M],["large",M]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",f],["medium",V],["large",V]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",k],["medium",x],["large",x]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",""],["medium",""],["large",""]]),new Map([["small",""],["medium",""],["large",""]]),d.colorsPalette["color-delay-mode"]),T=d.colorsPalette["color-eod-mode"],P=d.colorsPalette["color-notaccurate-mode"],D=(d.colorsPalette["color-primary-symbol"],d.colorsPalette["color-halal"],d.colorsPalette["color-continuous"],d.colorsPalette["color-data-problem"],d.colorsPalette["color-data-problem"],d.colorsPalette["color-market-expired"],d.colorsPalette["color-grapes-purple-400"],d.colorsPalette["color-ripe-red-600"],d.colorsPalette["color-container-fill-primary-neutral-heavy"],d.colorsPalette["color-tan-orange-500"],c.t(null,void 0,s(28677))),A=c.t(null,void 0,s(97460)),z=c.t(null,void 0,s(30760)),F=(c.t(null,void 0,s(82001)),c.t(null,void 0,s(84767))),O=(c.t(null,void 0,s(38208)),c.t(null,void 0,s(24675)),c.t(null,void 0,s(68661)),c.t(null,void 0,s(57501)),
c.t(null,void 0,s(52500)),c.t(null,void 0,s(6508)),c.t(null,void 0,s(38004)),c.t(null,void 0,s(73682)),(t,e)=>(0,h.htmlEscape)(c.t(null,{plural:"{symbolName} data is delayed by {time} minutes because of exchange requirements.",count:e,replace:{symbolName:t,time:e.toString()}},s(57067)))),B=(0,h.htmlEscape)(c.t(null,void 0,s(13836))),L=(0,h.htmlEscape)(c.t(null,void 0,s(20738))),R=(0,h.htmlEscape)(c.t(null,void 0,s(15100))),N=(0,h.htmlEscape)(c.t(null,void 0,s(87272))),U=(0,h.htmlEscape)(c.t(null,void 0,s(27088))),H=(0,h.htmlEscape)(c.t(null,void 0,s(95300))),G=(0,h.htmlEscape)(c.t(null,void 0,s(33912))),Q=(0,h.htmlEscape)(c.t(null,void 0,s(89063))),K=(0,h.htmlEscape)(c.t(null,void 0,s(65052))),X=c.t(null,void 0,s(61926)),j=(c.t(null,{context:'Part of: "Real-time data for {symbolName} is provided by {exchange} exchange."'},s(32149)),c.t(null,{context:'Part of: "Real-time data for {symbolName} is provided by {exchange} exchange."'},s(9019)),c.t(null,void 0,s(63825))),J=c.t(null,void 0,s(82131)),$=c.t(null,void 0,s(19711)),q=(c.t(null,void 0,s(87206)),c.t(null,void 0,s(77776)),c.t(null,void 0,s(71911)),c.t(null,void 0,s(58271)),c.t(null,void 0,s(80347)),c.t(null,void 0,s(5644)),c.t(null,void 0,s(59980)),c.t(null,void 0,s(28553)),c.t(null,void 0,s(6025)),c.t(null,void 0,s(57750)),c.t(null,void 0,s(62829)),c.t(null,void 0,s(42755)),c.t(null,void 0,s(55390)),c.t(null,void 0,s(4544)),c.t(null,void 0,s(69404)),c.t(null,void 0,s(25236)),c.t(null,void 0,s(37413))),Z=c.t(null,void 0,s(87954));var Y=s(4541),tt=s(82287);const et="tv.alreadyBlinkedStatuses",st=[];function lt(){return tt.getJSON(et,st)}const at=new l.WatchedValue(lt());function it(t){const e=tt.getJSON(et,st);e.includes(t)||(e.push(t),tt.setJSON(et,e),at.setValue(lt()))}tt.onSync.subscribe(null,(()=>at.setValue(lt())));const ot=at;var nt=s(11513),rt=s(28007);const ut=(0,
_.getLogger)("Chart.LegendWidget"),dt=["TFEXDelayForGuest","MILDelayForGuest","DEForGuest","ICESGDelayForGuest","TURQUOISEDelayForGuest","ADXDelayForGuest","TRADEGATEDelayForGuest","LUXSEDelayForGuest","NSENGDelayForGuest","FINRADelayForGuest","AQUISDelayForGuest"],ct=new Map([["DelayToRealtime",C],["DelayNoRealtime",C],["TFEXDelayForGuest",C],["MILDelayForGuest",C],["ICESGDelayForGuest",C],["TURQUOISEDelayForGuest",C],["ADXDelayForGuest",C],["TRADEGATEDelayForGuest",C],["LUXSEDelayForGuest",C],["NSENGDelayForGuest",C],["FINRADelayForGuest",C],["AQUISDelayForGuest",C],["DEForGuest",C],["EOD",E],["EODToRealtime",E],["TickByTick",I],["BATSToRealtime",I],["OvernightQuotes",I],["DelayWithoutMarketAgreement",C]]),ht=new Map([["DelayToRealtime",rt.delay],["DelayNoRealtime",rt.delay],["TFEXDelayForGuest",rt.delay],["MILDelayForGuest",rt.delay],["ICESGDelayForGuest",rt.delay],["TURQUOISEDelayForGuest",rt.delay],["ADXDelayForGuest",rt.delay],["TRADEGATEDelayForGuest",rt.delay],["LUXSEDelayForGuest",rt.delay],["NSENGDelayForGuest",rt.delay],["FINRADelayForGuest",rt.delay],["AQUISDelayForGuest",rt.delay],["DEForGuest",rt.delay],["EOD",rt.eod],["EODToRealtime",rt.eod],["TickByTick",rt.notAccurate],["BATSToRealtime",rt.notAccurate],["OvernightQuotes",rt.notAccurate],["DelayWithoutMarketAgreement",rt.delay]]),mt=new Map([["DelayToRealtime",W],["DelayNoRealtime",W],["TFEXDelayForGuest",W],["MILDelayForGuest",W],["ICESGDelayForGuest",W],["TURQUOISEDelayForGuest",W],["ADXDelayForGuest",W],["TRADEGATEDelayForGuest",W],["LUXSEDelayForGuest",W],["NSENGDelayForGuest",W],["FINRADelayForGuest",W],["AQUISDelayForGuest",W],["DEForGuest",W],["EOD",T],["EODToRealtime",T],["TickByTick",P],["BATSToRealtime",P],["OvernightQuotes",P],["DelayWithoutMarketAgreement",W]]),pt=(c.t(null,void 0,s(99926)),c.t(null,void 0,s(25155)));(0,h.htmlEscape)(c.t(null,void 0,s(63877)));var _t;!function(t){t.TooltipSeparator=" · "}(_t||(_t={}));class gt extends p.StatusViewModel{constructor(t,e,s){super({iconMap:ct,classNameMap:ht,titleColorMap:mt,size:e}),this._dataUpdatedInfo=new l.WatchedValue(null).spawn(),this._onMarketStatusChanged=()=>{this._updateByStatus(this.status().value())},this._options=s,this._model=t,this._dataModeBlinkingStatuses=ot.spawn(),this._dataModeBlinkingStatuses.subscribe(this._updateBlinkingMode.bind(this)),this._options.marketStatus?.subscribe(this._onMarketStatusChanged),this.turnOffBlinkingMode=this._turnOffBlinking.bind(this),this.setModel(t)}destroy(){this._dataUpdatedInfo.destroy(),this._dataModeBlinkingStatuses.destroy(),this._options.marketStatus?.unsubscribe(this._onMarketStatusChanged),this._options.marketStatus?.release(),super.destroy()}setModel(t){if(this._dataUpdatedInfo.destroy(),null===t)return this._model=t,void(this._dataUpdatedInfo=new l.WatchedValue(null).spawn());this._dataUpdatedInfo=t.status().spawn(),this._dataUpdatedInfo.subscribe(this._updateStatus.bind(this),{callWithLast:!0})}_shouldBeHiddenByStatus(t){const e=this._options.marketStatus?.value()
;return"expired"===e||"delisted"===e||(!("BATSToRealtime"!==t||!this._model?.isSpread())||super._shouldBeHiddenByStatus(t))}_getTooltip(){const t=this._getShortTexts();return null===t?null:Object.values(t).join(" · ")}async _updateFullTooltip(){const t=this._dataUpdatedInfo.value(),e=this._status.value();if(null===t||null===e)return void this._fullTooltip.setValue(null);const s=this._getShortTexts(),[l,a]=await Promise.all([this._getHtmls(),this._getActions()]);if(t!==this._dataUpdatedInfo.value())return;const i=[];for(const e of t){const t=e.mode;"BATSToRealtime"===t&&this._model?.isSpread()||i.push({icon:this._getIcon(t),iconClassName:this._getFullTooltipIconClassNames(t),title:s&&s[t],titleColor:this._getTitleColor(t),html:l&&l[t],size:this._size,action:a&&a[t]})}this._fullTooltip.setValue(i)}_updateStatus(t){const e=null!==t?t[0].mode:null;this._status.setValue(e??null,!0),this._updateBlinkingMode()}async _getHtmls(){const t=this._dataUpdatedInfo.value();if(null===t||null===this._model)return Promise.resolve(null);const e={},l=this._model.symbolName();let a=null;const i=this._model.listedExchange(),o=this._model.tradedExchange();try{a=await this._model.description()}catch(t){ut.logError(`Can't get exchange description, reason: ${(0,nt.errorToString)(t)}`)}for(const n of t){const t=n.mode;if(e[t]=[],["DelayToRealtime","DelayNoRealtime","DelayWithoutMarketAgreement",...dt].includes(t)&&(e[t].push(O(l,this._model.time())),this._options.subscriptionFullInfo&&null!==a&&"DelayToRealtime"===t&&e[t].push(L.format({description:`<b>${a}</b>`})),"DelayNoRealtime"===t&&e[t].push(R),"DelayWithoutMarketAgreement"===t&&e[t].push(K.format({listedExchange:i})),this._options.subscriptionFullInfo&&dt.includes(t)&&e[t].push(B.format({listedExchange:i}))),"EOD"===t&&(e[t]=[N]),"EODToRealtime"===t&&(e[t]=[U.format({listedExchange:`<b>${i}</b>`})]),"TickByTick"===t){const l=void 0===n.updatePeriod?H:(0,h.htmlEscape)(c.t(null,{count:n.updatePeriod,replace:{amount:(n.updatePeriod??1).toString()},plural:"Data on our Basic plan is updated once every {amount} seconds, even if there are more updates on the market."},s(55192))),a=void 0===n.updatePeriod?G:(0,h.htmlEscape)(c.t(null,{count:n.updatePeriod,replace:{amount:(n.updatePeriod??1).toString()},plural:"Data is updated once every {amount} seconds, even if there are more updates on the market."},s(71356)));e[t].push(this._options.subscriptionFullInfo?l:a),this._options.subscriptionFullInfo&&e[t].push(Q)}if(i!==o&&"BATSToRealtime"===t){const s=(0,Y.isAmexToCboeMigratedSymbol)(i,this._model.proPerm());Y.crucialRealtimeBats.includes(o)||s?e[t].push($.format({exchange:s?"NYSE Arca":i,originalExchange:o})):e[t].push(X.format({symbolName:l,exchange:o}),""!==i?(0,h.htmlEscape)(J).format({exchange:i}):(0,h.htmlEscape)(j))}"OvernightQuotes"===t&&e[t].push(Z)}return Object.keys(e).length>0?e:null}async _getActions(){if(null===this._dataUpdatedInfo.value()||null===this._model)return null;const t={};return Object.keys(t).length>0?t:null}_showSupportDialogForUpdateMode(t){}_getShortTexts(){
const t=this._dataUpdatedInfo.value();if(null===t||null===this._model)return null;const e={};for(const l of t){const t=l.mode;if(["DelayToRealtime","DelayNoRealtime",...dt,"DelayWithoutMarketAgreement"].includes(t)&&(e[t]=D),["EOD","EODToRealtime"].includes(t)&&(e[t]=A),"TickByTick"===t){const a=void 0===l.updatePeriod?z:(0,h.htmlEscape)(c.t(null,{plural:"One update every {amount} seconds",count:l.updatePeriod,replace:{amount:(l.updatePeriod??1).toString()}},s(56817)));e[t]=a}if("BATSToRealtime"===t){const s=this._model.tradedExchange(),l=this._model.listedExchange();e[t]=s!==l?F.format({exchange:l,originalExchange:s}):s}"OvernightQuotes"===t&&(e[t]=q)}return Object.keys(e).length>0?e:null}_updateBlinkingMode(){const t=this._dataUpdatedInfo.value();if(null===t)return;const e=this._dataModeBlinkingStatuses.value();for(const s of t)if(!e.includes(s.mode))return void this.isBlinkingMode.setValue(!0);this.isBlinkingMode.setValue(!1)}_turnOffBlinking(){const t=this._dataUpdatedInfo.value();if(null!==t)for(const e of t)it(e.mode)}_goProDialogAction(t){return{text:pt,onClick:()=>{null!==this._model&&openPaywall(t,{afterOpen:()=>trackEvent("Data Warning","Full description visible",t.feature)})}}}}const St=c.t(null,void 0,s(33407)),bt=new Map([[!0,new Map([["small",f],["medium",V],["large",V]])],[!1,new Map([["small",""],["medium",""],["large",""]])]]),wt=new Map([[!0,rt.dataProblemLow],[!1,null]]),vt=new Map([[!0,St],[!1,null]]),yt=new Map([[!0,St],[!1,null]]),Mt=new Map([[!0,d.colorsPalette["color-data-problem"]],[!1,null]]);class ft extends p.StatusViewModel{constructor(t,e,s){super({iconMap:bt,classNameMap:wt,tooltipMap:vt,titleMap:yt,titleColorMap:Mt,size:e}),this._dataSourceErrorStatus=new l.WatchedValue(null).spawn(),this._lastError=null,this._options=s,this.setSource(t)}destroy(){this._dataSourceErrorStatus.destroy(),super.destroy()}setSource(t){this._dataSourceErrorStatus.destroy(),this._dataSourceErrorStatus=t.errorStatus().spawn(),this._dataSourceErrorStatus.subscribe(this._updateStatus.bind(this),{callWithLast:!0})}_getTooltip(t){return(t?this._getDataSourceErrorStatusCustomTitle():null)??super._getTooltip(t)}_getTitle(t){return(t?this._getDataSourceErrorStatusCustomTitle():null)??super._getTitle(t)}async _updateFullTooltip(){const t=this._status.value(),e=this._dataSourceErrorStatus.value();null!==t&&null!==e?this._fullTooltip.setValue([{icon:this._getIcon(t),iconClassName:this._getFullTooltipIconClassNames(t),title:this._getTitle(t),titleColor:this._getTitleColor(t),html:void 0===e.stackTrace?[(0,m.formatStudyError)((0,h.htmlEscape)(e.error))]:null,size:this._size,action:this._getAction(t),solutionId:this._options.errorSolution?this._dataSourceErrorStatus.value()?.solutionId:void 0,dataQaId:this._dataQaId()??void 0}]):this._fullTooltip.setValue(null)}_dataQaId(){return"data-source-error-status"}_getAction(t){return null}_updateStatus(t){const e=this._status.value();null!==t?(this._status.setValue(!0),e&&this._lastError!==t.error&&this._updateByStatus(!0),this._lastError=t.error):(this._status.setValue(null),
this._lastError=null)}_getDataSourceErrorStatusCustomTitle(){return this._dataSourceErrorStatus.value()?.title||null}}const Vt=c.t(null,void 0,s(28041)),kt=new Map([["high",new Map([["small",f],["medium",V],["large",V]])],["low",new Map([["small",f],["medium",V],["large",V]])]]),xt=new Map([["high",rt.dataProblemHigh],["low",rt.dataProblemLow]]),Ct=new Map([["high",Vt],["low",Vt]]),Et=new Map([["high",d.colorsPalette["color-data-problem"]],["low",d.colorsPalette["color-data-problem"]]]);class It extends p.StatusViewModel{constructor(t,e){super({tooltipMap:Ct,iconMap:kt,classNameMap:xt,titleMap:Ct,titleColorMap:Et,size:e}),this._dataProblems=new l.WatchedValue([]).spawn(),this._isDataProblemCritical=new l.WatchedValue(!1),this.setModel(t)}destroy(){this._dataProblems.destroy(),super.destroy()}isDataProblemCritical(){return this._isDataProblemCritical}setModel(t){this._dataProblems.destroy(),null!==t?(this._dataProblems=t.dataProblems().spawn(),this._dataProblems.subscribe(this._updateStatus.bind(this),{callWithLast:!0})):this._dataProblems=new l.WatchedValue([]).spawn()}async _updateFullTooltip(){const t=this.status().value(),e=this._dataProblems.value();if(null===t||0===e.length)return void this._fullTooltip.setValue(null);const s=e.map(((e,s)=>({icon:this._getIcon(t),iconClassName:this._getFullTooltipIconClassNames(t),title:e.title??(0===s?this._getTitle(t):null),titleColor:this._getTitleColor(t),html:[(0,h.htmlEscape)(e.text)],size:this._size,action:this._getAction(t)})));this._fullTooltip.setValue(s)}_getTooltip(t){return this._getDataProblemCustomTitle()??super._getTooltip(t)}_getTitle(t){return this._getDataProblemCustomTitle()??super._getTitle(t)}_updateStatus(t){const e=t[0]?.severity??null,s=this._status.value()!==e;this._status.setValue(e),this._isDataProblemCritical.setValue(function(t){return"high"===t}(e)),s||this._updateFullTooltip()}_getDataProblemCustomTitle(){return this._dataProblems.value()?.[0]?.title||null}}var Wt=s(81865);const Tt=c.t(null,void 0,s(32776)),Pt=c.t(null,void 0,s(92615)),Dt=new Map([[!0,new Map([["small",f],["medium",V],["large",V]])],[!1,new Map([["small",""],["medium",""],["large",""]])]]),At=new Map([[!0,rt.invalidSymbol],[!1,null]]),zt=new Map([[!0,Tt],[!1,null]]),Ft=new Map([[!0,Tt],[!1,null]]),Ot=new Map([[!0,d.colorsPalette["color-invalid-symbol"]],[!1,null]]),Bt=new Map([[!0,[Pt]],[!1,null]]),Lt=new Map([[!0,null],[!1,null]]);class Rt{constructor(t,e){this.isBlinkingMode=new l.WatchedValue(!1),this._status=new l.WatchedValue(null),this._size="small",this._fullInfo=new l.WatchedValue(null),this._className=new l.WatchedValue(rt.marketStatusCustom),this._symbolModel=null,this._symbol=null,this._tooltip=new l.WatchedValue(null),this._icon=new l.WatchedValue(null),this._visible=new l.WatchedValue(!1),this._color=new l.WatchedValue(null),this._updateVisibleCallback=this._updateVisible.bind(this),this._updateColorCallback=this._updateColor.bind(this),this._updateIconCallback=this._updateIcon.bind(this),this._updateTooltipCallback=this._updateTooltip.bind(this),
this._updateFullInfoCallback=this._updateFullInfo.bind(this),this._model=t,this._size=e}turnOffBlinkingMode(){}destroy(){}setModel(t){this._model=t}setSymbol(t){t!==this._symbol&&(this._unSyncModel(),this._symbol=t,t?(this._symbolModel=this._model.getSymbolCustomStatus(t),this._syncModel()):this._symbolModel=null)}status(){return this._status.spawn()}tooltip(){return this._tooltip.spawn()}icon(){return this._icon.spawn()}className(){return this._className.spawn()}visible(){return this._visible.spawn()}size(){return this._size}fullInfo(){return this._fullInfo.spawn()}customColor(){return this._color.spawn()}_updateFullInfo(t){if(null===t)return void this._fullInfo.setValue(null);const e=t.map((t=>({icon:t.icon??this.icon().value(),iconClassName:[rt.marketStatusCustom],title:t.title,titleColor:t.color??this.customColor().value(),html:t.content,size:this.size(),action:this._buildAction(t.action)})));this._fullInfo.setValue(e)}_buildAction(t){return t&&t.onClick?{text:t.text??"",tooltip:t.tooltip,onClick:t.onClick}:null}_unSyncModel(){this._symbolModel&&(this._symbolModel.visible().unsubscribe(this._updateVisibleCallback),this._symbolModel.color().unsubscribe(this._updateColorCallback),this._symbolModel.icon().unsubscribe(this._updateIconCallback),this._symbolModel.tooltip().unsubscribe(this._updateTooltipCallback),this._symbolModel.tooltipContent().unsubscribe(this._updateFullInfoCallback))}_syncModel(){this._visible.setValue(this._symbolModel?.visible().value()??!1),this._color.setValue(this._symbolModel?.color().value()??null),this._icon.setValue(this._symbolModel?.icon().value()??null),this._tooltip.setValue(this._symbolModel?.tooltip().value()??null),this._updateFullInfo(this._symbolModel?.tooltipContent().value()??null),this._symbolModel&&(this._symbolModel.visible().subscribe(this._updateVisibleCallback),this._symbolModel.color().subscribe(this._updateColorCallback),this._symbolModel.icon().subscribe(this._updateIconCallback),this._symbolModel.tooltip().subscribe(this._updateTooltipCallback),this._symbolModel.tooltipContent().subscribe(this._updateFullInfoCallback))}_updateVisible(t){this._visible.setValue(t)}_updateColor(t){this._color.setValue(t)}_updateIcon(t){this._icon.setValue(t)}_updateTooltip(t){this._tooltip.setValue(t)}}var Nt=s(20640),Ut=s(51785),Ht=s(48479),Gt=s(12362),Qt=s(98328),Kt=s(764),Xt=s(65774),jt=s(79661),Jt=s(67483),$t=s(5818)
;const qt=c.t(null,void 0,s(91830)),Zt=c.t(null,void 0,s(28809)),Yt=c.t(null,void 0,s(14890)),te=c.t(null,void 0,s(82983)),ee=c.t(null,void 0,s(99507)),se=c.t(null,void 0,s(77920)),le=c.t(null,void 0,s(95586)),ae=c.t(null,void 0,s(48671)),ie=c.t(null,void 0,s(15998)),oe=c.t(null,void 0,s(43689)),ne=c.t(null,void 0,s(42276)),re=c.t(null,void 0,s(81386)),ue=c.t(null,void 0,s(61920)),de=c.t(null,void 0,s(31438)),ce=c.t(null,void 0,s(40454)),he=c.t(null,void 0,s(79340)),me=new Map([["market",new Map([["small",Gt],["medium",Qt],["large",Gt]])],["pre_market",new Map([["small",Jt],["medium",$t],["large",Jt]])],["post_market",new Map([["small",Xt],["medium",jt],["large",Xt]])],["out_of_session",new Map([["small",Ht],["medium",Ht],["large",Ht]])],["holiday",new Map([["small",Kt],["medium",Kt],["large",Kt]])]]),pe=new Map([["market",rt.marketStatusOpen],["pre_market",rt.marketStatusPre],["post_market",rt.marketStatusPost],["out_of_session",rt.marketStatusClose],["holiday",rt.marketStatusHoliday]]),_e=new Map([["market",qt],["pre_market",Zt],["post_market",Yt],["out_of_session",te],["holiday",ee]]),ge=new Map([["market",qt],["pre_market",Zt],["post_market",Yt],["out_of_session",te],["holiday",ee]]),Se=new Map([["market",d.colorsPalette["color-market-open"]],["pre_market",d.colorsPalette["color-pre-market"]],["post_market",d.colorsPalette["color-post-market"]],["out_of_session",d.colorsPalette["color-market-closed"]],["holiday",d.colorsPalette["color-market-holiday"]]]),be=new Map([["market",se],["pre_market",le],["post_market",ae],["out_of_session",ie],["holiday",oe]]);const we=me,ve=pe,ye=_e,Me=ge,fe=Se,Ve=be;function ke(t){const e=Math.floor(t/86400),l=Math.floor((t-86400*e)/3600),a=Math.floor((t-86400*e-3600*l)/60);if(0===e&&0===l&&0===a)return ne;if(e>0){const t=c.t(null,{plural:"{number} days",count:e,replace:{number:`${e}`},context:"Market opens in n days and n hours"},s(68166)),a=c.t(null,{plural:"{number} hours",count:l,replace:{number:`${l}`},context:"Market opens in n days and n hours"},s(98234));return c.t(null,{replace:{days:t,hours:a}},s(70251))}if(l>0){const t=c.t(null,{plural:"{number} hours",count:l,replace:{number:`${l}`},context:"Market opens in n hours and n minutes"},s(42101)),e=c.t(null,{plural:"{number} minutes",count:a,replace:{number:`${a}`},context:"Market opens in n hours and n minutes"},s(54526));return c.t(null,{replace:{hours:t,minutes:e}},s(94895))}return c.t(null,{plural:"{number} minutes",count:a,replace:{number:`${a}`,context:"Market opens in n minutes"}},s(4958))}const xe={market:t=>("post_market"===t.status?ce:de).format({remainingTime:ke(t.remainingSeconds)}),pre_market:t=>ue.format({remainingTime:ke(t.remainingSeconds)}),post_market:t=>de.format({remainingTime:ke(t.remainingSeconds)}),out_of_session:t=>("pre_market"===t.status?he:re).format({remainingTime:ke(t.remainingSeconds)}),holiday:t=>("pre_market"===t.status?he:re).format({remainingTime:ke(t.remainingSeconds)}),delisted:t=>"",expired:t=>""
},Ce=new Map([["market",null],["pre_market",null],["post_market",null],["out_of_session",null],["holiday",null],["delisted",null]]);class Ee extends p.StatusViewModel{constructor(t,e,s=!1){super({tooltipMap:ye,iconMap:we,classNameMap:ve,titleMap:Me,titleColorMap:fe,actionMap:Ce,size:e}),this._model=null,this._expiredStatus=null,this._marketStatus=new l.WatchedValue(null).spawn(),this._sessionEdge=new l.WatchedValue(null).spawn(),this._ignoreHideStatusSettings=s,this.setModel(t),Ut.showMarketOpenStatusProperty.subscribe(this,this._showMarketOpenStatusPropertyChanged)}destroy(){this._marketStatus.destroy(),this._sessionEdge.destroy(),this._model=null,Ut.showMarketOpenStatusProperty.unsubscribeAll(this),super.destroy()}setModel(t){if(this._marketStatus.destroy(),this._sessionEdge.destroy(),this._expiredStatus?.destroy(),null===t)return this._marketStatus=new l.WatchedValue(null).spawn(),this._sessionEdge=new l.WatchedValue(null).spawn(),void(this._expiredStatus=null);this._model=t;const e=t.futuresContractExpirationTime();e&&(this._expiredStatus=e.expired().spawn(),this._expiredStatus.subscribe((t=>{t&&this._updateByStatus(this._marketStatus.value())}))),this._marketStatus=t.status().spawn(),this._marketStatus.subscribe(this._updateStatus.bind(this),{callWithLast:!0}),this._sessionEdge=t.nextSessionEdge().spawn(),this._sessionEdge.subscribe(this._updateTooltip.bind(this)),this._updateTooltip()}async _updateFullTooltip(){const t=this.status().value();if(null===t)return void this._fullTooltip.setValue(null);const e=[],s=Ve.get(t);s&&e.push((0,h.htmlEscape)(s));const l=this._marketStatus.value();if(null!==this._model&&null!==l&&"expired"!==l&&"delisted"!==l){const s=this._model.nextSessionEdge().value();null!==s&&e.push({text:xe[t](s),bold:!0})}this._fullTooltip.setValue([{icon:this._getIcon(t),iconClassName:this._getFullTooltipIconClassNames(t),title:this._getTitle(t),titleColor:this._getTitleColor(t),html:e,size:this._size,action:this._getAction(t)}])}_shouldBeHiddenByStatus(t){return!this._ignoreHideStatusSettings&&!Ut.showMarketOpenStatusProperty.value()&&"market"===t}_updateStatus(t){this._status.setValue(t)}_updateTooltip(){this._updateFullTooltip()}_showMarketOpenStatusPropertyChanged(){this._updateByStatus(this._status.value())}}var Ie=s(43692);class We extends Ie.StatusesWidgetStateBase{constructor(t,e,s){super(s),this.dataSourceErrorStatusShown=new l.WatchedValue(!1),this.dataUpdatedModeShown=new l.WatchedValue(!1),this.isSymbolInvalidStatusShown=new l.WatchedValue(!1),this._symbolInvalidViewModel=null,this._dataSourceErrorStatusViewModel=null,this._marketStatusViewModel=null,this._dataUpdatedModeViewModel=null,this._dataProblemViewModel=null,this._updateAvailableViewModel=null,this._alertStatusViewModel=null,this._pineEditorStateViewModel=null,this._activeStrategySourceViewModel=null,this._customStatusViewModel=null,this._sessionWidget=null,this._errorWidget=null,this._updateAvailableWidget=null,this._dataSourceHasErrorVisible=null,this._dataSourceErrorCanBeShown=new l.WatchedValue(!1),
this._marketStatusCanBeShown=new l.WatchedValue(!1),this._dataUpdatedAvailableVisible=null,this._dataUpdatedModeCanBeShown=new l.WatchedValue(!1),this._dataProblemCanBeShown=new l.WatchedValue(!1),this._updateAvailableCanBeShown=new l.WatchedValue(!1),this._isDataProblemCritical=null,this._updateVisibility=()=>{const t=this.visibleModels().value().length>0;this._visibility.setValue(t)},this._source=t,this._symbol=t.symbol()?.spawn()??null,this._options=s,this._undoModel=e,this._statusProviderHidden=(0,a.combine)((t=>(this._forceHideVisibilityModels.setValue(t),t)),t.hidden().weakReference()),this._createStatusesWidgetStates(),this._addSubscriptionForSymbolInvalid(),null!==this._dataSourceHasErrorVisible&&(this._dataSourceHasErrorVisible.subscribe(this._updateStatusWidgetsVisibilities.bind(this)),this._dataSourceHasErrorVisible.subscribe(this._updateErrorWidgetIsShown.bind(this))),null!==this._dataUpdatedAvailableVisible&&this._dataUpdatedAvailableVisible.subscribe(this._updateDataUpdatedWidgetIsShown.bind(this)),this._options.dataProblemEnabled&&null!==this._isDataProblemCritical&&this._isDataProblemCritical.subscribe(this._updateStatusWidgetsVisibilities.bind(this)),this._updateErrorWidgetIsShown(),this._updateIsSymbolInvalidStatusShown(),this._updateStatusWidgetsVisibilities()}destroy(){this._visibility.unsubscribe(),this._symbol?.destroy(),this._statusProviderHidden.destroy(),this._isDataProblemCritical?.destroy(),super.destroy()}_updateStatusWidgetsVisibilities(){const t=this._isForceStatusActive();this._dataSourceErrorCanBeShown.setValue(!t),this._marketStatusCanBeShown.setValue(!t),this._dataUpdatedModeCanBeShown.setValue(!t),this._updateAvailableCanBeShown.setValue(!t),this._dataProblemCanBeShown.setValue(!this._isPrimaryWidgetShown())}_isPrimaryWidgetShown(){return this._source.isSymbolInvalid()?.value()??!1}_isForceStatusActive(){return this._isPrimaryWidgetShown()||(this._isDataProblemCritical?.value()??!1)}_createStatusesWidgetStates(){this._options.sourceStatusesEnabled&&this._createSymbolInvalidStatus(),this._options.marketStatusEnabled&&this._createMarketStatus(),this._options.dataUpdateModeEnabled&&this._createDataUpdatedModeStatus(),this._options.dataProblemEnabled&&this._createDataProblemStatus(),this._options.sourceStatusesEnabled&&this._createErrorStatus(),this._options.pineSourceStatusEnabled&&this._createScriptUpdate(),this._options.alertStatusEnabled&&this._createAlertAlertStatus(),this._options.pineSourceStatusEnabled&&this._createActiveStrategyStatus(),this._options.pineSourceStatusEnabled&&this._createPineEditorStatus(),this._createCustomMarketStatus()}_createSymbolInvalidStatus(){const t=this._source.isSymbolInvalid();null!==t&&(this._symbolInvalidViewModel=new Wt.BooleanStatusViewModel(t,{tooltipMap:zt,iconMap:Dt,classNameMap:At,titleMap:Ft,titleColorMap:Ot,htmlMap:Bt,actionMap:Lt,size:this._size}),this._addStatusViewModelsInfos({visible:this._symbolInvalidViewModel.visible().spawn(),model:this._symbolInvalidViewModel}))}_createMarketStatus(){const t=this._source.marketStatusModel()
;this._marketStatusViewModel=new Ee(t,this._size);const e={visible:(0,a.combine)(((t,e,s)=>t&&e&&!(0,i.isEconomicSymbol)(s)&&!(0,i.isSpreadSymbolWithManyLegs)(s)),this._marketStatusCanBeShown.weakReference(),this._marketStatusViewModel.visible().weakReference(),this._source.symbolInfo().weakReference()),model:this._marketStatusViewModel};null!==t&&(this._sessionWidget=new u(this._source),e.additionalWidgets=[this._sessionWidget]),this._addStatusViewModelsInfos(e)}_createDataUpdatedModeStatus(){const t=this._source.dataUpdatedModeModel(),e={...this._options.dataUpdateMode,marketStatus:this._source.marketStatusModel()?.status().spawnOwnership()};this._dataUpdatedModeViewModel=new gt(t,this._size,e);const s=(0,a.combine)(((t,e,s)=>t&&e&&!(0,i.isEconomicSymbol)(s)),this._dataUpdatedModeCanBeShown.weakReference(),this._dataUpdatedModeViewModel.visible().weakReference(),this._source.symbolInfo().weakReference());this._addStatusViewModelsInfos({visible:s,model:this._dataUpdatedModeViewModel})}_createDataProblemStatus(){const t=this._source.dataProblemModel();this._dataProblemViewModel=new It(t,this._size),this._isDataProblemCritical=this._dataProblemViewModel.isDataProblemCritical().spawn();const e=(0,a.combine)(((t,e)=>t&&e),this._dataProblemCanBeShown.weakReference(),this._dataProblemViewModel.visible().weakReference());this._addStatusViewModelsInfos({visible:e,model:this._dataProblemViewModel})}_createScriptUpdate(){}_createAlertAlertStatus(){}_createErrorStatus(){this._dataSourceErrorStatusViewModel=new ft(this._source,this._size,this._options.sourceStatuses),this._dataSourceHasErrorVisible=(0,a.combine)(((t,e,s)=>t&&e&&!s),this._dataSourceErrorCanBeShown.weakReference(),this._dataSourceErrorStatusViewModel.visible().weakReference(),this._source.hidden().weakReference());this._addStatusViewModelsInfos({visible:this._dataSourceHasErrorVisible,model:this._dataSourceErrorStatusViewModel,additionalWidgets:[]})}_createActiveStrategyStatus(){}_createPineEditorStatus(){}_createCustomMarketStatus(){if(this._source.isMainSeries?.()??!1){const t=Nt.CustomStatusModel.getInstance(),e=this._symbol?.value()??null;this._customStatusViewModel=new Rt(t,this._size),this._customStatusViewModel.setSymbol(e);const s=this._customStatusViewModel.visible().spawn();this._addStatusViewModelsInfos({visible:s,model:this._customStatusViewModel})}}_addSubscriptionForSymbolInvalid(){const t=this._source.isSymbolInvalid();this._options.sourceStatusesEnabled&&null!==t&&(t.subscribe(this._updateStatusWidgetsVisibilities.bind(this)),t.subscribe(this._updateIsSymbolInvalidStatusShown.bind(this),{callWithLast:!0}))}_updateErrorWidgetIsShown(){const t=this._dataSourceHasErrorVisible?.value()??!1;this.dataSourceErrorStatusShown.setValue(t)}_updateDataUpdatedWidgetIsShown(){const t=this._dataUpdatedAvailableVisible?.value()??!1;this.dataUpdatedModeShown.setValue(t)}_updateIsSymbolInvalidStatusShown(){const t=this._source.isSymbolInvalid()?.value()??!1;this.isSymbolInvalidStatusShown.setValue(t)}}},547:(t,e,s)=>{"use strict";s.d(e,{
MainDataSourceStatusesWidgetState:()=>i});s(85842);var l=s(65067),a=(s(95397),s(40008));s(68657);class i extends a.DataSourceStatusesWidgetState{constructor(t,e,s){super(t,e,s),this._isInReplay=new l.WatchedValue(!1).readonly().spawn(),this._isInReplayCanBeShown=null,this._inited=!1,this._halalCanBeShown=new l.WatchedValue(!1),this._tvCalculatedPairCanBeShown=new l.WatchedValue(!1),this._hkexCommentCanBeShown=new l.WatchedValue(!1),this._defaultedBondCanBeShown=new l.WatchedValue(!1);e.model()}destroy(){super.destroy()}_updateStatusWidgetsVisibilities(){super._updateStatusWidgetsVisibilities()}_isPrimaryWidgetShown(){return super._isPrimaryWidgetShown()||this._inited&&this._isInReplay.value()}_createHalalStatus(){}_createDefaultedBondStatus(){}_createTVCalculatedPairStatus(){}_createHKEXCommentStatus(){}_createLetItSnowStatus(){}_createHalalTypeReleasable(){return new l.WatchedValue(null).readonly().ownership()}_createDefaultedBondReleasable(){return new l.WatchedValue(null).readonly().ownership()}_createTvCalculatedPairReleasable(){return new l.WatchedValue(null).readonly().ownership()}_createHkexCommentReleasable(){return new l.WatchedValue(null).readonly().ownership()}}},42889:(t,e,s)=>{"use strict";s.d(e,{DEFAULT_STATUS_RENDERER_THEME:()=>D,StatusesPill:()=>F});var l=s(79474),a=s(14487),i=s.n(a),o=s(4138),n=s(96375),r=s(64916),u=s(58530),d=s(65792),c=s(64906),h=s(47166),m=s(73283),p=s(66334),_=s(57069),g=s(28007);function S(t){const{visible:e,icon:s,className:a,size:o="small",isBlinking:n,turnOffBlinking:r,customColor:u,dataQaId:d,datasetEntityId:c}=t,h=(0,_.useWatchedValueReadonly)({watchedValue:e}),m=(0,_.useWatchedValueReadonly)({watchedValue:s}),S=(0,_.useWatchedValueReadonly)({watchedValue:a}),b=(0,_.useWatchedValueReadonly)({watchedValue:u}),w=!!n&&(0,_.useWatchedValueReadonly)({watchedValue:n}),v=c?(0,_.useWatchedValueReadonly)({watchedValue:c}):void 0;if(!h||!m)return null;const y={...d?{"data-qa-id":d}:{},...v?{"data-entity-id":v}:{}};return l.createElement(p.Icon,{className:i()(g.statusItem,g[o],S,{[g.blinking]:w}),onClick:r,style:b?{"--custom-status-color":b}:void 0,...y,icon:m})}var b=s(11763),w=s(87013),v=s(47157),y=s(9870),M=s(7528),f=s(85842),V=s(63459),k=s(7859),x=s(7321),C=s(20293),E=s(46303);const I=new WeakMap,W=new WeakMap;function T(t){const e=(0,_.useWatchedValueReadonly)({watchedValue:t.info}),s=(0,C.usePromise)((()=>t.preliminaryJob??Promise.resolve()));if(null===e||null===s)return null;const i=e.map((e=>{const{title:s,titleColor:i,icon:o,iconClassName:n,html:r,action:u,size:d,solutionId:c}=e,m=u?.color||"gray",_=["gray","green","red","blue"].includes(m)?k.LightButton:V.SquareButton;I.has(e)||I.set(e,(0,h.randomHash)());let S=[];return void 0!==t.additionalWidgets&&(S=t.additionalWidgets.map((e=>(W.has(e)||W.set(e,(0,h.randomHash)()),e.renderer((0,f.ensureDefined)(W.get(e)),E.additionalWidget,t.onClose))))),l.createElement("div",{key:I.get(e),className:a(E.popupWidget,E[d],t.isMobile&&E.mobile),"data-qa-id":e.dataQaId,tabIndex:0,ref:t=>{t?.focus()}},l.createElement(p.Icon,{
className:a(E.icon,n,g[d],E[d]),style:{"--custom-status-color":i||void 0},icon:o||void 0}),l.createElement("div",{className:E.desc},l.createElement("span",{style:{color:i||void 0},className:a(E.title,E[d])},l.createElement("span",null,s),!1),r&&l.createElement("p",{className:a(E.text,E[d])},r.map(((t,e)=>{let s,i;return(0,x.isObject)(t)?(s=t.text,i=t.bold):s=t,l.createElement("span",{key:`html_item_${e}`,className:a(E.item,i&&E.boldItem),dangerouslySetInnerHTML:{__html:s}})}))),u&&l.createElement(_,{className:a(E.actionBtn,u.className),onClick:()=>{t.onClose(),u?.onClick()},color:m,size:"xsmall",tooltipText:u.tooltip},u.text),S))}));return l.createElement(l.Fragment,null,i)}function P(t){const{anchored:e,offsetPosition:s,overflowVertical:a,overflowHorizontal:i,statuses:o,isOpen:n,onClose:r,mobileBreakpoint:d="all and (max-width: 440px)"}=t,c=(0,u.useWatchedValueReadonly)({watchedValue:o}),h=(0,l.useRef)(null),m=(0,M.usePopoverCloseBehavior)({isOpen:n,onClose:r,excludeArea:e.at,closeOnEscape:!0,closeOnClickAway:!0,closeOnScrollOutside:!0,closeOnResizeWindow:!0,closeOnTab:!0,refToContentWrapperElement:h}),p=(0,b.useMatchMedia)(d);return l.createElement(w.Popover,{isOpen:n,onClose:r,anchored:e,width:{by:"content"},height:{by:"content"},placementRules:[{...y.PLACEMENT_BOTTOM_ALIGN_LEFT,offset:s,overflowVertical:a??y.PLACEMENT_BOTTOM_ALIGN_LEFT.overflowVertical,overflowHorizontal:i??y.PLACEMENT_BOTTOM_ALIGN_LEFT.overflowHorizontal}],mobileBreakpoint:d,mobilePositionerStretch:!1,anchorPositionerCardAppearanceClassname:E.popupWidgetWrapper,mobilePositionerCardAppearanceClassname:E.popupWidgetWrapper,dataQaId:"chart-statuses-popup",...m},l.createElement(v.PopoverContentVertical,null,c.map(((t,e)=>l.createElement(T,{key:`FullTooltipWidget${e}`,info:t.model.fullInfo(),additionalWidgets:t.additionalWidgets,preliminaryJob:t.preliminaryJob,onClose:()=>r(!1),isMobile:p})))))}const D=g,A=new WeakMap,z=d.trackingModeIsAvailable?"medium":"small";function F(t){const{statuses:e,tooltip:s,theme:a=g,showTooltipOverrideCallback:d}=t,[p,_]=(0,l.useState)(!1),b=(0,u.useWatchedValueReadonly)({watchedValue:e}),w=(0,u.useWatchedValueReadonly)({watchedValue:s}),v=(0,l.useMemo)((()=>(0,m.mergeThemes)(D,a)),[a]);(0,l.useEffect)((()=>{const t={};return n.subscribe(r.CLOSE_POPUPS_AND_DIALOGS_COMMAND,V,t),()=>{n.unsubscribe(r.CLOSE_POPUPS_AND_DIALOGS_COMMAND,V,t)}}),[]);const y=(0,o.useOutsideEvent)({click:!0,handler:()=>{d&&(d(!0),_(!1))}});if(0===b.length)return null;const M=!!d;return l.createElement("div",{className:v.statusesWrap,ref:y},l.createElement("button",{className:i()(v.statuses,"apply-common-tooltip","common-tooltip-wide",v[z]),tabIndex:0,onClick:function(t){t.preventDefault(),b.forEach((t=>{t.model.turnOffBlinkingMode?.()})),f(),d&&(t.stopPropagation(),d(p));p&&(e=w,(0,c.trackEvent)("GUI","Statuses widget's action",e));var e},title:w,"data-qa-id":"legend-source-item-status"},b.map((t=>(A.has(t)||A.set(t,(0,h.randomHash)()),l.createElement(S,{key:A.get(t),visible:t.visible,icon:t.model.icon(),className:t.model.className(),
size:t.model.size()??"small",isBlinking:t.model.isBlinkingMode,turnOffBlinking:t.model.turnOffBlinkingMode,customColor:t.model.customColor(),dataQaId:t.dataQaId,datasetEntityId:t.iconDatasetEntityId}))))),l.createElement(P,{statuses:e,anchored:{type:"element",at:y},isOpen:p&&!M,onClose:V,offsetPosition:{x:-15,y:4}}));function f(){_((t=>!t))}function V(){_(!1)}}},43692:(t,e,s)=>{"use strict";s.d(e,{StatusesWidgetStateBase:()=>d,updateWatchedValueDebounced:()=>u});var l,a=s(88434),i=s(7321),o=s(65067),n=s(68657),r=s(65792);function u(t,e,s,l){const i=new o.WatchedValue(e),n=(0,a.default)((t=>i.setValue(t)),s);return t.subscribe((t=>{n(t),l?.(t)&&n.flush()}),{callWithLast:!0}),i.readonly().spawn((()=>{n.cancel(),t.release()}))}!function(t){t.TooltipSeparator=" · "}(l||(l={}));class d{constructor(t){this._size=r.trackingModeIsAvailable?"medium":"small",this._statusViewModelsInfosWV=new o.WatchedValue([]),this._visibility=new o.WatchedValue(!1),this._forceHideVisibilityModels=new o.WatchedValue(!1),this._options=t;const e=(0,n.combine)((t=>t.map((t=>(0,n.combine)(((t,e)=>t&&e),t.visible.weakReference(),t.model.visible().weakReference()).ownership()))),this._statusViewModelsInfosWV.weakReference());this._visibleModels=u((0,n.accumulate)(((t,e,s)=>e?[]:s.filter(((e,s)=>t[s]&&e||null)).filter(i.notNull).slice(0,3)),e.ownership(),this._forceHideVisibilityModels.weakReference(),this._statusViewModelsInfosWV.weakReference()).ownership(),[],250,(t=>0===t.length)),this._visibleModels.subscribe((()=>this._updateVisibility())),this._tooltip=(0,n.accumulate)((t=>t.filter(i.notNull).join(" · ")),(0,n.combine)((t=>t.map((t=>t.model.tooltip().weakReference()))),this._visibleModels.weakReference()).ownership())}destroy(){this._visibility.unsubscribe();for(const t of this._statusViewModelsInfosWV.value()){if(t.additionalWidgets)for(const e of t.additionalWidgets)e.destroy();t.model.destroy(),t.visible.destroy()}this._visibleModels.destroy(),this._tooltip.destroy()}visibility(){return this._visibility.readonly()}visibleModels(){return this._visibleModels}tooltip(){return this._tooltip}_addStatusViewModelsInfos(t){this._statusViewModelsInfosWV.setValue([...this._statusViewModelsInfosWV.value(),t])}}},81865:(t,e,s)=>{"use strict";s.d(e,{BooleanStatusViewModel:()=>i});var l=s(89659),a=s(15692);class i extends a.StatusViewModel{constructor(t,e){super(e),this._booleanStatus=new l.WatchedValue(!1).spawn(),this.updateStatus(t)}destroy(){this._booleanStatus.destroy(),super.destroy()}updateStatus(t){this._booleanStatus.destroy(),this._booleanStatus=t.spawn(),this._booleanStatus.subscribe(this._updateStatus.bind(this),{callWithLast:!0})}_updateStatus(t){t?this._status.setValue(!0):this._status.setValue(null)}}},15692:(t,e,s)=>{"use strict";s.d(e,{StatusViewModel:()=>o});var l=s(89659),a=s(42897),i=s(28007);class o{constructor(t){this.isBlinkingMode=new l.WatchedValue(!1),this._status=new l.WatchedValue(null),this._fullTooltip=new l.WatchedValue(null),this._iconClassNames=new l.WatchedValue(null),this._visible=new l.WatchedValue(!1),
this._destroyed=!1,this._tooltip=new l.WatchedValue(null),this._icon=new l.WatchedValue(null),this._className=new l.WatchedValue(null),this._customColor=new l.WatchedValue(null),this._infoMaps=t,this._size=t.size||"small",this._status.subscribe(this._updateByStatus.bind(this),{callWithLast:!0})}destroy(){this._destroyed=!0}turnOffBlinkingMode(){}status(){return this._status}tooltip(){return this._tooltip}icon(){return this._icon}className(){return this._className}visible(){return this._visible}size(){return this._size}fullInfo(){return this._fullTooltip}customColor(){return this._customColor}_getTooltip(t){return this._infoMaps.tooltipMap?.get(t)??null}_getIcon(t){let e;const s=this._infoMaps.iconMap.get(t);return void 0!==s&&(e=s.get(this._size)),e||null}_getClassName(t){return this._infoMaps.classNameMap.get(t)||null}_getFullTooltipIconClassNames(t){const e=this._getClassName(t);return e?[i.statusItem,e]:[]}_getTitle(t){return this._infoMaps.titleMap?.get(t)??null}_getTitleColor(t){return this._infoMaps.titleColorMap?.get(t)??null}_getAction(t){return this._infoMaps.actionMap?.get(t)??null}_getHTML(t){return this._infoMaps.htmlMap?.get(t)?.map(a.htmlEscape)??[]}async _updateFullTooltip(){const t=this._status.value();null!==t?this._fullTooltip.setValue([{icon:this._getIcon(t),iconClassName:this._getFullTooltipIconClassNames(t),title:this._getTitle(t),titleColor:this._getTitleColor(t),html:this._getHTML(t),size:this._size,action:this._getAction(t),dataQaId:this._dataQaId()??void 0}]):this._fullTooltip.setValue(null)}_dataQaId(){return null}_updateByStatus(t){if(null===t||this._shouldBeHiddenByStatus(t))return this._icon.setValue(null),this._tooltip.setValue(null),void this._visible.setValue(!1);this._icon.setValue(this._getIcon(t)),this._className.setValue(this._getClassName(t)),this._tooltip.setValue(this._getTooltip(t)),this._visible.setValue(!0),this._updateFullTooltip()}_shouldBeHiddenByStatus(t){return!1}}},65792:(t,e,s)=>{"use strict";s.d(e,{trackingModeIsAvailable:()=>l});const l=s(45958).CheckMobile.any()},47118:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9 2.5c-1.06 0-1.88.93-1.75 1.98l.63 5.03a1.13 1.13 0 0 0 2.25 0l.62-5.03A1.77 1.77 0 0 0 9 2.5zm0 10a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"/></svg>'},45983:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9 4c-.79 0-1.38.7-1.25 1.48l.67 4.03a.59.59 0 0 0 1.16 0l.67-4.03A1.27 1.27 0 0 0 9 4zm0 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/></svg>'},79831:t=>{
t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M7.57 14.8H5.03V3.36c1.62-.05 2.64-.08 3.06-.08 1.66 0 2.98.49 3.96 1.47a5.23 5.23 0 0 1 1.47 3.88c0 4.11-1.99 6.17-5.95 6.17zm-.5-9.66v7.8c.32.04.67.06 1.05.06 1.03 0 1.83-.38 2.41-1.12.58-.75.88-1.79.88-3.13 0-2.44-1.14-3.67-3.42-3.67-.22 0-.53.02-.93.06z"/></svg>'},93060:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M7.84 13.7H5.78V4.4l2.48-.06c1.35 0 2.42.4 3.22 1.2.8.78 1.19 1.83 1.19 3.15 0 3.34-1.61 5.01-4.83 5.01zm-.41-7.85v6.35c.26.02.55.03.86.03.83 0 1.48-.3 1.95-.9.48-.6.72-1.46.72-2.54 0-2-.93-2.99-2.78-2.99-.18 0-.43.02-.75.05z"/></svg>'},18094:t=>{t.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="M14 22a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm5-9H9v2h10v-2Z"/></svg>'},94144:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M7.65 5.16v2.68h3.78v1.73H7.65V13h5.19v1.8H5.62V3.35h7.3v1.8H7.65z"/></svg>'},77650:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M7.9 5.87v2.17h3.07v1.4H7.9v2.8h4.22v1.46H6.25V4.4h5.94v1.47H7.9z"/></svg>'},48479:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><rect width="10" height="4" fill="currentColor" rx="2" x="4" y="7"/></svg>'},98328:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><circle fill="currentColor" cx="9" cy="9" r="5"/></svg>'},12362:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><circle fill="currentColor" cx="9" cy="9" r="4"/></svg>'},764:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9.3 9l.9-4.53a1.23 1.23 0 1 0-2.4 0L8.7 9l-.9 4.53a1.23 1.23 0 1 0 2.4 0L9.3 9z"/><path fill="currentColor" d="M9.15 9.26l4.38-1.48a1.23 1.23 0 1 0-1.21-2.09L8.85 8.74l-4.38 1.48a1.23 1.23 0 1 0 1.21 2.09l3.47-3.05z"/><path fill="currentColor" d="M9.15 8.74L5.68 5.69a1.23 1.23 0 1 0-1.2 2.09l4.37 1.48 3.47 3.05a1.23 1.23 0 1 0 1.2-2.09L9.16 8.74z"/></svg>'},79661:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M13.29 4.8h-.09a4.2 4.2 0 1 0 .09 8.4 6 6 0 1 1 0-8.4z"/></svg>'},65774:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M12.57 5.5h-.07a3.5 3.5 0 1 0 .07 7A4.98 4.98 0 0 1 4 9a5 5 0 0 1 8.57-3.5z"/></svg>'},5818:t=>{
t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M12.58 12.1A3.86 3.86 0 0 0 9 6.75a3.87 3.87 0 0 0-3.58 5.33 7.74 7.74 0 0 1 7.16 0zM3.64 9.93l-2.3-.62.37-1.38 2.3.62-.37 1.38zM6.1 6.07L5.07 3.92l1.3-.6 1 2.15-1.29.6zM10.62 5.47l1-2.16 1.3.6-1.01 2.16-1.3-.6zM13.99 8.55l2.3-.62.36 1.38-2.3.62L14 8.55z"/></svg>'},67483:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M12.22 11.78A3.47 3.47 0 0 0 9 6.98a3.48 3.48 0 0 0-3.22 4.8 6.97 6.97 0 0 1 6.44 0zM4.18 9.83L2.1 9.28l.33-1.24 2.07.55-.33 1.24zM6.38 6.36l-.9-1.94 1.16-.54.9 1.94-1.16.54zM10.46 5.82l.9-1.94 1.16.54-.9 1.94-1.16-.54zM13.49 8.6l2.07-.56.33 1.24-2.07.55-.33-1.24z"/></svg>'},33228:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M14.48 5.1c-.52 2.03-1.46 3.04-2.82 3.04-.64 0-1.55-.19-2.74-.56-1.17-.38-1.99-.57-2.46-.57-.69 0-1.22.37-1.58 1.13H3.55A4.3 4.3 0 0 1 4.5 6c.5-.6 1.08-.9 1.74-.9.7 0 1.65.2 2.84.58 1.2.37 2.04.55 2.52.55.8 0 1.32-.37 1.59-1.13h1.29zm0 4.84c-.52 2.02-1.46 3.03-2.82 3.03-.64 0-1.55-.19-2.74-.56-1.17-.38-1.99-.57-2.46-.57-.69 0-1.22.38-1.58 1.13H3.55a4.3 4.3 0 0 1 .95-2.14c.5-.6 1.08-.9 1.74-.9.7 0 1.65.2 2.84.58 1.2.37 2.04.56 2.52.56.8 0 1.32-.38 1.59-1.13h1.29z"/></svg>'},28849:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M13.4 5.9c-.41 1.62-1.16 2.43-2.25 2.43-.52 0-1.25-.15-2.2-.45-.93-.3-1.58-.45-1.96-.45-.55 0-.98.3-1.27.9H4.66c.1-.67.36-1.24.76-1.71.4-.48.86-.72 1.4-.72.56 0 1.31.16 2.27.46.95.3 1.62.45 2.01.45.64 0 1.06-.3 1.27-.9h1.03zm0 3.87c-.41 1.62-1.16 2.43-2.25 2.43-.52 0-1.25-.15-2.2-.45-.93-.3-1.58-.46-1.96-.46-.55 0-.98.3-1.27.9H4.66c.1-.67.36-1.24.76-1.7.4-.48.86-.72 1.4-.72.56 0 1.31.15 2.27.46.95.3 1.62.44 2.01.44.64 0 1.06-.3 1.27-.9h1.03z"/></svg>'},63006:t=>{t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M4 6.5 6 8l3-3 3 3 2-1.5V10H4V6.5ZM14 13v-2H4v2h10Z"/></svg>'},90353:t=>{"use strict";t.exports=JSON.parse('{"size-header-height":"64px","media-phone-vertical":"all and (max-width: 479px)","media-show-drawer":"all and (max-width: 567px)","media-mf-phone-landscape":"all and (min-width: 568px)"}')}}]);