Files
ai/charting_library/bundles/23.0048763e760dd9c09f28.js
jenkins@nwork.local 649cefa032 Release v19.029 (from 40dd8ca8)
Fixes tradingview/charting_library#614
Fixes tradingview/charting_library#2701
Fixes tradingview/charting_library#2858
Fixes tradingview/charting_library#4019
Fixes tradingview/charting_library#4056
Fixes tradingview/charting_library#4116
Fixes tradingview/charting_library#4473
Fixes tradingview/charting_library#4674
Fixes tradingview/charting_library#4742
Fixes tradingview/charting_library#4746
Fixes tradingview/charting_library#4764
Fixes tradingview/charting_library#4769
Fixes tradingview/charting_library#4986
Fixes tradingview/charting_library#5022
Fixes tradingview/charting_library#5082
Fixes tradingview/charting_library#5228
Fixes tradingview/charting_library#5305
Fixes tradingview/charting_library#5312
Fixes tradingview/charting_library#5354
Fixes tradingview/charting_library#5397
Fixes tradingview/charting_library#5410
Fixes tradingview/charting_library#5429
Fixes tradingview/charting_library#5433
Fixes tradingview/charting_library#5455
Fixes tradingview/charting_library#5466
Fixes tradingview/charting_library#5470
Fixes tradingview/charting_library#5486
Fixes tradingview/charting_library#5488
Fixes tradingview/charting_library#5491
Fixes tradingview/charting_library#5494
Fixes tradingview/charting_library#5531
Fixes tradingview/charting_library#5557
Fixes tradingview/charting_library#5581
Fixes tradingview/charting_library#5598
Fixes tradingview/charting_library#5611
Fixes tradingview/charting_library#5638
Fixes tradingview/charting_library#5706
2021-06-04 12:50:20 +00:00

