Release v20.033 (from 9df149da)
Fixes tradingview/charting_library#6175 Fixes tradingview/charting_library#6177
This commit is contained in:
@@ -4,12 +4,12 @@ className:a()(o.separator,"small"===t&&o.small,"normal"===t&&o.normal,"large"===
|
||||
ranges:this.state.ranges,activeRange:this.state.activeRange,onSelectRange:this._handleSelectRange})}}).contextType=w,t}const R=new WeakMap;var k=n("cdbK"),O=n("l4ku"),T=n("02pg"),M=n("2uTr"),A=n("9VJd"),W=n("J3OW");function j(e){const{ranges:t,activeRange:n,onSelectRange:i}=e;return s.a.createElement(s.a.Fragment,null,t.map(e=>s.a.createElement(O.a,{key:e.value.value,label:e.description||e.text,active:n===e.value.value,checked:n===e.value.value,checkable:!0,disabled:!1,onClick:a.bind(null,e),doNotCloseOnClick:!1,subItems:[]})));function a(e){e&&i&&i(e),Object(g.b)()}}function B(e){const{onGoToDateClick:t}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(T.a,{className:W.separator}),s.a.createElement(O.a,{icon:A,label:Object(M.appendEllipsis)(Object(r.t)("Go to")),onClick:t,active:!1,checked:!1,checkable:!1,disabled:!1,doNotCloseOnClick:!1,subItems:[]}))}const D={title:window.t("Date Range"),goToDate:Object(M.appendEllipsis)(window.t("Go to"))},L=Object(C.b)();class I extends i.PureComponent{constructor(e,t){super(e,t),this._handleGoToDateClick=()=>{const{chartWidget:e}=this.context;Object(k.showGoToDateDialog)(e),Object(g.b)()},this._handleRangeSelect=e=>{e&&this.props.onSelectRange&&this.props.onSelectRange(e),Object(g.b)()},this._renderChildren=e=>{const{ranges:t,activeRange:n,goToDateButton:s}=this.props;return e?i.createElement(i.Fragment,null,i.createElement(j,{ranges:t,activeRange:n,onSelectRange:this._handleRangeSelect}),s&&i.createElement(B,{onGoToDateClick:this._handleGoToDateClick})):i.createElement(i.Fragment,null,t.map(e=>i.createElement(b.b,{key:e.value.value,label:e.description||e.text,isActive:n===e.value.value,onClick:this._handleRangeSelect,onClickArg:e})),s&&i.createElement(v.a,null),s&&i.createElement(b.b,{label:D.goToDate,onClick:this._handleGoToDateClick}))},Object(C.c)(t,{chartWidget:l.any.isRequired})}render(){return i.createElement(p.a,{rule:"screen and (max-width: 428px)"},e=>i.createElement(u.a,{className:W.button,content:D.title,arrow:!0,verticalAttachEdge:m.c.Top,verticalDropDirection:m.d.FromBottomToTop,horizontalMargin:4,"data-name":"date-ranges-menu",isDrawer:e},this._renderChildren(e)))}}I.contextType=L;const z=N(I);var P=n("K3s3"),F=n("W9Y+");function U(e){const t=c(e.className,F.item,{[F.isActive]:e.isActive,[F.isFirst]:e.isFirst,[F.isLast]:e.isLast});return i.createElement("div",{className:t,onClick:e.onClick,ref:e.reference},e.children)}var H=n("nPPD"),q=n("RZ2Z");const K=Object(H.a)(P.a,q);var G=n("qSb5");const X=Object(P.c)((function(e){return i.createElement("div",{className:c(e.className,K.slider),ref:e.reference},i.createElement("div",{className:K.inner}))}));const V=N((function(e){const{className:t,ranges:n,activeRange:s,onSelectRange:a}=e;return i.createElement(X,{className:c(G.sliderRow,t),"data-name":"date-ranges-tabs"},n.map((e,t)=>i.createElement(U,{key:e.value.value,isFirst:0===t,isLast:t===n.length-1,isActive:s===e.value.value,onClick:a&&a.bind(null,e)},i.createElement("div",{title:e.description||e.text,className:"apply-common-tooltip"},e.text))))}))
|
||||
;var Y=n("Iivm"),Z=n("/DW5"),J=n("ul7r"),Q=n("c7H2");const $=Object(Z.b)({keys:["Alt","G"],text:"{0} + {1}"}),ee=Object(C.b)();class te extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidget:e}=this.context;Object(_.trackEvent)("GUI","Chart Bottom Toolbar","go to"),Object(k.showGoToDateDialog)(e)},Object(C.c)(t,{chartWidget:l.any.isRequired})}render(){const{className:e,ranges:t}=this.props;return t.length>0&&i.createElement("div",{className:c("apply-common-tooltip",Q.button,e),"data-name":"go-to-date","data-tooltip-hotkey":$,onClick:this._handleClick,title:Object(r.t)("Go to")},i.createElement(Y.a,{className:Q.icon,icon:J}))}}te.contextType=ee;const ne=N(te);var ie=n("URQ3");function se(e){const{reference:t,className:n,children:s}=e,a=Object(o.a)(e,["reference","className","children"]);return i.createElement("button",Object.assign({},a,{className:c(n,ie.button),ref:t}),i.createElement("span",{className:ie.inner},s))}var ae=n("/+9u"),oe=n("4kQX"),re=n("7KDR"),le=n("5VQP");class ce extends i.PureComponent{constructor(e){super(e),this._element=null,this._menu=null,this._handleRef=e=>{this._element=e},this._showMenu=()=>{if(this._menu&&this._menu.isShown())return this._menu.hide(),void this._menu.destroy();const{getActions:e,right:t}=this.props,n=Object(f.ensureNotNull)(this._element),i=e();0!==i.length&&le.ContextMenuManager.createMenu(i).then(e=>{this._menu=e,e.show((e,i)=>{const s=n.getBoundingClientRect();return{clientX:t?s.right-e:s.left,clientY:s.top-Math.min(i,s.top),overrideHeight:s.top<i?s.top:void 0}},this._element||void 0)})}}render(){const{children:e}=this.props;return i.createElement("span",{onClick:this._showMenu,ref:this._handleRef},e)}}var he=n("2mG+");const de={hint:window.t("Timezone")};const ue=Object(C.b)();class me extends i.PureComponent{constructor(e,t){super(e,t),this._timeFormatter=new oe.TimeFormatter,this._tickInterval=void 0,this._tickClock=()=>{const{chartApiInstance:e}=this.context,t=this._timezoneOffset;if(void 0!==t){const n=1e3*e.serverTimeOffset(),i=new Date(Date.now()+t+n);this.setState({time:this._timeFormatter.format(i)})}},this._getActions=()=>{if(!this.props.withMenu)return[];const{chartWidget:e}=this.context;return function(e){e.updateActions();const t=e.actions();return t&&t.applyTimeZone instanceof re.Action?t.applyTimeZone.getSubItems():[]}(e)},Object(C.c)(t,{chartWidget:l.any.isRequired,chartApiInstance:l.any.isRequired}),this.state={time:"",timezone:""}}componentDidMount(){const{chartWidget:e}=this.context;this._tickInterval=setInterval(this._tickClock,1e3),e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().subscribe(this,this.updateTimezonesButton),t.model().properties().timezone.subscribe(this,this.updateTimezonesButton)})}componentWillUnmount(){const{chartWidget:e}=this.context;clearInterval(this._tickInterval),e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().unsubscribe(this,this.updateTimezonesButton),
|
||||
t.model().properties().timezone.unsubscribe(this,this.updateTimezonesButton)})}render(){const{className:e,withMenu:t}=this.props,{time:n,timezone:s}=this.state;return i.createElement(ce,{getActions:this._getActions},i.createElement(se,{className:c(e,he.button,"apply-common-tooltip"),title:t?de.hint:void 0,disabled:!t,"data-name":"time-zone-menu"},n&&s&&`${n} (${s})`))}updateTimezonesButton(){const{chartWidget:e}=this.context;if(!e.model())return;if(null===e.model().mainSeries().symbolInfo())return;let t=e.model().model().timezone();if("exchange"===t){const n=Object(f.ensureNotNull)(e.model().mainSeries().symbolInfo()).timezone;n&&(t=n)}const n=Object(ae.a)(t);this._timezoneOffset=n.offset,this.setState({timezone:n.string}),this._tickClock()}}me.contextType=ue;var ge=n("z6ID");function pe(e){return i.createElement("span",{className:c(ge.separator,e.className)})}var be=n("tU7i"),ve=n("qFKp");class fe{constructor(e,t,n){this._highlighted=!1,this._chartWidget=e,this._priceScaleGetter=t,this._owner=n,this._setHighlight=this._setHighlight.bind(this),this._removeHighlight=this._removeHighlight.bind(this)}destroy(){this._highlighted&&this._removeHighlight()}handlers(){const e=ve.CheckMobile.any();return{onMouseEnter:e?void 0:this._setHighlight,onMouseLeave:e?void 0:this._removeHighlight}}_setHighlight(){const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries()),n=this._priceScaleGetter();if(null===t||null===n)return;const i=this._chartWidget.paneByState(t);if(null!==i){const t=i.rightPriceAxisesContainer().findAxisWidgetForScale(n);let s=null;null!==t&&(s=t.axisInfo());const a=i.leftPriceAxisesContainer().findAxisWidgetForScale(n);null!==a&&(s=a.axisInfo());const o=i.highlightedPriceAxis();null!==s&&o.value().axis!==s&&(o.setValue({owner:this._owner,axis:s}),e.lightUpdate(),this._highlighted=!0)}}_removeHighlight(){const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries());if(null===t)return;const n=this._chartWidget.paneByState(t);if(null!==n){const t=n.highlightedPriceAxis(),i=t.value();null!==i.axis&&i.owner===this._owner&&(t.setValue({owner:this._owner,axis:null}),e.lightUpdate(),this._highlighted=!1)}}}const _e=Object(C.b)();const Ce=Object(C.b)();const Se=Object(C.b)();const Ee=Object(C.b)();var ye=n("+GaQ"),xe=n("XAms"),we=n("T4/F"),Ne=n("ApAi"),Re=n("PP+v");const ke={extLabel:window.t("ext"),extHint:window.t("Extended Hours is available only for intraday charts"),percentageHint:window.t("Toggle Percentage"),logLabel:window.t("log",{context:"scale"}),logHint:window.t("Toggle Log Scale"),autoLabel:window.t("auto",{context:"scale"}),autoHint:window.t("Toggle Auto Scale"),fullscreenHint:window.t("Toggle Maximize Chart"),adjLabel:window.t("adj",{context:"adjustments"}),adjHint:window.t("Adjust data for dividends"),adjForDividendsOnlyHint:window.t("Data is adjusted for dividends only"),adjForSplitsOnlyHint:window.t("Data is adjusted for splits only")},Oe=(Te=e=>i.createElement(be.b,{text:ke.logLabel,title:ke.logHint,className:e.className,isActive:e.isLogarithm,isGrouped:!0,
|
||||
onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"logarithm"}),(Me=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(f.ensureNotNull)(this.state.series),n=t.priceScale(),i=n.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({log:!i.log},n,window.t("Toggle Log Scale"))},Object(C.c)(t,{chartWidget:l.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"logarithm")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},n.mode()),this.setState({isActive:t.priceScale().isLog(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:e}=this.props,{isActive:t,series:n}=this.state;return i.createElement(Te,Object.assign({},this._priceAxisHighlighter.handlers(),{className:e,isLogarithm:t,isDisabled:null===n,onClick:this._handleSelect}))}_handleMainSeriesPriceScaleChanged(e){let t={};null!==this._priceScale&&(t=this._priceScale.mode(),this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged)),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged(t,e.mode())}_handleModeChanged(e,t){e.log!==t.log&&this.setState({isActive:t.log})}}).contextType=_e,Me);var Te,Me;const Ae=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(f.ensureNotNull)(this.state.series).priceScale(),n=t.mode();e.setPriceScaleMode({autoScale:!n.autoScale},t,window.t("Toggle Auto Scale"))},Object(C.c)(t,{chartWidget:l.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"auto")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},n.mode()),this.setState({isActive:t.priceScale().isAutoScale(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){
|
||||
const{className:t}=this.props,{isActive:n,series:s}=this.state;return i.createElement(e,Object.assign({},this._priceAxisHighlighter.handlers(),{className:t,isAuto:n,isDisabled:null===s,onClick:this._handleSelect}))}_handleMainSeriesPriceScaleChanged(e){let t={};null!==this._priceScale&&(t=this._priceScale.mode(),this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged)),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged(t,e.mode())}_handleModeChanged(e,t){e.autoScale!==t.autoScale&&this.setState({isActive:t.autoScale})}}).contextType=Ce,t}(e=>i.createElement(be.b,{text:ke.autoLabel,title:ke.autoHint,className:e.className,isActive:e.isAuto,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"auto"})),We=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(f.ensureNotNull)(this.state.series),n=t.priceScale(),i=n.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({percentage:!i.percentage},n,window.t("Toggle Percentage Scale"))},Object(C.c)(t,{chartWidget:l.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"percentage")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleScaleChange({},n.mode()),this.setState({isActive:t.priceScale().isPercentage(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:t}=this.props,{isActive:n,series:s}=this.state;return i.createElement(e,Object.assign({},this._priceAxisHighlighter.handlers(),{className:t,isPercentage:n,isDisabled:null===s,onClick:this._handleSelect}))}_handleMainSeriesPriceScaleChanged(e){let t={};null!==this._priceScale&&(t=this._priceScale.mode(),this._priceScale.modeChanged().unsubscribe(this,this._handleScaleChange)),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleScaleChange),this._handleScaleChange(t,e.mode())}_handleScaleChange(e,t){e.percentage!==t.percentage&&this.setState({isActive:t.percentage})}}).contextType=Se,t}(e=>i.createElement(be.b,{icon:we,title:ke.percentageHint,className:e.className,isActive:e.isPercentage,isDisabled:e.isDisabled,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"percentage"}));const je=Object(Z.b)({keys:["Alt","Enter"],text:"{0} + {1}"}),Be=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){
|
||||
super(e,t),this._handleClick=e=>{const{resizerDetacher:t,chartWidgetCollection:n}=this.context;e.shiftKey&&t.detachable.value()?t.detach():this.state.isFullscreen?t.exitFullscreen():t.requestFullscreen()},this._handleLayoutChange=e=>{this.setState({isFullscreen:e})},this._handlePhoneSize=()=>{0},Object(C.c)(t,{chartWidgetCollection:l.any.isRequired,resizerDetacher:l.any.isRequired});const{resizerDetacher:n}=t;this.state={isFullscreen:n.fullscreen.value(),isChangeLayoutButton:this._isChangeLayoutButton()}}componentDidMount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:n}=this.props;e.fullscreen.subscribe(this._handleLayoutChange)}componentWillUnmount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:n}=this.props;e.fullscreen.unsubscribe(this._handleLayoutChange)}render(){const{className:t}=this.props,{isFullscreen:n,isChangeLayoutButton:s}=this.state;return i.createElement(e,{className:t,isFullscreen:n,onClick:this._handleClick})}_isChangeLayoutButton(){return!1}}).contextType=Ee,t}(e=>i.createElement(be.b,{icon:Ne,title:ke.fullscreenHint,className:e.className,isActive:e.isFullscreen,onClick:e.onClick,"data-tooltip-hotkey":je,"data-name":"fullscreen"})),De={properties:!0,fullscreen:!0,preventPhoneLayout:!0},Le={fullscreen:Number.MIN_SAFE_INTEGER,preventPhoneLayout:Number.MIN_SAFE_INTEGER,properties:Number.MIN_SAFE_INTEGER,timeZones:-1,auto:0,logarithm:1,percentage:2,ext:3,adj:4},Ie=(()=>{const e=new Map;return e.set(Oe,"logarithm"),e.set(We,"percentage"),e.set(Ae,"auto"),e.set(Be,"fullscreen"),e})();function ze(e){0}const Pe={dateRangeMode:"hidden",timeZones:!0,fullscreen:!0,preventPhoneLayout:!0,properties:!0,auto:!0,logarithm:!0,percentage:!0,ext:!0,adj:!0},Fe=Object(C.b)();class Ue extends i.PureComponent{constructor(e,t){var n,s;super(e,t),this._timezoneButtonRef=null,this._layout=Object.assign({},Pe),this._raf=null,this._toolbar=null,this._rangeExpanded=null,this._rangeCollapsed=null,this._seriesComponents={},this._injector=(n=()=>this._layout,s=(e,t)=>this._seriesComponents[t]=e,(e,t,a)=>{if(i.isValidElement(e)&&"string"!=typeof e.type){const{props:o}=e;if("string"==typeof o.className){const r={className:c(o.className,0===t&&Re.first,t===a.length-1&&Re.last)},l=n(),h=Object(f.ensureDefined)(Ie.get(e.type));return i.createElement("div",{key:null===e.key?void 0:e.key,className:c(Re.inline,l[h]&&Re.collapsed),ref:e=>s(e,h),onClick:()=>ze()},i.cloneElement(e,r))}}return e}),this._handleResize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=this._layout,t=Object(f.ensureNotNull)(this._toolbar),n=Object(f.ensureNotNull)(this._rangeExpanded),i=(s=function(e){const t={};return Object.keys(e).forEach(n=>{const i=e[n];if(null!==i){const e=a.findDOMNode(i);null!==e&&(t[n]=e)}}),t}(this._seriesComponents),Object.keys(s).map(e=>({name:e,width:s[e].offsetWidth})).sort((e,t)=>Le[e.name]-Le[t.name]));var s
|
||||
;const o=t.offsetWidth,r=i.reduce((e,t)=>e+t.width,0),l=n.offsetWidth,c=!Boolean(n.textContent)||o-r-l<=0?"collapsed":"expanded";if(Object.assign(e,{dateRangeMode:c}),"expanded"!==c){const t=o-Object(f.ensureNotNull)(this._rangeCollapsed).offsetWidth-0;let n=0,s=0;for(const a of i)n+=a.width,a.name in De?(s+=a.width,Object.assign(e,{[a.name]:!1})):Object.assign(e,{[a.name]:t<=n});t<=s&&Object.assign(e,{dateRangeMode:"hidden"})}else Object.assign(e,{timeZones:!1,fullscreen:!1,preventPhoneLayout:!1,properties:!1,auto:!1,logarithm:!1,percentage:!1,ext:!1,adj:!1});this._applyResizing(),this._raf=null}))},this._handleTimezoneButtonRef=e=>{this._timezoneButtonRef=e},this._handleMeasure=()=>{null!==this._toolbar&&this.resizeUI()},this._handleFullscreenableChange=e=>{this._setStateWithResize({isFullscreenable:e})},this._handlePreventPhoneLayoutButtonVisibility=()=>{0},this._handleToolbarRef=e=>this._toolbar=e,this._handleRangeCollapsedRef=e=>this._rangeCollapsed=e,this._handleRangeExpandedRef=e=>this._rangeExpanded=e,this._handleTimeZonesRef=e=>{this._seriesComponents.timeZones=e},Object(C.c)(t,{onContentBoxChanged:l.any.isRequired,chartApiInstance:l.any.isRequired,chartWidget:l.any.isRequired,chartWidgetCollection:l.any.isRequired,resizerDetacher:l.any.isRequired});const{resizerDetacher:o}=this.context;this.state={isFullscreenable:o.fullscreenable.value(),isPreventPhoneLayoutButton:this._isPreventPhoneLayoutButton()}}componentDidMount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:n,chartWidget:i}=this.context;e.subscribe(this,this._handleResize),t.fullscreenable.subscribe(this._handleFullscreenableChange),this.updateTimezonesButton(),this.resizeUI()}componentWillUnmount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:n,chartWidget:i}=this.context;e.unsubscribe(this,this._handleResize),t.fullscreenable.unsubscribe(this._handleFullscreenableChange),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)}render(){const e=this._layout;return i.createElement("div",{className:Re.toolbar,ref:this._handleToolbarRef,onContextMenu:xe.a},this.props.timeFramesWidgetEnabled&&i.createElement(ye.a,null,i.createElement("div",{className:c(Re.dateRangeWrapper,"collapsed"!==e.dateRangeMode&&Re.collapsed),ref:this._handleRangeCollapsedRef},i.createElement("div",{className:c(Re.dateRangeCollapsed)},i.createElement(z,{goToDateButton:this.props.goToDateEnabled}))),i.createElement(h,{onMeasure:this._handleMeasure},i.createElement("div",{className:c(Re.dateRangeWrapper,"expanded"!==e.dateRangeMode&&Re.collapsed),ref:this._handleRangeExpandedRef},i.createElement("div",{className:c(Re.dateRangeExpanded)},i.createElement(V,null),this.props.goToDateEnabled&&i.createElement(pe,null),this.props.goToDateEnabled&&i.createElement(ne,null))))),i.createElement("div",{className:Re.seriesControlWrapper},this.props.timeWidgetEnabled&&i.createElement(h,{onMeasure:this._handleMeasure},i.createElement("div",{className:c(Re.inline,e.timeZones&&Re.collapsed),ref:this._handleTimeZonesRef},i.createElement("div",{
|
||||
className:Re.inline,onClick:this._trackTimezonesButtonClick},i.createElement(me,{className:Re.timezone,withMenu:this.props.timezoneMenuEnabled,ref:this._handleTimezoneButtonRef})),i.createElement("div",{className:Re.inline},i.createElement(pe,null)))),i.createElement(ye.a,{map:this._injector},!1,!1,this.props.percentageScaleButtonEnabled&&!d.enabled("fundamental_widget")&&i.createElement(We,{className:Re.icon}),this.props.logScaleButtonEnabled&&i.createElement(Oe,{className:Re.item}),this.props.autoScaleButtonEnabled&&i.createElement(Ae,{className:Re.item}),this.props.fullscreenButtonEnabled&&this.state.isFullscreenable&&i.createElement(Be,{className:Re.icon,mobileChangeLayoutEnabled:this.props.mobileChangeLayoutEnabled}),!1)))}updateTimezonesButton(){null!==this._timezoneButtonRef&&this._timezoneButtonRef.updateTimezonesButton()}resizeUI(){this._handleResize()}_updateButtonsVisibility(){0}_trackTimezonesButtonClick(){ze()}_setStateWithResize(e){Object.assign(this._layout,Pe),this._applyResizing(),this.setState(e,()=>this._handleResize())}_applyResizing(){const e=this._layout,{dateRangeMode:t}=e,n=Object(o.a)(e,["dateRangeMode"]);this._rangeExpanded&&this._rangeExpanded.classList.toggle(Re.collapsed,"expanded"!==t),this._rangeCollapsed&&this._rangeCollapsed.classList.toggle(Re.collapsed,"collapsed"!==t),Object.keys(n).forEach(e=>{const t=e,i=this._seriesComponents[t];i&&i.classList.toggle(Re.collapsed,n[t])})}_isPreventPhoneLayoutButton(){return!1}}Ue.contextType=Fe;const He={onContentBoxChanged:l.any,computeContentBox:l.any,chartWidget:l.any,chartApiInstance:l.any,chartWidgetCollection:l.any,resizerDetacher:l.any,availableTimeFrames:l.any};class qe extends i.PureComponent{constructor(e){super(e),this._setActiveChart=e=>{this._defineRegistry(e),this.setState({chartWidget:e})};const t=this.props.chartWidgetCollection.activeChartWidget.value();this.state={chartWidget:t},this._defineRegistry(t)}componentDidMount(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._setActiveChart)}componentWillUnmount(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._setActiveChart)}render(){const{chartWidget:e}=this.state;if(!e)return null;const{options:t}=this.props,n={timeFramesWidgetEnabled:t.timeFramesWidgetEnabled,goToDateEnabled:t.timeFramesWidget.goToDateEnabled,timeWidgetEnabled:t.timeWidgetEnabled,timezoneMenuEnabled:t.timeWidget&&t.timeWidget.timezoneMenuEnabled,extendedHoursButtonEnabled:t.extendedHoursButtonEnabled,adjustForDividendsButtonEnabled:t.adjustForDividendsButtonEnabled,logScaleButtonEnabled:t.logScaleButtonEnabled,percentageScaleButtonEnabled:t.percentageScaleButtonEnabled,autoScaleButtonEnabled:t.autoScaleButtonEnabled,fullscreenButtonEnabled:t.fullscreenButtonEnabled,mobileChangeLayoutEnabled:t.mobileChangeLayoutEnabled};return i.createElement(C.a,{validation:He,value:this._registry},i.createElement(Ue,Object.assign({key:e.id()},n)))}_defineRegistry(e){
|
||||
const{onContentBoxChanged:t,computeContentBox:n,chartApiInstance:i,chartWidgetCollection:s,options:{timeFramesWidgetEnabled:a,timeFramesWidget:o}}=this.props,r=a?o.availableTimeFrames:void 0;this._registry={onContentBoxChanged:t,computeContentBox:n,chartWidget:e,availableTimeFrames:r,chartApiInstance:i,chartWidgetCollection:s,resizerDetacher:e.getResizerDetacher()}}}n.d(t,"BottomToolbarRenderer",(function(){return Ke}));class Ke{constructor(e,t,n,s,o,r,l){this._container=e;const c=i.createElement(qe,{onContentBoxChanged:t,computeContentBox:n,chartWidgetCollection:s,chartApiInstance:o,chartWidgetOptions:r,options:l});a.render(c,e),e.setAttribute("data-initialized","true")}destroy(){a.unmountComponentAtNode(this._container),this._container.removeAttribute("data-initialized")}}},N5tr:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return g}));var i=n("mrSG"),s=n("q1tI"),a=n.n(s),o=n("TSYQ"),r=n("tWVy"),l=n("JWMC"),c=n("ijHL"),h=n("v1bN");const d=h;function u(e){const{reference:t}=e,n=Object(i.a)(e,["reference"]),s=Object.assign(Object.assign({},n),{ref:t});return a.a.createElement(e.href?"a":"div",s)}function m(e){e.stopPropagation()}function g(e){const{id:t,role:n,"aria-selected":i,className:d,title:g,labelRowClassName:p,labelClassName:b,shortcut:v,forceShowShortcuts:f,icon:_,isActive:C,isDisabled:S,isHovered:E,appearAsDisabled:y,label:x,link:w,showToolboxOnHover:N,target:R,toolbox:k,reference:O,onMouseOut:T,onMouseOver:M,theme:A=h}=e,W=Object(c.b)(e),j=Object(s.useRef)(null);return a.a.createElement(u,Object.assign({},W,{id:t,role:n,"aria-selected":i,className:o(d,A.item,_&&A.withIcon,{[A.isActive]:C,[A.isDisabled]:S||y,[A.hovered]:E}),title:g,href:w,target:R,reference:function(e){j.current=e,"function"==typeof O&&O(e);"object"==typeof O&&(O.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:i,onClickArg:s,trackEventObject:a}=e;if(S)return;a&&Object(l.trackEvent)(a.category,a.event,a.label);i&&i(s,t);n||Object(r.b)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:i}=e;n&&i&&Object(l.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:i}=e;if(1===t.button&&w&&n){let e=n.label;i&&(e+="_mouseWheelClick"),Object(l.trackEvent)(n.category,n.event,e)}},onMouseOver:M,onMouseOut:T}),void 0!==_&&a.a.createElement("div",{className:A.icon,dangerouslySetInnerHTML:{__html:_}}),a.a.createElement("div",{className:o(A.labelRow,p)},a.a.createElement("div",{className:o(A.label,b)},x)),(void 0!==v||f)&&a.a.createElement("div",{className:A.shortcut},(B=v)&&B.split("+").join(" + ")),void 0!==k&&a.a.createElement("div",{onClick:m,className:o(A.toolbox,{[A.showOnHover]:N})},k));var B}},NOPy:function(e,t,n){e.exports={separator:"separator-eqcGT_ow",small:"small-eqcGT_ow",normal:"normal-eqcGT_ow",large:"large-eqcGT_ow"}},O7m7:function(e,t,n){},"PP+v":function(e,t,n){e.exports={toolbar:"toolbar-2yU8ifXU",dateRangeWrapper:"dateRangeWrapper-2yU8ifXU",seriesControlWrapper:"seriesControlWrapper-2yU8ifXU",
|
||||
dateRangeExpanded:"dateRangeExpanded-2yU8ifXU",dateRangeCollapsed:"dateRangeCollapsed-2yU8ifXU",item:"item-2yU8ifXU",first:"first-2yU8ifXU",last:"last-2yU8ifXU",inline:"inline-2yU8ifXU",timezone:"timezone-2yU8ifXU",icon:"icon-2yU8ifXU",hidden:"hidden-2yU8ifXU",collapsed:"collapsed-2yU8ifXU"}},"R4+T":function(e,t){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>'},R5JZ:function(e,t,n){"use strict";function i(e,t,n,i,s){function a(s){if(e>s.timeStamp)return;const a=s.target;void 0!==n&&null!==t&&null!==a&&a.ownerDocument===i&&(t.contains(a)||n(s))}return s.click&&i.addEventListener("click",a,!1),s.mouseDown&&i.addEventListener("mousedown",a,!1),s.touchEnd&&i.addEventListener("touchend",a,!1),s.touchStart&&i.addEventListener("touchstart",a,!1),()=>{i.removeEventListener("click",a,!1),i.removeEventListener("mousedown",a,!1),i.removeEventListener("touchend",a,!1),i.removeEventListener("touchstart",a,!1)}}n.d(t,"a",(function(){return i}))},RZ2Z:function(e,t,n){e.exports={slider:"slider-3GYrNsPp",inner:"inner-3GYrNsPp"}},"T4/F":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><g fill="none" stroke="currentColor"><circle cx="3.5" cy="3.5" r="2"/><circle cx="10.5" cy="10.5" r="2"/><path stroke-linecap="square" d="M9.5 1.5l-5 11"/></g></svg>'},URQ3:function(e,t,n){e.exports={button:"button-2pZNJ24z",hover:"hover-2pZNJ24z",inner:"inner-2pZNJ24z"}},"W9Y+":function(e,t,n){e.exports={item:"item-3SbREAgE",hover:"hover-3SbREAgE",isActive:"isActive-3SbREAgE",isFirst:"isFirst-3SbREAgE",isLast:"isLast-3SbREAgE"}},XXQ5:function(e,t,n){e.exports={item:"item-1-SF84yU",emptyIcons:"emptyIcons-1-SF84yU",loading:"loading-1-SF84yU",disabled:"disabled-1-SF84yU",interactive:"interactive-1-SF84yU",hovered:"hovered-1-SF84yU",icon:"icon-1-SF84yU",label:"label-1-SF84yU",fullWidth:"fullWidth-1-SF84yU",title:"title-1-SF84yU",nested:"nested-1-SF84yU",shortcut:"shortcut-1-SF84yU",remove:"remove-1-SF84yU"}},XiJV:function(e,t,n){e.exports={separator:"separator-3No0pWrk"}},Xy1d:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},Xzy5:function(e,t){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="M8 5l3.5 3.5L8 12"/></svg>'},YZ9j:function(e){e.exports=JSON.parse('{"loader":"loader-8x1ZxRwP","item":"item-2-89r_cd","tv-button-loader":"tv-button-loader-23vqS1uY","black":"black-20Ytsf0V","white":"white-1ucCcc2I","gray":"gray-XDhHSS-T","loader-initial":"loader-initial-1deQDeio","loader-appear":"loader-appear-2krFtMrd"}')},c7H2:function(e,t,n){e.exports={button:"button-yLOygoSG",hover:"hover-yLOygoSG",icon:"icon-yLOygoSG"}},ijHL:function(e,t,n){"use strict";function i(e){return a(e,o)}function s(e){return a(e,r)
|
||||
}function a(e,t){const n=Object.entries(e).filter(t),i={};for(const[s,a]of n)i[s]=a;return i}function o(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function r(e){return 0===e[0].indexOf("aria-")}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}))},l4ku:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("q1tI"),s=n.n(i),a=n("TSYQ"),o=n("Iivm"),r=n("6KyJ"),l=n("J+f8"),c=n("w+Rv"),h=n("Xy1d"),d=n("Xzy5"),u=n("20PO"),m=n("XXQ5");function g(e){const{isTitle:t,isLoading:n,isHovered:g,active:p,checkable:b,disabled:v,checked:f,icon:_,iconChecked:C,hint:S,subItems:E,label:y,onClick:x,children:w,toolbox:N,fullWidthLabel:R}=e,k=Object(i.useContext)(l.a),O=!!E.length;return n?s.a.createElement("li",{className:a(m.item,m.loading)},s.a.createElement(r.a,{color:"gray"})):s.a.createElement("li",{className:a(m.item,m.interactive,t&&m.title,v&&m.disabled,g&&m.hovered,p&&m.active,k&&m.emptyIcons),onClick:x},s.a.createElement(o.a,{className:a(m.icon),icon:function(){if(b&&f)return C||_||h;return _}()}),s.a.createElement("span",{className:a(m.label,R&&m.fullWidth)},y),!!N&&s.a.createElement(o.a,{onClick:function(){N&&N.action()},className:m.remove,icon:u}),!O&&S&&s.a.createElement(c.a,{className:m.shortcut,text:S}),O&&s.a.createElement(o.a,{className:m.nested,icon:d}),w)}},nPPD:function(e,t,n){"use strict";function i(e,t,n={}){const i=Object.assign({},t);for(const s of Object.keys(t)){const a=n[s]||s;a in e&&(i[s]=[e[a],t[s]].join(" "))}return i}function s(e,t,n={}){return Object.assign({},e,i(e,t,n))}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}))},qSb5:function(e,t,n){e.exports={sliderRow:"sliderRow-1emAA4_D"}},ul7r:function(e,t){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="M1.5 8V6.5m7.5 9h5.5a2 2 0 0 0 2-2v-7m-15 0v-2c0-1.1.9-2 2-2h11a2 2 0 0 1 2 2v2m-15 0h15"/><path fill="currentColor" d="M5 1h1v3H5V1zM12 1h1v3h-1V1z"/><path stroke="currentColor" d="M0 12.5h7.5m0 0L4 16m3.5-3.5L4 9"/></svg>'},v1bN:function(e,t,n){e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-2IihgTnv",hovered:"hovered-2IihgTnv",isDisabled:"isDisabled-2IihgTnv",isActive:"isActive-2IihgTnv",shortcut:"shortcut-2IihgTnv",toolbox:"toolbox-2IihgTnv",withIcon:"withIcon-2IihgTnv",icon:"icon-2IihgTnv",labelRow:"labelRow-2IihgTnv",label:"label-2IihgTnv",showOnHover:"showOnHover-2IihgTnv"}},"w+Rv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("q1tI"),s=n("TSYQ"),a=n.n(s),o=n("ycgn");function r(e){const{text:t="",className:n}=e;return i.createElement("span",{className:a()(o.shortcut,n)},t)}},"x0D+":function(e,t,n){var i,s,a;s=[t],void 0===(a="function"==typeof(i=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var i={get passive(){n=!0}}
|
||||
;window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],o=!1,r=-1,l=void 0,c=void 0,h=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!h(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},u=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}))};e.disableBodyScroll=function(e,i){if(s){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!a.some((function(t){return t.targetElement===e}))){var u={targetElement:e,options:i||{}};a=[].concat(t(a),[u]),e.ontouchstart=function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,i,s,a;1===t.targetTouches.length&&(i=e,a=(n=t).targetTouches[0].clientY-r,!h(n.target)&&(i&&0===i.scrollTop&&0<a||(s=i)&&s.scrollHeight-s.scrollTop<=s.clientHeight&&a<0?d(n):n.stopPropagation()))},o||(document.addEventListener("touchmove",d,n?{passive:!1}:void 0),o=!0)}}else{g=i,setTimeout((function(){if(void 0===c){var e=!!g&&!0===g.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(c=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}));var m={targetElement:e,options:i||{}};a=[].concat(t(a),[m])}var g},e.clearAllBodyScrollLocks=function(){s?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),o&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),o=!1),a=[],r=-1):(u(),a=[])},e.enableBodyScroll=function(e){if(s){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,a=a.filter((function(t){return t.targetElement!==e})),o&&0===a.length&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),o=!1)}else 1===a.length&&a[0].targetElement===e?(u(),a=[]):a=a.filter((function(t){return t.targetElement!==e}))}})?i.apply(t,s):i)||(e.exports=a)},ycgn:function(e,t,n){e.exports={item:"item-f5BaKrKq",interactive:"interactive-f5BaKrKq",hovered:"hovered-f5BaKrKq",disabled:"disabled-f5BaKrKq",active:"active-f5BaKrKq",shortcut:"shortcut-f5BaKrKq",iconCell:"iconCell-f5BaKrKq",icon:"icon-f5BaKrKq",checkmark:"checkmark-f5BaKrKq",content:"content-f5BaKrKq",label:"label-f5BaKrKq",checked:"checked-f5BaKrKq",toolbox:"toolbox-f5BaKrKq",showToolboxOnHover:"showToolboxOnHover-f5BaKrKq",arrowIcon:"arrowIcon-f5BaKrKq",subMenu:"subMenu-f5BaKrKq"}},z6ID:function(e,t,n){e.exports={separator:"separator-13-1nlsQ"}}}]);
|
||||
onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"logarithm"}),(Me=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(f.ensureNotNull)(this.state.series),n=t.priceScale(),i=n.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({log:!i.log},n,window.t("Toggle Log Scale"))},Object(C.c)(t,{chartWidget:l.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"logarithm")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},n.mode()),this.setState({isActive:t.priceScale().isLog(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:e}=this.props,{isActive:t,series:n}=this.state;return i.createElement(Te,Object.assign({},this._priceAxisHighlighter.handlers(),{className:e,isLogarithm:t,isDisabled:null===n,onClick:this._handleSelect}))}_handleMainSeriesPriceScaleChanged(e){null!==this._priceScale&&this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged({},e.mode())}_handleModeChanged(e,t){Boolean(t.log)!==this.state.isActive&&this.setState({isActive:Boolean(t.log)})}}).contextType=_e,Me);var Te,Me;const Ae=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(f.ensureNotNull)(this.state.series).priceScale(),n=t.mode();e.setPriceScaleMode({autoScale:!n.autoScale},t,window.t("Toggle Auto Scale"))},Object(C.c)(t,{chartWidget:l.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"auto")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},n.mode()),this.setState({isActive:t.priceScale().isAutoScale(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){
|
||||
const{className:t}=this.props,{isActive:n,series:s}=this.state;return i.createElement(e,Object.assign({},this._priceAxisHighlighter.handlers(),{className:t,isAuto:n,isDisabled:null===s,onClick:this._handleSelect}))}_handleMainSeriesPriceScaleChanged(e){null!==this._priceScale&&this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged({},e.mode())}_handleModeChanged(e,t){Boolean(t.autoScale)!==this.state.isActive&&this.setState({isActive:Boolean(t.autoScale)})}}).contextType=Ce,t}(e=>i.createElement(be.b,{text:ke.autoLabel,title:ke.autoHint,className:e.className,isActive:e.isAuto,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"auto"})),We=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(f.ensureNotNull)(this.state.series),n=t.priceScale(),i=n.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({percentage:!i.percentage},n,window.t("Toggle Percentage Scale"))},Object(C.c)(t,{chartWidget:l.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"percentage")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleScaleChange({},n.mode()),this.setState({isActive:t.priceScale().isPercentage(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:t}=this.props,{isActive:n,series:s}=this.state;return i.createElement(e,Object.assign({},this._priceAxisHighlighter.handlers(),{className:t,isPercentage:n,isDisabled:null===s,onClick:this._handleSelect}))}_handleMainSeriesPriceScaleChanged(e){null!==this._priceScale&&this._priceScale.modeChanged().unsubscribe(this,this._handleScaleChange),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleScaleChange),this._handleScaleChange({},e.mode())}_handleScaleChange(e,t){Boolean(t.percentage)!==this.state.isActive&&this.setState({isActive:Boolean(t.percentage)})}}).contextType=Se,t}(e=>i.createElement(be.b,{icon:we,title:ke.percentageHint,className:e.className,isActive:e.isPercentage,isDisabled:e.isDisabled,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"percentage"}));const je=Object(Z.b)({keys:["Alt","Enter"],text:"{0} + {1}"}),Be=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),
|
||||
this._handleClick=e=>{const{resizerDetacher:t,chartWidgetCollection:n}=this.context;e.shiftKey&&t.detachable.value()?t.detach():this.state.isFullscreen?t.exitFullscreen():t.requestFullscreen()},this._handleLayoutChange=e=>{this.setState({isFullscreen:e})},this._handlePhoneSize=()=>{0},Object(C.c)(t,{chartWidgetCollection:l.any.isRequired,resizerDetacher:l.any.isRequired});const{resizerDetacher:n}=t;this.state={isFullscreen:n.fullscreen.value(),isChangeLayoutButton:this._isChangeLayoutButton()}}componentDidMount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:n}=this.props;e.fullscreen.subscribe(this._handleLayoutChange)}componentWillUnmount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:n}=this.props;e.fullscreen.unsubscribe(this._handleLayoutChange)}render(){const{className:t}=this.props,{isFullscreen:n,isChangeLayoutButton:s}=this.state;return i.createElement(e,{className:t,isFullscreen:n,onClick:this._handleClick})}_isChangeLayoutButton(){return!1}}).contextType=Ee,t}(e=>i.createElement(be.b,{icon:Ne,title:ke.fullscreenHint,className:e.className,isActive:e.isFullscreen,onClick:e.onClick,"data-tooltip-hotkey":je,"data-name":"fullscreen"})),De={properties:!0,fullscreen:!0,preventPhoneLayout:!0},Le={fullscreen:Number.MIN_SAFE_INTEGER,preventPhoneLayout:Number.MIN_SAFE_INTEGER,properties:Number.MIN_SAFE_INTEGER,timeZones:-1,auto:0,logarithm:1,percentage:2,ext:3,adj:4},Ie=(()=>{const e=new Map;return e.set(Oe,"logarithm"),e.set(We,"percentage"),e.set(Ae,"auto"),e.set(Be,"fullscreen"),e})();function ze(e){0}const Pe={dateRangeMode:"hidden",timeZones:!0,fullscreen:!0,preventPhoneLayout:!0,properties:!0,auto:!0,logarithm:!0,percentage:!0,ext:!0,adj:!0},Fe=Object(C.b)();class Ue extends i.PureComponent{constructor(e,t){var n,s;super(e,t),this._timezoneButtonRef=null,this._layout=Object.assign({},Pe),this._raf=null,this._toolbar=null,this._rangeExpanded=null,this._rangeCollapsed=null,this._seriesComponents={},this._injector=(n=()=>this._layout,s=(e,t)=>this._seriesComponents[t]=e,(e,t,a)=>{if(i.isValidElement(e)&&"string"!=typeof e.type){const{props:o}=e;if("string"==typeof o.className){const r={className:c(o.className,0===t&&Re.first,t===a.length-1&&Re.last)},l=n(),h=Object(f.ensureDefined)(Ie.get(e.type));return i.createElement("div",{key:null===e.key?void 0:e.key,className:c(Re.inline,l[h]&&Re.collapsed),ref:e=>s(e,h),onClick:()=>ze()},i.cloneElement(e,r))}}return e}),this._handleResize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=this._layout,t=Object(f.ensureNotNull)(this._toolbar),n=Object(f.ensureNotNull)(this._rangeExpanded),i=(s=function(e){const t={};return Object.keys(e).forEach(n=>{const i=e[n];if(null!==i){const e=a.findDOMNode(i);null!==e&&(t[n]=e)}}),t}(this._seriesComponents),Object.keys(s).map(e=>({name:e,width:s[e].offsetWidth})).sort((e,t)=>Le[e.name]-Le[t.name]));var s;const o=t.offsetWidth,r=i.reduce((e,t)=>e+t.width,0),l=n.offsetWidth,c=!Boolean(n.textContent)||o-r-l<=0?"collapsed":"expanded"
|
||||
;if(Object.assign(e,{dateRangeMode:c}),"expanded"!==c){const t=o-Object(f.ensureNotNull)(this._rangeCollapsed).offsetWidth-0;let n=0,s=0;for(const a of i)n+=a.width,a.name in De?(s+=a.width,Object.assign(e,{[a.name]:!1})):Object.assign(e,{[a.name]:t<=n});t<=s&&Object.assign(e,{dateRangeMode:"hidden"})}else Object.assign(e,{timeZones:!1,fullscreen:!1,preventPhoneLayout:!1,properties:!1,auto:!1,logarithm:!1,percentage:!1,ext:!1,adj:!1});this._applyResizing(),this._raf=null}))},this._handleTimezoneButtonRef=e=>{this._timezoneButtonRef=e},this._handleMeasure=()=>{null!==this._toolbar&&this.resizeUI()},this._handleFullscreenableChange=e=>{this._setStateWithResize({isFullscreenable:e})},this._handlePreventPhoneLayoutButtonVisibility=()=>{0},this._handleToolbarRef=e=>this._toolbar=e,this._handleRangeCollapsedRef=e=>this._rangeCollapsed=e,this._handleRangeExpandedRef=e=>this._rangeExpanded=e,this._handleTimeZonesRef=e=>{this._seriesComponents.timeZones=e},Object(C.c)(t,{onContentBoxChanged:l.any.isRequired,chartApiInstance:l.any.isRequired,chartWidget:l.any.isRequired,chartWidgetCollection:l.any.isRequired,resizerDetacher:l.any.isRequired});const{resizerDetacher:o}=this.context;this.state={isFullscreenable:o.fullscreenable.value(),isPreventPhoneLayoutButton:this._isPreventPhoneLayoutButton()}}componentDidMount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:n,chartWidget:i}=this.context;e.subscribe(this,this._handleResize),t.fullscreenable.subscribe(this._handleFullscreenableChange),this.updateTimezonesButton(),this.resizeUI()}componentWillUnmount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:n,chartWidget:i}=this.context;e.unsubscribe(this,this._handleResize),t.fullscreenable.unsubscribe(this._handleFullscreenableChange),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)}render(){const e=this._layout;return i.createElement("div",{className:Re.toolbar,ref:this._handleToolbarRef,onContextMenu:xe.a},this.props.timeFramesWidgetEnabled&&i.createElement(ye.a,null,i.createElement("div",{className:c(Re.dateRangeWrapper,"collapsed"!==e.dateRangeMode&&Re.collapsed),ref:this._handleRangeCollapsedRef},i.createElement("div",{className:c(Re.dateRangeCollapsed)},i.createElement(z,{goToDateButton:this.props.goToDateEnabled}))),i.createElement(h,{onMeasure:this._handleMeasure},i.createElement("div",{className:c(Re.dateRangeWrapper,"expanded"!==e.dateRangeMode&&Re.collapsed),ref:this._handleRangeExpandedRef},i.createElement("div",{className:c(Re.dateRangeExpanded)},i.createElement(V,null),this.props.goToDateEnabled&&i.createElement(pe,null),this.props.goToDateEnabled&&i.createElement(ne,null))))),i.createElement("div",{className:Re.seriesControlWrapper},this.props.timeWidgetEnabled&&i.createElement(h,{onMeasure:this._handleMeasure},i.createElement("div",{className:c(Re.inline,e.timeZones&&Re.collapsed),ref:this._handleTimeZonesRef},i.createElement("div",{className:Re.inline,onClick:this._trackTimezonesButtonClick},i.createElement(me,{className:Re.timezone,
|
||||
withMenu:this.props.timezoneMenuEnabled,ref:this._handleTimezoneButtonRef})),i.createElement("div",{className:Re.inline},i.createElement(pe,null)))),i.createElement(ye.a,{map:this._injector},!1,!1,this.props.percentageScaleButtonEnabled&&!d.enabled("fundamental_widget")&&i.createElement(We,{className:Re.icon}),this.props.logScaleButtonEnabled&&i.createElement(Oe,{className:Re.item}),this.props.autoScaleButtonEnabled&&i.createElement(Ae,{className:Re.item}),this.props.fullscreenButtonEnabled&&this.state.isFullscreenable&&i.createElement(Be,{className:Re.icon,mobileChangeLayoutEnabled:this.props.mobileChangeLayoutEnabled}),!1)))}updateTimezonesButton(){null!==this._timezoneButtonRef&&this._timezoneButtonRef.updateTimezonesButton()}resizeUI(){this._handleResize()}_updateButtonsVisibility(){0}_trackTimezonesButtonClick(){ze()}_setStateWithResize(e){Object.assign(this._layout,Pe),this._applyResizing(),this.setState(e,()=>this._handleResize())}_applyResizing(){const e=this._layout,{dateRangeMode:t}=e,n=Object(o.a)(e,["dateRangeMode"]);this._rangeExpanded&&this._rangeExpanded.classList.toggle(Re.collapsed,"expanded"!==t),this._rangeCollapsed&&this._rangeCollapsed.classList.toggle(Re.collapsed,"collapsed"!==t),Object.keys(n).forEach(e=>{const t=e,i=this._seriesComponents[t];i&&i.classList.toggle(Re.collapsed,n[t])})}_isPreventPhoneLayoutButton(){return!1}}Ue.contextType=Fe;const He={onContentBoxChanged:l.any,computeContentBox:l.any,chartWidget:l.any,chartApiInstance:l.any,chartWidgetCollection:l.any,resizerDetacher:l.any,availableTimeFrames:l.any};class qe extends i.PureComponent{constructor(e){super(e),this._setActiveChart=e=>{this._defineRegistry(e),this.setState({chartWidget:e})};const t=this.props.chartWidgetCollection.activeChartWidget.value();this.state={chartWidget:t},this._defineRegistry(t)}componentDidMount(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._setActiveChart)}componentWillUnmount(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._setActiveChart)}render(){const{chartWidget:e}=this.state;if(!e)return null;const{options:t}=this.props,n={timeFramesWidgetEnabled:t.timeFramesWidgetEnabled,goToDateEnabled:t.timeFramesWidget.goToDateEnabled,timeWidgetEnabled:t.timeWidgetEnabled,timezoneMenuEnabled:t.timeWidget&&t.timeWidget.timezoneMenuEnabled,extendedHoursButtonEnabled:t.extendedHoursButtonEnabled,adjustForDividendsButtonEnabled:t.adjustForDividendsButtonEnabled,logScaleButtonEnabled:t.logScaleButtonEnabled,percentageScaleButtonEnabled:t.percentageScaleButtonEnabled,autoScaleButtonEnabled:t.autoScaleButtonEnabled,fullscreenButtonEnabled:t.fullscreenButtonEnabled,mobileChangeLayoutEnabled:t.mobileChangeLayoutEnabled};return i.createElement(C.a,{validation:He,value:this._registry},i.createElement(Ue,Object.assign({key:e.id()},n)))}_defineRegistry(e){const{onContentBoxChanged:t,computeContentBox:n,chartApiInstance:i,chartWidgetCollection:s,options:{timeFramesWidgetEnabled:a,timeFramesWidget:o}}=this.props,r=a?o.availableTimeFrames:void 0;this._registry={
|
||||
onContentBoxChanged:t,computeContentBox:n,chartWidget:e,availableTimeFrames:r,chartApiInstance:i,chartWidgetCollection:s,resizerDetacher:e.getResizerDetacher()}}}n.d(t,"BottomToolbarRenderer",(function(){return Ke}));class Ke{constructor(e,t,n,s,o,r,l){this._container=e;const c=i.createElement(qe,{onContentBoxChanged:t,computeContentBox:n,chartWidgetCollection:s,chartApiInstance:o,chartWidgetOptions:r,options:l});a.render(c,e),e.setAttribute("data-initialized","true")}destroy(){a.unmountComponentAtNode(this._container),this._container.removeAttribute("data-initialized")}}},N5tr:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return g}));var i=n("mrSG"),s=n("q1tI"),a=n.n(s),o=n("TSYQ"),r=n("tWVy"),l=n("JWMC"),c=n("ijHL"),h=n("v1bN");const d=h;function u(e){const{reference:t}=e,n=Object(i.a)(e,["reference"]),s=Object.assign(Object.assign({},n),{ref:t});return a.a.createElement(e.href?"a":"div",s)}function m(e){e.stopPropagation()}function g(e){const{id:t,role:n,"aria-selected":i,className:d,title:g,labelRowClassName:p,labelClassName:b,shortcut:v,forceShowShortcuts:f,icon:_,isActive:C,isDisabled:S,isHovered:E,appearAsDisabled:y,label:x,link:w,showToolboxOnHover:N,target:R,toolbox:k,reference:O,onMouseOut:T,onMouseOver:M,theme:A=h}=e,W=Object(c.b)(e),j=Object(s.useRef)(null);return a.a.createElement(u,Object.assign({},W,{id:t,role:n,"aria-selected":i,className:o(d,A.item,_&&A.withIcon,{[A.isActive]:C,[A.isDisabled]:S||y,[A.hovered]:E}),title:g,href:w,target:R,reference:function(e){j.current=e,"function"==typeof O&&O(e);"object"==typeof O&&(O.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:i,onClickArg:s,trackEventObject:a}=e;if(S)return;a&&Object(l.trackEvent)(a.category,a.event,a.label);i&&i(s,t);n||Object(r.b)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:i}=e;n&&i&&Object(l.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:i}=e;if(1===t.button&&w&&n){let e=n.label;i&&(e+="_mouseWheelClick"),Object(l.trackEvent)(n.category,n.event,e)}},onMouseOver:M,onMouseOut:T}),void 0!==_&&a.a.createElement("div",{className:A.icon,dangerouslySetInnerHTML:{__html:_}}),a.a.createElement("div",{className:o(A.labelRow,p)},a.a.createElement("div",{className:o(A.label,b)},x)),(void 0!==v||f)&&a.a.createElement("div",{className:A.shortcut},(B=v)&&B.split("+").join(" + ")),void 0!==k&&a.a.createElement("div",{onClick:m,className:o(A.toolbox,{[A.showOnHover]:N})},k));var B}},NOPy:function(e,t,n){e.exports={separator:"separator-eqcGT_ow",small:"small-eqcGT_ow",normal:"normal-eqcGT_ow",large:"large-eqcGT_ow"}},O7m7:function(e,t,n){},"PP+v":function(e,t,n){e.exports={toolbar:"toolbar-2yU8ifXU",dateRangeWrapper:"dateRangeWrapper-2yU8ifXU",seriesControlWrapper:"seriesControlWrapper-2yU8ifXU",dateRangeExpanded:"dateRangeExpanded-2yU8ifXU",dateRangeCollapsed:"dateRangeCollapsed-2yU8ifXU",item:"item-2yU8ifXU",first:"first-2yU8ifXU",last:"last-2yU8ifXU",inline:"inline-2yU8ifXU",
|
||||
timezone:"timezone-2yU8ifXU",icon:"icon-2yU8ifXU",hidden:"hidden-2yU8ifXU",collapsed:"collapsed-2yU8ifXU"}},"R4+T":function(e,t){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>'},R5JZ:function(e,t,n){"use strict";function i(e,t,n,i,s){function a(s){if(e>s.timeStamp)return;const a=s.target;void 0!==n&&null!==t&&null!==a&&a.ownerDocument===i&&(t.contains(a)||n(s))}return s.click&&i.addEventListener("click",a,!1),s.mouseDown&&i.addEventListener("mousedown",a,!1),s.touchEnd&&i.addEventListener("touchend",a,!1),s.touchStart&&i.addEventListener("touchstart",a,!1),()=>{i.removeEventListener("click",a,!1),i.removeEventListener("mousedown",a,!1),i.removeEventListener("touchend",a,!1),i.removeEventListener("touchstart",a,!1)}}n.d(t,"a",(function(){return i}))},RZ2Z:function(e,t,n){e.exports={slider:"slider-3GYrNsPp",inner:"inner-3GYrNsPp"}},"T4/F":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><g fill="none" stroke="currentColor"><circle cx="3.5" cy="3.5" r="2"/><circle cx="10.5" cy="10.5" r="2"/><path stroke-linecap="square" d="M9.5 1.5l-5 11"/></g></svg>'},URQ3:function(e,t,n){e.exports={button:"button-2pZNJ24z",hover:"hover-2pZNJ24z",inner:"inner-2pZNJ24z"}},"W9Y+":function(e,t,n){e.exports={item:"item-3SbREAgE",hover:"hover-3SbREAgE",isActive:"isActive-3SbREAgE",isFirst:"isFirst-3SbREAgE",isLast:"isLast-3SbREAgE"}},XXQ5:function(e,t,n){e.exports={item:"item-1-SF84yU",emptyIcons:"emptyIcons-1-SF84yU",loading:"loading-1-SF84yU",disabled:"disabled-1-SF84yU",interactive:"interactive-1-SF84yU",hovered:"hovered-1-SF84yU",icon:"icon-1-SF84yU",label:"label-1-SF84yU",fullWidth:"fullWidth-1-SF84yU",title:"title-1-SF84yU",nested:"nested-1-SF84yU",shortcut:"shortcut-1-SF84yU",remove:"remove-1-SF84yU"}},XiJV:function(e,t,n){e.exports={separator:"separator-3No0pWrk"}},Xy1d:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},Xzy5:function(e,t){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="M8 5l3.5 3.5L8 12"/></svg>'},YZ9j:function(e){e.exports=JSON.parse('{"loader":"loader-8x1ZxRwP","item":"item-2-89r_cd","tv-button-loader":"tv-button-loader-23vqS1uY","black":"black-20Ytsf0V","white":"white-1ucCcc2I","gray":"gray-XDhHSS-T","loader-initial":"loader-initial-1deQDeio","loader-appear":"loader-appear-2krFtMrd"}')},c7H2:function(e,t,n){e.exports={button:"button-yLOygoSG",hover:"hover-yLOygoSG",icon:"icon-yLOygoSG"}},ijHL:function(e,t,n){"use strict";function i(e){return a(e,o)}function s(e){return a(e,r)}function a(e,t){const n=Object.entries(e).filter(t),i={};for(const[s,a]of n)i[s]=a;return i}function o(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function r(e){
|
||||
return 0===e[0].indexOf("aria-")}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}))},l4ku:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("q1tI"),s=n.n(i),a=n("TSYQ"),o=n("Iivm"),r=n("6KyJ"),l=n("J+f8"),c=n("w+Rv"),h=n("Xy1d"),d=n("Xzy5"),u=n("20PO"),m=n("XXQ5");function g(e){const{isTitle:t,isLoading:n,isHovered:g,active:p,checkable:b,disabled:v,checked:f,icon:_,iconChecked:C,hint:S,subItems:E,label:y,onClick:x,children:w,toolbox:N,fullWidthLabel:R}=e,k=Object(i.useContext)(l.a),O=!!E.length;return n?s.a.createElement("li",{className:a(m.item,m.loading)},s.a.createElement(r.a,{color:"gray"})):s.a.createElement("li",{className:a(m.item,m.interactive,t&&m.title,v&&m.disabled,g&&m.hovered,p&&m.active,k&&m.emptyIcons),onClick:x},s.a.createElement(o.a,{className:a(m.icon),icon:function(){if(b&&f)return C||_||h;return _}()}),s.a.createElement("span",{className:a(m.label,R&&m.fullWidth)},y),!!N&&s.a.createElement(o.a,{onClick:function(){N&&N.action()},className:m.remove,icon:u}),!O&&S&&s.a.createElement(c.a,{className:m.shortcut,text:S}),O&&s.a.createElement(o.a,{className:m.nested,icon:d}),w)}},nPPD:function(e,t,n){"use strict";function i(e,t,n={}){const i=Object.assign({},t);for(const s of Object.keys(t)){const a=n[s]||s;a in e&&(i[s]=[e[a],t[s]].join(" "))}return i}function s(e,t,n={}){return Object.assign({},e,i(e,t,n))}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}))},qSb5:function(e,t,n){e.exports={sliderRow:"sliderRow-1emAA4_D"}},ul7r:function(e,t){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="M1.5 8V6.5m7.5 9h5.5a2 2 0 0 0 2-2v-7m-15 0v-2c0-1.1.9-2 2-2h11a2 2 0 0 1 2 2v2m-15 0h15"/><path fill="currentColor" d="M5 1h1v3H5V1zM12 1h1v3h-1V1z"/><path stroke="currentColor" d="M0 12.5h7.5m0 0L4 16m3.5-3.5L4 9"/></svg>'},v1bN:function(e,t,n){e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-2IihgTnv",hovered:"hovered-2IihgTnv",isDisabled:"isDisabled-2IihgTnv",isActive:"isActive-2IihgTnv",shortcut:"shortcut-2IihgTnv",toolbox:"toolbox-2IihgTnv",withIcon:"withIcon-2IihgTnv",icon:"icon-2IihgTnv",labelRow:"labelRow-2IihgTnv",label:"label-2IihgTnv",showOnHover:"showOnHover-2IihgTnv"}},"w+Rv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("q1tI"),s=n("TSYQ"),a=n.n(s),o=n("ycgn");function r(e){const{text:t="",className:n}=e;return i.createElement("span",{className:a()(o.shortcut,n)},t)}},"x0D+":function(e,t,n){var i,s,a;s=[t],void 0===(a="function"==typeof(i=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var i={get passive(){n=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}
|
||||
var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],o=!1,r=-1,l=void 0,c=void 0,h=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!h(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},u=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}))};e.disableBodyScroll=function(e,i){if(s){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!a.some((function(t){return t.targetElement===e}))){var u={targetElement:e,options:i||{}};a=[].concat(t(a),[u]),e.ontouchstart=function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,i,s,a;1===t.targetTouches.length&&(i=e,a=(n=t).targetTouches[0].clientY-r,!h(n.target)&&(i&&0===i.scrollTop&&0<a||(s=i)&&s.scrollHeight-s.scrollTop<=s.clientHeight&&a<0?d(n):n.stopPropagation()))},o||(document.addEventListener("touchmove",d,n?{passive:!1}:void 0),o=!0)}}else{g=i,setTimeout((function(){if(void 0===c){var e=!!g&&!0===g.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(c=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}));var m={targetElement:e,options:i||{}};a=[].concat(t(a),[m])}var g},e.clearAllBodyScrollLocks=function(){s?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),o&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),o=!1),a=[],r=-1):(u(),a=[])},e.enableBodyScroll=function(e){if(s){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,a=a.filter((function(t){return t.targetElement!==e})),o&&0===a.length&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),o=!1)}else 1===a.length&&a[0].targetElement===e?(u(),a=[]):a=a.filter((function(t){return t.targetElement!==e}))}})?i.apply(t,s):i)||(e.exports=a)},ycgn:function(e,t,n){e.exports={item:"item-f5BaKrKq",interactive:"interactive-f5BaKrKq",hovered:"hovered-f5BaKrKq",disabled:"disabled-f5BaKrKq",active:"active-f5BaKrKq",shortcut:"shortcut-f5BaKrKq",iconCell:"iconCell-f5BaKrKq",icon:"icon-f5BaKrKq",checkmark:"checkmark-f5BaKrKq",content:"content-f5BaKrKq",label:"label-f5BaKrKq",checked:"checked-f5BaKrKq",toolbox:"toolbox-f5BaKrKq",showToolboxOnHover:"showToolboxOnHover-f5BaKrKq",arrowIcon:"arrowIcon-f5BaKrKq",subMenu:"subMenu-f5BaKrKq"}},z6ID:function(e,t,n){e.exports={separator:"separator-13-1nlsQ"}}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -2,5 +2,5 @@
|
||||
75:"7167ae4b5df4a1cf1e6b",76:"ac43a4da3d4d5b6f146e",77:"936093c60d857e8370c3",78:"7dfdb6f5096ed76328a2",79:"79dec51744645d57c739",80:"c6bb56bdd0c6d258b01a",81:"06dac836ce0117e9dcc8",82:"f20c731b293bca89b8ec",83:"d96b2016ec1dce063c10",84:"132e359d31cab0497a34",85:"141aaa3eb70e11706399",86:"f068358284cb992f14f4",87:"008da392d49e6905a9cd",88:"96967f45d1735bc64868",89:"571d44f72438bbeb3e51",90:"5ed5f531f60e763f2bf5",91:"58474eaaac241acb177a",92:"9d56ab0d8cccc39f28bc",93:"69ae8eec1b9033468a67",94:"317a27112e67c1d73c58",95:"65ce0cb01e7408bacf98",96:"8f574331c5f7254e658c",97:"f12f0e29d96e5e661d75",98:"9c85c8939af4a700b040",99:"d8aef69d7a7bc6b5d604",100:"1a1c3c422103b437ee0d","general-property-page":"31d6cfe0d16ae931b73c","study-property-pages-with-definitions":"31d6cfe0d16ae931b73c","lt-property-pages-with-definitions":"31d6cfe0d16ae931b73c","change-interval-dialog":"31d6cfe0d16ae931b73c",symbolsearch:"31d6cfe0d16ae931b73c","chart-widget-gui":"31d6cfe0d16ae931b73c","dialogs-core":"a032f8a90410cefb4e1b","create-dialog":"31d6cfe0d16ae931b73c","add-compare-dialog":"31d6cfe0d16ae931b73c","export-data":"31d6cfe0d16ae931b73c","lt-pane-views":"31d6cfe0d16ae931b73c",react:"31d6cfe0d16ae931b73c","simple-dialog":"31d6cfe0d16ae931b73c","new-edit-object-dialog":"31d6cfe0d16ae931b73c","new-confirm-inputs-dialog":"31d6cfe0d16ae931b73c","go-to-date-dialog-impl":"31d6cfe0d16ae931b73c","currency-label-menu":"31d6cfe0d16ae931b73c","study-template-dialog":"31d6cfe0d16ae931b73c","study-market":"31d6cfe0d16ae931b73c","line-tools-icons":"31d6cfe0d16ae931b73c","floating-toolbars":"31d6cfe0d16ae931b73c","restricted-toolset":"31d6cfe0d16ae931b73c","drawing-toolbar":"31d6cfe0d16ae931b73c","symbol-info-dialog-impl":"31d6cfe0d16ae931b73c","chart-bottom-toolbar":"31d6cfe0d16ae931b73c","header-toolbar":"31d6cfe0d16ae931b73c","take-chart-image-dialog-impl":"31d6cfe0d16ae931b73c","context-menu-renderer":"31d6cfe0d16ae931b73c","chart-event-hint":"31d6cfe0d16ae931b73c",redux:"31d6cfe0d16ae931b73c","general-chart-properties-dialog":"31d6cfe0d16ae931b73c","source-properties-editor":"31d6cfe0d16ae931b73c","object-tree-dialog":"31d6cfe0d16ae931b73c","load-chart-dialog":"31d6cfe0d16ae931b73c","symbol-search-dialog":"31d6cfe0d16ae931b73c","series-pane-views":"31d6cfe0d16ae931b73c","study-pane-views":"31d6cfe0d16ae931b73c","lazy-jquery-ui":"31d6cfe0d16ae931b73c","full-tooltips-popup":"31d6cfe0d16ae931b73c","lazy-velocity":"31d6cfe0d16ae931b73c",hammerjs:"31d6cfe0d16ae931b73c","custom-intervals-add-dialog":"31d6cfe0d16ae931b73c",clipboard:"31d6cfe0d16ae931b73c","show-theme-save-dialog":"31d6cfe0d16ae931b73c","manage-drawings-dialog":"31d6cfe0d16ae931b73c","series-icons-map":"31d6cfe0d16ae931b73c"}[e]+("rtl"===document.dir?".rtl.css":".css"),t=o.p+c,f=document.getElementsByTagName("link"),r=0;r<f.length;r++){var i=(l=f[r]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(i===c||i===t))return a()}var n=document.getElementsByTagName("style");for(r=0;r<n.length;r++){var l;if((i=(l=n[r]).getAttribute("data-href"))===c||i===t)return a()}
|
||||
var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=a,s.onerror=function(a){var c=a&&a.target&&a.target.src||t,f=new Error("Loading CSS chunk "+e+" failed.\n("+c+")");f.code="CSS_CHUNK_LOAD_FAILED",f.request=c,delete b[e],s.parentNode.removeChild(s),d(f)},s.href=t,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){b[e]=0})));var d=t[e];if(0!==d&&!{1:1,2:1,3:1,6:1,7:1,8:1,9:1,11:1,13:1,15:1,16:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,28:1,30:1,31:1,34:1,35:1,39:1,41:1,42:1,43:1,44:1,46:1,47:1,48:1,49:1,50:1,53:1,59:1,60:1,62:1,63:1,64:1,66:1,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:1,75:1,76:1,77:1,78:1,79:1,80:1,81:1,82:1,83:1,84:1,85:1,86:1,87:1,88:1,89:1,90:1,91:1,92:1,93:1,94:1,95:1,96:1,97:1,98:1,99:1,100:1}[e])if(d)a.push(d[2]);else{var c=new Promise((function(a,c){d=t[e]=[a,c]}));a.push(d[2]=c);var f,r=document.createElement("script");r.charset="utf-8",r.timeout=120,o.nc&&r.setAttribute("nonce",o.nc),r.src=function(e){return o.p+""+({"general-property-page":"general-property-page","study-property-pages-with-definitions":"study-property-pages-with-definitions","lt-property-pages-with-definitions":"lt-property-pages-with-definitions","change-interval-dialog":"change-interval-dialog",symbolsearch:"symbolsearch","chart-widget-gui":"chart-widget-gui","dialogs-core":"dialogs-core","create-dialog":"create-dialog","add-compare-dialog":"add-compare-dialog","export-data":"export-data","lt-pane-views":"lt-pane-views",react:"react","simple-dialog":"simple-dialog","new-edit-object-dialog":"new-edit-object-dialog","new-confirm-inputs-dialog":"new-confirm-inputs-dialog","go-to-date-dialog-impl":"go-to-date-dialog-impl","currency-label-menu":"currency-label-menu","study-template-dialog":"study-template-dialog","study-market":"study-market","line-tools-icons":"line-tools-icons","floating-toolbars":"floating-toolbars","restricted-toolset":"restricted-toolset","drawing-toolbar":"drawing-toolbar","symbol-info-dialog-impl":"symbol-info-dialog-impl","chart-bottom-toolbar":"chart-bottom-toolbar","header-toolbar":"header-toolbar","take-chart-image-dialog-impl":"take-chart-image-dialog-impl","context-menu-renderer":"context-menu-renderer","chart-event-hint":"chart-event-hint",redux:"redux","general-chart-properties-dialog":"general-chart-properties-dialog","source-properties-editor":"source-properties-editor","object-tree-dialog":"object-tree-dialog","load-chart-dialog":"load-chart-dialog","symbol-search-dialog":"symbol-search-dialog","series-pane-views":"series-pane-views","study-pane-views":"study-pane-views","lazy-jquery-ui":"lazy-jquery-ui","full-tooltips-popup":"full-tooltips-popup","lazy-velocity":"lazy-velocity",hammerjs:"hammerjs","custom-intervals-add-dialog":"custom-intervals-add-dialog",clipboard:"clipboard","show-theme-save-dialog":"show-theme-save-dialog","manage-drawings-dialog":"manage-drawings-dialog","series-icons-map":"series-icons-map"}[e]||e)+"."+{0:"33a5cc728f7d0501c22c",1:"830ab55cbd12351b6a80",2:"12a0b086824d9deeec0a",3:"dcab9d0c246ed6b0b454",
|
||||
4:"617438637759b958be4d",5:"539438146be29ddcf5b1",6:"8632ed095e5ceb3cb3bc",7:"bbf0420d669dba982519",8:"7910dced8fa68e131918",9:"a60e988d06477b022597",10:"f945dc8c0bbb02997910",11:"aa1526372126a71d9ac3",12:"c89a787031e21aaad85e",13:"ababda1a11a9cff86475",14:"ffb20cd9f8b5a4c4e50d",15:"9b692b75e2fa73430724",16:"cb125a744becca6719b7",17:"8ff3b03f69b5652383d1",18:"f7666ae716f7dccdf6e0",19:"f9a454aaa1746ddde327",20:"1cc926a0ea1f6540ec97",21:"439063aafc6127ebfec4",22:"b05594996177646c314b",23:"d87ecd582c4e614dcd94",24:"e123b815be9a3878ae80",25:"083c02ebef55a29a3014",26:"21f3e6d7c13eee6ef16c",27:"9a4ff18e370b97630a4b",28:"7232842b6ffb240c953b",29:"cdd7f1044cef7f3bb39b",30:"1ff3e1eab3f351191cf0",31:"ac7b58ddc87a723ae315",32:"af8c2ba2d40bd2a7113d",33:"223bd00f975b39a20e0f",34:"74c0351a81704a8bee4c",35:"bae26a5a1fed8ae2da15",36:"cf7fb7b7f9df50512a90",37:"cd26e2e2872c1f76b5d9",38:"1ce6eb9dbdab47114ee7",39:"53d52c35a3ce0eb66a98",40:"51557ebe94a73070cfdc",41:"25abeb98d36475604f0c",42:"c3d9c677f9599b3f8b07",43:"2e501cc4dd80f1991a02",44:"9985765b0d03c220b4c9",45:"4e59ba8d1e13aa4689f4",46:"d6dd36b18c9c8edb2501",47:"00b87b5c1c78466dedb9",48:"054931c2af86ecf21372",49:"42b4170370ecd14eb7a6",50:"f6adf25ffb2d4c3d187e",51:"f6b58908e38f4422e977",52:"24088bdb20ee7d658abf",53:"18205443a9f2b1727b98",54:"d59329f6caa2916ddfb2",55:"64e829f323b84ddffe08",56:"81afc99e54bc9d2b6ce0",57:"7fe07945ef5bff70080c",58:"d0907cdd08ffabd98fc1",59:"96633fe6a9fda61e8067",60:"2c7a1d76f98e8c805b58",61:"4364a6fe0079d0d6c373",62:"8d847250f8b16395efc0",63:"a4e303b912c9012f3aec",64:"c61f5bf79e034c8acd30",65:"7a86e39363d3d6a4dab0",66:"edfc62ceb96e827ca77b",67:"5ab9f1c33570616f8d88",68:"61fb03ff93cbe61985da",69:"7ab8cb988e6dc56faa0d",70:"d9aa4d9749ab6f3945c5",71:"06539dcdc1a2dbabe2cf",72:"e50a0bd20bacbe7e7ba7",73:"c15123ca4bd6030b6cd4",74:"38354a0d39b859a6b2d8",75:"4d0da34d54f627e897e7",76:"68f0561bf50592dc927b",77:"caf5bedee31ef0644af6",78:"0eb08beb0ddbcb393dcc",79:"8f39fd77615ec08f812d",80:"a698305af0fea22e3d2b",81:"1347d134c5289f7465d4",82:"a7e5e177caea6264fb83",83:"67078a5c07cc88276c5c",84:"c3ff61e81ba5521831e2",85:"474f45d022d3ee3a5c51",86:"730004fd2d9374fe1e75",87:"ac29ff99ac42fecc07a2",88:"4ca689580c13c6de82e3",89:"cae489fd7734d6b8e4b6",90:"13208287cc41b0af9858",91:"811dba33933d226578d7",92:"75393d2a9c6c969b7a37",93:"0fefdd9b22b523641578",94:"be2ad240c78d48f60166",95:"db4eb20fb98e5c54f9ed",96:"aeb5d7b3079da8970520",97:"4349c6062680a5ce4b7a",98:"9233fc7add2a1b1272dc",99:"1738a688096c9d0b4282",100:"9cb8fc64c32d917b5489","general-property-page":"9ca156e01ab92a2ed174","study-property-pages-with-definitions":"84dce5081c63d2d7cc7e","lt-property-pages-with-definitions":"98760112712778ec98f7","change-interval-dialog":"caa174717fc396f9b67f",symbolsearch:"19851b5e34fded86a21c","chart-widget-gui":"8fea1fddf835f8566ae8","dialogs-core":"b6b60b480470dd5c7de6","create-dialog":"65ca5bcba7bff1ec44e0","add-compare-dialog":"1e5b6a62c7f4b202790c","export-data":"5132a40922a989fd9cf1","lt-pane-views":"2645d052637fddd40f33",react:"25613d055f697ecb9163",
|
||||
"simple-dialog":"6a3fe4408f887cc01c54","new-edit-object-dialog":"a26312e2b543b355405e","new-confirm-inputs-dialog":"d081955161b0250c75dd","go-to-date-dialog-impl":"1370a3199c6373c9edfe","currency-label-menu":"f977730d6946c921af76","study-template-dialog":"24f49e5d48159042440c","study-market":"bc7a9b89c5f9b6205d20","line-tools-icons":"0a525243075f1276ad0f","floating-toolbars":"9fdd4b41b10328fddb90","restricted-toolset":"6d1d95c71558d31f58c6","drawing-toolbar":"f58e9895ed9c22d60302","symbol-info-dialog-impl":"8e70b334c3630d73b212","chart-bottom-toolbar":"759ca7fcec74eda8d35f","header-toolbar":"ebdb76ae9da85a653bf7","take-chart-image-dialog-impl":"857edc74f5863b18fd74","context-menu-renderer":"76ca17292106f4b11312","chart-event-hint":"b991f95780e28b5496fd",redux:"84206e9a62bc96eed4bf","general-chart-properties-dialog":"f1cc2ce460af67d5d713","source-properties-editor":"f7979067b882eb5b875a","object-tree-dialog":"8be0ef3d955c774183d8","load-chart-dialog":"d2138f72669c4dfa778b","symbol-search-dialog":"6e7717d85d7d91bf0f20","series-pane-views":"6b3fb6db03d5aeb06681","study-pane-views":"83ac16646415e6300ac0","lazy-jquery-ui":"0cbc0049edf3f26675e5","full-tooltips-popup":"d34319a9e09f20cc8627","lazy-velocity":"f745f9f6a15d11d931e6",hammerjs:"ff10b604e9e25e94da0b","custom-intervals-add-dialog":"6b53149d1a7d398e5a91",clipboard:"9880cc55187bd8d121c8","show-theme-save-dialog":"a8e09ad79862a1b8d899","manage-drawings-dialog":"9450fd24bf00456695f7","series-icons-map":"de0a18385696a000d0b6"}[e]+".js"}(e);var i=new Error;f=function(a){r.onerror=r.onload=null,clearTimeout(n);var d=t[e];if(0!==d){if(d){var c=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;i.message="Loading chunk "+e+" failed.\n("+c+": "+b+")",i.name="ChunkLoadError",i.type=c,i.request=b,d[1](i)}t[e]=void 0}};var n=setTimeout((function(){f({type:"timeout",target:r})}),12e4);r.onerror=r.onload=f,document.head.appendChild(r)}return Promise.all(a)},o.m=e,o.c=c,o.d=function(e,a,d){o.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:d})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,a){if(1&a&&(e=o(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(o.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var c in e)o.d(d,c,function(a){return e[a]}.bind(null,c));return d},o.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(a,"a",a),a},o.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},o.p="bundles/",o.p=window.WEBPACK_PUBLIC_PATH||o.p;var r=o.e,i=Object.create(null);o.e=function(e){if(!i[e]){i[e]=function e(a,d){return r(a).catch((function(){return new Promise((function(c){var b=function(){window.removeEventListener("online",b,!1),!1===navigator.onLine?window.addEventListener("online",b,!1):c(d<2?e(a,d+1):r(a))};setTimeout(b,d*d*1e3)}))}))}(e,0);var a=function(){
|
||||
"simple-dialog":"6a3fe4408f887cc01c54","new-edit-object-dialog":"a26312e2b543b355405e","new-confirm-inputs-dialog":"d081955161b0250c75dd","go-to-date-dialog-impl":"1370a3199c6373c9edfe","currency-label-menu":"f977730d6946c921af76","study-template-dialog":"24f49e5d48159042440c","study-market":"bc7a9b89c5f9b6205d20","line-tools-icons":"0a525243075f1276ad0f","floating-toolbars":"9fdd4b41b10328fddb90","restricted-toolset":"6d1d95c71558d31f58c6","drawing-toolbar":"f58e9895ed9c22d60302","symbol-info-dialog-impl":"8e70b334c3630d73b212","chart-bottom-toolbar":"0ce40a4af0058113344e","header-toolbar":"ebdb76ae9da85a653bf7","take-chart-image-dialog-impl":"857edc74f5863b18fd74","context-menu-renderer":"76ca17292106f4b11312","chart-event-hint":"b991f95780e28b5496fd",redux:"84206e9a62bc96eed4bf","general-chart-properties-dialog":"f1cc2ce460af67d5d713","source-properties-editor":"f7979067b882eb5b875a","object-tree-dialog":"8be0ef3d955c774183d8","load-chart-dialog":"d2138f72669c4dfa778b","symbol-search-dialog":"6e7717d85d7d91bf0f20","series-pane-views":"6b3fb6db03d5aeb06681","study-pane-views":"83ac16646415e6300ac0","lazy-jquery-ui":"0cbc0049edf3f26675e5","full-tooltips-popup":"d34319a9e09f20cc8627","lazy-velocity":"f745f9f6a15d11d931e6",hammerjs:"ff10b604e9e25e94da0b","custom-intervals-add-dialog":"6b53149d1a7d398e5a91",clipboard:"9880cc55187bd8d121c8","show-theme-save-dialog":"a8e09ad79862a1b8d899","manage-drawings-dialog":"9450fd24bf00456695f7","series-icons-map":"de0a18385696a000d0b6"}[e]+".js"}(e);var i=new Error;f=function(a){r.onerror=r.onload=null,clearTimeout(n);var d=t[e];if(0!==d){if(d){var c=a&&("load"===a.type?"missing":a.type),b=a&&a.target&&a.target.src;i.message="Loading chunk "+e+" failed.\n("+c+": "+b+")",i.name="ChunkLoadError",i.type=c,i.request=b,d[1](i)}t[e]=void 0}};var n=setTimeout((function(){f({type:"timeout",target:r})}),12e4);r.onerror=r.onload=f,document.head.appendChild(r)}return Promise.all(a)},o.m=e,o.c=c,o.d=function(e,a,d){o.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:d})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,a){if(1&a&&(e=o(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var d=Object.create(null);if(o.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var c in e)o.d(d,c,function(a){return e[a]}.bind(null,c));return d},o.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(a,"a",a),a},o.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},o.p="bundles/",o.p=window.WEBPACK_PUBLIC_PATH||o.p;var r=o.e,i=Object.create(null);o.e=function(e){if(!i[e]){i[e]=function e(a,d){return r(a).catch((function(){return new Promise((function(c){var b=function(){window.removeEventListener("online",b,!1),!1===navigator.onLine?window.addEventListener("online",b,!1):c(d<2?e(a,d+1):r(a))};setTimeout(b,d*d*1e3)}))}))}(e,0);var a=function(){
|
||||
delete i[e]};i[e].then(a,a)}return i[e]},o.oe=function(e){throw console.error(e),e};var n=window.webpackJsonp=window.webpackJsonp||[],l=n.push.bind(n);n.push=a,n=n.slice();for(var s=0;s<n.length;s++)a(n[s]);var p=l;d()}([]);
|
||||
Reference in New Issue
Block a user