1(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[87950],{951540(e){e.exports={"css-value-card-bottom-row-heigh":"24px",container:"container-wTjt1Q1H",tickerBox:"tickerBox-wTjt1Q1H",logoXSmall:"logoXSmall-wTjt1Q1H",logoMedium:"logoMedium-wTjt1Q1H",containerWithoutLogo:"containerWithoutLogo-wTjt1Q1H",containerNoData:"containerNoData-wTjt1Q1H",quotesContainer:"quotesContainer-wTjt1Q1H",noData:"noData-wTjt1Q1H",titleContainer:"titleContainer-wTjt1Q1H",link:"link-wTjt1Q1H",title:"title-wTjt1Q1H",dataMode:"dataMode-wTjt1Q1H",sessionStatus:"sessionStatus-wTjt1Q1H",tickerBoxContainer:"tickerBoxContainer-wTjt1Q1H",quotes:"quotes-wTjt1Q1H",priceAndCurrency:"priceAndCurrency-wTjt1Q1H",last:"last-wTjt1Q1H",currency:"currency-wTjt1Q1H",up:"up-wTjt1Q1H",growing:"growing-wTjt1Q1H",down:"down-wTjt1Q1H",falling:"falling-wTjt1Q1H",noDataIcon:"noDataIcon-wTjt1Q1H",timeFrame:"timeFrame-wTjt1Q1H"}},332054(e){e.exports={container:"container-LlnERfr7",visible:"visible-LlnERfr7",inBox:"inBox-LlnERfr7"}},479582(e){e.exports={container:"container-kzGvSAYm",countriesHeader:"countriesHeader-kzGvSAYm",tooltipInfo:"tooltipInfo-kzGvSAYm",tooltipDate:"tooltipDate-kzGvSAYm",mapContainer:"mapContainer-kzGvSAYm",loaded:"loaded-kzGvSAYm",skeleton:"skeleton-kzGvSAYm",mapWrapper:"mapWrapper-kzGvSAYm",map:"map-kzGvSAYm",selectCountries:"selectCountries-kzGvSAYm",legend:"legend-kzGvSAYm",controls:"controls-kzGvSAYm",tooltipWrapper:"tooltipWrapper-kzGvSAYm",tooltipCurrency:"tooltipCurrency-kzGvSAYm",controlsSlot:"controlsSlot-kzGvSAYm",errorBlock:"errorBlock-kzGvSAYm"}},490731(e){e.exports={container:"container-x5z43Ef7",legend:"legend-x5z43Ef7",selected:"selected-x5z43Ef7",groupFigure:"groupFigure-x5z43Ef7",figure:"figure-x5z43Ef7",text:"text-x5z43Ef7",currency:"currency-x5z43Ef7",block:"block-x5z43Ef7",segmentType:"segmentType-x5z43Ef7",segmentWithArrowsType:"segmentWithArrowsType-x5z43Ef7",shortMode:"shortMode-x5z43Ef7",intervalType:"intervalType-x5z43Ef7"}},586579(e){e.exports={container:"container-cKH6UMUC",logoXSmall:"logoXSmall-cKH6UMUC",logoMedium:"logoMedium-cKH6UMUC",quotes:"quotes-cKH6UMUC",priceAndCurrency:"priceAndCurrency-cKH6UMUC",link:"link-cKH6UMUC",goToChartButton:"goToChartButton-cKH6UMUC",containerNoData:"containerNoData-cKH6UMUC",chart:"chart-cKH6UMUC",noData:"noData-cKH6UMUC",noDataIcon:"noDataIcon-cKH6UMUC",title:"title-cKH6UMUC",tickerBoxContainer:"tickerBoxContainer-cKH6UMUC"}},526520(e,t,n){"use strict";n.d(t,{trackFullFeaturedChartButton:()=>o});var r=n(498728);async function o(e,t,n){const o=await(0,r.getTracker)(),a={user_id:e,page:t,source:n};o?.trackSelfDesc("iglu:com.tradingview/full_featured_chart_button/jsonschema/1-0-0",a)}},581850(e,t,n){"use strict";n.d(t,{MacroMapAnalyticsUiObject:()=>r});var r=function(e){return e.MACRO_MAP_TOOLTIP="macro_map_tooltip",e.SLIDER="slider",e.MOUSE="mouse",e.TOUCHPAD="touchpad",e.UI_BUTTON="ui_button",e.INDICATOR_BUBBLE="indicator_bubble",e.SESSION_INDICATOR_SET="session_indicator_set",e.MACRO_MAP="macro_map",e.ECONOMIC_INDICATOR_FAVORITE="economic_indicator_favorite", 2e.MACRO_MAP_PANEL_COLLAPSED="panel_collapsed",e.MACRO_MAP_PANEL_EXPANDED="panel_expanded",e.MACRO_MAP_REGION_SWITCHER="region_switcher",e.MACRO_MAP_SYMBOL_LINK="symbol_link",e.MACRO_MAP_NEWSFLOW_LINK="newsflow_link",e.MACRO_MAP_CONTENT_SWITCHER="content_switcher",e}({})},610318(e,t,n){"use strict";n.d(t,{TypeFormatDate:()=>s,formatDate:()=>c});var r=n(253808),o=n(383636),a=n(738239),i=n(4100),s=function(e){return e.Month="month",e.Quarter="quarter",e.Full="full",e.HalfYear="half_year",e.Year="year",e}({});function c(e,t){const s=new Date(1e3*e);switch(t){case"full":return(0,i.getFormatterContentWithYear)(s,!0);case"month":return r.dateFormatFunctions["MMM yyyy"](s,!0);case"quarter":return r.dateFormatFunctions["qq yyyy"](s,!0);case"half_year":const e=Math.floor(s.getMonth()/6),t=[o.t(null,void 0,n(111968)),o.t(null,void 0,n(599124))][e];return(0,a.formatByKey)(t,{year:s.getFullYear().toString()});default:return(0,r.yyyy)(s,!0)}}},126596(e,t,n){"use strict";n.d(t,{DEFAULT_THEME:()=>m,TickerCardView:()=>f});var r=n(413274),o=n(779474),a=n(914487),i=n.n(a),s=n(383636),c=n(360739),l=n(174673),u=n(698664),d=n(805733),h=n(951540);const m=h,f=(0,o.forwardRef)(((e,t)=>{const{tickerCardData:a,theme:h=m,children:f,replaceTitleWithSymbolDescription:p=!1,hasVisibleChange:g=!0,hasNoData:y=!1,isInited:v=!1,noDataSlot:x}=e,{change:w,title:C,link:b,logoUrls:S,proName:M,placeholderLetter:T,timeFrameName:E,instrumentName:A,shortName:j,priceAndCurrency:N}=a,L=(0,o.useMemo)((()=>new l.PercentageFormatter),[]),k=w?L.format(w,{signPositive:!0,signNegative:!0}):void 0,R=S&&T;return(0,r.jsxs)("span",{className:i()(h.container,!R&&h.containerWithoutLogo,y&&h.containerNoData,v&&h.inited),ref:t,children:[h.largeCardHeader?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("a",{href:b,className:i()(h.largeC
2ardLink,"apply-overflow-tooltip","apply-overflow-tooltip--check-children","apply-overflow-tooltip--allow-text")}),(0,r.jsxs)("div",{className:i()(h.largeCardHeader),children:[R&&(0,r.jsx)("div",{children:(0,r.jsx)(u.CircleLogoAny,{logoUrls:S,size:d.CircleLogoSize.Medium,placeholderLetter:T})}),(0,r.jsxs)("div",{className:h.largeCardHeadings,children:[(0,r.jsxs)("div",{className:h.largeCardTitleWrapper,children:[(0,r.jsx)("span",{className:i()(h.title,p&&"js-symbol-description-name"),children:j}),(0,r.jsx)("span",{className:i()(h.largeCardStatus,h.dataMode,"js-data-mode")}),(0,r.jsx)("span",{className:i()(h.sessionStatus,"js-symbol-session-status")})]}),(0,r.jsx)("span",{className:h.largeCardSubTitle,children:A})]})]})]}):R&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.CircleLogoAny,{logoUrls:S,size:d.CircleLogoSize.XSmall,placeholderLetter:T,className:h.logoXSmall}),(0,r.jsx)(u.CircleLogoAny,{logoUrls:S,size:d.CircleLogoSize.Medium,placeholderLetter:T,className:h.logoMedium})]}),f,(0,r.jsx)("span",{className:h.tickerBoxContainer,children:(0,r.jsx)("span",{className:h.tickerBox,translate:"no",children:(0,c.splitSymbolName)(M)[1]})}),!h.largeCardHeader&&(0,r.jsxs)("span",{className:h.titleContainer,children:[(0,r.jsx)("a",{href:b, 3className:i()(h.link,"apply-overflow-tooltip","apply-overflow-tooltip--check-children","apply-overflow-tooltip--allow-text"),children:(0,r.jsx)("span",{className:i()(h.title,p&&"js-symbol-description-name"),children:C})}),(0,r.jsx)("span",{className:i()(h.dataMode,"js-data-mode")}),(0,r.jsx)("span",{className:i()(h.sessionStatus,"js-symbol-session-status")})]}),(0,r.jsx)("div",{className:h.quotesContainer,children:(0,r.jsxs)("div",{className:h.quotes,children:[(0,r.jsx)("div",{className:h.priceAndCurrency,children:N||(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:i()(h.last,"js-symbol-last")}),(0,r.jsx)("span",{className:i()(h.currency,"js-symbol-currency"),translate:"no"})]})}),g?k?(0,r.jsx)("span",{className:i()(h.change,w&&w>0&&h.up,w&&w<0&&h.down),children:(0,r.jsx)("span",{className:i()(h.changePt),children:k})}):(0,r.jsx)("span",{className:i()(h.change,"js-symbol-change-direction"),children:(0,r.jsx)("span",{className:i()(h.changePt,"js-symbol-change-pt")})}):void 0]})}),y&&(0,r.jsxs)("span",{className:h.noData,children:[x,s.t(null,{context:"symbol_data"},n(702141))]}),!y&&E&&(0,r.jsx)("span",{className:h.timeFrame,children:E})]})}));f.displayName="TickerCardView"},99045(e,t,n){"use strict";n.d(t,{CoreMap:()=>Q});var r=n(413274),o=n(779474),a=n(547851),i=n(383636),s=n(914487),c=n.n(s),l=n(881014),u=n(575859),d=n(174673),h=n(662031),m=n(610318),f=n(918489),p=n(372907),g=n(354201),y=function(e){return e.X="x",e.Y="y",e}({}),v=function(e){return e.Width="width",e.Height="height",e}({}),x=n(611117),w=n(2929),C=n(501234),b=n(334120),S=n(809436),M=n(332054);const T=[{anchorPoint:{x:1,y:0},contentPoint:{x:0,y:0},name:C.TooltipPlacements.RightTop,offset:{x:12,y:4},overflowHorizontal:"slide",overflowVertical:"slide"},{anchorPoint:{x:0,y:0},contentPoint:{x:1,y:0},name:C.TooltipPlacements.LeftTop,offset:{x:-12,y:4},overflowHorizontal:"slide",overflowVertical:"slide"}];function E(e){const{anchorElement:t,content:n,mousePosition:a,tooltipShowDelay:i,onClose:s,sendOpeningEvent:l,containerRef:u,disableZoom:d=!1}=e,[h,m]=(0,o.useState)(),[f,E]=(0,o.useState)(!1),[A,j]=(0,o.useState)(null),N=(0,o.useRef)(null),L=(0,o.useCallback)((e=>{N.current=e,null!==e&&m({width:e.offsetWidth+4,height:e.offsetHeight})}),[m]);(0,o.useEffect)((()=>{if(!d||!N.current)return;const e=e=>{e.preventDefault()},t=N.current;return t.addEventListener("wheel",e,{passive:!1}),()=>{t.removeEventListener("wheel",e),N.current=null}}),[d]);const k=(0,x.useWindowResizeTrigger)(!!n),R=(0,x.useWindowScrollTrigger)(!!n),F=(0,o.useMemo)((()=>[k,R]),[k,R]),H=(0,p.useRefRect)(t,!!n,F);(0,o.useEffect)((()=>{var e,t;return a&&(F.map((e=>(e.subscribe(s),()=>e.unsubscribe(s)))),j((e=a.x,t=a.y,{[y.X]:e,[y.Y]:t,[v.Width]:0,[v.Height]:0}))),()=>j(null)}),[a,F]);const D=(0,o.useMemo)((()=>{const e=(0,g.chosePosition)(A??H??{x:0,y:0,width:0,height:0},N.current??document.createElement("div"),function(e){const t=parseInt(S["size-header-height"])+4;if(e){ 4const t=e.getBoundingClientRect(),n=10,r=Math.max(t.left,0)+n,o=Math.max(t.top,0)+n,a=Math.min(t.right,window.innerWidth)-n,i=Math.min(t.bottom,window.innerHeight)-n;return{[y.X]:r,[y.Y]:o,[v.Width]:Math.max(a-r,0),[v.Height]:Math.max(i-o,0)}}
4return{[y.X]:0,[y.Y]:t,[v.Width]:window.innerWidth,[v.Height]:window.innerHeight-t}}(u?.current),T,{rtl:(0,b.isRtl)()});if(u?.current){const t=u.current.getBoundingClientRect();e.anchoredPx.x-=t.left,e.anchoredPx.y-=t.top}return e}),[A,H,h]);return(0,o.useEffect)((()=>{const e=setTimeout((()=>{E(!0),l?.()}),i??0);return()=>clearTimeout(e)}),[i]),(0,r.jsx)("div",{className:c()(M.container,f&&M.visible,u?.current&&M.inBox),ref:L,style:{top:D.anchoredPx.y,left:D.anchoredPx.x,transform:`translate(-${100*D.contentPointFraction.x}%, -${100*D.contentPointFraction.y}%) scale(${f?1:.95})`},onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,children:(0,r.jsx)(w.TooltipBase,{content:n,hasArrow:!1,id:t.current?.id,isRtl:(0,b.isRtl)(),placement:D.rule?.name??C.TooltipPlacements.Top})})}var A=n(327650),j=n(467242),N=n(581850);var L=n(639785),k=n(686150),R=n(16132),F=n(44596),H=n(498516),D=n(526520),B=n(39032),z=n(286343),I=n(683325),$=n(126596),_=n(586579);const P=(0,I.mergeThemes)($.DEFAULT_THEME,{container:_.container,containerNoData:_.containerNoData,logoXSmall:_.logoXSmall,logoMedium:_.logoMedium,priceAndCurrency:_.priceAndCurrency,quotes:_.quotes,title:_.title,tickerBoxContainer:_.tickerBoxContainer,noData:_.noData,noDataIcon:_.noDataIcon,link:_.link}),U=(0,B.isFeatureEnabled)("macro_maps_hide_tooltip_chart_button");function O(e){const{tickerCardData:t,buttonText:a,useLinking:s,hideTooltip:c,sendCustomAnalytics:l,hasVisibleChange:u}=e,d=(0,o.useMemo)((()=>`/chart/?symbol=${encodeURIComponent(t.proName)}`),[t.proName]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)($.TickerCardView,{tickerCardData:t,theme:P,replaceTitleWithSymbolDescription:!1,hasVisibleChange:u}),!U&&(0,r.jsx)(F.SquareAnchorButton,{href:d,size:H.ButtonSize.XSmall,target:"_blank",color:H.ButtonColor.Black,className:_.goToChartButton,variant:H.ButtonVariant.Secondary,onClick:function(e){s&&(e.preventDefault(),z.linking.setSymbolAndLogInitiator(t.proName,"map-tooltip-card"));c?.(),(0,D.trackFullFeaturedChartButton)(window.user.id?.toString()||"",window.location.pathname,"economic_map_tooltip"),l?.(d)},children:a||i.t(null,{context:"tooltip-card-button"},n(991017))})]})}var W=n(584805),q=n(479582);const Y=n.p+"world.3c04bf9e3409c147afb7.svg",K={GL:"DK"},G=o.lazy((async()=>({default:(await Promise.all([n.e(12393),n.e(24827),n.e(23353),n.e(2808),n.e(35400),n.e(51954)]).then(n.bind(n,751954))).ZoomControlsMap}))),Q=function(e){const t=(0, 5o.useMemo)((()=>new d.PercentageFormatter),[]),{legend:s,tooltipValues:p,colorPreset:g,trendDetectionStrategy:y,legendType:v,canShowTooltipDate:x,withZoom:w,sendZoomButtonEvent:C,sendZoomMapEvent:b,tooltipButtonText:S,useTooltipLinking:M,currency:T="%",selectCountry:F,hasVisibleChangeTooltip:H,getCustomFormattedValue:D,controlsSlot:B,sendTooltipOpeningEvent:z,sendTooltipButtonClickEvent:I,callbackSelectCountry:$,onAvailableCountriesChange:_,setTakeScreenShot:P,screenshotTitle:U,isButtonZoomOnly:Q=!1,errorBlockProps:V,showCopyright:X,className:Z}=e,J=(0,o.useMemo)((()=>({...p})),[p]),ee=(0,o.useRef)(p),te=(0,o.useRef)(null),ne=(0,o.useRef)(),re=(0,o.useRef)(null),oe=(0,o.useRef)(null),ae=(0,o.useRef)(null),ie=(0,o.useRef)(null),se=(0,o.useRef)(null),ce=(0,o.useRef)(null),le=(0,o.useMemo)((()=>(0,a.default)((()=>{de.current||(ne.current?.replaceChildren(""),ie.current=null,Me(void 0),Be())}),50)),[Be]),ue=(0,o.useMemo)((()=>(0,a.default)((()=>{de.current||Be()}),50)),[Be]),de=(0,o.useRef)(!1),he=(0,o.useRef)(new Map),me=(0,o.useRef)({x:0,y:0}),fe=(0,o.useRef)(null),[pe,ge]=(0,o.useState)(!1),[ye,ve]=(0,o.useState)(!1),[xe,we]=(0,o.useState)({x:0,y:0}),[Ce,be]=(0,o.useState)(e.initialWorldMap),[Se,Me]=(0,o.useState)(),Te=ye&&ae.current?function(o){const{logoUrl:a,title:s,value:c,change:u,symbol:d,timestamp:h,priceAndCurrency:f}=J[o]||{};if(!(0,l.isNumber)(c))return null;return(0,r.jsx)("div",{className:q.tooltipWrapper,children:(0,r.jsx)(O,{tickerCardData:function(){const l=D?D(c):function(e){const n=t.format(e,{tailSize:2,signNegative:!0});return n.replace("%","")}(c),p=function(e){return{cd:i.t(null,{context:"country name"},n(373440)),ps:i.t(null,{context:"country name"},n(281177))}[e]}(o.toLowerCase())||s;return{proName:d,logoUrls:a?[a]:[],title:p,placeholderLetter:p[0],change:u,priceAndCurrency:f||(0,r.jsxs)("span",{children:[l," ",(0,r.jsx)("span",{className:q.tooltipCurrency,children:T})," ",x&&h&&i.t(null,{context:"map tooltip date",replace:{date:(0,m.formatDate)(h,e.tooltipTypeFormatDate).replace(/ (\S+)$/,"Â $1")}},n(954091))]})}}(),buttonText:S,useLinking:M,sendCustomAnalytics:I,hasVisibleChange:H})})}(Ue(ze(ae.current).toUpperCase())):null;(0,o.useEffect)((()=>{ge(!0)}),[]),(0,o.useEffect)((()=>
5{if(P)return P(Ie),()=>{P(null)}}),[U,P]);const{zoomProgress:Ee,zoomIn:Ae,zoomOut:je,resetView:Ne,updateMapElement:Le}=function(e,t,r){const[a,i]=(0,o.useState)(null),[s,c]=(0,o.useState)(0),l=(0,o.useRef)(!1),u=(0,o.useRef)({x:0,y:0}),d=(0,o.useRef)(1),h=(0,o.useRef)(1),m=(0,o.useRef)(null),f=(0,o.useRef)(null),p=(0,o.useRef)(null),g=(0,o.useRef)(),y=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{if(!a)return;const[t,r,o,i]=(a.getAttribute("viewBox")||"0 0 0 0").split(" ").map(parseFloat),s={x:t,y:r,width:o,height:i};m.current={...s},f.current={...s},p.current={...s},d.current=1,c(0);let l=null;const u=new AbortController;return(0,A.respectAbort)(u.signal,n.e(28592).then(n.bind(n,819701))).then((t=>{l=new t.MouseEventHandler(a,{mouseDownEvent:v,mouseUpEvent:w,pressedMouseMoveEvent:x,touchStartEvent:v,touchEndEvent:w, 6touchMoveEvent:x,...e?{}:{pinchStartEvent:M,pinchEndEvent:M,pinchEvent:S}})})),j.mobiletouch||e||(document.addEventListener("scroll",C),a.addEventListener("wheel",b,{passive:!1})),()=>{u.abort(),l?.destroy(),a.removeEventListener("wheel",b),document.removeEventListener("scroll",C),clearTimeout(g.current)}}),[a,e]),(0,o.useEffect)((()=>()=>{L()}),[e]),{zoomProgress:s,zoomIn:function(){E(.8)},zoomOut:function(){E(1.3)},resetView:L,updateMapElement:function(e){i(e)}};function v(e){l.current=!0,u.current={x:e.localX,y:e.localY},f.current={...m.current}}function x(e){e.preventDefault();const t=m.current;if(!(1!==d.current&&l.current&&t&&f.current&&p.current&&a))return;const n=(e.localX-u.current.x)/a.clientWidth*t.width,r=(e.localY-u.current.y)/a.clientHeight*t.height;t.x=f.current.x-n,t.y=f.current.y-r,T(t,p.current)}function w(){l.current=!1}function C(){y.current=!0,clearTimeout(g.current),g.current=setTimeout((()=>y.current=!1),50)}function b(e){e.cancelable&&e.preventDefault();const t=Math.abs(e.deltaX)>=Math.abs(e.deltaY);
6if(t||t&&Math.abs(e.deltaY)<2)return;const n=e.deltaY>0?1.03:.97;R(e.clientX,e.clientY,n),r?.({event:n<1?"zoom_in":"zoom_out",uiObject:N.MacroMapAnalyticsUiObject.MOUSE})}function S(e,t,n,o){const a=h.current/o;h.current=o,R(e.x,e.y,a,!0),r?.({event:a<1?"zoom_in":"zoom_out",uiObject:N.MacroMapAnalyticsUiObject.TOUCHPAD})}function M(){return l.current=!1,h.current=1,!0}function T(e,t){e.x=Math.max(0,Math.min(e.x,t.width-e.width)),e.y=Math.max(0,Math.min(e.y,t.height-e.height)),k({...e})}function E(e){if(!m.current||!p.current)return;const t=m.current,n=t.x+t.width/2,r=t.y+t.height/2,o=Math.min(5,Math.max(1,d.current*(1/e))),a=o/d.current;d.current=o,t.width/=a,t.height/=a,t.x=n-t.width/2,t.y=r-t.height/2,T(t,p.current)}function L(){p.current&&(d.current=1,k({...p.current}))}function k(e){m.current=e,c((d.current-1)/4),t(e)}function R(e,t,n,r){if(!a||!m.current||!p.current)return;const o=Math.min(5,Math.max(1,d.current*(1/n)));if(o!==d.current){const n=m.current,i=a.getBoundingClientRect(),s=o/d.current;d.current=o;const c=r?e:e-i.left,l=r?t:t-i.top,u=n.x+c/i.width*n.width,h=n.y+l/i.height*n.height;n.width/=s,n.height/=s,n.x=u-(u-n.x)/s,n.y=h-(h-n.y)/s,T(n,p.current)}}}(Q,(function(e){const[t,n]=Array.from(te.current?.children||[]);t&&n&&(t.setAttribute("viewBox",`${e.x} ${e.y} ${e.width} ${e.height}`),n.setAttribute("viewBox",`${e.x} ${e.y} ${e.width} ${e.height}`))}),b);(0,o.useEffect)((()=>(te.current?.addEventListener("mousemove",He),te.current?.addEventListener("touchstart",Re),te.current?.addEventListener("touchend",Fe),te.current?.addEventListener("mouseleave",De),()=>{te.current?.removeEventListener("mousemove",He),te.current?.removeEventListener("touchstart",Re),te.current?.removeEventListener("touchend",Fe),te.current?.removeEventListener("mouseleave",De)})),[Ce,V]),(0,o.useEffect)((()=>{if(!te||!te.current||!Ce)return;const e=te.current.childNodes[0];ne.current=e.cloneNode(),ne.current.classList.add("blankMap"),ne.current.setAttribute("shape-rendering","auto"), 7te.current.appendChild(ne.current),w&&Le(e)}),[Ce,w,V]),(0,o.useEffect)((()=>{if(!e.mapUrl&&e.initialWorldMap)return;let t=!1;const n=e.mapUrl||Y;return(0,k.loadSvg)(n).then((e=>{t||be(e)})),()=>{t=!0}}),[e.mapUrl]),(0,o.useEffect)((()=>{if(!Ce||!te.current||!_)return;const e=te.current.querySelectorAll('[id^="land"]'),t=Array.from(e).map((e=>ze(e).toUpperCase()));_(t)}),[Ce]),(0,o.useLayoutEffect)((()=>{const e=te.current?.querySelectorAll('[id^="land"]')||[];he.current.clear(),e.forEach((e=>{const t=e,n=ze(e).toUpperCase(),r=K[n];if(!J[n]&&r){const t=te.current?.querySelector(`[id="land-${r.toLowerCase()}"]`),o=J[r.toUpperCase()];t&&void 0!==o&&(he.current.set(e,t),he.current.set(t,e),J[n]=o)}const o=function(e){if(void 0===e)return;return y.find((t=>e>=t.minvalue&&t.trend))}(J[n]?.value);t.setAttribute("class",""),t.classList.add(o?.trend||"disabled")}))}),[Ce,J]),(0,o.useEffect)((()=>{const e=te.current?.querySelector(`[id="land-${F?.toLocaleLowerCase()}"]`);e?_e(e):De()}),[F]),(0,o.useEffect)((()=>{ee.current=p}),[p]),(0,o.useEffect)((()=>{if(X&&oe.current)return(0,f.addMiniChartCopyright)(oe.current)}),[X,Ce,V]);const ke=0===Object.keys(J).length&&!V;return(0,r.jsx)("div",{className:c()(q.container,Z),children:(0,r.jsx)("div",{className:c()(q.mapContainer,Ce&&q.loaded),"data-color-preset":g,"data-qa-id":"core-map-container-status","data-loading-status":ke?"loading":"loaded",children:Ce&&(0,r.jsxs)(r.Fragment,{children:[V&&(0,r.jsx)("div",{className:q.errorBlock,children:(0,r.jsx)(R.EmptyStateBlock,{...V})}),s&&!V&&(0,r.jsx)(W.Legend,{ref:re,className:q.legend,items:s,selectItem:Se,type:v??(y.length>s.length?W.LegendType.Interval:W.LegendType.Segment),onHoverItem:function(e){const t=e.id,n=te.current?.querySelectorAll(`.${t}`)||[];te.current?.classList.add(q.selectCountries),n.forEach((e=>{Pe(e)}))},onBlurItem:function(){te.current?.classList.remove(q.selectCountries),ne.current?.replaceChildren("")}}),B&&(0,r.jsx)("div",{className:q.controlsSlot,children:B}),!V&&(0,r.jsxs)("div",{className:q.mapWrapper,ref:oe,children:[(0,r.jsx)(u.Skeleton,{className:q.skeleton,animated:ke,children:(0,r.jsx)("span",{"data-qa-id":"core-map-content",className:q.map,ref:te,dangerouslySetInnerHTML:{__html:Ce}})}),w&&pe&&(0,r.jsx)(o.Suspense,{fallback:null,children:(0,r.jsx)(G,{className:q.controls,zoomProgress:Ee,zoomIn:Ae,zoomOut:je,resetView:Ne,sendEvent:C})}),ae.current&&Te&&(0,r.jsx)(E,{mousePosition:xe,anchorElement:ae,content:Te,tooltipShowDelay:250,onClose:()=>w?void 0:De(void 0,!0),containerRef:oe,sendOpeningEvent:z,disableZoom:!0,onMouseEnter:function(){de.current=!0,le.cancel(),ue.cancel(),fe.current&&(clearTimeout(fe.current),fe.current=null)},onMouseLeave:function(){de.current=!1,De()}})]})]})})});function Re(e){ce.current=Date.now(),De()}function Fe(e){ce.current&&Date.now()-ce.current<10&&He(e),ce.current=null}function He(e){const t=e.target,n=t.parentElement===te.current,r=t.parentElement instanceof SVGGElement?t.parentElement:t;if(e instanceof MouseEvent&&(me.current={x:e.clientX,y:e.clientY}), 8n||r.classList.contains("disabled")||r.hasAttribute("data-neutral"))return fe.current&&(clearTimeout(fe.current),fe.current=null),void le(
8);le.cancel();const o=r.getAttribute("id");fe.current&&clearTimeout(fe.current),ie.current!==o&&(_e(r),ie.current=o,ue()),fe.current=setTimeout((()=>{!function(e,t){const n=t instanceof SVGGElement?(r=t,Array.from(r.children).find((e=>e.getAttribute("id")?.startsWith("main")))||r):t;var r;if(e instanceof MouseEvent)we({...me.current});else if(e instanceof TouchEvent&&e.touches.length>0){const t=e.touches[0];we({x:t.clientX,y:t.clientY})}ae.current=n,ve(!0),se.current?.disconnect(),se.current=new IntersectionObserver((e=>{e[e.length-1].isIntersecting||De()})),te.current&&se.current?.observe(te.current);if($){const e=ze(t).toUpperCase();$(Ue(e))}}(e,r)}),150)}function De(e,t){fe.current&&(clearTimeout(fe.current),fe.current=null),se.current?.disconnect(),se.current=null,le.cancel(),ue.cancel(),e?le():(ne.current?.replaceChildren(""),ie.current=null,Me(void 0),Be(t))}function Be(e){!e&&de.current||(de.current=!1,ae.current=null,ve(!1),$&&$(void 0))}function ze(e){return(e.getAttribute("id")||"").slice(-2)}async function Ie(){const e=await async function(){if(!te.current)throw new Error("No map ref");const e=te.current.querySelector("svg");if(!e)throw new Error("No svg map");const t=e.cloneNode(!0),n=e.querySelectorAll("path"),r=t.querySelectorAll("path");return n.forEach(((e,t)=>{const n=getComputedStyle(e);r[t].setAttribute("fill",n.fill),r[t].setAttribute("stroke",n.stroke),r[t].setAttribute("stroke-width",n.strokeWidth),r[t].setAttribute("vector-effect","non-scaling-stroke")})),t.setAttribute("width",1920..toString()),t.setAttribute("height",1080..toString()),(0,L.createSvgImage)(t)}(),t=te.current?.querySelector("svg");let n,r,o;if(t){const e=getComputedStyle(t);n=e.getPropertyValue("--color-text-primary")||void 0,r=e.getPropertyValue("--color-content-primary-neutral")||void 0,o=e.fontFamily||void 0}return(0,L.composeSnapshotCanvas)({content:e,title:"string"==typeof U?U:void 0,theme:h.watchedTheme.value(),textColor:n,descriptionColor:r,fontFamily:o,drawColorScale:$e,colorScaleHeight:30})}async function $e(e,t,n,r){const o=t.width;if(!re.current)throw new Error("No legend ref");const a=re.current.querySelector("svg");if(re.current.querySelectorAll("path").forEach((e=>{const{fill:t,stroke:n}=getComputedStyle(e);e.setAttribute("fill",t),e.setAttribute("stroke",n)})),re.current.querySelectorAll("text").forEach((e=>{const{fill:t,fontFamily:n,fontSize:r,lineHeight:o,visibility:a}=getComputedStyle(e);e.setAttribute("fill",t),e.setAttribute("font-family",n),e.setAttribute("font-size",r),e.setAttribute("line-height",o),e.setAttribute("text-anchor","middle"),e.style.transform="translateX(0)",e.style.visibility=a})),re.current.querySelectorAll("tspan").forEach((e=>{const{fill:t,fontFamily:n,fontSize:r,lineHeight:o,textTransform:a}=getComputedStyle(e);e.setAttribute("fill",t),e.setAttribute("font-family",n),e.setAttribute("font-size",r),e.setAttribute("line-height",o), 9e.setAttribute("text-anchor","middle"),e.style.textTransform=a})),a){const t=await(0,L.createSvgImage)(a),r=(o-t.width)/2;e.drawImage(t,r,n)}}function _e(e){ne.current?.replaceChildren(""),Pe(e),he.current.has(e)&&Pe(he.current.get(e));const t=e.classList.value||"";Me(t)}function Pe(e){if(ne.current){const t=document.createElementNS("http://www.w3.org/2000/svg","g");t.appendChild(e.cloneNode(!0)),t.appendChild(e.cloneNode(!0)),ne.current.appendChild(t)}}function Ue(e){return ee.current[e]?e:K[e]}}},584805(e,t,n){"use strict";n.d(t,{Legend:()=>y,LegendType:()=>m});var r=n(413274),o=n(779474),a=n(914487),i=n.n(a),s=n(22224),c=n(726157),l=n(334120),u=n(499490),d=n(855625),h=n(490731),m=function(e){return e.Segment="segment",e.Interval="interval",e.SegmentWithArrows="segment-with-arrows",e}({});const f=(0,c.WithToolbarPart)((function(e){const{x:t,segW:n,gap:o,item:a,isFirst:s=!1,isLast:c=!1,isCenter:d=!1,selectItem:m,padding:f,type:p,onHoverItem:y,onBlurItem:v,...w}=e,b=(0,l.isRtl)(),S=function(e){return"interval"===e||"segment-with-arrows"===e}(p),T=(s||c)&&S?Math.min(x,.35*n):0,E=22+f,A=C({x:t,y:E,h:8,w:n,arrowW:T,isFirst:s,isLast:c,withArrow:S}),j=C({x:t+1,y:E+1,h:6,w:n-2,arrowW:T,isFirst:s,isLast:c,withArrow:S}),N=g(p)?b?t-o/2:t+n+o/2:t+n/2,L=10+f,k=d&&g(p)?b?n/2+o/2:-(n/2+o/2):0;return(0,r.jsxs)("g",{className:i()(h.legend,m===a.id&&h.selected),onMouseEnter:()=>y?.(a),onMouseLeave:v,onKeyDown:function(e){13===(0,u.hashFromEvent)(e)&&R(a)},onBlur:v,onFocus:()=>R(a),...w,children:[(0,r.jsxs)("g",{className:"apply-common-tooltip",title:a.tooltip,children:[(0,r.jsx)("rect",{x:t,y:E-14,width:n,height:14,fill:"transparent",pointerEvents:"all"}),(0,r.jsxs)("g",{className:h.groupFigure,children:[(0,r.jsx)("path",{d:A,fill:"var(--detail
9s-chart-series-legend-color)",className:h.figure,strokeLinejoin:"miter",style:{"--details-chart-series-legend-color":`var(${a.colorPreset})`}}),(0,r.jsx)("path",{d:j,fill:"var(--details-chart-series-legend-color)",className:h.figure,strokeLinejoin:"miter",style:{"--details-chart-series-legend-color":`var(${a.colorPreset})`}})]})]}),a.name&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("text",{x:N,y:L,style:k?{"--center-shift":`${k}px`}:void 0,className:h.text,children:[a.name,(0,r.jsx)(M,{currency:a.currency})]})})]});function R(e){v&&y&&(v(),y(e))}})),p={segment:h.segmentType,interval:h.intervalType,"segment-with-arrows":h.segmentWithArrowsType};function g(e){return"interval"===e}const y=(0,o.forwardRef)((function(e,t){const{type:n="segment",className:a,items:c,...u}=e,[m,f]=(0,o.useState)(0),[g,y]=(0,o.useState)(!1),x=(0,o.useRef)(null),w=(0,o.useRef)(0),C=(0,d.useResizeObserver)((e=>{const t=e[e.length-1];w.current&&cancelAnimationFrame(w.current),w.current=requestAnimationFrame((()=>{f(t.contentRect.width)}))})),b=(0,o.useMemo)((()=>(0,l.isRtl)()?c.slice().reverse():c),[c]);return(0,o.useLayoutEffect)((()=>{if(x.current){let e=!1;const t=Number(x.current.querySelector("rect")?.getAttribute("width"))||0;x.current.querySelectorAll("text").forEach((n=>{n.getBBox().width>t&&(e=!0)})),y(e)} 10}),[c,m]),(0,r.jsx)("div",{ref:function(e){"function"==typeof t?t(e):t&&(t.current=e);C(e),x.current=e},className:i()(h.container,b.length>2?p[n]:void 0,g&&h.shortMode,a),children:(0,r.jsx)(s.Toolbar,{tabIndex:0,orientation:"horizontal",ariaLabelledBy:"ariaLabelledBy",className:h.block,children:(0,r.jsx)(v,{width:m,type:n,items:b,...u})})})}));function v(e){const{items:t,selectItem:n,type:a,onHoverItem:i,onBlurItem:s}=e,c=Math.min(e.width,100*t.length),l=`0 0 ${c} 34`,u=Math.max(1,Math.floor(t.length)),d=2*(u-1),h=Math.max(0,c-d)/u,[m,p]=(0,o.useState)();return(0,r.jsx)("svg",{width:c,height:34,viewBox:l,fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{overflow:"visible"},children:t.map(((e,t)=>{const o=0===t,i=t===u-1,s=u%2==1&&t===(u-1)/2,c=t*(h+2);return(0,r.jsx)(f,{x:c,segW:h,gap:2,type:a,isFirst:o,isLast:i,isCenter:s,item:e,selectItem:n||m,onHoverItem:g,onBlurItem:y,padding:2},e.id)}))});function g(e){p(e.id),i?.(e)}function y(){p(void 0),s?.()}}const x=4.66278,w=.5828475;function C(e){const t=[],{x:n,y:r,h:o,w:a,arrowW:i,isFirst:s,isLast:c,withArrow:l}=e;if(l&&s){const e=n,s=n+i,c=n+a,l=b(r,o),u=S(r,o),d=i/x*w;t.push(`M${c} ${r}`),t.push(`L${s} ${r}`),t.push(`L${e} ${l}`),t.push(`C${e-d} ${l+.0495875*o} ${e-d} ${u-.0495875*o} ${e} ${u}`),t.push(`L${s} ${r+o}`),t.push(`L${c} ${r+o}`),t.push("Z")}else if(l&&c){const e=n,s=n+a-i,c=n+a,l=b(r,o),u=S(r,o),d=i/x*w;t.push(`M${e} ${r}`),t.push(`L${s} ${r}`),t.push(`L${c} ${l}`),t.push(`C${c+d} ${l+.0495875*o} ${c+d} ${u-.0495875*o} ${c} ${u}`),t.push(`L${s} ${r+o}`),t.push(`L${e} ${r+o}`),t.push("Z")}else t.push(`M${n} ${r}`),t.push(`L${n+a} ${r}`),t.push(`L${n+a} ${r+o}`),t.push(`L${n} ${r+o}`),t.push("Z");return t.join(" ")}function b(e,t){return e+.3966625*t}function S(e,t){return e+.6033375*t}function M({currency:e}){if(!e)return(0,r.jsx)(r.Fragment,{});const t=e.startsWith("%");return(0,r.jsxs)(r.Fragment,{children:[t&&"%",(0,r.jsx)("tspan",{className:h.currency,children:` ${t?e.slice(1).trim():e}`})]})}},639785(e,t,n){"use strict";n.d(t,{composeSnapshotCanvas:()=>h,createSvgImage:()=>w});var r=n(383636),o=n(334120),a=n(193450),i=n(721229),s=n(353933),c=n(686150);const l=n.p+"logo-tradingview-header.0e9985f097c4e3a88a20.svg",u=n.p+"logo-tradingview-header-text.989211c558e50e5b6d52.svg",d=38;async function h(e){const t=document.createElement("canvas"),a=t.getContext("2d");if(!a)throw new Error("No canvas context");const c="dark"===e.theme?"black":"white",h="dark"===e.theme?"white":"black",w=e.textColor??h,C=e.descriptionColor??h,b=e.colorScaleHeight??0,S=e.bottomGap??0;t.width=e.content.width+76;const M=y(t.width,24,14,36),T=y(t.width,16,12,28),E=Math.round(.5*M),A=Math.round(1.375*T),j=e.title?38+M+E:40,N=j+T+A;if(t.height=e.content.height+b+N+S,e.drawColorScale){const n=e.content.height+16+N+b/2+15+24;t.height=Math.max(t.height,n)}a.fillStyle=c,a.fillRect(0,0,t.width,t.height),a.drawImage(e.content,d,N);const L=e.drawColorScale?e.content.height+16+N+b/2:void 0;await async function(e,t,n,r,a,i){ 11const[s,c]=await Promise.all([x(l,n),x(u,n)]),d=void 0!==i?i-s.height/2:t.height-s.height-a;if((0,o.isRtl)()){const n=c.width,o=n+s.width+6,a=t.width-r;e.drawImage(c,a-n,d),e.drawImage(s,a-o,d)}else{const t=r;e.drawImage(s,t,d),e.drawImage(c,s.width+t+6,d)}}(a,t,w,d,38,L),e.drawColorScale&&await e.drawColorScale(a,t,e.content.height+16+N,b);const k=(0,o.isRtl)(),R=k?t.width-d:d,F=k?"right":"left";e.title&&v(a,e.title,{color:w,size:M,x:R,y:38,fontFamily:e.fontFamily,textAlign:F});const H=(0,s.formatTime)(Date.now(),(0,i.getLocaleIso)(),"year","minute",{timeZoneName:!0});return v(a,r.t(null,{context:"snapshot-page-timestamp",replace:{date:H}},n(730292)),{color:C,size:T,x:R,y:j,fontFamily:e.fontFamily,textAlign:F}),e.legendList&&e.legendList.length>0&&function(e,t,n,{x:r,y:o,fontFamily:a,backgroundColor:i,nameColor:s}){const c=i||p,l=s||f,u=y(t.width,14,11,24),d=Math.round(1.8*u);for(let t=0;t<n.length;t++){const i=n[t],s=o+t*d,h=i.value??"",f=g(e,i.name,u,a),p=h?g(e,h,u,a):0,y=(h?f+8+p:f)+12,x=d;e.save(),e.globalAlpha=.5,e.fillStyle=c,e.fillRect(r,s,y,x),e.restore(
11),v(e,i.name,{color:l,size:u,x:r+6,y:s+(d-u)/2,fontFamily:a,fontWeight:m,textAlign:"left"}),h&&v(e,h,{color:i.color??l,size:u,x:r+6+f+8,y:s+(d-u)/2,fontFamily:a,fontWeight:m,textAlign:"left"})}}(a,t,e.legendList,{x:d,y:N,fontFamily:e.fontFamily,backgroundColor:e.legendBackgroundColor,nameColor:e.legendNameColor}),t}const m=300,f="#DBDBDB",p="#000000";function g(e,t,n,r){e.save(),e.font=(0,a.makeFont)(n,r??"sans-serif");const o=e.measureText(t).width;return e.restore(),o}function y(e,t,n,r){const o=e*t/1920;return Math.round(Math.min(r,Math.max(n,o)))}function v(e,t,{color:n,size:r,x:o,y:i,fontFamily:s,fontWeight:c,textAlign:l="left"}){e.save(),e.font=(0,a.makeFont)(r,s??"sans-serif",void 0,c),e.fillStyle=n,e.textBaseline="top",e.textAlign=l,e.fillText(t,o,i),e.restore()}async function x(e,t){const n=await(0,c.loadSvg)(e),r=(new DOMParser).parseFromString(n,"image/svg+xml").firstElementChild;return r.setAttribute("color",t),w(r)}function w(e){const t=(new XMLSerializer).serializeToString(e),n=new Blob([t],{type:"image/svg+xml"}),r=URL.createObjectURL(n);return new Promise(((e,t)=>{const n=new Image;n.onload=()=>{URL.revokeObjectURL(r),e(n)},n.onerror=()=>{URL.revokeObjectURL(r),t(new Error("Failed to load SVG image"))},n.src=r}))}},686150(e,t,n){"use strict";n.d(t,{loadSvg:()=>a});var r=n(384017);const o=new Map;async function a(e){const t=o.get(e);if(t)return t;const n=(0,r.fetch)(e).then((t=>{if(!t.ok)throw new Error(`Failed to load SVG (HTTP ${t.status}): ${e}`);return t.text()})).catch((t=>{throw o.delete(e),t}));return o.set(e,n),n}},193450(e,t,n){"use strict";function r(e,t,n,r){return`${r?r+" ":""}${n?n+" ":""}${e}px ${t}`}n.d(t,{makeFont:()=>r,parseFont:()=>a});const o=/(bold )?(italic )?(\d+)(px|pt) (.*)$/;function a(e){const t=o.exec(e);return null===t?null:{family:t[5],size:parseInt(t[3])*("pt"===t[4]?.75:1),bold:Boolean(t[1]),italic:Boolean(t[2])}}},700764(e,t,n){"use strict";n.d(t,{ToolbarContext:()=>r});const r=(0,n(779474).createContext)({})}, 1222224(e,t,n){"use strict";n.d(t,{Toolbar:()=>c});var r=n(413274),o=n(779474),a=n(700764),i=n(871207),s=n(973842);function c(e){const t=(0,o.useId)(),{orientation:n,isRtl:c,children:l,focusOptions:u,className:d,handleHomeEndKeys:h=!1,ariaLabelledBy:m,ariaLabel:f,id:p=t,tabIndex:g,dataQaId:y,...v}=e,x=(0,s.filterCheckedDataProps)(v),w=(e=>`[data-focus-manager="${CSS.escape(e)}"]`)(p),{onBlur:C,onFocus:b,onKeyDown:S,tabIndex:M}=(0,i.useToolbarKeyboardNavigation)(w,"horizontal"===n,{focusOptions:u,handleHomeEnd:h,isRtl:c}),T=(0,o.useMemo)((()=>({"data-focus-manager":p,tabIndex:-1})),[p]);return(0,r.jsx)("div",{role:"toolbar","aria-orientation":n,tabIndex:g??M,onKeyDown:S,onFocus:b,onBlur:C,className:d,"aria-labelledby":m,"aria-label":f,id:p,"data-qa-id":y,...x,children:(0,r.jsx)(a.ToolbarContext.Provider,{value:T,children:l})})}},871207(e,t,n){"use strict";n.d(t,{useToolbarKeyboardNavigation:()=>i});var r=n(779474),o=n(522780),a=n(485550);function i(e,t,n={}){const{onFocus:i,onKeyDown:s}=(0,r.useMemo)((()=>(0,o.getLinearKeyboardNavigation)(e,{horizontal:t,...n})),[e,t,n]),[c,l]=(0,a.useFocus)();return{tabIndex:c?-1:0,onFocus:(0,r.useCallback)((e=>{i(e),l.onFocus(e)}),[l,i]),onBlur:l.onBlur,onKeyDown:s}}},726157(e,t,n){"use strict";n.d(t,{WithToolbarPart:()=>i,WithToolbarPartAsProps:()=>s});var r=n(413274),o=n(779474),a=n(700764);function i(e){return t=>{const n=(0,o.useContext)(a.ToolbarContext);return(0,r.jsx)(e,{...t,...n})}}function s(e,t){return n=>{const i=(0,o.useContext)(a.ToolbarContext),s={[t]:i};return(0,r.jsx)(e,{...n,...s})}}},501234(e,t,n){"use strict";n.d(t,{TooltipPlacements:()=>r});var r=function(e){return e.TopLeft="top-left",e.Top="top",e.TopRight="top-right",e.BottomLeft="bottom-left",e.Bottom="bottom",e.BottomRight="bottom-right",e.RightTop="right-top",e.Right="right",e.RightBottom="right-bottom",e.LeftTop="left-top",e.Left="left",e.LeftBottom="left-bottom",e}({})},522780(e,t,n){"use strict";n.d(t,{getLinearKeyboardNavigation:()=>c});var r=n(551640),o=n(499490),a=n(193100),i=n(462287),s=n(492614);function c(e,t={}){const{focusNext:n,focusPrev:c,focusFirst:l,focusLast:u}=(0,r.getSelectorKeyboardNavigation)(e,t.allowNestedFocusable),d={...t.horizontal?{39:n,37:c}:{40:n,38:c},...t.handleHomeEnd?{36:l,35:u}:{}};return{onFocus:function(n){const r=n.currentTarget;n.target===r&&function(n){const r=(0,a.getSelectorTreeWalker)(n,e).nextNode();r&&(0,i.isHTMLOrSVGElement)(r)&&r!==n&&r.focus(t.focusOptions)}(r)},onKeyDown:function(e){const n=(0,s.flipArrowsOnRtl)((0,o.hashFromEvent)(e),t.isRtl),r=e.currentTarget,a=e.target;if(!(a instanceof Node))return;if(!r.contains(a))return;const i=d[n];if(i){e.preventDefault();const n=i?.(r,t.focusOptions);n&&e.stopPropagation()}}}}},492614(e,t,n){"use strict";n.d(t,{flipArrowsOnRtl:()=>
12o});var r=n(499490);function o(e,t){if(!t)return e;const n=e&r.Hardcode.KeyCode,o=e&~r.Hardcode.KeyCode;return 37===n?39+o:39===n?37+o:e}},551640(e,t,n){"use strict";n.d(t,{getSelectorKeyboardNavigation:()=>a});var r=n(193100),o=n(462287);function a(e,t){const n=t=>(n,a)=>{ 13const i=document.activeElement||n,s=(0,r.getSelectorTreeWalker)(n,e);s.currentNode=i;const c=t(s);return c&&(0,o.isHTMLOrSVGElement)(c)&&c!==i?(c.focus(a),c):null},a=t?e=>e.previousNode():r.getPreviousNonParent,i=e=>e.nextNode();return{focusPrev:n(a),focusNext:n(i),focusFirst:n(r.getFirstDescendant),focusLast:n(r.getLastDescendant),focusPrevLoop:n((e=>{const t=a(e);return t||(0,r.getLastDescendant)(e)})),focusNextLoop:n((e=>{const t=i(e);return t||(0,r.getFirstDescendant)(e)})),focusIndex:(e,t,r)=>n((e=>{e.currentNode=e.root;for(let n=0;n<t;n++)e.nextNode();return e.nextNode()}))(e,r)}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.