3 lines
6.1 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"8d0Q":function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"a",(function(){return n}));var r=o("q1tI");function i(){var t=Object(r.useState)(!1),e=t[0],o=t[1];return[e,{onMouseOver:function(t){n(t)&&o(!0)},onMouseOut:function(t){n(t)&&o(!1)}}]}function n(t){return!t.currentTarget.contains(t.relatedTarget)}},"Db/h":function(t,e,o){t.exports={errors:"errors-C3KBJakt",show:"show-2G4PY7Uu",error:"error-3G4k6KUC"}},QpNh:function(t,e,o){"use strict";function r(t){for(var e={},o=0,r=Object.entries(t).filter(i);o<r.length;o++){var n=r[o],s=n[0],a=n[1];e[s]=a}return e}function i(t){var e=t[0],o=t[1];return 0===e.indexOf("data-")&&"string"==typeof o}o.d(e,"a",(function(){return r}))},R5JZ:function(t,e,o){"use strict";function r(t,e,o,r,i){function n(i){if(!(t>i.timeStamp)){var n=i.target;void 0!==o&&null!==e&&null!==n&&n.ownerDocument===r&&(e.contains(n)||o(i))}}return i.click&&r.addEventListener("click",n,!1),i.mouseDown&&r.addEventListener("mousedown",n,!1),i.touchEnd&&r.addEventListener("touchend",n,!1),i.touchStart&&r.addEventListener("touchstart",n,!1),function(){r.removeEventListener("click",n,!1),r.removeEventListener("mousedown",n,!1),r.removeEventListener("touchend",n,!1),r.removeEventListener("touchstart",n,!1)}}o.d(e,"a",(function(){return r}))},kSQs:function(t,e,o){"use strict";var r=o("mrSG"),i=o("q1tI"),n=o("TSYQ"),s=o("uqKQ"),a=o("i8i4");var h=o("Db/h"),p=o("Ialn");o.d(e,"a",(function(){return d}));var c,u,l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e.prototype.render=function(){var t,e=this.props,o=e.children,s=void 0===o?[]:o,a=e.show,c=void 0!==a&&a,u=e.customErrorClass,l=n(h.errors,((t={})[h.show]=c,t),u),d=s.map((function(t,e){return i.createElement("div",{className:h.error,key:e},t)})),f={position:"absolute",top:this.props.top,width:this.props.width,height:this.props.height,bottom:void 0!==this.props.bottom?this.props.bottom:"100%",right:void 0!==this.props.right?this.props.right:0,left:this.props.left,zIndex:this.props.zIndex,maxWidth:this.props.maxWidth};if(Object(p.isRtl)()){var m=f.left,g=f.right;f=Object(r.a)(Object(r.a)({},f),{left:g,right:m})}return i.createElement("div",{style:f,className:l},d)},e}(i.PureComponent),d=Object(s.a)((c=l,(u=function(t){function e(e){var o=t.call(this,e)||this;return o._getComponentInstance=function(t){o._instance=t},o._throttleCalcProps=function(){requestAnimationFrame((function(){return o.setState(o._calcProps(o.props))}))},o.state=o._getStateFromProps(),o}return Object(r.c)(e,t),e.prototype.componentDidMount=function(){this._instanceElem=a.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))},e.prototype.componentDidUpdate=function(t){var e=this;t.children===this.props.children&&t.top===this.props.top&&t.left===this.props.left&&t.width===this.props.width||this.setState(this._getStateFromProps(),(function(){return e.setState(e._calcProps(e.props))}))},e.prototype.render=function(){
return i.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},i.createElement(c,Object(r.a)({},this.props,{ref:this._getComponentInstance,top:this.state.top,bottom:void 0!==this.state.bottom?this.state.bottom:"auto",right:void 0!==this.state.right?this.state.right:"auto",left:this.state.left,width:this.state.width,maxWidth:this.state.maxWidth}),this.props.children))},e.prototype.componentWillUnmount=function(){this._unsubsribe()},e.prototype._getStateFromProps=function(){return{bottom:this.props.bottom,left:this.props.left,right:this.props.right,top:void 0!==this.props.top?this.props.top:-1e4,width:this.props.inheritWidthFromTarget?this.props.target&&this.props.target.getBoundingClientRect().width:this.props.width,maxWidth:this.props.inheritMaxWidthFromTarget&&this.props.target&&this.props.target.getBoundingClientRect().width}},e.prototype._calcProps=function(t){if(t.target&&t.attachment&&t.targetAttachment){var e=this._calcTargetProps(t.target,t.attachment,t.targetAttachment);if(null===e)return{};var o=this.props,r=o.width,i=o.inheritWidthFromTarget,n=void 0===i||i,s=o.inheritMaxWidthFromTarget,a=void 0!==s&&s,h={width:n?e.width:r,maxWidth:a?e.width:void 0};switch(t.attachment.vertical){case"bottom":case"middle":h.top=e.y;break;default:h[t.attachment.vertical]=e.y}switch(t.attachment.horizontal){case"right":case"center":h.left=e.x;break;default:h[t.attachment.horizontal]=e.x}return h}return{}},e.prototype._calcTargetProps=function(t,e,o){var r=t.getBoundingClientRect(),i=this._instanceElem.getBoundingClientRect(),n="parent"===this.props.root?this._getCoordsRelToParentEl(t,r):this._getCoordsRelToDocument(r);if(null===n)return null;var s=this._getDimensions(i),a=this._getDimensions(r).width,h=0,p=0;switch(e.vertical){case"top":p=n[o.vertical];break;case"bottom":p=n[o.vertical]-s.height;break;case"middle":p=n[o.vertical]-s.height/2}switch(e.horizontal){case"left":h=n[o.horizontal];break;case"right":h=n[o.horizontal]-s.width;break;case"center":h=n[o.horizontal]-s.width/2}return"number"==typeof this.props.attachmentOffsetY&&(p+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(h+=this.props.attachmentOffsetX),{x:h,y:p,width:a}},e.prototype._getCoordsRelToDocument=function(t){var e=pageYOffset,o=pageXOffset,r=t.top+e,i=t.bottom+e,n=t.left+o;return{top:r,bottom:i,left:n,right:t.right+o,middle:(r+t.height)/2,center:n+t.width/2}},e.prototype._getCoordsRelToParentEl=function(t,e){var o=t.offsetParent;if(null===o)return null;var r=o.scrollTop,i=o.scrollLeft,n=t.offsetTop+r,s=t.offsetLeft+i,a=e.width+s;return{top:n,bottom:e.height+n,left:s,right:a,middle:(n+e.height)/2,center:(s+e.width)/2}},e.prototype._getDimensions=function(t){return{height:t.height,width:t.width}},e.prototype._subscribe=function(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))},e.prototype._unsubsribe=function(){window.removeEventListener("scroll",this._throttleCalcProps,!0),
window.removeEventListener("resize",this._throttleCalcProps)},e}(i.PureComponent)).displayName="Attachable Component",u))}}]);