Files
ai/charting_library/bundles/cookies-notification.9ed1e7a17da61937dc4e.js
2023-02-02 13:31:14 +00:00

9 lines
24 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8869,4291],{26390:e=>{e.exports={switcher:"switcher-GT7Z98Io","disable-cursor-pointer":"disable-cursor-pointer-GT7Z98Io",input:"input-GT7Z98Io","thumb-wrapper":"thumb-wrapper-GT7Z98Io","size-small":"size-small-GT7Z98Io","size-large":"size-large-GT7Z98Io","intent-default":"intent-default-GT7Z98Io","disable-active-state-styles":"disable-active-state-styles-GT7Z98Io","intent-select":"intent-select-GT7Z98Io",track:"track-GT7Z98Io",thumb:"thumb-GT7Z98Io"}},5553:e=>{e.exports={toast:"toast-x9aer5B8","intent-success":"intent-success-x9aer5B8","intent-warning":"intent-warning-x9aer5B8","intent-danger":"intent-danger-x9aer5B8",image:"image-x9aer5B8","main-content":"main-content-x9aer5B8",title:"title-x9aer5B8","main-text":"main-text-x9aer5B8","secondary-text":"secondary-text-x9aer5B8",actions:"actions-x9aer5B8","close-icon":"close-icon-x9aer5B8","close-button":"close-button-x9aer5B8","adjust-for-close-button":"adjust-for-close-button-x9aer5B8"}},7881:e=>{e.exports={"toast-wrapper":"toast-wrapper-LaQcqQbu",compact:"compact-LaQcqQbu"}},19107:e=>{e.exports={cookiesNotification:"cookiesNotification-W4Y0hWcd","cookies-link":"cookies-link-W4Y0hWcd",actionBtn:"actionBtn-W4Y0hWcd",acceptAll:"acceptAll-W4Y0hWcd",managePreferences:"managePreferences-W4Y0hWcd"}},14070:e=>{e.exports={privacyPreferenceDialog:"privacyPreferenceDialog-vDbnNLqD",privacyPreference:"privacyPreference-vDbnNLqD",close:"close-vDbnNLqD",title:"title-vDbnNLqD",availableCookieElement:"availableCookieElement-vDbnNLqD",cookieTitle:"cookieTitle-vDbnNLqD",switchTitle:"switchTitle-vDbnNLqD",cookieContent:"cookieContent-vDbnNLqD",moreInfoLink:"moreInfoLink-vDbnNLqD",nowrap:"nowrap-vDbnNLqD",icon:"icon-vDbnNLqD",btnBlock:"btnBlock-vDbnNLqD",savePreferences:"savePreferences-vDbnNLqD"}},21942:e=>{e.exports={closeButton:"closeButton-oXu4cxSp",tabHeader:"tabHeader-oXu4cxSp",title:"title-oXu4cxSp",description:"description-oXu4cxSp",backButton:"backButton-oXu4cxSp"}},99062:e=>{e.exports={"toast-positioning-wrapper":"toast-positioning-wrapper-uEa3054V",compact:"compact-uEa3054V","location-bottom-left":"location-bottom-left-uEa3054V","location-bottom-right":"location-bottom-right-uEa3054V",hidden:"hidden-uEa3054V",added:"added-uEa3054V"}},86332:(e,t,o)=>{"use strict";o.d(t,{ControlGroupContext:()=>n});const n=o(59496).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},95604:(e,t,o)=>{"use strict";function n(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}o.d(t,{getGroupCellRemoveRoundBorders:()=>n})},17946:(e,t,o)=>{"use strict";o.d(t,{CustomBehaviourContext:()=>n,presetDefault:()=>s,presetPlatform:()=>a});const n=(0,o(59496).createContext)({enablePointerOnHover:!0,enableActiveStateStyles:!0}),s={enableActiveStateStyles:!0,enablePointerOnHover:!0},a={enableActiveStateStyles:!1,enablePointerOnHover:!1}},9745:(e,t,o)=>{"use strict";o.d(t,{Icon:()=>s});var n=o(59496);const s=n.forwardRef((e,t)=>{
const{icon:o="",...s}=e;return n.createElement("span",{...s,ref:t,dangerouslySetInnerHTML:{__html:o}})})},17290:(e,t,o)=>{"use strict";o.d(t,{Switch:()=>l});var n=o(59496),s=o(97754),a=o(17946),i=o(26390),r=o.n(i);function c(e){const t=(0,n.useContext)(a.CustomBehaviourContext),{className:o,intent:i="default",size:c="small",enablePointerOnHover:l=t.enablePointerOnHover,enableActiveStateStyles:u=t.enableActiveStateStyles}=e;return s(o,r().switcher,r()["size-"+c],r()["intent-"+i],!l&&r()["disable-cursor-pointer"],!u&&r()["disable-active-state-styles"])}function l(e){const{reference:t,size:o,intent:s,...a}=e;return n.createElement("div",{className:c(e)},n.createElement("input",{...a,type:"checkbox",className:r().input,ref:t}),n.createElement("div",{className:r()["thumb-wrapper"]},n.createElement("div",{className:r().track}),n.createElement("div",{className:r().thumb})))}},22032:(e,t,o)=>{"use strict";o.d(t,{Toast:()=>f});var n,s=o(59496),a=o(97754);!function(e){e.Default="default",e.Success="success",e.Warning="warning",e.Danger="danger"}(n||(n={}));var i=o(9745),r=o(95781),c=o(5553),l=o.n(c);const u=s.forwardRef((e,t)=>{const{className:o,onClick:n,tabIndex:c}=e;return s.createElement("button",{type:"button",className:a(l()["close-button"],o),tabIndex:c,onClick:n,ref:t},s.createElement(i.Icon,{icon:r,className:l()["close-icon"]}))});function d(e){const{children:t,role:o,className:i,intent:r=n.Default}=e,c=a(l().toast,r!==n.Default&&l()["intent-"+r],i);return s.createElement("article",{className:c,role:o},t)}function m(e){const{children:t}=e;return s.createElement("div",{className:l().image},t)}function h(e){const{children:t,className:o}=e;return s.createElement("h2",{className:a(l().title,o)},t)}function g(e){const{children:t,className:o}=e;return s.createElement("p",{className:a(l()["main-text"],o)},t)}function p(e){const{children:t}=e;return s.createElement("div",{className:l().actions},t)}function v(e){const{children:t}=e;return s.createElement("p",{className:l()["secondary-text"]},t)}const f=s.memo(e=>{const{title:t,text:o,secondaryText:n,image:i,actions:r,intent:c,role:f="status",showCloseButton:y=!1,onClose:k,onAutoFocus:_,className:C}=e,b=s.useRef(null),w=y&&!i?l()["adjust-for-close-button"]:void 0,S=!y||i||t?void 0:l()["adjust-for-close-button"];return s.useEffect(()=>{"alert"===f&&(void 0!==_?_():null!==b.current&&b.current.focus())},[]),s.createElement(d,{intent:c,role:f,className:C},y&&s.createElement(u,{ref:b,onClick:k}),i&&s.createElement(m,null,i),s.createElement("div",{className:a(l()["main-content"],y&&l()["with-close-button"])},t&&s.createElement(h,{className:w},t),o&&s.createElement(g,{className:S},o),r&&s.createElement(p,null,r),n&&s.createElement(v,null,n)))})},90186:(e,t,o)=>{"use strict";function n(e){return a(e,i)}function s(e){return a(e,r)}function a(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function i(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function r(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>n,
filterAriaProps:()=>s,filterProps:()=>a,isDataAttribute:()=>i,isAriaAttribute:()=>r})},22064:(e,t,o)=>{"use strict";o.d(t,{createDomId:()=>c,joinDomIds:()=>l});const n=/\s/g;function s(e){return"string"==typeof e}function a(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function i(e){return e.trim().length>0}function r(e){return e.replace(n,"-")}function c(...e){const t=e.map(a).filter(s).filter(i).map(r);return(t.length>0&&t[0].startsWith("id_")?t:["id",...t]).join("_")}function l(...e){return e.map(a).filter(s).filter(i).join(" ")}},56139:(e,t,o)=>{"use strict";o.r(t),o.d(t,{globalToasts:()=>L,showToast:()=>x});var n=o(59496),s=o(97754),a=o(87995),i=o(9423),r=o(65718),c=o(50655),l=o(88216),u=o(36947),d=o(65355);class m{constructor(e){this._animationStage=d.ToastAnimationStage.Add,this._keys=new Map,this._element=null,this.render=e=>this._render(e),this.remove=()=>this._currentToastsLayer.removeToast(this);const{priority:t,origin:o,currentLayer:n,onLayerChange:s,render:a,onMouseOver:i,onMouseOut:r}=e;this._staticData=Object.freeze({priority:t,origin:o,onLayerChange:s,onMouseOver:i,onMouseOut:r}),this._currentToastsLayer=n||o,this._render=a}getStaticData(){return this._staticData}migrate(e){this._currentToastsLayer=e,this._animationStage=d.ToastAnimationStage.Add}getCurrentLayer(){return this._currentToastsLayer}isForeign(){return this._staticData.origin!==this._currentToastsLayer}getAnimationStage(){return this._animationStage}setAnimationStage(e){this._animationStage=e}setKey(e,t){this._keys.set(e,t)}getKey(e=this._currentToastsLayer){return this._keys.get(e)}getElement(){return this._element}setElement(e){this._element=e}}var h=o(99062);const g={position:"fixed",left:"0",bottom:"0",right:"0",zIndex:145};class p{constructor(e,t,o=g,n){this._toasts={[d.ToastPriority.Low]:[],[d.ToastPriority.Medium]:[],[d.ToastPriority.High]:[]},this._container=void 0!==t?t:document.body,this._suggestedLayout=void 0!==e?e:"loose",this._location=null!=n?n:"bottom-left",this._manager=new l.OverlapManager(document),this._overlapManagerContainer=function(e,t={}){const o=e.createElement("div");return o.dataset.role="toast-container",f(o,{...g,...t}),o}(document,o),this._manager.setContainer(this._overlapManagerContainer),this._container.appendChild(this._overlapManagerContainer),this._detachedContainer=document.createElement("div")}showToast(e){const{render:t,priority:o=d.ToastPriority.Medium,index:n,origin:s=this,onLayerChange:a,onMouseOver:i,onMouseOut:r}=e,c=new m({priority:o,origin:s,currentLayer:this,render:t,onLayerChange:a,onMouseOver:i,onMouseOut:r}),l=this._getNextKey();return c.setKey(this,l),"compact"===this._suggestedLayout&&o===d.ToastPriority.Low?Promise.all(this._toasts[d.ToastPriority.Low].map(e=>this.removeToast(e))).then(()=>{this._add(c,n),this._render()}):(this._add(c,n),this._render()),c}showExistingToast(e){const t=this._getNextKey();return e.setKey(this,t),this._add(e),this._render(),e}removeToast(e){
return new Promise(t=>{e.setAnimationStage(d.ToastAnimationStage.Remove),this._render(),setTimeout(()=>{this._remove(e),this._render(),t()},250)})}update(e){const{suggestedLayout:t,location:o,container:n,rootContainerOptions:s}=e;let a=!1,i=!1;void 0!==t&&t!==this._suggestedLayout&&(this._setSuggestedLayout(t),a=!0),void 0!==o&&(this._setLocation(o),i=!0),void 0!==n&&(this._setContainer(n),i=!0),void 0!==s&&(this._updateRootContainer(s),i=!0),a?"compact"===this._suggestedLayout&&this._toasts[d.ToastPriority.Low].slice(0,-1).forEach(e=>this.removeToast(e)):i&&this._render()}getToasts(){return this._toasts}forceRender(){this._render()}merge(e){v(e.getToasts()).forEach(async t=>{const o=t.getStaticData();await t.remove(),t.migrate(this),this.showExistingToast(t),void 0!==o.onLayerChange&&o.onLayerChange(e,this)})}split(e){v(this._toasts).filter(e=>e.isForeign()).forEach(async t=>{const o=t.getStaticData();await t.remove(),t.migrate(e),e.showExistingToast(t),void 0!==o.onLayerChange&&o.onLayerChange(this,e)})}reset(){this._toasts={[d.ToastPriority.Low]:[],[d.ToastPriority.Medium]:[],[d.ToastPriority.High]:[]},this._render()}destroy(){this._removeRootContainer()}_removeRootContainer(){a.unmountComponentAtNode(this._detachedContainer),this._detachedContainer.remove(),this._overlapManagerContainer.remove()}_getToastsList(e){const t=e.getStaticData().priority;return this._toasts[t]}_normalizeIndex(e,t){return e<0?0:e>t.length?t.length:e}_add(e,t){const o=this._getToastsList(e);if(void 0!==t){const n=this._normalizeIndex(t,o);o.splice(n,0,e)}else o.push(e)}_remove(e){const t=this._getToastsList(e),o=t.indexOf(e);o>=0&&t.splice(o,1)}_render(){const e=v(this._toasts);a.render(n.createElement(_,{toasts:e,suggestedLayout:this._suggestedLayout,location:this._location,manager:this._manager,layer:this}),this._detachedContainer)}_setSuggestedLayout(e){e!==this._suggestedLayout&&(this._suggestedLayout=e)}_setLocation(e){e!==this._location&&(this._location=e)}_setContainer(e){e!==this._container&&(this._container=e,this._container.appendChild(this._overlapManagerContainer))}_updateRootContainer(e){f(this._overlapManagerContainer,e)}_getNextKey(){return(0,i.randomHashN)(5)}}function v(e){return[...e[d.ToastPriority.Low],...e[d.ToastPriority.Medium],...e[d.ToastPriority.High]]}function f(e,t){const{top:o,right:n,bottom:s,left:a,position:i,zIndex:r}=t;void 0!==i&&(e.style.position=i),void 0!==r&&(e.style.zIndex=String(r)),void 0!==o&&(e.style.top=o),void 0!==n&&(e.style.right=n),void 0!==s&&(e.style.bottom=s),void 0!==a&&(e.style.left=a)}function y(e,t,o){return e.getKey(o)||t.toString(10)}function k(e){const{toast:t,toasts:o,layer:a,suggestedLayout:i,location:c,forceRender:l}=e,u=(0,n.useRef)(null),m=t.getAnimationStage(),g=m!==d.ToastAnimationStage.None,p=m===d.ToastAnimationStage.Add,v=function(e,t,o){var n;const s=t.indexOf(e),a=y(e,s,o);let i=0;for(const e of t){const r=t.indexOf(e),c=y(e,r,o),l=(null===(n=e.getElement())||void 0===n?void 0:n.offsetHeight)||0,u=e.getAnimationStage()!==d.ToastAnimationStage.None;let m=0
;u&&c===a?m=1:!u&&s<r&&(m=-1),i+=m*l}return i}(t,o,a),f=s(h["toast-positioning-wrapper"],g&&h.hidden,p&&h.added,"compact"===i&&h.compact,c&&h["location-"+c]);return(0,n.useEffect)(()=>{if(t.getCurrentLayer()!==a||t.getAnimationStage()!==d.ToastAnimationStage.Add||null===u.current)return;const e=t.getElement();null===e||e!==u.current?(t.setElement(u.current),l()):(t.setAnimationStage(d.ToastAnimationStage.None),l())}),n.createElement(r.Portal,{layerOptions:{position:"absolute"},left:"0",right:"0"},n.createElement("div",{onMouseOver:t.getStaticData().onMouseOver,onMouseOut:t.getStaticData().onMouseOut,className:f,style:{transform:`translateY(${v}px)`},ref:u},t.render({onRemove:t.remove,suggestedLayout:i})))}function _(e){const{toasts:t,suggestedLayout:o,location:s,manager:a,layer:i}=e,r=(0,u.useForceUpdate)();return n.createElement(c.SlotContext.Provider,{value:a},t.map((e,a)=>n.createElement(k,{key:y(e,a,i),toast:e,toasts:t,layer:i,suggestedLayout:o,location:s,forceRender:r})))}var C=o(86240),b=o(7881);const w=C["media-mf-phone-landscape"];function S(e){const{suggestedLayout:t,children:o}=e;return n.createElement("div",{className:s(b["toast-wrapper"],"compact"===t&&b.compact)},o)}const L=new class{constructor(){var e;this._mediaQuery=window.matchMedia(w),this._handleMediaQueryChange=()=>{this._toastsLayer.update({suggestedLayout:this._getSuggestedLayout()})},this._handleLoginStateChange=()=>{this._toastsLayer.update({location:this._getLocation()})},this._toastsLayer=new p(this._getSuggestedLayout(),void 0,void 0,this._getLocation()),this._mediaQuery.addListener(this._handleMediaQueryChange),null===(e=window.loginStateChange)||void 0===e||e.subscribe(this,this._handleLoginStateChange)}destroy(){var e;this._toastsLayer.destroy(),this._mediaQuery.removeListener(this._handleMediaQueryChange),null===(e=window.loginStateChange)||void 0===e||e.unsubscribe(this,this._handleLoginStateChange)}showCustomToast(e){const{render:t,...o}=e;var s;return this._toastsLayer.showToast({render:(s=t,e=>n.createElement(S,{suggestedLayout:e.suggestedLayout,children:s(e)})),...o}).remove}reset(){this._toastsLayer.reset()}forceRender(){this._toastsLayer.forceRender()}merge(e){this._toastsLayer.merge(e)}split(e){this._toastsLayer.split(e)}_getSuggestedLayout(){return this._mediaQuery.matches?"loose":"compact"}_getLocation(){return"bottom-left"}};function x(e){return L.showCustomToast(e)}},44598:(e,t,o)=>{"use strict";o.r(t),o.d(t,{showCookiesNotification:()=>y});var n=o(59496),s=o(28353),a=o(71036),i=o(65355),r=o(22032),c=o(11417),l=o(11542),u=o(56139),d=o(5401),m=o(98999),h=o(57229),g=o(76422);var p=o(49483),v=o(19107);function f(e){const{onResolve:t,onRemove:i}=e;(0,n.useEffect)(()=>{c.TVLocalStorage.getItem("cookie_dialog_tracked")||((0,l.trackCookies)("show","cookies_dialog"),c.TVLocalStorage.setItem("cookie_dialog_tracked","1"))},[]);const u=(0,s.t)("This website uses cookies"),f=(0,s.t)("This app uses cookies"),y=(0,s.t)("We use cookies to ensure you get the best experience on our website."),k=(0,
s.t)("We use cookies to ensure you get the best experience on our app."),_=(0,s.t)("To learn more about cookies please read our {link_start}Cookies Policy{link_end}.").split(/{link_start}|{link_end}/),C=n.createElement(n.Fragment,null,((0,p.isDesktopApp)()?k:y)+" "+_[0],n.createElement("a",{target:"_blank",href:"/cookies-policy/",className:v["cookies-link"],onClick:()=>(0,l.trackCookies)("click","policy_info")},_[1]),_[2]),b=e=>(0,n.useCallback)(()=>{e===d.CookieAcceptButton.AcceptAll&&((0,m.setCookieSetting)(m.CookieSettings.Analytics,!0),(0,m.setCookieSetting)(m.CookieSettings.Advertising,!0),t(!0)),e===d.CookieAcceptButton.ManagePreferences&&(!function(e){Promise.all([o.e(509),o.e(3118),o.e(8247),o.e(1536),o.e(5423),o.e(8983)]).then(o.bind(o,13958)).then(t=>{const n={afterClose:async()=>{if(!(0,h.checkCookiePolicy)(h.bannerPrivacyPreferenceKey)){const{showCookiesNotification:e}=await Promise.resolve().then(o.bind(o,57229));e()}g.emit(h.bannerPrivacyPreferenceKey,(0,h.checkCookiePolicy)(h.bannerPrivacyPreferenceKey))}};new t.PrivacyPreferenceDialog({...e},n).open()})}(),t(!1)),i()},[t,i]),w=n.createElement("div",{className:v.actionBtn},n.createElement(a.SquareButton,{className:v.managePreferences,onClick:b(d.CookieAcceptButton.ManagePreferences),variant:"secondary",size:"xsmall"},(0,s.t)("Manage preferences")),n.createElement(a.SquareButton,{className:v.acceptAll,onClick:b(d.CookieAcceptButton.AcceptAll),size:"xsmall"},(0,s.t)("Accept all")));return n.createElement(r.Toast,{title:(0,p.isDesktopApp)()?f:u,className:v.cookiesNotification,text:C,actions:w,showCloseButton:!1,role:"status"})}function y(){return new Promise(e=>{(0,u.showToast)({priority:i.ToastPriority.High,render:({onRemove:t,...o})=>(g.subscribe(h.bannerPrivacyPreferenceKey,e=>{e&&t()},null),n.createElement(f,{...o,onResolve:e,onRemove:t}))})})}},5401:(e,t,o)=>{"use strict";o.r(t),o.d(t,{CookieAcceptButton:()=>p,PrivacyPreference:()=>w});var n=o(28353),s=o(59496),a=o(22064),i=o(17946),r=o(17290),c=o(71036),l=o(9745),u=o(97754),d=o(67844),m=o(41145),h=o(21942);const g=s.memo(e=>s.createElement(d.CloseButton,{className:u(h.closeButton,e.className),onClick:e.onClose,"aria-label":e.ariaLabel}));s.memo(e=>{const{text:t,description:o}=e;return s.createElement("div",{className:h.tabHeader},s.createElement("h3",{className:h.title},t),o&&s.createElement("p",{className:h.description},o))}),s.memo(e=>{const{className:t,...o}=e;return s.createElement(m.BackButton,{className:u(h.backButton,t),...o})});var p,v,f=o(11542),y=o(98999),k=o(57229),_=o(54690),C=o(63718),b=o(14070);function w(e){const{onClose:t}=e,[o,u]=(0,s.useState)((0,y.getCookieSetting)(y.CookieSettings.Analytics)),[d,m]=(0,s.useState)((0,y.getCookieSetting)(y.CookieSettings.Advertising));(0,s.useEffect)(()=>{(0,f.trackCookies)("click","manage_preferences_button")},[]);const h=async e=>{t&&(e||(0,f.trackCookies)("close","manage_preferences_dialog"),t())},w=e=>{e===v.AnalyticsCookies?(u(e=>!e),o?(0,f.trackCookies)("click","performance_cookies_off"):(0,
f.trackCookies)("click","performance_cookies_on")):(m(e=>!e),d?(0,f.trackCookies)("click","ad_cookies_off"):(0,f.trackCookies)("click","ad_cookies_on"))},S=e=>{e===p.SavePreferences?((0,y.setCookieSetting)(y.CookieSettings.Analytics,o),(0,y.setCookieSetting)(y.CookieSettings.Advertising,d),(0,f.trackCookies)("click","save_preferences")):((0,y.setCookieSetting)(y.CookieSettings.Analytics,!0),(0,y.setCookieSetting)(y.CookieSettings.Advertising,!0),(0,f.trackCookies)("click","allow_all")),(0,k.checkCookiePolicy)(k.bannerPrivacyPreferenceKey)||(0,k.onAccept)(),h(!0)},L=(0,n.t)("Manage your privacy preferences"),x=(0,n.t)("More information about Cookies {lastWord}Policy").split(/{lastWord}/);return s.createElement(i.CustomBehaviourContext.Provider,{value:window.TradingView.onChartPage?i.presetPlatform:i.presetDefault},s.createElement(_.ResponsiveContainer,{initialBreakPoint:"base"},s.createElement("div",{className:b.privacyPreferenceDialog,role:"dialog","aria-labelledby":(0,a.createDomId)(L)},s.createElement("div",{className:b.privacyPreference},s.createElement(g,{onClose:()=>h(),className:b.close,ariaLabel:(0,n.t)("Close")}),s.createElement("h2",{id:(0,a.createDomId)(L),className:b.title},L),function(){const e={[v.NecessaryCookies]:{title:(0,n.t)("Necessary cookies"),content:(0,n.t)("These cookies are used to provide users with services available through a Site and to use some of its features, such as the ability to log-in and access secure areas, provide pop-up notices, and accept language from sign-up forms. These cookies are essential for using and navigating a Site. Without them, basic functions of our Site would not work. Because these cookies are strictly necessary to deliver our Site's essential services, you cannot refuse them.")},[v.AnalyticsCookies]:{title:(0,n.t)("Performance/Analytics cookies"),content:(0,n.t)("These cookies are used to recognize and count the number of Site visitors, gather statistics regarding how visitors move around the Site (including number of page views and the amount time spent on each page) and for conversion tracking and click hotspots. This helps us improve the way our Site works and general user experience. For example, these cookies allow us to ensure that users are able to find what they need easily.")},[v.AdvertisingCookies]:{title:(0,n.t)("Advertising cookies"),content:(0,n.t)("These cookies are used to show advertising that is relevant to you.")}},t=[];return Object.keys(e).map(n=>{const i=e[n],c=n===v.AnalyticsCookies?o:d;t.push(s.createElement("div",{key:n,className:b.availableCookieElement},s.createElement("div",{className:b.cookieTitle},s.createElement(r.Switch,{id:(0,a.createDomId)(n),role:"switch",name:n,disabled:n===v.NecessaryCookies,defaultChecked:n===v.NecessaryCookies||void 0,checked:n!==v.NecessaryCookies?c:void 0,onChange:n!==v.NecessaryCookies?()=>w(n):void 0,"aria-checked":n===v.NecessaryCookies||c}),s.createElement("label",{htmlFor:(0,a.createDomId)(n),className:b.switchTitle},i.title)),s.createElement("p",{className:b.cookieContent},i.content)))}),t
}(),s.createElement("a",{href:"/cookies-policy/",target:"_blank",className:b.moreInfoLink,onClick:()=>(0,f.trackCookies)("click","policy_info")},x[0],s.createElement("span",{className:b.nowrap},x[1]," ",s.createElement(l.Icon,{icon:C,className:b.icon,"aria-hidden":!0})))),s.createElement("div",{className:b.btnBlock},s.createElement(c.SquareButton,{className:b.savePreferences,onClick:()=>S(p.SavePreferences),variant:"secondary",size:"medium"},(0,n.t)("Save preferences")),s.createElement(c.SquareButton,{onClick:()=>S(p.AllowAll),size:"medium"},(0,n.t)("Allow all"))))))}!function(e){e.AcceptAll="Accept all",e.AllowAll="Allow all",e.ManagePreferences="Manage preferences",e.SavePreferences="Save preferences"}(p||(p={})),function(e){e.NecessaryCookies="Necessary cookies",e.AnalyticsCookies="Performance/Analytics cookies",e.AdvertisingCookies="Advertising cookies"}(v||(v={}))},36947:(e,t,o)=>{"use strict";o.d(t,{useForceUpdate:()=>s});var n=o(59496);const s=()=>{const[,e]=(0,n.useReducer)((e,t)=>e+1,0);return e}},65718:(e,t,o)=>{"use strict";o.d(t,{Portal:()=>c,PortalContext:()=>l});var n=o(59496),s=o(87995),a=o(9423),i=o(88216),r=o(50655);class c extends n.PureComponent{constructor(){super(...arguments),this._uuid=(0,a.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||"",s.createPortal(n.createElement(l.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,i.getRootOverlapManager)():this.context}}c.contextType=r.SlotContext;const l=n.createContext(null)},50655:(e,t,o)=>{"use strict";o.d(t,{Slot:()=>s,SlotContext:()=>a});var n=o(59496);class s extends n.Component{shouldComponentUpdate(){return!1}render(){return n.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const a=n.createContext(null)},65355:(e,t,o)=>{"use strict";var n,s;o.d(t,{ToastAnimationStage:()=>n,ToastPriority:()=>s}),function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove",e[e.None=2]="None"}(n||(n={})),function(e){e[e.Low=0]="Low",e[e.Medium=1]="Medium",e[e.High=2]="High"}(s||(s={}))},63718: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.5 3A1.5 1.5 0 0 0 3 4.5v9A1.5 1.5 0 0 0 4.5 15h9a1.5 1.5 0 0 0 1.5-1.5V10h-1v3.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5H8V3H4.5zM11 4h2.3L9.14 8.15l.7.7L14 4.71V7h1V3h-4v1z"/></svg>'},86240:e=>{"use strict"
;e.exports=JSON.parse('{"size-header-height":"64px","media-phone":"screen and (max-width: 767px)","media-mf-phone-landscape":"screen and (min-width: 568px)","media-mf-tablet-vertical":"screen and (min-width: 768px)","media-mf-tablet-landscape":"screen and (min-width: 1024px)","media-mf-laptop":"screen and (min-width: 1280px)"}')}}]);