(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[139],{97754:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t{e.exports={errorCard:"errorCard-Kcyx2XsY",errorCard__icon:"errorCard__icon-Kcyx2XsY",errorCard_size_big:"errorCard_size_big-Kcyx2XsY",errorCard__message:"errorCard__message-Kcyx2XsY",errorCard_limitWidth:"errorCard_limitWidth-Kcyx2XsY",errorCard__link:"errorCard__link-Kcyx2XsY",errorCardRendererContainer:"errorCardRendererContainer-Kcyx2XsY"}},9745:(e,t,r)=>{"use strict";r.d(t,{Icon:()=>o});var n=r(50959);const o=n.forwardRef(((e,t)=>{const{icon:r="",...o}=e;return n.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:r}})}))},81200:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ErrorCard:()=>y,ResizableErrorCard:()=>m,ErrorCardRenderer:()=>v});var n=r(50959),o=r(962),a=r(43370),i=r(97754),u=r.n(i),s=r(9745),c=(r(44352),r(2484)),l=r(29540),f=r(11425),d=r(90093);const p={ghost:{1:(0,c.enabled)("hide_image_invalid_symbol")?void 0:l,2:(0,c.enabled)("hide_image_invalid_symbol")?void 0:f},"stop-hand":{1:void 0,2:void 0}};function h(e,t){return p[e][t]}const y=n.forwardRef(((e,t)=>{const{icon:r,message:o,size:a=1,rawHtml:i=!1,doNotLimitWidth:c,solutionId:l}=e;return n.createElement("div",{ref:t,className:u()(d.errorCard,2===a&&d.errorCard_size_big,!c&&d.errorCard_limitWidth)},n.createElement(s.Icon,{icon:r&&h(r,a),className:d.errorCard__icon}),i?n.createElement("div",{className:d.errorCard__message,dangerouslySetInnerHTML:{__html:o}}):n.createElement("div",{className:d.errorCard__message},o),null)}));function m(e){const{icon:t,message:r,rawHtml:o,doNotLimitWidth:i,maxWidth:u=200,maxHeight:s=200,offsetHeight:c=0,solutionId:l}=e,f=n.useRef(null),[d,p]=n.useState(1);return n.useEffect((()=>{const e=f.current;if(e){const t=new ResizeObserver((0,a.default)(h,150));return t.observe(e),()=>t.disconnect()}}),[u,s,c]),n.createElement(y,{ref:f,message:r,icon:t,size:d,rawHtml:o,doNotLimitWidth:i,solutionId:l});function h(){const e=f.current;e&&(e.clientWidth{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,m={};function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||h}function _(){}function g(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||h}v.prototype.isReactComponent={},v.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")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=v.prototype;var b=g.prototype=new _;b.constructor=g,y(b,v.prototype),b.isPureReactComponent=!0;var C=Array.isArray,w=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var o,a={},i=null,u=null;if(null!=t)for(o in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)w.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var s=arguments.length-2;if(1===s)a.children=n;else if(1{"use strict";e.exports=r(95257)},11425:e=>{e.exports=''},29540:e=>{e.exports=''}}]);