"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1740,4370],{59255:(t,e,n)=>{n.r(e),n.d(e,{default:()=>I});var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_), window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;a.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,O=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new S(e,n,this);w.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=w.get(this))[t].apply(e,arguments)}}));const I=void 0!==o.ResizeObserver?o.ResizeObserver:O},20037:(t,e,n)=>{function r(){return r=Object.assign||function(t){for(var e=1;eI,VariableSizeList:()=>O});var a=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function c(t,e){if(t.length!==e.length)return!1;for(var n=0;n=e?t.call(null):r.id=requestAnimationFrame(i)}))};return r}var p=null;function v(t){if(void 0===t&&(t=!1), null===p||t){var e=document.createElement("div"),n=e.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),i=r.style;return i.width="100px",i.height="100px",e.appendChild(r),document.body.appendChild(e),e.scrollLeft>0?p="positive-descending":(e.scrollLeft=1,p=0===e.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(e),p}return p}var m=function(t,e){return t};function _(t){var e,n,i=t.getItemOffset,a=t.getEstimatedTotalSize,c=t.getItemSize,f=t.getOffsetForIndexAndAlignment,p=t.getStartIndexForOffset,_=t.getStopIndexForStartIndex,b=t.initInstanceProps,y=t.shouldResetStyleCacheOnItemSizeChange,S=t.validateProps;return n=e=function(t){function e(e){var n;return(n=t.call(this,e)||this)._instanceProps=b(n.props,s(s(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:s(s(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=l((function(t,e,r,i){return n.props.onItemsRendered({overscanStartIndex:t,overscanStopIndex:e,visibleStartIndex:r,visibleStopIndex:i})})),n._callOnScroll=void 0,n._callOnScroll=l((function(t,e,r){return n.props.onScroll({scrollDirection:t,scrollOffset:e,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(t){var e,r=n.props,o=r.direction,s=r.itemSize,a=r.layout,l=n._getItemStyleCache(y&&s,y&&a,y&&o);if(l.hasOwnProperty(t))e=l[t];else{var u=i(n.props,t,n._instanceProps),f=c(n.props,t,n._instanceProps),h="horizontal"===o||"horizontal"===a,d="rtl"===o,p=h?u:0;l[t]=e={position:"absolute",left:d?void 0:p,right:d?p:void 0,top:h?0:u,height:h?"100%":f,width:h?f:"100%"}}return e},n._getItemStyleCache=void 0,n._getItemStyleCache=l((function(t,e,n){return{}})),n._onScrollHorizontal=function(t){var e=t.currentTarget,r=e.clientWidth,i=e.scrollLeft,o=e.scrollWidth;n.setState((function(t){if(t.scrollOffset===i)return null;var e=n.props.direction,s=i;if("rtl"===e)switch(v()){case"negative":s=-i;break;case"positive-descending":s=o-r-i}return s=Math.max(0,Math.min(s,o-r)),{isScrolling:!0,scrollDirection:t.scrollOffset0)for(var R=x;R<=z;R++)E.push((0,u.createElement)(e,{data:h,key:p(R,h),index:R,isScrolling:y?w:void 0,style:this._getItemStyle(R)}));var T=a(this.props,this._instanceProps);return(0,u.createElement)(_||g||"div",{className:n,onScroll:I,ref:this._outerRefSetter,style:r({position:"relative",height:o,width:S,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},b)},(0,u.createElement)(c||l||"div",{children:E,ref:s,style:{height:O?"100%":T,pointerEvents:w?"none":void 0,width:O?T:"100%"}}))},n._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var t=this._getRangeToRender(),e=t[0],n=t[1],r=t[2],i=t[3];this._callOnItemsRendered(e,n,r,i)}if("function"==typeof this.props.onScroll){var o=this.state,s=o.scrollDirection,a=o.scrollOffset,c=o.scrollUpdateWasRequested;this._callOnScroll(s,a,c)}},n._getRangeToRender=function(){var t=this.props,e=t.itemCount,n=t.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,s=r.scrollOffset;if(0===e)return[0,0,0,0] ;var a=p(this.props,s,this._instanceProps),c=_(this.props,a,s,this._instanceProps),l=i&&"backward"!==o?1:Math.max(1,n),u=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,a-l),Math.max(0,Math.min(e-1,c+u)),a,c]},e}(u.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var g=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},b=function(t,e,n){var r=t.itemSize,i=n.itemMetadataMap,o=n.lastMeasuredIndex;if(e>o){var s=0;if(o>=0){var a=i[o];s=a.offset+a.size}for(var c=o+1;c<=e;c++){var l=r(c);i[c]={offset:s,size:l},s+=l}n.lastMeasuredIndex=e}return i[e]},y=function(t,e,n,r,i){for(;r<=n;){var o=r+Math.floor((n-r)/2),s=b(t,o,e).offset;if(s===i)return o;si&&(n=o-1)}return r>0?r-1:0},S=function(t,e,n,r){for(var i=t.itemCount,o=1;n=n&&(o=n-1),o>=0){var a=r[o];s=a.offset+a.size}return s+(n-o-1)*i},O=_({getItemOffset:function(t,e,n){return b(t,e,n).offset},getItemSize:function(t,e,n){return n.itemMetadataMap[e].size},getEstimatedTotalSize:w,getOffsetForIndexAndAlignment:function(t,e,n,r,i){var o=t.direction,s=t.height,a=t.layout,c=t.width,l="horizontal"===o||"horizontal"===a?c:s,u=b(t,e,i),f=w(t,i),h=Math.max(0,Math.min(f-l,u.offset)),d=Math.max(0,u.offset-l+u.size);switch("smart"===n&&(n=r>=d-l&&r<=h+l?"auto":"center"),n){case"start":return h;case"end":return d;case"center":return Math.round(d+(h-d)/2);default:return r>=d&&r<=h?r:r0?r[i].offset:0)>=n?y(t,e,i,0,n):S(t,e,Math.max(0,i),n)}(t,n,e)},getStopIndexForStartIndex:function(t,e,n,r){for(var i=t.direction,o=t.height,s=t.itemCount,a=t.layout,c=t.width,l="horizontal"===i||"horizontal"===a?c:o,u=b(t,e,r),f=n+l,h=u.offset+u.size,d=e;d=d-u&&r<=h+u?"auto":"center"),n){case"start":return h;case"end":return d;case"center":var p=Math.round(d+(h-d)/2);return pf+Math.floor(u/2)?f:p;default: return r>=d&&r<=h?r:r{n.d(e,{nanoid:()=>r});let r=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"")}}]);