(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[51957],{650151:(e,t)=>{"use strict";function r(e,t){if(void 0===e)throw new Error("".concat(null!=t?t:"Value"," is undefined"));return e}function n(e,t){if(null===e)throw new Error("".concat(null!=t?t:"Value"," is null"));return e}t.ensureNotNull=t.ensureDefined=t.assert=void 0,t.assert=function(e,t){if(!e)throw new Error("Assertion failed".concat(t?": ".concat(t):""))},t.ensureDefined=r,t.ensureNotNull=n},497754:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";r.d(t,{mobiletouch:()=>o,setClasses:()=>u});var n=r(167175);const o=n.mobiletouch;n.touch;function u(){document.documentElement.classList.add(n.touch?"feature-touch":"feature-no-touch",n.mobiletouch?"feature-mobiletouch":"feature-no-mobiletouch")}},444372:(e,t,r)=>{"use strict";r.d(t,{t:()=>n.t});r(586463);var n=r(631110)},39654:(e,t,r)=>{"use strict"},631129:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(990385)},695257:(e,t)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,b={};function m(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||d}function v(){}function _(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||d}m.prototype.isReactComponent={},m.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var w=_.prototype=new v;w.constructor=_,h(w,m.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,S={current:null},O={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,n){var o,u={},i=null,c=null;if(null!=t)for(o in void 0!==t.ref&&(c=t.ref),void 0!==t.key&&(i=""+t.key),t)E.call(t,o)&&!O.hasOwnProperty(o)&&(u[o]=t[o]) ;var a=arguments.length-2;if(1===a)u.children=n;else if(1{"use strict";e.exports=r(695257)},389137:function(e,t,r){var n;e=r.nmd(e);var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},u=function(e){return"object"==typeof e&&null!==e};function i(e){return"number"==typeof e&&isFinite(e)}function c(e){return null!=e&&(e.constructor===Function||"[object Function]"===Object.prototype.toString.call(e))}function a(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}"undefined"!=typeof window?(n=window.TradingView=window.TradingView||{},window.isNumber=i,window.isFunction=c,window.inherit=a,window.isArray=o):n=this.TradingView=this.TradingView||{},n.isNaN=function(e){return!(e<=0||e>0)},n.isAbsent=function(e){return null==e},n.isExistent=function(e){return null!=e},Number.isNaN=Number.isNaN||function(e){return e!=e},n.isSameType=function(e,t){return Number.isNaN(e)||Number.isNaN(t)?Number.isNaN(e)===Number.isNaN(t):{}.toString.call(e)==={}.toString.call(t)},n.isInteger=function(e){return"number"==typeof e&&e%1==0},n.isString=function(e){return null!=e&&e.constructor===String},n.isInherited=function(e,t){ if(null==e||null==e.prototype)throw new TypeError("isInherited: child should be a constructor function");if(null==t||null==t.prototype)throw new TypeError("isInherited: parent should be a constructor function");return e.prototype instanceof t||e.prototype===t.prototype},n.clone=function(e){if(!e||"object"!=typeof e)return e;var t,r,o;for(r in t="function"==typeof e.pop?[]:{},e)e.hasOwnProperty(r)&&(o=e[r],t[r]=o&&"object"==typeof o?n.clone(o):o);return t},n.deepEquals=function(e,t,r){if(r||(r=""),e===t)return[!0,r];if(c(e)&&(e=void 0),c(t)&&(t=void 0),void 0===e&&void 0!==t)return[!1,r];if(void 0===t&&void 0!==e)return[!1,r];if(null===e&&null!==t)return[!1,r];if(null===t&&null!==e)return[!1,r];if("object"!=typeof e&&"object"!=typeof t)return[e===t,r];if(Array.isArray(e)&&Array.isArray(t)){var u=e.length;if(u!==t.length)return[!1,r];for(var i=0;i{"use strict";var n=r(389137);const o=/{(\w+)}/g,u=/{(\d+)}/g;String.prototype.format=function(...e){const t=(0,n.isObject)(e[0]),r=t?o:u,i=t?(t,r)=>{const n=e[0];return void 0!==n[r]?n[r]:t}:(t,r)=>{const n=parseInt(r,10),o=e[n];return void 0!==o?o:t};return this.replace(r,i)}}}]);