jenkins
2023-07-19 16:33:28 +00:00
parent 6069378100
commit 0fbc49226a
651 changed files with 3634 additions and 3124 deletions

View File

@@ -1 +1 @@
.dialog-CPGBbsmc{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:left}html.theme-dark .dialog-CPGBbsmc{background-color:#1e222d}.dialog-CPGBbsmc.rounded-CPGBbsmc{border-radius:6px}.dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0006}.dialog-CPGBbsmc.fullscreen-CPGBbsmc{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#fff}html.theme-dark .dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#131722}.backdrop-CPGBbsmc{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-CPGBbsmc{background-color:#0c0e15}.dialog-qyCw0PaN{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-qyCw0PaN [data-dragg-area=true]{cursor:grab}.dialog-qyCw0PaN [data-dragg-area=true].dragging-qyCw0PaN{cursor:grabbing}.dialogAnimatedAppearance-qyCw0PaN{animation-duration:.3s;animation-name:dialogAnimation-qyCw0PaN;transform-origin:0 0}@keyframes dialogAnimation-qyCw0PaN{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-qyCw0PaN{color:#fff;font-size:14px;left:50%;line-height:21px;max-width:540px;position:absolute;top:-20px;transform:translateX(-50%);width:max-content}@media screen and (max-width:768px){.dialogTooltip-qyCw0PaN{max-width:240px}}
.dialog-CPGBbsmc{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:left}html.theme-dark .dialog-CPGBbsmc{background-color:#1e222d}.dialog-CPGBbsmc.rounded-CPGBbsmc{border-radius:6px}.dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0006}.dialog-CPGBbsmc.fullscreen-CPGBbsmc{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#fff}html.theme-dark .dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#131722}.backdrop-CPGBbsmc{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-CPGBbsmc{background-color:#0c0e15}.dialog-qyCw0PaN{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-qyCw0PaN [data-dragg-area=true]{cursor:grab}.dialog-qyCw0PaN [data-dragg-area=true].dragging-qyCw0PaN{cursor:grabbing}.dialogAnimatedAppearance-qyCw0PaN{animation-duration:.3s;animation-name:dialogAnimation-qyCw0PaN;transform-origin:0 0}@keyframes dialogAnimation-qyCw0PaN{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-qyCw0PaN{color:#fff;font-size:14px;left:50%;line-height:21px;max-width:540px;position:absolute;top:-20px;transform:translateX(-50%);width:-webkit-max-content;width:max-content}@media screen and (max-width:768px){.dialogTooltip-qyCw0PaN{max-width:240px}}

View File

@@ -1 +1 @@
.dialog-CPGBbsmc{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:right}html.theme-dark .dialog-CPGBbsmc{background-color:#1e222d}.dialog-CPGBbsmc.rounded-CPGBbsmc{border-radius:6px}.dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0006}.dialog-CPGBbsmc.fullscreen-CPGBbsmc{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#fff}html.theme-dark .dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#131722}.backdrop-CPGBbsmc{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-CPGBbsmc{background-color:#0c0e15}.dialog-qyCw0PaN{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-qyCw0PaN [data-dragg-area=true]{cursor:grab}.dialog-qyCw0PaN [data-dragg-area=true].dragging-qyCw0PaN{cursor:grabbing}.dialogAnimatedAppearance-qyCw0PaN{animation-duration:.3s;animation-name:dialogAnimation-qyCw0PaN;transform-origin:100% 0}@keyframes dialogAnimation-qyCw0PaN{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-qyCw0PaN{color:#fff;font-size:14px;line-height:21px;max-width:540px;position:absolute;right:50%;top:-20px;transform:translateX(50%);width:max-content}@media screen and (max-width:768px){.dialogTooltip-qyCw0PaN{max-width:240px}}
.dialog-CPGBbsmc{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;min-width:280px;text-align:right}html.theme-dark .dialog-CPGBbsmc{background-color:#1e222d}.dialog-CPGBbsmc.rounded-CPGBbsmc{border-radius:6px}.dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0003}html.theme-dark .dialog-CPGBbsmc.shadowed-CPGBbsmc{box-shadow:0 2px 4px #0006}.dialog-CPGBbsmc.fullscreen-CPGBbsmc{bottom:0;height:100%;left:0;max-height:100%;max-width:100%;min-height:100%;position:fixed;right:0;top:0;width:100%}.dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#fff}html.theme-dark .dialog-CPGBbsmc.darker-CPGBbsmc{background-color:#131722}.backdrop-CPGBbsmc{background-color:#9598a1;bottom:0;left:0;opacity:.5;position:fixed;right:0;top:0;transform:translateZ(0);z-index:-1}html.theme-dark .backdrop-CPGBbsmc{background-color:#0c0e15}.dialog-qyCw0PaN{max-width:380px;min-width:280px;position:fixed;width:100%}.dialog-qyCw0PaN [data-dragg-area=true]{cursor:grab}.dialog-qyCw0PaN [data-dragg-area=true].dragging-qyCw0PaN{cursor:grabbing}.dialogAnimatedAppearance-qyCw0PaN{animation-duration:.3s;animation-name:dialogAnimation-qyCw0PaN;transform-origin:100% 0}@keyframes dialogAnimation-qyCw0PaN{0%{opacity:0;transform:translate(var(--animationTranslateStartX),var(--animationTranslateStartY)) scale(0)}to{opacity:1;transform:translate(var(--animationTranslateEndX),var(--animationTranslateEndY)) scale(1)}}.dialogTooltip-qyCw0PaN{color:#fff;font-size:14px;line-height:21px;max-width:540px;position:absolute;right:50%;top:-20px;transform:translateX(50%);width:-webkit-max-content;width:max-content}@media screen and (max-width:768px){.dialogTooltip-qyCw0PaN{max-width:240px}}

View File

@@ -0,0 +1,5 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[1044,8115,306],{59255:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>S});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__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,a=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&c()}function u(){s(i)}function c(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!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(){o&&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;u.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}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function y(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=p(i)}return e}(r),i=o.left+o.right,s=o.top+o.bottom,u=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=d(r,"left","right")+i),Math.round(c+s)!==n&&(c-=d(r,"top","bottom")+s)),!function(t){return t===l(t).document.documentElement}(t)){var a=Math.round(u+i)-e,f=Math.round(c+s)-n;1!==Math.abs(a)&&(u-=a),1!==Math.abs(f)&&(c-=f)}return b(o.left,o.top,u,c)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function v(t){return o?_(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):y(t):h}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=v(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,s,u,c,a=(r=(n=e).x,o=n.y,i=n.width,s=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(u.prototype),f(c,{x:r,y:o,width:i,height:s,top:o,right:r+i,bottom:s+o,left:r}),c);f(this,{target:t,contentRect:a})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="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=a.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:O},6132:(t,e,n)=>{"use strict";var r=n(22134);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,s){if(s!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},19036:(t,e,n)=>{t.exports=n(6132)()},22134:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95257:(t,e)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,_={};function v(t,e,n){this.props=t,this.context=e,this.refs=_,
this.updater=n||d}function b(){}function m(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||d}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=v.prototype;var w=m.prototype=new b;w.constructor=m,y(w,v.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,O={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(t,e,r){var o,i={},s=null,u=null;if(null!=e)for(o in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(s=""+e.key),e)E.call(e,o)&&!S.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var a=Array(c),f=0;f<c;f++)a[f]=arguments[f+2];i.children=a}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:t,key:s,ref:u,props:i,_owner:O.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var T=/\/+/g;function C(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function x(t,e,o,i,s){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var c=!1;if(null===t)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case r:c=!0}}if(c)return s=s(c=t),t=""===i?"."+C(c,0):i,g(s)?(o="",null!=t&&(o=t.replace(T,"$&/")+"/"),x(s,e,o,"",(function(t){return t}))):null!=s&&(k(s)&&(s=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+t)),e.push(s)),1;if(c=0,i=""===i?".":i+":",g(t))for(var a=0;a<t.length;a++){var f=i+C(u=t[a],a);c+=x(u,e,o,f,s)}else if(f=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),a=0;!(u=t.next()).done;)c+=x(u=u.value,e,o,f=i+C(u,a++),s);else if("object"===u)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return c}function M(t,e,n){if(null==t)return t;var r=[],o=0;return x(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function A(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var j={current:null},$={transition:null},P={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:$,ReactCurrentOwner:O};e.Children={map:M,
forEach:function(t,e,n){M(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return M(t,(function(){e++})),e},toArray:function(t){return M(t,(function(t){return t}))||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=v,e.Fragment=o,e.Profiler=s,e.PureComponent=m,e.StrictMode=i,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=y({},t.props),i=t.key,s=t.ref,u=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,u=O.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(a in e)E.call(e,a)&&!S.hasOwnProperty(a)&&(o[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){c=Array(a);for(var f=0;f<a;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:n,type:t.type,key:i,ref:s,props:o,_owner:u}},e.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:t},t.Consumer=t},e.createElement=R,e.createFactory=function(t){var e=R.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:a,render:t}},e.isValidElement=k,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:A}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=$.transition;$.transition={};try{t()}finally{$.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return j.current.useCallback(t,e)},e.useContext=function(t){return j.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return j.current.useDeferredValue(t)},e.useEffect=function(t,e){return j.current.useEffect(t,e)},e.useId=function(){return j.current.useId()},e.useImperativeHandle=function(t,e,n){return j.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return j.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return j.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return j.current.useMemo(t,e)},e.useReducer=function(t,e,n){return j.current.useReducer(t,e,n)},e.useRef=function(t){return j.current.useRef(t)},e.useState=function(t){return j.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return j.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return j.current.useTransition()},e.version="18.2.0"},50959:(t,e,n)=>{"use strict";t.exports=n(95257)}}]);

View File

@@ -1 +1 @@
.wrap-vSb6C0Bj{bottom:0;cursor:default;pointer-events:all;position:absolute;right:0;top:0;width:8px;will-change:height}.wrap--horizontal-vSb6C0Bj{height:8px;left:0;right:0;top:auto;will-change:width}.bar-vSb6C0Bj{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0;width:100%;will-change:height,transform}.bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#d1d4dc;border-radius:2px;height:calc(100% - 4px);width:4px}html.theme-dark .bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#50535e}.bar-vSb6C0Bj .barInner--horizontal-vSb6C0Bj{height:4px;width:calc(100% - 4px)}.bar--horizontal-vSb6C0Bj{height:100%;left:0;top:0;width:auto;will-change:width,transform}.scrollWrap-FaOvTD2r{pointer-events:none;position:absolute;will-change:visibility}.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-right:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#787b86;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-left:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 4px 0 6px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:auto;margin-right:18px}
.wrap-vSb6C0Bj{bottom:0;cursor:default;pointer-events:all;position:absolute;right:0;top:0;width:8px;will-change:height}.wrap--horizontal-vSb6C0Bj{height:8px;left:0;right:0;top:auto;will-change:width}.bar-vSb6C0Bj{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0;width:100%;will-change:height,transform}.bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#d1d4dc;border-radius:2px;height:calc(100% - 4px);width:4px}html.theme-dark .bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#50535e}.bar-vSb6C0Bj .barInner--horizontal-vSb6C0Bj{height:4px;width:calc(100% - 4px)}.bar--horizontal-vSb6C0Bj{height:100%;left:0;top:0;width:auto;will-change:width,transform}.scrollWrap-FaOvTD2r{pointer-events:none;position:absolute;will-change:visibility}.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-right:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#6a6d78;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#868993}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-left:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 4px 0 6px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:auto;margin-right:18px}

View File

@@ -1 +1 @@
.wrap-vSb6C0Bj{bottom:0;cursor:default;left:0;pointer-events:all;position:absolute;top:0;width:8px;will-change:height}.wrap--horizontal-vSb6C0Bj{height:8px;left:0;right:0;top:auto;will-change:width}.bar-vSb6C0Bj{align-items:center;display:flex;justify-content:center;position:absolute;right:0;top:0;width:100%;will-change:height,transform}.bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#d1d4dc;border-radius:2px;height:calc(100% - 4px);width:4px}html.theme-dark .bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#50535e}.bar-vSb6C0Bj .barInner--horizontal-vSb6C0Bj{height:4px;width:calc(100% - 4px)}.bar--horizontal-vSb6C0Bj{height:100%;right:0;top:0;width:auto;will-change:width,transform}.scrollWrap-FaOvTD2r{pointer-events:none;position:absolute;will-change:visibility}.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-left:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#787b86;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-right:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 6px 0 4px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:18px;margin-right:auto}
.wrap-vSb6C0Bj{bottom:0;cursor:default;left:0;pointer-events:all;position:absolute;top:0;width:8px;will-change:height}.wrap--horizontal-vSb6C0Bj{height:8px;left:0;right:0;top:auto;will-change:width}.bar-vSb6C0Bj{align-items:center;display:flex;justify-content:center;position:absolute;right:0;top:0;width:100%;will-change:height,transform}.bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#d1d4dc;border-radius:2px;height:calc(100% - 4px);width:4px}html.theme-dark .bar-vSb6C0Bj .barInner-vSb6C0Bj{background-color:#50535e}.bar-vSb6C0Bj .barInner--horizontal-vSb6C0Bj{height:4px;width:calc(100% - 4px)}.bar--horizontal-vSb6C0Bj{height:100%;right:0;top:0;width:auto;will-change:width,transform}.scrollWrap-FaOvTD2r{pointer-events:none;position:absolute;will-change:visibility}.itemRow-BadjY5sX{align-items:center;cursor:default;display:flex;height:52px}@media (any-hover:hover){.itemRow-BadjY5sX:hover{background-color:#f0f3fa}html.theme-dark .itemRow-BadjY5sX:hover{background-color:#2a2e39}.itemRow-BadjY5sX:hover .favoriteButton-BadjY5sX{opacity:1}}.itemRow-BadjY5sX.active-BadjY5sX,html.theme-dark .itemRow-BadjY5sX.active-BadjY5sX{background-color:#2962ff}.itemRow-BadjY5sX.selected-BadjY5sX{background-color:#bbd9fb}html.theme-dark .itemRow-BadjY5sX.selected-BadjY5sX{background-color:#142e61}.itemRow-BadjY5sX.mobile-BadjY5sX{height:55px}.itemRow-BadjY5sX .itemInfo-BadjY5sX{display:flex;flex-direction:column;overflow:hidden;padding-left:20px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#131722;font-size:14px;line-height:21px;margin-bottom:4px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .title-BadjY5sX.mobile-BadjY5sX{font-size:16px;line-height:24px;margin:4px 0 2px}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#6a6d78;font-size:12px;line-height:17px;overflow:hidden;white-space:nowrap}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX{color:#868993}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#fff}html.theme-dark .itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.active-BadjY5sX{color:#d1d4dc}.itemRow-BadjY5sX .itemInfo-BadjY5sX .details-BadjY5sX.mobile-BadjY5sX{margin-bottom:8px}.itemRow-BadjY5sX .itemInfoWithPadding-BadjY5sX{padding-right:20px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX{margin:0 6px 0 4px}.itemRow-BadjY5sX .favoriteButton-BadjY5sX.favorite-BadjY5sX,.itemRow-BadjY5sX .favoriteButton-BadjY5sX.mobile-BadjY5sX{opacity:1}.itemRow-BadjY5sX .removeButton-BadjY5sX{margin-left:18px;margin-right:auto}

View File

@@ -1 +0,0 @@
.item-zwyEh4hn{align-items:flex-start;font-size:16px;padding-right:20px;white-space:normal}.label-zwyEh4hn{line-height:24px;overflow:visible}.labelRow-zwyEh4hn{margin-bottom:2px;margin-top:2px}.toolbox-zwyEh4hn{margin-top:3px}

View File

@@ -1 +0,0 @@
.item-zwyEh4hn{align-items:flex-start;font-size:16px;padding-left:20px;white-space:normal}.label-zwyEh4hn{line-height:24px;overflow:visible}.labelRow-zwyEh4hn{margin-bottom:2px;margin-top:2px}.toolbox-zwyEh4hn{margin-top:3px}

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,11 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5007],{59142:function(o,e){var l,i,n;i=[e],l=function(o){"use strict";function e(o){if(Array.isArray(o)){for(var e=0,l=Array(o.length);e<o.length;e++)l[e]=o[e];return l}return Array.from(o)}Object.defineProperty(o,"__esModule",{value:!0});var l=!1;if("undefined"!=typeof window){var i={get passive(){l=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var n="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],t=!1,s=-1,c=void 0,r=void 0,d=function(o){return a.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(o))}))},T=function(o){var e=o||window.event;return!!d(e.target)||1<e.touches.length||(e.preventDefault&&e.preventDefault(),!1)},L=function(){setTimeout((function(){void 0!==r&&(document.body.style.paddingRight=r,r=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};o.disableBodyScroll=function(o,i){if(n){if(!o)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(o&&!a.some((function(e){return e.targetElement===o}))){var L={targetElement:o,options:i||{}};a=[].concat(e(a),[L]),o.ontouchstart=function(o){1===o.targetTouches.length&&(s=o.targetTouches[0].clientY)},o.ontouchmove=function(e){var l,i,n,a;1===e.targetTouches.length&&(i=o,a=(l=e).targetTouches[0].clientY-s,!d(l.target)&&(i&&0===i.scrollTop&&0<a||(n=i)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&a<0?T(l):l.stopPropagation()))},t||(document.addEventListener("touchmove",T,l?{passive:!1}:void 0),t=!0)}}else{m=i,setTimeout((function(){if(void 0===r){var o=!!m&&!0===m.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth;o&&0<e&&(r=document.body.style.paddingRight,document.body.style.paddingRight=e+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var h={targetElement:o,options:i||{}};a=[].concat(e(a),[h])}var m},o.clearAllBodyScrollLocks=function(){n?(a.forEach((function(o){o.targetElement.ontouchstart=null,o.targetElement.ontouchmove=null})),t&&(document.removeEventListener("touchmove",T,l?{passive:!1}:void 0),t=!1),a=[],s=-1):(L(),a=[])},o.enableBodyScroll=function(o){if(n){if(!o)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");o.ontouchstart=null,o.ontouchmove=null,a=a.filter((function(e){return e.targetElement!==o})),t&&0===a.length&&(document.removeEventListener("touchmove",T,l?{passive:!1}:void 0),t=!1)}else 1===a.length&&a[0].targetElement===o?(L(),a=[]):a=a.filter((function(e){return e.targetElement!==o}))}},void 0===(n="function"==typeof l?l.apply(e,i):l)||(o.exports=n)},88803:o=>{o.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 430px)"}},14877:o=>{
o.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},24437:(o,e,l)=>{"use strict";l.d(e,{DialogBreakpoints:()=>n});var i=l(88803);const n={SmallHeight:i["small-height-breakpoint"],TabletSmall:i["tablet-small-breakpoint"],TabletNormal:i["tablet-normal-breakpoint"]}},36189:(o,e,l)=>{"use strict";l.d(e,{FavoriteButton:()=>T});var i=l(44352),n=l(50959),a=l(97754),t=l(9745),s=l(39146),c=l(48010),r=l(14877);const d={add:i.t(null,void 0,l(44629)),remove:i.t(null,void 0,l(72482))};function T(o){const{className:e,isFilled:l,isActive:i,onClick:T,...L}=o;return n.createElement(t.Icon,{...L,className:a(r.favorite,"apply-common-tooltip",l&&r.checked,i&&r.active,e),icon:l?s:c,onClick:T,title:l?d.remove:d.add})}},40173:(o,e,l)=>{"use strict";function i(o,e,l={}){return Object.assign({},o,function(o,e,l={}){const i=Object.assign({},e);for(const n of Object.keys(e)){const a=l[n]||n;a in o&&(i[n]=[o[a],e[n]].join(" "))}return i}(o,e,l))}l.d(e,{mergeThemes:()=>i})},54784:o=>{o.exports={button:"button-KTgbfaP5",hover:"hover-KTgbfaP5",bg:"bg-KTgbfaP5",icon:"icon-KTgbfaP5",isActive:"isActive-KTgbfaP5",isTransparent:"isTransparent-KTgbfaP5",isGrayed:"isGrayed-KTgbfaP5",isHidden:"isHidden-KTgbfaP5",accessible:"accessible-KTgbfaP5"}},66427:(o,e,l)=>{"use strict";l.d(e,{ToolButton:()=>s});var i=l(50959),n=l(97754),a=l(9745),t=l(54784);const s=(0,i.forwardRef)(((o,e)=>{const{id:l,activeClass:s,children:c,className:r,icon:d,isActive:T,isGrayed:L,isHidden:h,isTransparent:m,theme:v=t,onClick:z,onKeyDown:g,title:w,buttonHotKey:u,tooltipPosition:f="vertical",tag:N="div",tabIndex:p,...I}=o,A="button"===o.tag;return i.createElement(N,{...I,id:l,type:A?"button":void 0,className:n(v.button,r,T&&s,{"apply-common-tooltip":Boolean(w),"common-tooltip-vertical":Boolean(w)&&"vertical"===f,[v.isActive]:T,[v.isGrayed]:L,[v.isHidden]:h,[v.isTransparent]:m},A&&v.accessible),onClick:z,onKeyDown:g,title:w,"data-role":A?void 0:"button",ref:e,tabIndex:p,"data-tooltip-hotkey":u,"aria-pressed":A?T:void 0,"aria-label":A?w:void 0,"data-tooltip":w},i.createElement("div",{className:v.bg},d&&("string"==typeof d?i.createElement(a.Icon,{className:v.icon,icon:d}):i.createElement("span",{className:v.icon},d)),c))}))},87872:(o,e,l)=>{"use strict";l.d(e,{drawingToolsIcons:()=>i});const i={SyncDrawing:l(99088),arrow:l(63743),cursor:l(18953),dot:l(72196),drawginmode:l(53950),drawginmodeActive:l(1532),eraser:l(27999),group:l(19799),hideAllDrawings:l(45820),hideAllDrawingsActive:l(84959),hideAllIndicators:l(42321),hideAllIndicatorsActive:l(75895),hideAllDrawingTools:l(93756),hideAllDrawingToolsActive:l(42650),hideAllPositionsTools:l(57313),hideAllPositionsToolsActive:l(65162),lockAllDrawings:l(91244),lockAllDrawingsActive:l(65186),magnet:l(68385),heart:l(10862),smile:l(7636),sticker:l(62567),strongMagnet:l(46049),measure:l(88518),removeAllDrawingTools:l(35149),showObjectTree:l(36515),zoom:l(6894),"zoom-out":l(45360)}},54819:(o,e,l)=>{"use strict";l.d(e,{lineToolsInfo:()=>v})
;var i=l(44352),n=l(61814),a=(l(42053),l(57673)),t=l(87872),s=l(59656),c=l(68335);const r=(0,c.humanReadableModifiers)(c.Modifiers.Shift,!1),d=(0,c.humanReadableModifiers)(c.Modifiers.Alt,!1),T=(0,c.humanReadableModifiers)(c.Modifiers.Mod,!1),L={keys:[r],text:i.t(null,void 0,l(40234))},h={keys:[r],text:i.t(null,void 0,l(68125))},m={keys:[r],text:i.t(null,void 0,l(81591))},v={LineTool5PointsPattern:{icon:a.lineToolsIcons.LineTool5PointsPattern,localizedName:s.lineToolsLocalizedNames.LineTool5PointsPattern},LineToolABCD:{icon:a.lineToolsIcons.LineToolABCD,localizedName:s.lineToolsLocalizedNames.LineToolABCD},LineToolArc:{icon:a.lineToolsIcons.LineToolArc,localizedName:s.lineToolsLocalizedNames.LineToolArc},LineToolArrow:{icon:a.lineToolsIcons.LineToolArrow,localizedName:s.lineToolsLocalizedNames.LineToolArrow},LineToolArrowMarkDown:{icon:a.lineToolsIcons.LineToolArrowMarkDown,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkDown},LineToolArrowMarkLeft:{icon:a.lineToolsIcons.LineToolArrowMarkLeft,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkLeft},LineToolArrowMarkRight:{icon:a.lineToolsIcons.LineToolArrowMarkRight,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkRight},LineToolArrowMarkUp:{icon:a.lineToolsIcons.LineToolArrowMarkUp,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkUp},LineToolBalloon:{icon:a.lineToolsIcons.LineToolBalloon,localizedName:s.lineToolsLocalizedNames.LineToolBalloon},LineToolComment:{icon:a.lineToolsIcons.LineToolComment,localizedName:s.lineToolsLocalizedNames.LineToolComment},LineToolBarsPattern:{icon:a.lineToolsIcons.LineToolBarsPattern,localizedName:s.lineToolsLocalizedNames.LineToolBarsPattern},LineToolBezierCubic:{icon:a.lineToolsIcons.LineToolBezierCubic,localizedName:s.lineToolsLocalizedNames.LineToolBezierCubic},LineToolBezierQuadro:{icon:a.lineToolsIcons.LineToolBezierQuadro,localizedName:s.lineToolsLocalizedNames.LineToolBezierQuadro},LineToolBrush:{icon:a.lineToolsIcons.LineToolBrush,localizedName:s.lineToolsLocalizedNames.LineToolBrush},LineToolCallout:{icon:a.lineToolsIcons.LineToolCallout,localizedName:s.lineToolsLocalizedNames.LineToolCallout},LineToolCircleLines:{icon:a.lineToolsIcons.LineToolCircleLines,localizedName:s.lineToolsLocalizedNames.LineToolCircleLines},LineToolCypherPattern:{icon:a.lineToolsIcons.LineToolCypherPattern,localizedName:s.lineToolsLocalizedNames.LineToolCypherPattern},LineToolDateAndPriceRange:{icon:a.lineToolsIcons.LineToolDateAndPriceRange,localizedName:s.lineToolsLocalizedNames.LineToolDateAndPriceRange},LineToolDateRange:{icon:a.lineToolsIcons.LineToolDateRange,localizedName:s.lineToolsLocalizedNames.LineToolDateRange},LineToolDisjointAngle:{icon:a.lineToolsIcons.LineToolDisjointAngle,localizedName:s.lineToolsLocalizedNames.LineToolDisjointAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolElliottCorrection:{icon:a.lineToolsIcons.LineToolElliottCorrection,localizedName:s.lineToolsLocalizedNames.LineToolElliottCorrection},LineToolElliottDoubleCombo:{icon:a.lineToolsIcons.LineToolElliottDoubleCombo,
localizedName:s.lineToolsLocalizedNames.LineToolElliottDoubleCombo},LineToolElliottImpulse:{icon:a.lineToolsIcons.LineToolElliottImpulse,localizedName:s.lineToolsLocalizedNames.LineToolElliottImpulse},LineToolElliottTriangle:{icon:a.lineToolsIcons.LineToolElliottTriangle,localizedName:s.lineToolsLocalizedNames.LineToolElliottTriangle},LineToolElliottTripleCombo:{icon:a.lineToolsIcons.LineToolElliottTripleCombo,localizedName:s.lineToolsLocalizedNames.LineToolElliottTripleCombo},LineToolEllipse:{icon:a.lineToolsIcons.LineToolEllipse,localizedName:s.lineToolsLocalizedNames.LineToolEllipse,hotKey:(0,n.hotKeySerialize)(h)},LineToolExtended:{icon:a.lineToolsIcons.LineToolExtended,localizedName:s.lineToolsLocalizedNames.LineToolExtended},LineToolFibChannel:{icon:a.lineToolsIcons.LineToolFibChannel,localizedName:s.lineToolsLocalizedNames.LineToolFibChannel},LineToolFibCircles:{icon:a.lineToolsIcons.LineToolFibCircles,localizedName:s.lineToolsLocalizedNames.LineToolFibCircles,hotKey:(0,n.hotKeySerialize)(h)},LineToolFibRetracement:{icon:a.lineToolsIcons.LineToolFibRetracement,localizedName:s.lineToolsLocalizedNames.LineToolFibRetracement},LineToolFibSpeedResistanceArcs:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceArcs,localizedName:s.lineToolsLocalizedNames.LineToolFibSpeedResistanceArcs},LineToolFibSpeedResistanceFan:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:s.lineToolsLocalizedNames.LineToolFibSpeedResistanceFan,hotKey:(0,n.hotKeySerialize)(m)},LineToolFibSpiral:{icon:a.lineToolsIcons.LineToolFibSpiral,localizedName:s.lineToolsLocalizedNames.LineToolFibSpiral},LineToolFibTimeZone:{icon:a.lineToolsIcons.LineToolFibTimeZone,localizedName:s.lineToolsLocalizedNames.LineToolFibTimeZone},LineToolFibWedge:{icon:a.lineToolsIcons.LineToolFibWedge,localizedName:s.lineToolsLocalizedNames.LineToolFibWedge},LineToolFlagMark:{icon:a.lineToolsIcons.LineToolFlagMark,localizedName:s.lineToolsLocalizedNames.LineToolFlagMark},LineToolImage:{icon:a.lineToolsIcons.LineToolImage,localizedName:s.lineToolsLocalizedNames.LineToolImage},LineToolFlatBottom:{icon:a.lineToolsIcons.LineToolFlatBottom,localizedName:s.lineToolsLocalizedNames.LineToolFlatBottom,hotKey:(0,n.hotKeySerialize)(L)},LineToolAnchoredVWAP:{icon:a.lineToolsIcons.LineToolAnchoredVWAP,localizedName:s.lineToolsLocalizedNames.LineToolAnchoredVWAP},LineToolGannComplex:{icon:a.lineToolsIcons.LineToolGannComplex,localizedName:s.lineToolsLocalizedNames.LineToolGannComplex},LineToolGannFixed:{icon:a.lineToolsIcons.LineToolGannFixed,localizedName:s.lineToolsLocalizedNames.LineToolGannFixed},LineToolGannFan:{icon:a.lineToolsIcons.LineToolGannFan,localizedName:s.lineToolsLocalizedNames.LineToolGannFan},LineToolGannSquare:{icon:a.lineToolsIcons.LineToolGannSquare,localizedName:s.lineToolsLocalizedNames.LineToolGannSquare,hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(10289))})},LineToolHeadAndShoulders:{icon:a.lineToolsIcons.LineToolHeadAndShoulders,localizedName:s.lineToolsLocalizedNames.LineToolHeadAndShoulders},LineToolHorzLine:{
icon:a.lineToolsIcons.LineToolHorzLine,localizedName:s.lineToolsLocalizedNames.LineToolHorzLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:a.lineToolsIcons.LineToolHorzRay,localizedName:s.lineToolsLocalizedNames.LineToolHorzRay},LineToolIcon:{icon:a.lineToolsIcons.LineToolIcon,localizedName:s.lineToolsLocalizedNames.LineToolIcon},LineToolEmoji:{icon:a.lineToolsIcons.LineToolEmoji,localizedName:s.lineToolsLocalizedNames.LineToolEmoji},LineToolInsidePitchfork:{icon:a.lineToolsIcons.LineToolInsidePitchfork,localizedName:s.lineToolsLocalizedNames.LineToolInsidePitchfork},LineToolNote:{icon:a.lineToolsIcons.LineToolNote,localizedName:s.lineToolsLocalizedNames.LineToolNote},LineToolNoteAbsolute:{icon:a.lineToolsIcons.LineToolNoteAbsolute,localizedName:s.lineToolsLocalizedNames.LineToolNoteAbsolute},LineToolSignpost:{icon:a.lineToolsIcons.LineToolSignpost,localizedName:s.lineToolsLocalizedNames.LineToolSignpost},LineToolParallelChannel:{icon:a.lineToolsIcons.LineToolParallelChannel,localizedName:s.lineToolsLocalizedNames.LineToolParallelChannel,hotKey:(0,n.hotKeySerialize)(L)},LineToolPitchfan:{icon:a.lineToolsIcons.LineToolPitchfan,localizedName:s.lineToolsLocalizedNames.LineToolPitchfan},LineToolPitchfork:{icon:a.lineToolsIcons.LineToolPitchfork,localizedName:s.lineToolsLocalizedNames.LineToolPitchfork},LineToolPolyline:{icon:a.lineToolsIcons.LineToolPolyline,localizedName:s.lineToolsLocalizedNames.LineToolPolyline},LineToolPath:{icon:a.lineToolsIcons.LineToolPath,localizedName:s.lineToolsLocalizedNames.LineToolPath},LineToolPrediction:{icon:a.lineToolsIcons.LineToolPrediction,localizedName:s.lineToolsLocalizedNames.LineToolPrediction},LineToolPriceLabel:{icon:a.lineToolsIcons.LineToolPriceLabel,localizedName:s.lineToolsLocalizedNames.LineToolPriceLabel},LineToolPriceNote:{icon:a.lineToolsIcons.LineToolPriceNote,localizedName:s.lineToolsLocalizedNames.LineToolPriceNote,hotKey:(0,n.hotKeySerialize)(L)},LineToolArrowMarker:{icon:a.lineToolsIcons.LineToolArrowMarker,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarker},LineToolPriceRange:{icon:a.lineToolsIcons.LineToolPriceRange,localizedName:s.lineToolsLocalizedNames.LineToolPriceRange},LineToolProjection:{icon:a.lineToolsIcons.LineToolProjection,localizedName:s.lineToolsLocalizedNames.LineToolProjection},LineToolRay:{icon:a.lineToolsIcons.LineToolRay,localizedName:s.lineToolsLocalizedNames.LineToolRay},LineToolRectangle:{icon:a.lineToolsIcons.LineToolRectangle,localizedName:s.lineToolsLocalizedNames.LineToolRectangle,hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(81591))})},LineToolCircle:{icon:a.lineToolsIcons.LineToolCircle,localizedName:s.lineToolsLocalizedNames.LineToolCircle},LineToolRegressionTrend:{icon:a.lineToolsIcons.LineToolRegressionTrend,localizedName:s.lineToolsLocalizedNames.LineToolRegressionTrend},LineToolRiskRewardLong:{icon:a.lineToolsIcons.LineToolRiskRewardLong,localizedName:s.lineToolsLocalizedNames.LineToolRiskRewardLong},LineToolRiskRewardShort:{
icon:a.lineToolsIcons.LineToolRiskRewardShort,localizedName:s.lineToolsLocalizedNames.LineToolRiskRewardShort},LineToolFixedRangeVolumeProfile:{icon:a.lineToolsIcons.LineToolFixedRangeVolumeProfile,localizedName:s.lineToolsLocalizedNames.LineToolFixedRangeVolumeProfile},LineToolRotatedRectangle:{icon:a.lineToolsIcons.LineToolRotatedRectangle,localizedName:s.lineToolsLocalizedNames.LineToolRotatedRectangle,hotKey:(0,n.hotKeySerialize)(L)},LineToolSchiffPitchfork:{icon:a.lineToolsIcons.LineToolSchiffPitchfork,localizedName:s.lineToolsLocalizedNames.LineToolSchiffPitchfork},LineToolSchiffPitchfork2:{icon:a.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:s.lineToolsLocalizedNames.LineToolSchiffPitchfork2},LineToolSineLine:{icon:a.lineToolsIcons.LineToolSineLine,localizedName:s.lineToolsLocalizedNames.LineToolSineLine},LineToolText:{icon:a.lineToolsIcons.LineToolText,localizedName:s.lineToolsLocalizedNames.LineToolText},LineToolTextAbsolute:{icon:a.lineToolsIcons.LineToolTextAbsolute,localizedName:s.lineToolsLocalizedNames.LineToolTextAbsolute},LineToolThreeDrivers:{icon:a.lineToolsIcons.LineToolThreeDrivers,localizedName:s.lineToolsLocalizedNames.LineToolThreeDrivers},LineToolTimeCycles:{icon:a.lineToolsIcons.LineToolTimeCycles,localizedName:s.lineToolsLocalizedNames.LineToolTimeCycles},LineToolTrendAngle:{icon:a.lineToolsIcons.LineToolTrendAngle,localizedName:s.lineToolsLocalizedNames.LineToolTrendAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolTrendBasedFibExtension:{icon:a.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:s.lineToolsLocalizedNames.LineToolTrendBasedFibExtension},LineToolTrendBasedFibTime:{icon:a.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:s.lineToolsLocalizedNames.LineToolTrendBasedFibTime},LineToolTrendLine:{icon:a.lineToolsIcons.LineToolTrendLine,localizedName:s.lineToolsLocalizedNames.LineToolTrendLine,hotKey:(0,n.hotKeySerialize)(L)},LineToolInfoLine:{icon:a.lineToolsIcons.LineToolInfoLine,localizedName:s.lineToolsLocalizedNames.LineToolInfoLine},LineToolTriangle:{icon:a.lineToolsIcons.LineToolTriangle,localizedName:s.lineToolsLocalizedNames.LineToolTriangle},LineToolTrianglePattern:{icon:a.lineToolsIcons.LineToolTrianglePattern,localizedName:s.lineToolsLocalizedNames.LineToolTrianglePattern},LineToolVertLine:{icon:a.lineToolsIcons.LineToolVertLine,localizedName:s.lineToolsLocalizedNames.LineToolVertLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:a.lineToolsIcons.LineToolCrossLine,localizedName:s.lineToolsLocalizedNames.LineToolCrossLine},LineToolHighlighter:{icon:a.lineToolsIcons.LineToolHighlighter,localizedName:s.lineToolsLocalizedNames.LineToolHighlighter},SyncDrawing:{icon:t.drawingToolsIcons.SyncDrawing,iconActive:t.drawingToolsIcons.SyncDrawingActive,localizedName:i.t(null,void 0,l(36551))},arrow:{icon:t.drawingToolsIcons.arrow,localizedName:i.t(null,void 0,l(96237))},cursor:{icon:t.drawingToolsIcons.cursor,localizedName:i.t(null,void 0,l(29908))},dot:{icon:t.drawingToolsIcons.dot,localizedName:i.t(null,void 0,l(60925))},
drawginmode:{icon:t.drawingToolsIcons.drawginmode,iconActive:t.drawingToolsIcons.drawginmodeActive,localizedName:i.t(null,void 0,l(49421))},eraser:{icon:t.drawingToolsIcons.eraser,localizedName:i.t(null,void 0,l(99289))},group:{icon:t.drawingToolsIcons.group,localizedName:i.t(null,void 0,l(91977))},hideAllDrawings:{icon:t.drawingToolsIcons.hideAllDrawings,iconActive:t.drawingToolsIcons.hideAllDrawingsActive,localizedName:i.t(null,void 0,l(17517)),hotKey:(0,n.hotKeySerialize)({keys:[T,d,"H"],text:"{0} + {1} + {2}"})},lockAllDrawings:{icon:t.drawingToolsIcons.lockAllDrawings,iconActive:t.drawingToolsIcons.lockAllDrawingsActive,localizedName:i.t(null,void 0,l(37057))},magnet:{icon:t.drawingToolsIcons.magnet,localizedName:i.t(null,void 0,l(37140)),hotKey:(0,n.hotKeySerialize)({keys:[T],text:"{0}"})},measure:{icon:t.drawingToolsIcons.measure,localizedName:i.t(null,void 0,l(59607)),hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(32868))})},removeAllDrawingTools:{icon:t.drawingToolsIcons.removeAllDrawingTools,localizedName:i.t(null,void 0,l(76091))},showObjectsTree:{icon:t.drawingToolsIcons.showObjectTree,localizedName:i.t(null,void 0,l(51072))},zoom:{icon:t.drawingToolsIcons.zoom,localizedName:i.t(null,void 0,l(38925))},"zoom-out":{icon:t.drawingToolsIcons["zoom-out"],localizedName:i.t(null,void 0,l(49895))}};v.LineToolGhostFeed={icon:a.lineToolsIcons.LineToolGhostFeed,localizedName:s.lineToolsLocalizedNames.LineToolGhostFeed}},71810:(o,e,l)=>{"use strict";l.d(e,{LinetoolsFavoritesStore:()=>c});var i=l(57898),n=l.n(i),a=l(56840);const t=["LineToolBalloon"];var s,c;!function(o){function e(){var e,n;o.favorites=[];let s=!1;const c=Boolean(void 0===(0,a.getValue)("chart.favoriteDrawings")),r=(0,a.getJSON)("chart.favoriteDrawings",[]);if(0===r.length&&c&&"undefined"!=typeof window){const o=JSON.parse(null!==(n=null===(e=window.urlParams)||void 0===e?void 0:e.favorites)&&void 0!==n?n:"{}").drawingTools;o&&Array.isArray(o)&&r.push(...o)}r.forEach(((e,i)=>{const n=e.tool||e;l(n)?t.includes(n)?s=!0:o.favorites.push(n):"LineToolTweet"===n&&(o.tweetToolPosition=i)})),s&&i(),o.favoritesSynced.fire()}function l(o){return"string"==typeof o&&""!==o&&!0}function i(e){const l=o.favorites.slice();null!==o.tweetToolPosition&&l.splice(o.tweetToolPosition,0,"LineToolTweet"),(0,a.setJSON)("chart.favoriteDrawings",l,e)}o.favorites=[],o.favoritesSynced=new(n()),o.tweetToolPosition=null,o.favoriteIndex=function(e){return o.favorites.indexOf(e)},o.isValidLineToolName=l,o.saveFavorites=i,e(),a.onSync.subscribe(null,e)}(s||(s={})),function(o){function e(o){return s.isValidLineToolName(o)}function l(){return s.favorites.length}function i(o){return-1!==s.favoriteIndex(o)}o.favoriteAdded=new(n()),o.favoriteRemoved=new(n()),o.favoriteMoved=new(n()),o.favoritesSynced=s.favoritesSynced,o.favorites=function(){return s.favorites.slice()},o.isValidLineToolName=e,o.favoritesCount=l,o.favorite=function(o){return o<0||o>=l()?"":s.favorites[o]},o.addFavorite=function(l,n){return!(i(l)||!e(l))&&(s.favorites.push(l),s.saveFavorites(n),
o.favoriteAdded.fire(l),!0)},o.removeFavorite=function(e,l){const i=s.favoriteIndex(e);if(-1===i)return!1;s.favorites.splice(i,1);const n=s.tweetToolPosition;return null!==n&&n>i&&(s.tweetToolPosition=n-1),s.saveFavorites(l),o.favoriteRemoved.fire(e),!0},o.isFavorite=i,o.moveFavorite=function(i,n,a){if(n<0||n>=l()||!e(i))return!1;const t=s.favoriteIndex(i);if(-1===t||n===t)return!1;let c=s.tweetToolPosition;return null!==c&&(t<c&&n>c?c--:n<c&&t>c&&c++,s.tweetToolPosition=c),s.favorites.splice(t,1),s.favorites.splice(n,0,i),s.saveFavorites(a),o.favoriteMoved.fire(i,t,n),!0}}(c||(c={}))},19799:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30" height="30"><path fill="currentColor" d="M5.5 13A2.5 2.5 0 0 0 3 15.5 2.5 2.5 0 0 0 5.5 18 2.5 2.5 0 0 0 8 15.5 2.5 2.5 0 0 0 5.5 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5A2.5 2.5 0 0 0 15 18a2.5 2.5 0 0 0 2.5-2.5A2.5 2.5 0 0 0 15 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5 2.5 2.5 0 0 0 2.5 2.5 2.5 2.5 0 0 0 2.5-2.5 2.5 2.5 0 0 0-2.5-2.5z"/></svg>'},63743:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M11.682 16.09l3.504 6.068 1.732-1-3.497-6.057 3.595-2.1L8 7.74v10.512l3.682-2.163zm-.362 1.372L7 20V6l12 7-4.216 2.462 3.5 6.062-3.464 2-3.5-6.062z"/></svg>'},18953:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path d="M18 15h8v-1h-8z"/><path d="M14 18v8h1v-8zM14 3v8h1v-8zM3 15h8v-1h-8z"/></g></svg>'},72196:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><circle fill="currentColor" cx="14" cy="14" r="3"/></svg>'},1532:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 17.5v-2a2.5 2.5 0 0 0-5 0v2h1v-2a1.5 1.5 0 0 1 3 0v2h1z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},53950:o=>{
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2020],{59142:function(o,e){var l,i,n;i=[e],l=function(o){"use strict";function e(o){if(Array.isArray(o)){for(var e=0,l=Array(o.length);e<o.length;e++)l[e]=o[e];return l}return Array.from(o)}Object.defineProperty(o,"__esModule",{value:!0});var l=!1;if("undefined"!=typeof window){var i={get passive(){l=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var n="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],t=!1,s=-1,c=void 0,r=void 0,d=function(o){return a.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(o))}))},T=function(o){var e=o||window.event;return!!d(e.target)||1<e.touches.length||(e.preventDefault&&e.preventDefault(),!1)},L=function(){setTimeout((function(){void 0!==r&&(document.body.style.paddingRight=r,r=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};o.disableBodyScroll=function(o,i){if(n){if(!o)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(o&&!a.some((function(e){return e.targetElement===o}))){var L={targetElement:o,options:i||{}};a=[].concat(e(a),[L]),o.ontouchstart=function(o){1===o.targetTouches.length&&(s=o.targetTouches[0].clientY)},o.ontouchmove=function(e){var l,i,n,a;1===e.targetTouches.length&&(i=o,a=(l=e).targetTouches[0].clientY-s,!d(l.target)&&(i&&0===i.scrollTop&&0<a||(n=i)&&n.scrollHeight-n.scrollTop<=n.clientHeight&&a<0?T(l):l.stopPropagation()))},t||(document.addEventListener("touchmove",T,l?{passive:!1}:void 0),t=!0)}}else{m=i,setTimeout((function(){if(void 0===r){var o=!!m&&!0===m.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth;o&&0<e&&(r=document.body.style.paddingRight,document.body.style.paddingRight=e+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var h={targetElement:o,options:i||{}};a=[].concat(e(a),[h])}var m},o.clearAllBodyScrollLocks=function(){n?(a.forEach((function(o){o.targetElement.ontouchstart=null,o.targetElement.ontouchmove=null})),t&&(document.removeEventListener("touchmove",T,l?{passive:!1}:void 0),t=!1),a=[],s=-1):(L(),a=[])},o.enableBodyScroll=function(o){if(n){if(!o)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");o.ontouchstart=null,o.ontouchmove=null,a=a.filter((function(e){return e.targetElement!==o})),t&&0===a.length&&(document.removeEventListener("touchmove",T,l?{passive:!1}:void 0),t=!1)}else 1===a.length&&a[0].targetElement===o?(L(),a=[]):a=a.filter((function(e){return e.targetElement!==o}))}},void 0===(n="function"==typeof l?l.apply(e,i):l)||(o.exports=n)},88803:o=>{o.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 430px)"}},14877:o=>{
o.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},24437:(o,e,l)=>{"use strict";l.d(e,{DialogBreakpoints:()=>n});var i=l(88803);const n={SmallHeight:i["small-height-breakpoint"],TabletSmall:i["tablet-small-breakpoint"],TabletNormal:i["tablet-normal-breakpoint"]}},36189:(o,e,l)=>{"use strict";l.d(e,{FavoriteButton:()=>T});var i=l(44352),n=l(50959),a=l(97754),t=l(9745),s=l(39146),c=l(48010),r=l(14877);const d={add:i.t(null,void 0,l(44629)),remove:i.t(null,void 0,l(72482))};function T(o){const{className:e,isFilled:l,isActive:i,onClick:T,...L}=o;return n.createElement(t.Icon,{...L,className:a(r.favorite,"apply-common-tooltip",l&&r.checked,i&&r.active,e),icon:l?s:c,onClick:T,title:l?d.remove:d.add})}},54784:o=>{o.exports={button:"button-KTgbfaP5",hover:"hover-KTgbfaP5",bg:"bg-KTgbfaP5",icon:"icon-KTgbfaP5",isActive:"isActive-KTgbfaP5",isTransparent:"isTransparent-KTgbfaP5",isGrayed:"isGrayed-KTgbfaP5",isHidden:"isHidden-KTgbfaP5",accessible:"accessible-KTgbfaP5"}},66427:(o,e,l)=>{"use strict";l.d(e,{ToolButton:()=>s});var i=l(50959),n=l(97754),a=l(9745),t=l(54784);const s=(0,i.forwardRef)(((o,e)=>{const{id:l,activeClass:s,children:c,className:r,icon:d,isActive:T,isGrayed:L,isHidden:h,isTransparent:m,theme:v=t,onClick:z,onKeyDown:g,title:w,buttonHotKey:u,tooltipPosition:f="vertical",tag:N="div",tabIndex:p,...I}=o,A="button"===o.tag;return i.createElement(N,{...I,id:l,type:A?"button":void 0,className:n(v.button,r,T&&s,{"apply-common-tooltip":Boolean(w),"common-tooltip-vertical":Boolean(w)&&"vertical"===f,[v.isActive]:T,[v.isGrayed]:L,[v.isHidden]:h,[v.isTransparent]:m},A&&v.accessible),onClick:z,onKeyDown:g,title:w,"data-role":A?void 0:"button",ref:e,tabIndex:p,"data-tooltip-hotkey":u,"aria-pressed":A?T:void 0,"aria-label":A?w:void 0,"data-tooltip":w},i.createElement("div",{className:v.bg},d&&("string"==typeof d?i.createElement(a.Icon,{className:v.icon,icon:d}):i.createElement("span",{className:v.icon},d)),c))}))},87872:(o,e,l)=>{"use strict";l.d(e,{drawingToolsIcons:()=>i});const i={SyncDrawing:l(99088),arrow:l(63743),cursor:l(18953),dot:l(72196),drawginmode:l(53950),drawginmodeActive:l(1532),eraser:l(27999),group:l(19799),hideAllDrawings:l(45820),hideAllDrawingsActive:l(84959),hideAllIndicators:l(42321),hideAllIndicatorsActive:l(75895),hideAllDrawingTools:l(93756),hideAllDrawingToolsActive:l(42650),hideAllPositionsTools:l(57313),hideAllPositionsToolsActive:l(65162),lockAllDrawings:l(91244),lockAllDrawingsActive:l(65186),magnet:l(68385),heart:l(10862),smile:l(7636),sticker:l(62567),strongMagnet:l(46049),measure:l(88518),removeAllDrawingTools:l(35149),showObjectTree:l(36515),zoom:l(6894),"zoom-out":l(45360)}},54819:(o,e,l)=>{"use strict";l.d(e,{lineToolsInfo:()=>v});var i=l(44352),n=l(61814),a=(l(42053),l(57673)),t=l(87872),s=l(59656),c=l(68335);const r=(0,c.humanReadableModifiers)(c.Modifiers.Shift,!1),d=(0,c.humanReadableModifiers)(c.Modifiers.Alt,!1),T=(0,c.humanReadableModifiers)(c.Modifiers.Mod,!1),L={keys:[r],
text:i.t(null,void 0,l(40234))},h={keys:[r],text:i.t(null,void 0,l(68125))},m={keys:[r],text:i.t(null,void 0,l(81591))},v={LineTool5PointsPattern:{icon:a.lineToolsIcons.LineTool5PointsPattern,localizedName:s.lineToolsLocalizedNames.LineTool5PointsPattern},LineToolABCD:{icon:a.lineToolsIcons.LineToolABCD,localizedName:s.lineToolsLocalizedNames.LineToolABCD},LineToolArc:{icon:a.lineToolsIcons.LineToolArc,localizedName:s.lineToolsLocalizedNames.LineToolArc},LineToolArrow:{icon:a.lineToolsIcons.LineToolArrow,localizedName:s.lineToolsLocalizedNames.LineToolArrow},LineToolArrowMarkDown:{icon:a.lineToolsIcons.LineToolArrowMarkDown,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkDown},LineToolArrowMarkLeft:{icon:a.lineToolsIcons.LineToolArrowMarkLeft,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkLeft},LineToolArrowMarkRight:{icon:a.lineToolsIcons.LineToolArrowMarkRight,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkRight},LineToolArrowMarkUp:{icon:a.lineToolsIcons.LineToolArrowMarkUp,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarkUp},LineToolBalloon:{icon:a.lineToolsIcons.LineToolBalloon,localizedName:s.lineToolsLocalizedNames.LineToolBalloon},LineToolComment:{icon:a.lineToolsIcons.LineToolComment,localizedName:s.lineToolsLocalizedNames.LineToolComment},LineToolBarsPattern:{icon:a.lineToolsIcons.LineToolBarsPattern,localizedName:s.lineToolsLocalizedNames.LineToolBarsPattern},LineToolBezierCubic:{icon:a.lineToolsIcons.LineToolBezierCubic,localizedName:s.lineToolsLocalizedNames.LineToolBezierCubic},LineToolBezierQuadro:{icon:a.lineToolsIcons.LineToolBezierQuadro,localizedName:s.lineToolsLocalizedNames.LineToolBezierQuadro},LineToolBrush:{icon:a.lineToolsIcons.LineToolBrush,localizedName:s.lineToolsLocalizedNames.LineToolBrush},LineToolCallout:{icon:a.lineToolsIcons.LineToolCallout,localizedName:s.lineToolsLocalizedNames.LineToolCallout},LineToolCircleLines:{icon:a.lineToolsIcons.LineToolCircleLines,localizedName:s.lineToolsLocalizedNames.LineToolCircleLines},LineToolCypherPattern:{icon:a.lineToolsIcons.LineToolCypherPattern,localizedName:s.lineToolsLocalizedNames.LineToolCypherPattern},LineToolDateAndPriceRange:{icon:a.lineToolsIcons.LineToolDateAndPriceRange,localizedName:s.lineToolsLocalizedNames.LineToolDateAndPriceRange},LineToolDateRange:{icon:a.lineToolsIcons.LineToolDateRange,localizedName:s.lineToolsLocalizedNames.LineToolDateRange},LineToolDisjointAngle:{icon:a.lineToolsIcons.LineToolDisjointAngle,localizedName:s.lineToolsLocalizedNames.LineToolDisjointAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolElliottCorrection:{icon:a.lineToolsIcons.LineToolElliottCorrection,localizedName:s.lineToolsLocalizedNames.LineToolElliottCorrection},LineToolElliottDoubleCombo:{icon:a.lineToolsIcons.LineToolElliottDoubleCombo,localizedName:s.lineToolsLocalizedNames.LineToolElliottDoubleCombo},LineToolElliottImpulse:{icon:a.lineToolsIcons.LineToolElliottImpulse,localizedName:s.lineToolsLocalizedNames.LineToolElliottImpulse},LineToolElliottTriangle:{icon:a.lineToolsIcons.LineToolElliottTriangle,
localizedName:s.lineToolsLocalizedNames.LineToolElliottTriangle},LineToolElliottTripleCombo:{icon:a.lineToolsIcons.LineToolElliottTripleCombo,localizedName:s.lineToolsLocalizedNames.LineToolElliottTripleCombo},LineToolEllipse:{icon:a.lineToolsIcons.LineToolEllipse,localizedName:s.lineToolsLocalizedNames.LineToolEllipse,hotKey:(0,n.hotKeySerialize)(h)},LineToolExtended:{icon:a.lineToolsIcons.LineToolExtended,localizedName:s.lineToolsLocalizedNames.LineToolExtended},LineToolFibChannel:{icon:a.lineToolsIcons.LineToolFibChannel,localizedName:s.lineToolsLocalizedNames.LineToolFibChannel},LineToolFibCircles:{icon:a.lineToolsIcons.LineToolFibCircles,localizedName:s.lineToolsLocalizedNames.LineToolFibCircles,hotKey:(0,n.hotKeySerialize)(h)},LineToolFibRetracement:{icon:a.lineToolsIcons.LineToolFibRetracement,localizedName:s.lineToolsLocalizedNames.LineToolFibRetracement},LineToolFibSpeedResistanceArcs:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceArcs,localizedName:s.lineToolsLocalizedNames.LineToolFibSpeedResistanceArcs},LineToolFibSpeedResistanceFan:{icon:a.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:s.lineToolsLocalizedNames.LineToolFibSpeedResistanceFan,hotKey:(0,n.hotKeySerialize)(m)},LineToolFibSpiral:{icon:a.lineToolsIcons.LineToolFibSpiral,localizedName:s.lineToolsLocalizedNames.LineToolFibSpiral},LineToolFibTimeZone:{icon:a.lineToolsIcons.LineToolFibTimeZone,localizedName:s.lineToolsLocalizedNames.LineToolFibTimeZone},LineToolFibWedge:{icon:a.lineToolsIcons.LineToolFibWedge,localizedName:s.lineToolsLocalizedNames.LineToolFibWedge},LineToolFlagMark:{icon:a.lineToolsIcons.LineToolFlagMark,localizedName:s.lineToolsLocalizedNames.LineToolFlagMark},LineToolImage:{icon:a.lineToolsIcons.LineToolImage,localizedName:s.lineToolsLocalizedNames.LineToolImage},LineToolFlatBottom:{icon:a.lineToolsIcons.LineToolFlatBottom,localizedName:s.lineToolsLocalizedNames.LineToolFlatBottom,hotKey:(0,n.hotKeySerialize)(L)},LineToolAnchoredVWAP:{icon:a.lineToolsIcons.LineToolAnchoredVWAP,localizedName:s.lineToolsLocalizedNames.LineToolAnchoredVWAP},LineToolGannComplex:{icon:a.lineToolsIcons.LineToolGannComplex,localizedName:s.lineToolsLocalizedNames.LineToolGannComplex},LineToolGannFixed:{icon:a.lineToolsIcons.LineToolGannFixed,localizedName:s.lineToolsLocalizedNames.LineToolGannFixed},LineToolGannFan:{icon:a.lineToolsIcons.LineToolGannFan,localizedName:s.lineToolsLocalizedNames.LineToolGannFan},LineToolGannSquare:{icon:a.lineToolsIcons.LineToolGannSquare,localizedName:s.lineToolsLocalizedNames.LineToolGannSquare,hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(10289))})},LineToolHeadAndShoulders:{icon:a.lineToolsIcons.LineToolHeadAndShoulders,localizedName:s.lineToolsLocalizedNames.LineToolHeadAndShoulders},LineToolHorzLine:{icon:a.lineToolsIcons.LineToolHorzLine,localizedName:s.lineToolsLocalizedNames.LineToolHorzLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:a.lineToolsIcons.LineToolHorzRay,localizedName:s.lineToolsLocalizedNames.LineToolHorzRay},LineToolIcon:{
icon:a.lineToolsIcons.LineToolIcon,localizedName:s.lineToolsLocalizedNames.LineToolIcon},LineToolEmoji:{icon:a.lineToolsIcons.LineToolEmoji,localizedName:s.lineToolsLocalizedNames.LineToolEmoji},LineToolInsidePitchfork:{icon:a.lineToolsIcons.LineToolInsidePitchfork,localizedName:s.lineToolsLocalizedNames.LineToolInsidePitchfork},LineToolNote:{icon:a.lineToolsIcons.LineToolNote,localizedName:s.lineToolsLocalizedNames.LineToolNote},LineToolNoteAbsolute:{icon:a.lineToolsIcons.LineToolNoteAbsolute,localizedName:s.lineToolsLocalizedNames.LineToolNoteAbsolute},LineToolSignpost:{icon:a.lineToolsIcons.LineToolSignpost,localizedName:s.lineToolsLocalizedNames.LineToolSignpost},LineToolParallelChannel:{icon:a.lineToolsIcons.LineToolParallelChannel,localizedName:s.lineToolsLocalizedNames.LineToolParallelChannel,hotKey:(0,n.hotKeySerialize)(L)},LineToolPitchfan:{icon:a.lineToolsIcons.LineToolPitchfan,localizedName:s.lineToolsLocalizedNames.LineToolPitchfan},LineToolPitchfork:{icon:a.lineToolsIcons.LineToolPitchfork,localizedName:s.lineToolsLocalizedNames.LineToolPitchfork},LineToolPolyline:{icon:a.lineToolsIcons.LineToolPolyline,localizedName:s.lineToolsLocalizedNames.LineToolPolyline},LineToolPath:{icon:a.lineToolsIcons.LineToolPath,localizedName:s.lineToolsLocalizedNames.LineToolPath},LineToolPrediction:{icon:a.lineToolsIcons.LineToolPrediction,localizedName:s.lineToolsLocalizedNames.LineToolPrediction},LineToolPriceLabel:{icon:a.lineToolsIcons.LineToolPriceLabel,localizedName:s.lineToolsLocalizedNames.LineToolPriceLabel},LineToolPriceNote:{icon:a.lineToolsIcons.LineToolPriceNote,localizedName:s.lineToolsLocalizedNames.LineToolPriceNote,hotKey:(0,n.hotKeySerialize)(L)},LineToolArrowMarker:{icon:a.lineToolsIcons.LineToolArrowMarker,localizedName:s.lineToolsLocalizedNames.LineToolArrowMarker},LineToolPriceRange:{icon:a.lineToolsIcons.LineToolPriceRange,localizedName:s.lineToolsLocalizedNames.LineToolPriceRange},LineToolProjection:{icon:a.lineToolsIcons.LineToolProjection,localizedName:s.lineToolsLocalizedNames.LineToolProjection},LineToolRay:{icon:a.lineToolsIcons.LineToolRay,localizedName:s.lineToolsLocalizedNames.LineToolRay},LineToolRectangle:{icon:a.lineToolsIcons.LineToolRectangle,localizedName:s.lineToolsLocalizedNames.LineToolRectangle,hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(81591))})},LineToolCircle:{icon:a.lineToolsIcons.LineToolCircle,localizedName:s.lineToolsLocalizedNames.LineToolCircle},LineToolRegressionTrend:{icon:a.lineToolsIcons.LineToolRegressionTrend,localizedName:s.lineToolsLocalizedNames.LineToolRegressionTrend},LineToolRiskRewardLong:{icon:a.lineToolsIcons.LineToolRiskRewardLong,localizedName:s.lineToolsLocalizedNames.LineToolRiskRewardLong},LineToolRiskRewardShort:{icon:a.lineToolsIcons.LineToolRiskRewardShort,localizedName:s.lineToolsLocalizedNames.LineToolRiskRewardShort},LineToolFixedRangeVolumeProfile:{icon:a.lineToolsIcons.LineToolFixedRangeVolumeProfile,localizedName:s.lineToolsLocalizedNames.LineToolFixedRangeVolumeProfile},LineToolRotatedRectangle:{
icon:a.lineToolsIcons.LineToolRotatedRectangle,localizedName:s.lineToolsLocalizedNames.LineToolRotatedRectangle,hotKey:(0,n.hotKeySerialize)(L)},LineToolSchiffPitchfork:{icon:a.lineToolsIcons.LineToolSchiffPitchfork,localizedName:s.lineToolsLocalizedNames.LineToolSchiffPitchfork},LineToolSchiffPitchfork2:{icon:a.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:s.lineToolsLocalizedNames.LineToolSchiffPitchfork2},LineToolSineLine:{icon:a.lineToolsIcons.LineToolSineLine,localizedName:s.lineToolsLocalizedNames.LineToolSineLine},LineToolText:{icon:a.lineToolsIcons.LineToolText,localizedName:s.lineToolsLocalizedNames.LineToolText},LineToolTextAbsolute:{icon:a.lineToolsIcons.LineToolTextAbsolute,localizedName:s.lineToolsLocalizedNames.LineToolTextAbsolute},LineToolThreeDrivers:{icon:a.lineToolsIcons.LineToolThreeDrivers,localizedName:s.lineToolsLocalizedNames.LineToolThreeDrivers},LineToolTimeCycles:{icon:a.lineToolsIcons.LineToolTimeCycles,localizedName:s.lineToolsLocalizedNames.LineToolTimeCycles},LineToolTrendAngle:{icon:a.lineToolsIcons.LineToolTrendAngle,localizedName:s.lineToolsLocalizedNames.LineToolTrendAngle,hotKey:(0,n.hotKeySerialize)(L)},LineToolTrendBasedFibExtension:{icon:a.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:s.lineToolsLocalizedNames.LineToolTrendBasedFibExtension},LineToolTrendBasedFibTime:{icon:a.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:s.lineToolsLocalizedNames.LineToolTrendBasedFibTime},LineToolTrendLine:{icon:a.lineToolsIcons.LineToolTrendLine,localizedName:s.lineToolsLocalizedNames.LineToolTrendLine,hotKey:(0,n.hotKeySerialize)(L)},LineToolInfoLine:{icon:a.lineToolsIcons.LineToolInfoLine,localizedName:s.lineToolsLocalizedNames.LineToolInfoLine},LineToolTriangle:{icon:a.lineToolsIcons.LineToolTriangle,localizedName:s.lineToolsLocalizedNames.LineToolTriangle},LineToolTrianglePattern:{icon:a.lineToolsIcons.LineToolTrianglePattern,localizedName:s.lineToolsLocalizedNames.LineToolTrianglePattern},LineToolVertLine:{icon:a.lineToolsIcons.LineToolVertLine,localizedName:s.lineToolsLocalizedNames.LineToolVertLine,hotKey:(0,n.hotKeySerialize)({keys:[d,"V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:a.lineToolsIcons.LineToolCrossLine,localizedName:s.lineToolsLocalizedNames.LineToolCrossLine},LineToolHighlighter:{icon:a.lineToolsIcons.LineToolHighlighter,localizedName:s.lineToolsLocalizedNames.LineToolHighlighter},SyncDrawing:{icon:t.drawingToolsIcons.SyncDrawing,iconActive:t.drawingToolsIcons.SyncDrawingActive,localizedName:i.t(null,void 0,l(36551))},arrow:{icon:t.drawingToolsIcons.arrow,localizedName:i.t(null,void 0,l(96237))},cursor:{icon:t.drawingToolsIcons.cursor,localizedName:i.t(null,void 0,l(29908))},dot:{icon:t.drawingToolsIcons.dot,localizedName:i.t(null,void 0,l(60925))},drawginmode:{icon:t.drawingToolsIcons.drawginmode,iconActive:t.drawingToolsIcons.drawginmodeActive,localizedName:i.t(null,void 0,l(49421))},eraser:{icon:t.drawingToolsIcons.eraser,localizedName:i.t(null,void 0,l(99289))},group:{icon:t.drawingToolsIcons.group,
localizedName:i.t(null,void 0,l(91977))},hideAllDrawings:{icon:t.drawingToolsIcons.hideAllDrawings,iconActive:t.drawingToolsIcons.hideAllDrawingsActive,localizedName:i.t(null,void 0,l(17517)),hotKey:(0,n.hotKeySerialize)({keys:[T,d,"H"],text:"{0} + {1} + {2}"})},lockAllDrawings:{icon:t.drawingToolsIcons.lockAllDrawings,iconActive:t.drawingToolsIcons.lockAllDrawingsActive,localizedName:i.t(null,void 0,l(37057))},magnet:{icon:t.drawingToolsIcons.magnet,localizedName:i.t(null,void 0,l(37140)),hotKey:(0,n.hotKeySerialize)({keys:[T],text:"{0}"})},measure:{icon:t.drawingToolsIcons.measure,localizedName:i.t(null,void 0,l(59607)),hotKey:(0,n.hotKeySerialize)({keys:[r],text:i.t(null,void 0,l(32868))})},removeAllDrawingTools:{icon:t.drawingToolsIcons.removeAllDrawingTools,localizedName:i.t(null,void 0,l(76091))},showObjectsTree:{icon:t.drawingToolsIcons.showObjectTree,localizedName:i.t(null,void 0,l(51072))},zoom:{icon:t.drawingToolsIcons.zoom,localizedName:i.t(null,void 0,l(38925))},"zoom-out":{icon:t.drawingToolsIcons["zoom-out"],localizedName:i.t(null,void 0,l(49895))}};v.LineToolGhostFeed={icon:a.lineToolsIcons.LineToolGhostFeed,localizedName:s.lineToolsLocalizedNames.LineToolGhostFeed}},71810:(o,e,l)=>{"use strict";l.d(e,{LinetoolsFavoritesStore:()=>s});var i=l(57898),n=l(56840);const a=["LineToolBalloon"];var t,s;!function(o){function e(){var e,i;o.favorites=[];let s=!1;const c=Boolean(void 0===(0,n.getValue)("chart.favoriteDrawings")),r=(0,n.getJSON)("chart.favoriteDrawings",[]);if(0===r.length&&c&&"undefined"!=typeof window){const o=JSON.parse(null!==(i=null===(e=window.urlParams)||void 0===e?void 0:e.favorites)&&void 0!==i?i:"{}").drawingTools;o&&Array.isArray(o)&&r.push(...o)}r.forEach(((e,i)=>{const n=e.tool||e;l(n)?a.includes(n)?s=!0:o.favorites.push(n):"LineToolTweet"===n&&(o.tweetToolPosition=i)})),s&&t(),o.favoritesSynced.fire()}function l(o){return"string"==typeof o&&""!==o&&!0}function t(e){const l=o.favorites.slice();null!==o.tweetToolPosition&&l.splice(o.tweetToolPosition,0,"LineToolTweet"),(0,n.setJSON)("chart.favoriteDrawings",l,e)}o.favorites=[],o.favoritesSynced=new i.Delegate,o.tweetToolPosition=null,o.favoriteIndex=function(e){return o.favorites.indexOf(e)},o.isValidLineToolName=l,o.saveFavorites=t,e(),n.onSync.subscribe(null,e)}(t||(t={})),function(o){function e(o){return t.isValidLineToolName(o)}function l(){return t.favorites.length}function n(o){return-1!==t.favoriteIndex(o)}o.favoriteAdded=new i.Delegate,o.favoriteRemoved=new i.Delegate,o.favoriteMoved=new i.Delegate,o.favoritesSynced=t.favoritesSynced,o.favorites=function(){return t.favorites.slice()},o.isValidLineToolName=e,o.favoritesCount=l,o.favorite=function(o){return o<0||o>=l()?"":t.favorites[o]},o.addFavorite=function(l,i){return!(n(l)||!e(l))&&(t.favorites.push(l),t.saveFavorites(i),o.favoriteAdded.fire(l),!0)},o.removeFavorite=function(e,l){const i=t.favoriteIndex(e);if(-1===i)return!1;t.favorites.splice(i,1);const n=t.tweetToolPosition;return null!==n&&n>i&&(t.tweetToolPosition=n-1),t.saveFavorites(l),o.favoriteRemoved.fire(e),!0},
o.isFavorite=n,o.moveFavorite=function(i,n,a){if(n<0||n>=l()||!e(i))return!1;const s=t.favoriteIndex(i);if(-1===s||n===s)return!1;let c=t.tweetToolPosition;return null!==c&&(s<c&&n>c?c--:n<c&&s>c&&c++,t.tweetToolPosition=c),t.favorites.splice(s,1),t.favorites.splice(n,0,i),t.saveFavorites(a),o.favoriteMoved.fire(i,s,n),!0}}(s||(s={}))},19799:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="30" height="30"><path fill="currentColor" d="M5.5 13A2.5 2.5 0 0 0 3 15.5 2.5 2.5 0 0 0 5.5 18 2.5 2.5 0 0 0 8 15.5 2.5 2.5 0 0 0 5.5 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5A2.5 2.5 0 0 0 15 18a2.5 2.5 0 0 0 2.5-2.5A2.5 2.5 0 0 0 15 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5 2.5 2.5 0 0 0 2.5 2.5 2.5 2.5 0 0 0 2.5-2.5 2.5 2.5 0 0 0-2.5-2.5z"/></svg>'},63743:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M11.682 16.09l3.504 6.068 1.732-1-3.497-6.057 3.595-2.1L8 7.74v10.512l3.682-2.163zm-.362 1.372L7 20V6l12 7-4.216 2.462 3.5 6.062-3.464 2-3.5-6.062z"/></svg>'},18953:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path d="M18 15h8v-1h-8z"/><path d="M14 18v8h1v-8zM14 3v8h1v-8zM3 15h8v-1h-8z"/></g></svg>'},72196:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><circle fill="currentColor" cx="14" cy="14" r="3"/></svg>'},1532:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 17.5v-2a2.5 2.5 0 0 0-5 0v2h1v-2a1.5 1.5 0 0 1 3 0v2h1z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},53950:o=>{
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 14.5a2.5 2.5 0 0 0-5 0v3h1v-3a1.5 1.5 0 0 1 3 0v.5h1v-.5z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},27999:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 31" width="29" height="31"><g fill="currentColor" fill-rule="nonzero"><path d="M15.3 22l8.187-8.187c.394-.394.395-1.028.004-1.418l-4.243-4.243c-.394-.394-1.019-.395-1.407-.006l-11.325 11.325c-.383.383-.383 1.018.007 1.407l1.121 1.121h7.656zm-9.484-.414c-.781-.781-.779-2.049-.007-2.821l11.325-11.325c.777-.777 2.035-.78 2.821.006l4.243 4.243c.781.781.78 2.048-.004 2.832l-8.48 8.48h-8.484l-1.414-1.414z"/><path d="M13.011 22.999h7.999v-1h-7.999zM13.501 11.294l6.717 6.717.707-.707-6.717-6.717z"/></g></svg>'},10862:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M24.13 14.65a6.2 6.2 0 0 0-.46-9.28c-2.57-2.09-6.39-1.71-8.75.6l-.92.91-.92-.9c-2.36-2.32-6.18-2.7-8.75-.61a6.2 6.2 0 0 0-.46 9.28l9.07 8.92c.58.57 1.53.57 2.12 0l9.07-8.92Zm-9.77 8.2 9.07-8.91a5.2 5.2 0 0 0-.39-7.8c-2.13-1.73-5.38-1.45-7.42.55L14 8.29l-1.62-1.6c-2.03-2-5.29-2.28-7.42-.55a5.2 5.2 0 0 0-.4 7.8l9.08 8.91c.2.2.52.2.72 0Z"/></svg>'},68385:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor" fill-rule="evenodd"><path fill-rule="nonzero" d="M14 10a2 2 0 0 0-2 2v11H6V12c0-4.416 3.584-8 8-8s8 3.584 8 8v11h-6V12a2 2 0 0 0-2-2zm-3 2a3 3 0 0 1 6 0v10h4V12c0-3.864-3.136-7-7-7s-7 3.136-7 7v10h4V12z"/><path d="M6.5 18h5v1h-5zm10 0h5v1h-5z"/></g></svg>'},88518:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M2 9.75a1.5 1.5 0 0 0-1.5 1.5v5.5a1.5 1.5 0 0 0 1.5 1.5h24a1.5 1.5 0 0 0 1.5-1.5v-5.5a1.5 1.5 0 0 0-1.5-1.5zm0 1h3v2.5h1v-2.5h3.25v3.9h1v-3.9h3.25v2.5h1v-2.5h3.25v3.9h1v-3.9H22v2.5h1v-2.5h3a.5.5 0 0 1 .5.5v5.5a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-5.5a.5.5 0 0 1 .5-.5z" transform="rotate(-45 14 14)"/></svg>'},36515:o=>{
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path fill-rule="nonzero" d="M14 18.634l-.307-.239-7.37-5.73-2.137-1.665 9.814-7.633 9.816 7.634-.509.394-1.639 1.269-7.667 5.969zm7.054-6.759l1.131-.876-8.184-6.366-8.186 6.367 1.123.875 7.063 5.491 7.054-5.492z"/><path d="M7 14.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/><path d="M7 17.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/></g></svg>'},7636:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M4.05 14a9.95 9.95 0 1 1 19.9 0 9.95 9.95 0 0 1-19.9 0ZM14 3a11 11 0 1 0 0 22 11 11 0 0 0 0-22Zm-3 13.03a.5.5 0 0 1 .64.3 2.5 2.5 0 0 0 4.72 0 .5.5 0 0 1 .94.34 3.5 3.5 0 0 1-6.6 0 .5.5 0 0 1 .3-.64Zm.5-4.53a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},62567:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M7 4h14a3 3 0 0 1 3 3v11c0 .34-.03.67-.08 1H20.3c-1.28 0-2.31.97-2.31 2.24V24H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3Zm12 19.92A6 6 0 0 0 23.66 20H20.3c-.77 0-1.31.48-1.31 1.24v2.68ZM3 7a4 4 0 0 1 4-4h14a4 4 0 0 1 4 4v11a7 7 0 0 1-7 7H7a4 4 0 0 1-4-4V7Zm8 9.03a.5.5 0 0 1 .64.3 2.5 2.5 0 0 0 4.72 0 .5.5 0 0 1 .94.34 3.5 3.5 0 0 1-6.6 0 .5.5 0 0 1 .3-.64Zm.5-4.53a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm5 0a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},46049:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="nonzero" d="M14 5a7 7 0 0 0-7 7v3h4v-3a3 3 0 1 1 6 0v3h4v-3a7 7 0 0 0-7-7zm7 11h-4v3h4v-3zm-10 0H7v3h4v-3zm-5-4a8 8 0 1 1 16 0v8h-6v-8a2 2 0 1 0-4 0v8H6v-8zm3.293 11.294l-1.222-2.037.858-.514 1.777 2.963-2 1 1.223 2.037-.858.514-1.778-2.963 2-1zm9.778-2.551l.858.514-1.223 2.037 2 1-1.777 2.963-.858-.514 1.223-2.037-2-1 1.777-2.963z"/></svg>'},99088:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path fill-rule="nonzero" d="M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z"/><path d="M10.485 16.141l5.656-5.656.707.707-5.656 5.656z"/></g></svg>'},42650:o=>{
o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M19.76 6.07l-.7.7a13.4 13.4 0 011.93 2.47c.19.3.33.55.42.72l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-.98 0-1.88-.2-2.7-.52l-.77.76c1.03.47 2.18.76 3.47.76 3.12 0 5.5-1.75 7.06-3.44a16 16 0 002.38-3.38v-.02h.01L22 10l.45.22.1-.22-.1-.22L22 10l.45-.22-.01-.02a5.1 5.1 0 00-.15-.28 16 16 0 00-2.53-3.41zM6.24 13.93l.7-.7-.27-.29a15 15 0 01-2.08-2.9L4.56 10l.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12.98 0 1.88.2 2.7.52l.77-.76A8.32 8.32 0 0013 2.94c-3.12 0-5.5 1.75-7.06 3.44a16 16 0 00-2.38 3.38v.02h-.01L4 10l-.45-.22-.1.22.1.22L4 10l-.45.22.01.02a5.5 5.5 0 00.15.28 16 16 0 002.53 3.41zm6.09-.43a3.6 3.6 0 004.24-4.24l-.93.93a2.6 2.6 0 01-2.36 2.36l-.95.95zm-1.97-3.69l-.93.93a3.6 3.6 0 014.24-4.24l-.95.95a2.6 2.6 0 00-2.36 2.36zm11.29 7.84l-.8.79a1.5 1.5 0 000 2.12l.59.59a1.5 1.5 0 002.12 0l1.8-1.8-.71-.7-1.8 1.79a.5.5 0 01-.7 0l-.59-.59a.5.5 0 010-.7l.8-.8-.71-.7zm-5.5 3.5l.35.35-.35-.35.01-.02.02-.02.02-.02a4.68 4.68 0 01.65-.5c.4-.27 1-.59 1.65-.59.66 0 1.28.33 1.73.77.44.45.77 1.07.77 1.73a2.5 2.5 0 01-.77 1.73 2.5 2.5 0 01-1.73.77h-4a.5.5 0 01-.42-.78l1-1.5 1-1.5a.5.5 0 01.07-.07zm.74.67a3.46 3.46 0 01.51-.4c.35-.24.75-.42 1.1-.42.34 0 .72.17 1.02.48.3.3.48.68.48 1.02 0 .34-.17.72-.48 1.02-.3.3-.68.48-1.02.48h-3.07l.49-.72.97-1.46zM21.2 2.5L5.5 18.2l-.7-.7L20.5 1.8l.7.7z"/></svg>'},75895:o=>{o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" d="M16.47 3.7A8.32 8.32 0 0013 2.94c-3.12 0-5.5 1.75-7.06 3.44a16 16 0 00-2.38 3.38v.02h-.01L4 10l-.45-.22-.1.22.1.22L4 10l-.45.22.01.02a5.5 5.5 0 00.15.28 16 16 0 002.53 3.41l.7-.7-.27-.29a15 15 0 01-2.08-2.9L4.56 10l.03-.04a15 15 0 012.09-2.9c1.47-1.6 3.6-3.12 6.32-3.12.98 0 1.88.2 2.7.52l.77-.76zm-7.04 7.04l.93-.93a2.6 2.6 0 012.36-2.36l.95-.95a3.6 3.6 0 00-4.24 4.24zm.1 5.56c1.03.47 2.18.76 3.47.76 3.12 0 5.5-1.75 7.06-3.44a16 16 0 002.38-3.38v-.02h.01L22 10l.45.22.1-.22-.1-.22L22 10l.45-.22-.01-.02-.02-.03-.01-.03a9.5 9.5 0 00-.57-1 16 16 0 00-2.08-2.63l-.7.7.27.29a15.01 15.01 0 012.08 2.9l.03.04-.03.04a15 15 0 01-2.09 2.9c-1.47 1.6-3.6 3.12-6.32 3.12-.98 0-1.88-.2-2.7-.52l-.77.76zm2.8-2.8a3.6 3.6 0 004.24-4.24l-.93.93a2.6 2.6 0 01-2.36 2.36l-.95.95zm7.9 3.73c-.12.12-.23.35-.23.77v2h1v1h-1v2c0 .58-.14 1.1-.52 1.48-.38.38-.9.52-1.48.52s-1.1-.14-1.48-.52c-.38-.38-.52-.9-.52-1.48h1c0 .42.1.65.23.77.12.12.35.23.77.23.42 0 .65-.1.77-.23.12-.12.23-.35.23-.77v-2h-1v-1h1v-2c0-.58.14-1.1.52-1.48.38-.38.9-.52 1.48-.52s1.1.14 1.48.52c.38.38.52.9.52 1.48h-1c0-.42-.1-.65-.23-.77-.12-.12-.35-.23-.77-.23-.42 0-.65.1-.77.23zm2.56 6.27l-1.14-1.15.7-.7 1.15 1.14 1.15-1.14.7.7-1.14 1.15 1.14 1.15-.7.7-1.15-1.14-1.15 1.14-.7-.7 1.14-1.15zM21.2 2.5L5.5 18.2l-.7-.7L20.5 1.8l.7.7z"/></svg>'},65162:o=>{

View File

@@ -1,6 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2158,8180,2215],{59255:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>S});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__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var u=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&a()}function u(){s(i)}function a(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(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(){o&&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;u.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}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function y(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=p(i)}return e}(r),i=o.left+o.right,s=o.top+o.bottom,u=p(r.width),a=p(r.height);if("border-box"===r.boxSizing&&(Math.round(u+i)!==e&&(u-=d(r,"left","right")+i),Math.round(a+s)!==n&&(a-=d(r,"top","bottom")+s)),!function(t){return t===l(t).document.documentElement}(t)){var c=Math.round(u+i)-e,f=Math.round(a+s)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(f)&&(a-=f)}return b(o.left,o.top,u,a)}var v="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function _(t){return o?v(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):y(t):h}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=_(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,s,u,a,c=(r=(n=e).x,o=n.y,i=n.width,s=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(u.prototype),f(a,{x:r,y:o,width:i,height:s,top:o,right:r+i,bottom:s+o,left:r}),a);f(this,{target:t,contentRect:c})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="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=c.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:O},97754:(t,e)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n)&&n.length){var s=o.apply(null,n);s&&t.push(s)}else if("object"===i)for(var u in n)r.call(n,u)&&n[u]&&t.push(u)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},6132:(t,e,n)=>{"use strict";var r=n(22134);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,s){if(s!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},19036:(t,e,n)=>{t.exports=n(6132)()},22134:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95257:(t,e)=>{"use strict"
;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function _(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||d}function b(){}function m(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||d}_.prototype.isReactComponent={},_.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},_.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=_.prototype;var w=m.prototype=new b;w.constructor=m,y(w,_.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,O={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(t,e,r){var o,i={},s=null,u=null;if(null!=e)for(o in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(s=""+e.key),e)E.call(e,o)&&!S.hasOwnProperty(o)&&(i[o]=e[o]);var a=arguments.length-2;if(1===a)i.children=r;else if(1<a){for(var c=Array(a),f=0;f<a;f++)c[f]=arguments[f+2];i.children=c}if(t&&t.defaultProps)for(o in a=t.defaultProps)void 0===i[o]&&(i[o]=a[o]);return{$$typeof:n,type:t,key:s,ref:u,props:i,_owner:O.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var T=/\/+/g;function x(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function C(t,e,o,i,s){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var a=!1;if(null===t)a=!0;else switch(u){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case n:case r:a=!0}}if(a)return s=s(a=t),t=""===i?"."+x(a,0):i,g(s)?(o="",null!=t&&(o=t.replace(T,"$&/")+"/"),C(s,e,o,"",(function(t){return t}))):null!=s&&(k(s)&&(s=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(s,o+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(T,"$&/")+"/")+t)),e.push(s)),1;if(a=0,i=""===i?".":i+":",g(t))for(var c=0;c<t.length;c++){var f=i+x(u=t[c],c);a+=C(u,e,o,f,s)}else if(f=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),c=0;!(u=t.next()).done;)a+=C(u=u.value,e,o,f=i+x(u,c++),s);else if("object"===u)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")
;return a}function A(t,e,n){if(null==t)return t;var r=[],o=0;return C(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function M(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var j={current:null},$={transition:null},P={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:$,ReactCurrentOwner:O};e.Children={map:A,forEach:function(t,e,n){A(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return A(t,(function(){e++})),e},toArray:function(t){return A(t,(function(t){return t}))||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=_,e.Fragment=o,e.Profiler=s,e.PureComponent=m,e.StrictMode=i,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=y({},t.props),i=t.key,s=t.ref,u=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,u=O.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(c in e)E.call(e,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===e[c]&&void 0!==a?a[c]:e[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){a=Array(c);for(var f=0;f<c;f++)a[f]=arguments[f+2];o.children=a}return{$$typeof:n,type:t.type,key:i,ref:s,props:o,_owner:u}},e.createContext=function(t){return(t={$$typeof:a,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:t},t.Consumer=t},e.createElement=R,e.createFactory=function(t){var e=R.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=k,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:M}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=$.transition;$.transition={};try{t()}finally{$.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return j.current.useCallback(t,e)},e.useContext=function(t){return j.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return j.current.useDeferredValue(t)},e.useEffect=function(t,e){return j.current.useEffect(t,e)},e.useId=function(){return j.current.useId()},e.useImperativeHandle=function(t,e,n){return j.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return j.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return j.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return j.current.useMemo(t,e)},e.useReducer=function(t,e,n){return j.current.useReducer(t,e,n)},e.useRef=function(t){
return j.current.useRef(t)},e.useState=function(t){return j.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return j.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return j.current.useTransition()},e.version="18.2.0"},50959:(t,e,n)=>{"use strict";t.exports=n(95257)}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2215,8180],{59255:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>S});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__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),u="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,c=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&a()}function s(){u(i)}function a(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,e);o=t}return a}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(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(){o&&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;s.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}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=p(i)}return e}(r),i=o.left+o.right,u=o.top+o.bottom,s=p(r.width),a=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=d(r,"left","right")+i),Math.round(a+u)!==n&&(a-=d(r,"top","bottom")+u)),!function(t){return t===l(t).document.documentElement}(t)){var c=Math.round(s+i)-e,f=Math.round(a+u)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(f)&&(a-=f)}return b(o.left,o.top,s,a)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function _(t){return o?y(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):v(t):h}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=_(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,u,s,a,c=(r=(n=e).x,o=n.y,i=n.width,u=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(s.prototype),f(a,{x:r,y:o,width:i,height:u,top:o,right:r+i,bottom:u+o,left:r}),a);f(this,{target:t,contentRect:c})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="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=c.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:O},97754:(t,e)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n)&&n.length){var u=o.apply(null,n);u&&t.push(u)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},95257:(t,e)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function _(t,e,n){this.props=t,this.context=e,this.refs=y,this.updater=n||d}function b(){}function m(t,e,n){this.props=t,this.context=e,this.refs=y,this.updater=n||d}_.prototype.isReactComponent={},_.prototype.setState=function(t,e){
if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},_.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=_.prototype;var w=m.prototype=new b;w.constructor=m,v(w,_.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,O={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(t,e,r){var o,i={},u=null,s=null;if(null!=e)for(o in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(u=""+e.key),e)E.call(e,o)&&!S.hasOwnProperty(o)&&(i[o]=e[o]);var a=arguments.length-2;if(1===a)i.children=r;else if(1<a){for(var c=Array(a),f=0;f<a;f++)c[f]=arguments[f+2];i.children=c}if(t&&t.defaultProps)for(o in a=t.defaultProps)void 0===i[o]&&(i[o]=a[o]);return{$$typeof:n,type:t,key:u,ref:s,props:i,_owner:O.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var M=/\/+/g;function x(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function A(t,e,o,i,u){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var a=!1;if(null===t)a=!0;else switch(s){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case n:case r:a=!0}}if(a)return u=u(a=t),t=""===i?"."+x(a,0):i,g(u)?(o="",null!=t&&(o=t.replace(M,"$&/")+"/"),A(u,e,o,"",(function(t){return t}))):null!=u&&(k(u)&&(u=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(u,o+(!u.key||a&&a.key===u.key?"":(""+u.key).replace(M,"$&/")+"/")+t)),e.push(u)),1;if(a=0,i=""===i?".":i+":",g(t))for(var c=0;c<t.length;c++){var f=i+x(s=t[c],c);a+=A(s,e,o,f,u)}else if(f=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),c=0;!(s=t.next()).done;)a+=A(s=s.value,e,o,f=i+x(s,c++),u);else if("object"===s)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function j(t,e,n){if(null==t)return t;var r=[],o=0;return A(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function C(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var $={current:null},T={transition:null},D={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:T,ReactCurrentOwner:O};e.Children={map:j,forEach:function(t,e,n){j(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return j(t,(function(){e++})),e},toArray:function(t){return j(t,(function(t){return t
}))||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=_,e.Fragment=o,e.Profiler=u,e.PureComponent=m,e.StrictMode=i,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=v({},t.props),i=t.key,u=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(u=e.ref,s=O.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(c in e)E.call(e,c)&&!S.hasOwnProperty(c)&&(o[c]=void 0===e[c]&&void 0!==a?a[c]:e[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){a=Array(c);for(var f=0;f<c;f++)a[f]=arguments[f+2];o.children=a}return{$$typeof:n,type:t.type,key:i,ref:u,props:o,_owner:s}},e.createContext=function(t){return(t={$$typeof:a,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},e.createElement=R,e.createFactory=function(t){var e=R.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=k,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:C}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=T.transition;T.transition={};try{t()}finally{T.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return $.current.useCallback(t,e)},e.useContext=function(t){return $.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return $.current.useDeferredValue(t)},e.useEffect=function(t,e){return $.current.useEffect(t,e)},e.useId=function(){return $.current.useId()},e.useImperativeHandle=function(t,e,n){return $.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return $.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return $.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return $.current.useMemo(t,e)},e.useReducer=function(t,e,n){return $.current.useReducer(t,e,n)},e.useRef=function(t){return $.current.useRef(t)},e.useState=function(t){return $.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return $.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return $.current.useTransition()},e.version="18.2.0"},50959:(t,e,n)=>{"use strict";t.exports=n(95257)}}]);

View File

@@ -1 +1 @@
.container-qm7Rg5MB{align-items:center;border-bottom:1px solid #e0e3eb;border-color:#e0e3eb currentcolor;border-top:1px solid #e0e3eb;cursor:default;display:flex;flex-shrink:0;position:relative}html.theme-dark .container-qm7Rg5MB{border-color:#434651}.inputContainer-qm7Rg5MB{height:24px;padding:8px 16px 8px 47px;width:100%}.inputContainer-qm7Rg5MB.withCancel-qm7Rg5MB{padding-right:70px}.input-qm7Rg5MB{background-color:initial;border:none;color:#131722;font-size:16px;height:100%;margin:0;padding:0;width:100%}html.theme-dark .input-qm7Rg5MB{color:#a3a6af}.input-qm7Rg5MB::placeholder{color:#a3a6af;font-weight:400}html.theme-dark .input-qm7Rg5MB::placeholder{color:#434651}.icon-qm7Rg5MB{color:#a3a6af;height:18px;left:20px;pointer-events:none;position:absolute;top:calc(50% - 9px)}.cancel-qm7Rg5MB{color:#787b86;position:absolute;right:20px}.highlighted-cwp8YRo6,html.theme-dark .highlighted-cwp8YRo6{color:#2962ff}
.container-qm7Rg5MB{align-items:center;border-bottom:1px solid #e0e3eb;border-color:#e0e3eb currentcolor;border-top:1px solid #e0e3eb;cursor:default;display:flex;flex-shrink:0;position:relative}html.theme-dark .container-qm7Rg5MB{border-color:#434651}.inputContainer-qm7Rg5MB{height:24px;padding:8px 16px 8px 47px;width:100%}.inputContainer-qm7Rg5MB.withCancel-qm7Rg5MB{padding-right:70px}.input-qm7Rg5MB{background-color:initial;border:none;color:#131722;font-size:16px;height:100%;margin:0;padding:0;width:100%}html.theme-dark .input-qm7Rg5MB{color:#a3a6af}.input-qm7Rg5MB::placeholder{color:#a3a6af;font-weight:400}html.theme-dark .input-qm7Rg5MB::placeholder{color:#434651}.icon-qm7Rg5MB{color:#a3a6af;height:18px;left:20px;pointer-events:none;position:absolute;top:calc(50% - 9px)}.cancel-qm7Rg5MB{color:#6a6d78;position:absolute;right:20px}html.theme-dark .cancel-qm7Rg5MB{color:#868993}.highlighted-cwp8YRo6,html.theme-dark .highlighted-cwp8YRo6{color:#2962ff}

View File

@@ -1 +1 @@
.container-qm7Rg5MB{align-items:center;border-bottom:1px solid #e0e3eb;border-color:#e0e3eb currentcolor;border-top:1px solid #e0e3eb;cursor:default;display:flex;flex-shrink:0;position:relative}html.theme-dark .container-qm7Rg5MB{border-color:#434651}.inputContainer-qm7Rg5MB{height:24px;padding:8px 47px 8px 16px;width:100%}.inputContainer-qm7Rg5MB.withCancel-qm7Rg5MB{padding-left:70px}.input-qm7Rg5MB{background-color:initial;border:none;color:#131722;font-size:16px;height:100%;margin:0;padding:0;width:100%}html.theme-dark .input-qm7Rg5MB{color:#a3a6af}.input-qm7Rg5MB::placeholder{color:#a3a6af;font-weight:400}html.theme-dark .input-qm7Rg5MB::placeholder{color:#434651}.icon-qm7Rg5MB{color:#a3a6af;height:18px;pointer-events:none;position:absolute;right:20px;top:calc(50% - 9px)}.cancel-qm7Rg5MB{color:#787b86;left:20px;position:absolute}.highlighted-cwp8YRo6,html.theme-dark .highlighted-cwp8YRo6{color:#2962ff}
.container-qm7Rg5MB{align-items:center;border-bottom:1px solid #e0e3eb;border-color:#e0e3eb currentcolor;border-top:1px solid #e0e3eb;cursor:default;display:flex;flex-shrink:0;position:relative}html.theme-dark .container-qm7Rg5MB{border-color:#434651}.inputContainer-qm7Rg5MB{height:24px;padding:8px 47px 8px 16px;width:100%}.inputContainer-qm7Rg5MB.withCancel-qm7Rg5MB{padding-left:70px}.input-qm7Rg5MB{background-color:initial;border:none;color:#131722;font-size:16px;height:100%;margin:0;padding:0;width:100%}html.theme-dark .input-qm7Rg5MB{color:#a3a6af}.input-qm7Rg5MB::placeholder{color:#a3a6af;font-weight:400}html.theme-dark .input-qm7Rg5MB::placeholder{color:#434651}.icon-qm7Rg5MB{color:#a3a6af;height:18px;pointer-events:none;position:absolute;right:20px;top:calc(50% - 9px)}.cancel-qm7Rg5MB{color:#6a6d78;left:20px;position:absolute}html.theme-dark .cancel-qm7Rg5MB{color:#868993}.highlighted-cwp8YRo6,html.theme-dark .highlighted-cwp8YRo6{color:#2962ff}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 14px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E.mobile-Wu2pIo3E{max-width:100%}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{display:flex;flex:1 1 auto;flex-direction:column}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 6px 2px 0;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:not(:last-child):after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;cursor:pointer;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}

View File

@@ -0,0 +1 @@
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 14px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E.mobile-Wu2pIo3E{max-width:100%}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{display:flex;flex:1 1 auto;flex-direction:column}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 0 2px 6px;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:not(:last-child):after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;cursor:pointer;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}

View File

@@ -1 +0,0 @@
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 14px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{display:flex;flex:1 1 auto;flex-direction:column}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 6px 2px 0;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;cursor:pointer;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}

View File

@@ -1 +0,0 @@
.popupWidget-Wu2pIo3E{box-sizing:border-box;display:flex;padding:12px 14px}@media only screen and (min-width:430px){.popupWidget-Wu2pIo3E.large-Wu2pIo3E{max-width:354px}.popupWidget-Wu2pIo3E{max-width:344px}}.popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #f0f3fa}html.theme-dark .popupWidget-Wu2pIo3E:not(:last-child){border-bottom:1px solid #2a2e39}.popupWidget-Wu2pIo3E .desc-Wu2pIo3E{display:flex;flex:1 1 auto;flex-direction:column}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E{flex:0 0 auto;margin:2px 0 2px 6px;overflow:hidden}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.small-Wu2pIo3E{border-radius:9px;height:18px;width:18px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.medium-Wu2pIo3E{border-radius:11px;height:22px;width:22px}.popupWidget-Wu2pIo3E .icon-Wu2pIo3E.large-Wu2pIo3E{border-radius:8px;height:28px;width:28px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.small-Wu2pIo3E{font-size:16px;line-height:22px;margin-bottom:4px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.medium-Wu2pIo3E{font-size:18px;line-height:26px;margin-bottom:2px}.popupWidget-Wu2pIo3E .title-Wu2pIo3E.large-Wu2pIo3E{font-size:18px;line-height:32px;margin-bottom:2px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E:first-letter{text-transform:capitalize}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .text-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .item-Wu2pIo3E:after{content:" "}.popupWidget-Wu2pIo3E .text-Wu2pIo3E .boldItem-Wu2pIo3E{font-weight:700}.popupWidget-Wu2pIo3E .action-Wu2pIo3E{color:#2962ff;cursor:pointer;margin-top:8px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.small-Wu2pIo3E{font-size:14px;line-height:21px}.popupWidget-Wu2pIo3E .action-Wu2pIo3E.large-Wu2pIo3E,.popupWidget-Wu2pIo3E .action-Wu2pIo3E.medium-Wu2pIo3E{font-size:16px;line-height:25px}.additionalWidget-Wu2pIo3E{margin-bottom:12px;margin-top:12px}.additionalWidget-Wu2pIo3E:last-child{margin-bottom:0}

View File

@@ -1,9 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2842,8180,2215],{59255:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>I});var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var r=-1;return t.some((function(t,n){return t[0]===e&&(r=n,!0)})),r}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 r=t(this.__entries__,e),n=this.__entries__[r];return n&&n[1]},e.prototype.set=function(e,r){var n=t(this.__entries__,e);~n?this.__entries__[n][1]=r:this.__entries__.push([e,r])},e.prototype.delete=function(e){var r=this.__entries__,n=t(r,e);~n&&r.splice(n,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 r=0,n=this.__entries__;r<n.length;r++){var o=n[r];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==r.g&&r.g.Math===Math?r.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var r=!1,n=!1,o=0;function i(){r&&(r=!1,t()),n&&c()}function a(){s(i)}function c(){var t=Date.now();if(r){if(t-o<2)return;n=!0}else r=!0,n=!1,setTimeout(a,e);o=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,r=e.indexOf(t);~r&&e.splice(r,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!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(){o&&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,r=void 0===e?"":e;a.some((function(t){return!!~r.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=_(0,0,0,0);function d(t){return parseFloat(t)||0}function p(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return e.reduce((function(e,r){return e+d(t["border-"+r+"-width"])}),0)}function v(t){var e=t.clientWidth,r=t.clientHeight;if(!e&&!r)return h;var n=f(t).getComputedStyle(t),o=function(t){for(var e={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=t["padding-"+o];e[o]=d(i)}return e}(n),i=o.left+o.right,s=o.top+o.bottom,a=d(n.width),c=d(n.height);if("border-box"===n.boxSizing&&(Math.round(a+i)!==e&&(a-=p(n,"left","right")+i),Math.round(c+s)!==r&&(c-=p(n,"top","bottom")+s)),!function(t){return t===f(t).document.documentElement}(t)){var u=Math.round(a+i)-e,l=Math.round(c+s)-r;1!==Math.abs(u)&&(a-=u),1!==Math.abs(l)&&(c-=l)}return _(o.left,o.top,a,c)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?m(t)?function(t){var e=t.getBBox();return _(0,0,e.width,e.height)}(t):v(t):h}function _(t,e,r,n){return{x:t,y:e,width:r,height:n}}var g=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),b=function(t,e){var r,n,o,i,s,a,c,u=(n=(r=e).x,o=r.y,i=r.width,s=r.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),l(c,{x:n,y:o,width:i,height:s,top:o,right:n+i,bottom:s+o,left:n}),c);l(this,{target:t,contentRect:u})},S=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new g(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new b(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),w="undefined"!=typeof WeakMap?new WeakMap:new n,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 r=u.getInstance(),n=new S(e,r,this);w.set(this,n)};["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!==i.ResizeObserver?i.ResizeObserver:O},97754:(t,e)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var s=o.apply(null,r);s&&t.push(s)}else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},20037:(t,e,r)=>{"use strict";function n(){return n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,{FixedSizeList:()=>I,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 r=0;r<t.length;r++)if(n=t[r],o=e[r],!(n===o||a(n)&&a(o)))return!1;var n,o;return!0}const u=function(t,e){var r;void 0===e&&(e=c);var n,o=[],i=!1;return function(){
for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return i&&r===this&&e(s,o)||(n=t.apply(this,s),i=!0,r=this,o=s),n}};var l=r(50959),f="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function h(t){cancelAnimationFrame(t.id)}function d(t,e){var r=f();var n={id:requestAnimationFrame((function o(){f()-r>=e?t.call(null):n.id=requestAnimationFrame(o)}))};return n}var p=null;function v(t){if(void 0===t&&(t=!1),null===p||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),o=n.style;return o.width="100px",o.height="100px",e.appendChild(n),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 y(t){var e,r,o=t.getItemOffset,a=t.getEstimatedTotalSize,c=t.getItemSize,f=t.getOffsetForIndexAndAlignment,p=t.getStartIndexForOffset,y=t.getStopIndexForStartIndex,g=t.initInstanceProps,b=t.shouldResetStyleCacheOnItemSizeChange,S=t.validateProps;return r=e=function(t){function e(e){var r;return(r=t.call(this,e)||this)._instanceProps=g(r.props,s(s(r))),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:s(s(r)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=u((function(t,e,n,o){return r.props.onItemsRendered({overscanStartIndex:t,overscanStopIndex:e,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=u((function(t,e,n){return r.props.onScroll({scrollDirection:t,scrollOffset:e,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(t){var e,n=r.props,i=n.direction,s=n.itemSize,a=n.layout,u=r._getItemStyleCache(b&&s,b&&a,b&&i);if(u.hasOwnProperty(t))e=u[t];else{var l=o(r.props,t,r._instanceProps),f=c(r.props,t,r._instanceProps),h="horizontal"===i||"horizontal"===a,d="rtl"===i,p=h?l:0;u[t]=e={position:"absolute",left:d?void 0:p,right:d?p:void 0,top:h?0:l,height:h?"100%":f,width:h?f:"100%"}}return e},r._getItemStyleCache=void 0,r._getItemStyleCache=u((function(t,e,r){return{}})),r._onScrollHorizontal=function(t){var e=t.currentTarget,n=e.clientWidth,o=e.scrollLeft,i=e.scrollWidth;r.setState((function(t){if(t.scrollOffset===o)return null;var e=r.props.direction,s=o;if("rtl"===e)switch(v()){case"negative":s=-o;break;case"positive-descending":s=i-n-o}return s=Math.max(0,Math.min(s,i-n)),{isScrolling:!0,scrollDirection:t.scrollOffset<o?"forward":"backward",scrollOffset:s,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._onScrollVertical=function(t){var e=t.currentTarget,n=e.clientHeight,o=e.scrollHeight,i=e.scrollTop;r.setState((function(t){if(t.scrollOffset===i)return null;var e=Math.max(0,Math.min(i,o-n));return{isScrolling:!0,
scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!1}}),r._resetIsScrollingDebounced)},r._outerRefSetter=function(t){var e=r.props.outerRef;r._outerRef=t,"function"==typeof e?e(t):null!=e&&"object"==typeof e&&e.hasOwnProperty("current")&&(e.current=t)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&h(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=d(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},(function(){r._getItemStyleCache(-1,null)}))},r}i(e,t),e.getDerivedStateFromProps=function(t,e){return _(t,e),S(t),null};var r=e.prototype;return r.scrollTo=function(t){t=Math.max(0,t),this.setState((function(e){return e.scrollOffset===t?null:{scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},r.scrollToItem=function(t,e){void 0===e&&(e="auto");var r=this.props.itemCount,n=this.state.scrollOffset;t=Math.max(0,Math.min(t,r-1)),this.scrollTo(f(this.props,t,e,n,this._instanceProps))},r.componentDidMount=function(){var t=this.props,e=t.direction,r=t.initialScrollOffset,n=t.layout;if("number"==typeof r&&null!=this._outerRef){var o=this._outerRef;"horizontal"===e||"horizontal"===n?o.scrollLeft=r:o.scrollTop=r}this._callPropsCallbacks()},r.componentDidUpdate=function(){var t=this.props,e=t.direction,r=t.layout,n=this.state,o=n.scrollOffset;if(n.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===e||"horizontal"===r)if("rtl"===e)switch(v()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var s=i.clientWidth,a=i.scrollWidth;i.scrollLeft=a-s-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},r.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&h(this._resetIsScrollingTimeoutId)},r.render=function(){var t=this.props,e=t.children,r=t.className,o=t.direction,i=t.height,s=t.innerRef,c=t.innerElementType,u=t.innerTagName,f=t.itemCount,h=t.itemData,d=t.itemKey,p=void 0===d?m:d,v=t.layout,y=t.outerElementType,_=t.outerTagName,g=t.style,b=t.useIsScrolling,S=t.width,w=this.state.isScrolling,O="horizontal"===o||"horizontal"===v,I=O?this._onScrollHorizontal:this._onScrollVertical,M=this._getRangeToRender(),E=M[0],x=M[1],R=[];if(f>0)for(var z=E;z<=x;z++)R.push((0,l.createElement)(e,{data:h,key:p(z,h),index:z,isScrolling:b?w:void 0,style:this._getItemStyle(z)}));var C=a(this.props,this._instanceProps);return(0,l.createElement)(y||_||"div",{className:r,onScroll:I,ref:this._outerRefSetter,style:n({position:"relative",height:i,width:S,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},g)},(0,l.createElement)(c||u||"div",{children:R,ref:s,style:{height:O?"100%":C,pointerEvents:w?"none":void 0,width:O?C:"100%"}}))},r._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){
var t=this._getRangeToRender(),e=t[0],r=t[1],n=t[2],o=t[3];this._callOnItemsRendered(e,r,n,o)}if("function"==typeof this.props.onScroll){var i=this.state,s=i.scrollDirection,a=i.scrollOffset,c=i.scrollUpdateWasRequested;this._callOnScroll(s,a,c)}},r._getRangeToRender=function(){var t=this.props,e=t.itemCount,r=t.overscanCount,n=this.state,o=n.isScrolling,i=n.scrollDirection,s=n.scrollOffset;if(0===e)return[0,0,0,0];var a=p(this.props,s,this._instanceProps),c=y(this.props,a,s,this._instanceProps),u=o&&"backward"!==i?1:Math.max(1,r),l=o&&"forward"!==i?1:Math.max(1,r);return[Math.max(0,a-u),Math.max(0,Math.min(e-1,c+l)),a,c]},e}(l.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},r}var _=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},g=function(t,e,r){var n=t.itemSize,o=r.itemMetadataMap,i=r.lastMeasuredIndex;if(e>i){var s=0;if(i>=0){var a=o[i];s=a.offset+a.size}for(var c=i+1;c<=e;c++){var u=n(c);o[c]={offset:s,size:u},s+=u}r.lastMeasuredIndex=e}return o[e]},b=function(t,e,r,n,o){for(;n<=r;){var i=n+Math.floor((r-n)/2),s=g(t,i,e).offset;if(s===o)return i;s<o?n=i+1:s>o&&(r=i-1)}return n>0?n-1:0},S=function(t,e,r,n){for(var o=t.itemCount,i=1;r<o&&g(t,r,e).offset<n;)r+=i,i*=2;return b(t,e,Math.min(r,o-1),Math.floor(r/2),n)},w=function(t,e){var r=t.itemCount,n=e.itemMetadataMap,o=e.estimatedItemSize,i=e.lastMeasuredIndex,s=0;if(i>=r&&(i=r-1),i>=0){var a=n[i];s=a.offset+a.size}return s+(r-i-1)*o},O=y({getItemOffset:function(t,e,r){return g(t,e,r).offset},getItemSize:function(t,e,r){return r.itemMetadataMap[e].size},getEstimatedTotalSize:w,getOffsetForIndexAndAlignment:function(t,e,r,n,o){var i=t.direction,s=t.height,a=t.layout,c=t.width,u="horizontal"===i||"horizontal"===a?c:s,l=g(t,e,o),f=w(t,o),h=Math.max(0,Math.min(f-u,l.offset)),d=Math.max(0,l.offset-u+l.size);switch("smart"===r&&(r=n>=d-u&&n<=h+u?"auto":"center"),r){case"start":return h;case"end":return d;case"center":return Math.round(d+(h-d)/2);default:return n>=d&&n<=h?n:n<d?d:h}},getStartIndexForOffset:function(t,e,r){return function(t,e,r){var n=e.itemMetadataMap,o=e.lastMeasuredIndex;return(o>0?n[o].offset:0)>=r?b(t,e,o,0,r):S(t,e,Math.max(0,o),r)}(t,r,e)},getStopIndexForStartIndex:function(t,e,r,n){for(var o=t.direction,i=t.height,s=t.itemCount,a=t.layout,c=t.width,u="horizontal"===o||"horizontal"===a?c:i,l=g(t,e,n),f=r+u,h=l.offset+l.size,d=e;d<s-1&&h<f;)d++,h+=g(t,d,n).size;return d},initInstanceProps:function(t,e){var r={itemMetadataMap:{},estimatedItemSize:t.estimatedItemSize||50,lastMeasuredIndex:-1};return e.resetAfterIndex=function(t,n){void 0===n&&(n=!0),r.lastMeasuredIndex=Math.min(r.lastMeasuredIndex,t-1),e._getItemStyleCache(-1),n&&e.forceUpdate()},r},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(t){t.itemSize}}),I=y({getItemOffset:function(t,e){return e*t.itemSize},getItemSize:function(t,e){return t.itemSize},getEstimatedTotalSize:function(t){var e=t.itemCount;return t.itemSize*e},
getOffsetForIndexAndAlignment:function(t,e,r,n){var o=t.direction,i=t.height,s=t.itemCount,a=t.itemSize,c=t.layout,u=t.width,l="horizontal"===o||"horizontal"===c?u:i,f=Math.max(0,s*a-l),h=Math.min(f,e*a),d=Math.max(0,e*a-l+a);switch("smart"===r&&(r=n>=d-l&&n<=h+l?"auto":"center"),r){case"start":return h;case"end":return d;case"center":var p=Math.round(d+(h-d)/2);return p<Math.ceil(l/2)?0:p>f+Math.floor(l/2)?f:p;default:return n>=d&&n<=h?n:n<d?d:h}},getStartIndexForOffset:function(t,e){var r=t.itemCount,n=t.itemSize;return Math.max(0,Math.min(r-1,Math.floor(e/n)))},getStopIndexForStartIndex:function(t,e,r){var n=t.direction,o=t.height,i=t.itemCount,s=t.itemSize,a=t.layout,c=t.width,u=e*s,l="horizontal"===n||"horizontal"===a?c:o,f=Math.ceil((l+r-u)/s);return Math.max(0,Math.min(i-1,e+f-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}})},95257:(t,e)=>{"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function y(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}function _(){}function g(t,e,r){this.props=t,this.context=e,this.refs=m,this.updater=r||p}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},_.prototype=y.prototype;var b=g.prototype=new _;b.constructor=g,v(b,y.prototype),b.isPureReactComponent=!0;var S=Array.isArray,w=Object.prototype.hasOwnProperty,O={current:null},I={key:!0,ref:!0,__self:!0,__source:!0};function M(t,e,n){var o,i={},s=null,a=null;if(null!=e)for(o in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(s=""+e.key),e)w.call(e,o)&&!I.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:r,type:t,key:s,ref:a,props:i,_owner:O.current}}function E(t){return"object"==typeof t&&null!==t&&t.$$typeof===r}var x=/\/+/g;function R(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function z(t,e,o,i,s){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var c=!1;if(null===t)c=!0;else switch(a){case"string":case"number":c=!0
;break;case"object":switch(t.$$typeof){case r:case n:c=!0}}if(c)return s=s(c=t),t=""===i?"."+R(c,0):i,S(s)?(o="",null!=t&&(o=t.replace(x,"$&/")+"/"),z(s,e,o,"",(function(t){return t}))):null!=s&&(E(s)&&(s=function(t,e){return{$$typeof:r,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(s,o+(!s.key||c&&c.key===s.key?"":(""+s.key).replace(x,"$&/")+"/")+t)),e.push(s)),1;if(c=0,i=""===i?".":i+":",S(t))for(var u=0;u<t.length;u++){var l=i+R(a=t[u],u);c+=z(a,e,o,l,s)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=d&&t[d]||t["@@iterator"])?t:null}(t),"function"==typeof l)for(t=l.call(t),u=0;!(a=t.next()).done;)c+=z(a=a.value,e,o,l=i+R(a,u++),s);else if("object"===a)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return c}function C(t,e,r){if(null==t)return t;var n=[],o=0;return z(t,n,"","",(function(t){return e.call(r,t,o++)})),n}function T(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var k={current:null},P={transition:null},A={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:P,ReactCurrentOwner:O};e.Children={map:C,forEach:function(t,e,r){C(t,(function(){e.apply(this,arguments)}),r)},count:function(t){var e=0;return C(t,(function(){e++})),e},toArray:function(t){return C(t,(function(t){return t}))||[]},only:function(t){if(!E(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=y,e.Fragment=o,e.Profiler=s,e.PureComponent=g,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,e.cloneElement=function(t,e,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=v({},t.props),i=t.key,s=t.ref,a=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,a=O.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(u in e)w.call(e,u)&&!I.hasOwnProperty(u)&&(o[u]=void 0===e[u]&&void 0!==c?c[u]:e[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:r,type:t.type,key:i,ref:s,props:o,_owner:a}},e.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=M,e.createFactory=function(t){var e=M.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:u,render:t}},e.isValidElement=E,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:T}},e.memo=function(t,e){
return{$$typeof:f,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=P.transition;P.transition={};try{t()}finally{P.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return k.current.useCallback(t,e)},e.useContext=function(t){return k.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return k.current.useDeferredValue(t)},e.useEffect=function(t,e){return k.current.useEffect(t,e)},e.useId=function(){return k.current.useId()},e.useImperativeHandle=function(t,e,r){return k.current.useImperativeHandle(t,e,r)},e.useInsertionEffect=function(t,e){return k.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return k.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return k.current.useMemo(t,e)},e.useReducer=function(t,e,r){return k.current.useReducer(t,e,r)},e.useRef=function(t){return k.current.useRef(t)},e.useState=function(t){return k.current.useState(t)},e.useSyncExternalStore=function(t,e,r){return k.current.useSyncExternalStore(t,e,r)},e.useTransition=function(){return k.current.useTransition()},e.version="18.2.0"},50959:(t,e,r)=>{"use strict";t.exports=r(95257)}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3016],{19175:t=>{t.exports={dialog:"dialog-CPGBbsmc",rounded:"rounded-CPGBbsmc",shadowed:"shadowed-CPGBbsmc",fullscreen:"fullscreen-CPGBbsmc",darker:"darker-CPGBbsmc",backdrop:"backdrop-CPGBbsmc"}},8326:t=>{t.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-qyCw0PaN",dragging:"dragging-qyCw0PaN",dialogAnimatedAppearance:"dialogAnimatedAppearance-qyCw0PaN",dialogAnimation:"dialogAnimation-qyCw0PaN",dialogTooltip:"dialogTooltip-qyCw0PaN"}},95711:(t,e,i)=>{"use strict";i.d(e,{PopupContext:()=>s});const s=i(50959).createContext(null)},63016:(t,e,i)=>{"use strict";i.d(e,{PopupDialog:()=>M});var s=i(50959),o=i(97754),n=i(50151),a=i(50655),r=i(67961),l=i(90186),h=i(19175);class c extends s.PureComponent{constructor(){super(...arguments),this._manager=new r.OverlapManager,this._handleSlot=t=>{this._manager.setContainer(t)}}render(){const{rounded:t=!0,shadowed:e=!0,fullscreen:i=!1,darker:n=!1,className:r,backdrop:c,containerTabIndex:d=-1}=this.props,u=o(r,h.dialog,t&&h.rounded,e&&h.shadowed,i&&h.fullscreen,n&&h.darker),p=(0,l.filterDataProps)(this.props),g=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return s.createElement(s.Fragment,null,s.createElement(a.SlotContext.Provider,{value:this._manager},c&&s.createElement("div",{onClick:this.props.onClickBackdrop,className:h.backdrop}),s.createElement("div",{...p,className:u,style:g,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:d,"aria-label":this.props.containerAriaLabel},this.props.children)),s.createElement(a.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:t,left:e,width:i,right:s,top:o,zIndex:n,height:a}=this.props;return{bottom:t,left:e,right:s,top:o,zIndex:n,maxWidth:i,height:a}}}var d=i(86431),u=i(76594),p=i(37160);function g(t,e,i,s){return t+e>s&&(t=s-e),t<i&&(t=i),t}function _(t){return{x:(0,p.clamp)(t.x,20,document.documentElement.clientWidth-20),y:(0,p.clamp)(t.y,20,window.innerHeight-20)}}function m(t){return{x:t.clientX,y:t.clientY}}function f(t){return{x:t.touches[0].clientX,y:t.touches[0].clientY}}class v{constructor(t,e,i={boundByScreen:!0}){this._drag=null,this._canBeTouchClick=!1,this._frame=null,this._onMouseDragStart=t=>{if(0!==t.button||this._isTargetNoDraggable(t))return;t.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const e=_(m(t));this._dragStart(e)},this._onTouchDragStart=t=>{if(this._isTargetNoDraggable(t))return;this._canBeTouchClick=!0,t.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const e=_(f(t));this._dragStart(e)},this._onMouseDragEnd=t=>{t.target instanceof Node&&this._header.contains(t.target)&&t.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3016],{19175:t=>{t.exports={dialog:"dialog-CPGBbsmc",rounded:"rounded-CPGBbsmc",shadowed:"shadowed-CPGBbsmc",fullscreen:"fullscreen-CPGBbsmc",darker:"darker-CPGBbsmc",backdrop:"backdrop-CPGBbsmc"}},8326:t=>{t.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","tooltip-offset":"20px",dialog:"dialog-qyCw0PaN",dragging:"dragging-qyCw0PaN",dialogAnimatedAppearance:"dialogAnimatedAppearance-qyCw0PaN",dialogAnimation:"dialogAnimation-qyCw0PaN",dialogTooltip:"dialogTooltip-qyCw0PaN"}},95711:(t,e,i)=>{"use strict";i.d(e,{PopupContext:()=>s});const s=i(50959).createContext(null)},63016:(t,e,i)=>{"use strict";i.d(e,{PopupDialog:()=>w});var s=i(50959),o=i(97754),n=i(50151),a=i(60508),r=i(67961),l=i(90186),h=i(19175);class d extends s.PureComponent{constructor(){super(...arguments),this._manager=new r.OverlapManager,this._handleSlot=t=>{this._manager.setContainer(t)}}render(){const{rounded:t=!0,shadowed:e=!0,fullscreen:i=!1,darker:n=!1,className:r,backdrop:d,containerTabIndex:c=-1}=this.props,u=o(r,h.dialog,t&&h.rounded,e&&h.shadowed,i&&h.fullscreen,n&&h.darker),p=(0,l.filterDataProps)(this.props),g=this.props.style?{...this._createStyles(),...this.props.style}:this._createStyles();return s.createElement(s.Fragment,null,s.createElement(a.SlotContext.Provider,{value:this._manager},d&&s.createElement("div",{onClick:this.props.onClickBackdrop,className:h.backdrop}),s.createElement("div",{...p,className:u,style:g,ref:this.props.reference,onFocus:this.props.onFocus,onMouseDown:this.props.onMouseDown,onMouseUp:this.props.onMouseUp,onClick:this.props.onClick,onKeyDown:this.props.onKeyDown,tabIndex:c,"aria-label":this.props.containerAriaLabel},this.props.children)),s.createElement(a.Slot,{reference:this._handleSlot}))}_createStyles(){const{bottom:t,left:e,width:i,right:s,top:o,zIndex:n,height:a}=this.props;return{bottom:t,left:e,right:s,top:o,zIndex:n,maxWidth:i,height:a}}}var c=i(86431),u=i(76594),p=i(37160);function g(t,e,i,s){return t+e>s&&(t=s-e),t<i&&(t=i),t}function _(t){return{x:(0,p.clamp)(t.x,20,document.documentElement.clientWidth-20),y:(0,p.clamp)(t.y,20,window.innerHeight-20)}}function m(t){return{x:t.clientX,y:t.clientY}}function f(t){return{x:t.touches[0].clientX,y:t.touches[0].clientY}}class v{constructor(t,e,i={boundByScreen:!0}){this._drag=null,this._canBeTouchClick=!1,this._frame=null,this._onMouseDragStart=t=>{if(0!==t.button||this._isTargetNoDraggable(t))return;t.preventDefault(),document.addEventListener("mousemove",this._onMouseDragMove),document.addEventListener("mouseup",this._onMouseDragEnd);const e=_(m(t));this._dragStart(e)},this._onTouchDragStart=t=>{if(this._isTargetNoDraggable(t))return;this._canBeTouchClick=!0,t.preventDefault(),this._header.addEventListener("touchmove",this._onTouchDragMove,{passive:!1});const e=_(f(t));this._dragStart(e)},this._onMouseDragEnd=t=>{t.target instanceof Node&&this._header.contains(t.target)&&t.preventDefault(),document.removeEventListener("mousemove",this._onMouseDragMove),
document.removeEventListener("mouseup",this._onMouseDragEnd),this._onDragStop()},this._onTouchDragEnd=t=>{this._header.removeEventListener("touchmove",this._onTouchDragMove),this._onDragStop(),this._canBeTouchClick&&(this._canBeTouchClick=!1,function(t){if(t instanceof SVGElement){const e=document.createEvent("SVGEvents");e.initEvent("click",!0,!0),t.dispatchEvent(e)}t instanceof HTMLElement&&t.click()}(t.target))},this._onMouseDragMove=t=>{const e=_(m(t));this._dragMove(e)},this._onTouchDragMove=t=>{this._canBeTouchClick=!1,t.preventDefault();const e=_(f(t));this._dragMove(e)},this._onDragStop=()=>{this._drag=null,this._header.classList.remove("dragging"),this._options.onDragEnd&&this._options.onDragEnd()},this._dialog=t,this._header=e,this._options=i,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}destroy(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)}updateOptions(t){this._options=t}_dragStart(t){const e=this._dialog.getBoundingClientRect();this._drag={startX:t.x,startY:t.y,finishX:t.x,finishY:t.y,dialogX:e.left,dialogY:e.top};const i=Math.round(e.left),s=Math.round(e.top);this._dialog.style.transform=`translate(${i}px, ${s}px)`,this._header.classList.add("dragging"),this._options.onDragStart&&this._options.onDragStart()}_dragMove(t){if(this._drag){if(this._drag.finishX=t.x,this._drag.finishY=t.y,null!==this._frame)return;this._frame=requestAnimationFrame((()=>{if(this._drag){const e=t.x-this._drag.startX,i=t.y-this._drag.startY;this._moveDialog(this._drag.dialogX+e,this._drag.dialogY+i)}this._frame=null}))}}_moveDialog(t,e){const i=this._dialog.getBoundingClientRect(),{boundByScreen:s}=this._options,o=g(t,i.width,s?0:-1/0,s?window.innerWidth:1/0),n=g(e,i.height,s?0:-1/0,s?window.innerHeight:1/0);this._dialog.style.transform=`translate(${Math.round(o)}px, ${Math.round(n)}px)`}_isTargetNoDraggable(t){return t.target instanceof Element&&null!==t.target.closest("[data-disable-drag]")}}const y={vertical:0};class D{constructor(t,e){this._frame=null,this._isFullscreen=!1,this._handleResize=()=>{null===this._frame&&(this._frame=requestAnimationFrame((()=>{this.recalculateBounds(),this._frame=null})))},this._dialog=t,this._guard=e.guard||y,this._calculateDialogPosition=e.calculateDialogPosition,this._initialHeight=t.style.height,window.addEventListener("resize",this._handleResize)}updateOptions(t){this._guard=t.guard||y,this._calculateDialogPosition=t.calculateDialogPosition}setFullscreen(t){this._isFullscreen!==t&&(this._isFullscreen=t,this.recalculateBounds())}centerAndFit(){
const{x:t,y:e}=this.getDialogsTopLeftCoordinates(),i=this._calcAvailableHeight(),s=this._calcDialogHeight();if(i===s)if(this._calculateDialogPosition){const{left:t,top:e}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else this._dialog.style.height=s+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${t}px, ${e}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:t,clientWidth:e}=document.documentElement,i=this._calcDialogHeight(),s=e/2-this._dialog.clientWidth/2,o=t/2-i/2;return{x:Math.round(s),y:Math.round(o)}}recalculateBounds(){const{clientHeight:t,clientWidth:e}=document.documentElement;if(this._isFullscreen)this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none";else{const{vertical:i}=this._guard;if(this._calculateDialogPosition){const s=this._calculateDialogPosition(this._dialog,{clientWidth:e,clientHeight:t},{vertical:i}),{left:o,top:n}=s;this._dialog.style.transform=`translate(${Math.round(o)}px, ${Math.round(n)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const s=this._dialog.getBoundingClientRect(),o=t-2*i,n=g(s.left,s.width,0,e),a=g(s.top,s.height,i,t);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(n)}px, ${Math.round(a)}px)`,this._dialog.style.height=o<s.height?o+"px":this._initialHeight}}}destroy(){window.removeEventListener("resize",this._handleResize),null!==this._frame&&(cancelAnimationFrame(this._frame),this._frame=null)}_calcDialogHeight(){const t=this._calcAvailableHeight();return t<this._dialog.clientHeight?t:this._dialog.clientHeight}_calcAvailableHeight(){return document.documentElement.clientHeight-2*this._guard.vertical}}var E=i(65718),x=i(95711),S=i(99054),T=i(8326);T["tooltip-offset"];class b extends s.PureComponent{constructor(t){super(t),this._dialog=null,this._cleanUpFunctions=[],this._prevActiveElement=null,this._handleDialogRef=t=>{const{reference:e}=this.props;this._dialog=t,"function"==typeof e&&e(t)},this._handleFocus=t=>{this._moveToTop()},this._handleMouseDown=t=>{this._moveToTop()},this._handleTouchStart=t=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return s.createElement(x.PopupContext.Provider,{value:this},s.createElement(u.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},(t=>s.createElement("div",{ref:t,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]},s.createElement(c,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:o(T.dialog,this.props.className)},!1,this.props.children)))))}componentDidMount(){const{draggable:t,boundByScreen:e,onDragStart:i}=this.props,s=(0,n.ensureNotNull)(this._dialog)
;if(t){const t=s.querySelector("[data-dragg-area]");if(t&&t instanceof HTMLElement){const o=new v(s,t,{boundByScreen:Boolean(e),onDragStart:i});this._cleanUpFunctions.push((()=>o.destroy())),this._drag=o}}this._prevActiveElement=document.activeElement,this.props.autofocus&&!s.contains(document.activeElement)&&s.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!0);const{guard:o,calculateDialogPosition:a}=this.props;if(this.props.resizeHandler)this._resize=this.props.resizeHandler;else{const t=new D(s,{guard:o,calculateDialogPosition:a});this._cleanUpFunctions.push((()=>t.destroy())),this._resize=t}this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus&&s.focus()}componentDidUpdate(){if(this._resize){const{guard:t,calculateDialogPosition:e}=this.props;this._resize.updateOptions({guard:t,calculateDialogPosition:e}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){var t;if(this.props.shouldReturnFocus&&this._prevActiveElement&&document.body.contains(this._prevActiveElement)&&(null===document.activeElement||document.activeElement===document.body||(null===(t=this._dialog)||void 0===t?void 0:t.contains(document.activeElement))))try{this._prevActiveElement.focus({preventScroll:!0})}catch(t){}for(const t of this._cleanUpFunctions)t();(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(t){if(this._resize&&this._dialog){const{x:e,y:i}=t,{x:s,y:o}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",`${e}px`),this._dialog.style.setProperty("--animationTranslateStartY",`${i}px`),this._dialog.style.setProperty("--animationTranslateEndX",`${s}px`),this._dialog.style.setProperty("--animationTranslateEndY",`${o}px`),this._dialog.classList.add(T.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}b.contextType=E.PortalContext,b.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0,shouldReturnFocus:!0};const M=(0,d.makeOverlapable)(b)},76594:(t,e,i)=>{"use strict";i.d(e,{OutsideEvent:()=>o});var s=i(36383);function o(t){const{children:e,...i}=t;return e((0,s.useOutsideEvent)(i))}},86431:(t,e,i)=>{"use strict";i.d(e,{makeOverlapable:()=>n});var s=i(50959),o=i(65718);function n(t){return class extends s.PureComponent{render(){
const{isOpened:e,root:i}=this.props;if(!e)return null;const n=s.createElement(t,{...this.props,zIndex:150});return"parent"===i?n:s.createElement(o.Portal,null,n)}}}}}]);
const{x:t,y:e}=this.getDialogsTopLeftCoordinates(),i=this._calcAvailableHeight(),s=this._calcDialogHeight();if(i===s)if(this._calculateDialogPosition){const{left:t,top:e}=this._calculateDialogPosition(this._dialog,document.documentElement,this._guard);this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else this._dialog.style.height=s+"px";this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${t}px, ${e}px)`}getDialogsTopLeftCoordinates(){const{clientHeight:t,clientWidth:e}=document.documentElement,i=this._calcDialogHeight(),s=e/2-this._dialog.clientWidth/2,o=t/2-i/2;return{x:Math.round(s),y:Math.round(o)}}recalculateBounds(){var t;const{clientHeight:e,clientWidth:i}=document.documentElement,{vertical:s}=this._guard,o=null===(t=this._calculateDialogPosition)||void 0===t?void 0:t.call(this,this._dialog,{clientWidth:i,clientHeight:e},{vertical:s});if(this._isFullscreen){if(this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width="100%",this._dialog.style.height="100%",this._dialog.style.transform="none",o){const{left:t,top:e,width:i,height:s}=o;this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`,i&&(this._dialog.style.width=`${i}px`,this._dialog.style.minWidth="unset"),s&&(this._dialog.style.height=`${s}px`,this._dialog.style.minHeight="unset")}}else if(o){const{left:t,top:e}=o;this._dialog.style.transform=`translate(${Math.round(t)}px, ${Math.round(e)}px)`}else{this._dialog.style.width="",this._dialog.style.height="";const t=this._dialog.getBoundingClientRect(),o=e-2*s,n=g(t.left,t.width,0,i),a=g(t.top,t.height,s,e);this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform=`translate(${Math.round(n)}px, ${Math.round(a)}px)`,this._dialog.style.height=o<t.height?o+"px":this._initialHeight}}destroy(){window.removeEventListener("resize",this._handleResize),null!==this._frame&&(cancelAnimationFrame(this._frame),this._frame=null)}_calcDialogHeight(){const t=this._calcAvailableHeight();return t<this._dialog.clientHeight?t:this._dialog.clientHeight}_calcAvailableHeight(){return document.documentElement.clientHeight-2*this._guard.vertical}}var E=i(65718),x=i(95711),S=i(99054),T=i(8326);T["tooltip-offset"];class M extends s.PureComponent{constructor(t){super(t),this._dialog=null,this._cleanUpFunctions=[],this._prevActiveElement=null,this._handleDialogRef=t=>{const{reference:e}=this.props;this._dialog=t,"function"==typeof e&&e(t)},this._handleFocus=t=>{this._moveToTop()},this._handleMouseDown=t=>{this._moveToTop()},this._handleTouchStart=t=>{this._moveToTop()},this.state={canFitTooltip:!1}}render(){return s.createElement(x.PopupContext.Provider,{value:this},s.createElement(u.OutsideEvent,{mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside},(t=>s.createElement("div",{ref:t,"data-outside-boundary-for":this.props.name,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart,"data-dialog-name":this.props["data-dialog-name"]
},s.createElement(d,{style:this._applyAnimationCSSVariables(),...this.props,reference:this._handleDialogRef,className:o(T.dialog,this.props.className)},!1,this.props.children)))))}componentDidMount(){const{draggable:t,boundByScreen:e,onDragStart:i}=this.props,s=(0,n.ensureNotNull)(this._dialog);if(t){const t=s.querySelector("[data-dragg-area]");if(t&&t instanceof HTMLElement){const o=new v(s,t,{boundByScreen:Boolean(e),onDragStart:i});this._cleanUpFunctions.push((()=>o.destroy())),this._drag=o}}this._prevActiveElement=document.activeElement,this.props.autofocus&&!s.contains(document.activeElement)&&s.focus(),(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!0);const{guard:o,calculateDialogPosition:a}=this.props;if(this.props.resizeHandler)this._resize=this.props.resizeHandler;else{const t=new D(s,{guard:o,calculateDialogPosition:a});this._cleanUpFunctions.push((()=>t.destroy())),this._resize=t}this.props.isAnimationEnabled&&this.props.growPoint&&this._applyAppearanceAnimation(this.props.growPoint),this.props.centeredOnMount&&this._resize.centerAndFit(),this._resize.setFullscreen(this._isFullScreen()),this.props.shouldForceFocus&&s.focus()}componentDidUpdate(){if(this._resize){const{guard:t,calculateDialogPosition:e}=this.props;this._resize.updateOptions({guard:t,calculateDialogPosition:e}),this._resize.setFullscreen(this._isFullScreen())}this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen),onDragStart:this.props.onDragStart})}componentWillUnmount(){var t;if(this.props.shouldReturnFocus&&this._prevActiveElement&&document.body.contains(this._prevActiveElement)&&(null===document.activeElement||document.activeElement===document.body||(null===(t=this._dialog)||void 0===t?void 0:t.contains(document.activeElement))))try{this._prevActiveElement.focus({preventScroll:!0})}catch(t){}for(const t of this._cleanUpFunctions)t();(this._isFullScreen()||this.props.fixedBody)&&(0,S.setFixedBodyState)(!1)}focus(){this._dialog&&this._dialog.focus()}centerAndFit(){this._resize&&this._resize.centerAndFit()}recalculateBounds(){this._resize&&this._resize.recalculateBounds()}_moveToTop(){null!==this.context&&this.context.moveToTop()}_applyAnimationCSSVariables(){return{"--animationTranslateStartX":null,"--animationTranslateStartY":null,"--animationTranslateEndX":null,"--animationTranslateEndY":null}}_applyAppearanceAnimation(t){if(this._resize&&this._dialog){const{x:e,y:i}=t,{x:s,y:o}=this._resize.getDialogsTopLeftCoordinates();this._dialog.style.setProperty("--animationTranslateStartX",`${e}px`),this._dialog.style.setProperty("--animationTranslateStartY",`${i}px`),this._dialog.style.setProperty("--animationTranslateEndX",`${s}px`),this._dialog.style.setProperty("--animationTranslateEndY",`${o}px`),this._dialog.classList.add(T.dialogAnimatedAppearance)}}_handleTooltipFit(){0}_isFullScreen(){return Boolean(this.props.fullscreen)}}M.contextType=E.PortalContext,M.defaultProps={boundByScreen:!0,draggable:!0,centeredOnMount:!0,shouldReturnFocus:!0};const w=(0,c.makeOverlapable)(M)},
76594:(t,e,i)=>{"use strict";i.d(e,{OutsideEvent:()=>o});var s=i(36383);function o(t){const{children:e,...i}=t;return e((0,s.useOutsideEvent)(i))}},86431:(t,e,i)=>{"use strict";i.d(e,{makeOverlapable:()=>n});var s=i(50959),o=i(65718);function n(t){return class extends s.PureComponent{render(){const{isOpened:e,root:i}=this.props;if(!e)return null;const n=s.createElement(t,{...this.props,zIndex:150});return"parent"===i?n:s.createElement(o.Portal,null,n)}}}}}]);

View File

@@ -0,0 +1,5 @@
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[306,8115],{59255:(t,e,n)=>{n.r(e),n.d(e,{default:()=>S});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__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),u="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,a=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function i(){n&&(n=!1,t()),r&&c()}function s(){u(i)}function c(){var t=Date.now();if(n){if(t-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,e);o=t}return c}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){o&&!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(){o&&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;s.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}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},l=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=b(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+p(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=l(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=p(i)}return e}(r),i=o.left+o.right,u=o.top+o.bottom,s=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=d(r,"left","right")+i),Math.round(c+u)!==n&&(c-=d(r,"top","bottom")+u)),!function(t){return t===l(t).document.documentElement}(t)){var a=Math.round(s+i)-e,f=Math.round(c+u)-n;1!==Math.abs(a)&&(s-=a),1!==Math.abs(f)&&(c-=f)}return b(o.left,o.top,s,c)}var _="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof l(t).SVGGraphicsElement}:function(t){return t instanceof l(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return o?_(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):v(t):h}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var m=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(t,e){var n,r,o,i,u,s,c,a=(r=(n=e).x,o=n.y,i=n.width,u=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),f(c,{x:r,y:o,width:i,height:u,top:o,right:r+i,bottom:u+o,left:r}),c);f(this,{target:t,contentRect:a})},g=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){
if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof l(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new w(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),E="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=a.getInstance(),r=new g(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){O.prototype[t]=function(){var e;return(e=E.get(this))[t].apply(e,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:O},95257:(t,e)=>{var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,_={};function y(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||d}function b(){}function m(t,e,n){this.props=t,this.context=e,this.refs=_,this.updater=n||d}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)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,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},b.prototype=y.prototype;var w=m.prototype=new b;w.constructor=m,v(w,y.prototype),w.isPureReactComponent=!0;var g=Array.isArray,E=Object.prototype.hasOwnProperty,O={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(t,e,r){var o,i={},u=null,s=null
;if(null!=e)for(o in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(u=""+e.key),e)E.call(e,o)&&!S.hasOwnProperty(o)&&(i[o]=e[o]);var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){for(var a=Array(c),f=0;f<c;f++)a[f]=arguments[f+2];i.children=a}if(t&&t.defaultProps)for(o in c=t.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:n,type:t,key:u,ref:s,props:i,_owner:O.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var M=/\/+/g;function A(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function C(t,e,o,i,u){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var c=!1;if(null===t)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case r:c=!0}}if(c)return u=u(c=t),t=""===i?"."+A(c,0):i,g(u)?(o="",null!=t&&(o=t.replace(M,"$&/")+"/"),C(u,e,o,"",(function(t){return t}))):null!=u&&(k(u)&&(u=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(M,"$&/")+"/")+t)),e.push(u)),1;if(c=0,i=""===i?".":i+":",g(t))for(var a=0;a<t.length;a++){var f=i+A(s=t[a],a);c+=C(s,e,o,f,u)}else if(f=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=p&&t[p]||t["@@iterator"])?t:null}(t),"function"==typeof f)for(t=f.call(t),a=0;!(s=t.next()).done;)c+=C(s=s.value,e,o,f=i+A(s,a++),u);else if("object"===s)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return c}function x(t,e,n){if(null==t)return t;var r=[],o=0;return C(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function j(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var $={current:null},T={transition:null},D={ReactCurrentDispatcher:$,ReactCurrentBatchConfig:T,ReactCurrentOwner:O};e.Children={map:x,forEach:function(t,e,n){x(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return x(t,(function(){e++})),e},toArray:function(t){return x(t,(function(t){return t}))||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=y,e.Fragment=o,e.Profiler=u,e.PureComponent=m,e.StrictMode=i,e.Suspense=f,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=v({},t.props),i=t.key,u=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(u=e.ref,s=O.current),void 0!==e.key&&(i=""+e.key),
t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(a in e)E.call(e,a)&&!S.hasOwnProperty(a)&&(o[a]=void 0===e[a]&&void 0!==c?c[a]:e[a])}var a=arguments.length-2;if(1===a)o.children=r;else if(1<a){c=Array(a);for(var f=0;f<a;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:n,type:t.type,key:i,ref:u,props:o,_owner:s}},e.createContext=function(t){return(t={$$typeof:c,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},e.createElement=R,e.createFactory=function(t){var e=R.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:a,render:t}},e.isValidElement=k,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:j}},e.memo=function(t,e){return{$$typeof:l,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=T.transition;T.transition={};try{t()}finally{T.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return $.current.useCallback(t,e)},e.useContext=function(t){return $.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return $.current.useDeferredValue(t)},e.useEffect=function(t,e){return $.current.useEffect(t,e)},e.useId=function(){return $.current.useId()},e.useImperativeHandle=function(t,e,n){return $.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return $.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return $.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return $.current.useMemo(t,e)},e.useReducer=function(t,e,n){return $.current.useReducer(t,e,n)},e.useRef=function(t){return $.current.useRef(t)},e.useState=function(t){return $.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return $.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return $.current.useTransition()},e.version="18.2.0"},50959:(t,e,n)=>{t.exports=n(95257)}}]);

View File

@@ -0,0 +1 @@
.button-LkmyTVRc{all:unset;display:flex;position:relative}.button-LkmyTVRc:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;top:0;width:100%}.button-LkmyTVRc:focus-visible:before{content:"";outline-style:solid}.button-LkmyTVRc.active-LkmyTVRc:before{outline-color:#fffc}.accessible-NQERJsv9{outline:none;overflow:visible;position:relative}.accessible-NQERJsv9:focus{outline:none}.accessible-NQERJsv9:focus-visible{outline:none}.accessible-NQERJsv9:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:1}.accessible-NQERJsv9:focus:after{display:block}.accessible-NQERJsv9:focus-visible:after{display:block}.accessible-NQERJsv9:focus:not(:focus-visible):after{display:none}.accessible-NQERJsv9:after{border-radius:6px}.accessible-NQERJsv9:not(.accessible-NQERJsv9.active-NQERJsv9):after{border-color:#2962ff}.accessible-NQERJsv9.active-NQERJsv9:after{border-color:#fffc}.item-zwyEh4hn{align-items:flex-start;font-size:16px;padding-right:20px;white-space:normal}.label-zwyEh4hn{line-height:24px;overflow:visible}.labelRow-zwyEh4hn{margin-bottom:2px;margin-top:2px}.toolbox-zwyEh4hn{margin-top:3px}

View File

@@ -0,0 +1 @@
.button-LkmyTVRc{all:unset;display:flex;position:relative}.button-LkmyTVRc:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;right:0;top:0;width:100%}.button-LkmyTVRc:focus-visible:before{content:"";outline-style:solid}.button-LkmyTVRc.active-LkmyTVRc:before{outline-color:#fffc}.accessible-NQERJsv9{outline:none;overflow:visible;position:relative}.accessible-NQERJsv9:focus{outline:none}.accessible-NQERJsv9:focus-visible{outline:none}.accessible-NQERJsv9:after{border-style:solid;border-width:2px;box-sizing:border-box;content:"";display:none;height:100%;pointer-events:none;position:absolute;right:0;top:0;width:100%;z-index:1}.accessible-NQERJsv9:focus:after{display:block}.accessible-NQERJsv9:focus-visible:after{display:block}.accessible-NQERJsv9:focus:not(:focus-visible):after{display:none}.accessible-NQERJsv9:after{border-radius:6px}.accessible-NQERJsv9:not(.accessible-NQERJsv9.active-NQERJsv9):after{border-color:#2962ff}.accessible-NQERJsv9.active-NQERJsv9:after{border-color:#fffc}.item-zwyEh4hn{align-items:flex-start;font-size:16px;padding-left:20px;white-space:normal}.label-zwyEh4hn{line-height:24px;overflow:visible}.labelRow-zwyEh4hn{margin-bottom:2px;margin-top:2px}.toolbox-zwyEh4hn{margin-top:3px}

View File

@@ -1,5 +1,5 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3179],{40191:e=>{e.exports={menuWrap:"menuWrap-Kq3ruQo8",isMeasuring:"isMeasuring-Kq3ruQo8",scrollWrap:"scrollWrap-Kq3ruQo8",momentumBased:"momentumBased-Kq3ruQo8",menuBox:"menuBox-Kq3ruQo8",isHidden:"isHidden-Kq3ruQo8"}},36383:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>r});var s=n(50959),i=n(27267);function r(e){const{click:t,mouseDown:n,touchEnd:r,touchStart:o,handler:l,reference:a,ownerDocument:u=document}=e,c=(0,s.useRef)(null),d=(0,s.useRef)(new CustomEvent("timestamp").timeStamp);return(0,s.useLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:r,touchStart:o},s=a?a.current:c.current;return(0,i.addOutsideEventListener)(d.current,s,l,u,e)}),[t,n,r,o,l]),a||c}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>i});var s=n(50959);const i=s.forwardRef(((e,t)=>{const{icon:n="",...i}=e;return s.createElement("span",{...i,ref:t,dangerouslySetInnerHTML:{__html:n}})}))},83021:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>i,SubmenuHandler:()=>r});var s=n(50959);const i=s.createContext(null);function r(e){const[t,n]=(0,s.useState)(null),r=(0,s.useRef)(null),o=(0,s.useRef)(new Map);return(0,s.useEffect)((()=>()=>{null!==r.current&&clearTimeout(r.current)}),[]),s.createElement(i.Provider,{value:{current:t,setCurrent:function(e){null!==r.current&&(clearTimeout(r.current),r.current=null);null===t?n(e):r.current=setTimeout((()=>{r.current=null,n(e)}),100)},registerSubmenu:function(e,t){return o.current.set(e,t),()=>{o.current.delete(e)}},isSubmenuNode:function(e){return Array.from(o.current.values()).some((t=>t(e)))}}},e.children)}},67961:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>r,getRootOverlapManager:()=>l});var s=n(50151);class i{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class r{constructor(e=document){this._storage=new i,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const s=this._document.createElement("div");if(s.style.position=t.position,s.style.zIndex=this._index.toString(),s.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(s);else if(t.index<=0)this._container.insertBefore(s,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(s,e)}}else"reverse"===t.direction?this._container.insertBefore(s,this._container.firstChild):this._container.appendChild(s);return this._windows.set(e,s),++this._index,s}unregisterWindow(e){
this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const o=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,s.ensureDefined)(o.get(t));{const t=new r(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return o.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const s=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),s=n.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const o=r.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=i-o}return e}})();function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function r(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function o(e,t){return parseInt(r(e,t))}let l=0,a=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++l){const e=r(t,"overflow"),l=o(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(i(n,"right",`${s()}px`),t.style.paddingRight=`${l+s()}px`,a=!0),t.classList.add("i-no-scroll")}else if(!e&&l>0&&0==--l&&(t.classList.remove("i-no-scroll"),a)){i(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=s()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>i});var s=n(50959);class i extends s.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>s});const s=n(50959).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>_,Menu:()=>v});var s=n(50959),i=n(97754),r=n.n(i),o=n(50151),l=n(37160),a=n(21861),u=n(50655),c=n(59064),d=n(67961),h=n(4741),p=n(83021),m=n(64706),f=n(40191);const _=f;class v extends s.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,
this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleCustomRemeasureDelegate=()=>{this._resizeForced(),this._handleMeasure()},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,s,i,r,a,u,c,d,h,p,m,f;if(this.state.isMeasureValid&&!t)return;const{position:_}=this.props,v=(0,o.ensureNotNull)(this._containerRef);let g=v.getBoundingClientRect();const y=document.documentElement.clientHeight,x=document.documentElement.clientWidth,C=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let w=y-0-C;const b=g.height>w;if(b){(0,o.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",g=v.getBoundingClientRect()}const{width:M,height:S}=g,W="function"==typeof _?_(M,S,x,y):_,E=null!==(i=null===(s=null==W?void 0:W.indentFromWindow)||void 0===s?void 0:s.left)&&void 0!==i?i:0,R=x-(null!==(r=W.overrideWidth)&&void 0!==r?r:M)-(null!==(u=null===(a=null==W?void 0:W.indentFromWindow)||void 0===a?void 0:a.right)&&void 0!==u?u:0),O=(0,l.clamp)(W.x,E,Math.max(E,R)),N=(null!==(d=null===(c=null==W?void 0:W.indentFromWindow)||void 0===c?void 0:c.top)&&void 0!==d?d:0)+C,D=y-(null!==(h=W.overrideHeight)&&void 0!==h?h:S)-(null!==(m=null===(p=null==W?void 0:W.indentFromWindow)||void 0===p?void 0:p.bottom)&&void 0!==m?m:0);let T=(0,l.clamp)(W.y,N,Math.max(N,D));if(W.forbidCorrectYCoord&&T<W.y&&(w-=W.y-T,T=W.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&W.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const P=null!==(f=W.overrideHeight)&&void 0!==f?f:b?w:void 0;this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:P,appearingMenuWidth:t?this.state.appearingMenuWidth:W.overrideWidth,appearingPosition:{x:O,y:T},isMeasureValid:!0},(()=>{this._restoreScrollPosition(),e&&e()}))},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,o.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop},
this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout((()=>{this._handleMeasure({forceRecalcPosition:!0})}),80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame((()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null}))))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.subscribe(this,this._handleGlobalClose),null==t||t.subscribe(null,this._handleCustomRemeasureDelegate),window.addEventListener("resize",this._resize);const n=null!==this.context;this._hotkeys||n||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleGlobalClose()}})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.unsubscribe(this,this._handleGlobalClose),null==t||t.unsubscribe(null,this._handleCustomRemeasureDelegate),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,children:h,minWidth:_,theme:v=f,className:y,maxHeight:x,onMouseOver:C,onMouseOut:w,onKeyDown:b,onFocus:M,onBlur:S}=this.props,{appearingMenuHeight:W,appearingMenuWidth:E,appearingPosition:R,isMeasureValid:O}=this.state,N={"--ui-kit-menu-max-width":`${R&&R.x}px`,maxWidth:"calc(100vw - var(--ui-kit-menu-max-width) - 6px)"};return s.createElement(m.MenuContext.Provider,{value:this},s.createElement(p.SubmenuHandler,null,s.createElement(u.SlotContext.Provider,{value:this._manager},s.createElement("div",{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,className:r()(y,v.menuWrap,!O&&v.isMeasuring),style:{height:W,left:R&&R.x,minWidth:_,position:"fixed",top:R&&R.y,width:E,...this.props.limitMaxWidth&&N},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:C,onMouseOut:w,onKeyDown:b,onFocus:M,onBlur:S},s.createElement("div",{className:r()(v.scrollWrap,!this.props.noMomentumBasedScroll&&v.momentumBased),style:{overflowY:void 0!==W?"scroll":"auto",maxHeight:x},onScrollCapture:this._handleScroll,
ref:this._handleScrollWrapRef},s.createElement(g,{className:v.menuBox},h)))),s.createElement(u.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}focus(e){var t;null===(t=this._containerRef)||void 0===t||t.focus(e)}}function g(e){const t=(0,o.ensureNotNull)((0,s.useContext)(p.SubmenuContext)),n=s.useRef(null);return s.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(s=e.target,null===(i=n.current)||void 0===i?void 0:i.contains(s))))return;var s,i;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}v.contextType=p.SubmenuContext},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>r});var s=n(50959),i=n(59064);const r=s.createContext(i.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>u});var s=n(50959),i=n(962),r=n(36174),o=n(67961),l=n(50655);class a extends s.PureComponent{constructor(){super(...arguments),this._uuid=(0,r.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",i.createPortal(s.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,o.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const u=s.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>i,SlotContext:()=>r});var s=n(50959);class i extends s.Component{shouldComponentUpdate(){return!1}render(){return s.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const r=s.createContext(null)}}]);
this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const o=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,s.ensureDefined)(o.get(t));{const t=new r(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return o.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const s=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),s=n.style;s.visibility="hidden",s.width="100px",s.msOverflowStyle="scrollbar",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const r=document.createElement("div");r.style.width="100%",n.appendChild(r);const o=r.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=i-o}return e}})();function i(e,t,n){null!==e&&e.style.setProperty(t,n)}function r(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function o(e,t){return parseInt(r(e,t))}let l=0,a=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++l){const e=r(t,"overflow"),l=o(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(i(n,"right",`${s()}px`),t.style.paddingRight=`${l+s()}px`,a=!0),t.classList.add("i-no-scroll")}else if(!e&&l>0&&0==--l&&(t.classList.remove("i-no-scroll"),a)){i(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=s()),t.style.paddingRight=(e<0?0:e)+"px",a=!1}}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>i});var s=n(50959);class i extends s.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},64706:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>s});const s=n(50959).createContext(null)},27317:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>_,Menu:()=>v});var s=n(50959),i=n(97754),r=n.n(i),o=n(50151),l=n(37160),a=n(21861),u=n(60508),c=n(59064),d=n(67961),h=n(4741),p=n(83021),m=n(64706),f=n(40191);const _=f;class v extends s.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,
this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleCustomRemeasureDelegate=()=>{this._resizeForced(),this._handleMeasure()},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{var n,s,i,r,a,u,c,d,h,p,m,f;if(this.state.isMeasureValid&&!t)return;const{position:_}=this.props,v=(0,o.ensureNotNull)(this._containerRef);let g=v.getBoundingClientRect();const y=document.documentElement.clientHeight,x=document.documentElement.clientWidth,C=null!==(n=this.props.closeOnScrollOutsideOffset)&&void 0!==n?n:0;let b=y-0-C;const w=g.height>b;if(w){(0,o.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",g=v.getBoundingClientRect()}const{width:M,height:S}=g,W="function"==typeof _?_(M,S,x,y):_,R=null!==(i=null===(s=null==W?void 0:W.indentFromWindow)||void 0===s?void 0:s.left)&&void 0!==i?i:0,E=x-(null!==(r=W.overrideWidth)&&void 0!==r?r:M)-(null!==(u=null===(a=null==W?void 0:W.indentFromWindow)||void 0===a?void 0:a.right)&&void 0!==u?u:0),O=(0,l.clamp)(W.x,R,Math.max(R,E)),N=(null!==(d=null===(c=null==W?void 0:W.indentFromWindow)||void 0===c?void 0:c.top)&&void 0!==d?d:0)+C,D=y-(null!==(h=W.overrideHeight)&&void 0!==h?h:S)-(null!==(m=null===(p=null==W?void 0:W.indentFromWindow)||void 0===p?void 0:p.bottom)&&void 0!==m?m:0);let T=(0,l.clamp)(W.y,N,Math.max(N,D));if(W.forbidCorrectYCoord&&T<W.y&&(b-=W.y-T,T=W.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&W.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const P=null!==(f=W.overrideHeight)&&void 0!==f?f:w?b:void 0;this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:P,appearingMenuWidth:t?this.state.appearingMenuWidth:W.overrideWidth,appearingPosition:{x:O,y:T},isMeasureValid:!0},(()=>{this._restoreScrollPosition(),e&&e()}))},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,o.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,o.ensureNotNull)(this._scrollWrapRef).scrollTop},
this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout((()=>{this._handleMeasure({forceRecalcPosition:!0})}),80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame((()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null}))))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.subscribe(this,this._handleGlobalClose),null==t||t.subscribe(null,this._handleCustomRemeasureDelegate),window.addEventListener("resize",this._resize);const n=null!==this.context;this._hotkeys||n||(this._hotkeys=h.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleGlobalClose()}})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){const{customCloseDelegate:e=c.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.unsubscribe(this,this._handleGlobalClose),null==t||t.unsubscribe(null,this._handleCustomRemeasureDelegate),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,children:h,minWidth:_,theme:v=f,className:y,maxHeight:x,onMouseOver:C,onMouseOut:b,onKeyDown:w,onFocus:M,onBlur:S}=this.props,{appearingMenuHeight:W,appearingMenuWidth:R,appearingPosition:E,isMeasureValid:O}=this.state,N={"--ui-kit-menu-max-width":`${E&&E.x}px`,maxWidth:"calc(100vw - var(--ui-kit-menu-max-width) - 6px)"};return s.createElement(m.MenuContext.Provider,{value:this},s.createElement(p.SubmenuHandler,null,s.createElement(u.SlotContext.Provider,{value:this._manager},s.createElement("div",{id:e,role:t,"aria-label":n,"aria-labelledby":i,"aria-activedescendant":o,"aria-hidden":l,"aria-describedby":c,"aria-invalid":d,className:r()(y,v.menuWrap,!O&&v.isMeasuring),style:{height:W,left:E&&E.x,minWidth:_,position:"fixed",top:E&&E.y,width:R,...this.props.limitMaxWidth&&N},"data-name":this.props["data-name"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:a.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:C,onMouseOut:b,onKeyDown:w,onFocus:M,onBlur:S},s.createElement("div",{className:r()(v.scrollWrap,!this.props.noMomentumBasedScroll&&v.momentumBased),style:{overflowY:void 0!==W?"scroll":"auto",maxHeight:x},onScrollCapture:this._handleScroll,
ref:this._handleScrollWrapRef},s.createElement(g,{className:v.menuBox},h)))),s.createElement(u.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}focus(e){var t;null===(t=this._containerRef)||void 0===t||t.focus(e)}blur(){var e;null===(e=this._containerRef)||void 0===e||e.blur()}}function g(e){const t=(0,o.ensureNotNull)((0,s.useContext)(p.SubmenuContext)),n=s.useRef(null);return s.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(s=e.target,null===(i=n.current)||void 0===i?void 0:i.contains(s))))return;var s,i;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-name":"menu-inner"},e.children)}v.contextType=p.SubmenuContext},29197:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>r});var s=n(50959),i=n(59064);const r=s.createContext(i.globalCloseDelegate)},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>a,PortalContext:()=>u});var s=n(50959),i=n(962),r=n(36174),o=n(67961),l=n(60508);class a extends s.PureComponent{constructor(){super(...arguments),this._uuid=(0,r.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",i.createPortal(s.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,o.getRootOverlapManager)():this.context}}a.contextType=l.SlotContext;const u=s.createContext(null)},60508:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>i,SlotContext:()=>r});var s=n(50959);class i extends s.Component{shouldComponentUpdate(){return!1}render(){return s.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const r=s.createContext(null)}}]);

View File

@@ -0,0 +1,7 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3291],{59142:function(e,t){var n,r,o;r=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var r={get passive(){n=!0}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],i=!1,u=-1,c=void 0,s=void 0,l=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},f=function(e){var t=e||window.event;return!!l(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},d=function(){setTimeout((function(){void 0!==s&&(document.body.style.paddingRight=s,s=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};e.disableBodyScroll=function(e,r){if(o){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!a.some((function(t){return t.targetElement===e}))){var d={targetElement:e,options:r||{}};a=[].concat(t(a),[d]),e.ontouchstart=function(e){1===e.targetTouches.length&&(u=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,r,o,a;1===t.targetTouches.length&&(r=e,a=(n=t).targetTouches[0].clientY-u,!l(n.target)&&(r&&0===r.scrollTop&&0<a||(o=r)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&a<0?f(n):n.stopPropagation()))},i||(document.addEventListener("touchmove",f,n?{passive:!1}:void 0),i=!0)}}else{m=r,setTimeout((function(){if(void 0===s){var e=!!m&&!0===m.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(s=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var p={targetElement:e,options:r||{}};a=[].concat(t(a),[p])}var m},e.clearAllBodyScrollLocks=function(){o?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),i&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),i=!1),a=[],u=-1):(d(),a=[])},e.enableBodyScroll=function(e){if(o){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,a=a.filter((function(t){return t.targetElement!==e})),i&&0===a.length&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),i=!1)}else 1===a.length&&a[0].targetElement===e?(d(),a=[]):a=a.filter((function(t){return t.targetElement!==e}))}},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",
white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},92910:e=>{e.exports={separator:"separator-QjUlCDId",small:"small-QjUlCDId",normal:"normal-QjUlCDId",large:"large-QjUlCDId"}},39416:(e,t,n)=>{"use strict";n.d(t,{useFunctionalRefObject:()=>a});var r=n(50959),o=n(43010);function a(e){const t=(0,r.useMemo)((()=>function(e){const t=n=>{e(n),t.current=n};return t.current=null,t}((e=>{u.current(e)}))),[]),n=(0,r.useRef)(null),a=t=>{if(null===t)return i(n.current,t),void(n.current=null);n.current!==e&&(n.current=e,i(n.current,t))},u=(0,r.useRef)(a);return u.current=a,(0,o.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return u.current(t.current),()=>u.current(null)}),[e]),t}function i(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},43010:(e,t,n)=>{"use strict";n.d(t,{useIsomorphicLayoutEffect:()=>o});var r=n(50959);function o(e,t){("undefined"==typeof window?r.useEffect:r.useLayoutEffect)(e,t)}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>s});var r,o=n(50959),a=n(97754),i=n(74991),u=n(25650),c=n.n(u);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class s extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,i=a(c().item,c()[t],c()[n]);return o.createElement("span",{className:a(c().loader,r&&c().static,this._getStateClass(),e)},o.createElement("span",{className:i}),o.createElement("span",{className:i}),o.createElement("span",{className:i}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*i.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return c()["loader-initial"];case r.Appear:return c()["loader-appear"];default:return""}}}},47201:(e,t,n)=>{"use strict";function r(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>r})},50238:(e,t,n)=>{"use strict";n.d(t,{useRovingTabindexElement:()=>i});var r=n(50959),o=n(39416),a=n(16838);function i(e,t=[]){const[n,i]=(0,r.useState)(!1),u=(0,o.useFunctionalRefObject)(e);return(0,r.useLayoutEffect)((()=>{if(!a.PLATFORM_ACCESSIBILITY_ENABLED)return;const e=u.current;if(null===e)return;const t=e=>{switch(e.type){case"roving-tabindex:main-element":i(!0);break;case"roving-tabindex:secondary-element":i(!1)}};return e.addEventListener("roving-tabindex:main-element",t),e.addEventListener("roving-tabindex:secondary-element",t),()=>{e.removeEventListener("roving-tabindex:main-element",t),e.removeEventListener("roving-tabindex:secondary-element",t)}}),t),[u,a.PLATFORM_ACCESSIBILITY_ENABLED?n?0:-1:void 0]}},51613:(e,t,n)=>{"use strict";n.d(t,{PopupMenuSeparator:()=>u});var r=n(50959),o=n(97754),a=n.n(o),i=n(92910);function u(e){
const{size:t="normal",className:n,ariaHidden:o=!1}=e;return r.createElement("div",{className:a()(i.separator,"small"===t&&i.small,"normal"===t&&i.normal,"large"===t&&i.large,n),role:"separator","aria-hidden":o})}},40173:(e,t,n)=>{"use strict";function r(e,t,n={}){return Object.assign({},e,function(e,t,n={}){const r=Object.assign({},t);for(const o of Object.keys(t)){const a=n[o]||o;a in e&&(r[o]=[e[a],t[o]].join(" "))}return r}(e,t,n))}n.d(t,{mergeThemes:()=>r})},6132:(e,t,n)=>{"use strict";var r=n(22134);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},19036:(e,t,n)=>{e.exports=n(6132)()},22134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95257:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=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"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function h(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function E(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}h.prototype.isReactComponent={},h.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")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=h.prototype;var g=b.prototype=new E;g.constructor=b,v(g,h.prototype),g.isPureReactComponent=!0;var _=Array.isArray,T=Object.prototype.hasOwnProperty,w={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function L(e,t,r){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)T.call(t,o)&&!S.hasOwnProperty(o)&&(a[o]=t[o]);var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];a.children=s}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:n,type:e,key:i,ref:u,props:a,_owner:w.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g
;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,a,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c=!1;if(null===e)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return i=i(c=e),e=""===a?"."+A(c,0):a,_(i)?(o="",null!=e&&(o=e.replace(I,"$&/")+"/"),R(i,t,o,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(I,"$&/")+"/")+e)),t.push(i)),1;if(c=0,a=""===a?".":a+":",_(e))for(var s=0;s<e.length;s++){var l=a+A(u=e[s],s);c+=R(u,t,o,l,i)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),s=0;!(u=e.next()).done;)c+=R(u=u.value,t,o,l=a+A(u,s++),i);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function B(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var k={current:null},x={transition:null},M={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:x,ReactCurrentOwner:w};t.Children={map:B,forEach:function(e,t,n){B(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=h,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),a=e.key,i=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,u=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)T.call(t,s)&&!S.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){c=Array(s);for(var l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:u}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,
_context:e},e.Consumer=e},t.createElement=L,t.createFactory=function(e){var t=L.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=x.transition;x.transition={};try{e()}finally{x.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return k.current.useCallback(e,t)},t.useContext=function(e){return k.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return k.current.useDeferredValue(e)},t.useEffect=function(e,t){return k.current.useEffect(e,t)},t.useId=function(){return k.current.useId()},t.useImperativeHandle=function(e,t,n){return k.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return k.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return k.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return k.current.useMemo(e,t)},t.useReducer=function(e,t,n){return k.current.useReducer(e,t,n)},t.useRef=function(e){return k.current.useRef(e)},t.useState=function(e){return k.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return k.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return k.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},44242:e=>{e.exports={title:"title-u3QJgF_p"}},81261:(e,t,n)=>{"use strict";n.d(t,{focusFirstMenuItem:()=>s,handleAccessibleMenuFocus:()=>u,handleAccessibleMenuKeyDown:()=>c,queryMenuElements:()=>d});var r=n(16838),o=n(71468),a=n(68335);const i=[37,39,38,40];function u(e,t){e.target&&r.PLATFORM_ACCESSIBILITY_ENABLED&&e.relatedTarget===t.current&&s(e.target)}function c(e){if(!r.PLATFORM_ACCESSIBILITY_ENABLED)return;if(e.defaultPrevented)return;const t=(0,a.hashFromEvent)(e);if(!i.includes(t))return;const n=document.activeElement;if(!(document.activeElement instanceof HTMLElement))return;const u=d(e.currentTarget).sort(r.navigationOrderComparator);if(0===u.length)return;const c=document.activeElement.closest('[data-role="menuitem"]');if(!(c instanceof HTMLElement))return;const s=u.indexOf(c);if(-1===s)return;const m=p(c),v=m.indexOf(document.activeElement),y=-1!==v,h=e=>{n&&(0,o.becomeSecondaryElement)(n),(0,o.becomeMainElement)(e),e.focus()};switch(t){case 37:if(!m.length)return;e.preventDefault(),h(0===v?u[s]:y?l(m,v,-1):m[m.length-1]);break;case 39:if(!m.length)return;e.preventDefault(),v===m.length-1?h(u[s]):h(y?l(m,v,1):m[0]);break;case 38:{e.preventDefault();const t=l(u,s,-1);if(y){const e=f(t,v);h(e||t);break}h(t);break}case 40:{e.preventDefault();const t=l(u,s,1);if(y){const e=f(t,v);h(e||t);break}h(t)}}}function s(e){const[t]=d(e);t&&((0,o.becomeMainElement)(t),t.focus())}function l(e,t,n){return e[(t+e.length+n)%e.length]}function f(e,t){const n=p(e)
;return n.length?n[(t+n.length)%n.length]:null}function d(e){return Array.from(e.querySelectorAll('[data-role="menuitem"]:not([disabled], [aria-disabled])')).filter((0,r.createScopedVisibleElementFilter)(e))}function p(e){return Array.from(e.querySelectorAll("[tabindex]:not([disabled], [aria-disabled])")).filter((0,r.createScopedVisibleElementFilter)(e))}},71468:(e,t,n)=>{"use strict";function r(e){e.dispatchEvent(new CustomEvent("roving-tabindex:main-element"))}function o(e){e.dispatchEvent(new CustomEvent("roving-tabindex:secondary-element"))}n.d(t,{becomeMainElement:()=>r,becomeSecondaryElement:()=>o})},36898:(e,t,n)=>{"use strict";n.d(t,{useMouseClickAutoBlur:()=>i});var r=n(50959),o=n(76460),a=n(16838);function i(e){(0,r.useEffect)((()=>{if(!a.PLATFORM_ACCESSIBILITY_ENABLED)return;const t=t=>{const n=e.current;null!==n&&document.activeElement instanceof HTMLElement&&((0,o.isKeyboardClick)(t)||n.contains(document.activeElement)&&"INPUT"!==document.activeElement.tagName&&document.activeElement.blur())};return window.addEventListener("click",t,!0),()=>window.removeEventListener("click",t,!0)}),[])}},82962:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetMenuSummary:()=>i});var r=n(50959),o=n(97754),a=n(44242);function i(e){return r.createElement("div",{className:o(e.className,a.title)},e.children)}},88066:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_TOOLBAR_BUTTON_THEME:()=>u,ToolbarButton:()=>c});var r=n(50959),o=n(31409),a=n(50238),i=n(16838);const u=o.DEFAULT_TOOL_WIDGET_BUTTON_THEME,c=(0,r.forwardRef)((function(e,t){const{tooltip:n,...u}=e,[c,s]=(0,a.useRovingTabindexElement)(t);return r.createElement(o.ToolWidgetButton,{"aria-label":i.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...u,tag:i.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",ref:c,tabIndex:s,"data-tooltip":n})}))},48889:(e,t,n)=>{"use strict";n.d(t,{ToolbarIconButton:()=>u});var r=n(50959),o=n(50238),a=n(16838),i=n(50813);const u=(0,r.forwardRef)((function(e,t){const{tooltip:n,...u}=e,[c,s]=(0,o.useRovingTabindexElement)(t);return r.createElement(i.ToolWidgetIconButton,{"aria-label":a.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...u,tag:a.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",ref:c,tabIndex:s,"data-tooltip":n})}))},50298:(e,t,n)=>{"use strict";n.d(t,{ToolbarMenuButton:()=>l});var r=n(50959),o=n(39416),a=n(8087),i=n(50238),u=n(16838),c=n(36898),s=n(81261);const l=(0,r.forwardRef)((function(e,t){const{tooltip:n,menuReference:l=null,...f}=e,[d,p]=(0,i.useRovingTabindexElement)(null),m=(0,o.useFunctionalRefObject)(l);return(0,c.useMouseClickAutoBlur)(m),r.createElement(a.ToolWidgetMenu,{"aria-label":u.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...f,ref:t,tag:u.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",reference:d,tabIndex:p,"data-tooltip":n,menuReference:m,onMenuKeyDown:s.handleAccessibleMenuKeyDown,onMenuFocus:e=>(0,s.handleAccessibleMenuFocus)(e,d)})}))},5962:(e,t,n)=>{"use strict";n.d(t,{RegistryProvider:()=>c,registryContextType:()=>s,validateRegistry:()=>u});var r=n(50959),o=n(19036),a=n.n(o);const i=r.createContext({});function u(e,t){
a().checkPropTypes(t,e,"context","RegistryContext")}function c(e){const{validation:t,value:n}=e;return u(n,t),r.createElement(i.Provider,{value:n},e.children)}function s(){return i}}}]);

View File

@@ -1,7 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3291],{59142:function(e,t){var n,r,o;r=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var r={get passive(){n=!0}};window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),a=[],i=!1,u=-1,c=void 0,s=void 0,l=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},f=function(e){var t=e||window.event;return!!l(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},d=function(){setTimeout((function(){void 0!==s&&(document.body.style.paddingRight=s,s=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)}))};e.disableBodyScroll=function(e,r){if(o){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!a.some((function(t){return t.targetElement===e}))){var d={targetElement:e,options:r||{}};a=[].concat(t(a),[d]),e.ontouchstart=function(e){1===e.targetTouches.length&&(u=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,r,o,a;1===t.targetTouches.length&&(r=e,a=(n=t).targetTouches[0].clientY-u,!l(n.target)&&(r&&0===r.scrollTop&&0<a||(o=r)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&a<0?f(n):n.stopPropagation()))},i||(document.addEventListener("touchmove",f,n?{passive:!1}:void 0),i=!0)}}else{m=r,setTimeout((function(){if(void 0===s){var e=!!m&&!0===m.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(s=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}));var p={targetElement:e,options:r||{}};a=[].concat(t(a),[p])}var m},e.clearAllBodyScrollLocks=function(){o?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),i&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),i=!1),a=[],u=-1):(d(),a=[])},e.enableBodyScroll=function(e){if(o){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,a=a.filter((function(t){return t.targetElement!==e})),i&&0===a.length&&(document.removeEventListener("touchmove",f,n?{passive:!1}:void 0),i=!1)}else 1===a.length&&a[0].targetElement===e?(d(),a=[]):a=a.filter((function(t){return t.targetElement!==e}))}},void 0===(o="function"==typeof n?n.apply(t,r):n)||(e.exports=o)},97754:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n
;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)&&n.length){var i=o.apply(null,n);i&&e.push(i)}else if("object"===a)for(var u in n)r.call(n,u)&&n[u]&&e.push(u)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},92910:e=>{e.exports={separator:"separator-QjUlCDId",small:"small-QjUlCDId",normal:"normal-QjUlCDId",large:"large-QjUlCDId"}},39416:(e,t,n)=>{"use strict";n.d(t,{useFunctionalRefObject:()=>a});var r=n(50959),o=n(43010);function a(e){const t=(0,r.useMemo)((()=>function(e){const t=n=>{e(n),t.current=n};return t.current=null,t}((e=>{u.current(e)}))),[]),n=(0,r.useRef)(null),a=t=>{if(null===t)return i(n.current,t),void(n.current=null);n.current!==e&&(n.current=e,i(n.current,t))},u=(0,r.useRef)(a);return u.current=a,(0,o.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return u.current(t.current),()=>u.current(null)}),[e]),t}function i(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},43010:(e,t,n)=>{"use strict";n.d(t,{useIsomorphicLayoutEffect:()=>o});var r=n(50959);function o(e,t){("undefined"==typeof window?r.useEffect:r.useLayoutEffect)(e,t)}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>s});var r,o=n(50959),a=n(97754),i=n(74991),u=n(25650),c=n.n(u);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class s extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,i=a(c().item,c()[t],c()[n]);return o.createElement("span",{className:a(c().loader,r&&c().static,this._getStateClass(),e)},o.createElement("span",{className:i}),o.createElement("span",{className:i}),o.createElement("span",{className:i}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*i.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return c()["loader-initial"];case r.Appear:return c()["loader-appear"];default:return""}}}},47201:(e,t,n)=>{"use strict";function r(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>r})},50238:(e,t,n)=>{"use strict";n.d(t,{useRovingTabindexElement:()=>i});var r=n(50959),o=n(39416),a=n(16838);function i(e,t=[]){const[n,i]=(0,r.useState)(!1),u=(0,o.useFunctionalRefObject)(e);return(0,r.useEffect)((()=>{if(!a.PLATFORM_ACCESSIBILITY_ENABLED)return;const e=u.current;if(null===e)return;const t=e=>{switch(e.type){
case"roving-tabindex:main-element":i(!0);break;case"roving-tabindex:secondary-element":i(!1)}};return e.addEventListener("roving-tabindex:main-element",t),e.addEventListener("roving-tabindex:secondary-element",t),()=>{e.removeEventListener("roving-tabindex:main-element",t),e.removeEventListener("roving-tabindex:secondary-element",t)}}),t),[u,a.PLATFORM_ACCESSIBILITY_ENABLED?n?0:-1:void 0]}},51613:(e,t,n)=>{"use strict";n.d(t,{PopupMenuSeparator:()=>u});var r=n(50959),o=n(97754),a=n.n(o),i=n(92910);function u(e){const{size:t="normal",className:n,ariaHidden:o=!1}=e;return r.createElement("div",{className:a()(i.separator,"small"===t&&i.small,"normal"===t&&i.normal,"large"===t&&i.large,n),role:"separator","aria-hidden":o})}},40173:(e,t,n)=>{"use strict";function r(e,t,n={}){return Object.assign({},e,function(e,t,n={}){const r=Object.assign({},t);for(const o of Object.keys(t)){const a=n[o]||o;a in e&&(r[o]=[e[a],t[o]].join(" "))}return r}(e,t,n))}n.d(t,{mergeThemes:()=>r})},6132:(e,t,n)=>{"use strict";var r=n(22134);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},19036:(e,t,n)=>{e.exports=n(6132)()},22134:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},95257:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=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"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,y={};function h(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}function E(){}function b(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||m}h.prototype.isReactComponent={},h.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")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=h.prototype;var g=b.prototype=new E;g.constructor=b,v(g,h.prototype),g.isPureReactComponent=!0;var _=Array.isArray,T=Object.prototype.hasOwnProperty,S={current:null},w={key:!0,ref:!0,__self:!0,__source:!0}
;function L(e,t,r){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)T.call(t,o)&&!w.hasOwnProperty(o)&&(a[o]=t[o]);var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];a.children=s}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:n,type:e,key:i,ref:u,props:a,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function R(e,t,o,a,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c=!1;if(null===e)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case n:case r:c=!0}}if(c)return i=i(c=e),e=""===a?"."+A(c,0):a,_(i)?(o="",null!=e&&(o=e.replace(I,"$&/")+"/"),R(i,t,o,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(I,"$&/")+"/")+e)),t.push(i)),1;if(c=0,a=""===a?".":a+":",_(e))for(var s=0;s<e.length;s++){var l=a+A(u=e[s],s);c+=R(u,t,o,l,i)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),s=0;!(u=e.next()).done;)c+=R(u=u.value,t,o,l=a+A(u,s++),i);else if("object"===u)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function B(e,t,n){if(null==e)return e;var r=[],o=0;return R(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var x={current:null},k={transition:null},P={ReactCurrentDispatcher:x,ReactCurrentBatchConfig:k,ReactCurrentOwner:S};t.Children={map:B,forEach:function(e,t,n){B(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=h,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=l,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=v({},e.props),a=e.key,i=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,u=S.current),void 0!==t.key&&(a=""+t.key),
e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)T.call(t,s)&&!w.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){c=Array(s);for(var l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:u}},t.createContext=function(e){return(e={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},t.createElement=L,t.createFactory=function(e){var t=L.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=k.transition;k.transition={};try{e()}finally{k.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return x.current.useCallback(e,t)},t.useContext=function(e){return x.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return x.current.useDeferredValue(e)},t.useEffect=function(e,t){return x.current.useEffect(e,t)},t.useId=function(){return x.current.useId()},t.useImperativeHandle=function(e,t,n){return x.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return x.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return x.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return x.current.useMemo(e,t)},t.useReducer=function(e,t,n){return x.current.useReducer(e,t,n)},t.useRef=function(e){return x.current.useRef(e)},t.useState=function(e){return x.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return x.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return x.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},44242:e=>{e.exports={title:"title-u3QJgF_p"}},71468:(e,t,n)=>{"use strict";function r(e){e.dispatchEvent(new CustomEvent("roving-tabindex:main-element"))}function o(e){e.dispatchEvent(new CustomEvent("roving-tabindex:secondary-element"))}n.d(t,{becomeMainElement:()=>r,becomeSecondaryElement:()=>o})},36898:(e,t,n)=>{"use strict";n.d(t,{useMouseClickAutoBlur:()=>i});var r=n(50959),o=n(76460),a=n(16838);function i(e){(0,r.useEffect)((()=>{if(!a.PLATFORM_ACCESSIBILITY_ENABLED)return;const t=t=>{const n=e.current;null!==n&&document.activeElement instanceof HTMLElement&&((0,o.isKeyboardClick)(t)||n.contains(document.activeElement)&&"INPUT"!==document.activeElement.tagName&&document.activeElement.blur())};return window.addEventListener("click",t,!0),()=>window.removeEventListener("click",t,!0)}),[])}},82962:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetMenuSummary:()=>i});var r=n(50959),o=n(97754),a=n(44242);function i(e){return r.createElement("div",{className:o(e.className,a.title)
},e.children)}},88066:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_TOOLBAR_BUTTON_THEME:()=>u,ToolbarButton:()=>c});var r=n(50959),o=n(31409),a=n(50238),i=n(16838);const u=o.DEFAULT_TOOL_WIDGET_BUTTON_THEME,c=(0,r.forwardRef)((function(e,t){const{tooltip:n,...u}=e,[c,s]=(0,a.useRovingTabindexElement)(t);return r.createElement(o.ToolWidgetButton,{"aria-label":i.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...u,tag:i.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",ref:c,tabIndex:s,"data-tooltip":n})}))},48889:(e,t,n)=>{"use strict";n.d(t,{ToolbarIconButton:()=>u});var r=n(50959),o=n(50238),a=n(16838),i=n(50813);const u=(0,r.forwardRef)((function(e,t){const{tooltip:n,...u}=e,[c,s]=(0,o.useRovingTabindexElement)(t);return r.createElement(i.ToolWidgetIconButton,{"aria-label":a.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...u,tag:a.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",ref:c,tabIndex:s,"data-tooltip":n})}))},50298:(e,t,n)=>{"use strict";n.d(t,{ToolbarMenuButton:()=>p,queryMenuElements:()=>y});var r=n(50959),o=n(39416),a=n(50151),i=n(3343),u=n(8087),c=n(50238),s=n(16838),l=n(71468),f=n(36898);const d=[37,39,38,40],p=(0,r.forwardRef)((function(e,t){const{tooltip:n,menuReference:p=null,...E}=e,[b,g]=(0,c.useRovingTabindexElement)(null),_=(0,o.useFunctionalRefObject)(p);return(0,f.useMouseClickAutoBlur)(_),r.createElement(u.ToolWidgetMenu,{"aria-label":s.PLATFORM_ACCESSIBILITY_ENABLED?n:void 0,...E,ref:t,tag:s.PLATFORM_ACCESSIBILITY_ENABLED?"button":"div",reference:b,tabIndex:g,"data-tooltip":n,menuReference:_,onMenuKeyDown:function(e){if(!s.PLATFORM_ACCESSIBILITY_ENABLED)return;if(e.defaultPrevented)return;const t=(0,i.hashFromEvent)(e);if(!d.includes(t))return;const n=document.activeElement;if(!(document.activeElement instanceof HTMLElement))return;const r=y(e.currentTarget).sort(s.navigationOrderComparator);if(0===r.length)return;const o=document.activeElement.closest('[data-role="menuitem"]');if(!(o instanceof HTMLElement))return;const a=r.indexOf(o);if(-1===a)return;const u=h(o),c=u.indexOf(document.activeElement),f=-1!==c,p=e=>{n&&(0,l.becomeSecondaryElement)(n),(0,l.becomeMainElement)(e),e.focus()};switch(t){case 37:if(!u.length)return;e.preventDefault(),p(0===c?r[a]:f?m(u,c,-1):u[u.length-1]);break;case 39:if(!u.length)return;e.preventDefault(),c===u.length-1?p(r[a]):p(f?m(u,c,1):u[0]);break;case 38:{e.preventDefault();const t=m(r,a,-1);if(f){const e=v(t,c);p(e||t);break}p(t);break}case 40:{e.preventDefault();const t=m(r,a,1);if(f){const e=v(t,c);p(e||t);break}p(t)}}},onMenuFocus:function(e){if(!e.target||!s.PLATFORM_ACCESSIBILITY_ENABLED)return;const[t]=y(e.target);t&&((0,l.becomeSecondaryElement)((0,a.ensureNotNull)(b.current)),(0,l.becomeMainElement)(t),t.focus())}})}));function m(e,t,n){return e[(t+e.length+n)%e.length]}function v(e,t){const n=h(e);return n.length?n[(t+n.length)%n.length]:null}function y(e){return Array.from(e.querySelectorAll('[data-role="menuitem"]:not([disabled], [aria-disabled])')).filter((0,s.createScopedVisibleElementFilter)(e))}function h(e){
return Array.from(e.querySelectorAll("[tabindex]:not([disabled], [aria-disabled])")).filter((0,s.createScopedVisibleElementFilter)(e))}},5962:(e,t,n)=>{"use strict";n.d(t,{RegistryProvider:()=>c,registryContextType:()=>s,validateRegistry:()=>u});var r=n(50959),o=n(19036),a=n.n(o);const i=r.createContext({});function u(e,t){a().checkPropTypes(t,e,"context","RegistryContext")}function c(e){const{validation:t,value:n}=e;return u(n,t),r.createElement(i.Provider,{value:n},e.children)}function s(){return i}}}]);

View File

@@ -1 +0,0 @@
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#787b86}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#758696}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#758696}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#758696}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}

View File

@@ -1 +0,0 @@
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#787b86}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:right;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#758696}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#758696}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#758696}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}

View File

@@ -0,0 +1 @@
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#6a6d78}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#868993}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:left;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#758696}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#758696}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#758696}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}

View File

@@ -0,0 +1 @@
.autocomplete-uszkUMOz{flex:1 1 auto;position:relative}.autocomplete-uszkUMOz .caret-uszkUMOz{border-radius:4px;display:flex;height:calc(100% - 2px);justify-content:center;margin:1px 0;width:21px}@media (any-hover:hover){.autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#f0f3fa}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover{background-color:#363a45}.autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#131722}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz:hover .icon-uszkUMOz{color:#d1d4dc}}.autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#6a6d78}html.theme-dark .autocomplete-uszkUMOz .caret-uszkUMOz .icon-uszkUMOz{color:#868993}.suggestions-uszkUMOz{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px 1px rgba(0,0,0,.275);font-size:13px;max-height:0;outline:0;overflow-x:hidden;overflow-y:auto;padding:10px 0;position:absolute;transform:translateZ(0);visibility:hidden;width:100%;z-index:150}html.theme-dark .suggestions-uszkUMOz{background-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}.suggestions-uszkUMOz .noResults-uszkUMOz,.suggestions-uszkUMOz .suggestion-uszkUMOz{overflow:hidden;padding:10px 15px;position:relative;text-align:right;text-overflow:ellipsis;white-space:nowrap}.suggestions-uszkUMOz .suggestion-uszkUMOz{cursor:pointer}.suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#e3effd;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz.selected-uszkUMOz{background-color:#142e61;color:#758696}@media (any-hover:hover){.suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:hover{background-color:#1e222d;color:#758696}}.suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#e0e3eb;color:#4a4a4a}html.theme-dark .suggestions-uszkUMOz .suggestion-uszkUMOz:active{background-color:#2a2e39;color:#758696}.suggestions-uszkUMOz .noResults-uszkUMOz{color:#6a6d78}html.theme-dark .suggestions-uszkUMOz .noResults-uszkUMOz{color:#868993}.opened-uszkUMOz.suggestions-uszkUMOz{max-height:45vh;visibility:visible}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar{height:5px;width:5px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.opened-uszkUMOz.suggestions-uszkUMOz::-webkit-scrollbar-corner{display:none}

View File

@@ -1 +1 @@
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-right:0}.actionButton-k53vexPa:last-child{margin-left:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 0 40px 40px}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 0 20px 20px}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3.html-B02UUUN3 a,html.theme-dark .content-B02UUUN3.html-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px 8px 0 -2px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-left:-22px}.marginWithoutCloseButton-B02UUUN3{margin-right:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-right:20px}.label-nb7ji1l2{color:#787b86;font-size:14px;line-height:21px}
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-right:0}.actionButton-k53vexPa:last-child{margin-left:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 0 40px 40px}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 0 20px 20px}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3.html-B02UUUN3 a,html.theme-dark .content-B02UUUN3.html-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px 8px 0 -2px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-left:-22px}.marginWithoutCloseButton-B02UUUN3{margin-right:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-right:20px}.label-nb7ji1l2{color:#6a6d78;font-size:14px;line-height:21px}html.theme-dark .label-nb7ji1l2{color:#868993}

View File

@@ -1 +1 @@
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-left:0}.actionButton-k53vexPa:last-child{margin-right:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 40px 40px 0}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 20px 20px 0}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3.html-B02UUUN3 a,html.theme-dark .content-B02UUUN3.html-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px -2px 0 8px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-right:-22px}.marginWithoutCloseButton-B02UUUN3{margin-left:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-left:20px}.label-nb7ji1l2{color:#787b86;font-size:14px;line-height:21px}
.actionButton-k53vexPa{margin:0 6px}.actionButton-k53vexPa:first-child{margin-left:0}.actionButton-k53vexPa:last-child{margin-right:0}.actionButton-k53vexPa.small-k53vexPa{margin:6px 0}.actionButton-k53vexPa.small-k53vexPa:first-child{margin-top:0}.actionButton-k53vexPa.small-k53vexPa:last-child{margin-bottom:0}.hiddenTitle-k53vexPa{visibility:hidden}.popupDialog-B02UUUN3{max-height:calc(100% - 20px);max-width:480px;width:calc(100% - 20px)}.wrap-B02UUUN3{cursor:default;display:flex;overflow:hidden}.main-B02UUUN3{color:#131722;display:flex;flex:1 1 auto;flex-direction:column;margin:40px 40px 40px 0}html.theme-dark .main-B02UUUN3{color:#d1d4dc}.main-B02UUUN3.small-B02UUUN3{margin:20px 20px 20px 0}.title-B02UUUN3{--ui-lib-typography-line-height:28px;--ui-lib-typography-font-size:20px;align-items:center;display:flex;flex:none;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:600;line-height:var(--ui-lib-typography-line-height);margin-bottom:8px;width:calc(100% - 9px);word-break:break-word}.title-B02UUUN3.small-B02UUUN3{width:calc(100% - 29px)}.content-B02UUUN3{--ui-lib-typography-line-height:24px;--ui-lib-typography-font-size:16px;-webkit-overflow-scrolling:touch;display:flex;flex:1 1 auto;flex-direction:column;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;line-height:var(--ui-lib-typography-line-height);margin:0 -40px;min-height:145px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px 40px;scrollbar-color:#9598a1 #0000;scrollbar-width:thin;white-space:pre-wrap;word-break:break-word}html.theme-dark .content-B02UUUN3{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.content-B02UUUN3{min-height:auto}}.content-B02UUUN3::-webkit-scrollbar{height:5px;width:5px}.content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .content-B02UUUN3::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.content-B02UUUN3::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.content-B02UUUN3::-webkit-scrollbar-corner{display:none}.content-B02UUUN3.small-B02UUUN3{margin:0 -20px;padding:8px 20px}.content-B02UUUN3.html-B02UUUN3{display:block}.content-B02UUUN3.html-B02UUUN3 a,html.theme-dark .content-B02UUUN3.html-B02UUUN3 a{color:#2962ff}.footer-B02UUUN3{display:flex;flex:none;flex-direction:row-reverse;justify-content:flex-start;margin-top:16px}.footer-B02UUUN3.small-B02UUUN3{flex-direction:column}.close-B02UUUN3{align-items:center;border-radius:2px;color:#131722;cursor:default;display:flex;flex:none;height:34px;justify-content:center;margin:8px -2px 0 8px;width:34px}html.theme-dark .close-B02UUUN3{color:#d1d4dc}@media (any-hover:hover){.close-B02UUUN3:hover{background-color:#f0f3fa}html.theme-dark .close-B02UUUN3:hover{background-color:#2a2e39}}.close-B02UUUN3.small-B02UUUN3{margin-right:-22px}.marginWithoutCloseButton-B02UUUN3{margin-left:40px}.marginWithoutCloseButton-B02UUUN3.small-B02UUUN3{margin-left:20px}.label-nb7ji1l2{color:#6a6d78;font-size:14px;line-height:21px}html.theme-dark .label-nb7ji1l2{color:#868993}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.wrapper-hoWtpNyh{align-items:center;display:flex;justify-content:center;position:relative}.isActive-hoWtpNyh,html.theme-dark .isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.isActive-hoWtpNyh:after{background-color:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:100%}.button-hoWtpNyh{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-hoWtpNyh:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;top:0;width:100%}.button-hoWtpNyh:focus-visible:before{content:"";outline-style:solid}.button-hoWtpNyh.isActive-hoWtpNyh,html.theme-dark .button-hoWtpNyh.isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#e0e3eb);display:flex;padding:6px 6px 3px}html.theme-dark .wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#434651)}.wrapper-QWmdCZSA{align-items:center;box-sizing:border-box;display:flex;font-size:11px;height:100%;letter-spacing:.4px;padding:6px 6px 0 18px;text-transform:uppercase}.wrapper-QWmdCZSA,html.theme-dark .wrapper-QWmdCZSA{color:var(--tv-color-popup-element-secondary-text,#787b86)}.emoji-BsERGcZ1{-webkit-touch-callout:none;display:block}.wrapper-MeQD3kFA{align-items:center;border-radius:4px;display:flex;flex-shrink:0;justify-content:center}.button-MeQD3kFA{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-MeQD3kFA:before{border-radius:4px;content:none;height:100%;left:0;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;top:0;width:100%}.button-MeQD3kFA:focus-visible:before{content:"";outline-style:solid}.wrapper-M14KUVdG{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 6px}.emojiItem-M14KUVdG.hovered-M14KUVdG,.emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .emojiItem-M14KUVdG.hovered-M14KUVdG,html.theme-dark .emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.list-JPoFARaG{content-visibility:auto;overscroll-behavior:none;padding-bottom:6px;will-change:contents}@media (pointer:fine){.list-JPoFARaG{scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-JPoFARaG{scrollbar-color:#363a45 #0000}.list-JPoFARaG::-webkit-scrollbar{height:5px;width:5px}.list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-JPoFARaG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-JPoFARaG::-webkit-scrollbar-corner{display:none}}.wrapper-mz0866M2{align-items:center;border-radius:4px;color:var(--tv-color-popup-element-text,#131722);display:flex;height:38px;justify-content:center;width:38px}html.theme-dark .wrapper-mz0866M2{color:var(--tv-color-popup-element-text,#d1d4dc)}.wrapper-mz0866M2.hovered-mz0866M2,.wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .wrapper-mz0866M2.hovered-mz0866M2,html.theme-dark .wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#fff);border-radius:6px}html.theme-dark .wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#1e222d)}

View File

@@ -0,0 +1 @@
.wrapper-hoWtpNyh{align-items:center;display:flex;justify-content:center;position:relative}.isActive-hoWtpNyh,html.theme-dark .isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.isActive-hoWtpNyh:after{background-color:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:100%}.button-hoWtpNyh{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-hoWtpNyh:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;right:0;top:0;width:100%}.button-hoWtpNyh:focus-visible:before{content:"";outline-style:solid}.button-hoWtpNyh.isActive-hoWtpNyh,html.theme-dark .button-hoWtpNyh.isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#e0e3eb);display:flex;padding:6px 6px 3px}html.theme-dark .wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#434651)}.wrapper-QWmdCZSA{align-items:center;box-sizing:border-box;display:flex;font-size:11px;height:100%;letter-spacing:.4px;padding:6px 18px 0 6px;text-transform:uppercase}.wrapper-QWmdCZSA,html.theme-dark .wrapper-QWmdCZSA{color:var(--tv-color-popup-element-secondary-text,#787b86)}.emoji-BsERGcZ1{-webkit-touch-callout:none;display:block}.wrapper-MeQD3kFA{align-items:center;border-radius:4px;display:flex;flex-shrink:0;justify-content:center}.button-MeQD3kFA{all:unset;align-items:center;display:flex;justify-content:center;position:relative}.button-MeQD3kFA:before{border-radius:4px;content:none;height:100%;outline:2px none #2962ff;outline-offset:-2px;pointer-events:none;position:absolute;right:0;top:0;width:100%}.button-MeQD3kFA:focus-visible:before{content:"";outline-style:solid}.wrapper-M14KUVdG{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 6px}.emojiItem-M14KUVdG.hovered-M14KUVdG,.emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .emojiItem-M14KUVdG.hovered-M14KUVdG,html.theme-dark .emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.list-JPoFARaG{content-visibility:auto;overscroll-behavior:none;padding-bottom:6px;will-change:contents}@media (pointer:fine){.list-JPoFARaG{scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-JPoFARaG{scrollbar-color:#363a45 #0000}.list-JPoFARaG::-webkit-scrollbar{height:5px;width:5px}.list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-JPoFARaG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-JPoFARaG::-webkit-scrollbar-corner{display:none}}.wrapper-mz0866M2{align-items:center;border-radius:4px;color:var(--tv-color-popup-element-text,#131722);display:flex;height:38px;justify-content:center;width:38px}html.theme-dark .wrapper-mz0866M2{color:var(--tv-color-popup-element-text,#d1d4dc)}.wrapper-mz0866M2.hovered-mz0866M2,.wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .wrapper-mz0866M2.hovered-mz0866M2,html.theme-dark .wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#fff);border-radius:6px}html.theme-dark .wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#1e222d)}

View File

@@ -1 +0,0 @@
.wrapper-hoWtpNyh{align-items:center;display:flex;justify-content:center;position:relative}.isActive-hoWtpNyh,html.theme-dark .isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.isActive-hoWtpNyh:after{background-color:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:100%}.wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#e0e3eb);display:flex;padding:6px 6px 3px}html.theme-dark .wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#434651)}.wrapper-QWmdCZSA{align-items:center;box-sizing:border-box;display:flex;font-size:11px;height:100%;letter-spacing:.4px;padding:6px 6px 0 18px;text-transform:uppercase}.wrapper-QWmdCZSA,html.theme-dark .wrapper-QWmdCZSA{color:var(--tv-color-popup-element-secondary-text,#787b86)}.emoji-BsERGcZ1{-webkit-touch-callout:none;display:block}.wrapper-MeQD3kFA{align-items:center;border-radius:4px;display:flex;flex-shrink:0;justify-content:center}.wrapper-M14KUVdG{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 6px}.emojiItem-M14KUVdG.hovered-M14KUVdG,.emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .emojiItem-M14KUVdG.hovered-M14KUVdG,html.theme-dark .emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.list-JPoFARaG{content-visibility:auto;overscroll-behavior:none;padding-bottom:6px;will-change:contents}@media (pointer:fine){.list-JPoFARaG{scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-JPoFARaG{scrollbar-color:#363a45 #0000}.list-JPoFARaG::-webkit-scrollbar{height:5px;width:5px}.list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-JPoFARaG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-JPoFARaG::-webkit-scrollbar-corner{display:none}}.wrapper-mz0866M2{align-items:center;border-radius:4px;color:var(--tv-color-popup-element-text,#131722);display:flex;height:38px;justify-content:center;width:38px}html.theme-dark .wrapper-mz0866M2{color:var(--tv-color-popup-element-text,#d1d4dc)}.wrapper-mz0866M2.hovered-mz0866M2,.wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .wrapper-mz0866M2.hovered-mz0866M2,html.theme-dark .wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#fff);border-radius:6px}html.theme-dark .wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#1e222d)}

View File

@@ -1 +0,0 @@
.wrapper-hoWtpNyh{align-items:center;display:flex;justify-content:center;position:relative}.isActive-hoWtpNyh,html.theme-dark .isActive-hoWtpNyh{color:var(--tv-color-popup-element-background-active,#2962ff)}.isActive-hoWtpNyh:after{background-color:currentColor;content:"";height:4px;left:0;position:absolute;right:0;top:100%}.wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#e0e3eb);display:flex;padding:6px 6px 3px}html.theme-dark .wrapper-RXEt_NWz{border-bottom:1px solid var(--tv-color-popup-element-divider-background,#434651)}.wrapper-QWmdCZSA{align-items:center;box-sizing:border-box;display:flex;font-size:11px;height:100%;letter-spacing:.4px;padding:6px 18px 0 6px;text-transform:uppercase}.wrapper-QWmdCZSA,html.theme-dark .wrapper-QWmdCZSA{color:var(--tv-color-popup-element-secondary-text,#787b86)}.emoji-BsERGcZ1{-webkit-touch-callout:none;display:block}.wrapper-MeQD3kFA{align-items:center;border-radius:4px;display:flex;flex-shrink:0;justify-content:center}.wrapper-M14KUVdG{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 6px}.emojiItem-M14KUVdG.hovered-M14KUVdG,.emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .emojiItem-M14KUVdG.hovered-M14KUVdG,html.theme-dark .emojiItem-M14KUVdG:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .emojiItem-M14KUVdG:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.list-JPoFARaG{content-visibility:auto;overscroll-behavior:none;padding-bottom:6px;will-change:contents}@media (pointer:fine){.list-JPoFARaG{scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .list-JPoFARaG{scrollbar-color:#363a45 #0000}.list-JPoFARaG::-webkit-scrollbar{height:5px;width:5px}.list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .list-JPoFARaG::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.list-JPoFARaG::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.list-JPoFARaG::-webkit-scrollbar-corner{display:none}}.wrapper-mz0866M2{align-items:center;border-radius:4px;color:var(--tv-color-popup-element-text,#131722);display:flex;height:38px;justify-content:center;width:38px}html.theme-dark .wrapper-mz0866M2{color:var(--tv-color-popup-element-text,#d1d4dc)}.wrapper-mz0866M2.hovered-mz0866M2,.wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}@media (any-hover:hover){.wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#f0f3fa)}}html.theme-dark .wrapper-mz0866M2.hovered-mz0866M2,html.theme-dark .wrapper-mz0866M2:active{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .wrapper-mz0866M2:hover{background-color:var(--tv-color-popup-element-background-hover,#2a2e39)}}.wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#fff);border-radius:6px}html.theme-dark .wrapper-VmCoyMWF{background-color:var(--tv-color-popup-background,#1e222d)}

View File

@@ -1,10 +0,0 @@
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3986],{32766:(e,i,t)=>{t.d(i,{getSeriesStylePropertiesDefinitions:()=>Te});var n=t(44352),o=t(36298),r=t(46141),l=(t(62615),t(58275)),s=t.n(l),a=t(14483),c=t(49152),d=t(20345),u=t(94474);const p=new o.TranslatedString("change color bars based on previous close",n.t(null,void 0,t(29353))),h=new o.TranslatedString("change HLC bars",n.t(null,void 0,t(55740))),y=new o.TranslatedString("change bar up color",n.t(null,void 0,t(76804))),g=new o.TranslatedString("change bar down color",n.t(null,void 0,t(71816))),v=new o.TranslatedString("change thin bars",n.t(null,void 0,t(72886))),f=new o.TranslatedString("change line price source",n.t(null,void 0,t(17119))),S=new o.TranslatedString("change line color",n.t(null,void 0,t(87828))),w=new o.TranslatedString("change line width",n.t(null,void 0,t(69125))),b=new o.TranslatedString("change area price source",n.t(null,void 0,t(1316))),P=new o.TranslatedString("change area line color",n.t(null,void 0,t(661))),T=new o.TranslatedString("change area line width",n.t(null,void 0,t(6610))),m=new o.TranslatedString("change area fill color",n.t(null,void 0,t(97008))),D=new o.TranslatedString("change baseline price source",n.t(null,void 0,t(56819))),_=new o.TranslatedString("change baseline top line color",n.t(null,void 0,t(68621))),C=new o.TranslatedString("change baseline top line width",n.t(null,void 0,t(35339))),k=new o.TranslatedString("change baseline bottom line color",n.t(null,void 0,t(4164))),L=new o.TranslatedString("change baseline bottom line width",n.t(null,void 0,t(38990))),M=new o.TranslatedString("change baseline fill top area color",n.t(null,void 0,t(12673))),$=new o.TranslatedString("change baseline fill bottom area color",n.t(null,void 0,t(73163))),I=new o.TranslatedString("change base level",n.t(null,void 0,t(31547))),W=new o.TranslatedString("change high-low body visibility",n.t(null,void 0,t(30033))),V=new o.TranslatedString("change high-low body color",n.t(null,void 0,t(81080))),O=new o.TranslatedString("change high-low borders visibility",n.t(null,void 0,t(79236))),B=new o.TranslatedString("change high-low border color",n.t(null,void 0,t(76885))),A=new o.TranslatedString("change high-low labels visibility",n.t(null,void 0,t(42981))),x=new o.TranslatedString("change high-low labels color",n.t(null,void 0,t(31937))),F=(new o.TranslatedString("change renko wick visibility",n.t(null,void 0,t(9473))),new o.TranslatedString("change renko wick up color",n.t(null,void 0,t(7747))),new o.TranslatedString("change renko wick down color",n.t(null,void 0,t(75986))),new o.TranslatedString("change the display of real prices on price scale (instead of Heiken-Ashi price)",n.t(null,void 0,t(39783))),new o.TranslatedString("change range thin bars",n.t(null,void 0,t(28143))),new o.TranslatedString("change range bars style",n.t(null,void 0,t(35116))),
new o.TranslatedString("change {candleType} body visibility",n.t(null,void 0,t(47202)))),N=new o.TranslatedString("change {candleType} up color",n.t(null,void 0,t(61118))),E=new o.TranslatedString("change {candleType} down color",n.t(null,void 0,t(36320))),H=new o.TranslatedString("change {candleType} border visibility",n.t(null,void 0,t(23986))),R=new o.TranslatedString("change {candleType} up border color",n.t(null,void 0,t(5464))),j=new o.TranslatedString("change {candleType} down border color",n.t(null,void 0,t(92330))),U=new o.TranslatedString("change {candleType} wick visibility",n.t(null,void 0,t(39987))),G=new o.TranslatedString("change {candleType} wick up color",n.t(null,void 0,t(45543))),z=new o.TranslatedString("change {candleType} wick down color",n.t(null,void 0,t(60164))),J=(new o.TranslatedString("change {chartType} up color",n.t(null,void 0,t(59414))),new o.TranslatedString("change {chartType} down color",n.t(null,void 0,t(85503))),new o.TranslatedString("change {chartType} projection bar up color",n.t(null,void 0,t(50453))),new o.TranslatedString("change {chartType} projection bar down color",n.t(null,void 0,t(18465))),new o.TranslatedString("change {chartType} border bar up color",n.t(null,void 0,t(11107))),new o.TranslatedString("change {chartType} border bar down color",n.t(null,void 0,t(79088))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change column up color",n.t(null,void 0,t(85709)))),q=new o.TranslatedString("change column down color",n.t(null,void 0,t(12155))),K=new o.TranslatedString("change column price source",n.t(null,void 0,t(66890))),Q=n.t(null,void 0,t(63243)),X=n.t(null,void 0,t(86953)),Y=n.t(null,void 0,t(5536)),Z=n.t(null,void 0,t(87151)),ee=n.t(null,void 0,t(55314)),ie=n.t(null,void 0,t(83760)),te=n.t(null,void 0,t(72269)),ne=n.t(null,void 0,t(26458)),oe=n.t(null,void 0,t(24248)),re=n.t(null,void 0,t(1277)),le=n.t(null,void 0,t(57417)),se=n.t(null,void 0,t(50430)),ae=n.t(null,void 0,t(86846)),ce=n.t(null,void 0,t(58747)),de=n.t(null,void 0,t(11157)),ue=(n.t(null,void 0,t(83610)),n.t(null,void 0,t(39667)),n.t(null,void 0,t(80293)),n.t(null,void 0,t(94089)),n.t(null,void 0,t(5704)),n.t(null,void 0,t(29881)),n.t(null,void 0,t(7445))),pe=n.t(null,void 0,t(83760)),he=n.t(null,void 0,t(72269)),ye=n.t(null,void 0,t(94420)),ge=n.t(null,void 0,t(83678)),ve=n.t(null,void 0,t(15857)),fe=n.t(null,void 0,t(75310));n.t(null,void 0,t(32733)),n.t(null,void 0,t(16812)),n.t(null,void 0,t(63528));function Se(e,i,t,n){return(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.barColorsOnPrevClose,p)},{id:`${t}${n}`,title:Q})}function we(e,i,t,n,o,l){const a=(0,c.createWVFromGetterAndSubscription)((()=>e.model().isInReplay.bind(e.model())()&&false),e.model().onInReplayStateChanged());return(0,r.createOptionsPropertyDefinition)({disabled:(0,
r.convertFromReadonlyWVToDefinitionProperty)(a),option:(0,r.convertToDefinitionProperty)(e,i.priceSource,l)},{id:`${n}${o}`,title:oe,options:new(s())(t)})}function be(e,i,t,n){const o=(0,u.removeSpaces)(t.originalText());return[(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,F.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.upColor,null,N.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.downColor,null,E.format({candleType:t}))},{id:`${n}Symbol${o}CandlesColor`,title:ie}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBorder,H.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.borderUpColor,null,R.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.borderDownColor,null,j.format({candleType:t}))},{id:`${n}Symbol${o}BordersColor`,title:te}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawWick,U.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.wickUpColor,null,G.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.wickDownColor,null,z.format({candleType:t}))},{id:`${n}Symbol${o}WickColors`,title:ne})]}function Pe(e,i,t,n){return[we(e,i,t,n,"SymbolLinePriceSource",f),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.color,null,S),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,w)},{id:`${n}SymbolLineStyle`,title:re})]}function Te(e,i,l,c,u){switch(l){case 0:return function(e,i,t){return[Se(e,i,t,"SymbolBarStyleBarColorsOnPrevClose"),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.dontDrawOpen,h)},{id:`${t}SymbolDontDrawOpen`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,y)},{id:`${t}SymbolUpColor`,title:Y}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,g)},{id:`${t}SymbolDownColor`,title:Z}),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.thinBars,v)},{id:`${t}SymbolBarThinBars`,title:ee})]}(e,i.barStyle.childs(),u);case 1:return function(e,i,r){return[Se(e,i,r,"SymbolCandleStyleBarColorsOnPrevClose"),...be(e,i,new o.TranslatedString("candle",n.t(null,void 0,t(30792))),r)]}(e,i.candleStyle.childs(),u);case 2:return Pe(e,i.lineStyle.childs(),c.seriesPriceSources,u);case 14:return Pe(e,i.lineWithMarkersStyle.childs(),c.seriesPriceSources,u);case 15:return Pe(e,i.steplineStyle.childs(),c.seriesPriceSources,u);case 3:return function(e,i,t,n){return[we(e,i,t,n,"SymbolAreaPriceSource",b),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.linecolor,null,P),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,T)},{id:`${n}SymbolAreaLineStyle`,title:re}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.color1,i.transparency,m),color2:(0,r.getColorDefinitionProperty)(e,i.color2,i.transparency,m)},{
id:`${n}SymbolAreaFills`,title:ae})]}(e,i.areaStyle.childs(),c.seriesPriceSources,u);case 16:return function(e,i,t,n){return[(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.highLineColor,null,P),width:(0,r.convertToDefinitionProperty)(e,i.highLineWidth,T)},{id:`${n}SymbolHLCAreaHighLineStyle`,title:ge}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.lowLineColor,null,P),width:(0,r.convertToDefinitionProperty)(e,i.lowLineWidth,T)},{id:`${n}SymbolHLCAreaLowLineStyle`,title:fe}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.closeLineColor,null,P),width:(0,r.convertToDefinitionProperty)(e,i.closeLineWidth,T)},{id:`${n}SymbolHLCAreaCloseLineStyle`,title:ve}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.highCloseFillColor,null,m),color2:(0,r.getColorDefinitionProperty)(e,i.closeLowFillColor,null,m)},{id:`${n}SymbolHLCAreaFills`,title:ae})]}(e,i.hlcAreaStyle.childs(),c.seriesPriceSources,u);case 9:return be(e,i.hollowCandleStyle.childs(),new o.TranslatedString("hollow candles",n.t(null,void 0,t(75165))),u);case 10:return function(e,i,t,n){return[we(e,i,t,n,"SymbolBaseLinePriceSource",D),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.topLineColor,null,_),width:(0,r.convertToDefinitionProperty)(e,i.topLineWidth,C)},{id:`${n}SymbolBaseLineTopLine`,title:le}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.bottomLineColor,null,k),width:(0,r.convertToDefinitionProperty)(e,i.bottomLineWidth,L)},{id:`${n}SymbolBaseLineBottomLine`,title:se}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.topFillColor1,null,M),color2:(0,r.getColorDefinitionProperty)(e,i.topFillColor2,null,M)},{id:`${n}SymbolBaseLineTopFills`,title:ce}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor1,null,$),color2:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor2,null,$)},{id:`${n}SymbolBaseLineBottomFills`,title:de}),(0,r.createNumberPropertyDefinition)({value:(0,r.convertToDefinitionProperty)(e,i.baseLevelPercentage,I,[d.floor])},{id:`${n}SymbolBaseLevelPercentage`,title:ue,type:0,min:new(s())(0),max:new(s())(100),step:new(s())(1),unit:new(s())("%")})]}(e,i.baselineStyle.childs(),c.seriesPriceSources,u);case 13:return function(e,i,t,n){return[we(e,i,t,n,"SymbolColumnPriceSource",K),Se(e,i,n,"SymbolColumnStyleColumnColorsOnPrevClose"),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,J)},{id:`${n}SymbolUpColor`,title:Y}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,q)},{id:`${n}SymbolDownColor`,title:Z})]}(e,i.columnStyle.childs(),c.seriesPriceSources,u)}if(12===l&&a.enabled("chart_style_hilo")){return function(e,i,t){return[(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,W),color:(0,r.getColorDefinitionProperty)(e,i.color,null,V)},{
id:`${t}SymbolBodiesColor`,title:pe}),(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showBorders,O),color:(0,r.getColorDefinitionProperty)(e,i.borderColor,null,B)},{id:`${t}SymbolBorderColor`,title:he}),(0,r.createTextPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showLabels,A),color:(0,r.getColorDefinitionProperty)(e,i.labelColor,null,x)},{id:`${t}SymbolLabels`,title:ye,isEditable:!1,isMultiLine:!1})]}(e,i.hiloStyle.childs(),u)}if(!i.hasOwnProperty("haStyle"))return[];if(c.isJapaneseChartsAvailable&&8===l){return function(e,i,r){const l=[];return l.push(Se(e,i,r,"SymbolHAStyleBarColorsOnPrevClose"),...be(e,i,new o.TranslatedString("Heikin Ashi",n.t(null,void 0,t(40530))),r)),l}(e,i.haStyle.childs(),u)}return c.isJapaneseChartsAvailable&&a.enabled("japanese_chart_styles"),[]}},73986:(e,i,t)=>{t.d(i,{SeriesPropertyDefinitionsViewModel:()=>ne,basePriceSources:()=>ie,seriesPrecisionValues:()=>te});var n=t(50151),o=t(44352),r=t(36298),l=t(14483),s=t(46141),a=(t(3347),t(58275)),c=t.n(a),d=t(42960),u=t(32766),p=t(20345);const h=new r.TranslatedString("change {inputName} property",o.t(null,void 0,t(21547)));function y(e){return e.map((e=>({value:e,title:o.t(e,{context:"input"},t(88601))})))}function g(e,i,l,a,u,g,v){const f=[];return l.forEach((l=>{if(!function(e,i){return!e.isHidden&&(void 0===e.visible||function(e,i){if(!e)return!0;const t=e.split("==");return!(t.length<2)&&i[t[0]].value()===t[1]}(e.visible,i))}(l,a))return;const S=l.id;if(!a.hasOwnProperty(S))return;const w=a[S],b=function(e,i){return"style"===e.id?"Box size assignment method":"boxSize"===e.id?"Box size":i.childs().name.value()}(l,u[S]),P=function(e){return o.t(e,{context:"input"},t(88601))}(b),T=new r.TranslatedString(b,P);if("options"in l){const i=(0,n.ensure)(l.options);f.push((0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,options:new(c())(y(i))}))}else if("integer"!==l.type){if("float"===l.type){let t;return t=function(e,i){return!((i===(0,d.chartStyleStudyId)(4)||i===(0,d.chartStyleStudyId)(6))&&"boxSize"===e||i===(0,d.chartStyleStudyId)(5)&&"reversalAmount"===e)}(S,i)||null===g.value()?new(c())(l.min):g,void f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,type:1,min:t,max:new(c())(l.max),defval:l.defval}))}"text"!==l.type?"bool"!==l.type||f.push((0,s.createCheckablePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P})):f.push((0,s.createTextPropertyDefinition)({text:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,isEditable:!0,isMultiLine:!1}))}else f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}),[p.floor])},{id:`${v}${l.name}`,title:P,type:0,min:new(c())(l.min),max:new(c())(l.max),defval:l.defval}))})),f}
var v=t(59224),f=t(93544),S=t(49152),w=t(97906),b=t(11678);const P=(0,v.getLogger)("Chart.Definitions.Series"),T=l.enabled("show_average_close_price_line_and_label"),m=l.enabled("pre_post_market_sessions"),D=new r.TranslatedString("change decimal places",o.t(null,void 0,t(71809))),_=new r.TranslatedString("change timezone",o.t(null,void 0,t(20505))),C=(new r.TranslatedString("adjust data for dividends",o.t(null,void 0,t(42390))),new r.TranslatedString("use settlement as close on daily interval",o.t(null,void 0,t(98402))),new r.TranslatedString("adjust for contract changes",o.t(null,void 0,t(99511))),new r.TranslatedString("change session",o.t(null,void 0,t(65303)))),k=new r.TranslatedString("change extended hours color",o.t(null,void 0,t(31317))),L=new r.TranslatedString("change pre market color",o.t(null,void 0,t(46257))),M=new r.TranslatedString("change post market color",o.t(null,void 0,t(49973))),$=new r.TranslatedString("change price line visibility",o.t(null,void 0,t(67761))),I=new r.TranslatedString("change price line color",o.t(null,void 0,t(77640))),W=new r.TranslatedString("change price line width",o.t(null,void 0,t(97322))),V=(new r.TranslatedString("change previous close price line visibility",o.t(null,void 0,t(59883))),new r.TranslatedString("change previous close price line color",o.t(null,void 0,t(91183))),new r.TranslatedString("change previous close price line width",o.t(null,void 0,t(87631))),new r.TranslatedString("change pre/post market price lines visibility",o.t(null,void 0,t(50393))),new r.TranslatedString("change pre market line color",o.t(null,void 0,t(60852))),new r.TranslatedString("change post market line color",o.t(null,void 0,t(5969))),new r.TranslatedString("change bid and ask lines visibility",o.t(null,void 0,t(32311))),new r.TranslatedString("change bid line color",o.t(null,void 0,t(36703))),new r.TranslatedString("change ask line color",o.t(null,void 0,t(29180))),new r.TranslatedString("change high and low price lines visibility",o.t(null,void 0,t(92556)))),O=new r.TranslatedString("change high and low price line color",o.t(null,void 0,t(60944))),B=new r.TranslatedString("change high and low price line width",o.t(null,void 0,t(83708))),A=new r.TranslatedString("change average close price line visibility",o.t(null,void 0,t(98866))),x=new r.TranslatedString("change average close price line color",o.t(null,void 0,t(30385))),F=new r.TranslatedString("change average close price line width",o.t(null,void 0,t(68927))),N=(o.t(null,void 0,t(9994)),o.t(null,void 0,t(25866))),E=(o.t(null,void 0,t(10989)),o.t(null,void 0,t(99983)),o.t(null,void 0,t(62521))),H=o.t(null,void 0,t(15107)),R=(o.t(null,void 0,t(8094)),o.t(null,void 0,t(47586)),o.t(null,void 0,t(6350)),o.t(null,void 0,t(73947))),j=o.t(null,void 0,t(87492)),U=o.t(null,void 0,t(39280)),G=o.t(null,void 0,t(30777)),z=o.t(null,void 0,t(8136)),J=o.t(null,void 0,t(31691)),q=o.t(null,void 0,t(10591)),K=o.t(null,void 0,t(94884)),Q=o.t(null,void 0,t(22353)),X=o.t(null,void 0,t(4329)),Y=o.t(null,void 0,t(39292)),Z=o.t(null,void 0,t(70816)),ee=[{
priceScale:2,minMove:1,frac:!0},{priceScale:4,minMove:1,frac:!0},{priceScale:8,minMove:1,frac:!0},{priceScale:16,minMove:1,frac:!0},{priceScale:32,minMove:1,frac:!0},{priceScale:64,minMove:1,frac:!0},{priceScale:128,minMove:1,frac:!0},{priceScale:320,minMove:1,frac:!0}],ie=[{title:U,value:"open",id:"price-source-open"},{title:G,value:"high",id:"price-source-high"},{title:z,value:"low",id:"price-source-low"},{title:J,value:"close",id:"price-source-close"},{title:q,value:"hl2",id:"price-source-hl2"},{title:K,value:"hlc3",id:"price-source-hlc3"},{title:Q,value:"ohlc4",id:"price-source-ohlc4"}];function te(){const e=[{title:X,value:"default"}],i=function(e=15){const i=[];for(let t=0;t<=e;t++)i.push({priceScale:Math.pow(10,t),minMove:1,frac:!1});return i}();for(let t=0;t<i.length;t++){const n=Math.log10(i[t].priceScale),o=0===n?"Integer":1===n?`${n} decimal`:`${n} decimals`;e.push({title:o,value:`${i[t].priceScale},${i[t].minMove},${i[t].frac}`})}for(let i=0;i<ee.length;i++)e.push({title:`${ee[i].minMove}/${ee[i].priceScale}`,value:`${ee[i].priceScale},${ee[i].minMove},${ee[i].frac}`});return e}class ne{constructor(e,i,t,n,o,r){this._definitions=null,this._inputsSubscriptions=null,this._isDestroyed=!1,this._propertyPages=null,this._seriesMinTickWV=null,this._sessionIdOptionsWV=new(c())([]),this._series=e,this._undoModel=i,this._model=this._undoModel.model(),this._propertyPageId=t,this._propertyPageName=n,this._propertyPageIcon=o,this._timezonePropertyObj=r,this._series.onStyleChanged().subscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().subscribe(this,this._updateDefinitions),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSeriesMinTickWV),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSessionIdOptionsWV),this._updateSeriesMinTickWV(),this._updateSessionIdOptionsWV()}destroy(){null!==this._propertyPages&&this._propertyPages.forEach((e=>{(0,s.destroyDefinitions)(e.definitions.value())})),this._series.onStyleChanged().unsubscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().unsubscribeAll(this),this._series.dataEvents().symbolResolved().unsubscribeAll(this),this._unsubscribeInputsUpdate(),this._isDestroyed=!0}propertyPages(){return null===this._propertyPages?this._getDefinitions().then((e=>{var i;if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");return null===this._propertyPages&&(this._propertyPages=[{id:this._propertyPageId,title:this._propertyPageName,icon:this._propertyPageIcon,definitions:new(c())(e.definitions),visible:null!==(i=e.visible)&&void 0!==i?i:new(c())(!0).readonly()}]),this._propertyPages})):Promise.resolve(this._propertyPages)}_seriesMinTick(){const e=this._series.symbolInfo();return null!==e?e.minmov/e.pricescale:null}_updateSeriesMinTickWV(){null===this._seriesMinTickWV?this._seriesMinTickWV=new(c())(this._seriesMinTick()):this._seriesMinTickWV.setValue(this._seriesMinTick())}
_updateSessionIdOptionsWV(){if(!m)return;const e=this._series.symbolInfo();if(null===e)return;const i=(e.subsessions||[]).filter((e=>!e.private)).map((e=>({title:(0,b.translateSessionDescription)(e.description),value:e.id})));this._sessionIdOptionsWV.setValue(i)}_updateDefinitions(){null!==this._definitions&&(0,s.destroyDefinitions)(this._definitions.definitions),this._definitions=null,this._unsubscribeInputsUpdate(),this._createSeriesDefinitions().then((e=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");(0,n.ensureNotNull)(this._propertyPages)[0].definitions.setValue(e.definitions)}))}_getDefinitions(){return null===this._definitions?this._createSeriesDefinitions():Promise.resolve(this._definitions)}_unsubscribeInputsUpdate(){null!==this._inputsSubscriptions&&(this._inputsSubscriptions.forEach((e=>{e.unsubscribeAll(this)})),this._inputsSubscriptions=null)}_subscribeInputsUpdate(e,i){const t=[];e.forEach((e=>{if(void 0!==e.visible){const n=e.visible.split("==");if(2===n.length){const e=i[n[0]];-1===t.indexOf(e)&&(e.subscribe(this,this._updateDefinitions),t.push(e))}}})),t.length>0?this._inputsSubscriptions=t:this._inputsSubscriptions=null}_createSeriesDefinitions(){const e=this._series.properties().childs(),i=this._series.getInputsProperties(),r=this._series.getInputsInfoProperties(),l=e.style.value(),a=this._series.getStyleShortName();return new Promise((e=>{const t=(0,d.chartStyleStudyId)(l);null!==t?this._model.studyMetaInfoRepository().findById({type:"java",studyId:t}).then((t=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return void e(null);const o=(0,n.ensureNotNull)(this._seriesMinTickWV),l=g(this._undoModel,t.id,t.inputs,i,r,o,a);this._subscribeInputsUpdate(t.inputs,i),e(l)})).catch((i=>{P.logWarn(`Find meta info for create series definitions with error - ${(0,f.errorToString)(i)}`),e(null)})):e(null)})).then((i=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return this._definitions;const n=(0,u.getSeriesStylePropertiesDefinitions)(this._undoModel,e,l,{seriesPriceSources:ie,isJapaneseChartsAvailable:true},"mainSeries");null!==i&&n.push(...i);const r=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,e.minTick,D)},{id:`${a}SymbolMinTick`,title:R,options:new(c())(te())}),p=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,this._timezonePropertyObj.property,_)},{id:`${a}SymbolTimezone`,title:j,options:new(c())(this._timezonePropertyObj.values)});return this._definitions={definitions:[(0,s.createPropertyDefinitionsGeneralGroup)(n,"generalSymbolStylesGroup",(0,d.getTranslatedChartStyleName)(l)),(0,s.createPropertyDefinitionsGeneralGroup)(this._seriesPriceLinesDefinitions(a),"priceLinesGroup",o.t(null,void 0,t(77986))),(0,
s.createPropertyDefinitionsGeneralGroup)([...this._seriesDataDefinitions(a),r,p],"dataModififcationGroup",o.t(null,void 0,t(81285)))]},this._definitions}))}_seriesDataDefinitions(e){const i=[];if(m){const t=this._series.sessionIdProxyProperty(),n=(0,w.combineWithFilteredUpdate)(((e,i)=>!i&&(0,d.symbolHasSeveralSessions)(this._series.symbolInfo())),((e,i)=>i||!e),this._series.symbolResolvingActive(),(0,S.createWVFromProperty)(this._series.isDWMProperty())),o=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,t,C),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(n)},{id:"sessionId",title:N,options:this._sessionIdOptionsWV});i.push(o);const r=this._model.sessions().graphicsInfo();let l=!1;r.backgrounds&&(l=void 0!==r.backgrounds.outOfSession);const a=l?this._createOutOfSessionDefinition(e):this._createPrePostMarketDefinition(e);i.push(a)}return i}_createOutOfSessionDefinition(e){const i=this._model.sessions().properties().childs().graphics.childs().backgrounds.childs().outOfSession.childs();return(0,s.createColorPropertyDefinition)({color:(0,s.getColorDefinitionProperty)(this._undoModel,i.color,i.transparency,k)},{id:`${e}SymbolExtendedHoursColors`,title:E})}_createPrePostMarketDefinition(e){const i=(0,w.combineWithFilteredUpdate)(((e,i)=>!i&&(0,d.symbolHasPreOrPostMarket)(this._series.symbolInfo())&&!(0,d.isRegularSessionId)(this._series.sessionIdProxyProperty().value())),((e,i)=>i||!e),this._series.symbolResolvingActive(),(0,S.createWVFromProperty)(this._series.isDWMProperty())),t=this._model.sessions(),n=t.properties().childs().graphics.childs().backgrounds.childs().preMarket.childs(),o=t.properties().childs().graphics.childs().backgrounds.childs().postMarket.childs();return(0,s.createTwoColorsPropertyDefinition)({color1:(0,s.getColorDefinitionProperty)(this._undoModel,n.color,n.transparency,L),color2:(0,s.getColorDefinitionProperty)(this._undoModel,o.color,o.transparency,M),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(i)},{id:`${e}SymbolExtendedHoursColors`,title:E})}_seriesPriceLinesDefinitions(e){const i=[],t=this._series.properties().childs();if(this._series.hasClosePrice()){const n=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,t.showPriceLine,$),color:(0,s.getColorDefinitionProperty)(this._undoModel,t.priceLineColor,null,I),width:(0,s.convertToDefinitionProperty)(this._undoModel,t.priceLineWidth,W)},{id:`${e}SymbolLastValuePriceLine`,title:H});i.push(n)}this._series.hasClosePrice();const n=t.highLowAvgPrice.childs(),o=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesVisible,V),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.highLowPriceLinesColor,null,O),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesWidth,B)},{id:`${e}SymbolHighLowPriceLines`,title:Y});if(i.push(o),T){const t=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,n.averageClosePriceLineVisible,A),
color:(0,s.getColorDefinitionProperty)(this._undoModel,n.averagePriceLineColor,null,x),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.averagePriceLineWidth,F)},{id:`${e}SymbolAverageClosePriceLine`,title:Z});i.push(t)}return i}}}}]);

View File

@@ -0,0 +1,10 @@
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[3986],{32766:(e,i,t)=>{t.d(i,{getSeriesStylePropertiesDefinitions:()=>Pe});var n=t(44352),o=t(36298),r=t(46141),l=(t(62615),t(97145)),s=t(14483),a=t(49152),c=t(20345),d=t(94474);const u=new o.TranslatedString("change color bars based on previous close",n.t(null,void 0,t(29353))),h=new o.TranslatedString("change HLC bars",n.t(null,void 0,t(55740))),p=new o.TranslatedString("change bar up color",n.t(null,void 0,t(76804))),y=new o.TranslatedString("change bar down color",n.t(null,void 0,t(71816))),g=new o.TranslatedString("change thin bars",n.t(null,void 0,t(72886))),v=new o.TranslatedString("change line price source",n.t(null,void 0,t(17119))),f=new o.TranslatedString("change line color",n.t(null,void 0,t(87828))),S=new o.TranslatedString("change line width",n.t(null,void 0,t(69125))),w=new o.TranslatedString("change area price source",n.t(null,void 0,t(1316))),b=new o.TranslatedString("change area line color",n.t(null,void 0,t(661))),P=new o.TranslatedString("change area line width",n.t(null,void 0,t(6610))),T=new o.TranslatedString("change area fill color",n.t(null,void 0,t(97008))),m=new o.TranslatedString("change baseline price source",n.t(null,void 0,t(56819))),D=new o.TranslatedString("change baseline top line color",n.t(null,void 0,t(68621))),_=new o.TranslatedString("change baseline top line width",n.t(null,void 0,t(35339))),C=new o.TranslatedString("change baseline bottom line color",n.t(null,void 0,t(4164))),k=new o.TranslatedString("change baseline bottom line width",n.t(null,void 0,t(38990))),L=new o.TranslatedString("change baseline fill top area color",n.t(null,void 0,t(12673))),M=new o.TranslatedString("change baseline fill bottom area color",n.t(null,void 0,t(73163))),$=new o.TranslatedString("change base level",n.t(null,void 0,t(31547))),W=new o.TranslatedString("change high-low body visibility",n.t(null,void 0,t(30033))),V=new o.TranslatedString("change high-low body color",n.t(null,void 0,t(81080))),I=new o.TranslatedString("change high-low borders visibility",n.t(null,void 0,t(79236))),O=new o.TranslatedString("change high-low border color",n.t(null,void 0,t(76885))),B=new o.TranslatedString("change high-low labels visibility",n.t(null,void 0,t(42981))),A=new o.TranslatedString("change high-low labels color",n.t(null,void 0,t(31937))),x=(new o.TranslatedString("change renko wick visibility",n.t(null,void 0,t(9473))),new o.TranslatedString("change renko wick up color",n.t(null,void 0,t(7747))),new o.TranslatedString("change renko wick down color",n.t(null,void 0,t(75986))),new o.TranslatedString("change the display of real prices on price scale (instead of Heiken-Ashi price)",n.t(null,void 0,t(39783))),new o.TranslatedString("change range thin bars",n.t(null,void 0,t(28143))),new o.TranslatedString("change range bars style",n.t(null,void 0,t(35116))),
new o.TranslatedString("change {candleType} body visibility",n.t(null,void 0,t(47202)))),F=new o.TranslatedString("change {candleType} up color",n.t(null,void 0,t(61118))),N=new o.TranslatedString("change {candleType} down color",n.t(null,void 0,t(36320))),E=new o.TranslatedString("change {candleType} border visibility",n.t(null,void 0,t(23986))),H=new o.TranslatedString("change {candleType} up border color",n.t(null,void 0,t(5464))),R=new o.TranslatedString("change {candleType} down border color",n.t(null,void 0,t(92330))),j=new o.TranslatedString("change {candleType} wick visibility",n.t(null,void 0,t(39987))),U=new o.TranslatedString("change {candleType} wick up color",n.t(null,void 0,t(45543))),G=new o.TranslatedString("change {candleType} wick down color",n.t(null,void 0,t(60164))),z=(new o.TranslatedString("change {chartType} up color",n.t(null,void 0,t(59414))),new o.TranslatedString("change {chartType} down color",n.t(null,void 0,t(85503))),new o.TranslatedString("change {chartType} projection bar up color",n.t(null,void 0,t(50453))),new o.TranslatedString("change {chartType} projection bar down color",n.t(null,void 0,t(18465))),new o.TranslatedString("change {chartType} border bar up color",n.t(null,void 0,t(11107))),new o.TranslatedString("change {chartType} border bar down color",n.t(null,void 0,t(79088))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change {chartType} projection border bar up color",n.t(null,void 0,t(61250))),new o.TranslatedString("change column up color",n.t(null,void 0,t(85709)))),J=new o.TranslatedString("change column down color",n.t(null,void 0,t(12155))),q=new o.TranslatedString("change column price source",n.t(null,void 0,t(66890))),K=n.t(null,void 0,t(63243)),Q=n.t(null,void 0,t(86953)),X=n.t(null,void 0,t(5536)),Y=n.t(null,void 0,t(87151)),Z=n.t(null,void 0,t(55314)),ee=n.t(null,void 0,t(83760)),ie=n.t(null,void 0,t(72269)),te=n.t(null,void 0,t(26458)),ne=n.t(null,void 0,t(24248)),oe=n.t(null,void 0,t(1277)),re=n.t(null,void 0,t(57417)),le=n.t(null,void 0,t(50430)),se=n.t(null,void 0,t(86846)),ae=n.t(null,void 0,t(58747)),ce=n.t(null,void 0,t(11157)),de=(n.t(null,void 0,t(83610)),n.t(null,void 0,t(39667)),n.t(null,void 0,t(80293)),n.t(null,void 0,t(94089)),n.t(null,void 0,t(5704)),n.t(null,void 0,t(29881)),n.t(null,void 0,t(7445))),ue=n.t(null,void 0,t(83760)),he=n.t(null,void 0,t(72269)),pe=n.t(null,void 0,t(94420)),ye=n.t(null,void 0,t(83678)),ge=n.t(null,void 0,t(15857)),ve=n.t(null,void 0,t(75310));n.t(null,void 0,t(32733)),n.t(null,void 0,t(16812)),n.t(null,void 0,t(63528));function fe(e,i,t,n){return(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.barColorsOnPrevClose,u)},{id:`${t}${n}`,title:K})}function Se(e,i,t,n,o,s){const c=(0,a.createWVFromGetterAndSubscription)((()=>e.model().isInReplay.bind(e.model())()&&false),e.model().onInReplayStateChanged());return(0,r.createOptionsPropertyDefinition)({disabled:(0,
r.convertFromReadonlyWVToDefinitionProperty)(c.ownership()),option:(0,r.convertToDefinitionProperty)(e,i.priceSource,s)},{id:`${n}${o}`,title:ne,options:new l.WatchedValue(t)})}function we(e,i,t,n){const o=(0,d.removeSpaces)(t.originalText());return[(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,x.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.upColor,null,F.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.downColor,null,N.format({candleType:t}))},{id:`${n}Symbol${o}CandlesColor`,title:ee}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBorder,E.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.borderUpColor,null,H.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.borderDownColor,null,R.format({candleType:t}))},{id:`${n}Symbol${o}BordersColor`,title:ie}),(0,r.createTwoColorsPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawWick,j.format({candleType:t})),color1:(0,r.getColorDefinitionProperty)(e,i.wickUpColor,null,U.format({candleType:t})),color2:(0,r.getColorDefinitionProperty)(e,i.wickDownColor,null,G.format({candleType:t}))},{id:`${n}Symbol${o}WickColors`,title:te})]}function be(e,i,t,n){return[Se(e,i,t,n,"SymbolLinePriceSource",v),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.color,null,f),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,S)},{id:`${n}SymbolLineStyle`,title:oe})]}function Pe(e,i,a,d,u){switch(a){case 0:return function(e,i,t){return[fe(e,i,t,"SymbolBarStyleBarColorsOnPrevClose"),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.dontDrawOpen,h)},{id:`${t}SymbolDontDrawOpen`,title:Q}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,p)},{id:`${t}SymbolUpColor`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,y)},{id:`${t}SymbolDownColor`,title:Y}),(0,r.createCheckablePropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.thinBars,g)},{id:`${t}SymbolBarThinBars`,title:Z})]}(e,i.barStyle.childs(),u);case 1:return function(e,i,r){return[fe(e,i,r,"SymbolCandleStyleBarColorsOnPrevClose"),...we(e,i,new o.TranslatedString("candle",n.t(null,void 0,t(30792))),r)]}(e,i.candleStyle.childs(),u);case 2:return be(e,i.lineStyle.childs(),d.seriesPriceSources,u);case 14:return be(e,i.lineWithMarkersStyle.childs(),d.seriesPriceSources,u);case 15:return be(e,i.steplineStyle.childs(),d.seriesPriceSources,u);case 3:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolAreaPriceSource",w),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.linecolor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.linewidth,P)},{id:`${n}SymbolAreaLineStyle`,title:oe}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.color1,i.transparency,T),color2:(0,r.getColorDefinitionProperty)(e,i.color2,i.transparency,T)
},{id:`${n}SymbolAreaFills`,title:se})]}(e,i.areaStyle.childs(),d.seriesPriceSources,u);case 16:return function(e,i,t,n){return[(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.highLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.highLineWidth,P)},{id:`${n}SymbolHLCAreaHighLineStyle`,title:ye}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.lowLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.lowLineWidth,P)},{id:`${n}SymbolHLCAreaLowLineStyle`,title:ve}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.closeLineColor,null,b),width:(0,r.convertToDefinitionProperty)(e,i.closeLineWidth,P)},{id:`${n}SymbolHLCAreaCloseLineStyle`,title:ge}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.highCloseFillColor,null,T),color2:(0,r.getColorDefinitionProperty)(e,i.closeLowFillColor,null,T)},{id:`${n}SymbolHLCAreaFills`,title:se})]}(e,i.hlcAreaStyle.childs(),d.seriesPriceSources,u);case 9:return we(e,i.hollowCandleStyle.childs(),new o.TranslatedString("hollow candles",n.t(null,void 0,t(75165))),u);case 10:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolBaseLinePriceSource",m),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.topLineColor,null,D),width:(0,r.convertToDefinitionProperty)(e,i.topLineWidth,_)},{id:`${n}SymbolBaseLineTopLine`,title:re}),(0,r.createLinePropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.bottomLineColor,null,C),width:(0,r.convertToDefinitionProperty)(e,i.bottomLineWidth,k)},{id:`${n}SymbolBaseLineBottomLine`,title:le}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.topFillColor1,null,L),color2:(0,r.getColorDefinitionProperty)(e,i.topFillColor2,null,L)},{id:`${n}SymbolBaseLineTopFills`,title:ae}),(0,r.createTwoColorsPropertyDefinition)({color1:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor1,null,M),color2:(0,r.getColorDefinitionProperty)(e,i.bottomFillColor2,null,M)},{id:`${n}SymbolBaseLineBottomFills`,title:ce}),(0,r.createNumberPropertyDefinition)({value:(0,r.convertToDefinitionProperty)(e,i.baseLevelPercentage,$,[c.floor])},{id:`${n}SymbolBaseLevelPercentage`,title:de,type:0,min:new l.WatchedValue(0),max:new l.WatchedValue(100),step:new l.WatchedValue(1),unit:new l.WatchedValue("%")})]}(e,i.baselineStyle.childs(),d.seriesPriceSources,u);case 13:return function(e,i,t,n){return[Se(e,i,t,n,"SymbolColumnPriceSource",q),fe(e,i,n,"SymbolColumnStyleColumnColorsOnPrevClose"),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.upColor,null,z)},{id:`${n}SymbolUpColor`,title:X}),(0,r.createColorPropertyDefinition)({color:(0,r.getColorDefinitionProperty)(e,i.downColor,null,J)},{id:`${n}SymbolDownColor`,title:Y})]}(e,i.columnStyle.childs(),d.seriesPriceSources,u)}if(12===a&&s.enabled("chart_style_hilo")){return function(e,i,t){return[(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.drawBody,W),color:(0,
r.getColorDefinitionProperty)(e,i.color,null,V)},{id:`${t}SymbolBodiesColor`,title:ue}),(0,r.createColorPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showBorders,I),color:(0,r.getColorDefinitionProperty)(e,i.borderColor,null,O)},{id:`${t}SymbolBorderColor`,title:he}),(0,r.createTextPropertyDefinition)({checked:(0,r.convertToDefinitionProperty)(e,i.showLabels,B),color:(0,r.getColorDefinitionProperty)(e,i.labelColor,null,A)},{id:`${t}SymbolLabels`,title:pe,isEditable:!1,isMultiLine:!1})]}(e,i.hiloStyle.childs(),u)}if(!i.hasOwnProperty("haStyle"))return[];if(d.isJapaneseChartsAvailable&&8===a){return function(e,i,r){const l=[];return l.push(fe(e,i,r,"SymbolHAStyleBarColorsOnPrevClose"),...we(e,i,new o.TranslatedString("Heikin Ashi",n.t(null,void 0,t(40530))),r)),l}(e,i.haStyle.childs(),u)}return d.isJapaneseChartsAvailable&&s.enabled("japanese_chart_styles"),[]}},73986:(e,i,t)=>{t.d(i,{SeriesPropertyDefinitionsViewModel:()=>te,basePriceSources:()=>ee,seriesPrecisionValues:()=>ie});var n=t(50151),o=t(44352),r=t(36298),l=t(14483),s=t(46141),a=t(97145),c=t(42960),d=t(32766),u=t(20345);const h=new r.TranslatedString("change {inputName} property",o.t(null,void 0,t(21547)));function p(e){return e.map((e=>({value:e,title:o.t(e,{context:"input"},t(88601))})))}function y(e,i,l,d,y,g,v){const f=[];return l.forEach((l=>{if(!function(e,i){return!e.isHidden&&(void 0===e.visible||function(e,i){if(!e)return!0;const t=e.split("==");return!(t.length<2)&&i[t[0]].value()===t[1]}(e.visible,i))}(l,d))return;const S=l.id;if(!d.hasOwnProperty(S))return;const w=d[S],b=function(e,i){return"style"===e.id?"Box size assignment method":"boxSize"===e.id?"Box size":i.childs().name.value()}(l,y[S]),P=function(e){return o.t(e,{context:"input"},t(88601))}(b),T=new r.TranslatedString(b,P);if("options"in l){const i=(0,n.ensure)(l.options);f.push((0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,options:new a.WatchedValue(p(i))}))}else if("integer"!==l.type){if("float"===l.type){let t;return t=function(e,i){return!((i===(0,c.chartStyleStudyId)(4)||i===(0,c.chartStyleStudyId)(6))&&"boxSize"===e||i===(0,c.chartStyleStudyId)(5)&&"reversalAmount"===e)}(S,i)||null===g.value()?new a.WatchedValue(l.min):g,void f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,type:1,min:t,max:new a.WatchedValue(l.max),defval:l.defval}))}"text"!==l.type?"bool"!==l.type||f.push((0,s.createCheckablePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P})):f.push((0,s.createTextPropertyDefinition)({text:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}))},{id:`${v}${l.name}`,title:P,isEditable:!0,isMultiLine:!1}))}else f.push((0,s.createNumberPropertyDefinition)({value:(0,s.convertToDefinitionProperty)(e,w,h.format({inputName:T}),[u.floor])},{id:`${v}${l.name}`,title:P,type:0,min:new a.WatchedValue(l.min),
max:new a.WatchedValue(l.max),defval:l.defval}))})),f}var g=t(59224),v=t(93544),f=t(49152),S=t(97906),w=t(11678);const b=(0,g.getLogger)("Chart.Definitions.Series"),P=l.enabled("show_average_close_price_line_and_label"),T=l.enabled("pre_post_market_sessions"),m=new r.TranslatedString("change decimal places",o.t(null,void 0,t(71809))),D=new r.TranslatedString("change timezone",o.t(null,void 0,t(20505))),_=(new r.TranslatedString("adjust data for dividends",o.t(null,void 0,t(42390))),new r.TranslatedString("use settlement as close on daily interval",o.t(null,void 0,t(98402))),new r.TranslatedString("adjust for contract changes",o.t(null,void 0,t(99511))),new r.TranslatedString("change session",o.t(null,void 0,t(65303)))),C=new r.TranslatedString("change extended hours color",o.t(null,void 0,t(31317))),k=new r.TranslatedString("change pre market color",o.t(null,void 0,t(46257))),L=new r.TranslatedString("change post market color",o.t(null,void 0,t(49973))),M=new r.TranslatedString("change price line visibility",o.t(null,void 0,t(67761))),$=new r.TranslatedString("change price line color",o.t(null,void 0,t(77640))),W=new r.TranslatedString("change price line width",o.t(null,void 0,t(97322))),V=(new r.TranslatedString("change previous close price line visibility",o.t(null,void 0,t(59883))),new r.TranslatedString("change previous close price line color",o.t(null,void 0,t(91183))),new r.TranslatedString("change previous close price line width",o.t(null,void 0,t(87631))),new r.TranslatedString("change pre/post market price lines visibility",o.t(null,void 0,t(50393))),new r.TranslatedString("change pre market line color",o.t(null,void 0,t(60852))),new r.TranslatedString("change post market line color",o.t(null,void 0,t(5969))),new r.TranslatedString("change bid and ask lines visibility",o.t(null,void 0,t(32311))),new r.TranslatedString("change bid line color",o.t(null,void 0,t(36703))),new r.TranslatedString("change ask line color",o.t(null,void 0,t(29180))),new r.TranslatedString("change high and low price lines visibility",o.t(null,void 0,t(92556)))),I=new r.TranslatedString("change high and low price line color",o.t(null,void 0,t(60944))),O=new r.TranslatedString("change high and low price line width",o.t(null,void 0,t(83708))),B=new r.TranslatedString("change average close price line visibility",o.t(null,void 0,t(98866))),A=new r.TranslatedString("change average close price line color",o.t(null,void 0,t(30385))),x=new r.TranslatedString("change average close price line width",o.t(null,void 0,t(68927))),F=(o.t(null,void 0,t(9994)),o.t(null,void 0,t(25866))),N=(o.t(null,void 0,t(10989)),o.t(null,void 0,t(99983)),o.t(null,void 0,t(62521))),E=o.t(null,void 0,t(15107)),H=(o.t(null,void 0,t(8094)),o.t(null,void 0,t(47586)),o.t(null,void 0,t(6350)),
o.t(null,void 0,t(73947))),R=o.t(null,void 0,t(87492)),j=o.t(null,void 0,t(39280)),U=o.t(null,void 0,t(30777)),G=o.t(null,void 0,t(8136)),z=o.t(null,void 0,t(31691)),J=o.t(null,void 0,t(10591)),q=o.t(null,void 0,t(94884)),K=o.t(null,void 0,t(22353)),Q=o.t(null,void 0,t(4329)),X=o.t(null,void 0,t(39292)),Y=o.t(null,void 0,t(70816)),Z=[{priceScale:2,minMove:1,frac:!0},{priceScale:4,minMove:1,frac:!0},{priceScale:8,minMove:1,frac:!0},{priceScale:16,minMove:1,frac:!0},{priceScale:32,minMove:1,frac:!0},{priceScale:64,minMove:1,frac:!0},{priceScale:128,minMove:1,frac:!0},{priceScale:320,minMove:1,frac:!0}],ee=[{title:j,value:"open",id:"price-source-open"},{title:U,value:"high",id:"price-source-high"},{title:G,value:"low",id:"price-source-low"},{title:z,value:"close",id:"price-source-close"},{title:J,value:"hl2",id:"price-source-hl2"},{title:q,value:"hlc3",id:"price-source-hlc3"},{title:K,value:"ohlc4",id:"price-source-ohlc4"}];function ie(){const e=[{title:Q,value:"default"}],i=function(e=15){const i=[];for(let t=0;t<=e;t++)i.push({priceScale:Math.pow(10,t),minMove:1,frac:!1});return i}();for(let t=0;t<i.length;t++){const n=Math.log10(i[t].priceScale),o=0===n?"Integer":1===n?`${n} decimal`:`${n} decimals`;e.push({title:o,value:`${i[t].priceScale},${i[t].minMove},${i[t].frac}`})}for(let i=0;i<Z.length;i++)e.push({title:`${Z[i].minMove}/${Z[i].priceScale}`,value:`${Z[i].priceScale},${Z[i].minMove},${Z[i].frac}`});return e}class te{constructor(e,i,t,n,o,r){this._definitions=null,this._inputsSubscriptions=null,this._isDestroyed=!1,this._propertyPages=null,this._seriesMinTickWV=null,this._sessionIdOptionsWV=new a.WatchedValue([]),this._series=e,this._undoModel=i,this._model=this._undoModel.model(),this._propertyPageId=t,this._propertyPageName=n,this._propertyPageIcon=o,this._timezonePropertyObj=r,this._series.onStyleChanged().subscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().subscribe(this,this._updateDefinitions),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSeriesMinTickWV),this._series.dataEvents().symbolResolved().subscribe(this,this._updateSessionIdOptionsWV),this._updateSeriesMinTickWV(),this._updateSessionIdOptionsWV()}destroy(){null!==this._propertyPages&&this._propertyPages.forEach((e=>{(0,s.destroyDefinitions)(e.definitions.value())})),this._series.onStyleChanged().unsubscribe(this,this._updateDefinitions),this._series.properties().childs().rangeStyle.childs().barStyle.listeners().unsubscribeAll(this),this._series.dataEvents().symbolResolved().unsubscribeAll(this),this._unsubscribeInputsUpdate(),this._isDestroyed=!0}propertyPages(){return null===this._propertyPages?this._getDefinitions().then((e=>{var i;if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");return null===this._propertyPages&&(this._propertyPages=[{id:this._propertyPageId,title:this._propertyPageName,icon:this._propertyPageIcon,definitions:new a.WatchedValue(e.definitions),
visible:null!==(i=e.visible)&&void 0!==i?i:new a.WatchedValue(!0).readonly()}]),this._propertyPages})):Promise.resolve(this._propertyPages)}_seriesMinTick(){const e=this._series.symbolInfo();return null!==e?e.minmov/e.pricescale:null}_updateSeriesMinTickWV(){null===this._seriesMinTickWV?this._seriesMinTickWV=new a.WatchedValue(this._seriesMinTick()):this._seriesMinTickWV.setValue(this._seriesMinTick())}_updateSessionIdOptionsWV(){if(!T)return;const e=this._series.symbolInfo();if(null===e)return;const i=(e.subsessions||[]).filter((e=>!e.private)).map((e=>({title:(0,w.translateSessionDescription)(e.description),value:e.id})));this._sessionIdOptionsWV.setValue(i)}_updateDefinitions(){null!==this._definitions&&(0,s.destroyDefinitions)(this._definitions.definitions),this._definitions=null,this._unsubscribeInputsUpdate(),this._createSeriesDefinitions().then((e=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");(0,n.ensureNotNull)(this._propertyPages)[0].definitions.setValue(e.definitions)}))}_getDefinitions(){return null===this._definitions?this._createSeriesDefinitions():Promise.resolve(this._definitions)}_unsubscribeInputsUpdate(){null!==this._inputsSubscriptions&&(this._inputsSubscriptions.forEach((e=>{e.unsubscribeAll(this)})),this._inputsSubscriptions=null)}_subscribeInputsUpdate(e,i){const t=[];e.forEach((e=>{if(void 0!==e.visible){const n=e.visible.split("==");if(2===n.length){const e=i[n[0]];-1===t.indexOf(e)&&(e.subscribe(this,this._updateDefinitions),t.push(e))}}})),t.length>0?this._inputsSubscriptions=t:this._inputsSubscriptions=null}_createSeriesDefinitions(){const e=this._series.properties().childs(),i=this._series.getInputsProperties(),r=this._series.getInputsInfoProperties(),l=e.style.value(),u=this._series.getStyleShortName();return new Promise((e=>{const t=(0,c.chartStyleStudyId)(l);null!==t?this._model.studyMetaInfoRepository().findById({type:"java",studyId:t}).then((t=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return void e(null);const o=(0,n.ensureNotNull)(this._seriesMinTickWV),l=y(this._undoModel,t.id,t.inputs,i,r,o,u);this._subscribeInputsUpdate(t.inputs,i),e(l)})).catch((i=>{b.logWarn(`Find meta info for create series definitions with error - ${(0,v.errorToString)(i)}`),e(null)})):e(null)})).then((i=>{if(this._isDestroyed)throw new Error("SeriesPropertyDefinitionsViewModel already destroyed");if(null!==this._definitions)return this._definitions;const n=(0,d.getSeriesStylePropertiesDefinitions)(this._undoModel,e,l,{seriesPriceSources:ee,isJapaneseChartsAvailable:true},"mainSeries");null!==i&&n.push(...i);const r=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,e.minTick,m)},{id:`${u}SymbolMinTick`,title:H,options:new a.WatchedValue(ie())}),h=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,this._timezonePropertyObj.property,D)},{id:`${u}SymbolTimezone`,title:R,
options:new a.WatchedValue(this._timezonePropertyObj.values)});return this._definitions={definitions:[(0,s.createPropertyDefinitionsGeneralGroup)(n,"generalSymbolStylesGroup",(0,c.getTranslatedChartStyleName)(l)),(0,s.createPropertyDefinitionsGeneralGroup)(this._seriesPriceLinesDefinitions(u),"priceLinesGroup",o.t(null,void 0,t(77986))),(0,s.createPropertyDefinitionsGeneralGroup)([...this._seriesDataDefinitions(u),r,h],"dataModififcationGroup",o.t(null,void 0,t(81285)))]},this._definitions}))}_seriesDataDefinitions(e){const i=[];if(T){const t=this._series.sessionIdProxyProperty(),n=(0,S.combineWithFilteredUpdate)(((e,i)=>!i&&(0,c.symbolHasSeveralSessions)(this._series.symbolInfo())),((e,i)=>i||!e),this._series.symbolResolvingActive().weakReference(),(0,f.createWVFromProperty)(this._series.isDWMProperty()).ownership()),o=(0,s.createOptionsPropertyDefinition)({option:(0,s.convertToDefinitionProperty)(this._undoModel,t,_),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(n.ownership())},{id:"sessionId",title:F,options:this._sessionIdOptionsWV});i.push(o);const r=this._model.sessions().graphicsInfo();let l=!1;r.backgrounds&&(l=void 0!==r.backgrounds.outOfSession);const a=l?this._createOutOfSessionDefinition(e):this._createPrePostMarketDefinition(e);i.push(a)}return i}_createOutOfSessionDefinition(e){const i=this._model.sessions().properties().childs().graphics.childs().backgrounds.childs().outOfSession.childs();return(0,s.createColorPropertyDefinition)({color:(0,s.getColorDefinitionProperty)(this._undoModel,i.color,i.transparency,C)},{id:`${e}SymbolExtendedHoursColors`,title:N})}_createPrePostMarketDefinition(e){const i=(0,S.combineWithFilteredUpdate)(((e,i)=>!i&&(0,c.symbolHasPreOrPostMarket)(this._series.symbolInfo())&&!(0,c.isRegularSessionId)(this._series.sessionIdProxyProperty().value())),((e,i)=>i||!e),this._series.symbolResolvingActive().weakReference(),(0,f.createWVFromProperty)(this._series.isDWMProperty()).ownership()),t=this._model.sessions(),n=t.properties().childs().graphics.childs().backgrounds.childs().preMarket.childs(),o=t.properties().childs().graphics.childs().backgrounds.childs().postMarket.childs();return(0,s.createTwoColorsPropertyDefinition)({color1:(0,s.getColorDefinitionProperty)(this._undoModel,n.color,n.transparency,k),color2:(0,s.getColorDefinitionProperty)(this._undoModel,o.color,o.transparency,L),visible:(0,s.convertFromReadonlyWVToDefinitionProperty)(i.ownership())},{id:`${e}SymbolExtendedHoursColors`,title:N})}_seriesPriceLinesDefinitions(e){const i=[],t=this._series.properties().childs();if(this._series.hasClosePrice()){const n=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,t.showPriceLine,M),color:(0,s.getColorDefinitionProperty)(this._undoModel,t.priceLineColor,null,$),width:(0,s.convertToDefinitionProperty)(this._undoModel,t.priceLineWidth,W)},{id:`${e}SymbolLastValuePriceLine`,title:E});i.push(n)}this._series.hasClosePrice();const n=t.highLowAvgPrice.childs(),o=(0,s.createLinePropertyDefinition)({checked:(0,
s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesVisible,V),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.highLowPriceLinesColor,null,I),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.highLowPriceLinesWidth,O)},{id:`${e}SymbolHighLowPriceLines`,title:X});if(i.push(o),P){const t=(0,s.createLinePropertyDefinition)({checked:(0,s.convertToDefinitionProperty)(this._undoModel,n.averageClosePriceLineVisible,B),color:(0,s.getColorDefinitionProperty)(this._undoModel,n.averagePriceLineColor,null,A),width:(0,s.convertToDefinitionProperty)(this._undoModel,n.averagePriceLineWidth,x)},{id:`${e}SymbolAverageClosePriceLine`,title:Y});i.push(t)}return i}}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4378],{45015:e=>{e.exports={"link-item":"link-item-eIA09f0e"}},85200:e=>{e.exports={"arrow-icon":"arrow-icon-NIrWNOPk",dropped:"dropped-NIrWNOPk","size-xsmall":"size-xsmall-NIrWNOPk","size-small":"size-small-NIrWNOPk","size-medium":"size-medium-NIrWNOPk","size-large":"size-large-NIrWNOPk","size-xlarge":"size-xlarge-NIrWNOPk"}},25164:e=>{e.exports={"underline-tab":"underline-tab-cfYYXvwA","disable-focus-outline":"disable-focus-outline-cfYYXvwA","enable-cursor-pointer":"enable-cursor-pointer-cfYYXvwA",selected:"selected-cfYYXvwA","disable-active-state-styles":"disable-active-state-styles-cfYYXvwA","size-xsmall":"size-xsmall-cfYYXvwA","size-small":"size-small-cfYYXvwA","size-medium":"size-medium-cfYYXvwA","size-large":"size-large-cfYYXvwA","size-xlarge":"size-xlarge-cfYYXvwA",fake:"fake-cfYYXvwA"}},79877:e=>{e.exports={"scroll-wrap":"scroll-wrap-SmxgjhBJ","size-xlarge":"size-xlarge-SmxgjhBJ","enable-scroll":"enable-scroll-SmxgjhBJ","underline-tabs":"underline-tabs-SmxgjhBJ","size-large":"size-large-SmxgjhBJ","size-medium":"size-medium-SmxgjhBJ","size-small":"size-small-SmxgjhBJ","size-xsmall":"size-xsmall-SmxgjhBJ","stretch-tabs":"stretch-tabs-SmxgjhBJ","stretch-tab-item":"stretch-tab-item-SmxgjhBJ"}},56073:(e,t,n)=>{"use strict";function i(e,t=!1){const n=getComputedStyle(e),i=[n.height];return"border-box"!==n.boxSizing&&i.push(n.paddingTop,n.paddingBottom,n.borderTopWidth,n.borderBottomWidth),t&&i.push(n.marginTop,n.marginBottom),i.reduce(((e,t)=>e+(parseFloat(t)||0)),0)}function a(e,t=!1){const n=getComputedStyle(e),i=[n.width];return"border-box"!==n.boxSizing&&i.push(n.paddingLeft,n.paddingRight,n.borderLeftWidth,n.borderRightWidth),t&&i.push(n.marginLeft,n.marginRight),i.reduce(((e,t)=>e+(parseFloat(t)||0)),0)}n.d(t,{outerHeight:()=>i,outerWidth:()=>a})},64378:(e,t,n)=>{"use strict";n.d(t,{UnderlineButtonTabs:()=>se});var i,a=n(50959),s=n(97754),l=n.n(s),r=n(44352);!function(e){e.StartFirst="start-first",e.EndFirst="end-first"}(i||(i={}));var o=n(67842),c=n(56073),u=n(78869),d=n(43010),m=n(53017);function b(e){const{itemsList:t,getItemId:n,calcVisibleAndHiddenItems:i,shouldKeepItemVisible:s,onMeasureCallback:l,forceUpdate:r=!1}=e,[b,h]=(0,u.useRefsMap)(),v=(0,a.useRef)(null),g=(0,a.useRef)({widthsMap:new Map,containerWidth:0,moreButtonWidth:0}),[p,C]=(0,a.useState)({visible:t,hidden:[]}),k=(0,a.useMemo)((()=>t.reduce(((e,t,n)=>(s(t)&&e.push(n),e)),[])),[t,s]),w=(0,a.useCallback)((()=>{const e=i(g.current,k);(function(e,t){return!f(e.visible,t.visible)||!f(e.hidden,t.hidden)})(p,e)&&C(e)}),[t,n,g,C,p,k]),x=(0,a.useCallback)((()=>{g.current.moreButtonWidth=v.current?(0,c.outerWidth)(v.current,!0):0;const e=new Map(g.current.widthsMap);for(const i of t){const t=n(i),a=b.current.get(t);if(a){const n=(0,c.outerWidth)(a,!0);e.set(t,n)}}g.current.widthsMap=e,l&&l()}),[g,t]),y=(0,a.useRef)(null),A=(0,a.useCallback)((([e])=>{e.contentRect.width!==g.current.containerWidth&&(y.current&&cancelAnimationFrame(y.current),
g.current.containerWidth=e.contentRect.width,y.current=requestAnimationFrame((()=>{w()})))}),[g,w]),I=(0,a.useRef)(null),R=(0,a.useCallback)((([e])=>{I.current&&cancelAnimationFrame(I.current),x(),I.current=requestAnimationFrame((()=>{w()}))}),[x,w]),z=(0,o.useResizeObserver)(R),S=(0,o.useResizeObserver)(A),B=(0,a.useRef)(null),N=(0,m.mergeRefs)([S,B]),E=(0,a.useRef)(t),W=(0,a.useRef)(!0),H=(0,a.useRef)([]);return(0,d.useIsomorphicLayoutEffect)((()=>{!r&&!W.current&&f(E.current,t)&&f(k,H.current)||(w(),W.current=!1,E.current=t,H.current=k)}),[t,w,k,r]),{containerRefCallback:N,moreButtonRef:v,innerContainerRefCallback:z,itemsRefs:b,setItemRef:h,hiddenItems:p.hidden,visibleItems:p.visible}}function f(e,t){return e.length===t.length&&e.reduce(((e,n,i)=>e&&n===t[i]),!0)}function h(e,t,n,s=i.EndFirst){const l=(0,a.useCallback)(((n,a)=>{const l=e.map((e=>{var i;return null!==(i=n.widthsMap.get(t(e)))&&void 0!==i?i:0}));return function({items:e,containerWidth:t,elementsWidths:n,menuItemWidth:a,keepVisible:s,direction:l}){const r=[...e],o=[],c=[];let u=0;for(const e of n)u+=e;if(u<=t)return{visible:r,hidden:c};const d=[...n];if(u=s.map((e=>d[e])).reduce(((e,t)=>e+t),0)+a,l===i.EndFirst)for(let e=0;e<r.length;e++)s.includes(e)?o.push(r[e]):(u+=d[e],u<=t?o.push(r[e]):c.push(r[e]));else for(let e=r.length-1;e>=0;e--)s.includes(e)?o.unshift(r[e]):(u+=d[e],u<=t?o.unshift(r[e]):c.unshift(r[e]));return{visible:o,hidden:c}}({items:e,containerWidth:n.containerWidth,elementsWidths:l,menuItemWidth:n.moreButtonWidth,keepVisible:a,direction:s})}),[e]);return b({itemsList:e,getItemId:t,calcVisibleAndHiddenItems:l,shouldKeepItemVisible:n})}var v,g=n(38528),p=n(47201),C=n(7953),k=n(22064);function w(e,t,n,i,a){return{id:e,role:"tablist","aria-orientation":t,"aria-label":a,"aria-labelledby":i,"aria-disabled":n}}function x(e,t,n,i,a){return{id:e,role:"tab",tabIndex:t?0:-1,disabled:a,"aria-selected":n,"aria-controls":i,"aria-disabled":a}}!function(e){e.SquareButtonTabs="square-button-tabs",e.UnderlineButtonTabs="underline-button-tabs",e.UnderlineAnchorTabs="underline-anchor-tabs",e.RoundAnchorTabs="round-anchor-tabs",e.RoundButtonTabs="round-button-tabs"}(v||(v={}));var y=n(29202),A=n(16921),I=n(50151),R=n(66686),z=n(36762);function S(){return!1}function B(e){const{activationType:t="manual"}=e,n=(0,a.useMemo)((()=>t),[]);return(0,I.assert)(t===n,"Activation type must be invariant."),"automatic"===t?function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:s,onHighlight:l,onActivate:r,isCollapsed:o=S}=e,c=(0,a.useCallback)((e=>{l(e),o(e)||r(e)}),[l,r,o]);return(0,R.useKeyboardEventHandler)([(0,z.useItemsKeyboardNavigation)(t,n,s,c,!0)],i)}(e):function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:s,onHighlight:l,onActivate:r}=e,o=n.find(s),c=(0,a.useCallback)((()=>{void 0!==o&&r(o)}),[o,r]),u=(0,a.useCallback)((e=>l(e)),[l]),d=(0,z.useItemsKeyboardNavigation)(t,n,s,u,!0),m=(0,R.useKeyboardActionHandler)([13,32],c);return(0,R.useKeyboardEventHandler)([d,m],i)}(e)}var N=n(5325);function E(e){
const{id:t,items:n,orientation:i="horizontal",activationType:s="manual",disabled:l,tablistLabelId:r,tablistLabel:o,focusOnHighlight:c=!0,preventDefaultIfKeyboardActionHandled:u=!0,scrollIntoViewOptions:d,isActive:m,onActivate:b,isCollapsed:f,isRtl:h}=e,v=function(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}(),g=(0,a.useRef)(new Map),[C,I]=(0,a.useState)(),[R,z]=(0,y.useFocus)(),S=n.find(m),E=(0,a.useCallback)((e=>!l&&!e.disabled&&e===C),[l,C]),W=(0,a.useCallback)((e=>{const t=g.current.get(e);c&&void 0!==t&&t!==document.activeElement&&t.focus()}),[c,g]),H=(0,a.useRef)(),O=(0,a.useCallback)(((e,t)=>{l||e.disabled||(I(e),"number"==typeof t?(clearTimeout(H.current),H.current=setTimeout((()=>W(e)),t)):W(e))}),[l,E,I,W]),F=(0,a.useCallback)((e=>{l||e.disabled||(b(e),E(e)||O(e))}),[l,m,b,E,O]),T=B({isRtl:h,items:(0,a.useMemo)((()=>n.filter((e=>!l&&!e.disabled))),[n,l]),activationType:s,preventDefaultIfHandled:u,onActivate:F,isHighlighted:E,onHighlight:O,isCollapsed:f}),M=(0,a.useCallback)((e=>{let t=null;for(const[n,i]of g.current.entries())if(e.target===i){t=n;break}t&&!E(t)&&("automatic"===s&&f&&!f(t)?F(t):O(t))}),[s,g,E,O,F,f]);(0,a.useEffect)((()=>{R?void 0!==C||void 0===S||v||I(S):I(void 0)}),[R,C,S,I]),(0,a.useEffect)((()=>()=>clearTimeout(H.current)),[]);const[Y,L]=(0,A.useKeepActiveItemIntoView)({...d,activeItem:null!=C?C:S,getKey:(0,a.useCallback)((e=>e.id),[])}),K=(0,a.useCallback)(((e,t)=>{L(e,t),null!==t?g.current.set(e,t):g.current.delete(e)}),[L,g]);var D;return{tabsBindings:n.map((e=>{var t,n;const i=E(e),a=m(e),s=null!==(n=null!==(t=e.disabled)&&void 0!==t?t:l)&&void 0!==n&&n,r=!s&&(R?i:a);return{...x(e.id,r,a,e.tabpanelId,s),highlighted:i,active:a,handleItemRef:K}})),tablistBinding:{...w((D=t,(0,k.createDomId)(D,"tablist")),i,l,r,o),onBlur:z.onBlur,onFocus:(0,p.createSafeMulticastEventHandler)(z.onFocus,M),onKeyDown:T},scrollWrapBinding:{ref:Y},onActivate:F,onHighlight:O,isHighlighted:E}}var W=n(26597);const H=(0,a.createContext)("small");var O=n(17946),F=n(25164);function T(e){const{size:t="xsmall",active:n,fake:i,enableActiveStateStyles:a,anchor:l=!1,hideFocusOutline:r=!1,className:o}=e;return s(F["underline-tab"],F[`size-${t}`],n&&F.selected,!a&&F["disable-active-state-styles"],r&&F["disable-focus-outline"],i&&F.fake,l&&F["enable-cursor-pointer"],o)}const M=(0,a.forwardRef)(((e,t)=>{const n=(0,a.useContext)(H),i=(0,a.useContext)(O.CustomBehaviourContext),{active:s,fake:l,className:r,enableActiveStateStyles:o=i.enableActiveStateStyles,hideFocusOutline:c=!1,...u}=e;return a.createElement("button",{...u,ref:t,className:T({size:n,active:s,fake:l,enableActiveStateStyles:o,hideFocusOutline:c,className:r})})}));M.displayName="UnderlineTabsBaseButton";const Y=(0,a.forwardRef)(((e,t)=>{const{item:n,highlighted:i,handleItemRef:s,onClick:l,"aria-disabled":r,...o}=e,c=(0,a.useCallback)((()=>{l&&l(n)}),[l,n]),u=(0,a.useCallback)((e=>{s&&s(n,e),t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[n,s,t]);return a.createElement(M,{...o,id:n.id,onClick:c,ref:u
},n.label)}));Y.displayName="UnderlineButtonTab";var L=n(16396),K=n(4523),D=n(9745),P=n(47531),j=n(2948),X=n(63509),J=n(68874),V=n(85200);function U(e){switch(e){case"xsmall":return P;case"small":return j;case"medium":case"large":return X;case"xlarge":return J}}function q(e){const{size:t,isDropped:n=!1}=e;return a.createElement(D.Icon,{icon:U(t),className:s(V["arrow-icon"],V[`size-${t}`],n&&V.dropped)})}var $=n(45015);function Z(e){const{size:t,disabled:n,isOpened:i,enableActiveStateStyles:s,hideFocusOutline:l,fake:r,items:o,buttonContent:c,buttonRef:u,isAnchorTabs:d,isHighlighted:m,onButtonClick:b,onItemClick:f,onClose:h}=e,v=(0,a.useRef)(null),p=(0,g.useMergedRefs)([u,v]),C=function(e,t){const n=(0,a.useRef)(Q);return(0,a.useEffect)((()=>{const e=getComputedStyle((0,I.ensureNotNull)(t.current));n.current={xsmall:G(e,"xsmall"),small:G(e,"small"),medium:G(e,"medium"),large:G(e,"large"),xlarge:G(e,"xlarge")}}),[t]),(0,a.useCallback)((()=>{const i=(0,I.ensureNotNull)(t.current).getBoundingClientRect(),a=n.current[e];return{x:i.left,y:i.top+i.height+a+4,indentFromWindow:{top:4,bottom:4,left:4,right:4}}}),[t,e])}(t,v);return a.createElement(K.PopupMenuDisclosureView,{buttonRef:v,listboxTabIndex:-1,isOpened:i,onClose:h,listboxAria:{"aria-hidden":!0},popupPosition:C,button:a.createElement(M,{"aria-hidden":!0,disabled:n,active:i,onClick:b,ref:p,tabIndex:-1,enableActiveStateStyles:s,hideFocusOutline:l,fake:r},c,a.createElement(q,{size:t,isDropped:i})),popupChildren:o.map((e=>a.createElement(L.PopupMenuItem,{key:e.id,className:d?$["link-item"]:void 0,onClick:f,onClickArg:e,isActive:m(e),label:e.label,isDisabled:e.disabled,link:"href"in e?e.href:void 0,rel:"rel"in e?e.rel:void 0,target:"target"in e?e.target:void 0,renderComponent:"renderComponent"in e?e.renderComponent:void 0,dontClosePopup:!0})))})}function G(e,t){return parseInt(e.getPropertyValue(`--ui-lib-underline-tabs-tab-margin-bottom-${t}`),10)}const Q={xsmall:0,small:0,medium:0,large:0,xlarge:0};function _(e,t=!1){const[n,i]=(0,a.useState)(t);return(0,a.useEffect)((()=>{const t=window.matchMedia(e);function n(){i(t.matches)}return n(),t.addListener(n),()=>{t.removeListener(n)}}),[e]),n}var ee=n(86240),te=n(79877);function ne(e){const{size:t,overflowBehaviour:n,className:i}=e;return s(te["scroll-wrap"],te[`size-${t}`],"scroll"===n&&te["enable-scroll"],i)}function ie(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}var ae=n(38223);function se(e){const{id:t,items:i,activationType:s,orientation:o,disabled:c,moreButtonContent:u=r.t(null,void 0,n(41610)),size:d="small",onActivate:m,isActive:b,className:f,style:v,overflowBehaviour:k,enableActiveStateStyles:w,tablistLabelId:x,tablistLabel:y,"data-name":A="underline-tabs-buttons",stretchTabs:I}=e,R=ie(),z=function(e){const t=_(ee["media-mf-phone-landscape"],!0),n=ie();return null!=e?e:n||!t?"scroll":"collapse"}(k),S=(0,a.useRef)(!1),B=(0,
a.useCallback)((e=>e.id),[]),N="none"===z&&I,O=null!=w?w:!R,{visibleItems:F,hiddenItems:T,containerRefCallback:M,innerContainerRefCallback:L,moreButtonRef:K,setItemRef:D}=h(i,B,b),P="collapse"===z?F:i,j="collapse"===z?T:[],X=(0,a.useCallback)((e=>j.includes(e)),[j]),{tabsBindings:J,tablistBinding:V,scrollWrapBinding:U,onActivate:q,onHighlight:$,isHighlighted:G}=E({id:t,items:[...P,...j],activationType:s,orientation:o,disabled:c,tablistLabelId:x,tablistLabel:y,onActivate:m,isActive:b,isCollapsed:X,isRtl:ae.isRtl}),Q=j.find(G),se=(0,a.useCallback)((()=>{const e=i.find(b);e&&$(e)}),[$,b,i]),le=(0,a.useCallback)((e=>{var t;return null!==(t=J.find((t=>t.id===e.id)))&&void 0!==t?t:{}}),[i,J]),{isOpened:re,open:oe,close:ce,onButtonClick:ue}=(0,C.useDisclosure)({id:t,disabled:c}),de=(0,a.useCallback)((()=>{ce(),se(),S.current=!0}),[ce,se]),me=(0,a.useCallback)((()=>{Q&&(q(Q),$(Q,200))}),[q,$,Q]);U.ref=(0,g.useMergedRefs)([U.ref,M]),V.ref=(0,g.useMergedRefs)([V.ref,L]),V.onKeyDown=(0,p.createSafeMulticastEventHandler)((0,W.useKeyboardEventHandler)([(0,W.useKeyboardClose)(re,de),(0,W.useKeyboardActionHandler)([13,32],me,(0,a.useCallback)((()=>Boolean(Q)),[Q]))]),V.onKeyDown);const be=(0,a.useCallback)((e=>{S.current=!0,ue(e)}),[S,ue]),fe=(0,a.useCallback)((e=>{e&&q(e)}),[q]);return(0,a.useEffect)((()=>{S.current?S.current=!1:(Q&&!re&&oe(),!Q&&re&&ce())}),[Q,re,oe,ce]),a.createElement(H.Provider,{value:d},a.createElement("div",{...U,className:ne({size:d,overflowBehaviour:z,className:f}),style:v,"data-name":A},a.createElement("div",{...V,className:l()(te["underline-tabs"],N&&te["stretch-tabs"])},P.map((e=>a.createElement(Y,{...le(e),className:l()(N&&te["stretch-tab-item"]),key:e.id,item:e,onClick:()=>q(e),enableActiveStateStyles:O,hideFocusOutline:R,ref:D(B(e)),...e.dataId&&{"data-id":e.dataId}}))),j.map((e=>a.createElement(Y,{...le(e),key:e.id,item:e,fake:!0}))),a.createElement(Z,{size:d,disabled:c,isOpened:re,items:j,buttonContent:u,buttonRef:K,isHighlighted:G,onButtonClick:be,onItemClick:fe,onClose:ce,enableActiveStateStyles:O,hideFocusOutline:R,fake:0===j.length}))))}var le=n(38952);function re(e){return a.createElement("a",{...(0,le.renameRef)(e)})}(0,a.forwardRef)(((e,t)=>{var n;const i=(0,a.useContext)(H),s=(0,a.useContext)(O.CustomBehaviourContext),{item:l,highlighted:r,handleItemRef:o,onClick:c,active:u,fake:d,className:m,enableActiveStateStyles:b=s.enableActiveStateStyles,hideFocusOutline:f=!1,disabled:h,"aria-disabled":v,...g}=e,p=(0,a.useCallback)((e=>{v?e.preventDefault():c&&c(l)}),[c,v,l]),C=(0,a.useCallback)((e=>{o&&o(l,e),t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[l,o,t]),k=null!==(n=l.renderComponent)&&void 0!==n?n:re;return a.createElement(k,{...g,id:l.id,"aria-disabled":v,onClick:p,reference:C,href:l.href,rel:l.rel,target:l.target,className:T({size:i,active:u,fake:d,enableActiveStateStyles:b,anchor:!0,hideFocusOutline:f,className:m})},l.label)})).displayName="UnderlineAnchorTab"},47531:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="m4.67 7.38.66-.76L9 9.84l3.67-3.22.66.76L9 11.16 4.67 7.38Z"/></svg>'},63509:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M8.38 11.78a1 1 0 0 0 1.24 0l5-4a1 1 0 1 0-1.24-1.56L9 9.72l-4.38-3.5a1 1 0 1 0-1.24 1.56l5 4Z"/></svg>'},68874:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M7.3 10.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z"/></svg>'}}]);

View File

@@ -0,0 +1,6 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4378],{45015:e=>{e.exports={"link-item":"link-item-eIA09f0e"}},85200:e=>{e.exports={"arrow-icon":"arrow-icon-NIrWNOPk",dropped:"dropped-NIrWNOPk","size-xsmall":"size-xsmall-NIrWNOPk","size-small":"size-small-NIrWNOPk","size-medium":"size-medium-NIrWNOPk","size-large":"size-large-NIrWNOPk","size-xlarge":"size-xlarge-NIrWNOPk"}},25164:e=>{e.exports={"underline-tab":"underline-tab-cfYYXvwA","disable-focus-outline":"disable-focus-outline-cfYYXvwA","enable-cursor-pointer":"enable-cursor-pointer-cfYYXvwA",selected:"selected-cfYYXvwA","disable-active-state-styles":"disable-active-state-styles-cfYYXvwA","size-xsmall":"size-xsmall-cfYYXvwA","size-small":"size-small-cfYYXvwA","size-medium":"size-medium-cfYYXvwA","size-large":"size-large-cfYYXvwA","size-xlarge":"size-xlarge-cfYYXvwA",fake:"fake-cfYYXvwA"}},79877:e=>{e.exports={"scroll-wrap":"scroll-wrap-SmxgjhBJ","size-xlarge":"size-xlarge-SmxgjhBJ","enable-scroll":"enable-scroll-SmxgjhBJ","underline-tabs":"underline-tabs-SmxgjhBJ","size-large":"size-large-SmxgjhBJ","size-medium":"size-medium-SmxgjhBJ","size-small":"size-small-SmxgjhBJ","size-xsmall":"size-xsmall-SmxgjhBJ","stretch-tabs":"stretch-tabs-SmxgjhBJ","stretch-tab-item":"stretch-tab-item-SmxgjhBJ"}},56073:(e,t,n)=>{"use strict";function i(e,t=!1){const n=getComputedStyle(e),i=[n.height];return"border-box"!==n.boxSizing&&i.push(n.paddingTop,n.paddingBottom,n.borderTopWidth,n.borderBottomWidth),t&&i.push(n.marginTop,n.marginBottom),i.reduce(((e,t)=>e+(parseFloat(t)||0)),0)}function a(e,t=!1){const n=getComputedStyle(e),i=[n.width];return"border-box"!==n.boxSizing&&i.push(n.paddingLeft,n.paddingRight,n.borderLeftWidth,n.borderRightWidth),t&&i.push(n.marginLeft,n.marginRight),i.reduce(((e,t)=>e+(parseFloat(t)||0)),0)}n.d(t,{outerHeight:()=>i,outerWidth:()=>a})},64378:(e,t,n)=>{"use strict";n.d(t,{UnderlineButtonTabs:()=>se});var i,a=n(50959),s=n(97754),l=n.n(s),r=n(44352);!function(e){e.StartFirst="start-first",e.EndFirst="end-first"}(i||(i={}));var o=n(67842),c=n(56073),u=n(78869),d=n(43010),m=n(53017);function b(e){const{itemsList:t,getItemId:n,calcVisibleAndHiddenItems:i,shouldKeepItemVisible:s,onMeasureCallback:l,forceUpdate:r=!1}=e,[b,h]=(0,u.useRefsMap)(),v=(0,a.useRef)(null),g=(0,a.useRef)({widthsMap:new Map,containerWidth:0,moreButtonWidth:0}),[p,C]=(0,a.useState)({visible:t,hidden:[]}),k=(0,a.useMemo)((()=>t.reduce(((e,t,n)=>(s(t)&&e.push(n),e)),[])),[t,s]),w=(0,a.useCallback)((()=>{const e=i(g.current,k);(function(e,t){return!f(e.visible,t.visible)||!f(e.hidden,t.hidden)})(p,e)&&C(e)}),[g,C,p,k,i]),x=(0,a.useCallback)((()=>{g.current.moreButtonWidth=v.current?(0,c.outerWidth)(v.current,!0):0;const e=new Map(g.current.widthsMap);for(const i of t){const t=n(i),a=b.current.get(t);if(a){const n=(0,c.outerWidth)(a,!0);e.set(t,n)}}g.current.widthsMap=e,l&&l()}),[g,t,n,b,l]),y=(0,a.useRef)(null),A=(0,a.useCallback)((([e])=>{e.contentRect.width!==g.current.containerWidth&&(y.current&&cancelAnimationFrame(y.current),
g.current.containerWidth=e.contentRect.width,y.current=requestAnimationFrame((()=>{w()})))}),[g,w]),I=(0,a.useRef)(null),R=(0,a.useCallback)((([e])=>{I.current&&cancelAnimationFrame(I.current),x(),I.current=requestAnimationFrame((()=>{w()}))}),[x,w]),z=(0,o.useResizeObserver)(R),B=(0,o.useResizeObserver)(A),S=(0,a.useRef)(null),N=(0,m.mergeRefs)([B,S]),E=(0,a.useRef)(t),W=(0,a.useRef)(!0),H=(0,a.useRef)([]);return(0,d.useIsomorphicLayoutEffect)((()=>{!r&&!W.current&&f(E.current,t)&&f(k,H.current)||(w(),W.current=!1,E.current=t,H.current=k)}),[t,w,k,r]),{containerRefCallback:N,moreButtonRef:v,innerContainerRefCallback:z,itemsRefs:b,setItemRef:h,hiddenItems:p.hidden,visibleItems:p.visible,itemsMeasurements:g}}function f(e,t){return e.length===t.length&&e.reduce(((e,n,i)=>e&&n===t[i]),!0)}function h(e,t,n,s=i.EndFirst){const l=(0,a.useCallback)(((n,a)=>{const l=e.map((e=>{var i;return null!==(i=n.widthsMap.get(t(e)))&&void 0!==i?i:0}));return function({items:e,containerWidth:t,elementsWidths:n,menuItemWidth:a,keepVisible:s,direction:l}){const r=[...e],o=[],c=[];let u=0;for(const e of n)u+=e;if(u<=t)return{visible:r,hidden:c};const d=[...n];if(u=s.map((e=>d[e])).reduce(((e,t)=>e+t),0)+a,l===i.EndFirst)for(let e=0;e<r.length;e++)s.includes(e)?o.push(r[e]):(u+=d[e],u<=t?o.push(r[e]):c.push(r[e]));else for(let e=r.length-1;e>=0;e--)s.includes(e)?o.unshift(r[e]):(u+=d[e],u<=t?o.unshift(r[e]):c.unshift(r[e]));return{visible:o,hidden:c}}({items:e,containerWidth:n.containerWidth,elementsWidths:l,menuItemWidth:n.moreButtonWidth,keepVisible:a,direction:s})}),[e]);return b({itemsList:e,getItemId:t,calcVisibleAndHiddenItems:l,shouldKeepItemVisible:n})}var v,g=n(38528),p=n(47201),C=n(7953),k=n(22064);function w(e,t,n,i,a){return{id:e,role:"tablist","aria-orientation":t,"aria-label":a,"aria-labelledby":i,"aria-disabled":n}}function x(e,t,n,i,a){return{id:e,role:"tab",tabIndex:t?0:-1,disabled:a,"aria-selected":n,"aria-controls":i,"aria-disabled":a}}!function(e){e.SquareButtonTabs="square-button-tabs",e.UnderlineButtonTabs="underline-button-tabs",e.UnderlineAnchorTabs="underline-anchor-tabs",e.RoundAnchorTabs="round-anchor-tabs",e.RoundButtonTabs="round-button-tabs",e.LightButtonTabs="light-button-tabs"}(v||(v={}));var y=n(29202),A=n(16921),I=n(50151),R=n(66686),z=n(36762);function B(){return!1}function S(e){const{activationType:t="manual"}=e,n=(0,a.useMemo)((()=>t),[]);return(0,I.assert)(t===n,"Activation type must be invariant."),"automatic"===t?function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:s,onHighlight:l,onActivate:r,isCollapsed:o=B}=e,c=(0,a.useCallback)((e=>{l(e),o(e)||r(e)}),[l,r,o]);return(0,R.useKeyboardEventHandler)([(0,z.useItemsKeyboardNavigation)(t,n,s,c,!0)],i)}(e):function(e){const{isRtl:t,items:n,preventDefaultIfHandled:i=!0,isHighlighted:s,onHighlight:l,onActivate:r}=e,o=n.find(s),c=(0,a.useCallback)((()=>{void 0!==o&&r(o)}),[o,r]),u=(0,a.useCallback)((e=>l(e)),[l]),d=(0,z.useItemsKeyboardNavigation)(t,n,s,u,!0),m=(0,R.useKeyboardActionHandler)([13,32],c);return(0,
R.useKeyboardEventHandler)([d,m],i)}(e)}var N=n(5325);function E(e){const{id:t,items:n,orientation:i="horizontal",activationType:s="manual",disabled:l,tablistLabelId:r,tablistLabel:o,focusOnHighlight:c=!0,preventDefaultIfKeyboardActionHandled:u=!0,scrollIntoViewOptions:d,isActive:m,onActivate:b,isCollapsed:f,isRtl:h}=e,v=function(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}(),g=(0,a.useRef)(new Map),[C,I]=(0,a.useState)(),[R,z]=(0,y.useFocus)(),B=n.find(m),E=(0,a.useCallback)((e=>!l&&!e.disabled&&e===C),[l,C]),W=(0,a.useCallback)((e=>{const t=g.current.get(e);c&&void 0!==t&&t!==document.activeElement&&t.focus()}),[c,g]),H=(0,a.useRef)(),O=(0,a.useCallback)(((e,t)=>{l||e.disabled||(I(e),"number"==typeof t?(clearTimeout(H.current),H.current=setTimeout((()=>W(e)),t)):W(e))}),[l,E,I,W]),T=(0,a.useCallback)((e=>{l||e.disabled||(b(e),E(e)||O(e))}),[l,m,b,E,O]),F=S({isRtl:h,items:(0,a.useMemo)((()=>n.filter((e=>!l&&!e.disabled))),[n,l]),activationType:s,preventDefaultIfHandled:u,onActivate:T,isHighlighted:E,onHighlight:O,isCollapsed:f}),M=(0,a.useCallback)((e=>{let t=null;for(const[n,i]of g.current.entries())if(e.target===i){t=n;break}t&&!E(t)&&("automatic"===s&&f&&!f(t)?T(t):O(t))}),[s,g,E,O,T,f]);(0,a.useEffect)((()=>{v||void 0!==B&&I(B)}),[B,v]),(0,a.useEffect)((()=>{R||I(void 0)}),[R]),(0,a.useEffect)((()=>()=>clearTimeout(H.current)),[]);const[Y,L]=(0,A.useKeepActiveItemIntoView)({...d,activeItem:null!=C?C:B,getKey:(0,a.useCallback)((e=>e.id),[])}),K=(0,a.useCallback)(((e,t)=>{L(e,t),null!==t?g.current.set(e,t):g.current.delete(e)}),[L,g]);var D;return{tabsBindings:n.map((e=>{var t,n;const i=E(e),a=m(e),s=null!==(n=null!==(t=e.disabled)&&void 0!==t?t:l)&&void 0!==n&&n,r=!s&&(R?i:a);return{...x(e.id,r,a,e.tabpanelId,s),highlighted:i,active:a,handleItemRef:K}})),tablistBinding:{...w((D=t,(0,k.createDomId)(D,"tablist")),i,l,r,o),onBlur:z.onBlur,onFocus:(0,p.createSafeMulticastEventHandler)(z.onFocus,M),onKeyDown:F},scrollWrapBinding:{ref:Y},onActivate:T,onHighlight:O,isHighlighted:E}}var W=n(26597);const H=(0,a.createContext)("small");var O=n(17946),T=n(25164);function F(e){const{size:t="xsmall",active:n,fake:i,enableActiveStateStyles:a,anchor:l=!1,hideFocusOutline:r=!1,className:o}=e;return s(T["underline-tab"],T[`size-${t}`],n&&T.selected,!a&&T["disable-active-state-styles"],r&&T["disable-focus-outline"],i&&T.fake,l&&T["enable-cursor-pointer"],o)}const M=(0,a.forwardRef)(((e,t)=>{const n=(0,a.useContext)(H),i=(0,a.useContext)(O.CustomBehaviourContext),{active:s,fake:l,className:r,enableActiveStateStyles:o=i.enableActiveStateStyles,hideFocusOutline:c=!1,...u}=e;return a.createElement("button",{...u,ref:t,className:F({size:n,active:s,fake:l,enableActiveStateStyles:o,hideFocusOutline:c,className:r})})}));M.displayName="UnderlineTabsBaseButton";const Y=(0,a.forwardRef)(((e,t)=>{const{item:n,highlighted:i,handleItemRef:s,onClick:l,"aria-disabled":r,...o}=e,c=(0,a.useCallback)((()=>{l&&l(n)}),[l,n]),u=(0,a.useCallback)((e=>{s&&s(n,e),
t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[n,s,t]);return a.createElement(M,{...o,id:n.id,onClick:c,ref:u},n.label)}));Y.displayName="UnderlineButtonTab";var L=n(16396),K=n(4523),D=n(9745),P=n(47531),j=n(2948),X=n(63509),J=n(68874),V=n(85200);function U(e){switch(e){case"xsmall":return P;case"small":return j;case"medium":case"large":return X;case"xlarge":return J}}function q(e){const{size:t,isDropped:n=!1}=e;return a.createElement(D.Icon,{icon:U(t),className:s(V["arrow-icon"],V[`size-${t}`],n&&V.dropped)})}var $=n(45015);function Z(e){const{size:t,disabled:n,isOpened:i,enableActiveStateStyles:s,hideFocusOutline:l,fake:r,items:o,buttonContent:c,buttonRef:u,isAnchorTabs:d,isHighlighted:m,onButtonClick:b,onItemClick:f,onClose:h}=e,v=(0,a.useRef)(null),p=(0,g.useMergedRefs)([u,v]),C=function(e,t){const n=(0,a.useRef)(Q);return(0,a.useEffect)((()=>{const e=getComputedStyle((0,I.ensureNotNull)(t.current));n.current={xsmall:G(e,"xsmall"),small:G(e,"small"),medium:G(e,"medium"),large:G(e,"large"),xlarge:G(e,"xlarge")}}),[t]),(0,a.useCallback)((()=>{const i=(0,I.ensureNotNull)(t.current).getBoundingClientRect(),a=n.current[e];return{x:i.left,y:i.top+i.height+a+4,indentFromWindow:{top:4,bottom:4,left:4,right:4}}}),[t,e])}(t,v);return a.createElement(K.PopupMenuDisclosureView,{buttonRef:v,listboxTabIndex:-1,isOpened:i,onClose:h,listboxAria:{"aria-hidden":!0},popupPosition:C,button:a.createElement(M,{"aria-hidden":!0,disabled:n,active:i,onClick:b,ref:p,tabIndex:-1,enableActiveStateStyles:s,hideFocusOutline:l,fake:r},c,a.createElement(q,{size:t,isDropped:i})),popupChildren:o.map((e=>a.createElement(L.PopupMenuItem,{key:e.id,className:d?$["link-item"]:void 0,onClick:f,onClickArg:e,isActive:m(e),label:e.label,isDisabled:e.disabled,link:"href"in e?e.href:void 0,rel:"rel"in e?e.rel:void 0,target:"target"in e?e.target:void 0,renderComponent:"renderComponent"in e?e.renderComponent:void 0,dontClosePopup:!0})))})}function G(e,t){return parseInt(e.getPropertyValue(`--ui-lib-underline-tabs-tab-margin-bottom-${t}`),10)}const Q={xsmall:0,small:0,medium:0,large:0,xlarge:0};function _(e,t=!1){const[n,i]=(0,a.useState)(t);return(0,a.useEffect)((()=>{const t=window.matchMedia(e);function n(){i(t.matches)}return n(),t.addListener(n),()=>{t.removeListener(n)}}),[e]),n}var ee=n(86240),te=n(79877);function ne(e){const{size:t,overflowBehaviour:n,className:i}=e;return s(te["scroll-wrap"],te[`size-${t}`],"scroll"===n&&te["enable-scroll"],i)}function ie(){const[e,t]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{t(N.mobiletouch)}),[]),e}var ae=n(38223);function se(e){const{id:t,items:i,activationType:s,orientation:o,disabled:c,moreButtonContent:u=r.t(null,void 0,n(41610)),size:d="small",onActivate:m,isActive:b,className:f,style:v,overflowBehaviour:k,enableActiveStateStyles:w,tablistLabelId:x,tablistLabel:y,"data-name":A="underline-tabs-buttons",stretchTabs:I}=e,R=ie(),z=function(e){const t=_(ee["media-mf-phone-landscape"],!0),n=ie();return null!=e?e:n||!t?"scroll":"collapse"}(k),B=(0,a.useRef)(!1),S=(0,
a.useCallback)((e=>e.id),[]),N="none"===z&&I,O=null!=w?w:!R,{visibleItems:T,hiddenItems:F,containerRefCallback:M,innerContainerRefCallback:L,moreButtonRef:K,setItemRef:D}=h(i,S,b),P="collapse"===z?T:i,j="collapse"===z?F:[],X=(0,a.useCallback)((e=>j.includes(e)),[j]),{tabsBindings:J,tablistBinding:V,scrollWrapBinding:U,onActivate:q,onHighlight:$,isHighlighted:G}=E({id:t,items:[...P,...j],activationType:s,orientation:o,disabled:c,tablistLabelId:x,tablistLabel:y,onActivate:m,isActive:b,isCollapsed:X,isRtl:ae.isRtl}),Q=j.find(G),se=(0,a.useCallback)((()=>{const e=i.find(b);e&&$(e)}),[$,b,i]),le=(0,a.useCallback)((e=>{var t;return null!==(t=J.find((t=>t.id===e.id)))&&void 0!==t?t:{}}),[i,J]),{isOpened:re,open:oe,close:ce,onButtonClick:ue}=(0,C.useDisclosure)({id:t,disabled:c}),de=(0,a.useCallback)((()=>{ce(),se(),B.current=!0}),[ce,se]),me=(0,a.useCallback)((()=>{Q&&(q(Q),$(Q,200))}),[q,$,Q]);U.ref=(0,g.useMergedRefs)([U.ref,M]),V.ref=(0,g.useMergedRefs)([V.ref,L]),V.onKeyDown=(0,p.createSafeMulticastEventHandler)((0,W.useKeyboardEventHandler)([(0,W.useKeyboardClose)(re,de),(0,W.useKeyboardActionHandler)([13,32],me,(0,a.useCallback)((()=>Boolean(Q)),[Q]))]),V.onKeyDown);const be=(0,a.useCallback)((e=>{B.current=!0,ue(e)}),[B,ue]),fe=(0,a.useCallback)((e=>{e&&q(e)}),[q]);return(0,a.useEffect)((()=>{B.current?B.current=!1:(Q&&!re&&oe(),!Q&&re&&ce())}),[Q,re,oe,ce]),a.createElement(H.Provider,{value:d},a.createElement("div",{...U,className:ne({size:d,overflowBehaviour:z,className:f}),style:v,"data-name":A},a.createElement("div",{...V,className:l()(te["underline-tabs"],N&&te["stretch-tabs"])},P.map((e=>a.createElement(Y,{...le(e),className:l()(N&&te["stretch-tab-item"]),key:e.id,item:e,onClick:()=>q(e),enableActiveStateStyles:O,hideFocusOutline:R,ref:D(S(e)),...e.dataId&&{"data-id":e.dataId}}))),j.map((e=>a.createElement(Y,{...le(e),key:e.id,item:e,fake:!0}))),a.createElement(Z,{size:d,disabled:c,isOpened:re,items:j,buttonContent:u,buttonRef:K,isHighlighted:G,onButtonClick:be,onItemClick:fe,onClose:ce,enableActiveStateStyles:O,hideFocusOutline:R,fake:0===j.length}))))}var le=n(38952);function re(e){return a.createElement("a",{...(0,le.renameRef)(e)})}(0,a.forwardRef)(((e,t)=>{var n;const i=(0,a.useContext)(H),s=(0,a.useContext)(O.CustomBehaviourContext),{item:l,highlighted:r,handleItemRef:o,onClick:c,active:u,fake:d,className:m,enableActiveStateStyles:b=s.enableActiveStateStyles,hideFocusOutline:f=!1,disabled:h,"aria-disabled":v,...g}=e,p=(0,a.useCallback)((e=>{v?e.preventDefault():c&&c(l)}),[c,v,l]),C=(0,a.useCallback)((e=>{o&&o(l,e),t&&"object"==typeof t?t.current=e:"function"==typeof t&&t(e)}),[l,o,t]),k=null!==(n=l.renderComponent)&&void 0!==n?n:re;return a.createElement(k,{...g,id:l.id,"aria-disabled":v,onClick:p,reference:C,href:l.href,rel:l.rel,target:l.target,className:F({size:i,active:u,fake:d,enableActiveStateStyles:b,anchor:!0,hideFocusOutline:f,className:m})},l.label)})).displayName="UnderlineAnchorTab"},47531:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="m4.67 7.38.66-.76L9 9.84l3.67-3.22.66.76L9 11.16 4.67 7.38Z"/></svg>'},63509:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M8.38 11.78a1 1 0 0 0 1.24 0l5-4a1 1 0 1 0-1.24-1.56L9 9.72l-4.38-3.5a1 1 0 1 0-1.24 1.56l5 4Z"/></svg>'},68874:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M7.3 10.3a1 1 0 0 1 1.4 0l5.3 5.29 5.3-5.3a1 1 0 1 1 1.4 1.42l-6 6a1 1 0 0 1-1.4 0l-6-6a1 1 0 0 1 0-1.42Z"/></svg>'}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,21 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4713],{37287:e=>{e.exports={calendar:"calendar-N6r5jhbE",popupStyle:"popupStyle-N6r5jhbE",header:"header-N6r5jhbE","flip-horizontal":"flip-horizontal-N6r5jhbE","sub-header":"sub-header-N6r5jhbE","view-month":"view-month-N6r5jhbE","view-year":"view-year-N6r5jhbE","view-decades":"view-decades-N6r5jhbE",weeks:"weeks-N6r5jhbE",week:"week-N6r5jhbE",day:"day-N6r5jhbE","accent-color":"accent-color-N6r5jhbE","current-day":"current-day-N6r5jhbE","slot-wrapper":"slot-wrapper-N6r5jhbE","hide-focus-ring":"hide-focus-ring-N6r5jhbE","decade-button":"decade-button-N6r5jhbE","visually-hidden":"visually-hidden-N6r5jhbE"}},53209:e=>{e.exports={container:"container-PNiXwSz6",icon:"icon-PNiXwSz6",tooltip:"tooltip-PNiXwSz6",date:"date-PNiXwSz6",time:"time-PNiXwSz6"}},20111:e=>{e.exports={pickerInput:"pickerInput-P2cJzZdH",icon:"icon-P2cJzZdH",disabled:"disabled-P2cJzZdH",picker:"picker-P2cJzZdH",fixed:"fixed-P2cJzZdH",absolute:"absolute-P2cJzZdH",nativePicker:"nativePicker-P2cJzZdH"}},30247:e=>{e.exports={tooltip:"tooltip-RU08GcsY"}},44022:e=>{e.exports={errors:"errors-bghR31WL",show:"show-bghR31WL",error:"error-bghR31WL","visually-hidden":"visually-hidden-bghR31WL"}},40461:e=>{e.exports={"error-icon":"error-icon-UhKAouIg","intent-danger":"intent-danger-UhKAouIg","intent-warning":"intent-warning-UhKAouIg"}},78634:e=>{e.exports={wrap:"wrap-NsE0FV0Z",input:"input-NsE0FV0Z"}},43832:e=>{e.exports={icon:"icon-Rubz29lH"}},27345:e=>{e.exports={"static-messages":"static-messages-cF4vS9J8",errors:"errors-cF4vS9J8",warnings:"warnings-cF4vS9J8","success-mesages":"success-mesages-cF4vS9J8","input-description":"input-description-cF4vS9J8",message:"message-cF4vS9J8"}},71986:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 430px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk","disclosure-item-circle-logo":"disclosure-item-circle-logo-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},78869:(e,t,n)=>{"use strict";n.d(t,{useRefsMap:()=>a});var s=n(50959);function a(){const e=(0,s.useRef)(new Map),t=(0,s.useCallback)((t=>n=>{null!==n?e.current.set(t,n):e.current.delete(t)}),[e]);return[e,t]}},47201:(e,t,n)=>{"use strict";function s(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>s})},27365:(e,t,n)=>{"use strict";n.d(t,{getChartTimezoneOffsetMs:()=>o,getTimezoneName:()=>r});var s=n(41249),a=n.n(s);function r(e){const t=e.model().timezone();if("exchange"!==t)return t;const n=e.model().mainSeries().symbolInfo();return null==n?void 0:n.timezone}function o(e,t){if(void 0===t)return 0;return a().get_timezone(t).offset_utc(e)}},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>s,dialogsOpenerManager:()=>a});class s{constructor(){
this._storage=new Map}setAsOpened(e,t){this._storage.set(e,t)}setAsClosed(e){this._storage.delete(e)}isOpened(e){return this._storage.has(e)}getDialogPayload(e){return this._storage.get(e)}}const a=new s},1405:(e,t,n)=>{"use strict";n.d(t,{anchors:()=>s});n(50959);const s={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},15499:(e,t,n)=>{"use strict";n.d(t,{CalendarViewType:()=>w,DECADES_YEARS_AMOUNT:()=>y,MONTHS:()=>o,MONTHS_SHORT:()=>i,SUB_HEADER_DECADES:()=>D,SUB_HEADER_YEAR:()=>b,WEEKDAYS_MIN:()=>a,getCurrentAriaLabel:()=>F,getCurrentVisibleTitle:()=>M,getDayAriaLabel:()=>C,getNextAriaLabel:()=>_,getNextLiveRegionConfirmation:()=>k,getNextMonth:()=>R,getPrevAriaLabel:()=>E,getPrevLiveRegionConfirmation:()=>S,getViewTypeLiveRegionConfirmation:()=>N});var s=n(44352);const a=[s.t(null,{context:"day_of_week"},n(11268)),s.t(null,{context:"day_of_week"},n(31533)),s.t(null,{context:"day_of_week"},n(26230)),s.t(null,{context:"day_of_week"},n(24793)),s.t(null,{context:"day_of_week"},n(19801)),s.t(null,{context:"day_of_week"},n(63331)),s.t(null,{context:"day_of_week"},n(85954))],r=[s.t(null,void 0,n(72149)),s.t(null,void 0,n(61199)),s.t(null,void 0,n(44979)),s.t(null,void 0,n(7147)),s.t(null,void 0,n(7951)),s.t(null,void 0,n(72970)),s.t(null,void 0,n(1144))],o=[s.t(null,void 0,n(26910)),s.t(null,void 0,n(16467)),s.t(null,void 0,n(84675)),s.t(null,void 0,n(97637)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(49385)),s.t(null,void 0,n(23230)),s.t(null,void 0,n(86797)),s.t(null,void 0,n(61132)),s.t(null,void 0,n(90784)),s.t(null,void 0,n(71194)),s.t(null,void 0,n(55669))],i=[s.t(null,void 0,n(95425)),s.t(null,void 0,n(35050)),s.t(null,void 0,n(51369)),s.t(null,void 0,n(42762)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(15224)),s.t(null,void 0,n(6215)),s.t(null,void 0,n(38465)),s.t(null,void 0,n(57902)),s.t(null,void 0,n(73546)),s.t(null,void 0,n(71230)),s.t(null,void 0,n(92203))],l=s.t(null,void 0,n(2587)),c=s.t(null,void 0,n(39752)),u=s.t(null,void 0,n(39329)),h=s.t(null,void 0,n(83771)),d=s.t(null,void 0,n(27004)),p=s.t(null,void 0,n(75385)),m=s.t(null,void 0,n(83583)),g=s.t(null,void 0,n(80879)),f=s.t(null,void 0,n(6244)),v={setMonth:s.t(null,void 0,n(92702)),setYear:s.t(null,void 0,n(52051)),setDecades:s.t(null,void 0,n(99990))};var w;!function(e){e.Month="month",e.Year="year",e.Decades="decades"}(w||(w={}));const D=s.t(null,void 0,n(69325)),b=s.t(null,void 0,n(95543)),y=20;function C(e){return`${r[e.getDay()]} ${e.getDate()} ${o[e.getMonth()]} ${e.getFullYear()}`}function E(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),`${l}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:
return`${u}, ${t.getFullYear()-1}`;case w.Decades:return`${d}, ${t.getFullYear()-y} - ${t.getFullYear()-1}`}}function _(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()+1),`${c}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:return`${h}, ${t.getFullYear()+1}`;case w.Decades:return`${p}, ${t.getFullYear()+y} - ${t.getFullYear()+2*y-1}`}}function F(e,t){switch(e){case w.Month:return`${m}, ${t.getFullYear()}`;case w.Year:return`${g}, ${t.getFullYear()} - ${t.getFullYear()+y-1}`;case w.Decades:return`${f}, ${o[t.getMonth()]} ${t.getFullYear()}`}}function M(e,t){switch(e){case w.Month:return`${o[t.getMonth()]} ${t.getFullYear()}`;case w.Year:return`${t.getFullYear()}`;case w.Decades:return`${t.getFullYear()} - ${t.getFullYear()+y-1}`}}function S(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:""+(t.getFullYear()-1)});case w.Decades:return v.setDecades.format({year_start:""+(t.getFullYear()-y),year_end:""+(t.getFullYear()-1)})}}function k(e,t){switch(e){case w.Month:{const e=R(t);return v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:`${t.getFullYear()+1}`});case w.Decades:return v.setDecades.format({year_start:`${t.getFullYear()+y}`,year_end:""+(t.getFullYear()+2*y-1)})}}function N(e,t){switch(e){case w.Month:return v.setYear.format({year:`${t.getFullYear()}`});case w.Year:return v.setDecades.format({year_start:`${t.getFullYear()}`,year_end:""+(t.getFullYear()+y-1)});case w.Decades:return v.setMonth.format({month:o[t.getMonth()]})}}function R(e){return 11===e.getMonth()?new Date(e.getFullYear()+1,0,1):new Date(e.getFullYear(),e.getMonth()+1,1)}},28746:(e,t,n)=>{"use strict";n.d(t,{Calendar:()=>E});var s=n(50959),a=n(97754),r=n(90744),o=n(17140),i=n(37287);function l(e){const{prevAriaLabel:t,nextAriaLabel:n,currentAriaLabel:a,currentVisibleTitle:l,isNextDisabled:c,isPrevDisabled:u,isViewModeDisabled:h,prevRef:d,middleRef:p,onPrevClick:m,onNextClick:g,onCurrentClick:f,onPrevKeyDown:v,onMiddleKeyDown:w,onHeaderKeyDown:D}=e;return s.createElement("div",{className:i.header,onKeyDown:D},s.createElement(r.LightButton,{startIcon:o,onClick:m,size:"small",variant:"ghost","aria-label":t,disabled:u,onKeyDown:v,reference:d}),s.createElement(r.LightButton,{size:"small",variant:"ghost","aria-label":a,onClick:f,disabled:h,onKeyDown:w,reference:p},l),s.createElement(r.LightButton,{startIcon:o,onClick:g,size:"small",variant:"ghost","aria-label":n,disabled:c,className:i["flip-horizontal"]}))}var c=n(23935),u=n(15499),h=n(53741);class d extends s.PureComponent{constructor(){super(...arguments),this._dateFormatter=new h.DateFormatter,this._getVariant=()=>{let e="ghost";return this._withinSelectedRange()&&(e=this.props.isDisabled?"secondary":"quiet-primary"),this._isOnHighlightedEdge()&&this.props.isDisabled&&(e="quiet-primary"),e},this._onClick=()=>{this.props.onClick&&!this.props.isDisabled&&this.props.onClick(new Date(this.props.day))}}render(){
const e=a(i.day,this.props.isDisabled&&i.disabled,!this.props.isDisabled&&(this.props.isSelected||this._isOnHighlightedEdge())&&i["accent-color"],this._withinSelectedRange()&&i["within-selected-range"],this._isCurrentDay()&&i["current-day"],!this.props.showFocusRing&&i["hide-focus-ring"]),t=this.props.isSelected||this._isOnHighlightedEdge()||this._withinSelectedRange(),n=t||this._isCurrentDay();return s.createElement(r.LightButton,{onClick:this._onClick,onFocus:this.props.onFocus,size:"small",variant:this._getVariant(),isSelected:n,"data-day":this._dateFormatter.formatLocal(this.props.day),className:e,disabled:this.props.isDisabled,reference:this.props.reference,tabIndex:this.props.tabIndex,"aria-label":(0,u.getDayAriaLabel)(this.props.day),"aria-selected":t,"aria-current":this._isCurrentDay()?"date":void 0},this.props.day.getDate())}_isOnHighlightedEdge(){const{day:e,highlightedFrom:t,highlightedTo:n}=this.props;return!(!t||!n)&&((0,c.isSameDay)(e,t)||(0,c.isSameDay)(e,n))}_withinSelectedRange(){const{day:e,highlightedFrom:t,highlightedTo:n}=this.props;return!(!t||!n)&&this._isBetweenByDay(t,e,n)}_isCurrentDay(){return(0,c.isSameDay)(new Date,this.props.day)}_isBetweenByDay(e,t,n){const s=(0,c.resetToDayStart)(e),a=(0,c.resetToDayStart)(t),r=(0,c.resetToDayStart)(n);return s<a&&a<r}}var p=n(78869),m=n(68335);function g({isDisabledDate:e,findDate:t,getFirstDate:n,getLastDate:a,setNext:r,setPrev:o,dateToFocus:i,verticalOffset:l,dateLevel:u}){const[h,d]=(0,p.useRefsMap)(),g=(0,s.useCallback)((t=>t?e(t)?null:t:null),[e]),f=(0,s.useCallback)(((n,s)=>{if(!n)return null;const a=(0,c.getCloneDateWithOffset)({dateFrom:n,offset:s,isDisabledDate:e,level:u});return g(t(a))}),[t,g]),v=(0,s.useCallback)((()=>{const e=n();return g(e)||f(e,1)}),[g,f]),w=(0,s.useCallback)((()=>{const e=a();return g(e)||f(e,-1)}),[g,f]),D=(0,s.useCallback)(((t,n)=>{if(!t)return;const s=(0,c.getCloneDateWithOffset)({dateFrom:t,offset:n,isDisabledDate:e,level:u});s&&(n>0?r(s):o(s))}),[e,r,o]),{currentlyFocused:b,setCurrentlyFocused:y,focusItem:C,bindings:E}=function({refsMap:e,verticalOffset:t,getNextKeyToFocus:n,getFirstKey:a,getLastKey:r,onGridEnd:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((t=>{if(!t)return;const n=e.current.get(t);n&&(n.focus(),l(t))}),[e]),u=(0,s.useCallback)((e=>{const t=n(i,e);t?c(t):o(i,e)}),[i,n]),h=(0,s.useCallback)((e=>{const n=(0,m.hashFromEvent)(e);if(40===n&&(e.preventDefault(),u(t)),38===n&&(e.preventDefault(),u(-1*t)),39===n&&(e.preventDefault(),u(1)),37===n&&(e.preventDefault(),u(-1)),36===n){e.preventDefault();const t=a();c(t)}if(35===n){e.preventDefault();const t=r();c(t)}}),[i,n]);return{currentlyFocused:i,setCurrentlyFocused:l,focusItem:c,bindings:{onKeyDown:h}}}({refsMap:h,verticalOffset:l,getNextKeyToFocus:f,getFirstKey:v,getLastKey:w,onGridEnd:D});return(0,s.useEffect)((()=>C(g(t(i)))),[i]),{itemsRefs:h,setItemRef:d,ensureNotDisabledDate:g,currentlyFocused:b,setCurrentlyFocused:y,focusItem:C,bindings:E}}function f(e){
const{selectedDate:t,dateToFocus:n,weeks:a,onClickDay:r,setPrevMonth:o,setNextMonth:l,maxDate:h,minDate:p,disableWeekends:m,showFocusRing:f,highlightedFrom:v,highlightedTo:w,isDisabled:D,focusableDateRef:b}=e,y=(0,s.useCallback)((e=>{if(!e)return null;let t=null;return a.find((({days:n})=>(t=n.find((t=>(0,c.isSameDay)(t,e))),t))),t}),[a]),C=(0,s.useCallback)((()=>a[0].days[0]),[a]),E=(0,s.useCallback)((()=>{const e=a[a.length-1].days;return e[e.length-1]}),[a]),_=(0,s.useCallback)((e=>D||(0,c.isDayDisabled)({day:e,minDate:p,maxDate:h,disableWeekends:m})),[p,h,m,D]),{itemsRefs:F,setItemRef:M,currentlyFocused:S,setCurrentlyFocused:k,bindings:N}=g({isDisabledDate:_,findDate:y,getFirstDate:C,getLastDate:E,setPrev:o,setNext:l,dateToFocus:n,verticalOffset:7,dateLevel:"day"}),R=(0,c.getDateInTabOrder)({selectedDate:t,dateToFocus:n,currentlyFocused:S,firstEnabledDate:(0,c.getFirstEnabledDay)(a,_),getFirstDate:C,getLastDate:E,isDisabledDate:_});return(0,s.useEffect)((()=>{b.current=R&&F.current.get(R)||null}),[R,b]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},u.WEEKDAYS_MIN.map((e=>s.createElement("span",{key:e},e)))),s.createElement("div",{className:i["view-month"],tabIndex:-1,...N},s.createElement("div",{className:i.weeks},a.map((({week:e,days:n})=>s.createElement("div",{className:i.week,key:e},n.map((e=>s.createElement(d,{key:e.toDateString(),day:e,isDisabled:_(e),isSelected:(0,c.isSameDay)(e,t),onClick:r,highlightedFrom:v,highlightedTo:w,reference:M(e),tabIndex:(0,c.isSameDay)(e,R)?0:-1,onFocus:(0,c.isSameDay)(e,R)?()=>k(e):void 0,showFocusRing:f})))))))))}function v(e){const{months:t,selectedDate:n,maxDate:a,minDate:o,showFocusRing:l,dateToFocus:h,isDisabled:d,focusableDateRef:p,onSelect:m,setPrevYear:f,setNextYear:v}=e,w=(0,s.useCallback)((e=>d||!(0,c.isInRange)(e,o,a,"month")),[o,a,d]),D=(0,s.useCallback)((e=>{if(!e)return null;let n=null;return t.find((({date:t})=>(n=(0,c.isSameMonth)(e,t)?t:null,n))),n}),[t]),b=(0,s.useCallback)((()=>t[0].date),[t]),y=(0,s.useCallback)((()=>t[t.length-1].date),[t]),{itemsRefs:C,setItemRef:E,currentlyFocused:_,setCurrentlyFocused:F,bindings:M}=g({isDisabledDate:w,findDate:D,getFirstDate:b,getLastDate:y,setPrev:f,setNext:v,verticalOffset:3,dateToFocus:h,dateLevel:"month"}),S=(0,c.getDateInTabOrder)({selectedDate:n,dateToFocus:h,currentlyFocused:_,firstEnabledDate:(0,c.getFirstEnabledMonth)(t,w),getFirstDate:b,getLastDate:y,isDisabledDate:w});return(0,s.useEffect)((()=>{p.current=S&&C.current.get(S)||null}),[S,p]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},s.createElement("span",null,u.SUB_HEADER_YEAR)),s.createElement("div",{className:i["view-year"],...M},t.map((({title:e,ariaLabel:t,date:a})=>{const o=(0,c.isSameMonth)(a,n),u=w(a),h=o?"quiet-primary":"ghost";return s.createElement(r.LightButton,{key:a.toDateString(),size:"small",variant:h,disabled:u,isSelected:o,className:!l&&i["hide-focus-ring"],onClick:()=>m(a),reference:E(a),tabIndex:(0,c.isSameMonth)(a,S)?0:-1,onFocus:(0,
c.isSameMonth)(a,S)?()=>F(a):void 0,"aria-label":`${t} ${a.getFullYear()}`,"aria-selected":o},e)}))))}function w(e){const{years:t,selectedDate:n,dateToFocus:o,maxDate:l,minDate:h,showFocusRing:d,isDisabled:p,focusableDateRef:m,onSelect:f,setPrevDecades:v,setNextDecades:w}=e,D=(0,s.useCallback)((e=>p||!(0,c.isInRange)(e,h,l,"year")),[h,l,p]),b=(0,s.useCallback)((e=>e&&t.find((t=>(0,c.isSameYear)(e,t)))||null),[t]),y=(0,s.useCallback)((()=>t[0]),[t]),C=(0,s.useCallback)((()=>t[t.length-1]),[t]),{itemsRefs:E,setItemRef:_,currentlyFocused:F,setCurrentlyFocused:M,bindings:S}=g({isDisabledDate:D,findDate:b,getFirstDate:y,getLastDate:C,setPrev:v,setNext:w,dateToFocus:o,verticalOffset:4,dateLevel:"year"}),k=(0,c.getDateInTabOrder)({selectedDate:n,dateToFocus:o,currentlyFocused:F,firstEnabledDate:(0,c.getFirstEnabledYear)(t,D),getFirstDate:y,getLastDate:C,isDisabledDate:D});return(0,s.useEffect)((()=>{m.current=k&&E.current.get(k)||null}),[k,m]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},s.createElement("span",null,u.SUB_HEADER_DECADES)),s.createElement("div",{className:i["view-decades"],...S},t.map((e=>{const t=e.getFullYear(),o=(0,c.isSameYear)(e,n),l=D(e),u=o?"quiet-primary":"ghost";return s.createElement(r.LightButton,{key:e.toDateString(),size:"small",variant:u,disabled:l,isSelected:o,className:a(i["decade-button"],!d&&i["hide-focus-ring"]),onClick:()=>f(e),reference:_(e),tabIndex:(0,c.isSameYear)(e,k)?0:-1,onFocus:(0,c.isSameYear)(e,k)?()=>M(e):void 0,"aria-selected":o},t)}))))}class D{constructor(e,t=[]){this._messagesQueue=[],this._alternate=!1,this._renderedMessage=null,this._idCounter=0,this._containers=[...t],this._type=e}setContainers(e){this._containers=[...e]}addMessage(e,t=0){const n=this._generateId(),s={id:n,message:e,destroyTimeout:this._calculateDestroyTimeout(e,t)};return this._messagesQueue.push(s),this._renderedMessage||this._renderMessage(),{...s,type:this._type,destroy:this._getDestroyMessageCallback(n)}}destroyAll(){var e;this._messagesQueue=[],clearTimeout(null===(e=this._renderedMessage)||void 0===e?void 0:e.destroyTimer),this._containers.forEach((e=>{e.innerText=""})),this._renderedMessage=null,this._alternate=!1}_generateId(){return`live-region-${this._type}-${this._idCounter++}`}_calculateDestroyTimeout(e,t=0){const n=50*e.trim().length+200,s=250*e.trim().length;return Math.min(Math.max(n,t),s)}_findById(e){var t;return(null===(t=this._renderedMessage)||void 0===t?void 0:t.id)===e?this._renderedMessage:this._messagesQueue.find((t=>t.id===e))}_getDestroyMessageCallback(e){return async t=>{const n=this._findById(e);return!!n&&(n.renderedTo?!!t&&(this._removeRenderedMessage(),this._renderMessage(),!0):(this._removeFromQueue(n),!0))}}_removeRenderedMessage(){var e;const t=null===(e=this._renderedMessage)||void 0===e?void 0:e.renderedTo;t&&(t.innerText=""),this._renderedMessage=null}_removeFromQueue(e){this._messagesQueue=this._messagesQueue.filter((t=>t!==e))}async _renderMessage(){if(!this._containers.length||!this._messagesQueue.length)return
;const e=this._alternate?this._containers[0]:this._containers[1],t=this._messagesQueue.shift();let n;e.innerText=t.message;const s=new Promise(((e,s)=>{n=setTimeout((()=>{var n;if((null===(n=this._renderedMessage)||void 0===n?void 0:n.id)===t.id)return this._removeRenderedMessage(),void this._renderMessage().then(e);s("Currently rendered message is not the one that you 're trying to destroy")}),t.destroyTimeout)}));this._renderedMessage={...t,renderedTo:e,destroyTimer:n,destroyPromise:s},this._alternate=!this._alternate}}class b extends D{}const y=new class{constructor(){this.isInited=!1,this._politeQueue=new b("polite"),this._assertiveQueue=new b("assertive")}renderTo(e,t=!1){return t&&this.destroy(),this._init(e)}destroy(){this._politeQueue.destroyAll(),this._assertiveQueue.destroyAll(),this.isInited=!1}sayPolitely(e,t){return this.isInited?this._politeQueue.addMessage(e,t):null}interrupt(e,t){return this.isInited?this._assertiveQueue.addMessage(e,t):null}_init(e){if(!e)return!1;if(this.isInited)return!1;return!!this._setContainers(e)&&(this.isInited=!0,!0)}_setContainers(e){const t=document.getElementById(e);if(!t)return!1;const n=t.querySelectorAll('[aria-live="polite"]'),s=t.querySelectorAll('[aria-live="assertive"]');return!(!n||2!==n.length||!s||2!==s.length)&&(this._politeQueue.setContainers([n[0],n[1]]),this._assertiveQueue.setContainers([s[0],s[1]]),!0)}};function C({viewType:e,decadesStartYear:t,viewDate:n,setPrev:a,setNext:r,switchViewType:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((e=>{i&&i.destroy(),l(y.sayPolitely(e))}),[i,l]);return{onPrevClick:(0,s.useCallback)((()=>{c((0,u.getPrevLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),a(null)}),[a,c]),onNextClick:(0,s.useCallback)((()=>{c((0,u.getNextLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),r(null)}),[r,c]),onSwitchViewType:(0,s.useCallback)((s=>{c((0,u.getViewTypeLiveRegionConfirmation)(e,e===u.CalendarViewType.Year?t:n)),o(s)}),[o,c])}}function E(e){const{selectedDate:t,maxDate:n,minDate:r,className:o,disableWeekends:h,highlightedFrom:d,highlightedTo:p,popupStyle:g=!0,showFocusRing:D=!1,autoFocus:b=!1,isDisabled:y=!1,withFocusTrap:E=!1,endSlot:_,onSelect:F,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,focusTriggerElement:R}=e,[x,T]=(0,s.useState)(D),I=(0,s.useCallback)((()=>T(!0)),[T]);(0,s.useEffect)((()=>{D&&T(!0)}),[D]);const P=(0,s.useCallback)((e=>{R&&38===(0,m.hashFromEvent)(e)&&(e.preventDefault(),e.stopPropagation(),T(!1),R())}),[R]),{viewDate:A,viewType:Y,dateToFocus:O,weeks:z,months:V,years:L,isNextDisabled:H,isPrevDisabled:B,setPrev:$,setNext:K,switchViewType:W,onClickDay:j,onClickMonth:J,onClickYear:q}=function({selectedDate:e,autoFocus:t,showFocusRing:n,minDate:a,maxDate:r,onSelect:o,onMonthSwitch:i,onYearSwitch:l,onDecadesSwitch:h,onViewTypeChange:d}){const[p,m]=(0,s.useState)(e),[g,f]=(0,s.useState)(u.CalendarViewType.Month),[v,w]=(0,s.useState)(t?e:null),D=(0,s.useMemo)((()=>(0,c.getDecadesStart)(p)),[p]),b=(0,s.useCallback)((e=>{const t=new Date(p),n=(0,
u.getNextMonth)(p),s=new Date(n.getFullYear(),n.getMonth()+e,0).getDate(),a=p.getDate()>s?s:p.getDate();t.setMonth(t.getMonth()+e,a),m(t),i&&i(t)}),[p,i]),y=(0,s.useCallback)((e=>{const t=new Date(p);t.setFullYear(t.getFullYear()+e),m(t),l&&l(t)}),[p,l]),C=(0,s.useCallback)((e=>{const t=new Date(D);t.setFullYear(t.getFullYear()+e),m(t),h&&h(t)}),[D,p,h]),E=(0,s.useCallback)(((e,t)=>{switch(t&&w(t),g){case u.CalendarViewType.Month:return b(1*e);case u.CalendarViewType.Year:return y(1*e);case u.CalendarViewType.Decades:return C(e*u.DECADES_YEARS_AMOUNT)}}),[g,b,y,C]),_=(0,s.useCallback)((e=>E(-1,e)),[E]),F=(0,s.useCallback)((e=>E(1,e)),[E]),M=(0,s.useCallback)((()=>{const e=Object.values(u.CalendarViewType);let t=e.indexOf(g)+1;t>=e.length&&(t=0),f(e[t]),d&&d(e[t])}),[g]),S=(0,s.useCallback)((e=>{m(new Date(e)),o&&o(new Date(e))}),[o]),k=(0,s.useCallback)((e=>{const t=new Date(p);t.setMonth(e.getMonth()),(0,c.isSameMonth)(t,e)||t.setMonth(e.getMonth(),1),m(t);const n=new Date(v||p);n.setMonth(e.getMonth()),(0,c.isSameMonth)(n,e)||n.setMonth(e.getMonth(),1),w(n),f(u.CalendarViewType.Month)}),[p,o,M]),N=(0,s.useCallback)((e=>{const t=new Date(p);t.setFullYear(e.getFullYear()),m(t);const n=new Date(v||p);n.setFullYear(e.getFullYear()),w(n),f(u.CalendarViewType.Year)}),[p,o,M]),R=(0,s.useMemo)((()=>(0,c.getWeeks)(p)),[p]),x=(0,s.useMemo)((()=>(0,c.getMonths)(p)),[p]),T=(0,s.useMemo)((()=>(0,c.getDecades)(D)),[D]),I=(0,s.useMemo)((()=>{switch(g){case u.CalendarViewType.Month:{const e=R[R.length-1].days,t=new Date(e[e.length-1]);return t.setDate(t.getDate()+1),!(0,c.isInRange)(t,a,r)}case u.CalendarViewType.Year:{const e=new Date(x[x.length-1].date);return e.setMonth(e.getMonth()+1),!(0,c.isInRange)(e,a,r,"month")}case u.CalendarViewType.Decades:{const e=new Date(T[T.length-1]);return e.setFullYear(e.getFullYear()+1),!(0,c.isInRange)(e,a,r,"year")}}}),[g,a,r,R,x,T]),P=(0,s.useMemo)((()=>{switch(g){case u.CalendarViewType.Month:{const e=new Date(R[0].days[0]);return e.setDate(e.getDate()-1),!(0,c.isInRange)(e,a,r)}case u.CalendarViewType.Year:{const e=new Date(x[0].date);return e.setMonth(e.getMonth()-1),!(0,c.isInRange)(e,a,r,"month")}case u.CalendarViewType.Decades:{const e=new Date(T[0]);return e.setFullYear(e.getFullYear()-1),!(0,c.isInRange)(e,a,r,"year")}}}),[g,a,r,R,x,T]);return(0,s.useEffect)((()=>{!v&&n&&t&&w(e),n||w(null)}),[t,e,v,n]),{viewDate:p,viewType:g,dateToFocus:v,weeks:R,months:x,years:T,isNextDisabled:I,isPrevDisabled:P,setPrev:_,setNext:F,switchViewType:M,onClickDay:S,onClickMonth:k,onClickYear:N}}({selectedDate:t,minDate:r,maxDate:n,autoFocus:b,showFocusRing:x,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,onSelect:F}),{focusableDateRef:U,prevRef:Q,middleRef:Z,onPrevKeyDown:X,onMiddleKeyDown:G,forwardFocusToStart:ee}=function({withFocusTrap:e,isPrevDisabled:t}){const n=(0,s.useRef)(null),a=(0,s.useCallback)((t=>{var s;e&&m.Modifiers.Shift+9===(0,m.hashFromEvent)(t)&&(t.preventDefault(),null===(s=n.current)||void 0===s||s.focus())}),[e]),r=(0,s.useCallback)((e=>{t||a(e)}),[t,a]),o=(0,
s.useCallback)((e=>{t&&a(e)}),[t,a]),i=(0,s.useRef)(null),l=(0,s.useRef)(null),c=(0,s.useCallback)((e=>{var n,s;e.preventDefault(),e.stopPropagation(),t?null===(s=l.current)||void 0===s||s.focus():null===(n=i.current)||void 0===n||n.focus()}),[t]);return{focusableDateRef:n,prevRef:i,middleRef:l,onPrevKeyDown:r,onMiddleKeyDown:o,forwardFocusToStart:c}}({withFocusTrap:E,isPrevDisabled:B}),te=(0,s.useMemo)((()=>L[0]),[L]),{onPrevClick:ne,onNextClick:se,onSwitchViewType:ae}=C({viewType:Y,decadesStartYear:te,viewDate:A,setPrev:$,setNext:K,switchViewType:W});return s.createElement("div",{className:a(i.calendar,g&&i.popupStyle,o),tabIndex:-1,onKeyDown:I},s.createElement(l,{prevAriaLabel:(0,u.getPrevAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),nextAriaLabel:(0,u.getNextAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),currentAriaLabel:(0,u.getCurrentAriaLabel)(Y,Y===u.CalendarViewType.Year?te:A),currentVisibleTitle:(0,u.getCurrentVisibleTitle)(Y,Y===u.CalendarViewType.Decades?te:A),onPrevClick:ne,onNextClick:se,onPrevKeyDown:X,onMiddleKeyDown:G,onHeaderKeyDown:P,onCurrentClick:ae,isNextDisabled:y||H,isPrevDisabled:y||B,isViewModeDisabled:y,prevRef:Q,middleRef:Z}),Y===u.CalendarViewType.Month&&s.createElement(f,{weeks:z,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onClickDay:j,disableWeekends:h,highlightedFrom:d,highlightedTo:p,setPrevMonth:$,setNextMonth:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Year&&s.createElement(v,{months:V,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onSelect:J,setPrevYear:$,setNextYear:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Decades&&s.createElement(w,{years:L,selectedDate:t,dateToFocus:O,maxDate:n,minDate:r,onSelect:q,setPrevDecades:$,setNextDecades:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),s.createElement("div",{className:i["slot-wrapper"]},_),E&&s.createElement("div",{tabIndex:0,onFocus:ee}))}},85528:(e,t,n)=>{"use strict";n.d(t,{DatePicker:()=>F});var s=n(44352),a=n(50959),r=n(97754),o=n(5325),i=n(32563),l=n(53741),c=n(28746),u=n(50151),h=n(9745),d=n(86623),p=n(95263),m=n(78274),g=n(76594),f=n(65718),v=n(68335),w=n(20111);class D extends a.PureComponent{constructor(e){super(e),this._input=null,this._inputContainer=null,this._handleFocus=e=>{var t,n;this.props.showOnFocus&&this.props.onShowPicker(),null===(n=(t=this.props).onFocus)||void 0===n||n.call(t,e)},this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._handleContainerRef=e=>{this._inputContainer=e},this._onShowPicker=e=>{if(e&&this._inputContainer){const t=e.getBoundingClientRect(),n=this._inputContainer.getBoundingClientRect();t.width&&t.width>window.innerWidth-n.left?(e.style.right="0",e.style.left="auto"):(e.style.right="auto",e.style.left=`${n.left}px`);const s=window.innerHeight-n.bottom,a=n.top;if(s>=t.height)return void(e.style.top=`${n.bottom}px`);e.style.top="auto",e.style.bottom=a<t.height?"0":`${s+n.height}px`}},this._onChange=()=>{const e=(0,u.ensureNotNull)(this._input).value
;this.setState({value:e}),this.props.onType(e)},this._onKeyDown=e=>{this.props.hideOnKeyDown&&this.props.onHidePicker(),this.props.onKeyDown&&this.props.onKeyDown(e)},this._onKeyPress=e=>{if(e.charCode){const t=String.fromCharCode(e.charCode);this.props.inputRegex.test(t)||e.preventDefault()}},this._onKeyUp=e=>{if(8!==e.keyCode){const e=(0,u.ensureNotNull)(this._input).value,t=this.props.fixValue(e);t!==e&&this.setState({value:t})}},this._handleDropdownKeydown=e=>{var t;27===(0,v.hashFromEvent)(e)&&(null===(t=this._input)||void 0===t||t.focus(),this.props.onHidePicker())},this.state={value:e.value,valueFromProps:e.value}}render(){const{position:e="fixed",className:t,size:n,disabled:s,readonly:o,errors:i,icon:l,InputComponent:c=d.FormInput}=this.props;return a.createElement("div",{className:w.pickerInput,ref:this._handleContainerRef},a.createElement(c,{value:this.state.value,onBlur:this.props.onBlur,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onChange:this._onChange,onFocus:this._handleFocus,onClick:this.props.onShowPicker,reference:this._handleInputRef,className:t,size:n,disabled:s,errors:i,messagesPosition:p.MessagesPosition.Attached,hasErrors:this.props.showErrorMessages&&i&&i.length>0,name:this.props.name,readonly:o,endSlot:i&&i.length?void 0:a.createElement(m.EndSlot,null,a.createElement(h.Icon,{icon:l,className:r(w.icon,s&&w.disabled),onClick:s||o?void 0:this.props.onShowPicker})),"data-name":this.props.name}),this.props.showPicker&&!o?a.createElement(f.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},a.createElement(g.OutsideEvent,{mouseDown:!0,handler:this.props.onHidePicker},(t=>a.createElement("span",{ref:t,style:{pointerEvents:"auto"}},a.createElement("div",{className:r(w.picker,w[e]),key:"0",ref:this._onShowPicker,onKeyDown:this._handleDropdownKeydown},this.props.children))))):null)}static getDerivedStateFromProps(e,t){return e.value!==t.valueFromProps?{value:e.value,valueFromProps:e.value}:null}}D.defaultProps={showOnFocus:!0};class b extends a.PureComponent{constructor(e){super(e),this._input=null,this._nativeInputRef=a.createRef(),this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._onFocus=()=>{this.setState({isFocused:!0})},this._onBlur=()=>{this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.state.value),this.setState({isFocused:!1})},this._onChange=e=>{const{value:t}=e.target;t&&(this.setState({value:t}),this.props.onChange(t))},this.state={value:e.value,isFocused:!1}}componentDidMount(){this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.props.value)}render(){const{className:e,containerClassName:t,disabled:n,errors:s,InputComponent:o=d.FormInput}=this.props,i=!this.props.readonly&&!n,l=this.props.showErrorMessages&&s&&s.length>0;return a.createElement("div",{className:r(w.pickerInput,t)},a.createElement(o,{value:this.state.value,readonly:!0,noReadonlyStyles:!0,
endSlot:s&&s.length?void 0:a.createElement(m.EndSlot,null,a.createElement(h.Icon,{icon:this.props.icon,className:r(w.icon,n&&w.disabled)})),className:e,inputClassName:w.textInput,size:this.props.size,disabled:n,hasErrors:l,errors:s,alwaysShowAttachedErrors:!0,messagesPosition:p.MessagesPosition.Attached,name:i?void 0:this.props.name,reference:this._handleInputRef,highlight:this.state.isFocused,intent:!l&&this.state.isFocused?"primary":void 0}),i&&a.createElement("input",{ref:this._nativeInputRef,type:this.props.type,className:w.nativePicker,onChange:this._onChange,onInput:this._onChange,min:this.props.min,max:this.props.max,name:this.props.name,onFocus:this._onFocus,onBlur:this._onBlur}))}}var y=n(23935),C=n(67029),E=n(53017),_=n(1401);class F extends a.PureComponent{constructor(e){super(e),this._pickerInputContainerRef=a.createRef(),this._pickerInpuRef=a.createRef(),this._dateFormatter=new l.DateFormatter,this._onPickerInputKeyDown=e=>{const t=(0,v.hashFromEvent)(e);if([v.Modifiers.Shift+9,9].includes(t))this._hideCalendar();else{if(40===t)return e.preventDefault(),this._showCalendar(),void this.setState({autofocusCalendar:!0});13===t&&this.props.onEnter&&this.props.onEnter(e),this._hideCalendar()}},this._returnFocusToInput=()=>{var e;this.setState({autofocusCalendar:!1}),null===(e=this._pickerInpuRef.current)||void 0===e||e.focus()},this._fixValue=e=>(e=(e=e.substring(0,10)).replace(/-+/g,"-"),(/^\d{4}$/.test(e)||/^\d{4}-\d{2}$/.test(e))&&(e+="-"),e),this._isValid=e=>{if(/^[0-9]{4}(-[0-9]{2}){2}/.test(e)){const t=new Date(e.concat("T00:00"));return!(0,y.isInvalidDateObj)(t)&&(!!(this.props.noRangeValidation||i.mobiletouch&&o.isIOS)||(0,y.isInRange)(t,this.props.minDate,this.props.maxDate))}return!1},this._onBlur=e=>{var t;if(!this.props.revertInvalidData||(null===(t=this._pickerInputContainerRef.current)||void 0===t?void 0:t.contains(e.relatedTarget)))return;const{value:n}=e.target;if(!this._isValid(n)){const t=new Date(this.state.date);this.setState({pickerInputKey:e.timeStamp,date:t,isInvalid:!1}),this.props.onPick(t)}},this._onType=e=>{const t=this._isValid(e)?new Date(e.concat("T00:00")):null;t?this.setState({date:t,isInvalid:!1}):this.setState({isInvalid:!0}),this.props.onPick(t)},this._onSelect=e=>{this.setState({date:e,showCalendar:!1,isInvalid:!1}),this.props.onPick(e)},this._showCalendar=()=>{this.setState({showCalendar:!0})},this._hideCalendar=()=>{this.setState({showCalendar:!1,autofocusCalendar:!1})},this._getErrors=()=>{const e=this.props.errors?[...this.props.errors]:[];return this.state.isInvalid&&e.push(s.t(null,void 0,n(5122))),e},this.state={pickerInputKey:0,date:e.initial,showCalendar:!1,isInvalid:!this._isValid(this._dateFormatter.formatLocal(e.initial)),autofocusCalendar:!1,initial:e.initial}}render(){const e=this.props.endSlotComponent,t=(0,E.mergeRefs)([this._pickerInpuRef,this.props.inputReference]);return i.mobiletouch?a.createElement(b,{value:this._dateFormatter.formatLocal(this.state.date),type:"date",onChange:this._onType,icon:_,disabled:this.props.disabled,size:this.props.size,
min:this.props.minDate&&this._dateFormatter.formatLocal(this.props.minDate),max:this.props.maxDate&&this._dateFormatter.formatLocal(this.props.maxDate),errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:r(this._getFontSizeClassName(this.props.size),this.props.className),containerClassName:this.props.containerClassName,inputReference:this.props.inputReference,InputComponent:this.props.InputComponent}):a.createElement("div",{className:this.props.containerClassName,ref:this._pickerInputContainerRef},a.createElement(D,{key:this.state.pickerInputKey,value:this._dateFormatter.formatLocal(this.state.date),inputRegex:/[0-9.]/,fixValue:this._fixValue,onType:this._onType,onBlur:this._onBlur,onShowPicker:this._showCalendar,onHidePicker:this._hideCalendar,showPicker:this.state.showCalendar&&this.props.withCalendar,showOnFocus:this.props.showOnFocus,icon:_,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,position:this.props.position,className:r(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:t,InputComponent:this.props.InputComponent,onKeyDown:this._onPickerInputKeyDown,onFocus:this.props.onFocus},a.createElement(c.Calendar,{selectedDate:this.state.date,maxDate:this.props.maxDate,minDate:this.props.minDate,onSelect:this._onSelect,endSlot:e&&a.createElement(e,{onSelectDate:this._onSelect}),autoFocus:this.state.autofocusCalendar,showFocusRing:this.state.autofocusCalendar,focusTriggerElement:this._returnFocusToInput,withFocusTrap:!0})))}static getDerivedStateFromProps(e,t){return t.initial!==e.initial?{...t,date:e.initial,initial:e.initial}:null}_getFontSizeClassName(e){return e?"large"===e?C.InputClasses.FontSizeLarge:C.InputClasses.FontSizeMedium:void 0}}F.defaultProps={position:"fixed",withCalendar:!0}},76056:(e,t,n)=>{"use strict";n.d(t,{DateInput:()=>m});var s=n(50959),a=n(44352),r=n(9745),o=n(78274),i=n(86623),l=n(97754),c=n.n(l),u=n(30247);function h(e){const{className:t,text:n}=e;return s.createElement("span",{className:c()(u.tooltip,t)},n)}var d=n(98475);const p=n(53209);function m(e){const{hasErrors:t,onClick:l,errors:c,className:u,theme:m=p,...g}=e;return s.createElement("div",{className:m.container,onClick:l},s.createElement(i.FormInput,{...g,className:m.date,hasErrors:t,errors:[],endSlot:!t&&s.createElement(o.EndSlot,{icon:!0,interactive:!1},s.createElement(r.Icon,{icon:d,className:m.icon}))}),t&&s.createElement(h,{text:a.t(null,void 0,n(32457)),className:m.tooltip}))}},23935:(e,t,n)=>{"use strict";n.d(t,{addLocalTime:()=>b,getCloneDateWithOffset:()=>N,getDateInTabOrder:()=>R,getDecades:()=>_,getDecadesStart:()=>y,getFirstEnabledDay:()=>M,getFirstEnabledMonth:()=>S,getFirstEnabledYear:()=>k,getMonths:()=>E,getWeeks:()=>C,isDayDisabled:()=>F,isInRange:()=>f,isInvalidDateObj:()=>v,isSameDay:()=>u,isSameMonth:()=>h,isSameYear:()=>d,resetToDayEnd:()=>o,resetToDayStart:()=>r,
subtractLocalTime:()=>D,twoDigitsFormat:()=>a});var s=n(15499);function a(e){return("0"+e).slice(-2)}function r(e){const t=new Date(e);return t.setMilliseconds(0),t.setSeconds(0),t.setMinutes(0),t.setHours(0),t}function o(e){const t=new Date(e);return t.setMilliseconds(999),t.setSeconds(59),t.setMinutes(59),t.setHours(23),t}function i(e,t=!1){const n=r(e),s=t?function(e){if(e>6)throw new Error("Invalid day is provided");return 0===e?6:e-1}(n.getDay()):n.getDay();return n.setDate(n.getDate()-s),n}function l(e){const t=r(e);return t.setDate(1),t}function c(e){const t=l(e);return t.setMonth(1),t}function u(e,t){return!!t&&Number(r(e))===Number(r(t))}function h(e,t){return!!t&&Number(l(e))===Number(l(t))}function d(e,t){return!!t&&Number(c(e))===Number(c(t))}function p(e){const t=new Date(e.getFullYear(),0,1),n=(Number(e)-Number(t))/864e5;return Math.ceil((n+t.getDay()+1)/7)}function m(e){const t=new Date(e);return t.setDate(t.getDate()+7),t}const g={day:r,month:l,year:c};function f(e,t,n,s="day"){const a=g[s],r=!t||Number(a(t))-Number(a(e))<=0;return(!n||Number(a(n))-Number(a(e))>=0)&&r}function v(e){return Number.isNaN(Number(e))}function w(e){return new Date(e).getTimezoneOffset()/60}function D(e){const t=new Date(e);return t.setHours(t.getHours()+w(t)),t}function b(e){const t=new Date(e);return t.setHours(t.getHours()-w(t)),t}function y(e){const t=e.getFullYear()%10*-1,n=new Date(e);return n.setFullYear(e.getFullYear()+t),n}function C(e){const t=[];let n=i(l(e),!0);for(let s=0;s<6;s++){const s=[];for(let t=0;t<7;t++){const a=new Date(n);a.setDate(a.getDate()+t),h(a,e)&&s.push(a)}s.length&&t.push({week:p(n),days:s}),n=new Date(m(n))}return t}function E(e){return s.MONTHS_SHORT.map(((t,n)=>{const a=l(e);return a.setMonth(n),{title:t,ariaLabel:s.MONTHS[n],date:a}}))}function _(e){const t=[];for(let n=0;n<s.DECADES_YEARS_AMOUNT;n++){const s=new Date(e);s.setFullYear(e.getFullYear()+n),t.push(s)}return t}function F({day:e,minDate:t,maxDate:n,disableWeekends:s=!1}){if(!f(e,t,n))return!0;const a=[6,0].includes(e.getDay());return!!s&&a}function M(e,t){return function n(s=0,a=0){if(!e[s]||!e[s].days[a])return;const r=e[s].days,o=r[a];return t(o)?a+1<r.length?n(s,a+1):n(s+1,0):o}()}function S(e,t){return function n(s=0){if(!e[s])return;const a=e[s].date;return t(a)?n(s+1):a}()}function k(e,t){return function n(s=0){if(!e[s])return;const a=e[s];return t(a)?n(s+1):a}()}function N({dateFrom:e,offset:t,level:n="day",maxIterations:s=6,isDisabledDate:a=(()=>!1)}){return function e(r,o=0){const i=new Date(r);switch(n){case"day":i.setDate(i.getDate()+t);break;case"month":i.setMonth(i.getMonth()+t);break;case"year":i.setFullYear(i.getFullYear()+t)}const l=a(i);return o>s||!l?l?null:i:e(i,o+1)}(e)}function R({selectedDate:e,dateToFocus:t,currentlyFocused:n,firstEnabledDate:s,getFirstDate:a,getLastDate:r,isDisabledDate:o}){const i=f(e,a(),r(),"day")&&!o(e)?e:null,l=t&&f(t,a(),r(),"day")&&!o(t)?t:null;return(n&&f(n,a(),r(),"day")&&!o(n)?n:null)||i||l||s}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>r,
useAccurateHover:()=>o,useHover:()=>a});var s=n(50959);function a(){const[e,t]=(0,s.useState)(!1);return[e,{onMouseOver:function(e){r(e)&&t(!0)},onMouseOut:function(e){r(e)&&t(!1)}}]}function r(e){return!e.currentTarget.contains(e.relatedTarget)}function o(e){const[t,n]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{const t=t=>{if(null===e.current)return;const s=e.current.contains(t.target);n(s)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},86623:(e,t,n)=>{"use strict";n.d(t,{FormInput:()=>c});var s=n(50959),a=n(31261),r=n(95263),o=n(78274),i=n(47201),l=n(38528);function c(e){var t;const{intent:n,onFocus:c,onBlur:u,onMouseOver:h,onMouseOut:d,containerReference:p=null,endSlot:m,hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,"aria-required":N,"aria-invalid":R,"aria-label":x,inputDescription:T,...I}=e,P=(0,r.useControlValidationLayout)({hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,inputDescription:T}),A=(0,i.createSafeMulticastEventHandler)(c,P.onFocus),Y=(0,i.createSafeMulticastEventHandler)(u,P.onBlur),O=(0,i.createSafeMulticastEventHandler)(h,P.onMouseOver),z=(0,i.createSafeMulticastEventHandler)(d,P.onMouseOut);return s.createElement(s.Fragment,null,s.createElement(a.InputControl,{...I,intent:null!==(t=P.intent)&&void 0!==t?t:n,onFocus:A,onBlur:Y,onMouseOver:O,onMouseOut:z,containerReference:(0,l.useMergedRefs)([p,P.containerReference]),endSlot:s.createElement(s.Fragment,null,P.icon&&s.createElement(o.EndSlot,{icon:!0},P.icon),m),"aria-required":N,"aria-invalid":R,"aria-describedby":P.ariaIds,"aria-label":x}),P.renderedErrors)}},36565:(e,t,n)=>{"use strict";n.d(t,{TimeInput:()=>A});var s=n(49483),a=n(50959),r=n(97754),o=n.n(r),i=n(50151),l=n(47201),c=n(78274),u=n(31261),h=n(9745),d=n(43832),p=n(95096);function m(e){return a.createElement(h.Icon,{className:d.icon,icon:p})}var g=n(29202),f=n(78634);var v=n(36383),w=n(37160);const D={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function b(e,t,n){const s=[],a=n;let r=0,o=0;const i=e.length,l=a.length;let c=-1,u=0;const h=[],d=i-1,p=[];let m;for(;r<i&&o<l;){const n=e.charAt(r),i=a.charAt(o),l=D[n];l?(i.match(l.pattern)?(s.push(i),l.recursive&&(-1===c?c=r:r===d&&r!==c&&(r=c-1),d===c&&(r-=1)),r+=1):i===m?(u--,m=void 0):l.optional?(r+=1,o-=1):l.fallback?(s.push(l.fallback),r+=1,o-=1):p.push({p:o,v:i,e:l.pattern}),o+=1):(t||s.push(n),i===n?(h.push(o),o+=1):(m=n,h.push(o+u),u++),r+=1)}const g=e.charAt(d);i!==l+1||D[g]||s.push(g);const f=s.join(""),v=function(e,t){const n=0,s={}
;for(let e=0;e<t.length;e++)s[t[e]+n]=1;return s}(0,h);return[f,v,p]}function y(e,t,n){const s=function(e){let t=!0;for(let n=0;n<e.length;n++){const s=D[e.charAt(n)];if(s&&s.recursive){t=!1;break}}return t?e.length:void 0}(e),[r,o]=b(e,!1,t),[l,c]=(0,a.useState)(r),[u,h]=(0,a.useState)(0),[d,p]=(0,a.useState)(!1),m=(0,a.useRef)(o),g=(0,a.useRef)(l);return(0,a.useEffect)((()=>{const[n,s]=b(e,!1,t);c(n),f(s)}),[t,e]),(0,a.useLayoutEffect)((()=>{const e=(0,i.ensureNotNull)(n.current);d&&(e.setSelectionRange(u,u),p(!1)),h(C(e))}),[d]),[t,g,{onChange:function(){const t=(0,i.ensureNotNull)(n.current),s=t.value,[a,r]=b(e,!1,s);c(a),g.current=a;const o=f(r),d=function(e,t,n,s,a,r){if(e!==t){const o=t.length,i=e.length;let l=0,c=0,u=0,h=0,d=0;for(d=s;d<o&&a[d];d++)c++;for(d=s-1;d>=0&&a[d];d--)l++;for(d=s-1;d>=0;d--)a[d]&&u++;for(d=n-1;d>=0;d--)r[d]&&h++;if(s>i)s=10*o;else if(n>=s&&n!==i){if(r[s]){const e=s;s-=h-u,a[s-=l]&&(s=e)}}else s>n&&(s+=u-h,s+=c)}return s}(l,a,u,C(t),r,o);h(d),p(!0)},onSelect:function(){const e=(0,i.ensureNotNull)(n.current);h(C(e))},maxLength:s}];function f(e){const t=m.current;return m.current=e,t}}function C(e){return e.selectionStart||0}function E(e){const{value:t,mask:n,onChange:s,...r}=e,o=(0,a.useRef)(null),[i,l,c]=y(n,t,o);return(0,a.useLayoutEffect)((()=>{void 0!==e.reference&&(e.reference.current=o.current)}),[e.reference]),a.createElement(u.InputControl,{...r,maxLength:c.maxLength,value:i,autoComplete:"off",reference:function(e){o.current=e},onChange:function(){c.onChange(),s(l.current)},onSelect:c.onSelect})}var _=n(68335),F=n(20520),M=n(16396),S=n(78071);const k=(()=>{const e=[];for(let t=0;t<24;++t)for(let n=0;n<60;n+=15){const[s,a]=[I(t.toString()),I(n.toString())],r=`${s}:${a}`,o=x(r)?r:T(r);e.push(o)}return e})();function N(e){let t=!1;const n=(0,a.useRef)(null),s=(0,a.useRef)(null),r=(0,a.useRef)(null),l=(0,a.useRef)(null),[u,h]=(0,g.useFocus)(),[d,p]=(0,a.useState)(e.value),f=R(d),D=x(f)?f:T(f),[b,y]=(0,a.useState)(D),C=u||L().some((e=>null!==e&&e.contains(document.activeElement)));(0,a.useLayoutEffect)((()=>p(e.value)),[e.value]),(0,a.useLayoutEffect)((()=>y(D)),[d,C]),(0,a.useEffect)((()=>H(b===D?"auto":"smooth")),[b]);const N=(0,S.lowerbound)(k,D,((e,t)=>e<t));let I=k;k[N]!==D&&(I=[...k],I.splice(N,0,D));const P=(0,v.useOutsideEvent)({mouseDown:!0,touchStart:!0,handler:function(e){null!==s.current&&C&&e.target instanceof Node&&null!==r.current&&!r.current.contains(e.target)&&s.current.blur()}});return a.createElement("div",{className:o()(e.className),onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);if(38===t){e.preventDefault();const t=(I.indexOf(b)+I.length-1)%I.length;y(I[t])}if(40===t){e.preventDefault();const t=(I.indexOf(b)+I.length+1)%I.length;y(I[t])}},onFocus:function(e){z(e)||h.onFocus(e)},onBlur:function(e){z(e)||h.onBlur(e)},ref:P},a.createElement(E,{disabled:e.disabled,name:e.name,endSlot:a.createElement(c.EndSlot,{icon:!0},a.createElement(m,null)),reference:s,containerReference:n,mask:"09:00",value:d,onFocus:function(t){
var n;setTimeout(B,0),null===(n=e.onFocus)||void 0===n||n.call(e,t)},onBlur:function(e){z(e)||A(d)},onChange:function(t){p(t),e.onInput&&e.onInput(t)},onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);13===t&&(e.preventDefault(),A(b),(0,i.ensureNotNull)(s.current).blur());27===t&&(e.preventDefault(),(0,i.ensureNotNull)(s.current).blur())}}),a.createElement(F.PopupMenu,{onOpen:function(){H()},onClose:function(){},position:function(){const e=(0,i.ensureNotNull)(n.current).getBoundingClientRect(),t=window.innerHeight-e.bottom,s=e.top;let a=231,r=e.bottom;if(a>s&&a>t){const n=(0,w.clamp)(a,0,s),o=(0,w.clamp)(a,0,t);a=Math.max(n,o),r=n>o?e.top-n:e.bottom}else a>t&&(r=e.top-a);return{x:e.left,y:r,overrideWidth:e.width,overrideHeight:a}},closeOnClickOutside:!1,isOpened:C,tabIndex:-1,reference:r},I.map((e=>a.createElement(M.PopupMenuItem,{key:e,label:e,isActive:e===D,isHovered:e===b,reference:e===b?Y:void 0,onClick:O,onClickArg:e})))));function A(n){const s=R(n),a=x(s)?s:T(s);p(a),t||(t=!0,e.onChange(a))}function Y(e){l.current=e}function O(e){A((0,i.ensureDefined)(e)),(0,i.ensureNotNull)(r.current).blur()}function z(e){return u&&(null!==V(document.activeElement)||null!==V(e.relatedTarget))}function V(e){return e instanceof Node&&L().find((t=>null!==t&&t.contains(e)))||null}function L(){return[r.current,s.current]}function H(e="auto"){if(null!==l.current){const t=(0,i.ensureNotNull)(r.current).getBoundingClientRect(),n=l.current.getBoundingClientRect();(t.top>n.top||t.bottom<n.bottom)&&l.current.scrollIntoView({behavior:e})}}function B(){const e=s.current;if(null!==e){const t=e.value||"";e.setSelectionRange(0,t.length)}}}function R(e){const[t="",n=""]=e.split(":"),[s,a]=[I(t),P(n)];return`${s}:${a}`}function x(e){return/^(0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/g.test(e)}function T(e){const[t,n]=e.split(":"),[s,a]=[(0,w.clamp)(parseInt(t),0,23),(0,w.clamp)(parseInt(n),0,59)],[r,o]=[I(s.toString()),P(a.toString())];return`${r}:${o}`}function I(e){return e.slice(0,2).padStart(2,"0")}function P(e){return e.slice(0,2).padEnd(2,"0")}const A=s.CheckMobile.any()?function(e){const{onChange:t,onFocus:n,value:s,className:r,...h}=e,d=(0,a.useRef)(null),[p,v]=(0,g.useFocus)(),w=(0,l.createSafeMulticastEventHandler)(v.onBlur,(function(){d.current&&s&&(d.current.defaultValue=s)}));return(0,a.useLayoutEffect)((()=>{d.current&&s&&(d.current.defaultValue=s)}),[]),(0,a.useLayoutEffect)((()=>{d.current&&s&&(d.current.value=s)}),[s]),a.createElement("div",{className:o()(f.wrap,r)},a.createElement(u.InputControl,{...h,type:"text",endSlot:a.createElement(c.EndSlot,{icon:!0},a.createElement(m,null)),value:s,highlight:p,intent:p?"primary":void 0,onFocus:function(e){(0,i.ensureNotNull)(d.current).focus(),n&&n(e)},onChange:function(){}}),a.createElement("input",{...v,disabled:e.disabled,className:f.input,type:"time",onBlur:w,onChange:function(e){const{value:n}=e.currentTarget;t&&n&&t(n)},ref:d}))}:N},95263:(e,t,n)=>{"use strict";n.d(t,{MessagesPosition:()=>_,useControlValidationLayout:()=>I})
;var s=n(50959),a=n(97754);function r(e,t){(0,s.useEffect)((()=>(t&&t(e),()=>{t&&t(e)})),[])}var o=n(29202),i=n(70412),l=n(78274),c=n(1405),u=n(86431),h=n(962);var d=n(44022),p=n(38223);class m extends s.PureComponent{render(){const{children:e=[],show:t=!1,customErrorClass:n,disableRtlStyles:r,messageIdCallback:o}=this.props,i=a(d.errors,{[d.show]:t},n),l=e.map(((e,t)=>s.createElement(w,{key:t,messageIdCallback:o},e)));let c={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((0,p.isRtl)()&&!r){const{left:e,right:t}=c;c={...c,left:t,right:e}}return s.createElement("div",{style:c,className:i},l)}}const g=(0,u.makeOverlapable)((f=m,(v=class extends s.PureComponent{constructor(e){super(e),this._getComponentInstance=e=>{this._instance=e},this._throttleCalcProps=()=>{requestAnimationFrame((()=>this.setState(this._calcProps(this.props))))},this.state=this._getStateFromProps()}componentDidMount(){this._instanceElem=h.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))}componentDidUpdate(e){e.children===this.props.children&&e.top===this.props.top&&e.left===this.props.left&&e.width===this.props.width||this.setState(this._getStateFromProps(),(()=>this.setState(this._calcProps(this.props))))}render(){return s.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},s.createElement(f,{...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))}componentWillUnmount(){this._unsubsribe()}_getStateFromProps(){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}}_calcProps(e){if(e.target&&e.attachment&&e.targetAttachment){const t=this._calcTargetProps(e.target,e.attachment,e.targetAttachment);if(null===t)return{};const{width:n,inheritWidthFromTarget:s=!0,inheritMaxWidthFromTarget:a=!1}=this.props,r={width:s?t.width:n,maxWidth:a?t.width:void 0};switch(e.attachment.vertical){case"bottom":case"middle":r.top=t.y;break;default:r[e.attachment.vertical]=t.y}switch(e.attachment.horizontal){case"right":case"center":r.left=t.x;break;default:r[e.attachment.horizontal]=t.x}return r}return{}}_calcTargetProps(e,t,n){const s=e.getBoundingClientRect(),a=this._instanceElem.getBoundingClientRect(),r="parent"===this.props.root?this._getCoordsRelToParentEl(e,s):this._getCoordsRelToDocument(s);if(null===r)return null
;const o=this._getDimensions(a),i=this._getDimensions(s).width;let l=0,c=0;switch(t.vertical){case"top":c=r[n.vertical];break;case"bottom":c=r[n.vertical]-o.height;break;case"middle":c=r[n.vertical]-o.height/2}switch(t.horizontal){case"left":l=r[n.horizontal];break;case"right":l=r[n.horizontal]-o.width;break;case"center":l=r[n.horizontal]-o.width/2}return"number"==typeof this.props.attachmentOffsetY&&(c+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(l+=this.props.attachmentOffsetX),{x:l,y:c,width:i}}_getCoordsRelToDocument(e){const t=pageYOffset,n=pageXOffset,s=e.top+t,a=e.bottom+t,r=e.left+n;return{top:s,bottom:a,left:r,right:e.right+n,middle:(s+e.height)/2,center:r+e.width/2}}_getCoordsRelToParentEl(e,t){const n=e.offsetParent;if(null===n)return null;const s=n.scrollTop,a=n.scrollLeft,r=e.offsetTop+s,o=e.offsetLeft+a,i=t.width+o;return{top:r,bottom:t.height+r,left:o,right:i,middle:(r+t.height)/2,center:(o+t.width)/2}}_getDimensions(e){return{height:e.height,width:e.width}}_subscribe(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))}_unsubsribe(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)}}).displayName="Attachable Component",v));var f,v;function w(e){const{children:t,messageIdCallback:n,...a}=e;return s.createElement("div",{...a,className:d.error},t)}function D(e){const{children:t,messageIdCallback:n,...a}=e,o=s.useId();return r(o,n),s.createElement("span",{...a,className:d["visually-hidden"],id:o},t)}var b=n(9745),y=n(16658),C=n(40461);function E(e){const{intent:t="danger"}=e;return s.createElement(b.Icon,{icon:y,className:a(C["error-icon"],C[`intent-${t}`])})}var _,F,M=n(27345);!function(e){e[e.Attached=0]="Attached",e[e.Static=1]="Static",e[e.Hidden=2]="Hidden"}(_||(_={})),function(e){e.Top="top",e.Bottom="bottom"}(F||(F={}));const S={top:{attachment:c.anchors.topRight.attachment,targetAttachment:c.anchors.topRight.targetAttachment,attachmentOffsetY:-4},bottom:{attachment:c.anchors.bottomRight.attachment,targetAttachment:c.anchors.bottomRight.targetAttachment,attachmentOffsetY:4}};function k(e){const{isOpened:t,target:n,errorAttachment:a=F.Top,customErrorsAttachment:r,root:o="parent",inheritWidthFromTarget:i=!1,disableRtlStyles:l,children:c,messageIdCallback:u}=e,{attachment:h,targetAttachment:d,attachmentOffsetY:p}=null!=r?r:S[a];return s.createElement(s.Fragment,null,s.createElement(g,{isOpened:t,target:n,root:o,inheritWidthFromTarget:i,attachment:h,targetAttachment:d,attachmentOffsetY:p,disableRtlStyles:l,messageIdCallback:u,inheritMaxWidthFromTarget:!0,show:!0},c),s.createElement(D,{messageIdCallback:u},c))}function N(e,t){return Boolean(e)&&void 0!==t&&t.length>0}function R(e,t,n){return e===_.Attached&&N(t,n)}function x(e,t,n){return e===_.Static&&N(t,n)}function T(e,t,n){
const{hasErrors:s,hasWarnings:a,hasSuccessMessages:r,alwaysShowAttachedErrors:o,iconHidden:i,errors:l,warnings:c,successMessages:u,messagesPosition:h=_.Static}=e,d=R(h,s,l),p=R(h,a,c),m=d&&(t||n||Boolean(o)),g=!m&&p&&(t||n),f=x(h,s,l),v=!f&&x(h,a,c),w=!f&&!v&&x(h,r,u),D=!i&&Boolean(s),b=!i&&!D&&Boolean(a),y=function(e,t,n){return Boolean(n)?"success":Boolean(e)?"danger":Boolean(t)?"warning":void 0}(s,a,r);return{hasAttachedErrorMessages:d,hasAttachedWarningMessages:p,showAttachedErrorMessages:m,showAttachedWarningMessages:g,showStaticErrorMessages:f,showStaticWarningMessages:v,showStaticSuccessMessages:w,showErrorIcon:D,showWarningIcon:b,intent:y}}function I(e){var t,n,r,c;const{errors:u,warnings:h,successMessages:d,messagesAttachment:p,customErrorsAttachment:m,messagesRoot:g,inheritMessagesWidthFromTarget:f,disableMessagesRtlStyles:v,inputDescription:w}=e,[D,b]=(0,o.useFocus)(),[y,C]=(0,i.useHover)(),_=(0,s.useRef)(null),[F,S]=s.useState(void 0),N=(0,s.useRef)(new Map),R=s.useCallback((e=>{if(!e)return;const t=N.current;t.has(e)?t.delete(e):t.set(e,e),0!==t.size?S(Array.from(t.keys()).join(" ")):S(void 0)}),[S,N.current]),{hasAttachedErrorMessages:x,hasAttachedWarningMessages:I,showAttachedErrorMessages:A,showAttachedWarningMessages:Y,showStaticErrorMessages:O,showStaticWarningMessages:z,showStaticSuccessMessages:V,showErrorIcon:L,showWarningIcon:H,intent:B}=T(e,D,y),$=L||H?s.createElement(E,{intent:L?"danger":"warning"}):void 0,K=x?s.createElement(k,{errorAttachment:p,customErrorsAttachment:m,isOpened:A,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:u,messageIdCallback:R}):void 0,W=I?s.createElement(k,{errorAttachment:p,isOpened:Y,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:h,messageIdCallback:R}):void 0,j=O?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M.errors)},null==u?void 0:u.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,J=z?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M.warnings)},null==h?void 0:h.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,q=V?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M["success-mesages"])},null==d?void 0:d.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,U=!O&&!z&&!V&&w?s.createElement(l.AfterSlot,{className:a(M["static-messages"],M["input-description"])},s.createElement(P,{messageIdCallback:R},w)):void 0;return{ariaIds:F,icon:$,renderedErrors:null!==(c=null!==(r=null!==(n=null!==(t=null!=K?K:W)&&void 0!==t?t:j)&&void 0!==n?n:J)&&void 0!==r?r:q)&&void 0!==c?c:U,containerReference:_,intent:B,...b,...C}}function P(e){const{children:t,messageIdCallback:n,...a}=e,o=s.useId();return r(o,n),s.createElement("span",{...a,className:M.message,id:o},t)}},16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>u,PopupMenuItem:()=>d});var s=n(50959),a=n(97754),r=n(59064),o=n(51768),i=n(90186),l=n(76068),c=n(71986);const u=c;function h(e){e.stopPropagation()}function d(e){
const{id:t,role:n,"aria-label":u,"aria-selected":d,"aria-checked":p,className:m,title:g,labelRowClassName:f,labelClassName:v,shortcut:w,forceShowShortcuts:D,icon:b,isActive:y,isDisabled:C,isHovered:E,appearAsDisabled:_,label:F,link:M,showToolboxOnHover:S,showToolboxOnFocus:k,target:N,rel:R,toolbox:x,reference:T,onMouseOut:I,onMouseOver:P,onKeyDown:A,suppressToolboxClick:Y=!0,theme:O=c,tabIndex:z,tagName:V,renderComponent:L,roundedIcon:H,iconAriaProps:B,circleLogo:$}=e,K=(0,i.filterDataProps)(e),W=(0,s.useRef)(null),j=(0,s.useMemo)((()=>function(e){function t(t){const{reference:n,...a}=t,r=null!=e?e:a.href?"a":"div",o="a"===r?a:function(e){const{download:t,href:n,hrefLang:s,media:a,ping:r,rel:o,target:i,type:l,referrerPolicy:c,...u}=e;return u}(a);return s.createElement(r,{...o,ref:n})}return t.displayName=`DefaultComponent(${e})`,t}(V)),[V]),J=null!=L?L:j;return s.createElement(J,{...K,id:t,role:n,"aria-label":u,"aria-selected":d,"aria-checked":p,className:a(m,O.item,b&&O.withIcon,{[O.isActive]:y,[O.isDisabled]:C||_,[O.hovered]:E}),title:g,href:M,target:N,rel:R,reference:function(e){W.current=e,"function"==typeof T&&T(e);"object"==typeof T&&(T.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:s,onClickArg:a,trackEventObject:i}=e;if(C)return;i&&(0,o.trackEvent)(i.category,i.event,i.label);s&&s(a,t);n||(0,r.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:s}=e;n&&s&&(0,o.trackEvent)(n.category,n.event,`${n.label}_rightClick`)},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:s}=e;if(1===t.button&&M&&n){let e=n.label;s&&(e+="_mouseWheelClick"),(0,o.trackEvent)(n.category,n.event,e)}},onMouseOver:P,onMouseOut:I,onKeyDown:A,tabIndex:z},$&&s.createElement(l.CircleLogo,{...B,className:c["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:$.logoUrl,placeholderLetter:$.placeholderLetter}),b&&s.createElement("span",{"aria-label":B&&B["aria-label"],"aria-hidden":B&&Boolean(B["aria-hidden"]),className:a(O.icon,H&&c["round-icon"]),dangerouslySetInnerHTML:{__html:b}}),s.createElement("span",{className:a(O.labelRow,f)},s.createElement("span",{className:a(O.label,v)},F)),(void 0!==w||D)&&s.createElement("span",{className:O.shortcut},(q=w)&&q.split("+").join(" + ")),void 0!==x&&s.createElement("span",{onClick:Y?h:void 0,className:a(O.toolbox,{[O.showOnHover]:S,[O.showOnFocus]:k})},x));var q}},20520:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>d});var s=n(50959),a=n(962),r=n(62942),o=n(65718),i=n(27317),l=n(29197);const c=s.createContext(void 0);var u=n(36383);const h=s.createContext({setMenuMaxWidth:!1});function d(e){const{controller:t,children:n,isOpened:d,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:g,onClose:f,onKeyboardClose:v,"data-name":w="popup-menu-container",...D}=e,b=(0,s.useContext)(l.CloseDelegateContext),y=s.useContext(h),C=(0,s.useContext)(c),E=(0,u.useOutsideEvent)({handler:function(e){g&&g(e);if(!p)return;const t=(0,r.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const n of t){const t=a.findDOMNode(n)
;if(t instanceof Node&&t.contains(e.target))return}f()},mouseDown:!0,touchStart:!0});return d?s.createElement(o.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},s.createElement("span",{ref:E,style:{pointerEvents:"auto"}},s.createElement(i.Menu,{...D,onClose:f,onKeyboardClose:v,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:b,customRemeasureDelegate:C,ref:t,"data-name":w,limitMaxWidth:y.setMenuMaxWidth},n))):null}},17140:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M16.47 20.53a.75.75 0 1 0 1.06-1.06l-1.06 1.06zM11 14l-.53-.53c-.3.3-.3.77 0 1.06L11 14zm6.53-5.47a.75.75 0 0 0-1.06-1.06l1.06 1.06zm0 10.94l-6-6-1.06 1.06 6 6 1.06-1.06zm-6-4.94l6-6-1.06-1.06-6 6 1.06 1.06z"/></svg>'},98475:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M10 4h1v2h6V4h1v2h2.5A2.5 2.5 0 0 1 23 8.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 5 19.5v-11A2.5 2.5 0 0 1 7.5 6H10V4zm8 3H7.5C6.67 7 6 7.67 6 8.5v11c0 .83.67 1.5 1.5 1.5h13c.83 0 1.5-.67 1.5-1.5v-11c0-.83-.67-1.5-1.5-1.5H18zm-3 2h-2v2h2V9zm-7 4h2v2H8v-2zm12-4h-2v2h2V9zm-7 4h2v2h-2v-2zm-3 4H8v2h2v-2zm3 0h2v2h-2v-2zm7-4h-2v2h2v-2z"/></svg>'},1401:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path d="M4 0c-.6 0-1 .4-1 1v1H1c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1h-2V1c0-.6-.4-1-1-1h-1c-.6 0-1 .4-1 1v1H6V1c0-.6-.4-1-1-1H4zM2 5h12v9H2V5zm5 2v2h2V7H7zm3 0v2h2V7h-2zm-6 3v2h2v-2H4zm3 0v2h2v-2H7zm3 0v2h2v-2h-2z"/></svg>'},16658:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M8 15c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm0 1c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-1-12c0-.552.448-1 1-1s1 .448 1 1v4c0 .552-.448 1-1 1s-1-.448-1-1v-4zm1 7c-.552 0-1 .448-1 1s.448 1 1 1 1-.448 1-1-.448-1-1-1z"/></svg>'},95096:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17"><path fill="currentColor" d="M1 8.5a7.5 7.5 0 1 1 15 0 7.5 7.5 0 0 1-15 0zM8.5 0a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM9 9V3H8v5H5v1h4z"/></svg>'}}]);

View File

@@ -1,21 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4713],{37287:e=>{e.exports={calendar:"calendar-N6r5jhbE",popupStyle:"popupStyle-N6r5jhbE",header:"header-N6r5jhbE","flip-horizontal":"flip-horizontal-N6r5jhbE","sub-header":"sub-header-N6r5jhbE","view-month":"view-month-N6r5jhbE","view-year":"view-year-N6r5jhbE","view-decades":"view-decades-N6r5jhbE",weeks:"weeks-N6r5jhbE",week:"week-N6r5jhbE",day:"day-N6r5jhbE","accent-color":"accent-color-N6r5jhbE","current-day":"current-day-N6r5jhbE","slot-wrapper":"slot-wrapper-N6r5jhbE","hide-focus-ring":"hide-focus-ring-N6r5jhbE","visually-hidden":"visually-hidden-N6r5jhbE"}},53209:e=>{e.exports={container:"container-PNiXwSz6",icon:"icon-PNiXwSz6",tooltip:"tooltip-PNiXwSz6",date:"date-PNiXwSz6",time:"time-PNiXwSz6"}},20111:e=>{e.exports={pickerInput:"pickerInput-P2cJzZdH",icon:"icon-P2cJzZdH",disabled:"disabled-P2cJzZdH",picker:"picker-P2cJzZdH",fixed:"fixed-P2cJzZdH",absolute:"absolute-P2cJzZdH",nativePicker:"nativePicker-P2cJzZdH"}},30247:e=>{e.exports={tooltip:"tooltip-RU08GcsY"}},44022:e=>{e.exports={errors:"errors-bghR31WL",show:"show-bghR31WL",error:"error-bghR31WL","visually-hidden":"visually-hidden-bghR31WL"}},40461:e=>{e.exports={"error-icon":"error-icon-UhKAouIg","intent-danger":"intent-danger-UhKAouIg","intent-warning":"intent-warning-UhKAouIg"}},78634:e=>{e.exports={wrap:"wrap-NsE0FV0Z",input:"input-NsE0FV0Z"}},43832:e=>{e.exports={icon:"icon-Rubz29lH"}},27345:e=>{e.exports={"static-messages":"static-messages-cF4vS9J8",errors:"errors-cF4vS9J8",warnings:"warnings-cF4vS9J8","success-mesages":"success-mesages-cF4vS9J8","input-description":"input-description-cF4vS9J8",message:"message-cF4vS9J8"}},71986:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 430px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},78869:(e,t,n)=>{"use strict";n.d(t,{useRefsMap:()=>r});var s=n(50959);function r(){const e=(0,s.useRef)(new Map),t=(0,s.useCallback)((t=>n=>{null!==n?e.current.set(t,n):e.current.delete(t)}),[e]);return[e,t]}},47201:(e,t,n)=>{"use strict";function s(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>s})},27365:(e,t,n)=>{"use strict";n.d(t,{getChartTimezoneOffsetMs:()=>o,getTimezoneName:()=>a});var s=n(41249),r=n.n(s);function a(e){const t=e.model().timezone();if("exchange"!==t)return t;const n=e.model().mainSeries().symbolInfo();return null==n?void 0:n.timezone}function o(e,t){if(void 0===t)return 0;return r().get_timezone(t).offset_utc(e)}},51826:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>s,dialogsOpenerManager:()=>r});class s{constructor(){this._storage=new Map}setAsOpened(e,t){this._storage.set(e,t)}setAsClosed(e){this._storage.delete(e)}isOpened(e){
return this._storage.has(e)}getDialogPayload(e){return this._storage.get(e)}}const r=new s},1405:(e,t,n)=>{"use strict";n.d(t,{anchors:()=>s});n(50959);const s={bottom:{attachment:{horizontal:"left",vertical:"top"},targetAttachment:{horizontal:"left",vertical:"bottom"}},top:{attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},topRight:{attachment:{horizontal:"right",vertical:"bottom"},targetAttachment:{horizontal:"right",vertical:"top"}},bottomRight:{attachment:{horizontal:"right",vertical:"top"},targetAttachment:{horizontal:"right",vertical:"bottom"}}}},15499:(e,t,n)=>{"use strict";n.d(t,{CalendarViewType:()=>w,DECADES_YEARS_AMOUNT:()=>y,MONTHS:()=>o,MONTHS_SHORT:()=>i,SUB_HEADER_DECADES:()=>D,SUB_HEADER_YEAR:()=>b,WEEKDAYS_MIN:()=>r,getCurrentAriaLabel:()=>F,getCurrentVisibleTitle:()=>M,getDayAriaLabel:()=>C,getNextAriaLabel:()=>_,getNextLiveRegionConfirmation:()=>k,getNextMonth:()=>R,getPrevAriaLabel:()=>E,getPrevLiveRegionConfirmation:()=>S,getViewTypeLiveRegionConfirmation:()=>N});var s=n(44352);const r=[s.t(null,{context:"day_of_week"},n(11268)),s.t(null,{context:"day_of_week"},n(31533)),s.t(null,{context:"day_of_week"},n(26230)),s.t(null,{context:"day_of_week"},n(24793)),s.t(null,{context:"day_of_week"},n(19801)),s.t(null,{context:"day_of_week"},n(63331)),s.t(null,{context:"day_of_week"},n(85954))],a=[s.t(null,void 0,n(72149)),s.t(null,void 0,n(61199)),s.t(null,void 0,n(44979)),s.t(null,void 0,n(7147)),s.t(null,void 0,n(7951)),s.t(null,void 0,n(72970)),s.t(null,void 0,n(1144))],o=[s.t(null,void 0,n(26910)),s.t(null,void 0,n(16467)),s.t(null,void 0,n(84675)),s.t(null,void 0,n(97637)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(49385)),s.t(null,void 0,n(23230)),s.t(null,void 0,n(86797)),s.t(null,void 0,n(61132)),s.t(null,void 0,n(90784)),s.t(null,void 0,n(71194)),s.t(null,void 0,n(55669))],i=[s.t(null,void 0,n(95425)),s.t(null,void 0,n(35050)),s.t(null,void 0,n(51369)),s.t(null,void 0,n(42762)),s.t(null,void 0,n(68327)),s.t(null,void 0,n(15224)),s.t(null,void 0,n(6215)),s.t(null,void 0,n(38465)),s.t(null,void 0,n(57902)),s.t(null,void 0,n(73546)),s.t(null,void 0,n(71230)),s.t(null,void 0,n(92203))],l=s.t(null,void 0,n(2587)),c=s.t(null,void 0,n(39752)),u=s.t(null,void 0,n(39329)),h=s.t(null,void 0,n(83771)),d=s.t(null,void 0,n(27004)),p=s.t(null,void 0,n(75385)),m=s.t(null,void 0,n(83583)),g=s.t(null,void 0,n(80879)),f=s.t(null,void 0,n(6244)),v={setMonth:s.t(null,void 0,n(92702)),setYear:s.t(null,void 0,n(52051)),setDecades:s.t(null,void 0,n(99990))};var w;!function(e){e.Month="month",e.Year="year",e.Decades="decades"}(w||(w={}));const D=s.t(null,void 0,n(69325)),b=s.t(null,void 0,n(95543)),y=20;function C(e){return`${a[e.getDay()]} ${e.getDate()} ${o[e.getMonth()]} ${e.getFullYear()}`}function E(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),`${l}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:return`${u}, ${t.getFullYear()-1}`;case w.Decades:return`${d}, ${t.getFullYear()-y} - ${t.getFullYear()-1}`}}function _(e,t){
switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()+1),`${c}, ${o[e.getMonth()]} ${e.getFullYear()}`}case w.Year:return`${h}, ${t.getFullYear()+1}`;case w.Decades:return`${p}, ${t.getFullYear()+y} - ${t.getFullYear()+2*y-1}`}}function F(e,t){switch(e){case w.Month:return`${m}, ${t.getFullYear()}`;case w.Year:return`${g}, ${t.getFullYear()} - ${t.getFullYear()+y-1}`;case w.Decades:return`${f}, ${o[t.getMonth()]} ${t.getFullYear()}`}}function M(e,t){switch(e){case w.Month:return`${o[t.getMonth()]} ${t.getFullYear()}`;case w.Year:return`${t.getFullYear()}`;case w.Decades:return`${t.getFullYear()} - ${t.getFullYear()+y-1}`}}function S(e,t){switch(e){case w.Month:{const e=new Date(t);return e.setMonth(e.getMonth()-1),v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:""+(t.getFullYear()-1)});case w.Decades:return v.setDecades.format({year_start:""+(t.getFullYear()-y),year_end:""+(t.getFullYear()-1)})}}function k(e,t){switch(e){case w.Month:{const e=R(t);return v.setMonth.format({month:o[e.getMonth()]})}case w.Year:return v.setYear.format({year:`${t.getFullYear()+1}`});case w.Decades:return v.setDecades.format({year_start:`${t.getFullYear()+y}`,year_end:""+(t.getFullYear()+2*y-1)})}}function N(e,t){switch(e){case w.Month:return v.setYear.format({year:`${t.getFullYear()}`});case w.Year:return v.setDecades.format({year_start:`${t.getFullYear()}`,year_end:""+(t.getFullYear()+y-1)});case w.Decades:return v.setMonth.format({month:o[t.getMonth()]})}}function R(e){return 11===e.getMonth()?new Date(e.getFullYear()+1,0,1):new Date(e.getFullYear(),e.getMonth()+1,1)}},28746:(e,t,n)=>{"use strict";n.d(t,{Calendar:()=>E});var s=n(50959),r=n(97754),a=n(90744),o=n(17140),i=n(37287);function l(e){const{prevAriaLabel:t,nextAriaLabel:n,currentAriaLabel:r,currentVisibleTitle:l,isNextDisabled:c,isPrevDisabled:u,isViewModeDisabled:h,prevRef:d,middleRef:p,onPrevClick:m,onNextClick:g,onCurrentClick:f,onPrevKeyDown:v,onMiddleKeyDown:w,onHeaderKeyDown:D}=e;return s.createElement("div",{className:i.header,onKeyDown:D},s.createElement(a.LightButton,{startIcon:o,onClick:m,size:"small",variant:"ghost","aria-label":t,disabled:u,onKeyDown:v,reference:d}),s.createElement(a.LightButton,{size:"small",variant:"ghost","aria-label":r,onClick:f,disabled:h,onKeyDown:w,reference:p},l),s.createElement(a.LightButton,{startIcon:o,onClick:g,size:"small",variant:"ghost","aria-label":n,disabled:c,className:i["flip-horizontal"]}))}var c=n(23935),u=n(15499),h=n(53741);class d extends s.PureComponent{constructor(){super(...arguments),this._dateFormatter=new h.DateFormatter,this._getVariant=()=>{let e="ghost";return this._withinSelectedRange()&&(e=this.props.isDisabled?"secondary":"quiet-primary"),this._isOnHighlightedEdge()&&this.props.isDisabled&&(e="quiet-primary"),e},this._onClick=()=>{this.props.onClick&&!this.props.isDisabled&&this.props.onClick(new Date(this.props.day))}}render(){
const e=r(i.day,this.props.isDisabled&&i.disabled,!this.props.isDisabled&&(this.props.isSelected||this._isOnHighlightedEdge())&&i["accent-color"],this._withinSelectedRange()&&i["within-selected-range"],this._isCurrentDay()&&i["current-day"],!this.props.showFocusRing&&i["hide-focus-ring"]),t=this.props.isSelected||this._isOnHighlightedEdge()||this._withinSelectedRange(),n=t||this._isCurrentDay();return s.createElement(a.LightButton,{onClick:this._onClick,onFocus:this.props.onFocus,size:"small",variant:this._getVariant(),isSelected:n,"data-day":this._dateFormatter.formatLocal(this.props.day),className:e,disabled:this.props.isDisabled,reference:this.props.reference,tabIndex:this.props.tabIndex,"aria-label":(0,u.getDayAriaLabel)(this.props.day),"aria-selected":t,"aria-current":this._isCurrentDay()?"date":void 0},this.props.day.getDate())}_isOnHighlightedEdge(){const{day:e,highlightedFrom:t,highlightedTo:n}=this.props;return!(!t||!n)&&((0,c.isSameDay)(e,t)||(0,c.isSameDay)(e,n))}_withinSelectedRange(){const{day:e,highlightedFrom:t,highlightedTo:n}=this.props;return!(!t||!n)&&this._isBetweenByDay(t,e,n)}_isCurrentDay(){return(0,c.isSameDay)(new Date,this.props.day)}_isBetweenByDay(e,t,n){const s=(0,c.resetToDayStart)(e),r=(0,c.resetToDayStart)(t),a=(0,c.resetToDayStart)(n);return s<r&&r<a}}var p=n(78869),m=n(68335);function g({isDisabledDate:e,findDate:t,getFirstDate:n,getLastDate:r,setNext:a,setPrev:o,dateToFocus:i,verticalOffset:l,dateLevel:u}){const[h,d]=(0,p.useRefsMap)(),g=(0,s.useCallback)((t=>t?e(t)?null:t:null),[e]),f=(0,s.useCallback)(((n,s)=>{if(!n)return null;const r=(0,c.getCloneDateWithOffset)({dateFrom:n,offset:s,isDisabledDate:e,level:u});return g(t(r))}),[t,g]),v=(0,s.useCallback)((()=>{const e=n();return g(e)||f(e,1)}),[g,f]),w=(0,s.useCallback)((()=>{const e=r();return g(e)||f(e,-1)}),[g,f]),D=(0,s.useCallback)(((t,n)=>{if(!t)return;const s=(0,c.getCloneDateWithOffset)({dateFrom:t,offset:n,isDisabledDate:e,level:u});s&&(n>0?a(s):o(s))}),[e,a,o]),{currentlyFocused:b,setCurrentlyFocused:y,focusItem:C,bindings:E}=function({refsMap:e,verticalOffset:t,getNextKeyToFocus:n,getFirstKey:r,getLastKey:a,onGridEnd:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((t=>{if(!t)return;const n=e.current.get(t);n&&(n.focus(),l(t))}),[e]),u=(0,s.useCallback)((e=>{const t=n(i,e);t?c(t):o(i,e)}),[i,n]),h=(0,s.useCallback)((e=>{const n=(0,m.hashFromEvent)(e);if(40===n&&(e.preventDefault(),u(t)),38===n&&(e.preventDefault(),u(-1*t)),39===n&&(e.preventDefault(),u(1)),37===n&&(e.preventDefault(),u(-1)),36===n){e.preventDefault();const t=r();c(t)}if(35===n){e.preventDefault();const t=a();c(t)}}),[i,n]);return{currentlyFocused:i,setCurrentlyFocused:l,focusItem:c,bindings:{onKeyDown:h}}}({refsMap:h,verticalOffset:l,getNextKeyToFocus:f,getFirstKey:v,getLastKey:w,onGridEnd:D});return(0,s.useEffect)((()=>C(g(t(i)))),[i]),{itemsRefs:h,setItemRef:d,ensureNotDisabledDate:g,currentlyFocused:b,setCurrentlyFocused:y,focusItem:C,bindings:E}}function f(e){
const{selectedDate:t,dateToFocus:n,weeks:r,onClickDay:a,setPrevMonth:o,setNextMonth:l,maxDate:h,minDate:p,disableWeekends:m,showFocusRing:f,highlightedFrom:v,highlightedTo:w,isDisabled:D,focusableDateRef:b}=e,y=(0,s.useCallback)((e=>{if(!e)return null;let t=null;return r.find((({days:n})=>(t=n.find((t=>(0,c.isSameDay)(t,e))),t))),t}),[r]),C=(0,s.useCallback)((()=>r[0].days[0]),[r]),E=(0,s.useCallback)((()=>{const e=r[r.length-1].days;return e[e.length-1]}),[r]),_=(0,s.useCallback)((e=>D||(0,c.isDayDisabled)({day:e,minDate:p,maxDate:h,disableWeekends:m})),[p,h,m,D]),{itemsRefs:F,setItemRef:M,currentlyFocused:S,setCurrentlyFocused:k,bindings:N}=g({isDisabledDate:_,findDate:y,getFirstDate:C,getLastDate:E,setPrev:o,setNext:l,dateToFocus:n,verticalOffset:7,dateLevel:"day"}),R=(0,c.getDateInTabOrder)({selectedDate:t,dateToFocus:n,currentlyFocused:S,firstEnabledDate:(0,c.getFirstEnabledDay)(r,_),getFirstDate:C,getLastDate:E,isDisabledDate:_});return(0,s.useEffect)((()=>{b.current=R&&F.current.get(R)||null}),[R,b]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},u.WEEKDAYS_MIN.map((e=>s.createElement("span",{key:e},e)))),s.createElement("div",{className:i["view-month"],tabIndex:-1,...N},s.createElement("div",{className:i.weeks},r.map((({week:e,days:n})=>s.createElement("div",{className:i.week,key:e},n.map((e=>s.createElement(d,{key:e.toDateString(),day:e,isDisabled:_(e),isSelected:(0,c.isSameDay)(e,t),onClick:a,highlightedFrom:v,highlightedTo:w,reference:M(e),tabIndex:(0,c.isSameDay)(e,R)?0:-1,onFocus:(0,c.isSameDay)(e,R)?()=>k(e):void 0,showFocusRing:f})))))))))}function v(e){const{months:t,selectedDate:n,maxDate:r,minDate:o,showFocusRing:l,dateToFocus:h,isDisabled:d,focusableDateRef:p,onSelect:m,setPrevYear:f,setNextYear:v}=e,w=(0,s.useCallback)((e=>d||!(0,c.isInRange)(e,o,r,"month")),[o,r,d]),D=(0,s.useCallback)((e=>{if(!e)return null;let n=null;return t.find((({date:t})=>(n=(0,c.isSameMonth)(e,t)?t:null,n))),n}),[t]),b=(0,s.useCallback)((()=>t[0].date),[t]),y=(0,s.useCallback)((()=>t[t.length-1].date),[t]),{itemsRefs:C,setItemRef:E,currentlyFocused:_,setCurrentlyFocused:F,bindings:M}=g({isDisabledDate:w,findDate:D,getFirstDate:b,getLastDate:y,setPrev:f,setNext:v,verticalOffset:3,dateToFocus:h,dateLevel:"month"}),S=(0,c.getDateInTabOrder)({selectedDate:n,dateToFocus:h,currentlyFocused:_,firstEnabledDate:(0,c.getFirstEnabledMonth)(t,w),getFirstDate:b,getLastDate:y,isDisabledDate:w});return(0,s.useEffect)((()=>{p.current=S&&C.current.get(S)||null}),[S,p]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},s.createElement("span",null,u.SUB_HEADER_YEAR)),s.createElement("div",{className:i["view-year"],...M},t.map((({title:e,ariaLabel:t,date:r})=>{const o=(0,c.isSameMonth)(r,n),u=w(r),h=o?"quiet-primary":"ghost";return s.createElement(a.LightButton,{key:r.toDateString(),size:"small",variant:h,disabled:u,isSelected:o,className:!l&&i["hide-focus-ring"],onClick:()=>m(r),reference:E(r),tabIndex:(0,c.isSameMonth)(r,S)?0:-1,onFocus:(0,
c.isSameMonth)(r,S)?()=>F(r):void 0,"aria-label":`${t} ${r.getFullYear()}`,"aria-selected":o},e)}))))}function w(e){const{years:t,selectedDate:n,dateToFocus:r,maxDate:o,minDate:l,showFocusRing:h,isDisabled:d,focusableDateRef:p,onSelect:m,setPrevDecades:f,setNextDecades:v}=e,w=(0,s.useCallback)((e=>d||!(0,c.isInRange)(e,l,o,"year")),[l,o,d]),D=(0,s.useCallback)((e=>e&&t.find((t=>(0,c.isSameYear)(e,t)))||null),[t]),b=(0,s.useCallback)((()=>t[0]),[t]),y=(0,s.useCallback)((()=>t[t.length-1]),[t]),{itemsRefs:C,setItemRef:E,currentlyFocused:_,setCurrentlyFocused:F,bindings:M}=g({isDisabledDate:w,findDate:D,getFirstDate:b,getLastDate:y,setPrev:f,setNext:v,dateToFocus:r,verticalOffset:4,dateLevel:"year"}),S=(0,c.getDateInTabOrder)({selectedDate:n,dateToFocus:r,currentlyFocused:_,firstEnabledDate:(0,c.getFirstEnabledYear)(t,w),getFirstDate:b,getLastDate:y,isDisabledDate:w});return(0,s.useEffect)((()=>{p.current=S&&C.current.get(S)||null}),[S,p]),s.createElement(s.Fragment,null,s.createElement("div",{className:i["sub-header"],"aria-hidden":!0},s.createElement("span",null,u.SUB_HEADER_DECADES)),s.createElement("div",{className:i["view-decades"],...M},t.map((e=>{const t=e.getFullYear(),r=(0,c.isSameYear)(e,n),o=w(e),l=r?"quiet-primary":"ghost";return s.createElement(a.LightButton,{key:e.toDateString(),size:"small",variant:l,disabled:o,isSelected:r,className:!h&&i["hide-focus-ring"],onClick:()=>m(e),reference:E(e),tabIndex:(0,c.isSameYear)(e,S)?0:-1,onFocus:(0,c.isSameYear)(e,S)?()=>F(e):void 0,"aria-selected":r},t)}))))}class D{constructor(e,t=[]){this._messagesQueue=[],this._alternate=!1,this._renderedMessage=null,this._idCounter=0,this._containers=[...t],this._type=e}setContainers(e){this._containers=[...e]}addMessage(e,t=0){const n=this._generateId(),s={id:n,message:e,destroyTimeout:this._calculateDestroyTimeout(e,t)};return this._messagesQueue.push(s),this._renderedMessage||this._renderMessage(),{...s,type:this._type,destroy:this._getDestroyMessageCallback(n)}}destroyAll(){var e;this._messagesQueue=[],clearTimeout(null===(e=this._renderedMessage)||void 0===e?void 0:e.destroyTimer),this._containers.forEach((e=>{e.innerText=""})),this._renderedMessage=null,this._alternate=!1}_generateId(){return`live-region-${this._type}-${this._idCounter++}`}_calculateDestroyTimeout(e,t=0){const n=50*e.trim().length+200,s=250*e.trim().length;return Math.min(Math.max(n,t),s)}_findById(e){var t;return(null===(t=this._renderedMessage)||void 0===t?void 0:t.id)===e?this._renderedMessage:this._messagesQueue.find((t=>t.id===e))}_getDestroyMessageCallback(e){return async t=>{const n=this._findById(e);return!!n&&(n.renderedTo?!!t&&(this._removeRenderedMessage(),this._renderMessage(),!0):(this._removeFromQueue(n),!0))}}_removeRenderedMessage(){var e;const t=null===(e=this._renderedMessage)||void 0===e?void 0:e.renderedTo;t&&(t.innerText=""),this._renderedMessage=null}_removeFromQueue(e){this._messagesQueue=this._messagesQueue.filter((t=>t!==e))}async _renderMessage(){if(!this._containers.length||!this._messagesQueue.length)return
;const e=this._alternate?this._containers[0]:this._containers[1],t=this._messagesQueue.shift();let n;e.innerText=t.message;const s=new Promise(((e,s)=>{n=setTimeout((()=>{var n;if((null===(n=this._renderedMessage)||void 0===n?void 0:n.id)===t.id)return this._removeRenderedMessage(),void this._renderMessage().then(e);s("Currently rendered message is not the one that you 're trying to destroy")}),t.destroyTimeout)}));this._renderedMessage={...t,renderedTo:e,destroyTimer:n,destroyPromise:s},this._alternate=!this._alternate}}class b extends D{}const y=new class{constructor(){this.isInited=!1,this._politeQueue=new b("polite"),this._assertiveQueue=new b("assertive")}renderTo(e,t=!1){return t&&this.destroy(),this._init(e)}destroy(){this._politeQueue.destroyAll(),this._assertiveQueue.destroyAll(),this.isInited=!1}sayPolitely(e,t){return this.isInited?this._politeQueue.addMessage(e,t):null}interrupt(e,t){return this.isInited?this._assertiveQueue.addMessage(e,t):null}_init(e){if(!e)return!1;if(this.isInited)return!1;return!!this._setContainers(e)&&(this.isInited=!0,!0)}_setContainers(e){const t=document.getElementById(e);if(!t)return!1;const n=t.querySelectorAll('[aria-live="polite"]'),s=t.querySelectorAll('[aria-live="assertive"]');return!(!n||2!==n.length||!s||2!==s.length)&&(this._politeQueue.setContainers([n[0],n[1]]),this._assertiveQueue.setContainers([s[0],s[1]]),!0)}};function C({viewType:e,decadesStartYear:t,viewDate:n,setPrev:r,setNext:a,switchViewType:o}){const[i,l]=(0,s.useState)(null),c=(0,s.useCallback)((e=>{i&&i.destroy(),l(y.sayPolitely(e))}),[i,l]);return{onPrevClick:(0,s.useCallback)((()=>{c((0,u.getPrevLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),r(null)}),[r,c]),onNextClick:(0,s.useCallback)((()=>{c((0,u.getNextLiveRegionConfirmation)(e,e===u.CalendarViewType.Decades?t:n)),a(null)}),[a,c]),onSwitchViewType:(0,s.useCallback)((s=>{c((0,u.getViewTypeLiveRegionConfirmation)(e,e===u.CalendarViewType.Year?t:n)),o(s)}),[o,c])}}function E(e){const{selectedDate:t,maxDate:n,minDate:a,className:o,disableWeekends:h,highlightedFrom:d,highlightedTo:p,popupStyle:g=!0,showFocusRing:D=!1,autoFocus:b=!1,isDisabled:y=!1,withFocusTrap:E=!1,endSlot:_,onSelect:F,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,focusTriggerElement:R}=e,[x,T]=(0,s.useState)(D),I=(0,s.useCallback)((()=>T(!0)),[T]);(0,s.useEffect)((()=>{D&&T(!0)}),[D]);const P=(0,s.useCallback)((e=>{R&&38===(0,m.hashFromEvent)(e)&&(e.preventDefault(),e.stopPropagation(),T(!1),R())}),[R]),{viewDate:A,viewType:Y,dateToFocus:O,weeks:z,months:V,years:L,isNextDisabled:H,isPrevDisabled:B,setPrev:$,setNext:K,switchViewType:W,onClickDay:j,onClickMonth:J,onClickYear:q}=function({selectedDate:e,autoFocus:t,showFocusRing:n,minDate:r,maxDate:a,onSelect:o,onMonthSwitch:i,onYearSwitch:l,onDecadesSwitch:h,onViewTypeChange:d}){const[p,m]=(0,s.useState)(e),[g,f]=(0,s.useState)(u.CalendarViewType.Month),[v,w]=(0,s.useState)(t?e:null),D=(0,s.useMemo)((()=>(0,c.getDecadesStart)(p)),[p]),b=(0,s.useCallback)((e=>{const t=new Date(p),n=(0,
u.getNextMonth)(p),s=new Date(n.getFullYear(),n.getMonth()+e,0).getDate(),r=p.getDate()>s?s:p.getDate();t.setMonth(t.getMonth()+e,r),m(t),i&&i(t)}),[p,i]),y=(0,s.useCallback)((e=>{const t=new Date(p);t.setFullYear(t.getFullYear()+e),m(t),l&&l(t)}),[p,l]),C=(0,s.useCallback)((e=>{const t=new Date(D);t.setFullYear(t.getFullYear()+e),m(t),h&&h(t)}),[D,p,h]),E=(0,s.useCallback)(((e,t)=>{switch(t&&w(t),g){case u.CalendarViewType.Month:return b(1*e);case u.CalendarViewType.Year:return y(1*e);case u.CalendarViewType.Decades:return C(e*u.DECADES_YEARS_AMOUNT)}}),[g,b,y,C]),_=(0,s.useCallback)((e=>E(-1,e)),[E]),F=(0,s.useCallback)((e=>E(1,e)),[E]),M=(0,s.useCallback)((()=>{const e=Object.values(u.CalendarViewType);let t=e.indexOf(g)+1;t>=e.length&&(t=0),f(e[t]),d&&d(e[t])}),[g]),S=(0,s.useCallback)((e=>{m(new Date(e)),o&&o(new Date(e))}),[o]),k=(0,s.useCallback)((e=>{const t=new Date(p);t.setMonth(e.getMonth()),(0,c.isSameMonth)(t,e)||t.setMonth(e.getMonth(),1),m(t);const n=new Date(v||p);n.setMonth(e.getMonth()),(0,c.isSameMonth)(n,e)||n.setMonth(e.getMonth(),1),w(n),f(u.CalendarViewType.Month)}),[p,o,M]),N=(0,s.useCallback)((e=>{const t=new Date(p);t.setFullYear(e.getFullYear()),m(t);const n=new Date(v||p);n.setFullYear(e.getFullYear()),w(n),f(u.CalendarViewType.Year)}),[p,o,M]),R=(0,s.useMemo)((()=>(0,c.getWeeks)(p)),[p]),x=(0,s.useMemo)((()=>(0,c.getMonths)(p)),[p]),T=(0,s.useMemo)((()=>(0,c.getDecades)(D)),[D]),I=(0,s.useMemo)((()=>{switch(g){case u.CalendarViewType.Month:{const e=R[R.length-1].days,t=new Date(e[e.length-1]);return t.setDate(t.getDate()+1),!(0,c.isInRange)(t,r,a)}case u.CalendarViewType.Year:{const e=new Date(x[x.length-1].date);return e.setMonth(e.getMonth()+1),!(0,c.isInRange)(e,r,a,"month")}case u.CalendarViewType.Decades:{const e=new Date(T[T.length-1]);return e.setFullYear(e.getFullYear()+1),!(0,c.isInRange)(e,r,a,"year")}}}),[g,r,a,R,x,T]),P=(0,s.useMemo)((()=>{switch(g){case u.CalendarViewType.Month:{const e=new Date(R[0].days[0]);return e.setDate(e.getDate()-1),!(0,c.isInRange)(e,r,a)}case u.CalendarViewType.Year:{const e=new Date(x[0].date);return e.setMonth(e.getMonth()-1),!(0,c.isInRange)(e,r,a,"month")}case u.CalendarViewType.Decades:{const e=new Date(T[0]);return e.setFullYear(e.getFullYear()-1),!(0,c.isInRange)(e,r,a,"year")}}}),[g,r,a,R,x,T]);return(0,s.useEffect)((()=>{!v&&n&&t&&w(e),n||w(null)}),[t,e,v,n]),{viewDate:p,viewType:g,dateToFocus:v,weeks:R,months:x,years:T,isNextDisabled:I,isPrevDisabled:P,setPrev:_,setNext:F,switchViewType:M,onClickDay:S,onClickMonth:k,onClickYear:N}}({selectedDate:t,minDate:a,maxDate:n,autoFocus:b,showFocusRing:x,onMonthSwitch:M,onYearSwitch:S,onDecadesSwitch:k,onViewTypeChange:N,onSelect:F}),{focusableDateRef:U,prevRef:Q,middleRef:Z,onPrevKeyDown:X,onMiddleKeyDown:G,forwardFocusToStart:ee}=function({withFocusTrap:e,isPrevDisabled:t}){const n=(0,s.useRef)(null),r=(0,s.useCallback)((t=>{var s;e&&m.Modifiers.Shift+9===(0,m.hashFromEvent)(t)&&(t.preventDefault(),null===(s=n.current)||void 0===s||s.focus())}),[e]),a=(0,s.useCallback)((e=>{t||r(e)}),[t,r]),o=(0,
s.useCallback)((e=>{t&&r(e)}),[t,r]),i=(0,s.useRef)(null),l=(0,s.useRef)(null),c=(0,s.useCallback)((e=>{var n,s;e.preventDefault(),e.stopPropagation(),t?null===(s=l.current)||void 0===s||s.focus():null===(n=i.current)||void 0===n||n.focus()}),[t]);return{focusableDateRef:n,prevRef:i,middleRef:l,onPrevKeyDown:a,onMiddleKeyDown:o,forwardFocusToStart:c}}({withFocusTrap:E,isPrevDisabled:B}),te=(0,s.useMemo)((()=>L[0]),[L]),{onPrevClick:ne,onNextClick:se,onSwitchViewType:re}=C({viewType:Y,decadesStartYear:te,viewDate:A,setPrev:$,setNext:K,switchViewType:W});return s.createElement("div",{className:r(i.calendar,g&&i.popupStyle,o),tabIndex:-1,onKeyDown:I},s.createElement(l,{prevAriaLabel:(0,u.getPrevAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),nextAriaLabel:(0,u.getNextAriaLabel)(Y,Y===u.CalendarViewType.Decades?te:A),currentAriaLabel:(0,u.getCurrentAriaLabel)(Y,Y===u.CalendarViewType.Year?te:A),currentVisibleTitle:(0,u.getCurrentVisibleTitle)(Y,Y===u.CalendarViewType.Decades?te:A),onPrevClick:ne,onNextClick:se,onPrevKeyDown:X,onMiddleKeyDown:G,onHeaderKeyDown:P,onCurrentClick:re,isNextDisabled:y||H,isPrevDisabled:y||B,isViewModeDisabled:y,prevRef:Q,middleRef:Z}),Y===u.CalendarViewType.Month&&s.createElement(f,{weeks:z,selectedDate:t,dateToFocus:O,maxDate:n,minDate:a,onClickDay:j,disableWeekends:h,highlightedFrom:d,highlightedTo:p,setPrevMonth:$,setNextMonth:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Year&&s.createElement(v,{months:V,selectedDate:t,dateToFocus:O,maxDate:n,minDate:a,onSelect:J,setPrevYear:$,setNextYear:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),Y===u.CalendarViewType.Decades&&s.createElement(w,{years:L,selectedDate:t,dateToFocus:O,maxDate:n,minDate:a,onSelect:q,setPrevDecades:$,setNextDecades:K,showFocusRing:x,isDisabled:y,focusableDateRef:U}),s.createElement("div",{className:i["slot-wrapper"]},_),E&&s.createElement("div",{tabIndex:0,onFocus:ee}))}},85528:(e,t,n)=>{"use strict";n.d(t,{DatePicker:()=>F});var s=n(44352),r=n(50959),a=n(97754),o=n(5325),i=n(32563),l=n(53741),c=n(28746),u=n(50151),h=n(9745),d=n(86623),p=n(95263),m=n(78274),g=n(76594),f=n(65718),v=n(68335),w=n(20111);class D extends r.PureComponent{constructor(e){super(e),this._input=null,this._inputContainer=null,this._handleFocus=()=>{this.props.showOnFocus&&this.props.onShowPicker()},this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._handleContainerRef=e=>{this._inputContainer=e},this._onShowPicker=e=>{if(e&&this._inputContainer){const t=e.getBoundingClientRect(),n=this._inputContainer.getBoundingClientRect();t.width&&t.width>window.innerWidth-n.left?(e.style.right="0",e.style.left="auto"):(e.style.right="auto",e.style.left=`${n.left}px`);const s=window.innerHeight-n.bottom,r=n.top;if(s>=t.height)return void(e.style.top=`${n.bottom}px`);e.style.top="auto",e.style.bottom=r<t.height?"0":`${s+n.height}px`}},this._onChange=()=>{const e=(0,u.ensureNotNull)(this._input).value;this.setState({value:e}),this.props.onType(e)},this._onKeyDown=e=>{
this.props.hideOnKeyDown&&this.props.onHidePicker(),this.props.onKeyDown&&this.props.onKeyDown(e)},this._onKeyPress=e=>{if(e.charCode){const t=String.fromCharCode(e.charCode);this.props.inputRegex.test(t)||e.preventDefault()}},this._onKeyUp=e=>{if(8!==e.keyCode){const e=(0,u.ensureNotNull)(this._input).value,t=this.props.fixValue(e);t!==e&&this.setState({value:t})}},this._handleDropdownKeydown=e=>{var t;27===(0,v.hashFromEvent)(e)&&(null===(t=this._input)||void 0===t||t.focus(),this.props.onHidePicker())},this.state={value:e.value,valueFromProps:e.value}}render(){const{position:e="fixed",className:t,size:n,disabled:s,readonly:o,errors:i,icon:l,InputComponent:c=d.FormInput}=this.props;return r.createElement("div",{className:w.pickerInput,ref:this._handleContainerRef},r.createElement(c,{value:this.state.value,onBlur:this.props.onBlur,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onChange:this._onChange,onFocus:this._handleFocus,onClick:this.props.onShowPicker,reference:this._handleInputRef,className:t,size:n,disabled:s,errors:i,messagesPosition:p.MessagesPosition.Attached,hasErrors:this.props.showErrorMessages&&i&&i.length>0,name:this.props.name,readonly:o,endSlot:i&&i.length?void 0:r.createElement(m.EndSlot,null,r.createElement(h.Icon,{icon:l,className:a(w.icon,s&&w.disabled),onClick:s||o?void 0:this.props.onShowPicker})),"data-name":this.props.name}),this.props.showPicker&&!o?r.createElement(f.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},r.createElement(g.OutsideEvent,{mouseDown:!0,handler:this.props.onHidePicker},(t=>r.createElement("span",{ref:t,style:{pointerEvents:"auto"}},r.createElement("div",{className:a(w.picker,w[e]),key:"0",ref:this._onShowPicker,onKeyDown:this._handleDropdownKeydown},this.props.children))))):null)}static getDerivedStateFromProps(e,t){return e.value!==t.valueFromProps?{value:e.value,valueFromProps:e.value}:null}}D.defaultProps={showOnFocus:!0};class b extends r.PureComponent{constructor(e){super(e),this._input=null,this._nativeInputRef=r.createRef(),this._handleInputRef=e=>{this._input=e,this.props.inputReference&&this.props.inputReference(this._input)},this._onFocus=()=>{this.setState({isFocused:!0})},this._onBlur=()=>{this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.state.value),this.setState({isFocused:!1})},this._onChange=e=>{const{value:t}=e.target;t&&(this.setState({value:t}),this.props.onChange(t))},this.state={value:e.value,isFocused:!1}}componentDidMount(){this._nativeInputRef.current&&(this._nativeInputRef.current.defaultValue=this.props.value)}render(){const{className:e,disabled:t,errors:n,InputComponent:s=d.FormInput}=this.props,o=!this.props.readonly&&!t,i=this.props.showErrorMessages&&n&&n.length>0;return r.createElement("div",{className:w.pickerInput},r.createElement(s,{value:this.state.value,readonly:!0,noReadonlyStyles:!0,endSlot:n&&n.length?void 0:r.createElement(m.EndSlot,null,r.createElement(h.Icon,{icon:this.props.icon,className:a(w.icon,t&&w.disabled)})),className:e,
inputClassName:w.textInput,size:this.props.size,disabled:t,hasErrors:i,errors:n,alwaysShowAttachedErrors:!0,messagesPosition:p.MessagesPosition.Attached,name:o?void 0:this.props.name,reference:this._handleInputRef,highlight:this.state.isFocused,intent:!i&&this.state.isFocused?"primary":void 0}),o&&r.createElement("input",{ref:this._nativeInputRef,type:this.props.type,className:w.nativePicker,onChange:this._onChange,onInput:this._onChange,min:this.props.min,max:this.props.max,name:this.props.name,onFocus:this._onFocus,onBlur:this._onBlur}))}}var y=n(23935),C=n(67029),E=n(53017),_=n(1401);class F extends r.PureComponent{constructor(e){super(e),this._pickerInputContainerRef=r.createRef(),this._pickerInpuRef=r.createRef(),this._dateFormatter=new l.DateFormatter,this._onPickerInputKeyDown=e=>{const t=(0,v.hashFromEvent)(e);if([v.Modifiers.Shift+9,9].includes(t))this._hideCalendar();else{if(40===t)return e.preventDefault(),this._showCalendar(),void this.setState({autofocusCalendar:!0});13===t&&this.props.onEnter&&this.props.onEnter(e),this._hideCalendar()}},this._returnFocusToInput=()=>{var e;this.setState({autofocusCalendar:!1}),null===(e=this._pickerInpuRef.current)||void 0===e||e.focus()},this._fixValue=e=>(e=(e=e.substring(0,10)).replace(/-+/g,"-"),(/^\d{4}$/.test(e)||/^\d{4}-\d{2}$/.test(e))&&(e+="-"),e),this._isValid=e=>{if(/^[0-9]{4}(-[0-9]{2}){2}/.test(e)){const t=new Date(e.concat("T00:00"));return!(0,y.isInvalidDateObj)(t)&&(!!(this.props.noRangeValidation||i.mobiletouch&&o.isIOS)||(0,y.isInRange)(t,this.props.minDate,this.props.maxDate))}return!1},this._onBlur=e=>{var t;if(!this.props.revertInvalidData||(null===(t=this._pickerInputContainerRef.current)||void 0===t?void 0:t.contains(e.relatedTarget)))return;const{value:n}=e.target;if(!this._isValid(n)){const t=new Date(this.state.date);this.setState({pickerInputKey:e.timeStamp,date:t,isInvalid:!1}),this.props.onPick(t)}},this._onType=e=>{const t=this._isValid(e)?new Date(e.concat("T00:00")):null;t?this.setState({date:t,isInvalid:!1}):this.setState({isInvalid:!0}),this.props.onPick(t)},this._onSelect=e=>{this.setState({date:e,showCalendar:!1,isInvalid:!1}),this.props.onPick(e)},this._showCalendar=()=>{this.setState({showCalendar:!0})},this._hideCalendar=()=>{this.setState({showCalendar:!1,autofocusCalendar:!1})},this._getErrors=()=>{const e=this.props.errors?[...this.props.errors]:[];return this.state.isInvalid&&e.push(s.t(null,void 0,n(5122))),e},this.state={pickerInputKey:0,date:e.initial,showCalendar:!1,isInvalid:!this._isValid(this._dateFormatter.formatLocal(e.initial)),autofocusCalendar:!1,initial:e.initial}}render(){const e=this.props.endSlotComponent,t=(0,E.mergeRefs)([this._pickerInpuRef,this.props.inputReference]);return i.mobiletouch?r.createElement(b,{value:this._dateFormatter.formatLocal(this.state.date),type:"date",onChange:this._onType,icon:_,disabled:this.props.disabled,size:this.props.size,min:this.props.minDate&&this._dateFormatter.formatLocal(this.props.minDate),max:this.props.maxDate&&this._dateFormatter.formatLocal(this.props.maxDate),
errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,className:a(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:this.props.inputReference,InputComponent:this.props.InputComponent}):r.createElement("div",{ref:this._pickerInputContainerRef},r.createElement(D,{key:this.state.pickerInputKey,value:this._dateFormatter.formatLocal(this.state.date),inputRegex:/[0-9.]/,fixValue:this._fixValue,onType:this._onType,onBlur:this._onBlur,onShowPicker:this._showCalendar,onHidePicker:this._hideCalendar,showPicker:this.state.showCalendar&&this.props.withCalendar,showOnFocus:this.props.showOnFocus,icon:_,disabled:this.props.disabled,size:this.props.size,errors:this._getErrors(),showErrorMessages:this.props.showErrorMessages,name:this.props.name,readonly:this.props.readonly,position:this.props.position,className:a(this._getFontSizeClassName(this.props.size),this.props.className),inputReference:t,InputComponent:this.props.InputComponent,onKeyDown:this._onPickerInputKeyDown},r.createElement(c.Calendar,{selectedDate:this.state.date,maxDate:this.props.maxDate,minDate:this.props.minDate,onSelect:this._onSelect,endSlot:e&&r.createElement(e,{onSelectDate:this._onSelect}),autoFocus:this.state.autofocusCalendar,showFocusRing:this.state.autofocusCalendar,focusTriggerElement:this._returnFocusToInput,withFocusTrap:!0})))}static getDerivedStateFromProps(e,t){return t.initial!==e.initial?{...t,date:e.initial,initial:e.initial}:null}_getFontSizeClassName(e){return e?"large"===e?C.InputClasses.FontSizeLarge:C.InputClasses.FontSizeMedium:void 0}}F.defaultProps={position:"fixed",withCalendar:!0}},76056:(e,t,n)=>{"use strict";n.d(t,{DateInput:()=>m});var s=n(50959),r=n(44352),a=n(9745),o=n(78274),i=n(86623),l=n(97754),c=n.n(l),u=n(30247);function h(e){const{className:t,text:n}=e;return s.createElement("span",{className:c()(u.tooltip,t)},n)}var d=n(98475);const p=n(53209);function m(e){const{hasErrors:t,onClick:l,errors:c,className:u,theme:m=p,...g}=e;return s.createElement("div",{className:m.container,onClick:l},s.createElement(i.FormInput,{...g,className:m.date,hasErrors:t,errors:[],endSlot:!t&&s.createElement(o.EndSlot,{icon:!0,interactive:!1},s.createElement(a.Icon,{icon:d,className:m.icon}))}),t&&s.createElement(h,{text:r.t(null,void 0,n(32457)),className:m.tooltip}))}},23935:(e,t,n)=>{"use strict";n.d(t,{addLocalTime:()=>b,getCloneDateWithOffset:()=>N,getDateInTabOrder:()=>R,getDecades:()=>_,getDecadesStart:()=>y,getFirstEnabledDay:()=>M,getFirstEnabledMonth:()=>S,getFirstEnabledYear:()=>k,getMonths:()=>E,getWeeks:()=>C,isDayDisabled:()=>F,isInRange:()=>f,isInvalidDateObj:()=>v,isSameDay:()=>u,isSameMonth:()=>h,isSameYear:()=>d,resetToDayEnd:()=>o,resetToDayStart:()=>a,subtractLocalTime:()=>D,twoDigitsFormat:()=>r});var s=n(15499);function r(e){return("0"+e).slice(-2)}function a(e){const t=new Date(e);return t.setMilliseconds(0),t.setSeconds(0),t.setMinutes(0),t.setHours(0),t}function o(e){const t=new Date(e);return t.setMilliseconds(999),
t.setSeconds(59),t.setMinutes(59),t.setHours(23),t}function i(e,t=!1){const n=a(e),s=t?function(e){if(e>6)throw new Error("Invalid day is provided");return 0===e?6:e-1}(n.getDay()):n.getDay();return n.setDate(n.getDate()-s),n}function l(e){const t=a(e);return t.setDate(1),t}function c(e){const t=l(e);return t.setMonth(1),t}function u(e,t){return!!t&&Number(a(e))===Number(a(t))}function h(e,t){return!!t&&Number(l(e))===Number(l(t))}function d(e,t){return!!t&&Number(c(e))===Number(c(t))}function p(e){const t=new Date(e.getFullYear(),0,1),n=(Number(e)-Number(t))/864e5;return Math.ceil((n+t.getDay()+1)/7)}function m(e){const t=new Date(e);return t.setDate(t.getDate()+7),t}const g={day:a,month:l,year:c};function f(e,t,n,s="day"){const r=g[s],a=!t||Number(r(t))-Number(r(e))<=0;return(!n||Number(r(n))-Number(r(e))>=0)&&a}function v(e){return Number.isNaN(Number(e))}function w(e){return new Date(e).getTimezoneOffset()/60}function D(e){const t=new Date(e);return t.setHours(t.getHours()+w(t)),t}function b(e){const t=new Date(e);return t.setHours(t.getHours()-w(t)),t}function y(e){const t=e.getFullYear()%10*-1,n=new Date(e);return n.setFullYear(e.getFullYear()+t),n}function C(e){const t=[];let n=i(l(e),!0);for(let s=0;s<6;s++){const s=[];for(let t=0;t<7;t++){const r=new Date(n);r.setDate(r.getDate()+t),h(r,e)&&s.push(r)}s.length&&t.push({week:p(n),days:s}),n=new Date(m(n))}return t}function E(e){return s.MONTHS_SHORT.map(((t,n)=>{const r=l(e);return r.setMonth(n),{title:t,ariaLabel:s.MONTHS[n],date:r}}))}function _(e){const t=[];for(let n=0;n<s.DECADES_YEARS_AMOUNT;n++){const s=new Date(e);s.setFullYear(e.getFullYear()+n),t.push(s)}return t}function F({day:e,minDate:t,maxDate:n,disableWeekends:s=!1}){if(!f(e,t,n))return!0;const r=[6,0].includes(e.getDay());return!!s&&r}function M(e,t){return function n(s=0,r=0){if(!e[s]||!e[s].days[r])return;const a=e[s].days,o=a[r];return t(o)?r+1<a.length?n(s,r+1):n(s+1,0):o}()}function S(e,t){return function n(s=0){if(!e[s])return;const r=e[s].date;return t(r)?n(s+1):r}()}function k(e,t){return function n(s=0){if(!e[s])return;const r=e[s];return t(r)?n(s+1):r}()}function N({dateFrom:e,offset:t,level:n="day",maxIterations:s=6,isDisabledDate:r=(()=>!1)}){return function e(a,o=0){const i=new Date(a);switch(n){case"day":i.setDate(i.getDate()+t);break;case"month":i.setMonth(i.getMonth()+t);break;case"year":i.setFullYear(i.getFullYear()+t)}const l=r(i);return o>s||!l?l?null:i:e(i,o+1)}(e)}function R({selectedDate:e,dateToFocus:t,currentlyFocused:n,firstEnabledDate:s,getFirstDate:r,getLastDate:a,isDisabledDate:o}){const i=f(e,r(),a(),"day")&&!o(e)?e:null,l=t&&f(t,r(),a(),"day")&&!o(t)?t:null;return(n&&f(n,r(),a(),"day")&&!o(n)?n:null)||i||l||s}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>a,useAccurateHover:()=>o,useHover:()=>r});var s=n(50959);function r(){const[e,t]=(0,s.useState)(!1);return[e,{onMouseOver:function(e){a(e)&&t(!0)},onMouseOut:function(e){a(e)&&t(!1)}}]}function a(e){return!e.currentTarget.contains(e.relatedTarget)}function o(e){const[t,n]=(0,s.useState)(!1)
;return(0,s.useEffect)((()=>{const t=t=>{if(null===e.current)return;const s=e.current.contains(t.target);n(s)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},86623:(e,t,n)=>{"use strict";n.d(t,{FormInput:()=>c});var s=n(50959),r=n(31261),a=n(95263),o=n(78274),i=n(47201),l=n(38528);function c(e){var t;const{intent:n,onFocus:c,onBlur:u,onMouseOver:h,onMouseOut:d,containerReference:p=null,endSlot:m,hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,"aria-required":N,"aria-invalid":R,"aria-label":x,inputDescription:T,...I}=e,P=(0,a.useControlValidationLayout)({hasErrors:g,hasWarnings:f,hasSuccessMessages:v,errors:w,warnings:D,successMessages:b,alwaysShowAttachedErrors:y,iconHidden:C,messagesPosition:E,messagesAttachment:_,customErrorsAttachment:F,messagesRoot:M,inheritMessagesWidthFromTarget:S,disableMessagesRtlStyles:k,inputDescription:T}),A=(0,i.createSafeMulticastEventHandler)(c,P.onFocus),Y=(0,i.createSafeMulticastEventHandler)(u,P.onBlur),O=(0,i.createSafeMulticastEventHandler)(h,P.onMouseOver),z=(0,i.createSafeMulticastEventHandler)(d,P.onMouseOut);return s.createElement(s.Fragment,null,s.createElement(r.InputControl,{...I,intent:null!==(t=P.intent)&&void 0!==t?t:n,onFocus:A,onBlur:Y,onMouseOver:O,onMouseOut:z,containerReference:(0,l.useMergedRefs)([p,P.containerReference]),endSlot:s.createElement(s.Fragment,null,P.icon&&s.createElement(o.EndSlot,{icon:!0},P.icon),m),"aria-required":N,"aria-invalid":R,"aria-describedby":P.ariaIds,"aria-label":x}),P.renderedErrors)}},36565:(e,t,n)=>{"use strict";n.d(t,{TimeInput:()=>A});var s=n(49483),r=n(50959),a=n(97754),o=n.n(a),i=n(50151),l=n(47201),c=n(78274),u=n(31261),h=n(9745),d=n(43832),p=n(95096);function m(e){return r.createElement(h.Icon,{className:d.icon,icon:p})}var g=n(29202),f=n(78634);var v=n(36383),w=n(37160);const D={0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}};function b(e,t,n){const s=[],r=n;let a=0,o=0;const i=e.length,l=r.length;let c=-1,u=0;const h=[],d=i-1,p=[];let m;for(;a<i&&o<l;){const n=e.charAt(a),i=r.charAt(o),l=D[n];l?(i.match(l.pattern)?(s.push(i),l.recursive&&(-1===c?c=a:a===d&&a!==c&&(a=c-1),d===c&&(a-=1)),a+=1):i===m?(u--,m=void 0):l.optional?(a+=1,o-=1):l.fallback?(s.push(l.fallback),a+=1,o-=1):p.push({p:o,v:i,e:l.pattern}),o+=1):(t||s.push(n),i===n?(h.push(o),o+=1):(m=n,h.push(o+u),u++),a+=1)}const g=e.charAt(d);i!==l+1||D[g]||s.push(g);const f=s.join(""),v=function(e,t){const n=0,s={};for(let e=0;e<t.length;e++)s[t[e]+n]=1;return s}(0,h);return[f,v,p]}function y(e,t,n){const s=function(e){let t=!0;for(let n=0;n<e.length;n++){const s=D[e.charAt(n)];if(s&&s.recursive){t=!1;break}}return t?e.length:void 0}(e),[a,o]=b(e,!1,t),[l,c]=(0,r.useState)(a),[u,h]=(0,r.useState)(0),[d,p]=(0,
r.useState)(!1),m=(0,r.useRef)(o),g=(0,r.useRef)(l);return(0,r.useEffect)((()=>{const[n,s]=b(e,!1,t);c(n),f(s)}),[t,e]),(0,r.useLayoutEffect)((()=>{const e=(0,i.ensureNotNull)(n.current);d&&(e.setSelectionRange(u,u),p(!1)),h(C(e))}),[d]),[t,g,{onChange:function(){const t=(0,i.ensureNotNull)(n.current),s=t.value,[r,a]=b(e,!1,s);c(r),g.current=r;const o=f(a),d=function(e,t,n,s,r,a){if(e!==t){const o=t.length,i=e.length;let l=0,c=0,u=0,h=0,d=0;for(d=s;d<o&&r[d];d++)c++;for(d=s-1;d>=0&&r[d];d--)l++;for(d=s-1;d>=0;d--)r[d]&&u++;for(d=n-1;d>=0;d--)a[d]&&h++;if(s>i)s=10*o;else if(n>=s&&n!==i){if(a[s]){const e=s;s-=h-u,r[s-=l]&&(s=e)}}else s>n&&(s+=u-h,s+=c)}return s}(l,r,u,C(t),a,o);h(d),p(!0)},onSelect:function(){const e=(0,i.ensureNotNull)(n.current);h(C(e))},maxLength:s}];function f(e){const t=m.current;return m.current=e,t}}function C(e){return e.selectionStart||0}function E(e){const{value:t,mask:n,onChange:s,...a}=e,o=(0,r.useRef)(null),[i,l,c]=y(n,t,o);return(0,r.useLayoutEffect)((()=>{void 0!==e.reference&&(e.reference.current=o.current)}),[e.reference]),r.createElement(u.InputControl,{...a,maxLength:c.maxLength,value:i,autoComplete:"off",reference:function(e){o.current=e},onChange:function(){c.onChange(),s(l.current)},onSelect:c.onSelect})}var _=n(68335),F=n(20520),M=n(16396),S=n(78071);const k=(()=>{const e=[];for(let t=0;t<24;++t)for(let n=0;n<60;n+=15){const[s,r]=[I(t.toString()),I(n.toString())],a=`${s}:${r}`,o=x(a)?a:T(a);e.push(o)}return e})();function N(e){let t=!1;const n=(0,r.useRef)(null),s=(0,r.useRef)(null),a=(0,r.useRef)(null),l=(0,r.useRef)(null),[u,h]=(0,g.useFocus)(),[d,p]=(0,r.useState)(e.value),f=R(d),D=x(f)?f:T(f),[b,y]=(0,r.useState)(D),C=u||L().some((e=>null!==e&&e.contains(document.activeElement)));(0,r.useLayoutEffect)((()=>p(e.value)),[e.value]),(0,r.useLayoutEffect)((()=>y(D)),[d,C]),(0,r.useEffect)((()=>H(b===D?"auto":"smooth")),[b]);const N=(0,S.lowerbound)(k,D,((e,t)=>e<t));let I=k;k[N]!==D&&(I=[...k],I.splice(N,0,D));const P=(0,v.useOutsideEvent)({mouseDown:!0,touchStart:!0,handler:function(e){null!==s.current&&C&&e.target instanceof Node&&null!==a.current&&!a.current.contains(e.target)&&s.current.blur()}});return r.createElement("div",{className:o()(e.className),onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);if(38===t){e.preventDefault();const t=(I.indexOf(b)+I.length-1)%I.length;y(I[t])}if(40===t){e.preventDefault();const t=(I.indexOf(b)+I.length+1)%I.length;y(I[t])}},onFocus:function(e){z(e)||h.onFocus(e)},onBlur:function(e){z(e)||h.onBlur(e)},ref:P},r.createElement(E,{disabled:e.disabled,name:e.name,endSlot:r.createElement(c.EndSlot,{icon:!0},r.createElement(m,null)),reference:s,containerReference:n,mask:"09:00",value:d,onFocus:function(e){setTimeout(B,0)},onBlur:function(e){z(e)||A(d)},onChange:function(t){p(t),e.onInput&&e.onInput(t)},onKeyDown:function(e){if(e.defaultPrevented)return;const t=(0,_.hashFromEvent)(e.nativeEvent);13===t&&(e.preventDefault(),A(b),(0,i.ensureNotNull)(s.current).blur());27===t&&(e.preventDefault(),(0,
i.ensureNotNull)(s.current).blur())}}),r.createElement(F.PopupMenu,{onOpen:function(){H()},onClose:function(){},position:function(){const e=(0,i.ensureNotNull)(n.current).getBoundingClientRect(),t=window.innerHeight-e.bottom,s=e.top;let r=231,a=e.bottom;if(r>s&&r>t){const n=(0,w.clamp)(r,0,s),o=(0,w.clamp)(r,0,t);r=Math.max(n,o),a=n>o?e.top-n:e.bottom}else r>t&&(a=e.top-r);return{x:e.left,y:a,overrideWidth:e.width,overrideHeight:r}},closeOnClickOutside:!1,isOpened:C,tabIndex:-1,reference:a},I.map((e=>r.createElement(M.PopupMenuItem,{key:e,label:e,isActive:e===D,isHovered:e===b,reference:e===b?Y:void 0,onClick:O,onClickArg:e})))));function A(n){const s=R(n),r=x(s)?s:T(s);p(r),t||(t=!0,e.onChange(r))}function Y(e){l.current=e}function O(e){A((0,i.ensureDefined)(e)),(0,i.ensureNotNull)(a.current).blur()}function z(e){return u&&(null!==V(document.activeElement)||null!==V(e.relatedTarget))}function V(e){return e instanceof Node&&L().find((t=>null!==t&&t.contains(e)))||null}function L(){return[a.current,s.current]}function H(e="auto"){if(null!==l.current){const t=(0,i.ensureNotNull)(a.current).getBoundingClientRect(),n=l.current.getBoundingClientRect();(t.top>n.top||t.bottom<n.bottom)&&l.current.scrollIntoView({behavior:e})}}function B(){const e=s.current;if(null!==e){const t=e.value||"";e.setSelectionRange(0,t.length)}}}function R(e){const[t="",n=""]=e.split(":"),[s,r]=[I(t),P(n)];return`${s}:${r}`}function x(e){return/^(0?[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$/g.test(e)}function T(e){const[t,n]=e.split(":"),[s,r]=[(0,w.clamp)(parseInt(t),0,23),(0,w.clamp)(parseInt(n),0,59)],[a,o]=[I(s.toString()),P(r.toString())];return`${a}:${o}`}function I(e){return e.slice(0,2).padStart(2,"0")}function P(e){return e.slice(0,2).padEnd(2,"0")}const A=s.CheckMobile.any()?function(e){const{onChange:t,onFocus:n,value:s,className:a,...h}=e,d=(0,r.useRef)(null),[p,v]=(0,g.useFocus)(),w=(0,l.createSafeMulticastEventHandler)(v.onBlur,(function(){d.current&&s&&(d.current.defaultValue=s)}));return(0,r.useLayoutEffect)((()=>{d.current&&s&&(d.current.defaultValue=s)}),[]),(0,r.useLayoutEffect)((()=>{d.current&&s&&(d.current.value=s)}),[s]),r.createElement("div",{className:o()(f.wrap,a)},r.createElement(u.InputControl,{...h,type:"text",endSlot:r.createElement(c.EndSlot,{icon:!0},r.createElement(m,null)),value:s,highlight:p,intent:p?"primary":void 0,onFocus:function(e){(0,i.ensureNotNull)(d.current).focus(),n&&n(e)},onChange:function(){}}),r.createElement("input",{...v,disabled:e.disabled,className:f.input,type:"time",onBlur:w,onChange:function(e){const{value:n}=e.currentTarget;t&&n&&t(n)},ref:d}))}:N},95263:(e,t,n)=>{"use strict";n.d(t,{MessagesPosition:()=>_,useControlValidationLayout:()=>I});var s=n(50959),r=n(97754);function a(e,t){(0,s.useEffect)((()=>(t&&t(e),()=>{t&&t(e)})),[])}var o=n(29202),i=n(70412),l=n(78274),c=n(1405),u=n(86431),h=n(962);var d=n(44022),p=n(38223);class m extends s.PureComponent{render(){const{children:e=[],show:t=!1,customErrorClass:n,disableRtlStyles:a,messageIdCallback:o}=this.props,i=r(d.errors,{[d.show]:t
},n),l=e.map(((e,t)=>s.createElement(w,{key:t,messageIdCallback:o},e)));let c={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((0,p.isRtl)()&&!a){const{left:e,right:t}=c;c={...c,left:t,right:e}}return s.createElement("div",{style:c,className:i},l)}}const g=(0,u.makeOverlapable)((f=m,(v=class extends s.PureComponent{constructor(e){super(e),this._getComponentInstance=e=>{this._instance=e},this._throttleCalcProps=()=>{requestAnimationFrame((()=>this.setState(this._calcProps(this.props))))},this.state=this._getStateFromProps()}componentDidMount(){this._instanceElem=h.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this.setState(this._calcProps(this.props))}componentDidUpdate(e){e.children===this.props.children&&e.top===this.props.top&&e.left===this.props.left&&e.width===this.props.width||this.setState(this._getStateFromProps(),(()=>this.setState(this._calcProps(this.props))))}render(){return s.createElement("div",{style:{position:"absolute",width:"100%",top:0,left:0}},s.createElement(f,{...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))}componentWillUnmount(){this._unsubsribe()}_getStateFromProps(){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}}_calcProps(e){if(e.target&&e.attachment&&e.targetAttachment){const t=this._calcTargetProps(e.target,e.attachment,e.targetAttachment);if(null===t)return{};const{width:n,inheritWidthFromTarget:s=!0,inheritMaxWidthFromTarget:r=!1}=this.props,a={width:s?t.width:n,maxWidth:r?t.width:void 0};switch(e.attachment.vertical){case"bottom":case"middle":a.top=t.y;break;default:a[e.attachment.vertical]=t.y}switch(e.attachment.horizontal){case"right":case"center":a.left=t.x;break;default:a[e.attachment.horizontal]=t.x}return a}return{}}_calcTargetProps(e,t,n){const s=e.getBoundingClientRect(),r=this._instanceElem.getBoundingClientRect(),a="parent"===this.props.root?this._getCoordsRelToParentEl(e,s):this._getCoordsRelToDocument(s);if(null===a)return null;const o=this._getDimensions(r),i=this._getDimensions(s).width;let l=0,c=0;switch(t.vertical){case"top":c=a[n.vertical];break;case"bottom":c=a[n.vertical]-o.height;break;case"middle":c=a[n.vertical]-o.height/2}switch(t.horizontal){case"left":l=a[n.horizontal];break;case"right":l=a[n.horizontal]-o.width;break;case"center":l=a[n.horizontal]-o.width/2}
return"number"==typeof this.props.attachmentOffsetY&&(c+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(l+=this.props.attachmentOffsetX),{x:l,y:c,width:i}}_getCoordsRelToDocument(e){const t=pageYOffset,n=pageXOffset,s=e.top+t,r=e.bottom+t,a=e.left+n;return{top:s,bottom:r,left:a,right:e.right+n,middle:(s+e.height)/2,center:a+e.width/2}}_getCoordsRelToParentEl(e,t){const n=e.offsetParent;if(null===n)return null;const s=n.scrollTop,r=n.scrollLeft,a=e.offsetTop+s,o=e.offsetLeft+r,i=t.width+o;return{top:a,bottom:t.height+a,left:o,right:i,middle:(a+t.height)/2,center:(o+t.width)/2}}_getDimensions(e){return{height:e.height,width:e.width}}_subscribe(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))}_unsubsribe(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)}}).displayName="Attachable Component",v));var f,v;function w(e){const{children:t,...n}=e;return s.createElement("div",{...n,className:d.error},t)}function D(e){const{children:t,messageIdCallback:n,...r}=e,o=s.useId();return a(o,n),s.createElement("span",{...r,className:d["visually-hidden"],id:o},t)}var b=n(9745),y=n(16658),C=n(40461);function E(e){const{intent:t="danger"}=e;return s.createElement(b.Icon,{icon:y,className:r(C["error-icon"],C[`intent-${t}`])})}var _,F,M=n(27345);!function(e){e[e.Attached=0]="Attached",e[e.Static=1]="Static",e[e.Hidden=2]="Hidden"}(_||(_={})),function(e){e.Top="top",e.Bottom="bottom"}(F||(F={}));const S={top:{attachment:c.anchors.topRight.attachment,targetAttachment:c.anchors.topRight.targetAttachment,attachmentOffsetY:-4},bottom:{attachment:c.anchors.bottomRight.attachment,targetAttachment:c.anchors.bottomRight.targetAttachment,attachmentOffsetY:4}};function k(e){const{isOpened:t,target:n,errorAttachment:r=F.Top,customErrorsAttachment:a,root:o="parent",inheritWidthFromTarget:i=!1,disableRtlStyles:l,children:c,messageIdCallback:u}=e,{attachment:h,targetAttachment:d,attachmentOffsetY:p}=null!=a?a:S[r];return s.createElement(s.Fragment,null,s.createElement(g,{isOpened:t,target:n,root:o,inheritWidthFromTarget:i,attachment:h,targetAttachment:d,attachmentOffsetY:p,disableRtlStyles:l,messageIdCallback:u,inheritMaxWidthFromTarget:!0,show:!0},c),s.createElement(D,{messageIdCallback:u},c))}function N(e,t){return Boolean(e)&&void 0!==t&&t.length>0}function R(e,t,n){return e===_.Attached&&N(t,n)}function x(e,t,n){return e===_.Static&&N(t,n)}function T(e,t,n){const{hasErrors:s,hasWarnings:r,hasSuccessMessages:a,alwaysShowAttachedErrors:o,iconHidden:i,errors:l,warnings:c,successMessages:u,messagesPosition:h=_.Static}=e,d=R(h,s,l),p=R(h,r,c),m=d&&(t||n||Boolean(o)),g=!m&&p&&(t||n),f=x(h,s,l),v=!f&&x(h,r,c),w=!f&&!v&&x(h,a,u),D=!i&&Boolean(s),b=!i&&!D&&Boolean(r),y=function(e,t,n){return Boolean(n)?"success":Boolean(e)?"danger":Boolean(t)?"warning":void 0}(s,r,a);return{hasAttachedErrorMessages:d,hasAttachedWarningMessages:p,
showAttachedErrorMessages:m,showAttachedWarningMessages:g,showStaticErrorMessages:f,showStaticWarningMessages:v,showStaticSuccessMessages:w,showErrorIcon:D,showWarningIcon:b,intent:y}}function I(e){var t,n,a,c;const{errors:u,warnings:h,successMessages:d,messagesAttachment:p,customErrorsAttachment:m,messagesRoot:g,inheritMessagesWidthFromTarget:f,disableMessagesRtlStyles:v,inputDescription:w}=e,[D,b]=(0,o.useFocus)(),[y,C]=(0,i.useHover)(),_=(0,s.useRef)(null),[F,S]=s.useState(void 0),N=(0,s.useRef)(new Map),R=s.useCallback((e=>{if(!e)return;const t=N.current;t.has(e)?t.delete(e):t.set(e,e),0!==t.size?S(Array.from(t.keys()).join(" ")):S(void 0)}),[S,N.current]),{hasAttachedErrorMessages:x,hasAttachedWarningMessages:I,showAttachedErrorMessages:A,showAttachedWarningMessages:Y,showStaticErrorMessages:O,showStaticWarningMessages:z,showStaticSuccessMessages:V,showErrorIcon:L,showWarningIcon:H,intent:B}=T(e,D,y),$=L||H?s.createElement(E,{intent:L?"danger":"warning"}):void 0,K=x?s.createElement(k,{errorAttachment:p,customErrorsAttachment:m,isOpened:A,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:u,messageIdCallback:R}):void 0,W=I?s.createElement(k,{errorAttachment:p,isOpened:Y,target:_.current,root:g,inheritWidthFromTarget:f,disableRtlStyles:v,children:h,messageIdCallback:R}):void 0,j=O?s.createElement(l.AfterSlot,{className:r(M["static-messages"],M.errors)},null==u?void 0:u.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,J=z?s.createElement(l.AfterSlot,{className:r(M["static-messages"],M.warnings)},null==h?void 0:h.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,q=V?s.createElement(l.AfterSlot,{className:r(M["static-messages"],M["success-mesages"])},null==d?void 0:d.map(((e,t)=>s.createElement(P,{key:t,messageIdCallback:R},e)))):void 0,U=!O&&!z&&!V&&w?s.createElement(l.AfterSlot,{className:r(M["static-messages"],M["input-description"])},s.createElement(P,{messageIdCallback:R},w)):void 0;return{ariaIds:F,icon:$,renderedErrors:null!==(c=null!==(a=null!==(n=null!==(t=null!=K?K:W)&&void 0!==t?t:j)&&void 0!==n?n:J)&&void 0!==a?a:q)&&void 0!==c?c:U,containerReference:_,intent:B,...b,...C}}function P(e){const{children:t,messageIdCallback:n,...r}=e,o=s.useId();return a(o,n),s.createElement("span",{...r,className:M.message,id:o},t)}},16396:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>c,PopupMenuItem:()=>h});var s=n(50959),r=n(97754),a=n(59064),o=n(51768),i=n(90186),l=n(71986);const c=l;function u(e){e.stopPropagation()}function h(e){const{id:t,role:n,"aria-label":c,"aria-selected":h,"aria-checked":d,className:p,title:m,labelRowClassName:g,labelClassName:f,shortcut:v,forceShowShortcuts:w,icon:D,isActive:b,isDisabled:y,isHovered:C,appearAsDisabled:E,label:_,link:F,showToolboxOnHover:M,showToolboxOnFocus:S,target:k,rel:N,toolbox:R,reference:x,onMouseOut:T,onMouseOver:I,onKeyDown:P,suppressToolboxClick:A=!0,theme:Y=l,tabIndex:O,tagName:z,renderComponent:V,roundedIcon:L,iconAriaProps:H}=e,B=(0,i.filterDataProps)(e),$=(0,s.useRef)(null),K=(0,
s.useMemo)((()=>function(e){function t(t){const{reference:n,...r}=t,a=null!=e?e:r.href?"a":"div",o="a"===a?r:function(e){const{download:t,href:n,hrefLang:s,media:r,ping:a,rel:o,target:i,type:l,referrerPolicy:c,...u}=e;return u}(r);return s.createElement(a,{...o,ref:n})}return t.displayName=`DefaultComponent(${e})`,t}(z)),[z]),W=null!=V?V:K;return s.createElement(W,{...B,id:t,role:n,"aria-label":c,"aria-selected":h,"aria-checked":d,className:r(p,Y.item,D&&Y.withIcon,{[Y.isActive]:b,[Y.isDisabled]:y||E,[Y.hovered]:C}),title:m,href:F,target:k,rel:N,reference:function(e){$.current=e,"function"==typeof x&&x(e);"object"==typeof x&&(x.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:s,onClickArg:r,trackEventObject:i}=e;if(y)return;i&&(0,o.trackEvent)(i.category,i.event,i.label);s&&s(r,t);n||(0,a.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:s}=e;n&&s&&(0,o.trackEvent)(n.category,n.event,`${n.label}_rightClick`)},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:s}=e;if(1===t.button&&F&&n){let e=n.label;s&&(e+="_mouseWheelClick"),(0,o.trackEvent)(n.category,n.event,e)}},onMouseOver:I,onMouseOut:T,onKeyDown:P,tabIndex:O},void 0!==D&&s.createElement("span",{"aria-label":H&&H["aria-label"],"aria-hidden":H&&Boolean(H["aria-hidden"]),className:r(Y.icon,L&&l["round-icon"]),dangerouslySetInnerHTML:{__html:D}}),s.createElement("span",{className:r(Y.labelRow,g)},s.createElement("span",{className:r(Y.label,f)},_)),(void 0!==v||w)&&s.createElement("span",{className:Y.shortcut},(j=v)&&j.split("+").join(" + ")),void 0!==R&&s.createElement("span",{onClick:A?u:void 0,className:r(Y.toolbox,{[Y.showOnHover]:M,[Y.showOnFocus]:S})},R));var j}},20520:(e,t,n)=>{"use strict";n.d(t,{PopupMenu:()=>d});var s=n(50959),r=n(962),a=n(62942),o=n(65718),i=n(27317),l=n(29197);const c=s.createContext(void 0);var u=n(36383);const h=s.createContext({setMenuMaxWidth:!1});function d(e){const{controller:t,children:n,isOpened:d,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:g,onClose:f,onKeyboardClose:v,"data-name":w="popup-menu-container",...D}=e,b=(0,s.useContext)(l.CloseDelegateContext),y=s.useContext(h),C=(0,s.useContext)(c),E=(0,u.useOutsideEvent)({handler:function(e){g&&g(e);if(!p)return;const t=(0,a.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const n of t){const t=r.findDOMNode(n);if(t instanceof Node&&t.contains(e.target))return}f()},mouseDown:!0,touchStart:!0});return d?s.createElement(o.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},s.createElement("span",{ref:E,style:{pointerEvents:"auto"}},s.createElement(i.Menu,{...D,onClose:f,onKeyboardClose:v,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:b,customRemeasureDelegate:C,ref:t,"data-name":w,limitMaxWidth:y.setMenuMaxWidth},n))):null}},17140:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M16.47 20.53a.75.75 0 1 0 1.06-1.06l-1.06 1.06zM11 14l-.53-.53c-.3.3-.3.77 0 1.06L11 14zm6.53-5.47a.75.75 0 0 0-1.06-1.06l1.06 1.06zm0 10.94l-6-6-1.06 1.06 6 6 1.06-1.06zm-6-4.94l6-6-1.06-1.06-6 6 1.06 1.06z"/></svg>'},98475:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M10 4h1v2h6V4h1v2h2.5A2.5 2.5 0 0 1 23 8.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 5 19.5v-11A2.5 2.5 0 0 1 7.5 6H10V4zm8 3H7.5C6.67 7 6 7.67 6 8.5v11c0 .83.67 1.5 1.5 1.5h13c.83 0 1.5-.67 1.5-1.5v-11c0-.83-.67-1.5-1.5-1.5H18zm-3 2h-2v2h2V9zm-7 4h2v2H8v-2zm12-4h-2v2h2V9zm-7 4h2v2h-2v-2zm-3 4H8v2h2v-2zm3 0h2v2h-2v-2zm7-4h-2v2h2v-2z"/></svg>'},1401:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path d="M4 0c-.6 0-1 .4-1 1v1H1c-.6 0-1 .4-1 1v12c0 .6.4 1 1 1h14c.6 0 1-.4 1-1V3c0-.6-.4-1-1-1h-2V1c0-.6-.4-1-1-1h-1c-.6 0-1 .4-1 1v1H6V1c0-.6-.4-1-1-1H4zM2 5h12v9H2V5zm5 2v2h2V7H7zm3 0v2h2V7h-2zm-6 3v2h2v-2H4zm3 0v2h2v-2H7zm3 0v2h2v-2h-2z"/></svg>'},16658:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M8 15c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm0 1c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-1-12c0-.552.448-1 1-1s1 .448 1 1v4c0 .552-.448 1-1 1s-1-.448-1-1v-4zm1 7c-.552 0-1 .448-1 1s.448 1 1 1 1-.448 1-1-.448-1-1-1z"/></svg>'},95096:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17"><path fill="currentColor" d="M1 8.5a7.5 7.5 0 1 1 15 0 7.5 7.5 0 0 1-15 0zM8.5 0a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM9 9V3H8v5H5v1h4z"/></svg>'}}]);

View File

@@ -1,13 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4717],{97754:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)&&n.length){var i=o.apply(null,n);i&&e.push(i)}else if("object"===s)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1414:e=>{e.exports={button:"button-D4RPB3ZC",content:"content-D4RPB3ZC","icon-only":"icon-only-D4RPB3ZC",link:"link-D4RPB3ZC","color-brand":"color-brand-D4RPB3ZC","variant-primary":"variant-primary-D4RPB3ZC","variant-secondary":"variant-secondary-D4RPB3ZC","color-gray":"color-gray-D4RPB3ZC","color-green":"color-green-D4RPB3ZC","color-red":"color-red-D4RPB3ZC","color-black":"color-black-D4RPB3ZC","size-xsmall":"size-xsmall-D4RPB3ZC","start-icon-wrap":"start-icon-wrap-D4RPB3ZC","end-icon-wrap":"end-icon-wrap-D4RPB3ZC","with-start-icon":"with-start-icon-D4RPB3ZC","with-end-icon":"with-end-icon-D4RPB3ZC","size-small":"size-small-D4RPB3ZC","size-medium":"size-medium-D4RPB3ZC","size-large":"size-large-D4RPB3ZC","size-xlarge":"size-xlarge-D4RPB3ZC",animated:"animated-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC","adjust-position":"adjust-position-D4RPB3ZC","first-row":"first-row-D4RPB3ZC","first-col":"first-col-D4RPB3ZC","no-corner-top-left":"no-corner-top-left-D4RPB3ZC","no-corner-top-right":"no-corner-top-right-D4RPB3ZC","no-corner-bottom-right":"no-corner-bottom-right-D4RPB3ZC","no-corner-bottom-left":"no-corner-bottom-left-D4RPB3ZC","text-wrap":"text-wrap-D4RPB3ZC","multiline-content":"multiline-content-D4RPB3ZC","secondary-text":"secondary-text-D4RPB3ZC","primary-text":"primary-text-D4RPB3ZC"}},81026:e=>{e.exports={container:"container-WDZ0PRNh","container-xxsmall":"container-xxsmall-WDZ0PRNh","container-xsmall":"container-xsmall-WDZ0PRNh","container-small":"container-small-WDZ0PRNh","container-medium":"container-medium-WDZ0PRNh","container-large":"container-large-WDZ0PRNh","intent-default":"intent-default-WDZ0PRNh",focused:"focused-WDZ0PRNh",readonly:"readonly-WDZ0PRNh",disabled:"disabled-WDZ0PRNh","with-highlight":"with-highlight-WDZ0PRNh",grouped:"grouped-WDZ0PRNh","adjust-position":"adjust-position-WDZ0PRNh","first-row":"first-row-WDZ0PRNh","first-col":"first-col-WDZ0PRNh",stretch:"stretch-WDZ0PRNh","font-size-medium":"font-size-medium-WDZ0PRNh","font-size-large":"font-size-large-WDZ0PRNh","no-corner-top-left":"no-corner-top-left-WDZ0PRNh","no-corner-top-right":"no-corner-top-right-WDZ0PRNh","no-corner-bottom-right":"no-corner-bottom-right-WDZ0PRNh","no-corner-bottom-left":"no-corner-bottom-left-WDZ0PRNh","size-xxsmall":"size-xxsmall-WDZ0PRNh","size-xsmall":"size-xsmall-WDZ0PRNh","size-small":"size-small-WDZ0PRNh","size-medium":"size-medium-WDZ0PRNh","size-large":"size-large-WDZ0PRNh","intent-success":"intent-success-WDZ0PRNh","intent-warning":"intent-warning-WDZ0PRNh",
"intent-danger":"intent-danger-WDZ0PRNh","intent-primary":"intent-primary-WDZ0PRNh","border-none":"border-none-WDZ0PRNh","border-thin":"border-thin-WDZ0PRNh","border-thick":"border-thick-WDZ0PRNh",highlight:"highlight-WDZ0PRNh",shown:"shown-WDZ0PRNh"}},7236:e=>{e.exports={"inner-slot":"inner-slot-W53jtLjw",interactive:"interactive-W53jtLjw",icon:"icon-W53jtLjw","inner-middle-slot":"inner-middle-slot-W53jtLjw","before-slot":"before-slot-W53jtLjw","after-slot":"after-slot-W53jtLjw"}},30930:e=>{e.exports={input:"input-RUSovanF","size-xxsmall":"size-xxsmall-RUSovanF","size-xsmall":"size-xsmall-RUSovanF","size-small":"size-small-RUSovanF","size-medium":"size-medium-RUSovanF","size-large":"size-large-RUSovanF","with-start-slot":"with-start-slot-RUSovanF","with-end-slot":"with-end-slot-RUSovanF"}},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},88803:e=>{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: 430px)"}},20817:e=>{e.exports={autocomplete:"autocomplete-uszkUMOz",caret:"caret-uszkUMOz",icon:"icon-uszkUMOz",suggestions:"suggestions-uszkUMOz",suggestion:"suggestion-uszkUMOz",noResults:"noResults-uszkUMOz",selected:"selected-uszkUMOz",opened:"opened-uszkUMOz"}},34587:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},94720:(e,t,n)=>{"use strict";n.d(t,{Button:()=>_});var r=n(50959),o=n(97754),s=n(95604),i=n(9745),a=n(1414),l=n.n(a);function u(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:i=!1,icon:a,startIcon:u,endIcon:c,iconOnly:d=!1,className:p,isGrouped:h,cellState:f,disablePositionAdjustment:m=!1,primaryText:g,secondaryText:y,isAnchor:v=!1}=e,_=function(e){let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])),2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(f));return o(p,l().button,l()[`size-${n}`],l()[`color-${t}`],l()[`variant-${r}`],i&&l().stretch,(a||u)&&l()["with-start-icon"],c&&l()["with-end-icon"],d&&l()["icon-only"],_,h&&l().grouped,h&&!m&&l()["adjust-position"],h&&f.isTop&&l()["first-row"],h&&f.isLeft&&l()["first-col"],g&&y&&l()["multiline-content"],v&&l().link)}function c(e){const{startIcon:t,icon:n,iconOnly:o,children:s,endIcon:a,primaryText:u,secondaryText:c}=e,d=null!=t?t:n,p=!(t||n||a||o)&&!s&&u&&c;return r.createElement(r.Fragment,null,d&&r.createElement(i.Icon,{icon:d,className:l()["start-icon-wrap"]}),s&&r.createElement("span",{className:l().content},s),a&&!o&&r.createElement(i.Icon,{icon:a,className:l()["end-icon-wrap"]}),p&&function(e){
return e.primaryText&&e.secondaryText&&r.createElement("div",{className:l()["text-wrap"]},r.createElement("span",{className:l()["primary-text"]}," ",e.primaryText," "),"string"==typeof e.secondaryText?r.createElement("span",{className:l()["secondary-text"]}," ",e.secondaryText," "):r.createElement("span",{className:l()["secondary-text"]},r.createElement("span",null,e.secondaryText.firstLine),r.createElement("span",null,e.secondaryText.secondLine)))}(e))}var d=n(86332),p=n(90186);function h(e){const{className:t,color:n,variant:r,size:o,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:u,endIcon:c,primaryText:d,secondaryText:h,...f}=e;return{...f,...(0,p.filterDataProps)(e),...(0,p.filterAriaProps)(e)}}function f(e){const{reference:t,...n}=e,{isGrouped:o,cellState:s,disablePositionAdjustment:i}=(0,r.useContext)(d.ControlGroupContext),a=u({...n,isGrouped:o,cellState:s,disablePositionAdjustment:i});return r.createElement("button",{...h(n),className:a,ref:t},r.createElement(c,{...n}))}function m(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function g(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function y(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function v(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:s,...i}=e;return{...i,color:g(t),size:y(n),variant:m(r),stretch:o,startIcon:s}}function _(e){return r.createElement(f,{...v(e)})}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>r});const r=n(50959).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function r(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>r})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>v,InputClasses:()=>m});var r=n(50959),o=n(97754),s=n(50151),i=n(38528),a=n(90186),l=n(86332),u=n(95604);var c=n(81026),d=n.n(c);function p(e){let t="";return 0!==e&&(1&e&&(t=o(t,d()["no-corner-top-left"])),2&e&&(t=o(t,d()["no-corner-top-right"])),4&e&&(t=o(t,d()["no-corner-bottom-right"])),8&e&&(t=o(t,d()["no-corner-bottom-left"]))),t}function h(e,t,n,r){const{removeRoundBorder:s,className:i,intent:a="default",borderStyle:l="thin",size:c,highlight:h,disabled:f,readonly:m,stretch:g,noReadonlyStyles:y,isFocused:v}=e,_=p(null!=s?s:(0,u.getGroupCellRemoveRoundBorders)(n));return o(d().container,d()[`container-${c}`],d()[`intent-${a}`],d()[`border-${l}`],c&&d()[`size-${c}`],_,h&&d()["with-highlight"],f&&d().disabled,m&&!y&&d().readonly,v&&d().focused,g&&d().stretch,t&&d().grouped,!r&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],i)}function f(e,t,n){const{highlight:r,highlightRemoveRoundBorder:s}=e;if(!r)return d().highlight;const i=p(null!=s?s:(0,u.getGroupCellRemoveRoundBorders)(t));return o(d().highlight,d().shown,d()[`size-${n}`],i)}const m={
FontSizeMedium:(0,s.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(d()["font-size-large"])},g={passive:!1};function y(e,t){const{style:n,id:o,role:s,onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:p,onMouseDown:m,onMouseUp:y,onKeyDown:v,onClick:_,tabIndex:w,startSlot:b,middleSlot:C,endSlot:x,onWheel:R,onWheelNoPassive:E=null,size:S}=e,{isGrouped:D,cellState:P,disablePositionAdjustment:k=!1}=(0,r.useContext)(l.ControlGroupContext),N=function(e,t=null,n){const o=(0,r.useRef)(null),s=(0,r.useRef)(null),i=(0,r.useCallback)((()=>{if(null===o.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&o.current.addEventListener(e,t,n)}),[]),a=(0,r.useCallback)((()=>{if(null===o.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&o.current.removeEventListener(e,t,n)}),[]),l=(0,r.useCallback)((e=>{a(),o.current=e,i()}),[]);return(0,r.useEffect)((()=>(s.current=[e,t,n],i(),a)),[e,t,n]),l}("wheel",E,g);return r.createElement("span",{style:n,id:o,role:s,className:h(e,D,P,k),tabIndex:w,ref:(0,i.useMergedRefs)([t,N]),onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:p,onMouseDown:m,onMouseUp:y,onKeyDown:v,onClick:_,onWheel:R,...(0,a.filterDataProps)(e),...(0,a.filterAriaProps)(e)},b,C,x,r.createElement("span",{className:f(e,P,S)}))}y.displayName="ControlSkeleton";const v=r.forwardRef(y)},78274:(e,t,n)=>{"use strict";n.d(t,{AfterSlot:()=>c,EndSlot:()=>u,MiddleSlot:()=>l,StartSlot:()=>a});var r=n(50959),o=n(97754),s=n(7236),i=n.n(s);function a(e){const{className:t,interactive:n=!0,icon:s=!1,children:a}=e;return r.createElement("span",{className:o(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},a)}function l(e){const{className:t,children:n}=e;return r.createElement("span",{className:o(i()["inner-slot"],i()["inner-middle-slot"],t)},n)}function u(e){const{className:t,interactive:n=!0,icon:s=!1,children:a}=e;return r.createElement("span",{className:o(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},a)}function c(e){const{className:t,children:n}=e;return r.createElement("span",{className:o(i()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>v});var r=n(50959),o=n(97754),s=n(90186),i=n(47201),a=n(48907),l=n(38528),u=n(48027),c=n(29202),d=n(45812),p=n(67029),h=n(78274),f=n(30930),m=n.n(f);function g(e){return!(0,s.isAriaAttribute)(e)&&!(0,s.isDataAttribute)(e)}function y(e){const{id:t,title:n,role:i,tabIndex:a,placeholder:l,name:u,type:c,value:d,defaultValue:f,draggable:y,autoComplete:v,autoFocus:_,maxLength:w,min:b,max:C,step:x,pattern:R,inputMode:E,onSelect:S,onFocus:D,onBlur:P,onKeyDown:k,onKeyUp:N,onKeyPress:O,onChange:z,onDragStart:B,size:I="small",className:L,inputClassName:W,disabled:M,readonly:Z,containerTabIndex:T,startSlot:U,endSlot:A,reference:F,containerReference:j,onContainerFocus:V,...$}=e,q=(0,s.filterProps)($,g),H={...(0,s.filterAriaProps)($),...(0,s.filterDataProps)($),id:t,title:n,role:i,tabIndex:a,placeholder:l,name:u,type:c,value:d,defaultValue:f,draggable:y,autoComplete:v,autoFocus:_,maxLength:w,min:b,max:C,step:x,pattern:R,inputMode:E,
onSelect:S,onFocus:D,onBlur:P,onKeyDown:k,onKeyUp:N,onKeyPress:O,onChange:z,onDragStart:B};return r.createElement(p.ControlSkeleton,{...q,disabled:M,readonly:Z,tabIndex:T,className:o(m().container,L),size:I,ref:j,onFocus:V,startSlot:U,middleSlot:r.createElement(h.MiddleSlot,null,r.createElement("input",{...H,className:o(m().input,m()[`size-${I}`],W,U&&m()["with-start-slot"],A&&m()["with-end-slot"]),disabled:M,readOnly:Z,ref:F})),endSlot:A})}function v(e){e=(0,u.useControl)(e);const{disabled:t,autoSelectOnFocus:n,tabIndex:o=0,onFocus:s,onBlur:p,reference:h,containerReference:f=null}=e,m=(0,r.useRef)(null),g=(0,r.useRef)(null),[v,_]=(0,c.useFocus)(),w=t?void 0:v?-1:o,b=t?void 0:v?o:-1,{isMouseDown:C,handleMouseDown:x,handleMouseUp:R}=(0,d.useIsMouseDown)(),E=(0,i.createSafeMulticastEventHandler)(_.onFocus,(function(e){n&&!C.current&&(0,a.selectAllContent)(e.currentTarget)}),s),S=(0,i.createSafeMulticastEventHandler)(_.onBlur,p),D=(0,r.useCallback)((e=>{m.current=e,h&&("function"==typeof h&&h(e),"object"==typeof h&&(h.current=e))}),[m,h]);return r.createElement(y,{...e,isFocused:v,containerTabIndex:w,tabIndex:b,onContainerFocus:function(e){g.current===e.target&&null!==m.current&&m.current.focus()},onFocus:E,onBlur:S,reference:D,containerReference:(0,l.useMergedRefs)([g,f]),onMouseDown:x,onMouseUp:R})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>s});var r=n(47201),o=n(29202);function s(e){const{onFocus:t,onBlur:n,intent:s,highlight:i,disabled:a}=e,[l,u]=(0,o.useFocus)(void 0,a),c=(0,r.createSafeMulticastEventHandler)(a?void 0:u.onFocus,t),d=(0,r.createSafeMulticastEventHandler)(a?void 0:u.onBlur,n);return{...e,intent:s||(l?"primary":"default"),highlight:null!=i?i:l,onFocus:c,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>o});var r=n(50959);function o(e,t){const[n,o]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&n&&o(!1)}),[t,n]);const s={onFocus:(0,r.useCallback)((function(t){void 0!==e&&e.current!==t.target||o(!0)}),[e]),onBlur:(0,r.useCallback)((function(t){void 0!==e&&e.current!==t.target||o(!1)}),[e])};return[n,s]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>o});var r=n(50959);function o(){const e=(0,r.useRef)(!1),t=(0,r.useCallback)((()=>{e.current=!0}),[e]),n=(0,r.useCallback)((()=>{e.current=!1}),[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},38528:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>s});var r=n(50959),o=n(53017);function s(e){return(0,r.useCallback)((0,o.mergeRefs)(e),e)}},27267:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function s(o){if(e>o.timeStamp)return;const s=o.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===r&&(t.contains(s)||n(o))}return o.click&&r.addEventListener("click",s,!1),o.mouseDown&&r.addEventListener("mousedown",s,!1),o.touchEnd&&r.addEventListener("touchend",s,!1),o.touchStart&&r.addEventListener("touchstart",s,!1),()=>{r.removeEventListener("click",s,!1),r.removeEventListener("mousedown",s,!1),r.removeEventListener("touchend",s,!1),r.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>r})},
36383:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var r=n(50959),o=n(27267);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:i,handler:a,reference:l,ownerDocument:u=document}=e,c=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:i},r=l?l.current:c.current;return(0,o.addOutsideEventListener)(d.current,r,a,u,e)}),[t,n,s,i,a]),l||c}},9745:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>o});var r=n(50959);const o=r.forwardRef(((e,t)=>{const{icon:n="",...o}=e;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})}))},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>u});var r,o=n(50959),s=n(97754),i=n(74991),a=n(25650),l=n.n(a);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class u extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,i=s(l().item,l()[t],l()[n]);return o.createElement("span",{className:s(l().loader,r&&l().static,this._getStateClass(),e)},o.createElement("span",{className:i}),o.createElement("span",{className:i}),o.createElement("span",{className:i}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*i.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return l()["loader-initial"];case r.Appear:return l()["loader-appear"];default:return""}}}},90186:(e,t,n)=>{"use strict";function r(e){return s(e,i)}function o(e){return s(e,a)}function s(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function i(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterAriaProps:()=>o,filterDataProps:()=>r,filterProps:()=>s,isAriaAttribute:()=>a,isDataAttribute:()=>i})},48907:(e,t,n)=>{"use strict";function r(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>r})},53017:(e,t,n)=>{"use strict";function r(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function o(e){return r([e])}n.d(t,{isomorphicRef:()=>o,mergeRefs:()=>r})},67961:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>a});var r=n(50151);class o{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class s{constructor(e=document){this._storage=new o,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{
e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const r=this._document.createElement("div");if(r.style.position=t.position,r.style.zIndex=this._index.toString(),r.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(r);else if(t.index<=0)this._container.insertBefore(r,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(r,e)}}else"reverse"===t.direction?this._container.insertBefore(r,this._container.firstChild):this._container.appendChild(r);return this._windows.set(e,r),++this._index,r}unregisterWindow(e){this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const i=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,r.ensureDefined)(i.get(t));{const t=new s(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},47201:(e,t,n)=>{"use strict";function r(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>r})},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=o-i}return e}})();function o(e,t,n){null!==e&&e.style.setProperty(t,n)}function s(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function i(e,t){return parseInt(s(e,t))}let a=0,l=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++a){const e=s(t,"overflow"),a=i(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(o(n,"right",`${r()}px`),t.style.paddingRight=`${a+r()}px`,l=!0),t.classList.add("i-no-scroll")}else if(!e&&a>0&&0==--a&&(t.classList.remove("i-no-scroll"),l)){o(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=r()),t.style.paddingRight=(e<0?0:e)+"px",l=!1}}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(88803);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],
TabletNormal:r["tablet-normal-breakpoint"]}},21788:(e,t,n)=>{"use strict";n.d(t,{Autocomplete:()=>f});var r,o=n(44352),s=n(50959),i=n(97754),a=n(10381),l=n(78274),u=n(31261),c=n(76594);!function(e){e[e.Enter=13]="Enter",e[e.Space=32]="Space",e[e.Backspace=8]="Backspace",e[e.DownArrow=40]="DownArrow",e[e.UpArrow=38]="UpArrow",e[e.RightArrow=39]="RightArrow",e[e.LeftArrow=37]="LeftArrow",e[e.Escape=27]="Escape",e[e.Tab=9]="Tab"}(r||(r={}));var d=n(65718),p=n(20817);function h(e,t){return""===e||-1!==t.toLowerCase().indexOf(e.toLowerCase())}class f extends s.PureComponent{constructor(e){if(super(e),this._containerInputElement=null,this._raf=null,this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleMeasure=()=>{if(this.state.isMeasureValid||!this.props.suggestionsInPortal||!this._containerInputElement)return;const{bottom:e,left:t,width:n}=this._containerInputElement.getBoundingClientRect();this.setState({appearingWidth:n,appearingPosition:{x:t,y:e},isMeasureValid:!0})},this._setInputRef=e=>{e&&(this._inputElement=e,this.props.setupHTMLInput&&this.props.setupHTMLInput(e),this._inputElement.addEventListener("keyup",this._handleKeyUpEnter))},this._setContainerInputRef=e=>{this._containerInputElement=e},this._handleCaretClick=()=>{this.state.isOpened?this.props.preventOnFocusOpen&&this._focus():this.props.preventOnFocusOpen?this._open():this._focus()},this._handleOutsideClick=()=>{const{allowUserDefinedValues:e,value:t,onChange:n}=this.props,{queryValue:r}=this.state;e?n&&r!==t&&n(r):this.setState(this._valueToQuery(t)),this._close()},this._handleFocus=e=>{this.props.preventOnFocusOpen||this._open(),this.props.onFocus&&this.props.onFocus(e)},this._handleChange=e=>{const{preventSearchOnEmptyQuery:t,allowUserDefinedValues:n,onChange:r,onSuggestionsOpen:o,onSuggestionsClose:s}=this.props,i=e.currentTarget.value;if(t&&""===i)this.setState({queryValue:i,isOpened:!1,active:void 0}),s&&s();else{const e=this._suggestions(i),t=Object.keys(e).length>0;this.setState({queryValue:i,isOpened:t,active:n?void 0:this._getActiveKeyByValue(i)}),t&&o&&o()}n&&r&&r(i)},this._handleItemClick=e=>{const t=e.currentTarget.id;this.setState({queryValue:m(this.props.source)[t]}),this.props.onChange&&this.props.onChange(t),this._close()},this._handleKeyDown=e=>{if(-1===[r.DownArrow,r.UpArrow,r.Enter,r.Escape].indexOf(e.which))return;const{allowUserDefinedValues:t,value:n,onChange:o,onSuggestionsOpen:s}=this.props,{active:i,isOpened:a,queryValue:l}=this.state;a&&(e.preventDefault(),e.stopPropagation());const u=this._suggestions(l);switch(e.which){case r.DownArrow:case r.UpArrow:const c=Object.keys(u);if(!a&&c.length&&e.which===r.DownArrow){this.setState({isOpened:!0,active:c[0]}),s&&s();break}let d;if(void 0===i){if(e.which===r.UpArrow){this._close();break}d=0}else d=c.indexOf(i)+(e.which===r.UpArrow?-1:1);d<0&&(d=0),d>c.length-1&&(d=c.length-1);const p=c[d];this.setState({active:p});const h=document.getElementById(p)
;h&&this._scrollIfNotVisible(h,this._suggestionsElement);break;case r.Escape:this._close(),a||this._blur();break;case r.Enter:let f=i;t&&(a&&f?this.setState(this._valueToQuery(f)):f=l),void 0!==f&&(this._close(),a||this._blur(),f!==n?o&&o(f):this.setState(this._valueToQuery(f)))}},this._setSuggestionsRef=e=>{e&&(this._suggestionsElement=e)},this._scrollIfNotVisible=(e,t)=>{const n=t.scrollTop,r=t.scrollTop+t.clientHeight,o=e.offsetTop,s=o+e.clientHeight;o<=n?e.scrollIntoView(!0):s>=r&&e.scrollIntoView(!1)},!(e=>Array.isArray(e.source)||!e.allowUserDefinedValues)(e))throw new Error("allowUserDefinedProps === true cay only be used if source is array");this.state={valueFromProps:e.value,isOpened:!1,active:e.value,queryValue:m(e.source)[e.value]||(e.allowUserDefinedValues?e.value:"")}}componentDidMount(){this.props.suggestionsInPortal&&window.addEventListener("resize",this._resize)}componentDidUpdate(){this.state.isOpened&&this._handleMeasure()}componentWillUnmount(){this._inputElement&&this._inputElement.removeEventListener("keyup",this._handleKeyUpEnter),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),window.removeEventListener("resize",this._resize)}render(){return s.createElement(c.OutsideEvent,{handler:this._handleOutsideClick,click:!0},(e=>s.createElement("div",{className:i(p.autocomplete,"js-dialog-skip-escape"),ref:e},s.createElement(u.InputControl,{id:this.props.id,name:this.props.name,endSlot:Object.keys(this._suggestions(this.state.queryValue)).length?s.createElement(l.EndSlot,null,s.createElement("span",{className:p.caret,onClick:this._handleCaretClick},s.createElement(a.ToolWidgetCaret,{className:p.icon,dropped:this.state.isOpened}))):void 0,maxLength:this.props.maxLength,reference:this._setInputRef,containerReference:this._setContainerInputRef,stretch:!0,placeholder:this.props.placeholder,value:this.state.queryValue,intent:this.props.error?"danger":void 0,onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this.props.onBlur,onMouseOver:this.props.onMouseOver,onMouseOut:this.props.onMouseOut,onKeyDown:this._handleKeyDown,autoComplete:"off",size:this.props.size}),this._renderSuggestions())))}static getDerivedStateFromProps(e,t){const{allowUserDefinedValues:n,value:r,source:o}=e;if(r===t.valueFromProps&&t.isOpened)return null;const s=n?r:""===r?"":m(o)[r]||t.queryValue;return{...t,valueFromProps:r,active:r,queryValue:s}}_renderSuggestions(){return this.props.suggestionsInPortal?this.state.isOpened?this._renderPortalSuggestions():null:this._renderSuggestionsItems()}_renderPortalSuggestions(){return s.createElement(d.Portal,null,this._renderSuggestionsItems())}_focus(){this._inputElement.focus()}_blur(){this._inputElement.blur()}_open(){const{onSuggestionsOpen:e}=this.props;this._focus(),this.setState({isOpened:!0,active:this.props.value}),e&&e()}_close(){const{onSuggestionsClose:e}=this.props;this.setState({isOpened:!1,active:void 0}),e&&e()}_suggestions(e){const{filter:t=h}=this.props,n=m(this.props.source),r={};return Object.keys(n).filter((r=>t(e,n[r]))).forEach((e=>r[e]=n[e])),r}
_renderSuggestionsItems(){const e=this._suggestions(this.state.queryValue),t=Object.keys(e).map((t=>{const n=i(p.suggestion,this.state.active===t&&p.selected);return s.createElement("li",{id:t,key:t,className:n,onClick:this._handleItemClick},e[t])})),r=s.createElement("li",{className:p.noResults},o.t(null,void 0,n(56614)));if(!t.length&&this.props.noEmptyText)return null;const{appearingPosition:a,appearingWidth:l}=this.state;return s.createElement("ul",{className:i(p.suggestions,this.state.isOpened&&p.opened),ref:this._setSuggestionsRef,style:{left:a&&a.x,top:a&&a.y,width:l&&l}},t.length?t:r)}_handleKeyUpEnter(e){e.which===r.Enter&&e.stopImmediatePropagation()}_getActiveKeyByValue(e){const{filter:t=h}=this.props,n=this._suggestions(e),r=Object.keys(n);for(const o of r)if(t(e,n[o]))return o;return r[0]}_valueToQuery(e){return{queryValue:m(this.props.source)[e]||""}}}function m(e){let t={};return Array.isArray(e)?e.forEach((e=>{t[e]=e})):t=e,t}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>o});var r=n(50959);class o extends r.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>l,PortalContext:()=>u});var r=n(50959),o=n(962),s=n(36174),i=n(67961),a=n(50655);class l extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",o.createPortal(r.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}l.contextType=a.SlotContext;const u=r.createContext(null)},50655:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o,SlotContext:()=>s});var r=n(50959);class o extends r.Component{shouldComponentUpdate(){return!1}render(){return r.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=r.createContext(null)},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>l});var r=n(50959),o=n(97754),s=n(9745),i=n(34587),a=n(578);function l(e){const{dropped:t,className:n}=e;return r.createElement(s.Icon,{className:o(n,i.icon,{[i.dropped]:t}),icon:a})}},95257:(e,t)=>{"use strict"
;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function v(){}function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}y.prototype.isReactComponent={},y.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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=_.prototype=new v;w.constructor=_,m(w,y.prototype),w.isPureReactComponent=!0;var b=Array.isArray,C=Object.prototype.hasOwnProperty,x={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,s={},i=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,o)&&!R.hasOwnProperty(o)&&(s[o]=t[o]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];s.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===s[o]&&(s[o]=l[o]);return{$$typeof:n,type:e,key:i,ref:a,props:s,_owner:x.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var D=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,o,s,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===s?"."+P(l,0):s,b(i)?(o="",null!=e&&(o=e.replace(D,"$&/")+"/"),k(i,t,o,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(D,"$&/")+"/")+e)),t.push(i)),1;if(l=0,s=""===s?".":s+":",b(e))for(var u=0;u<e.length;u++){var c=s+P(a=e[u],u);l+=k(a,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(a=e.next()).done;)l+=k(a=a.value,t,o,c=s+P(a,u++),i);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")
;return l}function N(e,t,n){if(null==e)return e;var r=[],o=0;return k(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var z={current:null},B={transition:null},I={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:B,ReactCurrentOwner:x};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=_,t.StrictMode=s,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),s=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=x.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)C.call(t,u)&&!R.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:s,ref:i,props:o,_owner:a}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=B.transition;B.transition={};try{e()}finally{B.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return z.current.useCallback(e,t)},t.useContext=function(e){return z.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return z.current.useDeferredValue(e)},t.useEffect=function(e,t){return z.current.useEffect(e,t)},t.useId=function(){return z.current.useId()},t.useImperativeHandle=function(e,t,n){return z.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return z.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return z.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return z.current.useMemo(e,t)},t.useReducer=function(e,t,n){return z.current.useReducer(e,t,n)},t.useRef=function(e){
return z.current.useRef(e)},t.useState=function(e){return z.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return z.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return z.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},7720:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="currentColor"><path d="m.58 1.42.82-.82 15 15-.82.82z"/><path d="m.58 15.58 15-15 .82.82-15 15z"/></svg>'},20036:e=>{e.exports={ar:["إلغاء"],ca_ES:["Cancel·la"],cs:["Zrušit"],de:["Abbrechen"],el:["Άκυρο"],en:"Cancel",es:["Cancelar"],fa:["لغو"],fr:["Annuler"],he_IL:["ביטול"],hu_HU:["Törlés"],id_ID:["Batal"],it:["Annulla"],ja:["キャンセル"],ko:["취소"],ms_MY:["Batal"],nl_NL:["Annuleren"],pl:["Anuluj"],pt:["Cancelar"],ro:"Cancel",ru:["Отмена"],sv:["Avbryt"],th:["ยกเลิก"],tr:["İptal"],vi:["Hủy bỏ"],zh:["取消"],zh_TW:["取消"]}},68988:e=>{e.exports={ar:["موافق"],ca_ES:["Acceptar"],cs:"Ok",de:"Ok",el:"Ok",en:"Ok",es:["Aceptar"],fa:"Ok",fr:["D'accord"],he_IL:["אוקיי"],hu_HU:["Oké"],id_ID:"Ok",it:"Ok",ja:["OK"],ko:["확인"],ms_MY:"Ok",nl_NL:"Ok",pl:"Ok",pt:"Ok",ro:"Ok",ru:["Ок"],sv:["OK"],th:["ตกลง"],tr:["Tamam"],vi:"Ok",zh:["确认"],zh_TW:["確認"]}},56614:e=>{e.exports={ar:["لا توجد نتائج"],ca_ES:["No s'han trobat resultats"],cs:"No results found",de:["Keine Ergebnisse"],el:"No results found",en:"No results found",es:["No se han encontrado resultados"],fa:"No results found",fr:["Pas de résultat trouvé"],he_IL:["לא נמצאו תוצאות"],hu_HU:"No results found",id_ID:["Hasil tidak ditemukan"],it:["Nessun risultato trovato"],ja:["該当なし"],ko:["결과를 찾을 수 없습니다"],ms_MY:["Tiada keputusan dijumpai"],nl_NL:"No results found",pl:["Brak wyników przeszukiwania"],pt:["Nenhum resultado encontrado"],ro:"No results found",ru:["Не найдено результатов"],sv:["Inga resultat hittades"],th:["ไม่พบข้อมูลใดๆ"],tr:["Hiç sonuç bulunamadı"],vi:["Không tìm thấy kết quả"],zh:["未搜寻结果"],zh_TW:["未找到結果"]}},85520:e=>{e.exports={ar:["حفظ"],ca_ES:["Desa"],cs:["Uložit"],de:["Speichern"],el:["Αποθήκευση"],en:"Save",es:["Guardar"],fa:["ذخیره"],fr:["Sauvegarder"],he_IL:["שמור"],hu_HU:["Mentés"],id_ID:["Simpan"],it:["Salva"],ja:["保存"],ko:["저장"],ms_MY:["Simpan"],nl_NL:["Opslaan"],pl:["Zapisz"],pt:["Salvar"],ro:"Save",ru:["Сохранить"],sv:["Spara"],th:["บันทึก"],tr:["Kaydet"],vi:["Lưu"],zh:["保存"],zh_TW:["儲存"]}}}]);

View File

@@ -0,0 +1,13 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4717],{1414:e=>{e.exports={button:"button-D4RPB3ZC",content:"content-D4RPB3ZC","icon-only":"icon-only-D4RPB3ZC",link:"link-D4RPB3ZC","color-brand":"color-brand-D4RPB3ZC","variant-primary":"variant-primary-D4RPB3ZC","variant-secondary":"variant-secondary-D4RPB3ZC","color-gray":"color-gray-D4RPB3ZC","color-green":"color-green-D4RPB3ZC","color-red":"color-red-D4RPB3ZC","color-black":"color-black-D4RPB3ZC","size-xsmall":"size-xsmall-D4RPB3ZC","start-icon-wrap":"start-icon-wrap-D4RPB3ZC","end-icon-wrap":"end-icon-wrap-D4RPB3ZC","with-start-icon":"with-start-icon-D4RPB3ZC","with-end-icon":"with-end-icon-D4RPB3ZC","size-small":"size-small-D4RPB3ZC","size-medium":"size-medium-D4RPB3ZC","size-large":"size-large-D4RPB3ZC","size-xlarge":"size-xlarge-D4RPB3ZC",animated:"animated-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC","adjust-position":"adjust-position-D4RPB3ZC","first-row":"first-row-D4RPB3ZC","first-col":"first-col-D4RPB3ZC","no-corner-top-left":"no-corner-top-left-D4RPB3ZC","no-corner-top-right":"no-corner-top-right-D4RPB3ZC","no-corner-bottom-right":"no-corner-bottom-right-D4RPB3ZC","no-corner-bottom-left":"no-corner-bottom-left-D4RPB3ZC","text-wrap":"text-wrap-D4RPB3ZC","multiline-content":"multiline-content-D4RPB3ZC","secondary-text":"secondary-text-D4RPB3ZC","primary-text":"primary-text-D4RPB3ZC"}},81026:e=>{e.exports={container:"container-WDZ0PRNh","container-xxsmall":"container-xxsmall-WDZ0PRNh","container-xsmall":"container-xsmall-WDZ0PRNh","container-small":"container-small-WDZ0PRNh","container-medium":"container-medium-WDZ0PRNh","container-large":"container-large-WDZ0PRNh","intent-default":"intent-default-WDZ0PRNh",focused:"focused-WDZ0PRNh",readonly:"readonly-WDZ0PRNh",disabled:"disabled-WDZ0PRNh","with-highlight":"with-highlight-WDZ0PRNh",grouped:"grouped-WDZ0PRNh","adjust-position":"adjust-position-WDZ0PRNh","first-row":"first-row-WDZ0PRNh","first-col":"first-col-WDZ0PRNh",stretch:"stretch-WDZ0PRNh","font-size-medium":"font-size-medium-WDZ0PRNh","font-size-large":"font-size-large-WDZ0PRNh","no-corner-top-left":"no-corner-top-left-WDZ0PRNh","no-corner-top-right":"no-corner-top-right-WDZ0PRNh","no-corner-bottom-right":"no-corner-bottom-right-WDZ0PRNh","no-corner-bottom-left":"no-corner-bottom-left-WDZ0PRNh","size-xxsmall":"size-xxsmall-WDZ0PRNh","size-xsmall":"size-xsmall-WDZ0PRNh","size-small":"size-small-WDZ0PRNh","size-medium":"size-medium-WDZ0PRNh","size-large":"size-large-WDZ0PRNh","intent-success":"intent-success-WDZ0PRNh","intent-warning":"intent-warning-WDZ0PRNh","intent-danger":"intent-danger-WDZ0PRNh","intent-primary":"intent-primary-WDZ0PRNh","border-none":"border-none-WDZ0PRNh","border-thin":"border-thin-WDZ0PRNh","border-thick":"border-thick-WDZ0PRNh",highlight:"highlight-WDZ0PRNh",shown:"shown-WDZ0PRNh"}},7236:e=>{e.exports={"inner-slot":"inner-slot-W53jtLjw",interactive:"interactive-W53jtLjw",icon:"icon-W53jtLjw","inner-middle-slot":"inner-middle-slot-W53jtLjw","before-slot":"before-slot-W53jtLjw",
"after-slot":"after-slot-W53jtLjw"}},30930:e=>{e.exports={input:"input-RUSovanF","size-xxsmall":"size-xxsmall-RUSovanF","size-xsmall":"size-xsmall-RUSovanF","size-small":"size-small-RUSovanF","size-medium":"size-medium-RUSovanF","size-large":"size-large-RUSovanF","with-start-slot":"with-start-slot-RUSovanF","with-end-slot":"with-end-slot-RUSovanF"}},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},88803:e=>{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: 430px)"}},20817:e=>{e.exports={autocomplete:"autocomplete-uszkUMOz",caret:"caret-uszkUMOz",icon:"icon-uszkUMOz",suggestions:"suggestions-uszkUMOz",suggestion:"suggestion-uszkUMOz",noResults:"noResults-uszkUMOz",selected:"selected-uszkUMOz",opened:"opened-uszkUMOz"}},34587:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},94720:(e,t,n)=>{"use strict";n.d(t,{Button:()=>_});var r=n(50959),o=n(97754),s=n(95604),i=n(9745),a=n(1414),l=n.n(a);function u(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:i=!1,icon:a,startIcon:u,endIcon:c,iconOnly:d=!1,className:h,isGrouped:p,cellState:f,disablePositionAdjustment:m=!1,primaryText:g,secondaryText:y,isAnchor:v=!1}=e,_=function(e){let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])),2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,s.getGroupCellRemoveRoundBorders)(f));return o(h,l().button,l()[`size-${n}`],l()[`color-${t}`],l()[`variant-${r}`],i&&l().stretch,(a||u)&&l()["with-start-icon"],c&&l()["with-end-icon"],d&&l()["icon-only"],_,p&&l().grouped,p&&!m&&l()["adjust-position"],p&&f.isTop&&l()["first-row"],p&&f.isLeft&&l()["first-col"],g&&y&&l()["multiline-content"],v&&l().link)}function c(e){const{startIcon:t,icon:n,iconOnly:o,children:s,endIcon:a,primaryText:u,secondaryText:c}=e,d=null!=t?t:n,h=!(t||n||a||o)&&!s&&u&&c;return r.createElement(r.Fragment,null,d&&r.createElement(i.Icon,{icon:d,className:l()["start-icon-wrap"]}),s&&r.createElement("span",{className:l().content},s),a&&!o&&r.createElement(i.Icon,{icon:a,className:l()["end-icon-wrap"]}),h&&function(e){return e.primaryText&&e.secondaryText&&r.createElement("div",{className:l()["text-wrap"]},r.createElement("span",{className:l()["primary-text"]}," ",e.primaryText," "),"string"==typeof e.secondaryText?r.createElement("span",{className:l()["secondary-text"]}," ",e.secondaryText," "):r.createElement("span",{className:l()["secondary-text"]},r.createElement("span",null,e.secondaryText.firstLine),r.createElement("span",null,e.secondaryText.secondLine)))}(e))}var d=n(86332),h=n(90186);function p(e){
const{className:t,color:n,variant:r,size:o,stretch:s,animated:i,icon:a,iconOnly:l,startIcon:u,endIcon:c,primaryText:d,secondaryText:p,...f}=e;return{...f,...(0,h.filterDataProps)(e),...(0,h.filterAriaProps)(e)}}function f(e){const{reference:t,...n}=e,{isGrouped:o,cellState:s,disablePositionAdjustment:i}=(0,r.useContext)(d.ControlGroupContext),a=u({...n,isGrouped:o,cellState:s,disablePositionAdjustment:i});return r.createElement("button",{...p(n),className:a,ref:t},r.createElement(c,{...n}))}function m(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function g(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function y(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}function v(e){const{intent:t,size:n,appearance:r,useFullWidth:o,icon:s,...i}=e;return{...i,color:g(t),size:y(n),variant:m(r),stretch:o,startIcon:s}}function _(e){return r.createElement(f,{...v(e)})}},86332:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>r});const r=n(50959).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,n)=>{"use strict";function r(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>r})},67029:(e,t,n)=>{"use strict";n.d(t,{ControlSkeleton:()=>v,InputClasses:()=>m});var r=n(50959),o=n(97754),s=n(50151),i=n(38528),a=n(90186),l=n(86332),u=n(95604);var c=n(81026),d=n.n(c);function h(e){let t="";return 0!==e&&(1&e&&(t=o(t,d()["no-corner-top-left"])),2&e&&(t=o(t,d()["no-corner-top-right"])),4&e&&(t=o(t,d()["no-corner-bottom-right"])),8&e&&(t=o(t,d()["no-corner-bottom-left"]))),t}function p(e,t,n,r){const{removeRoundBorder:s,className:i,intent:a="default",borderStyle:l="thin",size:c,highlight:p,disabled:f,readonly:m,stretch:g,noReadonlyStyles:y,isFocused:v}=e,_=h(null!=s?s:(0,u.getGroupCellRemoveRoundBorders)(n));return o(d().container,d()[`container-${c}`],d()[`intent-${a}`],d()[`border-${l}`],c&&d()[`size-${c}`],_,p&&d()["with-highlight"],f&&d().disabled,m&&!y&&d().readonly,v&&d().focused,g&&d().stretch,t&&d().grouped,!r&&d()["adjust-position"],n.isTop&&d()["first-row"],n.isLeft&&d()["first-col"],i)}function f(e,t,n){const{highlight:r,highlightRemoveRoundBorder:s}=e;if(!r)return d().highlight;const i=h(null!=s?s:(0,u.getGroupCellRemoveRoundBorders)(t));return o(d().highlight,d().shown,d()[`size-${n}`],i)}const m={FontSizeMedium:(0,s.ensureDefined)(d()["font-size-medium"]),FontSizeLarge:(0,s.ensureDefined)(d()["font-size-large"])},g={passive:!1};function y(e,t){const{style:n,id:o,role:s,onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:h,onMouseDown:m,onMouseUp:y,onKeyDown:v,onClick:_,tabIndex:w,startSlot:b,middleSlot:C,endSlot:x,onWheel:R,onWheelNoPassive:E=null,size:S}=e,{isGrouped:D,cellState:P,disablePositionAdjustment:k=!1}=(0,r.useContext)(l.ControlGroupContext),N=function(e,t=null,n){const o=(0,r.useRef)(null),s=(0,
r.useRef)(null),i=(0,r.useCallback)((()=>{if(null===o.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&o.current.addEventListener(e,t,n)}),[]),a=(0,r.useCallback)((()=>{if(null===o.current||null===s.current)return;const[e,t,n]=s.current;null!==t&&o.current.removeEventListener(e,t,n)}),[]),l=(0,r.useCallback)((e=>{a(),o.current=e,i()}),[]);return(0,r.useEffect)((()=>(s.current=[e,t,n],i(),a)),[e,t,n]),l}("wheel",E,g);return r.createElement("span",{style:n,id:o,role:s,className:p(e,D,P,k),tabIndex:w,ref:(0,i.useMergedRefs)([t,N]),onFocus:u,onBlur:c,onMouseOver:d,onMouseOut:h,onMouseDown:m,onMouseUp:y,onKeyDown:v,onClick:_,onWheel:R,...(0,a.filterDataProps)(e),...(0,a.filterAriaProps)(e)},b,C,x,r.createElement("span",{className:f(e,P,S)}))}y.displayName="ControlSkeleton";const v=r.forwardRef(y)},78274:(e,t,n)=>{"use strict";n.d(t,{AfterSlot:()=>c,EndSlot:()=>u,MiddleSlot:()=>l,StartSlot:()=>a});var r=n(50959),o=n(97754),s=n(7236),i=n.n(s);function a(e){const{className:t,interactive:n=!0,icon:s=!1,children:a}=e;return r.createElement("span",{className:o(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},a)}function l(e){const{className:t,children:n}=e;return r.createElement("span",{className:o(i()["inner-slot"],i()["inner-middle-slot"],t)},n)}function u(e){const{className:t,interactive:n=!0,icon:s=!1,children:a}=e;return r.createElement("span",{className:o(i()["inner-slot"],n&&i().interactive,s&&i().icon,t)},a)}function c(e){const{className:t,children:n}=e;return r.createElement("span",{className:o(i()["after-slot"],t)},n)}},31261:(e,t,n)=>{"use strict";n.d(t,{InputControl:()=>v});var r=n(50959),o=n(97754),s=n(90186),i=n(47201),a=n(48907),l=n(38528),u=n(48027),c=n(29202),d=n(45812),h=n(67029),p=n(78274),f=n(30930),m=n.n(f);function g(e){return!(0,s.isAriaAttribute)(e)&&!(0,s.isDataAttribute)(e)}function y(e){const{id:t,title:n,role:i,tabIndex:a,placeholder:l,name:u,type:c,value:d,defaultValue:f,draggable:y,autoComplete:v,autoFocus:_,maxLength:w,min:b,max:C,step:x,pattern:R,inputMode:E,onSelect:S,onFocus:D,onBlur:P,onKeyDown:k,onKeyUp:N,onKeyPress:O,onChange:z,onDragStart:B,size:I="small",className:L,inputClassName:W,disabled:M,readonly:Z,containerTabIndex:T,startSlot:U,endSlot:A,reference:F,containerReference:j,onContainerFocus:V,...$}=e,q=(0,s.filterProps)($,g),H={...(0,s.filterAriaProps)($),...(0,s.filterDataProps)($),id:t,title:n,role:i,tabIndex:a,placeholder:l,name:u,type:c,value:d,defaultValue:f,draggable:y,autoComplete:v,autoFocus:_,maxLength:w,min:b,max:C,step:x,pattern:R,inputMode:E,onSelect:S,onFocus:D,onBlur:P,onKeyDown:k,onKeyUp:N,onKeyPress:O,onChange:z,onDragStart:B};return r.createElement(h.ControlSkeleton,{...q,disabled:M,readonly:Z,tabIndex:T,className:o(m().container,L),size:I,ref:j,onFocus:V,startSlot:U,middleSlot:r.createElement(p.MiddleSlot,null,r.createElement("input",{...H,className:o(m().input,m()[`size-${I}`],W,U&&m()["with-start-slot"],A&&m()["with-end-slot"]),disabled:M,readOnly:Z,ref:F})),endSlot:A})}function v(e){e=(0,u.useControl)(e)
;const{disabled:t,autoSelectOnFocus:n,tabIndex:o=0,onFocus:s,onBlur:h,reference:p,containerReference:f=null}=e,m=(0,r.useRef)(null),g=(0,r.useRef)(null),[v,_]=(0,c.useFocus)(),w=t?void 0:v?-1:o,b=t?void 0:v?o:-1,{isMouseDown:C,handleMouseDown:x,handleMouseUp:R}=(0,d.useIsMouseDown)(),E=(0,i.createSafeMulticastEventHandler)(_.onFocus,(function(e){n&&!C.current&&(0,a.selectAllContent)(e.currentTarget)}),s),S=(0,i.createSafeMulticastEventHandler)(_.onBlur,h),D=(0,r.useCallback)((e=>{m.current=e,p&&("function"==typeof p&&p(e),"object"==typeof p&&(p.current=e))}),[m,p]);return r.createElement(y,{...e,isFocused:v,containerTabIndex:w,tabIndex:b,onContainerFocus:function(e){g.current===e.target&&null!==m.current&&m.current.focus()},onFocus:E,onBlur:S,reference:D,containerReference:(0,l.useMergedRefs)([g,f]),onMouseDown:x,onMouseUp:R})}},48027:(e,t,n)=>{"use strict";n.d(t,{useControl:()=>s});var r=n(47201),o=n(29202);function s(e){const{onFocus:t,onBlur:n,intent:s,highlight:i,disabled:a}=e,[l,u]=(0,o.useFocus)(void 0,a),c=(0,r.createSafeMulticastEventHandler)(a?void 0:u.onFocus,t),d=(0,r.createSafeMulticastEventHandler)(a?void 0:u.onBlur,n);return{...e,intent:s||(l?"primary":"default"),highlight:null!=i?i:l,onFocus:c,onBlur:d}}},29202:(e,t,n)=>{"use strict";n.d(t,{useFocus:()=>o});var r=n(50959);function o(e,t){const[n,o]=(0,r.useState)(!1);(0,r.useEffect)((()=>{t&&n&&o(!1)}),[t,n]);const s={onFocus:(0,r.useCallback)((function(t){void 0!==e&&e.current!==t.target||o(!0)}),[e]),onBlur:(0,r.useCallback)((function(t){void 0!==e&&e.current!==t.target||o(!1)}),[e])};return[n,s]}},45812:(e,t,n)=>{"use strict";n.d(t,{useIsMouseDown:()=>o});var r=n(50959);function o(){const e=(0,r.useRef)(!1),t=(0,r.useCallback)((()=>{e.current=!0}),[e]),n=(0,r.useCallback)((()=>{e.current=!1}),[e]);return{isMouseDown:e,handleMouseDown:t,handleMouseUp:n}}},38528:(e,t,n)=>{"use strict";n.d(t,{useMergedRefs:()=>s});var r=n(50959),o=n(53017);function s(e){return(0,r.useCallback)((0,o.mergeRefs)(e),e)}},27267:(e,t,n)=>{"use strict";function r(e,t,n,r,o){function s(o){if(e>o.timeStamp)return;const s=o.target;void 0!==n&&null!==t&&null!==s&&s.ownerDocument===r&&(t.contains(s)||n(o))}return o.click&&r.addEventListener("click",s,!1),o.mouseDown&&r.addEventListener("mousedown",s,!1),o.touchEnd&&r.addEventListener("touchend",s,!1),o.touchStart&&r.addEventListener("touchstart",s,!1),()=>{r.removeEventListener("click",s,!1),r.removeEventListener("mousedown",s,!1),r.removeEventListener("touchend",s,!1),r.removeEventListener("touchstart",s,!1)}}n.d(t,{addOutsideEventListener:()=>r})},36383:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>s});var r=n(50959),o=n(27267);function s(e){const{click:t,mouseDown:n,touchEnd:s,touchStart:i,handler:a,reference:l,ownerDocument:u=document}=e,c=(0,r.useRef)(null),d=(0,r.useRef)(new CustomEvent("timestamp").timeStamp);return(0,r.useLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:s,touchStart:i},r=l?l.current:c.current;return(0,o.addOutsideEventListener)(d.current,r,a,u,e)}),[t,n,s,i,a]),l||c}},9745:(e,t,n)=>{
"use strict";n.d(t,{Icon:()=>o});var r=n(50959);const o=r.forwardRef(((e,t)=>{const{icon:n="",...o}=e;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})}))},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>u});var r,o=n(50959),s=n(97754),i=n(74991),a=n(25650),l=n.n(a);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class u extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,i=s(l().item,l()[t],l()[n]);return o.createElement("span",{className:s(l().loader,r&&l().static,this._getStateClass(),e)},o.createElement("span",{className:i}),o.createElement("span",{className:i}),o.createElement("span",{className:i}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*i.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return l()["loader-initial"];case r.Appear:return l()["loader-appear"];default:return""}}}},90186:(e,t,n)=>{"use strict";function r(e){return s(e,i)}function o(e){return s(e,a)}function s(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function i(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterAriaProps:()=>o,filterDataProps:()=>r,filterProps:()=>s,isAriaAttribute:()=>a,isDataAttribute:()=>i})},48907:(e,t,n)=>{"use strict";function r(e){null!==e&&e.setSelectionRange(0,e.value.length)}n.d(t,{selectAllContent:()=>r})},53017:(e,t,n)=>{"use strict";function r(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function o(e){return r([e])}n.d(t,{isomorphicRef:()=>o,mergeRefs:()=>r})},67961:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>s,getRootOverlapManager:()=>a});var r=n(50151);class o{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class s{constructor(e=document){this._storage=new o,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const r=this._document.createElement("div");if(r.style.position=t.position,r.style.zIndex=this._index.toString(),r.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length
;if(t.index>=e)this._container.appendChild(r);else if(t.index<=0)this._container.insertBefore(r,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(r,e)}}else"reverse"===t.direction?this._container.insertBefore(r,this._container.firstChild):this._container.appendChild(r);return this._windows.set(e,r),++this._index,r}unregisterWindow(e){this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const i=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,r.ensureDefined)(i.get(t));{const t=new s(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return i.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}},47201:(e,t,n)=>{"use strict";function r(...e){return t=>{for(const n of e)void 0!==n&&n(t)}}n.d(t,{createSafeMulticastEventHandler:()=>r})},99054:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>u});const r=(()=>{let e;return()=>{var t;if(void 0===e){const n=document.createElement("div"),r=n.style;r.visibility="hidden",r.width="100px",r.msOverflowStyle="scrollbar",document.body.appendChild(n);const o=n.offsetWidth;n.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",n.appendChild(s);const i=s.offsetWidth;null===(t=n.parentNode)||void 0===t||t.removeChild(n),e=o-i}return e}})();function o(e,t,n){null!==e&&e.style.setProperty(t,n)}function s(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function i(e,t){return parseInt(s(e,t))}let a=0,l=!1;function u(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++a){const e=s(t,"overflow"),a=i(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(o(n,"right",`${r()}px`),t.style.paddingRight=`${a+r()}px`,l=!0),t.classList.add("i-no-scroll")}else if(!e&&a>0&&0==--a&&(t.classList.remove("i-no-scroll"),l)){o(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=r()),t.style.paddingRight=(e<0?0:e)+"px",l=!1}}},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(88803);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},21788:(e,t,n)=>{"use strict";n.d(t,{Autocomplete:()=>f});var r,o=n(44352),s=n(50959),i=n(97754),a=n(10381),l=n(78274),u=n(31261),c=n(76594);!function(e){e[e.Enter=13]="Enter",e[e.Space=32]="Space",e[e.Backspace=8]="Backspace",e[e.DownArrow=40]="DownArrow",e[e.UpArrow=38]="UpArrow",e[e.RightArrow=39]="RightArrow",e[e.LeftArrow=37]="LeftArrow",e[e.Escape=27]="Escape",e[e.Tab=9]="Tab"}(r||(r={}));var d=n(65718),h=n(20817)
;function p(e,t){return""===e||-1!==t.toLowerCase().indexOf(e.toLowerCase())}class f extends s.PureComponent{constructor(e){if(super(e),this._containerInputElement=null,this._raf=null,this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleMeasure=()=>{if(this.state.isMeasureValid||!this.props.suggestionsInPortal||!this._containerInputElement)return;const{bottom:e,left:t,width:n}=this._containerInputElement.getBoundingClientRect();this.setState({appearingWidth:n,appearingPosition:{x:t,y:e},isMeasureValid:!0})},this._setInputRef=e=>{e&&(this._inputElement=e,this.props.setupHTMLInput&&this.props.setupHTMLInput(e),this._inputElement.addEventListener("keyup",this._handleKeyUpEnter))},this._setContainerInputRef=e=>{this._containerInputElement=e},this._handleCaretClick=()=>{this.state.isOpened?(this._close(),this.props.preventOnFocusOpen&&this._focus()):this.props.preventOnFocusOpen?this._open():this._focus()},this._handleOutsideClick=()=>{const{allowUserDefinedValues:e,value:t,onChange:n}=this.props,{queryValue:r}=this.state;e?n&&r!==t&&n(r):this.setState(this._valueToQuery(t)),this._close()},this._handleFocus=e=>{this.props.preventOnFocusOpen||this._open(),this.props.onFocus&&this.props.onFocus(e)},this._handleChange=e=>{const{preventSearchOnEmptyQuery:t,allowUserDefinedValues:n,onChange:r,onSuggestionsOpen:o,onSuggestionsClose:s}=this.props,i=e.currentTarget.value;if(t&&""===i)this.setState({queryValue:i,isOpened:!1,active:void 0}),s&&s();else{const e=this._suggestions(i),t=Object.keys(e).length>0;this.setState({queryValue:i,isOpened:t,active:n?void 0:this._getActiveKeyByValue(i)}),t&&o&&o()}n&&r&&r(i)},this._handleItemClick=e=>{const t=e.currentTarget.id;this.setState({queryValue:m(this.props.source)[t]}),this.props.onChange&&this.props.onChange(t),this._close()},this._handleKeyDown=e=>{if(-1===[r.DownArrow,r.UpArrow,r.Enter,r.Escape].indexOf(e.which))return;const{allowUserDefinedValues:t,value:n,onChange:o,onSuggestionsOpen:s}=this.props,{active:i,isOpened:a,queryValue:l}=this.state;a&&(e.preventDefault(),e.stopPropagation());const u=this._suggestions(l);switch(e.which){case r.DownArrow:case r.UpArrow:const c=Object.keys(u);if(!a&&c.length&&e.which===r.DownArrow){this.setState({isOpened:!0,active:c[0]}),s&&s();break}let d;if(void 0===i){if(e.which===r.UpArrow){this._close();break}d=0}else d=c.indexOf(i)+(e.which===r.UpArrow?-1:1);d<0&&(d=0),d>c.length-1&&(d=c.length-1);const h=c[d];this.setState({active:h});const p=document.getElementById(h);p&&this._scrollIfNotVisible(p,this._suggestionsElement);break;case r.Escape:this._close(),a||this._blur();break;case r.Enter:let f=i;t&&(a&&f?this.setState(this._valueToQuery(f)):f=l),void 0!==f&&(this._close(),a||this._blur(),f!==n?o&&o(f):this.setState(this._valueToQuery(f)))}},this._setSuggestionsRef=e=>{e&&(this._suggestionsElement=e)},this._scrollIfNotVisible=(e,t)=>{
const n=t.scrollTop,r=t.scrollTop+t.clientHeight,o=e.offsetTop,s=o+e.clientHeight;o<=n?e.scrollIntoView(!0):s>=r&&e.scrollIntoView(!1)},!(e=>Array.isArray(e.source)||!e.allowUserDefinedValues)(e))throw new Error("allowUserDefinedProps === true cay only be used if source is array");this.state={valueFromProps:e.value,isOpened:!1,active:e.value,queryValue:m(e.source)[e.value]||(e.allowUserDefinedValues?e.value:"")}}componentDidMount(){this.props.suggestionsInPortal&&window.addEventListener("resize",this._resize)}componentDidUpdate(){this.state.isOpened&&this._handleMeasure()}componentWillUnmount(){this._inputElement&&this._inputElement.removeEventListener("keyup",this._handleKeyUpEnter),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),window.removeEventListener("resize",this._resize)}render(){return s.createElement(c.OutsideEvent,{handler:this._handleOutsideClick,click:!0},(e=>s.createElement("div",{className:i(h.autocomplete,"js-dialog-skip-escape"),ref:e},s.createElement(u.InputControl,{id:this.props.id,name:this.props.name,endSlot:Object.keys(this._suggestions(this.state.queryValue)).length?s.createElement(l.EndSlot,null,s.createElement("span",{className:h.caret,onClick:this._handleCaretClick,tabIndex:-1},s.createElement(a.ToolWidgetCaret,{className:h.icon,dropped:this.state.isOpened}))):void 0,maxLength:this.props.maxLength,reference:this._setInputRef,containerReference:this._setContainerInputRef,stretch:!0,placeholder:this.props.placeholder,value:this.state.queryValue,intent:this.props.error?"danger":void 0,onChange:this._handleChange,onFocus:this._handleFocus,onBlur:this.props.onBlur,onMouseOver:this.props.onMouseOver,onMouseOut:this.props.onMouseOut,onKeyDown:this._handleKeyDown,autoComplete:"off",size:this.props.size}),this._renderSuggestions())))}static getDerivedStateFromProps(e,t){const{allowUserDefinedValues:n,value:r,source:o}=e;if(r===t.valueFromProps&&t.isOpened)return null;const s=n?r:""===r?"":m(o)[r]||t.queryValue;return{...t,valueFromProps:r,active:r,queryValue:s}}_renderSuggestions(){return this.props.suggestionsInPortal?this.state.isOpened?this._renderPortalSuggestions():null:this._renderSuggestionsItems()}_renderPortalSuggestions(){return s.createElement(d.Portal,null,this._renderSuggestionsItems())}_focus(){this._inputElement.focus()}_blur(){this._inputElement.blur()}_open(){const{onSuggestionsOpen:e}=this.props;this._focus(),this.setState({isOpened:!0,active:this.props.value}),e&&e()}_close(){const{onSuggestionsClose:e}=this.props;this.setState({isOpened:!1,active:void 0}),e&&e()}_suggestions(e){const{filter:t=p}=this.props,n=m(this.props.source),r={};return Object.keys(n).filter((r=>t(e,n[r]))).forEach((e=>r[e]=n[e])),r}_renderSuggestionsItems(){const e=this._suggestions(this.state.queryValue),t=Object.keys(e).map((t=>{const n=i(h.suggestion,this.state.active===t&&h.selected);return s.createElement("li",{id:t,key:t,className:n,onClick:this._handleItemClick},e[t])})),r=s.createElement("li",{className:h.noResults},o.t(null,void 0,n(56614)))
;if(!t.length&&this.props.noEmptyText)return null;const{appearingPosition:a,appearingWidth:l}=this.state;return s.createElement("ul",{className:i(h.suggestions,this.state.isOpened&&h.opened),ref:this._setSuggestionsRef,style:{left:a&&a.x,top:a&&a.y,width:l&&l}},t.length?t:r)}_handleKeyUpEnter(e){e.which===r.Enter&&e.stopImmediatePropagation()}_getActiveKeyByValue(e){const{filter:t=p}=this.props,n=this._suggestions(e),r=Object.keys(n);for(const o of r)if(t(e,n[o]))return o;return r[0]}_valueToQuery(e){return{queryValue:m(this.props.source)[e]||""}}}function m(e){let t={};return Array.isArray(e)?e.forEach((e=>{t[e]=e})):t=e,t}},90692:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>o});var r=n(50959);class o extends r.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},65718:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>l,PortalContext:()=>u});var r=n(50959),o=n(962),s=n(36174),i=n(67961),a=n(60508);class l extends r.PureComponent{constructor(){super(...arguments),this._uuid=(0,s.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",o.createPortal(r.createElement(u.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}l.contextType=a.SlotContext;const u=r.createContext(null)},60508:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o,SlotContext:()=>s});var r=n(50959);class o extends r.Component{shouldComponentUpdate(){return!1}render(){return r.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const s=r.createContext(null)},10381:(e,t,n)=>{"use strict";n.d(t,{ToolWidgetCaret:()=>l});var r=n(50959),o=n(97754),s=n(9745),i=n(34587),a=n(578);function l(e){const{dropped:t,className:n}=e;return r.createElement(s.Icon,{className:o(n,i.icon,{[i.dropped]:t}),icon:a})}},95257:(e,t)=>{"use strict"
;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function v(){}function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}y.prototype.isReactComponent={},y.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")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=_.prototype=new v;w.constructor=_,m(w,y.prototype),w.isPureReactComponent=!0;var b=Array.isArray,C=Object.prototype.hasOwnProperty,x={current:null},R={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var o,s={},i=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,o)&&!R.hasOwnProperty(o)&&(s[o]=t[o]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];s.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===s[o]&&(s[o]=l[o]);return{$$typeof:n,type:e,key:i,ref:a,props:s,_owner:x.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var D=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function k(e,t,o,s,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===s?"."+P(l,0):s,b(i)?(o="",null!=e&&(o=e.replace(D,"$&/")+"/"),k(i,t,o,"",(function(e){return e}))):null!=i&&(S(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(D,"$&/")+"/")+e)),t.push(i)),1;if(l=0,s=""===s?".":s+":",b(e))for(var u=0;u<e.length;u++){var c=s+P(a=e[u],u);l+=k(a,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(a=e.next()).done;)l+=k(a=a.value,t,o,c=s+P(a,u++),i);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")
;return l}function N(e,t,n){if(null==e)return e;var r=[],o=0;return k(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var z={current:null},B={transition:null},I={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:B,ReactCurrentOwner:x};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=o,t.Profiler=i,t.PureComponent=_,t.StrictMode=s,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=m({},e.props),s=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=x.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)C.call(t,u)&&!R.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:s,ref:i,props:o,_owner:a}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=B.transition;B.transition={};try{e()}finally{B.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return z.current.useCallback(e,t)},t.useContext=function(e){return z.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return z.current.useDeferredValue(e)},t.useEffect=function(e,t){return z.current.useEffect(e,t)},t.useId=function(){return z.current.useId()},t.useImperativeHandle=function(e,t,n){return z.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return z.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return z.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return z.current.useMemo(e,t)},t.useReducer=function(e,t,n){return z.current.useReducer(e,t,n)},t.useRef=function(e){
return z.current.useRef(e)},t.useState=function(e){return z.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return z.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return z.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},7720:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="currentColor"><path d="m.58 1.42.82-.82 15 15-.82.82z"/><path d="m.58 15.58 15-15 .82.82-15 15z"/></svg>'},20036:e=>{e.exports={ar:["إلغاء"],ca_ES:["Cancel·la"],cs:["Zrušit"],de:["Abbrechen"],el:["Άκυρο"],en:"Cancel",es:["Cancelar"],fa:["لغو"],fr:["Annuler"],he_IL:["ביטול"],hu_HU:["Törlés"],id_ID:["Batal"],it:["Annulla"],ja:["キャンセル"],ko:["취소"],ms_MY:["Batal"],nl_NL:["Annuleren"],pl:["Anuluj"],pt:["Cancelar"],ro:"Cancel",ru:["Отмена"],sv:["Avbryt"],th:["ยกเลิก"],tr:["İptal"],vi:["Hủy bỏ"],zh:["取消"],zh_TW:["取消"]}},68988:e=>{e.exports={ar:["موافق"],ca_ES:["Acceptar"],cs:"Ok",de:"Ok",el:"Ok",en:"Ok",es:["Aceptar"],fa:"Ok",fr:["D'accord"],he_IL:["אוקיי"],hu_HU:["Oké"],id_ID:"Ok",it:"Ok",ja:["OK"],ko:["확인"],ms_MY:"Ok",nl_NL:"Ok",pl:"Ok",pt:"Ok",ro:"Ok",ru:["Ок"],sv:["OK"],th:["ตกลง"],tr:["Tamam"],vi:"Ok",zh:["确认"],zh_TW:["確認"]}},56614:e=>{e.exports={ar:["لا توجد نتائج"],ca_ES:["No s'han trobat resultats"],cs:"No results found",de:["Keine Ergebnisse"],el:"No results found",en:"No results found",es:["No se han encontrado resultados"],fa:"No results found",fr:["Pas de résultat trouvé"],he_IL:["לא נמצאו תוצאות"],hu_HU:"No results found",id_ID:["Hasil tidak ditemukan"],it:["Nessun risultato trovato"],ja:["該当なし"],ko:["결과를 찾을 수 없습니다"],ms_MY:["Tiada keputusan dijumpai"],nl_NL:"No results found",pl:["Brak wyników przeszukiwania"],pt:["Nenhum resultado encontrado"],ro:"No results found",ru:["Не найдено результатов"],sv:["Inga resultat hittades"],th:["ไม่พบข้อมูลใดๆ"],tr:["Hiç sonuç bulunamadı"],vi:["Không tìm thấy kết quả"],zh:["未搜寻结果"],zh_TW:["未找到結果"]}},85520:e=>{e.exports={ar:["حفظ"],ca_ES:["Desa"],cs:["Uložit"],de:["Speichern"],el:["Αποθήκευση"],en:"Save",es:["Guardar"],fa:["ذخیره"],fr:["Sauvegarder"],he_IL:["שמור"],hu_HU:["Mentés"],id_ID:["Simpan"],it:["Salva"],ja:["保存"],ko:["저장"],ms_MY:["Simpan"],nl_NL:["Opslaan"],pl:["Zapisz"],pt:["Salvar"],ro:"Save",ru:["Сохранить"],sv:["Spara"],th:["บันทึก"],tr:["Kaydet"],vi:["Lưu"],zh:["保存"],zh_TW:["儲存"]}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.button-Hfju7pW_{padding:0 6px}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#eceff2}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 6px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;padding:0 5px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 4px;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.seriesControlWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{--ui-lib-typography-line-height:21px;--ui-lib-typography-font-size:14px;flex:0 0 auto;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;height:100%;line-height:var(--ui-lib-typography-line-height);padding:0 6px}.item-BXXUwft2.last-BXXUwft2{margin-right:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.dateRange-BXXUwft2{margin-left:8px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;left:0;position:absolute;top:0;visibility:hidden}

View File

@@ -0,0 +1 @@
.button-Hfju7pW_{padding:0 6px}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#eceff2}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 6px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;padding:0 5px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 4px;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.seriesControlWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{--ui-lib-typography-line-height:21px;--ui-lib-typography-font-size:14px;flex:0 0 auto;font-size:var(--ui-lib-typography-font-size);font-style:normal;font-weight:400;height:100%;line-height:var(--ui-lib-typography-line-height);padding:0 6px}.item-BXXUwft2.last-BXXUwft2{margin-left:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.dateRange-BXXUwft2{margin-right:8px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;position:absolute;right:0;top:0;visibility:hidden}

View File

@@ -1 +0,0 @@
.button-Hfju7pW_{margin-left:4px;padding:0 6px 0 12px}.separator-Hfju7pW_{margin:6px 0}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#eceff2}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 7px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.item-SqYYy1zF.isFirst-SqYYy1zF{margin-left:9px}.item-SqYYy1zF.isLast-SqYYy1zF{margin-right:9px}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;margin-left:9px;padding:0 7px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 0;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.seriesControlWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{flex:0 0 auto;height:100%;padding:0 7px}.item-BXXUwft2.first-BXXUwft2{margin-left:9px}.item-BXXUwft2.last-BXXUwft2{margin-right:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.session-BXXUwft2,.timezone-BXXUwft2{flex:0 0 auto;margin-right:9px;padding:0 7px}.icon-BXXUwft2{flex:0 0 auto;height:100%;padding:0 7px}.icon-BXXUwft2.first-BXXUwft2{margin-left:5px}.icon-BXXUwft2.last-BXXUwft2{margin-right:5px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;left:0;position:absolute;top:0;visibility:hidden}

View File

@@ -1 +0,0 @@
.button-Hfju7pW_{margin-right:4px;padding:0 12px 0 6px}.separator-Hfju7pW_{margin:6px 0}.tabs-NGf0gcnH{display:flex;position:relative;width:100%}.tab-NGf0gcnH{border-bottom:1px solid;border-color:#e0e3eb;color:var(--tv-tabs-slider-text-color,#131722);flex:1 1;padding:13px 0;text-align:center;transition:color .35s ease;-webkit-user-select:none;user-select:none}html.theme-dark .tab-NGf0gcnH{border-color:#434651;color:var(--tv-tabs-slider-text-color,#d1d4dc)}.tab-NGf0gcnH.noBorder-NGf0gcnH{border-bottom:0}.tab-NGf0gcnH.disabled-NGf0gcnH{color:#eceff2}.tab-NGf0gcnH.active-NGf0gcnH,html.theme-dark .tab-NGf0gcnH.active-NGf0gcnH{color:#2962ff}.defaultCursor-NGf0gcnH{cursor:default}.slider-NGf0gcnH{bottom:0;height:3px;left:0;position:absolute;transition-timing-function:cubic-bezier(.215,.61,.355,1)}.slider-NGf0gcnH,html.theme-dark .slider-NGf0gcnH{background-color:#2962ff}.content-NGf0gcnH{width:100%}.item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff);align-items:center;display:flex;font-size:14px;height:100%;padding:0 7px}html.theme-sa .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .item-SqYYy1zF{--tv-color-toolbar-button-text-active-hover:var(--tv-color-toolbar-button-text-active,#2962ff)}.item-SqYYy1zF.isFirst-SqYYy1zF{margin-right:9px}.item-SqYYy1zF.isLast-SqYYy1zF{margin-left:9px}.slider-3kCW6DWs{bottom:15%;height:2px;transition-duration:175ms;transition-property:transform,opacity}.slider-3kCW6DWs,html.theme-dark .slider-3kCW6DWs{background-color:initial}.slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff);height:100%;margin:0 8px}html.theme-sa .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#ff7200)}html.theme-dark .slider-3kCW6DWs .inner-3kCW6DWs{background-color:var(--tv-color-toolbar-button-text-active,#2962ff)}.sliderRow-k2h4OAz8{height:100%}.button-uToIfRbZ{align-items:center;display:flex;height:100%;margin-right:9px;padding:0 7px}.button-x1dCOTP3{white-space:nowrap}.button-x1dCOTP3.disabled-x1dCOTP3{opacity:1;position:relative;z-index:0}.button-x1dCOTP3.disabled-x1dCOTP3:before{background-color:initial;border-radius:var(--tv-toolbar-explicit-hover-border-radius,2px);bottom:var(--tv-toolbar-explicit-hover-margin,2px);display:block;left:var(--tv-toolbar-explicit-hover-margin,2px);outline:2px none #2962ff;position:absolute;right:var(--tv-toolbar-explicit-hover-margin,2px);top:var(--tv-toolbar-explicit-hover-margin,2px);z-index:-1}.button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,.button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}@media (any-hover:hover){.button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#f0f3fa);content:""}}html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3.hover-x1dCOTP3:before,html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:active:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}@media (any-hover:hover){html.theme-dark .button-x1dCOTP3.disabled-x1dCOTP3:hover:before{background-color:var(--tv-color-toolbar-button-background-hover,#2a2e39)}}.button-x1dCOTP3.disabled-x1dCOTP3.accessible-x1dCOTP3:focus-visible:before{content:"";outline-style:solid}.separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#e0e3eb);display:inline-block;height:calc(100% - 16px);margin:8px 0;width:1px}html.theme-dark .separator-yDfG9Ccu{background-color:var(--tv-color-toolbar-divider-background,#434651)}.headerMenuText-AcJrLng7{margin:4px 0}.toolbar-BXXUwft2{cursor:default;font-size:14px;height:100%;position:relative;white-space:nowrap}.dateRangeWrapper-BXXUwft2{display:block;height:100%;position:absolute;right:0}.seriesControlWrapper-BXXUwft2{display:block;height:100%;left:0;position:absolute}.dateRangeCollapsed-BXXUwft2,.dateRangeExpanded-BXXUwft2{display:inline-flex;flex:0 1 0%;height:100%}.item-BXXUwft2{flex:0 0 auto;height:100%;padding:0 7px}.item-BXXUwft2.first-BXXUwft2{margin-right:9px}.item-BXXUwft2.last-BXXUwft2{margin-left:4px}.inline-BXXUwft2{display:inline-block;height:100%;vertical-align:top}.session-BXXUwft2,.timezone-BXXUwft2{flex:0 0 auto;margin-left:9px;padding:0 7px}.icon-BXXUwft2{flex:0 0 auto;height:100%;padding:0 7px}.icon-BXXUwft2.first-BXXUwft2{margin-right:5px}.icon-BXXUwft2.last-BXXUwft2{margin-left:5px}.hidden-BXXUwft2{visibility:hidden}.collapsed-BXXUwft2{height:100%;position:absolute;right:0;top:0;visibility:hidden}

View File

@@ -1,6 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5050],{66076:e=>{e.exports={"default-drawer-min-top-distance":"100px",wrap:"wrap-_HnK0UIN",positionBottom:"positionBottom-_HnK0UIN",backdrop:"backdrop-_HnK0UIN",drawer:"drawer-_HnK0UIN",positionLeft:"positionLeft-_HnK0UIN"}},71986:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 430px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},34587:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},27267:(e,t,o)=>{"use strict";function n(e,t,o,n,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==o&&null!==t&&null!==i&&i.ownerDocument===n&&(t.contains(i)||o(r))}return r.click&&n.addEventListener("click",i,!1),r.mouseDown&&n.addEventListener("mousedown",i,!1),r.touchEnd&&n.addEventListener("touchend",i,!1),r.touchStart&&n.addEventListener("touchstart",i,!1),()=>{n.removeEventListener("click",i,!1),n.removeEventListener("mousedown",i,!1),n.removeEventListener("touchend",i,!1),n.removeEventListener("touchstart",i,!1)}}o.d(t,{addOutsideEventListener:()=>n})},90186:(e,t,o)=>{"use strict";function n(e){return i(e,a)}function r(e){return i(e,s)}function i(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function s(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterAriaProps:()=>r,filterDataProps:()=>n,filterProps:()=>i,isAriaAttribute:()=>s,isDataAttribute:()=>a})},76460:(e,t,o)=>{"use strict";function n(e){return 0===e.detail}o.d(t,{isKeyboardClick:()=>n})},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerContext:()=>a,DrawerManager:()=>i});var n=o(50959),r=o(99054);class i extends n.PureComponent{constructor(e){super(e),this._isBodyFixed=!1,this._addDrawer=e=>{this.setState((t=>({stack:[...t.stack,e]})))},this._removeDrawer=e=>{this.setState((t=>({stack:t.stack.filter((t=>t!==e))})))},this.state={stack:[]}}componentDidUpdate(e,t){!t.stack.length&&this.state.stack.length&&((0,r.setFixedBodyState)(!0),this._isBodyFixed=!0),t.stack.length&&!this.state.stack.length&&this._isBodyFixed&&((0,r.setFixedBodyState)(!1),this._isBodyFixed=!1)}componentWillUnmount(){this.state.stack.length&&this._isBodyFixed&&(0,r.setFixedBodyState)(!1)}render(){return n.createElement(a.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.stack.length?this.state.stack[this.state.stack.length-1]:null}},this.props.children)}}const a=n.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>h});var n=o(50959),r=o(50151),i=o(97754),a=o(36174),s=o(65718),c=o(37558),l=o(29197),d=o(86656),u=o(66076);function h(e){
const{position:t="Bottom",onClose:o,children:d,className:h,theme:m=u}=e,f=(0,r.ensureNotNull)((0,n.useContext)(c.DrawerContext)),[v]=(0,n.useState)((()=>(0,a.randomHash)())),g=(0,n.useRef)(null),w=(0,n.useContext)(l.CloseDelegateContext);return(0,n.useLayoutEffect)((()=>((0,r.ensureNotNull)(g.current).focus({preventScroll:!0}),w.subscribe(f,o),f.addDrawer(v),()=>{f.removeDrawer(v),w.unsubscribe(f,o)})),[]),n.createElement(s.Portal,null,n.createElement("div",{className:i(u.wrap,u[`position${t}`])},v===f.currentDrawer&&n.createElement("div",{className:u.backdrop,onClick:o}),n.createElement(p,{className:i(m.drawer,u[`position${t}`],h),ref:g,"data-name":e["data-name"]},d)))}const p=(0,n.forwardRef)(((e,t)=>{const{className:o,...r}=e;return n.createElement(d.TouchScrollContainer,{className:i(u.drawer,o),tabIndex:-1,ref:t,...r})}))},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>l,PopupMenuItem:()=>u});var n=o(50959),r=o(97754),i=o(59064),a=o(51768),s=o(90186),c=o(71986);const l=c;function d(e){e.stopPropagation()}function u(e){const{id:t,role:o,"aria-label":l,"aria-selected":u,"aria-checked":h,className:p,title:m,labelRowClassName:f,labelClassName:v,shortcut:g,forceShowShortcuts:w,icon:b,isActive:D,isDisabled:E,isHovered:k,appearAsDisabled:C,label:x,link:N,showToolboxOnHover:_,showToolboxOnFocus:O,target:y,rel:T,toolbox:M,reference:B,onMouseOut:F,onMouseOver:P,onKeyDown:R,suppressToolboxClick:A=!0,theme:L=c,tabIndex:S,tagName:W,renderComponent:I,roundedIcon:j,iconAriaProps:U}=e,z=(0,s.filterDataProps)(e),H=(0,n.useRef)(null),Q=(0,n.useMemo)((()=>function(e){function t(t){const{reference:o,...r}=t,i=null!=e?e:r.href?"a":"div",a="a"===i?r:function(e){const{download:t,href:o,hrefLang:n,media:r,ping:i,rel:a,target:s,type:c,referrerPolicy:l,...d}=e;return d}(r);return n.createElement(i,{...a,ref:o})}return t.displayName=`DefaultComponent(${e})`,t}(W)),[W]),K=null!=I?I:Q;return n.createElement(K,{...z,id:t,role:o,"aria-label":l,"aria-selected":u,"aria-checked":h,className:r(p,L.item,b&&L.withIcon,{[L.isActive]:D,[L.isDisabled]:E||C,[L.hovered]:k}),title:m,href:N,target:y,rel:T,reference:function(e){H.current=e,"function"==typeof B&&B(e);"object"==typeof B&&(B.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:n,onClickArg:r,trackEventObject:s}=e;if(E)return;s&&(0,a.trackEvent)(s.category,s.event,s.label);n&&n(r,t);o||(0,i.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:n}=e;o&&n&&(0,a.trackEvent)(o.category,o.event,`${o.label}_rightClick`)},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:n}=e;if(1===t.button&&N&&o){let e=o.label;n&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:P,onMouseOut:F,onKeyDown:R,tabIndex:S},void 0!==b&&n.createElement("span",{"aria-label":U&&U["aria-label"],"aria-hidden":U&&Boolean(U["aria-hidden"]),className:r(L.icon,j&&c["round-icon"]),dangerouslySetInnerHTML:{__html:b}}),n.createElement("span",{className:r(L.labelRow,f)},n.createElement("span",{className:r(L.label,v)
},x)),(void 0!==g||w)&&n.createElement("span",{className:L.shortcut},(G=g)&&G.split("+").join(" + ")),void 0!==M&&n.createElement("span",{onClick:A?d:void 0,className:r(L.toolbox,{[L.showOnHover]:_,[L.showOnFocus]:O})},M));var G}},20520:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>h});var n=o(50959),r=o(962),i=o(62942),a=o(65718),s=o(27317),c=o(29197);const l=n.createContext(void 0);var d=o(36383);const u=n.createContext({setMenuMaxWidth:!1});function h(e){const{controller:t,children:o,isOpened:h,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:f,onClose:v,onKeyboardClose:g,"data-name":w="popup-menu-container",...b}=e,D=(0,n.useContext)(c.CloseDelegateContext),E=n.useContext(u),k=(0,n.useContext)(l),C=(0,d.useOutsideEvent)({handler:function(e){f&&f(e);if(!p)return;const t=(0,i.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const o of t){const t=r.findDOMNode(o);if(t instanceof Node&&t.contains(e.target))return}v()},mouseDown:!0,touchStart:!0});return h?n.createElement(a.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},n.createElement("span",{ref:C,style:{pointerEvents:"auto"}},n.createElement(s.Menu,{...b,onClose:v,onKeyboardClose:g,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:D,customRemeasureDelegate:k,ref:t,"data-name":w,limitMaxWidth:E.setMenuMaxWidth},o))):null}},10381:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetCaret:()=>c});var n=o(50959),r=o(97754),i=o(9745),a=o(34587),s=o(578);function c(e){const{dropped:t,className:o}=e;return n.createElement(i.Icon,{className:r(o,a.icon,{[a.dropped]:t}),icon:s})}},86656:(e,t,o)=>{"use strict";o.d(t,{TouchScrollContainer:()=>s});var n=o(50959),r=o(59142),i=o(50151),a=o(49483);const s=(0,n.forwardRef)(((e,t)=>{const{children:o,...i}=e,s=(0,n.useRef)(null);return(0,n.useImperativeHandle)(t,(()=>s.current)),(0,n.useLayoutEffect)((()=>{if(a.CheckMobile.iOS())return null!==s.current&&(0,r.disableBodyScroll)(s.current,{allowTouchMove:c(s)}),()=>{null!==s.current&&(0,r.enableBodyScroll)(s.current)}}),[]),n.createElement("div",{ref:s,...i},o)}));function c(e){return t=>{const o=(0,i.ensureNotNull)(e.current),n=document.activeElement;return!o.contains(t)||null!==n&&o.contains(n)&&n.contains(t)}}},78029:e=>{e.exports={button:"button-GwQQdU8S",hover:"hover-GwQQdU8S",isInteractive:"isInteractive-GwQQdU8S",accessible:"accessible-GwQQdU8S",isGrouped:"isGrouped-GwQQdU8S",isActive:"isActive-GwQQdU8S",isOpened:"isOpened-GwQQdU8S",isDisabled:"isDisabled-GwQQdU8S",text:"text-GwQQdU8S",icon:"icon-GwQQdU8S"}},2869:e=>{e.exports={button:"button-xNqEcuN2"}},42919:e=>{e.exports={button:"button-merBkM5y",hover:"hover-merBkM5y",accessible:"accessible-merBkM5y",arrow:"arrow-merBkM5y",arrowWrap:"arrowWrap-merBkM5y",isOpened:"isOpened-merBkM5y"}},12811:(e,t,o)=>{"use strict";o.d(t,{HorizontalAttachEdge:()=>r,HorizontalDropDirection:()=>a,VerticalAttachEdge:()=>n,VerticalDropDirection:()=>i,getPopupPositioner:()=>l});var n,r,i,a,s=o(50151);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(n||(n={})),function(e){
e[e.Left=0]="Left",e[e.Right=1]="Right"}(r||(r={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(i||(i={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const c={verticalAttachEdge:n.Bottom,horizontalAttachEdge:r.Left,verticalDropDirection:i.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function l(e,t){return(o,l)=>{const d=(0,s.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=c.verticalAttachEdge,verticalDropDirection:h=c.verticalDropDirection,horizontalAttachEdge:p=c.horizontalAttachEdge,horizontalDropDirection:m=c.horizontalDropDirection,horizontalMargin:f=c.horizontalMargin,verticalMargin:v=c.verticalMargin,matchButtonAndListboxWidths:g=c.matchButtonAndListboxWidths}=t,w=u===n.Top?-1*v:v,b=p===r.Right?d.right:d.left,D=u===n.Top?d.top:d.bottom,E={x:b-(m===a.FromRightToLeft?o:0)+f,y:D-(h===i.FromBottomToTop?l:0)+w};return g&&(E.overrideWidth=d.width),E}}},31409:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>s,ToolWidgetButton:()=>c});var n=o(50959),r=o(97754),i=o(9745),a=o(78029);const s=a,c=n.forwardRef(((e,t)=>{const{tag:o="div",icon:s,isActive:c,isOpened:l,isDisabled:d,isGrouped:u,isHovered:h,onClick:p,text:m,textBeforeIcon:f,title:v,theme:g=a,className:w,forceInteractive:b,inactive:D,"data-name":E,"data-tooltip":k,...C}=e,x=r(w,g.button,(v||k)&&"apply-common-tooltip",{[g.isActive]:c,[g.isOpened]:l,[g.isInteractive]:(b||Boolean(p))&&!d&&!D,[g.isDisabled]:Boolean(d||D),[g.isGrouped]:u,[g.hover]:h}),N=s&&("string"==typeof s?n.createElement(i.Icon,{className:g.icon,icon:s}):n.cloneElement(s,{className:r(g.icon,s.props.className)}));return"button"===o?n.createElement("button",{...C,ref:t,type:"button",className:r(x,g.accessible),disabled:d&&!D,onClick:p,title:v,"data-name":E,"data-tooltip":k},f&&m&&n.createElement("div",{className:r("js-button-text",g.text)},m),N,!f&&m&&n.createElement("div",{className:r("js-button-text",g.text)},m)):n.createElement("div",{...C,ref:t,"data-role":"button",className:x,onClick:d?void 0:p,title:v,"data-name":E,"data-tooltip":k},f&&m&&n.createElement("div",{className:r("js-button-text",g.text)},m),N,!f&&m&&n.createElement("div",{className:r("js-button-text",g.text)},m))}))},50813:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetIconButton:()=>s});var n=o(50959),r=o(97754),i=o(31409),a=o(2869);const s=n.forwardRef((function(e,t){const{className:o,id:s,...c}=e;return n.createElement(i.ToolWidgetButton,{"data-name":s,...c,ref:t,className:r(o,a.button)})}))},8087:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetMenu:()=>f});var n=o(50959),r=o(97754),i=o(3343),a=o(20520),s=o(10381),c=o(90186),l=o(37558),d=o(41590),u=o(12811),h=o(90692),p=o(76460),m=o(42919);class f extends n.PureComponent{constructor(e){super(e),this._wrapperRef=null,this._controller=n.createRef(),this._handleWrapperRef=e=>{this._wrapperRef=e,this.props.reference&&this.props.reference(e)},this._handleOpen=()=>{var e
;"div"!==this.props.tag&&(null===(e=this._controller.current)||void 0===e||e.focus())},this._handleClick=e=>{e.target instanceof Node&&e.currentTarget.contains(e.target)&&(this._handleToggleDropdown(void 0,(0,p.isKeyboardClick)(e)),this.props.onClick&&this.props.onClick(e,!this.state.isOpened))},this._handleToggleDropdown=(e,t=!1)=>{const{onClose:o,onOpen:n}=this.props,{isOpened:r}=this.state,i="boolean"==typeof e?e:!r;this.setState({isOpened:i,shouldReturnFocus:!!i&&t}),i&&n&&n(),!i&&o&&o()},this._handleClose=()=>{this.close()},this._handleKeyDown=e=>{var t;const{orientation:o="horizontal"}=this.props;if(e.defaultPrevented)return;if(!(e.target instanceof Node))return;const n=(0,i.hashFromEvent)(e);if(e.currentTarget.contains(e.target))switch(n){case 40:if("div"===this.props.tag||"horizontal"!==o)return;if(this.state.isOpened)return;e.preventDefault(),this._handleToggleDropdown(!0,!0);break;case 27:if(!this.state.isOpened||!this.props.closeOnEsc)return;e.preventDefault(),e.stopPropagation(),this._handleToggleDropdown(!1)}else{if("div"===this.props.tag)return;switch(n){case 27:{e.preventDefault();const{shouldReturnFocus:o}=this.state;this._handleToggleDropdown(!1),o&&(null===(t=this._wrapperRef)||void 0===t||t.focus());break}}}},this.state={isOpened:!1,shouldReturnFocus:!1}}render(){const{tag:e="div",id:t,arrow:o,content:i,isDisabled:a,isDrawer:l,isShowTooltip:d,title:u,className:p,hotKey:m,theme:f,drawerBreakpoint:v,tabIndex:g}=this.props,{isOpened:w}=this.state,b=r(p,f.button,{"apply-common-tooltip":d||!a,[f.isDisabled]:a,[f.isOpened]:w});return"button"===e?n.createElement("button",{type:"button",id:t,className:r(b,f.accessible),disabled:a,onClick:this._handleClick,title:u,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,onKeyDown:this._handleKeyDown,tabIndex:g,...(0,c.filterDataProps)(this.props),...(0,c.filterAriaProps)(this.props)},i,o&&n.createElement("div",{className:f.arrow},n.createElement("div",{className:f.arrowWrap},n.createElement(s.ToolWidgetCaret,{dropped:w}))),this.state.isOpened&&(v?n.createElement(h.MatchMedia,{rule:v},(e=>this._renderContent(e))):this._renderContent(l))):n.createElement("div",{id:t,className:b,onClick:a?void 0:this._handleClick,title:u,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,"data-role":"button",tabIndex:g,onKeyDown:this._handleKeyDown,...(0,c.filterDataProps)(this.props)},i,o&&n.createElement("div",{className:f.arrow},n.createElement("div",{className:f.arrowWrap},n.createElement(s.ToolWidgetCaret,{dropped:w}))),this.state.isOpened&&(v?n.createElement(h.MatchMedia,{rule:v},(e=>this._renderContent(e))):this._renderContent(l)))}close(){this._handleToggleDropdown(!1)}focus(){var e;null===(e=this._wrapperRef)||void 0===e||e.focus()}focusMenu(){var e;null===(e=this._controller.current)||void 0===e||e.focus()}update(){null!==this._controller.current&&this._controller.current.update()}_renderContent(e){const{menuDataName:t,minWidth:o,menuClassName:r,maxHeight:i,drawerPosition:s="Bottom",children:c}=this.props,{isOpened:h}=this.state,p={
horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection,matchButtonAndListboxWidths:this.props.matchButtonAndListboxWidths},m=Boolean(h&&e&&s),f=function(e){return"function"==typeof e}(c)?c({isDrawer:m}):c;return m?n.createElement(l.DrawerManager,null,n.createElement(d.Drawer,{onClose:this._handleClose,position:s,"data-name":t},f)):n.createElement(a.PopupMenu,{reference:this.props.menuReference,controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:h,minWidth:o,onClose:this._handleClose,position:(0,u.getPopupPositioner)(this._wrapperRef,p),className:r,maxHeight:i,"data-name":t,tabIndex:"div"!==this.props.tag?-1:void 0,onOpen:this._handleOpen,onKeyDown:this.props.onMenuKeyDown,onFocus:this.props.onMenuFocus},f)}}f.defaultProps={arrow:!0,closeOnClickOutside:!0,theme:m}},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'}}]);

View File

@@ -0,0 +1,6 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5050],{45300:e=>{e.exports={}},66076:e=>{e.exports={"default-drawer-min-top-distance":"100px",wrap:"wrap-_HnK0UIN",positionBottom:"positionBottom-_HnK0UIN",backdrop:"backdrop-_HnK0UIN",drawer:"drawer-_HnK0UIN",positionLeft:"positionLeft-_HnK0UIN"}},71986:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 430px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk","disclosure-item-circle-logo":"disclosure-item-circle-logo-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},34587:e=>{e.exports={icon:"icon-WB2y0EnP",dropped:"dropped-WB2y0EnP"}},27267:(e,t,o)=>{"use strict";function r(e,t,o,r,n){function i(n){if(e>n.timeStamp)return;const i=n.target;void 0!==o&&null!==t&&null!==i&&i.ownerDocument===r&&(t.contains(i)||o(n))}return n.click&&r.addEventListener("click",i,!1),n.mouseDown&&r.addEventListener("mousedown",i,!1),n.touchEnd&&r.addEventListener("touchend",i,!1),n.touchStart&&r.addEventListener("touchstart",i,!1),()=>{r.removeEventListener("click",i,!1),r.removeEventListener("mousedown",i,!1),r.removeEventListener("touchend",i,!1),r.removeEventListener("touchstart",i,!1)}}o.d(t,{addOutsideEventListener:()=>r})},90186:(e,t,o)=>{"use strict";function r(e){return i(e,a)}function n(e){return i(e,s)}function i(e,t){const o=Object.entries(e).filter(t),r={};for(const[e,t]of o)r[e]=t;return r}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function s(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterAriaProps:()=>n,filterDataProps:()=>r,filterProps:()=>i,isAriaAttribute:()=>s,isDataAttribute:()=>a})},76460:(e,t,o)=>{"use strict";function r(e){return 0===e.detail}o.d(t,{isKeyboardClick:()=>r})},76068:(e,t,o)=>{"use strict";o.d(t,{CircleLogo:()=>i});var r=o(50959),n=o(58492);o(45300);function i(e){var t,o;const i=(0,n.getStyleClasses)(e.size,e.className),a=null!==(o=null!==(t=e.alt)&&void 0!==t?t:e.title)&&void 0!==o?o:"";return(0,n.isCircleLogoWithUrlProps)(e)?r.createElement("img",{className:i,src:e.logoUrl,alt:a,title:e.title,loading:e.loading,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]}):r.createElement("span",{className:i,title:e.title,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]},e.placeholderLetter)}},58492:(e,t,o)=>{"use strict";o.d(t,{getStyleClasses:()=>n,isCircleLogoWithUrlProps:()=>i});var r=o(97754);function n(e,t){return r("tv-circle-logo",`tv-circle-logo--${e}`,t)}function i(e){return"logoUrl"in e&&void 0!==e.logoUrl&&0!==e.logoUrl.length}},37558:(e,t,o)=>{"use strict";o.d(t,{DrawerContext:()=>a,DrawerManager:()=>i});var r=o(50959),n=o(99054);class i extends r.PureComponent{constructor(e){super(e),this._isBodyFixed=!1,this._addDrawer=e=>{this.setState((t=>({stack:[...t.stack,e]})))},
this._removeDrawer=e=>{this.setState((t=>({stack:t.stack.filter((t=>t!==e))})))},this.state={stack:[]}}componentDidUpdate(e,t){!t.stack.length&&this.state.stack.length&&((0,n.setFixedBodyState)(!0),this._isBodyFixed=!0),t.stack.length&&!this.state.stack.length&&this._isBodyFixed&&((0,n.setFixedBodyState)(!1),this._isBodyFixed=!1)}componentWillUnmount(){this.state.stack.length&&this._isBodyFixed&&(0,n.setFixedBodyState)(!1)}render(){return r.createElement(a.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.stack.length?this.state.stack[this.state.stack.length-1]:null}},this.props.children)}}const a=r.createContext(null)},41590:(e,t,o)=>{"use strict";o.d(t,{Drawer:()=>h});var r=o(50959),n=o(50151),i=o(97754),a=o(36174),s=o(65718),l=o(37558),c=o(29197),d=o(86656),u=o(66076);function h(e){const{position:t="Bottom",onClose:o,children:d,className:h,theme:m=u}=e,f=(0,n.ensureNotNull)((0,r.useContext)(l.DrawerContext)),[v]=(0,r.useState)((()=>(0,a.randomHash)())),g=(0,r.useRef)(null),b=(0,r.useContext)(c.CloseDelegateContext);return(0,r.useLayoutEffect)((()=>((0,n.ensureNotNull)(g.current).focus({preventScroll:!0}),b.subscribe(f,o),f.addDrawer(v),()=>{f.removeDrawer(v),b.unsubscribe(f,o)})),[]),r.createElement(s.Portal,null,r.createElement("div",{className:i(u.wrap,u[`position${t}`])},v===f.currentDrawer&&r.createElement("div",{className:u.backdrop,onClick:o}),r.createElement(p,{className:i(m.drawer,u[`position${t}`],h),ref:g,"data-name":e["data-name"]},d)))}const p=(0,r.forwardRef)(((e,t)=>{const{className:o,...n}=e;return r.createElement(d.TouchScrollContainer,{className:i(u.drawer,o),tabIndex:-1,ref:t,...n})}))},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>d,PopupMenuItem:()=>h});var r=o(50959),n=o(97754),i=o(59064),a=o(51768),s=o(90186),l=o(76068),c=o(71986);const d=c;function u(e){e.stopPropagation()}function h(e){const{id:t,role:o,"aria-label":d,"aria-selected":h,"aria-checked":p,className:m,title:f,labelRowClassName:v,labelClassName:g,shortcut:b,forceShowShortcuts:w,icon:E,isActive:D,isDisabled:k,isHovered:C,appearAsDisabled:x,label:N,link:O,showToolboxOnHover:_,showToolboxOnFocus:T,target:y,rel:M,toolbox:B,reference:F,onMouseOut:P,onMouseOver:L,onKeyDown:A,suppressToolboxClick:S=!0,theme:R=c,tabIndex:I,tagName:W,renderComponent:U,roundedIcon:j,iconAriaProps:z,circleLogo:Q}=e,H=(0,s.filterDataProps)(e),K=(0,r.useRef)(null),G=(0,r.useMemo)((()=>function(e){function t(t){const{reference:o,...n}=t,i=null!=e?e:n.href?"a":"div",a="a"===i?n:function(e){const{download:t,href:o,hrefLang:r,media:n,ping:i,rel:a,target:s,type:l,referrerPolicy:c,...d}=e;return d}(n);return r.createElement(i,{...a,ref:o})}return t.displayName=`DefaultComponent(${e})`,t}(W)),[W]),V=null!=U?U:G;return r.createElement(V,{...H,id:t,role:o,"aria-label":d,"aria-selected":h,"aria-checked":p,className:n(m,R.item,E&&R.withIcon,{[R.isActive]:D,[R.isDisabled]:k||x,[R.hovered]:C}),title:f,href:O,target:y,rel:M,reference:function(e){K.current=e,"function"==typeof F&&F(e)
;"object"==typeof F&&(F.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:r,onClickArg:n,trackEventObject:s}=e;if(k)return;s&&(0,a.trackEvent)(s.category,s.event,s.label);r&&r(n,t);o||(0,i.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:r}=e;o&&r&&(0,a.trackEvent)(o.category,o.event,`${o.label}_rightClick`)},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:r}=e;if(1===t.button&&O&&o){let e=o.label;r&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:L,onMouseOut:P,onKeyDown:A,tabIndex:I},Q&&r.createElement(l.CircleLogo,{...z,className:c["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:Q.logoUrl,placeholderLetter:Q.placeholderLetter}),E&&r.createElement("span",{"aria-label":z&&z["aria-label"],"aria-hidden":z&&Boolean(z["aria-hidden"]),className:n(R.icon,j&&c["round-icon"]),dangerouslySetInnerHTML:{__html:E}}),r.createElement("span",{className:n(R.labelRow,v)},r.createElement("span",{className:n(R.label,g)},N)),(void 0!==b||w)&&r.createElement("span",{className:R.shortcut},(q=b)&&q.split("+").join(" + ")),void 0!==B&&r.createElement("span",{onClick:S?u:void 0,className:n(R.toolbox,{[R.showOnHover]:_,[R.showOnFocus]:T})},B));var q}},20520:(e,t,o)=>{"use strict";o.d(t,{PopupMenu:()=>h});var r=o(50959),n=o(962),i=o(62942),a=o(65718),s=o(27317),l=o(29197);const c=r.createContext(void 0);var d=o(36383);const u=r.createContext({setMenuMaxWidth:!1});function h(e){const{controller:t,children:o,isOpened:h,closeOnClickOutside:p=!0,doNotCloseOn:m,onClickOutside:f,onClose:v,onKeyboardClose:g,"data-name":b="popup-menu-container",...w}=e,E=(0,r.useContext)(l.CloseDelegateContext),D=r.useContext(u),k=(0,r.useContext)(c),C=(0,d.useOutsideEvent)({handler:function(e){f&&f(e);if(!p)return;const t=(0,i.default)(m)?m():null==m?[]:[m];if(t.length>0&&e.target instanceof Node)for(const o of t){const t=n.findDOMNode(o);if(t instanceof Node&&t.contains(e.target))return}v()},mouseDown:!0,touchStart:!0});return h?r.createElement(a.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},r.createElement("span",{ref:C,style:{pointerEvents:"auto"}},r.createElement(s.Menu,{...w,onClose:v,onKeyboardClose:g,onScroll:function(t){const{onScroll:o}=e;o&&o(t)},customCloseDelegate:E,customRemeasureDelegate:k,ref:t,"data-name":b,limitMaxWidth:D.setMenuMaxWidth},o))):null}},10381:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetCaret:()=>l});var r=o(50959),n=o(97754),i=o(9745),a=o(34587),s=o(578);function l(e){const{dropped:t,className:o}=e;return r.createElement(i.Icon,{className:n(o,a.icon,{[a.dropped]:t}),icon:s})}},86656:(e,t,o)=>{"use strict";o.d(t,{TouchScrollContainer:()=>s});var r=o(50959),n=o(59142),i=o(50151),a=o(49483);const s=(0,r.forwardRef)(((e,t)=>{const{children:o,...i}=e,s=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,(()=>s.current)),(0,r.useLayoutEffect)((()=>{if(a.CheckMobile.iOS())return null!==s.current&&(0,n.disableBodyScroll)(s.current,{allowTouchMove:l(s)}),()=>{null!==s.current&&(0,n.enableBodyScroll)(s.current)}}),[]),
r.createElement("div",{ref:s,...i},o)}));function l(e){return t=>{const o=(0,i.ensureNotNull)(e.current),r=document.activeElement;return!o.contains(t)||null!==r&&o.contains(r)&&r.contains(t)}}},78029:e=>{e.exports={button:"button-GwQQdU8S",hover:"hover-GwQQdU8S",isInteractive:"isInteractive-GwQQdU8S",accessible:"accessible-GwQQdU8S",isGrouped:"isGrouped-GwQQdU8S",isActive:"isActive-GwQQdU8S",isOpened:"isOpened-GwQQdU8S",isDisabled:"isDisabled-GwQQdU8S",text:"text-GwQQdU8S",icon:"icon-GwQQdU8S",endIcon:"endIcon-GwQQdU8S"}},2869:e=>{e.exports={button:"button-xNqEcuN2"}},42919:e=>{e.exports={button:"button-merBkM5y",hover:"hover-merBkM5y",accessible:"accessible-merBkM5y",arrow:"arrow-merBkM5y",arrowWrap:"arrowWrap-merBkM5y",isOpened:"isOpened-merBkM5y"}},12811:(e,t,o)=>{"use strict";o.d(t,{HorizontalAttachEdge:()=>n,HorizontalDropDirection:()=>a,VerticalAttachEdge:()=>r,VerticalDropDirection:()=>i,getPopupPositioner:()=>c});var r,n,i,a,s=o(50151);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom",e[e.AutoStrict=2]="AutoStrict"}(r||(r={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(n||(n={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(i||(i={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const l={verticalAttachEdge:r.Bottom,horizontalAttachEdge:n.Left,verticalDropDirection:i.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function c(e,t){return(o,c,d,u)=>{var h,p;const m=(0,s.ensureNotNull)(e).getBoundingClientRect(),{horizontalAttachEdge:f=l.horizontalAttachEdge,horizontalDropDirection:v=l.horizontalDropDirection,horizontalMargin:g=l.horizontalMargin,verticalMargin:b=l.verticalMargin,matchButtonAndListboxWidths:w=l.matchButtonAndListboxWidths}=t;let E=null!==(h=t.verticalAttachEdge)&&void 0!==h?h:l.verticalAttachEdge,D=null!==(p=t.verticalDropDirection)&&void 0!==p?p:l.verticalDropDirection;E===r.AutoStrict&&(u<m.y+m.height+b+c?(E=r.Top,D=i.FromBottomToTop):(E=r.Bottom,D=i.FromTopToBottom));const k=E===r.Top?-1*b:b,C=f===n.Right?m.right:m.left,x=E===r.Top?m.top:m.bottom,N={x:C-(v===a.FromRightToLeft?o:0)+g,y:x-(D===i.FromBottomToTop?c:0)+k};return w&&(N.overrideWidth=m.width),N}}},31409:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_TOOL_WIDGET_BUTTON_THEME:()=>s,ToolWidgetButton:()=>l});var r=o(50959),n=o(97754),i=o(9745),a=o(78029);const s=a,l=r.forwardRef(((e,t)=>{const{tag:o="div",icon:s,endIcon:l,isActive:c,isOpened:d,isDisabled:u,isGrouped:h,isHovered:p,onClick:m,text:f,textBeforeIcon:v,title:g,theme:b=a,className:w,forceInteractive:E,inactive:D,"data-name":k,"data-tooltip":C,...x}=e,N=n(w,b.button,(g||C)&&"apply-common-tooltip",{[b.isActive]:c,[b.isOpened]:d,[b.isInteractive]:(E||Boolean(m))&&!u&&!D,[b.isDisabled]:Boolean(u||D),[b.isGrouped]:h,[b.hover]:p}),O=s&&("string"==typeof s?r.createElement(i.Icon,{className:b.icon,icon:s}):r.cloneElement(s,{className:n(b.icon,s.props.className)}))
;return"button"===o?r.createElement("button",{...x,ref:t,type:"button",className:n(N,b.accessible),disabled:u&&!D,onClick:m,title:g,"data-name":k,"data-tooltip":C},v&&f&&r.createElement("div",{className:n("js-button-text",b.text)},f),O,!v&&f&&r.createElement("div",{className:n("js-button-text",b.text)},f)):r.createElement("div",{...x,ref:t,"data-role":"button",className:N,onClick:u?void 0:m,title:g,"data-name":k,"data-tooltip":C},v&&f&&r.createElement("div",{className:n("js-button-text",b.text)},f),O,!v&&f&&r.createElement("div",{className:n("js-button-text",b.text)},f),l&&r.createElement(i.Icon,{icon:l,className:a.endIcon}))}))},50813:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetIconButton:()=>s});var r=o(50959),n=o(97754),i=o(31409),a=o(2869);const s=r.forwardRef((function(e,t){const{className:o,id:s,...l}=e;return r.createElement(i.ToolWidgetButton,{"data-name":s,...l,ref:t,className:n(o,a.button)})}))},8087:(e,t,o)=>{"use strict";o.d(t,{ToolWidgetMenu:()=>f});var r=o(50959),n=o(97754),i=o(3343),a=o(20520),s=o(10381),l=o(90186),c=o(37558),d=o(41590),u=o(12811),h=o(90692),p=o(76460),m=o(42919);class f extends r.PureComponent{constructor(e){super(e),this._wrapperRef=null,this._controller=r.createRef(),this._handleWrapperRef=e=>{this._wrapperRef=e,this.props.reference&&this.props.reference(e)},this._handleOpen=()=>{var e;"div"!==this.props.tag&&(null===(e=this._controller.current)||void 0===e||e.focus())},this._handleClick=e=>{e.target instanceof Node&&e.currentTarget.contains(e.target)&&(this._handleToggleDropdown(void 0,(0,p.isKeyboardClick)(e)),this.props.onClick&&this.props.onClick(e,!this.state.isOpened))},this._handleToggleDropdown=(e,t=!1)=>{const{onClose:o,onOpen:r}=this.props,{isOpened:n}=this.state,i="boolean"==typeof e?e:!n;this.setState({isOpened:i,shouldReturnFocus:!!i&&t}),i&&r&&r(),!i&&o&&o()},this._handleClose=()=>{this.close()},this._handleKeyDown=e=>{var t;const{orientation:o="horizontal"}=this.props;if(e.defaultPrevented)return;if(!(e.target instanceof Node))return;const r=(0,i.hashFromEvent)(e);if(e.currentTarget.contains(e.target))switch(r){case 40:if("div"===this.props.tag||"horizontal"!==o)return;if(this.state.isOpened)return;e.preventDefault(),this._handleToggleDropdown(!0,!0);break;case 27:if(!this.state.isOpened||!this.props.closeOnEsc)return;e.preventDefault(),e.stopPropagation(),this._handleToggleDropdown(!1)}else{if("div"===this.props.tag)return;switch(r){case 27:{e.preventDefault();const{shouldReturnFocus:o}=this.state;this._handleToggleDropdown(!1),o&&(null===(t=this._wrapperRef)||void 0===t||t.focus());break}}}},this.state={isOpened:!1,shouldReturnFocus:!1}}render(){const{tag:e="div",id:t,arrow:o,content:i,isDisabled:a,isDrawer:c,isShowTooltip:d,title:u,className:p,hotKey:m,theme:f,drawerBreakpoint:v,tabIndex:g}=this.props,{isOpened:b}=this.state,w=n(p,f.button,{"apply-common-tooltip":d||!a,[f.isDisabled]:a,[f.isOpened]:b});return"button"===e?r.createElement("button",{type:"button",id:t,className:n(w,f.accessible),disabled:a,onClick:this._handleClick,title:u,"data-tooltip-hotkey":m,
ref:this._handleWrapperRef,onKeyDown:this._handleKeyDown,tabIndex:g,...(0,l.filterDataProps)(this.props),...(0,l.filterAriaProps)(this.props)},i,o&&r.createElement("div",{className:f.arrow},r.createElement("div",{className:f.arrowWrap},r.createElement(s.ToolWidgetCaret,{dropped:b}))),this.state.isOpened&&(v?r.createElement(h.MatchMedia,{rule:v},(e=>this._renderContent(e))):this._renderContent(c))):r.createElement("div",{id:t,className:w,onClick:a?void 0:this._handleClick,title:u,"data-tooltip-hotkey":m,ref:this._handleWrapperRef,"data-role":"button",tabIndex:g,onKeyDown:this._handleKeyDown,...(0,l.filterDataProps)(this.props)},i,o&&r.createElement("div",{className:f.arrow},r.createElement("div",{className:f.arrowWrap},r.createElement(s.ToolWidgetCaret,{dropped:b}))),this.state.isOpened&&(v?r.createElement(h.MatchMedia,{rule:v},(e=>this._renderContent(e))):this._renderContent(c)))}close(){this._handleToggleDropdown(!1)}focus(){var e;null===(e=this._wrapperRef)||void 0===e||e.focus()}update(){null!==this._controller.current&&this._controller.current.update()}_renderContent(e){const{menuDataName:t,minWidth:o,menuClassName:n,maxHeight:i,drawerPosition:s="Bottom",children:l}=this.props,{isOpened:h}=this.state,p={horizontalMargin:this.props.horizontalMargin||0,verticalMargin:this.props.verticalMargin||2,verticalAttachEdge:this.props.verticalAttachEdge,horizontalAttachEdge:this.props.horizontalAttachEdge,verticalDropDirection:this.props.verticalDropDirection,horizontalDropDirection:this.props.horizontalDropDirection,matchButtonAndListboxWidths:this.props.matchButtonAndListboxWidths},m=Boolean(h&&e&&s),f=function(e){return"function"==typeof e}(l)?l({isDrawer:m}):l;return m?r.createElement(c.DrawerManager,null,r.createElement(d.Drawer,{onClose:this._handleClose,position:s,"data-name":t},f)):r.createElement(a.PopupMenu,{reference:this.props.menuReference,controller:this._controller,closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:h,minWidth:o,onClose:this._handleClose,position:(0,u.getPopupPositioner)(this._wrapperRef,p),className:n,maxHeight:i,"data-name":t,tabIndex:"div"!==this.props.tag?-1:void 0,onOpen:this._handleOpen,onKeyDown:this.props.onMenuKeyDown,onFocus:this.props.onMenuFocus},f)}}f.defaultProps={arrow:!0,closeOnClickOutside:!0,theme:m}},578:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'}}]);

View File

@@ -0,0 +1 @@
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#6a6d78;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d;color:#868993}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-left:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-right:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#6a6d78;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}html.theme-dark .header-oc7l8ZQg{color:#868993}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#6a6d78;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}html.theme-dark .heading-sXALjK1u{color:#868993}.checkboxWrap-sXALjK1u{padding-right:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;max-width:680px;overflow:hidden;width:680px}.tablet-IKuIIugL{width:calc(100% - 20px)}.label-lVJKBKVk{margin-left:8px}

View File

@@ -0,0 +1 @@
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#6a6d78;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d;color:#868993}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-right:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-left:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#6a6d78;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}html.theme-dark .header-oc7l8ZQg{color:#868993}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#6a6d78;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}html.theme-dark .heading-sXALjK1u{color:#868993}.checkboxWrap-sXALjK1u{padding-left:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;max-width:680px;overflow:hidden;width:680px}.tablet-IKuIIugL{width:calc(100% - 20px)}.label-lVJKBKVk{margin-right:8px}

View File

@@ -1 +0,0 @@
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#787b86;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-left:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-right:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#787b86;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#787b86;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}.checkboxWrap-sXALjK1u{padding-right:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;max-width:680px;overflow:hidden;width:680px}.tablet-IKuIIugL{width:calc(100% - 20px)}.label-lVJKBKVk{margin-left:8px}

View File

@@ -1 +0,0 @@
.button-Rc93kXa8{background-color:#fff;border:none;border-radius:4px;color:#787b86;font-size:12px;height:22px;padding-left:8px;padding-right:8px;white-space:nowrap}html.theme-dark .button-Rc93kXa8{background-color:#1e222d}@media (any-hover:hover){.button-Rc93kXa8:hover{background-color:#e0e3eb;color:#131722}html.theme-dark .button-Rc93kXa8:hover{background-color:#5d606b;color:#d1d4dc}}.button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #e0e3eb;padding:0 7px}html.theme-dark .button-Rc93kXa8.bordersVisible-Rc93kXa8{border:1px solid #363a45}.button-Rc93kXa8.selected-Rc93kXa8{background-color:#90bff9;color:#131722}html.theme-dark .button-Rc93kXa8.selected-Rc93kXa8{background-color:#143a87;color:#d1d4dc}.button-Rc93kXa8+.button-Rc93kXa8{margin-right:8px}.wrap-oc7l8ZQg{align-items:center;border-bottom:1px solid #f0f3fa;display:flex;height:52px;padding-left:20px}html.theme-dark .wrap-oc7l8ZQg{border-bottom-color:#2a2e39}.header-oc7l8ZQg{color:#787b86;font-size:11px;line-height:16px;margin-top:2px;padding:8px 20px;text-transform:uppercase}.item-oc7l8ZQg{box-sizing:border-box;color:#131722;font-size:16px;height:40px;line-height:24px;padding:10px 16px}html.theme-dark .item-oc7l8ZQg{color:#d1d4dc}.item-oc7l8ZQg:active{background-color:#2962ff;color:#fff}html.theme-dark .item-oc7l8ZQg:active{background-color:#2962ff;color:#d1d4dc}.scrollable-sXALjK1u{-webkit-overflow-scrolling:touch;flex:1 1 auto;height:100%;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-sXALjK1u{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-sXALjK1u{min-height:auto}}.scrollable-sXALjK1u::-webkit-scrollbar{height:5px;width:5px}.scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-sXALjK1u::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-sXALjK1u::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-sXALjK1u::-webkit-scrollbar-corner{display:none}.spinnerWrap-sXALjK1u{height:100%;width:100%}.item-sXALjK1u:first-child{margin-top:6px}.item-sXALjK1u:last-child{margin-bottom:6px}.heading-sXALjK1u{color:#787b86;font-size:11px;line-height:16px;padding:16px 20px 8px;text-transform:uppercase}.checkboxWrap-sXALjK1u{padding-left:8px}.checkbox-sXALjK1u{align-items:baseline;display:flex;height:28px;justify-content:center;padding:0;width:28px}.emptyState-sXALjK1u{align-items:center;display:flex;flex-flow:column;height:100%;justify-content:center}.emptyState-sXALjK1u .image-sXALjK1u{align-items:center;display:flex;height:120px}.emptyState-sXALjK1u .text-sXALjK1u{color:#131722;font-size:16px;line-height:24px;margin-top:8px}html.theme-dark .emptyState-sXALjK1u .text-sXALjK1u{color:#d1d4dc}.dialog-IKuIIugL{height:565px;max-width:680px;overflow:hidden;width:680px}.tablet-IKuIIugL{width:calc(100% - 20px)}.label-lVJKBKVk{margin-right:8px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5711],{88803:e=>{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: 430px)"}},55596:e=>{e.exports={dialog:"dialog-b8SxMnzX",wrapper:"wrapper-b8SxMnzX",separator:"separator-b8SxMnzX",bounded:"bounded-b8SxMnzX"}},12228:e=>{e.exports={itemRow:"itemRow-BadjY5sX",favoriteButton:"favoriteButton-BadjY5sX",active:"active-BadjY5sX",selected:"selected-BadjY5sX",mobile:"mobile-BadjY5sX",itemInfo:"itemInfo-BadjY5sX",title:"title-BadjY5sX",details:"details-BadjY5sX",itemInfoWithPadding:"itemInfoWithPadding-BadjY5sX",favorite:"favorite-BadjY5sX",removeButton:"removeButton-BadjY5sX"}},69827:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-BZKENkhT",unsetAlign:"unsetAlign-BZKENkhT",title:"title-BZKENkhT",subtitle:"subtitle-BZKENkhT",textWrap:"textWrap-BZKENkhT",ellipsis:"ellipsis-BZKENkhT",close:"close-BZKENkhT",icon:"icon-BZKENkhT"}},82434:e=>{e.exports={scrollWrap:"scrollWrap-FaOvTD2r"}},77253:e=>{e.exports={wrap:"wrap-vSb6C0Bj","wrap--horizontal":"wrap--horizontal-vSb6C0Bj",bar:"bar-vSb6C0Bj",barInner:"barInner-vSb6C0Bj","barInner--horizontal":"barInner--horizontal-vSb6C0Bj","bar--horizontal":"bar--horizontal-vSb6C0Bj"}},14877:e=>{e.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},45719:e=>{e.exports={separator:"separator-Pf4rIzEt"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},39416:(e,t,r)=>{"use strict";r.d(t,{useFunctionalRefObject:()=>i});var n=r(50959),o=r(43010);function i(e){const t=(0,n.useMemo)((()=>function(e){const t=r=>{e(r),t.current=r};return t.current=null,t}((e=>{a.current(e)}))),[]),r=(0,n.useRef)(null),i=t=>{if(null===t)return s(r.current,t),void(r.current=null);r.current!==e&&(r.current=e,s(r.current,t))},a=(0,n.useRef)(i);return a.current=i,(0,o.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return a.current(t.current),()=>a.current(null)}),[e]),t}function s(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},43010:(e,t,r)=>{"use strict";r.d(t,{useIsomorphicLayoutEffect:()=>o});var n=r(50959);function o(e,t){("undefined"==typeof window?n.useEffect:n.useLayoutEffect)(e,t)}},67842:(e,t,r)=>{"use strict";r.d(t,{useResizeObserver:()=>a});var n=r(50959),o=r(59255),i=r(43010),s=r(39416);function a(e,t=[]){const{callback:r,ref:a=null}=function(e){return"function"==typeof e?{callback:e}:e}(e),l=(0,n.useRef)(null),c=(0,n.useRef)(r);c.current=r;const u=(0,s.useFunctionalRefObject)(a),d=(0,n.useCallback)((e=>{u(e),null!==l.current&&(l.current.disconnect(),null!==e&&l.current.observe(e))}),[u,l]);return(0,i.useIsomorphicLayoutEffect)((()=>(l.current=new o.default(((e,t)=>{c.current(e,t)})),u.current&&d(u.current),()=>{var e
;null===(e=l.current)||void 0===e||e.disconnect()})),[u,...t]),d}},53017:(e,t,r)=>{"use strict";function n(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function o(e){return n([e])}r.d(t,{isomorphicRef:()=>o,mergeRefs:()=>n})},24437:(e,t,r)=>{"use strict";r.d(t,{DialogBreakpoints:()=>o});var n=r(88803);const o={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},35057:(e,t,r)=>{"use strict";r.d(t,{AdaptivePopupDialog:()=>B});var n=r(50959),o=r(50151);var i=r(97754),s=r.n(i),a=r(68335),l=r(38223),c=r(35749),u=r(63016),d=r(1109),h=r(24437),f=r(90692),p=r(95711);var v=r(52092),m=r(76422),g=r(9745);const b=n.createContext({setHideClose:()=>{}});var N=r(7720),C=r(69827);function w(e){const{title:t,titleTextWrap:r=!1,subtitle:o,showCloseIcon:i=!0,onClose:a,onCloseButtonKeyDown:l,renderBefore:c,renderAfter:u,draggable:d,className:h,unsetAlign:f,closeAriaLabel:p,closeButtonReference:v}=e,[m,w]=(0,n.useState)(!1);return n.createElement(b.Provider,{value:{setHideClose:w}},n.createElement("div",{className:s()(C.container,h,(o||f)&&C.unsetAlign)},c,n.createElement("div",{"data-dragg-area":d,className:C.title},n.createElement("div",{className:s()(r?C.textWrap:C.ellipsis)},t),o&&n.createElement("div",{className:s()(C.ellipsis,C.subtitle)},o)),u,i&&!m&&n.createElement("button",{className:C.close,onClick:a,onKeyDown:l,"data-name":"close","aria-label":p,type:"button",ref:v},n.createElement(g.Icon,{className:C.icon,icon:N,"data-name":"close","data-role":"button"}))))}var E=r(53017),_=r(90186),P=r(55596);const k={vertical:20},S={vertical:0};class B extends n.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleCloseBtnClick=()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleClose()},this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(h.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{if(!e.defaultPrevented){if(this.props.onKeyDown&&this.props.onKeyDown(e),27===(0,a.hashFromEvent)(e)){if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose();const{activeElement:r}=document,n=(0,o.ensureNotNull)(this._reference);if(null!==r){if(e.preventDefault(),"true"===(t=r).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,c.isTextEditingField)(r))return void n.focus();if(n.contains(r))return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose()}}var t,r;(function(e){if("function"==typeof e)return e()
;return Boolean(e)})(this.props.disableTabNavigationContainment)||(r=e,[9,a.Modifiers.Shift+9].includes((0,a.hashFromEvent)(r))&&r.stopPropagation())}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()},this._calculatePositionWithOffsets=(e,t)=>{const r=(0,o.ensureDefined)(this.props.fullScreenViewOffsets).value();return{top:r.top,left:(0,l.isRtl)()?-r.right:r.left,width:t.clientWidth-r.left-r.right,height:t.clientHeight-r.top-r.bottom}}}componentDidMount(){var e,t;this.props.ignoreClosePopupsAndDialog||m.subscribe(v.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t)),this.props.fullScreenViewOffsets&&this.props.fullScreen&&this.props.fullScreenViewOffsets.subscribe(this._requestResize)}componentWillUnmount(){var e,t;this.props.ignoreClosePopupsAndDialog||m.unsubscribe(v.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t)),this.props.fullScreenViewOffsets&&this.props.fullScreen&&this.props.fullScreenViewOffsets.unsubscribe(this._requestResize)}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,r;return null!==(r=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==r&&r}render(){const{className:e,wrapperClassName:t,headerClassName:r,isOpened:o,title:i,titleTextWrap:a,dataName:l,onClickOutside:c,additionalElementPos:v,additionalHeaderElement:m,backdrop:g,shouldForceFocus:b=!0,shouldReturnFocus:N,showSeparator:C,subtitle:B,draggable:z=!0,fullScreen:L=!1,showCloseIcon:M=!0,rounded:D=!0,isAnimationEnabled:x,growPoint:R,dialogTooltip:O,unsetHeaderAlign:y,onDragStart:A,dataDialogName:T,closeAriaLabel:F,containerAriaLabel:I,reference:H,containerTabIndex:W,closeButtonReference:K,onCloseButtonKeyDown:j,shadowed:Y,fullScreenViewOffsets:X}=this.props,Q="after"!==v?m:void 0,V="after"===v?m:void 0,Z="string"==typeof i?i:T||"",G=(0,_.filterDataProps)(this.props),U=(0,E.mergeRefs)([this._handleReference,H]);return n.createElement(f.MatchMedia,{rule:h.DialogBreakpoints.SmallHeight},(v=>n.createElement(f.MatchMedia,{rule:h.DialogBreakpoints.TabletSmall},(h=>n.createElement(u.PopupDialog,{rounded:!(h||L)&&D,className:s()(P.dialog,L&&X&&P.bounded,e),isOpened:o,reference:U,onKeyDown:this._handleKeyDown,onClickOutside:c,onClickBackdrop:c,fullscreen:h||L,guard:v?S:k,boundByScreen:h||L,shouldForceFocus:b,shouldReturnFocus:N,backdrop:g,draggable:z,isAnimationEnabled:x,growPoint:R,name:this.props.dataName,dialogTooltip:O,onDragStart:A,containerAriaLabel:I,containerTabIndex:W,
calculateDialogPosition:L&&X?this._calculatePositionWithOffsets:void 0,shadowed:Y,...G},n.createElement("div",{className:s()(P.wrapper,t),"data-name":l,"data-dialog-name":Z},void 0!==i&&n.createElement(w,{draggable:z&&!(h||L),onClose:this._handleCloseBtnClick,renderAfter:V,renderBefore:Q,subtitle:B,title:i,titleTextWrap:a,showCloseIcon:M,className:r,unsetAlign:y,closeAriaLabel:F,closeButtonReference:K,onCloseButtonKeyDown:j}),C&&n.createElement(d.Separator,{className:P.separator}),n.createElement(p.PopupContext.Consumer,null,(e=>this._renderChildren(e,h||L)))))))))}}},64530:(e,t,r)=>{"use strict";r.d(t,{DialogContentItem:()=>d});var n=r(50959),o=r(97754),i=r.n(o),s=r(49483),a=r(36189),l=r(96040);function c(e){const{url:t,...r}=e;return t?n.createElement("a",{...r,href:t}):n.createElement("div",{...r})}var u=r(12228);function d(e){const{title:t,subtitle:r,removeBtnLabel:o,onClick:d,onClickFavorite:f,onClickRemove:p,isActive:v,isSelected:m,isFavorite:g,isMobile:b=!1,showFavorite:N=!0,...C}=e;return n.createElement(c,{...C,className:i()(u.itemRow,v&&!m&&u.active,b&&u.mobile,m&&u.selected),onClick:h.bind(null,d),"data-role":"list-item","data-active":v},N&&f&&n.createElement(a.FavoriteButton,{className:i()(u.favoriteButton,g&&u.favorite,s.CheckMobile.any()&&u.mobile),isActive:v&&!m,isFilled:g,onClick:h.bind(null,f),"data-name":"list-item-favorite-button","data-favorite":g}),n.createElement("div",{className:i()(u.itemInfo,!N&&u.itemInfoWithPadding)},n.createElement("div",{className:i()(u.title,v&&!m&&u.active,b&&u.mobile),"data-name":"list-item-title"},t),n.createElement("div",{className:i()(u.details,v&&!m&&u.active,b&&u.mobile)},r)),n.createElement(l.RemoveButton,{className:u.removeButton,isActive:v&&!m,onClick:h.bind(null,p),"data-name":"list-item-remove-button",title:o}))}function h(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}},3085:(e,t,r)=>{"use strict";r.d(t,{OverlayScrollContainer:()=>v});var n=r(50959),o=r(97754),i=r.n(o),s=r(38223),a=r(50151),l=r(37160);const c=r(77253),u={0:{isHorizontal:!1,isNegative:!1,sizePropName:"height",minSizePropName:"minHeight",startPointPropName:"top",currentMousePointPropName:"clientY",progressBarTransform:"translateY"},1:{isHorizontal:!0,isNegative:!1,sizePropName:"width",minSizePropName:"minWidth",startPointPropName:"left",currentMousePointPropName:"clientX",progressBarTransform:"translateX"},2:{isHorizontal:!0,isNegative:!0,sizePropName:"width",minSizePropName:"minWidth",startPointPropName:"right",currentMousePointPropName:"clientX",progressBarTransform:"translateX"}},d=40;function h(e){const{size:t,scrollSize:r,clientSize:o,scrollProgress:s,onScrollProgressChange:h,scrollMode:f,theme:p=c,onDragStart:v,onDragEnd:m,minBarSize:g=d}=e,b=(0,n.useRef)(null),N=(0,n.useRef)(null),[C,w]=(0,n.useState)(!1),E=(0,n.useRef)(0),{isHorizontal:_,isNegative:P,sizePropName:k,minSizePropName:S,startPointPropName:B,currentMousePointPropName:z,progressBarTransform:L}=u[f];(0,n.useEffect)((()=>{const e=(0,a.ensureNotNull)(b.current).ownerDocument;return C?(v&&v(),
e&&(e.addEventListener("mousemove",F),e.addEventListener("mouseup",I))):m&&m(),()=>{e&&(e.removeEventListener("mousemove",F),e.removeEventListener("mouseup",I))}}),[C]);const M=t/r||0,D=o*M||0,x=Math.max(D,g),R=(t-x)/(t-D),O=r-t,y=P?-O:0,A=P?0:O,T=W((0,l.clamp)(s,y,A))||0;return n.createElement("div",{ref:b,className:i()(p.wrap,_&&p["wrap--horizontal"]),style:{[k]:t},onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();const t=H(e.nativeEvent,(0,a.ensureNotNull)(b.current)),r=Math.sign(t),n=(0,a.ensureNotNull)(N.current).getBoundingClientRect();E.current=r*n[k]/2;let o=Math.abs(t)-Math.abs(E.current);const i=W(O);o<0?(o=0,E.current=t):o>i&&(o=i,E.current=t-r*i);h(K(r*o)),w(!0)}},n.createElement("div",{ref:N,className:i()(p.bar,_&&p["bar--horizontal"]),style:{[S]:g,[k]:x,transform:`${L}(${T}px)`},onMouseDown:function(e){e.preventDefault(),E.current=H(e.nativeEvent,(0,a.ensureNotNull)(N.current)),w(!0)}},n.createElement("div",{className:i()(p.barInner,_&&p["barInner--horizontal"])})));function F(e){const t=H(e,(0,a.ensureNotNull)(b.current))-E.current;h(K(t))}function I(){w(!1)}function H(e,t){const r=t.getBoundingClientRect()[B];return e[z]-r}function W(e){return e*M*R}function K(e){return e/M/R}}var f=r(70412),p=r(82434);function v(e){const{reference:t,className:r,containerHeight:i=0,containerWidth:a=0,contentHeight:l=0,contentWidth:c=0,scrollPosTop:u=0,scrollPosLeft:d=0,onVerticalChange:v,onHorizontalChange:m,visible:g}=e,[b,N]=(0,f.useHover)(),[C,w]=(0,n.useState)(!1),E=i<l,_=a<c,P=E&&_?8:0;return n.createElement("div",{...N,ref:t,className:o(r,p.scrollWrap),style:{visibility:g||b||C?"visible":"hidden"}},E&&n.createElement(h,{size:i-P,scrollSize:l-P,clientSize:i-P,scrollProgress:u,onScrollProgressChange:function(e){v&&v(e)},onDragStart:k,onDragEnd:S,scrollMode:0}),_&&n.createElement(h,{size:a-P,scrollSize:c-P,clientSize:a-P,scrollProgress:d,onScrollProgressChange:function(e){m&&m(e)},onDragStart:k,onDragEnd:S,scrollMode:(0,s.isRtl)()?2:1}));function k(){w(!0)}function S(){w(!1)}}},36189:(e,t,r)=>{"use strict";r.d(t,{FavoriteButton:()=>d});var n=r(44352),o=r(50959),i=r(97754),s=r(9745),a=r(39146),l=r(48010),c=r(14877);const u={add:n.t(null,void 0,r(44629)),remove:n.t(null,void 0,r(72482))};function d(e){const{className:t,isFilled:r,isActive:n,onClick:d,...h}=e;return o.createElement(s.Icon,{...h,className:i(c.favorite,"apply-common-tooltip",r&&c.checked,n&&c.active,t),icon:r?a:l,onClick:d,title:r?u.remove:u.add})}},898:(e,t,r)=>{"use strict";r.d(t,{useDimensions:()=>i});var n=r(50959),o=r(67842);function i(){const[e,t]=(0,n.useState)(null),r=(0,n.useCallback)((([r])=>{const n=r.target.getBoundingClientRect();n.width===(null==e?void 0:e.width)&&n.height===e.height||t(n)}),[e]);return[(0,o.useResizeObserver)(r),e]}},70412:(e,t,r)=>{"use strict";r.d(t,{hoverMouseEventFilter:()=>i,useAccurateHover:()=>s,useHover:()=>o});var n=r(50959);function o(){const[e,t]=(0,n.useState)(!1);return[e,{onMouseOver:function(e){i(e)&&t(!0)},onMouseOut:function(e){i(e)&&t(!1)}}]}function i(e){
return!e.currentTarget.contains(e.relatedTarget)}function s(e){const[t,r]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{const t=t=>{if(null===e.current)return;const n=e.current.contains(t.target);r(n)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},33127:(e,t,r)=>{"use strict";r.d(t,{useOverlayScroll:()=>l});var n=r(50959),o=r(50151),i=r(70412),s=r(49483);const a={onMouseOver:()=>{},onMouseOut:()=>{}};function l(e,t=s.CheckMobile.any()){const r=(0,n.useRef)(null),l=e||(0,n.useRef)(null),[c,u]=(0,i.useHover)(),[d,h]=(0,n.useState)({reference:r,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){h((t=>({...t,scrollPosTop:e}))),(0,o.ensureNotNull)(l.current).scrollTop=e},onHorizontalChange:function(e){h((t=>({...t,scrollPosLeft:e}))),(0,o.ensureNotNull)(l.current).scrollLeft=e},visible:c}),f=(0,n.useCallback)((()=>{if(!l.current)return;const{clientHeight:e,scrollHeight:t,scrollTop:n,clientWidth:o,scrollWidth:i,scrollLeft:s}=l.current,a=r.current?r.current.offsetTop:0;h((r=>({...r,containerHeight:e-a,contentHeight:t-a,scrollPosTop:n,containerWidth:o,contentWidth:i,scrollPosLeft:s})))}),[]);function p(){h((e=>({...e,scrollPosTop:(0,o.ensureNotNull)(l.current).scrollTop,scrollPosLeft:(0,o.ensureNotNull)(l.current).scrollLeft})))}return(0,n.useEffect)((()=>{c&&f(),h((e=>({...e,visible:c})))}),[c]),(0,n.useEffect)((()=>{const e=l.current;return e&&e.addEventListener("scroll",p),()=>{e&&e.removeEventListener("scroll",p)}}),[l]),[d,t?a:u,l,f]}},1109:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>s});var n=r(50959),o=r(97754),i=r(45719);function s(e){return n.createElement("div",{className:o(i.separator,e.className)})}},96040:(e,t,r)=>{"use strict";r.d(t,{RemoveButton:()=>c});var n=r(44352),o=r(50959),i=r(97754),s=r(9745),a=r(33765),l=r(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:d,title:h,hidden:f,"data-name":p="remove-button",...v}=e;return o.createElement(s.Icon,{...v,"data-name":p,className:i(l.button,"apply-common-tooltip",c&&l.active,f&&l.hidden,t),icon:a,onClick:u,onMouseDown:d,title:h||n.t(null,void 0,r(34596))})}},33765:e=>{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>'},7720:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="currentColor"><path d="m.58 1.42.82-.82 15 15-.82.82z"/><path d="m.58 15.58 15-15 .82.82-15 15z"/></svg>'},39146:e=>{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>'},48010:e=>{
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>'},44629:e=>{e.exports={ar:["اضف إلى القائمة التفضيلات"],ca_ES:["Afegeix a preferits"],cs:["Přidat do oblíbených"],de:["Zu Favoriten hinzufügen"],el:["Προσθήκη στα αγαπημένα"],en:"Add to favorites",es:["Añadir a favoritos"],fa:["افزودن به موارد مورد علاقه"],fr:["Ajouter aux favoris"],he_IL:["הוסף למועדפים"],hu_HU:["Hozzáadás kedvencekhez"],id_ID:["Tambah ke daftar favorit"],it:["Aggiungi ai preferiti"],ja:["お気に入りに追加"],ko:["즐겨찾기에 넣기"],ms_MY:["Tambah kepada kegemaran"],nl_NL:["Voeg toe aan favorieten"],pl:["Dodaj do ulubionych"],pt:["Adicionar aos favoritos"],ro:"Add to favorites",ru:["Добавить в избранное"],sv:["Lägg till som favorit"],th:["เพิ่มลงรายการโปรด"],tr:["Favorilere ekle"],vi:["Thêm vào mục yêu thích"],zh:["添加到收藏"],zh_TW:["加入收藏"]}},72482:e=>{e.exports={ar:["حذف من القائمة المفضلة"],ca_ES:["Treure de preferits"],cs:["Odebrat z oblíbených"],de:["Aus Favoriten entfernen"],el:["Διαγραφή απο τα αγαπημένα"],en:"Remove from favorites",es:["Quitar de favoritos"],fa:["حذف از موارد مورد علاقه"],fr:["Retirer des favoris"],he_IL:["הסר ממועדפים"],hu_HU:["Eltávolít kedvencek közül"],id_ID:["Hilangkan dari favorit"],it:["Rimuovi dai preferiti"],ja:["お気に入りから削除"],ko:["즐겨찾기지움"],ms_MY:["Buang dari kegemaran"],nl_NL:["Verwijder van favorieten"],pl:["Usuń z ulubionych"],pt:["Remover dos favoritos"],ro:"Remove from favorites",ru:["Удалить из предпочтений"],sv:["Ta bort från favoriter"],th:["ลบออกจากรายการโปรด"],tr:["Favorilerimden çıkar"],vi:["Loại bỏ khỏi mục yêu thích"],zh:["从收藏中移除"],zh_TW:["從收藏移除"]}}}]);

View File

@@ -1,7 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5711],{88803:e=>{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: 430px)"}},55596:e=>{e.exports={dialog:"dialog-b8SxMnzX",wrapper:"wrapper-b8SxMnzX",separator:"separator-b8SxMnzX"}},12228:e=>{e.exports={itemRow:"itemRow-BadjY5sX",favoriteButton:"favoriteButton-BadjY5sX",active:"active-BadjY5sX",selected:"selected-BadjY5sX",mobile:"mobile-BadjY5sX",itemInfo:"itemInfo-BadjY5sX",title:"title-BadjY5sX",details:"details-BadjY5sX",itemInfoWithPadding:"itemInfoWithPadding-BadjY5sX",favorite:"favorite-BadjY5sX",removeButton:"removeButton-BadjY5sX"}},69827:e=>{e.exports={"small-height-breakpoint":"screen and (max-height: 360px)",container:"container-BZKENkhT",unsetAlign:"unsetAlign-BZKENkhT",title:"title-BZKENkhT",subtitle:"subtitle-BZKENkhT",textWrap:"textWrap-BZKENkhT",ellipsis:"ellipsis-BZKENkhT",close:"close-BZKENkhT",icon:"icon-BZKENkhT"}},82434:e=>{e.exports={scrollWrap:"scrollWrap-FaOvTD2r"}},77253:e=>{e.exports={wrap:"wrap-vSb6C0Bj","wrap--horizontal":"wrap--horizontal-vSb6C0Bj",bar:"bar-vSb6C0Bj",barInner:"barInner-vSb6C0Bj","barInner--horizontal":"barInner--horizontal-vSb6C0Bj","bar--horizontal":"bar--horizontal-vSb6C0Bj"}},14877:e=>{e.exports={favorite:"favorite-_FRQhM5Y",hovered:"hovered-_FRQhM5Y",disabled:"disabled-_FRQhM5Y",active:"active-_FRQhM5Y",checked:"checked-_FRQhM5Y"}},45719:e=>{e.exports={separator:"separator-Pf4rIzEt"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},39416:(e,t,n)=>{"use strict";n.d(t,{useFunctionalRefObject:()=>i});var r=n(50959),o=n(43010);function i(e){const t=(0,r.useMemo)((()=>function(e){const t=n=>{e(n),t.current=n};return t.current=null,t}((e=>{s.current(e)}))),[]),n=(0,r.useRef)(null),i=t=>{if(null===t)return a(n.current,t),void(n.current=null);n.current!==e&&(n.current=e,a(n.current,t))},s=(0,r.useRef)(i);return s.current=i,(0,o.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return s.current(t.current),()=>s.current(null)}),[e]),t}function a(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},43010:(e,t,n)=>{"use strict";n.d(t,{useIsomorphicLayoutEffect:()=>o});var r=n(50959);function o(e,t){("undefined"==typeof window?r.useEffect:r.useLayoutEffect)(e,t)}},67842:(e,t,n)=>{"use strict";n.d(t,{useResizeObserver:()=>s});var r=n(50959),o=n(59255),i=n(43010),a=n(39416);function s(e,t=[]){const{callback:n,ref:s=null}=function(e){return"function"==typeof e?{callback:e}:e}(e),l=(0,r.useRef)(null),c=(0,r.useRef)(n);c.current=n;const u=(0,a.useFunctionalRefObject)(s),d=(0,r.useCallback)((e=>{u(e),null!==l.current&&(l.current.disconnect(),null!==e&&l.current.observe(e))}),[u,l]);return(0,i.useIsomorphicLayoutEffect)((()=>(l.current=new o.default(((e,t)=>{c.current(e,t)})),u.current&&d(u.current),()=>{var e;null===(e=l.current)||void 0===e||e.disconnect()})),[u,...t]),d}},
53017:(e,t,n)=>{"use strict";function r(e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}function o(e){return r([e])}n.d(t,{isomorphicRef:()=>o,mergeRefs:()=>r})},24437:(e,t,n)=>{"use strict";n.d(t,{DialogBreakpoints:()=>o});var r=n(88803);const o={SmallHeight:r["small-height-breakpoint"],TabletSmall:r["tablet-small-breakpoint"],TabletNormal:r["tablet-normal-breakpoint"]}},35057:(e,t,n)=>{"use strict";n.d(t,{AdaptivePopupDialog:()=>B});var r=n(50959),o=n(50151);var i=n(97754),a=n.n(i),s=n(68335),l=n(35749),c=n(63016),u=n(1109),d=n(24437),h=n(90692),v=n(95711);var f=n(52092),p=n(76422),m=n(9745);const g=r.createContext({setHideClose:()=>{}});var b=n(7720),C=n(69827);function E(e){const{title:t,titleTextWrap:n=!1,subtitle:o,showCloseIcon:i=!0,onClose:s,onCloseButtonKeyDown:l,renderBefore:c,renderAfter:u,draggable:d,className:h,unsetAlign:v,closeAriaLabel:f,closeButtonReference:p}=e,[E,w]=(0,r.useState)(!1);return r.createElement(g.Provider,{value:{setHideClose:w}},r.createElement("div",{className:a()(C.container,h,(o||v)&&C.unsetAlign)},c,r.createElement("div",{"data-dragg-area":d,className:C.title},r.createElement("div",{className:a()(n?C.textWrap:C.ellipsis)},t),o&&r.createElement("div",{className:a()(C.ellipsis,C.subtitle)},o)),u,i&&!E&&r.createElement("button",{className:C.close,onClick:s,onKeyDown:l,"data-name":"close","aria-label":f,type:"button",ref:p},r.createElement(m.Icon,{className:C.icon,icon:b,"data-name":"close","data-role":"button"}))))}var w=n(53017),N=n(55596);const k={vertical:20},_={vertical:0};class B extends r.PureComponent{constructor(){super(...arguments),this._controller=null,this._reference=null,this._orientationMediaQuery=null,this._renderChildren=(e,t)=>(this._controller=e,this.props.render({requestResize:this._requestResize,centerAndFit:this._centerAndFit,isSmallWidth:t})),this._handleReference=e=>this._reference=e,this._handleCloseBtnClick=()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleClose()},this._handleClose=()=>{this.props.onClose()},this._handleOpen=()=>{void 0!==this.props.onOpen&&this.props.isOpened&&this.props.onOpen(this.props.fullScreen||window.matchMedia(d.DialogBreakpoints.TabletSmall).matches)},this._handleKeyDown=e=>{if(!e.defaultPrevented){if(this.props.onKeyDown&&this.props.onKeyDown(e),27===(0,s.hashFromEvent)(e)){if(e.defaultPrevented)return;if(this.props.forceCloseOnEsc&&this.props.forceCloseOnEsc())return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose();const{activeElement:n}=document,r=(0,o.ensureNotNull)(this._reference);if(null!==n){if(e.preventDefault(),"true"===(t=n).getAttribute("data-haspopup")&&"true"!==t.getAttribute("data-expanded"))return void this._handleClose();if((0,l.isTextEditingField)(n))return void r.focus();if(r.contains(n))return this.props.onKeyboardClose&&this.props.onKeyboardClose(),void this._handleClose()}}var t,n;(function(e){if("function"==typeof e)return e();return Boolean(e)})(this.props.disableTabNavigationContainment)||(n=e,
[9,s.Modifiers.Shift+9].includes((0,s.hashFromEvent)(n))&&n.stopPropagation())}},this._requestResize=()=>{null!==this._controller&&this._controller.recalculateBounds()},this._centerAndFit=()=>{null!==this._controller&&this._controller.centerAndFit()}}componentDidMount(){var e,t;this.props.ignoreClosePopupsAndDialog||p.subscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),this._handleOpen(),void 0!==this.props.onOpen&&(this._orientationMediaQuery=window.matchMedia("(orientation: portrait)"),e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.addEventListener)?e.addEventListener("change",t):e.addListener(t))}componentWillUnmount(){var e,t;this.props.ignoreClosePopupsAndDialog||p.unsubscribe(f.CLOSE_POPUPS_AND_DIALOGS_COMMAND,this._handleClose,null),null!==this._orientationMediaQuery&&(e=this._orientationMediaQuery,t=this._handleOpen,(null==e?void 0:e.removeEventListener)?e.removeEventListener("change",t):e.removeListener(t))}focus(){(0,o.ensureNotNull)(this._reference).focus()}getElement(){return this._reference}contains(e){var t,n;return null!==(n=null===(t=this._reference)||void 0===t?void 0:t.contains(e))&&void 0!==n&&n}render(){const{className:e,wrapperClassName:t,headerClassName:n,isOpened:o,title:i,titleTextWrap:s,dataName:l,onClickOutside:f,additionalElementPos:p,additionalHeaderElement:m,backdrop:g,shouldForceFocus:b=!0,shouldReturnFocus:C,showSeparator:B,subtitle:L,draggable:S=!0,fullScreen:x=!1,showCloseIcon:D=!0,rounded:z=!0,isAnimationEnabled:y,growPoint:R,dialogTooltip:A,unsetHeaderAlign:M,onDragStart:P,dataDialogName:T,closeAriaLabel:O,containerAriaLabel:F,reference:I,containerTabIndex:K,closeButtonReference:H,onCloseButtonKeyDown:W}=this.props,j="after"!==p?m:void 0,Y="after"===p?m:void 0,Q="string"==typeof i?i:T||"",X=(0,w.mergeRefs)([this._handleReference,I]);return r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.SmallHeight},(p=>r.createElement(h.MatchMedia,{rule:d.DialogBreakpoints.TabletSmall},(d=>r.createElement(c.PopupDialog,{rounded:!(d||x)&&z,className:a()(N.dialog,e),isOpened:o,reference:X,onKeyDown:this._handleKeyDown,onClickOutside:f,onClickBackdrop:f,fullscreen:d||x,guard:p?_:k,boundByScreen:d||x,shouldForceFocus:b,shouldReturnFocus:C,backdrop:g,draggable:S,isAnimationEnabled:y,growPoint:R,name:this.props.dataName,dialogTooltip:A,onDragStart:P,containerAriaLabel:F,containerTabIndex:K},r.createElement("div",{className:a()(N.wrapper,t),"data-name":l,"data-dialog-name":Q},void 0!==i&&r.createElement(E,{draggable:S&&!(d||x),onClose:this._handleCloseBtnClick,renderAfter:Y,renderBefore:j,subtitle:L,title:i,titleTextWrap:s,showCloseIcon:D,className:n,unsetAlign:M,closeAriaLabel:O,closeButtonReference:H,onCloseButtonKeyDown:W}),B&&r.createElement(u.Separator,{className:N.separator}),r.createElement(v.PopupContext.Consumer,null,(e=>this._renderChildren(e,d||x)))))))))}}},64530:(e,t,n)=>{"use strict";n.d(t,{DialogContentItem:()=>d});var r=n(50959),o=n(97754),i=n.n(o),a=n(49483),s=n(36189),l=n(96040);function c(e){const{url:t,...n}=e;return t?r.createElement("a",{
...n,href:t}):r.createElement("div",{...n})}var u=n(12228);function d(e){const{title:t,subtitle:n,removeBtnLabel:o,onClick:d,onClickFavorite:v,onClickRemove:f,isActive:p,isSelected:m,isFavorite:g,isMobile:b=!1,showFavorite:C=!0,...E}=e;return r.createElement(c,{...E,className:i()(u.itemRow,p&&!m&&u.active,b&&u.mobile,m&&u.selected),onClick:h.bind(null,d),"data-role":"list-item","data-active":p},C&&v&&r.createElement(s.FavoriteButton,{className:i()(u.favoriteButton,g&&u.favorite,a.CheckMobile.any()&&u.mobile),isActive:p&&!m,isFilled:g,onClick:h.bind(null,v),"data-name":"list-item-favorite-button","data-favorite":g}),r.createElement("div",{className:i()(u.itemInfo,!C&&u.itemInfoWithPadding)},r.createElement("div",{className:i()(u.title,p&&!m&&u.active,b&&u.mobile),"data-name":"list-item-title"},t),r.createElement("div",{className:i()(u.details,p&&!m&&u.active,b&&u.mobile)},n)),r.createElement(l.RemoveButton,{className:u.removeButton,isActive:p&&!m,onClick:h.bind(null,f),"data-name":"list-item-remove-button",title:o}))}function h(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}},3085:(e,t,n)=>{"use strict";n.d(t,{OverlayScrollContainer:()=>v});var r=n(50959),o=n(97754),i=n.n(o),a=n(50151),s=n(37160),l=n(38223);const c=n(77253);function u(e){const{size:t,scrollSize:n,clientSize:o,scrollProgress:u,onScrollProgressChange:d,horizontal:h,theme:v=c,onDragStart:f,onDragEnd:p,minBarSize:m=40}=e,g=(0,r.useRef)(null),b=(0,r.useRef)(null),[C,E]=(0,r.useState)(!1),w=(0,r.useRef)(0);(0,r.useEffect)((()=>{const e=(0,a.ensureNotNull)(g.current).ownerDocument;return C?(f&&f(),e&&(e.addEventListener("mousemove",S),e.addEventListener("mouseup",x))):p&&p(),()=>{e&&(e.removeEventListener("mousemove",S),e.removeEventListener("mouseup",x))}}),[C]);const N=t/n||0,k=o*N||0,_=Math.max(k,m),B=(t-_)/(t-k),L=function(e){if((0,l.isRtl)()&&h)return e-n+o;return e}((0,s.clamp)(u,0,n-t));return r.createElement("div",{ref:g,className:i()(v.wrap,h&&v["wrap--horizontal"]),style:{[h?"width":"height"]:t},onMouseDown:function(e){if(e.isDefaultPrevented())return;e.preventDefault();const r=(0,a.ensureNotNull)(b.current).getBoundingClientRect();w.current=(h?r.width:r.height)/2;const o=n-t;let i=D(e.nativeEvent,(0,a.ensureNotNull)(g.current))-w.current;i<0?(i=0,w.current=D(e.nativeEvent,(0,a.ensureNotNull)(g.current))):i>o*N*B&&(i=o*N*B,w.current=D(e.nativeEvent,(0,a.ensureNotNull)(g.current))-i);d(i/N/B),E(!0)}},r.createElement("div",{ref:b,className:i()(v.bar,h&&v["bar--horizontal"]),style:{[h?"minWidth":"minHeight"]:m,[h?"width":"height"]:_,transform:`translate${h?"X":"Y"}(${L*N*B||0}px)`},onMouseDown:function(e){e.preventDefault(),w.current=D(e.nativeEvent,(0,a.ensureNotNull)(b.current)),E(!0)}},r.createElement("div",{className:i()(v.barInner,h&&v["barInner--horizontal"])})));function S(e){const t=D(e,(0,a.ensureNotNull)(g.current))-w.current;d(t/N/B)}function x(e){E(!1)}function D(e,t){const n=t.getBoundingClientRect();return h?e.clientX-n.left:e.clientY-n.top}}var d=n(70412),h=n(82434);function v(e){
const{reference:t,className:n,containerHeight:i=0,containerWidth:a=0,contentHeight:s=0,contentWidth:l=0,scrollPosTop:c=0,scrollPosLeft:v=0,onVerticalChange:f,onHorizontalChange:p,visible:m}=e,[g,b]=(0,d.useHover)(),[C,E]=(0,r.useState)(!1),w=i<s,N=a<l,k=w&&N?8:0;return r.createElement("div",{...b,ref:t,className:o(n,h.scrollWrap),style:{visibility:m||g||C?"visible":"hidden"}},w&&r.createElement(u,{size:i-k,scrollSize:s-k,clientSize:i-k,scrollProgress:c,onScrollProgressChange:function(e){f&&f(e)},onDragStart:_,onDragEnd:B}),N&&r.createElement(u,{size:a-k,scrollSize:l-k,clientSize:a-k,scrollProgress:v,onScrollProgressChange:function(e){p&&p(e)},onDragStart:_,onDragEnd:B,horizontal:!0}));function _(){E(!0)}function B(){E(!1)}}},36189:(e,t,n)=>{"use strict";n.d(t,{FavoriteButton:()=>d});var r=n(44352),o=n(50959),i=n(97754),a=n(9745),s=n(39146),l=n(48010),c=n(14877);const u={add:r.t(null,void 0,n(44629)),remove:r.t(null,void 0,n(72482))};function d(e){const{className:t,isFilled:n,isActive:r,onClick:d,...h}=e;return o.createElement(a.Icon,{...h,className:i(c.favorite,"apply-common-tooltip",n&&c.checked,r&&c.active,t),icon:n?s:l,onClick:d,title:n?u.remove:u.add})}},898:(e,t,n)=>{"use strict";n.d(t,{useDimensions:()=>i});var r=n(50959),o=n(67842);function i(){const[e,t]=(0,r.useState)(null),n=(0,r.useCallback)((([n])=>{const r=n.target.getBoundingClientRect();r.width===(null==e?void 0:e.width)&&r.height===e.height||t(r)}),[e]);return[(0,o.useResizeObserver)(n),e]}},70412:(e,t,n)=>{"use strict";n.d(t,{hoverMouseEventFilter:()=>i,useAccurateHover:()=>a,useHover:()=>o});var r=n(50959);function o(){const[e,t]=(0,r.useState)(!1);return[e,{onMouseOver:function(e){i(e)&&t(!0)},onMouseOut:function(e){i(e)&&t(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}function a(e){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const t=t=>{if(null===e.current)return;const r=e.current.contains(t.target);n(r)};return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)}),[]),t}},33127:(e,t,n)=>{"use strict";n.d(t,{useOverlayScroll:()=>l});var r=n(50959),o=n(50151),i=n(70412),a=n(49483);const s={onMouseOver:()=>{},onMouseOut:()=>{}};function l(e,t=a.CheckMobile.any()){const n=(0,r.useRef)(null),l=e||(0,r.useRef)(null),[c,u]=(0,i.useHover)(),[d,h]=(0,r.useState)({reference:n,containerHeight:0,containerWidth:0,contentHeight:0,contentWidth:0,scrollPosTop:0,scrollPosLeft:0,onVerticalChange:function(e){h((t=>({...t,scrollPosTop:e}))),(0,o.ensureNotNull)(l.current).scrollTop=e},onHorizontalChange:function(e){h((t=>({...t,scrollPosLeft:e}))),(0,o.ensureNotNull)(l.current).scrollLeft=e},visible:c}),v=(0,r.useCallback)((()=>{if(!l.current)return;const{clientHeight:e,scrollHeight:t,scrollTop:r,clientWidth:o,scrollWidth:i,scrollLeft:a}=l.current,s=n.current?n.current.offsetTop:0;h((n=>({...n,containerHeight:e-s,contentHeight:t-s,scrollPosTop:r,containerWidth:o,contentWidth:i,scrollPosLeft:a})))}),[]);function f(){h((e=>({...e,scrollPosTop:(0,o.ensureNotNull)(l.current).scrollTop,
scrollPosLeft:(0,o.ensureNotNull)(l.current).scrollLeft})))}return(0,r.useEffect)((()=>{c&&v(),h((e=>({...e,visible:c})))}),[c]),(0,r.useEffect)((()=>{const e=l.current;return e&&e.addEventListener("scroll",f),()=>{e&&e.removeEventListener("scroll",f)}}),[l]),[d,t?s:u,l,v]}},1109:(e,t,n)=>{"use strict";n.d(t,{Separator:()=>a});var r=n(50959),o=n(97754),i=n(45719);function a(e){return r.createElement("div",{className:o(i.separator,e.className)})}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>c});var r=n(44352),o=n(50959),i=n(97754),a=n(9745),s=n(33765),l=n(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:d,title:h,hidden:v,"data-name":f="remove-button",...p}=e;return o.createElement(a.Icon,{...p,"data-name":f,className:i(l.button,"apply-common-tooltip",c&&l.active,v&&l.hidden,t),icon:s,onClick:u,onMouseDown:d,title:h||r.t(null,void 0,n(34596))})}},33765:e=>{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>'},7720:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17" fill="currentColor"><path d="m.58 1.42.82-.82 15 15-.82.82z"/><path d="m.58 15.58 15-15 .82.82-15 15z"/></svg>'},39146:e=>{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>'},48010:e=>{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>'},44629:e=>{e.exports={ar:["اضف إلى القائمة التفضيلات"],ca_ES:["Afegeix a preferits"],cs:["Přidat do oblíbených"],de:["Zu Favoriten hinzufügen"],el:["Προσθήκη στα αγαπημένα"],en:"Add to favorites",es:["Añadir a favoritos"],fa:["افزودن به موارد مورد علاقه"],fr:["Ajouter aux favoris"],he_IL:["הוסף למועדפים"],hu_HU:["Hozzáadás kedvencekhez"],id_ID:["Tambah ke daftar favorit"],it:["Aggiungi ai preferiti"],ja:["お気に入りに追加"],ko:["즐겨찾기에 넣기"],ms_MY:["Tambah kepada kegemaran"],nl_NL:["Voeg toe aan favorieten"],pl:["Dodaj do ulubionych"],pt:["Adicionar aos favoritos"],ro:"Add to favorites",ru:["Добавить в избранное"],sv:["Lägg till som favorit"],th:["เพิ่มลงรายการโปรด"],tr:["Favorilere ekle"],vi:["Thêm vào mục yêu thích"],zh:["添加到收藏"],zh_TW:["加入收藏"]}},72482:e=>{e.exports={ar:["حذف من القائمة المفضلة"],ca_ES:["Treure de preferits"],cs:["Odebrat z oblíbených"],de:["Aus Favoriten entfernen"],el:["Διαγραφή απο τα αγαπημένα"],en:"Remove from favorites",es:["Quitar de favoritos"],fa:["حذف از موارد مورد علاقه"],fr:["Retirer des favoris"],he_IL:["הסר ממועדפים"],hu_HU:["Eltávolít kedvencek közül"],
id_ID:["Hilangkan dari favorit"],it:["Rimuovi dai preferiti"],ja:["お気に入りから削除"],ko:["즐겨찾기지움"],ms_MY:["Keluarkan dari kegemaran"],nl_NL:["Verwijder van favorieten"],pl:["Usuń z ulubionych"],pt:["Remover dos favoritos"],ro:"Remove from favorites",ru:["Удалить из предпочтений"],sv:["Ta bort från favoriter"],th:["ลบออกจากรายการโปรด"],tr:["Favorilerimden çıkar"],vi:["Loại bỏ khỏi mục yêu thích"],zh:["从收藏中移除"],zh_TW:["從收藏移除"]}}}]);

View File

@@ -0,0 +1,3 @@
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5871],{73955:(e,t,r)=>{r.r(t),r.d(t,{createPropertyPage:()=>o});var i=r(97145);function o(e,t,r,o=null){var n;const s={id:t,title:r,definitions:new i.WatchedValue(e.definitions),visible:null!==(n=e.visible)&&void 0!==n?n:new i.WatchedValue(!0).readonly()};return null!==o&&(s.icon=o),s}},20345:(e,t,r)=>{r.d(t,{convertToInt:()=>n,floor:()=>o,limitedPrecision:()=>s});var i=r(10786);function o(e){return Math.floor(e)}function n(e){return parseInt(String(e))}function s(e){const t=new i.LimitedPrecisionNumericFormatter(e);return e=>{if(null===e)return e;const r=t.parse(t.format(e));return r.res?r.value:null}}},3347:(e,t,r)=>{r.d(t,{convertToDefinitionProperty:()=>n,makeProxyDefinitionProperty:()=>o});var i=r(51768);function o(e,t,r){const i=new Map,o=void 0!==t?t[0]:e=>e,n=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,s={value:()=>o(e.value()),setValue:t=>{e.setValue(n(t))},subscribe:(t,r)=>{const o=e=>{r(s)};i.set(r,o),e.subscribe(t,o)},unsubscribe:(t,r)=>{const o=i.get(r);o&&(e.unsubscribe(t,o),i.delete(r))},unsubscribeAll:t=>{e.unsubscribeAll(t),i.clear()},destroy:()=>{e.release(),null==r||r()}};return s}function n(e,t,r,n,s,l,p){const a=o(t.weakReference(),n,l),u=void 0!==n?void 0!==n[1]?n[1]:n[0]:e=>e,c=null!=s?s:i=>e.setProperty(t,u(i),r);return a.setValue=e=>{var t;p&&(0,i.trackEvent)(p.category,p.event,null===(t=p.label)||void 0===t?void 0:t.call(p,e)),c(e)},a}},43715:(e,t,r)=>{r.d(t,{createLinePropertyDefinition:()=>p});var i=r(73436),o=r(79849);const n=[o.LINESTYLE_SOLID,o.LINESTYLE_DOTTED,o.LINESTYLE_DASHED],s=[1,2,3,4],l=[i.LineEnd.Normal,i.LineEnd.Arrow];function p(e,t){const r={propType:"line",properties:e,...t};return void 0!==r.properties.style&&(r.styleValues=n),void 0!==r.properties.width&&(r.widthValues=s),void 0===r.properties.leftEnd&&void 0===r.properties.rightEnd||void 0!==r.endsValues||(r.endsValues=l),void 0!==r.properties.value&&void 0===r.valueType&&(r.valueType=1),r}},46141:(e,t,r)=>{function i(e,t){return{propType:"checkable",properties:e,...t}}function o(e,t,r){return{propType:"checkableSet",properties:e,childrenDefinitions:r,...t}}function n(e,t){return{propType:"color",properties:e,noAlpha:!1,...t}}r.d(t,{convertFromReadonlyWVToDefinitionProperty:()=>H,convertFromWVToDefinitionProperty:()=>N,convertToDefinitionProperty:()=>z.convertToDefinitionProperty,createCheckablePropertyDefinition:()=>i,createCheckableSetPropertyDefinition:()=>o,createColorPropertyDefinition:()=>n,createCoordinatesPropertyDefinition:()=>k,createEmojiPropertyDefinition:()=>A,createLeveledLinePropertyDefinition:()=>u,createLinePropertyDefinition:()=>s.createLinePropertyDefinition,createNumberPropertyDefinition:()=>c,createOptionalTwoColorsPropertyDefinition:()=>S,createOptionsPropertyDefinition:()=>d,createPropertyDefinitionsGeneralGroup:()=>O,createPropertyDefinitionsLeveledLinesGroup:()=>W,createRangePropertyDefinition:()=>V,createSelectionCoordinatesPropertyDefinition:()=>E,createSessionPropertyDefinition:()=>C,
createStudyInputsPropertyDefinition:()=>R,createSymbolPropertyDefinition:()=>I,createTextPropertyDefinition:()=>h,createTransparencyPropertyDefinition:()=>L,createTwoColorsPropertyDefinition:()=>w,createTwoOptionsPropertyDefinition:()=>f,destroyDefinitions:()=>Q,getColorDefinitionProperty:()=>B,getLockPriceScaleDefinitionProperty:()=>Y,getPriceScaleSelectionStrategyDefinitionProperty:()=>_,getScaleRatioDefinitionProperty:()=>G,getSymbolDefinitionProperty:()=>J,isPropertyDefinitionsGroup:()=>K,makeProxyDefinitionProperty:()=>z.makeProxyDefinitionProperty});var s=r(43715),l=r(79849);const p=[l.LINESTYLE_SOLID,l.LINESTYLE_DOTTED,l.LINESTYLE_DASHED],a=[1,2,3,4];function u(e,t){const r={propType:"leveledLine",properties:e,...t};return void 0!==r.properties.style&&(r.styleValues=p),void 0!==r.properties.width&&(r.widthValues=a),r}function c(e,t){return{propType:"number",properties:e,type:1,...t}}function d(e,t){return{propType:"options",properties:e,...t}}function f(e,t){return{propType:"twoOptions",properties:e,...t}}var v=r(44352);const y=[{id:"bottom",value:"bottom",title:v.t(null,void 0,r(65994))},{id:"middle",value:"middle",title:v.t(null,void 0,r(76476))},{id:"top",value:"top",title:v.t(null,void 0,r(91757))}],b=[{id:"left",value:"left",title:v.t(null,void 0,r(19286))},{id:"center",value:"center",title:v.t(null,void 0,r(72171))},{id:"right",value:"right",title:v.t(null,void 0,r(21141))}],P=[{id:"horizontal",value:"horizontal",title:v.t(null,void 0,r(77405))},{id:"vertical",value:"vertical",title:v.t(null,void 0,r(44085))}],D=[10,11,12,14,16,20,24,28,32,40].map((e=>({title:String(e),value:e}))),T=[1,2,3,4],m=v.t(null,void 0,r(92960)),g=v.t(null,void 0,r(90581));function h(e,t){const r={propType:"text",properties:e,...t,isEditable:t.isEditable||!1};return void 0!==r.properties.size&&void 0===r.sizeItems&&(r.sizeItems=D),void 0!==r.properties.alignmentVertical&&void 0===r.alignmentVerticalItems&&(r.alignmentVerticalItems=y),void 0!==r.properties.alignmentHorizontal&&void 0===r.alignmentHorizontalItems&&(r.alignmentHorizontalItems=b),(r.alignmentVerticalItems||r.alignmentHorizontalItems)&&void 0===r.alignmentTitle&&(r.alignmentTitle=m),void 0!==r.properties.orientation&&(void 0===r.orientationItems&&(r.orientationItems=P),void 0===r.orientationTitle&&(r.orientationTitle=g)),void 0!==r.properties.borderWidth&&void 0===r.borderWidthItems&&(r.borderWidthItems=T),r}function w(e,t){return{propType:"twoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function S(e,t){return{propType:"optionalTwoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function k(e,t){return{propType:"coordinates",properties:e,...t}}function E(e,t){return{propType:"selectionCoordinates",properties:e,...t}}function V(e,t){return{propType:"range",properties:e,...t}}function L(e,t){return{propType:"transparency",properties:e,...t}}function I(e,t){return{propType:"symbol",properties:e,...t}}function C(e,t){return{propType:"session",properties:e,...t}}function A(e,t){return{propType:"emoji",properties:e,...t}}function R(e,t){return{propType:"studyInputs",
properties:e,...t}}var x=r(97145);function O(e,t,r,i){return{id:t,title:r,visible:i,groupType:"general",definitions:new x.WatchedValue(e)}}function W(e,t,r){return{id:t,title:r,groupType:"leveledLines",definitions:new x.WatchedValue(e)}}var z=r(3347);function M(e,t,r){const i=new Map,o=void 0!==t?t[0]:e=>e,n=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,s={value:()=>o(e.value()),setValue:t=>{var r;null===(r=e.setValue)||void 0===r||r.call(e,n(t))},subscribe:(t,r)=>{const o=()=>{r(s)};let n=i.get(t);void 0===n?(n=new Map,n.set(r,o),i.set(t,n)):n.set(r,o),e.subscribe(o)},unsubscribe:(t,r)=>{const o=i.get(t);if(void 0!==o){const t=o.get(r);void 0!==t&&(e.unsubscribe(t),o.delete(r))}},unsubscribeAll:t=>{const r=i.get(t);void 0!==r&&(r.forEach(((t,r)=>{e.unsubscribe(t)})),r.clear())}};return r&&(s.destroy=()=>r()),s}function N(e,t,r,i){const o=M(t,i),n=void 0!==i?void 0!==i[1]?i[1]:i[0]:e=>e;return o.setValue=i=>e.setWatchedValue(t,n(i),r),o}function H(e,t){return function(e,t,r,i){const o=new Map;return M({subscribe:(r,i)=>{const n=e=>r(t(e));o.set(r,n),e.subscribe(n,i)},unsubscribe:t=>{if(t){const r=o.get(t);r&&(e.unsubscribe(r),o.delete(t))}else o.clear(),e.unsubscribe()},value:()=>t(e.value())},r,i)}(e,(e=>e),t,(()=>e.release()))}function _(e,t){const r=(0,z.makeProxyDefinitionProperty)(t.weakReference());return r.setValue=t=>e.setPriceScaleSelectionStrategy(t),r}function Y(e,t,r,i){const o=(0,z.makeProxyDefinitionProperty)(t.weakReference());return o.setValue=t=>{const o={lockScale:t};e.setPriceScaleMode(o,r,i)},o}function G(e,t,r,i){const o=(0,z.makeProxyDefinitionProperty)(t.weakReference(),i);return o.setValue=i=>{e.setScaleRatioProperty(t,i,r)},o}var j=r(24377),F=r(87095),U=r(49152);function q(e,t){if((0,F.isHexColor)(e)){const r=(0,j.parseRgb)(e);return(0,j.rgbaToString)((0,j.rgba)(r,(100-t)/100))}return e}function B(e,t,r,i,o){let n;if(null!==r){const e=(0,U.combineProperty)(q,t.weakReference(),r.weakReference());n=(0,z.makeProxyDefinitionProperty)(e.ownership())}else n=(0,z.makeProxyDefinitionProperty)(t.weakReference(),[()=>q(t.value(),0),e=>e]);return n.setValue=r=>{o&&e.beginUndoMacro(i),e.setProperty(t,r,i),o&&e.endUndoMacro()},n}function J(e,t,r,i,o,n){const s=[(l=r,p=t,e=>{const t=l(p);if(e===p.value()&&null!==t){const e=t.ticker||t.full_name;if(e)return e}return e}),e=>e];var l,p;const a=(0,z.convertToDefinitionProperty)(e,t,o,s);n&&(a.setValue=n);const u=new Map;a.subscribe=(e,r)=>{const i=e=>{r(a)};u.set(r,i),t.subscribe(e,i)},a.unsubscribe=(e,r)=>{const i=u.get(r);i&&(t.unsubscribe(e,i),u.delete(r))};const c={};return i.subscribe(c,(()=>{u.forEach(((e,t)=>{t(a)}))})),a.destroy=()=>{i.unsubscribeAll(c),u.clear()},a}function K(e){return e.hasOwnProperty("groupType")}function Q(e){e.forEach((e=>{var t;if(e.hasOwnProperty("propType")){Object.keys(e.properties).forEach((t=>{const r=e.properties[t];void 0!==r&&void 0!==r.destroy&&r.destroy()}))}else Q(e.definitions.value()),null===(t=e.visible)||void 0===t||t.destroy()}))}}}]);

View File

@@ -1,3 +0,0 @@
"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5871],{73955:(e,t,r)=>{r.r(t),r.d(t,{createPropertyPage:()=>n});var i=r(58275),o=r.n(i);function n(e,t,r,i=null){var n;const s={id:t,title:r,definitions:new(o())(e.definitions),visible:null!==(n=e.visible)&&void 0!==n?n:new(o())(!0).readonly()};return null!==i&&(s.icon=i),s}},20345:(e,t,r)=>{r.d(t,{convertToInt:()=>n,floor:()=>o,limitedPrecision:()=>s});var i=r(10786);function o(e){return Math.floor(e)}function n(e){return parseInt(String(e))}function s(e){const t=new i.LimitedPrecisionNumericFormatter(e);return e=>{if(null===e)return e;const r=t.parse(t.format(e));return r.res?r.value:null}}},3347:(e,t,r)=>{r.d(t,{convertToDefinitionProperty:()=>s,makeProxyDefinitionProperty:()=>o,makeProxyDefinitionPropertyDestroyable:()=>n});var i=r(51768);function o(e,t,r){const i=new Map,o=void 0!==t?t[0]:e=>e,n=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,s={value:()=>o(e.value()),setValue:t=>{e.setValue(n(t))},subscribe:(t,r)=>{const o=e=>{r(s)};i.set(r,o),e.subscribe(t,o)},unsubscribe:(t,r)=>{const o=i.get(r);o&&(e.unsubscribe(t,o),i.delete(r))},unsubscribeAll:t=>{e.unsubscribeAll(t),i.clear()},destroy:()=>{null==r||r()}};return s}function n(e){const t=o(e);return t.destroy=()=>{e.destroy()},t}function s(e,t,r,n,s,p,l){const u=o(t,n,p),c=void 0!==n?void 0!==n[1]?n[1]:n[0]:e=>e,a=null!=s?s:i=>e.setProperty(t,c(i),r);return u.setValue=e=>{var t;l&&(0,i.trackEvent)(l.category,l.event,null===(t=l.label)||void 0===t?void 0:t.call(l,e)),a(e)},u}},43715:(e,t,r)=>{r.d(t,{createLinePropertyDefinition:()=>l});var i=r(73436),o=r(79849);const n=[o.LINESTYLE_SOLID,o.LINESTYLE_DOTTED,o.LINESTYLE_DASHED],s=[1,2,3,4],p=[i.LineEnd.Normal,i.LineEnd.Arrow];function l(e,t){const r={propType:"line",properties:e,...t};return void 0!==r.properties.style&&(r.styleValues=n),void 0!==r.properties.width&&(r.widthValues=s),void 0===r.properties.leftEnd&&void 0===r.properties.rightEnd||void 0!==r.endsValues||(r.endsValues=p),void 0!==r.properties.value&&void 0===r.valueType&&(r.valueType=1),r}},46141:(e,t,r)=>{function i(e,t){return{propType:"checkable",properties:e,...t}}function o(e,t,r){return{propType:"checkableSet",properties:e,childrenDefinitions:r,...t}}function n(e,t){return{propType:"color",properties:e,noAlpha:!1,...t}}r.d(t,{convertFromReadonlyWVToDefinitionProperty:()=>Y,convertFromWVToDefinitionProperty:()=>W,convertToDefinitionProperty:()=>H.convertToDefinitionProperty,createCheckablePropertyDefinition:()=>i,createCheckableSetPropertyDefinition:()=>o,createColorPropertyDefinition:()=>n,createCoordinatesPropertyDefinition:()=>w,createEmojiPropertyDefinition:()=>x,createLeveledLinePropertyDefinition:()=>c,createLinePropertyDefinition:()=>s.createLinePropertyDefinition,createNumberPropertyDefinition:()=>a,createOptionalTwoColorsPropertyDefinition:()=>E,createOptionsPropertyDefinition:()=>d,createPropertyDefinitionsGeneralGroup:()=>M,createPropertyDefinitionsLeveledLinesGroup:()=>N,createRangePropertyDefinition:()=>I,
createSelectionCoordinatesPropertyDefinition:()=>L,createSessionPropertyDefinition:()=>C,createStudyInputsPropertyDefinition:()=>A,createSymbolPropertyDefinition:()=>k,createTextPropertyDefinition:()=>h,createTransparencyPropertyDefinition:()=>V,createTwoColorsPropertyDefinition:()=>S,createTwoOptionsPropertyDefinition:()=>f,destroyDefinitions:()=>X,getColorDefinitionProperty:()=>J,getLockPriceScaleDefinitionProperty:()=>G,getPriceScaleSelectionStrategyDefinitionProperty:()=>R,getScaleRatioDefinitionProperty:()=>j,getSymbolDefinitionProperty:()=>K,isPropertyDefinitionsGroup:()=>Q,makeProxyDefinitionProperty:()=>H.makeProxyDefinitionProperty});var s=r(43715),p=r(79849);const l=[p.LINESTYLE_SOLID,p.LINESTYLE_DOTTED,p.LINESTYLE_DASHED],u=[1,2,3,4];function c(e,t){const r={propType:"leveledLine",properties:e,...t};return void 0!==r.properties.style&&(r.styleValues=l),void 0!==r.properties.width&&(r.widthValues=u),r}function a(e,t){return{propType:"number",properties:e,type:1,...t}}function d(e,t){return{propType:"options",properties:e,...t}}function f(e,t){return{propType:"twoOptions",properties:e,...t}}var y=r(44352);const v=[{id:"bottom",value:"bottom",title:y.t(null,void 0,r(65994))},{id:"middle",value:"middle",title:y.t(null,void 0,r(76476))},{id:"top",value:"top",title:y.t(null,void 0,r(91757))}],b=[{id:"left",value:"left",title:y.t(null,void 0,r(19286))},{id:"center",value:"center",title:y.t(null,void 0,r(72171))},{id:"right",value:"right",title:y.t(null,void 0,r(21141))}],P=[{id:"horizontal",value:"horizontal",title:y.t(null,void 0,r(77405))},{id:"vertical",value:"vertical",title:y.t(null,void 0,r(44085))}],D=[10,11,12,14,16,20,24,28,32,40].map((e=>({title:String(e),value:e}))),m=[1,2,3,4],T=y.t(null,void 0,r(92960)),g=y.t(null,void 0,r(90581));function h(e,t){const r={propType:"text",properties:e,...t,isEditable:t.isEditable||!1};return void 0!==r.properties.size&&void 0===r.sizeItems&&(r.sizeItems=D),void 0!==r.properties.alignmentVertical&&void 0===r.alignmentVerticalItems&&(r.alignmentVerticalItems=v),void 0!==r.properties.alignmentHorizontal&&void 0===r.alignmentHorizontalItems&&(r.alignmentHorizontalItems=b),(r.alignmentVerticalItems||r.alignmentHorizontalItems)&&void 0===r.alignmentTitle&&(r.alignmentTitle=T),void 0!==r.properties.orientation&&(void 0===r.orientationItems&&(r.orientationItems=P),void 0===r.orientationTitle&&(r.orientationTitle=g)),void 0!==r.properties.borderWidth&&void 0===r.borderWidthItems&&(r.borderWidthItems=m),r}function S(e,t){return{propType:"twoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function E(e,t){return{propType:"optionalTwoColors",properties:e,noAlpha1:!1,noAlpha2:!1,...t}}function w(e,t){return{propType:"coordinates",properties:e,...t}}function L(e,t){return{propType:"selectionCoordinates",properties:e,...t}}function I(e,t){return{propType:"range",properties:e,...t}}function V(e,t){return{propType:"transparency",properties:e,...t}}function k(e,t){return{propType:"symbol",properties:e,...t}}function C(e,t){return{propType:"session",properties:e,...t}}function x(e,t){
return{propType:"emoji",properties:e,...t}}function A(e,t){return{propType:"studyInputs",properties:e,...t}}var O=r(58275),z=r.n(O);function M(e,t,r,i){return{id:t,title:r,visible:i,groupType:"general",definitions:new(z())(e)}}function N(e,t,r){return{id:t,title:r,groupType:"leveledLines",definitions:new(z())(e)}}var H=r(3347);function _(e,t){const r=new Map,i=void 0!==t?t[0]:e=>e,o=void 0!==t?void 0!==t[1]?t[1]:t[0]:e=>e,n={value:()=>i(e.value()),setValue:t=>{var r;null===(r=e.setValue)||void 0===r||r.call(e,o(t))},subscribe:(t,i)=>{const o=()=>{i(n)};let s=r.get(t);void 0===s?(s=new Map,s.set(i,o),r.set(t,s)):s.set(i,o),e.subscribe(o)},unsubscribe:(t,i)=>{const o=r.get(t);if(void 0!==o){const t=o.get(i);void 0!==t&&(e.unsubscribe(t),o.delete(i))}},unsubscribeAll:t=>{const i=r.get(t);void 0!==i&&(i.forEach(((t,r)=>{e.unsubscribe(t)})),i.clear())}};return n}function W(e,t,r,i){const o=_(t,i),n=void 0!==i?void 0!==i[1]?i[1]:i[0]:e=>e;return o.setValue=i=>e.setWatchedValue(t,n(i),r),o}function Y(e,t){return function(e,t,r){const i=new Map;return _({subscribe:(r,o)=>{const n=e=>r(t(e));i.set(r,n),e.subscribe(n,o)},unsubscribe:t=>{if(t){const r=i.get(t);r&&(e.unsubscribe(r),i.delete(t))}else i.clear(),e.unsubscribe()},value:()=>t(e.value())},r)}(e,(e=>e),t)}function R(e,t){const r=(0,H.makeProxyDefinitionProperty)(t);return r.setValue=t=>e.setPriceScaleSelectionStrategy(t),r}function G(e,t,r,i){const o=(0,H.makeProxyDefinitionProperty)(t);return o.setValue=t=>{const o={lockScale:t};e.setPriceScaleMode(o,r,i)},o}function j(e,t,r,i){const o=(0,H.makeProxyDefinitionProperty)(t,i);return o.setValue=i=>{e.setScaleRatioProperty(t,i,r)},o}var F=r(24377),U=r(87095),q=r(49152);function B(e,t){if((0,U.isHexColor)(e)){const r=(0,F.parseRgb)(e);return(0,F.rgbaToString)((0,F.rgba)(r,(100-t)/100))}return e}function J(e,t,r,i,o){let n;if(null!==r){const e=(0,q.combineProperty)(B,t,r);n=(0,H.makeProxyDefinitionPropertyDestroyable)(e)}else n=(0,H.makeProxyDefinitionProperty)(t,[()=>B(t.value(),0),e=>e]);return n.setValue=r=>{o&&e.beginUndoMacro(i),e.setProperty(t,r,i),o&&e.endUndoMacro()},n}function K(e,t,r,i,o,n){const s=[(p=r,l=t,e=>{const t=p(l);if(e===l.value()&&null!==t){const e=t.ticker||t.full_name;if(e)return e}return e}),e=>e];var p,l;const u=(0,H.convertToDefinitionProperty)(e,t,o,s);n&&(u.setValue=n);const c=new Map;u.subscribe=(e,r)=>{const i=e=>{r(u)};c.set(r,i),t.subscribe(e,i)},u.unsubscribe=(e,r)=>{const i=c.get(r);i&&(t.unsubscribe(e,i),c.delete(r))};const a={};return i.subscribe(a,(()=>{c.forEach(((e,t)=>{t(u)}))})),u.destroy=()=>{i.unsubscribeAll(a),c.clear()},u}function Q(e){return e.hasOwnProperty("groupType")}function X(e){e.forEach((e=>{if(e.hasOwnProperty("propType")){Object.keys(e.properties).forEach((t=>{const r=e.properties[t];void 0!==r&&void 0!==r.destroy&&r.destroy()}))}else X(e.definitions.value())}))}}}]);

View File

@@ -1,9 +0,0 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5899],{97754:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===s)for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},70048:e=>{e.exports={wrapper:"wrapper-GZajBGIm",input:"input-GZajBGIm",box:"box-GZajBGIm",icon:"icon-GZajBGIm",noOutline:"noOutline-GZajBGIm","intent-danger":"intent-danger-GZajBGIm",check:"check-GZajBGIm",dot:"dot-GZajBGIm"}},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},51331:e=>{e.exports={loaderWrap:"loaderWrap-jGEARQlM",big:"big-jGEARQlM",loader:"loader-jGEARQlM"}},22436:e=>{e.exports={item:"item-GJX1EXhk",interactive:"interactive-GJX1EXhk",hovered:"hovered-GJX1EXhk",disabled:"disabled-GJX1EXhk",active:"active-GJX1EXhk",shortcut:"shortcut-GJX1EXhk",normal:"normal-GJX1EXhk",big:"big-GJX1EXhk",iconCell:"iconCell-GJX1EXhk",icon:"icon-GJX1EXhk",checkmark:"checkmark-GJX1EXhk",content:"content-GJX1EXhk",label:"label-GJX1EXhk",checked:"checked-GJX1EXhk",toolbox:"toolbox-GJX1EXhk",showToolboxOnHover:"showToolboxOnHover-GJX1EXhk",arrowIcon:"arrowIcon-GJX1EXhk",subMenu:"subMenu-GJX1EXhk",invisibleHotkey:"invisibleHotkey-GJX1EXhk"}},86838:e=>{e.exports={row:"row-DFIg7eOh",line:"line-DFIg7eOh",hint:"hint-DFIg7eOh"}},36002:e=>{e.exports={menu:"menu-Tx5xMZww"}},29122:e=>{e.exports={item:"item-WJDah4zD",emptyIcons:"emptyIcons-WJDah4zD",loading:"loading-WJDah4zD",disabled:"disabled-WJDah4zD",interactive:"interactive-WJDah4zD",hovered:"hovered-WJDah4zD",normal:"normal-WJDah4zD",big:"big-WJDah4zD",icon:"icon-WJDah4zD",label:"label-WJDah4zD",title:"title-WJDah4zD",nested:"nested-WJDah4zD",shortcut:"shortcut-WJDah4zD",remove:"remove-WJDah4zD"}},33927:e=>{e.exports={separator:"separator-Ymxd0dt_"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},70673:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>u});var r=n(50959),o=n(97754),s=n(90186),a=n(9745),i=n(65890),l=n(70048),c=n.n(l);function u(e){const t=o(c().box,c()[`intent-${e.intent}`],{[c().check]:!Boolean(e.indeterminate),[c().dot]:Boolean(e.indeterminate),[c().noOutline]:-1===e.tabIndex}),n=o(c().wrapper,e.className);return r.createElement("span",{className:n,title:e.title,style:e.style},r.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:c().input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,
value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference,"aria-required":e["aria-required"],"aria-describedby":e["aria-describedby"],"aria-invalid":e["aria-invalid"],...(0,s.filterDataProps)(e)}),r.createElement("span",{className:t},r.createElement(a.Icon,{icon:i,className:c().icon})))}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>c});var r,o=n(50959),s=n(97754),a=n(74991),i=n(25650),l=n.n(i);!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class c extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,a=s(l().item,l()[t],l()[n]);return o.createElement("span",{className:s(l().loader,r&&l().static,this._getStateClass(),e)},o.createElement("span",{className:a}),o.createElement("span",{className:a}),o.createElement("span",{className:a}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*a.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return l()["loader-initial"];case r.Appear:return l()["loader-appear"];default:return""}}}},29332:(e,t,n)=>{"use strict";n.d(t,{ContextMenu:()=>g,OverlapContextMenu:()=>w});var r=n(50959),o=n(97754),s=n.n(o),a=n(86431),i=n(27317),l=n(76594),c=n(9481),u=n(58451),h=n(37558),p=n(90692),d=n(33927);function m(e){return r.createElement("li",{className:d.separator})}var f=n(23829),v=n(41590),b=n(59064);function y(e){const{action:t}=e,[n,o]=(0,r.useState)((()=>t.getState())),[s,a]=(0,r.useState)(!1),i=!!n.subItems.length,l=i&&s;return(0,r.useEffect)((()=>{const e=()=>o(t.getState());return t.onUpdate().subscribe(null,e),()=>{t.onUpdate().unsubscribe(null,e)}}),[]),r.createElement(f.ContextMenuItem,{...n,onClick:function(e){if(n.disabled||e.defaultPrevented)return;if(i)return void a(!0);n.doNotCloseOnClick||(0,b.globalCloseMenu)();t.execute()},isLoading:n.loading,isHovered:l},l&&r.createElement(v.Drawer,{onClose:c},r.createElement(k,{items:n.subItems,parentAction:t,closeNested:c})));function c(e){e&&e.preventDefault(),a(!1)}}var _=n(54627),E=n(66493);function k(e){const{items:t,parentAction:n,closeNested:o}=e,s=!Boolean(n)&&t.every((e=>!Boolean("separator"!==e.type&&(e.getState().icon||e.getState().checkable))));return r.createElement(_.EmptyIconsContext.Provider,{value:s},r.createElement("ul",null,n&&r.createElement(r.Fragment,null,r.createElement(f.ContextMenuItem,{label:n.getState().label,isTitle:!0,active:!1,disabled:!1,subItems:[],checkable:!1,checked:!1,doNotCloseOnClick:!1,icon:E,onClick:o}),r.createElement(m,null)),t.map((e=>{switch(e.type){case"action":return r.createElement(y,{key:e.id,action:e});case"separator":return r.createElement(m,{key:e.id})}}))))}const x=r.createContext(null);var C=n(36002);class g extends r.PureComponent{
constructor(e){super(e),this._menuRef=r.createRef(),this._handleRequestUpdate=()=>{this.update()},this._handleClose=()=>{this.props.onClose&&this.props.onClose()},this._handleOutsideClickClose=e=>{const{doNotCloseOn:t,onClose:n}=this.props;!n||void 0!==t&&t.contains(e.target)||n()},this._handleFocusOnOpen=()=>{var e,t;(null===(e=this.props.menuElementReference)||void 0===e?void 0:e.current)&&this.props.takeFocus&&(null===(t=this.props.menuElementReference)||void 0===t||t.current.focus({preventScroll:!0}))},this.state={}}render(){const{isOpened:e,onClose:t,items:n,doNotCloseOn:o,menuStatName:a,parentStatName:d,takeFocus:m,...f}=this.props;return e?r.createElement(h.DrawerManager,null,r.createElement(c.KeyboardDocumentListener,{keyCode:27,eventType:"keyup",handler:this._handleClose}),r.createElement(p.MatchMedia,{rule:"screen and (max-width: 430px)"},(t=>this._isDrawer(t)?r.createElement(x.Provider,{value:{type:"drawer"}},r.createElement(v.Drawer,{onClose:this._handleClose,position:"Bottom","data-name":f["data-name"]},r.createElement(k,{items:n}))):r.createElement(x.Provider,{value:{type:"menu"}},r.createElement(l.OutsideEvent,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,reference:this.props.menuElementReference},(t=>r.createElement(i.Menu,{...f,reference:t,className:s()(C.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0,ref:this._menuRef,tabIndex:m?-1:void 0,onOpen:this._handleFocusOnOpen},r.createElement(u.ActionsTable,{items:n,menuStatName:a,parentStatName:d,parentIsOpened:e,onRequestUpdate:this._handleRequestUpdate})))))))):null}update(){this._menuRef.current&&this._menuRef.current.update()}_isDrawer(e){return void 0===this.props.mode?e:"drawer"===this.props.mode}}const w=(0,a.makeOverlapable)(g)},99025:(e,t,n)=>{"use strict";n.d(t,{Hint:()=>i});var r=n(50959),o=n(97754),s=n.n(o),a=n(22436);function i(e){const{text:t="",className:n}=e;return r.createElement("span",{className:s()(a.shortcut,n)},t)}},23829:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>m});var r=n(50959),o=n(97754),s=n.n(o),a=n(9745),i=n(26996),l=n(54627),c=n(99025),u=n(39750),h=n(79978),p=n(69311),d=n(29122);function m(e){const{className:t,isTitle:n,isLoading:o,isHovered:m,active:f,checkable:v,disabled:b,checked:y,icon:_,iconChecked:E,hint:k,subItems:x,label:C,onClick:g,children:w,toolbox:S,jsxLabel:I,size:N="normal"}=e,M=(0,r.useContext)(l.EmptyIconsContext),O=!!x.length;return o?r.createElement("li",{className:s()(t,d.item,d.loading,d[N])},r.createElement(i.Loader,null)):r.createElement("li",{className:s()(t,d.item,d.interactive,n&&d.title,b&&d.disabled,m&&d.hovered,f&&d.active,M&&d.emptyIcons,d[N]),onClick:g},r.createElement(a.Icon,{className:s()(d.icon),icon:function(){if(v&&y)return E||_||u;return _}()}),r.createElement("span",{className:s()(d.label)},null!=I?I:C),!!S&&r.createElement(a.Icon,{onClick:function(){S&&S.action()},className:d.remove,icon:p}),!O&&k&&r.createElement(c.Hint,{className:d.shortcut,text:k}),O&&r.createElement(a.Icon,{className:d.nested,icon:h}),w)}},54627:(e,t,n)=>{
"use strict";n.d(t,{EmptyIconsContext:()=>r});const r=n(50959).createContext(!1)},9481:(e,t,n)=>{"use strict";n.d(t,{KeyboardDocumentListener:()=>o});var r=n(50959);class o extends r.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var r=n(36383);function o(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var r=n(50959),o=n(65718);function s(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:r.createElement(o.Portal,null,s)}}}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>c});var r=n(44352),o=n(50959),s=n(97754),a=n(9745),i=n(33765),l=n(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:h,title:p,hidden:d,"data-name":m="remove-button",...f}=e;return o.createElement(a.Icon,{...f,"data-name":m,className:s(l.button,"apply-common-tooltip",c&&l.active,d&&l.hidden,t),icon:i,onClick:u,onMouseDown:h,title:p||r.t(null,void 0,n(34596))})}},95257:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function y(){}function _(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var E=_.prototype=new y;E.constructor=_,f(E,b.prototype),E.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,C={current:null},g={key:!0,ref:!0,__self:!0,__source:!0};function w(e,t,r){var o,s={},a=null,i=null;if(null!=t)for(o in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,o)&&!g.hasOwnProperty(o)&&(s[o]=t[o]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}
if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===s[o]&&(s[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:i,props:s,_owner:C.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,o,s,a){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var l=!1;if(null===e)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===s?"."+N(l,0):s,k(a)?(o="",null!=e&&(o=e.replace(I,"$&/")+"/"),M(a,t,o,"",(function(e){return e}))):null!=a&&(S(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+e)),t.push(a)),1;if(l=0,s=""===s?".":s+":",k(e))for(var c=0;c<e.length;c++){var u=s+N(i=e[c],c);l+=M(i,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(i=e.next()).done;)l+=M(i=i.value,t,o,u=s+N(i,c++),a);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return M(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},L={transition:null},G={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:L,ReactCurrentOwner:C};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=_,t.StrictMode=s,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=f({},e.props),s=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=C.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!g.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,
key:s,ref:a,props:o,_owner:i}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=w,t.createFactory=function(e){var t=w.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},58451:(e,t,n)=>{"use strict";n.d(t,{ActionsTable:()=>M});var r=n(50959),o=n(86838);function s(e){return r.createElement("tr",{className:o.row},r.createElement("td",null,r.createElement("div",{className:o.line})),r.createElement("td",null,r.createElement("div",{className:o.line}),e.hint?r.createElement("div",{className:o.hint},e.hint):null))}var a=n(50151),i=n(97754),l=n.n(i),c=n(70673),u=n(49483),h=n(32563);var p=n(96040),d=n(36189),m=n(99025),f=n(25812),v=n(80802),b=n(14665),y=n(22436);class _ extends r.PureComponent{constructor(){super(...arguments),this._handleMouseOver=e=>{(function(e){const t=e.sourceCapabilities;let n=t&&t.firesTouchEvents;return void 0===n&&(n=h.touch),n})(e.nativeEvent)||this.props.onMouseOver&&this.props.onMouseOver()},this._handleClickToolbox=e=>{e.stopPropagation(),this.props.onClickToolbox&&this.props.onClickToolbox()}}render(){const{hasSubItems:e,shortcutHint:t,hint:n,invisibleHotkey:o,favourite:s,theme:a=y,size:l="normal"}=this.props,c=this.props.checkable&&this.props.checkboxInput?"label":"div";return r.createElement(r.Fragment,null,r.createElement("tr",{
className:i(this.props.className,a.item,!this.props.noInteractive&&a.interactive,this.props.hovered&&a.hovered,this.props.disabled&&a.disabled,this.props.active&&a.active,this.props.selected&&a.selected,a[l]),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName},void 0!==s&&r.createElement("td",null,r.createElement(d.FavoriteButton,{className:a.favourite,isFilled:s,onClick:this.props.onFavouriteClick})),r.createElement("td",{className:i(a.iconCell),"data-icon-cell":!0},this._icon(a)),r.createElement("td",{className:a.contentCell},r.createElement(c,{className:a.content},r.createElement("span",{className:i(a.label,this.props.checked&&a.checked),"data-label":!0},this.props.label),this._toolbox(a),e&&r.createElement("span",{className:a.arrowIcon,dangerouslySetInnerHTML:{__html:b},"data-submenu-arrow":!0}),!e&&t&&!u.CheckMobile.any()&&r.createElement(m.Hint,{className:i(o&&a.invisibleHotkey),text:t}),!e&&!t&&n&&r.createElement(m.Hint,{text:n})))),r.createElement("tr",{className:a.subMenu},r.createElement("td",null,this.props.children)))}_icon(e){if(this.props.checkable){if(this.props.checkboxInput)return r.createElement(c.CheckboxInput,{className:i(e.icon,e.checkboxInput),checked:this.props.checked});if(this.props.checked){const t=!this.props.icon&&!this.props.iconChecked,n=this.props.iconChecked||this.props.icon||v;return r.createElement("span",{className:i(e.icon,t&&e.checkmark),dangerouslySetInnerHTML:{__html:n},"data-icon-checkmark":t})}return this.props.icon?r.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):r.createElement("span",{className:e.icon})}return this.props.icon?r.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null}_toolbox(e){return this.props.toolbox?r.createElement("span",{className:i(e.toolbox,this.props.showToolboxOnHover&&e.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null}_renderToolboxContent(){return this.props.toolbox&&this.props.toolbox.type===f.ToolboxType.Delete?r.createElement(p.RemoveButton,{onClick:this.props.toolbox.action}):null}}var E=n(29332),k=n(59064),x=n(51768),C=n(38223);var g=n(83021),w=n(26996),S=n(51331);function I(e){const{size:t="normal"}=e;return r.createElement(_,{size:t,label:r.createElement("div",{className:l()(S.loaderWrap,S[t])},r.createElement(w.Loader,{className:S.loader})),noInteractive:!0,onMouseOver:e.onMouseOver})}class N extends r.PureComponent{constructor(e){super(e),this._itemRef=null,this._menuElementRef=r.createRef(),this._menuRef=null,this._handleClick=e=>{e.isDefaultPrevented()||this.state.disabled||(this._hasSubItems()?this._showSubMenu():(this.state.doNotCloseOnClick||(0,k.globalCloseMenu)(),this.props.action.execute(),this._trackEvent(),this.props.onExecute&&this.props.onExecute(this.props.action)))},this._handleClickToolbox=()=>{(0,k.globalCloseMenu)()},this._handleItemMouseOver=()=>{this._showSubMenu(),this._setCurrentContextValue()},
this._handleMenuMouseOver=()=>{this._setCurrentContextValue()},this._showSubMenu=()=>{this.props.onShowSubMenu(this.props.action)},this._calcSubMenuPos=e=>function(e,t,n={x:0,y:10}){if(t){const{left:n,right:r,top:o}=t.getBoundingClientRect(),s=document.documentElement.clientWidth,a={x:n-e,y:o},i={x:r,y:o};return(0,C.isRtl)()?n<=e?i:a:s-r>=e?i:a}return n}(e,this._itemRef),this._updateState=e=>{this.setState(e.getState())},this._setItemRef=e=>{this._itemRef=e},this._handleMenuRef=e=>{this._menuRef=e},this._registerSubmenu=()=>{var e;return null===(e=this.context)||void 0===e?void 0:e.registerSubmenu(this.props.action.id,(e=>(0,a.ensureNotNull)(this._itemRef).contains(e)||null!==this._menuElementRef.current&&this._menuElementRef.current.contains(e)))},this.state={...this.props.action.getState()}}componentDidMount(){this.props.action.onUpdate().subscribe(this,this._updateState),this.state.subItems.length&&(this._unsubscribe=this._registerSubmenu()),this.props.reference&&(this._itemRef=this.props.reference.current)}componentDidUpdate(e,t){var n,r,o;t.loading!==this.state.loading&&(null===(r=(n=this.props).onRequestUpdate)||void 0===r||r.call(n)),0===t.subItems.length&&this.state.subItems.length>0&&(this._unsubscribe=this._registerSubmenu()),t.subItems.length>0&&0===this.state.subItems.length&&(null===(o=this._unsubscribe)||void 0===o||o.call(this)),t.subItems!==this.state.subItems&&null!==this._menuRef&&this._menuRef.update()}componentWillUnmount(){this.props.action.onUpdate().unsubscribe(this,this._updateState),this._unsubscribe&&this._unsubscribe()}render(){var e,t,n;const o=null!==(e=this.state.jsxLabel)&&void 0!==e?e:this.state.label,s=(null===(t=this.context)||void 0===t?void 0:t.current)?this.context.current===this.props.action.id:this.props.isSubMenuOpened;return this.state.loading?r.createElement(I,{size:this.state.size}):r.createElement(_,{theme:this.props.theme,reference:null!==(n=this.props.reference)&&void 0!==n?n:this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._handleItemMouseOver,hovered:s,hasSubItems:this._hasSubItems(),actionName:this.state.name,checkboxInput:this.props.checkboxInput,selected:this.props.selected,...this.state,label:o},r.createElement(E.ContextMenu,{isOpened:s,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName(),menuElementReference:this._menuElementRef,onMouseOver:this.state.subItems.length?this._handleMenuMouseOver:void 0,ref:this._handleMenuRef}))}_setCurrentContextValue(){var e;this.state.subItems.length&&(null===(e=this.context)||void 0===e||e.setCurrent(this.props.action.id))}_hasSubItems(){return this.state.subItems.length>0}_trackEvent(){const e=this._getStatName();(0,x.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)}_getStatName(){return[this.props.parentStatName,this.state.statName].filter((e=>Boolean(e))).join(".")}}N.contextType=g.SubmenuContext;class M extends r.PureComponent{constructor(e){super(e),this._handleShowSubMenu=e=>{
const t=e.getState();this.setState({showSubMenuOf:t.subItems.length?e:void 0})},this.state={}}render(){return r.createElement("table",null,r.createElement("tbody",null,this.props.items.map((e=>this._item(e)))))}static getDerivedStateFromProps(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null}_item(e){switch(e.type){case"separator":return r.createElement(s,{key:e.id,hint:e.getHint()});case"action":return r.createElement(N,{key:e.id,action:e,onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===e,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName,onRequestUpdate:this.props.onRequestUpdate})}}}},65890:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},66493:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.5 20L11 14.5 16.5 9"/></svg>'},79978:e=>{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="M8 5l3.5 3.5L8 12"/></svg>'},80802:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 14" width="18" height="14"><path fill="currentColor" d="M6 11.17l-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41-10.59 10.58z"/></svg>'},39750:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},33765:e=>{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>'},69311:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9.7 9l4.65-4.65-.7-.7L9 8.29 4.35 3.65l-.7.7L8.29 9l-4.64 4.65.7.7L9 9.71l4.65 4.64.7-.7L9.71 9z"/></svg>'}}]);

View File

@@ -0,0 +1,9 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5899],{70048:e=>{e.exports={wrapper:"wrapper-GZajBGIm",input:"input-GZajBGIm",box:"box-GZajBGIm",icon:"icon-GZajBGIm",noOutline:"noOutline-GZajBGIm","intent-danger":"intent-danger-GZajBGIm",check:"check-GZajBGIm",dot:"dot-GZajBGIm"}},25650:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa","loader-initial":"loader-initial-UL6iwcBa","loader-appear":"loader-appear-UL6iwcBa"}},51331:e=>{e.exports={loaderWrap:"loaderWrap-jGEARQlM",big:"big-jGEARQlM",loader:"loader-jGEARQlM"}},22436:e=>{e.exports={item:"item-GJX1EXhk",interactive:"interactive-GJX1EXhk",hovered:"hovered-GJX1EXhk",disabled:"disabled-GJX1EXhk",active:"active-GJX1EXhk",shortcut:"shortcut-GJX1EXhk",normal:"normal-GJX1EXhk",big:"big-GJX1EXhk",iconCell:"iconCell-GJX1EXhk",icon:"icon-GJX1EXhk",checkmark:"checkmark-GJX1EXhk",content:"content-GJX1EXhk",label:"label-GJX1EXhk",checked:"checked-GJX1EXhk",toolbox:"toolbox-GJX1EXhk",showToolboxOnHover:"showToolboxOnHover-GJX1EXhk",arrowIcon:"arrowIcon-GJX1EXhk",subMenu:"subMenu-GJX1EXhk",invisibleHotkey:"invisibleHotkey-GJX1EXhk"}},86838:e=>{e.exports={row:"row-DFIg7eOh",line:"line-DFIg7eOh",hint:"hint-DFIg7eOh"}},36002:e=>{e.exports={menu:"menu-Tx5xMZww"}},29122:e=>{e.exports={item:"item-WJDah4zD",emptyIcons:"emptyIcons-WJDah4zD",loading:"loading-WJDah4zD",disabled:"disabled-WJDah4zD",interactive:"interactive-WJDah4zD",hovered:"hovered-WJDah4zD",normal:"normal-WJDah4zD",big:"big-WJDah4zD",icon:"icon-WJDah4zD",label:"label-WJDah4zD",title:"title-WJDah4zD",nested:"nested-WJDah4zD",shortcut:"shortcut-WJDah4zD",remove:"remove-WJDah4zD"}},33927:e=>{e.exports={separator:"separator-Ymxd0dt_"}},27306:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},70673:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>u});var r=n(50959),o=n(97754),s=n(90186),a=n(9745),i=n(65890),l=n(70048),c=n.n(l);function u(e){const t=o(c().box,c()[`intent-${e.intent}`],{[c().check]:!Boolean(e.indeterminate),[c().dot]:Boolean(e.indeterminate),[c().noOutline]:-1===e.tabIndex}),n=o(c().wrapper,e.className);return r.createElement("span",{className:n,title:e.title,style:e.style},r.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:c().input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference,"aria-required":e["aria-required"],"aria-describedby":e["aria-describedby"],"aria-invalid":e["aria-invalid"],...(0,s.filterDataProps)(e)}),r.createElement("span",{className:t},r.createElement(a.Icon,{icon:i,className:c().icon})))}},26996:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>c});var r,o=n(50959),s=n(97754),a=n(74991),i=n(25650),l=n.n(i)
;!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(r||(r={}));class c extends o.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:r.Initial}}render(){const{className:e,color:t="black",size:n="medium",staticPosition:r}=this.props,a=s(l().item,l()[t],l()[n]);return o.createElement("span",{className:s(l().loader,r&&l().static,this._getStateClass(),e)},o.createElement("span",{className:a}),o.createElement("span",{className:a}),o.createElement("span",{className:a}))}componentDidMount(){this.setState({state:r.Appear}),this._stateChangeTimeout=setTimeout((()=>{this.setState({state:r.Active})}),2*a.dur)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case r.Initial:return l()["loader-initial"];case r.Appear:return l()["loader-appear"];default:return""}}}},29332:(e,t,n)=>{"use strict";n.d(t,{ContextMenu:()=>x,OverlapContextMenu:()=>g});var r=n(50959),o=n(97754),s=n.n(o),a=n(86431),i=n(27317),l=n(76594),c=n(9481),u=n(58451),h=n(37558),p=n(90692),d=n(33927);function m(e){return r.createElement("li",{className:d.separator})}var f=n(23829),v=n(41590),b=n(59064);function _(e){const{action:t}=e,[n,o]=(0,r.useState)((()=>t.getState())),[s,a]=(0,r.useState)(!1),i=!!n.subItems.length,l=i&&s;return(0,r.useEffect)((()=>{const e=()=>o(t.getState());return t.onUpdate().subscribe(null,e),()=>{t.onUpdate().unsubscribe(null,e)}}),[]),r.createElement(f.ContextMenuItem,{...n,onClick:function(e){if(n.disabled||e.defaultPrevented)return;if(i)return void a(!0);n.doNotCloseOnClick||(0,b.globalCloseMenu)();t.execute()},isLoading:n.loading,isHovered:l},l&&r.createElement(v.Drawer,{onClose:c},r.createElement(y,{items:n.subItems,parentAction:t,closeNested:c})));function c(e){e&&e.preventDefault(),a(!1)}}var E=n(54627),k=n(66493);function y(e){const{items:t,parentAction:n,closeNested:o}=e,s=!Boolean(n)&&t.every((e=>!Boolean("separator"!==e.type&&(e.getState().icon||e.getState().checkable))));return r.createElement(E.EmptyIconsContext.Provider,{value:s},r.createElement("ul",null,n&&r.createElement(r.Fragment,null,r.createElement(f.ContextMenuItem,{label:n.getState().label,isTitle:!0,active:!1,disabled:!1,subItems:[],checkable:!1,checked:!1,doNotCloseOnClick:!1,icon:k,onClick:o}),r.createElement(m,null)),t.map((e=>{switch(e.type){case"action":return r.createElement(_,{key:e.id,action:e});case"separator":return r.createElement(m,{key:e.id})}}))))}const C=r.createContext(null);var w=n(36002);class x extends r.PureComponent{constructor(e){super(e),this._menuRef=r.createRef(),this._handleRequestUpdate=()=>{this.update()},this._handleClose=()=>{this.props.onClose&&this.props.onClose()},this._handleOutsideClickClose=e=>{const{doNotCloseOn:t,onClose:n}=this.props;!n||void 0!==t&&t.contains(e.target)||n()},this._handleFocusOnOpen=()=>{var e,t
;(null===(e=this.props.menuElementReference)||void 0===e?void 0:e.current)&&this.props.takeFocus&&(null===(t=this.props.menuElementReference)||void 0===t||t.current.focus({preventScroll:!0}))},this.state={}}render(){const{isOpened:e,onClose:t,items:n,doNotCloseOn:o,menuStatName:a,parentStatName:d,takeFocus:m,...f}=this.props;return e?r.createElement(h.DrawerManager,null,r.createElement(c.KeyboardDocumentListener,{keyCode:27,eventType:"keyup",handler:this._handleClose}),r.createElement(p.MatchMedia,{rule:"screen and (max-width: 430px)"},(t=>this._isDrawer(t)?r.createElement(C.Provider,{value:{type:"drawer"}},r.createElement(v.Drawer,{onClose:this._handleClose,position:"Bottom","data-name":f["data-name"]},r.createElement(y,{items:n}))):r.createElement(C.Provider,{value:{type:"menu"}},r.createElement(l.OutsideEvent,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,reference:this.props.menuElementReference},(t=>r.createElement(i.Menu,{...f,reference:t,className:s()(w.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0,ref:this._menuRef,tabIndex:m?-1:void 0,onOpen:this._handleFocusOnOpen},r.createElement(u.ActionsTable,{items:n,menuStatName:a,parentStatName:d,parentIsOpened:e,onRequestUpdate:this._handleRequestUpdate})))))))):null}update(){this._menuRef.current&&this._menuRef.current.update()}_isDrawer(e){return void 0===this.props.mode?e:"drawer"===this.props.mode}}const g=(0,a.makeOverlapable)(x)},99025:(e,t,n)=>{"use strict";n.d(t,{Hint:()=>i});var r=n(50959),o=n(97754),s=n.n(o),a=n(22436);function i(e){const{text:t="",className:n}=e;return r.createElement("span",{className:s()(a.shortcut,n)},t)}},23829:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>m});var r=n(50959),o=n(97754),s=n.n(o),a=n(9745),i=n(26996),l=n(54627),c=n(99025),u=n(39750),h=n(79978),p=n(69311),d=n(29122);function m(e){const{className:t,isTitle:n,isLoading:o,isHovered:m,active:f,checkable:v,disabled:b,checked:_,icon:E,iconChecked:k,hint:y,subItems:C,label:w,onClick:x,children:g,toolbox:S,jsxLabel:I,size:N="normal"}=e,M=(0,r.useContext)(l.EmptyIconsContext),O=!!C.length;return o?r.createElement("li",{className:s()(t,d.item,d.loading,d[N])},r.createElement(i.Loader,null)):r.createElement("li",{className:s()(t,d.item,d.interactive,n&&d.title,b&&d.disabled,m&&d.hovered,f&&d.active,M&&d.emptyIcons,d[N]),onClick:x},r.createElement(a.Icon,{className:s()(d.icon),icon:function(){if(v&&_)return k||E||u;return E}()}),r.createElement("span",{className:s()(d.label)},null!=I?I:w),!!S&&r.createElement(a.Icon,{onClick:function(){S&&S.action()},className:d.remove,icon:p}),!O&&y&&r.createElement(c.Hint,{className:d.shortcut,text:y}),O&&r.createElement(a.Icon,{className:d.nested,icon:h}),g)}},54627:(e,t,n)=>{"use strict";n.d(t,{EmptyIconsContext:()=>r});const r=n(50959).createContext(!1)},9481:(e,t,n)=>{"use strict";n.d(t,{KeyboardDocumentListener:()=>o});var r=n(50959);class o extends r.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}
componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}},76594:(e,t,n)=>{"use strict";n.d(t,{OutsideEvent:()=>o});var r=n(36383);function o(e){const{children:t,...n}=e;return t((0,r.useOutsideEvent)(n))}},86431:(e,t,n)=>{"use strict";n.d(t,{makeOverlapable:()=>s});var r=n(50959),o=n(65718);function s(e){return class extends r.PureComponent{render(){const{isOpened:t,root:n}=this.props;if(!t)return null;const s=r.createElement(e,{...this.props,zIndex:150});return"parent"===n?s:r.createElement(o.Portal,null,s)}}}},96040:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>c});var r=n(44352),o=n(50959),s=n(97754),a=n(9745),i=n(33765),l=n(27306);function c(e){const{className:t,isActive:c,onClick:u,onMouseDown:h,title:p,hidden:d,"data-name":m="remove-button",...f}=e;return o.createElement(a.Icon,{...f,"data-name":m,className:s(l.button,"apply-common-tooltip",c&&l.active,d&&l.hidden,t),icon:i,onClick:u,onMouseDown:h,title:p||r.t(null,void 0,n(34596))})}},95257:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f=Object.assign,v={};function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function _(){}function E(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var k=E.prototype=new _;k.constructor=E,f(k,b.prototype),k.isPureReactComponent=!0;var y=Array.isArray,C=Object.prototype.hasOwnProperty,w={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function g(e,t,r){var o,s={},a=null,i=null;if(null!=t)for(o in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,o)&&!x.hasOwnProperty(o)&&(s[o]=t[o]);var l=arguments.length-2;if(1===l)s.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];s.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===s[o]&&(s[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:i,props:s,_owner:w.current}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g;function N(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"}
;return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,o,s,a){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var l=!1;if(null===e)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===s?"."+N(l,0):s,y(a)?(o="",null!=e&&(o=e.replace(I,"$&/")+"/"),M(a,t,o,"",(function(e){return e}))):null!=a&&(S(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+e)),t.push(a)),1;if(l=0,s=""===s?".":s+":",y(e))for(var c=0;c<e.length;c++){var u=s+N(i=e[c],c);l+=M(i,t,o,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(i=e.next()).done;)l+=M(i=i.value,t,o,u=s+N(i,c++),a);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],o=0;return M(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},L={transition:null},G={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:L,ReactCurrentOwner:w};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=o,t.Profiler=a,t.PureComponent=E,t.StrictMode=s,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=f({},e.props),s=e.key,a=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,i=w.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)C.call(t,c)&&!x.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:e.type,key:s,ref:a,props:o,_owner:i}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=g,t.createFactory=function(e){var t=g.bind(null,e)
;return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.2.0"},50959:(e,t,n)=>{"use strict";e.exports=n(95257)},58451:(e,t,n)=>{"use strict";n.d(t,{ActionsTable:()=>M});var r=n(50959),o=n(86838);function s(e){return r.createElement("tr",{className:o.row},r.createElement("td",null,r.createElement("div",{className:o.line})),r.createElement("td",null,r.createElement("div",{className:o.line}),e.hint?r.createElement("div",{className:o.hint},e.hint):null))}var a=n(50151),i=n(97754),l=n.n(i),c=n(70673),u=n(49483),h=n(32563);var p=n(96040),d=n(36189),m=n(99025),f=n(25812),v=n(80802),b=n(14665),_=n(22436);class E extends r.PureComponent{constructor(){super(...arguments),this._handleMouseOver=e=>{(function(e){const t=e.sourceCapabilities;let n=t&&t.firesTouchEvents;return void 0===n&&(n=h.touch),n})(e.nativeEvent)||this.props.onMouseOver&&this.props.onMouseOver()},this._handleClickToolbox=e=>{e.stopPropagation(),this.props.onClickToolbox&&this.props.onClickToolbox()}}render(){const{hasSubItems:e,shortcutHint:t,hint:n,invisibleHotkey:o,favourite:s,theme:a=_,size:l="normal"}=this.props,c=this.props.checkable&&this.props.checkboxInput?"label":"div";return r.createElement(r.Fragment,null,r.createElement("tr",{className:i(this.props.className,a.item,!this.props.noInteractive&&a.interactive,this.props.hovered&&a.hovered,this.props.disabled&&a.disabled,this.props.active&&a.active,this.props.selected&&a.selected,a[l]),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName},void 0!==s&&r.createElement("td",null,r.createElement(d.FavoriteButton,{className:a.favourite,isFilled:s,onClick:this.props.onFavouriteClick
})),r.createElement("td",{className:i(a.iconCell),"data-icon-cell":!0},this._icon(a)),r.createElement("td",{className:a.contentCell},r.createElement(c,{className:a.content},r.createElement("span",{className:i(a.label,this.props.checked&&a.checked),"data-label":!0},this.props.label),this._toolbox(a),e&&r.createElement("span",{className:a.arrowIcon,dangerouslySetInnerHTML:{__html:b},"data-submenu-arrow":!0}),!e&&t&&!u.CheckMobile.any()&&r.createElement(m.Hint,{className:i(o&&a.invisibleHotkey),text:t}),!e&&!t&&n&&r.createElement(m.Hint,{text:n})))),r.createElement("tr",{className:a.subMenu},r.createElement("td",null,this.props.children)))}_icon(e){if(this.props.checkable){if(this.props.checkboxInput)return r.createElement(c.CheckboxInput,{className:i(e.icon,e.checkboxInput),checked:this.props.checked});if(this.props.checked){const t=!this.props.icon&&!this.props.iconChecked,n=this.props.iconChecked||this.props.icon||v;return r.createElement("span",{className:i(e.icon,t&&e.checkmark),dangerouslySetInnerHTML:{__html:n},"data-icon-checkmark":t})}return this.props.icon?r.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):r.createElement("span",{className:e.icon})}return this.props.icon?r.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null}_toolbox(e){return this.props.toolbox?r.createElement("span",{className:i(e.toolbox,this.props.showToolboxOnHover&&e.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null}_renderToolboxContent(){return this.props.toolbox&&this.props.toolbox.type===f.ToolboxType.Delete?r.createElement(p.RemoveButton,{onClick:this.props.toolbox.action}):null}}var k=n(29332),y=n(59064),C=n(51768),w=n(38223);var x=n(83021),g=n(26996),S=n(51331);function I(e){const{size:t="normal"}=e;return r.createElement(E,{size:t,label:r.createElement("div",{className:l()(S.loaderWrap,S[t])},r.createElement(g.Loader,{className:S.loader})),noInteractive:!0,onMouseOver:e.onMouseOver})}class N extends r.PureComponent{constructor(e){super(e),this._itemRef=null,this._menuElementRef=r.createRef(),this._menuRef=null,this._handleClick=e=>{e.isDefaultPrevented()||this.state.disabled||(this._hasSubItems()?this._showSubMenu():(this.state.doNotCloseOnClick||(0,y.globalCloseMenu)(),this.props.action.execute(),this._trackEvent(),this.props.onExecute&&this.props.onExecute(this.props.action)))},this._handleClickToolbox=()=>{(0,y.globalCloseMenu)()},this._handleItemMouseOver=()=>{this._showSubMenu(),this._setCurrentContextValue()},this._handleMenuMouseOver=()=>{this._setCurrentContextValue()},this._showSubMenu=()=>{this.props.onShowSubMenu(this.props.action)},this._calcSubMenuPos=e=>function(e,t,n={x:0,y:10}){if(t){const{left:n,right:r,top:o}=t.getBoundingClientRect(),s=document.documentElement.clientWidth,a={x:n-e,y:o},i={x:r,y:o};return(0,w.isRtl)()?n<=e?i:a:s-r>=e?i:a}return n}(e,this._itemRef),this._updateState=e=>{this.setState(e.getState())},this._setItemRef=e=>{this._itemRef=e},
this._handleMenuRef=e=>{this._menuRef=e},this._registerSubmenu=()=>{var e;return null===(e=this.context)||void 0===e?void 0:e.registerSubmenu(this.props.action.id,(e=>(0,a.ensureNotNull)(this._itemRef).contains(e)||null!==this._menuElementRef.current&&this._menuElementRef.current.contains(e)))},this.state={...this.props.action.getState()}}componentDidMount(){this.props.action.onUpdate().subscribe(this,this._updateState),this.state.subItems.length&&(this._unsubscribe=this._registerSubmenu()),this.props.reference&&(this._itemRef=this.props.reference.current)}componentDidUpdate(e,t){var n,r,o;t.loading!==this.state.loading&&(null===(r=(n=this.props).onRequestUpdate)||void 0===r||r.call(n)),0===t.subItems.length&&this.state.subItems.length>0&&(this._unsubscribe=this._registerSubmenu()),t.subItems.length>0&&0===this.state.subItems.length&&(null===(o=this._unsubscribe)||void 0===o||o.call(this)),t.subItems!==this.state.subItems&&null!==this._menuRef&&this._menuRef.update()}componentWillUnmount(){this.props.action.onUpdate().unsubscribe(this,this._updateState),this._unsubscribe&&this._unsubscribe()}render(){var e,t,n;const o=null!==(e=this.state.jsxLabel)&&void 0!==e?e:this.state.label,s=(null===(t=this.context)||void 0===t?void 0:t.current)?this.context.current===this.props.action.id:this.props.isSubMenuOpened;return this.state.loading?r.createElement(I,{size:this.state.size}):r.createElement(E,{theme:this.props.theme,reference:null!==(n=this.props.reference)&&void 0!==n?n:this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._handleItemMouseOver,hovered:s,hasSubItems:this._hasSubItems(),actionName:this.state.name,checkboxInput:this.props.checkboxInput,selected:this.props.selected,...this.state,label:o},r.createElement(k.ContextMenu,{isOpened:s,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName(),menuElementReference:this._menuElementRef,onMouseOver:this.state.subItems.length?this._handleMenuMouseOver:void 0,ref:this._handleMenuRef}))}_setCurrentContextValue(){var e;this.state.subItems.length&&(null===(e=this.context)||void 0===e||e.setCurrent(this.props.action.id))}_hasSubItems(){return this.state.subItems.length>0}_trackEvent(){const e=this._getStatName();(0,C.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)}_getStatName(){return[this.props.parentStatName,this.state.statName].filter((e=>Boolean(e))).join(".")}}N.contextType=x.SubmenuContext;class M extends r.PureComponent{constructor(e){super(e),this._handleShowSubMenu=e=>{const t=e.getState();this.setState({showSubMenuOf:t.subItems.length?e:void 0})},this.state={}}render(){return r.createElement("table",null,r.createElement("tbody",null,this.props.items.map((e=>this._item(e)))))}static getDerivedStateFromProps(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null}_item(e){switch(e.type){case"separator":return r.createElement(s,{key:e.id,hint:e.getHint()});case"action":return r.createElement(N,{key:e.id,action:e,
onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===e,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName,onRequestUpdate:this.props.onRequestUpdate})}}}},65890:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},66493:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.5 20L11 14.5 16.5 9"/></svg>'},79978:e=>{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="M8 5l3.5 3.5L8 12"/></svg>'},80802:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 14" width="18" height="14"><path fill="currentColor" d="M6 11.17l-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41-10.59 10.58z"/></svg>'},39750:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},33765:e=>{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>'},69311:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9.7 9l4.65-4.65-.7-.7L9 8.29 4.35 3.65l-.7.7L8.29 9l-4.64 4.65.7.7L9 9.71l4.65 4.64.7-.7L9.71 9z"/></svg>'}}]);

View File

@@ -1,28 +1,28 @@
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5901],{59142:function(e,t){var n,o,s;o=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var o={get passive(){n=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),r=[],a=!1,i=-1,l=void 0,c=void 0,u=function(e){return r.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},p=function(e){var t=e||window.event;return!!u(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},d=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}))};e.disableBodyScroll=function(e,o){if(s){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!r.some((function(t){return t.targetElement===e}))){var d={targetElement:e,options:o||{}};r=[].concat(t(r),[d]),e.ontouchstart=function(e){1===e.targetTouches.length&&(i=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,o,s,r;1===t.targetTouches.length&&(o=e,r=(n=t).targetTouches[0].clientY-i,!u(n.target)&&(o&&0===o.scrollTop&&0<r||(s=o)&&s.scrollHeight-s.scrollTop<=s.clientHeight&&r<0?p(n):n.stopPropagation()))},a||(document.addEventListener("touchmove",p,n?{passive:!1}:void 0),a=!0)}}else{m=o,setTimeout((function(){if(void 0===c){var e=!!m&&!0===m.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(c=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}));var h={targetElement:e,options:o||{}};r=[].concat(t(r),[h])}var m},e.clearAllBodyScrollLocks=function(){s?(r.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),a&&(document.removeEventListener("touchmove",p,n?{passive:!1}:void 0),a=!1),r=[],i=-1):(d(),r=[])},e.enableBodyScroll=function(e){if(s){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,r=r.filter((function(t){return t.targetElement!==e})),a&&0===r.length&&(document.removeEventListener("touchmove",p,n?{passive:!1}:void 0),a=!1)}else 1===r.length&&r[0].targetElement===e?(d(),r=[]):r=r.filter((function(t){return t.targetElement!==e}))}},void 0===(s="function"==typeof n?n.apply(t,o):n)||(e.exports=s)},23428:e=>{e.exports={button:"button-PYEOTd6i",disabled:"disabled-PYEOTd6i",hidden:"hidden-PYEOTd6i",icon:"icon-PYEOTd6i",dropped:"dropped-PYEOTd6i"}},70048:e=>{e.exports={wrapper:"wrapper-GZajBGIm",
input:"input-GZajBGIm",box:"box-GZajBGIm",icon:"icon-GZajBGIm",noOutline:"noOutline-GZajBGIm","intent-danger":"intent-danger-GZajBGIm",check:"check-GZajBGIm",dot:"dot-GZajBGIm"}},69789:e=>{e.exports={checkbox:"checkbox-vyj6oJxw",reverse:"reverse-vyj6oJxw",label:"label-vyj6oJxw",baseline:"baseline-vyj6oJxw"}},22623:e=>{e.exports={"textarea-container":"textarea-container-x5KHDULU","change-highlight":"change-highlight-x5KHDULU",focused:"focused-x5KHDULU","resize-vertical":"resize-vertical-x5KHDULU","resize-horizontal":"resize-horizontal-x5KHDULU","resize-both":"resize-both-x5KHDULU",textarea:"textarea-x5KHDULU","with-icon":"with-icon-x5KHDULU",endslot:"endslot-x5KHDULU"}},78370:e=>{e.exports={"icon-wrapper":"icon-wrapper-EZuD3gZZ","no-active-state":"no-active-state-EZuD3gZZ","with-tooltip":"with-tooltip-EZuD3gZZ","intent-default":"intent-default-EZuD3gZZ","intent-danger":"intent-danger-EZuD3gZZ","intent-warning":"intent-warning-EZuD3gZZ","intent-success":"intent-success-EZuD3gZZ",icon:"icon-EZuD3gZZ"}},88400:e=>{e.exports={radio:"radio-ALqkCUvs",input:"input-ALqkCUvs",box:"box-ALqkCUvs",reverse:"reverse-ALqkCUvs",label:"label-ALqkCUvs",wrapper:"wrapper-ALqkCUvs",noOutline:"noOutline-ALqkCUvs"}},52272:e=>{e.exports={wrap:"wrap-QStmZL8l",thicknessItem:"thicknessItem-QStmZL8l",checked:"checked-QStmZL8l",radio:"radio-QStmZL8l",bar:"bar-QStmZL8l"}},12863:e=>{e.exports={innerLabel:"innerLabel-DjbvBF5Y"}},21234:e=>{e.exports={controlWrapper:"controlWrapper-DBTazUk2",hidden:"hidden-DBTazUk2",control:"control-DBTazUk2",controlIncrease:"controlIncrease-DBTazUk2",controlDecrease:"controlDecrease-DBTazUk2",controlIcon:"controlIcon-DBTazUk2",title:"title-DBTazUk2"}},60015:e=>{e.exports={wrap:"wrap-ne5qGlZh",icon:"icon-ne5qGlZh",text:"text-ne5qGlZh",disabled:"disabled-ne5qGlZh"}},28685:e=>{e.exports={colorPickerWrap:"colorPickerWrap-Sw_a4qpB",focused:"focused-Sw_a4qpB",readonly:"readonly-Sw_a4qpB",disabled:"disabled-Sw_a4qpB","size-small":"size-small-Sw_a4qpB","size-medium":"size-medium-Sw_a4qpB","size-large":"size-large-Sw_a4qpB","font-size-small":"font-size-small-Sw_a4qpB","font-size-medium":"font-size-medium-Sw_a4qpB","font-size-large":"font-size-large-Sw_a4qpB","border-none":"border-none-Sw_a4qpB",shadow:"shadow-Sw_a4qpB","border-thin":"border-thin-Sw_a4qpB","border-thick":"border-thick-Sw_a4qpB","intent-default":"intent-default-Sw_a4qpB","intent-success":"intent-success-Sw_a4qpB","intent-warning":"intent-warning-Sw_a4qpB","intent-danger":"intent-danger-Sw_a4qpB","intent-primary":"intent-primary-Sw_a4qpB","corner-top-left":"corner-top-left-Sw_a4qpB","corner-top-right":"corner-top-right-Sw_a4qpB","corner-bottom-right":"corner-bottom-right-Sw_a4qpB","corner-bottom-left":"corner-bottom-left-Sw_a4qpB",colorPicker:"colorPicker-Sw_a4qpB",swatch:"swatch-Sw_a4qpB",placeholderContainer:"placeholderContainer-Sw_a4qpB",placeholder:"placeholder-Sw_a4qpB",mixedColor:"mixedColor-Sw_a4qpB",white:"white-Sw_a4qpB",opacitySwatch:"opacitySwatch-Sw_a4qpB",colorLine:"colorLine-Sw_a4qpB",multiWidth:"multiWidth-Sw_a4qpB",line:"line-Sw_a4qpB",
thicknessContainer:"thicknessContainer-Sw_a4qpB",thicknessTitle:"thicknessTitle-Sw_a4qpB"}},86536:e=>{e.exports={thicknessContainer:"thicknessContainer-C05zSid7",thicknessTitle:"thicknessTitle-C05zSid7"}},69006:e=>{e.exports={hasTooltip:"hasTooltip-DcvaoxPU",uppercase:"uppercase-DcvaoxPU"}},2746:e=>{e.exports={wrap:"wrap-Q2NZ0gvI"}},25679:e=>{e.exports={checkbox:"checkbox-FG0u1J5p",title:"title-FG0u1J5p"}},41125:e=>{e.exports={hintButton:"hintButton-qEI9XsjF"}},69750:e=>{e.exports={titleWrap:"titleWrap-SexRbl__",title:"title-SexRbl__"}},93402:e=>{e.exports={container:"container-mdcOkvbj",sectionTitle:"sectionTitle-mdcOkvbj",separator:"separator-mdcOkvbj",customButton:"customButton-mdcOkvbj"}},80679:e=>{e.exports={container:"container-iiEYaqPD",form:"form-iiEYaqPD",swatch:"swatch-iiEYaqPD",inputWrap:"inputWrap-iiEYaqPD",inputHash:"inputHash-iiEYaqPD",input:"input-iiEYaqPD",buttonWrap:"buttonWrap-iiEYaqPD",hueSaturationWrap:"hueSaturationWrap-iiEYaqPD",saturation:"saturation-iiEYaqPD",hue:"hue-iiEYaqPD"}},1369:e=>{e.exports={hue:"hue-r4uo5Wn6",pointer:"pointer-r4uo5Wn6",pointerContainer:"pointerContainer-r4uo5Wn6"}},30099:e=>{e.exports={opacity:"opacity-EnWts7Xu",opacitySlider:"opacitySlider-EnWts7Xu",opacitySliderGradient:"opacitySliderGradient-EnWts7Xu",pointer:"pointer-EnWts7Xu",dragged:"dragged-EnWts7Xu",opacityPointerWrap:"opacityPointerWrap-EnWts7Xu",opacityInputWrap:"opacityInputWrap-EnWts7Xu",opacityInput:"opacityInput-EnWts7Xu",opacityInputPercent:"opacityInputPercent-EnWts7Xu"}},35257:e=>{e.exports={saturation:"saturation-NFNfqP2w",pointer:"pointer-NFNfqP2w"}},87466:e=>{e.exports={swatches:"swatches-sfn7Lezv",swatch:"swatch-sfn7Lezv",hover:"hover-sfn7Lezv",empty:"empty-sfn7Lezv",white:"white-sfn7Lezv",selected:"selected-sfn7Lezv",contextItem:"contextItem-sfn7Lezv"}},66986:e=>{e.exports={button:"button-tFul0OhX","button-children":"button-children-tFul0OhX",hiddenArrow:"hiddenArrow-tFul0OhX",invisibleFocusHandler:"invisibleFocusHandler-tFul0OhX"}},60673:e=>{e.exports={placeholder:"placeholder-V6ceS6BN"}},70673:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>u});var o=n(50959),s=n(97754),r=n(90186),a=n(9745),i=n(65890),l=n(70048),c=n.n(l);function u(e){const t=s(c().box,c()[`intent-${e.intent}`],{[c().check]:!Boolean(e.indeterminate),[c().dot]:Boolean(e.indeterminate),[c().noOutline]:-1===e.tabIndex}),n=s(c().wrapper,e.className);return o.createElement("span",{className:n,title:e.title,style:e.style},o.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:c().input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference,"aria-required":e["aria-required"],"aria-describedby":e["aria-describedby"],"aria-invalid":e["aria-invalid"],...(0,r.filterDataProps)(e)}),o.createElement("span",{className:t},o.createElement(a.Icon,{icon:i,className:c().icon})))}},15294:(e,t,n)=>{"use strict";n.d(t,{Checkbox:()=>c});var o=n(50959),s=n(97754),r=n(57733),a=n(70673),i=n(69789),l=n.n(i)
;class c extends o.PureComponent{render(){const{inputClassName:e,labelClassName:t,...n}=this.props,r=s(this.props.className,l().checkbox,{[l().reverse]:Boolean(this.props.labelPositionReverse),[l().baseline]:Boolean(this.props.labelAlignBaseline)}),i=s(l().label,t,{[l().disabled]:this.props.disabled});let c=null;return this.props.label&&(c=o.createElement("span",{className:i,title:this.props.title},this.props.label)),o.createElement("label",{className:r},o.createElement(a.CheckboxInput,{...n,className:e}),c)}}c.defaultProps={value:"on"};(0,r.makeSwitchGroupItem)(c)},2568:(e,t,n)=>{"use strict";n.d(t,{Textarea:()=>C});var o,s=n(50959),r=n(97754),a=n(38528),i=n(29202),l=n(48027),c=n(45812),u=n(47201),p=n(48907),d=n(67029),h=n(78274),m=n(22623),v=n.n(m);!function(e){e.None="none",e.Vertical="vertical",e.Horizontal="horizontal",e.Both="both"}(o||(o={}));const g=s.forwardRef(((e,t)=>{const{id:n,title:o,tabIndex:a,containerTabIndex:i,role:l,inputClassName:c,autoComplete:u,autoFocus:p,cols:m,disabled:g,isFocused:f,form:b,maxLength:C,minLength:y,name:E,placeholder:w,readonly:S,required:x,rows:_,value:N,defaultValue:T,wrap:I,containerReference:k,onChange:P,onSelect:B,onFocus:D,onContainerFocus:M,onBlur:V,"aria-describedby":O,"aria-required":F,"aria-invalid":R,hasIcon:L,endSlot:W,hasAttachImage:A,...q}=e,U={id:n,title:o,tabIndex:a,role:l,autoComplete:u,autoFocus:p,cols:m,disabled:g,form:b,maxLength:C,minLength:y,name:E,placeholder:w,readOnly:S,required:x,rows:_,value:N,defaultValue:T,wrap:I,onChange:P,onSelect:B,onFocus:D,onBlur:V,"aria-describedby":O,"aria-required":F,"aria-invalid":R};return s.createElement(d.ControlSkeleton,{...q,tabIndex:i,disabled:g,readonly:S,isFocused:f,ref:k,onFocus:M,middleSlot:s.createElement(h.MiddleSlot,null,s.createElement("textarea",{...U,className:r(v().textarea,c,W&&v().endslot),ref:t})),...W&&{endSlot:s.createElement("span",{className:r(!A&&v()["with-icon"])},W)}})}));g.displayName="TextareaView";const f=(e,t,n)=>t?void 0:e?-1:n,b=(e,t,n)=>t?void 0:e?n:-1,C=s.forwardRef(((e,t)=>{e=(0,l.useControl)(e);const{className:n,disabled:d,autoSelectOnFocus:h,tabIndex:m=0,borderStyle:C,highlight:y,resize:E,containerReference:w=null,onFocus:S,onBlur:x,hasIcon:_,...N}=e,T=(0,s.useRef)(null),I=(0,s.useRef)(null),{isMouseDown:k,handleMouseDown:P,handleMouseUp:B}=(0,c.useIsMouseDown)(),[D,M]=(0,i.useFocus)(),V=(0,u.createSafeMulticastEventHandler)(M.onFocus,(function(e){h&&!k.current&&(0,p.selectAllContent)(e.currentTarget)}),S),O=(0,u.createSafeMulticastEventHandler)(M.onBlur,x),F=void 0!==E&&E!==o.None,R=null!=C?C:F?y?"thick":"thin":void 0,L=null!=y?y:!F&&void 0;return s.createElement(g,{...N,className:r(v()["textarea-container"],F&&v()["change-highlight"],E&&E!==o.None&&v()[`resize-${E}`],D&&v().focused,n),disabled:d,isFocused:D,containerTabIndex:f(D,d,m),tabIndex:b(D,d,m),borderStyle:R,highlight:L,onContainerFocus:function(e){I.current===e.target&&null!==T.current&&T.current.focus()},onFocus:V,onBlur:O,onMouseDown:P,onMouseUp:B,ref:function(e){T.current=e,"function"==typeof t?t(e):t&&(t.current=e)},
containerReference:(0,a.useMergedRefs)([w,I]),hasIcon:_})}));C.displayName="Textarea"},36104:(e,t,n)=>{"use strict";n.d(t,{useControlDisclosure:()=>s});var o=n(7953);function s(e){const{intent:t,highlight:n,...s}=e,{isFocused:r,...a}=(0,o.useDisclosure)(s);return{...a,isFocused:r,highlight:null!=n?n:r,intent:null!=t?t:r?"primary":"default"}}},57733:(e,t,n)=>{"use strict";n.d(t,{SwitchGroup:()=>a,makeSwitchGroupItem:()=>i});var o=n(50959);const s=function(){},r=(0,o.createContext)({getName:()=>"",getValues:()=>[],getOnChange:()=>s,subscribe:s,unsubscribe:s});class a extends o.PureComponent{constructor(e){super(e),this._subscriptions=new Set,this._getName=()=>this.props.name,this._getValues=()=>this.props.values,this._getOnChange=()=>this.props.onChange,this._subscribe=e=>{this._subscriptions.add(e)},this._unsubscribe=e=>{this._subscriptions.delete(e)},this.state={switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}}render(){return o.createElement(r.Provider,{value:this.state.switchGroupContext},this.props.children)}componentDidUpdate(e){this._notify(this._getUpdates(this.props.values,e.values))}_notify(e){this._subscriptions.forEach((t=>t(e)))}_getUpdates(e,t){return[...t,...e].filter((n=>t.includes(n)?!e.includes(n):e.includes(n)))}}function i(e){var t;return t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this.context.getOnChange()(e)},this._onUpdate=e=>{e.includes(this.props.value)&&this.forceUpdate()}}componentDidMount(){this.context.subscribe(this._onUpdate)}render(){return o.createElement(e,{...this.props,name:this._getName(),onChange:this._onChange,checked:this._isChecked()})}componentWillUnmount(){this.context.unsubscribe(this._onUpdate)}_getName(){return this.context.getName()}_isChecked(){return this.context.getValues().includes(this.props.value)}},t.contextType=r,t}},92399:(e,t,n)=>{"use strict";n.d(t,{NumberInputView:()=>I});var o=n(50959),s=n(32563),r=n(97754),a=n(67029),i=n(78274),l=n(86623),c=n(95263),u=n(1405),p=n(12863);const d={large:a.InputClasses.FontSizeLarge,medium:a.InputClasses.FontSizeMedium},h={attachment:u.anchors.top.attachment,targetAttachment:u.anchors.top.targetAttachment,attachmentOffsetY:-4};function m(e){const{className:t,inputClassName:n,stretch:s=!0,errorMessage:a,fontSizeStyle:u="large",endSlot:m,button:v,error:g,warning:f,innerLabel:b,inputReference:C,children:y,...E}=e,w=g&&void 0!==a?[a]:void 0,S=f&&void 0!==a?[a]:void 0,x=r(p.inputContainer,d[u],t),_=b?o.createElement(i.StartSlot,{className:p.innerLabel,interactive:!1},b):void 0,N=m||v||y?o.createElement(i.EndSlot,null,m,v,y):void 0;return o.createElement(l.FormInput,{...E,className:x,inputClassName:n,errors:w,warnings:S,hasErrors:g,hasWarnings:f,messagesPosition:c.MessagesPosition.Attached,customErrorsAttachment:h,messagesRoot:"document",inheritMessagesWidthFromTarget:!0,disableMessagesRtlStyles:!0,iconHidden:!0,stretch:s,reference:C,startSlot:_,endSlot:N})}
var v=n(38528),g=n(44352),f=n(9745),b=n(21861),C=n(2948),y=n(21234);function E(e){const t=r(y.control,y.controlIncrease),s=r(y.control,y.controlDecrease);return o.createElement(o.Fragment,null,void 0!==e.title&&o.createElement("div",{className:y.title},e.title),o.createElement("div",{className:y.controlWrapper},(e.defaultButtonsVisible||e.title)&&o.createElement(o.Fragment,null,o.createElement("button",{type:"button",tabIndex:-1,"aria-label":g.t(null,void 0,n(46812)),className:t,onClick:e.increaseValue,onMouseDown:b.preventDefault},o.createElement(f.Icon,{icon:C,className:y.controlIcon})),o.createElement("button",{type:"button",tabIndex:-1,"aria-label":g.t(null,void 0,n(56095)),className:s,onClick:e.decreaseValue,onMouseDown:b.preventDefault},o.createElement(f.Icon,{icon:C,className:y.controlIcon})))))}var w=n(70412),S=n(29202),x=n(47201),_=n(68335);const N=[38],T=[40];function I(e){const[t,n]=(0,w.useHover)(),[r,a]=(0,S.useFocus)(),i=(0,o.useRef)(null),l=(0,x.createSafeMulticastEventHandler)(a.onFocus,e.onFocus),c=(0,x.createSafeMulticastEventHandler)(a.onBlur,e.onBlur),u=(0,o.useCallback)((t=>{!e.disabled&&r&&(t.preventDefault(),t.deltaY<0?e.onValueByStepChange(1):e.onValueByStepChange(-1))}),[r,e.disabled,e.onValueByStepChange]);return o.createElement(m,{...n,id:e.id,name:e.name,pattern:e.pattern,borderStyle:e.borderStyle,fontSizeStyle:e.fontSizeStyle,value:e.value,className:e.className,inputClassName:e.inputClassName,button:function(){const{button:n,forceShowControls:a,disabled:i,title:l}=e,c=!i&&!s.mobiletouch&&(a||r||t);return i?void 0:o.createElement(o.Fragment,null,null!=n?n:o.createElement(E,{increaseValue:p,decreaseValue:d,defaultButtonsVisible:c,title:l}))}(),disabled:e.disabled,placeholder:e.placeholder,innerLabel:e.innerLabel,endSlot:e.endSlot,containerReference:(0,v.useMergedRefs)([i,e.containerReference]),inputReference:e.inputReference,inputMode:e.inputMode,type:e.type,warning:e.warning,error:e.error,errorMessage:e.errorMessage,onClick:e.onClick,onFocus:l,onBlur:c,onChange:e.onValueChange,onKeyDown:function(t){if(e.disabled||0!==(0,_.modifiersFromEvent)(t.nativeEvent))return;let n=N,o=T;e.controlDecKeyCodes&&(o=o.concat(e.controlDecKeyCodes));e.controlIncKeyCodes&&(n=n.concat(e.controlIncKeyCodes));(o.includes(t.keyCode)||n.includes(t.keyCode))&&(t.preventDefault(),e.onValueByStepChange(o.includes(t.keyCode)?-1:1));e.onKeyDown&&e.onKeyDown(t)},onWheelNoPassive:u,stretch:e.stretch,intent:e.intent,highlight:e.highlight,highlightRemoveRoundBorder:e.highlightRemoveRoundBorder,autoSelectOnFocus:e.autoSelectOnFocus,"data-property-id":e["data-name"]});function p(){var t;e.disabled||(null===(t=i.current)||void 0===t||t.focus(),e.onValueByStepChange(1))}function d(){var t;e.disabled||(null===(t=i.current)||void 0===t||t.focus(),e.onValueByStepChange(-1))}}},58593:(e,t,n)=>{"use strict";n.d(t,{ColorSelect:()=>_});var o=n(50959),s=n(97754),r=n.n(s),a=n(50151),i=n(68335),l=n(20520),c=n(29202),u=n(27797),p=n(64706);function d(e){const{button:t,children:n,className:s,onPopupClose:r,"data-name":d,...h}=e,[m,v]=(0,
o.useState)(!1),[g,f]=(0,o.useState)(!1),[b,C]=(0,c.useFocus)(),y=(0,o.useRef)(null);return o.createElement("div",{className:s,"data-name":d},o.createElement("div",{tabIndex:e.disabled?void 0:-1,ref:y,onClick:function(){if(e.disabled)return;f((e=>!e)),v(!1)},onFocus:C.onFocus,onBlur:C.onBlur,onKeyDown:E},"function"==typeof t?t(g,b):t),o.createElement(l.PopupMenu,{isOpened:g,onClose:w,position:function(){const e=(0,a.ensureNotNull)(y.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height}},doNotCloseOn:y.current,onKeyDown:E},o.createElement(p.MenuContext.Consumer,null,(e=>o.createElement(u.ColorPicker,{...h,onToggleCustom:v,menu:e}))),!m&&n));function E(e){if(27===(0,i.hashFromEvent)(e))g&&(e.preventDefault(),w())}function w(){f(!1),(0,a.ensureNotNull)(y.current).focus(),r&&r()}}var h=n(56512),m=n(87095),v=n(6914),g=n(44352),f=n(57733),b=n(52272);const C=(0,f.makeSwitchGroupItem)(class extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const{name:e,checked:t,value:n}=this.props,r=s(b.thicknessItem,{[b.checked]:t}),a=s(b.bar,{[b.checked]:t}),i={borderTopWidth:parseInt(n)};return o.createElement("div",{className:r},o.createElement("input",{type:"radio",className:b.radio,name:e,value:n,onChange:this._onChange,checked:t}),o.createElement("div",{className:a,style:i}," "))}});function y(e){const{name:t,values:n,selectedValues:s,onChange:r}=e,a=n.map(((e,t)=>o.createElement(C,{key:t,value:e.toString()}))),i=s.map((e=>e.toString()));return o.createElement("div",{className:b.wrap},o.createElement(f.SwitchGroup,{name:t,onChange:e=>{r(parseInt(e))},values:i},a))}var E=n(86536);const w=g.t(null,void 0,n(60142));function S(e){const{value:t,items:n,onChange:s}=e;return o.createElement("div",{className:E.thicknessContainer},o.createElement("div",{className:E.thicknessTitle},w),o.createElement(y,{name:"color_picker_thickness_select",onChange:s,values:n,selectedValues:"mixed"===t?[]:[t]}))}var x=n(28685);function _(e){const{className:t,selectOpacity:n=void 0!==e.opacity,thickness:s,color:a,disabled:i,opacity:l=1,onColorChange:c,onOpacityChange:u,onThicknessChange:p,thicknessItems:m,onPopupClose:v,"data-name":g}=e,[f,b,C]=(0,h.useCustomColors)();return o.createElement(d,{className:t,disabled:i,color:"mixed"!==a?a:null,selectOpacity:n,opacity:l,selectCustom:!0,customColors:f,onColorChange:c,onOpacityChange:a?u:void 0,onAddColor:b,onRemoveCustomColor:C,button:function(e,t){const n=e||t,c=n?"primary":"default";return o.createElement("div",{className:r()(x.colorPickerWrap,x[`intent-${c}`],x["border-thin"],x["size-medium"],n&&x.highlight,n&&x.focused,i&&x.disabled),"data-role":"button","data-name":s?"color-with-thickness-select":"color-select"},o.createElement("div",{className:r()(x.colorPicker,i&&x.disabled)},a&&"mixed"!==a?function(){const e=N(a,l),t=l>=.95&&T(a);return o.createElement("div",{className:x.opacitySwatch},o.createElement("div",{style:{backgroundColor:e},className:r()(x.swatch,t&&x.white)}))}():o.createElement("div",{
className:x.placeholderContainer},o.createElement("div",{className:"mixed"===a?x.mixedColor:x.placeholder})),s&&function(){const e=a&&"mixed"!==a?N(a,l):void 0;if("mixed"===s)return o.createElement("div",{className:x.multiWidth},o.createElement("div",{style:{backgroundColor:e},className:x.line}),o.createElement("div",{style:{backgroundColor:e},className:x.line}),o.createElement("div",{style:{backgroundColor:e},className:x.line}));return o.createElement("span",{className:r()(x.colorLine,T(a)&&x.white),style:{height:s,backgroundColor:e}})}()),n&&o.createElement("span",{className:x.shadow}))},onPopupClose:v,"data-name":g},s&&m&&o.createElement(S,{value:s,items:m,onChange:function(e){p&&p(e)}}))}function N(e,t){return e?(0,m.generateColor)(e,(0,m.alphaToTransparency)(t),!0):"#000000"}function T(e){return!!e&&e.toLowerCase()===v.white}},48897:(e,t,n)=>{"use strict";n.d(t,{SymbolInputsButton:()=>_});var o=n(50959),s=n(97754),r=n.n(s),a=n(44352),i=n(50151),l=n(50655),c=n(95711),u=n(14483),p=n(55141),d=n(65106),h=n(1861),m=n(9745),v=n(93929),g=n(60015);function f(e){const{value:t,onClick:n,className:r,startSlot:a,disabled:i=!1}=e;return o.createElement("div",{className:s(g.wrap,i&&g.disabled,r),onClick:n,"data-name":"edit-button"},o.createElement("div",{className:s(g.text,"apply-overflow-tooltip")},void 0!==a&&a,o.createElement("span",null,t)),o.createElement(m.Icon,{icon:v,className:g.icon}))}var b=n(31356),C=n(78260),y=n(44254),E=n(15983),w=n(82708),S=n(69006);function x(e){const{symbol:t,onSymbolChanged:s,disabled:i,className:p}=e,[m,v]=(0,o.useState)(t),g=(0,o.useContext)(l.SlotContext),b=(0,o.useContext)(c.PopupContext);return o.createElement(f,{value:m,onClick:function(){const e=function(e){const t=(0,y.tokenize)(e);return(0,E.isSpread)(t)}(m)?m:(0,w.safeShortName)(m),t=(0,d.getSymbolSearchCompleteOverrideFunction)();(0,h.showSymbolSearchItemsDialog)({onSearchComplete:e=>{t(e[0].symbol,e[0].result).then((e=>{s(e.symbol),v(e.name)}))},dialogTitle:a.t(null,void 0,n(23398)),defaultValue:e,manager:g,onClose:()=>{b&&b.focus()},showSpreadActions:u.enabled("show_spread_operators")&&u.enabled("studies_symbol_search_spread_operators")})},disabled:i,className:r()(p,u.enabled("uppercase_instrument_names")&&S.uppercase)})}function _(e){if("definition"in e){const{propType:t,properties:n,id:s,title:r="",solutionId:a}=e.definition,l=n[t],c=l.value()||"",u=e=>{l.setValue(e)};return o.createElement(b.CommonSection,{id:s,title:r,solutionId:a},o.createElement(C.CellWrap,null,o.createElement(x,{symbol:(0,i.ensureDefined)(c),onSymbolChanged:u})))}{const{study:t,value:n,input:{id:s,name:a},onChange:l,disabled:c,hasTooltip:u}=e,d=e=>{const n=(0,p.getInternalSymbolName)(e,t);l(n,s,a)};return o.createElement(x,{symbol:(0,i.ensureDefined)(n),onSymbolChanged:d,disabled:c,className:r()(u&&S.hasTooltip)})}}},1861:(e,t,n)=>{"use strict";n.d(t,{showSymbolSearchItemsDialog:()=>l});var o=n(50959),s=n(962),r=n(50655),a=n(51826),i=n(32456);function l(e){
const{initialMode:t="symbolSearch",autofocus:n=!0,defaultValue:l,showSpreadActions:c,selectSearchOnInit:u,onSearchComplete:p,dialogTitle:d,placeholder:h,fullscreen:m,initialScreen:v,wrapper:g,dialog:f,contentItem:b,onClose:C,footer:y,symbolTypes:E,searchInput:w,emptyState:S,hideMarkedListFlag:x,dialogWidth:_="auto",manager:N,shouldReturnFocus:T}=e;if(a.dialogsOpenerManager.isOpened("SymbolSearch")||a.dialogsOpenerManager.isOpened("ChangeIntervalDialog"))return;const I=document.createElement("div"),k=o.createElement(r.SlotContext.Provider,{value:null!=N?N:null},o.createElement(i.SymbolSearchItemsDialog,{onClose:P,initialMode:t,defaultValue:l,showSpreadActions:c,hideMarkedListFlag:x,selectSearchOnInit:u,onSearchComplete:p,dialogTitle:d,placeholder:h,fullscreen:m,initialScreen:v,wrapper:g,dialog:f,contentItem:b,footer:y,symbolTypes:E,searchInput:w,emptyState:S,autofocus:n,dialogWidth:_,shouldReturnFocus:T}));function P(){s.unmountComponentAtNode(I),a.dialogsOpenerManager.setAsClosed("SymbolSearch"),C&&C()}return s.render(k,I),a.dialogsOpenerManager.setAsOpened("SymbolSearch"),{close:P}}},73146:(e,t,n)=>{"use strict";n.d(t,{createAdapter:()=>r});var o=n(18341),s=n(28853);function r(e){if((0,o.isLineTool)(e))return{isPine:()=>!1,isStandardPine:()=>!1,canOverrideMinTick:()=>!1,resolvedSymbolInfoBySymbol:()=>{throw new TypeError("Only study is supported.")},symbolsResolved:()=>{throw new TypeError("Only study is supported.")},parentSources:()=>{throw new TypeError("Only study is supported.")},getAllChildren:()=>[],sourceId:()=>{throw new TypeError("Only study is supported.")},inputs:()=>({}),parentSourceForInput:()=>{throw new TypeError("Only study is supported.")}};if((0,s.isStudy)(e))return e;if("isInputsStudy"in e)return e;throw new TypeError("Unsupported source type.")}},45560:(e,t,n)=>{"use strict";n.d(t,{useDefinitionProperty:()=>r});var o=n(50959),s=n(71953);const r=e=>{const t="property"in e?e.property:void 0,n="defaultValue"in e?e.defaultValue:e.property.value(),[r,a]=(0,o.useState)(t?t.value():n);(0,o.useEffect)((()=>{if(t){const n={};return a(t.value()),t.subscribe(n,(t=>{const n=t.value();e.handler&&e.handler(n),a(n)})),()=>t.unsubscribeAll(n)}return()=>{}}),[t]);return[r,e=>{if(void 0!==t){const n=t.value();s.logger.logNormal(`Changing property value from "${n}" to "${e}"`),t.setValue(e)}}]}},78260:(e,t,n)=>{"use strict";n.d(t,{CellWrap:()=>i});var o=n(50959),s=n(97754),r=n.n(s),a=n(2746);function i(e){return o.createElement("div",{className:r()(a.wrap,e.className)},e.children)}},53424:(e,t,n)=>{"use strict";n.d(t,{CheckableTitle:()=>c});var o=n(50959),s=n(15294),r=n(45560);function a(e){const{property:t,...n}=e,[a,i]=(0,r.useDefinitionProperty)({property:t}),l="mixed"===a;return o.createElement(s.Checkbox,{...n,name:"toggle-enabled",checked:l||a,indeterminate:l,onChange:function(){i("mixed"===a||!a)}})}var i=n(78260),l=n(25679);function c(e){const{property:t,disabled:n,title:s,className:r,name:c}=e,u=o.createElement("span",{className:l.title},s);return o.createElement(i.CellWrap,{className:r
},t?o.createElement(a,{name:c,className:l.checkbox,property:t,disabled:n,label:u,labelAlignBaseline:!0}):u)}},31356:(e,t,n)=>{"use strict";n.d(t,{CommonSection:()=>a});var o=n(50959),s=n(11062),r=n(53424);n(41125);function a(e){const{id:t,offset:n,disabled:a,checked:i,title:l,children:c,solutionId:u}=e;return o.createElement(s.PropertyTable.Row,null,o.createElement(s.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:n,"data-section-name":t,colSpan:Boolean(c)?void 0:2,checkableTitle:!0},o.createElement(r.CheckableTitle,{name:`is-enabled-${t}`,title:l,disabled:a,property:i}),u&&!Boolean(c)&&!1),Boolean(c)&&o.createElement(s.PropertyTable.Cell,{placement:"last","data-section-name":t},c,u&&!1))}},86067:(e,t,n)=>{"use strict";n.d(t,{GroupTitleSection:()=>i});var o=n(50959),s=n(11062),r=n(53424),a=n(69750);function i(e){return o.createElement(s.PropertyTable.Row,null,o.createElement(s.PropertyTable.Cell,{className:a.titleWrap,placement:"first",verticalAlign:"adaptive",colSpan:2,"data-section-name":e.name,checkableTitle:!0},o.createElement(r.CheckableTitle,{title:e.title,name:`is-enabled-${e.name}`,className:a.title})))}},71953:(e,t,n)=>{"use strict";n.d(t,{logger:()=>o});const o=(0,n(59224).getLogger)("Platform.GUI.PropertyDefinitionTrace")},27797:(e,t,n)=>{"use strict";n.d(t,{ColorPicker:()=>M});var o=n(50959),s=n(97754),r=n.n(s),a=n(44352),i=n(24377),l=n(50151),c=n(49483),u=n(20520),p=n(16396);const d=o.createContext(void 0);var h=n(6914),m=n(35149),v=n(87466);function g(e){const{index:t,color:r,selected:i,onSelect:g}=e,[f,b]=(0,o.useState)(!1),C=(0,o.useContext)(d),y=(0,o.useRef)(null),E=Boolean(C)&&!c.CheckMobile.any();return o.createElement(o.Fragment,null,o.createElement("div",{ref:y,style:r?{color:r}:void 0,className:s(v.swatch,f&&v.hover,i&&v.selected,!r&&v.empty,String(r).toLowerCase()===h.white&&v.white),onClick:function(){g(r)},onContextMenu:E?w:void 0}),E&&o.createElement(u.PopupMenu,{isOpened:f,onClose:w,position:function(){const e=(0,l.ensureNotNull)(y.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height+4}},onClickOutside:w},o.createElement(p.PopupMenuItem,{className:v.contextItem,label:a.t(null,void 0,n(54336)),icon:m,onClick:function(){w(),(0,l.ensureDefined)(C)(t)},dontClosePopup:!0})));function w(){b(!f)}}class f extends o.PureComponent{constructor(){super(...arguments),this._onSelect=e=>{const{onSelect:t}=this.props;t&&t(e)}}render(){const{colors:e,color:t,children:n}=this.props;if(!e)return null;const s=t?(0,i.parseRgb)(String(t)):void 0;return o.createElement("div",{className:v.swatches},e.map(((e,t)=>o.createElement(g,{key:String(e)+t,index:t,color:e,selected:s&&(0,i.areEqualRgb)(s,(0,i.parseRgb)(String(e))),onSelect:this._onSelect}))),n)}}var b=n(54368),C=n(94720);function y(e){const t=`Invalid RGB color: ${e}`;if(null===e)throw new Error(t);const n=e.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===n)throw new Error(t);const[,o,s,r]=n;if(!o||!s||!r)throw new Error(t)
;const a=parseInt(o,16)/255,i=parseInt(s,16)/255,l=parseInt(r,16)/255,c=Math.max(a,i,l),u=Math.min(a,i,l);let p;const d=c,h=c-u,m=0===c?0:h/c;if(c===u)p=0;else{switch(c){case a:p=(i-l)/h+(i<l?6:0);break;case i:p=(l-a)/h+2;break;case l:p=(a-i)/h+4;break;default:p=0}p/=6}return{h:p,s:m,v:d}}var E=n(43370),w=n(35257);class S extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=e=>{this._container=e},this._handlePosition=e=>{const{hsv:{h:t},onChange:n}=this.props;if(!n)return;const o=(0,l.ensureNotNull)(this._container).getBoundingClientRect(),s=e.clientX-o.left,r=e.clientY-o.top;let a=s/o.width;a<0?a=0:a>1&&(a=1);let i=1-r/o.height;i<0?i=0:i>1&&(i=1),n({h:t,s:a,v:i})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t,s:n,v:s}}=this.props,a=`hsl(${360*t}, 100%, 50%)`;return o.createElement("div",{className:r()(w.saturation,e),style:{backgroundColor:a},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:w.pointer,style:{left:100*n+"%",top:100*(1-s)+"%"}}))}}var x=n(1369);class _ extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=e=>{this._container=e},this._handlePosition=e=>{const{hsv:{s:t,v:n},onChange:o}=this.props;if(!o)return;const s=(0,l.ensureNotNull)(this._container).getBoundingClientRect();let r=(e.clientY-s.top)/s.height;r<0?r=0:r>1&&(r=1),o({h:r,s:t,v:n})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t}}=this.props;return o.createElement("div",{className:r()(x.hue,e)},o.createElement("div",{className:x.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:x.pointer,style:{top:100*t+"%"}})))}}var N=n(80679);const T="#000000",I=a.t(null,{context:"Color Picker"},n(40276));class k extends o.PureComponent{constructor(e){super(e),this._handleHSV=e=>{const t=function(e){const{h:t,s:n,v:o}=e;let s,r,a;const i=Math.floor(6*t),l=6*t-i,c=o*(1-n),u=o*(1-l*n),p=o*(1-(1-l)*n);switch(i%6){case 0:s=o,r=p,a=c;break;case 1:s=u,r=o,a=c;break;case 2:s=c,r=o,a=p;break;case 3:s=c,r=u,a=o;break;case 4:s=p,r=c,a=o;break;case 5:s=o,r=c,a=u;break;default:s=0,r=0,a=0}
return"#"+[255*s,255*r,255*a].map((e=>("0"+Math.round(e).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1"))).join("")}(e)||T;this.setState({color:t,inputColor:t.replace(/^#/,""),hsv:e}),this.props.onSelect(t)},this._handleInput=e=>{const t=e.currentTarget.value;try{const e=y(t),n=`#${t}`;this.setState({color:n,inputColor:t,hsv:e}),this.props.onSelect(n)}catch(e){this.setState({inputColor:t})}},this._handleAddColor=()=>this.props.onAdd(this.state.color);const t=e.color||T;this.state={color:t,inputColor:t.replace(/^#/,""),hsv:y(t)}}render(){const{color:e,hsv:t,inputColor:n}=this.state;return o.createElement("div",{className:N.container},o.createElement("div",{className:N.form},o.createElement("div",{className:N.swatch,style:{backgroundColor:e}}),o.createElement("div",{className:N.inputWrap},o.createElement("span",{className:N.inputHash},"#"),o.createElement("input",{type:"text",className:N.input,value:n,onChange:this._handleInput})),o.createElement("div",{className:N.buttonWrap},o.createElement(C.Button,{size:"s",onClick:this._handleAddColor},I))),o.createElement("div",{className:N.hueSaturationWrap},o.createElement(S,{className:N.saturation,hsv:t,onChange:this._handleHSV}),o.createElement(_,{className:N.hue,hsv:t,onChange:this._handleHSV})))}}var P=n(93402);const B=a.t(null,{context:"Color Picker"},n(53585)),D=a.t(null,{context:"Color Picker"},n(81865));class M extends o.PureComponent{constructor(e){super(e),this._handleAddColor=e=>{this.setState({isCustom:!1}),this._onToggleCustom(!1);const{onAddColor:t}=this.props;t&&t(e)},this._handleSelectColor=e=>{const{onColorChange:t}=this.props,{isCustom:n}=this.state;t&&t(e,n)},this._handleCustomClick=()=>{this.setState({isCustom:!0}),this._onToggleCustom(!0)},this._handleOpacity=e=>{const{onOpacityChange:t}=this.props;t&&t(e)},this.state={isCustom:!1}}componentDidUpdate(e,t){e.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()}render(){const{color:e,opacity:t,selectCustom:n,selectOpacity:s,customColors:a,onRemoveCustomColor:i}=this.props,{isCustom:l}=this.state,c="number"==typeof t?t:1;return l?o.createElement(k,{color:e,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):o.createElement("div",{className:P.container},o.createElement(f,{colors:h.basic,color:e,onSelect:this._handleSelectColor}),o.createElement(f,{colors:h.extended,color:e,onSelect:this._handleSelectColor}),o.createElement("div",{className:P.separator}),o.createElement(d.Provider,{value:i},o.createElement(f,{colors:a,color:e,onSelect:this._handleSelectColor},n&&o.createElement("div",{className:r()(P.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:B}))),s&&o.createElement(o.Fragment,null,o.createElement("div",{className:P.sectionTitle},D),o.createElement(b.Opacity,{color:e,opacity:c,onChange:this._handleOpacity})))}_onToggleCustom(e){const{onToggleCustom:t}=this.props;t&&t(e)}}},54368:(e,t,n)=>{"use strict";n.d(t,{Opacity:()=>l});var o=n(50959),s=n(97754),r=n(50151),a=n(37160),i=n(30099);class l extends o.PureComponent{constructor(e){super(e),
;class c extends o.PureComponent{render(){const{inputClassName:e,labelClassName:t,...n}=this.props,r=s(this.props.className,l().checkbox,{[l().reverse]:Boolean(this.props.labelPositionReverse),[l().baseline]:Boolean(this.props.labelAlignBaseline)}),i=s(l().label,t,{[l().disabled]:this.props.disabled});let c=null;return this.props.label&&(c=o.createElement("span",{className:i,title:this.props.title},this.props.label)),o.createElement("label",{className:r},o.createElement(a.CheckboxInput,{...n,className:e}),c)}}c.defaultProps={value:"on"};(0,r.makeSwitchGroupItem)(c)},2568:(e,t,n)=>{"use strict";n.d(t,{Textarea:()=>C});var o,s=n(50959),r=n(97754),a=n(38528),i=n(29202),l=n(48027),c=n(45812),u=n(47201),p=n(48907),d=n(67029),h=n(78274),m=n(22623),v=n.n(m);!function(e){e.None="none",e.Vertical="vertical",e.Horizontal="horizontal",e.Both="both"}(o||(o={}));const g=s.forwardRef(((e,t)=>{const{id:n,title:o,tabIndex:a,containerTabIndex:i,role:l,inputClassName:c,autoComplete:u,autoFocus:p,cols:m,disabled:g,isFocused:b,form:f,maxLength:C,minLength:y,name:E,placeholder:S,readonly:w,required:x,rows:_,value:N,defaultValue:T,wrap:I,containerReference:k,onChange:P,onSelect:B,onFocus:D,onContainerFocus:M,onBlur:V,"aria-describedby":O,"aria-required":F,"aria-invalid":R,hasIcon:L,endSlot:W,hasAttachImage:A,...q}=e,U={id:n,title:o,tabIndex:a,role:l,autoComplete:u,autoFocus:p,cols:m,disabled:g,form:f,maxLength:C,minLength:y,name:E,placeholder:S,readOnly:w,required:x,rows:_,value:N,defaultValue:T,wrap:I,onChange:P,onSelect:B,onFocus:D,onBlur:V,"aria-describedby":O,"aria-required":F,"aria-invalid":R};return s.createElement(d.ControlSkeleton,{...q,tabIndex:i,disabled:g,readonly:w,isFocused:b,ref:k,onFocus:M,middleSlot:s.createElement(h.MiddleSlot,null,s.createElement("textarea",{...U,className:r(v().textarea,c,W&&v().endslot),ref:t})),...W&&{endSlot:s.createElement("span",{className:r(!A&&v()["with-icon"])},W)}})}));g.displayName="TextareaView";const b=(e,t,n)=>t?void 0:e?-1:n,f=(e,t,n)=>t?void 0:e?n:-1,C=s.forwardRef(((e,t)=>{e=(0,l.useControl)(e);const{className:n,disabled:d,autoSelectOnFocus:h,tabIndex:m=0,borderStyle:C,highlight:y,resize:E,containerReference:S=null,onFocus:w,onBlur:x,hasIcon:_,...N}=e,T=(0,s.useRef)(null),I=(0,s.useRef)(null),{isMouseDown:k,handleMouseDown:P,handleMouseUp:B}=(0,c.useIsMouseDown)(),[D,M]=(0,i.useFocus)(),V=(0,u.createSafeMulticastEventHandler)(M.onFocus,(function(e){h&&!k.current&&(0,p.selectAllContent)(e.currentTarget)}),w),O=(0,u.createSafeMulticastEventHandler)(M.onBlur,x),F=void 0!==E&&E!==o.None,R=null!=C?C:F?y?"thick":"thin":void 0,L=null!=y?y:!F&&void 0;return s.createElement(g,{...N,className:r(v()["textarea-container"],F&&v()["change-highlight"],E&&E!==o.None&&v()[`resize-${E}`],D&&v().focused,n),disabled:d,isFocused:D,containerTabIndex:b(D,d,m),tabIndex:f(D,d,m),borderStyle:R,highlight:L,onContainerFocus:function(e){I.current===e.target&&null!==T.current&&T.current.focus()},onFocus:V,onBlur:O,onMouseDown:P,onMouseUp:B,ref:function(e){T.current=e,"function"==typeof t?t(e):t&&(t.current=e)},
containerReference:(0,a.useMergedRefs)([S,I]),hasIcon:_})}));C.displayName="Textarea"},36104:(e,t,n)=>{"use strict";n.d(t,{useControlDisclosure:()=>s});var o=n(7953);function s(e){const{intent:t,highlight:n,...s}=e,{isFocused:r,...a}=(0,o.useDisclosure)(s);return{...a,isFocused:r,highlight:null!=n?n:r,intent:null!=t?t:r?"primary":"default"}}},57733:(e,t,n)=>{"use strict";n.d(t,{SwitchGroup:()=>a,makeSwitchGroupItem:()=>i});var o=n(50959);const s=function(){},r=(0,o.createContext)({getName:()=>"",getValues:()=>[],getOnChange:()=>s,subscribe:s,unsubscribe:s});class a extends o.PureComponent{constructor(e){super(e),this._subscriptions=new Set,this._getName=()=>this.props.name,this._getValues=()=>this.props.values,this._getOnChange=()=>this.props.onChange,this._subscribe=e=>{this._subscriptions.add(e)},this._unsubscribe=e=>{this._subscriptions.delete(e)},this.state={switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}}render(){return o.createElement(r.Provider,{value:this.state.switchGroupContext},this.props.children)}componentDidUpdate(e){this._notify(this._getUpdates(this.props.values,e.values))}_notify(e){this._subscriptions.forEach((t=>t(e)))}_getUpdates(e,t){return[...t,...e].filter((n=>t.includes(n)?!e.includes(n):e.includes(n)))}}function i(e){var t;return t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this.context.getOnChange()(e)},this._onUpdate=e=>{e.includes(this.props.value)&&this.forceUpdate()}}componentDidMount(){this.context.subscribe(this._onUpdate)}render(){return o.createElement(e,{...this.props,name:this._getName(),onChange:this._onChange,checked:this._isChecked()})}componentWillUnmount(){this.context.unsubscribe(this._onUpdate)}_getName(){return this.context.getName()}_isChecked(){return this.context.getValues().includes(this.props.value)}},t.contextType=r,t}},92399:(e,t,n)=>{"use strict";n.d(t,{NumberInputView:()=>I});var o=n(50959),s=n(32563),r=n(97754),a=n(67029),i=n(78274),l=n(86623),c=n(95263),u=n(1405),p=n(12863);const d={large:a.InputClasses.FontSizeLarge,medium:a.InputClasses.FontSizeMedium},h={attachment:u.anchors.top.attachment,targetAttachment:u.anchors.top.targetAttachment,attachmentOffsetY:-4};function m(e){const{className:t,inputClassName:n,stretch:s=!0,errorMessage:a,fontSizeStyle:u="large",endSlot:m,button:v,error:g,warning:b,innerLabel:f,inputReference:C,children:y,...E}=e,S=g&&void 0!==a?[a]:void 0,w=b&&void 0!==a?[a]:void 0,x=r(p.inputContainer,d[u],t),_=f?o.createElement(i.StartSlot,{className:p.innerLabel,interactive:!1},f):void 0,N=m||v||y?o.createElement(i.EndSlot,null,m,v,y):void 0;return o.createElement(l.FormInput,{...E,className:x,inputClassName:n,errors:S,warnings:w,hasErrors:g,hasWarnings:b,messagesPosition:c.MessagesPosition.Attached,customErrorsAttachment:h,messagesRoot:"document",inheritMessagesWidthFromTarget:!0,disableMessagesRtlStyles:!0,iconHidden:!0,stretch:s,reference:C,startSlot:_,endSlot:N})}
var v=n(38528),g=n(44352),b=n(9745),f=n(21861),C=n(2948),y=n(21234);function E(e){const t=r(y.control,y.controlIncrease),s=r(y.control,y.controlDecrease);return o.createElement(o.Fragment,null,void 0!==e.title&&o.createElement("div",{className:y.title},e.title),o.createElement("div",{className:y.controlWrapper},(e.defaultButtonsVisible||e.title)&&o.createElement(o.Fragment,null,o.createElement("button",{type:"button",tabIndex:-1,"aria-label":g.t(null,void 0,n(46812)),className:t,onClick:e.increaseValue,onMouseDown:f.preventDefault},o.createElement(b.Icon,{icon:C,className:y.controlIcon})),o.createElement("button",{type:"button",tabIndex:-1,"aria-label":g.t(null,void 0,n(56095)),className:s,onClick:e.decreaseValue,onMouseDown:f.preventDefault},o.createElement(b.Icon,{icon:C,className:y.controlIcon})))))}var S=n(70412),w=n(29202),x=n(47201),_=n(68335);const N=[38],T=[40];function I(e){const[t,n]=(0,S.useHover)(),[r,a]=(0,w.useFocus)(),i=(0,o.useRef)(null),l=(0,x.createSafeMulticastEventHandler)(a.onFocus,e.onFocus),c=(0,x.createSafeMulticastEventHandler)(a.onBlur,e.onBlur),u=(0,o.useCallback)((t=>{!e.disabled&&r&&(t.preventDefault(),t.deltaY<0?e.onValueByStepChange(1):e.onValueByStepChange(-1))}),[r,e.disabled,e.onValueByStepChange]);return o.createElement(m,{...n,id:e.id,name:e.name,pattern:e.pattern,borderStyle:e.borderStyle,fontSizeStyle:e.fontSizeStyle,value:e.value,className:e.className,inputClassName:e.inputClassName,button:function(){const{button:n,forceShowControls:a,disabled:i,title:l}=e,c=!i&&!s.mobiletouch&&(a||r||t);return i?void 0:o.createElement(o.Fragment,null,null!=n?n:o.createElement(E,{increaseValue:p,decreaseValue:d,defaultButtonsVisible:c,title:l}))}(),disabled:e.disabled,placeholder:e.placeholder,innerLabel:e.innerLabel,endSlot:e.endSlot,containerReference:(0,v.useMergedRefs)([i,e.containerReference]),inputReference:e.inputReference,inputMode:e.inputMode,type:e.type,warning:e.warning,error:e.error,errorMessage:e.errorMessage,onClick:e.onClick,onFocus:l,onBlur:c,onChange:e.onValueChange,onKeyDown:function(t){if(e.disabled||0!==(0,_.modifiersFromEvent)(t.nativeEvent))return;let n=N,o=T;e.controlDecKeyCodes&&(o=o.concat(e.controlDecKeyCodes));e.controlIncKeyCodes&&(n=n.concat(e.controlIncKeyCodes));(o.includes(t.keyCode)||n.includes(t.keyCode))&&(t.preventDefault(),e.onValueByStepChange(o.includes(t.keyCode)?-1:1));e.onKeyDown&&e.onKeyDown(t)},onWheelNoPassive:u,stretch:e.stretch,intent:e.intent,highlight:e.highlight,highlightRemoveRoundBorder:e.highlightRemoveRoundBorder,autoSelectOnFocus:e.autoSelectOnFocus,"data-property-id":e["data-name"]});function p(){var t;e.disabled||(null===(t=i.current)||void 0===t||t.focus(),e.onValueByStepChange(1))}function d(){var t;e.disabled||(null===(t=i.current)||void 0===t||t.focus(),e.onValueByStepChange(-1))}}},58593:(e,t,n)=>{"use strict";n.d(t,{ColorSelect:()=>_});var o=n(50959),s=n(97754),r=n.n(s),a=n(50151),i=n(68335),l=n(20520),c=n(29202),u=n(27797),p=n(64706);function d(e){const{button:t,children:n,className:s,onPopupClose:r,"data-name":d,...h}=e,[m,v]=(0,
o.useState)(!1),[g,b]=(0,o.useState)(!1),[f,C]=(0,c.useFocus)(),y=(0,o.useRef)(null);return o.createElement("div",{className:s,"data-name":d},o.createElement("div",{tabIndex:e.disabled?void 0:-1,ref:y,onClick:function(){if(e.disabled)return;b((e=>!e)),v(!1)},onFocus:C.onFocus,onBlur:C.onBlur,onKeyDown:E},"function"==typeof t?t(g,f):t),o.createElement(l.PopupMenu,{isOpened:g,onClose:S,position:function(){const e=(0,a.ensureNotNull)(y.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height}},doNotCloseOn:y.current,onKeyDown:E},o.createElement(p.MenuContext.Consumer,null,(e=>o.createElement(u.ColorPicker,{...h,onToggleCustom:v,menu:e}))),!m&&n));function E(e){if(27===(0,i.hashFromEvent)(e))g&&(e.preventDefault(),S())}function S(){b(!1),(0,a.ensureNotNull)(y.current).focus(),r&&r()}}var h=n(56512),m=n(87095),v=n(6914),g=n(44352),b=n(57733),f=n(52272);const C=(0,b.makeSwitchGroupItem)(class extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const{name:e,checked:t,value:n}=this.props,r=s(f.thicknessItem,{[f.checked]:t}),a=s(f.bar,{[f.checked]:t}),i={borderTopWidth:parseInt(n)};return o.createElement("div",{className:r},o.createElement("input",{type:"radio",className:f.radio,name:e,value:n,onChange:this._onChange,checked:t}),o.createElement("div",{className:a,style:i}," "))}});function y(e){const{name:t,values:n,selectedValues:s,onChange:r}=e,a=n.map(((e,t)=>o.createElement(C,{key:t,value:e.toString()}))),i=s.map((e=>e.toString()));return o.createElement("div",{className:f.wrap},o.createElement(b.SwitchGroup,{name:t,onChange:e=>{r(parseInt(e))},values:i},a))}var E=n(86536);const S=g.t(null,void 0,n(60142));function w(e){const{value:t,items:n,onChange:s}=e;return o.createElement("div",{className:E.thicknessContainer},o.createElement("div",{className:E.thicknessTitle},S),o.createElement(y,{name:"color_picker_thickness_select",onChange:s,values:n,selectedValues:"mixed"===t?[]:[t]}))}var x=n(28685);function _(e){const{className:t,selectOpacity:n=void 0!==e.opacity,thickness:s,color:a,disabled:i,opacity:l=1,onColorChange:c,onOpacityChange:u,onThicknessChange:p,thicknessItems:m,onPopupClose:v,"data-name":g}=e,[b,f,C]=(0,h.useCustomColors)();return o.createElement(d,{className:t,disabled:i,color:"mixed"!==a?a:null,selectOpacity:n,opacity:l,selectCustom:!0,customColors:b,onColorChange:c,onOpacityChange:a?u:void 0,onAddColor:f,onRemoveCustomColor:C,button:function(e,t){const n=e||t,c=n?"primary":"default";return o.createElement("div",{className:r()(x.colorPickerWrap,x[`intent-${c}`],x["border-thin"],x["size-medium"],n&&x.highlight,n&&x.focused,i&&x.disabled),"data-role":"button","data-name":s?"color-with-thickness-select":"color-select"},o.createElement("div",{className:r()(x.colorPicker,i&&x.disabled)},a&&"mixed"!==a?function(){const e=N(a,l),t=l>=.95&&T(a);return o.createElement("div",{className:x.opacitySwatch},o.createElement("div",{style:{backgroundColor:e},className:r()(x.swatch,t&&x.white)}))}():o.createElement("div",{
className:x.placeholderContainer},o.createElement("div",{className:"mixed"===a?x.mixedColor:x.placeholder})),s&&function(){const e=a&&"mixed"!==a?N(a,l):void 0;if("mixed"===s)return o.createElement("div",{className:x.multiWidth},o.createElement("div",{style:{backgroundColor:e},className:x.line}),o.createElement("div",{style:{backgroundColor:e},className:x.line}),o.createElement("div",{style:{backgroundColor:e},className:x.line}));return o.createElement("span",{className:r()(x.colorLine,T(a)&&x.white),style:{height:s,backgroundColor:e}})}()),n&&o.createElement("span",{className:x.shadow}))},onPopupClose:v,"data-name":g},s&&m&&o.createElement(w,{value:s,items:m,onChange:function(e){p&&p(e)}}))}function N(e,t){return e?(0,m.generateColor)(e,(0,m.alphaToTransparency)(t),!0):"#000000"}function T(e){return!!e&&e.toLowerCase()===v.white}},48897:(e,t,n)=>{"use strict";n.d(t,{SymbolInputsButton:()=>_});var o=n(50959),s=n(97754),r=n.n(s),a=n(44352),i=n(50151),l=n(60508),c=n(95711),u=n(14483),p=n(55141),d=n(65106),h=n(1861),m=n(9745),v=n(93929),g=n(60015);function b(e){const{value:t,onClick:n,className:r,startSlot:a,disabled:i=!1}=e;return o.createElement("div",{className:s(g.wrap,i&&g.disabled,r),onClick:n,"data-name":"edit-button"},o.createElement("div",{className:s(g.text,"apply-overflow-tooltip")},void 0!==a&&a,o.createElement("span",null,t)),o.createElement(m.Icon,{icon:v,className:g.icon}))}var f=n(31356),C=n(78260),y=n(44254),E=n(15983),S=n(82708),w=n(69006);function x(e){const{symbol:t,onSymbolChanged:s,disabled:i,className:p}=e,[m,v]=(0,o.useState)(t),g=(0,o.useContext)(l.SlotContext),f=(0,o.useContext)(c.PopupContext);return o.createElement(b,{value:m,onClick:function(){const e=function(e){const t=(0,y.tokenize)(e);return(0,E.isSpread)(t)}(m)?m:(0,S.safeShortName)(m),t=(0,d.getSymbolSearchCompleteOverrideFunction)();(0,h.showSymbolSearchItemsDialog)({onSearchComplete:e=>{t(e[0].symbol,e[0].result).then((e=>{s(e.symbol),v(e.name)}))},dialogTitle:a.t(null,void 0,n(23398)),defaultValue:e,manager:g,onClose:()=>{f&&f.focus()},showSpreadActions:u.enabled("show_spread_operators")&&u.enabled("studies_symbol_search_spread_operators")})},disabled:i,className:r()(p,u.enabled("uppercase_instrument_names")&&w.uppercase)})}function _(e){if("definition"in e){const{propType:t,properties:n,id:s,title:r="",solutionId:a}=e.definition,l=n[t],c=l.value()||"",u=e=>{l.setValue(e)};return o.createElement(f.CommonSection,{id:s,title:r,solutionId:a},o.createElement(C.CellWrap,null,o.createElement(x,{symbol:(0,i.ensureDefined)(c),onSymbolChanged:u})))}{const{study:t,value:n,input:{id:s,name:a},onChange:l,disabled:c,hasTooltip:u}=e,d=e=>{const n=(0,p.getInternalSymbolName)(e,t);l(n,s,a)};return o.createElement(x,{symbol:(0,i.ensureDefined)(n),onSymbolChanged:d,disabled:c,className:r()(u&&w.hasTooltip)})}}},1861:(e,t,n)=>{"use strict";n.d(t,{showSymbolSearchItemsDialog:()=>l});var o=n(50959),s=n(962),r=n(60508),a=n(51826),i=n(32456);function l(e){
const{initialMode:t="symbolSearch",autofocus:n=!0,defaultValue:l,showSpreadActions:c,selectSearchOnInit:u,onSearchComplete:p,dialogTitle:d,placeholder:h,fullscreen:m,initialScreen:v,wrapper:g,dialog:b,contentItem:f,onClose:C,onOpen:y,footer:E,symbolTypes:S,searchInput:w,emptyState:x,hideMarkedListFlag:_,dialogWidth:N="auto",manager:T,shouldReturnFocus:I}=e;if(a.dialogsOpenerManager.isOpened("SymbolSearch")||a.dialogsOpenerManager.isOpened("ChangeIntervalDialog"))return;const k=document.createElement("div"),P=o.createElement(r.SlotContext.Provider,{value:null!=T?T:null},o.createElement(i.SymbolSearchItemsDialog,{onClose:B,initialMode:t,defaultValue:l,showSpreadActions:c,hideMarkedListFlag:_,selectSearchOnInit:u,onSearchComplete:p,dialogTitle:d,placeholder:h,fullscreen:m,initialScreen:v,wrapper:g,dialog:b,contentItem:f,footer:E,symbolTypes:S,searchInput:w,emptyState:x,autofocus:n,dialogWidth:N,shouldReturnFocus:I}));function B(){s.unmountComponentAtNode(k),a.dialogsOpenerManager.setAsClosed("SymbolSearch"),C&&C()}return s.render(P,k),a.dialogsOpenerManager.setAsOpened("SymbolSearch"),y&&y(),{close:B}}},73146:(e,t,n)=>{"use strict";n.d(t,{createAdapter:()=>r});var o=n(92249),s=n(28853);function r(e){if((0,o.isLineTool)(e))return{isPine:()=>!1,isStandardPine:()=>!1,canOverrideMinTick:()=>!1,resolvedSymbolInfoBySymbol:()=>{throw new TypeError("Only study is supported.")},symbolsResolved:()=>{throw new TypeError("Only study is supported.")},parentSources:()=>{throw new TypeError("Only study is supported.")},getAllChildren:()=>[],sourceId:()=>{throw new TypeError("Only study is supported.")},inputs:()=>({}),parentSourceForInput:()=>{throw new TypeError("Only study is supported.")}};if((0,s.isStudy)(e))return e;if("isInputsStudy"in e)return e;throw new TypeError("Unsupported source type.")}},45560:(e,t,n)=>{"use strict";n.d(t,{useDefinitionProperty:()=>r});var o=n(50959),s=n(71953);const r=e=>{const t="property"in e?e.property:void 0,n="defaultValue"in e?e.defaultValue:e.property.value(),[r,a]=(0,o.useState)(t?t.value():n);(0,o.useEffect)((()=>{if(t){const n={};return a(t.value()),t.subscribe(n,(t=>{const n=t.value();e.handler&&e.handler(n),a(n)})),()=>{t.unsubscribeAll(n)}}return()=>{}}),[t]);return[r,e=>{if(void 0!==t){const n=t.value();s.logger.logNormal(`Changing property value from "${n}" to "${e}"`),t.setValue(e)}}]}},78260:(e,t,n)=>{"use strict";n.d(t,{CellWrap:()=>i});var o=n(50959),s=n(97754),r=n.n(s),a=n(2746);function i(e){return o.createElement("div",{className:r()(a.wrap,e.className)},e.children)}},53424:(e,t,n)=>{"use strict";n.d(t,{CheckableTitle:()=>c});var o=n(50959),s=n(15294),r=n(45560);function a(e){const{property:t,...n}=e,[a,i]=(0,r.useDefinitionProperty)({property:t}),l="mixed"===a;return o.createElement(s.Checkbox,{...n,name:"toggle-enabled",checked:l||a,indeterminate:l,onChange:function(){i("mixed"===a||!a)}})}var i=n(78260),l=n(25679);function c(e){const{property:t,disabled:n,title:s,className:r,name:c}=e,u=o.createElement("span",{className:l.title},s);return o.createElement(i.CellWrap,{className:r
},t?o.createElement(a,{name:c,className:l.checkbox,property:t,disabled:n,label:u,labelAlignBaseline:!0}):u)}},31356:(e,t,n)=>{"use strict";n.d(t,{CommonSection:()=>a});var o=n(50959),s=n(11062),r=n(53424);n(41125);function a(e){const{id:t,offset:n,disabled:a,checked:i,title:l,children:c,solutionId:u}=e;return o.createElement(s.PropertyTable.Row,null,o.createElement(s.PropertyTable.Cell,{placement:"first",verticalAlign:"adaptive",offset:n,"data-section-name":t,colSpan:Boolean(c)?void 0:2,checkableTitle:!0},o.createElement(r.CheckableTitle,{name:`is-enabled-${t}`,title:l,disabled:a,property:i}),u&&!Boolean(c)&&!1),Boolean(c)&&o.createElement(s.PropertyTable.Cell,{placement:"last","data-section-name":t},c,u&&!1))}},86067:(e,t,n)=>{"use strict";n.d(t,{GroupTitleSection:()=>i});var o=n(50959),s=n(11062),r=n(53424),a=n(69750);function i(e){return o.createElement(s.PropertyTable.Row,null,o.createElement(s.PropertyTable.Cell,{className:a.titleWrap,placement:"first",verticalAlign:"adaptive",colSpan:2,"data-section-name":e.name,checkableTitle:!0},o.createElement(r.CheckableTitle,{title:e.title,name:`is-enabled-${e.name}`,className:a.title})))}},71953:(e,t,n)=>{"use strict";n.d(t,{logger:()=>o});const o=(0,n(59224).getLogger)("Platform.GUI.PropertyDefinitionTrace")},27797:(e,t,n)=>{"use strict";n.d(t,{ColorPicker:()=>M});var o=n(50959),s=n(97754),r=n.n(s),a=n(44352),i=n(24377),l=n(50151),c=n(49483),u=n(20520),p=n(16396);const d=o.createContext(void 0);var h=n(6914),m=n(35149),v=n(87466);function g(e){const{index:t,color:r,selected:i,onSelect:g}=e,[b,f]=(0,o.useState)(!1),C=(0,o.useContext)(d),y=(0,o.useRef)(null),E=Boolean(C)&&!c.CheckMobile.any();return o.createElement(o.Fragment,null,o.createElement("div",{ref:y,style:r?{color:r}:void 0,className:s(v.swatch,b&&v.hover,i&&v.selected,!r&&v.empty,String(r).toLowerCase()===h.white&&v.white),onClick:function(){g(r)},onContextMenu:E?S:void 0}),E&&o.createElement(u.PopupMenu,{isOpened:b,onClose:S,position:function(){const e=(0,l.ensureNotNull)(y.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height+4}},onClickOutside:S},o.createElement(p.PopupMenuItem,{className:v.contextItem,label:a.t(null,void 0,n(54336)),icon:m,onClick:function(){S(),(0,l.ensureDefined)(C)(t)},dontClosePopup:!0})));function S(){f(!b)}}class b extends o.PureComponent{constructor(){super(...arguments),this._onSelect=e=>{const{onSelect:t}=this.props;t&&t(e)}}render(){const{colors:e,color:t,children:n}=this.props;if(!e)return null;const s=t?(0,i.parseRgb)(String(t)):void 0;return o.createElement("div",{className:v.swatches},e.map(((e,t)=>o.createElement(g,{key:String(e)+t,index:t,color:e,selected:s&&(0,i.areEqualRgb)(s,(0,i.parseRgb)(String(e))),onSelect:this._onSelect}))),n)}}var f=n(54368),C=n(94720);function y(e){const t=`Invalid RGB color: ${e}`;if(null===e)throw new Error(t);const n=e.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===n)throw new Error(t);const[,o,s,r]=n;if(!o||!s||!r)throw new Error(t)
;const a=parseInt(o,16)/255,i=parseInt(s,16)/255,l=parseInt(r,16)/255,c=Math.max(a,i,l),u=Math.min(a,i,l);let p;const d=c,h=c-u,m=0===c?0:h/c;if(c===u)p=0;else{switch(c){case a:p=(i-l)/h+(i<l?6:0);break;case i:p=(l-a)/h+2;break;case l:p=(a-i)/h+4;break;default:p=0}p/=6}return{h:p,s:m,v:d}}var E=n(43370),S=n(35257);class w extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=e=>{this._container=e},this._handlePosition=e=>{const{hsv:{h:t},onChange:n}=this.props;if(!n)return;const o=(0,l.ensureNotNull)(this._container).getBoundingClientRect(),s=e.clientX-o.left,r=e.clientY-o.top;let a=s/o.width;a<0?a=0:a>1&&(a=1);let i=1-r/o.height;i<0?i=0:i>1&&(i=1),n({h:t,s:a,v:i})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t,s:n,v:s}}=this.props,a=`hsl(${360*t}, 100%, 50%)`;return o.createElement("div",{className:r()(S.saturation,e),style:{backgroundColor:a},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:S.pointer,style:{left:100*n+"%",top:100*(1-s)+"%"}}))}}var x=n(1369);class _ extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._refContainer=e=>{this._container=e},this._handlePosition=e=>{const{hsv:{s:t,v:n},onChange:o}=this.props;if(!o)return;const s=(0,l.ensureNotNull)(this._container).getBoundingClientRect();let r=(e.clientY-s.top)/s.height;r<0?r=0:r>1&&(r=1),o({h:r,s:t,v:n})},this._mouseDown=e=>{window.addEventListener("mouseup",this._mouseUp),window.addEventListener("mousemove",this._mouseMove)},this._mouseUp=e=>{window.removeEventListener("mousemove",this._mouseMove),window.removeEventListener("mouseup",this._mouseUp),this._handlePosition(e)},this._mouseMove=(0,E.default)(this._handlePosition,100),this._handleTouch=e=>{this._handlePosition(e.nativeEvent.touches[0])}}render(){const{className:e,hsv:{h:t}}=this.props;return o.createElement("div",{className:r()(x.hue,e)},o.createElement("div",{className:x.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:x.pointer,style:{top:100*t+"%"}})))}}var N=n(80679);const T="#000000",I=a.t(null,{context:"Color Picker"},n(40276));class k extends o.PureComponent{constructor(e){super(e),this._handleHSV=e=>{const t=function(e){const{h:t,s:n,v:o}=e;let s,r,a;const i=Math.floor(6*t),l=6*t-i,c=o*(1-n),u=o*(1-l*n),p=o*(1-(1-l)*n);switch(i%6){case 0:s=o,r=p,a=c;break;case 1:s=u,r=o,a=c;break;case 2:s=c,r=o,a=p;break;case 3:s=c,r=u,a=o;break;case 4:s=p,r=c,a=o;break;case 5:s=o,r=c,a=u;break;default:s=0,r=0,a=0}
return"#"+[255*s,255*r,255*a].map((e=>("0"+Math.round(e).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1"))).join("")}(e)||T;this.setState({color:t,inputColor:t.replace(/^#/,""),hsv:e}),this.props.onSelect(t)},this._handleInput=e=>{const t=e.currentTarget.value;try{const e=y(t),n=`#${t}`;this.setState({color:n,inputColor:t,hsv:e}),this.props.onSelect(n)}catch(e){this.setState({inputColor:t})}},this._handleAddColor=()=>this.props.onAdd(this.state.color);const t=e.color||T;this.state={color:t,inputColor:t.replace(/^#/,""),hsv:y(t)}}render(){const{color:e,hsv:t,inputColor:n}=this.state;return o.createElement("div",{className:N.container},o.createElement("div",{className:N.form},o.createElement("div",{className:N.swatch,style:{backgroundColor:e}}),o.createElement("div",{className:N.inputWrap},o.createElement("span",{className:N.inputHash},"#"),o.createElement("input",{type:"text",className:N.input,value:n,onChange:this._handleInput})),o.createElement("div",{className:N.buttonWrap},o.createElement(C.Button,{size:"s",onClick:this._handleAddColor},I))),o.createElement("div",{className:N.hueSaturationWrap},o.createElement(w,{className:N.saturation,hsv:t,onChange:this._handleHSV}),o.createElement(_,{className:N.hue,hsv:t,onChange:this._handleHSV})))}}var P=n(93402);const B=a.t(null,{context:"Color Picker"},n(53585)),D=a.t(null,{context:"Color Picker"},n(81865));class M extends o.PureComponent{constructor(e){super(e),this._handleAddColor=e=>{this.setState({isCustom:!1}),this._onToggleCustom(!1);const{onAddColor:t}=this.props;t&&t(e)},this._handleSelectColor=e=>{const{onColorChange:t}=this.props,{isCustom:n}=this.state;t&&t(e,n)},this._handleCustomClick=()=>{this.setState({isCustom:!0}),this._onToggleCustom(!0)},this._handleOpacity=e=>{const{onOpacityChange:t}=this.props;t&&t(e)},this.state={isCustom:!1}}componentDidUpdate(e,t){e.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()}render(){const{color:e,opacity:t,selectCustom:n,selectOpacity:s,customColors:a,onRemoveCustomColor:i}=this.props,{isCustom:l}=this.state,c="number"==typeof t?t:1;return l?o.createElement(k,{color:e,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):o.createElement("div",{className:P.container},o.createElement(b,{colors:h.basic,color:e,onSelect:this._handleSelectColor}),o.createElement(b,{colors:h.extended,color:e,onSelect:this._handleSelectColor}),o.createElement("div",{className:P.separator}),o.createElement(d.Provider,{value:i},o.createElement(b,{colors:a,color:e,onSelect:this._handleSelectColor},n&&o.createElement("div",{className:r()(P.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:B}))),s&&o.createElement(o.Fragment,null,o.createElement("div",{className:P.sectionTitle},D),o.createElement(f.Opacity,{color:e,opacity:c,onChange:this._handleOpacity})))}_onToggleCustom(e){const{onToggleCustom:t}=this.props;t&&t(e)}}},54368:(e,t,n)=>{"use strict";n.d(t,{Opacity:()=>l});var o=n(50959),s=n(97754),r=n(50151),a=n(37160),i=n(30099);class l extends o.PureComponent{constructor(e){super(e),
this._container=null,this._pointer=null,this._raf=null,this._refContainer=e=>{this._container=e},this._refPointer=e=>{this._pointer=e},this._handlePosition=e=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{const t=(0,r.ensureNotNull)(this._container),n=(0,r.ensureNotNull)(this._pointer),o=t.getBoundingClientRect(),s=n.offsetWidth,i=e.clientX-s/2-o.left,l=(0,a.clamp)(i/(o.width-s),0,1);this.setState({inputOpacity:Math.round(100*l).toString()}),this.props.onChange(l),this._raf=null})))},this._onSliderClick=e=>{this._handlePosition(e.nativeEvent),this._dragSubscribe()},this._mouseUp=e=>{this.setState({isPointerDragged:!1}),this._dragUnsubscribe(),this._handlePosition(e)},this._mouseMove=e=>{this.setState({isPointerDragged:!0}),this._handlePosition(e)},this._onTouchStart=e=>{this._handlePosition(e.nativeEvent.touches[0])},this._handleTouch=e=>{this.setState({isPointerDragged:!0}),this._handlePosition(e.nativeEvent.touches[0])},this._handleTouchEnd=()=>{this.setState({isPointerDragged:!1})},this._handleInput=e=>{const t=e.currentTarget.value,n=Number(t)/100;this.setState({inputOpacity:t}),Number.isNaN(n)||n>1||this.props.onChange(n)},this.state={inputOpacity:Math.round(100*e.opacity).toString(),isPointerDragged:!1}}componentWillUnmount(){null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),this._dragUnsubscribe()}render(){const{color:e,opacity:t,hideInput:n}=this.props,{inputOpacity:r,isPointerDragged:a}=this.state,l={color:e||void 0};return o.createElement("div",{className:i.opacity},o.createElement("div",{className:i.opacitySlider,style:l,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},o.createElement("div",{className:i.opacitySliderGradient,style:{backgroundImage:`linear-gradient(90deg, transparent, ${e})`}}),o.createElement("div",{className:i.opacityPointerWrap},o.createElement("div",{className:s(i.pointer,a&&i.dragged),style:{left:100*t+"%"},ref:this._refPointer}))),!n&&o.createElement("div",{className:i.opacityInputWrap},o.createElement("input",{type:"text",className:i.opacityInput,value:r,onChange:this._handleInput}),o.createElement("span",{className:i.opacityInputPercent},"%")))}_dragSubscribe(){const e=(0,r.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))}_dragUnsubscribe(){const e=(0,r.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))}}},6914:(e,t,n)=>{"use strict";n.d(t,{basic:()=>i,extended:()=>c,white:()=>s});var o=n(48891);const s=o.colorsPalette["color-white"],r=["ripe-red","tan-orange","banana-yellow","iguana-green","minty-green","sky-blue","tv-blue","deep-blue","grapes-purple","berry-pink"],a=[200,300,400,500,600,700,800,900].map((e=>`color-cold-gray-${e}`));a.unshift("color-white"),a.push("color-black"),r.forEach((e=>{a.push(`color-${e}-500`)}));const i=a.map((e=>o.colorsPalette[e])),l=[]
;[100,200,300,400,700,900].forEach((e=>{r.forEach((t=>{l.push(`color-${t}-${e}`)}))}));const c=l.map((e=>o.colorsPalette[e]))},59054:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosureView:()=>g});var o=n(50959),s=n(97754),r=n.n(s),a=n(38528),i=n(67029),l=n(78274),c=n(4523),u=n(9745),p=n(2948),d=n(23428);function h(e){const{isDropped:t}=e;return o.createElement(u.Icon,{className:r()(d.icon,t&&d.dropped),icon:p})}function m(e){const{className:t,disabled:n,isDropped:s}=e;return o.createElement("span",{className:r()(d.button,n&&d.disabled,t)},o.createElement(h,{isDropped:s}))}var v=n(66986);const g=o.forwardRef(((e,t)=>{const{listboxId:n,className:s,listboxClassName:u,listboxTabIndex:p,hideArrowButton:d,matchButtonAndListboxWidths:h,popupPosition:g,disabled:f,isOpened:b,scrollWrapReference:C,repositionOnScroll:y,closeOnHeaderOverlap:E,listboxReference:w,size:S="small",onClose:x,onOpen:_,onListboxFocus:N,onListboxBlur:T,onListboxKeyDown:I,buttonChildren:k,children:P,caretClassName:B,listboxAria:D,...M}=e,V=(0,o.useRef)(null),O=!d&&o.createElement(l.EndSlot,null,o.createElement(m,{isDropped:b,disabled:f,className:B}));return o.createElement(c.PopupMenuDisclosureView,{buttonRef:V,listboxId:n,listboxClassName:u,listboxTabIndex:p,isOpened:b,onClose:x,onOpen:_,listboxReference:w,scrollWrapReference:C,onListboxFocus:N,onListboxBlur:T,onListboxKeyDown:I,listboxAria:D,matchButtonAndListboxWidths:h,popupPosition:g,button:o.createElement(i.ControlSkeleton,{...M,"data-role":"listbox",disabled:f,className:r()(v.button,s),size:S,ref:(0,a.useMergedRefs)([V,t]),middleSlot:o.createElement(l.MiddleSlot,null,o.createElement("span",{className:r()(v["button-children"],d&&v.hiddenArrow)},k)),endSlot:O}),popupChildren:P,repositionOnScroll:y,closeOnHeaderOverlap:E})}));g.displayName="ControlDisclosureView"},56512:(e,t,n)=>{"use strict";n.d(t,{useCustomColors:()=>l});var o=n(50959),s=n(56840),r=n(76422);function a(e,t){(0,o.useEffect)((()=>(r.subscribe(e,t,null),()=>{r.unsubscribe(e,t,null)})),[e,t])}var i=n(24377);function l(){const[e,t]=(0,o.useState)((0,s.getJSON)("pickerCustomColors",[]));a("add_new_custom_color",(n=>t(c(n,e)))),a("remove_custom_color",(n=>t(u(n,e))));const n=(0,o.useCallback)((t=>{const n=t?(0,i.parseRgb)(t):null;e.some((e=>null!==e&&null!==n&&(0,i.areEqualRgb)((0,i.parseRgb)(e),n)))||(r.emit("add_new_custom_color",t),(0,s.setJSON)("pickerCustomColors",c(t,e)))}),[e]),l=(0,o.useCallback)((t=>{(t>=0||t<e.length)&&(r.emit("remove_custom_color",t),(0,s.setJSON)("pickerCustomColors",u(t,e)))}),[e]);return[e,n,l]}function c(e,t){const n=t.slice();return n.push(e),n.length>29&&n.shift(),n}function u(e,t){return t.filter(((t,n)=>e!==n))}},90405:(e,t,n)=>{"use strict";n.d(t,{Select:()=>C});var o=n(50959),s=n(22064),r=n(38528),a=n(16921),i=n(16396),l=n(12481),c=n(43370);var u=n(36762),p=n(26597),d=n(59054),h=n(36104),m=n(38223),v=n(60673);function g(e){return!e.readonly}function f(e,t){var n;return null!==(n=null==t?void 0:t.id)&&void 0!==n?n:(0,s.createDomId)(e,"item",null==t?void 0:t.value)}function b(e){var t,n
;const{selectedItem:s,placeholder:r}=e;if(!s)return o.createElement("span",{className:v.placeholder},r);const a=null!==(n=null!==(t=s.selectedContent)&&void 0!==t?t:s.content)&&void 0!==n?n:s.value;return o.createElement("span",null,a)}const C=o.forwardRef(((e,t)=>{const{id:n,menuClassName:v,menuItemClassName:C,tabIndex:y,disabled:E,highlight:w,intent:S,hideArrowButton:x,placeholder:_,addPlaceholderToItems:N=!0,value:T,"aria-labelledby":I,onFocus:k,onBlur:P,onClick:B,onChange:D,onKeyDown:M,repositionOnScroll:V=!0,openMenuOnEnter:O=!0,"aria-describedby":F,"aria-invalid":R,...L}=e;let{items:W}=e;if(_&&N){W=[{value:void 0,content:_,id:(0,s.createDomId)(n,"placeholder")},...W]}const{listboxId:A,isOpened:q,isFocused:U,buttonTabIndex:z,listboxTabIndex:Z,highlight:G,intent:H,open:K,onOpen:Y,close:$,toggle:j,buttonFocusBindings:X,onButtonClick:Q,buttonRef:J,listboxRef:ee,buttonAria:te}=(0,h.useControlDisclosure)({id:n,disabled:E,buttonTabIndex:y,intent:S,highlight:w,onFocus:k,onBlur:P,onClick:B}),ne=W.filter(g),oe=ne.find((e=>e.value===T)),[se,re,ae]=(0,a.useKeepActiveItemIntoView)({activeItem:oe}),ie=(0,s.joinDomIds)(I,n),le=ie.length>0?ie:void 0,ce=(0,o.useMemo)((()=>({role:"listbox","aria-labelledby":I,"aria-activedescendant":f(n,oe)})),[I,oe]),ue=(0,o.useCallback)((e=>e.value===T),[T]),pe=(0,o.useCallback)((e=>D&&D(e.value)),[D]),de=(0,u.useItemsKeyboardNavigation)(m.isRtl,ne,ue,pe,!1,{next:[40],previous:[38]}),he=(0,p.useKeyboardToggle)(j,q||O),me=(0,p.useKeyboardClose)(q,$),ve=(0,p.useKeyboardOpen)(q,K),ge=(0,p.useKeyboardEventHandler)([he,me,ve]),fe=(0,p.useKeyboardEventHandler)([de,he,me]),be=function(e){const t=(0,o.useRef)(""),n=(0,o.useMemo)((()=>(0,l.default)((()=>{t.current=""}),500)),[]),s=(0,o.useMemo)((()=>(0,c.default)(e,200)),[e]);return(0,o.useCallback)((e=>{e.key.length>0&&e.key.length<3&&(t.current+=e.key,s(t.current,e),n())}),[n,s])}(((t,n)=>{const o=function(e,t,n){return e.find((e=>{var o;const s=t.toLowerCase();return!e.readonly&&(n?n(e).toLowerCase().startsWith(s):!e.readonly&&("string"==typeof e.content&&e.content.toLowerCase().startsWith(s)||"string"==typeof e.textContent&&e.textContent.toLowerCase().startsWith(s)||String(null!==(o=e.value)&&void 0!==o?o:"").toLowerCase().startsWith(s)))}))}(ne,t,e.getSearchKey);void 0!==o&&D&&(n.stopPropagation(),q||K(),D(o.value))}));return o.createElement(d.ControlDisclosureView,{...L,...te,...X,id:n,role:"button",tabIndex:z,"aria-owns":te["aria-controls"],"aria-haspopup":"listbox","aria-labelledby":le,disabled:E,hideArrowButton:x,isFocused:U,isOpened:q,highlight:G,intent:H,ref:(0,r.useMergedRefs)([J,t]),onClick:Q,onOpen:function(){ae(oe,{duration:0}),Y()},onClose:$,onKeyDown:function(e){ge(e),M&&M(e);e.defaultPrevented||be(e)},listboxId:A,listboxTabIndex:Z,listboxClassName:v,listboxAria:ce,"aria-describedby":F,"aria-invalid":R,listboxReference:ee,scrollWrapReference:se,onListboxKeyDown:function(e){fe(e),e.defaultPrevented||be(e)},buttonChildren:o.createElement(b,{selectedItem:oe,placeholder:_}),repositionOnScroll:V},W.map(((e,t)=>{var s
;if(e.readonly)return o.createElement(o.Fragment,{key:`readonly_item_${t}`},e.content);const r=f(n,e);return o.createElement(i.PopupMenuItem,{key:r,id:r,className:C,role:"option","aria-selected":T===e.value,isActive:T===e.value,label:null!==(s=e.content)&&void 0!==s?s:e.value,onClick:Ce,onClickArg:e.value,isDisabled:e.disabled,reference:t=>re(e,t)})})));function Ce(e){D&&D(e)}}));C.displayName="Select"},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>i});var o=n(50959),s=n(59142),r=n(50151),a=n(49483);const i=(0,o.forwardRef)(((e,t)=>{const{children:n,...r}=e,i=(0,o.useRef)(null);return(0,o.useImperativeHandle)(t,(()=>i.current)),(0,o.useLayoutEffect)((()=>{if(a.CheckMobile.iOS())return null!==i.current&&(0,s.disableBodyScroll)(i.current,{allowTouchMove:l(i)}),()=>{null!==i.current&&(0,s.enableBodyScroll)(i.current)}}),[]),o.createElement("div",{ref:i,...r},n)}));function l(e){return t=>{const n=(0,r.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},26278:e=>{e.exports={titleWrap:"titleWrap-Izz3hpJc",groupFooter:"groupFooter-Izz3hpJc"}},49934:e=>{e.exports={wrapper:"wrapper-JXHzsa7P"}},17611:e=>{e.exports={inlineRow:"inlineRow-D8g11qqA"}},93071:e=>{e.exports={container:"container-QyF09i7Y",hasTooltip:"hasTooltip-QyF09i7Y",datePickerWrapper:"datePickerWrapper-QyF09i7Y",timePickerWrapper:"timePickerWrapper-QyF09i7Y"}},27698:e=>{e.exports={input:"input-ZOx_CVY3",symbol:"symbol-ZOx_CVY3",checkbox:"checkbox-ZOx_CVY3",label:"label-ZOx_CVY3",dropdownMenu:"dropdownMenu-ZOx_CVY3",sessionStart:"sessionStart-ZOx_CVY3",sessionEnd:"sessionEnd-ZOx_CVY3",sessionInputContainer:"sessionInputContainer-ZOx_CVY3",sessionDash:"sessionDash-ZOx_CVY3",inputGroup:"inputGroup-ZOx_CVY3",textarea:"textarea-ZOx_CVY3",inlineGroup:"inlineGroup-ZOx_CVY3",hasTooltip:"hasTooltip-ZOx_CVY3"}},24712:e=>{e.exports={content:"content-tBgV1m0B",cell:"cell-tBgV1m0B",inner:"inner-tBgV1m0B",first:"first-tBgV1m0B",inlineCell:"inlineCell-tBgV1m0B",fill:"fill-tBgV1m0B",top:"top-tBgV1m0B",topCenter:"topCenter-tBgV1m0B",offset:"offset-tBgV1m0B",inlineRow:"inlineRow-tBgV1m0B",grouped:"grouped-tBgV1m0B",separator:"separator-tBgV1m0B",groupSeparator:"groupSeparator-tBgV1m0B",big:"big-tBgV1m0B",adaptive:"adaptive-tBgV1m0B",checkableTitle:"checkableTitle-tBgV1m0B"}},80128:e=>{e.exports={wrap:"wrap-QutFvTLS",labelWrap:"labelWrap-QutFvTLS",label:"label-QutFvTLS",hasTooltip:"hasTooltip-QutFvTLS"}},82161:(e,t,n)=>{"use strict";n.d(t,{splitThousands:()=>s});var o=n(50335);function s(e,t="&nbsp;"){let n=e+"";-1!==n.indexOf("e")&&(n=function(e){return(0,o.fixComputationError)(e).toFixed(10).replace(/\.?0+$/,"")}(Number(e)));const s=n.split(".");return s[0].replace(/\B(?=(\d{3})+(?!\d))/g,t)+(s[1]?"."+s[1]:"")}},83207:(e,t,n)=>{"use strict";n.d(t,{bind:()=>a,setter:()=>i});var o=n(50959),s=n(76917),r=n(27365);function a(e){var t;return t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=(e,t,n)=>{const{setValue:o}=this.context,{onChange:s}=this.props;i(o,s)(e,t,n)}}
;[100,200,300,400,700,900].forEach((e=>{r.forEach((t=>{l.push(`color-${t}-${e}`)}))}));const c=l.map((e=>o.colorsPalette[e]))},59054:(e,t,n)=>{"use strict";n.d(t,{ControlDisclosureView:()=>g});var o=n(50959),s=n(97754),r=n.n(s),a=n(38528),i=n(67029),l=n(78274),c=n(4523),u=n(9745),p=n(2948),d=n(23428);function h(e){const{isDropped:t}=e;return o.createElement(u.Icon,{className:r()(d.icon,t&&d.dropped),icon:p})}function m(e){const{className:t,disabled:n,isDropped:s}=e;return o.createElement("span",{className:r()(d.button,n&&d.disabled,t)},o.createElement(h,{isDropped:s}))}var v=n(66986);const g=o.forwardRef(((e,t)=>{const{listboxId:n,className:s,listboxClassName:u,listboxTabIndex:p,hideArrowButton:d,matchButtonAndListboxWidths:h,popupPosition:g,disabled:b,isOpened:f,scrollWrapReference:C,repositionOnScroll:y,closeOnHeaderOverlap:E,listboxReference:S,size:w="small",onClose:x,onOpen:_,onListboxFocus:N,onListboxBlur:T,onListboxKeyDown:I,buttonChildren:k,children:P,caretClassName:B,listboxAria:D,...M}=e,V=(0,o.useRef)(null),O=!d&&o.createElement(l.EndSlot,null,o.createElement(m,{isDropped:f,disabled:b,className:B}));return o.createElement(c.PopupMenuDisclosureView,{buttonRef:V,listboxId:n,listboxClassName:u,listboxTabIndex:p,isOpened:f,onClose:x,onOpen:_,listboxReference:S,scrollWrapReference:C,onListboxFocus:N,onListboxBlur:T,onListboxKeyDown:I,listboxAria:D,matchButtonAndListboxWidths:h,popupPosition:g,button:o.createElement(i.ControlSkeleton,{...M,"data-role":"listbox",disabled:b,className:r()(v.button,s),size:w,ref:(0,a.useMergedRefs)([V,t]),middleSlot:o.createElement(l.MiddleSlot,null,o.createElement("span",{className:r()(v["button-children"],d&&v.hiddenArrow)},k)),endSlot:O}),popupChildren:P,repositionOnScroll:y,closeOnHeaderOverlap:E})}));g.displayName="ControlDisclosureView"},56512:(e,t,n)=>{"use strict";n.d(t,{useCustomColors:()=>l});var o=n(50959),s=n(56840),r=n(76422);function a(e,t){(0,o.useEffect)((()=>(r.subscribe(e,t,null),()=>{r.unsubscribe(e,t,null)})),[e,t])}var i=n(24377);function l(){const[e,t]=(0,o.useState)((0,s.getJSON)("pickerCustomColors",[]));a("add_new_custom_color",(n=>t(c(n,e)))),a("remove_custom_color",(n=>t(u(n,e))));const n=(0,o.useCallback)((t=>{const n=t?(0,i.parseRgb)(t):null;e.some((e=>null!==e&&null!==n&&(0,i.areEqualRgb)((0,i.parseRgb)(e),n)))||(r.emit("add_new_custom_color",t),(0,s.setJSON)("pickerCustomColors",c(t,e)))}),[e]),l=(0,o.useCallback)((t=>{(t>=0||t<e.length)&&(r.emit("remove_custom_color",t),(0,s.setJSON)("pickerCustomColors",u(t,e)))}),[e]);return[e,n,l]}function c(e,t){const n=t.slice();return n.push(e),n.length>29&&n.shift(),n}function u(e,t){return t.filter(((t,n)=>e!==n))}},90405:(e,t,n)=>{"use strict";n.d(t,{Select:()=>C});var o=n(50959),s=n(22064),r=n(38528),a=n(16921),i=n(16396),l=n(12481),c=n(43370);var u=n(36762),p=n(26597),d=n(59054),h=n(36104),m=n(38223),v=n(60673);function g(e){return!e.readonly}function b(e,t){var n;return null!==(n=null==t?void 0:t.id)&&void 0!==n?n:(0,s.createDomId)(e,"item",null==t?void 0:t.value)}function f(e){var t,n
;const{selectedItem:s,placeholder:r}=e;if(!s)return o.createElement("span",{className:v.placeholder},r);const a=null!==(n=null!==(t=s.selectedContent)&&void 0!==t?t:s.content)&&void 0!==n?n:s.value;return o.createElement("span",null,a)}const C=o.forwardRef(((e,t)=>{const{id:n,menuClassName:v,menuItemClassName:C,tabIndex:y,disabled:E,highlight:S,intent:w,hideArrowButton:x,placeholder:_,addPlaceholderToItems:N=!0,value:T,"aria-labelledby":I,onFocus:k,onBlur:P,onClick:B,onChange:D,onKeyDown:M,repositionOnScroll:V=!0,openMenuOnEnter:O=!0,"aria-describedby":F,"aria-invalid":R,...L}=e;let{items:W}=e;if(_&&N){W=[{value:void 0,content:_,id:(0,s.createDomId)(n,"placeholder")},...W]}const{listboxId:A,isOpened:q,isFocused:U,buttonTabIndex:z,listboxTabIndex:Z,highlight:G,intent:H,open:K,onOpen:Y,close:$,toggle:j,buttonFocusBindings:X,onButtonClick:Q,buttonRef:J,listboxRef:ee,buttonAria:te}=(0,h.useControlDisclosure)({id:n,disabled:E,buttonTabIndex:y,intent:w,highlight:S,onFocus:k,onBlur:P,onClick:B}),ne=W.filter(g),oe=ne.find((e=>e.value===T)),[se,re,ae]=(0,a.useKeepActiveItemIntoView)({activeItem:oe}),ie=(0,s.joinDomIds)(I,n),le=ie.length>0?ie:void 0,ce=(0,o.useMemo)((()=>({role:"listbox","aria-labelledby":I,"aria-activedescendant":b(n,oe)})),[I,oe]),ue=(0,o.useCallback)((e=>e.value===T),[T]),pe=(0,o.useCallback)((e=>D&&D(e.value)),[D]),de=(0,u.useItemsKeyboardNavigation)(m.isRtl,ne,ue,pe,!1,{next:[40],previous:[38]}),he=(0,p.useKeyboardToggle)(j,q||O),me=(0,p.useKeyboardClose)(q,$),ve=(0,p.useKeyboardOpen)(q,K),ge=(0,p.useKeyboardEventHandler)([he,me,ve]),be=(0,p.useKeyboardEventHandler)([de,he,me]),fe=function(e){const t=(0,o.useRef)(""),n=(0,o.useMemo)((()=>(0,l.default)((()=>{t.current=""}),500)),[]),s=(0,o.useMemo)((()=>(0,c.default)(e,200)),[e]);return(0,o.useCallback)((e=>{e.key.length>0&&e.key.length<3&&(t.current+=e.key,s(t.current,e),n())}),[n,s])}(((t,n)=>{const o=function(e,t,n){return e.find((e=>{var o;const s=t.toLowerCase();return!e.readonly&&(n?n(e).toLowerCase().startsWith(s):!e.readonly&&("string"==typeof e.content&&e.content.toLowerCase().startsWith(s)||"string"==typeof e.textContent&&e.textContent.toLowerCase().startsWith(s)||String(null!==(o=e.value)&&void 0!==o?o:"").toLowerCase().startsWith(s)))}))}(ne,t,e.getSearchKey);void 0!==o&&D&&(n.stopPropagation(),q||K(),D(o.value))}));return o.createElement(d.ControlDisclosureView,{...L,...te,...X,id:n,role:"button",tabIndex:z,"aria-owns":te["aria-controls"],"aria-haspopup":"listbox","aria-labelledby":le,disabled:E,hideArrowButton:x,isFocused:U,isOpened:q,highlight:G,intent:H,ref:(0,r.useMergedRefs)([J,t]),onClick:Q,onOpen:function(){ae(oe,{duration:0}),Y()},onClose:$,onKeyDown:function(e){ge(e),M&&M(e);e.defaultPrevented||fe(e)},listboxId:A,listboxTabIndex:Z,listboxClassName:v,listboxAria:ce,"aria-describedby":F,"aria-invalid":R,listboxReference:ee,scrollWrapReference:se,onListboxKeyDown:function(e){be(e),e.defaultPrevented||fe(e)},buttonChildren:o.createElement(f,{selectedItem:oe,placeholder:_}),repositionOnScroll:V},W.map(((e,t)=>{var s
;if(e.readonly)return o.createElement(o.Fragment,{key:`readonly_item_${t}`},e.content);const r=b(n,e);return o.createElement(i.PopupMenuItem,{key:r,id:r,className:C,role:"option","aria-selected":T===e.value,isActive:T===e.value,label:null!==(s=e.content)&&void 0!==s?s:e.value,onClick:Ce,onClickArg:e.value,isDisabled:e.disabled,reference:t=>re(e,t)})})));function Ce(e){D&&D(e)}}));C.displayName="Select"},86656:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>i});var o=n(50959),s=n(59142),r=n(50151),a=n(49483);const i=(0,o.forwardRef)(((e,t)=>{const{children:n,...r}=e,i=(0,o.useRef)(null);return(0,o.useImperativeHandle)(t,(()=>i.current)),(0,o.useLayoutEffect)((()=>{if(a.CheckMobile.iOS())return null!==i.current&&(0,s.disableBodyScroll)(i.current,{allowTouchMove:l(i)}),()=>{null!==i.current&&(0,s.enableBodyScroll)(i.current)}}),[]),o.createElement("div",{ref:i,...r},n)}));function l(e){return t=>{const n=(0,r.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},26278:e=>{e.exports={titleWrap:"titleWrap-Izz3hpJc",groupFooter:"groupFooter-Izz3hpJc"}},49934:e=>{e.exports={wrapper:"wrapper-JXHzsa7P"}},17611:e=>{e.exports={inlineRow:"inlineRow-D8g11qqA"}},93071:e=>{e.exports={container:"container-QyF09i7Y",hasTooltip:"hasTooltip-QyF09i7Y",datePickerWrapper:"datePickerWrapper-QyF09i7Y",timePickerWrapper:"timePickerWrapper-QyF09i7Y"}},27698:e=>{e.exports={input:"input-ZOx_CVY3",symbol:"symbol-ZOx_CVY3",checkbox:"checkbox-ZOx_CVY3",label:"label-ZOx_CVY3",dropdownMenu:"dropdownMenu-ZOx_CVY3",sessionStart:"sessionStart-ZOx_CVY3",sessionEnd:"sessionEnd-ZOx_CVY3",sessionInputContainer:"sessionInputContainer-ZOx_CVY3",sessionDash:"sessionDash-ZOx_CVY3",inputGroup:"inputGroup-ZOx_CVY3",textarea:"textarea-ZOx_CVY3",inlineGroup:"inlineGroup-ZOx_CVY3",hasTooltip:"hasTooltip-ZOx_CVY3"}},24712:e=>{e.exports={content:"content-tBgV1m0B",cell:"cell-tBgV1m0B",inner:"inner-tBgV1m0B",first:"first-tBgV1m0B",inlineCell:"inlineCell-tBgV1m0B",fill:"fill-tBgV1m0B",top:"top-tBgV1m0B",topCenter:"topCenter-tBgV1m0B",offset:"offset-tBgV1m0B",inlineRow:"inlineRow-tBgV1m0B",grouped:"grouped-tBgV1m0B",separator:"separator-tBgV1m0B",groupSeparator:"groupSeparator-tBgV1m0B",big:"big-tBgV1m0B",adaptive:"adaptive-tBgV1m0B",checkableTitle:"checkableTitle-tBgV1m0B"}},80128:e=>{e.exports={wrap:"wrap-QutFvTLS",labelWrap:"labelWrap-QutFvTLS",label:"label-QutFvTLS",hasTooltip:"hasTooltip-QutFvTLS"}},82161:(e,t,n)=>{"use strict";n.d(t,{splitThousands:()=>s});var o=n(50335);function s(e,t="&nbsp;"){let n=e+"";-1!==n.indexOf("e")&&(n=function(e){return(0,o.fixComputationError)(e).toFixed(10).replace(/\.?0+$/,"")}(Number(e)));const s=n.split(".");return s[0].replace(/\B(?=(\d{3})+(?!\d))/g,t)+(s[1]?"."+s[1]:"")}},83207:(e,t,n)=>{"use strict";n.d(t,{bind:()=>a,setter:()=>i});var o=n(50959),s=n(76917),r=n(27365);function a(e){var t;return t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=(e,t,n)=>{const{setValue:o}=this.context,{onChange:s}=this.props;i(o,s)(e,t,n)}}
render(){const{input:t}=this.props,{values:n,model:s}=this.context;return o.createElement(e,{...this.props,value:n[t.id],tzName:(0,r.getTimezoneName)(s),onChange:this._onChange})}},t.contextType=s.PropertyContext,t}function i(e,t){return(n,o,s)=>{e(o,n,s),t&&t(n,o,s)}}},76917:(e,t,n)=>{"use strict";n.d(t,{PropertyContainer:()=>u,PropertyContext:()=>c});var o=n(50959),s=n(50151),r=n(44352),a=n(36298);const i=(0,n(59224).getLogger)("Platform.GUI.StudyInputPropertyContainer"),l=new a.TranslatedString("change {propertyName} property",r.t(null,void 0,n(18567))),c=o.createContext(null);class u extends o.PureComponent{constructor(e){super(e),this._setValue=(e,t,o)=>{const{property:c,model:u}=this.props,p=(0,s.ensureDefined)(c.child(e));i.logNormal(`Changing property "${e}" value from "${c.value()}" to "${t}"`);const d=new a.TranslatedString(o,function(e){return r.t(e,{context:"input"},n(88601))}(o));u.setProperty(p,t,l.format({propertyName:d}))};const{property:t}=e,o={};t.childNames().forEach((e=>{const n=(0,s.ensureDefined)(t.child(e));o.hasOwnProperty(e)||(o[e]=n.value())})),this.state=o}componentDidMount(){const{property:e,onStudyInputChange:t}=this.props;e.childNames().forEach((n=>{(0,s.ensureDefined)(e.child(n)).subscribe(this,(e=>{const o=e.value();i.logNormal(`Property "${n}" updated to value "${o}"`),this.setState({[n]:o}),null==t||t(o,n)}))}))}componentWillUnmount(){const{property:e}=this.props;e.childNames().forEach((t=>{(0,s.ensureDefined)(e.child(t)).unsubscribeAll(this)}))}render(){const{study:e,model:t,children:n}=this.props,s={study:e,model:t,values:this.state,setValue:this._setValue};return o.createElement(c.Provider,{value:s},n)}}},51717:(e,t,n)=>{"use strict";n.d(t,{ModelContext:()=>s,bindModel:()=>r});var o=n(50959);const s=o.createContext(null);function r(e,t){return o.createElement(s.Consumer,null,(n=>n?o.createElement(e,{...Object.assign({model:n},t)}):null))}},41594:(e,t,n)=>{"use strict";n.d(t,{StylePropertyContainer:()=>a,StylePropertyContext:()=>r,bindPropertyContext:()=>i});var o=n(50959),s=n(51717);const r=o.createContext(null);class a extends o.PureComponent{constructor(){super(...arguments),this._setValue=(e,t,n)=>{const{model:o}=this.props;o.setProperty(e,t,n)}}componentDidMount(){const{property:e}=this.props;e.subscribe(this,(()=>this.forceUpdate()))}componentWillUnmount(){const{property:e}=this.props;e.unsubscribeAll(this)}render(){const e={setValue:this._setValue};return o.createElement(r.Provider,{value:e},this.props.children)}}function i(e,t){return(0,s.bindModel)((({model:n})=>o.createElement(a,{model:n,property:t.property},o.createElement(e,{...t}))),t)}},76694:(e,t,n)=>{"use strict";n.d(t,{IconGroupWrapper:()=>r});var o=n(50959),s=n(49934);function r(e){const{children:t}=e;return o.createElement("div",{className:s.wrapper},t)}},39847:(e,t,n)=>{"use strict";n.d(t,{InputTooltip:()=>E});var o=n(50959),s=n(97754),r=n(90186),a=n(9745),i=n(5325);function l(){const[e,t]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{t(i.mobiletouch)}),[]),e}
var c=n(38952),u=n(38528),p=n(82353),d=n(27941),h=n(99084),m=n(30162),v=n(78370),g=n.n(v);const f={info:d,question:p,check:h,exclamation:m};function b(e){return o.createElement("span",{...(0,c.renameRef)(e),className:s(e.className,g()["no-active-state"])})}function C(e){const{icon:t,intent:n="default",ariaLabel:i,tooltip:c,className:p,reference:d,showTooltipOnTouch:h=!0,renderComponent:m=b,showTooltip:v,hideTooltip:C,onFocus:y,onBlur:E,onClick:w,tabIndex:S}=e,x=l()?h:Boolean(c),_=o.useRef(null),N=(0,u.useMergedRefs)([d,_]),T=function(e){const{tabIndex:t=0,showTooltip:n,hideTooltip:s,onFocus:r,onBlur:a,onClick:i,ref:c}=e,u=l();return{onBlur:(0,o.useCallback)((e=>{s&&s(),a&&a(e)}),[s,a]),onFocus:(0,o.useCallback)((e=>{n&&n(e.currentTarget,{tooltipDelay:200}),r&&r(e)}),[n,r]),onClick:(0,o.useCallback)((e=>{var t;u&&(null===(t=c.current)||void 0===t||t.focus()),i&&i(e)}),[i]),tabIndex:t}}({showTooltip:v,hideTooltip:C,onFocus:y,onBlur:E,onClick:w,ref:_,tabIndex:S}),I=o.useMemo((()=>function(e,t){return t?f[t]:"success"===e?f.check:f.exclamation}(n,t)),[t,n]);return o.createElement(m,{className:s(p,g()["icon-wrapper"],g()[`intent-${n}`],x&&c&&g()["with-tooltip"],x&&c&&"apply-common-tooltip"),title:x?c:void 0,"aria-label":i,reference:N,...(0,r.filterDataProps)(e),...T},o.createElement(a.Icon,{"aria-hidden":!0,icon:I,className:g().icon}))}var y=n(38780);function E(e){const{className:t,title:n}=e;return o.createElement(C,{icon:"info",className:t,ariaLabel:n,showTooltip:y.showOnElement,hideTooltip:y.hide,tooltip:n,tabIndex:-1})}},64420:(e,t,n)=>{"use strict";n.d(t,{getInputGroups:()=>a,isGroup:()=>s,isInputInlines:()=>r});var o=n(50151);function s(e){return e.hasOwnProperty("groupType")}function r(e){return s(e)&&"inline"===e.groupType}function a(e){const t=[],n=new Map,s=new Map;return s.set(void 0,new Map),e.forEach((e=>{const{group:r,inline:a}=e;if(void 0!==r||void 0!==a)if(void 0!==r)if(void 0!==a)if(n.has(r)){const t=(0,o.ensureDefined)(n.get(r));let l;s.has(t)?l=(0,o.ensureDefined)(s.get(t)):(l=new Map,s.set(t,l)),i(e,"inline",a,l,t.children)}else{const o={id:a,groupType:"inline",children:[e]},i={id:r,groupType:"group",children:[o]},l=new Map;l.set(a,o),s.set(i,l),n.set(r,i),t.push(i)}else i(e,"group",r,n,t);else{const n=(0,o.ensureDefined)(s.get(void 0));i(e,"inline",(0,o.ensureDefined)(a),n,t)}else t.push(e)})),t}function i(e,t,n,s,r){if(s.has(n))(0,o.ensureDefined)(s.get(n)).children.push(e);else{const o={id:n,groupType:t,children:[e]};s.set(n,o),r.push(o)}}},12949:(e,t,n)=>{"use strict";n.d(t,{InputRow:()=>te});var o=n(44352),s=n(50959),r=n(50151),a=n(33703),i=n(96438),l=n(47510),c=n(4781),u=n(97754),p=n.n(u),d=n(31261),h=n(83207),m=n(90009),v=n(27698);class g extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:r,hasTooltip:a}=this.props;return s.createElement(d.InputControl,{className:p()(v.input,a&&v.hasTooltip),value:void 0===t?e:t,
onChange:this._onChange,onBlur:o,onKeyDown:r,disabled:n})}}const f=(0,m.debounced)(g),b=(0,h.bind)(f);var C=n(55141),y=n(11062);function E(e){const{className:t}=e,n=(0,s.useContext)(y.PropertyTable.InlineRowContext);return s.createElement("div",{className:u(v.inputGroup,n&&v.inlineGroup,t)},e.children)}var w=n(36565);function S(e=""){const[,t="",n="",o="",s=""]=Array.from(e.match(/^(\d\d)(\d\d)-(\d\d)(\d\d)/)||[]);return[`${t}:${n}`,`${o}:${s}`]}class x extends s.PureComponent{constructor(e){super(e),this._onStartPick=e=>{this.setState({startTime:e},this._onChange)},this._onEndPick=e=>{this.setState({endTime:e},this._onChange)},this._onChange=()=>{const{input:{id:e,name:t},onChange:n}=this.props,{startTime:o,endTime:s}=this.state;n(o.replace(":","")+"-"+s.replace(":",""),e,t)};const t=e.value||e.input.defval,[n,o]=S(t);this.state={prevValue:t,startTime:n,endTime:o}}render(){const{startTime:e,endTime:t}=this.state,{hasTooltip:n,disabled:o}=this.props;return s.createElement(E,{className:p()(n&&v.hasTooltip)},s.createElement("div",{className:v.sessionStart},s.createElement(w.TimeInput,{className:p()(v.input,v.sessionInputContainer),name:"start",value:(0,r.ensureDefined)(e),onChange:this._onStartPick,disabled:o}),s.createElement("span",{className:v.sessionDash}," — ")),s.createElement("div",{className:v.sessionEnd},s.createElement(w.TimeInput,{className:p()(v.input,v.sessionInputContainer),name:"end",value:(0,r.ensureDefined)(t),onChange:this._onEndPick,disabled:o})))}static getDerivedStateFromProps(e,t){if(e.value===t.prevValue)return t;const[n,o]=S(e.value);return{prevValue:e.value,startTime:n,endTime:o}}}const _=(0,h.bind)(x);var N=n(14483),T=n(42856),I=n(76917),k=n(90405);class P extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:{id:e,defval:t,options:r,optionsTitles:a},value:i,disabled:l,hasTooltip:c}=this.props,u=r.map((e=>{const t=a&&a[e]?a[e]:e;return{value:e,content:o.t(t,{context:"input"},n(88601))}})),d=void 0!==i&&r.includes(i)?i:t;return s.createElement(k.Select,{id:e,className:p()(v.input,c&&v.hasTooltip),menuClassName:v.dropdownMenu,value:d,items:u,onChange:this._onChange,disabled:l})}}const B=(0,h.bind)(P);var D=n(73146),M=n(28853);const V={open:o.t(null,void 0,n(38466)),high:o.t(null,void 0,n(39337)),low:o.t(null,void 0,n(3919)),close:o.t(null,void 0,n(36962)),hl2:o.t(null,void 0,n(91815)),hlc3:o.t(null,void 0,n(40771)),ohlc4:o.t(null,void 0,n(12504)),hlcc4:o.t(null,void 0,n(9523))};class O extends s.PureComponent{render(){const{input:e}=this.props,{study:t,model:n}=this.context;let o={...V};delete o.hlcc4;const i=(0,D.createAdapter)(t);if(t&&this._isStudy(t)&&t.isChildStudy()){const t=(0,a.getInputValue)(i.inputs()[e.id]),n=i.parentSourceForInput(t);if((0,M.isStudy)(n)){const t=n.title(),s=T.StudyMetaInfo.getChildSourceInputTitles(e,n.metaInfo(),t);o={...o,...s}}}if(N.enabled("study_on_study")&&t&&this._isStudy(t)&&(t.isChildStudy()||T.StudyMetaInfo.canBeChild(t.metaInfo()))){
const e=[t,...i.getAllChildren()];n.model().allStudies().filter((t=>t.canHaveChildren()&&!e.includes(t))).forEach((e=>{const t=e.title(!0,void 0,!0),n=e.id(),s=e.metaInfo(),a=s.styles,i=s.plots||[];if(1===i.length)o[n+"$0"]=t;else if(i.length>1){const e=i.reduce(((e,o,s)=>{if(!T.StudyMetaInfo.canPlotBeSourceOfChildStudy(o.type))return e;let i;try{i=(0,r.ensureDefined)((0,r.ensureDefined)(a)[o.id]).title}catch(e){i=o.id}return{...e,[`${n}$${s}`]:`${t}: ${i}`}}),{});o={...o,...e}}}))}const l={...e,type:"text",options:Object.keys(o),optionsTitles:o};return s.createElement(B,{...this.props,input:l})}_isStudy(e){return!e.hasOwnProperty("isInputsStudy")}}O.contextType=I.PropertyContext;var F=n(36274),R=n(94025);const L=void 0,W=["1","3","5","15","30","45","60","120","180","240","1D","1W","1M","3M","6M","12M"],A=["1S","5S","10S","15S","30S"];class q extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:e,value:t,disabled:r,hasTooltip:a}=this.props,i=F.Interval.parse(void 0===t?e.defval:t),l=i.isValid()?i.value():t,c=L?L.get().filter((e=>!F.Interval.parse(e).isRange())):[],u=(0,R.mergeResolutions)(W,(0,R.isSecondsEnabled)()?A:[],c);return u.unshift(""),s.createElement(k.Select,{id:e.id,className:p()(v.input,v.resolution,a&&v.hasTooltip),menuClassName:p()(v.dropdownMenu,v.resolution),items:(d=u,d.map((e=>({value:e,content:""===e?o.t(null,void 0,n(94551)):(0,R.getTranslatedResolutionModel)(e).hint})))),value:l,onChange:this._onChange,disabled:r});var d}}const U=(0,h.bind)(q);var z=n(41552),Z=n(41594);class G extends s.PureComponent{render(){return s.createElement(I.PropertyContext.Consumer,null,(e=>e?this._getColorInputWithContext(e):null))}_getColorInputWithContext(e){var t;const{input:{id:n},disabled:o,hasTooltip:r}=this.props,{model:a,study:i}=e;if("properties"in i||"tempProperties"in i){const e="properties"in i?i.properties().inputs[n]:null===(t=i.tempProperties)||void 0===t?void 0:t.inputs.child(n);return s.createElement(Z.StylePropertyContainer,{model:a,property:e},s.createElement(z.ColorWithThicknessSelect,{className:p()(r&&v.hasTooltip),color:e,disabled:o}))}return null}}var H=n(85528),K=n(76056),Y=n(23935),$=n(27365),j=n(93071);const X=(0,h.bind)((function(e){const{value:t,onChange:n,input:o,tzName:r,hasTooltip:a}=e,{id:i,name:l,defval:c}=o,u=(0,s.useMemo)((()=>Number(null!=t?t:c)),[t,c]),d=(0,s.useMemo)((()=>(0,$.getChartTimezoneOffsetMs)(u,r)),[u,r]),h=(0,s.useMemo)((()=>{const e=new Date(u+d+v(u));return e.setSeconds(0),e}),[u,d]),m=(0,s.useMemo)((()=>(0,Y.twoDigitsFormat)(h.getHours())+":"+(0,Y.twoDigitsFormat)(h.getMinutes())),[h]);return s.createElement("div",{className:p()(j.container,a&&j.hasTooltip)},s.createElement("div",{className:j.datePickerWrapper},s.createElement(H.DatePicker,{InputComponent:K.DateInput,initial:h,onPick:function(e){if(null===e)return;const t=new Date(h);t.setFullYear(e.getFullYear()),t.setMonth(e.getMonth()),t.setDate(e.getDate()),n(g(t),i,l)},revertInvalidData:!0
})),s.createElement("div",{className:j.timePickerWrapper},s.createElement(w.TimeInput,{value:m,onChange:function(e){const[t,o]=e.split(":"),s=new Date(h);s.setHours(Number(t)),s.setMinutes(Number(o)),n(g(s),i,l)}})));function v(e){return 60*new Date(e).getTimezoneOffset()*1e3}function g(e){return e.valueOf()-d-v(u)}}));class Q extends s.PureComponent{render(){const{input:e,disabled:t,onChange:n,tzName:o,hasTooltip:r}=this.props;if((0,a.isStudyInputOptionsInfo)(e))return s.createElement(B,{input:e,disabled:t,onChange:n,hasTooltip:r});switch(e.type){case"integer":return s.createElement(i.IntegerInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"float":case"price":return s.createElement(l.FloatInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"bool":return s.createElement(c.BoolInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"text":return s.createElement(b,{input:e,disabled:t,onChange:n,hasTooltip:r});case"symbol":return s.createElement(C.SymbolInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"session":return s.createElement(_,{input:e,disabled:t,onChange:n,hasTooltip:r});case"source":return s.createElement(O,{input:e,disabled:t,onChange:n,hasTooltip:r});case"resolution":return s.createElement(U,{input:e,disabled:t,onChange:n,hasTooltip:r});case"time":return s.createElement(X,{input:e,tzName:o,onChange:n,hasTooltip:r});case"color":return s.createElement(G,{input:e,disabled:t,onChange:n,hasTooltip:r});default:return null}}}var J=n(39847),ee=n(76694);class te extends s.PureComponent{render(){const{label:e,children:t,input:a,disabled:i,onChange:l,labelAlign:c,grouped:u,tooltip:p,solutionId:d,offset:h}=this.props,m=Boolean(p);return s.createElement(y.PropertyTable.Row,null,s.createElement(y.PropertyTable.Cell,{placement:"first",verticalAlign:c,grouped:u,offset:h},void 0!==e?e:o.t((0,r.ensureDefined)(a).name,{context:"input"},n(88601))),s.createElement(y.PropertyTable.Cell,{placement:"last",grouped:u},t||s.createElement(Q,{input:(0,r.ensureDefined)(a),onChange:l,disabled:i,hasTooltip:m}),m&&s.createElement(ee.IconGroupWrapper,null,p&&s.createElement(J.InputTooltip,{title:p}),!1)))}}},39828:(e,t,n)=>{"use strict";n.d(t,{InputsTabContent:()=>A});var o,s=n(50959),r=n(50151),a=n(44352),i=n(76917),l=n(11062),c=n(57733),u=n(97754),p=n.n(u),d=n(88400),h=n.n(d);const m=(0,c.makeSwitchGroupItem)(((o=class extends s.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const e=u(this.props.className,h().radio,{[h().reverse]:Boolean(this.props.labelPositionReverse)}),t=u(h().label,{[h().disabled]:this.props.disabled}),n=u(h().box,{[h().noOutline]:-1===this.props.tabIndex});let o=null;return this.props.label&&(o=s.createElement("span",{className:t},this.props.label)),s.createElement("label",{className:e},s.createElement("span",{className:h().wrapper,title:this.props.title},s.createElement("input",{id:this.props.id,tabIndex:this.props.tabIndex,autoFocus:this.props.autoFocus,role:this.props.role,className:h().input,type:"radio",
name:this.props.name,checked:this.props.checked,disabled:this.props.disabled,value:this.props.value,onChange:this._onChange,ref:this.props.reference,"aria-describedby":this.props["aria-describedby"],"aria-invalid":this.props["aria-invalid"]}),s.createElement("span",{className:n})),o)}}).defaultProps={value:"on"},o));var v=n(55141),g=n(83207),f=n(39847),b=n(76694),C=n(27698);function y(e){const{children:t,input:o,disabled:u,onChange:p,grouped:d,tooltip:h,solutionId:y}=e,E=(0,s.useContext)(i.PropertyContext),{values:w,setValue:S}=(0,r.ensureNotNull)(E),x=w[o.id],[_,N]=(0,s.useState)(x?"another-symbol":"main-symbol"),[T,I]=(0,s.useState)(x),k=Boolean(h);return(0,s.useEffect)((()=>{x&&I(x)}),[x]),s.createElement(c.SwitchGroup,{name:`symbol-source-${o.id}`,values:[_],onChange:function(e){N(e),"main-symbol"===e?(0,g.setter)(S)("",o.id,o.name):"another-symbol"===e&&T&&(0,g.setter)(S,p)(T,o.id,o.name)}},s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{colSpan:2,placement:"first",grouped:d},s.createElement(m,{value:"main-symbol",className:C.checkbox,disabled:u,label:s.createElement("span",{className:C.label},a.t(null,{context:"input"},n(88046)))}))),s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{placement:"first",grouped:d},s.createElement(m,{value:"another-symbol",className:C.checkbox,disabled:u,label:s.createElement("span",{className:C.label},a.t(null,{context:"input"},n(73755)))})),s.createElement(l.PropertyTable.Cell,{placement:"last",grouped:d},t||s.createElement(v.SymbolInput,{input:(0,r.ensureDefined)(o),onChange:p,disabled:u||"main-symbol"===_,hasTooltip:k}),k&&s.createElement(b.IconGroupWrapper,null,h&&s.createElement(f.InputTooltip,{title:h}),!1))))}var E=n(4781);class w extends s.PureComponent{render(){const{label:e,input:t,tooltip:n,solutionId:o}=this.props,r=Boolean(n);return s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{placement:"first",colSpan:2},s.createElement(E.BoolInput,{label:e,input:t,hasTooltip:r}),r&&s.createElement(b.IconGroupWrapper,null,n&&s.createElement(f.InputTooltip,{title:n}),!1)))}}var S=n(12949),x=n(2568),_=n(67029),N=n(90009);class T extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:r}=this.props;return s.createElement(x.Textarea,{className:p()(C.input,C.textarea,_.InputClasses.FontSizeMedium),value:void 0===t?e:t,onChange:this._onChange,onBlur:o,onKeyDown:r,disabled:n})}}const I=(0,N.debounced)(T),k=(0,g.bind)(I);var P=n(80128);function B(e){const{input:t,label:n,tooltip:o,solutionId:r}=e,a=Boolean(o);return s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{placement:"first",colSpan:2,className:P.wrap},s.createElement("div",{className:P.labelWrap},s.createElement("span",{className:p()(P.label,a&&P.hasTooltip)},n),a&&s.createElement(b.IconGroupWrapper,null,o&&s.createElement(f.InputTooltip,{
title:o}),!1)),s.createElement(k,{input:t})))}function D(e){const{input:t,tooltip:o,solutionId:r}=e;return"symbol"===t.type&&t.optional?s.createElement(y,{input:t,tooltip:o,solutionId:r}):"bool"===t.type?s.createElement(w,{label:a.t(t.name,{context:"input"},n(88601)),input:t,tooltip:o,solutionId:r}):"text_area"===t.type?s.createElement(B,{label:a.t(t.name,{context:"input"},n(88601)),input:t,tooltip:o,solutionId:r}):s.createElement(S.InputRow,{labelAlign:function(e){switch(e){case"session":return"adaptive";case"time":return"topCenter";default:return}}(t.type),input:t,tooltip:o,solutionId:r})}var M=n(86067),V=n(17611);function O(e){const{content:t}=e;let n;return s.createElement(l.PropertyTable.InlineRowContext.Provider,{value:!0},s.createElement("div",{className:V.inlineRow},t.children.map(((e,o)=>(void 0!==e.tooltip&&(n=e.tooltip),s.createElement(D,{key:e.id,input:e,tooltip:o===t.children.length-1?n:void 0}))))))}var F=n(64420),R=n(26278);function L(e){const{content:t}=e;return(0,F.isGroup)(t)?(0,F.isInputInlines)(t)?s.createElement(O,{content:t}):s.createElement(s.Fragment,null,s.createElement("div",{className:R.titleWrap},s.createElement(M.GroupTitleSection,{title:a.t(t.id,{context:"input"},n(88601)),name:t.id})),t.children.map((e=>(0,F.isGroup)(e)?s.createElement(O,{key:e.id,content:e}):s.createElement(D,{key:e.id,input:e,tooltip:e.tooltip,solutionId:e.solutionId}))),s.createElement("div",{className:R.groupFooter})):s.createElement(D,{input:t,tooltip:t.tooltip,solutionId:t.solutionId})}const W={offset:a.t(null,void 0,n(89298))};class A extends s.PureComponent{render(){const{reference:e,inputs:t,property:n,study:o,studyMetaInfo:a,model:i,onStudyInputChange:c,className:u}=this.props,{offset:p,offsets:d}=n;return s.createElement(l.PropertyTable,{reference:e,className:u},s.createElement(q,{study:o,model:i,property:n.inputs,inputs:t,onStudyInputChange:c}),p&&this._createOffsetSection(p,(0,r.ensureDefined)(a.offset)),d&&d.childNames().map((e=>{var t;const n=d.childs()[e];return this._createOffsetSection(n,(0,r.ensureDefined)(null===(t=a.offsets)||void 0===t?void 0:t[e]))})))}_createOffsetSection(e,t){const n=e.childs();return s.createElement(q,{key:`offset_${t.title}`,study:this.props.study,model:this.props.model,inputs:[U(n,t)],property:e})}}function q(e){const{study:t,model:n,inputs:o,property:r,onStudyInputChange:a}=e,l=o,c=(0,s.useMemo)((()=>(0,F.getInputGroups)(l)),[l]);return s.createElement(i.PropertyContainer,{property:r,study:t,model:n,onStudyInputChange:a},!1,c.map((e=>s.createElement(L,{key:e.id,content:e}))))}function U(e,t){return{id:"val",name:t.title||W.offset,defval:e.val.value(),type:"integer",min:t.min,max:t.max}}},4781:(e,t,n)=>{"use strict";n.d(t,{BoolInput:()=>u,BoolInputComponent:()=>c});var o=n(50959),s=n(15294),r=n(97754),a=n.n(r),i=n(83207),l=n(27698);class c extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{const{input:{id:e,name:t},value:n,onChange:o}=this.props;o(!n,e,t)}}render(){
const{input:{defval:e},value:t,disabled:n,label:r,hasTooltip:i}=this.props,c=void 0===t?e:t;return o.createElement(s.Checkbox,{className:a()(l.checkbox,i&&l.hasTooltip),disabled:n,checked:c,onChange:this._onChange,label:o.createElement("span",{className:l.label},r),labelAlignBaseline:!0})}}const u=(0,i.bind)(c)},90009:(e,t,n)=>{"use strict";n.d(t,{debounced:()=>r});var o=n(50959);const s={blur:0,commit:0,change:1/0};function r(e,t=s){return class extends o.PureComponent{constructor(e){super(e),this._onChange=(e,n,o)=>{const s=t.change;s?(clearTimeout(this._timeout),this.setState({value:e},(()=>{s!==1/0&&(this._timeout=setTimeout((()=>this._flush()),s))}))):this._flush(e)},this._onBlur=()=>{this._debounce(t.blur);const{onBlur:e}=this.props;e&&e()},this._onKeyDown=e=>{13===e.keyCode&&this._debounce(t.commit)},this.state={prevValue:e.value,value:e.value}}componentWillUnmount(){this._flush()}render(){const{value:t}=this.state;return o.createElement(e,{...this.props,value:t,onChange:this._onChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown})}static getDerivedStateFromProps(e,t){return e.value===t.prevValue?t:{prevValue:e.value,value:e.value}}_debounce(e){e?(clearTimeout(this._timeout),e!==1/0&&(this._timeout=setTimeout((()=>this._flush()),e))):this.setState((e=>{this._flush(e.value)}))}_flush(e){const{input:{id:t,name:n},onChange:o}=this.props,{prevValue:s,value:r}=this.state;clearTimeout(this._timeout);const a=void 0!==e?e:r;void 0!==a&&a!==s&&o(a,t,n)}}}},47510:(e,t,n)=>{"use strict";n.d(t,{FloatInput:()=>d,FloatInputComponent:()=>p});var o=n(50959),s=n(97754),r=n.n(s),a=n(95052),i=n(83207),l=n(90009),c=n(27698);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(a.NumericInput,{...this.props,className:r()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,l.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,i.bind)(p)},96438:(e,t,n)=>{"use strict";n.d(t,{IntegerInput:()=>d,IntegerInputComponent:()=>p});var o=n(50959),s=n(97754),r=n.n(s),a=n(83207),i=n(90009),l=n(95052),c=n(27698);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(l.NumericInput,{...this.props,mode:"integer",className:r()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,i.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,a.bind)(p)},95052:(e,t,n)=>{"use strict";n.d(t,{NumericInput:()=>y});var o=n(50959),s=n(50151),r=n(44352),a=n(60521),i=n(49483),l=n(92399),c=n(82161),u=n(38223);var p=n(87663),d=n(37160);const h=r.t(null,void 0,n(35563)),m=new class{constructor(e=" "){this._divider=e}format(e){const t=(0,c.splitThousands)(e,this._divider);return(0,u.isRtl)()?(0,u.startWithLTR)(t):t}parse(e){const t=(0,u.stripLTRMarks)(e).split(this._divider).join(""),n=Number(t);return isNaN(n)||/e/i.test(t)?{res:!1}:{res:!0,value:n,suggest:this.format(n)}}},v=/^-?[0-9]*$/,g=9e15;class f extends o.PureComponent{constructor(e){super(e),this._onFocus=e=>{this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this.setState({focused:!1}),
!1!==this.props.shouldApplyValueOnBlur&&(this.setState({displayValue:b(this.props,this.props.value)}),this.props.errorHandler&&this.props.errorHandler(!1)),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.target.value;if(void 0!==this.props.onEmptyString&&""===t&&this.props.onEmptyString(),"integer"===this.props.mode&&!v.test(t))return;const n=C(t,this.props.formatter),o=n.res?this._checkValueBoundaries(n.value):{isPassed:!1,msg:void 0},s=n.res&&!o.isPassed,r=n.res&&n.suggest&&!this.state.focused?n.suggest:t,a=s&&o.msg?o.msg:h;this.setState({displayValue:r,errorMsg:a}),n.res&&o.isPassed&&this.props.onValueChange(n.value,"input"),this.props.errorHandler&&this.props.errorHandler(!n.res||s)},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1,uiStep:o,min:s=n,formatter:r}=this.props,i=C(this.state.displayValue,r),l=null!=o?o:n;let c=n;if(i.res){const o=new a.Big(i.value),r=o.minus(s).mod(n);let u=o.plus(e*l);!r.eq(0)&&t&&(u=u.plus((e>0?0:1)*l).minus(r)),c=u.toNumber()}const{isPassed:u,clampedValue:p}=this._checkValueBoundaries(c);c=u?c:p,this.setState({displayValue:b(this.props,c)}),this.props.onValueChange(c,"step"),this.props.errorHandler&&this.props.errorHandler(!1)};const{value:t}=e;this.state={value:t,displayValue:b(e,t),focused:!1,errorMsg:h}}render(){var e;return o.createElement(l.NumberInputView,{id:this.props.id,inputMode:null!==(e=this.props.inputMode)&&void 0!==e?e:i.CheckMobile.iOS()?void 0:"numeric",borderStyle:this.props.borderStyle,fontSizeStyle:this.props.fontSizeStyle,value:this.state.displayValue,forceShowControls:this.props.forceShowControls,className:this.props.className,inputClassName:this.props.inputClassName,button:this.props.button,placeholder:this.props.placeholder,innerLabel:this.props.innerLabel,endSlot:this.props.endSlot,disabled:this.props.disabled,warning:this.props.warning,error:this.props.error,errorMessage:this.props.errorMessage||this.state.errorMsg,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this.props.inputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,controlDecKeyCodes:this.props.controlDecKeyCodes,controlIncKeyCodes:this.props.controlIncKeyCodes,title:this.props.title,intent:this.props.intent,highlight:this.props.highlight,highlightRemoveRoundBorder:this.props.highlightRemoveRoundBorder,stretch:this.props.stretch,autoSelectOnFocus:!i.CheckMobile.any(),"data-name":this.props["data-name"]})}getClampedValue(){const{min:e=-1/0,max:t=g}=this.props,n=C(this.state.displayValue,this.props.formatter);return n.res?(0,d.clamp)(n.value,e,t):null}static getDerivedStateFromProps(e,t){const{alwaysUpdateValueFromProps:n,value:o}=e;return t.focused&&!n||t.value===o?null:{value:o,displayValue:b(e,o)}}_checkValueBoundaries(e){var t,o,s,a;const{min:i=-1/0,max:l=g}=this.props,c=function(e,t,n){const o=e>=t,s=e<=n;return{passMin:o,passMax:s,pass:o&&s,clamped:(0,d.clamp)(e,t,n)}}(e,i,l);let u
;return c.passMax||(u=null!==(o=null===(t=this.props.boundariesErrorMessages)||void 0===t?void 0:t.greaterThanMax)&&void 0!==o?o:r.t(null,{replace:{max:String(l)}},n(2607))),c.passMin||(u=null!==(a=null===(s=this.props.boundariesErrorMessages)||void 0===s?void 0:s.lessThanMin)&&void 0!==a?a:r.t(null,{replace:{min:String(i)}},n(53669))),{isPassed:c.pass,msg:u,clampedValue:c.clamped}}}function b(e,t){const{useFormatter:n=!0,formatter:o,mode:s}=e;return n&&"integer"!==s?function(e,t=m){return null!==e?t.format(e):""}(t,o):function(e){if(null===e)return"";return p.NumericFormatter.formatNoE(e)}(t)}function C(e,t=m){return t.parse?t.parse(e):{res:!1,error:"Formatter does not support parse"}}class y extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._handleContainerRef=e=>this._container=e,this._onChange=(e,t)=>{const{input:{id:n,name:o},onChange:s,onBlur:r}=this.props;s(e,n,o),"step"===t&&r&&r()},this._onBlur=e=>{const{onBlur:t}=this.props;if(t){const n=(0,s.ensureNotNull)(this._container);n.contains(document.activeElement)||n.contains(e.relatedTarget)||t()}}}render(){const{input:{defval:e,min:t,max:n,step:s},value:r,disabled:a,onKeyDown:i,className:l,mode:c,stretch:u}=this.props;return o.createElement(f,{className:l,value:Number(void 0===r?e:r),min:t,max:n,step:s,mode:c,onBlur:this._onBlur,onValueChange:this._onChange,onKeyDown:i,disabled:a,containerReference:this._handleContainerRef,fontSizeStyle:"medium",roundByStep:!1,stretch:u})}}},55141:(e,t,n)=>{"use strict";n.d(t,{SymbolInput:()=>p,getInternalSymbolName:()=>c});var o=n(50959),s=n(50151),r=n(76917),a=n(83207),i=n(73146),l=n(48897);function c(e,t){const n=(0,i.createAdapter)(t).resolvedSymbolInfoBySymbol(e);return n&&(n.ticker||n.full_name)?n.ticker||n.full_name:e}function u(e,t){const n=(0,i.createAdapter)(t).resolvedSymbolInfoBySymbol(e);return null===n?e:n.name}const p=(0,a.bind)((function(e){const t=(0,o.useContext)(r.PropertyContext),{study:n}=(0,s.ensureNotNull)(t),{input:{defval:a},value:i}=e;return o.createElement(l.SymbolInputsButton,{...e,value:u(i||a||"",n),study:n})}))},41552:(e,t,n)=>{"use strict";n.d(t,{ColorWithThicknessSelect:()=>g});var o=n(50959),s=n(24377),r=n(44352),a=n(36298),i=n(87095),l=n(41594),c=n(58593),u=n(17948),p=n(51768);const d=new a.TranslatedString("change thickness",r.t(null,void 0,n(95657))),h=new a.TranslatedString("change color",r.t(null,void 0,n(13066))),m=new a.TranslatedString("change opacity",r.t(null,void 0,n(17023))),v=[1,2,3,4];class g extends o.PureComponent{constructor(){super(...arguments),this._trackEventLabel=null,this._getTransparencyValue=()=>{const{transparency:e}=this.props;return e?e.value():0},this._getOpacityValue=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);if(t)return(0,i.isHexColor)(t)?(0,i.transparencyToAlpha)(this._getTransparencyValue()):(0,s.parseRgba)(t)[3]},this._getColorValueInHex=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);return t?(0,i.isHexColor)(t)?t:(0,s.rgbToHexString)((0,s.parseRgb)(t)):null},this._onThicknessChange=e=>{
const{thickness:t}=this.props;void 0!==t&&this._setProperty(t,e,d)},this._onColorChange=e=>{const{color:t,isPaletteColor:n}=this.props,o=(0,u.getPropertyValue)(t);let r=0;o&&(r=(0,i.isHexColor)(o)?this._getTransparencyValue():(0,i.alphaToTransparency)((0,s.parseRgba)(o)[3])),this._setProperty(t,(0,i.generateColor)(String(e),r,!0),h),this._trackEventLabel="Plot color > "+(n?"Palette":"Single")},this._onOpacityChange=e=>{const{color:t}=this.props,n=(0,u.getPropertyValue)(t);this._setProperty(t,(0,i.generateColor)(n,(0,i.alphaToTransparency)(e),!0),m)},this._onPopupClose=()=>{this._trackEventLabel&&((0,p.trackEvent)("GUI","Study settings",this._trackEventLabel),this._trackEventLabel=null)}}componentWillUnmount(){this._onPopupClose()}render(){const{selectOpacity:e=!0,disabled:t,className:n}=this.props;return o.createElement(c.ColorSelect,{className:n,disabled:t,color:this._getColorValueInHex(),selectOpacity:e,opacity:this._getOpacityValue(),thickness:this._getThicknessValue(),thicknessItems:v,onColorChange:this._onColorChange,onOpacityChange:this._onOpacityChange,onThicknessChange:this._onThicknessChange,onPopupClose:this._onPopupClose})}_getThicknessValue(){const{thickness:e}=this.props;return e?(0,u.getPropertyValue)(e):void 0}_setProperty(e,t,n){const{setValue:o}=this.context;(0,u.setPropertyValue)(e,(e=>o(e,t,n)))}}g.contextType=l.StylePropertyContext},11062:(e,t,n)=>{"use strict";n.d(t,{PropertyTable:()=>l});var o=n(50959),s=n(97754),r=n(90186),a=n(24712);const i=o.createContext(!1);class l extends o.PureComponent{render(){return o.createElement("div",{ref:this.props.reference,className:s(a.content,this.props.className)},this.props.children)}}l.InlineRowContext=i,l.Row=function(e){const{children:t}=e;return(0,o.useContext)(i)?o.createElement("span",{className:a.inlineRow},t):o.createElement(o.Fragment,null,t)},l.Cell=function(e){const t=(0,o.useContext)(i),n=s(a.cell,e.offset&&a.offset,e.grouped&&a.grouped,t&&a.inlineCell,"top"===e.verticalAlign&&a.top,"topCenter"===e.verticalAlign&&a.topCenter,"adaptive"===e.verticalAlign&&a.adaptive,e.checkableTitle&&a.checkableTitle,2===e.colSpan&&a.fill,"first"===e.placement&&2!==e.colSpan&&a.first,"last"===e.placement&&2!==e.colSpan&&a.last),l=(0,r.filterDataProps)(e);return o.createElement("div",{...l,className:n},o.createElement("div",{className:s(a.inner,e.className)},e.children))},l.Separator=function(e){return o.createElement(l.Row,null,o.createElement("div",{className:s(a.cell,a.separator,a.fill)}))},l.GroupSeparator=function(e){const t=e.size||0;return o.createElement(l.Row,null,o.createElement("div",{className:s(a.cell,a.groupSeparator,a.fill,1===t&&a.big)}))}},17948:(e,t,n)=>{"use strict";function o(e){return Array.isArray(e)?e[0].value():e.value()}function s(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)}n.d(t,{getPropertyValue:()=>o,setPropertyValue:()=>s})},99084:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16Zm3.87-12.15c.36.2.49.66.28 1.02l-4 7a.75.75 0 0 1-1.18.16l-3-3a.75.75 0 1 1 1.06-1.06l2.3 2.3 3.52-6.14a.75.75 0 0 1 1.02-.28Z"/></svg>'},30162:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16ZM9 4c-.79 0-1.38.7-1.25 1.48l.67 4.03a.59.59 0 0 0 1.16 0l.67-4.03A1.27 1.27 0 0 0 9 4Zm0 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},27941:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16ZM8 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm1 2c.49 0 1 .59 1 1v3.01c0 .42-.51.99-1 .99s-1-.57-1-.99V9c0-.41.51-1 1-1Z"/></svg>'},82353:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16Zm0-3a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM6 7.5a3 3 0 1 1 6 0c0 .96-.6 1.48-1.17 1.98-.55.48-1.08.95-1.08 1.77h-1.5c0-1.37.7-1.9 1.33-2.38.49-.38.92-.71.92-1.37C10.5 6.67 9.82 6 9 6s-1.5.67-1.5 1.5H6Z"/></svg>'},65890:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},93929:e=>{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="M13.5 7l1.65-1.65a.5.5 0 0 0 0-.7l-1.8-1.8a.5.5 0 0 0-.7 0L11 4.5M13.5 7L11 4.5M13.5 7l-8.35 8.35a.5.5 0 0 1-.36.15H2.5v-2.3a.5.5 0 0 1 .15-.35L11 4.5"/></svg>'}}]);
var c=n(38952),u=n(38528),p=n(82353),d=n(27941),h=n(99084),m=n(30162),v=n(78370),g=n.n(v);const b={info:d,question:p,check:h,exclamation:m};function f(e){return o.createElement("span",{...(0,c.renameRef)(e),className:s(e.className,g()["no-active-state"])})}function C(e){const{icon:t,intent:n="default",ariaLabel:i,tooltip:c,className:p,reference:d,showTooltipOnTouch:h=!0,renderComponent:m=f,showTooltip:v,hideTooltip:C,onFocus:y,onBlur:E,onClick:S,tabIndex:w}=e,x=l()?h:Boolean(c),_=o.useRef(null),N=(0,u.useMergedRefs)([d,_]),T=function(e){const{tabIndex:t=0,showTooltip:n,hideTooltip:s,onFocus:r,onBlur:a,onClick:i,ref:c}=e,u=l();return{onBlur:(0,o.useCallback)((e=>{s&&s(),a&&a(e)}),[s,a]),onFocus:(0,o.useCallback)((e=>{n&&n(e.currentTarget,{tooltipDelay:200}),r&&r(e)}),[n,r]),onClick:(0,o.useCallback)((e=>{var t;u&&(null===(t=c.current)||void 0===t||t.focus()),i&&i(e)}),[i]),tabIndex:t}}({showTooltip:v,hideTooltip:C,onFocus:y,onBlur:E,onClick:S,ref:_,tabIndex:w}),I=o.useMemo((()=>function(e,t){return t?b[t]:"success"===e?b.check:b.exclamation}(n,t)),[t,n]);return o.createElement(m,{className:s(p,g()["icon-wrapper"],g()[`intent-${n}`],x&&c&&g()["with-tooltip"],x&&c&&"apply-common-tooltip"),title:x?c:void 0,"aria-label":i,reference:N,...(0,r.filterDataProps)(e),...T},o.createElement(a.Icon,{"aria-hidden":!0,icon:I,className:g().icon}))}var y=n(38780);function E(e){const{className:t,title:n}=e;return o.createElement(C,{icon:"info",className:t,ariaLabel:n,showTooltip:y.showOnElement,hideTooltip:y.hide,tooltip:n,tabIndex:-1})}},12949:(e,t,n)=>{"use strict";n.d(t,{InputRow:()=>ne});var o=n(44352),s=n(50959),r=n(50151),a=n(33703),i=n(96438),l=n(47510),c=n(4781),u=n(97754),p=n.n(u),d=n(31261),h=n(83207),m=n(90009),v=n(27698);class g extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:r,hasTooltip:a}=this.props;return s.createElement(d.InputControl,{className:p()(v.input,a&&v.hasTooltip),value:void 0===t?e:t,onChange:this._onChange,onBlur:o,onKeyDown:r,disabled:n,maxLength:4096})}}const b=(0,m.debounced)(g),f=(0,h.bind)(b);var C=n(55141),y=n(11062);function E(e){const{className:t}=e,n=(0,s.useContext)(y.PropertyTable.InlineRowContext);return s.createElement("div",{className:u(v.inputGroup,n&&v.inlineGroup,t)},e.children)}var S=n(36565);function w(e=""){const[,t="",n="",o="",s=""]=Array.from(e.match(/^(\d\d)(\d\d)-(\d\d)(\d\d)/)||[]);return[`${t}:${n}`,`${o}:${s}`]}class x extends s.PureComponent{constructor(e){super(e),this._onStartPick=e=>{this.setState({startTime:e},this._onChange)},this._onEndPick=e=>{this.setState({endTime:e},this._onChange)},this._onChange=()=>{const{input:{id:e,name:t},onChange:n}=this.props,{startTime:o,endTime:s}=this.state;n(o.replace(":","")+"-"+s.replace(":",""),e,t)};const t=e.value||e.input.defval,[n,o]=w(t);this.state={prevValue:t,startTime:n,endTime:o}}render(){
const{startTime:e,endTime:t}=this.state,{hasTooltip:n,disabled:o}=this.props;return s.createElement(E,{className:p()(n&&v.hasTooltip)},s.createElement("div",{className:v.sessionStart},s.createElement(S.TimeInput,{className:p()(v.input,v.sessionInputContainer),name:"start",value:(0,r.ensureDefined)(e),onChange:this._onStartPick,disabled:o}),s.createElement("span",{className:v.sessionDash}," — ")),s.createElement("div",{className:v.sessionEnd},s.createElement(S.TimeInput,{className:p()(v.input,v.sessionInputContainer),name:"end",value:(0,r.ensureDefined)(t),onChange:this._onEndPick,disabled:o})))}static getDerivedStateFromProps(e,t){if(e.value===t.prevValue)return t;const[n,o]=w(e.value);return{prevValue:e.value,startTime:n,endTime:o}}}const _=(0,h.bind)(x);var N=n(14483),T=n(42856),I=n(37591),k=n(76917),P=n(90405);class B extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:{id:e,defval:t,options:r,optionsTitles:a},value:i,disabled:l,hasTooltip:c}=this.props,u=r.map((e=>{const t=a&&a[e]?a[e]:e;return{value:e,content:o.t(t,{context:"input"},n(88601))}})),d=void 0!==i&&r.includes(i)?i:t;return s.createElement(P.Select,{id:e,className:p()(v.input,c&&v.hasTooltip),menuClassName:v.dropdownMenu,value:d,items:u,onChange:this._onChange,disabled:l})}}const D=(0,h.bind)(B);var M=n(73146),V=n(28853);const O={open:o.t(null,void 0,n(38466)),high:o.t(null,void 0,n(39337)),low:o.t(null,void 0,n(3919)),close:o.t(null,void 0,n(36962)),hl2:o.t(null,void 0,n(91815)),hlc3:o.t(null,void 0,n(40771)),ohlc4:o.t(null,void 0,n(12504)),hlcc4:o.t(null,void 0,n(9523))};class F extends s.PureComponent{render(){const{input:e}=this.props,{study:t,model:n}=this.context;let o={...O};delete o.hlcc4;const i=(0,M.createAdapter)(t);if(t&&this._isStudy(t)&&t.isChildStudy()){const t=(0,a.getInputValue)(i.inputs()[e.id]),n=i.parentSourceForInput(t);if((0,V.isStudy)(n)){const t=n.title(I.TitleDisplayTarget.StatusLine),s=T.StudyMetaInfo.getChildSourceInputTitles(e,n.metaInfo(),t);o={...o,...s}}}if(N.enabled("study_on_study")&&t&&this._isStudy(t)&&(t.isChildStudy()||T.StudyMetaInfo.canBeChild(t.metaInfo()))){const e=[t,...i.getAllChildren()];n.model().allStudies().filter((t=>t.canHaveChildren()&&!e.includes(t))).forEach((e=>{const t=e.title(I.TitleDisplayTarget.StatusLine,!0,void 0,!0),n=e.id(),s=e.metaInfo(),a=s.styles,i=s.plots||[];if(1===i.length)o[n+"$0"]=t;else if(i.length>1){const e=i.reduce(((e,o,s)=>{if(!T.StudyMetaInfo.canPlotBeSourceOfChildStudy(o.type))return e;let i;try{i=(0,r.ensureDefined)((0,r.ensureDefined)(a)[o.id]).title}catch(e){i=o.id}return{...e,[`${n}$${s}`]:`${t}: ${i}`}}),{});o={...o,...e}}}))}const l={...e,type:"text",options:Object.keys(o),optionsTitles:o};return s.createElement(D,{...this.props,input:l})}_isStudy(e){return!e.hasOwnProperty("isInputsStudy")}}F.contextType=k.PropertyContext;var R=n(36274),L=n(94025)
;const W=void 0,A=["1","3","5","15","30","45","60","120","180","240","1D","1W","1M","3M","6M","12M"],q=["1S","5S","10S","15S","30S"];class U extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e,t,n)}}render(){const{input:e,value:t,disabled:r,hasTooltip:a}=this.props,i=R.Interval.parse(void 0===t?e.defval:t),l=i.isValid()?i.value():t,c=W?W.get().filter((e=>!R.Interval.parse(e).isRange())):[],u=(0,L.mergeResolutions)(A,(0,L.isSecondsEnabled)()?q:[],c);return u.unshift(""),s.createElement(P.Select,{id:e.id,className:p()(v.input,v.resolution,a&&v.hasTooltip),menuClassName:p()(v.dropdownMenu,v.resolution),items:(d=u,d.map((e=>({value:e,content:""===e?o.t(null,void 0,n(94551)):(0,L.getTranslatedResolutionModel)(e).hint})))),value:l,onChange:this._onChange,disabled:r});var d}}const z=(0,h.bind)(U);var Z=n(41552),G=n(41594);class H extends s.PureComponent{render(){return s.createElement(k.PropertyContext.Consumer,null,(e=>e?this._getColorInputWithContext(e):null))}_getColorInputWithContext(e){var t;const{input:{id:n},disabled:o,hasTooltip:r}=this.props,{model:a,study:i}=e;if("properties"in i||"tempProperties"in i){const e="properties"in i?i.properties().inputs[n]:null===(t=i.tempProperties)||void 0===t?void 0:t.inputs.child(n);return s.createElement(G.StylePropertyContainer,{model:a,property:e},s.createElement(Z.ColorWithThicknessSelect,{className:p()(r&&v.hasTooltip),color:e,disabled:o}))}return null}}var K=n(85528),Y=n(76056),$=n(23935),j=n(27365),X=n(93071);const Q=(0,h.bind)((function(e){const{value:t,onChange:n,input:o,tzName:r,hasTooltip:a}=e,{id:i,name:l,defval:c}=o,u=(0,s.useMemo)((()=>Number(null!=t?t:c)),[t,c]),d=(0,s.useMemo)((()=>(0,j.getChartTimezoneOffsetMs)(u,r)),[u,r]),h=(0,s.useMemo)((()=>{const e=new Date(u+d+v(u));return e.setSeconds(0),e}),[u,d]),m=(0,s.useMemo)((()=>(0,$.twoDigitsFormat)(h.getHours())+":"+(0,$.twoDigitsFormat)(h.getMinutes())),[h]);return s.createElement("div",{className:p()(X.container,a&&X.hasTooltip)},s.createElement("div",{className:X.datePickerWrapper},s.createElement(K.DatePicker,{InputComponent:Y.DateInput,initial:h,onPick:function(e){if(null===e)return;const t=new Date(h);t.setFullYear(e.getFullYear()),t.setMonth(e.getMonth()),t.setDate(e.getDate()),n(g(t),i,l)},revertInvalidData:!0})),s.createElement("div",{className:X.timePickerWrapper},s.createElement(S.TimeInput,{value:m,onChange:function(e){const[t,o]=e.split(":"),s=new Date(h);s.setHours(Number(t)),s.setMinutes(Number(o)),n(g(s),i,l)}})));function v(e){return 60*new Date(e).getTimezoneOffset()*1e3}function g(e){return e.valueOf()-d-v(u)}}));class J extends s.PureComponent{render(){const{input:e,disabled:t,onChange:n,tzName:o,hasTooltip:r}=this.props;if((0,a.isStudyInputOptionsInfo)(e))return s.createElement(D,{input:e,disabled:t,onChange:n,hasTooltip:r});switch(e.type){case"integer":return s.createElement(i.IntegerInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"float":case"price":return s.createElement(l.FloatInput,{input:e,disabled:t,
onChange:n,hasTooltip:r});case"bool":return s.createElement(c.BoolInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"text":return s.createElement(f,{input:e,disabled:t,onChange:n,hasTooltip:r});case"symbol":return s.createElement(C.SymbolInput,{input:e,disabled:t,onChange:n,hasTooltip:r});case"session":return s.createElement(_,{input:e,disabled:t,onChange:n,hasTooltip:r});case"source":return s.createElement(F,{input:e,disabled:t,onChange:n,hasTooltip:r});case"resolution":return s.createElement(z,{input:e,disabled:t,onChange:n,hasTooltip:r});case"time":return s.createElement(Q,{input:e,tzName:o,onChange:n,hasTooltip:r});case"color":return s.createElement(H,{input:e,disabled:t,onChange:n,hasTooltip:r});default:return null}}}var ee=n(39847),te=n(76694);class ne extends s.PureComponent{render(){const{label:e,children:t,input:a,disabled:i,onChange:l,labelAlign:c,grouped:u,tooltip:p,solutionId:d,offset:h}=this.props,m=Boolean(p);return s.createElement(y.PropertyTable.Row,null,s.createElement(y.PropertyTable.Cell,{placement:"first",verticalAlign:c,grouped:u,offset:h},void 0!==e?e:o.t((0,r.ensureDefined)(a).name,{context:"input"},n(88601))),s.createElement(y.PropertyTable.Cell,{placement:"last",grouped:u},t||s.createElement(J,{input:(0,r.ensureDefined)(a),onChange:l,disabled:i,hasTooltip:m}),m&&s.createElement(te.IconGroupWrapper,null,p&&s.createElement(ee.InputTooltip,{title:p}),!1)))}}},39828:(e,t,n)=>{"use strict";n.d(t,{InputsTabContent:()=>A});var o,s=n(50959),r=n(50151),a=n(44352),i=n(76917),l=n(11062),c=n(57733),u=n(97754),p=n.n(u),d=n(88400),h=n.n(d);const m=(0,c.makeSwitchGroupItem)(((o=class extends s.PureComponent{constructor(){super(...arguments),this._onChange=()=>{this.props.onChange&&this.props.onChange(this.props.value)}}render(){const e=u(this.props.className,h().radio,{[h().reverse]:Boolean(this.props.labelPositionReverse)}),t=u(h().label,{[h().disabled]:this.props.disabled}),n=u(h().box,{[h().noOutline]:-1===this.props.tabIndex});let o=null;return this.props.label&&(o=s.createElement("span",{className:t},this.props.label)),s.createElement("label",{className:e},s.createElement("span",{className:h().wrapper,title:this.props.title},s.createElement("input",{id:this.props.id,tabIndex:this.props.tabIndex,autoFocus:this.props.autoFocus,role:this.props.role,className:h().input,type:"radio",name:this.props.name,checked:this.props.checked,disabled:this.props.disabled,value:this.props.value,onChange:this._onChange,ref:this.props.reference,"aria-describedby":this.props["aria-describedby"],"aria-invalid":this.props["aria-invalid"]}),s.createElement("span",{className:n})),o)}}).defaultProps={value:"on"},o));var v=n(55141),g=n(83207),b=n(39847),f=n(76694),C=n(27698);function y(e){const{children:t,input:o,disabled:u,onChange:p,grouped:d,tooltip:h,solutionId:y}=e,E=(0,s.useContext)(i.PropertyContext),{values:S,setValue:w}=(0,r.ensureNotNull)(E),x=S[o.id],[_,N]=(0,s.useState)(x?"another-symbol":"main-symbol"),[T,I]=(0,s.useState)(x),k=Boolean(h);return(0,s.useEffect)((()=>{x&&I(x)}),[x]),
s.createElement(c.SwitchGroup,{name:`symbol-source-${o.id}`,values:[_],onChange:function(e){N(e),"main-symbol"===e?(0,g.setter)(w)("",o.id,o.name):"another-symbol"===e&&T&&(0,g.setter)(w,p)(T,o.id,o.name)}},s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{colSpan:2,placement:"first",grouped:d},s.createElement(m,{value:"main-symbol",className:C.checkbox,disabled:u,label:s.createElement("span",{className:C.label},a.t(null,{context:"input"},n(88046)))}))),s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{placement:"first",grouped:d},s.createElement(m,{value:"another-symbol",className:C.checkbox,disabled:u,label:s.createElement("span",{className:C.label},a.t(null,{context:"input"},n(73755)))})),s.createElement(l.PropertyTable.Cell,{placement:"last",grouped:d},t||s.createElement(v.SymbolInput,{input:(0,r.ensureDefined)(o),onChange:p,disabled:u||"main-symbol"===_,hasTooltip:k}),k&&s.createElement(f.IconGroupWrapper,null,h&&s.createElement(b.InputTooltip,{title:h}),!1))))}var E=n(4781);class S extends s.PureComponent{render(){const{label:e,input:t,tooltip:n,solutionId:o}=this.props,r=Boolean(n);return s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{placement:"first",colSpan:2},s.createElement(E.BoolInput,{label:e,input:t,hasTooltip:r}),r&&s.createElement(f.IconGroupWrapper,null,n&&s.createElement(b.InputTooltip,{title:n}),!1)))}}var w=n(12949),x=n(2568),_=n(67029),N=n(90009);class T extends s.PureComponent{constructor(){super(...arguments),this._onChange=e=>{const{input:{id:t,name:n},onChange:o}=this.props;o(e.currentTarget.value,t,n)}}render(){const{input:{defval:e},value:t,disabled:n,onBlur:o,onKeyDown:r}=this.props;return s.createElement(x.Textarea,{className:p()(C.input,C.textarea,_.InputClasses.FontSizeMedium),value:void 0===t?e:t,onChange:this._onChange,onBlur:o,onKeyDown:r,disabled:n,maxLength:4096})}}const I=(0,N.debounced)(T),k=(0,g.bind)(I);var P=n(80128);function B(e){const{input:t,label:n,tooltip:o,solutionId:r}=e,a=Boolean(o);return s.createElement(l.PropertyTable.Row,null,s.createElement(l.PropertyTable.Cell,{placement:"first",colSpan:2,className:P.wrap},s.createElement("div",{className:P.labelWrap},s.createElement("span",{className:p()(P.label,a&&P.hasTooltip)},n),a&&s.createElement(f.IconGroupWrapper,null,o&&s.createElement(b.InputTooltip,{title:o}),!1)),s.createElement(k,{input:t})))}function D(e){const{input:t,tooltip:o,solutionId:r}=e;return"symbol"===t.type&&t.optional?s.createElement(y,{input:t,tooltip:o,solutionId:r}):"bool"===t.type?s.createElement(S,{label:a.t(t.name,{context:"input"},n(88601)),input:t,tooltip:o,solutionId:r}):"text_area"===t.type?s.createElement(B,{label:a.t(t.name,{context:"input"},n(88601)),input:t,tooltip:o,solutionId:r}):s.createElement(w.InputRow,{labelAlign:function(e){switch(e){case"session":return"adaptive";case"time":return"topCenter";default:return}}(t.type),input:t,tooltip:o,solutionId:r})}var M=n(86067),V=n(17611);function O(e){const{content:t}=e;let n
;return s.createElement(l.PropertyTable.InlineRowContext.Provider,{value:!0},s.createElement("div",{className:V.inlineRow},t.children.map(((e,o)=>(void 0!==e.tooltip&&(n=e.tooltip),s.createElement(D,{key:e.id,input:e,tooltip:o===t.children.length-1?n:void 0}))))))}var F=n(64420),R=n(26278);function L(e){const{content:t}=e;return(0,F.isGroup)(t)?(0,F.isInputInlines)(t)?s.createElement(O,{content:t}):s.createElement(s.Fragment,null,s.createElement("div",{className:R.titleWrap},s.createElement(M.GroupTitleSection,{title:a.t(t.id,{context:"input"},n(88601)),name:t.id})),t.children.map((e=>(0,F.isGroup)(e)?s.createElement(O,{key:e.id,content:e}):s.createElement(D,{key:e.id,input:e,tooltip:e.tooltip,solutionId:e.solutionId}))),s.createElement("div",{className:R.groupFooter})):s.createElement(D,{input:t,tooltip:t.tooltip,solutionId:t.solutionId})}const W={offset:a.t(null,void 0,n(89298))};class A extends s.PureComponent{render(){const{reference:e,inputs:t,property:n,study:o,studyMetaInfo:a,model:i,onStudyInputChange:c,className:u}=this.props,{offset:p,offsets:d}=n;return s.createElement(l.PropertyTable,{reference:e,className:u},s.createElement(q,{study:o,model:i,property:n.inputs,inputs:t,onStudyInputChange:c}),p&&this._createOffsetSection(p,(0,r.ensureDefined)(a.offset)),d&&d.childNames().map((e=>{var t;const n=d.childs()[e];return this._createOffsetSection(n,(0,r.ensureDefined)(null===(t=a.offsets)||void 0===t?void 0:t[e]))})))}_createOffsetSection(e,t){const n=e.childs();return s.createElement(q,{key:`offset_${t.title}`,study:this.props.study,model:this.props.model,inputs:[U(n,t)],property:e})}}function q(e){const{study:t,model:n,inputs:o,property:r,onStudyInputChange:a}=e,l=o,c=(0,s.useMemo)((()=>(0,F.getInputGroups)(l)),[l]);return s.createElement(i.PropertyContainer,{property:r,study:t,model:n,onStudyInputChange:a},!1,!1,c.map((e=>s.createElement(s.Fragment,{key:e.id},s.createElement(L,{content:e}),!1))))}function U(e,t){return{id:"val",name:t.title||W.offset,defval:e.val.value(),type:"integer",min:t.min,max:t.max}}},4781:(e,t,n)=>{"use strict";n.d(t,{BoolInput:()=>u,BoolInputComponent:()=>c});var o=n(50959),s=n(15294),r=n(97754),a=n.n(r),i=n(83207),l=n(27698);class c extends o.PureComponent{constructor(){super(...arguments),this._onChange=()=>{const{input:{id:e,name:t},value:n,onChange:o}=this.props;o(!n,e,t)}}render(){const{input:{defval:e},value:t,disabled:n,label:r,hasTooltip:i}=this.props,c=void 0===t?e:t;return o.createElement(s.Checkbox,{className:a()(l.checkbox,i&&l.hasTooltip),disabled:n,checked:c,onChange:this._onChange,label:o.createElement("span",{className:l.label},r),labelAlignBaseline:!0})}}const u=(0,i.bind)(c)},90009:(e,t,n)=>{"use strict";n.d(t,{debounced:()=>r});var o=n(50959);const s={blur:0,commit:0,change:1/0};function r(e,t=s){return class extends o.PureComponent{constructor(e){super(e),this._onChange=(e,n,o)=>{const s=t.change;s?(clearTimeout(this._timeout),this.setState({value:e},(()=>{s!==1/0&&(this._timeout=setTimeout((()=>this._flush()),s))}))):this._flush(e)},this._onBlur=()=>{
this._debounce(t.blur);const{onBlur:e}=this.props;e&&e()},this._onKeyDown=e=>{13===e.keyCode&&this._debounce(t.commit)},this.state={prevValue:e.value,value:e.value}}componentWillUnmount(){this._flush()}render(){const{value:t}=this.state;return o.createElement(e,{...this.props,value:t,onChange:this._onChange,onBlur:this._onBlur,onKeyDown:this._onKeyDown})}static getDerivedStateFromProps(e,t){return e.value===t.prevValue?t:{prevValue:e.value,value:e.value}}_debounce(e){e?(clearTimeout(this._timeout),e!==1/0&&(this._timeout=setTimeout((()=>this._flush()),e))):this.setState((e=>{this._flush(e.value)}))}_flush(e){const{input:{id:t,name:n},onChange:o}=this.props,{prevValue:s,value:r}=this.state;clearTimeout(this._timeout);const a=void 0!==e?e:r;void 0!==a&&a!==s&&o(a,t,n)}}}},47510:(e,t,n)=>{"use strict";n.d(t,{FloatInput:()=>d,FloatInputComponent:()=>p});var o=n(50959),s=n(97754),r=n.n(s),a=n(95052),i=n(83207),l=n(90009),c=n(27698);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(a.NumericInput,{...this.props,className:r()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,l.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,i.bind)(p)},96438:(e,t,n)=>{"use strict";n.d(t,{IntegerInput:()=>d,IntegerInputComponent:()=>p});var o=n(50959),s=n(97754),r=n.n(s),a=n(83207),i=n(90009),l=n(95052),c=n(27698);class u extends o.PureComponent{render(){const{hasTooltip:e}=this.props;return o.createElement(l.NumericInput,{...this.props,mode:"integer",className:r()(c.input,e&&c.hasTooltip),stretch:!1})}}const p=(0,i.debounced)(u,{change:1/0,commit:0,blur:0}),d=(0,a.bind)(p)},95052:(e,t,n)=>{"use strict";n.d(t,{NumericInput:()=>y});var o=n(50959),s=n(50151),r=n(44352),a=n(60521),i=n(49483),l=n(92399),c=n(82161),u=n(38223);var p=n(87663),d=n(37160);const h=r.t(null,void 0,n(35563)),m=new class{constructor(e=" "){this._divider=e}format(e){const t=(0,c.splitThousands)(e,this._divider);return(0,u.isRtl)()?(0,u.startWithLTR)(t):t}parse(e){const t=(0,u.stripLTRMarks)(e).split(this._divider).join(""),n=Number(t);return isNaN(n)||/e/i.test(t)?{res:!1}:{res:!0,value:n,suggest:this.format(n)}}},v=/^-?[0-9]*$/,g=9e15;class b extends o.PureComponent{constructor(e){super(e),this._onFocus=e=>{this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus(e)},this._onBlur=e=>{this.setState({focused:!1}),!1!==this.props.shouldApplyValueOnBlur&&(this.setState({displayValue:f(this.props,this.props.value)}),this.props.errorHandler&&this.props.errorHandler(!1)),this.props.onBlur&&this.props.onBlur(e)},this._onValueChange=e=>{const t=e.target.value;if(void 0!==this.props.onEmptyString&&""===t&&this.props.onEmptyString(),"integer"===this.props.mode&&!v.test(t))return;const n=C(t,this.props.formatter),o=n.res?this._checkValueBoundaries(n.value):{isPassed:!1,msg:void 0},s=n.res&&!o.isPassed,r=n.res&&n.suggest&&!this.state.focused?n.suggest:t,a=s&&o.msg?o.msg:h;this.setState({displayValue:r,errorMsg:a}),n.res&&o.isPassed&&this.props.onValueChange(n.value,"input"),
this.props.errorHandler&&this.props.errorHandler(!n.res||s)},this._onValueByStepChange=e=>{const{roundByStep:t=!0,step:n=1,uiStep:o,min:s=n,formatter:r}=this.props,i=C(this.state.displayValue,r),l=null!=o?o:n;let c=n;if(i.res){const o=new a.Big(i.value),r=o.minus(s).mod(n);let u=o.plus(e*l);!r.eq(0)&&t&&(u=u.plus((e>0?0:1)*l).minus(r)),c=u.toNumber()}const{isPassed:u,clampedValue:p}=this._checkValueBoundaries(c);c=u?c:p,this.setState({displayValue:f(this.props,c)}),this.props.onValueChange(c,"step"),this.props.errorHandler&&this.props.errorHandler(!1)};const{value:t}=e;this.state={value:t,displayValue:f(e,t),focused:!1,errorMsg:h}}render(){var e;return o.createElement(l.NumberInputView,{id:this.props.id,inputMode:null!==(e=this.props.inputMode)&&void 0!==e?e:i.CheckMobile.iOS()?void 0:"numeric",borderStyle:this.props.borderStyle,fontSizeStyle:this.props.fontSizeStyle,value:this.state.displayValue,forceShowControls:this.props.forceShowControls,className:this.props.className,inputClassName:this.props.inputClassName,button:this.props.button,placeholder:this.props.placeholder,innerLabel:this.props.innerLabel,endSlot:this.props.endSlot,disabled:this.props.disabled,warning:this.props.warning,error:this.props.error,errorMessage:this.props.errorMessage||this.state.errorMsg,onValueChange:this._onValueChange,onValueByStepChange:this._onValueByStepChange,containerReference:this.props.containerReference,inputReference:this.props.inputReference,onClick:this.props.onClick,onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this.props.onKeyDown,controlDecKeyCodes:this.props.controlDecKeyCodes,controlIncKeyCodes:this.props.controlIncKeyCodes,title:this.props.title,intent:this.props.intent,highlight:this.props.highlight,highlightRemoveRoundBorder:this.props.highlightRemoveRoundBorder,stretch:this.props.stretch,autoSelectOnFocus:!i.CheckMobile.any(),"data-name":this.props["data-name"]})}getClampedValue(){const{min:e=-1/0,max:t=g}=this.props,n=C(this.state.displayValue,this.props.formatter);return n.res?(0,d.clamp)(n.value,e,t):null}static getDerivedStateFromProps(e,t){const{alwaysUpdateValueFromProps:n,value:o}=e;return t.focused&&!n||t.value===o?null:{value:o,displayValue:f(e,o)}}_checkValueBoundaries(e){var t,o,s,a;const{min:i=-1/0,max:l=g}=this.props,c=function(e,t,n){const o=e>=t,s=e<=n;return{passMin:o,passMax:s,pass:o&&s,clamped:(0,d.clamp)(e,t,n)}}(e,i,l);let u;return c.passMax||(u=null!==(o=null===(t=this.props.boundariesErrorMessages)||void 0===t?void 0:t.greaterThanMax)&&void 0!==o?o:r.t(null,{replace:{max:String(l)}},n(2607))),c.passMin||(u=null!==(a=null===(s=this.props.boundariesErrorMessages)||void 0===s?void 0:s.lessThanMin)&&void 0!==a?a:r.t(null,{replace:{min:String(i)}},n(53669))),{isPassed:c.pass,msg:u,clampedValue:c.clamped}}}function f(e,t){const{useFormatter:n=!0,formatter:o,mode:s}=e;return n&&"integer"!==s?function(e,t=m){return null!==e?t.format(e):""}(t,o):function(e){if(null===e)return"";return p.NumericFormatter.formatNoE(e)}(t)}function C(e,t=m){return t.parse?t.parse(e):{res:!1,
error:"Formatter does not support parse"}}class y extends o.PureComponent{constructor(){super(...arguments),this._container=null,this._handleContainerRef=e=>this._container=e,this._onChange=(e,t)=>{const{input:{id:n,name:o},onChange:s,onBlur:r}=this.props;s(e,n,o),"step"===t&&r&&r()},this._onBlur=e=>{const{onBlur:t}=this.props;if(t){const n=(0,s.ensureNotNull)(this._container);n.contains(document.activeElement)||n.contains(e.relatedTarget)||t()}}}render(){const{input:{defval:e,min:t,max:n,step:s},value:r,disabled:a,onKeyDown:i,className:l,mode:c,stretch:u}=this.props;return o.createElement(b,{className:l,value:Number(void 0===r?e:r),min:t,max:n,step:s,mode:c,onBlur:this._onBlur,onValueChange:this._onChange,onKeyDown:i,disabled:a,containerReference:this._handleContainerRef,fontSizeStyle:"medium",roundByStep:!1,stretch:u})}}},55141:(e,t,n)=>{"use strict";n.d(t,{SymbolInput:()=>p,getInternalSymbolName:()=>c});var o=n(50959),s=n(50151),r=n(76917),a=n(83207),i=n(73146),l=n(48897);function c(e,t){const n=(0,i.createAdapter)(t).resolvedSymbolInfoBySymbol(e);return n&&(n.ticker||n.full_name)?n.ticker||n.full_name:e}function u(e,t){const n=(0,i.createAdapter)(t).resolvedSymbolInfoBySymbol(e);return null===n?e:n.name}const p=(0,a.bind)((function(e){const t=(0,o.useContext)(r.PropertyContext),{study:n}=(0,s.ensureNotNull)(t),{input:{defval:a},value:i}=e;return o.createElement(l.SymbolInputsButton,{...e,value:u(i||a||"",n),study:n})}))},41552:(e,t,n)=>{"use strict";n.d(t,{ColorWithThicknessSelect:()=>g});var o=n(50959),s=n(24377),r=n(44352),a=n(36298),i=n(87095),l=n(41594),c=n(58593),u=n(17948),p=n(51768);const d=new a.TranslatedString("change thickness",r.t(null,void 0,n(95657))),h=new a.TranslatedString("change color",r.t(null,void 0,n(13066))),m=new a.TranslatedString("change opacity",r.t(null,void 0,n(17023))),v=[1,2,3,4];class g extends o.PureComponent{constructor(){super(...arguments),this._trackEventLabel=null,this._getTransparencyValue=()=>{const{transparency:e}=this.props;return e?e.value():0},this._getOpacityValue=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);if(t)return(0,i.isHexColor)(t)?(0,i.transparencyToAlpha)(this._getTransparencyValue()):(0,s.parseRgba)(t)[3]},this._getColorValueInHex=()=>{const{color:e}=this.props,t=(0,u.getPropertyValue)(e);return t?(0,i.isHexColor)(t)?t:(0,s.rgbToHexString)((0,s.parseRgb)(t)):null},this._onThicknessChange=e=>{const{thickness:t}=this.props;void 0!==t&&this._setProperty(t,e,d)},this._onColorChange=e=>{const{color:t,isPaletteColor:n}=this.props,o=(0,u.getPropertyValue)(t);let r=0;o&&(r=(0,i.isHexColor)(o)?this._getTransparencyValue():(0,i.alphaToTransparency)((0,s.parseRgba)(o)[3])),this._setProperty(t,(0,i.generateColor)(String(e),r,!0),h),this._trackEventLabel="Plot color > "+(n?"Palette":"Single")},this._onOpacityChange=e=>{const{color:t}=this.props,n=(0,u.getPropertyValue)(t);this._setProperty(t,(0,i.generateColor)(n,(0,i.alphaToTransparency)(e),!0),m)},this._onPopupClose=()=>{this._trackEventLabel&&((0,
p.trackEvent)("GUI","Study settings",this._trackEventLabel),this._trackEventLabel=null)}}componentWillUnmount(){this._onPopupClose()}render(){const{selectOpacity:e=!0,disabled:t,className:n}=this.props;return o.createElement(c.ColorSelect,{className:n,disabled:t,color:this._getColorValueInHex(),selectOpacity:e,opacity:this._getOpacityValue(),thickness:this._getThicknessValue(),thicknessItems:v,onColorChange:this._onColorChange,onOpacityChange:this._onOpacityChange,onThicknessChange:this._onThicknessChange,onPopupClose:this._onPopupClose})}_getThicknessValue(){const{thickness:e}=this.props;return e?(0,u.getPropertyValue)(e):void 0}_setProperty(e,t,n){const{setValue:o}=this.context;(0,u.setPropertyValue)(e,(e=>o(e,t,n)))}}g.contextType=l.StylePropertyContext},11062:(e,t,n)=>{"use strict";n.d(t,{PropertyTable:()=>l});var o=n(50959),s=n(97754),r=n(90186),a=n(24712);const i=o.createContext(!1);class l extends o.PureComponent{render(){return o.createElement("div",{ref:this.props.reference,className:s(a.content,this.props.className)},this.props.children)}}l.InlineRowContext=i,l.Row=function(e){const{children:t}=e;return(0,o.useContext)(i)?o.createElement("span",{className:a.inlineRow},t):o.createElement(o.Fragment,null,t)},l.Cell=function(e){const t=(0,o.useContext)(i),n=s(a.cell,e.offset&&a.offset,e.grouped&&a.grouped,t&&a.inlineCell,"top"===e.verticalAlign&&a.top,"topCenter"===e.verticalAlign&&a.topCenter,"adaptive"===e.verticalAlign&&a.adaptive,e.checkableTitle&&a.checkableTitle,2===e.colSpan&&a.fill,"first"===e.placement&&2!==e.colSpan&&a.first,"last"===e.placement&&2!==e.colSpan&&a.last),l=(0,r.filterDataProps)(e);return o.createElement("div",{...l,className:n},o.createElement("div",{className:s(a.inner,e.className)},e.children))},l.Separator=function(e){return o.createElement(l.Row,null,o.createElement("div",{className:s(a.cell,a.separator,a.fill)}))},l.GroupSeparator=function(e){const t=e.size||0;return o.createElement(l.Row,null,o.createElement("div",{className:s(a.cell,a.groupSeparator,a.fill,1===t&&a.big)}))}},17948:(e,t,n)=>{"use strict";function o(e){return Array.isArray(e)?e[0].value():e.value()}function s(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)}n.d(t,{getPropertyValue:()=>o,setPropertyValue:()=>s})},99084:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16Zm3.87-12.15c.36.2.49.66.28 1.02l-4 7a.75.75 0 0 1-1.18.16l-3-3a.75.75 0 1 1 1.06-1.06l2.3 2.3 3.52-6.14a.75.75 0 0 1 1.02-.28Z"/></svg>'},30162:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16ZM9 4c-.79 0-1.38.7-1.25 1.48l.67 4.03a.59.59 0 0 0 1.16 0l.67-4.03A1.27 1.27 0 0 0 9 4Zm0 8a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>'},27941:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16ZM8 6a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm1 2c.49 0 1 .59 1 1v3.01c0 .42-.51.99-1 .99s-1-.57-1-.99V9c0-.41.51-1 1-1Z"/></svg>'},82353:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 17A8 8 0 1 0 9 1a8 8 0 0 0 0 16Zm0-3a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM6 7.5a3 3 0 1 1 6 0c0 .96-.6 1.48-1.17 1.98-.55.48-1.08.95-1.08 1.77h-1.5c0-1.37.7-1.9 1.33-2.38.49-.38.92-.71.92-1.37C10.5 6.67 9.82 6 9 6s-1.5.67-1.5 1.5H6Z"/></svg>'},65890:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},93929:e=>{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="M13.5 7l1.65-1.65a.5.5 0 0 0 0-.7l-1.8-1.8a.5.5 0 0 0-.7 0L11 4.5M13.5 7L11 4.5M13.5 7l-8.35 8.35a.5.5 0 0 1-.36.15H2.5v-2.3a.5.5 0 0 1 .15-.35L11 4.5"/></svg>'}}]);

Some files were not shown because too many files have changed in this diff Show More