Files
ai/charting_library/bundles/50.2a1814f78e291ad8914d.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

10 lines
29 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{"/KDZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("mrSG"),o=n("q1tI"),i=function(e){function t(t){var n=e.call(this,t)||this;return n._handleChange=function(){n.forceUpdate()},n.state={query:window.matchMedia(n.props.rule)},n}return Object(r.c)(t,e),t.prototype.componentDidMount=function(){this._subscribe(this.state.query)},t.prototype.componentDidUpdate=function(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))},t.prototype.componentWillUnmount=function(){this._unsubscribe(this.state.query)},t.prototype.render=function(){return this.props.children(this.state.query.matches)},t.getDerivedStateFromProps=function(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null},t.prototype._subscribe=function(e){e.addListener(this._handleChange)},t.prototype._unsubscribe=function(e){e.removeListener(this._handleChange)},t}(o.PureComponent)},"02pg":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("q1tI"),o=n("TSYQ"),i=n("XiJV");function a(e){return r.createElement("div",{className:o(i.separator,e.className)})}},"0lNN":function(e,t,n){"use strict";var r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("TSYQ"),l=n.n(a),c=n("Eyy1"),s=n("Hr11"),u=n("Ialn"),d=n("0lTl");function f(e){var t,n,r=e.size,a=e.scrollSize,f=e.clientSize,h=e.scrollProgress,m=e.onScrollProgressChange,v=e.horizontal,p=e.theme,b=void 0===p?d:p,g=e.onDragStart,O=e.onDragEnd,S=e.minBarSize,w=void 0===S?40:S,C=Object(o.useRef)(null),I=Object(o.useRef)(null),y=Object(o.useState)(!1),x=y[0],_=y[1],E=Object(o.useRef)(0);Object(o.useEffect)((function(){if(x){g&&g();var e=Object(c.ensureNotNull)(C.current).ownerDocument;e&&(e.addEventListener("mousemove",T),e.addEventListener("mouseup",P))}else O&&O();return function(){var e=Object(c.ensureNotNull)(C.current).ownerDocument;e&&(e.removeEventListener("mousemove",T),e.removeEventListener("mouseup",P))}}),[x]);var j=r/a||0,M=f*j||0,N=Math.max(M,w),z=(r-N)/(r-M),k=function(e){if(Object(u.isRtl)()&&v)return e-a+f;return e}(Object(s.clamp)(h,0,a-r));return i.a.createElement("div",{ref:C,className:l()(b.wrap,v&&b["wrap--horizontal"]),style:(t={},t[v?"width":"height"]=r,t),onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();var t=Object(c.ensureNotNull)(I.current).getBoundingClientRect();E.current=(v?t.width:t.height)/2;var n=a-r,o=R(e.nativeEvent,Object(c.ensureNotNull)(C.current))-E.current;o<0?(o=0,E.current=R(e.nativeEvent,Object(c.ensureNotNull)(C.current))):o>n*j*z&&(o=n*j*z,E.current=R(e.nativeEvent,Object(c.ensureNotNull)(C.current))-o);m(o/j/z),_(!0)}},i.a.createElement("div",{ref:I,className:l()(b.bar,v&&b["bar--horizontal"]),style:(n={},n[v?"minWidth":"minHeight"]=w,n[v?"width":"height"]=N,n.transform="translate"+(v?"X":"Y")+"("+(k*j*z||0)+"px)",n),onMouseDown:function(e){e.preventDefault(),E.current=R(e.nativeEvent,Object(c.ensureNotNull)(I.current)),_(!0)}},i.a.createElement("div",{className:l()(b.barInner,v&&b["barInner--horizontal"])
})));function T(e){var t=R(e,Object(c.ensureNotNull)(C.current))-E.current;m(t/j/z)}function P(e){_(!1)}function R(e,t){var n=t.getBoundingClientRect();return v?e.clientX-n.left:e.clientY-n.top}}var h=n("8d0Q"),m=n("ya27");n.d(t,"a",(function(){return v}));function v(e){var t=e.reference,n=e.className,l=e.containerHeight,c=void 0===l?0:l,s=e.containerWidth,u=void 0===s?0:s,d=e.contentHeight,v=void 0===d?0:d,p=e.contentWidth,b=void 0===p?0:p,g=e.scrollPosTop,O=void 0===g?0:g,S=e.scrollPosLeft,w=void 0===S?0:S,C=e.onVerticalChange,I=e.onHorizontalChange,y=e.visible,x=Object(h.b)(),_=x[0],E=x[1],j=Object(o.useState)(!1),M=j[0],N=j[1],z=c<v,k=u<b,T=z&&k?8:0;return i.a.createElement("div",Object(r.a)({},E,{ref:t,className:a(n,m.scrollWrap),style:{visibility:y||_||M?"visible":"hidden"}}),z&&i.a.createElement(f,{size:c-T,scrollSize:v-T,clientSize:c-T,scrollProgress:O,onScrollProgressChange:function(e){C&&C(e)},onDragStart:P,onDragEnd:R}),k&&i.a.createElement(f,{size:u-T,scrollSize:b-T,clientSize:u-T,scrollProgress:w,onScrollProgressChange:function(e){I&&I(e)},onDragStart:P,onDragEnd:R,horizontal:!0}));function P(){N(!0)}function R(){N(!1)}}},"0lTl":function(e,t,n){e.exports={wrap:"wrap-ghxWUnOu","wrap--horizontal":"wrap--horizontal-1sVOJLqZ",bar:"bar-2ZGFe1r-",barInner:"barInner-2f6z58Ci","barInner--horizontal":"barInner--horizontal-35zIxXob","bar--horizontal":"bar--horizontal-2ofOPj8L"}},"8d0Q":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n("q1tI");function o(){var e=Object(r.useState)(!1),t=e[0],n=e[1];return[t,{onMouseOver:function(e){i(e)&&n(!0)},onMouseOut:function(e){i(e)&&n(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}},"9S1y":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("q1tI");function o(){var e=Object(r.useState)(null),t=e[0],n=e[1];return[Object(r.useCallback)((function(e){e.width===(null==t?void 0:t.width)&&e.height===t.height||n(e)}),[t]),t]}},"9dlw":function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("i8i4"),l=n.n(a),c=(n("EsMY"),n("AiMB")),s=n("DTHj"),u=n("X0gx"),d=n("8Rai");function f(e){var t=e.controller,n=e.children,a=e.isOpened,f=e.closeOnClickOutside,h=void 0===f||f,m=e.doNotCloseOn,v=e.onClickOutside,p=e.onClose,b=Object(r.e)(e,["controller","children","isOpened","closeOnClickOutside","doNotCloseOn","onClickOutside","onClose"]),g=Object(o.useContext)(u.a),O=Object(d.a)({handler:function(e){v&&v(e);if(!h)return;if(m&&e.target instanceof Node){var t=l.a.findDOMNode(m);if(t instanceof Node&&t.contains(e.target))return}p()},mouseDown:!0,touchStart:!0});return a?i.a.createElement(c.a,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},i.a.createElement("span",{ref:O,style:{pointerEvents:"auto"}},i.a.createElement(s.a,Object(r.a)({},b,{isOpened:a,onClose:p,onScroll:function(t){var n=e.onScroll;n&&n(t);t.stopPropagation()},customCloseDelegate:g,ref:t}),n))):null}},ASyk:function(e,t,n){e.exports={
"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 419px)"}},ItnF:function(e,t,n){e.exports={dialog:"dialog-2QwUBM-N",wrapper:"wrapper-3ePvQMAQ",separator:"separator-1L40XQyb"}},N5tr:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return m}));var r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("TSYQ"),l=n("tWVy"),c=n("JWMC"),s=n("QpNh"),u=n("v1bN"),d=u;function f(e){var t=e.reference,n=Object(r.e)(e,["reference"]),o=Object(r.a)(Object(r.a)({},n),{ref:t});return i.a.createElement(e.href?"a":"div",o)}function h(e){e.stopPropagation()}function m(e){var t,n,d,m=e.className,v=e.title,p=e.labelRowClassName,b=e.shortcut,g=e.forceShowShortcuts,O=e.icon,S=e.isActive,w=e.isDisabled,C=e.isHovered,I=e.appearAsDisabled,y=e.label,x=e.link,_=e.showToolboxOnHover,E=e.target,j=e.toolbox,M=e.reference,N=e.onMouseOut,z=e.onMouseOver,k=e.theme,T=void 0===k?u:k,P=Object(s.a)(e),R=Object(o.useRef)(null);return i.a.createElement(f,Object(r.a)({},P,{className:a(m,T.item,O&&T.withIcon,(t={},t[T.isActive]=S,t[T.isDisabled]=w||I,t[T.hovered]=C,t)),title:v,href:x,target:E,reference:function(e){R.current=e,M&&M(e)},onClick:function(t){var n=e.dontClosePopup,r=e.onClick,o=e.onClickArg,i=e.trackEventObject;if(w)return;i&&Object(c.trackEvent)(i.category,i.event,i.label);r&&r(o,t);n||Object(l.b)()},onContextMenu:function(t){var n=e.trackEventObject,r=e.trackRightClick;n&&r&&Object(c.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){var n=e.trackEventObject,r=e.trackMouseWheelClick;if(1===t.button&&x&&n){var o=n.label;r&&(o+="_mouseWheelClick"),Object(c.trackEvent)(n.category,n.event,o)}},onMouseOver:z,onMouseOut:N}),void 0!==O&&i.a.createElement("div",{className:T.icon,dangerouslySetInnerHTML:{__html:O}}),i.a.createElement("div",{className:a(T.labelRow,p)},i.a.createElement("div",{className:T.label},y)),(void 0!==b||g)&&i.a.createElement("div",{className:T.shortcut},(d=b)&&d.split("+").join(" + ")),void 0!==j&&i.a.createElement("div",{onClick:h,className:a(T.toolbox,(n={},n[T.showOnHover]=_,n))},j))}},To8B:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},XfUw:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'},XiJV:function(e,t,n){e.exports={separator:"separator-1TZB5HZ-"}},fEjm:function(e,t,n){e.exports={favorite:"favorite-2V8VHwKe",disabled:"disabled-3ebwimbb",active:"active-3pQAvYvT",checked:"checked-2bhy04CF"}},g89m:function(e,t,n){"use strict"
;var r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("Eyy1"),l=n("TSYQ"),c=n.n(l),s=n("/3z9"),u=n("d700"),d=n("WXjp"),f=n("02pg"),h=n("uhCe"),m=n("/KDZ"),v=n("pafz"),p=n("ZjKI"),b=n("FQhm"),g=n("Iivm"),O=i.a.createContext({setHideClose:function(){}}),S=n("zztK"),w=n("px1m");function C(e){var t=e.title,n=e.subtitle,r=e.showCloseIcon,a=void 0===r||r,l=e.onClose,s=e.renderBefore,u=e.renderAfter,d=e.draggable,f=Object(o.useState)(!1),h=f[0],m=f[1];return i.a.createElement(O.Provider,{value:{setHideClose:m}},i.a.createElement("div",{className:c()(w.container,n&&w.unsetAlign)},s,i.a.createElement("div",{"data-dragg-area":d,className:w.title},i.a.createElement("div",{className:w.ellipsis},t),n&&i.a.createElement("div",{className:c()(w.ellipsis,w.subtitle)},n)),u,a&&!h&&i.a.createElement(g.a,{className:w.close,icon:S,onClick:l,"data-name":"close","data-role":"button"})))}var I=n("ItnF");n.d(t,"a",(function(){return _}));var y={vertical:20},x={vertical:0},_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._controller=null,t._reference=null,t._renderChildren=function(e,n){return t._controller=e,t.props.render({requestResize:t._requestResize,centerAndFit:t._centerAndFit,isSmallWidth:n})},t._handleReference=function(e){return t._reference=e},t._handleClose=function(){t.props.onClose()},t._handleKeyDown=function(e){if(!e.defaultPrevented)switch(t.props.onKeyDown&&t.props.onKeyDown(e),Object(s.hashFromEvent)(e)){case 27:if(e.defaultPrevented)return;if(t.props.forceCloseOnEsc&&t.props.forceCloseOnEsc())return void t._handleClose();var n=document.activeElement,r=Object(a.ensureNotNull)(t._reference);if(null!==n){if(e.preventDefault(),E(n))return void t._handleClose();if(Object(u.b)(n))return void r.focus();if(r.contains(n))return void t._handleClose()}}},t._requestResize=function(){null!==t._controller&&t._controller.recalculateBounds()},t._centerAndFit=function(){null!==t._controller&&t._controller.centerAndFit()},t}return Object(r.c)(t,e),t.prototype.componentDidMount=function(){b.subscribe(p.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null)},t.prototype.componentWillUnmount=function(){b.unsubscribe(p.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null)},t.prototype.focus=function(){Object(a.ensureNotNull)(this._reference).focus()},t.prototype.getElement=function(){return this._reference},t.prototype.render=function(){var e=this,t=this.props,n=t.className,r=t.isOpened,o=t.title,a=t.dataName,l=t.onClickOutside,s=t.additionalElementPos,u=t.additionalHeaderElement,p=t.backdrop,b=t.shouldForceFocus,g=void 0===b||b,O=t.showSeparator,S=t.subtitle,w=t.draggable,_=void 0===w||w,E=t.fullScreen,j=void 0!==E&&E,M=t.showCloseIcon,N=void 0===M||M,z=t.rounded,k=void 0===z||z,T=t.isAnimationEnabled,P=t.growPoint,R=t.dialogTooltip,D="after"!==s?u:void 0,A="after"===s?u:void 0;return i.a.createElement(m.a,{rule:h.a.SmallHeight},(function(t){return i.a.createElement(m.a,{rule:h.a.TabletSmall},(function(s){return i.a.createElement(d.a,{rounded:!(s||j)&&k,className:c()(I.dialog,n),isOpened:r,
reference:e._handleReference,onKeyDown:e._handleKeyDown,onClickOutside:l,onClickBackdrop:l,fullscreen:s||j,guard:t?x:y,boundByScreen:s||j,shouldForceFocus:g,backdrop:p,draggable:_,isAnimationEnabled:T,growPoint:P,name:e.props.dataName,dialogTooltip:R},i.a.createElement("div",{className:I.wrapper,"data-name":a,"data-dialog-name":o},i.a.createElement(C,{draggable:_&&!(s||j),onClose:e._handleClose,renderAfter:A,renderBefore:D,subtitle:S,title:o,showCloseIcon:N}),O&&i.a.createElement(f.a,{className:I.separator}),i.a.createElement(v.a.Consumer,null,(function(t){return e._renderChildren(t,s||j)}))))}))}))},t}(i.a.PureComponent);function E(e){return"true"===e.getAttribute("data-haspopup")&&"true"!==e.getAttribute("data-expanded")}},gM3K:function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("mrSG"),o=n("q1tI"),i=n.n(o),a=n("TSYQ"),l=n.n(a),c=n("qFKp"),s=n("dTSQ"),u=n("pr86"),d=n("i/MG"),f=n("xp8i");function h(e){var t=e.searchString,n=e.text,r=e.isActive;if(!t)return i.a.createElement(i.a.Fragment,null,n);var a=Object(o.useMemo)((function(){return n.split(new RegExp("("+Object(s.regExpEscape)(t)+")","i"))}),[t]);return i.a.createElement(i.a.Fragment,null,a.map((function(e,t){return t%2?i.a.createElement("span",{key:t,className:l()(f.highlight,r&&f.active)},e):i.a.createElement(i.a.Fragment,{key:t},e)})))}function m(e){var t=e.url,n=e.title,o=e.renderTitle,a=e.subtitle,s=e.removeBtnLabel,h=e.onClick,m=e.onClickFavorite,p=e.onClickRemove,b=e.isActive,g=e.isSelected,O=e.isFavorite,S=e.isMobile,w=void 0!==S&&S,C=e.showFavorite,I=void 0===C||C,y=Object(r.e)(e,["url","title","renderTitle","subtitle","removeBtnLabel","onClick","onClickFavorite","onClickRemove","isActive","isSelected","isFavorite","isMobile","showFavorite"]);return i.a.createElement("a",Object(r.a)({},y,{className:l()(f.itemRow,b&&!g&&f.active,w&&f.mobile,g&&f.selected),onClick:v.bind(null,h),href:t,"data-role":"list-item","data-active":b}),I&&m&&i.a.createElement(u.a,{className:l()(f.favoriteButton,O&&f.favorite,c.CheckMobile.any()&&f.mobile),isActive:b&&!g,isFilled:O,onClick:v.bind(null,m),"data-name":"list-item-favorite-button","data-favorite":O}),i.a.createElement("div",{className:l()(f.itemInfo,!I&&f.itemInfoWithPadding)},i.a.createElement("div",{className:l()(f.title,b&&!g&&f.active,w&&f.mobile),"data-name":"list-item-title"},o||n),i.a.createElement("div",{className:l()(f.details,b&&!g&&f.active,w&&f.mobile)},a)),i.a.createElement(d.a,{className:f.removeButton,isActive:b&&!g,onClick:v.bind(null,p),"data-name":"list-item-remove-button",title:s}))}function v(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}},"i/MG":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("mrSG"),o=(n("YFKU"),n("q1tI")),i=n("TSYQ"),a=n("Iivm"),l=n("To8B"),c=n("kXJy"),s={remove:window.t("Remove")};function u(e){var t=e.className,n=e.isActive,u=e.onClick,d=e.title,f=e.hidden,h=e["data-name"],m=void 0===h?"remove-button":h,v=Object(r.e)(e,["className","isActive","onClick","title","hidden","data-name"])
;return o.createElement(a.a,Object(r.a)({},v,{"data-name":m,className:i(c.button,"apply-common-tooltip",n&&c.active,f&&c.hidden,t),icon:l,onClick:u,title:d||s.remove}))}},iR1w:function(e,t,n){"use strict";var r=n("wx14"),o=n("s4An");function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(o.a)(e,t)}var a=n("JX7q"),l=function(e,t){return e===t};var c=function(e,t){var n;void 0===t&&(t=l);var r,o=[],i=!1,a=function(e,n){return t(e,o[n])};return function(){for(var t=arguments.length,l=new Array(t),c=0;c<t;c++)l[c]=arguments[c];return i&&n===this&&l.length===o.length&&l.every(a)||(r=e.apply(this,l),i=!0,n=this,o=l),r}},s=n("q1tI");n("zLVn");n.d(t,"b",(function(){return C})),n.d(t,"a",(function(){return I}));var u="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function d(e){cancelAnimationFrame(e.id)}function f(e,t){var n=u();var r={id:requestAnimationFrame((function o(){u()-n>=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var h=null;function m(e){if(void 0===e&&(e=!1),null===h||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?h="positive-descending":(t.scrollLeft=1,h=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),h}return h}var v=function(e,t){return e};function p(e){var t,n,o=e.getItemOffset,l=e.getEstimatedTotalSize,u=e.getItemSize,h=e.getOffsetForIndexAndAlignment,p=e.getStartIndexForOffset,g=e.getStopIndexForStartIndex,O=e.initInstanceProps,S=e.shouldResetStyleCacheOnItemSizeChange,w=e.validateProps;return n=t=function(e){function t(t){var n;return(n=e.call(this,t)||this)._instanceProps=O(n.props,Object(a.a)(Object(a.a)(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Object(a.a)(Object(a.a)(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=c((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=c((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,r=n.props,i=r.direction,a=r.itemSize,l=r.layout,c=n._getItemStyleCache(S&&a,S&&l,S&&i);if(c.hasOwnProperty(e))t=c[e];else{var s,d=o(n.props,e,n._instanceProps),f=u(n.props,e,n._instanceProps),h="horizontal"===i||"horizontal"===l;c[e]=((s={position:"absolute"})["rtl"===i?"right":"left"]=h?d:0,s.top=h?0:d,s.height=h?"100%":f,s.width=h?f:"100%",t=s)}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=c((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){
var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(m()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&d(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=f(n._resetIsScrolling,150)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}i(t,e),t.getDerivedStateFromProps=function(e,t){return b(e,t),w(e),null};var n=t.prototype;return n.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},n.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(h(this.props,e,t,r,this._instanceProps))},n.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},n.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(m()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},n.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&d(this._resetIsScrollingTimeoutId)},n.render=function(){var e=this.props,t=e.children,n=e.className,o=e.direction,i=e.height,a=e.innerRef,c=e.innerElementType,u=e.innerTagName,d=e.itemCount,f=e.itemData,h=e.itemKey,m=void 0===h?v:h,p=e.layout,b=e.outerElementType,g=e.outerTagName,O=e.style,S=e.useIsScrolling,w=e.width,C=this.state.isScrolling,I="horizontal"===o||"horizontal"===p,y=I?this._onScrollHorizontal:this._onScrollVertical,x=this._getRangeToRender(),_=x[0],E=x[1],j=[]
;if(d>0)for(var M=_;M<=E;M++)j.push(Object(s.createElement)(t,{data:f,key:m(M,f),index:M,isScrolling:S?C:void 0,style:this._getItemStyle(M)}));var N=l(this.props,this._instanceProps);return Object(s.createElement)(b||g||"div",{className:n,onScroll:y,ref:this._outerRefSetter,style:Object(r.a)({position:"relative",height:i,width:w,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},O)},Object(s.createElement)(c||u||"div",{children:j,ref:a,style:{height:I?"100%":N,pointerEvents:C?"none":void 0,width:I?N:"100%"}}))},n._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,c=i.scrollUpdateWasRequested;this._callOnScroll(a,l,c)}},n._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var l=p(this.props,a,this._instanceProps),c=g(this.props,l,a,this._instanceProps),s=o&&"backward"!==i?1:Math.max(1,n),u=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,l-s),Math.max(0,Math.min(t-1,c+u)),l,c]},t}(s.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var b=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},g=function(e,t,n){var r=e.itemSize,o=n.itemMetadataMap,i=n.lastMeasuredIndex;if(t>i){var a=0;if(i>=0){var l=o[i];a=l.offset+l.size}for(var c=i+1;c<=t;c++){var s=r(c);o[c]={offset:a,size:s},a+=s}n.lastMeasuredIndex=t}return o[t]},O=function(e,t,n,r,o){for(;r<=n;){var i=r+Math.floor((n-r)/2),a=g(e,i,t).offset;if(a===o)return i;a<o?r=i+1:a>o&&(n=i-1)}return r>0?r-1:0},S=function(e,t,n,r){for(var o=e.itemCount,i=1;n<o&&g(e,n,t).offset<r;)n+=i,i*=2;return O(e,t,Math.min(n,o-1),Math.floor(n/2),r)},w=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,o=t.estimatedItemSize,i=t.lastMeasuredIndex,a=0;if(i>=n&&(i=n-1),i>=0){var l=r[i];a=l.offset+l.size}return a+(n-i-1)*o},C=p({getItemOffset:function(e,t,n){return g(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:w,getOffsetForIndexAndAlignment:function(e,t,n,r,o){var i=e.direction,a=e.height,l=e.layout,c=e.width,s="horizontal"===i||"horizontal"===l?c:a,u=g(e,t,o),d=w(e,o),f=Math.max(0,Math.min(d-s,u.offset)),h=Math.max(0,u.offset-s+u.size);switch("smart"===n&&(n=r>=h-s&&r<=f+s?"auto":"center"),n){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);case"auto":default:return r>=h&&r<=f?r:r<h?h:f}},getStartIndexForOffset:function(e,t,n){return function(e,t,n){var r=t.itemMetadataMap,o=t.lastMeasuredIndex;return(o>0?r[o].offset:0)>=n?O(e,t,o,0,n):S(e,t,Math.max(0,o),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){
for(var o=e.direction,i=e.height,a=e.itemCount,l=e.layout,c=e.width,s="horizontal"===o||"horizontal"===l?c:i,u=g(e,t,r),d=n+s,f=u.offset+u.size,h=t;h<a-1&&f<d;)h++,f+=g(e,h,r).size;return h},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),I=p({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r){var o=e.direction,i=e.height,a=e.itemCount,l=e.itemSize,c=e.layout,s=e.width,u="horizontal"===o||"horizontal"===c?s:i,d=Math.max(0,a*l-u),f=Math.min(d,t*l),h=Math.max(0,t*l-u+l);switch("smart"===n&&(n=r>=h-u&&r<=f+u?"auto":"center"),n){case"start":return f;case"end":return h;case"center":var m=Math.round(h+(f-h)/2);return m<Math.ceil(u/2)?0:m>d+Math.floor(u/2)?d:m;case"auto":default:return r>=h&&r<=f?r:r<h?h:f}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,i=e.itemCount,a=e.itemSize,l=e.layout,c=e.width,s=t*a,u="horizontal"===r||"horizontal"===l?c:o,d=Math.ceil((u+n-s)/a);return Math.max(0,Math.min(i-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}})},kXJy:function(e,t,n){e.exports={button:"button-1scLo53s",disabled:"disabled-2eJ5fvUz",active:"active-2T0ofIIp",hidden:"hidden-2GRQzIQ1"}},n9z6:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("mrSG"),o=n("q1tI"),i=n("Eyy1"),a=n("8d0Q"),l=n("qFKp"),c={onMouseOver:function(){},onMouseOut:function(){}};function s(e){var t=Object(o.useRef)(null),n=e||Object(o.useRef)(null),s=Object(a.b)(),u=s[0],d=s[1],f=Object(o.useState)({reference:t,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){m((function(t){return Object(r.a)(Object(r.a)({},t),{scrollPosTop:e})})),Object(i.ensureNotNull)(n.current).scrollTop=e},onHorizontalChange:function(e){m((function(t){return Object(r.a)(Object(r.a)({},t),{scrollPosLeft:e})})),Object(i.ensureNotNull)(n.current).scrollLeft=e},visible:u}),h=f[0],m=f[1],v=Object(o.useCallback)((function(){if(n.current){var e=n.current,o=e.clientHeight,i=e.scrollHeight,a=e.scrollTop,l=e.clientWidth,c=e.scrollWidth,s=e.scrollLeft,u=t.current?t.current.offsetTop:0;m((function(e){return Object(r.a)(Object(r.a)({},e),{containerHeight:o-u,contentHeight:i-u,scrollPosTop:a,containerWidth:l,contentWidth:c,scrollPosLeft:s})}))}}),[]);function p(){m((function(e){return Object(r.a)(Object(r.a)({},e),{scrollPosTop:Object(i.ensureNotNull)(n.current).scrollTop,
scrollPosLeft:Object(i.ensureNotNull)(n.current).scrollLeft})}))}return Object(o.useEffect)((function(){u&&v(),m((function(e){return Object(r.a)(Object(r.a)({},e),{visible:u})}))}),[u]),Object(o.useEffect)((function(){return n.current&&n.current.addEventListener("scroll",p),function(){n.current&&n.current.removeEventListener("scroll",p)}}),[n]),[h,l.CheckMobile.any()?c:d,n,v]}},pr86:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("mrSG"),o=(n("YFKU"),n("q1tI")),i=n("TSYQ"),a=n("Iivm"),l=n("sg5d"),c=n("XfUw"),s=n("fEjm"),u={add:window.t("Add to favorites"),remove:window.t("Remove from favorites")};function d(e){var t=e.className,n=e.isFilled,d=e.isActive,f=e.onClick,h=Object(r.e)(e,["className","isFilled","isActive","onClick"]);return o.createElement(a.a,Object(r.a)({},h,{className:i(s.favorite,"apply-common-tooltip",n&&s.checked,d&&s.active,t),icon:n?l:c,onClick:f,title:n?u.remove:u.add}))}},px1m:function(e,t,n){e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-12F9cTKw",unsetAlign:"unsetAlign-39w7dDTj",title:"title-TQFObfxW",subtitle:"subtitle-EM1kLgFz",ellipsis:"ellipsis-1PT8QOxq",close:"close-3NTwKnT_"}},sg5d:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},uhCe:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("ASyk"),o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},v1bN:function(e,t,n){e.exports={"tablet-small-breakpoint":"screen and (max-width: 419px)",item:"item-2xPVYue0",hovered:"hovered-1uf45E05",isDisabled:"isDisabled-1wLqKupj",isActive:"isActive-2j-GhQs_",shortcut:"shortcut-30pveiCO",toolbox:"toolbox-3ulPxfe-",withIcon:"withIcon-1xBjf-oB",icon:"icon-2Qm7YIcz",labelRow:"labelRow-3Q0rdE8-",label:"label-3Xqxy756",showOnHover:"showOnHover-1q6ySzZc"}},xp8i:function(e,t,n){e.exports={itemRow:"itemRow-3JQtg1cT",favoriteButton:"favoriteButton-1yjXmqy0",active:"active-2Ne8Zyok",selected:"selected-gF909i3a",mobile:"mobile-3cRbBpAw",itemInfo:"itemInfo-3NQvH05Z",title:"title-utNMTX_N",details:"details-1rOd8IMz",highlight:"highlight-3BtgMHlt",itemInfoWithPadding:"itemInfoWithPadding-2CZUseHM",favorite:"favorite-3iQ0dczX",removeButton:"removeButton-1FahXcg8"}},ya27:function(e,t,n){e.exports={scrollWrap:"scrollWrap-2ycJ5xsk"}},zztK:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="none"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>'}}]);