(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[7843],{56057:e=>{e.exports={logo:"logo-PsAlMQQF",hidden:"hidden-PsAlMQQF",xxceptionallysmalldonotusebrv1023:"xxceptionallysmalldonotusebrv1023-PsAlMQQF",xxxsmall:"xxxsmall-PsAlMQQF",xxsmall:"xxsmall-PsAlMQQF",xsmall:"xsmall-PsAlMQQF",small:"small-PsAlMQQF",medium:"medium-PsAlMQQF",large:"large-PsAlMQQF",xlarge:"xlarge-PsAlMQQF",xxlarge:"xxlarge-PsAlMQQF",xxxlarge:"xxxlarge-PsAlMQQF",skeleton:"skeleton-PsAlMQQF",letter:"letter-PsAlMQQF"}},55679:e=>{e.exports={wrapper:"wrapper-TJ9ObuLF",animated:"animated-TJ9ObuLF",pulsation:"pulsation-TJ9ObuLF"}},96108:e=>{e.exports={"tablet-normal-breakpoint":"(max-width: 768px)","small-height-breakpoint":"(max-height: 360px)","tablet-small-breakpoint":"(max-width: 440px)"}},9059:e=>{e.exports={"tablet-small-breakpoint":"(max-width: 440px)",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"}},53885:(e,o,t)=>{"use strict";t.d(o,{getStyleClasses:()=>a,isCircleLogoWithUrlProps:()=>s});var l=t(97754),i=t(52292),n=t(56057),r=t.n(n);function a(e,o=2,t){return l(r().logo,r()[e],t,0===o||1===o?l(i.skeletonTheme.wrapper,r().skeleton):r().letter,1===o&&i.skeletonTheme.animated)}function s(e){return"logoUrl"in e&&null!==e.logoUrl&&void 0!==e.logoUrl&&0!==e.logoUrl.length}},39416:(e,o,t)=>{"use strict";t.d(o,{useFunctionalRefObject:()=>n});var l=t(50959),i=t(43010);function n(e){const o=(0,l.useMemo)((()=>function(e){const o=t=>{e(t),o.current=t};return o.current=null,o}((e=>{a.current(e)}))),[]),t=(0,l.useRef)(null),n=o=>{if(null===o)return r(t.current,o),void(t.current=null);t.current!==e&&(t.current=e,r(t.current,o))},a=(0,l.useRef)(n);return a.current=n,(0,i.useIsomorphicLayoutEffect)((()=>{if(null!==o.current)return a.current(o.current),()=>a.current(null)}),[e]),o}function r(e,o){null!==e&&("function"==typeof e?e(o):e.current=o)}},27267:(e,o,t)=>{"use strict";function l(e,o,t,l,i){function n(i){if(e>i.timeStamp)return;const n=i.target;void 0!==t&&null!==o&&null!==n&&n.ownerDocument===l&&(o.contains(n)||t(i))}return i.click&&l.addEventListener("click",n,!1),i.mouseDown&&l.addEventListener("mousedown",n,!1),i.touchEnd&&l.addEventListener("touchend",n,!1),i.touchStart&&l.addEventListener("touchstart",n,!1),()=>{l.removeEventListener("click",n,!1),l.removeEventListener("mousedown",n,!1),l.removeEventListener("touchend",n,!1),l.removeEventListener("touchstart",n,!1)}}t.d(o,{addOutsideEventListener:()=>l})},52292:(e,o,t)=>{"use strict";t.d(o,{skeletonTheme:()=>i});var l=t(55679);const i=l},90186:(e,o,t)=>{"use strict";function l(e){return n(e,r)}function i(e){return n(e,a)}function n(e,o){const t=Object.entries(e).filter(o),l={} ;for(const[e,o]of t)l[e]=o;return l}function r(e){const[o,t]=e;return 0===o.indexOf("data-")&&"string"==typeof t}function a(e){return 0===e[0].indexOf("aria-")}t.d(o,{filterAriaProps:()=>i,filterDataProps:()=>l,filterProps:()=>n,isAriaAttribute:()=>a,isDataAttribute:()=>r})},24437:(e,o,t)=>{"use strict";t.d(o,{DialogBreakpoints:()=>i});var l=t(96108);const i={SmallHeight:l["small-height-breakpoint"],TabletSmall:l["tablet-small-breakpoint"],TabletNormal:l["tablet-normal-breakpoint"]}},59695:(e,o,t)=>{"use strict";t.d(o,{CircleLogo:()=>a,hiddenCircleLogoClass:()=>r});var l=t(50959),i=t(53885),n=t(56057);const r=t.n(n)().hidden;function a(e){const o=(0,i.isCircleLogoWithUrlProps)(e),[t,n]=(0,l.useState)(0),r=(0,l.useRef)(null),a=(0,i.getStyleClasses)(e.size,t,e.className),s=e.alt??e.title??"",c=o?s[0]:e.placeholderLetter;return(0,l.useEffect)((()=>n(r.current?.complete??!o?2:1)),[o]),o&&3!==t?l.createElement("img",{ref:r,className:a,crossOrigin:"",src:e.logoUrl,alt:s,title:e.title,loading:e.loading,onLoad:()=>n(2),onError:()=>n(3),"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]}):l.createElement("span",{className:a,title:e.title,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]},c)}},77975:(e,o,t)=>{"use strict";t.d(o,{useWatchedValueReadonly:()=>i});var l=t(50959);const i=(e,o=!1,t=[])=>{const i="watchedValue"in e?e.watchedValue:void 0,n="defaultValue"in e?e.defaultValue:e.watchedValue.value(),[r,a]=(0,l.useState)(i?i.value():n);return(o?l.useLayoutEffect:l.useEffect)((()=>{if(i){a(i.value());const e=e=>a(e);return i.subscribe(e),()=>i.unsubscribe(e)}return()=>{}}),[i,...t]),r}},16396:(e,o,t)=>{"use strict";t.d(o,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>h,PopupMenuItem:()=>d});var l=t(50959),i=t(97754),n=t(51768),r=t(59064),a=t(59695),s=t(76460),c=t(9059);const h=c;function v(e){e.stopPropagation()}function d(e){const{id:o,role:t,className:h,title:d,labelRowClassName:u,labelClassName:g,toolboxClassName:m,shortcut:w,forceShowShortcuts:f,icon:p,iconClassname:L,isActive:x,isDisabled:T,isHovered:z,appearAsDisabled:b,label:M,link:A,showToolboxOnHover:y,showToolboxOnFocus:C,target:k,rel:P,toolbox:E,toolboxRole:F,reference:S,onMouseOut:D,onMouseOver:K,onKeyDown:V,suppressToolboxClick:N=!0,theme:R=c,tabIndex:H,tagName:O,renderComponent:B,roundedIcon:I,iconAriaProps:Q,circleLogo:Z,dontClosePopup:j,onClick:J,onClickArg:q,trackEventObject:U,trackMouseWheelClick:W,trackRightClick:G,..._}=e,$=(0,l.useRef)(null),X=(0,l.useMemo)((()=>function(e){function o(o){const{reference:t,...i}=o,n=e??(i.href?"a":"div"),r="a"===n?i:function(e){const{download:o,href:t,hrefLang:l,media:i,ping:n,rel:r,target:a,type:s,referrerPolicy:c,...h}=e;return h}(i);return l.createElement(n,{...r,ref:t})}return o.displayName=`DefaultComponent(${e})`,o}(O)),[O]),Y=B??X;return l.createElement(Y,{..._,id:o,role:t,className:i(h,R.item,p&&R.withIcon,{[R.isActive]:x,[R.isDisabled]:T||b,[R.hovered]:z}),title:d,href:A,target:k,rel:P,reference:function(e){$.current=e,"function"==typeof S&&S(e);"object"==typeof S&&(S.current=e)},onClick:function(e){ if(T)return;U&&(0,n.trackEvent)(U.category,U.event,U.label);J&&J(q,e);j||(e.currentTarget.dispatchEvent(new CustomEvent("popup-menu-close-event",{bubbles:!0,detail:{clickType:(0,s.isKeyboardClick)(e)?"keyboard":"mouse"}})),(0,r.globalCloseMenu)())},onContextMenu:function(e){U&&G&&(0,n.trackEvent)(U.category,U.event,`${U.label}_rightClick`)},onMouseUp:function(e){if(1===e.button&&A&&U){let e=U.label;W&&(e+="_mouseWheelClick"),(0,n.trackEvent)(U.category,U.event,e)}},onMouseOver:K,onMouseOut:D,onKeyDown:V,tabIndex:H},Z&&l.createElement(a.CircleLogo,{...Q,className:c["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:Z.logoUrl,placeholderLetter:"placeholderLetter"in Z?Z.placeholderLetter:void 0}),p&&l.createElement("span",{"aria-label":Q&&Q["aria-label"],"aria-hidden":Q&&Boolean(Q["aria-hidden"]),className:i(R.icon,I&&c["round-icon"],L),dangerouslySetInnerHTML:{__html:p}}),l.createElement("span",{className:i(R.labelRow,u)},l.createElement("span",{className:i(R.label,g)},M)),(void 0!==w||f)&&l.createElement("span",{className:R.shortcut},(ee=w)&&ee.split("+").join(" + ")),void 0!==E&&l.createElement("span",{role:F,onClick:N?v:void 0,className:i(m,R.toolbox,{[R.showOnHover]:y,[R.showOnFocus]:C})},E));var ee}},20520:(e,o,t)=>{"use strict";t.d(o,{PopupMenu:()=>d});var l=t(50959),i=t(32227),n=t(88987),r=t(42842),a=t(27317),s=t(29197);const c=l.createContext(void 0);var h=t(36383);const v=l.createContext({setMenuMaxWidth:!1});function d(e){const{controller:o,children:t,isOpened:d,closeOnClickOutside:u=!0,doNotCloseOn:g,onClickOutside:m,onClose:w,onKeyboardClose:f,"data-name":p="popup-menu-container",...L}=e,x=(0,l.useContext)(s.CloseDelegateContext),T=l.useContext(v),z=(0,l.useContext)(c),b=(0,h.useOutsideEvent)({handler:function(e){m&&m(e);if(!u)return;const o=(0,n.default)(g)?g():null==g?[]:[g];if(o.length>0&&e.target instanceof Node)for(const t of o){const o=i.findDOMNode(t);if(o instanceof Node&&o.contains(e.target))return}w()},mouseDown:!0,touchStart:!0});return d?l.createElement(r.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},l.createElement("span",{ref:b,style:{pointerEvents:"auto"}},l.createElement(a.Menu,{...L,onClose:w,onKeyboardClose:f,onScroll:function(o){const{onScroll:t}=e;t&&t(o)},customCloseDelegate:x,customRemeasureDelegate:z,ref:o,"data-name":p,limitMaxWidth:T.setMenuMaxWidth,"data-tooltip-show-on-focus":"true"},t))):null}},26448:e=>{e.exports={accessible:"accessible-NQERJsv9",active:"active-NQERJsv9"}},58658:e=>{e.exports={button:"button-KTgbfaP5",hover:"hover-KTgbfaP5",clicked:"clicked-KTgbfaP5",bg:"bg-KTgbfaP5",icon:"icon-KTgbfaP5",isActive:"isActive-KTgbfaP5",isTransparent:"isTransparent-KTgbfaP5",isGrayed:"isGrayed-KTgbfaP5",isHidden:"isHidden-KTgbfaP5",accessible:"accessible-KTgbfaP5"}},10838:(e,o,t)=>{"use strict";t.d(o,{AccessibleMenuItem:()=>h});var l=t(50959),i=t(97754),n=t.n(i),r=t(3343),a=t(50238),s=t(16396),c=t(26448);function h(e){const{className:o,...t}=e,[i,h]=(0,a.useRovingTabindexElement)(null);return l.createElement(s.PopupMenuItem,{...t, className:n()(c.accessible,e.isActive&&c.active,o),reference:i,tabIndex:h,onKeyDown:function(e){if(e.target!==e.currentTarget)return;const o=(0,r.hashFromEvent)(e);13!==o&&32!==o||(e.preventDefault(),i.current instanceof HTMLElement&&i.current.click())},"data-role":"menuitem","aria-disabled":e.isDisabled||void 0,toolboxRole:"toolbar"})}},29835:(e,o,t)=>{"use strict";t.d(o,{ToolButton:()=>a});var l=t(50959),i=t(97754),n=t(9745),r=t(58658);const a=(0,l.forwardRef)(((e,o)=>{const{id:t,activeClass:a,children:s,className:c,icon:h,isActive:v,isGrayed:d,isHidden:u,isTransparent:g,theme:m=r,onClick:w,onKeyDown:f,buttonHotKey:p,tooltipPosition:L="vertical",tag:x="div",tabIndex:T,tooltip:z,...b}=e,M="button"===e.tag;return l.createElement(x,{"aria-label":M?z:void 0,...b,id:t,type:M?"button":void 0,className:i(m.button,c,v&&a,{"apply-common-tooltip":Boolean(z),"common-tooltip-vertical":Boolean(z)&&"vertical"===L,[m.isActive]:v,[m.isGrayed]:d,[m.isHidden]:u,[m.isTransparent]:g},M&&m.accessible),onClick:w,onKeyDown:f,"data-role":M?void 0:"button",ref:o,tabIndex:T,"data-tooltip-hotkey":p,"aria-pressed":M?v:void 0,"data-tooltip":z},l.createElement("div",{className:m.bg},h&&("string"==typeof h?l.createElement(n.Icon,{className:m.icon,icon:h}):l.createElement("span",{className:m.icon},h)),s))}))},84243:(e,o,t)=>{"use strict";t.d(o,{drawingToolsIcons:()=>l});const l={SyncDrawing:t(99088),arrow:t(63743),cursor:t(18953),dot:t(72196),demonstration:t(54780),performance:"",drawginmode:t(52459),drawginmodeActive:t(63975),eraser:t(27999),group:t(34059),hideAllDrawings:t(45820),hideAllDrawingsActive:t(84959),hideAllIndicators:t(42321),hideAllIndicatorsActive:t(75895),hideAllDrawingTools:t(93756),hideAllDrawingToolsActive:t(42650),hideAllPositionsTools:t(57313),hideAllPositionsToolsActive:t(65162),lockAllDrawings:t(91244),lockAllDrawingsActive:t(65186),magnet:t(68385),heart:t(10862),smile:t(7636),sticker:t(62567),strongMagnet:t(46049),measure:t(88518),removeAllDrawingTools:t(93544),showObjectsTree:t(36515),zoom:t(6894),"zoom-out":t(45360)}},2627:(e,o,t)=>{"use strict";t.d(o,{lineToolsInfo:()=>L});var l=t(50151),i=t(11542),n=t(61814),r=(t(21251),t(98626)),a=t(84243);const s={SyncDrawing:i.t(null,void 0,t(59377)),arrow:i.t(null,void 0,t(11858)),cursor:i.t(null,void 0,t(6969)),demonstration:i.t(null,void 0,t(14939)),dot:i.t(null,void 0,t(57157)),performance:i.t(null,void 0,t(35553)),drawginmode:i.t(null,void 0,t(62518)),eraser:i.t(null,void 0,t(8727)),group:i.t(null,void 0,t(3154)),hideAllDrawings:i.t(null,void 0,t(52563)),lockAllDrawings:i.t(null,void 0,t(79451)),magnet:i.t(null,void 0,t(81396)),measure:i.t(null,void 0,t(91563)),removeAllDrawingTools:i.t(null,void 0,t(57118)),showObjectsTree:i.t(null,void 0,t(85786)),zoom:i.t(null,void 0,t(55774)),"zoom-out":i.t(null,void 0,t(37310))};var c=t(98523),h=t(68335),v=t(17402);const d=(0,h.humanReadableModifiers)(h.Modifiers.Shift,!1).trim(),u=(0,h.humanReadableModifiers)(h.Modifiers.Alt,!1).trim(),g=(0,h.humanReadableModifiers)(h.Modifiers.Mod,!1).trim(),m={keys:[d],text:i.t(null,void 0,t(23369)) },w={keys:[d],text:i.t(null,void 0,t(13798))},f={keys:[d],text:i.t(null,void 0,t(10539))},p={LineTool5PointsPattern:{},LineToolABCD:{},LineToolArc:{},LineToolArrow:{},LineToolArrowMarkDown:{},LineToolArrowMarkLeft:{},LineToolArrowMarkRight:{},LineToolArrowMarkUp:{},LineToolComment:{},LineToolBarsPattern:{},LineToolBezierCubic:{},LineToolBezierQuadro:{},LineToolBrush:{},LineToolCallout:{},LineToolCircleLines:{},LineToolCypherPattern:{},LineToolDateAndPriceRange:{},LineToolDateRange:{},LineToolDisjointAngle:{hotKey:(0,n.hotKeySerialize)(m)},LineToolElliottCorrection:{},LineToolElliottDoubleCombo:{},LineToolElliottImpulse:{},LineToolElliottTriangle:{},LineToolElliottTripleCombo:{},LineToolEllipse:{hotKey:(0,n.hotKeySerialize)(w)},LineToolExtended:{},LineToolFibChannel:{},LineToolFibCircles:{hotKey:(0,n.hotKeySerialize)(w)},LineToolFibRetracement:{},LineToolFibSpeedResistanceArcs:{},LineToolFibSpeedResistanceFan:{hotKey:(0,n.hotKeySerialize)(f)},LineToolFibSpiral:{},LineToolFibTimeZone:{},LineToolFibWedge:{},LineToolFlagMark:{},LineToolFlatBottom:{hotKey:(0,n.hotKeySerialize)(m)},LineToolAnchoredVWAP:{},LineToolGannComplex:{},LineToolGannFixed:{},LineToolGannFan:{},LineToolGannSquare:{hotKey:(0,n.hotKeySerialize)({keys:[d],text:i.t(null,void 0,t(83042))})},LineToolHeadAndShoulders:{},LineToolHorzLine:{hotKey:(0,n.hotKeySerialize)({keys:[u,"H"],text:"{0} + {1}"})},LineToolHorzRay:{},LineToolIcon:{},LineToolImage:{},LineToolEmoji:{},LineToolInsidePitchfork:{},LineToolNote:{},LineToolSignpost:{},LineToolParallelChannel:{hotKey:(0,n.hotKeySerialize)(m)},LineToolPitchfan:{},LineToolPitchfork:{},LineToolPolyline:{},LineToolPath:{},LineToolPrediction:{},LineToolPriceLabel:{},LineToolPriceNote:{hotKey:(0,n.hotKeySerialize)(m)},LineToolTextNote:{},LineToolArrowMarker:{},LineToolPriceRange:{},LineToolProjection:{},LineToolRay:{},LineToolRectangle:{hotKey:(0,n.hotKeySerialize)({keys:[d],text:i.t(null,void 0,t(10539))})},LineToolCircle:{},LineToolRegressionTrend:{},LineToolRiskRewardLong:{},LineToolRiskRewardShort:{},LineToolFixedRangeVolumeProfile:{},LineToolRotatedRectangle:{hotKey:(0,n.hotKeySerialize)(m)},LineToolSchiffPitchfork:{},LineToolSchiffPitchfork2:{},LineToolSineLine:{},LineToolText:{},LineToolTextAbsolute:{},LineToolThreeDrivers:{},LineToolTimeCycles:{},LineToolTrendAngle:{hotKey:(0,n.hotKeySerialize)(m)},LineToolTrendBasedFibExtension:{},LineToolTrendBasedFibTime:{},LineToolTrendLine:{hotKey:(0,n.hotKeySerialize)(m)},LineToolInfoLine:{},LineToolTriangle:{},LineToolTrianglePattern:{},LineToolVertLine:{hotKey:(0,n.hotKeySerialize)({keys:[u,"V"],text:"{0} + {1}"})},LineToolCrossLine:{},LineToolHighlighter:{},LineToolGhostFeed:{},LineToolTable:{},SyncDrawing:{iconActive:a.drawingToolsIcons.SyncDrawingActive},arrow:{},cursor:{},dot:{},demonstration:{hotKey:(0,n.hotKeySerialize)({keys:[u],text:i.t(null,void 0,t(42633))})},drawginmode:{iconActive:a.drawingToolsIcons.drawginmodeActive},eraser:{},group:{},hideAllDrawings:{iconActive:a.drawingToolsIcons.hideAllDrawingsActive,hotKey:(0,n.hotKeySerialize)({keys:[g,u,"H"], text:"{0} + {1} + {2}"})},lockAllDrawings:{iconActive:a.drawingToolsIcons.lockAllDrawingsActive},magnet:{hotKey:(0,n.hotKeySerialize)({keys:[g],text:"{0}"})},measure:{hotKey:(0,n.hotKeySerialize)({keys:[d],text:i.t(null,void 0,t(92949))})},removeAllDrawingTools:{},showObjectsTree:{},zoom:{},"zoom-out":{}};const L={};Object.entries(p).map((([e,o])=>{const t=r.lineToolsIcons[e]??a.drawingToolsIcons[e];(0,l.assert)(!!t,`Icon is not defined for drawing "${e}"`);const i=c.lineToolsLocalizedNames[e]??s[e];(0,l.assert)(!!i,`Localized name is not defined for drawing "${e}"`);return{...o,name:e,icon:t,localizedName:i,selectHotkey:v.lineToolsSelectHotkeys[e]}})).forEach((e=>{L[e.name]=e}))},26744:(e,o,t)=>{"use strict";t.d(o,{LinetoolsFavoritesStore:()=>c});var l=t(52033),i=t(37265),n=t(56840);const r=["LineToolBalloon","LineToolNoteAbsolute",null,null].filter(i.isExistent),a=!1;var s,c;!function(e){function o(){e.favorites=[];let o=!1;const l=Boolean(void 0===(0,n.getValue)("chart.favoriteDrawings")),s=(0,n.getJSON)("chart.favoriteDrawings",[]);if(0===s.length&&l&&"undefined"!=typeof window){const e=JSON.parse(window.urlParams?.favorites??"{}").drawingTools;e&&Array.isArray(e)&&s.push(...e)}s.forEach(((l,i)=>{const n=l.tool||l;t(n)?r.includes(n)?o=!0:e.favorites.push(n):a&&a.includes(n)&&e.hiddenToolsPositions.set(n,i)})),o&&i(),e.favoritesSynced.fire()}function t(e){return"string"==typeof e&&""!==e&&!(a&&a.includes(e))}function i(o){const t=e.favorites.slice();e.hiddenToolsPositions.forEach(((e,o)=>{t.splice(e,0,o)})),(0,n.setJSON)("chart.favoriteDrawings",t,o)}e.favorites=[],e.favoritesSynced=new l.Delegate,e.hiddenToolsPositions=new Map,e.favoriteIndex=function(o){return e.favorites.indexOf(o)},e.isValidLineToolName=t,e.saveFavorites=i,o(),n.onSync.subscribe(null,o)}(s||(s={})),function(e){function o(e){return s.isValidLineToolName(e)}function t(){return s.favorites.length}function i(e){return-1!==s.favoriteIndex(e)}e.favoriteAdded=new l.Delegate,e.favoriteRemoved=new l.Delegate,e.favoriteMoved=new l.Delegate,e.favoritesSynced=s.favoritesSynced,e.favorites=function(){return s.favorites.slice()},e.isValidLineToolName=o,e.favoritesCount=t,e.favorite=function(e){return e<0||e>=t()?"":s.favorites[e]},e.addFavorite=function(t,l){return!(i(t)||!o(t)||"performance"===t)&&(s.favorites.push(t),s.saveFavorites(l),e.favoriteAdded.fire(t),!0)},e.removeFavorite=function(o,t){const l=s.favoriteIndex(o);if(-1===l)return!1;s.favorites.splice(l,1);const i=s.hiddenToolsPositions;return i.forEach(((e,o)=>{e>l&&i.set(o,e-1)})),s.saveFavorites(t),e.favoriteRemoved.fire(o),!0},e.isFavorite=i,e.moveFavorite=function(l,i,n){if(i<0||i>=t()||!o(l))return!1;const r=s.favoriteIndex(l);if(-1===r||i===r)return!1;const a=s.hiddenToolsPositions;return a.forEach(((e,o)=>{re?e--:ie&&e++,a.set(o,e)})),s.favorites.splice(r,1),s.favorites.splice(i,0,l),s.saveFavorites(n),e.favoriteMoved.fire(l,r,i),!0}}(c||(c={}))},54780:e=>{ e.exports=''},52459:e=>{e.exports=''},63975:e=>{e.exports=''},34059:e=>{e.exports=''},63743:e=>{e.exports=''},18953:e=>{e.exports=''},72196:e=>{e.exports=''},27999:e=>{ e.exports=''},10862:e=>{e.exports=''},68385:e=>{e.exports=''},88518:e=>{e.exports=''},36515:e=>{e.exports=''},7636:e=>{e.exports=''},62567:e=>{ e.exports=''},46049:e=>{e.exports=''},99088:e=>{e.exports=''},42650:e=>{ e.exports=''},75895:e=>{e.exports=''},65162:e=>{ e.exports=''},65186:e=>{e.exports=''},91244:e=>{e.exports=''},45820:e=>{e.exports=''},93756:e=>{ e.exports=''},42321:e=>{e.exports=''},57313:e=>{ e.exports=''},6894:e=>{e.exports=''},45360:e=>{e.exports=''}}]);