diff --git a/charting_library/charting_library.min.js b/charting_library/charting_library.min.js index bc1b377f..4f97fb70 100644 --- a/charting_library/charting_library.min.js +++ b/charting_library/charting_library.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.TradingView={})}(this,function(t){"use strict";var e=Object.assign||function(t){for(var e,o=arguments,i=1,n=arguments.length;i'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=s,t.version=s,t.widget=r,Object.defineProperty(t,"__esModule",{value:!0})}); +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.TradingView={})}(this,function(t){"use strict";var e=Object.assign||function(t){for(var e,o=arguments,i=1,n=arguments.length;i'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=s,t.version=s,t.widget=r,Object.defineProperty(t,"__esModule",{value:!0})}); diff --git a/charting_library/static/ar-tv-chart.378bc0772d24845012ab.html b/charting_library/static/ar-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/ar-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/ar-tv-chart.c50161b112a0634ca34f.html index 87e7d6e0..e1ef8230 100644 --- a/charting_library/static/ar-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/ar-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/bundles/library.11e673c7c583dd935841.js b/charting_library/static/bundles/library.05d97551e2b48003a680.js similarity index 97% rename from charting_library/static/bundles/library.11e673c7c583dd935841.js rename to charting_library/static/bundles/library.05d97551e2b48003a680.js index a36ffab1..c809ec4a 100644 --- a/charting_library/static/bundles/library.11e673c7c583dd935841.js +++ b/charting_library/static/bundles/library.05d97551e2b48003a680.js @@ -541,26 +541,26 @@ c._studyEngine.purgeRangeExtensionData(e),c._studyEngine.recreateSources(t.name, time:i[t][1],index:i[t][2]};return e},JSServer.ChartApi.prototype._dispathNotification=function(e){var t,i,n,o,r,s,a,l,c,h,u=e.params.shift();if(this._notificationHandlers[u])switch(e.method){case"timescale_update":t=e.params[0],i=e.params[1],n=this._convertTimescaleResponse(i),n.clear=0===i.changes.length&&0===i.marks.length,this._sessions[u].onMessage({method:"timescale_update",params:n});for(o in t)r={},r.customId=o,r.plots=t[o].series,t[o].ns&&(r.nonseries=t[o].ns),r.turnaround=t[o].turnaround,s={method:"data_update",params:r},this._invokeNotificationHandler(u,o,s);break;case"tickmark_update":n=this._convertTimescaleResponse(e.params[0]),n.changes=[],this._sessions[u].onMessage({method:"timescale_update",params:n});break;case"data_update":for(o in e.params[0]){a=e.params[0][o],r={},r.customId=o,r.plots=a.series?a.series:a.plots,r.turnaround=a.turnaround,"s"in a&&"ns"in a&&(r.plots=a.s,r.nonseries=a.ns);for(l=0;l=r?e[i]=t[r-1].index:e[i]=t[s].index}}function h(e,t){var i,n;null!==t&&0!==t.length&&(i={},T(e,function(e){x(e)&&Object.keys(e).forEach(function(t){t.endsWith("__t")&&(i[e[t]]=!0)})},{visitInstances:!0}),n=Object.keys(i).map(Number).sort(function(e,t){return e-t}),n.forEach(function(e,t){i[e]=t}),Object.assign(e,T(e,function(e){return x(e)&&Object.keys(e).forEach(function(t){t.endsWith("__t")&&(e[t.slice(0,-3)]=i[e[t]])}),e},{visitInstances:!0})),c(n,t),e.indexes=n)}function u(e,t){var i,n;null!==t&&0!==t.length&&(i={},l(e.data,function(e){i[e.time]=!0}),n=Object.keys(i).map(Number).sort(function(e,t){return e-t}),n.forEach(function(e,t){i[e]=t}),l(e.data,function(e){e.index=i[e.time]}),c(n,t),e.indexes=n)}var d,p,_,f,m=i(671),y=i(25),g=i(672),v=i(674),S=i(675),b=i(37),w=i(15).Interval,P=i(31),T=i(676).visitObject,x=i(12).isObject;i(183),i(297),d=i(677).DatafeedRequestsCachedProcessor,p=i(200).timezoneIsAvailable,_=-5e6,f=function(e){function t(e,t,i){return function(n){var o,a;n&&n.count()&&(o=r(t,e),a=1e3*s.getCurrentUTCTime(),o.moveTo(a),o.indexOfBar(a)>=0&&n.setLastBarClosed(!1)),i(n)}}function i(e,i,n,o,r){return s._cachedDatafeed.subscribe(e,i,n,t(e,i,o),r)}function n(e){return s._cachedDatafeed.unsubscribe(e)}function o(e,t,i){s.resolveSymbol(e,t,i)}var s=this;this._studiesCache={},this._sessionsLastDataCache={},this._metainfoCache=[],this._barsCoefficientsCache={},this._extrapolationManager=v,this._externalDatafeed=e,this._datafeedConfiguration=null,this._marketStatusWatchers={},this._resolveRequests={},this._callbacks={}, -this._serverTimeOffset=0,s._logMessage("Datafeed settings received: {0}".format(JSON.stringify(window.configurationData))),s._datafeedConfiguration=s._adoptConfigurationData(window.configurationData),s._fireEvent("configuration_received"),s._externalDatafeed.getServerTime&&s._externalDatafeed.getServerTime(function(e){s._serverTimeOffset=e-(new Date).valueOf()/1e3}),this._pointsetsManager=S,this._rangeExtensionData={},this._quotesInfo=[],this._depthInfo=[],this._fullNameSymbolInfoMap={},this._endOfData={},this._computeStudyCounter=0,this._cachedDatafeed=new d(e,f.createDWMAligner),this._extendedRange=function(e){return s._rangeExtensionData[e]&&s._rangeExtensionData[e].summary},this._extendedRangeForStudy=function(e){var t=s._rangeExtensionData[e];return t?t.summary+t.realtimeBarsCount:0},this._extendedTime=function(e){return s._rangeExtensionData[e]&&s._rangeExtensionData[e].time},g.setupFeed({resolve:o,subscribe:i,unsubscribe:n,calculateHistoryDepth:this._externalDatafeed.calculateHistoryDepth?this._externalDatafeed.calculateHistoryDepth.bind(this._externalDatafeed):void 0})},f.createDWMAligner=function(e,i,n){var o=t.get_timezone(i),r=new b.Session;return r.init(o,n),b.createDWMAligner(e,r)},f.prototype._barsCoefficients=function(e,t){if(0!==e.indexOf("="))return{};var i=e+t;return this._barsCoefficientsCache[i]||(this._barsCoefficientsCache[i]={}),this._barsCoefficientsCache[i]},f.prototype.destroy=function(){this._cachedDatafeed.destroy(),this._externalDatafeed=null},f.prototype.purgeCache=function(){this._endOfData={},this._resolveRequests={}},f.prototype.purgeDataCache=function(){this._cachedDatafeed.purgeCache()},f.prototype._logMessage=function(e){n.enabled("charting_library_debug_mode")&&console.log(e)},f.prototype._extendRange=function(e,t){this._rangeExtensionData[e]||(this._rangeExtensionData[e]={}),void 0===this._rangeExtensionData[e].summary&&(this._rangeExtensionData[e].summary=0),this._rangeExtensionData[e].summary+=t},f.prototype.on=function(e,t){return this._callbacks.hasOwnProperty(e)||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},f.prototype._fireEvent=function(e,t,i){var n,o;if(this._callbacks.hasOwnProperty(e)){for(n=this._callbacks[e],o=0;og[r].value[0],s?g.push({index:d(a),value:[a].concat(l)}):g[r].value=[a].concat(l),f||c([g[g.length-1]],s,g.length,v,i)}var f=!0,m=this._computeStudyCounter++,g=[],v={},S=0,b=!1,w=!1,P=this,T=function(a){var c;if(y.Symbol.parsePeriod(n).isIntraday&&!a.has_intraday)return void h("Unsupported resolution. Did you forget to set has_intraday to true?");try{if(c=new y.StudyEngine({tickerid:i,symbolInfo:a,period:n,body:t,sessionId:e,onErrorCallback:h,rangeExtension:s,input:function(e){return r[e]},out:function(e,t){p(e,t,a)},nonseriesOut:function(e,t){w=!0,u(t,a)},setNoMoreData:function(){b=!0},recalc:function(e,i){f=!1,g.endOfData=b,w&&!(g.length>0)||t.error&&null!==t.error()||l(g,S>0?v:void 0,a,i)}}),!P._studiesCache[e]||!P._studiesCache[e][o])throw Error("This should never happen");P._studiesCache[e][o].engine=c}catch(e){if(!e.studyError)throw e;h(e.message)}},x=function(e){h(e)},C=function(){return P._studiesCache[e]&&P._studiesCache[e][o]&&P._studiesCache[e][o].activeResolve===m} ;P._studiesCache[e][o].activeResolve=m,this.resolveSymbol(i,function(){C()&&T.apply(P,arguments)},function(){C()&&x.apply(P,arguments)})},f.prototype._createStudy=function(e,t,i,n,r,s,a){function l(e){var t,i,o;if(Array.isArray(e))return e;for(t=[],i=p._studiesCache[n][r].metainfo.inputs,o=0;o0?1e3*d[0].value[0]:void 0,u.nextTime&&(!p||u.nextTime

=0&&h&&e.lastBar){for(u=[],d=0;d<=c;d++)u.push(s+.001*d);p=e.lastBar.slice(0),p[0]=p[0]/1e3,TradingView.ChartapiMessagerInstances[i].onTimescaleUpdate(o,r,[{index:h-1,value:p}],n,h-1,u),_=h+c,f=1e3*Math.trunc(u[c]),a(n,_,f),l.rebuildExtrapolatedData(i,n.full_name,t,n,f)}l._updateProjectionData(i,o,r,e)})},f.prototype.onMoreTickmarksRequested=function(e,t,i,n,o){this._extrapolationManager.storage(e,i.full_name,n).onTickmarksNeeded(i,o)},f.prototype.removePointset=function(e){this._pointsetsManager.removePointset(e)},f.prototype.rebuildExtrapolatedData=function(e,t,i,n,o){this._extrapolationManager.storage(e,n.full_name,i).rebuild(o,n)},f.prototype.createPointset=function(e,t,i,n,o,r){var s=this._extrapolationManager.storage(e,n.full_name,o);this._pointsetsManager.createPointset(t,i,o,r,s,n)},f.prototype.studiesMetadata=function(){return 0===this._metainfoCache.length&&(this._metainfoCache=JSServer.studyLibrary.map(function(e){return e.metainfo})),this._metainfoCache},f.prototype.searchSymbols=function(e,t,i,n){function o(e){r._logMessage("Symbol search response: {0}".format(JSON.stringify(e))),n(e)}this._logMessage("Symbol search requested: search string `{0}`, exchange: `{1}`, type `{2}`".format(e,t,i));var r=this;this._externalDatafeed.searchSymbols(e,t,i,o)},f.prototype.resolveSymbol=function(e,t,i){var n,o=g.parseSymbol(e).symbol -;this._resolveRequests[o]?n=this._resolveRequests[o]:(n=this.resolveSymbolInternal(o),this._resolveRequests[o]=n),n.done(t).fail(i)},f.prototype.resolveSymbolInternal=function(e){var t,i=this,n=$.Deferred();return this._logMessage("Symbol resolve requested: `{0}` ".format(e)),t=!0,this._externalDatafeed.resolveSymbol(e,function(o){t&&console.warn("`resolveSymbol` should return result asynchronously. Use `setTimeout` with 0 interval to execute the callback function."),i._logMessage("Symbol resolved: `{0}`, SymbolInfo in server response {1}".format(e,JSON.stringify(o))),a(o),s(o),i._logMessage("Symbol info after post-processing: `{0}`, SymbolInfo {1}".format(e,JSON.stringify(o))),i._fullNameSymbolInfoMap[o.full_name]=o,n.resolve(o)},function(t){i._logMessage("Symbol resolve failed: `{0}`, reason: `{1}`".format(e,t)),n.reject(t)}),t=!1,n.promise()},f.prototype._createMarketStatusWatchers=function(e,t){void 0===this._marketStatusWatchers[e]&&(this._marketStatusWatchers[e]={});var i=this;t.forEach(function(t){void 0===i._marketStatusWatchers[e][t]&&(i._marketStatusWatchers[e][t]=new m(i,e,t))})},f.prototype._removeMarketStatusWatchers=function(e){var t=this;Object.keys(this._marketStatusWatchers[e]||{}).forEach(function(i){t._marketStatusWatchers[e][i].stop()}),this._marketStatusWatchers[e]={}},f.prototype._stopQuotesSubscription=function(e){this._quotesInfo[e].listenerGUID&&(this._externalDatafeed.unsubscribeQuotes(this._quotesInfo[e].listenerGUID),this._quotesInfo[e].listenerGUID=void 0),this._removeMarketStatusWatchers(e)},f.prototype._startQuotesSubscription=function(e){function t(t,i){var n=r._marketStatusWatchers[e][t.n];t.symbolname=t.n,t.status=t.s,t.values=t.v,t.values.change=t.v.ch,t.values.last_price=t.v.lp,t.values.change_percent=t.v.chp,t.values.current_session=t.v.cs||n&&n.marketStatus(),t.values.pricescale=i.pricescale,t.values.minmov=i.minmov,t.values.minmove2=i.minmove2||0,t.values.fractional=i.fractional||!1,n&&t.v.cs&&n.stop(),TradingView.ChartapiMessagerInstances[e].onQuotesData([e].concat([t]))}function i(e){e.forEach(function(e){void 0!==o[e.n]?null!==o[e.n]&&t(e,o[e.n]):r.resolveSymbol(e.n,function(i){o[e.n]=i,t(e,i)},function(){o[e.n]=null})})}var o={},r=this,s=this._quotesInfo[e].symbols;0!==s.length&&(this._externalDatafeed.getQuotes&&!n.enabled("charting_library")?this._externalDatafeed.getQuotes(s,function(t){r._quotesInfo[e]&&(i(t),r._quotesInfo[e].listenerGUID=e,r._externalDatafeed.subscribeQuotes(s,r._quotesInfo[e].fastSymbols,i,r._quotesInfo[e].listenerGUID))},function(e){}):!this._externalDatafeed.getQuotes&&n.enabled("trading_terminal")&&setTimeout(function(){i(s.map(function(e){return{n:e,s:"ok",v:{}}}))}),this._createMarketStatusWatchers(e,s))},f.prototype._restartQuotesSubscription=function(e){this._stopQuotesSubscription(e),this._startQuotesSubscription(e)},f.prototype.quoteCreateSession=function(e){this._quotesInfo[e]={symbols:[],fastSymbols:[],listenerGUID:void 0}},f.prototype.quoteDeleteSession=function(e){this._stopQuotesSubscription(e),this._quotesInfo[e]=null}, -f.prototype.quoteSetFields=function(e,t){},f.prototype.quoteAddSymbols=function(e,t){this._quotesInfo[e].symbols=this._filteredSymbols(this._quotesInfo[e].symbols.concat(t)),this._restartQuotesSubscription(e)},f.prototype.quoteRemoveSymbols=function(e,t){this._quotesInfo[e].symbols=this._quotesInfo[e].symbols.filter(function(e){return t.indexOf(e)<0}),this._restartQuotesSubscription(e)},f.prototype.quoteFastSymbols=function(e,t){this._quotesInfo[e].fastSymbols=this._filteredSymbols(t),this._restartQuotesSubscription(e)},f.prototype.quoteHibernateAll=function(e){},f.prototype._stopDepthSubscription=function(e){this._depthInfo[e].listenerGUID&&(this._externalDatafeed.unsubscribeDepth(this._depthInfo[e].listenerGUID),this._depthInfo[e].listenerGUID=void 0)},f.prototype._startDepthSubscription=function(e){function t(e){return e.map(function(e){return{p:e.price,v:e.volume}})}function i(e){var i={};return i.s=r,i.bids=t(e.bids),i.asks=t(e.asks),i}function n(t){t.snapshot?TradingView.ChartapiMessagerInstances[e].onDepthData([e].concat([i(t)])):TradingView.ChartapiMessagerInstances[e].onDepthUpdate([e].concat([i(t)]))}var o=this,r=this._depthInfo[e].symbol;r&&this._fullNameSymbolInfoMap[r]&&this._externalDatafeed.subscribeDepth&&(o._depthInfo[e].listenerGUID=this._externalDatafeed.subscribeDepth(r,function(t){o._depthInfo[e]&&n(t)}))},f.prototype._restartDepthSubscription=function(e){this._stopDepthSubscription(e),this._startDepthSubscription(e)},f.prototype.depthCreateSession=function(e){this._depthInfo[e]={symbol:null,listenerGUID:void 0}},f.prototype.depthDeleteSession=function(e){this._depthInfo[e].symbol=null,this._stopDepthSubscription(e),delete this._depthInfo[e]},f.prototype.depthSetSymbol=function(e,t){this._depthInfo[e].symbol=t,this._restartDepthSubscription(e)},f.prototype._filteredSymbols=function(e){var t=[];return e.forEach(function(e){e instanceof Object||t.indexOf(e)<0&&t.push(e)}),t},f.prototype._isEndOfData=function(e,t,i){var n=e+"!"+t+"@"+i;return!!this._endOfData[n]},f.prototype._setEndOfData=function(e,t,i){var n=e+"!"+t+"@"+i;this._endOfData[n]=!0},f.prototype.alignTimePoint=function(e,t,i){return n.enabled("disable_resolution_rebuild")?e:r(t,i).alignTimeIfPossible(1e3*e)/1e3},f.prototype.serverTimeOffset=function(){return this._serverTimeOffset},f.prototype.getCurrentUTCTime=function(){return(new Date).valueOf()/1e3+this._serverTimeOffset},e.exports=f}).call(t,i(35),i(5))},function(e,t,i){"use strict";(function(t){var n=i(37),o={},r=function(e,i,r){function s(){var e={};e.symbolname=_,e.status="ok",e.values={},e.values.current_session=d,o[_]=d,TradingView.ChartapiMessagerInstances[f].onQuotesData([f].concat([e]))}function a(e,i,o){var r=t.get_timezone(i);c=(new n.Session).init(r,e),h=o,m=setInterval(l,6e4),l(),s()}function l(){var e,t;if(c){if(h)return void(d="out_of_session");e=n.isTradingNow(new Date,c),t=e?"market":"out_of_session",t!==d&&(d=t,s())}}var c,h,u={},d=o[r]||"out_of_session",p=!1,_=r,f=i,m=null;return e.resolveSymbol(r,function(e){p||a(e.session,e.timezone,e.expired)},function(){}), -u.stop=function(){p=!0,m&&clearInterval(m)},u.marketStatus=function(){return d},u};e.exports=r}).call(t,i(35))},function(e,t,i){"use strict";(function(t){var n=i(673).HeikenAshi,o=i(15).Interval,r=function(){function e(e){this.host=e,this.cache={}}function r(e){var t=e.indexOf(",");return-1===t?e:e.slice(0,t)}function s(e,t,i,n,o,r,s){return o+e+t+i+(a(n)?"_":"")+r+"_"+s}function a(e){return e.has_empty_bars||e.force_session_rebuild}function l(e){if(0!==e.indexOf("="))return{symbol:e};var t;try{t=JSON.parse(e.slice(1))}catch(t){return{symbol:e}}return t.type&&(0===t.type.indexOf("BarSetHeikenAshi@tv-basicstudies-")?t.builder=new n:console.error("unknown builder type: "+t.type)),"string"!=typeof t.symbol&&(t.session=t.symbol.session||t.session,t.symbol=t.symbol.symbol),t}function c(t){e.instance=new e(t),p.setupFeed(e.instance)}var h,u,d,p=i(25),_=i(37),f=p.Symbol,m=p.StudyEngine,y=p.BarBuilder,g=p.BarSet;return e.prototype.getCache=function(e){return this.cache[e]},e.prototype.putCache=function(e,t){this.cache[e]=t},e.prototype.subscribe=function(e,t,i,n,o,r,a,l,c,h){var u=s(e,t,i,a,l,n,h),d=this.getCache(u);return d||(d=this.createItem(e,t,i,a,c,l,n,h),this.putCache(u,d)),d.listeners.addListener(o,r),{key:u,listener:o}},e.prototype.unsubscribe=function(e){var t=this.getCache(e.key);t&&t.listeners.removeListener(e.listener)},e.prototype.removeUnused=function(){var e,t,i,n,o,r=[];for(e in this.cache)this.cache[e]&&(t=this.cache[e],0===t.listeners.listenersCount()&&r.push(e));if(0!==r.length){for(i=0;i=0;r--)if(s=+o[r],n%s==0)return s+(a.isSeconds?"S":"");return""}return n+(a.isSeconds?"S":"")},e.prototype.createItem=function(e,t,i,n,s,c,p,_){var f,m,g,v,S,b,w,P=new d,T=l(e);return T.builder?new u(P,T.symbol,t,i,T.builder,n,s,c):(f=r(t),m=this.rebuildFrom(f,r(i),n),g=a(n),!o.isEqual(f,m)||g?(v=n.has_empty_bars,S=$.extend({},n),g&&(S.has_empty_bars=!1,S.force_session_rebuild=!1),void 0!==_&&(b=o.parse(f).inMilliseconds()/o.parse(m).inMilliseconds(),_*=Math.ceil(b)),new u(P,T.symbol,t,m,new y(t,v),S,s,c,p,_)):(w=T.session&&"extended"!==T.session,new h(P,T.symbol,t,i,w,this.host,n,s,p,_)))},h=function(e,t,i,n,o,s,a,l,c,h){this.listeners=e,this.host=s;var u=this;this.host.resolve(t,function(e){o&&e.regular_session&&(e.session=e.regular_session);var s=u.calculateFromTo(e,c||n||i,t,l,h) -;u.subs=u.host.subscribe(e,r(i),s,function(e){u.listeners.fire(e)},function(e){u.listeners.onError(e)})},function(e){u.listeners.onError(e)})},h.prototype._createDWMAligner=function(e,i){var n=t.get_timezone(i.timezone),o=new _.Session;return o.init(n,i.session),f.newBarBuilder(e,o,o)},h.prototype.stop=function(){this.subs&&this.host.unsubscribe(this.subs)},h.prototype.calculateFromTo=function(e,i,n,o,r){var s,a,l,c,h,u,d,p,m=f.parsePeriod(i),y=(new Date).valueOf(),g=e.expired?t.cal_to_utc(t.get_timezone(e.timezone),new Date(1e3*e.expiration_date))||y:y;return""===m.resolution?(a=m.interval,l="D"):"S"===m.resolution?(a=10*m.interval,l=""):(c="D"===m.resolution?1:"W"===m.resolution?5:30,a=12*c*m.interval,l="M"),m.range?(a=m.range.interval,l=m.range.resolution):this.host.calculateHistoryDepth&&(h=this.host.calculateHistoryDepth(i,l,a))&&(a=h.intervalBack||a,l=void 0===h.resolutionBack?l:h.resolutionBack),u=e.sessionString||e.session,s=_.alignPeriodsBack(u,l,a,1,g),o&&o.getRangeExtensionTime&&(d=o.getRangeExtensionTime())&&(s=Math.min(1e3*d,s)),p=Math.ceil(1.5*r),o&&o.getRangeExtensionCount&&(p+=o.getRangeExtensionCount()),p>0&&(s=_.alignPeriodsBack(u,m.resolution,m.interval,p,s)),{from:s,to:g+6e4}},u=function(e,t,i,n,o,r,s,a,l,c){if(this.listeners=e,this.isRecalculated=!1,""===n)return console.error("unsupported resolution for rebuild: "+i),void this.listeners.onError("unsupported resolution for rebuild: "+i);this.symbolInfo=r;var h=this;this.engine=new m({tickerid:t,period:n,periodBase:i,body:o,sessionId:a,symbolInfo:r,rangeExtension:s,periodForInitialRange:l,additionalBarsCount:c,recalc:function(e,t){h._recalc(t)},out:function(e,t){h._out(e,t)},nonseriesOut:function(e,t){h._nonseriesOut(e,t)},setNoMoreData:function(){h.barset&&(h.barset.endOfData=!0)},onErrorCallback:function(e){h.listeners.onError(e)}})},u.prototype.stop=function(){this.engine?this.engine.stop():console.error("Internal library error 0x1")},u.prototype._recalc=function(e){this.isRecalculated&&console.error("recalc called twice!"),this.barset||(this.barset=new g(this.symbolInfo)),e&&(this.barset.nextTime=e.nextTime,this.barset.endOfData=e.endOfData),this.listeners.fire(this.barset),this.isRecalculated=!0},u.prototype._nonseriesOut=function(e,t){var i=Object.assign({},t);i.nonseries=!0,i.data=t.bars,delete i.bars,i.barsetSize=this.barset?this.barset.count():0,i.lastBar=this.barset?this.barset.bar(this.barset.count()-1):null,this.listeners.fire(i,!0)},u.prototype._out=function(e,t){var i,n,o,r,s,a,l,c=t[0];if(!isNaN(c)){if(i={time:c,open:t[1],high:t[2],low:t[3],close:t[4],volume:t[5],updatetime:t[6]},n=t[7],this.barset||(this.barset=new g(e.info)),(o=t[8])instanceof Array)for(r=0;rt?1:e=t||!i._shouldExtrapolateMore()?null:s.extrapolateBarsFrontByCount(i.newBarBuilder(e),n,t)})},a.prototype._ensureExtrapolatedToTime=function(e,t){var i=this;return this._extrapolateData(e,function(n){var o,r;return n>=t||!i._shouldExtrapolateMore()?null:(o=2e3,r=s.extrapolateBarsFrontToTime(i.newBarBuilder(e),n,t,o),r[r.length-1]e?this._extrapolatedBarsCache=[]:this._lastRealBarTime!==t&&this._extrapolatedBarsCache.shift(e-this._lastRealBarIndex)),this._lastRealBarIndex=e,this._lastRealBarTime=t;for(var i=0;it?1:e.value[0]=0&&t4*(7-i.spec.weekEndsCount()))d=h/7,u=d*(7-i.spec.weekEndsCount());else{for(p=0,_={},f=l;f.valueOf()<=c.valueOf();f=m.add_days_considering_dst(i.timezone,f,1))y=m.get_day_of_week(f),void 0===_[y]&&(_[y]=i.spec.isWeekEnd(y)),_[y]&&p++;u=h-p}if(t.isDays())s=Math.ceil(u/t.multiplier());else{if(g=t.isHours()?60*t.multiplier()*60:t.isSeconds()?t.multiplier():60*t.multiplier(),h<1&&(v=i.spec.findSessionEntry(m.get_day_of_week(l),m.get_minutes_from_midnight(l)),S=i.spec.findSessionEntry(m.get_day_of_week(c),m.get_minutes_from_midnight(c)),v===S))return Math.ceil((o-n)/g);y=i.spec.entries()[0].dayOfWeek(),b=60*i.spec.entries().reduce(function(e,t){return e+(t.dayOfWeek()===y?t.length():0)},0),s=Math.ceil(u*b/g)}}return s}function d(e,t,i,s,a){var l,c,h=new o(t),d=m.get_timezone(e.timezone),p=new n.Session;return p.init(d,e.session),l=r(e,t),i=l.alignTimeIfPossible(1e3*i)/1e3,s=l.alignTimeIfPossible(1e3*s)/1e3,i>=s?0:(c=u(e,h,p,i,s),c>=1e3?c:a.findDistanceInBars(i,s,e))}var p={},_="undefined"!=typeof window?window:t,f=i(25),m=_.PineJsCalendar?_.PineJsCalendar:i(35);return{createPointset:s,removePointset:a,broadcastPointsetsUpdates:c,tests:{approxBarsInterval:u,indexOfTime:h}}}();e.exports=r}).call(t,i(99))},function(e,t,i){"use strict";function n(e,t,i){return Object(a.isArray)(e)?o(e,t,i):Object(a.isObject)(e)&&(Object(a.isHashObject)(e)||i&&i.visitInstances)?r(e,t,i):e}function o(e,t,i){return e.map(function(e){var o=n(e,t,i),r=t(o);return void 0!==r?r:o})}function r(e,t,i){var o={};return Object.keys(e).forEach(function(r){var s=n(e[r],t,i),a=t(s);o[r]=void 0!==a?a:s}),o}function s(e,t,i){var o=n(e,t,i),r=t(o);return void 0!==r?r:o}var a;Object.defineProperty(t,"__esModule",{value:!0}),t.visitObject=s,a=i(12),i.n(a)},function(e,t,i){"use strict";function n(e,t){return e.ticker+"_"+t} -function o(e){return new Date(e).toISOString()}var r,s,a,l,c,h;Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"DatafeedRequestsCachedProcessor",function(){return h}),r=i(15),s=i(78),a=i(25),i.n(a),l=i(5),i.n(l),i(86),c=function(){function e(e,t,i,n){this._cache={bars:[]},this._nextSubscriptionId=0,this._pendingSubscribers=[],this._subscribers=[],this._requesting=!1,this._leftDate=null,this._gaps=[],this._needPurgeCache=!1,this._realtimeOn=!1,this._endOfData=!1,this._resetCacheTimeout=null,this._errorMessage=null,this._datafeed=e,this._symbolInfo=t,this._resolution=i,this._dwmAligner=n}return e.prototype.destroy=function(){0!==this._subscribers.length&&console.warn("Destroying with not-empty state"),this._clearResetCacheTimeout(),this._unsubscribeRealtime(),this._purgeCache(),delete this._datafeed},e.prototype.addSubscription=function(e,t,i){var n=this,o=this._getNextSubscriptionId(),r=Math.floor(e.from/1e3),s=Math.floor(e.to/1e3);return this._pendingSubscribers.push({key:o,range:{from:r,to:s},onHistoryCallback:t,onErrorCallback:i}),this._clearResetCacheTimeout(),setTimeout(function(){return n._processPendingSubscribers()},0),o},e.prototype.removeSubscription=function(e){var t,i=this,n=this._pendingSubscribers.find(function(t){return t.key===e});return n?void this._pendingSubscribers.splice(this._pendingSubscribers.indexOf(n),1):(t=this._subscribers.find(function(t){return t.key===e}))?(this._subscribers.splice(this._subscribers.indexOf(t),1),void(this._subscribers.length||(this._symbolInfo.expired||this._symbolInfo.expiration_date?this._unsubscribeRealtime():this._resetCacheTimeout=setTimeout(function(){i._purgeCacheDelayed(),i._unsubscribeRealtime()})))):void console.warn("Unknown subscription symbol={0}, resolution={1}, key={2}".format(this._symbolInfo.name,this._resolution,e))},e.prototype._purgeCacheDelayed=function(){this._logMessage("Reset cache"),this._needPurgeCache=!0,this._clearResetCacheTimeout()},e.prototype._logMessage=function(e,t){(l.enabled("charting_library_debug_mode")||t)&&console.log("FEED [{0}|{1}]: {2}".format(this._symbolInfo.name,this._resolution,e))},e.prototype._clearResetCacheTimeout=function(){null!==this._resetCacheTimeout&&(clearTimeout(this._resetCacheTimeout),this._resetCacheTimeout=null)},e.prototype._purgeCache=function(){this._cache={bars:[]},this._gaps=[],this._errorMessage=null,this._needPurgeCache=!1,this._leftDate=null,this._endOfData=!1},e.prototype._processPendingSubscribers=function(){var e,t,i,n,s,a,l=this,c=this._pendingSubscribers;if(c.length){if(this._requesting)return void this._logMessage("Processing is skipped due active request");if(this._logMessage("Processing pending subscribers, count="+c.length),this._needPurgeCache&&this._purgeCache(),this._errorMessage)return e=this._errorMessage,this._logMessage("Return error: "+e),this._pendingSubscribers=[],void c.forEach(function(t){t.onErrorCallback(e)});if(t=c.reduce(function(e,t){return Math.min(t.range.from,e)},1/0),this._logMessage('Leftmost requested "from" is '+o(1e3*t)), -(!this._leftDate||t0?this._logMessage("Bars to return for request {0}: total {1} bars in [{2} ... {3}] ".format(e.key,s.count(),o(s.bars[0].time),o(s.bars[s.count()-1].time))):this._logMessage("Request {0}. Nothing to return.".format(e.key)),t.barset=s,i=this._inGapNextTime(r.from),i?(this._logMessage("Request {0} is in gap, nextTime = {1}".format(e.key,o(1e3*i))),s.nextTime=i):0===s.count()&&(n=this._cache.bars.length&&this._cache.bars[this._cache.bars.length-1].time/1e3)&&r.from>n&&(this._logMessage("Request {0} is in gap, nextTime = {1}".format(e.key,o(1e3*n))),s.nextTime=n||void 0),this._endOfData&&null!==this._leftDate&&e.range.from<=this._leftDate&&(s.endOfData=!0),e.onHistoryCallback(s)},e.prototype._createBarset=function(e){var t=Object(s.lowerbound)(this._cache.bars,1e3*e,function(e,t){return e.time0?this._processFullBarset(e,t):this._processEmptyBarset(t),this._processPendingSubscribers()},e.prototype._processEmptyBarset=function(t){this._logMessage("Receiving bars: barset is empty"),t&&t.nextTime?(this._logMessage("Next time received: `{0}`".format(o(1e3*t.nextTime))),this._addGap(t.nextTime),this._leftDate=Math.min(this._leftDate||e._now()/1e3,t.nextTime+1)):t&&t.noData?(this._logMessage("EOD received"),this._endOfData=!0,this._cache.bars.length&&(this._leftDate=this._cache.bars[0].time/1e3)):this._logMessage("nextTime or noData should present in metainfo when empty barset is returned")},e.prototype._processFullBarset=function(e,t){var i=e[0].time,n=e[e.length-1].time;this._logMessage("Receiving bars: total {0} bars in [{1} ... {2}] ".format(e.length,o(i),o(n))),null!==this._leftDate&&i<1e3*this._leftDate&&!l.enabled("cl_feed_return_all_data")&&this._logMessage("Returned more data than needed"),this._putToCache(e)?null!==this._leftDate&&this._cache.bars.length&&this._leftDate>this._cache.bars[0].time/1e3&&(this._leftDate=this._cache.bars[0].time/1e3):this._logMessage("Incremental update failed. Starting full update. Returned data should be in the requested range.",!0),t&&t.nextTime?console.warn("nextTime should be set when there is no data in the requested period only"):t&&t.noData&&console.warn("noData should be set when there is no data in the requested period and earlier only")},e.prototype._addGap=function(t){var i;this._gaps.find(function(e){return e.from===t})||(i=(this._cache.bars.length?this._cache.bars[0].time:e._now())/1e3,this._gaps.push({from:t,to:i}))},e.prototype._inGapNextTime=function(e){var t=this._gaps.find(function(t){return t.frome});return t?t.from:null},e.prototype._getNextSubscriptionId=function(){return this._nextSubscriptionId++},e.prototype._checkBars=function(e,t){var i,n;if(void 0===t&&(t=!1),l.enabled("charting_library_debug_mode"))for(i=1;i=this._cache.bars[0].time){var t=this._cache.bars[this._cache.bars.length-1].time===e[e.length-1].time -;if(this._cache.bars=[],!t)return this._leftDate=null,!1;this._logMessage("Received history up to now instead of incremental update. Return exactly what is requested.")}return this._cache.bars=e.concat(this._cache.bars),this._checkBars(this._cache.bars,!0),!0},e.prototype._putToCacheNewBar=function(e){var t=this._cache.bars.length,i=e.time,n=0===t?NaN:this._cache.bars[t-1].time;0===t||n=this.chartsCount())throw Error("Incorrect index: "+e);return this._getChartWidgetApi(this._chartWidgetCollection.getAll()[e])},o.prototype.getSymbolInterval=function(e){var t={symbol:r.symbol.value(),interval:r.interval.value()};return e&&e(t),t},o.prototype.saveChart=function(e){var t=this;this._saveChartService.whenReadyToSave(function(){var i=t._saveChartService.saveToJSON();return e&&e(JSON.parse(i.content))})},o.prototype.loadChart=function(e){this._chartApiInstance.purgeCache(),this._chartApiInstance._studyEngine.stopSources(),this._chartWidgetCollection.loadContent(e.json),this._chartWidgetCollection.purgeUnusedWidgets(),e.extendedData&&(this._chartWidgetCollection.metaInfo.id.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.uid.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.name.setValue(e.extendedData.name)),r.symbol.setValue(this.activeChart().symbol()),l.emit("chart_loaded")},o.prototype.getStudiesList=function(){return this._chartApiInstance.allStudiesMetadata().filter(function(e){return!e.is_hidden_study}).map(function(e){return e.name||e.description})},o.prototype.getSavedCharts=function(e){d.getCharts(e)},o.prototype.loadChartFromServer=function(e){d.loadChart(e)},o.prototype.saveChartToServer=function(e,t,i,n){this._saveChartService.saveChartSilently(e,i,t,n)},o.prototype.removeChartFromServer=function(e,t){d.removeChart(e,t)},o.prototype.getIntervals=function(){var e=[],t=u.getCustomResolutions();return null!==this._chartApiInstance&&(e=this._chartApiInstance.defaultResolutions()),u.mergeResolutions(e,t)},o.prototype.closePopupsAndDialogs=function(){var e,t,n=document.querySelectorAll("._tv-dialog-title-close");for(e=0;el&&(n=c.syncModel().distance(l,e),n.success&&(a.index=a.index+n.result)),v(t)?a.price=t:(o=["open","high","low","close"],r=i?o.indexOf(i)+1:1,r<=0&&(r=1),a.price=u.valueAt(s)[r]),a}var n,o,r,s,a,l=this._chartWidget.model().model(),c=l.mainSeries(),h=l.timeScale().points(),u=c.data();if(l.timeScale().isEmpty())return null;for(n=e.map(function(e){return e.time}),o=f.isDWM(c.interval())&&!t.enabled("disable_resolution_rebuild")?this._alignPoints(n):n,r=[],s=0;s=0&&h&&e.lastBar){for(u=[],d=0;d<=c;d++)u.push(s+.001*d);p=e.lastBar.slice(0),p[0]=p[0]/1e3,TradingView.ChartapiMessagerInstances[i].onTimescaleUpdate(o,r,[{index:h-1,value:p}],n,h-1,u),_=h+c,f=1e3*Math.trunc(u[c]),a(n,_,f),l.rebuildExtrapolatedData(i,n.full_name,t,n,f)}l._updateProjectionData(i,o,r,e)})},f.prototype.onMoreTickmarksRequested=function(e,t,i,n,o){this._extrapolationManager.storage(e,i.full_name,n).onTickmarksNeeded(i,o)},f.prototype.removePointset=function(e){this._pointsetsManager.removePointset(e)},f.prototype.rebuildExtrapolatedData=function(e,t,i,n,o){this._extrapolationManager.storage(e,n.full_name,i).rebuild(o,n)},f.prototype.createPointset=function(e,t,i,n,o,r){var s=this._extrapolationManager.storage(e,n.full_name,o);this._pointsetsManager.createPointset(t,i,o,r,s,n)},f.prototype.studiesMetadata=function(){return 0===this._metainfoCache.length&&(this._metainfoCache=JSServer.studyLibrary.map(function(e){return e.metainfo})),this._metainfoCache},f.prototype.searchSymbols=function(e,t,i,n){function o(e){r._logMessage("Symbol search response: {0}".format(JSON.stringify(e))),n(e)}this._logMessage("Symbol search requested: search string `{0}`, exchange: `{1}`, type `{2}`".format(e,t,i));var r=this;this._externalDatafeed.searchSymbols(e,t,i,o)}, +f.prototype.resolveSymbol=function(e,t,i){var n,o=g.parseSymbol(e).symbol;this._resolveRequests[o]?n=this._resolveRequests[o]:(n=this.resolveSymbolInternal(o),this._resolveRequests[o]=n),n.done(t).fail(i)},f.prototype.resolveSymbolInternal=function(e){var t,i=this,n=$.Deferred();return this._logMessage("Symbol resolve requested: `{0}` ".format(e)),t=!0,this._externalDatafeed.resolveSymbol(e,function(o){t&&console.warn("`resolveSymbol` should return result asynchronously. Use `setTimeout` with 0 interval to execute the callback function."),i._logMessage("Symbol resolved: `{0}`, SymbolInfo in server response {1}".format(e,JSON.stringify(o))),a(o),s(o),i._logMessage("Symbol info after post-processing: `{0}`, SymbolInfo {1}".format(e,JSON.stringify(o))),i._fullNameSymbolInfoMap[o.full_name]=o,n.resolve(o)},function(t){i._logMessage("Symbol resolve failed: `{0}`, reason: `{1}`".format(e,t)),n.reject(t)}),t=!1,n.promise()},f.prototype._createMarketStatusWatchers=function(e,t){void 0===this._marketStatusWatchers[e]&&(this._marketStatusWatchers[e]={});var i=this;t.forEach(function(t){void 0===i._marketStatusWatchers[e][t]&&(i._marketStatusWatchers[e][t]=new m(i,e,t))})},f.prototype._removeMarketStatusWatchers=function(e){var t=this;Object.keys(this._marketStatusWatchers[e]||{}).forEach(function(i){t._marketStatusWatchers[e][i].stop()}),this._marketStatusWatchers[e]={}},f.prototype._stopQuotesSubscription=function(e){this._quotesInfo[e].listenerGUID&&(this._externalDatafeed.unsubscribeQuotes(this._quotesInfo[e].listenerGUID),this._quotesInfo[e].listenerGUID=void 0),this._removeMarketStatusWatchers(e)},f.prototype._startQuotesSubscription=function(e){function t(t,i){var n=r._marketStatusWatchers[e][t.n];t.symbolname=t.n,t.status=t.s,t.values=t.v,t.values.change=t.v.ch,t.values.last_price=t.v.lp,t.values.change_percent=t.v.chp,t.values.current_session=t.v.cs||n&&n.marketStatus(),t.values.pricescale=i.pricescale,t.values.minmov=i.minmov,t.values.minmove2=i.minmove2||0,t.values.fractional=i.fractional||!1,n&&t.v.cs&&n.stop(),TradingView.ChartapiMessagerInstances[e].onQuotesData([e].concat([t]))}function i(e){e.forEach(function(e){void 0!==o[e.n]?null!==o[e.n]&&t(e,o[e.n]):r.resolveSymbol(e.n,function(i){o[e.n]=i,t(e,i)},function(){o[e.n]=null})})}var o={},r=this,s=this._quotesInfo[e].symbols;0!==s.length&&(this._externalDatafeed.getQuotes&&!n.enabled("charting_library")?this._externalDatafeed.getQuotes(s,function(t){r._quotesInfo[e]&&(i(t),r._quotesInfo[e].listenerGUID=e,r._externalDatafeed.subscribeQuotes(s,r._quotesInfo[e].fastSymbols,i,r._quotesInfo[e].listenerGUID))},function(e){}):!this._externalDatafeed.getQuotes&&n.enabled("trading_terminal")&&setTimeout(function(){i(s.map(function(e){return{n:e,s:"ok",v:{}}}))}),this._createMarketStatusWatchers(e,s))},f.prototype._restartQuotesSubscription=function(e){this._stopQuotesSubscription(e),this._startQuotesSubscription(e)},f.prototype.quoteCreateSession=function(e){this._quotesInfo[e]={symbols:[],fastSymbols:[],listenerGUID:void 0}},f.prototype.quoteDeleteSession=function(e){ +this._stopQuotesSubscription(e),this._quotesInfo[e]=null},f.prototype.quoteSetFields=function(e,t){},f.prototype.quoteAddSymbols=function(e,t){this._quotesInfo[e].symbols=this._filteredSymbols(this._quotesInfo[e].symbols.concat(t)),this._restartQuotesSubscription(e)},f.prototype.quoteRemoveSymbols=function(e,t){this._quotesInfo[e].symbols=this._quotesInfo[e].symbols.filter(function(e){return t.indexOf(e)<0}),this._restartQuotesSubscription(e)},f.prototype.quoteFastSymbols=function(e,t){this._quotesInfo[e].fastSymbols=this._filteredSymbols(t),this._restartQuotesSubscription(e)},f.prototype.quoteHibernateAll=function(e){},f.prototype._stopDepthSubscription=function(e){this._depthInfo[e].listenerGUID&&(this._externalDatafeed.unsubscribeDepth(this._depthInfo[e].listenerGUID),this._depthInfo[e].listenerGUID=void 0)},f.prototype._startDepthSubscription=function(e){function t(e){return e.map(function(e){return{p:e.price,v:e.volume}})}function i(e){var i={};return i.s=r,i.bids=t(e.bids),i.asks=t(e.asks),i}function n(t){t.snapshot?TradingView.ChartapiMessagerInstances[e].onDepthData([e].concat([i(t)])):TradingView.ChartapiMessagerInstances[e].onDepthUpdate([e].concat([i(t)]))}var o=this,r=this._depthInfo[e].symbol;r&&this._fullNameSymbolInfoMap[r]&&this._externalDatafeed.subscribeDepth&&(o._depthInfo[e].listenerGUID=this._externalDatafeed.subscribeDepth(r,function(t){o._depthInfo[e]&&n(t)}))},f.prototype._restartDepthSubscription=function(e){this._stopDepthSubscription(e),this._startDepthSubscription(e)},f.prototype.depthCreateSession=function(e){this._depthInfo[e]={symbol:null,listenerGUID:void 0}},f.prototype.depthDeleteSession=function(e){this._depthInfo[e].symbol=null,this._stopDepthSubscription(e),delete this._depthInfo[e]},f.prototype.depthSetSymbol=function(e,t){this._depthInfo[e].symbol=t,this._restartDepthSubscription(e)},f.prototype._filteredSymbols=function(e){var t=[];return e.forEach(function(e){e instanceof Object||t.indexOf(e)<0&&t.push(e)}),t},f.prototype._isEndOfData=function(e,t,i){var n=e+"!"+t+"@"+i;return!!this._endOfData[n]},f.prototype._setEndOfData=function(e,t,i){var n=e+"!"+t+"@"+i;this._endOfData[n]=!0},f.prototype.alignTimePoint=function(e,t,i){return n.enabled("disable_resolution_rebuild")?e:r(t,i).alignTimeIfPossible(1e3*e)/1e3},f.prototype.serverTimeOffset=function(){return this._serverTimeOffset},f.prototype.getCurrentUTCTime=function(){return(new Date).valueOf()/1e3+this._serverTimeOffset},e.exports=f}).call(t,i(35),i(5))},function(e,t,i){"use strict";(function(t){var n=i(37),o={},r=function(e,i,r){function s(){var e={};e.symbolname=_,e.status="ok",e.values={},e.values.current_session=d,o[_]=d,TradingView.ChartapiMessagerInstances[f].onQuotesData([f].concat([e]))}function a(e,i,o){var r=t.get_timezone(i);c=(new n.Session).init(r,e),h=o,m=setInterval(l,6e4),l(),s()}function l(){var e,t;if(c){if(h)return void(d="out_of_session");e=n.isTradingNow(new Date,c),t=e?"market":"out_of_session",t!==d&&(d=t,s())}}var c,h,u={},d=o[r]||"out_of_session",p=!1,_=r,f=i,m=null +;return e.resolveSymbol(r,function(e){p||a(e.session,e.timezone,e.expired)},function(){}),u.stop=function(){p=!0,m&&clearInterval(m)},u.marketStatus=function(){return d},u};e.exports=r}).call(t,i(35))},function(e,t,i){"use strict";(function(t){var n=i(673).HeikenAshi,o=i(15).Interval,r=function(){function e(e){this.host=e,this.cache={}}function r(e){var t=e.indexOf(",");return-1===t?e:e.slice(0,t)}function s(e,t,i,n,o,r,s){return o+e+t+i+(a(n)?"_":"")+r+"_"+s}function a(e){return e.has_empty_bars||e.force_session_rebuild}function l(e){if(0!==e.indexOf("="))return{symbol:e};var t;try{t=JSON.parse(e.slice(1))}catch(t){return{symbol:e}}return t.type&&(0===t.type.indexOf("BarSetHeikenAshi@tv-basicstudies-")?t.builder=new n:console.error("unknown builder type: "+t.type)),"string"!=typeof t.symbol&&(t.session=t.symbol.session||t.session,t.symbol=t.symbol.symbol),t}function c(t){e.instance=new e(t),p.setupFeed(e.instance)}var h,u,d,p=i(25),_=i(37),f=p.Symbol,m=p.StudyEngine,y=p.BarBuilder,g=p.BarSet;return e.prototype.getCache=function(e){return this.cache[e]},e.prototype.putCache=function(e,t){this.cache[e]=t},e.prototype.subscribe=function(e,t,i,n,o,r,a,l,c,h){var u=s(e,t,i,a,l,n,h),d=this.getCache(u);return d||(d=this.createItem(e,t,i,a,c,l,n,h),this.putCache(u,d)),d.listeners.addListener(o,r),{key:u,listener:o}},e.prototype.unsubscribe=function(e){var t=this.getCache(e.key);t&&t.listeners.removeListener(e.listener)},e.prototype.removeUnused=function(){var e,t,i,n,o,r=[];for(e in this.cache)this.cache[e]&&(t=this.cache[e],0===t.listeners.listenersCount()&&r.push(e));if(0!==r.length){for(i=0;i=0;r--)if(s=+o[r],n%s==0)return s+(a.isSeconds?"S":"");return""}return n+(a.isSeconds?"S":"")},e.prototype.createItem=function(e,t,i,n,s,c,p,_){var f,m,g,v,S,b,w,P=new d,T=l(e);return T.builder?new u(P,T.symbol,t,i,T.builder,n,s,c):(f=r(t),m=this.rebuildFrom(f,r(i),n),g=a(n),!o.isEqual(f,m)||g?(v=n.has_empty_bars,S=$.extend({},n),g&&(S.has_empty_bars=!1,S.force_session_rebuild=!1),void 0!==_&&(b=o.parse(f).inMilliseconds()/o.parse(m).inMilliseconds(),_*=Math.ceil(b)),new u(P,T.symbol,t,m,new y(t,v),S,s,c,p,_)):(w=T.session&&"extended"!==T.session,new h(P,T.symbol,t,i,w,this.host,n,s,p,_)))},h=function(e,t,i,n,o,s,a,l,c,h){this.listeners=e,this.host=s;var u=this;this.host.resolve(t,function(e){ +o&&e.regular_session&&(e.session=e.regular_session);var s=u.calculateFromTo(e,c||n||i,t,l,h);u.subs=u.host.subscribe(e,r(i),s,function(e){u.listeners.fire(e)},function(e){u.listeners.onError(e)})},function(e){u.listeners.onError(e)})},h.prototype._createDWMAligner=function(e,i){var n=t.get_timezone(i.timezone),o=new _.Session;return o.init(n,i.session),f.newBarBuilder(e,o,o)},h.prototype.stop=function(){this.subs&&this.host.unsubscribe(this.subs)},h.prototype.calculateFromTo=function(e,i,n,o,r){var s,a,l,c,h,u,d,p,m=f.parsePeriod(i),y=(new Date).valueOf(),g=e.expired?t.cal_to_utc(t.get_timezone(e.timezone),new Date(1e3*e.expiration_date))||y:y;return""===m.resolution?(a=m.interval,l="D"):"S"===m.resolution?(a=10*m.interval,l=""):(c="D"===m.resolution?1:"W"===m.resolution?5:30,a=12*c*m.interval,l="M"),m.range?(a=m.range.interval,l=m.range.resolution):this.host.calculateHistoryDepth&&(h=this.host.calculateHistoryDepth(i,l,a))&&(a=h.intervalBack||a,l=void 0===h.resolutionBack?l:h.resolutionBack),u=e.sessionString||e.session,s=_.alignPeriodsBack(u,l,a,1,g),o&&o.getRangeExtensionTime&&(d=o.getRangeExtensionTime())&&(s=Math.min(1e3*d,s)),p=Math.ceil(1.5*r),o&&o.getRangeExtensionCount&&(p+=o.getRangeExtensionCount()),p>0&&(s=_.alignPeriodsBack(u,m.resolution,m.interval,p,s)),{from:s,to:g+6e4}},u=function(e,t,i,n,o,r,s,a,l,c){if(this.listeners=e,this.isRecalculated=!1,""===n)return console.error("unsupported resolution for rebuild: "+i),void this.listeners.onError("unsupported resolution for rebuild: "+i);this.symbolInfo=r;var h=this;this.engine=new m({tickerid:t,period:n,periodBase:i,body:o,sessionId:a,symbolInfo:r,rangeExtension:s,periodForInitialRange:l,additionalBarsCount:c,recalc:function(e,t){h._recalc(t)},out:function(e,t){h._out(e,t)},nonseriesOut:function(e,t){h._nonseriesOut(e,t)},setNoMoreData:function(){h.barset&&(h.barset.endOfData=!0)},onErrorCallback:function(e){h.listeners.onError(e)}})},u.prototype.stop=function(){this.engine?this.engine.stop():console.error("Internal library error 0x1")},u.prototype._recalc=function(e){this.isRecalculated&&console.error("recalc called twice!"),this.barset||(this.barset=new g(this.symbolInfo)),e&&(this.barset.nextTime=e.nextTime,this.barset.endOfData=e.endOfData),this.listeners.fire(this.barset),this.isRecalculated=!0},u.prototype._nonseriesOut=function(e,t){var i=Object.assign({},t);i.nonseries=!0,i.data=t.bars,delete i.bars,i.barsetSize=this.barset?this.barset.count():0,i.lastBar=this.barset?this.barset.bar(this.barset.count()-1):null,this.listeners.fire(i,!0)},u.prototype._out=function(e,t){var i,n,o,r,s,a,l,c=t[0];if(!isNaN(c)){if(i={time:c,open:t[1],high:t[2],low:t[3],close:t[4],volume:t[5],updatetime:t[6]},n=t[7],this.barset||(this.barset=new g(e.info)),(o=t[8])instanceof Array)for(r=0;rt?1:e=t||!i._shouldExtrapolateMore()?null:s.extrapolateBarsFrontByCount(i.newBarBuilder(e),n,t)})},a.prototype._ensureExtrapolatedToTime=function(e,t){var i=this;return this._extrapolateData(e,function(n){var o,r;return n>=t||!i._shouldExtrapolateMore()?null:(o=2e3,r=s.extrapolateBarsFrontToTime(i.newBarBuilder(e),n,t,o),r[r.length-1]e?this._extrapolatedBarsCache=[]:this._lastRealBarTime!==t&&this._extrapolatedBarsCache.shift(e-this._lastRealBarIndex)),this._lastRealBarIndex=e,this._lastRealBarTime=t;for(var i=0;it?1:e.value[0]=0&&t4*(7-i.spec.weekEndsCount()))d=h/7,u=d*(7-i.spec.weekEndsCount());else{for(p=0,_={},f=l;f.valueOf()<=c.valueOf();f=m.add_days_considering_dst(i.timezone,f,1))y=m.get_day_of_week(f),void 0===_[y]&&(_[y]=i.spec.isWeekEnd(y)),_[y]&&p++;u=h-p}if(t.isDays())s=Math.ceil(u/t.multiplier());else{if(g=t.isHours()?60*t.multiplier()*60:t.isSeconds()?t.multiplier():60*t.multiplier(),h<1&&(v=i.spec.findSessionEntry(m.get_day_of_week(l),m.get_minutes_from_midnight(l)),S=i.spec.findSessionEntry(m.get_day_of_week(c),m.get_minutes_from_midnight(c)),v===S))return Math.ceil((o-n)/g);y=i.spec.entries()[0].dayOfWeek(),b=60*i.spec.entries().reduce(function(e,t){return e+(t.dayOfWeek()===y?t.length():0)},0),s=Math.ceil(u*b/g)}}return s}function d(e,t,i,s,a){var l,c,h=new o(t),d=m.get_timezone(e.timezone),p=new n.Session;return p.init(d,e.session),l=r(e,t),i=l.alignTimeIfPossible(1e3*i)/1e3,s=l.alignTimeIfPossible(1e3*s)/1e3,i>=s?0:(c=u(e,h,p,i,s),c>=1e3?c:a.findDistanceInBars(i,s,e))}var p={},_="undefined"!=typeof window?window:t,f=i(25),m=_.PineJsCalendar?_.PineJsCalendar:i(35);return{createPointset:s,removePointset:a,broadcastPointsetsUpdates:c,tests:{approxBarsInterval:u,indexOfTime:h}}}();e.exports=r}).call(t,i(99))},function(e,t,i){"use strict";function n(e,t,i){return Object(a.isArray)(e)?o(e,t,i):Object(a.isObject)(e)&&(Object(a.isHashObject)(e)||i&&i.visitInstances)?r(e,t,i):e}function o(e,t,i){return e.map(function(e){var o=n(e,t,i),r=t(o);return void 0!==r?r:o})}function r(e,t,i){var o={};return Object.keys(e).forEach(function(r){var s=n(e[r],t,i),a=t(s);o[r]=void 0!==a?a:s}),o}function s(e,t,i){var o=n(e,t,i),r=t(o);return void 0!==r?r:o}var a;Object.defineProperty(t,"__esModule",{value:!0}),t.visitObject=s,a=i(12),i.n(a)},function(e,t,i){ +"use strict";function n(e,t){return e.ticker+"_"+t}function o(e){return new Date(e).toISOString()}var r,s,a,l,c,h;Object.defineProperty(t,"__esModule",{value:!0}),i.d(t,"DatafeedRequestsCachedProcessor",function(){return h}),r=i(15),s=i(78),a=i(25),i.n(a),l=i(5),i.n(l),i(86),c=function(){function e(e,t,i,n){this._cache={bars:[]},this._nextSubscriptionId=0,this._pendingSubscribers=[],this._subscribers=[],this._requesting=!1,this._leftDate=null,this._gaps=[],this._needPurgeCache=!1,this._realtimeOn=!1,this._endOfData=!1,this._resetCacheTimeout=null,this._errorMessage=null,this._datafeed=e,this._symbolInfo=t,this._resolution=i,this._dwmAligner=n}return e.prototype.destroy=function(){0!==this._subscribers.length&&console.warn("Destroying with not-empty state"),this._clearResetCacheTimeout(),this._unsubscribeRealtime(),this._purgeCache(),delete this._datafeed},e.prototype.addSubscription=function(e,t,i){var n=this,o=this._getNextSubscriptionId(),r=Math.floor(e.from/1e3),s=Math.floor(e.to/1e3);return this._pendingSubscribers.push({key:o,range:{from:r,to:s},onHistoryCallback:t,onErrorCallback:i}),this._clearResetCacheTimeout(),setTimeout(function(){return n._processPendingSubscribers()},0),o},e.prototype.removeSubscription=function(e){var t,i=this,n=this._pendingSubscribers.find(function(t){return t.key===e});return n?void this._pendingSubscribers.splice(this._pendingSubscribers.indexOf(n),1):(t=this._subscribers.find(function(t){return t.key===e}))?(this._subscribers.splice(this._subscribers.indexOf(t),1),void(this._subscribers.length||(this._symbolInfo.expired||this._symbolInfo.expiration_date?this._unsubscribeRealtime():this._resetCacheTimeout=setTimeout(function(){i._purgeCacheDelayed(),i._unsubscribeRealtime()})))):void console.warn("Unknown subscription symbol={0}, resolution={1}, key={2}".format(this._symbolInfo.name,this._resolution,e))},e.prototype._purgeCacheDelayed=function(){this._logMessage("Reset cache"),this._needPurgeCache=!0,this._clearResetCacheTimeout()},e.prototype._logMessage=function(e,t){(l.enabled("charting_library_debug_mode")||t)&&console.log("FEED [{0}|{1}]: {2}".format(this._symbolInfo.name,this._resolution,e))},e.prototype._clearResetCacheTimeout=function(){null!==this._resetCacheTimeout&&(clearTimeout(this._resetCacheTimeout),this._resetCacheTimeout=null)},e.prototype._purgeCache=function(){this._cache={bars:[]},this._gaps=[],this._errorMessage=null,this._needPurgeCache=!1,this._leftDate=null,this._endOfData=!1},e.prototype._processPendingSubscribers=function(){var e,t,i,n,s,a,l=this,c=this._pendingSubscribers;if(c.length){if(this._requesting)return void this._logMessage("Processing is skipped due active request");if(this._logMessage("Processing pending subscribers, count="+c.length),this._needPurgeCache&&this._purgeCache(),this._errorMessage)return e=this._errorMessage,this._logMessage("Return error: "+e),this._pendingSubscribers=[],void c.forEach(function(t){t.onErrorCallback(e)});if(t=c.reduce(function(e,t){return Math.min(t.range.from,e)},1/0), +this._logMessage('Leftmost requested "from" is '+o(1e3*t)),(!this._leftDate||t0?this._logMessage("Bars to return for request {0}: total {1} bars in [{2} ... {3}] ".format(e.key,s.count(),o(s.bars[0].time),o(s.bars[s.count()-1].time))):this._logMessage("Request {0}. Nothing to return.".format(e.key)),t.barset=s,i=this._inGapNextTime(r.from),i?(this._logMessage("Request {0} is in gap, nextTime = {1}".format(e.key,o(1e3*i))),s.nextTime=i):0===s.count()&&(n=this._cache.bars.length&&this._cache.bars[this._cache.bars.length-1].time/1e3)&&r.from>n&&(this._logMessage("Request {0} is in gap, nextTime = {1}".format(e.key,o(1e3*n))),s.nextTime=n||void 0),this._endOfData&&null!==this._leftDate&&e.range.from<=this._leftDate&&(s.endOfData=!0),e.onHistoryCallback(s)},e.prototype._createBarset=function(e){var t=Object(s.lowerbound)(this._cache.bars,1e3*e,function(e,t){return e.time0?this._processFullBarset(e,t):this._processEmptyBarset(t),this._processPendingSubscribers()},e.prototype._processEmptyBarset=function(t){this._logMessage("Receiving bars: barset is empty"),t&&t.nextTime?(this._logMessage("Next time received: `{0}`".format(o(1e3*t.nextTime))),this._addGap(t.nextTime),this._leftDate=Math.min(this._leftDate||e._now()/1e3,t.nextTime+1)):t&&t.noData?(this._logMessage("EOD received"),this._endOfData=!0,this._cache.bars.length&&(this._leftDate=this._cache.bars[0].time/1e3)):this._logMessage("nextTime or noData should present in metainfo when empty barset is returned")},e.prototype._processFullBarset=function(e,t){var i=e[0].time,n=e[e.length-1].time;this._logMessage("Receiving bars: total {0} bars in [{1} ... {2}] ".format(e.length,o(i),o(n))),null!==this._leftDate&&i<1e3*this._leftDate&&!l.enabled("cl_feed_return_all_data")&&this._logMessage("Returned more data than needed"),this._putToCache(e)?null!==this._leftDate&&this._cache.bars.length&&this._leftDate>this._cache.bars[0].time/1e3&&(this._leftDate=this._cache.bars[0].time/1e3):this._logMessage("Incremental update failed. Starting full update. Returned data should be in the requested range.",!0),t&&t.nextTime?console.warn("nextTime should be set when there is no data in the requested period only"):t&&t.noData&&console.warn("noData should be set when there is no data in the requested period and earlier only")},e.prototype._addGap=function(t){var i;this._gaps.find(function(e){return e.from===t})||(i=(this._cache.bars.length?this._cache.bars[0].time:e._now())/1e3,this._gaps.push({from:t,to:i}))},e.prototype._inGapNextTime=function(e){var t=this._gaps.find(function(t){return t.frome});return t?t.from:null},e.prototype._getNextSubscriptionId=function(){return this._nextSubscriptionId++},e.prototype._checkBars=function(e,t){var i,n;if(void 0===t&&(t=!1),l.enabled("charting_library_debug_mode"))for(i=1;i=this._cache.bars[0].time){ +var t=this._cache.bars[this._cache.bars.length-1].time===e[e.length-1].time;if(this._cache.bars=[],!t)return this._leftDate=null,!1;this._logMessage("Received history up to now instead of incremental update. Return exactly what is requested.")}return this._cache.bars=e.concat(this._cache.bars),this._checkBars(this._cache.bars,!0),!0},e.prototype._putToCacheNewBar=function(e){var t=this._cache.bars.length,i=e.time,n=0===t?NaN:this._cache.bars[t-1].time;0===t||n=this.chartsCount())throw Error("Incorrect index: "+e);return this._getChartWidgetApi(this._chartWidgetCollection.getAll()[e])},o.prototype.getSymbolInterval=function(e){var t={symbol:r.symbol.value(),interval:r.interval.value()};return e&&e(t),t},o.prototype.saveChart=function(e){var t=this;this._saveChartService.whenReadyToSave(function(){var i=t._saveChartService.saveToJSON();return e&&e(JSON.parse(i.content))})},o.prototype.loadChart=function(e){this._chartApiInstance.purgeCache(),this._chartApiInstance._studyEngine.stopSources(),this._chartWidgetCollection.loadContent(e.json),this._chartWidgetCollection.purgeUnusedWidgets(),e.extendedData&&(this._chartWidgetCollection.metaInfo.id.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.uid.setValue(e.extendedData.uid),this._chartWidgetCollection.metaInfo.name.setValue(e.extendedData.name)),r.symbol.setValue(this.activeChart().symbol()),l.emit("chart_loaded")},o.prototype.getStudiesList=function(){return this._chartApiInstance.allStudiesMetadata().filter(function(e){return!e.is_hidden_study}).map(function(e){return e.name||e.description})},o.prototype.getSavedCharts=function(e){d.getCharts(e)},o.prototype.loadChartFromServer=function(e){d.loadChart(e)},o.prototype.saveChartToServer=function(e,t,i,n){this._saveChartService.saveChartSilently(e,i,t,n)},o.prototype.removeChartFromServer=function(e,t){d.removeChart(e,t)},o.prototype.getIntervals=function(){var e=[],t=u.getCustomResolutions();return null!==this._chartApiInstance&&(e=this._chartApiInstance.defaultResolutions()),u.mergeResolutions(e,t)},o.prototype.closePopupsAndDialogs=function(){var e,t,n=document.querySelectorAll("._tv-dialog-title-close");for(e=0;el&&(n=c.syncModel().distance(l,e),n.success&&(a.index=a.index+n.result)),v(t)?a.price=t:(o=["open","high","low","close"],r=i?o.indexOf(i)+1:1,r<=0&&(r=1),a.price=u.valueAt(s)[r]),a}var n,o,r,s,a,l=this._chartWidget.model().model(),c=l.mainSeries(),h=l.timeScale().points(),u=c.data();if(l.timeScale().isEmpty())return null;for(n=e.map(function(e){return e.time}),o=f.isDWM(c.interval())&&!t.enabled("disable_resolution_rebuild")?this._alignPoints(n):n,r=[],s=0;s=0===n})}function c(e){var t=le.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return _t.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function p(e,t){if(1===t.nodeType&&_t.hasData(e)){var n,r,o,i=_t._data(e),a=_t._data(t,i),s=i.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,o=s[n].length;r0){if("border"!==n)for(;o").appendTo(t),r=n.css("display");n.remove(),"none"!==r&&""!==r||(lt||(lt=bt.createElement("iframe"),lt.frameBorder=lt.width=lt.height=0),t.appendChild(lt),ct&<.createElement||(ct=(lt.contentWindow||lt.contentDocument).document,ct.write((_t.support.boxModel?"":"")+""),ct.close()),n=ct.createElement(e),ct.body.appendChild(n),r=_t.css(n,"display"),t.removeChild(lt)),ut[e]=r}return ut[e]}function j(e){return _t.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var A,M,D,L,R,F,I,H,U,W,B,z,q,$,V,K,X,G,Q,Y,J,Z,ee,te,ne,re,oe,ie,ae,se,ue,le,ce,fe,pe,de,he,ge,me,ye,ve,be,we,xe,_e,ke,Te,Ee,Ce,Se,Oe,Ne,Pe,je,Ae,Me,De,Le,Re,Fe,Ie,He,Ue,We,Be,ze,qe,$e,Ve,Ke,Xe,Ge,Qe,Ye,Je,Ze,et,tt,nt,rt,ot,it,at,st,ut,lt,ct,ft,pt,dt,ht,gt,mt,yt,vt,bt=window.document,wt=window.navigator,xt=window.location,_t=function(){function e(){if(!i.isReady){try{bt.documentElement.doScroll("left")}catch(t){return void setTimeout(e,1)}i.ready()}}var t,n,r,o,i=function(e,n){return new i.fn.init(e,n,t)},a=window.jQuery,s=window.$,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=/\S/,c=/^\s+/,f=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,d=/^[\],:{}\s]*$/,h=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,g=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,m=/(?:^|:|,)(?:\s*\[)+/g,y=/(webkit)[ \/]([\w.]+)/,v=/(opera)(?:.*version)?[ \/]([\w.]+)/,b=/(msie) ([\w.]+)/,w=/(mozilla)(?:.*? rv:([\w.]+))?/,x=/-([a-z]|[0-9])/gi,_=/^-ms-/,k=function(e,t){return(t+"").toUpperCase()},T=wt.userAgent,E=Object.prototype.toString,C=Object.prototype.hasOwnProperty,S=Array.prototype.push,O=Array.prototype.slice,N=String.prototype.trim,P=Array.prototype.indexOf,j={};return i.fn=i.prototype={constructor:i,init:function(e,t,n){var r,o,a,s;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!t&&bt.body)return this.context=bt,this[0]=bt.body,this.selector=e,this.length=1,this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:u.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1])return t=t instanceof i?t[0]:t,s=t?t.ownerDocument||t:bt,a=p.exec(e),a?i.isPlainObject(t)?(e=[bt.createElement(a[1])],i.fn.attr.call(e,t,!0)):e=[s.createElement(a[1])]:(a=i.buildFragment([r[1]],[s]),e=(a.cacheable?i.clone(a.fragment):a.fragment).childNodes),i.merge(this,e);if((o=bt.getElementById(r[2]))&&o.parentNode){ diff --git a/charting_library/static/cs-tv-chart.378bc0772d24845012ab.html b/charting_library/static/cs-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/cs-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/cs-tv-chart.c50161b112a0634ca34f.html index bc17634e..f958e6bd 100644 --- a/charting_library/static/cs-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/cs-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -

\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/da_DK-tv-chart.378bc0772d24845012ab.html b/charting_library/static/da_DK-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/da_DK-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/da_DK-tv-chart.c50161b112a0634ca34f.html index 01af95f6..0461dac3 100644 --- a/charting_library/static/da_DK-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/da_DK-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/de-tv-chart.378bc0772d24845012ab.html b/charting_library/static/de-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/de-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/de-tv-chart.c50161b112a0634ca34f.html index fb76ebc4..2df42346 100644 --- a/charting_library/static/de-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/de-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/el-tv-chart.378bc0772d24845012ab.html b/charting_library/static/el-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/el-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/el-tv-chart.c50161b112a0634ca34f.html index fda21243..1f76ca1c 100644 --- a/charting_library/static/el-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/el-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/en-tv-chart.378bc0772d24845012ab.html b/charting_library/static/en-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/en-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/en-tv-chart.c50161b112a0634ca34f.html index 97d29caf..4d3b2b89 100644 --- a/charting_library/static/en-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/en-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/es-tv-chart.378bc0772d24845012ab.html b/charting_library/static/es-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/es-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/es-tv-chart.c50161b112a0634ca34f.html index ff65ad84..5775eff0 100644 --- a/charting_library/static/es-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/es-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/et_EE-tv-chart.378bc0772d24845012ab.html b/charting_library/static/et_EE-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/et_EE-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/et_EE-tv-chart.c50161b112a0634ca34f.html index 7ec7f2fd..8ddb2683 100644 --- a/charting_library/static/et_EE-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/et_EE-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/fa-tv-chart.378bc0772d24845012ab.html b/charting_library/static/fa-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/fa-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/fa-tv-chart.c50161b112a0634ca34f.html index da45ffed..afb58498 100644 --- a/charting_library/static/fa-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/fa-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/fr-tv-chart.378bc0772d24845012ab.html b/charting_library/static/fr-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/fr-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/fr-tv-chart.c50161b112a0634ca34f.html index 85ecab06..07b6a104 100644 --- a/charting_library/static/fr-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/fr-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/he_IL-tv-chart.378bc0772d24845012ab.html b/charting_library/static/he_IL-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/he_IL-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/he_IL-tv-chart.c50161b112a0634ca34f.html index 0111131b..7401e2d1 100644 --- a/charting_library/static/he_IL-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/he_IL-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/hu_HU-tv-chart.378bc0772d24845012ab.html b/charting_library/static/hu_HU-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/hu_HU-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/hu_HU-tv-chart.c50161b112a0634ca34f.html index 3e4fb871..57a0b954 100644 --- a/charting_library/static/hu_HU-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/hu_HU-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/id_ID-tv-chart.378bc0772d24845012ab.html b/charting_library/static/id_ID-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/id_ID-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/id_ID-tv-chart.c50161b112a0634ca34f.html index b42bdbce..ff63e6b9 100644 --- a/charting_library/static/id_ID-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/id_ID-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/it-tv-chart.378bc0772d24845012ab.html b/charting_library/static/it-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/it-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/it-tv-chart.c50161b112a0634ca34f.html index c297b93a..532168c2 100644 --- a/charting_library/static/it-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/it-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/ja-tv-chart.378bc0772d24845012ab.html b/charting_library/static/ja-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/ja-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/ja-tv-chart.c50161b112a0634ca34f.html index 38204426..aded4a3e 100644 --- a/charting_library/static/ja-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/ja-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/ko-tv-chart.378bc0772d24845012ab.html b/charting_library/static/ko-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/ko-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/ko-tv-chart.c50161b112a0634ca34f.html index f826b1d6..e7a7a564 100644 --- a/charting_library/static/ko-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/ko-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/ms_MY-tv-chart.378bc0772d24845012ab.html b/charting_library/static/ms_MY-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/ms_MY-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/ms_MY-tv-chart.c50161b112a0634ca34f.html index 00a5d89b..7ed40613 100644 --- a/charting_library/static/ms_MY-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/ms_MY-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/nl_NL-tv-chart.378bc0772d24845012ab.html b/charting_library/static/nl_NL-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/nl_NL-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/nl_NL-tv-chart.c50161b112a0634ca34f.html index befa19fb..9947d7ae 100644 --- a/charting_library/static/nl_NL-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/nl_NL-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/no-tv-chart.378bc0772d24845012ab.html b/charting_library/static/no-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/no-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/no-tv-chart.c50161b112a0634ca34f.html index 02a351df..83d65483 100644 --- a/charting_library/static/no-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/no-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/pl-tv-chart.378bc0772d24845012ab.html b/charting_library/static/pl-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/pl-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/pl-tv-chart.c50161b112a0634ca34f.html index 3658155a..3d5451e8 100644 --- a/charting_library/static/pl-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/pl-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/pt-tv-chart.378bc0772d24845012ab.html b/charting_library/static/pt-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/pt-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/pt-tv-chart.c50161b112a0634ca34f.html index 1c1e2e0d..d8ae4ae6 100644 --- a/charting_library/static/pt-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/pt-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/ro-tv-chart.378bc0772d24845012ab.html b/charting_library/static/ro-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/ro-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/ro-tv-chart.c50161b112a0634ca34f.html index fde65b69..ceba616c 100644 --- a/charting_library/static/ro-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/ro-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/ru-tv-chart.378bc0772d24845012ab.html b/charting_library/static/ru-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/ru-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/ru-tv-chart.c50161b112a0634ca34f.html index 036ec54a..fb463437 100644 --- a/charting_library/static/ru-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/ru-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/sk_SK-tv-chart.378bc0772d24845012ab.html b/charting_library/static/sk_SK-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/sk_SK-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/sk_SK-tv-chart.c50161b112a0634ca34f.html index 6b93736e..79346680 100644 --- a/charting_library/static/sk_SK-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/sk_SK-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/sv-tv-chart.378bc0772d24845012ab.html b/charting_library/static/sv-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/sv-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/sv-tv-chart.c50161b112a0634ca34f.html index 8fefd43e..d767fdc1 100644 --- a/charting_library/static/sv-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/sv-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/th-tv-chart.378bc0772d24845012ab.html b/charting_library/static/th-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/th-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/th-tv-chart.c50161b112a0634ca34f.html index cafecee9..55455116 100644 --- a/charting_library/static/th-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/th-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/tr-tv-chart.378bc0772d24845012ab.html b/charting_library/static/tr-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/tr-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/tr-tv-chart.c50161b112a0634ca34f.html index 1c0f55ca..fc13a326 100644 --- a/charting_library/static/tr-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/tr-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/vi-tv-chart.378bc0772d24845012ab.html b/charting_library/static/vi-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/vi-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/vi-tv-chart.c50161b112a0634ca34f.html index dffa0355..ffa53508 100644 --- a/charting_library/static/vi-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/vi-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/zh-tv-chart.378bc0772d24845012ab.html b/charting_library/static/zh-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/zh-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/zh-tv-chart.c50161b112a0634ca34f.html index f0e5d54c..0550f5ad 100644 --- a/charting_library/static/zh-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/zh-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/charting_library/static/zh_TW-tv-chart.378bc0772d24845012ab.html b/charting_library/static/zh_TW-tv-chart.c50161b112a0634ca34f.html similarity index 99% rename from charting_library/static/zh_TW-tv-chart.378bc0772d24845012ab.html rename to charting_library/static/zh_TW-tv-chart.c50161b112a0634ca34f.html index 0e72d161..fb3a3e79 100644 --- a/charting_library/static/zh_TW-tv-chart.378bc0772d24845012ab.html +++ b/charting_library/static/zh_TW-tv-chart.c50161b112a0634ca34f.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file