1import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{a as t,s as n}from"./tracking-CqKepllz.js";import{_ as r,c as i,d as a,g as o,h as s,l as c,m as l,n as u,p as d,t as f,v as p,y as m}from"./eventEmitter-ssnd685C.js";import{c as h}from"./player-C6Zk3O3G.js";import{i as ee,n as g,r as _,t as te}from"./overlay-BS3Jl9YA.js";function v(e,t=300,n=!1){let r,i,a,o,s,c=function c(){let l=new Date().getTime()-o;l<t&&l>=0?r=setTimeout(c,t-l):(r=null,n||(s=e.apply(a,i),r||(a=i=null)))};return function(){let l=n&&!r;return a=this,i=arguments,o=new Date().getTime(),r||=setTimeout(c,t),l&&(s=e.apply(a,i),a=i=null),s}}var ne=document.getElementById(`mq-state`),y=0,b=y,re=()=>window.Number.isInteger(b)?b:0,x=()=>ne&&parseInt(window.getComputedStyle(ne).getPropertyValue(`z-index`),10)||y,ie=()=>{b=x(),m(window,`resize`,v(function(){let e=x();b!==e&&(b=e,u.emit(f.MQ_STATE,b))})),window.MqState={getState:re}},ae=`js-b16`,oe=`0A12B34C56D78E9F`,se,S;function ce(e){let t=``,n=``,r=``;for(let i=0;i<e.length;i+=2)t=oe.indexOf(e.charAt(i)),n=oe.indexOf(e.charAt(i+1)),r+=String.fromCharCode(t*16+n);try{r=decodeURIComponent(r)}catch(e){console.log(e)}return r}function C(e){globalThis.desobfuscationDone?e():u.once(f.DESOBFUSCATION_DONE,e)}function le(e){if(!e)return``;let t=e.split(`#`),n=``;try{n=ce(t[0])}catch(e){console.error(e)}return t[1]!==void 0&&(n+=`#`+t[1]),n}function w(e=`href`){try{let t=e===`value`?`value`:`class`,n=this.getAttribute(t).split(` `),r=n[1],i=le(r);switch(e){case`value`:this.setAttribute(`value`,i);break;default:this.setAttribute(`href`,i)}if(n[0]=`xXx`,n[1]=null,this.setAttribute(`class`,n.join(` `).trim()),e!==`value`){let e=Array.prototype.slice.call(this.attributes),t=document.createElement(`a`);for(;this.childNodes.length;)t.appendChild(this.firstChild);e.forEach(e=>{t.setAttribute(e.name,e.value)}),this.parentNode.insertBefore(t,this),this.parentNode.removeChild(this)}}catch(e){console.error(`desobfuscation error`,e)}}function ue(){for(let e of se)w.call(e,`href`);for(let e of S)w.call(e,`value`);globalThis.desobfuscationDone=!0,u.emit(f.DESOBFUSCATION_DONE)}function de(){globalThis.desobfuscationDone=!1,h(()=>{se=document.querySelectorAll(`span[class^="${ae}"]`),S=document.querySelectorAll(`option[value^="${ae}"]`),ue()})}function fe(e){if(e.headers&&e.headers[`Content-Type`]===`application/json`)return JSON.stringify(e.payload);let t=new FormData;return Object.keys(e.payload).forEach(n=>{t.append(n,e.payload[n])}),t}function pe(e){return e.payload&&(e.method===`POST`||e.method===`PATCH`)&&(e.body=fe(e)),e}function T(e,t={},n=!0,r=!0){let i=pe(t);return r&&(i.headers=i.headers||{},i.headers[`X-Requested-With`]=`XMLHttpRequest`),fetch(e,i).then(e=>{if(e.status>=200&&e.status<300)return e;let t=Error(e.statusText);if(e.headers.get(`Content-Type`).indexOf(`application/json`)!==-1)return e.json().then(e=>{throw t.data=e,t});throw t.data={},t.response=e,t}).then(e=>n&&e.status!==204?e.json():e)}var me=!1;function he(){return me}var E=document.getElementById(`header-main-menu-icon`),ge=document.getElementById(`header-main-close-icon`),D=document.getElementById(`header-nav-panel`),_e=document.querySelectorAll(`.js-nav-item-holder`),O=document.querySelectorAll(`.js-subnav-item-holder`),ve=document.querySelectorAll(`.js-btn-expand-subnav`),ye=document.getElementById(`header-main-search-icon`),be=document.getElementById(`header-main-search-canceled`),xe=document.getElementById(`header-main-search-container`),Se=document.querySelector(`.js-input-txt`),Ce=`header-main-nav-link`,k=`header-main-subnav-link`,A=!1,j=!1,M=null,N=!1;function we(){if(!E||!D)return!1;function e(){if(j)return t(),!1;
1s(a,i),o(a,c),g().open||ee(),j=!0,A=!1}function t(){s(a,c),j=!1,A=!1,g().open&&_()}u.on(f.MENU_OPEN,e),u.on(f.MENU_CLOSE,t),m(E,`click`,()=>{u.emit(f.MENU_OPEN)}),m(ge,`click`,()=>{u.emit(f.MENU_CLOSE)})}function Te(){if(!ye||!xe)return!1;function e(){s(a,c),o(a,i),A?_():g().open||ee(),A||Se.focus(),A=!A,j=!1}function t(){s(a,i),_(),A=!1,j=!1}u.on(f.SEARCH_OPEN,e),u.on(f.SEARCH_CLOSE,t),m(ye,`click`,()=>{u.emit(f.SEARCH_OPEN)}),m(be,`click`,()=>{u.emit(f.SEARCH_CLOSE)})}function Ee(){if(!ve.length||!O.length)return!1;let e;ve.forEach((t,n)=>{m(t,`click`,()=>{let t=_e[n];e&&e!=t&&s(e,`active`),o(t,`active`),e=t})})}async function De(){let e=D?.getAttribute(`data-subnav`);if(N||!e)return P(),!1;let t=window.localStorage.getItem(`nav`)||null;(!t||he())&&(t=await T(e,{credentials:`same-origin`},!1).then(e=>e.text()),window.localStorage.setItem(`nav`,t)),M=JSON.parse(t),Oe(),N=!0}function Oe(){if(!M||!O.length||N)return!1;h(()=>{Object.entries(M).forEach(([e,t])=>{let n=Array.from(O).filter(t=>t.getAttribute(`data-key`)===e)[0];n&&t.items&&Object.values(t.items).forEach(e=>{let t=document.createElement(`a`),r=e.classes?.length?`${k} ${e.classes?.join(` `)}`:k;t.setAttribute(`class`,`${r}`),t.href=e.url,t.textContent=e.label,n.append(t)})}),P()})}function ke(){let e=document.location.pathname,t=!1;a.querySelectorAll(`.${Ce}, .${k}`).forEach(n=>{if(t)return!1;n.getAttribute(`href`)===e&&(d(n,`current`),t=!0,d(n.parentElement.parentElement,`current`))})}function P(){return new Promise(e=>{C(ke),s(D,`header-nav-unloaded`),e()})}function F(){u.emit(f.MENU_CLOSE),u.emit(f.SEARCH_CLOSE)}async function Ae(){window.MqState&&window.MqState.getState()>2?await De():m(E,`click`,De),we(),Ee(),Te(),m(te,`click`,F),u.on(f.MQ_STATE,e=>{e>2&&(F(),_())})}var je=x()>=3?150:90;function I(e,t=500,n=!1,r,i=window,a=`top`,o=null){let s=o===null?window.pageYOffset:o,c=null;c=typeof e==`number`?parseInt(e,10):Me(e),n&&(c-=je);let l=Date.now();(function n(){let o=Date.now()-l;i===window?window.scroll(0,L(s,c,o,t)):a===`top`?i.scrollTop=L(s,c,o,t):i.scrollLeft=L(s,c,o,t),o>t?typeof r==`function`&&r(e):h(n)})()}function Me(e){return e.nodeName===`HTML`?-window.pageYOffset:e.getBoundingClientRect().top+window.pageYOffset}function Ne(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1}function L(e,t,n,r){return n>r?t:e+(t-e)*Ne(n/r)}var R=window.document.body.offsetWidth,z={},B=0,V=!1;function Pe(e){let t=e.scrollTarget,n=e.offsetMargin;return e.isRtl||(t>=e.rightBound-n&&(e.disabledRight=!0),t<=e.leftBound+n&&(e.disabledLeft=!0)),t}function Fe(e,t){let n=e.querySelector(`.roller-slider`).getBoundingClientRect().width,r=parseInt(e.getAttribute(`data-offset`),10),i=t.scrollWidth,a=e.getElementsByClassName(`roller-item`)[0].getBoundingClientRect().width+r,o=n%a,s=n-o<a?n:n-o,c=i-n,l=!!e.getAttribute(`data-rtl`),u=!!e.getAttribute(`data-auto-width`),d=`.btn-left`,f=`.btn-right`,p=e.childNodes,m=e.querySelector(d),h=e.querySelector(f);for(let e=0;e<p.length;e++)p[e].classList.contains(`roller-btn-holder`)&&(m=p[e].querySelector(d),h=p[e].querySelector(f));return{parent:e,slider:t,btnLeft:m,btnRight:h,leftBound:0,rightBound:c,disabledLeft:!l,disabledRight:!!l,hideArrow:c<=1,scrollBound:s,scrollTarget:0,sliderScroll:i,containerWidth:n,itemWidth:a,offsetMargin:r,isRtl:l,autoWidth:u,pos:0,sizes:[]}}function Ie(e,t){e.id===``&&(B+=1,e.id=`roller-`+B);let n=e.querySelector(`.roller-slider`),r=e.querySelectorAll(`.roller-item`);if(!r.length||!n)return d(e,`roller-no-nav`),null;n.scrollLeft=0;let i=Fe(e,n),a=0;if(i.autoWidth){for(let e=0;e<r.length;e++){let t=r[e].getAttribute(`width`)===null?r[e].offsetWidth:parseInt(r[e].getAttribute(`width`),10);t&&(a+=t+(e==r.length-1?0:i.offsetMargin))}i.scrollWidth=a,i.rightBound=a-i.containerWidth-i.offsetMargin,i.hideArrow=a<=i.containerWidth,i.disabledRight=a<=i.containerWidth,i.sizes=Be(i,r)}ze(i,e),W(i),Le(e),z[e.id]!==void 0&&(i.btnLeft&&p(i.btnLeft,`click`,z[e.id].goLeft),i.btnRight&&p(i.btnRight,`click`,z[e.id].goRight),p(n,`scroll`,z[e.id].scroll)),z[e.id]={goLeft:H.bind(null,-1,i),goRight:H.bind(null,1,i),scroll:v(function(){Re(i)})},i.btnLeft&&m(i.btnLeft,`click`,z[e.id].goLeft),i.btnRight&&m(i.btnRight,`click`,z[e.id].goRight),m(n,`scroll`,z[e.id].scroll),t&&z[e.id].goRight()}function H(e,t){switch(e){case 1:if(t.disabledRight)return;t.autoWidth?(t.scrollTarget=t.slider.scrollLeft+(t.sizes[t.pos]+(t.pos===t.sizes.length-1?0:t.offsetMargin)),t.pos+1<=t.sizes.length-1&&(t.pos+=1)):t.scrollTarget=t.slider.scrollLeft+t.scrollBound;break;case-1:if(t.disabledLeft)return;t.autoWidth?t.pos===t.sizes.length-1?(t.scrollTarget=t.slider.scrollLeft-t.sizes[t.pos],--t.pos):t.pos===0?(t.scrollTarget=0,t.pos=0):(t.scrollTarget=t.slider.scrollLeft-(t.sizes[t.pos]+t.offsetMargin),--t.pos):t.scrollTarget=t.slider.scrollLeft-t.scrollBound;break;default:return}U(t),W(t)}function U(e){let t=e.slider.scrollLeft;
1I(Pe(e),550,!1,!1,e.slider,`left`,t)}function Le(e){let t=e.querySelector(`.roller-slider`),n=e.querySelectorAll(`.roller-item`);if(!t||!n.length)return;let r,i=n.length;for(r=0;r<i;r++)if(l(n[r],`current`)){let e=n[r].offsetLeft,i=n[r].offsetLeft+n[r].offsetWidth,a=t.scrollLeft;if(i>a+config.containerWidth||a===0&&i>config.containerWidth)config.scrollTarget=e;else if(e<a)config.scrollTarget=e+config.itemWidth-config.containerWidth;else return!1;U(config)}}function Re(e){u.emit(f.LAZY_REVALIDATE),W(e)}function ze(e,t){e.hideArrow?d(t,`roller-no-nav`):s(t,`roller-no-nav`)}function W(e){let t=e.btnLeft,n=e.btnRight,r=e.slider.scrollLeft,i=e.rightBound;e.isRtl?(i+r<=0?(e.disabledLeft=!0,d(t,`disabled`)):(e.disabledLeft=!1,s(t,`disabled`)),r<0?(e.disabledRight=!1,s(n,`disabled`)):(e.disabledRight=!0,d(n,`disabled`))):(r===0&&(e.disabledLeft=!0,d(t,`disabled`)),r>0&&(e.disabledLeft=!1,s(t,`disabled`)),r>=i-1?(e.disabledRight=!0,d(n,`disabled`)):(e.disabledRight=!1,s(n,`disabled`)))}function G(e){for(let t of e)Ie(t)}function Be(e,t){let n=[],r=0;if(!t)return n;for(let i=0;i<t.length;i++){let a=t[i].getAttribute(`width`)===null?t[i].offsetWidth:parseInt(t[i].getAttribute(`width`),10);a&&(n.push(a),r+=a+(i==t.length-1?0:e.offsetMargin))}if(r>e.rightBound&&r>0&&n.length){let t=0,r=0,i=0,a=n.length-1,o=null;for(;a>=0&&r<e.containerWidth&&r+n[a]+e.offsetMargin<e.containerWidth;)r+=n[a]+e.offsetMargin,i++,a--;if(i>=2){o=n.splice(-i,i);for(let n=0;n<o.length;n++)t+=o[n]+e.offsetMargin-(1*o.length-1);t-=e.containerWidth,n[n.length-1]=n[n.length-1]-(t<0?t*-1:t)}else t=n[n.length-2]+n[n.length-1]+e.offsetMargin-e.containerWidth,o=n.pop(),n[n.length-1]=t<0?t*-1:t}return n}function Ve(e,t=!1){let n=e||[];t&&(n=document.getElementsByClassName(`js-roller`)),n.length&&(G(n),!V&&(m(window,`resize`,v(function(){window.document.body.offsetWidth!==R&&(G(n),R=window.document.body.offsetWidth)})),V=!0))}function He(){Ve([],!0)}var K=!1,q=0,Ue=1500;function We(){q&&window.clearTimeout(q),K||=(u.emit(f.LOAD_DEFER_ASSETS),!0)}function Ge(){m(window,`load`,()=>{We()}),m(window,`DOMContentLoaded`,()=>{q=window.setTimeout(We,Ue)})}var Ke=e=>{if(K)return e();u.once(f.LOAD_DEFER_ASSETS,e)},J=window?._GLOBALS?.front,Y=J?.fontCodekey,X=J?.fontUrlkey,Z=J?.fontCssUrl;function qe(){return window.localStorage.getItem(Y)||null}function Je(){return window.localStorage.getItem(X)||null}function Ye(e){let t=window.document.createElement(`style`),n=window.document.createTextNode(e);t.appendChild(n),window.document.head.appendChild(t)}function Xe(e){T(e,{credentials:`same-origin`},!1,!1).then(e=>e.text()).then(function(e){window.localStorage.setItem(Y,e),window.localStorage.setItem(X,Z)})}async function Ze(e=!1){Je()===Z?e&&Ye(qe()||``):Xe(Z)}function Qe(){if(!Y||!X||!Z)return!1;Ke(Ze)}function $e(){let e=document.getElementById(`main-content`);if(e)for(let t of e.querySelectorAll(`a`))t&&t.attributes&&t.attributes.href&&(t.attributes.href.value.includes(`jump#token`)||t.host!==location.host&&!t.attributes.href.value.includes(`javascript`))&&(t.target=`_blank`)}var et=e(n()),tt=window?._GLOBALS?.constants?.WEBSITE_HAS_CONSENT,Q=null,nt=`google`,rt=`c:googleana-XMqagawa`;function it(e){let t=null,n=window.Didomi||window.top?.Didomi;if(!n)return t;if(n.isConsentRequired()){let n=Didomi.getUserStatus(),r=n.vendors.consent.enabled,i=n.vendors.consent.disabled;!r.length&&!i.length?t=void 0:r.includes(e)?t=!0:i.includes(e)&&(t=!1)}return t}async function at(e,t=!0){return new Promise(n=>{if(!tt){n(!0);return}let r=window.didomiOnReady||window.top?.didomiOnReady;if(!r||!e.length){n(!1);return}if(Q){n(Q);return}let i=null;t&&(i=setTimeout(()=>{n(!1)},3e3)),r.push(()=>{let t=e.map(e=>it(e));i&&clearTimeout(i),Q=t.reduce((e,t)=>e&&t),n(Q)})})}async function ot(e){return await at([rt,nt],e)}var st=()=>{},ct=`https://bpt.webedia-group.com/pixel.png?/`,lt=window?._GLOBALS?.routes?.current;async function ut(e=!1){return new Promise(t=>{if(!window.__tcfapi){t({status:!1,code:0});return}let n=r=>{try{if(r.eventStatus===`useractioncomplete`){window.__tcfapi(`removeEventListener`,2,n),t({status:!0,code:1});return}if(r.eventStatus===`tcloaded`){window.__tcfapi(`removeEventListener`,2,n),t({status:!0,code:2});return}r.eventStatus===null&&(window.__tcfapi(`removeEventListener`,2,n),e&&t({status:!1,code:0}))}catch(n){console.warn(`Error in getting consent : ${n}`),e&&t({status:!1,code:0})}};window.__tcfapi(`addEventListener`,2,n)})}function dt(e=!1,t=!1){let n=!1;window.__tcfapi&&window.__tcfapi(`addEventListener`,2,function(r){try{switch(r.eventStatus){case`useractioncomplete`:$(r.eventStatus,e,t),window.__tcfapi(`removeEventListener`,2,st,r.listenerId);break;case`cmpuishown`:$(r.eventStatus,!1,!1);break;case`tcloaded`:$(r.eventStatus,!1,!1),window.__tcfapi(`removeEventListener`,2,st,r.listenerId);break;default:$(r.eventStatus,e,t)}}catch{$(`tcferror`,e,t)}n=!0}
1),setTimeout(function(){n||$(`tcfnotloaded`,!1,!1)},2e3)}async function $(e,t,n){let r=!1,i=setTimeout(()=>{a(`timeout`,`false`,e)},1e3);function a(e,a,o){r||=(t&&t(n),ft(e,a,o),i&&clearTimeout(i),!0)}a(`didomiOnReady`,await ot(!1)??`undefined`,e)}function ft(e,t,n){if(!lt)return!1;let r=`domain=${window.location.host}&referrer=${document.referrer}&site_route=${lt}&event=tcfapi&method=${e}&consent=${t}&tcfStatus=${n}`;try{fetch(ct+r)}catch(e){console.warn(`Error sending pixel : ${e}`)}}var pt=window._GLOBALS?.gtm?.id,mt=pt?`//www.googletagmanager.com/gtm.js?id=${pt}`:null,ht=!1;async function gt(e=null,n={}){if(!mt)return!1;if(ht&&typeof e==`function`)return e(),!1;let i=window.dataLayer;i&&(i[0].current_url=document.location.href,i.push({"gtm.start":new Date().getTime(),event:`gtm.js`}),i.push({isAdblock:t()})),await Promise.all([ut(),r()]),(0,et.default)(mt,n,()=>{ht=!0,typeof e==`function`&&e()})}export{Ge as a,Ae as c,ie as d,v as f,Qe as i,de as l,dt as n,He as o,$e as r,I as s,gt as t,C as u};
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.