(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8578],{68578:function(C,w,e){"use strict";e.r(w),e.d(w,{default:function(){return L}});var D=e(62099),K=e(25935),d=e(67294),M=e(15778),R=e(25934),A=e(64035),t=e.n(A),W=function(o){return o.keyCode||o.which||o.charCode},I=function(o,r,v){var l=window.innerWidth*.07/2,u=5;return o>r?-Math.max(r-(v+l),u):-Math.max(o-l,u)},n=e(85893),x=function(o){var r,v=parseInt(o.MediaID),l=(0,d.useState)(""),u=l[0],O=l[1],S=(0,d.useState)(!1),T=S[0],j=S[1],y=(0,R.Z)(),f=(0,d.useRef)(null),N=(0,d.useRef)(null),p=function(){var i=f==null?void 0:f.current,a=i==null?void 0:i.getBoundingClientRect(),s=(a==null?void 0:a.width)||0,F=window.scrollX||document.documentElement.scrollLeft,c=((a==null?void 0:a.left)||0)+F,h=window.innerWidth-c,_=c>h?"right":"left",V=Math.min(window.innerWidth*.93,500);if(V===500)O(_);else{if(!N.current)return;var Y=I(c,h,s);N.current.style[_]="".concat(Y,"px")}j(!0)},m=function(){j(!1)},B=function(i){var a=W(i),s=M.yH.a,F=s.ENTER,c=s.SPACE,h=s.ESC;(a===F||a===c)&&(i.preventDefault(),p()),a===h&&(i.preventDefault(),m())};return(0,n.jsx)(n.Fragment,{children:((r=o.data)===null||r===void 0?void 0:r[v-1])&&(0,n.jsx)("span",{className:t()["footnote-holder"],children:(0,n.jsxs)("a",{"aria-label":"footnote",onMouseEnter:p,onKeyDown:B,onFocus:p,onBlur:m,href:"javascript:void(0);",onMouseLeave:m,ref:f,className:"".concat(t()["footnote-wrapper"]," ").concat(t()[u]," ").concat(T?t().active:t().inactive),"aria-describedby":y,children:[(0,n.jsx)("sup",{className:t().footnotesup,children:o.MediaID}),(0,n.jsx)("span",{className:t()["notch-wrapper"],children:(0,n.jsx)("span",{className:t().notch})}),(0,n.jsx)("span",{ref:N,className:"".concat(t().tooltip," mdc-u-mt-2"),children:(0,n.jsx)("span",{className:t()["footnote-content"],children:(0,n.jsx)("span",{id:y,"aria-hidden":!T,"data-module-theme":"light",className:"".concat(t()["footnote-text"]," mck-u-links-inline"),children:(0,K.ZP)(o.data[v-1])})})})]})})})},P=x,Z=(0,D.C)()(x),L=P},64035:function(C){C.exports={"footnote-holder":"FootNote_footnote-holder__tjRqy","footnote-wrapper":"FootNote_footnote-wrapper__AIRwL",tooltip:"FootNote_tooltip__QtrbA","footnote-content":"FootNote_footnote-content__r2OVl","footnote-text":"FootNote_footnote-text__VjKgO","notch-wrapper":"FootNote_notch-wrapper__b_5NS",notch:"FootNote_notch__omKtY",footnotesup:"FootNote_footnotesup__e73z_",inactive:"FootNote_inactive__VZfCp",active:"FootNote_active__Dy_6B",right:"FootNote_right__UWwiN",left:"FootNote_left__CY8s_"}}}]);