606185910e68778990ce40b4b3b5434d075a1e2e6265db97405350701fbc3549

Source Code:

<!DOCTYPE html>
<html class="ima-sdk-frame">
  <head>
    <title></title>
    <style type="text/css">.videoAdUiActionCta{position:absolute;bottom:30px;box-sizing:border-box;padding:5px;max-width:75%}.uac-android-on-3p-instream.videoAdUiActionCta,.uac-ios-on-3p-instream.videoAdUiActionCta{background:linear-gradient(to top,rgba(0,0,0,0),rgba(0,0,0,.4) 100%);bottom:unset;max-width:100%;padding:12px;top:0;width:100%}.newProgressBarVariant .videoAdUiActionCta{bottom:46px}.videoAdUiActionCtaInset{font-family:arial,sans-serif;font-weight:500;font-size:16px;background:white;display:flex;flex-direction:row;border-radius:8px;box-shadow:0 1px 3px rgba(60,64,67,0.5);overflow:hidden;height:50px;pointer-events:auto}.uac-android-on-3p-instream .videoAdUiActionCtaInset,.uac-ios-on-3p-instream .videoAdUiActionCtaInset{background:transparent;box-shadow:none}.videoAdUiActionCtaIconContainer{min-width:50px;z-index:1000}.uac-android-on-3p-instream .videoAdUiActionCtaIconContainer,.uac-ios-on-3p-instream .videoAdUiActionCtaIconContainer{margin-right:12px}.videoAdUiActionCtaTextAndLink{display:flex;flex-direction:column;justify-content:space-between;padding:5px;flex-grow:1;overflow:hidden;max-width:250px}.uac-android-on-3p-instream .videoAdUiActionCtaTextAndLink,.uac-ios-on-3p-instream .videoAdUiActionCtaTextAndLink{max-width:none;padding:3px}.videoAdUiActionCtaText{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.uac-android-on-3p-instream .videoAdUiActionCtaText,.uac-ios-on-3p-instream .videoAdUiActionCtaText{color:#fff}.videoAdUiActionCtaLink{color:#858b8c;font-size:12px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.uac-android-on-3p-instream .videoAdUiActionCtaLink{background-image:url(https://googleads.g.doubleclick.net/pagead/images/gmob/google_play_icon_white.svg);background-repeat:no-repeat;background-size:auto 100%;color:transparent}.uac-ios-on-3p-instream .videoAdUiActionCtaLink{background-image:url(https://googleads.g.doubleclick.net/pagead/images/gmob/app_store_icon_white.svg);background-repeat:no-repeat;background-size:auto 100%;color:transparent}.videoAdUiActionCtaRightSide{display:flex;justify-content:center;flex-direction:column;min-width:max-content;min-width:-moz-max-content;min-width:-webkit-max-content}.videoAdUiActionCtaButton{height:35px;line-height:35px;text-transform:uppercase;margin:5px;padding:0 8px;font-weight:500;font-size:14px}.uac-android-on-3p-instream .videoAdUiActionCtaButton,.uac-ios-on-3p-instream .videoAdUiActionCtaButton{margin:0;padding:0 20px}.videoAdUiActionIcon{height:50px;cursor:pointer}.actionCtaCollapsibleContainer{display:flex;width:100%}.uac-android-on-3p-instream .actionCtaCollapsibleContainer,.uac-ios-on-3p-instream .actionCtaCollapsibleContainer{justify-content:space-between}.videoAdUiFloatingLayer .videoAdUiActionCtaButton{border-radius:0}.videoAdUiFloatingLayer .uac-android-on-3p-instream .videoAdUiActionCtaButton{border-radius:4px;background-color:#01875f}.videoAdUiFloatingLayer .uac-ios-on-3p-instream .videoAdUiActionCtaButton{border-radius:100px;background-color:#007aff}.videoAdUiFloatingLayer .videoAdUiActionCtaInset{border-radius:0}.videoAdUiFloatingLayer .videoAdUiActionCtaTextAndLink{overflow:hidden}.videoAdUiFloatingLayer .actionCtaCollapsibleContainer.actionCtaContainerCollapsed{max-width:0;transition:max-width 1s ease-out}.videoAdUiFloatingLayer .actionCtaCollapsibleContainer:not(.actionCtaContainerCollapsed),.videoAdUiFloatingLayer .videoAdUiActionCta:hover .actionCtaCollapsibleContainer{max-width:calc(100% - 50px);transition:max-width 1s ease-out}.videoAdUiFloatingLayer .uac-android-on-3p-instream .videoAdUiActionCtaInset .actionCtaCollapsibleContainer,.videoAdUiFloatingLayer .uac-ios-on-3p-instream .videoAdUiActionCtaInset .actionCtaCollapsibleContainer{max-width:calc(100% - 50px - 12px)}.videoAdUiFloatingLayer .videoAdUiActionCtaExpandIcon{width:18px;height:18px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgCgUUEztsNfqrAAAAXklEQVRYw+3Uuw2AQAwEUUNXfBpDIvBRMhQwJJAScNrA0r4CdiQHjjAzK4NGKucPAFmCnZcmwcTphBNO9CTGH4VB+/Zm6YlYis9fhedXz38FNvFriCCl808iw8ysrBu65gCeuV/CfgAAAABJRU5ErkJggg==) center/18px 18px no-repeat}.videoAdUiFloatingLayer .videoAdUiActionCtaExpandIcon,.videoAdUiFloatingLayer .videoAdUiActionCta:hover .videoAdUiActionCtaExpandIcon{display:block;cursor:pointer;background-color:#4688f1;position:absolute;padding-left:0;height:18px;width:18px;border-radius:50%;top:43px;left:43px;box-shadow:0 0 2px 0 rgba(0,0,0,0.12),0 2px 2px 0 rgba(0,0,0,0.24);opacity:0;border:none;padding:0;font-size:100%;outline:0;transition:none}.videoAdUiFloatingLayer .videoAdUiActionCtaExpandIcon.actionCtaExpandIconShown{opacity:1;transition:opacity .15s cubic-bezier(0.0,0.0,0.2,1) .7s}@media (max-width:480px){.videoAdUiActionCta{bottom:18px}.uac-android-on-3p-instream.videoAdUiActionCta,.uac-ios-on-3p-instream.videoAdUiActionCta{padding:8px}.videoAdUiActionCtaInset{height:35px;font-size:10px}.uac-android-on-3p-instream .videoAdUiActionCtaInset,.uac-ios-on-3p-instream .videoAdUiActionCtaInset{font-size:14px}.videoAdUiActionCtaButton{height:25px;line-height:25px;font-size:11px;padding:0 4px}.videoAdUiActionCtaLink{font-size:9px}.uac-android-on-3p-instream .videoAdUiActionCtaTextAndLink,.uac-ios-on-3p-instream .videoAdUiActionCtaTextAndLink{padding:1px}.videoAdUiActionIcon{height:35px}.videoAdUiActionCtaIconContainer{min-width:35px}.videoAdUiFloatingLayer .actionCtaCollapsibleContainer:not(.actionCtaContainerCollapsed),.videoAdUiFloatingLayer .videoAdUiActionCta:hover .actionCtaCollapsibleContainer{max-width:calc(100% - 35px)}.videoAdUiFloatingLayer .uac-android-on-3p-instream .videoAdUiActionCtaInset .actionCtaCollapsibleContainer,.videoAdUiFloatingLayer .uac-ios-on-3p-instream .videoAdUiActionCtaInset .actionCtaCollapsibleContainer{max-width:calc(100% - 35px - 12px)}}@media (max-aspect-ratio:1/1){.videoAdUiVariantCtaOverlay .videoAdUiBottomBar{bottom:65px}.videoAdUiVariantCtaOverlay .rewardedAdUiBottomBar{bottom:65px}.videoAdUiVariantCtaOverlay .videoAdUiPreSkipContainer{bottom:72px}.videoAdUiVariantCtaOverlay div.videoAdUiSkipContainer{bottom:72px}.videoAdUiVariantCtaOverlay .videoAdUiSkipContainer{bottom:72px}.videoAdUiActionCtaTextAndLink{max-width:none}.videoAdUiActionCta{bottom:0;width:100%;max-width:100%}.newProgressBarVariant .videoAdUiActionCta{bottom:0}.videoAdUiActionCtaInset{width:100%}}.videoAdUiButton{border-radius:3px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.4);cursor:pointer;pointer-events:auto}.videoAdUiButtonPrimary{background-color:#4285f4;color:white}.videoAdUiButtonPrimaryInverse{color:#4285f4}.ctaAdvertiserInfo{text-align:center;pointer-events:auto}.videoAdUiCtaLayer .ctaAdvertiserInfo{display:none}.videoAdUiTopBar .ctaAdvertiserInfo{padding-top:40px}.advertiserChannelThumbnailContainer{margin-bottom:10px}.advertiserChannelThumbnail{height:50px;width:50px;border-radius:50%;border:2px solid white;cursor:pointer}.advertiserDescription{font-family:arial,sans-serif;text-align:center;text-transform:lowercase;font-size:10px;color:white;margin-bottom:5px;cursor:pointer}.advertiserHeadline{font-family:arial,sans-serif;font-size:16px;color:white;margin-bottom:5px;cursor:pointer}@media (max-aspect-ratio:1/1){.videoAdUiCtaLayer .ctaAdvertiserInfo{display:block;margin-top:30px;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}.unifyRefresh .videoAdUiCtaLayer{padding:24px 8px 0;z-index:1000;pointer-events:auto}@media (max-width:480px){.advertiserChannelThumbnailContainer{margin-bottom:6px}.advertiserChannelThumbnail{height:35px;width:35px}.advertiserHeadline{font-size:12px}.advertiserDescription{font-size:8px}}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall .videoAdUiCtaLayer{order:1;flex-basis:25vh;display:flex;flex-flow:column;align-items:center;justify-content:center;width:100%;position:static;margin:none;bottom:none;background-image:none;padding:0}.unifyRefresh.unifyRefresh-tall.engagement .videoAdUiCtaLayer{order:2;flex-basis:10vh;display:block}}.closeButtonContainer{float:right;height:24px;width:24px;padding:12px;pointer-events:auto;position:relative}.closeButtonBackground{width:24px;height:24px;background-color:#3c4043;border-radius:50%;z-index:1;position:absolute;box-shadow:0 2px 4px rgba(0,0,0,0.12)}.closeCountdownText{font-size:16px;color:white;width:24px;height:24px;position:absolute;font-family:Roboto,Helvetica,Arial,sans-serif;z-index:5;text-align:center;line-height:24px}.closeButtonIcon{color:white;width:24px;height:24px;position:absolute;z-index:5;text-align:center}.closeButtonIcon>svg{width:20px;height:20px;-webkit-transform:translateY(2px);transform:translateY(2px)}.unifyRefresh .closeButtonContainer{position:absolute;right:0;top:0;z-index:2000;float:none}.videoAdUiIconFallback .closeButtonContainer,.overlayContainer .closeButtonContainer{position:absolute;right:0;top:0;float:none;cursor:pointer;height:20px;width:20px;padding:6px}.overlayContainer .closeButtonBackground{height:20px;width:20px}.overlayContainer .closeButtonIcon{height:20px;width:20px}.overlayContainer .closeButtonIcon>svg{height:16px;width:16px}.endcapUi{top:0;left:0;width:100%;height:100%;position:absolute}.interactiveEndcapUi{top:0;left:0;width:100%;height:100%;position:absolute}.interactiveEndcapUi .sandboxed-iframe-element{width:100%;height:100%;top:0;left:0;bottom:0;right:0;border:none;margin:0;padding:0}.learnMoreEndcapContainer{top:0;left:0;width:100%;height:100%;position:absolute;background:rgba(239,239,239,0.6)}.learnMoreEndcapButton{display:inline-block;position:absolute;top:58%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:8px 18px;font-size:larger;font-family:sans-serif;color:#3e82f7;background-color:#fff;box-shadow:0 2px 2px 0 rgba(0,0,0,0.5);border:1px solid #ddd;text-decoration:none}.staticImageEndcapContainer{top:0;left:0;width:100%;height:100%;position:absolute;background:rgba(239,239,239,1)}.staticImageEndcapContainer>img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.callToActionContainer{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center}.callToActionButton{padding:8px 18px;font-size:12px;font-family:sans-serif;color:#4285f4;background-color:white;border:1px solid #ddd;text-decoration:none;text-transform:uppercase;cursor:pointer}.actionStaticImageEndcapContainer{top:0;left:0;width:100%;height:100%;position:absolute;background:black}.actionStaticImageEndcapContainer>img{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);height:100%;opacity:.4;filter:blur(10px)}.endcapUi .rewardedAdUiBottomBar{z-index:1}.endcapUi .rewardedAdUiProgressBar{background-color:rgba(155,155,155,0.4)}.endcapUi .rewardedAdUiProgress{background-color:rgba(255,255,255,0.7);margin-top:-5px}.unifyRefresh.endcapUi{background:rgba(0,0,0,0.84);z-index:1000;width:100%;height:100%;display:flex;flex-flow:column nowrap;justify-content:space-between}.unifyRefresh.endcapUi.fullEndcapImage{align-items:center}.unifyRefresh.endcapUi .videoAdUiTopBar{align-self:flex-start;width:100%;flex-grow:0;min-height:40px;opacity:1;background:transparent;border:none}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiTopBar{position:absolute}.unifyRefresh.endcapUi:not(.fullEndcapImage) .videoAdUiEndcapContent{display:flex;flex-flow:row;justify-content:space-around;width:100%}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiEndcapContent{display:flex;flex-flow:row;justify-content:space-around;align-items:center;width:100%;max-width:calc(100% - 2*48px);height:100%;margin:16px}.unifyRefresh.endcapUi .videoAdUiEndcapCtaLayer{display:flex;flex-flow:column;justify-content:center;align-items:center;min-width:30vw;margin:12px}.unifyRefresh.endcapUi:not(.fullEndcapImage) .videoAdUiEndcapImage{margin:12px;max-width:55vw}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiEndcapImage{height:100%;margin:16px}.unifyRefresh.endcapUi .videoAdUiEndcapCtaLayer:empty{display:none}.unifyRefresh.endcapUi .videoAdUiEndcapImage:empty{display:none}.unifyRefresh.endcapUi .staticImageEndcapContainer{background:none;order:1;text-align:center;pointer-events:auto;background-color:transparent;height:inherit;position:static;top:auto;left:auto;width:auto}.unifyRefresh.endcapUi .staticImageEndcapContainer>img{object-fit:contain;border-radius:8px;max-width:100%;max-height:100%;height:auto;width:auto;position:static;top:auto;left:auto;-webkit-transform:none;transform:none}@media (max-width:480px){.callToActionButton{font-size:8px}.learnMoreEndcapButton{padding:4px 9px}}@media (max-aspect-ratio:1/1){.unifyRefresh.endcapUi{flex-flow:column nowrap}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiTopBar{position:relative}.unifyRefresh.endcapUi .videoAdUiEndcapContent{flex-flow:column;align-items:center;flex-grow:1}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiEndcapContent{max-width:100%;height:auto}.unifyRefresh.endcapUi:not(.fullEndcapImage) .videoAdUiEndcapImage{margin:8px;max-width:75vw;max-height:75vh}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiEndcapImage{margin:16px}.unifyRefresh.endcapUi .staticImageEndcapContainer{max-width:none}.unifyRefresh.endcapUi .videoAdUiEndcapCtaLayer{min-height:20vh;max-width:75vw}}.buttonSlot{display:inline-block;height:100%}.overlaySelector{background:#666;border-radius:2px;cursor:pointer;height:10px;width:10px;right:5px;top:5px;position:relative}.overlaySelector:hover{background:#fff}.overlaySelector.active{background:#fc0}.fullSlotContainer{height:100%;text-align:center;background-color:black}.fullSlotContentContainer{display:inline-block;position:relative;width:min-content;top:calc(50% - 65px);transform:translateY(-50%) translateY(30px)}.fullSlotContainer .videoAdUiTitleV2{padding-left:5px;float:left;color:#999;font-family:Arial;font-size:10pt;text-decoration:none;cursor:pointer}.fullSlotBottomBar{position:absolute;bottom:5px;width:100%}.fullSlotBottomBar .wtaIcon{top:0}.ima-sdk-frame body{background:transparent;height:100%;margin:0;overflow:hidden}.ima-sdk-frame{height:100%}.ima-sdk-frame-native body{background:#000}.ima-sdk-frame-native video{bottom:0;left:0;margin:auto;right:0;top:0}.videoAdUiAction:focus{margin:1px}.videoAdUi .wtaIcon{top:0}.videoAdUiAttribution,.videoAdUiWtaIconContainer{opacity:.9;text-align:initial;vertical-align:middle}.videoAdUiTopBar-gvn .videoAdUiAttribution{opacity:1}.videoAdUiTopBar-gvn .videoAdUiAttributionContainer{color:#e5bb00;font-size:12px;position:relative;text-shadow:none}.videoAdUiTopBar-gvn .wtaIconSvg{fill:#e5bb00}.videoAdUiWtaIconContainer{cursor:pointer;padding-left:5px;height:14px}.videoAdUiWtaIconContainer .wtaIconSvg{width:15px;height:15px}@media all and (min-width:800px) and (min-height:400px){.videoAdUiTopBar-gvn .videoAdUiAttribution{font-size:16px!important}}@media (max-aspect-ratio:1/1){.ima-action-ad.videoAdUi .videoAdUiBottomBar{bottom:60px}.ima-action-ad.videoAdUi.uac-android-on-3p-instream .videoAdUiBottomBar,.ima-action-ad.videoAdUi.uac-ios-on-3p-instream .videoAdUiBottomBar{bottom:0}}@media (max-aspect-ratio:1/1) and (max-width:480px){.ima-action-ad.videoAdUi .videoAdUiBottomBar{bottom:45px}.ima-action-ad.videoAdUi.uac-android-on-3p-instream .videoAdUiBottomBar,.ima-action-ad.videoAdUi.uac-ios-on-3p-instream .videoAdUiBottomBar{bottom:0}}.videoAdUiTitle{color:#fff;cursor:pointer;display:inline-block;font-family:arial,sans-serif;font-weight:normal;font-size:13px;line-height:normal;margin:10px 5px 5px;text-decoration:none;max-width:50%}.videoAdUiTitleV2{color:#fff;cursor:pointer;display:inline-block;font-family:arial,sans-serif;font-weight:normal;font-size:13px;line-height:normal;margin:10px 5px 5px;text-decoration:none;max-width:50%;position:relative}.ellipsisText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.videoAdUiTitleWithAuthorIcon{margin-left:60px}.videoAdUiRtl .videoAdUiTitleWithAuthorIcon{margin-left:0;margin-right:60px}.videoAdUiTitle:hover{text-decoration:underline}.videoAdUiTitleV2:hover{text-decoration:underline}@media all and (min-width:800px) and (min-height:400px){.videoAdUiTitle{font-size:15px}.videoAdUiTitleV2{font-size:15px}}.unifyRefresh .videoAdUiTitleV2{font-size:16px;font-family:Roboto,Helvetica,Arial,sans-serif;color:#fff;font-weight:bold;text-shadow:0 1px 5px rgba(0,0,0,0.2);position:absolute;max-width:calc(100% - 2*40px - 2*8px);margin:0}.videoAdUiInstreamUxRefresh .videoAdUiTitleV2{max-width:100%;margin:0;font-size:18px}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .videoAdUiTitleV2{font-size:12px}}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall .videoAdUiTitleV2{font-size:18px;color:#3c4043;text-shadow:none}.unifyRefresh.unifyRefresh-tall:not(.engagement) .videoAdUiTitleV2{order:2;flex-grow:0;max-width:100%;margin:8px 32px;white-space:normal;text-align:center;position:static}.unifyRefresh.unifyRefresh-tall.engagement .videoAdUiTitleV2{margin-top:16px}.unifyRefresh.unifyRefresh-tall.background-text-white .videoAdUiTitleV2{color:#fff}.unifyRefresh.unifyRefresh-tall.background-text-black .videoAdUiTitleV2{color:#000}.unifyRefresh.endcapUi .videoAdUiTitleV2{max-width:75vw}}.unifyRefresh.endcapUi .videoAdUiTitleV2{position:static;margin:4px;max-width:50vw}.videoAdUiAuthorName{color:#ccc;cursor:pointer;display:inline-block;font-family:arial,sans-serif;font-weight:normal;font-size:12px;line-height:normal;margin:10px 5px 5px;text-decoration:none}.videoAdUiAuthorNameV2{color:#ccc;cursor:pointer;display:inline-block;font-family:arial,sans-serif;font-weight:normal;font-size:12px;line-height:normal;margin:10px 5px 5px;text-decoration:none;position:relative}.videoAdUiAuthorName:hover{text-decoration:underline}.videoAdUiAuthorNameV2:hover{text-decoration:underline}.ellipsisText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.unifyRefresh .videoAdUiAuthorNameV2{font-size:12px;font-weight:normal;font-family:Roboto,Helvetica,Arial,sans-serif;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,0.2);max-width:calc(100% - 2*40px - 2*8px);position:relative;margin:0}.videoAdUiInstreamUxRefresh .videoAdUiAuthorNameV2{margin:0;font-size:14px;color:#fff}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .videoAdUiAuthorNameV2{font-size:11px}}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall:not(.engagement) .videoAdUiAuthorNameV2{font-size:16px;font-weight:normal;color:rgba(0,0,0,0.56);order:3;flex-grow:0;max-width:100%;margin:4px 16px;white-space:normal;text-align:center;text-shadow:none;position:static}.unifyRefresh.unifyRefresh-tall.engagement .videoAdUiAuthorNameV2{font-size:15px;color:#000;text-shadow:none}.unifyRefresh.unifyRefresh-tall.background-text-white .videoAdUiAuthorNameV2{color:#fff}.unifyRefresh.unifyRefresh-tall.background-text-black .videoAdUiAuthorNameV2{color:#000}.unifyRefresh.endcapUi .videoAdUiAuthorNameV2{max-width:75vw}}.unifyRefresh.endcapUi .videoAdUiAuthorNameV2{position:static;margin:4px;max-width:50vw}.videoAdUiAutoClose{position:absolute;bottom:15px;right:20px;color:#999;font-family:Arial;font-size:10pt}.videoAdUi{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;background-color:rgba(0,0,0,0);bottom:0;height:100%;left:0;min-height:100%;pointer-events:none;position:absolute;right:0;top:0;overflow:hidden;padding:0}.videoAdUi:hover .videoAdUiTopBarTransitions{-webkit-transition:opacity ease-out .5s;-moz-transition:opacity ease-out .5s;-o-transition:opacity ease-out .5s;transition:opacity ease-out .5s;opacity:.8}.videoAdUiTopBar{background:#000;border-bottom:1px solid #444;cursor:default;left:0;opacity:.8;padding:0;pointer-events:auto;position:relative;top:0;right:0;z-index:1000}.uac-android-on-3p-instream .videoAdUiTopBar,.uac-ios-on-3p-instream .videoAdUiTopBar{display:none}.videoAdUiTopBarWithGradients{background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.8),rgba(0,0,0,0.7) 40%,rgba(0,0,0,0) 99%);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.8),rgba(0,0,0,0.7) 40%,rgba(0,0,0,0) 99%);background-image:-ms-linear-gradient(top,rgba(0,0,0,0.8),rgba(0,0,0,0.7) 40%,rgba(0,0,0,0) 99%);background-image:-o-linear-gradient(top,rgba(0,0,0,0.8),rgba(0,0,0,0.7) 40%,rgba(0,0,0,0) 99%);background-image:linear-gradient(top,rgba(0,0,0,0.8),rgba(0,0,0,0.7) 40%,rgba(0,0,0,0) 99%);background-color:rgba(0,0,0,0);border-bottom:none;height:40px}.videoAdUiTopBarTransitions{-webkit-transition:opacity ease-in .5s;-moz-transition:opacity ease-in .5s;-o-transition:opacity ease-in .5s;transition:opacity ease-in .5s;opacity:0}.videoAdUiTopBarNoFade{opacity:.8!important}.videoAdUiClickElement{height:100%;width:100%;pointer-events:auto}.unifyRefresh{background-image:-webkit-linear-gradient(top,rgba(0,0,0,0.3),rgba(0,0,0,0) 80px);background-image:-moz-linear-gradient(top,rgba(0,0,0,0.3),rgba(0,0,0,0) 80px);background-image:-ms-linear-gradient(top,rgba(0,0,0,0.3),rgba(0,0,0,0) 80px);background-image:-o-linear-gradient(top,rgba(0,0,0,0.3),rgba(0,0,0,0) 80px);background-image:linear-gradient(top,rgba(0,0,0,0.3),rgba(0,0,0,0) 80px)}.unifyRefresh.videoAdUi{z-index:1000}.unifyRefresh .videoAdUiClickElement{position:absolute;display:flex;align-items:center;justify-content:center}.unifyRefresh .rewardedAdUiTopBar{position:absolute;top:0;width:100%}.videoAdUiInstreamUxRefresh .videoAdUiTopBar{opacity:1;display:flex}.videoAdUiInstreamUxRefresh .videoAdUiTopBarTextContainer{order:1;display:flex;flex-direction:column;flex-grow:1;height:54px;overflow:hidden;justify-content:center}.videoAdUiInstreamUxRefresh .videoAdUiTopBarCollapsed .videoAdUiTopBarTextContainer{display:none}.videoAdUiInstreamUxRefresh .videoAdUiTopBarWithGradients{background-image:-webkit-linear-gradient(180deg,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);background-image:-moz-linear-gradient(180deg,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);background-image:-ms-linear-gradient(180deg,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);background-image:-o-linear-gradient(180deg,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);background-image:linear-gradient(180deg,rgba(0,0,0,0.8) 0%,rgba(0,0,0,0) 100%);height:86px;align-items:center}.videoAdUiInstreamUxRefresh .videoAdUiClickElement{position:absolute;top:0}.videoAdUiInstreamUxRefresh .videoAdUiClickElementPaused{background-color:rgba(0,0,0,0.5)}.videoAdUiInstreamUxRefresh .videoAdUiTopBarCollapsed{background:none}@media (max-width:640px),(max-height:320px){.videoAdUiInstreamUxRefresh .videoAdUiTopBarWithGradients{height:70px}}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .videoAdUiTopBarWithGradients{height:48px}.videoAdUiInstreamUxRefresh .videoAdUiTopBarTextContainer{height:32px}}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall{background-image:none;display:flex;flex-direction:column;align-items:center;justify-content:center}.unifyRefresh.unifyRefresh-tall:not(.engagement) .videoAdUiClickElement{order:2;height:56vw;margin:12px 0;position:static}.unifyRefresh.unifyRefresh-tall.engagement .videoAdUiClickElement{order:1;position:static}}.videoAdUiBottomBar{background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.5),rgba(0,0,0,0.4) 60%,rgba(0,0,0,0) 99%);background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.5),rgba(0,0,0,0.4) 60%,rgba(0,0,0,0) 99%);background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.5),rgba(0,0,0,0.4) 60%,rgba(0,0,0,0) 99%);background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.5),rgba(0,0,0,0.4) 60%,rgba(0,0,0,0) 99%);background-image:linear-gradient(bottom,rgba(0,0,0,0.5),rgba(0,0,0,0.4) 60%,rgba(0,0,0,0) 99%);bottom:0;padding:0;pointer-events:auto;position:absolute;width:100%;z-index:1000}.videoAdUiProgressBar{background-color:#fff;bottom:0;cursor:default;left:0;pointer-events:auto;position:absolute;width:100%;z-index:1000}.videoAdUiBuffer{height:4px;width:0%;display:none}.videoAdUiProgress{background-image:-webkit-linear-gradient(top,#ffec7b,#dea405);background-image:-moz-linear-gradient(top,#ffec7b,#dea405);background-image:-ms-linear-gradient(top,#ffec7b,#dea405);background-image:-o-linear-gradient(top,#ffec7b,#dea405);background-image:linear-gradient(top,#ffec7b,#dea405);border-right:solid 1px #666;height:4px;opacity:.9;width:0%}.videoAdUiAttributionContainer{color:#fff;display:inline-block;font-family:arial,sans-serif;font-weight:normal;font-size:11px;left:0;padding-right:10px;line-height:normal;padding:5px;pointer-events:auto;text-shadow:0 0 5px rgba(0,0,0,0.8);bottom:0;position:absolute;cursor:default}.videoAdUiAttribution{display:inline-block;opacity:.9;text-align:initial}.rtl .videoAdUiAttribution{direction:rtl}.videoAdUiInstreamUxRefresh .videoAdUiAttributionContainer{left:20px;font-family:Roboto,Helvetica,Arial,sans-serif;font-style:normal;font-weight:500;font-size:14px;line-height:10px}.videoAdUiInstreamUxRefresh .videoAdUiBottomBarCollapsed .videoAdUiAttributionContainer{display:none}.videoAdUiInstreamUxRefresh .videoAdUiBottomBar{background:none}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .videoAdUiAttributionContainer{font-size:10px}}@media all and (min-width:800px) and (min-height:400px){.videoAdUiAttribution{font-size:13px}}.videoAdUiWtaIconContainer{display:inline-block}.unifyRefresh.endcapUi .videoAdUiBottomBar{width:100%;flex-grow:0;min-height:40px;position:static;bottom:auto;background-image:none}.unifyRefresh.endcapUi.fullEndcapImage .videoAdUiBottomBar{min-height:0}@media (max-aspect-ratio:1/1){.unifyRefresh.endcapUi .videoAdUiBottomBar{min-height:0}}.videoAdUiLearnMore{color:#fff;cursor:pointer;display:inline-block;float:right;font-family:arial,sans-serif;font-weight:normal;font-size:16px;line-height:normal;padding:5px}.videoAdUiRtl .videoAdUiLearnMore{float:left}.learnMoreContainer{top:0;left:0;width:100%;height:100%;position:absolute;background:rgba(239,239,239,0.6)}.learnMoreButton{display:inline-block;position:absolute;top:58%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding:8px 18px;font-size:larger;font-family:sans-serif;color:#3e82f7;background-color:#fff;box-shadow:0 2px 2px 0 rgba(0,0,0,0.5);border:1px solid #ddd;text-decoration:none}.unifyRefresh .learnMoreContainer{position:absolute;margin:0 12px 12px 0;bottom:0;right:0;pointer-events:auto;z-index:calc(1000 + 1);width:auto;height:auto;left:auto;background:transparent;top:auto}.unifyRefresh.gma-instream .learnMoreContainer{margin:12px 12px 0 0;top:0;bottom:auto}.unifyRefresh .learnMoreButton{color:#fff;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:12px;background-color:#3c4043;border:none;border-radius:4px;-webkit-filter:drop-shadow(0 0 2px rgba(0,0,0,0.12)) drop-shadow(0 2px 2px rgba(0,0,0,0.24));filter:drop-shadow(0 0 2px rgba(0,0,0,0.12)) drop-shadow(0 2px 2px rgba(0,0,0,0.24));padding:8px 24px;text-align:center;position:static;top:auto;left:auto;-webkit-transform:none;transform:none;box-shadow:none}.unifyRefresh .learnMoreButton.black-learn-more-text{color:#000}.unifyRefresh .learnMoreButton.white-learn-more-button{background-color:#fff}.unifyRefresh.gma-instream .learnMoreButton{font-size:18px}.unifyRefresh.endcapUi .learnMoreContainer{order:2;margin:8px;position:static;top:auto;left:auto;width:auto;height:auto;-webkit-transform:none;transform:none;background:none}.unifyRefresh.endcapUi .learnMoreButton{padding:8px 24px;font-size:14px;font-family:Roboto,Helvetica,Arial,sans-serif;color:#3c4043;background-color:#fff;border-radius:4px;font-weight:bold;pointer-events:auto;text-align:center;position:static;top:auto;left:auto;width:auto;height:auto;-webkit-transform:none;transform:none;border:none;box-shadow:none}@media (max-width:480px){.learnMoreButton{padding:4px 9px}}.videoAdUiInstreamUxRefresh .learnMoreContainer{order:2;position:relative;width:auto;height:auto;background:none;margin-left:auto;padding:8px}.videoAdUiInstreamUxRefresh .learnMoreButton{position:relative;padding:15px;top:auto;left:auto;transform:none;font-size:18px;font-family:Roboto,Helvetica,Arial,sans-serif;border-radius:4px;font-weight:bold;pointer-events:auto;text-align:center;border:1px solid #b2b2b2;box-sizing:border-box;cursor:pointer;box-shadow:none;min-width:125px}.videoAdUiInstreamUxRefresh .videoAdUiTopBarCollapsed .learnMoreButton{color:#fff;background:rgba(0,0,0,0.2);border:1px solid #fff}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .learnMoreButton{padding:8px;font-size:12px;min-width:80px}}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall .learnMoreContainer{order:3;flex-basis:25vh;display:flex;flex-flow:column;align-items:center;justify-content:center;margin:0;position:static;top:auto;left:auto;width:auto;height:auto;-webkit-transform:none;transform:none;border:none;box-shadow:none}.unifyRefresh.unifyRefresh-tall.engagement .learnMoreContainer{bottom:12px;background:none;order:4;flex-basis:10vh}.unifyRefresh.unifyRefresh-tall.engagement .learnMoreButton{padding:none}.unifyRefresh.unifyRefresh-tall .learnMoreButton{font-size:15px;letter-spacing:.54px;padding:12px 24px;min-width:140px;max-width:80vh}.unifyRefresh.endcapUi .learnMoreButton{padding:12px 48px}}.videoAdUiLearnMoreText{color:#e5bb00;cursor:pointer;font-family:arial,sans-serif;font-weight:normal;font-size:13px;line-height:normal;margin-bottom:5px;opacity:.9;text-align:center}.videoAdUiLearnMoreText:hover{text-decoration:underline}.videoAdUiLearnMoreText-gvn{display:inline-block;float:right;padding:5px;padding-right:10px}.videoAdUiLearnMoreIcon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKBAMAAAB/HNKOAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEUAAAD/0AD/0AD/0QD/0gD/zwD/0AD/0AD/1QD/zwD///+x1gNuAAAACnRSTlMAcuWrVY9HyCpk8FcvuAAAAAFiS0dECmjQ9FYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA5SURBVAjXFcm5DQAgEMRA84oWyE5LQE4FiB7ovxUOB5MYCBpAlljiCIP7LftgdfqzoOS2HvnXlccDfz8EBUmGo6EAAAAASUVORK5CYII=);display:inline-block;height:10px;margin-left:3px;width:10px}.overlayContainer{position:relative;display:inline-block}.overlayContainer.clickable img{cursor:pointer}.overlayContainer.clickable .overlayTextContainer{cursor:pointer}.autoalign{text-align:center;bottom:0}.nonLinearContainer{position:absolute;width:100%}.overlayContainer.scalable{min-width:320px;max-width:450px;width:100%;margin:auto}.overlayTextContainer{background-image:-webkit-linear-gradient(top,rgba(20,20,20,0.6),rgba(209,209,209,0.6));background-image:-moz-linear-gradient(top,rgba(20,20,20,0.6),rgba(209,209,209,0.6));background-image:-ms-linear-gradient(top,rgba(20,20,20,0.6),rgba(209,209,209,0.6));background-image:-o-linear-gradient(top,rgba(20,20,20,0.6),rgba(209,209,209,0.6));background-image:linear-gradient(top,rgba(20,20,20,0.6),rgba(209,209,209,0.6));border:1px solid rgba(102,102,102,0.7);border-radius:3px;text-align:left;margin-bottom:5px;padding-left:10px;padding-top:3px;padding-bottom:10px}.overlayTextImage{box-shadow:rgba(0,0,0,0.5) 0 3px 5px;height:57px;width:79px}.textImageDuration{background:#000;color:#fff;font:10px arial,sans-serif;padding:2px;position:absolute;right:0;bottom:7px}.overlayTextTitle{text-decoration:underline;color:#fff;display:block;font:bold 14px arial,sans-serif;margin:7px 16px 0 0;overflow:hidden;padding-bottom:4px;text-overflow:ellipsis;text-shadow:rgba(0,0,0,0.7) 0 4px 4px;white-space:nowrap}.overlayTextDescription{color:#fff;font:12px arial,sans-serif;margin-top:-3px;overflow:hidden;text-overflow:ellipsis;text-shadow:rgba(0,0,0,0.7) 0 4px 4px;white-space:nowrap}.overlayTextUrl{bottom:7px;color:#f9fcc0;font:bold 11px arial,sans-serif;left:10px;text-decoration:none;text-shadow:rgba(0,0,0,0.7) 0 4px 4px}.textImageContainer{float:left;position:relative;margin:3px 10px 0 0}.overlayTextAttribution{bottom:12px;color:#fff;font:11px arial,sans-serif;position:absolute;right:5px;text-decoration:none;text-shadow:rgba(0,0,0,0.7) 0 4px 4px}.unifyRefresh .videoAdUiPlayPauseControl{opacity:0;pointer-events:none;-webkit-transition:opacity 200ms;-moz-transition:opacity 200ms;-o-transition:opacity 200ms;transition:opacity 200ms;-webkit-filter:drop-shadow(0 0 10px rgba(0,0,0,0.5));filter:drop-shadow(0 0 10px rgba(0,0,0,0.5))}.unifyRefresh .videoAdUiPlayPauseControl.fade-in{opacity:1;pointer-events:auto}.unifyRefresh .videoAdUiPlayPauseControl svg{width:56px;height:56px}.videoAdUiPlayPauseControl.fullScreen{opacity:0;pointer-events:none;-webkit-transition:opacity 200ms;-moz-transition:opacity 200ms;-o-transition:opacity 200ms;transition:opacity 200ms;-webkit-filter:drop-shadow(0 0 10px rgba(0,0,0,0.5));filter:drop-shadow(0 0 10px rgba(0,0,0,0.5));height:100%;width:100%;background-color:rgba(0,0,0,0.5);display:flex;justify-content:center;align-items:center}.videoAdUiPlayPauseControl.fullScreen.fade-in{opacity:1;pointer-events:auto}.videoAdUiPlayPauseControl.fullScreen .videoAdUiPauseIcon{width:80px;height:80px}.videoAdUiPlayPauseControl.fullScreen svg{width:80px;height:80px}@media (max-width:300px),(max-height:150px){.videoAdUiPlayPauseControl.fullScreen .videoAdUiPauseIcon{width:40px;height:40px}.videoAdUiPlayPauseControl.fullScreen svg{width:40px;height:40px}}.recallButtonContainer{height:12px;width:24px}.autoalign .recallButtonContainer{margin:auto}.recallButtonBackground{width:100%;height:100%;background-color:rgba(200,200,200,.5);border:solid rgba(255,255,255,.5) 1px}.recallButtonBackground:hover{background-color:#fff;border:solid rgba(0,0,0,.5) 1px}.recallButtonIcon{z-index:1000;cursor:pointer}.videoAdUiPreSkipContainer{bottom:22px;cursor:default;padding:15px 0 15px 15px;pointer-events:auto;position:absolute;right:0;z-index:1000}#google-rewarded-video .videoAdUiPreSkipContainer{bottom:55px}.limaRewardedUiV2 .videoAdUiPreSkipContainer{bottom:0}.videoAdUi-mobile .videoAdUiPreSkipContainer{bottom:11px;padding:8px 0 8px 8px}.videoAdUiPreSkipButton{background:rgba(0,0,0,0.8);min-width:155px;padding:6px}.videoAdUi-mobile .videoAdUiPreSkipButton{min-width:105px}.noTextSkipButton .videoAdUiPreSkipButton{min-width:30px}.videoAdUiPreSkipText{color:#e6e6e6;font-family:arial,sans-serif;font-weight:normal;font-size:11px;line-height:21px;padding-right:0;text-align:center;display:inline-block;width:100%;vertical-align:middle}.gma-instream .videoAdUiPreSkipText{font-size:14px;line-height:24px}.videoAdUiSkipContainer{-webkit-tap-highlight-color:rgba(0,0,0,0);bottom:22px;cursor:pointer;padding:15px 0 15px 15px;pointer-events:auto;position:absolute;right:0;z-index:1000}#google-rewarded-video .videoAdUiSkipContainer{bottom:55px}.videoAdUi-mobile .videoAdUiSkipContainer{bottom:11px;padding:8px 0 8px 8px}.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,.videoAdUiSkipWidgetV2 .videoAdUiSkipContainer{bottom:0}.raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,.raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiSkipContainer,.gma-instream .videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,.gma-instream .videoAdUiSkipWidgetV2 .videoAdUiSkipContainer{bottom:22px}.videoAdUi-mobile .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,.videoAdUi-mobile .raisedSkipButton.videoAdUiSkipWidgetV2 .videoAdUiSkipContainer{bottom:11px}.raisedSkipButton .videoAdUiAction:focus{margin:1px}.videoAdUiAction{-webkit-tap-highlight-color:rgba(0,0,0,0);background:rgba(0,0,0,0.8);border:1px solid rgba(255,255,255,0.5);border-right:0;box-sizing:content-box;color:#fff;cursor:pointer;direction:ltr;font-family:arial,sans-serif;font-weight:normal;font-size:18px;line-height:normal;min-width:150px;padding:10px 7px;text-align:center}.videoAdUiAction.autofocused:focus{outline-width:0}.videoAdUi-mobile .videoAdUiAction{font-size:16px;min-width:100px;padding:6px 7px}.videoAdUiAction:hover{border-color:rgba(255,255,255,1)}.gma-instream .videoAdUiAction{border-width:0;background:rgba(0,0,0,0.7)}.videoAdUiSkipButtonExperimentalText{display:inline-block;font-size:18px;vertical-align:middle;width:initial}.videoAdUiSkipIcon{display:inline-block;height:24px;margin-left:2px;vertical-align:middle;width:24px}.videoAdUiSkipIcon>svg{fill:white;height:24px;width:24px;-webkit-filter:drop-shadow(0 1px 5px rgba(0,0,0,0.2));filter:drop-shadow(0 1px 5px rgba(0,0,0,0.2))}.gma-instream .videoAdUiSkipIcon{margin-left:5px}.videoAdUiSkipButton{line-height:normal;min-width:0;padding:7px 6px 7px 10px;width:auto;margin:0}.gma-instream .videoAdUiSkipButton{padding-left:15px;padding-right:8px;font-size:18px}@media all and (min-width:800px) and (min-height:400px){.videoAdUiPreSkipButton{min-width:200px}.videoAdUiPreSkipText{font-size:13px;padding-right:6px}.gma-instream .videoAdUiPreSkipText{font-size:18px}.raisedSkipButton .videoAdUiAction{min-width:200px!important}}.videoAdUiInstreamUxRefresh .videoAdUiPreSkipButton{border-radius:4px 0 0 4px;padding:6px 0;min-width:20px}.videoAdUiInstreamUxRefresh .videoAdUiPreSkipText{font-size:14px}.videoAdUiInstreamUxRefresh .videoAdUiSkipButton{border-radius:4px 0 0 4px}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .videoAdUiPreSkipText{font-size:12px}.videoAdUiInstreamUxRefresh .videoAdUiSkipButtonExperimentalText{font-size:12px}.videoAdUiInstreamUxRefresh .videoAdUiSkipButton{padding:3px 4px;min-width:60px}.videoAdUiInstreamUxRefresh .videoAdUiSkipIcon{height:16px;width:16px}.videoAdUiInstreamUxRefresh .videoAdUiSkipIcon>svg{height:16px;width:16px}.videoAdUiInstreamUxRefresh .videoAdUiSkipWidgetV2 .videoAdUiPreSkipContainer,.videoAdUiInstreamUxRefresh .videoAdUiSkipWidgetV2 .videoAdUiSkipContainer{bottom:0!important}}.videoAdUiIcon{background:#000;display:inline-block;height:40px;margin:0 10px;position:absolute}.videoAdUiIconImage{cursor:pointer;width:40px;height:40px}.videoAdUiIconImage:hover{opacity:.6}.videoAdUiIconV2{display:inline-block;position:relative;z-index:1000}.videoAdUiIconV2>img{cursor:pointer}.videoAdUiIconV2>img:hover{opacity:.6}.authorIcon.videoAdUiIconV2{background:#000;height:40px;margin:0 10px;background:none}.authorIcon.videoAdUiIconV2>img{width:40px;height:40px}.vastIcon.videoAdUiIconV2{height:20px;width:100px;margin:2px;pointer-events:auto}.vastIcon.videoAdUiIconV2>img{max-width:100%;max-height:100%;display:block}.unifyRefresh .authorIcon.videoAdUiIconV2{height:40px;width:40px;margin:0 8px 0 0}.unifyRefresh .authorIcon.videoAdUiIconV2>img{width:100%;height:100%}.videoAdUiInstreamUxRefresh .authorIcon.videoAdUiIconV2{order:0;margin:8px;height:54px;font-size:18px}.videoAdUiInstreamUxRefresh .authorIcon.videoAdUiIconV2>img{width:54px;height:54px}.videoAdUiInstreamUxRefresh .videoAdUiTopBarCollapsed .authorIcon.videoAdUiIconV2{display:none}@media (max-width:300px),(max-height:150px){.videoAdUiInstreamUxRefresh .authorIcon.videoAdUiIconV2{height:32px}.videoAdUiInstreamUxRefresh .authorIcon.videoAdUiIconV2>img{width:32px;height:32px}}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall:not(.engagement) .authorIcon.videoAdUiIconV2{order:1;flex-grow:0;height:56px;width:56px;margin:0}.unifyRefresh.unifyRefresh-tall.engagement .authorIcon.videoAdUiIconV2{margin:16px}}.unifyRefresh.endcapUi .authorIcon.videoAdUiIconV2{height:56px;width:56px;margin:8px}.videoAdUiIconFallback{position:fixed;overflow:hidden;left:50%;top:50%;object-fit:none;transform:translate(-50%,-50%)}.wtaIcon{cursor:pointer;padding:5px;position:relative;top:3px}.unifyRefresh .videoAdUiWtaIconContainer{pointer-events:auto;display:flex;flex-flow:row;align-items:center;justify-content:flex-start;margin:4px 8px;position:absolute}.unifyRefresh .wtaIcon{position:static;padding:0 4px}.unifyRefresh .wtaIcon>svg{fill:white;height:16px;width:16px;-webkit-filter:drop-shadow(0 1px 5px rgba(0,0,0,0.2));filter:drop-shadow(0 1px 5px rgba(0,0,0,0.2))}.unifyRefresh .wtaIconAdBadge{font-family:Roboto,Helvetica,Arial,sans-serif;font-size:12px;padding:0 4px;background-color:transparent;border-style:solid;border-width:thin;border-color:white;border-radius:2px;color:white}@media (max-aspect-ratio:1/1){.unifyRefresh.unifyRefresh-tall .wtaIconAdBadge{color:rgba(0,0,0,0.56);border-color:rgba(0,0,0,0.56)}.unifyRefresh.unifyRefresh-tall .wtaIcon>svg{fill:rgba(0,0,0,0.56);-webkit-filter:unset;filter:unset}}.overlayContainer .videoAdUiWtaIconContainer{position:absolute;top:6px;right:30px}.videoAdUiInstreamUxRefresh .videoAdUiWtaIconContainer{pointer-events:auto;display:flex;flex-flow:row;align-items:center;justify-content:flex-start;padding:2px 0;order:0}.videoAdUiInstreamUxRefresh .wtaIconAdBadge{font-family:Roboto,Helvetica,Arial,sans-serif;padding-left:4px;color:#80868b;background-color:#fff;height:17px;width:32px;border:1px solid #e8eaed;font-size:12px;border-radius:4px;margin-left:-4px;margin-bottom:-4px}.videoAdUiInstreamUxRefresh .wtaIconAdBadge>svg{fill:#80868b;height:16px;width:16px;margin-bottom:-4px}</style><script type="text/javascript">// Copyright 2011 Google Inc. All Rights Reserved.
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},p=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},u=function(a){if(!(a instanceof Array)){a=p(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ba="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ca;
if("function"==typeof Object.setPrototypeOf)ca=Object.setPrototypeOf;else{var da;a:{var ea={xk:!0},fa={};try{fa.__proto__=ea;da=fa.xk;break a}catch(a){}da=!1}ca=da?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ha=ca,w=function(a,b){a.prototype=ba(b.prototype);a.prototype.constructor=a;if(ha)ha(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.uc=b.prototype},ia=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},ka=ia(this),la="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ma=function(a,b){if(b){var c=ka;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&la(c,a,{configurable:!0,writable:!0,value:b})}};
ma("Promise",function(a){function b(){this.g=null}function c(g){return g instanceof e?g:new e(function(k){k(g)})}if(a)return a;b.prototype.h=function(g){if(null==this.g){this.g=[];var k=this;this.i(function(){k.o()})}this.g.push(g)};var d=ka.setTimeout;b.prototype.i=function(g){d(g,0)};b.prototype.o=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var k=0;k<g.length;++k){var l=g[k];g[k]=null;try{l()}catch(m){this.l(m)}}}this.g=null};b.prototype.l=function(g){this.i(function(){throw g;
})};var e=function(g){this.h=0;this.i=void 0;this.g=[];var k=this.o();try{g(k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.o=function(){function g(m){return function(n){l||(l=!0,m.call(k,n))}}var k=this,l=!1;return{resolve:g(this.F),reject:g(this.l)}};e.prototype.F=function(g){if(g===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.J(g);else{a:switch(typeof g){case "object":var k=null!=g;break a;case "function":k=!0;break a;default:k=!1}k?this.C(g):
this.u(g)}};e.prototype.C=function(g){var k=void 0;try{k=g.then}catch(l){this.l(l);return}"function"==typeof k?this.ca(k,g):this.u(g)};e.prototype.l=function(g){this.H(2,g)};e.prototype.u=function(g){this.H(1,g)};e.prototype.H=function(g,k){if(0!=this.h)throw Error("Cannot settle("+g+", "+k+"): Promise already settled in state"+this.h);this.h=g;this.i=k;this.w()};e.prototype.w=function(){if(null!=this.g){for(var g=0;g<this.g.length;++g)f.h(this.g[g]);this.g=null}};var f=new b;e.prototype.J=function(g){var k=
this.o();g.uf(k.resolve,k.reject)};e.prototype.ca=function(g,k){var l=this.o();try{g.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.then=function(g,k){function l(v,t){return"function"==typeof v?function(A){try{m(v(A))}catch(r){n(r)}}:t}var m,n,q=new e(function(v,t){m=v;n=t});this.uf(l(g,m),l(k,n));return q};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.uf=function(g,k){function l(){switch(m.h){case 1:g(m.i);break;case 2:k(m.i);break;default:throw Error("Unexpected state: "+
m.h);}}var m=this;null==this.g?f.h(l):this.g.push(l)};e.resolve=c;e.reject=function(g){return new e(function(k,l){l(g)})};e.race=function(g){return new e(function(k,l){for(var m=p(g),n=m.next();!n.done;n=m.next())c(n.value).uf(k,l)})};e.all=function(g){var k=p(g),l=k.next();return l.done?c([]):new e(function(m,n){function q(A){return function(r){v[A]=r;t--;0==t&&m(v)}}var v=[],t=0;do v.push(void 0),t++,c(l.value).uf(q(v.length-1),n),l=k.next();while(!l.done)})};return e});
var na=function(){na=function(){};ka.Symbol||(ka.Symbol=oa)},pa=function(a,b){this.g=a;la(this,"description",{configurable:!0,writable:!0,value:b})};pa.prototype.toString=function(){return this.g};
var oa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new pa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),ra=function(){na();var a=ka.Symbol.iterator;a||(a=ka.Symbol.iterator=ka.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&la(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return qa(aa(this))}});ra=function(){}},qa=function(a){ra();a={next:a};a[ka.Symbol.iterator]=function(){return this};return a},
sa=function(){this.o=!1;this.i=null;this.h=void 0;this.g=1;this.H=0;this.l=null},ta=function(a){if(a.o)throw new TypeError("Generator is already running");a.o=!0};sa.prototype.u=function(a){this.h=a};var ua=function(a,b){a.l={Ik:b,Yk:!0};a.g=a.H};sa.prototype.return=function(a){this.l={return:a};this.g=this.H};
var va=function(a,b,c){a.g=c;return{value:b}},wa=function(a){this.g=new sa;this.h=a},za=function(a,b){ta(a.g);var c=a.g.i;if(c)return xa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return ya(a)},xa=function(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.o=!1,e;var f=e.value}catch(g){return a.g.i=null,ua(a.g,g),ya(a)}a.g.i=null;d.call(a.g,f);return ya(a)},
ya=function(a){for(;a.g.g;)try{var b=a.h(a.g);if(b)return a.g.o=!1,{value:b.value,done:!1}}catch(c){a.g.h=void 0,ua(a.g,c)}a.g.o=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.Yk)throw b.Ik;return{value:b.return,done:!0}}return{value:void 0,done:!0}},Aa=function(a){this.next=function(b){ta(a.g);a.g.i?b=xa(a,a.g.i.next,b,a.g.u):(a.g.u(b),b=ya(a));return b};this.throw=function(b){ta(a.g);a.g.i?b=xa(a,a.g.i["throw"],b,a.g.u):(ua(a.g,b),b=ya(a));return b};this.return=function(b){return za(a,b)};ra();this[Symbol.iterator]=
function(){return this}},Ba=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})},Ca=function(a){return Ba(new Aa(new wa(a)))};ma("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
var Da=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};ma("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Da(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
ma("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Da(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});var Ea=function(a,b){ra();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};
ma("Array.prototype.keys",function(a){return a?a:function(){return Ea(this,function(b){return b})}});ma("Array.prototype.values",function(a){return a?a:function(){return Ea(this,function(b,c){return c})}});var Fa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},Ga="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Fa(d,e)&&(a[e]=d[e])}return a};ma("Object.assign",function(a){return a||Ga});
ma("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});ma("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});
ma("WeakMap",function(a){function b(){}function c(l){var m=typeof l;return"object"===m&&null!==l||"function"===m}function d(l){if(!Fa(l,f)){var m=new b;la(l,f,{value:m})}}function e(l){var m=Object[l];m&&(Object[l]=function(n){if(n instanceof b)return n;d(n);return m(n)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),n=new a([[l,2],[m,3]]);if(2!=n.get(l)||3!=n.get(m))return!1;n.delete(l);n.set(m,4);return!n.has(l)&&4==n.get(m)}catch(q){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,k=function(l){this.g=(g+=Math.random()+1).toString();if(l){l=p(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};k.prototype.set=function(l,m){if(!c(l))throw Error("Invalid WeakMap key");d(l);if(!Fa(l,f))throw Error("WeakMap key fail: "+l);l[f][this.g]=m;return this};k.prototype.get=function(l){return c(l)&&Fa(l,f)?l[f][this.g]:void 0};k.prototype.has=function(l){return c(l)&&Fa(l,f)&&Fa(l[f],
this.g)};k.prototype.delete=function(l){return c(l)&&Fa(l,f)&&Fa(l[f],this.g)?delete l[f][this.g]:!1};return k});
ma("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),l=new a(p([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),n=m.next();if(n.done||n.value[0]!=k||"s"!=n.value[1])return!1;n=m.next();return n.done||4!=n.value[0].x||"t"!=n.value[1]||!m.next().done?!1:!0}catch(q){return!1}}())return a;ra();var b=new WeakMap,c=function(k){this.h={};this.g=
f();this.size=0;if(k){k=p(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}};c.prototype.set=function(k,l){k=0===k?0:k;var m=d(this,k);m.list||(m.list=this.h[m.id]=[]);m.fb?m.fb.value=l:(m.fb={next:this.g,Vc:this.g.Vc,head:this.g,key:k,value:l},m.list.push(m.fb),this.g.Vc.next=m.fb,this.g.Vc=m.fb,this.size++);return this};c.prototype.delete=function(k){k=d(this,k);return k.fb&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.h[k.id],k.fb.Vc.next=k.fb.next,k.fb.next.Vc=k.fb.Vc,
k.fb.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.h={};this.g=this.g.Vc=f();this.size=0};c.prototype.has=function(k){return!!d(this,k).fb};c.prototype.get=function(k){return(k=d(this,k).fb)&&k.value};c.prototype.entries=function(){return e(this,function(k){return[k.key,k.value]})};c.prototype.keys=function(){return e(this,function(k){return k.key})};c.prototype.values=function(){return e(this,function(k){return k.value})};c.prototype.forEach=function(k,l){for(var m=this.entries(),
n;!(n=m.next()).done;)n=n.value,k.call(l,n[1],n[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(k,l){var m=l&&typeof l;"object"==m||"function"==m?b.has(l)?m=b.get(l):(m=""+ ++g,b.set(l,m)):m="p_"+l;var n=k.h[m];if(n&&Fa(k.h,m))for(k=0;k<n.length;k++){var q=n[k];if(l!==l&&q.key!==q.key||l===q.key)return{id:m,list:n,index:k,fb:q}}return{id:m,list:n,index:-1,fb:void 0}},e=function(k,l){var m=k.g;return qa(function(){if(m){for(;m.head!=k.g;)m=m.Vc;for(;m.next!=m.head;)return m=
m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})},f=function(){var k={};return k.Vc=k.next=k.head=k},g=0;return c});ma("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ma("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
ma("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Da(this,b,"includes").indexOf(b,c||0)}});
ma("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(p([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;ra();var b=function(c){this.g=new Map;
if(c){c=p(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};b.prototype.add=function(c){c=0===c?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});ma("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
ma("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});ma("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});ma("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});ma("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Fa(b,d)&&c.push(b[d]);return c}});
ma("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Fa(b,d)&&c.push([d,b[d]]);return c}});
var Ha=Ha||{},x=this||self,Ia=function(a,b,c){a=a.split(".");c=c||x;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Ja=/^[\w+/_-]+[=]{0,2}$/,Ka=null,La=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&Ja.test(a)?a:""},Ma=function(a){a=a.split(".");for(var b=x,c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;
return b},Na=function(){},Oa=function(a){a.qh=void 0;a.D=function(){return a.qh?a.qh:a.qh=new a}},Pa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=
typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},Qa=function(a){return"array"==Pa(a)},Ra=function(a){var b=Pa(a);return"array"==b||"object"==b&&"number"==typeof a.length},Sa=function(a){return"function"==Pa(a)},Ta=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Wa=function(a){return Object.prototype.hasOwnProperty.call(a,Ua)&&
a[Ua]||(a[Ua]=++Va)},Ua="closure_uid_"+(1E9*Math.random()>>>0),Va=0,Xa=function(a,b,c){return a.call.apply(a.bind,arguments)},Ya=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},Za=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
Za=Xa:Za=Ya;return Za.apply(null,arguments)},$a=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},ab=Date.now||function(){return+new Date},bb=function(a,b){function c(){}c.prototype=b.prototype;a.uc=b.prototype;a.prototype=new c;a.prototype.constructor=a};var cb=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,cb);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};bb(cb,Error);cb.prototype.name="CustomError";var db;var eb=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");cb.call(this,c+a[d])};bb(eb,cb);eb.prototype.name="AssertionError";var fb=function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},y=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},gb=function(a,b){for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)},ib=function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var k=
f[g];b.call(void 0,k,g,a)&&(d[e++]=k)}return d},jb=function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},kb=function(a,b,c){var d=c;y(a,function(e,f){d=b.call(void 0,d,e,f,a)});return d},lb=function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},ob=function(a,b){b=nb(a,b,void 0);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]},nb=function(a,
b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1},pb=function(a,b){for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},qb=function(a,b){return 0<=fb(a,b)},rb=function(a,b){b=fb(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c},sb=function(a,b){var c=0;gb(a,function(d,e){b.call(void 0,d,e,a)&&1==Array.prototype.splice.call(a,e,1).length&&c++})},
tb=function(a){return Array.prototype.concat.apply([],arguments)},ub=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},wb=function(a,b,c,d){Array.prototype.splice.apply(a,vb(arguments,1))},vb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},xb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=Ta(f)?"o"+Wa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||
(b[f]=!0,a[c++]=e)}a.length=c},zb=function(a,b){a.sort(b||yb)},yb=function(a,b){return a>b?1:a<b?-1:0},Ab=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b},Bb=function(a,b){return tb.apply([],jb(a,b,void 0))};var Db=function(a,b){return 0==a.lastIndexOf(b,0)},Eb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},Fb=function(a,b){var c=String(b).toLowerCase();a=String(a.substr(0,b.length)).toLowerCase();return 0==(c<a?-1:c==a?0:1)},z=function(a){return/^[\s\xa0]*$/.test(a)},Gb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ob=function(a,b){if(b)a=a.replace(Hb,"&").replace(Ib,"<").replace(Jb,">").replace(Kb,""").replace(Lb,
"'").replace(Mb,"�");else{if(!Nb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Hb,"&"));-1!=a.indexOf("<")&&(a=a.replace(Ib,"<"));-1!=a.indexOf(">")&&(a=a.replace(Jb,">"));-1!=a.indexOf('"')&&(a=a.replace(Kb,"""));-1!=a.indexOf("'")&&(a=a.replace(Lb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Mb,"�"))}return a},Hb=/&/g,Ib=/</g,Jb=/>/g,Kb=/"/g,Lb=/'/g,Mb=/\x00/g,Nb=/[\x00&<>"']/,Pb=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())},Rb=function(a,b){var c=
0;a=Gb(String(a)).split(".");b=Gb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;c=Qb(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||Qb(0==f[2].length,0==g[2].length)||Qb(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return c},Qb=function(a,b){return a<b?-1:a>b?1:0};var Sb;a:{var Tb=x.navigator;if(Tb){var Ub=Tb.userAgent;if(Ub){Sb=Ub;break a}}Sb=""}var B=function(a){return-1!=Sb.indexOf(a)},Vb=function(a){for(var b=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};var Wb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Xb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Yb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},$b=function(a){var b=Zb,c;for(c in b)if(!a.call(void 0,b[c],c,b))return!1;return!0},ac=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},bc=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},cc=function(a,b){var c=Ra(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==
a)return;a=a[d[c]]}return a},dc=function(a,b){return null!==a&&b in a},ec=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},gc=function(a){var b=fc,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},hc=function(a){for(var b in a)return!1;return!0},ic=function(a){for(var b in a)delete a[b]},jc=function(a,b,c){return null!==a&&b in a?a[b]:c},kc=function(a){var b={},c;for(c in a)b[c]=a[c];return b},lc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),
mc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<lc.length;f++)c=lc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var nc=function(){return B("Opera")},oc=function(){return B("Trident")||B("MSIE")},pc=function(){return B("Firefox")||B("FxiOS")},rc=function(){return B("Safari")&&!(qc()||B("Coast")||nc()||B("Edge")||B("Edg/")||B("OPR")||pc()||B("Silk")||B("Android"))},qc=function(){return(B("Chrome")||B("CriOS"))&&!B("Edge")},sc=function(){return B("Android")&&!(qc()||pc()||nc()||B("Silk"))},uc=function(){function a(e){e=ob(e,d);return c[e]||""}var b=Sb;if(oc())return tc(b);b=Vb(b);var c={};y(b,function(e){c[e[0]]=
e[1]});var d=$a(dc,c);return nc()?a(["Version","Opera"]):B("Edge")?a(["Edge"]):B("Edg/")?a(["Edg"]):qc()?a(["Chrome","CriOS","HeadlessChrome"]):(b=b[2])&&b[1]||""},tc=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};var vc=function(a){return function(){return a}},wc=function(){return null},xc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},yc=function(a){var b=0,c=!1,d=[],e=function(){b=0;c&&(c=!1,f())},f=function(){b=x.setTimeout(e,1E3);a.apply(void 0,d)};return function(g){d=arguments;b?c=!0:f()}};var zc={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var Cc=function(a,b){this.g=a===Ac&&b||"";this.h=Bc};Cc.prototype.oc=!0;Cc.prototype.Sb=function(){return this.g};var Dc=function(a){return a instanceof Cc&&a.constructor===Cc&&a.h===Bc?a.g:"type_error:Const"},Ec=function(a){return new Cc(Ac,a)},Bc={},Ac={};var Fc=/[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]/;var Ic=function(a,b){this.h=a===Gc&&b||"";this.i=Hc};Ic.prototype.oc=!0;Ic.prototype.Sb=function(){return this.h.toString()};Ic.prototype.oh=!0;Ic.prototype.g=function(){return 1};
var Jc=function(a){if(a instanceof Ic&&a.constructor===Ic&&a.i===Hc)return a.h;Pa(a);return"type_error:TrustedResourceUrl"},Nc=function(a,b){var c=Dc(a);if(!Kc.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Lc,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof Cc?Dc(d):encodeURIComponent(String(d))});return Mc(a)},
Lc=/%{(\w+)}/g,Kc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Hc={},Mc=function(a){return new Ic(Gc,a)},Gc={};var Qc=function(a,b){this.h=a===Oc&&b||"";this.i=Pc};Qc.prototype.oc=!0;Qc.prototype.Sb=function(){return this.h.toString()};Qc.prototype.oh=!0;Qc.prototype.g=function(){return 1};
var Rc=function(a){if(a instanceof Qc&&a.constructor===Qc&&a.i===Pc)return a.h;Pa(a);return"type_error:SafeUrl"},Sc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Tc=function(a){if(a instanceof Qc)return a;a="object"==typeof a&&a.oc?a.Sb():String(a);Sc.test(a)||(a="about:invalid#zClosurez");return new Qc(Oc,a)},Uc=function(a){if(a instanceof Qc)return a;a="object"==typeof a&&a.oc?a.Sb():String(a);Sc.test(a)||(a="about:invalid#zClosurez");return new Qc(Oc,a)},Pc={},Oc={};var Wc=function(){this.g="";this.h=Vc};Wc.prototype.oc=!0;var Vc={};Wc.prototype.Sb=function(){return this.g};
var Xc=function(a){if(a instanceof Wc&&a.constructor===Wc&&a.h===Vc)return a.g;Pa(a);return"type_error:SafeStyle"},Yc=function(a){var b=new Wc;b.g=a;return b},Zc=Yc(""),ad=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?jb(d,$c).join(" "):$c(d),b+=c+":"+d+";")}return b?Yc(b):Zc},$c=function(a){if(a instanceof Qc)return'url("'+Rc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof
Cc?Dc(a):bd(String(a));if(/[{;}]/.test(a))throw new eb("Value does not allow [{;}], got: %s.",[a]);return a},bd=function(a){var b=a.replace(cd,"$1").replace(cd,"$1").replace(dd,"url");if(ed.test(b)){if(fd.test(a))return"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c||!gd(a))return"zClosurez"}else return"zClosurez";return hd(a)},gd=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;
b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},ed=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,dd=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,cd=/\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,fd=/\/\*/,hd=function(a){return a.replace(dd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=Tc(d).Sb();
return c+f+b+f+e})};var jd=function(){this.g="";this.h=id};jd.prototype.oc=!0;
var id={},ld=function(a,b){if(-1!=a.indexOf("<"))throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var g=c[f];if(d[g])e.push(d[g]);else if(ec(d,g)&&e.pop()!=g){c=!1;break a}}c=0==e.length}if(!c)throw Error("() and [] in selector must be balanced, got: "+a);
b instanceof Wc||(b=ad(b));a=a+"{"+Xc(b).replace(/</g,"\\3C ")+"}";return kd(a)},nd=function(a){var b="",c=function(d){Array.isArray(d)?y(d,c):b+=md(d)};y(arguments,c);return kd(b)};jd.prototype.Sb=function(){return this.g};var md=function(a){if(a instanceof jd&&a.constructor===jd&&a.h===id)return a.g;Pa(a);return"type_error:SafeStyleSheet"},kd=function(a){var b=new jd;b.g=a;return b},od=kd("");var qd=function(){this.h="";this.l=pd;this.i=null};qd.prototype.oh=!0;qd.prototype.g=function(){return this.i};qd.prototype.oc=!0;qd.prototype.Sb=function(){return this.h.toString()};
var rd=function(a){if(a instanceof qd&&a.constructor===qd&&a.l===pd)return a.h;Pa(a);return"type_error:SafeHtml"},td=function(a){if(a instanceof qd)return a;var b="object"==typeof a,c=null;b&&a.oh&&(c=a.g());return sd(Ob(b&&a.oc?a.Sb():String(a)),c)},ud=/^[a-zA-Z0-9-]+$/,vd={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},wd={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},yd=function(a){var b=td(xd),c=b.g(),
d=[],e=function(f){Array.isArray(f)?y(f,e):(f=td(f),d.push(rd(f).toString()),f=f.g(),0==c?c=f:0!=f&&c!=f&&(c=null))};y(a,e);return sd(d.join(rd(b).toString()),c)},zd=function(a){return yd(Array.prototype.slice.call(arguments))},pd={},sd=function(a,b){return Bd(a,b)},Bd=function(a,b){var c=new qd;c.h=a;c.i=b;return c},Cd=new qd;Cd.h=x.trustedTypes?x.trustedTypes.emptyHTML:"";Cd.i=0;var xd=Cd;var Dd=xc(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=rd(xd);return!b.parentElement}),Ed=function(a,b){if(Dd())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=rd(b)},Fd=function(a,b){Ed(a,b)},Gd=function(a,b){a.src=Jc(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=x?b=La(b.document):(null===Ka&&(Ka=La(x.document)),b=Ka);b&&a.setAttribute("nonce",
b)};var Hd=function(a){return decodeURIComponent(a.replace(/\+/g," "))},Id=function(a){return a=Ob(a,void 0)},Jd=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Kd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},C=function(a){return null==a?"":String(a)},Ld=function(a){return Array.prototype.join.call(arguments,"")},Md=2147483648*Math.random()|0,Nd=function(a){var b=Number(a);return 0==b&&z(a)?NaN:b},Od=function(a){return String(a).replace(/\-([a-z])/g,
function(b,c){return c.toUpperCase()})},Pd=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},Qd=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})},Rd=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};var Sd=function(){return B("iPhone")&&!B("iPod")&&!B("iPad")},Td=function(){return Sd()||B("iPad")||B("iPod")};var Ud=function(a){Ud[" "](a);return a};Ud[" "]=Na;var Vd=function(a,b){try{return Ud(a[b]),!0}catch(c){}return!1},Xd=function(a,b){var c=Wd;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Yd=nc(),Zd=oc(),$d=B("Edge"),ae=B("Gecko")&&!(Pb(Sb,"WebKit")&&!B("Edge"))&&!(B("Trident")||B("MSIE"))&&!B("Edge"),be=Pb(Sb,"WebKit")&&!B("Edge"),ce=be&&B("Mobile"),de,ee=x.navigator||null;de=ee&&ee.platform||"";var fe=B("Macintosh"),ge=B("Windows"),he=B("Android"),ie=Sd(),je=B("iPad"),ke=B("iPod"),le=Td(),me=function(){var a=x.document;return a?a.documentMode:void 0},ne;
a:{var oe="",pe=function(){var a=Sb;if(ae)return/rv:([^\);]+)(\)|;)/.exec(a);if($d)return/Edge\/([\d\.]+)/.exec(a);if(Zd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(be)return/WebKit\/(\S+)/.exec(a);if(Yd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();pe&&(oe=pe?pe[1]:"");if(Zd){var qe=me();if(null!=qe&&qe>parseFloat(oe)){ne=String(qe);break a}}ne=oe}var re=ne,Wd={},se=function(a){return Xd(a,function(){return 0<=Rb(re,a)})},te;
if(x.document&&Zd){var ue=me();te=ue?ue:parseInt(re,10)||void 0}else te=void 0;var ve=te;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var we=!Zd||9<=Number(ve),xe=!ae&&!Zd||Zd&&9<=Number(ve)||ae&&se("1.9.1"),ye=Zd&&!se("9"),ze=Zd||Yd||be;var Ae=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};h=Ae.prototype;h.clone=function(){return new Ae(this.x,this.y)};h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var Be=function(a,b){this.width=a;this.height=b};h=Be.prototype;h.clone=function(){return new Be(this.width,this.height)};h.aspectRatio=function(){return this.width/this.height};h.isEmpty=function(){return!(this.width*this.height)};h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Ee=function(a){return a?new Ce(De(a)):db||(db=new Ce)},Ge=function(a){var b=a||document;return b.querySelectorAll&&b.querySelector?b.querySelectorAll(".overlaySelector"):Fe(document,"*","overlaySelector",a)},D=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):Fe(c,"*",a,b)[0]||null}return a||null},Fe=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():
"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&qb(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;return d}return a},Ie=function(a,b){Wb(b,function(c,d){c&&"object"==typeof c&&c.oc&&(c=c.Sb());"style"==
d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:He.hasOwnProperty(d)?a.setAttribute(He[d],c):Db(d,"aria-")||Db(d,"data-")?a.setAttribute(d,c):a[d]=c})},He={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Je=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new Be(a.clientWidth,
a.clientHeight)},Ke=function(a){var b=a.scrollingElement?a.scrollingElement:be||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement;a=a.parentWindow||a.defaultView;return Zd&&se("10")&&a.pageYOffset!=b.scrollTop?new Ae(b.scrollLeft,b.scrollTop):new Ae(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Le=function(a){return a?a.parentWindow||a.defaultView:window},Ne=function(a,b,c){return Me(document,arguments)},Me=function(a,b){var c=String(b[0]),d=b[1];if(!we&&d&&(d.name||
d.type)){c=["<",c];d.name&&c.push(' name="',Id(d.name),'"');if(d.type){c.push(' type="',Id(d.type),'"');var e={};mc(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=Oe(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):Ie(c,d));2<b.length&&Pe(a,c,b,2);return c},Pe=function(a,b,c,d){function e(g){g&&b.appendChild("string"===typeof g?a.createTextNode(g):g)}for(;d<c.length;d++){var f=c[d];!Ra(f)||Ta(f)&&0<f.nodeType?e(f):y(Qe(f)?ub(f):f,e)}},Re=function(a){return Oe(document,
a)},Oe=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Se=function(a,b){Pe(De(a),a,arguments,1)},Te=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Ue=function(a,b){a.insertBefore(b,a.childNodes[0]||null)},Ve=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},E=function(a){return xe&&void 0!=a.children?a.children:ib(a.childNodes,function(b){return 1==b.nodeType})},We=function(a,b){if(!a||!b)return!1;if(a.contains&&
1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},De=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},Xe=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else Te(a),a.appendChild(De(a).createTextNode(String(b)))},
Ye={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Ze={IMG:" ",BR:"\n"},af=function(a){if(ye&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];$e(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");ye||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},$e=function(a,b,c){if(!(a.nodeName in Ye))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in
Ze)b.push(Ze[a.nodeName]);else for(a=a.firstChild;a;)$e(a,b,c),a=a.nextSibling},Qe=function(a){if(a&&"number"==typeof a.length){if(Ta(a))return"function"==typeof a.item||"string"==typeof a.item;if(Sa(a))return"function"==typeof a.item}return!1},bf=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null},Ce=function(a){this.g=a||x.document||document};Ce.prototype.h=function(a,b,c){return Me(this.g,arguments)};
Ce.prototype.createElement=function(a){return Oe(this.g,a)};Ce.prototype.appendChild=function(a,b){a.appendChild(b)};Ce.prototype.contains=We;x.console&&"function"===typeof x.console.log&&Za(x.console.log,x.console);var cf=function(a){for(var b=[],c=a=Le(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var df=!Zd||9<=Number(ve),ef=Zd&&!se("9"),ff=function(){if(!x.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{x.addEventListener("test",Na,b),x.removeEventListener("test",Na,b)}catch(c){}return a}();var gf=function(){this.na=this.na;this.ca=this.ca};gf.prototype.na=!1;gf.prototype.yb=function(){return this.na};gf.prototype.$=function(){this.na||(this.na=!0,this.R())};var F=function(a,b){hf(a,$a(jf,b))},hf=function(a,b){a.na?b():(a.ca||(a.ca=[]),a.ca.push(b))};gf.prototype.R=function(){if(this.ca)for(;this.ca.length;)this.ca.shift()()};var jf=function(a){a&&"function"==typeof a.$&&a.$()};var G=function(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=this.i=!1};G.prototype.stopPropagation=function(){this.i=!0};G.prototype.preventDefault=function(){this.defaultPrevented=!0};var kf=function(a,b){G.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.l=this.h=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Hb=null;a&&this.init(a,b)};bb(kf,G);var lf={2:"touch",3:"pen",4:"mouse"};
kf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;(b=a.relatedTarget)?ae&&(Vd(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.h=be||void 0!==a.offsetX?a.offsetX:
a.layerX,this.l=be||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:lf[a.pointerType]||"";this.state=a.state;this.Hb=a;a.defaultPrevented&&
this.preventDefault()};kf.prototype.stopPropagation=function(){kf.uc.stopPropagation.call(this);this.Hb.stopPropagation?this.Hb.stopPropagation():this.Hb.cancelBubble=!0};kf.prototype.preventDefault=function(){kf.uc.preventDefault.call(this);var a=this.Hb;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,ef)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var mf="closure_listenable_"+(1E6*Math.random()|0),nf=function(a){return!(!a||!a[mf])},of=0;var pf=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.If=e;this.key=++of;this.pe=this.tf=!1},qf=function(a){a.pe=!0;a.listener=null;a.g=null;a.src=null;a.If=null};var rf=function(a){this.src=a;this.g={};this.h=0};rf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.h++);var g=sf(a,b,d,e);-1<g?(b=a[g],c||(b.tf=!1)):(b=new pf(b,this.src,f,!!d,e),b.tf=c,a.push(b));return b};var tf=function(a,b){var c=b.type;c in a.g&&rb(a.g[c],b)&&(qf(b),0==a.g[c].length&&(delete a.g[c],a.h--))};rf.prototype.Me=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=sf(a,b,c,d));return-1<e?a[e]:null};
rf.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Yb(this.g,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var sf=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.pe&&f.listener==b&&f.capture==!!c&&f.If==d)return e}return-1};var uf="closure_lm_"+(1E6*Math.random()|0),vf={},wf=0,yf=function(a,b,c,d,e){if(d&&d.once)return xf(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)yf(a,b[f],c,d,e);return null}c=zf(c);return nf(a)?a.G(b,c,Ta(d)?!!d.capture:!!d,e):Af(a,b,c,!1,d,e)},Af=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=Ta(e)?!!e.capture:!!e,k=Bf(a);k||(a[uf]=k=new rf(a));c=k.add(b,c,d,g,f);if(c.g)return c;d=Cf();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)ff||(e=g),void 0===e&&(e=!1),
a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Df(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");wf++;return c},Cf=function(){var a=Ef,b=df?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},xf=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)xf(a,b[f],c,d,e);return null}c=zf(c);return nf(a)?a.cc(b,
c,Ta(d)?!!d.capture:!!d,e):Af(a,b,c,!0,d,e)},Ff=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Ff(a,b[f],c,d,e);else d=Ta(d)?!!d.capture:!!d,c=zf(c),nf(a)?a.wa(b,c,d,e):a&&(a=Bf(a))&&(b=a.Me(b,c,d,e))&&Gf(b)},Gf=function(a){if("number"!==typeof a&&a&&!a.pe){var b=a.src;if(nf(b))tf(b.H,a);else{var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Df(c),d):b.addListener&&b.removeListener&&b.removeListener(d);wf--;(c=Bf(b))?(tf(c,
a),0==c.h&&(c.src=null,b[uf]=null)):qf(a)}}},Df=function(a){return a in vf?vf[a]:vf[a]="on"+a},If=function(a,b,c,d){var e=!0;if(a=Bf(a))if(b=a.g[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.pe&&(f=Hf(f,d),e=e&&!1!==f)}return e},Hf=function(a,b){var c=a.listener,d=a.If||a.src;a.tf&&Gf(a);return c.call(d,b)},Ef=function(a,b){if(a.pe)return!0;if(!df){var c=b||Ma("window.event");b=new kf(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==
c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.g;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.i&&0<=e;e--){b.g=c[e];var f=If(c[e],a,!0,b);d=d&&f}for(e=0;!b.i&&e<c.length;e++)b.g=c[e],f=If(c[e],a,!1,b),d=d&&f}return d}return Hf(a,new kf(b,this))},Bf=function(a){a=a[uf];return a instanceof rf?a:null},Jf="__closure_events_fn_"+(1E9*Math.random()>>>0),zf=function(a){if(Sa(a))return a;a[Jf]||(a[Jf]=function(b){return a.handleEvent(b)});
return a[Jf]};var H=function(){gf.call(this);this.H=new rf(this);this.Zc=this;this.sa=null};bb(H,gf);H.prototype[mf]=!0;h=H.prototype;h.addEventListener=function(a,b,c,d){yf(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){Ff(this,a,b,c,d)};
h.dispatchEvent=function(a){var b,c=this.sa;if(c)for(b=[];c;c=c.sa)b.push(c);c=this.Zc;var d=a.type||a;if("string"===typeof a)a=new G(a,c);else if(a instanceof G)a.target=a.target||c;else{var e=a;a=new G(d,c);mc(a,e)}e=!0;if(b)for(var f=b.length-1;!a.i&&0<=f;f--){var g=a.g=b[f];e=Kf(g,d,!0,a)&&e}a.i||(g=a.g=c,e=Kf(g,d,!0,a)&&e,a.i||(e=Kf(g,d,!1,a)&&e));if(b)for(f=0;!a.i&&f<b.length;f++)g=a.g=b[f],e=Kf(g,d,!1,a)&&e;return e};
h.R=function(){H.uc.R.call(this);if(this.H){var a=this.H,b=0,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)++b,qf(d[e]);delete a.g[c];a.h--}}this.sa=null};h.G=function(a,b,c,d){return this.H.add(String(a),b,!1,c,d)};h.cc=function(a,b,c,d){return this.H.add(String(a),b,!0,c,d)};h.wa=function(a,b,c,d){var e=this.H;a=String(a).toString();if(a in e.g){var f=e.g[a];b=sf(f,b,c,d);-1<b&&(qf(f[b]),Array.prototype.splice.call(f,b,1),0==f.length&&(delete e.g[a],e.h--))}};
var Kf=function(a,b,c,d){b=a.H.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.pe&&g.capture==c){var k=g.listener,l=g.If||g.src;g.tf&&tf(a.H,g);e=!1!==k.call(l,d)&&e}}return e&&!d.defaultPrevented};H.prototype.Me=function(a,b,c,d){return this.H.Me(String(a),b,c,d)};H.prototype.hasListener=function(a,b){return this.H.hasListener(void 0!==a?String(a):void 0,b)};var Lf=function(a,b){this.i=a;this.l=b;this.h=0;this.g=null};Lf.prototype.get=function(){if(0<this.h){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.i();return a};var Mf=function(a,b){a.l(b);100>a.h&&(a.h++,b.next=a.g,a.g=b)};var Nf=function(a){x.setTimeout(function(){throw a;},0)},Of,Pf=function(){var a=x.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!B("Presto")&&(a=function(){var e=Re("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=Za(function(l){if(("*"==k||l.origin==
k)&&l.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,k)}}});if("undefined"!==typeof a&&!oc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Hi;c.Hi=null;e()}};return function(e){d.next={Hi:e};d=d.next;b.port2.postMessage(0)}}return function(e){x.setTimeout(e,0)}};var Qf=function(){this.h=this.g=null},Sf=new Lf(function(){return new Rf},function(a){a.reset()});Qf.prototype.add=function(a,b){var c=Sf.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c};var Uf=function(){var a=Tf,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return b},Rf=function(){this.next=this.h=this.g=null};Rf.prototype.set=function(a,b){this.g=a;this.h=b;this.next=null};Rf.prototype.reset=function(){this.next=this.h=this.g=null};var Yf=function(a,b){Vf||Wf();Xf||(Vf(),Xf=!0);Tf.add(a,b)},Vf,Wf=function(){if(x.Promise&&x.Promise.resolve){var a=x.Promise.resolve(void 0);Vf=function(){a.then(Zf)}}else Vf=function(){var b=Zf;!Sa(x.setImmediate)||x.Window&&x.Window.prototype&&!B("Edge")&&x.Window.prototype.setImmediate==x.setImmediate?(Of||(Of=Pf()),Of(b)):x.setImmediate(b)}},Xf=!1,Tf=new Qf,Zf=function(){for(var a;a=Uf();){try{a.g.call(a.h)}catch(b){Nf(b)}Mf(Sf,a)}Xf=!1};var ag=function(a){this.g=0;this.H=void 0;this.l=this.h=this.i=null;this.o=this.u=!1;if(a!=Na)try{var b=this;a.call(void 0,function(c){$f(b,2,c)},function(c){$f(b,3,c)})}catch(c){$f(this,3,c)}},bg=function(){this.next=this.context=this.h=this.i=this.g=null;this.l=!1};bg.prototype.reset=function(){this.context=this.h=this.i=this.g=null;this.l=!1};var cg=new Lf(function(){return new bg},function(a){a.reset()}),dg=function(a,b,c){var d=cg.get();d.i=a;d.h=b;d.context=c;return d};
ag.prototype.then=function(a,b,c){return eg(this,Sa(a)?a:null,Sa(b)?b:null,c)};ag.prototype.$goog_Thenable=!0;var fg=function(a,b){return eg(a,null,b,void 0)};ag.prototype.cancel=function(a){if(0==this.g){var b=new gg(a);Yf(function(){hg(this,b)},this)}};
var hg=function(a,b){if(0==a.g)if(a.i){var c=a.i;if(c.h){for(var d=0,e=null,f=null,g=c.h;g&&(g.l||(d++,g.g==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.g&&1==d?hg(c,b):(f?(d=f,d.next==c.l&&(c.l=d),d.next=d.next.next):ig(c),jg(c,e,3,b)))}a.i=null}else $f(a,3,b)},lg=function(a,b){a.h||2!=a.g&&3!=a.g||kg(a);a.l?a.l.next=b:a.h=b;a.l=b},eg=function(a,b,c,d){var e=dg(null,null,null);e.g=new ag(function(f,g){e.i=b?function(k){try{var l=b.call(d,k);f(l)}catch(m){g(m)}}:f;e.h=c?function(k){try{var l=c.call(d,
k);void 0===l&&k instanceof gg?g(k):f(l)}catch(m){g(m)}}:g});e.g.i=a;lg(a,e);return e.g};ag.prototype.C=function(a){this.g=0;$f(this,2,a)};ag.prototype.F=function(a){this.g=0;$f(this,3,a)};
var $f=function(a,b,c){if(0==a.g){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.C,f=a.F;if(d instanceof ag){lg(d,dg(e||Na,f||null,a));var g=!0}else{if(d)try{var k=!!d.$goog_Thenable}catch(m){k=!1}else k=!1;if(k)d.then(e,f,a),g=!0;else{if(Ta(d))try{var l=d.then;if(Sa(l)){mg(d,l,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.H=c,a.g=b,a.i=null,kg(a),3!=b||c instanceof gg||ng(a,c))}},mg=function(a,b,c,d,e){var f=!1,g=function(l){f||(f=!0,c.call(e,
l))},k=function(l){f||(f=!0,d.call(e,l))};try{b.call(a,g,k)}catch(l){k(l)}},kg=function(a){a.u||(a.u=!0,Yf(a.w,a))},ig=function(a){var b=null;a.h&&(b=a.h,a.h=b.next,b.next=null);a.h||(a.l=null);return b};ag.prototype.w=function(){for(var a;a=ig(this);)jg(this,a,this.g,this.H);this.u=!1};
var jg=function(a,b,c,d){if(3==c&&b.h&&!b.l)for(;a&&a.o;a=a.i)a.o=!1;if(b.g)b.g.i=null,og(b,c,d);else try{b.l?b.i.call(b.context):og(b,c,d)}catch(e){pg.call(null,e)}Mf(cg,b)},og=function(a,b,c){2==b?a.i.call(a.context,c):a.h&&a.h.call(a.context,c)},ng=function(a,b){a.o=!0;Yf(function(){a.o&&pg.call(null,b)})},pg=Nf,gg=function(a){cb.call(this,a)};bb(gg,cb);gg.prototype.name="cancel";var qg=function(a,b){H.call(this);this.h=a||1;this.g=b||x;this.i=Za(this.em,this);this.l=ab()};bb(qg,H);h=qg.prototype;h.Ne=!1;h.$b=null;h.setInterval=function(a){this.h=a;this.$b&&this.Ne?(this.stop(),this.start()):this.$b&&this.stop()};h.em=function(){if(this.Ne){var a=ab()-this.l;0<a&&a<.8*this.h?this.$b=this.g.setTimeout(this.i,this.h-a):(this.$b&&(this.g.clearTimeout(this.$b),this.$b=null),this.dispatchEvent("tick"),this.Ne&&(this.stop(),this.start()))}};
h.start=function(){this.Ne=!0;this.$b||(this.$b=this.g.setTimeout(this.i,this.h),this.l=ab())};h.stop=function(){this.Ne=!1;this.$b&&(this.g.clearTimeout(this.$b),this.$b=null)};h.R=function(){qg.uc.R.call(this);this.stop();delete this.g};
var sg=function(a,b,c){if(Sa(a))c&&(a=Za(a,c));else if(a&&"function"==typeof a.handleEvent)a=Za(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:x.setTimeout(a,b||0)},tg=function(a){x.clearTimeout(a)},ug=function(){var a=null;return fg(new ag(function(b,c){a=sg(function(){b(void 0)},2E3);-1==a&&c(Error("Failed to schedule timer."))}),function(b){tg(a);throw b;})};var vg=function(){return Math.round(ab()/1E3)},wg=function(a){var b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:vg()};var xg=function(a){return jb(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};var yg=pc(),zg=Sd()||B("iPod"),Ag=B("iPad"),Bg=sc(),Cg=qc(),Dg=rc()&&!Td();var Eg={},Fg=null,Gg=function(a,b){void 0===b&&(b=0);if(!Fg){Fg={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));Eg[e]=f;for(var g=0;g<f.length;g++){var k=f[g];void 0===Fg[k]&&(Fg[k]=g)}}}b=Eg[b];c=[];for(d=0;d<a.length;d+=3){var l=a[d],m=(e=d+1<a.length)?a[d+1]:0;k=(f=d+2<a.length)?a[d+2]:0;g=l>>2;l=(l&3)<<4|m>>4;m=(m&15)<<2|k>>6;k&=63;f||(k=64,e||(m=64));c.push(b[g],b[l],b[m]||"",b[k]||
"")}return c.join("")};var Hg=function(){this.h=-1};var Ig=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},Jg=function(a){a=String(a);if(Ig(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},Lg=function(a){return(new Kg).oa(a)},Kg=function(){};
Kg.prototype.oa=function(a){var b=[];Mg(this,a,b);return b.join("")};
var Mg=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Mg(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Ng(d,c),c.push(":"),Mg(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Ng(b,c);break;
case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Og={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Pg=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Ng=function(a,b){b.push('"',a.replace(Pg,function(c){var d=Og[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),
Og[c]=d);return d}),'"')};var Qg=function(){this.g=("undefined"==typeof document?null:document)||{cookie:""}};
Qg.prototype.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Yo;d=c.$o||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.al}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===k&&(k=-1);c=f?";domain="+f:"";g=g?";path="+g:"";d=d?";secure":"";k=0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(ab()+1E3*k)).toUTCString();this.g.cookie=a+"="+b+c+g+k+d+(null!=e?";samesite="+
e:"")};Qg.prototype.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Gb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};var Rg=function(a,b){a.get(b);a.set(b,"",{al:0,path:void 0,domain:void 0})};Qg.prototype.Zb=function(){return Sg(this).keys};Qg.prototype.Ta=function(){return Sg(this).values};Qg.prototype.isEmpty=function(){return!this.g.cookie};
Qg.prototype.clear=function(){for(var a=Sg(this).keys,b=a.length-1;0<=b;b--)Rg(this,a[b])};var Sg=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Gb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}},Tg=new Qg;var Ug=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Vg=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?Hd(e):"")}}},Wg=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},Xg=
/#|$/,Yg=function(a,b){return 0<=Wg(a,0,b,a.search(Xg))},Zg=/[?&]($|#)/;var $g=function(){this.g={};return this};$g.prototype.set=function(a,b){this.g[a]=b};var ah=function(a,b){a.g.eb=jc(a.g,"eb",0)|b};$g.prototype.get=function(a){return jc(this.g,a,null)};$g.prototype.oa=function(){var a=[],b;for(b in this.g)a.push(b+this.g[b]);return a.join("_")};var bh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d},ch=function(a){return a.right-a.left},dh=function(a){return a.bottom-a.top};h=bh.prototype;h.clone=function(){return new bh(this.top,this.right,this.bottom,this.left)};h.contains=function(a){return this&&a?a instanceof bh?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
h.expand=function(a,b,c,d){Ta(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};var eh=function(a,b,c){b instanceof Ae?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,"number"===typeof c&&(a.top+=c,a.bottom+=c));return a};
bh.prototype.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var fh=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};fh.prototype.clone=function(){return new fh(this.left,this.top,this.width,this.height)};var gh=function(a){return new bh(a.top,a.left+a.width,a.top+a.height,a.left)};h=fh.prototype;h.contains=function(a){return a instanceof Ae?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
h.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var hh=null,ih=function(){this.g={};this.h=0},jh=function(){hh||(hh=new ih);return hh},kh=function(a,b){a.g[b.u]=b};ih.prototype.oa=function(a){var b=[];a||(a=0);for(var c in this.g){var d=this.g[c];d instanceof lh?d.h()&&(a|=d.o):(d=this.g[c].oa())&&b.push(c+d)}b.push("eb"+String(a));return b.join("_")};var mh=function(a,b){this.u=a;this.l=!0;this.g=b};mh.prototype.h=function(){return this.g};mh.prototype.oa=function(){return this.l?this.i():""};mh.prototype.i=function(){return String(this.g)};
var lh=function(a,b){mh.call(this,String(a),b);this.o=a;this.g=!!b};w(lh,mh);lh.prototype.i=function(){return this.g?"1":"0"};var nh=function(a,b){mh.call(this,a,b)};w(nh,mh);nh.prototype.i=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};
var oh=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new nh("",new fh(c,b,Number(a[3])-c,Number(a[2])-b))}return new nh("",new fh(0,0,0,0))};var qh=function(a,b,c){if("string"===typeof b)(b=ph(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=ph(c,d);f&&(c.style[f]=e)}},rh={},ph=function(a,b){var c=rh[b];if(!c){var d=Od(b);c=d;void 0===a.style[d]&&(d=(be?"Webkit":ae?"Moz":Zd?"ms":Yd?"O":null)+Qd(d),void 0!==a.style[d]&&(c=d));rh[b]=c}return c},sh=function(a,b){var c=De(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},th=function(a){try{var b=
a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}Zd&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},uh=function(a){var b=De(a),c=new Ae(0,0);var d=b?De(b):document;d=!Zd||9<=Number(ve)||"CSS1Compat"==Ee(d).g.compatMode?d.documentElement:d.body;if(a==d)return c;a=th(a);b=Ke(Ee(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c},wh=function(a,b){var c=new Ae(0,0),d=Le(De(a));
if(!Vd(d,"parent"))return c;do{var e=d==b?uh(a):vh(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},vh=function(a){a=th(a);return new Ae(a.left,a.top)},yh=function(a){var b=xh,c;(c=sh(a,"display"))||(c=a.currentStyle?a.currentStyle.display:null);if("none"!=(c||a.style&&a.style.display))return b(a);c=a.style;var d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=
e;return a},xh=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=be&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=th(a),new Be(a.right-a.left,a.bottom-a.top)):new Be(b,c)},zh=function(a){var b=uh(a);a=yh(a);return new fh(b.x,b.y,a.width,a.height)},Ah=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},K=function(a,b){a.style.display=b?"":"none"};var Bh=function(a){var b=new fh(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new fh(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++){a:{var e=b;var f=a[d],g=Math.max(e.left,f.left),k=Math.min(e.left+e.width,f.left+f.width);if(g<=k){var l=Math.max(e.top,f.top);f=Math.min(e.top+e.height,f.top+f.height);if(l<=f){e.left=g;e.top=l;e.width=k-g;e.height=f-l;e=!0;break a}}e=!1}if(!e)return c}return b},Ch=function(a,b){var c=a.getBoundingClientRect();a=wh(a,
b);return new fh(Math.round(a.x),Math.round(a.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))},Dh=function(a,b,c){if(b&&c){a:{var d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),g=Math.min(b.top+b.height,c.top+c.height);if(f<=g){d=new fh(d,f,e-d,g-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;kh(a,new mh("vp",d));d&&0<d?(e=gh(b),f=gh(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;kh(a,new lh(512,
e));d&&0<d?(e=gh(b),f=gh(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;kh(a,new lh(1024,e));d&&0<d?(e=gh(b),f=gh(c),e=e.left>=f.left&&e.left<f.right):e=!1;kh(a,new lh(2048,e));d&&0<d?(b=gh(b),c=gh(c),c=b.right<=c.right&&b.right>c.left):c=!1;kh(a,new lh(4096,c))}};var Eh=function(a,b){var c=0;cc(Le(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=jh();a.g={};var e=new lh(32,!0);e.l=!1;kh(a,e);e=Le().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";kh(a,new lh(64,"hidden"!=e.toLowerCase().substring(e.length-6)?!0:!1));try{var f=Le().top;try{var g=!!f.location.href||""===f.location.href}catch(n){g=!1}if(g){var k=cf(d);var l=k&&0!=k.length?"1":"0"}else l="2"}catch(n){l="2"}kh(a,new lh(256,
"2"==l));kh(a,new lh(128,"1"==l));k=g=Le().top;"2"==l&&(k=Le());f=Ch(d,k);kh(a,new nh("er",f));try{var m=k.document&&!k.document.body?null:Je(k||window)}catch(n){m=null}m?(k=Ke(Ee(k.document).g),kh(a,new lh(16384,!!k)),m=k?new fh(k.x,k.y,m.width,m.height):null):m=null;kh(a,new nh("vi",m));if(m&&"1"==l){l=cf(d);d=[];for(k=0;k<l.length;k++)(e=Ch(l[k],g))&&d.push(e);d.push(m);m=Bh(d)}Dh(a,f,m);a.h&&(l=vg()-a.h,kh(a,new mh("ts",l)));a.h=vg()}else a=jh(),a.g={},a.h=vg(),kh(a,new lh(32,!1));this.i=a;this.g=
new $g;this.g.set("ve",4);c&&ah(this.g,1);cc(Le(),"ima","video","client","crossdomainTag")&&ah(this.g,4);cc(Le(),"ima","video","client","sdkTag")&&ah(this.g,8);cc(Le(),"ima","video","client","jsTag")&&ah(this.g,2);b&&jc(b,"fullscreen",!1)&&ah(this.g,16);this.h=b=null;if(c&&(c=cc(Le(),"ima","video","client"),c.getEData)){this.h=c.getEData();if(c=cc(Le(),"ima","video","client","getLastSnapshotFromTop"))if(a=c())this.h.extendWithDataFromTopIframe(a.tagstamp,a.playstamp,a.lactstamp),c=this.i,b=a.er,a=
a.vi,b&&a&&(b=oh(b).h(),a=oh(a).h(),l=null,jc(c.g,"er",null)&&(l=jc(c.g,"er",null).h(),l.top+=b.top,l.left+=b.left,kh(c,new nh("er",l))),jc(c.g,"vi",null)&&(m=jc(c.g,"vi",null).h(),m.top+=b.top,m.left+=b.left,d=[],d.push(m),d.push(b),d.push(a),b=Bh(d),Dh(c,l,b),kh(c,new nh("vi",a))));a:{if(this.h){if(this.h.getTagLoadTimestamp){b=this.h.getTagLoadTimestamp();break a}if(this.h.getTimeSinceTagLoadSeconds){b=this.h.getTimeSinceTagLoadSeconds();break a}}b=null}}this.g.set("td",vg()-wg(b))};
Eh.prototype.oa=function(){var a=[],b=Number(this.g.get("eb")),c=this.g.g;"eb"in c&&delete c.eb;(c=this.g.oa())&&a.push(c);this.h&&(c=this.h.serialize())&&a.push(c);(c=this.i.oa(b))&&a.push(c);this.g.set("eb",b);return a.join("_")};new qg(200);var Fh=function(a,b){try{return(new Eh(a,b)).oa()}catch(c){return"tle;"+Jd(c.name,12)+";"+Jd(c.message,40)}};var Gh=0,Hh=0;var Ih=function(){this.g=[]};Ih.prototype.length=function(){return this.g.length};Ih.prototype.end=function(){var a=this.g;this.g=[];return a};var Jh=function(a,b){for(;127<b;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},Kh=function(a,b){if(0<=b)Jh(a,b);else{for(var c=0;9>c;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},Lh=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)};var Mh=function(){this.i=[];this.h=0;this.g=new Ih},Nh=function(a,b){Jh(a.g,8*b+2);b=a.g.end();a.i.push(b);a.h+=b.length;b.push(a.h);return b},Oh=function(a,b){var c=b.pop();for(c=a.h+a.g.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.h++;b.push(c);a.h++};Mh.prototype.reset=function(){this.i=[];this.g.end();this.h=0};
var Ph=function(a){for(var b=new Uint8Array(a.h+a.g.length()),c=a.i,d=c.length,e=0,f=0;f<d;f++){var g=c[f];b.set(g,e);e+=g.length}c=a.g.end();b.set(c,e);a.i=[b];return b},Qh=function(a,b,c){null!=c&&(Jh(a.g,8*b),Jh(a.g,c))},Rh=function(a,b,c){if(null!=c){Jh(a.g,8*b);a=a.g;var d=c;c=0>d;d=Math.abs(d);b=d>>>0;d=Math.floor((d-b)/4294967296);d>>>=0;c&&(d=~d>>>0,b=(~b>>>0)+1,4294967295<b&&(b=0,d++,4294967295<d&&(d=0)));Gh=b;Hh=d;c=Gh;for(b=Hh;0<b||127<c;)a.g.push(c&127|128),c=(c>>>7|b<<25)>>>0,b>>>=7;
a.g.push(c)}},Sh=function(a,b,c){null!=c&&(Jh(a.g,8*b),a.g.g.push(c?1:0))},Th=function(a,b,c){null!=c&&(Jh(a.g,8*b),Kh(a.g,c))},Uh=function(a,b,c){if(null!=c){b=Nh(a,b);for(var d=a.g,e=0;e<c.length;e++){var f=c.charCodeAt(e);if(128>f)d.g.push(f);else if(2048>f)d.g.push(f>>6|192),d.g.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1<c.length){var g=c.charCodeAt(e+1);56320<=g&&57343>=g&&(f=1024*(f-55296)+g-56320+65536,d.g.push(f>>18|240),d.g.push(f>>12&63|128),d.g.push(f>>6&63|128),d.g.push(f&
63|128),e++)}else d.g.push(f>>12|224),d.g.push(f>>6&63|128),d.g.push(f&63|128)}Oh(a,b)}};var Vh=function(){},Wh="function"==typeof Uint8Array,Zh=function(a,b,c){a.Ja=null;b||(b=[]);a.H=void 0;a.l=-1;a.g=b;a:{if(b=a.g.length){--b;var d=a.g[b];if(!(null===d||"object"!=typeof d||Array.isArray(d)||Wh&&d instanceof Uint8Array)){a.o=b-a.l;a.i=d;break a}}a.o=Number.MAX_VALUE}a.u={};if(c)for(b=0;b<c.length;b++)d=c[b],d<a.o?(d+=a.l,a.g[d]=a.g[d]||Xh):(Yh(a),a.i[d]=a.i[d]||Xh)},Xh=[],Yh=function(a){var b=a.o+a.l;a.g[b]||(a.i=a.g[b]={})},$h=function(a,b){if(b<a.o){b+=a.l;var c=a.g[b];return c===
Xh?a.g[b]=[]:c}if(a.i)return c=a.i[b],c===Xh?a.i[b]=[]:c},ai=function(a,b){a=$h(a,b);return null==a?0:a},bi=function(a,b,c){b<a.o?a.g[b+a.l]=c:(Yh(a),a.i[b]=c);return a},ci=function(a,b,c){0!==c?bi(a,b,c):b<a.o?a.g[b+a.l]=null:(Yh(a),delete a.i[b]);return a},ei=function(a){if(a.Ja)for(var b in a.Ja){var c=a.Ja[b];if(Qa(c))for(var d=0;d<c.length;d++)c[d]&&di(c[d]);else c&&di(c)}},di=function(a){ei(a);return a.g};
Vh.prototype.oa=Wh?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return Gg(this)};try{return JSON.stringify(this.g&&di(this),fi)}finally{Uint8Array.prototype.toJSON=a}}:function(){return JSON.stringify(this.g&&di(this),fi)};var fi=function(a,b){return"number"!==typeof b||!isNaN(b)&&Infinity!==b&&-Infinity!==b?b:String(b)};Vh.prototype.toString=function(){ei(this);return this.g.toString()};Vh.prototype.clone=function(){return new this.constructor(gi(di(this)))};
var gi=function(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?gi(d):d)}return b}if(Wh&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?gi(d):d);return b};var hi=function(a){Zh(this,a,null)};bb(hi,Vh);hi.prototype.h=function(){return $h(this,1)};var ii=function(a,b){return bi(a,1,b)},ji=function(a,b){return bi(a,2,b)},ki=function(a,b){return bi(a,3,b)},li=function(a,b){return bi(a,4,b)};var mi;mi=["av.key","js","unreleased"].slice(-1)[0];var ni=xc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});x.addEventListener("test",null,b)}catch(c){}return a});function oi(a){return a?a.passive&&ni()?a:a.capture||!1:!1}
var pi=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,oi(d)),!0):!1},qi=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,oi(void 0))},ri=function(a){var b=void 0===b?{}:b;if(Sa(window.CustomEvent))var c=new CustomEvent("rum_blp",b);else c=document.createEvent("CustomEvent"),c.initCustomEvent("rum_blp",!!b.bubbles,!!b.cancelable,b.detail);a.dispatchEvent(c)};var si=function(a,b){a.google_image_requests||(a.google_image_requests=[]);var c=a.document.createElement("img");c.src=b;a.google_image_requests.push(c)};var ti=document,M=window;var vi=function(){return!ui()&&(B("iPod")||B("iPhone")||B("Android")||B("IEMobile"))},ui=function(){return B("iPad")||B("Android")&&!B("Mobile")||B("Silk")};var wi=function(a){try{return!!a&&null!=a.location.href&&Vd(a,"foo")}catch(b){return!1}},xi=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)},zi=function(){var a=[];xi(yi,function(b){a.push(b)});return a},Ai=/https?:\/\/[^\/]+/,Bi=function(a){return(a=Ai.exec(a))&&a[0]||""},Di=function(){var a=Ci;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""},
yi={wm:"allow-forms",xm:"allow-modals",ym:"allow-orientation-lock",zm:"allow-pointer-lock",Am:"allow-popups",Bm:"allow-popups-to-escape-sandbox",Cm:"allow-presentation",Dm:"allow-same-origin",Em:"allow-scripts",Fm:"allow-top-navigation",Gm:"allow-top-navigation-by-user-activation"},Ei=xc(function(){return zi()}),Fi=function(){var a=["allow-top-navigation","allow-modals","allow-orientation-lock","allow-presentation"],b=Ei();return a.length?ib(b,function(c){return!qb(a,c)}):b},Gi=function(a){var b=
a||Re("IFRAME"),c={};y(Ei(),function(d){b.sandbox&&b.sandbox.supports&&b.sandbox.supports(d)&&(c[d]=!0)});return c};var Hi={Pn:1,No:2,Hn:3};var Ii=function(a){a=void 0===a?x:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(c){}try{if(b&&b.pageViewId&&b.canonicalUrl)return b}catch(c){}return null};var Ji=/^((market|itms|intent|itms-appss):\/\/)/i;var Ki=!!window.google_async_iframe_id,Li=Ki&&window.parent||window,Mi=function(){if(Ki&&!wi(Li)){var a="."+ti.domain;try{for(;2<a.split(".").length&&!wi(Li);)ti.domain=a=a.substr(a.indexOf(".")+1),Li=window.parent}catch(b){}wi(Li)||(Li=window)}return Li};Mc(Dc(Ec("//fonts.googleapis.com/css")));var Ni=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c},Oi=function(a){return!!(a.error&&a.meta&&a.id)};var Pi=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/,Ti=function(a){a=a||Qi();for(var b=new Ri(x.location.href,x,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Pi.test(f.url)&&(c=f);if(f.url&&!f.sh){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Si(b,e,c)},Qi=function(){var a=x,b=[],c=null;do{var d=a;if(wi(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Ri(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&
d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=x;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.sh=!0);return b},Si=function(a,b,c){this.g=a;this.h=b;this.i=c},Ri=function(a,b,c){this.url=a;this.Ha=b;this.sh=!!c;this.depth=null};var Ui=function(){this.h="&";this.l=!1;this.i={};this.o=0;this.g=[]},Vi=function(a,b){var c={};c[a]=b;return[c]},Xi=function(a,b,c,d,e){var f=[];xi(a,function(g,k){(g=Wi(g,b,c,d,e))&&f.push(k+"="+g)});return f.join(b)},Wi=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],g=0;g<a.length;g++)f.push(Wi(a[g],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Xi(a,
b,c,d,e+1)):"...";return encodeURIComponent(String(a))},Yi=function(a,b,c){a.g.push(b);a.i[b]=c},Zi=function(a,b,c,d){a.g.push(b);a.i[b]=Vi(c,d)},aj=function(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=$i(a)-c.length;if(0>d)return"";a.g.sort(function(n,q){return n-q});c=null;for(var e="",f=0;f<a.g.length;f++)for(var g=a.g[f],k=a.i[g],l=0;l<k.length;l++){if(!d){c=null==c?g:c;break}var m=Xi(k[l],a.h,",$");if(m){m=e+m;if(d>=m.length){d-=m.length;b+=m;e=a.h;break}a.l&&(e=d,m[e-1]==a.h&&--e,b+=
m.substr(0,e),e=a.h,d=0);c=null==c?g:c}}a="";null!=c&&(a=e+"trn="+c);return b+a+""},$i=function(a){var b=1,c;for(c in a.i)b=c.length>b?c.length:b;return 3997-b-a.h.length-1};var bj=function(a,b,c,d,e){if((d?a.g:Math.random())<(e||.01))try{if(c instanceof Ui)var f=c;else f=new Ui,xi(c,function(k,l){var m=f,n=m.o++;Yi(m,n,Vi(l,k))});var g=aj(f,a.h,"/pagead/gen_204?id="+b+"&");g&&si(x,g)}catch(k){}};var cj=null;var dj=function(){var a=x.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):ab()},ej=function(){var a=void 0===a?x:a;return(a=a.performance)&&a.now?a.now():null};var fj=function(a,b,c,d,e){this.label=a;this.type=b;this.value=c;this.duration=void 0===d?0:d;this.uniqueId=Math.random();this.slotId=e};var gj=x.performance,hj=!!(gj&&gj.mark&&gj.measure&&gj.clearMarks),ij=xc(function(){var a;if(a=hj){var b;if(null===cj){cj="";try{a="";try{a=x.top.location.hash}catch(c){a=x.location.hash}a&&(cj=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=cj;a=!!b.indexOf&&0<=b.indexOf("1337")}return a}),jj=function(a,b){this.events=[];this.g=b||x;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.h=ij()||(null!=
c?c:Math.random()<a)};jj.prototype.H=function(){this.h=!1;this.events!=this.g.google_js_reporting_queue&&(ij()&&y(this.events,kj),this.events.length=0)};jj.prototype.w=function(a){!this.h||2048<this.events.length||this.events.push(a)};var kj=function(a){a&&gj&&ij()&&(gj.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),gj.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};
jj.prototype.start=function(a,b){if(!this.h)return null;var c=ej()||dj();a=new fj(a,b,c);b="goog_"+a.label+"_"+a.uniqueId+"_start";gj&&ij()&&gj.mark(b);return a};jj.prototype.end=function(a){if(this.h&&"number"===typeof a.value){var b=ej()||dj();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";gj&&ij()&&gj.mark(b);this.w(a)}};var nj=function(){var a=lj;this.i=mj;this.u="jserror";this.l=!0;this.h=null;this.H=this.Lc;this.g=void 0===a?null:a;this.o=!1};h=nj.prototype;h.pinger=function(){return this.i};h.pg=function(a){this.h=a};h.Xh=function(a){this.u=a};h.Yh=function(a){this.l=a};h.Zh=function(a){this.o=a};
h.Id=function(a,b,c){try{if(this.g&&this.g.h){var d=this.g.start(a.toString(),3);var e=b();this.g.end(d)}else e=b()}catch(g){b=this.l;try{kj(d);var f=new Ni(g,{message:oj(g)});b=this.H(a,f,void 0,c)}catch(k){this.Lc(217,k)}if(!b)throw g;}return e};h.Sh=function(a,b,c,d){var e=this;return function(f){for(var g=[],k=0;k<arguments.length;++k)g[k-0]=arguments[k];return e.Id(a,function(){return b.apply(c,g)},d)}};
h.Lc=function(a,b,c,d,e){e=e||this.u;try{var f=new Ui;f.l=!0;Zi(f,1,"context",a);Oi(b)||(b=new Ni(b,{message:oj(b)}));b.msg&&Zi(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.h)try{this.h(g)}catch(l){}if(d)try{d(g)}catch(l){}Yi(f,3,[g]);var k=Ti();k.h&&Zi(f,4,"top",k.h.url||"");Zi(f,5,"url",k.g.url||"");bj(this.i,e,f,this.o,c)}catch(l){try{bj(this.i,e,{context:"ecmserr",rctx:a,msg:oj(l),url:k&&k.g.url},this.o,c)}catch(m){}}return this.l};
var oj=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};var pj=function(){this.h="jserror";this.i=!1;this.g=null;this.l=!1;this.u=Math.random();this.o=this.Lc};h=pj.prototype;h.Xh=function(a){this.h=a};h.pg=function(a){this.g=a};h.Yh=function(a){this.i=a};h.Zh=function(a){this.l=a};
h.Lc=function(a,b,c,d,e){e=void 0===e?this.h:e;if((this.l?this.u:Math.random())>(void 0===c?.01:c))return this.i;Oi(b)||(b=new Ni(b,{context:a,id:e}));if(d||this.g)b.meta={},this.g&&this.g(b.meta),d&&d(b.meta);x.google_js_errors=x.google_js_errors||[];x.google_js_errors.push(b);x.error_rep_loaded||(b=x.document,a=b.createElement("script"),c=Mc(x.location.protocol+"//pagead2.googlesyndication.com/pagead/js/err_rep.js"),Gd(a,c),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,
b),x.error_rep_loaded=!0);return this.i};h.Id=function(a,b,c){try{var d=b()}catch(e){if(!this.o(a,e,.01,c,this.h))throw e;}return d};h.Sh=function(a,b,c,d){var e=this;return function(f){for(var g=[],k=0;k<arguments.length;++k)g[k-0]=arguments[k];return e.Id(a,function(){return b.apply(c,g)},d)}};var mj,qj,rj=Mi(),lj=new jj(1,rj);mj=new function(){var a=void 0===a?M:a;this.h="http:"===a.location.protocol?"http:":"https:";this.g=Math.random()};"number"!==typeof rj.google_srt&&(rj.google_srt=Math.random());var sj=mj,tj=rj.google_srt;0<=tj&&1>=tj&&(sj.g=tj);qj=new nj;qj.pg(function(a){var b=M.jerExpIds;if(Qa(b)&&0!==b.length){var c=a.eid;c?(b=[].concat(u(c.split(",")),u(b)),xb(b),a.eid=b.join(",")):a.eid=b.join(",")}(b=M.jerUserAgent)&&(a.useragent=b)});qj.Zh(!0);
"complete"==rj.document.readyState?rj.google_measure_js_timing||lj.H():lj.h&&pi(rj,"load",function(){rj.google_measure_js_timing||lj.H()});var uj=[0,2,1],vj=null,wj=function(){var a=window.event||vj;if(!a)return null;var b;(b=a.which?1<<uj[a.which-1]:a.button)&&a.shiftKey&&(b|=8);b&&a.altKey&&(b|=16);b&&a.ctrlKey&&(b|=32);return b};document.addEventListener&&document.addEventListener("mousedown",function(a){vj=a},!0);
window.mb=function(a){if(a){var b=wj();if(b)if(window.css)window.css(a.id,"mb",b,void 0,void 0);else if(a){var c=a.href,d=c.indexOf("&mb=");if(0>d)b=c+"&mb="+b;else{d+=4;var e=c.indexOf("&",d);b=0<=e?c.substring(0,d)+b+c.substring(e):c.substring(0,d)+b}a.href=2E3<b.length?c:b}}};var xj=function(a,b,c){try{a&&(b=b.top);var d=void 0;var e=b;c=void 0===c?!1:c;a&&null!==e&&e!=e.top&&(e=e.top);try{d=(void 0===c?0:c)?(new Be(e.innerWidth,e.innerHeight)).round():Je(e||window).round()}catch(l){d=new Be(-12245933,-12245933)}a=d;var f=Ke(Ee(b.document).g);if(-12245933==a.width){var g=a.width;var k=new bh(g,g,g,g)}else k=new bh(f.y,f.x+a.width,f.y+a.height,f.x);return k}catch(l){return new bh(-12245933,-12245933,-12245933,-12245933)}};var yj=function(a,b,c){this.id=a;a=ub(c);zb(a);this.Yg=a;this.event=b},zj=function(a){var b={};y(a,function(c){var d=c.event,e=b[d];if(b.hasOwnProperty(d)){if(null!==e){var f;if(f=c.event==e.event&&c.id==e.id)a:if(c=c.Yg,e=e.Yg,Ra(c)&&Ra(e)&&c.length==e.length){f=c.length;for(var g=0;g<f;g++)if(c[g]!==e[g]){f=!1;break a}f=!0}else f=!1;f||(b[d]=null)}}else b[d]=c});sb(a,function(c){return null===b[c.event]})};var Aj={NONE:0,$m:1};var Bj=function(){this.ua=0;this.g=!1;this.h=-1;this.Cd=!1;this.ob=0};Bj.prototype.isVisible=function(){return this.Cd?.3<=this.ua:.5<=this.ua};var Cj={li:0,en:1},Dj={li:0,xn:1,yn:2},Ej={li:0,Ym:1,an:2,Rn:3},Fj={668123728:0,668123729:1},Gj={NONE:0,An:1,kn:2},Hj={480596784:0,480596785:1,21063355:2};var Ij=function(){this.g=null;this.o=!1;this.l=null},Jj=function(a){a.o=!0;return a},Kj=function(a,b){a.l&&y(b,function(c){c=a.l[c];void 0!==c&&a.i(c)})};Ij.prototype.h=function(){return this.g};var Lj=function(a){Ij.call(this);this.u=a};w(Lj,Ij);Lj.prototype.i=function(a){null===this.g&&ec(this.u,a)&&(this.g=a)};var Mj=function(){Ij.call(this)};w(Mj,Ij);Mj.prototype.i=function(a){null===this.g&&"number"===typeof a&&(this.g=a)};var Nj=function(){Ij.call(this)};w(Nj,Ij);
Nj.prototype.i=function(a){null===this.g&&"string"===typeof a&&(this.g=a)};var Oj=function(){this.g={};this.i=!0;this.h={}};Oj.prototype.enable=function(){this.i=!0};Oj.prototype.reset=function(){this.g={};this.i=!0;this.h={}};
var Pj=function(a,b,c){a.g[b]||(a.g[b]=new Lj(c));return a.g[b]},Qj=function(a){a.g.queryid||(a.g.queryid=new Nj)},Rj=function(a,b,c){(a=a.g[b])&&a.i(c)},Sj=function(a,b){if(dc(a.h,b))return a.h[b];if(a=a.g[b])return a.h()},Tj=function(a){var b={},c=Xb(a.g,function(d){return d.o});Wb(c,function(d,e){d=void 0!==a.h[e]?String(a.h[e]):d.o&&null!==d.g?String(d.g):"";0<d.length&&(b[e]=d)},a);return b},Uj=function(a){a=Tj(a);var b=[];Wb(a,function(c,d){d in Object.prototype||"undefined"!=typeof c&&b.push([d,
":",c].join(""))});return b},Vj=function(a){var b=N.D().la;b.i&&y(ac(b.g),function(c){return Kj(c,a)})};var Wj=!Zd&&!rc();var Xj=function(){this.g=this.md=null};var Yj=function(a,b){this.h=(void 0===a?0:a)||0;this.g=(void 0===b?"":b)||""};Yj.prototype.Te=function(){return!!this.h||!!this.g};Yj.prototype.toString=function(){return this.h+(this.g?"-":"")+this.g};Yj.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.h||a.h?this.h==a.h:!1};var Zj=function(){};Zj.prototype.now=function(){return 0};Zj.prototype.h=function(){return 0};Zj.prototype.i=function(){return 0};Zj.prototype.g=function(){return 0};var bk=function(){if(!ak())throw Error();};w(bk,Zj);var ak=function(){return!(!M||!M.performance)};bk.prototype.now=function(){return ak()&&M.performance.now?M.performance.now():Zj.prototype.now.call(this)};bk.prototype.h=function(){return ak()&&M.performance.memory?M.performance.memory.totalJSHeapSize||0:Zj.prototype.h.call(this)};bk.prototype.i=function(){return ak()&&M.performance.memory?M.performance.memory.usedJSHeapSize||0:Zj.prototype.i.call(this)};
bk.prototype.g=function(){return ak()&&M.performance.memory?M.performance.memory.jsHeapSizeLimit||0:Zj.prototype.g.call(this)};var ck=function(){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[ti.visibilityState||ti.webkitVisibilityState||ti.mozVisibilityState||""]||0},dk=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var ek=function(){};ek.prototype.isVisible=function(){return 1===ck()};var fk=function(){return 0===ck()};var gk=function(a,b){this.g=a;this.depth=b},ik=function(a){a=a||Qi();var b=Math.max(a.length-1,0),c=Ti(a);a=c.g;var d=c.h,e=c.i,f=[];c=function(k,l){return null==k?l:k};e&&f.push(new gk([e.url,e.sh?2:0],c(e.depth,1)));d&&d!=e&&f.push(new gk([d.url,2],0));a.url&&a!=e&&f.push(new gk([a.url,0],c(a.depth,b)));var g=jb(f,function(k,l){return f.slice(0,f.length-l)});!a.url||(e||d)&&a!=e||(d=Bi(a.url))&&g.push([new gk([d,1],c(a.depth,b))]);g.push([]);return jb(g,function(k){return hk(b,k)})};
function hk(a,b){var c=kb(b,function(e,f){return Math.max(e,f.depth)},-1),d=Ab(c+2);d[0]=a;y(b,function(e){return d[e.depth+1]=e.g});return d}var jk=function(){var a=ik();return jb(a,function(b){return Wi(b)})};var kk=function(){this.h=new ek;this.g=ak()?new bk:new Zj},mk=function(){lk();var a=M.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&Sa(M.setInterval)&&Sa(M.clearInterval)&&Sa(M.setTimeout)&&Sa(M.clearTimeout))};kk.prototype.setInterval=function(a,b){return M.setInterval(a,b)};kk.prototype.clearInterval=function(a){M.clearInterval(a)};kk.prototype.setTimeout=function(a,b){return M.setTimeout(a,b)};kk.prototype.clearTimeout=function(a){M.clearTimeout(a)};
var nk=function(a){lk();var b=Mi()||M;si(b,a)},ok=function(){lk();return jk()};Oa(kk);var pk=function(){};pk.prototype.getContext=function(){if(!this.g){if(!M)throw Error("Context has not been set and window is undefined.");this.g=kk.D()}return this.g};Oa(pk);var lk=function(){return pk.D().getContext()};var qk=function(a){Zh(this,a,null)};bb(qk,Vh);var rk=function(a){this.l=a;this.g=-1;this.h=this.i=0},sk=function(a,b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];if(-1<a.g)return b.apply(null,u(d));try{return a.g=a.l.g.now(),b.apply(null,u(d))}finally{a.i+=a.l.g.now()-a.g,a.g=-1,a.h+=1}}};var tk=function(a,b){this.h=a;this.i=b;this.g=new rk(a)};var N=function(){this.H=void 0;this.F=0;this.i=new Yj(0,"");this.h=0;this.C=-1;this.u="";this.la=new Oj;Jj(Pj(this.la,"mv",Gj)).l=void 0===Hj?null:Hj;Pj(this.la,"omid",Cj);Jj(Pj(this.la,"epoh",Cj));Jj(Pj(this.la,"epph",Cj));Jj(Pj(this.la,"umt",Cj)).l=void 0===Fj?null:Fj;Jj(Pj(this.la,"phel",Cj));Jj(Pj(this.la,"phell",Cj));Jj(Pj(this.la,"oseid",Hi));var a=this.la;a.g.sloi||(a.g.sloi=new Mj);Jj(a.g.sloi);Jj(Pj(this.la,"xdi",Cj));Jj(Pj(this.la,"amp",Cj));Jj(Pj(this.la,"prf",Cj));Jj(Pj(this.la,"gtx",
Cj));Jj(Pj(this.la,"mvp_lv",Cj));Jj(Pj(this.la,"eocm",Cj));Jj(Pj(this.la,"pnl",Dj));this.l=new tk(lk(),this.la);this.w=this.g=this.o=!1};N.prototype.lg=function(a){if("string"===typeof a&&0!=a.length){var b=this.la;if(b.i){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=d[0];d=1<d.length?parseInt(d[1],10):1;isNaN(d)||(e=b.g[e])&&e.i(d)}b=a.join("&")}else b=a;this.u=b}};Oa(N);var uk=function(){var a="https:";M&&M.location&&"http:"===M.location.protocol&&(a="http:");this.h=a;this.g=.01;this.i=Math.random()},vk=function(a,b,c,d,e){if((d?a.i:Math.random())<(e||a.g))try{if(c instanceof Ui)var f=c;else f=new Ui,xi(c,function(k,l){var m=f,n=m.o++;Yi(m,n,Vi(l,k))});var g=aj(f,a.h,"/pagead/gen_204?id="+b+"&");g&&nk(g)}catch(k){}};var yk=function(){var a=wk;this.i=xk;this.u="jserror";this.l=!0;this.h=null;this.H=this.Lc;this.g=void 0===a?null:a;this.o=!1};h=yk.prototype;h.pinger=function(){return this.i};h.pg=function(a){this.h=a};h.Xh=function(a){this.u=a};h.Yh=function(a){this.l=a};h.Zh=function(a){this.o=a};
h.Id=function(a,b,c){var d=this;return sk(N.D().l.g,function(){try{if(d.g&&d.g.h){var e=d.g.start(a.toString(),3);var f=b();d.g.end(e)}else f=b()}catch(l){var g=d.l;try{kj(e);var k=new zk(Ak(l));g=d.H(a,k,void 0,c)}catch(m){d.Lc(217,m)}if(!g)throw l;}return f})()};h.Sh=function(a,b,c,d){var e=this;return sk(N.D().l.g,function(f){for(var g=[],k=0;k<arguments.length;++k)g[k-0]=arguments[k];return e.Id(a,function(){return b.apply(c,g)},d)})};
h.Lc=function(a,b,c,d,e){e=e||this.u;try{var f=new Ui;f.l=!0;Zi(f,1,"context",a);Oi(b)||(b=new zk(Ak(b)));b.msg&&Zi(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.h)try{this.h(g)}catch(l){}if(d)try{d(g)}catch(l){}Yi(f,3,[g]);var k=Ti();k.h&&Zi(f,4,"top",k.h.url||"");Zi(f,5,"url",k.g.url||"");vk(this.i,e,f,this.o,c)}catch(l){try{vk(this.i,e,{context:"ecmserr",rctx:a,msg:Ak(l),url:k&&k.g.url},this.o,c)}catch(m){}}return this.l};
var Ak=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b},zk=function(a){Ni.call(this,Error(a),{message:a})};w(zk,Ni);var xk,Bk,wk=new jj(1,Mi()),Ck=function(){var a=Mi();a&&"undefined"!=typeof a.google_measure_js_timing&&(a.google_measure_js_timing||wk.H())};(function(){xk=new uk;Bk=new yk;var a=Mi();a&&a.document&&("complete"==a.document.readyState?Ck():wk.h&&pi(a,"load",function(){Ck()}))})();
var Dk=function(a){Bk.pg(function(b){y(a,function(c){c(b)})})},Ek=function(a,b){return Bk.Id(a,b,void 0)},Fk=function(a,b,c,d){return Bk.Sh(a,b,c,d)},Gk=function(a,b){vk(xk,a,b,"jserror"!=a,void 0)},Hk=function(a,b,c,d){Bk.Lc(a,b,c,d)};var Ik=Date.now(),Jk=-1,Kk=-1,Lk,Mk=-1,Nk=!1,Ok=function(){return Date.now()-Ik},Pk=function(){var a=N.D().H,b=0<=Kk?Ok()-Kk:-1,c=Nk?Ok()-Jk:-1,d=0<=Mk?Ok()-Mk:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];Hk(637,Error(),.001);var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var g=e[b];break}void 0===g&&(g=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:g};var Qk={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},fc={yi:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",$j:"metric",wi:"pause",xi:"resume",SKIPPED:"skip",VIEWABLE_IMPRESSION:"viewable_impression",ek:"mute",nk:"unmute",FULLSCREEN:"fullscreen",oi:"exitfullscreen",ki:"bufferstart",ji:"bufferfinish",Ig:"fully_viewable_audible_half_duration_impression",Jg:"measurable_impression",ii:"abandon",Hg:"engagedview",IMPRESSION:"impression",
mi:"creativeview",LOADED:"loaded",jk:"progress",Nj:"close",Oj:"collapse",pi:"overlay_resize",ri:"overlay_unmeasurable_impression",si:"overlay_unviewable_impression",ui:"overlay_viewable_immediate_impression",ti:"overlay_viewable_end_of_session_impression",ni:"custom_metric_viewable"},Rk="start firstquartile midpoint thirdquartile resume loaded".split(" "),Sk=["start","firstquartile","midpoint","thirdquartile"],Tk=["abandon"],Uk={so:-1,yi:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,$j:5,
wi:6,xi:7,SKIPPED:8,VIEWABLE_IMPRESSION:9,ek:10,nk:11,FULLSCREEN:12,oi:13,Ig:14,Jg:15,ii:16,Hg:17,IMPRESSION:18,mi:19,LOADED:20,ni:21,ki:22,ji:23};var Vk=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,wi(a)&&(c=a,b=d);return{Ha:c,level:b}};var Zb={rm:"addEventListener",ln:"getMaxSize",nn:"getScreenSize",on:"getState",pn:"getVersion",Tn:"removeEventListener",Bn:"isViewable"},Wk=function(a){var b=a!==a.top,c=a.top===Vk(a).Ha,d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),$b(function(g){return Sa(f[g])})||(e=1));return{Vb:f,Bf:e,cm:d}};var Xk=function(a){return(a=a.document)&&Sa(a.elementFromPoint)};if(ti&&ti.URL){var Yk,Ci=ti.URL;Yk=!!Ci&&0<Di().length;Bk.Yh(!Yk)}var Zk=function(a,b,c,d){var e=void 0===e?!1:e;c=Fk(d,c);pi(a,b,c,{capture:e})};var $k=function(a){var b=N.D().i;b&&(b.h&&(a[4]=b.h),b.g&&(a[12]=b.g))},al=function(a){var b=[];Wb(a,function(c,d){d=encodeURIComponent(d);"string"===typeof c&&(c=encodeURIComponent(c));b.push(d+"="+c)});b.push("24="+Date.now());return b.join("\n")};var bl=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},cl=function(a){return new bh(a.top,a.right,a.bottom,a.left)},dl=function(a){var b=a.top||0,c=a.left||0;return new bh(b,c+(a.width||0),b+(a.height||0),c)},el=function(a){return null!=a&&0<=a&&1>=a},fl=function(a){if(!a)return null;a=a.split("-");return 4==a.length?new bh(Nd(a[0]),Nd(a[3]),Nd(a[2]),Nd(a[1])):null},gl=function(a){var b={};if(void 0==a)return b;"?"===a.charAt(0)&&(a=a.substring(1));Vg(a,function(c,d){return b[c]=d});return b};function hl(){var a=Sb;return a?lb("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return Pb(a,b)})||Pb(a,"OMI/")&&!Pb(a,"XiaoMi/")?!0:Pb(a,"Presto")&&Pb(a,"Linux")&&!Pb(a,"X11")&&!Pb(a,"Android")&&!Pb(a,"Mobi"):!1}function il(){var a=Sb;return Pb(a,"AppleTV")||Pb(a,"Apple TV")||Pb(a,"CFNetwork")||Pb(a,"tvOS")}function jl(){var a=Sb;return Pb(a,"sdk_google_atv_x86")||Pb(a,"Android TV")}
function kl(){return Pb(Sb,"CrKey")||Pb(Sb,"PlayStation")||Pb(Sb,"Roku")||hl()||Pb(Sb,"Xbox")||il()||jl()};var ml=function(){this.C=!1;this.h=!wi(M.top);this.H=ui()||vi();var a=Qi();a=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?((a=a[a.length-1].url.match(Ug)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new bh(0,0,0,0);this.o=new Be(0,0);this.i=new Be(0,0);this.w=new bh(0,0,0,0);this.K=new Ae(0,0);this.F=!1;this.J=null;this.u=0;this.ca=!1;this.l=!(!M||!Wk(M).Vb);ll(this)},nl=function(a,b){b&&b.screen&&(a.o=new Be(b.screen.width,b.screen.height))},ol=function(a,b){var c=a.g?new Be(ch(a.g),
dh(a.g)):new Be(0,0);b=void 0===b?M:b;null!==b&&b!=b.top&&(b=b.top);var d=0,e=0;try{var f=b.document,g=f.body,k=f.documentElement;if("CSS1Compat"==f.compatMode&&k.scrollHeight)d=k.scrollHeight!=c.height?k.scrollHeight:k.offsetHeight,e=k.scrollWidth!=c.width?k.scrollWidth:k.offsetWidth;else{var l=k.scrollHeight,m=k.scrollWidth,n=k.offsetHeight,q=k.offsetWidth;k.clientHeight!=n&&(l=g.scrollHeight,m=g.scrollWidth,n=g.offsetHeight,q=g.offsetWidth);l>c.height?l>n?(d=l,e=m):(d=n,e=q):l<n?(d=l,e=m):(d=n,
e=q)}var v=new Be(e,d)}catch(t){v=new Be(-12245933,-12245933)}a.i=v},ll=function(a){M&&M.document&&(a.w=xj(!1,M,a.H),a.g=xj(!0,M,a.H),a.J=a.g,ol(a,M),nl(a,M))},pl=function(){var a=ml.D();if(0<a.u||a.ca)return!0;a=lk().h.isVisible();var b=fk();return a||b};Oa(ml);var ql=new bh(0,0,0,0);function rl(a,b){b=sl(b);return 0===b?0:sl(a)/b}function sl(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function tl(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{a:{var d=void 0;if(ze&&!(Zd&&se("9")&&!se("10")&&x.SVGElement&&a instanceof x.SVGElement)&&(d=a.parentElement)){var e=d;break a}d=a.parentNode;e=Ta(d)&&1==d.nodeType?d:null}if(a=e||a){var f=De(a),g=f&&Le(f),k=g&&g.frameElement;k&&(a=k)}}catch(l){break}}return!1}
function ul(a,b,c){if(!a||!b)return!1;b=eh(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Mi();wi(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Xk(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=De(c))&&b.defaultView&&b.defaultView.frameElement)&&tl(b,a);d=a===c;a=!d&&a&&bf(a,function(e){return e===c});return!(b||d||a)}function vl(a,b,c,d){return ml.D().h?!1:0>=ch(a)||0>=dh(a)?!0:c&&d?Ek(208,function(){return ul(a,b,c)}):!1};var wl=function(a,b,c){var d=new bh(0,0,0,0);this.time=a;this.volume=null;this.i=b;this.g=d;this.h=c};var xl=function(a,b,c,d,e,f,g){this.w=a;this.H=b;this.u=c;this.g=d;this.o=e;this.h=f;this.l=g};xl.prototype.i=function(){return this.w};var yl=function(a){this.i=a;this.h=0;this.g=null};yl.prototype.cancel=function(){lk().clearTimeout(this.g);this.g=null};var zl=function(a){var b=lk();a.g=b.setTimeout(sk(N.D().l.g,Fk(143,function(){a.h++;a.i.ia()})),Pk())};var Al=function(a,b,c){this.Ha=a;this.aa=void 0===c?"na":c;this.u=[];this.J=!1;this.l=new wl(-1,!0,this);this.g=this;this.w=b;this.ca=this.T=this.F=!1;this.W="uk";this.X=!1;this.o=!0};h=Al.prototype;h.Dh=function(){return this.ge()};h.ge=function(){return!1};h.ag=function(){return this.J=!0};h.Xd=function(){return this.g.W};h.ae=function(){return this.g.ca};var Cl=function(a,b,c){if(!a.ca||(void 0===c?0:c))a.ca=!0,a.W=b,a.w=0,a.K(),a.g!=a||Bl(a)};Al.prototype.Ba=function(){return this.g.aa};
Al.prototype.fd=function(){return this.g.M()};Al.prototype.M=function(){return{}};Al.prototype.Gc=function(){return this.g.w};var Dl=function(a,b){qb(a.u,b)||(a.u.push(b),b.$d(a.g),b.Hc(a.l),b.rc()&&(a.F=!0))};Al.prototype.Bh=function(){var a=ml.D();a.g=xj(!0,this.Ha,a.H)};Al.prototype.Ch=function(){nl(ml.D(),this.Ha)};Al.prototype.aj=function(){ol(ml.D(),this.Ha)};Al.prototype.sa=function(){return this.l.g};
var El=function(a){a=a.g;a.Ch();a.Bh();var b=ml.D();b.w=xj(!1,a.Ha,b.H);a.aj();a.l.g=a.sa()},Fl=function(a){var b=Ok(),c=pl();return new wl(b,c,a)};Al.prototype.ia=function(){};var Gl=function(a,b){a.g!=a?Gl(a.g,b):a.o!==b&&(a.o=b,Bl(a))};Al.prototype.de=function(){return this.g.o};var Hl=function(a){a.F=a.u.length?lb(a.u,function(b){return b.rc()}):!1};Al.prototype.K=function(){};Al.prototype.i=function(){return this.l};
var Il=function(a){var b=ub(a.u);y(b,function(c){c.Hc(a.l)})},Bl=function(a){var b=ub(a.u);y(b,function(c){c.$d(a.g)});a.g!=a||Il(a)};Al.prototype.$d=function(a){var b=this.g,c=a.Gc();this.g=c>=this.w?a:this;b!==this.g?(this.g==this||1==c&&0!=this.w||this.K(),this.o=this.g.o,Bl(this)):this.o!==this.g.o&&(this.o=this.g.o,Bl(this))};
Al.prototype.Hc=function(a){if(a.h===this.g){var b;if(!(b=this.T)){b=this.l;var c=this.F;if(c=a&&(void 0===c||!c||b.volume==a.volume)&&b.i==a.i)b=b.g,c=a.g,c=b==c?!0:b&&c?b.top==c.top&&b.right==c.right&&b.bottom==c.bottom&&b.left==c.left:!1;b=!c}this.l=a;b&&Il(this)}};var Jl=function(a,b){a.w!==b&&(a.g!=a&&b>a.g.w&&(a.g=a,Bl(a)),a.w=b)};Al.prototype.rc=function(){return this.F};Al.prototype.$=function(){this.X=!0};Al.prototype.yb=function(){return this.X};var Kl=function(a,b,c,d){this.element=a;this.g=new bh(0,0,0,0);this.o=new bh(0,0,0,0);this.h=b;this.la=c;this.ca=d;this.J=!1;this.timestamp=-1;this.i=new xl(b.i(),this.g,new bh(0,0,0,0),0,0,Ok(),0)};h=Kl.prototype;h.Ah=function(){return!0};h.$f=function(){};
h.Fe=function(){if(this.element){var a=this.element,b=this.h.g.Ha;try{try{var c=cl(a.getBoundingClientRect())}catch(m){c=new bh(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=wh(a,b),g=f.x,k=f.y;var l=new bh(Math.round(k),Math.round(g+d),Math.round(k+e),Math.round(g))}catch(m){l=ql.clone()}this.g=l}};h.Fi=function(){this.o=this.h.i().g};h.xc=function(){this.Fe();this.i=new xl(this.h.i(),this.g,this.i.u,this.i.g,this.i.o,Ok(),this.i.l)};
h.$=function(){if(!this.yb()){var a=this.h;rb(a.u,this);a.F&&this.rc()&&Hl(a);this.$f();this.J=!0}};h.yb=function(){return this.J};h.fd=function(){return this.h.fd()};h.Gc=function(){return this.h.Gc()};h.Xd=function(){return this.h.Xd()};h.ae=function(){return this.h.ae()};h.$d=function(){};h.Hc=function(){this.xc()};h.rc=function(){return this.ca};var Ll=function(a){this.o=!1;this.g=a;this.l=Na};h=Ll.prototype;h.Gc=function(){return this.g.Gc()};h.Xd=function(){return this.g.Xd()};h.ae=function(){return this.g.ae()};h.create=function(a,b,c){var d=null;this.g&&(d=this.We(a,b,c),Dl(this.g,d));return d};h.yh=function(){return this.ee()};h.ee=function(){return!1};h.init=function(a){return this.g.ag()?(Dl(this.g,this),this.l=a,!0):!1};h.$d=function(a){0==a.Gc()&&this.l(a.Xd(),this)};h.Hc=function(){};h.rc=function(){return!1};
h.$=function(){this.o=!0};h.yb=function(){return this.o};h.fd=function(){return{}};var Ml=function(a,b,c){this.i=void 0===c?0:c;this.h=a;this.g=null==b?"":b},Nl=function(a){switch(Math.trunc(a.i)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}},Ol=function(a,b){return a.i<b.i?!0:a.i>b.i?!1:a.h<b.h?!0:a.h>b.h?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g};var Pl=function(){this.i=0;this.g=[];this.h=!1};Pl.prototype.add=function(a,b,c){++this.i;a=new Ml(a,b,c);this.g.push(new Ml(a.h,a.g,a.i+this.i/4096));this.h=!0;return this};
var Ql=function(a,b){y(b.g,function(c){a.add(c.h,c.g,Nl(c))})},Rl=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;xi(b,function(e,f){d&&void 0===e||a.add(f,e,c)});return a},Tl=function(a){var b=Sl;a.h&&(zb(a.g,function(c,d){return Ol(d,c)?1:Ol(c,d)?-1:0}),a.h=!1);return kb(a.g,function(c,d){d=b(d);return""+c+(""!=c&&""!=d?"&":"")+d},"")};var Sl=function(a){var b=a.h;a=a.g;return""===a?b:"boolean"===typeof a?a?b:"":Qa(a)?0===a.length?b:b+"="+a.join():b+"="+(qb(["mtos","tos","p"],b)?a:encodeURIComponent(a))};var Ul=function(a){var b=void 0===b?!0:b;this.g=new Pl;void 0!==a&&Ql(this.g,a);b&&this.g.add("v",mi,-16)};Ul.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Tl(this.g);0<b.length&&(a+="?"+b);return a};var Vl=function(a){var b=[],c=[];Wb(a,function(d,e){if(!(e in Object.prototype)&&"undefined"!=typeof d)switch(Qa(d)&&(d=d.join(",")),d=[e,"=",d].join(""),e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}});return b.concat(c)},Wl=function(){if(mi&&"unreleased"!==mi)return mi},Xl=function(a){var b=void 0===b?4E3:b;a=a.toString();if(!/&v=[^&]+/.test(a)){var c=
Wl();a=c?a+"&v="+encodeURIComponent(c):a}a=a.substring(0,b);nk(a)};var Yl=function(){this.g=0};Oa(Yl);var Zl=function(a,b,c){y(a.h,function(d){var e=a.g;if(!d.g&&(d.i(b,c),d.l())){d.g=!0;var f=d.h(),g=new Pl;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.o);d=Yl.D();g.add("i",d.g++);g.add("adk",e);Rl(g,f);e=new Ul(g);Xl(e)}})};var $l=function(){this.h=this.i=this.l=this.g=0},am=function(a,b,c,d){b&&(a.g+=c,a.h+=c,a.l+=c,a.i=Math.max(a.i,a.l));if(void 0===d?!b:d)a.l=0};var bm=[1,.75,.5,.3,0],cm=function(a){this.h=a=void 0===a?bm:a;this.g=jb(this.h,function(){return new $l})},em=function(a,b){return dm(a,function(c){return c.g},void 0===b?!0:b)},gm=function(a,b){return fm(a,b,function(c){return c.g})},hm=function(a,b){return dm(a,function(c){return c.i},void 0===b?!0:b)},im=function(a,b){return fm(a,b,function(c){return c.i})},jm=function(a,b){return fm(a,b,function(c){return c.h})},km=function(a){y(a.g,function(b){b.h=0})},lm=function(a,b,c,d,e,f,g){g=void 0===
g?!0:g;c=f?Math.min(b,c):c;for(f=0;f<a.h.length;f++){var k=a.h[f],l=0<c&&c>=k;k=!(0<b&&b>=k)||d;am(a.g[f],g&&l,e,!g||k)}},dm=function(a,b,c){a=jb(a.g,function(d){return b(d)});return c?a:mm(a)},fm=function(a,b,c){var d=pb(a.h,function(e){return b<=e});return-1==d?0:c(a.g[d])},mm=function(a){return jb(a,function(b,c,d){return 0<c?d[c]-d[c-1]:d[c]})};var nm=function(){this.i=new cm;this.W=new $l;this.J=this.H=-1;this.aa=1E3;this.ea=new cm([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.na=this.ca=-1},om=function(a,b){return hm(a.i,void 0===b?!0:b)};
nm.prototype.K=function(a,b,c,d){this.H=-1!=this.H?Math.min(this.H,b.ua):b.ua;this.J=Math.max(this.J,b.ua);this.ca=-1!=this.ca?Math.min(this.ca,b.ob):b.ob;this.na=Math.max(this.na,b.ob);lm(this.ea,b.ob,c.ob,b.g,a,d);lm(this.i,b.ua,c.ua,b.g,a,d);c=d||c.Cd!=b.Cd?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;am(this.W,c,a,b)};nm.prototype.Dd=function(){return this.W.i>=this.aa};var pm=new bh(0,0,0,0),qm=function(a,b,c){gf.call(this);this.position=pm.clone();this.Vf=this.Gf();this.wh=-2;this.fm=Date.now();this.Bj=-1;this.Ue=b;this.Nf=null;this.Df=!1;this.ig=null;this.opacity=-1;this.Yl=c;this.Gj=this.xh=Na;this.vb=new Xj;this.vb.md=a;this.vb.g=a;this.Jc=!1;this.wd={Lh:null,Kh:null};this.xj=!0;this.jf=null;this.ce=!1;N.D().F++;this.kb=this.jh();this.zj=-1;this.za=null;a=this.la=new Oj;Pj(a,"od",Aj);Jj(Pj(a,"opac",Cj));Jj(Pj(a,"sbeos",Cj));Jj(Pj(a,"prf",Cj));Jj(Pj(a,"mwt",
Cj));Pj(a,"iogeo",Cj);Jj(Pj(a,"osddt",Cj));Jj(Pj(a,"nrl",Cj));Jj(Pj(a,"nrls",Ej));(a=this.vb.md)&&a.getAttribute&&!/-[a-z]/.test("googleAvInapp")&&(Wj&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Pd()):a.getAttribute("data-"+Pd()))&&(ml.D().l=!0);1==this.Yl?Rj(this.la,"od",1):Rj(this.la,"od",0)};w(qm,gf);h=qm.prototype;
h.R=function(){this.vb.g&&(this.wd.Lh&&(qi(this.vb.g,"mouseover",this.wd.Lh),this.wd.Lh=null),this.wd.Kh&&(qi(this.vb.g,"mouseout",this.wd.Kh),this.wd.Kh=null));this.jf&&this.jf.$();this.za&&this.za.$();delete this.Vf;delete this.xh;delete this.Gj;delete this.vb.md;delete this.vb.g;delete this.wd;delete this.jf;delete this.za;delete this.la;gf.prototype.R.call(this)};h.Fc=function(){return this.za?this.za.g:this.position};h.lg=function(a){N.D().lg(a)};h.rc=function(){return!1};h.Gf=function(){return new nm};
h.gb=function(){return this.Vf};var rm=function(a,b){b!=a.ce&&(a.ce=b,a=ml.D(),b?a.u++:0<a.u&&a.u--)},sm=function(a,b){if(a.za){if(b.Ba()===a.za.Ba())return;a.za.$();a.za=null}b=b.create(a.vb.g,a.la,a.rc());if(b=null!=b&&b.Ah()?b:null)a.za=b},tm=function(a,b,c){if(!a.Nf||-1==a.Ue||-1===b.h||-1===a.Nf.h)return 0;a=b.h-a.Nf.h;return a>c?0:a};qm.prototype.Oi=function(a){return tm(this,a,1E4)};
var um=function(a,b,c){if(a.za){a.za.xc();var d=a.za.i,e=d.i(),f=e.g;if(null!=d.u){var g=d.H;a.ig=new Ae(g.left-f.left,g.top-f.top)}f=a.sg()?Math.max(d.g,d.o):d.g;g={};null!==e.volume&&(g.volume=e.volume);e=1===Sj(a.la,"osddt");var k=a.za.Ba();switch(k){case "aio":case "iem":case "exc":case "geo":case "gsv":case "mraid":case "nis":case "nio":case "omid":e=!0;break;case "a100":case "na":e=!0;break;default:e||-1!=a.Ue||Gk("av-js",{strategy_name:k,bin:N.D().h})}e?(e=a.Oi(d),a.Nf=d,a.Ag(f,b,c,!1,g,e,
d.l)):a.Ag(f,b,c,!1,g,a.kh(b),d.l)}},vm=function(a){if(a.Df&&a.jf){var b=1==Sj(a.la,"od"),c=ml.D().g,d=a.jf,e=new Be(ch(c),dh(c));c=a.sg();a={dm:a.za?a.za.Ba():"ns",ig:a.ig,jm:e,sg:c,ua:a.kb.ua,gm:b};if(b=d.i){b.xc();e=b.i;var f=e.i().g,g=null,k=null;null!=e.u&&f&&(g=e.H,g=new Ae(g.left-f.left,g.top-f.top),k=new Be(f.right-f.left,f.bottom-f.top));c={dm:b.Ba(),ig:g,jm:k,sg:c,gm:!1,ua:c?Math.max(e.g,e.o):e.g}}else c=null;c&&Zl(d,a,c)}};h=qm.prototype;
h.Ag=function(a,b,c,d,e,f,g){this.Jc||(this.Df&&(a=this.Og(a,c,e,g),d=d&&this.kb.ua>=(this.Cd()?.3:.5),this.di(f,a,d),this.Ue=b,0<a.ua&&-1===this.zj&&(this.zj=b),-1==this.Bj&&this.Dd()&&(this.Bj=b),-2==this.wh&&(this.wh=sl(this.Fc())?a.ua:-1),this.kb=a),this.xh(this))};h.di=function(a,b,c){this.gb().K(a,b,this.kb,c)};h.jh=function(){return new Bj};h.Og=function(a,b,c,d){c=this.jh();c.g=b;b=lk().h;b=fk()?-1:b.isVisible()?0:1;c.h=b;c.ua=this.Sg(a);c.Cd=this.Cd();c.ob=d;return c};
h.Pi=function(a,b){if(-1==this.Ue)return 0;a-=this.Ue;return a>b?0:a};h.kh=function(a){return this.Pi(a,1E4)};h.Sg=function(a){return 0===this.opacity&&1===Sj(this.la,"opac")?0:a};h.Cd=function(){return!1};h.sg=function(){return!1};h.Tb=function(){return 0};h.Dd=function(){return this.Vf.Dd()};var wm=function(a,b,c){b&&(a.xh=b);c&&(a.Gj=c)};var xm="StopIteration"in x?x.StopIteration:{message:"StopIteration",stack:""},ym=function(){};ym.prototype.next=function(){throw xm;};ym.prototype.wk=function(){return this};var zm=function(){this.l=this.g=this.i=this.h=this.o=0},Am=function(a){var b={};var c=ab()-a.o;b=(b.ptlt=c,b);(c=a.h)&&(b.pnk=c);(c=a.i)&&(b.pnc=c);(c=a.l)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};var Bm=function(){Bj.call(this);this.ed=!1;this.volume=void 0;this.l=!1;this.i=-1};w(Bm,Bj);var Cm=function(a){return el(a.volume)&&.1<=a.volume};var Dm=function(){var a={};this.h=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.avs=[64,0],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.h)0<this.h[b][1]&&(this.g[b]=0);this.i=0};Dm.prototype.Y=function(a){var b=this.h[a],c=b[1];this.i+=b[0];0<c&&0==this.g[a]&&(this.g[a]=1)};
var Fm=function(a){return Em(a,bc(a.h))},Em=function(a,b){var c=0,d;for(d in a.g)qb(b,d)&&1==a.g[d]&&(c+=a.h[d][1],a.g[d]=2);return c},Gm=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.h[c][1]}return b};var Hm=function(){this.g=this.i=0};Hm.prototype.h=function(){return this.i};var Im=function(a,b,c){32<=b||(a.g&1<<b&&!c?a.i&=~(1<<b):a.g&1<<b||!c||(a.i|=1<<b),a.g|=1<<b)};var Jm=function(){nm.call(this);this.g=new $l;this.T=this.C=this.M=0;this.w=-1;this.ia=new $l;this.o=new $l;this.h=new cm;this.u=this.l=-1;this.F=new $l;this.aa=2E3;this.N=new Hm;this.X=new Hm;this.sa=new Hm};w(Jm,nm);var Km=function(a,b,c){var d=a.T;Nk||c||-1==a.w||(d+=b-a.w);return d};
Jm.prototype.K=function(a,b,c,d){if(!b.l){nm.prototype.K.call(this,a,b,c,d);var e=Cm(b)&&Cm(c),f=.5<=(d?Math.min(b.ua,c.ua):c.ua);el(b.volume)&&(this.l=-1!=this.l?Math.min(this.l,b.volume):b.volume,this.u=Math.max(this.u,b.volume));f&&(this.M+=a,this.C+=e?a:0);lm(this.h,b.ua,c.ua,b.g,a,d,e);am(this.g,!0,a);am(this.o,e,a);am(this.F,c.ed,a);am(this.ia,e&&!f,a);a=Math.floor(b.i/1E3);Im(this.N,a,b.isVisible());Im(this.X,a,1<=b.ua);Im(this.sa,a,Cm(b))}};var Lm=function(){this.g=!1};var Mm=function(a,b){this.g=!1;this.l=a;this.C=b;this.h=0};w(Mm,Lm);var Nm=function(a,b){return a.i(b)?(b=a.C.report(a.l,b),a.h|=b,0==b):!1};Mm.prototype.i=function(){return!0};Mm.prototype.o=function(){return!1};Mm.prototype.u=function(){var a=this,b=gc(function(c){return c==a.l});return Uk[b].toString()};Mm.prototype.toString=function(){var a="";this.o()&&(a+="c");this.g&&(a+="s");0<this.h&&(a+=":"+this.h);return this.u()+a};var Om=function(a,b,c,d){Kl.call(this,a,b,c,d)};w(Om,Kl);Om.prototype.F=function(a){var b=1==Sj(this.la,"od");return vl(a,this.o,this.element,b)};Om.prototype.Gi=function(){if(1===Sj(this.la,"osddt")||"mraid"===this.Ba()||"iem"===this.Ba()||"omid"===this.Ba())this.timestamp=Ok();else{var a=this.h.i();this.timestamp=-1===a.time?Ok():a.time}};
Om.prototype.xc=function(){this.Gi();this.Fe();this.Fi();var a=this.g;var b=this.o;a=a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new bh(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new bh(0,0,0,0);b=a.top>=a.bottom||a.left>=a.right?new bh(0,0,0,0):a;a=this.h.i();var c=0,d=0,e=0;0<(this.g.bottom-this.g.top)*(this.g.right-this.g.left)&&(this.F(b)?b=new bh(0,0,0,0):(c=ml.D().o,e=new bh(0,c.height,c.width,0),c=rl(b,this.g),
d=rl(b,ml.D().g),e=rl(b,e)));b=b.top>=b.bottom||b.left>=b.right?new bh(0,0,0,0):eh(b,-this.g.left,-this.g.top);pl()||(d=c=0);this.i=new xl(a,this.g,b,c,d,this.timestamp,e)};Om.prototype.Ba=function(){return this.h.Ba()};var Pm=new bh(0,0,0,0),Qm=function(a,b,c){Kl.call(this,null,a,b,c);this.H=a.de();this.u=0};w(Qm,Om);h=Qm.prototype;h.Ah=function(){this.l();return!0};h.Hc=function(){Om.prototype.xc.call(this)};h.Gi=function(){};h.Fe=function(){};h.xc=function(){this.l();Om.prototype.xc.call(this)};h.$d=function(a){a=a.de();a!==this.H&&(a?this.l():(ml.D().g=new bh(0,0,0,0),this.g=new bh(0,0,0,0),this.o=new bh(0,0,0,0),this.timestamp=-1));this.H=a};var Rm={},Sm=(Rm.firstquartile=0,Rm.midpoint=1,Rm.thirdquartile=2,Rm.complete=3,Rm),Tm=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;qm.call(this,b,c,d);this.$g=0;this.tc={};this.Ka=new Dm;this.Zi={};this.Qa="";this.rd=null;this.kc=!1;this.g=[];this.u=e;this.H=f;this.o=null;this.l=-1;this.aa=this.J=void 0;this.C=this.K=0;this.T=-1;this.Wa=this.va=!1;this.N=this.w=this.h=this.ye=this.tb=0;this.lc=this.X=-1;this.Zc=0;this.Ea=new cm;this.W=this.ea=this.sa=0;this.ia=-1;this.Ia=0;this.F=
Na;this.M=[this.Gf()];this.Cc=2;this.Md={};this.Md.pause="p";this.Md.resume="r";this.Md.skip="s";this.Md.mute="m";this.Md.unmute="um";this.Md.exitfullscreen="ef";this.i=null};w(Tm,qm);Tm.prototype.rc=function(){return!0};Tm.prototype.Cj=function(){if(this.u){var a=this.u;a.g||(a.g=Nm(a,this))}};var Um=function(a){return void 0===a?a:Number(a)?bl(a,3):0};h=Tm.prototype;h.Oi=function(a){return tm(this,a,Math.max(1E4,this.l/3))};
h.kh=function(a){return 2==this.Ia?0:qm.prototype.Pi.call(this,a,Math.max(1E4,this.l/3))};h.Ag=function(a,b,c,d,e,f,g){var k=this,l=this.F(this)||{};mc(l,e);this.l=l.duration||this.l;this.J=l.isVpaid||this.J;this.aa=l.isYouTube||this.aa;e=Vm(this,b);1===Wm(this)&&(f=e);qm.prototype.Ag.call(this,a,b,c,d,l,f,g);this.u&&this.u.g&&y(this.H,function(m){m.g||(m.g=Nm(m,k))})};
h.di=function(a,b,c){qm.prototype.di.call(this,a,b,c);Xm(this).K(a,b,this.kb,c);this.Wa=Cm(this.kb)&&Cm(b);-1==this.T&&this.va&&(this.T=this.gb().g.g);this.Ka.i=0;a=this.Dd();b.isVisible()&&this.Ka.Y("vs");a&&this.Ka.Y("vw");el(b.volume)&&this.Ka.Y("am");Cm(b)&&this.Ka.Y("a");this.ce&&this.Ka.Y("f");-1!=b.h&&(this.Ka.Y("bm"),1==b.h&&this.Ka.Y("b"));Cm(b)&&b.isVisible()&&this.Ka.Y("avs");this.Wa&&a&&this.Ka.Y("avw");0<b.ua&&this.Ka.Y("pv");Ym(this,this.gb().g.g,!0)&&this.Ka.Y("gdr");2E3<=im(this.gb().i,
1)&&this.Ka.Y("pmx")};h.Gf=function(){return new Jm};h.gb=function(){return this.Vf};var Xm=function(a,b){var c;null!=b&&b<a.M.length?c=b:c=a.M.length-1;return a.M[c]};Tm.prototype.jh=function(){return new Bm};Tm.prototype.Og=function(a,b,c,d){a=qm.prototype.Og.call(this,a,b,c,void 0===d?-1:d);a.ed=this.ce;a.l=2==this.Ia;a.volume=c.volume;el(a.volume)||(this.tb++,b=this.kb,el(b.volume)&&(a.volume=b.volume));c=c.currentTime;a.i=void 0!==c&&0<=c?c:-1;return a};
var Wm=function(a){var b=!!Sj(N.D().la,"umt");return a.J||!b&&!a.aa?0:1},Vm=function(a,b){b=a.kh(b);var c=a.F(a)||{};c=void 0!==c.currentTime?c.currentTime:a.K;var d=c-a.K,e=0;0<=d?(a.C+=b,a.W+=Math.max(b-d,0),e=Math.min(d,a.C)):a.ea+=Math.abs(d);0!=d&&(a.C=0);-1==a.ia&&0<d&&(a.ia=0<=Mk?Ok()-Mk:-1);a.K=c;return e};Tm.prototype.Sg=function(a){return ml.D().C?0:this.ce?1:qm.prototype.Sg.call(this,a)};Tm.prototype.Tb=function(){return 1};Tm.prototype.getDuration=function(){return this.l};
var Zm=function(a,b){lb(a.H,function(c){return c.l==b.l})||a.H.push(b)},Ym=function(a,b,c){return 15E3<=b?!0:a.va?(void 0===c?0:c)?!0:0<a.l?b>=a.l/2:0<a.T?b>=a.T:!1:!1},$m=function(a){var b={},c=ml.D();b.insideIframe=c.h;b.unmeasurable=a.Jc;b.position=a.Fc();b.exposure=a.kb.ua;b.documentSize=c.i;b.viewportSize=new Be(ch(c.g),dh(c.g));null!=a.i&&(b.presenceData=a.i);b.screenShare=a.kb.ob;return b},an=function(a){var b=bl(a.kb.ua,2),c=a.Ka.i,d=a.kb,e=Xm(a),f=Um(e.l),g=Um(e.u),k=Um(d.volume),l=bl(e.H,
2),m=bl(e.J,2),n=bl(d.ua,2),q=bl(e.ca,2),v=bl(e.na,2);d=bl(d.ob,2);a=a.Fc().clone();a.round();e=om(e,!1);return{im:b,Se:c,Xf:f,Sf:g,De:k,Yf:l,Tf:m,ua:n,Zf:q,Uf:v,ob:d,position:a,fg:e}},cn=function(a,b){bn(a.g,b,function(){return{im:0,Se:void 0,Xf:-1,Sf:-1,De:-1,Yf:-1,Tf:-1,ua:-1,Zf:-1,Uf:-1,ob:-1,position:void 0,fg:[]}});a.g[b]=an(a)},bn=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++},fn=function(a,b,c){var d=a.Zi[b];if(null!=d)return d;d=dn(a,b);var e=gc(function(f){return f==b});c=en(a,
d,d,c,Sm[fc[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Em(a.Ka,["gdr"]));return c},gn=function(a,b,c){var d=[b];if(a!=b||c!=b)d.unshift(a),d.push(c);return d},en=function(a,b,c,d,e){if(a.Jc)return{"if":0};var f=a.Fc().clone();f.round();var g=ml.D(),k=N.D(),l=a.gb(),m=a.za?a.za.Ba():"ns",n={};n["if"]=g.h?1:void 0;n.sdk=a.o?a.o:void 0;n.t=a.fm;n.p=[f.top,f.left,f.bottom,f.right];n.tos=em(l.i,!1);n.mtos=om(l);n.mcvt=l.W.i;n.ps=void 0;n.vht=Km(l,Ok(),2==a.Ia);n.mut=l.ia.i;
n.a=Um(a.kb.volume);n.mv=Um(l.u);n.fs=a.ce?1:0;n.ft=l.F.g;n.at=l.o.g;n.as=.1<=l.l?1:0;n.atos=em(l.h);n.ssb=em(l.ea,!1);n.amtos=hm(l.h);n.uac=a.tb;n.vpt=l.g.g;"nio"==m&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=Ym(a,l.g.g,!0)?1:0;n.efpf=a.Cc;if("gsv"==m||"nis"==m)f=a.za,0<f.u&&(n.nnut=f.u);n.tcm=Wm(a);n.nmt=a.ea;n.bt=a.W;n.pst=a.ia;n.vpaid=a.J;n.dur=a.l;n.vmtime=a.K;n.is=a.Ka.i;1<=a.g.length&&(n.i0=a.g[0].Se,n.a0=[a.g[0].De],n.c0=[a.g[0].ua],n.ss0=[a.g[0].ob],f=a.g[0].position,n.p0=f?[f.top,f.left,f.bottom,
f.right]:void 0);2<=a.g.length&&(n.i1=a.g[1].Se,n.a1=gn(a.g[1].Xf,a.g[1].De,a.g[1].Sf),n.c1=gn(a.g[1].Yf,a.g[1].ua,a.g[1].Tf),n.ss1=gn(a.g[1].Zf,a.g[1].ob,a.g[1].Uf),f=a.g[1].position,n.p1=f?[f.top,f.left,f.bottom,f.right]:void 0,n.mtos1=a.g[1].fg);3<=a.g.length&&(n.i2=a.g[2].Se,n.a2=gn(a.g[2].Xf,a.g[2].De,a.g[2].Sf),n.c2=gn(a.g[2].Yf,a.g[2].ua,a.g[2].Tf),n.ss2=gn(a.g[2].Zf,a.g[2].ob,a.g[2].Uf),f=a.g[2].position,n.p2=f?[f.top,f.left,f.bottom,f.right]:void 0,n.mtos2=a.g[2].fg);4<=a.g.length&&(n.i3=
a.g[3].Se,n.a3=gn(a.g[3].Xf,a.g[3].De,a.g[3].Sf),n.c3=gn(a.g[3].Yf,a.g[3].ua,a.g[3].Tf),n.ss3=gn(a.g[3].Zf,a.g[3].ob,a.g[3].Uf),f=a.g[3].position,n.p3=f?[f.top,f.left,f.bottom,f.right]:void 0,n.mtos3=a.g[3].fg);n.cs=Gm(a.Ka);b&&(n.ic=Fm(a.Ka),n.dvpt=l.g.h,n.dvs=jm(l.i,.5),n.dfvs=jm(l.i,1),n.davs=jm(l.h,.5),n.dafvs=jm(l.h,1),c&&(l.g.h=0,km(l.i),km(l.h)),a.Dd()&&(n.dtos=l.M,n.dav=l.C,n.dtoss=a.$g+1,c&&(l.M=0,l.C=0,a.$g++)),n.dat=l.o.h,n.dft=l.F.h,c&&(l.o.h=0,l.F.h=0));n.ps=[g.i.width,g.i.height];n.bs=
[ch(g.g),dh(g.g)];n.scs=[g.o.width,g.o.height];n.dom=g.domain;a.ye&&(n.vds=a.ye);if(0<a.H.length||a.u)b=ub(a.H),a.u&&b.push(a.u),n.pings=jb(b,function(q){return q.toString()});b=jb(ib(a.H,function(q){return q.o()}),function(q){return q.u()});xb(b);n.ces=b;a.h&&(n.vmer=a.h);a.w&&(n.vmmk=a.w);a.N&&(n.vmiec=a.N);n.avms=a.za?a.za.Ba():"ns";a.za&&mc(n,a.za.fd());k.g&&(n.femt=a.X,n.femvt=a.lc,n.emc=a.Zc,n.emb=em(a.Ea,!1),n.emuc=a.sa,n.avms="exc");d?(n.c=bl(a.kb.ua,2),n.ss=bl(a.kb.ob,2)):n.tth=Ok()-Lk;n.mc=
bl(l.J,2);n.nc=bl(l.H,2);n.mv=Um(l.u);n.nv=Um(l.l);n.lte=bl(a.wh,2);d=Xm(a,e);om(l);n.qmtos=om(d);n.qnc=bl(d.H,2);n.qmv=Um(d.u);n.qnv=Um(d.l);n.qas=.1<=d.l?1:0;n.qi=a.Qa;n.avms||(n.avms="geo");n.psm=l.N.g;n.psv=l.N.h();n.psfv=l.X.h();n.psa=l.sa.h();k=Uj(k.la);k.length&&(n.veid=k);a.i&&mc(n,Am(a.i));return n},dn=function(a,b){if(qb(Tk,b))return!0;var c=a.tc[b];return void 0!==c?(a.tc[b]=!0,!c):!1};var hn=ab(),ln=function(){this.g={};var a=Le();jn(this,a,document);var b=kn();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)jn(this,c,c.document);jn(this,a.top,a.top.document)}}catch(d){}},kn=function(){var a=document.documentElement;try{if(!wi(Le().top))return"2";var b=[],c=Le(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}},jn=function(a,b,c){Zk(c,"mousedown",function(){return mn(a)},301);
Zk(b,"scroll",function(){return nn(a)},302);Zk(c,"touchmove",function(){return on(a)},303);Zk(c,"mousemove",function(){return pn(a)},304);Zk(c,"keydown",function(){return qn(a)},305)},mn=function(a){Wb(a.g,function(b){1E5<b.i||++b.i})},nn=function(a){Wb(a.g,function(b){1E5<b.g||++b.g})},on=function(a){Wb(a.g,function(b){1E5<b.g||++b.g})},qn=function(a){Wb(a.g,function(b){1E5<b.h||++b.h})},pn=function(a){Wb(a.g,function(b){1E5<b.l||++b.l})};var rn=function(){this.g=[];this.h=[]},sn=function(a,b){return ob(a.g,function(c){return c.Qa==b})},tn=function(a,b){return b?ob(a.g,function(c){return c.vb.md==b}):null},un=function(a,b){return ob(a.h,function(c){return 2==c.Tb()&&c.Qa==b})},wn=function(){var a=vn;return 0==a.g.length?a.h:0==a.h.length?a.g:tb(a.h,a.g)};rn.prototype.reset=function(){this.g=[];this.h=[]};
var xn=function(a,b){a=1==b.Tb()?a.g:a.h;var c=nb(a,function(d){return d==b});return-1!=c?(a.splice(c,1),b.za&&b.za.$f(),b.$(),!0):!1},yn=function(a){var b=vn;if(xn(b,a)){switch(a.Tb()){case 0:var c=function(){return null};case 2:c=function(){return un(b,a.Qa)};break;case 1:c=function(){return sn(b,a.Qa)}}for(var d=c();d;d=c())xn(b,d)}},zn=function(a){var b=vn;a=ib(a,function(c){return!tn(b,c.vb.md)});b.g.push.apply(b.g,u(a))},An=function(a){var b=vn,c=[];y(a,function(d){lb(b.g,function(e){return e.vb.md===
d.vb.md&&e.Qa===d.Qa})||(b.g.push(d),c.push(d))})};Oa(rn);var vn=rn.D();var Bn=function(a,b,c,d){Kl.call(this,a,b,c,d)};w(Bn,Kl);Bn.prototype.Ba=function(){return"exc"};Bn.prototype.Fe=function(){};var Cn=function(){Ll.call(this,new Al(M,2))};w(Cn,Ll);Cn.prototype.Ba=function(){return"exc"};Cn.prototype.yh=function(){return!0};Cn.prototype.ee=function(){return!0};Cn.prototype.We=function(a,b,c){return new Bn(a,this.g,b,c)};var Dn=function(){this.g=this.h=null},En=function(a,b){if(null==a.h)return!1;var c=function(d,e){b(d,e)};a.g=ob(a.h,function(d){return null!=d&&d.yh()});a.g&&(a.g.init(c)?El(a.g.g):b(a.g.g.Xd(),a.g));return null!=a.g};Oa(Dn);var Gn=function(a){a=Fn(a);Ll.call(this,a.length?a[a.length-1]:new Al(M,0));this.i=a;this.h=null};w(Gn,Ll);h=Gn.prototype;h.Ba=function(){return(this.h?this.h:this.g).Ba()};h.fd=function(){return(this.h?this.h:this.g).fd()};h.Gc=function(){return(this.h?this.h:this.g).Gc()};h.init=function(a){var b=!1;y(this.i,function(c){c.ag()&&(b=!0)});b&&(this.l=a,Dl(this.g,this));return b};h.$=function(){y(this.i,function(a){a.K();a.$()});Ll.prototype.$.call(this)};h.yh=function(){return lb(this.i,function(a){return a.Dh()})};
h.ee=function(){return lb(this.i,function(a){return a.ge()})};h.We=function(a,b,c){return new Om(a,this.g,b,c)};h.Hc=function(a){this.h=a.h};var Fn=function(a){if(!a.length)return[];a=ib(a,function(c){return null!=c&&c.Dh()});for(var b=1;b<a.length;b++)Dl(a[b-1],a[b]);return a};var Hn=function(a,b,c,d){Kl.call(this,a,b,c,d);this.C=this.w=null};w(Hn,Om);Hn.prototype.Ah=function(){var a=this;this.C||(this.C=Ok());if(Ek(298,function(){return In(a)}))return!0;Cl(this.h,"msf");return!1};
var Kn=function(a,b){try{if(b.length){a.w||(a.w=Ok());var c=Jn(b),d=wh(a.element,a.h.g.Ha),e=d.x,f=d.y;a.g=new bh(Math.round(f),Math.round(e)+c.boundingClientRect.width,Math.round(f)+c.boundingClientRect.height,Math.round(e));var g=cl(c.intersectionRect);a.o=eh(g,a.g.left-g.left,a.g.top-g.top)}}catch(k){a.$f(),Hk(299,k)}},Jn=function(a){return kb(a,function(b,c){return b.time>c.time?b:c},a[0])};Hn.prototype.Fe=function(){};Hn.prototype.F=function(){return!1};Hn.prototype.Fi=function(){};
Hn.prototype.fd=function(){var a={};return Object.assign(this.h.fd(),(a.niot_obs=this.C,a.niot_cbk=this.w,a))};var Ln={threshold:[0,.3,.5,.75,1]},Mn=function(a,b,c,d){Hn.call(this,a,b,c,d);this.u=this.H=this.l=null};w(Mn,Hn);Mn.prototype.Ba=function(){return"nio"};Mn.prototype.$f=function(){if(this.l&&this.element)try{this.l.unobserve(this.element),this.H?(this.H.unobserve(this.element),this.H=null):this.u&&(this.u.disconnect(),this.u=null)}catch(a){}};
var Nn=function(a){return a.l&&a.l.takeRecords?a.l.takeRecords():[]},In=function(a){if(!a.element)return!1;var b=a.element,c=a.h.g.Ha,d=N.D().l.g;a.l=new c.IntersectionObserver(sk(d,function(e){return Kn(a,e)}),Ln);d=sk(d,function(){a.l.unobserve(b);a.l.observe(b);Kn(a,Nn(a))});c.ResizeObserver?(a.H=new c.ResizeObserver(d),a.H.observe(b)):c.MutationObserver&&(a.u=new x.MutationObserver(d),a.u.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.l.observe(b);Kn(a,Nn(a));return!0};
Mn.prototype.xc=function(){var a=Nn(this);0<a.length&&Kn(this,a);Hn.prototype.xc.call(this)};var On=function(a){a=void 0===a?M:a;Ll.call(this,new Al(a,2))};w(On,Ll);On.prototype.Ba=function(){return"nio"};On.prototype.ee=function(){var a=Sb;return a&&0<=a.toLowerCase().indexOf("cobalt")?!1:!ml.D().l&&null!=this.g.g.Ha.IntersectionObserver};On.prototype.We=function(a,b,c){return new Mn(a,this.g,b,c)};var Qn=function(){var a=Pn();Al.call(this,M.top,a,"geo")};w(Qn,Al);Qn.prototype.sa=function(){return ml.D().g};Qn.prototype.ge=function(){var a=Pn();Jl(this,a);return 2==a};var Pn=function(){N.D();var a=ml.D();return a.h||a.l?0:2};Oa(Qn);var Rn=function(){};Oa(Rn);var Sn=function(){this.done=!1;this.g={yk:0,zi:0,Zo:0,Li:0,ph:-1,Ek:0,Dk:0,Fk:0};this.o=null;this.u=!1;this.h=null;this.H=0;this.i=new yl(this)},Vn=function(){var a=Tn;a.u||(a.u=!0,Un(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.l.apply(a,u(c))}),a.l())};Sn.prototype.ia=function(){Wn(this,wn(),!1)};
var Xn=function(){Rn.D();var a=Dn.D();null!=a.g&&a.g.g?El(a.g.g):ll(ml.D())},Wn=function(a,b,c){if(!a.done&&(a.i.cancel(),0!=b.length)){a.h=null;try{Xn();var d=Ok(),e=N.D();e.C=d;if(null!=Dn.D().g)for(e=0;e<b.length;e++)um(b[e],d,c);else Gk("",{strategy_not_selected:1,bin:e.h});for(d=0;d<b.length;d++)vm(b[d]);++a.g.Li}finally{c?y(b,function(f){f.kb.ua=0}):zl(a.i)}}},Un=function(a,b){if(!a.o){b=Fk(142,b);lk();var c=dk(ti);c&&pi(ti,c,b,{capture:!1})&&(a.o=b)}};
Sn.prototype.l=function(){var a=pl(),b=Ok();a?(Nk||(Jk=b,y(vn.g,function(c){var d=c.gb();d.T=Km(d,b,1!=c.Ia)})),Nk=!0):(this.H=Yn(this,b),Nk=!1,Lk=b,y(vn.g,function(c){c.Df&&(c.gb().w=b)}));Wn(this,wn(),!a)};
var Zn=function(){N.D().g=!0;var a=Dn.D();a.h=[new Cn];En(a,function(){return null})},$n=function(){var a=Dn.D();if(null!=a.g){var b=a.g;y(wn(),function(c){return sm(c,b)})}},Yn=function(a,b){a=a.H;Nk&&(a+=b-Jk);return a},ao=function(a){var b=Tn;a=void 0===a?function(){return{}}:a;Bk.Xh("av-js");xk.g=.01;Dk([function(c){var d=N.D(),e={};e=(e.bin=d.h,e.type="error",e);d=Tj(d.la);if(!b.h){var f=M.document,g=0<=Kk?Ok()-Kk:-1,k=Ok();-1==b.g.ph&&(g=k);var l=ml.D(),m=N.D(),n=Tj(m.la),q=wn();try{if(0<q.length){var v=
l.g;v&&(n.bs=[ch(v),dh(v)]);var t=l.i;t&&(n.ps=[t.width,t.height]);M.screen&&(n.ss=[M.screen.width,M.screen.height])}else n.url=encodeURIComponent(M.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,512)));n.tt=g;n.pt=Kk;n.bin=m.h;void 0!==M.google_osd_load_pub_page_exp&&(n.olpp=M.google_osd_load_pub_page_exp);n.deb=[1,b.g.yk,b.g.zi,b.g.Li,b.g.ph,0,b.i.h,b.g.Ek,b.g.Dk,b.g.Fk].join("-");n.tvt=Yn(b,k);l.l&&(n.inapp=1);if(null!==M&&M!=M.top){0<q.length&&
(n.iframe_loc=encodeURIComponent(M.location.href.substring(0,512)));var A=l.w;n.is=[ch(A),dh(A)]}}catch(r){n.error=1}b.h=n}v=kc(b.h);t=N.D().l;if(1==Sj(t.i,"prf")){A=new qk;f=t.g;g=0;-1<f.g&&(g=f.l.g.now()-f.g);A=ci(A,1,f.i+g);f=t.g;A=ci(A,5,-1<f.g?f.h+1:f.h);A=ci(A,2,t.h.g.i());A=ci(A,3,t.h.g.h());f=ci(A,4,t.h.g.g());t={};A=new Mh;g=$h(f,1);g=null==g?g:+g;g=null==g?0:g;if(0!==g&&(k=g,null!=k)){Jh(A.g,9);g=A.g;m=k;m=(k=0>m?1:0)?-m:m;if(0===m)Hh=0<1/m?0:2147483648,Gh=0;else if(isNaN(m))Hh=2147483647,
Gh=4294967295;else if(1.7976931348623157E308<m)Hh=(k<<31|2146435072)>>>0,Gh=0;else if(2.2250738585072014E-308>m)m/=Math.pow(2,-1074),Hh=(k<<31|m/4294967296)>>>0,Gh=m>>>0;else{n=m;l=0;if(2<=n)for(;2<=n&&1023>l;)l++,n/=2;else for(;1>n&&-1022<l;)n*=2,l--;m*=Math.pow(2,-l);Hh=(k<<31|l+1023<<20|1048576*m&1048575)>>>0;Gh=4503599627370496*m>>>0}Lh(g,Gh);Lh(g,Hh)}g=ai(f,2);0!==g&&null!=g&&Rh(A,2,g);g=ai(f,3);0!==g&&null!=g&&Rh(A,3,g);g=ai(f,4);0!==g&&null!=g&&Rh(A,4,g);g=ai(f,5);0!==g&&null!=g&&(f=g,null!=
f&&(Jh(A.g,40),Kh(A.g,f)));A=Ph(A);t=(t.pf=Gg(A),t)}else t={};mc(v,t);mc(c,e,d,v,a());if(e=Wl())d={},mc(c,(d.v=encodeURIComponent(e),d))}])};Oa(Sn);var Tn=Sn.D();var bo=null,co="",eo=!1,fo=function(){var a=bo||M;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};var go=function(a){return function(b){return void 0===b[a]?0:b[a]}},io=function(){var a=[0,2,4];return function(b){b=b.tos;if(Qa(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return void 0!==a?ho(c,a):c}}},jo=function(a,b,c,d){c=void 0===c?!0:c;d=void 0===d?function(){return!0}:d;return function(e){var f=e[a];if(Qa(f)&&d(e))return ho(f,b,c)}},ko=function(a,b){return function(c){return b(c)?c[a]:void 0}},lo=function(a){return function(b){for(var c=0;c<a.length;c++)if(a[c]===
b.e||void 0===a[c]&&!b.hasOwnProperty("e"))return!0;return!1}},ho=function(a,b,c){return void 0===c||c?ib(a,function(d,e){return qb(b,e)}):jb(b,function(d,e,f){return a.slice(0<e?f[e-1]+1:0,d+1).reduce(function(g,k){return g+k},0)})};var mo=lo([void 0,1,2,3,4,8,16]),no=lo([void 0,4,8,16]),oo={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:ko("p0",no),p1:ko("p1",no),p2:ko("p2",no),p3:ko("p3",no),tos:"tos",mtos:"mtos",mtos1:jo("mtos1",[0,2,4],!1,no),mtos2:jo("mtos2",[0,2,4],!1,no),mtos3:jo("mtos3",[0,2,4],!1,no),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:ko("a0",no),a1:ko("a1",no),a2:ko("a2",no),a3:ko("a3",no),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",
efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:ko("c0",no),c1:ko("c1",no),c2:ko("c2",no),c3:ko("c3",no),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:ko("qmtos",mo),qnc:ko("qnc",mo),qmv:ko("qmv",mo),qnv:ko("qnv",mo),raf:"raf",rafc:"rafc",lte:"lte",
ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:ko("ss0",no),ss1:ko("ss1",no),ss2:ko("ss2",no),ss3:ko("ss3",no),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia"},po={c:go("c"),at:"at",atos:jo("atos",
[0,2,4]),ta:function(a,b){return function(c){if(void 0===c[a])return b}}("tth","1"),a:"a",dur:"dur",p:"p",tos:io(),j:"dom",mtos:jo("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:go("ss"),vsv:vc("w2"),t:"t"},qo={atos:"atos",amtos:"amtos",avt:jo("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:go("ss"),t:"t"},ro={a:"a",tos:io(),at:"at",c:go("c"),mtos:jo("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:vc("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},so={tos:io(),at:"at",c:go("c"),mtos:jo("mtos",[0,
2,4]),p:"p",vpt:"vpt",vsv:vc("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",qmpt:jo("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if("number"===typeof d)return jb(b,function(e){return 0<d&&d>=e?1:0})}}("qnc",[1,.5,0]),qmv:"qmv",qa:"qas",a:"a"};var uo=function(a,b){var c={sv:"861",cb:"j"};c.nas=vn.g.length;c.msg=a;void 0!==b&&(a=to(b))&&(c.e=Uk[a]);return c},vo=function(a){return Db(a,"custom_metric_viewable")},to=function(a){var b=vo(a)?"custom_metric_viewable":a.toLowerCase();return gc(function(c){return c==b})};var wo={fn:"visible",Mm:"audible",po:"time",qo:"timetype"},xo={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},audible:function(a){return"0"==a||"1"==a},timetype:function(a){return"mtos"==a||"tos"==a},time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}},yo=function(){this.g=void 0;this.h=!1;this.i=0;this.l=-1;this.o="tos"},zo=function(a){try{var b=a.split(",");return b.length>bc(wo).length?null:kb(b,function(c,d){d=d.toLowerCase().split("=");if(2!=d.length||void 0===
xo[d[0]]||!xo[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},Ao=function(a,b){if(void 0==a.g)return 0;switch(a.o){case "mtos":return a.h?im(b.h,a.g):im(b.i,a.g);case "tos":return a.h?gm(b.h,a.g):gm(b.i,a.g)}return 0};var Bo=function(a,b,c,d){Mm.call(this,b,d);this.w=a;this.H=c};w(Bo,Mm);Bo.prototype.u=function(){return this.w};Bo.prototype.o=function(){return!0};Bo.prototype.i=function(a){var b=a.gb(),c=a.getDuration();return lb(this.H,function(d){if(void 0!=d.g)var e=Ao(d,b);else b:{switch(d.o){case "mtos":e=d.h?b.o.i:b.g.g;break b;case "tos":e=d.h?b.o.g:b.g.g;break b}e=0}0==e?d=!1:(d=-1!=d.i?d.i:void 0!==c&&0<c?d.l*c:-1,d=-1!=d&&e>=d);return d})};var Co=function(a){Mm.call(this,"fully_viewable_audible_half_duration_impression",a)};w(Co,Mm);Co.prototype.i=function(a){var b=gm(a.gb().h,1);return Ym(a,b)};var Do=function(a,b){Mm.call(this,a,b)};w(Do,Mm);Do.prototype.i=function(a){return a.gb().Dd()};var Eo=function(){this.h=this.l=this.u=this.o=this.i=this.g=""};var Fo=function(){},Go=function(a,b,c,d,e){var f={};if(void 0!==a)if(null!=b)for(var g in b){var k=b[g];g in Object.prototype||null!=k&&(Sa(k)?f[g]=k(a):f[g]=a[k])}else mc(f,a);void 0!==c&&mc(f,c);a=Tl(Rl(new Pl,f));0<a.length&&void 0!==d&&void 0!==e&&(e=e(a),a+="&"+d+"="+e);return a};var Ho=function(){};w(Ho,Fo);Ho.prototype.g=function(a){var b=new Eo;b.g=Go(a,oo);b.i=Go(a,qo);return b};var Io=function(a,b,c){Qm.call(this,a,b,c)};w(Io,Qm);Io.prototype.l=function(){var a=Ma("ima.admob.getViewability"),b=Sj(this.la,"queryid");Sa(a)&&b&&a(b)};Io.prototype.Ba=function(){return"gsv"};var Jo=function(a){a=void 0===a?M:a;Ll.call(this,new Al(a,2))};w(Jo,Ll);Jo.prototype.Ba=function(){return"gsv"};Jo.prototype.ee=function(){var a=ml.D();N.D();return a.l&&!1};Jo.prototype.We=function(a,b,c){return new Io(this.g,b,c)};var Ko=function(a,b,c){Qm.call(this,a,b,c)};w(Ko,Qm);Ko.prototype.l=function(){var a=this,b=Ma("ima.bridge.getNativeViewability"),c=Sj(this.la,"queryid");Sa(b)&&c&&b(c,function(d){hc(d)&&a.u++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=dl(d.opt_nativeViewBounds||{});var g=a.h.i();g.g=f?Pm.clone():dl(e);a.timestamp=d.opt_nativeTime||-1;ml.D().g=g.g;d=d.opt_nativeVolume;void 0!==d&&(g.volume=d)})};Ko.prototype.Ba=function(){return"nis"};var Lo=function(a){a=void 0===a?M:a;Ll.call(this,new Al(a,2))};w(Lo,Ll);Lo.prototype.Ba=function(){return"nis"};Lo.prototype.ee=function(){var a=ml.D();N.D();return a.l&&!1};Lo.prototype.We=function(a,b,c){return new Ko(this.g,b,c)};var Mo=function(){Al.call(this,M,2,"mraid");this.ea=0;this.na=this.N=!1;this.C=null;this.h=Wk(this.Ha);this.l.g=new bh(0,0,0,0);this.va=!1};w(Mo,Al);Mo.prototype.ge=function(){return null!=this.h.Vb};Mo.prototype.M=function(){var a={};this.ea&&(a.mraid=this.ea);this.N&&(a.mlc=1);a.mtop=this.h.cm;this.C&&(a.mse=this.C);this.va&&(a.msc=1);a.mcp=this.h.Bf;return a};
Mo.prototype.H=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{return this.h.Vb[a].apply(this.h.Vb,c)}catch(e){Hk(538,e,.01,function(f){f.method=a})}};var No=function(a,b,c){a.H("addEventListener",b,c)};
Mo.prototype.ag=function(){var a=this;if(this.J)return!this.ae();this.J=!0;if(2===this.h.Bf)return this.C="ng",Cl(this,"w"),!1;if(1===this.h.Bf)return this.C="mm",Cl(this,"w"),!1;ml.D().ca=!0;this.Ha.document.readyState&&"complete"==this.Ha.document.readyState?Oo(this):Zk(this.Ha,"load",function(){lk().setTimeout(Fk(292,function(){return Oo(a)}),100)},292);return!0};
var Oo=function(a){N.D().w=!!a.H("isViewable");No(a,"viewableChange",Po);"loading"===a.H("getState")?No(a,"ready",Qo):Ro(a)},Ro=function(a){"string"===typeof a.h.Vb.AFMA_LIDAR?(a.N=!0,So(a)):(a.h.Bf=3,a.C="nc",Cl(a,"w"))},So=function(a){a.na=!1;var b=1==Sj(N.D().la,"rmmt"),c=!!a.H("isViewable");(b?!c:1)&&lk().setTimeout(Fk(524,function(){a.na||(To(a),Hk(540,Error()),a.C="mt",Cl(a,"w"))}),500);Uo(a);No(a,a.h.Vb.AFMA_LIDAR,Vo)},Uo=function(a){var b=1==Sj(N.D().la,"sneio"),c=void 0!==a.h.Vb.AFMA_LIDAR_EXP_1,
d=void 0!==a.h.Vb.AFMA_LIDAR_EXP_2;(b=b&&d)&&(a.h.Vb.AFMA_LIDAR_EXP_2=!0);c&&(a.h.Vb.AFMA_LIDAR_EXP_1=!b)},To=function(a){a.H("removeEventListener",a.h.Vb.AFMA_LIDAR,Vo);a.N=!1};Mo.prototype.Bh=function(){var a=ml.D(),b=Wo(this,"getMaxSize");a.g=new bh(0,b.width,b.height,0)};Mo.prototype.Ch=function(){ml.D().o=Wo(this,"getScreenSize")};
var Wo=function(a,b){if("loading"===a.H("getState"))return new Be(-1,-1);b=a.H(b);if(!b)return new Be(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new Be(-1,-1):new Be(a,b)};Mo.prototype.$=function(){To(this);Al.prototype.$.call(this)};
var Qo=function(){try{var a=Mo.D();a.H("removeEventListener","ready",Qo);Ro(a)}catch(b){Hk(541,b)}},Vo=function(a,b){try{var c=Mo.D();c.na=!0;var d=a?new bh(a.y,a.x+a.width,a.y+a.height,a.x):new bh(0,0,0,0);var e=Fl(c);e.g=d;e.volume=b;c.Hc(e)}catch(f){Hk(542,f)}},Po=function(a){var b=N.D(),c=Mo.D();a&&!b.w&&(b.w=!0,c.va=!0,c.C&&Cl(c,"w",!0))};Oa(Mo);var Xo=function(){Al.call(this,M,1,"osd");this.na=[];this.H=this.h=this.C=0;this.T=!0};w(Xo,Al);Xo.prototype.M=function(){var a={};return a.exg=1,a};
var Yo=function(a){var b=0;a=a.Ha;try{if(a&&a.Goog_AdSense_getAdAdapterInstance)return a}catch(c){}for(;a&&5>b;){try{if(a.google_osd_static_frame)return a.google_osd_static_frame}catch(c){}try{if(a.aswift_0&&a.aswift_0.google_osd_static_frame)return a.aswift_0.google_osd_static_frame}catch(c){}b++;a=a!=a.parent?a.parent:null}return null},Zo=function(a){var b={};$k(b);b[0]="goog_request_monitoring";b[6]=4;b[16]=!1;b[19]=N.D().u;try{var c=al(b);a.postMessage(c,"*")}catch(d){}},ap=function(a){++a.H;
if(2==a.C)$o(a);else{if(10<a.H){if(20<a.H){Cl(a,"no");return}11==a.H&&(lk().clearInterval(a.h),a.h=lk().setInterval(Fk(197,function(){return ap(a)}),500))}if(a.Ha.postMessage)if(N.D().i.Te()){var b=Yo(a);b&&Zo(b)}else Cl(a,"ib");else Cl(a,"c")}};
Xo.prototype.ag=function(){var a=this;if(this.J)return!this.ae();this.J=!0;if(!N.D().i.Te())return Cl(this,"ib"),!1;Zk(x,"message",function(c){if(null!=c&&c.data&&"string"===typeof c.data){var d=c.data;if("string"!==typeof d)var e=null;else{e={};d=d.split("\n");for(var f=0;f!=d.length;++f){var g=d[f],k=g.indexOf("=");if(!(0>=k)){var l=Number(g.substr(0,k));g=g.substr(k+1);switch(l){case 36:case 26:case 15:case 8:case 11:case 16:case 5:case 18:g="true"==g;break;case 4:case 33:case 6:case 25:case 28:case 29:case 24:case 31:case 30:case 23:case 22:case 7:case 21:case 20:g=
Number(g);break;case 19:case 3:if(Sa(decodeURIComponent))try{g=decodeURIComponent(g)}catch(n){throw Error("Error: URI malformed: "+g);}}e[l]=g}}e=e[0]?e:null}if(e&&(d=new Yj(e[4],e[12]),N.D().i.matches(d)&&(d=e[29],f=e[0],qb(["goog_acknowledge_monitoring","goog_get_mode","goog_update_data","goog_image_request","goog_adspeed"],f)))){bp(a,e);if("goog_get_mode"==f&&c.source){l={};$k(l);l[0]="goog_provide_mode";l[6]=4;l[16]=!1;l[19]=N.D().u;try{var m=al(l);c.source.postMessage(m,c.origin);cp(a,m)}catch(n){Hk(406,
n)}}if("goog_get_mode"==f||"goog_acknowledge_monitoring"==f)a.C=2,$o(a);if(a.u.length){if((c=e[32])&&"osd"!=c&&4!=d){f=e[0];m=!1;d=ml.D();c=a.l.g;a.aa=e[32];"goog_acknowledge_monitoring"==f&&((void 0!==e[36]?e[36]:!e[8])?Jl(a,2):Jl(a,0),Bl(a));e[37]&&(f=fl(e[37]))&&(m=!0,d.K=new Ae(f.left,f.top));if(e[38]){if(f=fl(e[38]))m=!0,d.g=f}else isNaN(e[30])||isNaN(e[31])||(d.g||(d.g=new bh(0,0,0,0)),m=!0,d.g.right=d.g.left+e[30],d.g.bottom=d.g.top+e[31]);e[9]&&(m=!0,f=fl(e[9]))&&(c=f,d.J=f);e[39]&&((f=e[39])?
(f=f.split("-"),f=2==f.length?new Be(Nd(f[0]),Nd(f[1])):null):f=null,f&&(d.i=f));m&&(m=Fl(a),m.g=c,a.Hc(m))}gl(e[3]);e[11]&&(e=gl(e[3]).r||"msf",Cl(a,e))}}}},118);var b=Fk(197,function(){ap(a)});this.C=1;b();this.h=lk().setInterval(b,100);return!0};Xo.prototype.K=function(){var a={};$k(a);a[0]="goog_stop_monitoring";cp(this,al(a));$o(this)};
var $o=function(a){lk().clearInterval(a.h);a.h=0},cp=function(a,b){var c=Yo(a),d=!c;d&&(c=a.Ha.parent);if(c&&c.postMessage)try{c.postMessage(b,"*"),d&&a.Ha.postMessage(b,"*")}catch(e){}},bp=function(a,b){y(a.na,function(c){c(b)})};h=Xo.prototype;h.Dh=function(){return 4===N.D().h?!0:this.ge()};h.Bh=function(){};h.Ch=function(){};h.aj=function(){};h.ge=function(){return ml.D().h&&!this.ca};Oa(Xo);var ep=function(){this.N=!1;this.na="";this.l=!1;this.g=null;this.i=new Ho;this.h=null;var a={};this.K=(a.start=this.Sk,a.firstquartile=this.Nk,a.midpoint=this.Pk,a.thirdquartile=this.Tk,a.complete=this.Lk,a.pause=this.Qh,a.resume=this.uj,a.skip=this.Rk,a.viewable_impression=this.gd,a.mute=this.we,a.unmute=this.we,a.fullscreen=this.Ok,a.exitfullscreen=this.Mk,a.fully_viewable_audible_half_duration_impression=this.gd,a.measurable_impression=this.gd,a.abandon=this.Qh,a.engagedview=this.gd,a.impression=
this.gd,a.creativeview=this.gd,a.progress=this.we,a.custom_metric_viewable=this.gd,a.bufferstart=this.Qh,a.bufferfinish=this.uj,a);a={};this.W=(a.overlay_resize=this.Qk,a.abandon=this.mh,a.close=this.mh,a.collapse=this.mh,a.overlay_unmeasurable_impression=function(b){return fn(b,"overlay_unmeasurable_impression",pl())},a.overlay_viewable_immediate_impression=function(b){return fn(b,"overlay_viewable_immediate_impression",pl())},a.overlay_unviewable_impression=function(b){return fn(b,"overlay_unviewable_impression",
pl())},a.overlay_viewable_end_of_session_impression=function(b){return fn(b,"overlay_viewable_end_of_session_impression",pl())},a);N.D().h=3;dp(this)};ep.prototype.o=function(a){rm(a,!1);yn(a)};ep.prototype.u=function(){};var fp=function(a,b,c,d){a=a.w(null,d,!0,b);a.o=c;zn([a]);return a};
ep.prototype.w=function(a,b,c,d){var e=this;this.h||(this.h=this.Ki());b=c?b:-1;a=null==this.h||this.l?new Tm(M,a,b,7):new Tm(M,a,b,7,new Mm("measurable_impression",this.h),gp(this));a.Qa=d;Qj(a.la);Rj(a.la,"queryid",a.Qa);a.lg(this.na);wm(a,function(f){for(var g=[],k=0;k<arguments.length;++k)g[k-0]=arguments[k];return e.ca.apply(e,u(g))},function(f){for(var g=[],k=0;k<arguments.length;++k)g[k-0]=arguments[k];return e.T.apply(e,u(g))});(d=Dn.D().g)&&sm(a,d);a.vb.md&&Rn.D();return a};
var hp=function(a,b,c){zj(b);var d=a.h;y(b,function(e){var f=jb(e.Yg,function(g){var k=zo(g);if(null==k)g=null;else if(g=new yo,null!=k.visible&&(g.g=k.visible/100),null!=k.audible&&(g.h=1==k.audible),null!=k.time){var l="mtos"==k.timetype?"mtos":"tos",m=Eb(k.time,"%")?"%":"ms";k=parseInt(k.time,10);"%"==m&&(k/=100);"ms"==m?(g.i=k,g.l=-1):(g.i=-1,g.l=k);g.o=void 0===l?"tos":l}return g});lb(f,function(g){return null==g})||Zm(c,new Bo(e.id,e.event,f,d))})},gp=function(a){a=a.h;return[new Do("viewable_impression",
a),new Co(a)]},ip=function(){var a=[],b=ml.D(),c=N.D();b.F&&b.h&&!c.g&&a.push(Xo.D());c.g||a.push(Qn.D());Sj(c.la,"mvp_lv")&&a.push(Mo.D());b=[new Jo,new Lo];c.g&&b.push(new Cn);b.push(new Gn(a));c.g||b.push(new On(M));return b},kp=function(a){if(!a.N){a.N=!0;try{var b=Ok(),c=N.D(),d=ml.D();Kk=b;c.H=79463069;"o"!==a.g&&(bo=Vk(M).Ha);if(mk()){Tn.g.zi=0;Tn.g.ph=Ok()-b;var e=ip(),f=Dn.D();f.h=e;En(f,function(){jp()})?Tn.done||($n(),Dl(f.g.g,a),Vn()):d.h&&!c.g?jp():Vn()}else eo=!0}catch(g){throw vn.reset(),
g;}}},lp=function(a){Tn.i.cancel();co=a;Tn.done=!0},mp=function(a){if(a.g)return a.g;var b=Dn.D().g;if(b)switch(b.Ba()){case "nis":a.g="n";break;case "gsv":a.g="m"}a.g||(a.g="h");return a.g},np=function(a,b,c){if(null==a.h)return b.ye|=4,!1;a=a.h.report(c,b);b.ye|=a;return 0==a};ep.prototype.$d=function(a){switch(a.Gc()){case 0:if(a=Dn.D().g)a=a.g,rb(a.u,this),a.F&&this.rc()&&Hl(a);jp();break;case 2:Vn()}};ep.prototype.Hc=function(){};ep.prototype.rc=function(){return!1};
var jp=function(){var a=[new On(M)],b=Dn.D();b.h=a;En(b,function(){lp("i")})?Tn.done||($n(),Vn()):lp("i")};ep.prototype.T=function(a,b){a.Jc=!0;switch(a.Tb()){case 1:op(this,a,b);break;case 2:this.Th(a)}this.Wh(a)};
var op=function(a,b,c){if(!b.kc){var d=fn(b,"start",pl());a=a.i.g(d).g;var e={id:"lidarv"};e.r=c;e.v="861v";Vg(a,function(f,g){return e[f]="mtos"==f||"tos"==f?g:encodeURIComponent(g)});c=fo();Vg(c,function(f,g){return e[f]=encodeURIComponent(g)});c="//pagead2.googlesyndication.com/pagead/gen_204?"+Tl(Rl(new Pl,e));Xl(c);b.kc=!0}};h=ep.prototype;h.Sk=function(a){cn(a,0);return fn(a,"start",pl())};h.we=function(a,b,c){Wn(Tn,[a],!pl());return this.gd(a,b,c)};h.gd=function(a,b,c){return fn(a,c,pl())};
h.Nk=function(a){return pp(a,"firstquartile",1)};h.Pk=function(a){a.va=!0;return pp(a,"midpoint",2)};h.Tk=function(a){return pp(a,"thirdquartile",3)};h.Lk=function(a){var b=pp(a,"complete",4);0!=a.Ia&&(a.Ia=3);return b};var pp=function(a,b,c){Wn(Tn,[a],!pl());cn(a,c);4!=c&&bn(a.M,c,a.Gf);return fn(a,b,pl())};h=ep.prototype;h.uj=function(a,b,c){b=pl();2!=a.Ia||b||(a.gb().w=Ok());Wn(Tn,[a],!b);2==a.Ia&&(a.Ia=1);return fn(a,c,b)};h.Rk=function(a,b){b=this.we(a,b||{},"skip");0!=a.Ia&&(a.Ia=3);return b};
h.Ok=function(a,b){rm(a,!0);return this.we(a,b||{},"fullscreen")};h.Mk=function(a,b){rm(a,!1);return this.we(a,b||{},"exitfullscreen")};h.Qh=function(a,b,c){b=a.gb();b.T=Km(b,Ok(),1!=a.Ia);Wn(Tn,[a],!pl());1==a.Ia&&(a.Ia=2);return fn(a,c,pl())};h.Qk=function(a){Wn(Tn,[a],!pl());return a.h()};h.mh=function(a){Wn(Tn,[a],!pl());this.tj(a);0!=a.Ia&&(a.Ia=3);return a.h()};
var dp=function(a){ao(function(){var b=qp();null!=a.g&&(b.sdk=a.g);var c=Dn.D();null!=c.g&&(b.avms=c.g.Ba());return b})},rp=function(a,b,c,d){var e=tn(vn,c);null!==e&&e.Qa!==b&&(a.o(e),e=null);e||(b=a.w(c,Ok(),!1,b),0==vn.h.length&&(N.D().H=79463069),An([b]),e=b,e.o=mp(a),d&&(e.rd=d));return e};ep.prototype.ca=function(){};var tp=function(a,b){b.w=0;for(var c in Qk)null==a[c]&&(b.w|=Qk[c]);sp(a,"currentTime");sp(a,"duration")};h=ep.prototype;h.Th=function(){};h.tj=function(){};h.$i=function(){};
h.Wh=function(){};h.Ki=function(){};var sp=function(a,b){var c=a[b];void 0!==c&&0<c&&(a[b]=Math.floor(1E3*c))},qp=function(){var a=ml.D(),b={};return b.sv="861",b["if"]=a.h?"1":"0",b.nas=String(vn.g.length),b};var up=ab(),vp=!1,wp=!1,xp=!1,yp=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1},zp=function(a){return!!(1<<a&up)},Ap=[function(a){return!(!a.chrome||!a.chrome.webstore)},function(a){return!!a.document.documentMode},function(a){return!!a.document.fonts.ready},function(){return zp(0)},function(a){return!!a.ActiveXObject},function(a){return!!a.chrome},function(a){return!!a.navigator.serviceWorker},
function(a){return!!a.opera},function(a){return!!a.sidebar},function(){return!+"\v1"},function(){return zp(1)},function(a){return!a.ActiveXObject},function(a){return"-ms-ime-align"in a.document.documentElement.style},function(a){return"-ms-scroll-limit"in a.document.documentElement.style},function(a){return"-webkit-font-feature-settings"in a.document.body.style},function(){return zp(2)},function(a){return"ActiveXObject"in a},function(a){return"MozAppearance"in a.document.documentElement.style},function(a){return"_phantom"in
a},function(a){return"callPhantom"in a},function(a){return"content"in a.document.createElement("template")},function(a){return"getEntriesByType"in a.performance},function(){return zp(3)},function(a){return"image-rendering"in a.document.body.style},function(a){return"object-fit"in a.document.body.style},function(a){return"open"in a.document.createElement("details")},function(a){return"orientation"in a.screen},function(a){return"performance"in a},function(a){return"shape-image-threshold"in a.document.body.style},
function(){return zp(4)},function(a){return"srcset"in a.document.createElement("img")},function(){return wp},function(){return xp},function(){return zp(5)},function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width},function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width},function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');
try{DummyFunction1()}catch(b){a=!0}return a},function(){var a=!1;try{DummyFunction2()}catch(b){a=!0}return a},function(){return!1},function(){return zp(6)},function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||yp(a.navigator.vibrate)},function(a){a=
a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]},function(a){return yp(a.document.createElement("div").matches)},function(a){a=a.document.createElement("input");a.setAttribute("type","range");return"text"!==a.type},function(a){return a.CSS.supports("image-rendering",
"pixelated")},function(a){return a.CSS.supports("object-fit","contain")},function(){return zp(7)},function(a){return a.CSS.supports("object-fit","inherit")},function(a){return a.CSS.supports("shape-image-threshold","0.9")},function(a){return a.CSS.supports("word-break","keep-all")},function(){return eval("1 == [for (item of [1,2,3]) item][0]")},function(a){return yp(a.CSS.supports)},function(){return yp(Intl.Collator)},function(a){return yp(a.document.createElement("dialog").show)},function(){return zp(8)},
function(a){return yp(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)},function(a){return yp(a.document.createElement("div").animate)},function(a){return yp(a.document.documentElement.webkitRequestFullScreen)},function(a){return yp(a.navigator.getBattery)},function(a){return yp(a.navigator.permissions.query)},function(){return!1},function(){return zp(9)},function(){return yp(webkitRequestAnimationFrame)},
function(a){return yp(a.BroadcastChannel.call)},function(a){return yp(a.FontFace)},function(a){return yp(a.Gamepad)},function(){return zp(10)},function(a){return yp(a.MutationEvent)},function(a){return yp(a.MutationObserver)},function(a){return yp(a.crypto.getRandomValues)},function(a){return yp(a.document.body.createShadowRoot)},function(a){return yp(a.document.body.webkitCreateShadowRoot)},function(a){return yp(a.fetch)},function(){return zp(11)},function(a){return yp(a.navigator.serviceWorker.register)},
function(a){return yp(a.navigator.webkitGetGamepads)},function(a){return yp(a.speechSynthesis.speak)},function(a){return yp(a.webkitRTCPeerConnection)},function(a){return a.CSS.supports("--fake-var","0")},function(){return zp(12)},function(a){return a.CSS.supports("cursor","grab")},function(a){return a.CSS.supports("cursor","zoom-in")},function(a){return a.CSS.supports("image-orientation","270deg")},function(){return zp(13)},function(a){return a.CSS.supports("position","sticky")},function(a){return void 0===
a.document.createElement("style").scoped},function(a){return a.performance.getEntriesByType("resource")instanceof Array},function(){return"undefined"==typeof InstallTrigger},function(){return"object"==typeof(new Intl.Collator).resolvedOptions()},function(a){return"boolean"==typeof a.navigator.onLine},function(){return zp(14)},function(a){return"undefined"==typeof a.navigator.ap},function(a){return"number"==typeof a.performance.now()},function(){return 0==(new Uint16Array(1))[0]},function(a){return-1==
a.ActiveXObject.toString().indexOf("native")},function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],Bp=[function(a){a=a.document.createElement("div");var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},function(a){return a.screen.availWidth/a.screen.availHeight},function(a){return a.screen.width/
a.screen.height}],Cp=[function(a){return a.navigator.userAgent},function(a){return a.navigator.platform},function(a){return a.navigator.vendor}],Ep=function(){try{Dp()}catch(d){}var a="a=1&b="+up+"&",b=[],c=99;y(Ap,function(d,e){var f=!1;try{f=d(M)}catch(g){}b[e/32>>>0]|=f<<e%32});y(b,function(d,e){a+=String.fromCharCode(c+e)+"="+(d>>>0).toString(16)+"&"});c=105;y(Bp,function(d){var e="false";try{e=d(M)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"});y(Cp,function(d){var e="";try{var f=d(M);d=[];
for(var g=0,k=0;k<f.length;k++){var l=f.charCodeAt(k);255<l&&(d[g++]=l&255,l>>=8);d[g++]=l}e=Gg(d,3)}catch(m){}a+=String.fromCharCode(c++)+"="+e+"&"});return a.slice(0,-1)},Dp=function(){if(!vp){var a=function(){wp=!0;M.document.removeEventListener("webdriver-evaluate",a,!0)};M.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){xp=!0;M.document.removeEventListener("webdriver-evaluate-response",b,!0)};M.document.addEventListener("webdriver-evaluate-response",b,!0);vp=!0}};var Fp=function(){this.h=64;this.g=Array(4);this.o=Array(this.h);this.l=this.i=0;this.reset()};bb(Fp,Hg);Fp.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.l=this.i=0};
var Gp=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295},Hp=function(a,b){if(void 0===c)var c=b.length;for(var d=c-a.h,e=a.o,
f=a.i,g=0;g<c;){if(0==f)for(;g<=d;)Gp(a,b,g),g+=a.h;if("string"===typeof b)for(;g<c;){if(e[f++]=b.charCodeAt(g++),f==a.h){Gp(a,e);f=0;break}}else for(;g<c;)if(e[f++]=b[g++],f==a.h){Gp(a,e);f=0;break}}a.i=f;a.l+=c};var Ip=function(){this.h=null};w(Ip,Ho);Ip.prototype.g=function(a){var b=Ho.prototype.g.call(this,a);var c=up=ab();var d=zp(5);c=(wp?!d:d)?c|2:c&-3;d=zp(2);c=(xp?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.h||(this.h=Ep());b.o=this.h;b.u=Go(a,po,c,"h",Jp("kArwaWEsTs"));b.l=Go(a,ro,{},"h",Jp("b96YPMzfnx"));b.h=Go(a,so,{},"h",Jp("yb8Wev6QDg"));return b};
var Jp=function(a){return function(b){var c=new Fp;Hp(c,b+a);var d=Array((56>c.i?c.h:2*c.h)-c.i);d[0]=128;for(b=1;b<d.length-8;++b)d[b]=0;var e=8*c.l;for(b=d.length-8;b<d.length;++b)d[b]=e&255,e/=256;Hp(c,d);d=Array(16);for(b=e=0;4>b;++b)for(var f=0;32>f;f+=8)d[e++]=c.g[b]>>>f&255;return xg(d).slice(-8)}};var Kp=function(a,b){this.h=a;this.i=b};Kp.prototype.report=function(a,b){var c=this.g(b);if(Sa(c)){var d={};d=(d.sv="861",d.cb="j",d.e=Lp(a),d);var e=fn(b,a,pl());mc(d,e);b.Zi[a]=e;d=2==b.Tb()?Vl(d).join("&"):this.i.g(d).g;try{return c(b.Qa,d,a),0}catch(f){return 2}}else return 1};var Lp=function(a){var b=vo(a)?"custom_metric_viewable":a;a=gc(function(c){return c==b});return Uk[a]};Kp.prototype.g=function(){return Ma(this.h)};var Mp=function(a,b,c){Kp.call(this,a,b);this.l=c};w(Mp,Kp);Mp.prototype.g=function(a){if(!a.rd)return Kp.prototype.g.call(this,a);if(this.l[a.rd])return function(){};Hk(393,Error());return null};var Np=function(){ep.call(this);this.H=void 0;this.J=null;this.C=!1;this.F={};this.M=0;this.i=new Ip};w(Np,ep);Np.prototype.u=function(a,b){var c=this,d=Dn.D();if(null!=d.g)switch(d.g.Ba()){case "nis":var e=Op(this,a,b);break;case "gsv":e=Pp(this,a,b);break;case "exc":e=Qp(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=rp(this,a,b.opt_adElement,b.opt_osdId)));e&&1==e.Tb()&&(e.F==Na&&(e.F=function(f){return c.$i(f)}),Rp(this,e,b));return e};
var Rp=function(a,b,c){c=c.opt_configurable_tracking_events;null!=a.h&&Qa(c)&&hp(a,c,b)};
Np.prototype.$i=function(a){a.h=0;a.N=0;if("h"==a.o||"n"==a.o){if(N.D().o)var b=Ma("ima.bridge.getVideoMetadata");else if(a.rd&&Sp(this)){var c=this.F[a.rd];c?b=function(e){return Tp(c,e)}:null!==c&&Hk(379,Error())}else b=Ma("ima.common.getVideoMetadata");if(Sa(b))try{var d=b(a.Qa)}catch(e){a.h|=4}else a.h|=2}else if("b"==a.o)if(b=Ma("ytads.bulleit.getVideoMetadata"),Sa(b))try{d=b(a.Qa)}catch(e){a.h|=4}else a.h|=2;else if("ml"==a.o)if(b=Ma("ima.common.getVideoMetadata"),Sa(b))try{d=b(a.Qa)}catch(e){a.h|=
4}else a.h|=2;else a.h|=1;a.h||(void 0===d?a.h|=8:null===d?a.h|=16:hc(d)?a.h|=32:null!=d.errorCode&&(a.N=d.errorCode,a.h|=64));null==d&&(d={});tp(d,a);el(d.volume)&&el(this.H)&&(d.volume*=this.H);return d};var Pp=function(a,b,c){var d=sn(vn,b);d||(d=c.opt_nativeTime||-1,d=fp(a,b,mp(a),d),c.opt_osdId&&(d.rd=c.opt_osdId));return d},Op=function(a,b,c){var d=sn(vn,b);d||(d=fp(a,b,"n",c.opt_nativeTime||-1));return d},Qp=function(a,b){var c=sn(vn,b);c||(c=fp(a,b,"h",-1));return c};
Np.prototype.Ki=function(){if(Sp(this))return new Mp("ima.common.triggerExternalActivityEvent",this.i,this.F);var a=Up(this);return null!=a?new Kp(a,this.i):null};var Up=function(a){var b=N.D();switch(mp(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if(b.o)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
Np.prototype.Th=function(a){!a.g&&a.Jc&&np(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};Np.prototype.tj=function(a){a.xj&&(a.Dd()?np(this,a,"overlay_viewable_end_of_session_impression"):np(this,a,"overlay_unviewable_impression"),a.xj=!1)};
var Vp=function(a,b,c,d){c=void 0===c?{}:c;var e={};mc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.i.g(uo("ol",d));if(void 0!==d)if(void 0!==to(d))if(eo)b=uo("ue",d);else if(kp(a),"i"==co)b=uo("i",d),b["if"]=0;else if(b=a.u(b,e)){b:{"i"==co&&(b.Jc=!0,a.Wh(b));c=e.opt_fullscreen;void 0!==c&&rm(b,!!c);var f;if(f=!ml.D().l&&!kl()&&fk(lk().h)){switch(b.Tb()){case 1:op(a,b,"pv");break;case 2:a.Th(b)}lp("pv")}c=d.toLowerCase();if(!f&&qb(Rk,c)&&0==b.Ia){"i"!=co&&(Tn.done=!1);
f=void 0!==e?e.opt_nativeTime:void 0;Mk=f="number"===typeof f?f:Ok();b.Df=!0;var g=pl();b.Ia=1;b.tc={};b.tc.firstquartile=!1;b.tc.midpoint=!1;b.tc.thirdquartile=!1;b.tc.complete=!1;b.tc.pause=!1;b.tc.skip=!1;b.tc.viewable_impression=!1;b.$g=0;g||(b.gb().w=f);Wn(Tn,[b],!g)}0!=b.Ia&&qb(Sk,c)&&(b.Jc||a.l||b.Cj());(f=b.Md[c])&&b.Ka.Y(f);switch(b.Tb()){case 1:var k=vo(c)?a.K.custom_metric_viewable:a.K[c];break;case 2:k=a.W[c]}if(k&&(d=k.call(a,b,e,d),void 0!==d)){e=uo(void 0,c);mc(e,d);d=e;break b}d=void 0}3==
b.Ia&&a.o(b);b=d}else b=uo("nf",d);else b=void 0;else eo?b=uo("ue"):(b=a.u(b,e))?(d=uo(),mc(d,en(b,!0,!1,!1)),b=d):b=uo("nf");return"string"===typeof b?a.i.g(void 0):a.i.g(b)};Np.prototype.ca=function(a){this.l&&1==a.Tb()&&Wp(this,a)};Np.prototype.Wh=function(a){this.l&&1==a.Tb()&&Wp(this,a)};
var Wp=function(a,b){var c;if(b.rd&&Sp(a)){var d=a.F[b.rd];d?c=function(f,g){Xp(d,f,g)}:null!==d&&Hk(379,Error())}else c=Ma("ima.common.triggerViewabilityMeasurementUpdate");if(Sa(c)){var e=$m(b);e.nativeVolume=a.H;c(b.Qa,e)}},Sp=function(a){return N.D().o||"h"!=mp(a)&&"m"!=mp(a)?!1:0!=a.M};Np.prototype.w=function(a,b,c,d){a=ep.prototype.w.call(this,a,b,c,d);this.C&&(b=this.J,null==a.i&&(a.i=new zm),b.g[a.Qa]=a.i,a.i.o=hn);return a};
Np.prototype.o=function(a){a&&1==a.Tb()&&this.C&&delete this.J.g[a.Qa];return ep.prototype.o.call(this,a)};var Yp=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.i,b.moatInit=a.o,b.moatViewability=a.u,b.integralAdsViewability=a.l,b.doubleVerifyViewability=a.h,b},Zp=function(a,b,c){c=void 0===c?{}:c;a=Vp(Np.D(),b,c,a);return Yp(a)};Oa(Np);var $p=new Eo;$p.o="stopped";$p.g="stopped";$p.i="stopped";$p.u="stopped";$p.l="stopped";$p.h="stopped";Object.freeze($p);
var aq=Fk(193,Zp,void 0,qp);Ia("Goog_AdSense_Lidar_sendVastEvent",aq,void 0);var bq=Fk(194,function(a,b){b=void 0===b?{}:b;a=Vp(Np.D(),a,b);return Yp(a)});Ia("Goog_AdSense_Lidar_getViewability",bq,void 0);var cq=Fk(195,function(){return ok()});Ia("Goog_AdSense_Lidar_getUrlSignalsArray",cq,void 0);var dq=Fk(196,function(){return Lg(ok())});Ia("Goog_AdSense_Lidar_getUrlSignalsList",dq,void 0);var eq=function(){this.S={}},hq=function(){if(fq)var a=fq;else{a=((a=Ii())?wi(a.master)?a.master:null:null)||Mi();var b=a.google_persistent_state_async;a=null!=b&&"object"==typeof b&&null!=b.S&&"object"==typeof b.S?fq=b:a.google_persistent_state_async=fq=new eq}b=Mi();var c=Ii(b);c?((c=c||Ii())?(b=c.pageViewId,c=c.clientId,"string"===typeof c&&(b+=c.replace(/\D/g,"").substr(0,6))):b=null,b=+b):(b=Vk(b).Ha,(c=b.google_global_correlator)||(b.google_global_correlator=c=1+Math.floor(Math.random()*Math.pow(2,
43))),b=c);c=gq[7]||"google_ps_7";a=a.S;var d=a[c];a=void 0===d?a[c]=b:d;return a},fq=null,iq={},gq=(iq[8]="google_prev_ad_formats_by_region",iq[9]="google_prev_ad_slotnames_by_region",iq);var jq=function(a,b){this.h={};this.g=[];this.l=this.i=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof jq)for(c=a.Zb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};jq.prototype.Ta=function(){kq(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.h[this.g[b]]);return a};jq.prototype.Zb=function(){kq(this);return this.g.concat()};
jq.prototype.isEmpty=function(){return 0==this.i};jq.prototype.clear=function(){this.h={};this.l=this.i=this.g.length=0};var mq=function(a,b){lq(a.h,b)&&(delete a.h[b],a.i--,a.l++,a.g.length>2*a.i&&kq(a))},kq=function(a){if(a.i!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];lq(a.h,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.i!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],lq(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};h=jq.prototype;
h.get=function(a,b){return lq(this.h,a)?this.h[a]:b};h.set=function(a,b){lq(this.h,a)||(this.i++,this.g.push(a),this.l++);this.h[a]=b};h.forEach=function(a,b){for(var c=this.Zb(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};h.clone=function(){return new jq(this)};h.wk=function(a){kq(this);var b=0,c=this.l,d=this,e=new ym;e.next=function(){if(c!=d.l)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw xm;var f=d.g[b++];return a?f:d.h[f]};return e};
var lq=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var nq=function(a){if(a.Ta&&"function"==typeof a.Ta)return a.Ta();if("string"===typeof a)return a.split("");if(Ra(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ac(a)},oq=function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(Ra(a)||"string"===typeof a)y(a,b,void 0);else{if(a.Zb&&"function"==typeof a.Zb)var c=a.Zb();else if(a.Ta&&"function"==typeof a.Ta)c=void 0;else if(Ra(a)||"string"===typeof a){c=[];for(var d=a.length,e=0;e<d;e++)c.push(e)}else c=
bc(a);d=nq(a);e=d.length;for(var f=0;f<e;f++)b.call(void 0,d[f],c&&c[f],a)}};var O=function(a,b){this.h=this.u=this.l="";this.w=null;this.C=this.i="";this.o=!1;var c;a instanceof O?(this.o=void 0!==b?b:a.o,pq(this,a.l),this.u=a.u,this.h=a.h,qq(this,a.w),this.i=a.i,rq(this,a.g.clone()),this.C=a.F()):a&&(c=String(a).match(Ug))?(this.o=!!b,pq(this,c[1]||"",!0),this.u=sq(c[2]||""),this.h=sq(c[3]||"",!0),qq(this,c[4]),this.i=sq(c[5]||"",!0),rq(this,c[6]||"",!0),this.C=sq(c[7]||"")):(this.o=!!b,this.g=new tq(null,this.o))};
O.prototype.toString=function(){var a=[],b=this.l;b&&a.push(uq(b,vq,!0),":");var c=this.h;if(c||"file"==b)a.push("//"),(b=this.u)&&a.push(uq(b,vq,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.w,null!=c&&a.push(":",String(c));if(c=this.i)this.h&&"/"!=c.charAt(0)&&a.push("/"),a.push(uq(c,"/"==c.charAt(0)?wq:xq,!0));(c=this.g.toString())&&a.push("?",c);(c=this.F())&&a.push("#",uq(c,yq));return a.join("")};
O.prototype.resolve=function(a){var b=this.clone(),c=!!a.l;c?pq(b,a.l):c=!!a.u;c?b.u=a.u:c=!!a.h;c?b.h=a.h:c=null!=a.w;var d=a.i;if(c)qq(b,a.w);else if(c=!!a.i){if("/"!=d.charAt(0))if(this.h&&!this.i)d="/"+d;else{var e=b.i.lastIndexOf("/");-1!=e&&(d=b.i.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=Db(e,"/");e=e.split("/");for(var f=[],g=0;g<e.length;){var k=e[g++];"."==k?d&&g==e.length&&f.push(""):".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),
d&&g==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.i=d:c=""!==a.g.toString();c?rq(b,a.g.clone()):c=!!a.C;c&&(b.C=a.F());return b};O.prototype.clone=function(){return new O(this)};var pq=function(a,b,c){a.l=c?sq(b,!0):b;a.l&&(a.l=a.l.replace(/:$/,""))},qq=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.w=b}else a.w=null},rq=function(a,b,c){b instanceof tq?(a.g=b,zq(a.g,a.o)):(c||(b=uq(b,Aq)),a.g=new tq(b,a.o));return a};O.prototype.J=function(){return this.g.toString()};
var Bq=function(a,b,c){a.g.set(b,c)};O.prototype.F=function(){return this.C};
var Cq=function(a){return a instanceof O?a.clone():new O(a,void 0)},sq=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},uq=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Dq),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Dq=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},vq=/[#\/\?@]/g,xq=/[#\?:]/g,wq=/[#\?]/g,Aq=/[#\?@]/g,yq=/#/g,tq=function(a,b){this.h=this.g=null;this.i=a||null;this.l=!!b},
Eq=function(a){a.g||(a.g=new jq,a.h=0,a.i&&Vg(a.i,function(b,c){a.add(Hd(b),c)}))};tq.prototype.add=function(a,b){Eq(this);this.i=null;a=Fq(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};var Gq=function(a,b){Eq(a);b=Fq(a,b);lq(a.g.h,b)&&(a.i=null,a.h-=a.g.get(b).length,mq(a.g,b))};tq.prototype.clear=function(){this.g=this.i=null;this.h=0};tq.prototype.isEmpty=function(){Eq(this);return 0==this.h};var Hq=function(a,b){Eq(a);b=Fq(a,b);return lq(a.g.h,b)};h=tq.prototype;
h.forEach=function(a,b){Eq(this);this.g.forEach(function(c,d){y(c,function(e){a.call(b,e,d,this)},this)},this)};h.Zb=function(){Eq(this);for(var a=this.g.Ta(),b=this.g.Zb(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};h.Ta=function(a){Eq(this);var b=[];if("string"===typeof a)Hq(this,a)&&(b=tb(b,this.g.get(Fq(this,a))));else{a=this.g.Ta();for(var c=0;c<a.length;c++)b=tb(b,a[c])}return b};
h.set=function(a,b){Eq(this);this.i=null;a=Fq(this,a);Hq(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};h.get=function(a,b){if(!a)return b;a=this.Ta(a);return 0<a.length?String(a[0]):b};
h.toString=function(){if(this.i)return this.i;if(!this.g)return"";for(var a=[],b=this.g.Zb(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.Ta(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.i=a.join("&")};h.clone=function(){var a=new tq;a.i=this.i;this.g&&(a.g=this.g.clone(),a.h=this.h);return a};
var Fq=function(a,b){b=String(b);a.l&&(b=b.toLowerCase());return b},zq=function(a,b){b&&!a.l&&(Eq(a),a.i=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(Gq(this,d),Gq(this,e),0<c.length&&(this.i=null,this.g.set(Fq(this,e),ub(c)),this.h+=c.length))},a));a.l=b};var Iq="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav".split(" "),Jq=/\bocr\b/,Kq=0,Lq={},Mq=function(a){if(z(C(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new O(a)}catch(c){return null!=
ob(Iq,function(d){return 0<a.search(d)})}return b.F().match(Jq)?!0:null!=ob(Iq,function(c){return null!=a.match(c)})},Qq=function(a,b){if(a&&(a=Nq(a),!z(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?Oq(function(d){Pq(d?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):Pq(c)}},Pq=function(a){var b=Ne("IFRAME",{src:a,style:"display:none"});a=De(b).body;var c=sg(function(){Gf(d);Ve(b)},15E3);var d=
xf(b,["load","error"],function(){sg(function(){tg(c);Ve(b)},5E3)});a.appendChild(b)},Oq=function(a){var b=Lq.imageLoadingEnabled;if(null!=b)a(b);else{var c=!1;Rq(function(d,e){delete Lq[e];c||(c=!0,null==Lq.imageLoadingEnabled&&(Lq.imageLoadingEnabled=d),a(d))})}},Rq=function(a){var b=new Image,c=""+Kq++;Lq[c]=b;b.onload=function(){clearTimeout(d);a(!0,c)};var d=setTimeout(function(){a(!1,c)},300);b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},Sq=function(a){if(a){var b=
Re("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+Kq++;Lq[c]=b;b.onload=b.onerror=function(){delete Lq[c]};document.body.appendChild(b)}},Tq=function(a){if(a){var b=new Image,c=""+Kq++;Lq[c]=b;b.onload=b.onerror=function(){delete Lq[c]};b.src=a}},Uq=function(a,b){a&&(b?Oq(function(c){c?Tq(a):Sq(a)}):Tq(a))},Nq=function(a){a=Rc(Tc(a));if("about:invalid#zClosurez"===a)return"";a=rd(td(a)).toString();return encodeURIComponent(String(Lg(a)))};var Vq=function(a,b){this.h=a;this.g=b};var Wq=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.Pa?null:d.Pa;d=void 0===d.Fd?null:d.Fd;this.g=a;this.url=b;this.Pa=c;this.Fd=d};var Xq=function(a,b,c,d){this.g=a;this.url=b;this.i=void 0===c?null:c;this.h=void 0===d?null:d},Yq=function(a){var b=null,c=null;a.Pa?b=parseInt(a.Pa/1E3,10):a.Fd&&(c=a.Fd);return new Xq(a.g,a.url,b,c)};var Zq=function(){this.ga=new Map;this.Aa=new Map;this.o=[];this.vd=this.id=null;this.$c="video";this.td=this.h=null},$q=function(a,b){a.ga.has(b.g)?a.ga.get(b.g).push(b):a.ga.set(b.g,[b])};var ar=function(a,b,c){this.id=a;this.O=b;this.g=c;this.Uh=!1},br=function(a){return a.Uh||a.g},cr=function(){this.g=[]},dr=function(){this.g=new Map;this.h=!1;this.l=new cr;this.o=new ar(0,0,!1);this.i=[this.l]},P=function(a){var b=er;if(b.h||b.g.has(a.id)||null==a.O&&null==a.control||0==a.Ii)return b.o;var c=b.l;if(null!=a.control)for(var d=p(b.i),e=d.next();!e.done;e=d.next()){if(e=e.value,e.g.includes(a.control)){c=e;break}}else null!=a.Ed&&(c=a.Ed);d=0;null!=a.control?d=a.control.O:null!=a.O&&
(d=a.O);a=new ar(a.id,d,!!a.Vo);c.g.push(a);b.i.includes(c)||b.i.push(c);b.g.set(a.id,a);return a},fr=function(){var a=er;return[].concat(u(a.g.keys())).filter(function(b){return br(this.g.get(b))},a)},gr=function(a){var b=er;b.h||(a.h(b.i,b.g),b.h=!0)};dr.prototype.reset=function(){for(var a=p(this.g),b=a.next();!b.done;b=a.next())b=p(b.value),b.next(),b.next().value.Uh=!1;this.h=!1};var er=new dr,ir=function(){return hr.g.filter(function(a){return br(a)}).map(function(a){return a.id})};var jr=function(a){this.g=a};jr.prototype.h=function(a,b){a=p(this.g);for(var c=a.next();!c.done;c=a.next())if(c=b.get(c.value))c.Uh=!0};var kr=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};var lr=function(a,b,c){xi(b,function(d,e){var f=c&&c[e];!d&&0!==d||f||(a+="&"+encodeURIComponent(e)+"="+encodeURIComponent(String(d)),c&&(c[e]=!0))});return a},sr=function(a,b,c,d,e,f,g,k){f=void 0===f?Infinity:f;g=void 0===g?!1:g;jj.call(this,a,k);var l=this;this.C=0;this.M=f;this.ea=b;this.na=c;this.aa=d;this.ia=e;a=this.g.navigator;this.W=!("csi.gstatic.com"!==this.na||!a||!a.sendBeacon);this.o={};this.K={};this.g.performance&&this.g.performance.now||mr(this,"dat",1);a&&a.deviceMemory&&mr(this,
"dmc",a.deviceMemory);this.J=!g;this.N=function(){l.g.setTimeout(function(){return nr(l)},1100)};this.sa=[];this.X=function(){or(l,1)};this.T=function(){or(l,2)};this.va=yc(function(){nr(l)});this.Ea=function(){var n=l.g.document;(null!=n.hidden?n.hidden:null!=n.mozHidden?n.mozHidden:null!=n.webkitHidden&&n.webkitHidden)&&l.va()};this.F=this.g.setTimeout(function(){return nr(l)},5E3);this.u={};this.l=b.length+c.length+d.length+e.length+3;this.i=0;y(this.events,function(n){return pr(l,n)});this.ca=
[];b=kr(this.g);var m=function(n){var q=n[0];n=n[1];var v=q.length+n.length+2;8E3<l.l+l.i+v&&nr(l);l.ca.push([q,n]);l.i+=v;6E3<=l.l+l.i&&nr(l);return 0};y(b,function(n){return m(n)});b.length=0;b.push=m;qr(this);rr(this)};w(sr,jj);
var rr=function(a){"complete"===a.g.document.readyState?a.g.setTimeout(function(){return nr(a)},0):pi(a.g,"load",a.N);var b=dk(a.g.document);"undefined"!==typeof b&&pi(a.g,b,a.Ea);pi(a.g,"unload",a.X);pi(a.g,"pagehide",a.T)},mr=function(a,b,c){c=String(c);a.l=null!=a.o[b]?a.l+(c.length-a.o[b].length):a.l+(b.length+c.length+2);a.o[b]=c},tr=function(a){null!=a.o.uet&&(a.l-=3+a.o.uet.length+2,delete a.o.uet)},ur=function(a,b,c,d,e){e=void 0===e?"":e;var f=null==a.u[b]?b.length+c.length+2:d?c.length+
(void 0===e?"":e).length:c.length-a.u[b].length;8E3<a.l+a.i+f&&(nr(a),f=b.length+c.length+2);a.u[b]=d&&null!=a.u[b]?a.u[b]+(""+(void 0===e?"":e)+c):c;a.i+=f;6E3<=a.l+a.i&&nr(a)},nr=function(a){if(a.h&&a.J){try{if(a.i){var b=a.u;a.C++;var c=vr(a,b);b=!1;try{b=!!(a.W&&a.g.navigator&&a.g.navigator.sendBeacon(c,null))}catch(d){a.W=!1}b||si(a.g,c);qr(a);a.C===a.M&&a.H()}}catch(d){(new pj).Lc(358,d)}a.u={};a.i=0;a.events.length=0;a.g.clearTimeout(a.F);a.F=0}},vr=function(a,b){var c=a.ea+"//"+a.na+a.aa+
a.ia,d={};c=lr(c,a.o,d);c=lr(c,b,d);a.g.google_timing_params&&(c=lr(c,a.g.google_timing_params,d),a.g.google_timing_params=void 0);y(a.ca,function(e){var f=p(e);e=f.next().value;f=f.next().value;var g={};c=lr(c,(g[e]=f,g))});a.ca.length=0;return c},qr=function(a){mr(a,"puid",(a.C+1).toString(36)+"~"+ab().toString(36))},pr=function(a,b){var c="met."+b.type,d="number"===typeof b.value?Math.round(b.value).toString(36):b.value,e=Math.round(b.duration);b=""+b.label+(null!=b.slotId?"_"+b.slotId:"")+("."+
d)+(0<e?"_"+e.toString(36):"");ur(a,c,b,!0,"~")};sr.prototype.w=function(a){this.h&&this.C<this.M&&(jj.prototype.w.call(this,a),pr(this,a))};sr.prototype.H=function(){jj.prototype.H.call(this);this.g.clearTimeout(this.F);this.i=this.F=0;this.u={};ic(this.K);ic(this.o);qi(this.g,"load",this.N);qi(this.g,"unload",this.X);qi(this.g,"pagehide",this.T)};var or=function(a,b){mr(a,"uet",b);y(a.sa,function(c){try{c()}catch(d){}});ri(a.g);nr(a);tr(a)};var Q=function(){this.g=new sr(1,"https:","csi.gstatic.com","/csi?v=2&s=","ima",void 0,!0);var a=hq();wr(this,"c",a);xr(this)},yr=function(){var a=Q.D().g;a.J=!0;nr(a)},R=function(a,b,c){if(null!=c){a=a.g;var d=b+"="+c;a.K[d]||(ur(a,b,c,!1),1E3>d.length&&(a.K[d]=!0))}},wr=function(a,b,c){null!=c&&mr(a.g,b,c)},zr=function(a){var b=Q.D().g,c=dj()-0;b.h&&b.w(new fj(a,4,c,0,void 0))},Ar=function(a){var b=Q.D(),c=ej();c&&(b=b.g,b.h&&b.w(new fj(a,4,c,0,void 0)))},Br=function(){Q.D();return"0"},xr=function(a){wr(a,
"slotId",parseInt(a.g.o.c,10)/2)};Oa(Q);var Cr=function(a,b){this.g=a;this.i=b};w(Cr,jr);Cr.prototype.h=function(a,b){jr.prototype.h.call(this,a,b);var c=[];a=[];for(var d=p(this.g),e=d.next();!e.done;e=d.next())e=e.value,b.get(e)?c.push(e):a.push(e);b=c.map(String).join(",")||"0";a=a.map(String).join(",")||"0";R(Q.D(),"sei",b);R(Q.D(),"nsei",a);R(Q.D(),"bi",this.i)};var Dr=function(){this.i=null;this.g="missing-id";this.h=!1},Fr=function(a){var b=null;try{b=document.getElementsByClassName("lima-exp-data")}catch(c){return Er("missing-element",a.g),null}if(1<b.length)return Er("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(Er("missing-element",a.g),null)},Hr=function(){var a=Gr,b=Fr(a);if(null!==b)if(Ig(b)){var c=JSON.parse(b);b=c.experimentIds;c=c.binaryIdentifier;var d="string"===typeof c;d&&(a.g=c);"string"!==typeof b?Er("missing-flags",a.g):(d||
Er("missing-binary-id",a.g),a.i=b)}else Er("invalid-json",a.g)};Dr.prototype.reset=function(){this.i=null;this.g="missing-id"};var Ir=function(){Dr.apply(this,arguments)};w(Ir,Dr);var Er=function(a,b){var c=Q.D();R(c,"eee",a);R(c,"bi",b)};Oa(Ir);function Jr(a){return a.split(",").map(function(b){return parseInt(b,10)}).filter(function(b){return!isNaN(b)})};var hr=new cr;P({id:418572103,O:0});P({id:420706097,O:10});P({id:420706098,O:10});P({id:21061786,O:10});P({id:21061817,O:10});P({id:21061824,O:50});P({id:21061888,O:10});var Kr=P({id:21061893,O:10});P({id:21062100,O:0});P({id:420706109,O:10});P({id:420706110,O:10});P({id:21062347,O:0});P({id:21063070,O:0});P({id:21063072,O:0});P({id:21063100,O:0});P({id:420706105,O:10});var Lr=P({id:420706106,O:10});P({id:75259402,O:10});P({id:75259403,O:10});P({id:21064018,O:0});P({id:21064020,O:0});
P({id:21064022,O:0});P({id:21064024,O:0});P({id:21064075,O:0});P({id:21064201,O:50});var Mr=P({id:210640812,O:10});P({id:420706142,O:0});P({id:21064347,O:0});P({id:72811302,O:0});P({id:72811303,O:0});P({id:44719312,O:0});P({id:72811304,O:0});P({id:44719313,O:0});P({id:72811305,O:0});P({id:72811306,O:0});P({id:72811307,O:0});P({id:21064565,O:0});P({id:21064567,O:0});P({id:21064572,O:10});var Nr=P({id:21064573,O:10});P({id:40819804,O:10});P({id:40819805,O:10});P({id:418572006,O:10});
P({id:44711678,O:10});P({id:420706136,O:10});var Or=P({id:420706137,O:10});P({id:420706138,O:10});var Pr=P({id:420706139,O:10});P({id:420706140,O:10});var Qr=P({id:420706141,O:10});P({id:21065285,O:1});var Rr=P({id:21065286,O:1});P({id:21065287,O:10,Ii:yg});var Sr=P({id:21065288,O:10,Ii:yg});P({id:72811314,O:0});P({id:44713399,O:10});P({id:44713400,O:10});P({id:44716336,O:10});P({id:44714510,O:0});var Tr=P({id:44714743,O:0});P({id:44718225,O:0});P({id:44718226,O:0});P({id:44719216,O:0});
P({id:42530094,O:50,Ed:hr});P({id:42530095,O:50,Ed:hr});P({id:42530173,O:10,Ed:hr});P({id:42530174,O:10,Ed:hr});P({id:668123728,O:10,Ed:hr});P({id:668123729,O:10,Ed:hr});P({id:31061774,O:10});P({id:31061775,O:10});P({id:504733015,O:0});var Ur=P({id:504733016,O:0});P({id:189176E3,O:50});var Vr=P({id:189176001,O:50});P({id:40819802,O:10});var Wr=P({id:40819803,O:10});P({id:44712632,O:10});P({id:44712633,O:10});P({id:44715336,O:10});P({id:44716179,O:10});var Xr=P({id:44716180,O:10});P({id:44716182,O:0});
P({id:42530380,O:0});P({id:44717156,O:10});P({id:44716185,O:0});P({id:44719151,O:10});var Yr=P({id:44719152,O:10});P({id:44717393,O:10});var Zr=P({id:44717394,O:10});P({id:44719678,O:10});var $r=P({id:44719679,O:10});if("undefined"===typeof window.v8_flag_map){var Gr=Ir.D(),as;Gr.h||(Hr(),Gr.h=!0);as=Gr.i;var bs;Gr.h||(Hr(),Gr.h=!0);bs=Gr.g;if(null!=as){var cs=new Cr(Jr(as),bs);gr(cs)}};var ds=function(a,b,c){this.i=a;this.h=b;this.g=void 0===c?null:c};var es=function(){if(window.MutationObserver){var a=[];(new MutationObserver(function(){a.forEach(function(b){return b()});a=[]})).observe(document.createTextNode(""),{characterData:!0})}};"function"===typeof Promise&&-1<String(Promise).indexOf("[native code]")||es();var fs=function(){this.adPosition=1;this.h=-1;this.i=this.l=0;this.totalAds=1};fs.prototype.g=function(){return this.l};var gs=function(a,b){b=void 0===b?!1:b;a=0>a?0:a;a=b?a:Math.round(a);if(b){var c=String(Math.floor(a/3600));var d=c.indexOf(".");-1==d&&(d=c.length);c=Kd("0",Math.max(0,2-d))+c+":";d=10>Math.floor(a/60)%60?"0":""}else c=3600<=a?Math.floor(a/3600)+":":"",d=10>Math.floor(a/60)%60&&3600<=a?"0":"";return""+c+d+Math.floor(a/60)%60+":"+(10>Math.floor(a%60)?"0":"")+Math.floor(a%60)+(b?(a%1).toFixed(3).slice(1):"")},hs=function(a,b){return z(b)?!1:(new RegExp(a)).test(b)},is=function(a){if(!a)return!1;switch(a.toLowerCase()){case "true":case "1":return!0}return!1};var js={wo:2,yo:3,vo:4,xo:5,zo:6,Ao:7,Bo:8,Co:11,Do:12};var ks={ro:"ultrahigh",wn:"high",Gn:"medium"},ls=new Set("adk ad_type adgroups adsid adsafe adtest js alternate_ad_url is_amp mv an u_ah u_aw channel client u_cd ca_h ca_type ca_w tfcd correlator creatives ad_block disable_budget_throttling dlt dt jar u_his h_ch host ht_id idt frm sdkv image_size wta sz u_java eid hl is_lat max_ad_duration media_url min_ad_duration msid ms rdid u_so npa num_ads u_nmime u_nplug omid_p osd output pucrd video_product_type idtype ref ea retrieve_only u_h u_w sdk_apis sdki sdmax slotname sdr videoad_start_delay tfua t_pyv cpm u_tz top unviewed_position_start description_url url use_budget_filtering cust_age cust_gender vconp vid_d video_format vid_kw vpa vpmute mpt mpv vid_t vis disable_frequency_capping".split(" "));/*

Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var ms="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");var ns=function(){this.g=null;this.F="0";this.J=this.H="unknown";this.M=5E3;this.K=this.o=this.ca=this.u=this.i=this.l=this.w=this.C=null;for(var a=Array(36),b=0,c,d=0;36>d;d++)8==d||13==d||18==d||23==d?a[d]="-":14==d?a[d]="4":(2>=b&&(b=33554432+16777216*Math.random()|0),c=b&15,b>>=4,a[d]=ms[19==d?c&3|8:c]);this.transactionId=a.join("")};
ns.prototype.clone=function(){var a=new ns;a.F=this.F;a.H=this.H;a.J=this.J;a.g=this.g;a.h=this.h;a.M=this.M;a.C=this.C;a.w=this.w;a.l=this.l;a.i=this.i;a.u=this.u;a.ca=this.ca;a.o=this.o?this.o.slice():null;a.K=this.K;a.transactionId=this.transactionId;return a};var ps=function(a){O.call(this,a);this.H=new Map;a=this.i;var b=a.indexOf(";"),c=null;0<=b?(this.i=a.substring(0,b),c=a.substring(b+1)):this.i=a;os(this,c)};w(ps,O);ps.prototype.toString=function(){return qs(this,O.prototype.toString.call(this))};ps.prototype.J=function(){return""};ps.prototype.F=function(){return""};
var os=function(a,b){z(C(b))||b.split(";").forEach(function(c){var d=c.indexOf("=");if(!(0>=d)){var e=Hd(c.substring(0,d));c=Hd(c.substring(d+1));d=a.H.get(e);null!=d?d.includes(c)||d.push(c):d=[C(c)];a.H.set(e,d)}},a)},rs=function(a,b){if(z(C(b)))return null;a=a.H.get(b);return null!=a?a:null},ts=function(a,b,c){z(C(b))||(c=c.map(C),a.H.set(b,c))},qs=function(a,b){b=[C(b)];b.push.apply(b,u(us(a)));return b.join(";")},us=function(a){var b=rs(a,"ord");null==b?b=[C(ab())]:z(C("ord"))||a.H.delete("ord");
var c=[];a.H.forEach(function(d,e){d.forEach(function(f){c.push(e+"="+f)})});c.push("ord="+b[0]);ts(a,"ord",b);return c};ps.prototype.clone=function(){return new ps(this.toString())};function vs(){try{var a=window.top.location.href}catch(b){return 2}return null==a?2:a==window.document.location.href?0:1}function ws(a,b){b.forEach(function(c,d){Bq(a,d,c)})}function xs(a,b){b.forEach(function(c,d){z(c)&&Gq(a.g,d)})}function ys(a){pq(a,"https")}function zs(a){return As(a)||Bs(a)||Cs(a)||Ds(a)||Es(a)}function Bs(a){var b=new ps(a);a=b.h;b=qs(b,b.i);return!Eb(a,".g.doubleclick.net")&&Eb(a,"doubleclick.net")&&hs("/(ad|pfad)[x|i|j]?/",b)}
function Ds(a){return"bid.g.doubleclick.net"==(new O(a)).h}function As(a){a=new O(a);var b=a.i;return Eb(a.h,"googleads.g.doubleclick.net")&&hs("/pagead/(live/)?ads",b)}function Cs(a){a=new O(a);var b=a.i;return Eb(a.h,"doubleclick.net")&&hs("/gampad/(live/)?ads",b)}function Es(a){a=new O(a);var b=a.i;return"ad.doubleclick.net"===a.h&&hs("/dv3/adv",b)}
function Fs(a){var b=new Map;"unknown"!=a.H&&b.set("vpa",a.H);"unknown"!=a.J&&b.set("vpmute","muted"==a.J?"1":"0");"0"!=a.F&&b.set("vconp",a.F);return b};var Is=function(a,b){var c=void 0===a?{}:a,d=void 0===c.Db?null:c.Db;a=void 0===c.oe?null:c.oe;var e=void 0===c.Qd?null:c.Qd,f=void 0===c.Fj?null:c.Fj,g=void 0===c.Ej?null:c.Ej,k=void 0===c.Ce?null:c.Ce,l=void 0===c.Xa?null:c.Xa,m=void 0===c.Za?null:c.Za,n=void 0===c.appName?null:c.appName,q=void 0===c.Ac?null:c.Ac,v=void 0===c.cd?null:c.cd,t=void 0===c.ke?null:c.ke,A=void 0===c.le?null:c.le,r=void 0===c.ne?null:c.ne,L=void 0===c.Tc?null:c.Tc,J=void 0===c.Uc?null:c.Uc;c=void 0===c.domain?null:c.domain;
b=void 0===b?new Map:b;Gs(b,"ADCOUNT",function(){var I=k;return(I=void 0===I?null:I)?I.adPosition.toString():"-1"});Gs(b,"AD_MT",function(){var I=d;I=void 0===I?null:I;return null==I?"-1":Math.round(Math.max(0,1E3*I.getCurrentTime())).toString()});Gs(b,"ADPLAYHEAD",function(){var I=d;I=void 0===I?null:I;return null==I?"-1":gs(I.getCurrentTime(),!0)});Gs(b,"ADSERVINGID",function(){var I=l;return(I=(I=void 0===I?null:I)&&I.td)?I:"-1"});Gs(b,"ASSETURI",function(){var I=d;I=void 0===I?null:I;return null==
I?"-1":I.getVideoUrl()});S(b,"CLICKPOS","-1");Gs(b,"PODSEQUENCE",function(){var I=l;return(I=void 0===I?null:I)&&I.h?I.h.toString():"-1"});S(b,"UNIVERSALADID",g&&f?g+" "+f:"-1");br(Lr)&&S(b,"SDKV","goog.define.default");Hs({oe:a,Qd:e,Ce:k,Xa:l,Za:m,appName:n,Ac:q,cd:v,ke:t,le:A,ne:r,Tc:L,Uc:J,domain:c},b)},Hs=function(a,b){var c=void 0===a.oe?null:a.oe,d=void 0===a.Qd?null:a.Qd,e=void 0===a.Ce?null:a.Ce,f=void 0===a.Xa?null:a.Xa,g=void 0===a.Za?null:a.Za,k=void 0===a.appName?null:a.appName,l=void 0===
a.Ac?null:a.Ac,m=void 0===a.cd?null:a.cd,n=void 0===a.ke?null:a.ke,q=void 0===a.le?null:a.le,v=void 0===a.ne?null:a.ne,t=void 0===a.Tc?null:a.Tc,A=void 0===a.Uc?null:a.Uc;a=void 0===a.domain?null:a.domain;Gs(b,"ADTYPE",function(){var r=f;return(r=void 0===r?null:r)?r.$c:"-1"});S(b,"APPBUNDLE",k||"-1");Gs(b,"BREAKPOSITION",function(){var r=e;r=void 0===r?null:r;null==r?r="-1":(r=r.g(),r=0==r?"1":-1==r?"3":"2");return r});Gs(b,"BREAKMAXADS",function(){var r=e;return(r=void 0===r?null:r)?r.totalAds.toString():
"-1"});S(b,"BREAKMAXADLENGTH","-1");Gs(b,"BREAKMAXDURATION",function(){var r=e;return(r=void 0===r?null:r)?r.h.toString():"-1"});S(b,"BREAKMINADLENGTH","-1");S(b,"BREAKMINDURATION","-1");Gs(b,"CACHEBUSTING",Js);S(b,"CLICKTYPE",d||"-1");S(b,"CLIENTUA",Ks({Ac:l,cd:m,Tc:t,Uc:A}));S(b,"CONTENTID","-1");S(b,"CONTENTURI","-1");S(b,"DEVICEIP","-1");S(b,"DEVICEUA","-1");S(b,"DOMAIN",a||Ls());S(b,"GDPRCONSENT","-1");S(b,"IFA","-2");S(b,"IFATYPE","-2");S(b,"INVENTORYSTATE","-1");S(b,"LATLONG","-1");Gs(b,"LIMITADTRACKING",
function(){return"-1"});Gs(b,"MEDIAPLAYHEAD",function(){var r=e;return(r=void 0===r?null:r)?r.i.toString():"-1"});Gs(b,"OMIDPARTNER",function(){var r=n,L=q;r=void 0===r?null:r;L=void 0===L?null:L;return null==r||null==L?"-1":r+"/"+L});S(b,"PAGEURL",v||Ms());S(b,"PLACEMENTTYPE",c||"-1");S(b,"PLAYERSIZE","-1");S(b,"PLAYERSTATE","-1");S(b,"REGULATIONS","-1");S(b,"SERVERSIDE","0");S(b,"SERVERUA","-1");Gs(b,"TIMESTAMP",Ns);Gs(b,"TRANSACTIONID",function(){var r=g;return(r=void 0===r?null:r)?r.transactionId.toString():
"-1"});return b},S=function(a,b,c){a.set(b,new ds(b,{toString:function(){return c}}))},Gs=function(a,b,c){a.set(b,new ds(b,{toString:function(){return c()}}))},Os=function(a,b){b=void 0===b?new Map:b;b.set("ERRORCODE",new ds("ERRORCODE",a))},Ks=function(a){var b=void 0===a.Ac?null:a.Ac,c=void 0===a.cd?null:a.cd,d=void 0===a.Tc?null:a.Tc;a=void 0===a.Uc?null:a.Uc;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},Js=function(){return Math.round(1E8*
Math.random()+1E8).toString().slice(1)},Ls=function(){var a=2==vs()?null:Le().top.location.hostname;return a?a:"-1"},Ms=function(){var a=2==vs()?null:Le().top.location.href;return a?a:"-1"},Ns=function(){return(new Date).toISOString()};var Ps=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,Qs=function(a,b){return a.replace(Ps,function(c,d){d=b.get(d);if(null==d)return c;if(null==d.g)var e=!0;else try{e=d.g(a)||!1}catch(g){e=!1}if(e){b:{try{var f=d.h.toString();break b}catch(g){}f=null}e=f;e=null==e||""!=e&&z(C(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return null!=e?e:c})};var Rs=function(a){this.u=a},Ss=function(a,b){return a.map(function(c){return Qs(c,b)})},Us=function(a,b,c,d){d=void 0===d?!1:d;b=c?Ss(b,c):b;Ts(a.u,b,d)};var Ws=function(a,b,c){c=void 0===c?[]:c;this.u=b;var d=this;this.H=a;this.w=c;this.g=new Map;this.l=new Map;this.o=[];this.h=this.i=-1;Q.D().g.sa.push(function(){return Vs(d)})};w(Ws,Rs);Ws.prototype.report=function(a,b){b=void 0===b?Xs(this,a):b;Ys(this,a,b)};
var Ys=function(a,b,c){a.o.forEach(function(d){try{d(b)}catch(e){}});!Zs(a,b)||0>=c.length||(a.g.has(b)?a.g.set(b,a.g.get(b)+1):a.g.set(b,1),Us(a,c,a.l,a.w.includes(b)))},$s=function(a,b,c){var d=a.H.get("progress");if(!(null==d||0>=d.length)){var e=[],f=a.i,g=a.h;d.forEach(function(k){var l=k.i,m=k.h;m&&m<=1E5*b/c&&m>a.h?(g=m>g?m:g,e.push(k.url)):l&&l<=b&&l>a.i&&(f=l>f?l:f,e.push(k.url))});a.i=f;a.h=g;0<e.length&&a.report("progress",e)}},at=function(a,b){zr("err");R(Q.D(),"aec",String(b));Os(b,a.l);
a.report("error")},bt=function(a,b){a.l.set(b.i,b)},ct=function(a,b){b.forEach(function(c){return bt(a,c)})},dt=function(a,b){a.o.push(b)},Zs=function(a,b){switch(b){case "abandon":return!a.g.has(b)&&!a.g.has("skip")&&!a.g.has("instreamAdComplete")&&a.g.has("impression");case "instreamAdComplete":case "complete":return!a.g.has(b)&&!a.g.has("skip");case "mute":case "unmute":case "pause":case "resume":case "fullscreen":case "exitFullscreen":case "progress":case "error":case "click":case "expand":case "collapse":return!0;
default:return!a.g.has(b)}},Xs=function(a,b){return(a.H.get(b)||[]).map(function(c){return c.url})},Vs=function(a){R(Q.D(),"rec",Array.from(a.g,function(b){var c=p(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var et={},ft=(et.MOAT_INIT=["://yts\\.moatads\\.com","://yts-testing\\.moatads\\.com","://pagead2\\.googlesyndication\\.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat-secure"],et.MOAT_VIEWABILITY=["://[^.]*.moatads.com","://pagead2.googlesyndication.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/moat","://pubads.g.doubleclick.net"],et.IAS_VIEWABILITY=["://[^.]*.adsafeprotected.com","://[^.]*.test-adsafeprotected.com","://pagead2.googlesyndication.com/pagead/gen_204",
"://pagead2\\.googlesyndication\\.com/activeview/3pty/ias","://pubads.g.doubleclick.net"],et.DV_VIEWABILITY=["://[^.]*.yt.srs.doubleverify.com","://pagead2.googlesyndication.com/pagead/gen_204","://pagead2\\.googlesyndication\\.com/activeview/3pty/doubleverify","://pubads.g.doubleclick.net"],et.GOOGLE_VIEWABILITY="://pubads.g.doubleclick.net ://googleads.g.doubleclick.net ://ad[.-]([a-z0-9]+.){0,1}doubleclick.net ://ade\\.googlesyndication\\.com ://pagead2.googlesyndication.com ://([a-z0-9]+[.])*youtube.com".split(" "),
et),gt=new Map,ht=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?null:e;f=void 0===f?!1:f;gf.call(this);var g=this;this.i=e?e:String(Math.floor(1E9*Math.random()));this.g=b;this.h=c;this.H=d;this.F=f;this.o=null;this.l=new Yj;this.w=(a=a.Aa.get(Vq))?a.g:"";this.C=a?a.h:[];dt(this.g,function(k){g.u(k)});a=ir();Vj(a);gt.set(this.i,this)};w(ht,gf);ht.prototype.Y=function(a){this.g.report(a)};
var jt=function(a,b){bt(a.g,new ds("VIEWABILITY",b.viewability));var c=function(d){return function(e){return it(e,d)}};bt(a.g,new ds("DV_VIEWABILITY",b.doubleVerifyViewability,c("DV_VIEWABILITY")));bt(a.g,new ds("GOOGLE_VIEWABILITY",b.googleViewability,c("GOOGLE_VIEWABILITY")));bt(a.g,new ds("IAS_VIEWABILITY",b.integralAdsViewability,c("IAS_VIEWABILITY")));bt(a.g,new ds("MOAT_INIT",b.moatInit,c("MOAT_INIT")));bt(a.g,new ds("MOAT_VIEWABILITY",b.moatViewability,c("MOAT_VIEWABILITY")))};
ht.prototype.u=function(a){var b=this.i,c=this.h,d=this.o,e=this.C;e=void 0===e?[]:e;var f=c.hh()||void 0,g={};c=(g.opt_fullscreen=c.Xe(),g.opt_adElement=f,g);"start"==a&&(c.opt_configurable_tracking_events=e);d&&(c.opt_bounds=zh(d));a=Zp(a,b,c);jt(this,a)};ht.prototype.hd=function(){if(this.H&&this.l.Te()){ml.D().F=!0;Np.D();var a=this.l;N.D().i=a}a=Np.D();var b=this.w;a.na=b;N.D().lg(b)};var it=function(a,b){b=ft[b];return null==b?!0:b.some(function(c){return null!=a.match(c)})};
ht.prototype.R=function(){gt.delete(this.i);this.h=this.g=null;this.l=new Yj};Ia("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=gt.get(a))&&a.Y(c)},void 0);Ia("ima.common.getVideoMetadata",function(a){return(a=gt.get(a))?{currentTime:a.h.getCurrentTime(),duration:a.h.getDuration(),Wo:a.F,volume:a.h.isMuted()?0:a.h.getVolume()}:{}},void 0);var kt=function(a,b){var c=void 0===b?{}:b;b=void 0===c.vendor?null:c.vendor;var d=void 0===c.Xc?null:c.Xc,e=void 0===c.parameters?null:c.parameters;c=void 0===c.ga?[]:c.ga;this.g=a;this.vendor=b;this.parameters=e;this.Xc=d;this.ga=c};var lt=function(a,b,c){this.id=a;this.title=b;this.g=c};var mt=function(a,b,c,d,e){this.id=a;this.ld=void 0===d?!1:d;this.title=b;this.g=c;this.isListed=!(void 0===e?0:e)};var nt=function(a,b,c){this.h=a;this.i=b;this.g=(void 0===c?null:c)||""};nt.prototype.ld=function(){return this.h.ld};var ot=function(a){var b=a.Fb,c=a.height,d=a.width,e=void 0===a.Oa?!1:a.Oa;this.g=a.Cb;this.i=b;this.o=c;this.u=d;this.H=e};var pt=function(){this.g=this.h=0;this.bd=this.creativeType=this.i=null};var qt=function(){this.pa=this.Wc=null;this.g=this.h=0;this.w=1;this.Pb="left";this.Qb="top";this.Rb=this.Pa=-1;this.C=this.H=this.i=null;this.o=[];this.l=[];this.u=[]},rt=function(a,b){return"left"==a.Pb?"0px":"right"==a.Pb?b-a.h+"px":a.Pb+"px"},tt=function(a,b){return"bottom"==a.Qb?"0px":"top"==a.Qb?b-a.g+"px":b-a.g-Rd(a.Qb)+"px"};var ut=function(){};var vt=function(){Zq.call(this);this.jc=this.description=null;this.g=[];this.u=this.creativeId=this.i=this.Ma=null;this.Yc=[]};w(vt,Zq);var wt=function(a){return 0<a.g.length?a.g[0]:null};var xt=function(a){var b=a.Jj,c=a.Ei,d=a.Hj,e=a.Ci,f=a.Ij,g=a.Di;ot.call(this,{Cb:a.Cb,Fb:a.Fb,height:a.height,width:a.width,Oa:void 0===a.Oa?!1:a.Oa});this.J=b;this.F=c;this.w=d;this.l=e;this.h=f;this.C=g};w(xt,ot);xt.prototype.getVideoUrl=function(){return this.J};var yt=function(a){var b=a.bl,c=a.jb,d=a.mimeType;ot.call(this,{Cb:a.Cb,Fb:a.Fb,height:a.height,width:a.width,Oa:void 0===a.Oa?!1:a.Oa});this.w=b;this.h=d;this.l=c};w(yt,ot);var zt=function(a,b){this.url=a;this.id=void 0===b?null:b};var At=function(a,b,c){this.url=a;this.g=b;this.creativeType=void 0===c?null:c};var Bt=function(a){a=void 0===a?{}:a;var b=void 0===a.ud?null:a.ud,c=void 0===a.pa?null:a.pa,d=void 0===a.width?null:a.width,e=void 0===a.height?null:a.height,f=void 0===a.Ie?null:a.Ie,g=void 0===a.Af?[]:a.Af,k=void 0===a.Ra?[]:a.Ra,l=void 0===a.ga?[]:a.ga;this.id=void 0===a.id?null:a.id;this.ud=b;this.pa=c;this.width=d;this.height=e;this.Ie=f;this.Af=g;this.Ra=k;this.ga=l};var Ct=function(a,b){this.g=a;this.h=void 0===b?"none":b};var Dt=function(a){a=void 0===a?{}:a;var b=void 0===a.mimeType?null:a.mimeType,c=void 0===a.language?null:a.language;this.url=a.url;this.mimeType=b;this.language=c};var Et=function(a,b,c,d){this.sc=a;this.width=void 0===b?null:b;this.height=void 0===c?null:c;this.bd=void 0===d?null:d};var Ft=function(a){a=void 0===a?{}:a;var b=void 0===a.zc?[]:a.zc,c=void 0===a.xf?[]:a.xf;this.Xb=void 0===a.Xb?null:a.Xb;this.zc=b;this.xf=c};var Gt=function(a){a=void 0===a?{}:a;var b=void 0===a.pa?null:a.pa,c=void 0===a.Pb?null:a.Pb,d=void 0===a.Qb?null:a.Qb,e=void 0===a.width?null:a.width,f=void 0===a.height?null:a.height,g=void 0===a.bd?null:a.bd,k=void 0===a.nh?null:a.nh,l=void 0===a.Pa?null:a.Pa,m=void 0===a.Rb?null:a.Rb,n=void 0===a.hf?null:a.hf,q=void 0===a.be?null:a.be,v=void 0===a.Re?[]:a.Re,t=void 0===a.Ra?[]:a.Ra;this.Wc=void 0===a.Wc?null:a.Wc;this.pa=b;this.Pb=c;this.Qb=d;this.width=e;this.height=f;this.bd=g;this.nh=k;this.Pa=
l;this.hf=n;this.Rb=m;this.be=q;this.Re=v;this.Ra=t};var Ht=function(a,b){var c=void 0===b?{}:b;b=void 0===c.mimeType?null:c.mimeType;var d=void 0===c.pa?null:c.pa;c=void 0===c.ei?null:c.ei;this.url=a;this.pa=d;this.mimeType=b;this.ei=c};var It=function(a,b){var c=void 0===b?{}:b;b=void 0===c.wb?null:c.wb;var d=void 0===c.mimeType?null:c.mimeType,e=void 0===c.ab?null:c.ab,f=void 0===c.width?null:c.width;c=void 0===c.height?null:c.height;this.url=a;this.wb=b;this.mimeType=d;this.ab=e;this.width=f;this.height=c};var Jt=function(a,b){b=void 0===b?{}:b;var c=void 0===b.pa?null:b.pa,d=void 0===b.bitrate?null:b.bitrate,e=void 0===b.xa?null:b.xa,f=void 0===b.maxBitrate?null:b.maxBitrate;It.call(this,a,{wb:void 0===b.wb?null:b.wb,mimeType:void 0===b.mimeType?null:b.mimeType,ab:void 0===b.ab?null:b.ab,width:void 0===b.width?null:b.width,height:void 0===b.height?null:b.height});this.pa=c;this.xa=e||f||d||0;this.maxBitrate=f||e||d||0};w(Jt,It);var Kt=function(a){a=void 0===a?{}:a;var b=void 0===a.zc?[]:a.zc,c=void 0===a.Ke?[]:a.Ke;this.Xb=void 0===a.Xb?null:a.Xb;this.zc=b;this.Ke=c};var Lt=function(a){a=void 0===a?{}:a;var b=void 0===a.jc?null:a.jc,c=void 0===a.ga?[]:a.ga,d=void 0===a.Wf?[]:a.Wf,e=void 0===a.Lf?[]:a.Lf,f=void 0===a.Rg?[]:a.Rg,g=void 0===a.sd?null:a.sd,k=void 0===a.Ma?null:a.Ma,l=void 0===a.jd?[]:a.jd;this.duration=void 0===a.duration?null:a.duration;this.Ma=k;this.jc=b;this.ga=c;this.Wf=d;this.Lf=e;this.Rg=f;this.sd=g;this.jd=l};var Mt=function(a){a=void 0===a?{}:a;var b=void 0===a.pa?null:a.pa,c=void 0===a.height?null:a.height,d=void 0===a.width?null:a.width,e=void 0===a.Ve?null:a.Ve,f=void 0===a.Ra?[]:a.Ra,g=void 0===a.ff?null:a.ff,k=void 0===a.hg?[]:a.hg,l=void 0===a.Ma?null:a.Ma;this.id=void 0===a.id?null:a.id;this.pa=b;this.height=c;this.width=d;this.Ve=e;this.Ra=f;this.ff=g;this.hg=k;this.Ma=l};var Nt=function(a,b){b=void 0===b?[]:b;this.g=a;this.ga=b};var Ot=function(a){a=void 0===a?{}:a;var b=void 0===a.Jf?"unknown":a.Jf;this.Kf=(void 0===a.Kf?"unknown":a.Kf)||"unknown";this.Jf=b||"unknown"};var Pt=function(a){a=void 0===a?{}:a;var b=void 0===a.id?null:a.id,c=void 0===a.adId?null:a.adId,d=void 0===a.Kc?null:a.Kc,e=void 0===a.je?null:a.je,f=void 0===a.Rd?null:a.Rd,g=void 0===a.Yc?[]:a.Yc;this.pb=void 0===a.pb?null:a.pb;this.id=b;this.adId=c;this.Kc=d;this.je=e;this.Rd=f;this.Yc=g};var Qt=function(a){a=void 0===a?{}:a;var b=void 0===a.se?null:a.se,c=void 0===a.Xc?null:a.Xc,d=void 0===a.parameters?null:a.parameters,e=void 0===a.ga?[]:a.ga;this.vendor=void 0===a.vendor?null:a.vendor;this.se=b;this.Xc=c;this.parameters=d;this.ga=e};var Rt=function(a){a=void 0===a?{}:a;var b=void 0===a.Dc?[]:a.Dc,c=void 0===a.Ic?[]:a.Ic,d=void 0===a.bb?[]:a.bb,e=void 0===a.Ob?[]:a.Ob,f=void 0===a.Aa?[]:a.Aa;this.sb=void 0===a.sb?null:a.sb;this.g=b;this.h=c;this.bb=d;this.Ob=e;this.Aa=f};var St=function(a,b){var c=void 0===b?{}:b;b=void 0===c.id?null:c.id;var d=void 0===c.pb?null:c.pb;c=void 0===c.$c?null:c.$c;this.Ya=a;this.id=b;this.pb=d;this.$c="audio"==c?"audio":"hybrid"==c?"hybrid":"video"};var Tt=function(a){this.g=a=void 0===a?[]:a},Ut=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.Ya.Aa.filter(function(e){return e instanceof b}))});return c};var Vt=function(a){this.ga=a=void 0===a?[]:a};var Wt=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?"":c;Vt.call(this,a);this.g=b;this.h=c};w(Wt,Vt);var Xt=function(){};Xt.prototype.g=function(a,b){var c=[],d="";Ut(a,Wt).forEach(function(e){c.push.apply(c,u(e.g));d=d||e.h});(0<c.length||d)&&b.Aa.set(Vq,new Vq(c,d))};var Yt=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.wb?null:d.wb;var e=void 0===d.jb?null:d.jb,f=void 0===d.mimeType?null:d.mimeType,g=void 0===d.Cb?null:d.Cb,k=void 0===d.Fb?null:d.Fb,l=void 0===d.gi?null:d.gi,m=void 0===d.Lg?null:d.Lg,n=void 0===d.Oa?null:d.Oa,q=void 0===d.width?null:d.width;d=void 0===d.height?null:d.height;this.type=b;this.jb=e;this.Fb=k;this.gi=l;this.Lg=m;this.Oa=n;this.url=a;this.wb=c;this.mimeType=f;this.Cb=g;this.width=q;this.height=d};var Zt=function(a,b,c,d,e){this.cpn=a;this.g=b;this.l=c;this.h=d;this.i=e};var $t=function(a){this.h=void 0===a?null:a};
$t.prototype.g=function(a,b){if(b instanceof vt&&this.h&&!(0<b.g.length)){a=p(a.g);for(var c=a.next();!c.done;c=a.next()){c=p(c.value.Ya.Aa);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof Zt){var e=this.h;zr("ghmsh_s");for(var f="",g="",k="",l=p(d.h),m=l.next();!m.done;m=l.next())f+=m.value.jb+",";l=p(d.i);for(m=l.next();!m.done;m=l.next())g+=m.value.jb+",";l=p(d.g);for(m=l.next();!m.done;m=l.next())k+=m.value.jb+",";R(Q.D(),"ghmsh_mi",f);R(Q.D(),"ghmsh_vi",g);R(Q.D(),"ghmsh_ai",
k);e=au(e,d);e||(zr("ghmsh_f"),0<d.h.length?e=bu(d.h[0]):0<d.g.length&&0<d.i.length?e=cu(d.i[0],d.g[0]):(zr("ghmsh_ff"),e=null));if(e){if(f=e)f.u&&f.o&&R(Q.D(),"vs",f.u+"x"+f.o),f.g&&R(Q.D(),"vc",f.g),f instanceof yt?(f.h&&R(Q.D(),"mt",f.h),f.l&&R(Q.D(),"bit",String(f.l))):f instanceof xt&&(f.h&&R(Q.D(),"mt",f.h),f.w&&R(Q.D(),"bit",String(f.w)),f.l&&R(Q.D(),"bait",String(f.l)));e=[e]}else e=[];d=d.cpn;R(Q.D(),"cpn",d);b.i=d;d=p(e);for(e=d.next();!e.done;e=d.next())b.g.push(e.value)}}}};var du=function(a){a=void 0===a?{}:a;var b=void 0===a.ld?!1:a.ld,c=void 0===a.Cg?null:a.Cg,d=void 0===a.ze?null:a.ze,e=void 0===a.Mf?!1:a.Mf,f=void 0===a.yc?null:a.yc,g=void 0===a.wf?null:a.wf,k=void 0===a.vf?null:a.vf,l=void 0===a.Qg?null:a.Qg,m=void 0===a.format?null:a.format;this.videoId=void 0===a.videoId?null:a.videoId;this.ld=b;this.Cg=c;this.ze=d;this.Mf=e;this.yc=f;this.wf=g;this.vf=k;this.Qg=l;this.format=m};var eu=function(){};eu.prototype.g=function(a,b){a=p(a.g);for(var c=a.next();!c.done;c=a.next()){c=p(c.value.Ya.Aa);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof du){b.Aa.set(nt,new nt(new mt(d.videoId,d.Cg,d.ze,d.ld,d.Mf),new lt(d.yc,d.wf,d.vf),d.format));return}}};var fu=function(a){a=void 0===a?{}:a;var b=void 0===a.td?null:a.td,c=void 0===a.vd?null:a.vd,d=void 0===a.rf?null:a.rf,e=void 0===a.description?null:a.description,f=void 0===a.xg?null:a.xg;Rt.call(this,{sb:void 0===a.sb?null:a.sb,Dc:void 0===a.Dc?[]:a.Dc,Ic:void 0===a.Ic?[]:a.Ic,bb:void 0===a.bb?[]:a.bb,Ob:void 0===a.Ob?[]:a.Ob,Aa:void 0===a.Aa?[]:a.Aa});this.td=b;this.vd=c;this.rf=d;this.description=e;this.xg=f};w(fu,Rt);var gu=function(){};gu.prototype.i=function(){return!0};gu.prototype.h=function(a){var b=new Zq;this.g(a,b);return b};gu.prototype.g=function(a,b){a.g.forEach(function(c){hu(c,b);c.Ya.sb&&b.o.push(c.Ya.sb)});0<a.g.length&&(a=a.g[0],a.id&&(b.id=a.id),a.$c&&(b.$c=a.$c),a.pb&&(b.h=a.pb),a.Ya instanceof fu&&(a=a.Ya,b.vd=a.vd,b.td=a.td))};var hu=function(a,b){var c=a.Ya.h;a.Ya.g.forEach(function(d){$q(b,new Xq("error",d))});c.forEach(function(d){$q(b,new Xq("impression",d))})};var iu=function(a,b){var c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.message=a;this.Hk=void 0===b?900:b};w(iu,Error);var ju=function(a){this.h=a;this.g=ab()};ju.prototype.reset=function(){this.g=ab()};var ku=function(a){var b=ab();a=a.g+a.h-b;return 0<a?a:0};var lu="ad.doubleclick.net bid.g.doubleclick.net ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),mu=["c.googlesyndication.com"];
function nu(a,b){b=void 0===b?window.location.protocol:b;var c=!1;ou(a,mu)?c=!1:"https:"==b&&ou(a,lu)&&(c=!0);if(c){b=new O(a);if("https"==b.l)return a;R(Q.D(),"htp","1");pq(b,"https");return b.toString()}return a}function ou(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)}function pu(a){var b=qu;try{var c=(new O(a)).h;c=c.replace(/^www./i,"");return b.some(function(d){return ru(d,c)})}catch(d){return!1}}
function ru(a,b){if(z(C(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b}function tu(a){a=new O(a);var b=a.h;return"http"!=a.l&&"https"!=a.l?!1:-1==b.indexOf(".")||b.match(/^[\.0-9]*$/)?!1:uu(a.toString())}function uu(a){try{Hd(a)}catch(b){return!1}return!0};var vu=function(a){return(a=a.exec(Sb))?a[1]:""},wu=function(){if(yg)return vu(/Firefox\/([0-9.]+)/);if(Zd||$d||Yd)return re;if(Cg)return Td()?vu(/CriOS\/([0-9.]+)/):vu(/Chrome\/([0-9.]+)/);if(Dg&&!Td())return vu(/Version\/([0-9.]+)/);if(zg||Ag){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Sb);if(a)return a[1]+"."+a[2]}else if(Bg)return(a=vu(/Android\s+([0-9.]+)/))?a:vu(/Version\/([0-9.]+)/);return""}();var xu=/OS (\S+) like/,yu=/Android ([\d\.]+)/;function zu(a,b){a=(a=a.exec(Sb))?a[1]:"";a=a.replace(/_/g,".");return 0<=Rb(a,b)}
var Au=function(){var a=x.navigator||null;return(a=(a.language||a.userLanguage||a.browserLanguage||a.systemLanguage||"").match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""},Bu=function(){return vi()||ui()},Cu=function(){return fe&&"ontouchstart"in document.documentElement},Du=function(a,b){var c=window.screen.availHeight||window.screen.height;return 0>=(window.screen.availWidth||window.screen.width)-a&&42>=c-b};function Eu(a){a=Fu(a);return null==a||2>a||4<a?!1:!0}function Fu(a){if(!a||"VAST"==!a.nodeName)return null;a=a.getAttribute("version");if(!a)return null;a=parseInt(a,10);return null==a||isNaN(a)?null:a};var Gu=function(){if(!Zd)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}},Hu=Zd&&Gu(),Iu=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;a=Bd(a,null);return b.parseFromString(rd(a),"application/xml")}if(Hu){b=new ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");
};var T=function(a){gf.call(this);this.h=a;this.g={}};bb(T,gf);var Ju=[];T.prototype.G=function(a,b,c,d){return Ku(this,a,b,c,d)};var Lu=function(a,b,c,d,e){Ku(a,b,c,d,!1,e)},Ku=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(Ju[0]=c.toString()),c=Ju);for(var g=0;g<c.length;g++){var k=yf(b,c[g],d||a.handleEvent,e||!1,f||a.h||a);if(!k)break;a.g[k.key]=k}return a};T.prototype.cc=function(a,b,c,d){return Mu(this,a,b,c,d)};
var Mu=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Mu(a,b,c[g],d,e,f);else{b=xf(b,c,d||a.handleEvent,e,f||a.h||a);if(!b)return a;a.g[b.key]=b}return a};T.prototype.wa=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.wa(a,b[f],c,d,e);else c=c||this.handleEvent,d=Ta(d)?!!d.capture:!!d,e=e||this.h||this,c=zf(c),d=!!d,b=nf(a)?a.Me(b,c,d,e):a?(a=Bf(a))?a.Me(b,c,d,e):null:null,b&&(Gf(b),delete this.g[b.key])};
var Nu=function(a){Wb(a.g,function(b,c){this.g.hasOwnProperty(c)&&Gf(b)},a);a.g={}};T.prototype.R=function(){T.uc.R.call(this);Nu(this)};T.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Ou=function(){};Ou.prototype.g=null;Ou.prototype.getOptions=function(){var a;(a=this.g)||(a={},Pu(this)&&(a[0]=!0,a[1]=!0),a=this.g=a);return a};var Qu,Ru=function(){};bb(Ru,Ou);var Su=function(a){return(a=Pu(a))?new ActiveXObject(a):new XMLHttpRequest},Pu=function(a){if(!a.h&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.h=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.h};Qu=new Ru;var Tu=function(a){H.call(this);this.headers=new jq;this.J=a||null;this.h=!1;this.F=this.g=null;this.N="";this.l=0;this.i=this.M=this.u=this.K=!1;this.C=0;this.w=null;this.aa="";this.T=this.o=!1};bb(Tu,H);var Uu=/^https?$/i,Vu=["POST","PUT"],Wu=function(a,b){a.C=Math.max(0,b)};
Tu.prototype.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.N+"; newUri="+a);b=b?b.toUpperCase():"GET";this.N=a;this.l=0;this.K=!1;this.h=!0;this.g=this.J?Su(this.J):Su(Qu);this.F=this.J?this.J.getOptions():Qu.getOptions();this.g.onreadystatechange=Za(this.X,this);try{this.M=!0,this.g.open(b,String(a),!0),this.M=!1}catch(f){Xu(this);return}a=c||"";var e=this.headers.clone();d&&oq(d,function(f,g){e.set(g,f)});d=ob(e.Zb(),Yu);c=x.FormData&&
a instanceof x.FormData;!qb(Vu,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.g.setRequestHeader(g,f)},this);this.aa&&(this.g.responseType=this.aa);"withCredentials"in this.g&&this.g.withCredentials!==this.o&&(this.g.withCredentials=this.o);try{Zu(this),0<this.C&&((this.T=$u(this.g))?(this.g.timeout=this.C,this.g.ontimeout=Za(this.W,this)):this.w=sg(this.W,this.C,this)),this.u=!0,this.g.send(a),this.u=!1}catch(f){Xu(this)}};
var $u=function(a){return Zd&&se(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},Yu=function(a){return"content-type"==a.toLowerCase()};Tu.prototype.W=function(){"undefined"!=typeof Ha&&this.g&&(this.l=8,this.dispatchEvent("timeout"),this.abort(8))};var Xu=function(a){a.h=!1;a.g&&(a.i=!0,a.g.abort(),a.i=!1);a.l=5;av(a);bv(a)},av=function(a){a.K||(a.K=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Tu.prototype.abort=function(a){this.g&&this.h&&(this.h=!1,this.i=!0,this.g.abort(),this.i=!1,this.l=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),bv(this))};Tu.prototype.R=function(){this.g&&(this.h&&(this.h=!1,this.i=!0,this.g.abort(),this.i=!1),bv(this,!0));Tu.uc.R.call(this)};Tu.prototype.X=function(){this.yb()||(this.M||this.u||this.i?cv(this):this.ea())};Tu.prototype.ea=function(){cv(this)};
var cv=function(a){if(a.h&&"undefined"!=typeof Ha&&(!a.F[1]||4!=dv(a)||2!=ev(a)))if(a.u&&4==dv(a))sg(a.X,0,a);else if(a.dispatchEvent("readystatechange"),4==dv(a)){a.h=!1;try{fv(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.l=6,av(a))}finally{bv(a)}}},bv=function(a,b){if(a.g){Zu(a);var c=a.g,d=a.F[0]?Na:null;a.g=null;a.F=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Zu=function(a){a.g&&a.T&&(a.g.ontimeout=null);a.w&&(tg(a.w),a.w=null)};Tu.prototype.de=function(){return!!this.g};
var fv=function(a){var b=ev(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=String(a.N).match(Ug)[1]||null,!a&&x.self&&x.self.location&&(a=x.self.location.protocol,a=a.substr(0,a.length-1)),b=!Uu.test(a?a.toLowerCase():"");c=b}return c},dv=function(a){return a.g?a.g.readyState:0},ev=function(a){try{return 2<dv(a)?a.g.status:-1}catch(b){return-1}},gv=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}},hv=
function(a){if(a.g){a:{a=a.g.responseText;if(x.JSON)try{var b=x.JSON.parse(a);break a}catch(c){}b=Jg(a)}return b}},iv=function(a,b){if(a.g&&4==dv(a))return a=a.g.getResponseHeader(b),null===a?void 0:a};var jv=function(){};jv.prototype.get=function(a,b){return kv(a,b)};
var kv=function(a,b){return lv(a,!0,b).then(function(c){return Promise.resolve(c)},function(c){return c instanceof Error&&6==c.message?lv(a,!1,b):Promise.reject(c)})},lv=function(a,b,c){var d=new Tu;d.o=b;Wu(d,ku(c));var e=new T;return new Promise(function(f,g){e.cc(d,"success",function(){try{var k=d.g?d.g.responseXML:null}catch(v){k=null}null==k&&(k=Iu(gv(d)));var l=br(Mr);if(!(k&&k.documentElement&&Eu(k.documentElement))&&l){l={vastUrl:a.substring(0,200),responseText:gv(d).substring(0,200),status:ev(d),
contentType:iv(d,"Content-Type"),acao:iv(d,"Access-Control-Allow-Origin"),acac:iv(d,"Access-Control-Allow-Credentials"),origin:window.location.origin};for(var m=Q.D(),n=p(Object.keys(l)),q=n.next();!q.done;q=n.next())q=q.value,R(m,q,l[q])}f(k);e.$();d.$()});e.cc(d,["error","timeout"],function(){g(Error(d.l));e.$();d.$()});d.send(nu(a),"GET",void 0)})};var mv=function(a){this.h=void 0===a?!1:a};mv.prototype.g=function(a,b){b=void 0===b?!1:b;try{a=nu(a),il()?(new jv).get(a,new ju(5E3)):b?Qq(a,this.h):Uq(a,this.h)}catch(c){}};var Ts=function(a,b,c){c=void 0===c?!1:c;b.forEach(function(d){return a.g(d,c)})};var nv=function(a){this.h=a=void 0===a?new Map:a};nv.prototype.Wb=function(){return!1};nv.prototype.g=function(){return null};var ov=function(a){!il()&&a.set("osd",2);var b=vs();-1!=b&&a.set("frm",b);b=window.document;b="visible"==(b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState||"");null!=b&&a.set("vis",b?"1":"2");a.set("sdr",1)},pv=function(a,b){a.h.forEach(function(c,d){z(c)||b.set(d,c)})},qv=function(){var a=1025;kl()||(a|=64);return a|4};var rv=function(){nv.call(this)};w(rv,nv);rv.prototype.Wb=function(){return!1};rv.prototype.g=function(a){return a.g};var tv=function(a){this.g=a=void 0===a?[]:a};var uv=function(a){a=void 0===a?{}:a;var b=void 0===a.Ff?!0:a.Ff,c=void 0===a.Eb?!1:a.Eb,d=void 0===a.fh?!1:a.fh,e=void 0===a.nf?null:a.nf;Rt.call(this,{sb:void 0===a.sb?null:a.sb,Dc:void 0===a.Dc?[]:a.Dc,Ic:void 0===a.Ic?[]:a.Ic,bb:void 0===a.bb?[]:a.bb,Ob:void 0===a.Ob?[]:a.Ob,Aa:void 0===a.Aa?[]:a.Aa});this.Ff=b;this.Eb=c;this.fh=d;this.nf=e};w(uv,Rt);var vv={Tj:"application/dash+xml",qn:"video/gma-demuxed",Yj:"application/x-mpegURL",ak:"audio/mpeg",bk:"video/mp4",ck:"audio/mp4",dk:"video/mpeg",gk:"video/ogg",hk:"audio/ogg",lk:"video/3gpp",vk:"video/webm"};var wv=/\/itag\/(\d+)\//;function xv(a,b){if(!a)return"";a=C(a).toLowerCase();return b?a+'; codecs="'+C(b)+'"':a};function yv(a,b){a=parseInt(a.getAttribute(b),10);if(!isNaN(a))return a}function zv(a){if(null!=a){a=a.toLowerCase();if("1"==a||"true"==a)return!0;if("0"==a||"false"==a)return!1}}function Av(a,b){var c=[];b=b.toLowerCase();a=p(E(a));for(var d=a.next();!d.done;d=a.next())d=d.value,d.nodeName.toLowerCase()==b&&c.push(d);return c}function Bv(a,b){a=Av(a,b);return 0<a.length?a[a.length-1]:null}
function U(a){if(0==a.childNodes.length)return null;var b="";a=p(a.childNodes);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeType){case 4:case 3:b+=c.nodeValue}return b.trim()}function Cv(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}
function Dv(a){var b=(a||"").split(":");if(3==b.length){a=parseInt(b[0],10);var c=parseInt(b[1],10),d=b[2].split("."),e=parseInt(d[0],10);b=0;2==d.length&&(b=parseInt(d[1],10));if(!(isNaN(a)||isNaN(c)||isNaN(e)||isNaN(b)))return a=36E5*a+6E4*c+1E3*e,a+=b}}
function Ev(a){var b=[];a=p(E(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if("Verification"==d.nodeName){c={vendor:d.getAttribute("vendor"),ga:[]};d=p(E(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.se=U(e);c.Xc=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=U(e);break;case "TrackingEvents":c.ga=Fv(e)}null!=c.se&&b.push(new Qt(c))}}return b}
function Gv(a){var b=[];a=p(E(a));for(var c=a.next();!c.done;c=a.next())c=c.value,"CustomTracking"==c.nodeName&&b.push.apply(b,u(Fv(c)));return b}function Fv(a){var b=[];a=p(E(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if("Tracking"==d.nodeName){c=d.getAttribute("event");var e=U(d);if(null!=e){d=d.getAttribute("offset");var f=null,g=null;d&&d.endsWith("%")?g=parseInt(d,10):d&&d.includes(":")&&(f=Dv(d));b.push(new Wq(c,e,{Pa:f,Fd:g}))}}}return b};var Hv=function(){this.g=[]},Iv=function(a,b){a.g.includes(b)||a.g.push(b)},Jv=function(a,b){var c=[];b=p(E(b));for(var d=b.next();!d.done;d=b.next())if(d=d.value,"Extension"==d.nodeName)for(var e=p(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),null!=f){c.push(f);break}return c},Pv=function(a,b){var c;a={Yc:[]};a.pb=yv(b,"sequence");a.id=b.getAttribute("id");a.adId=b.getAttribute("adId");b=p(E(b));for(var d=b.next();!d.done;d=b.next())switch(d=d.value,d.nodeName){case "Linear":var e=void 0,
f=void 0,g=void 0,k=[],l=[];var m=[];var n=[];var q=[],v=p(E(d));for(c=v.next();!c.done;c=v.next()){var t=c.value;switch(t.nodeName){case "TrackingEvents":k=Fv(t);break;case "VideoClicks":g=null;c=[];var A=[];t=p(E(t));for(var r=t.next();!r.done;r=t.next()){r=r.value;var L=U(r);if(null!=L){var J=r.getAttribute("id");switch(r.nodeName){case "ClickThrough":g=new zt(L,J);break;case "ClickTracking":c.push(new zt(L,J));break;case "CustomClick":A.push(new zt(L,J))}}}g=new Kt({Xb:g,zc:c,Ke:A});break;case "MediaFiles":n=
[];l=[];c=[];m=p(E(t));for(t=m.next();!t.done;t=m.next())switch(t=t.value,t.nodeName){case "MediaFile":A=U(t);null==A?t=null:(r={},r.height=yv(t,"height"),r.width=yv(t,"width"),r.wb=t.getAttribute("delivery"),r.bitrate=yv(t,"bitrate"),r.xa=yv(t,"minBitrate"),r.maxBitrate=yv(t,"maxBitrate"),r.mimeType=t.getAttribute("type"),r.pa=t.getAttribute("apiFramework"),r.ab=t.getAttribute("codec"),t=new Jt(A,r));null!==t&&n.push(t);break;case "ClosedCaptionFiles":c=[];t=p(E(t));for(A=t.next();!A.done;A=t.next())A=
A.value,r=U(A),null!==r&&(r={url:r},r.mimeType=A.getAttribute("type"),r.language=A.getAttribute("language"),c.push(new Dt(r)));break;case "InteractiveCreativeFile":A=U(t),null==A?t=null:(r={},r.mimeType=t.getAttribute("type"),r.pa=t.getAttribute("apiFramework"),r.ei=zv(t.getAttribute("variableDuration")),t=new Ht(A,r)),null!==t&&l.push(t)}m=c;c=l;l=n;n=m;m=c;break;case "Duration":f=Dv(U(t));break;case "AdParameters":e=C(U(t));break;case "Icons":q=[];c=p(E(t));for(t=c.next();!t.done;t=c.next())t=t.value,
"Icon"==t.nodeName&&q.push(Kv(t));L=q;R(Q.D(),"icc",L.length.toString());if(0<L.length){r=A=t=c=0;J=null;var I="ns",Cb="ns";L=p(L);for(var Ad=L.next();!Ad.done;Ad=L.next()){I=Ad.value;J=p(I.Ra);for(Cb=J.next();!Cb.done;Cb=J.next())switch(Cb.value.g){case "Html":c++;break;case "IFrame":t++;break;case "Static":A++;break;default:r++}J=I.Wc;Cb=I.width?I.width.toString():"ns";I=I.height?I.height.toString():"ns"}R(Q.D(),"icrh",c.toString());R(Q.D(),"icri",t.toString());R(Q.D(),"icrs",A.toString());R(Q.D(),
"icru",r.toString());J&&(16<J.length&&(J=J.substring(0,15)+"*"),R(Q.D(),"icp",J));R(Q.D(),"icdi",I+"x"+Cb)}}}d=Lv(d.getAttribute("skipoffset"),f);a.Kc=new Lt({duration:f,jc:d,ga:k,Wf:l,Lf:m,Rg:n,sd:g,Ma:e,jd:q});break;case "NonLinearAds":e=[];f=[];d=p(E(d));for(k=d.next();!k.done;k=d.next())switch(k=k.value,k.nodeName){case "NonLinear":e.push(Mv(k));break;case "TrackingEvents":f=Fv(k)}a.je=new Nt(e,f);q=a.je.g;R(Q.D(),"nlc",q.length.toString());if(0<q.length){k=f=e=d=0;v=!1;q=p(q);for(g=q.next();!g.done;g=
q.next())for(g=p(g.value.Ra),l=g.next();!l.done;l=g.next())switch(l=l.value,l.g){case "Html":d++;v=v||-1!=l.url.indexOf("<");break;case "IFrame":e++;break;case "Static":f++;break;default:k++}R(Q.D(),"nlrh",d.toString());R(Q.D(),"nlri",e.toString());R(Q.D(),"nlrs",f.toString());R(Q.D(),"nlru",k.toString());R(Q.D(),"nlrhc",v.toString())}break;case "CompanionAds":a.Rd=Nv(d);q=a.Rd.g;R(Q.D(),"ccc",q.length.toString());if(0<q.length){k=f=e=d=0;v=!1;q=p(q);for(g=q.next();!g.done;g=q.next())for(g=p(g.value.Ra),
l=g.next();!l.done;l=g.next())switch(l=l.value,l.g){case "Html":d++;v=v||-1!=l.url.indexOf("<");break;case "IFrame":e++;break;case "Static":f++;break;default:k++}R(Q.D(),"ccrh",d.toString());R(Q.D(),"ccri",e.toString());R(Q.D(),"ccrs",f.toString());R(Q.D(),"ccru",k.toString());R(Q.D(),"ccrhc",v.toString())}break;case "UniversalAdId":a.Yc.push(Ov(d))}return new Pt(a)},Lv=function(a,b){if(null!=a)return a.endsWith("%")&&null!=b?parseInt(a,10)*b/100:Dv(a)},Mv=function(a){var b=Qv(a),c=a.getAttribute("id"),
d=yv(a,"width"),e=yv(a,"height"),f=a.getAttribute("apiFramework"),g=Dv(a.getAttribute("minSuggestedDuration")),k=null,l=null,m=[];a=p(E(a));for(var n=a.next();!n.done;n=a.next()){n=n.value;var q=U(n);if(null!=q)switch(n.nodeName){case "NonLinearClickThrough":l=new zt(q,n.getAttribute("id"));break;case "NonLinearClickTracking":m.push(new zt(q,n.getAttribute("id")));break;case "AdParameters":k=C(q)}}return new Mt({id:c,pa:f,width:d,height:e,Ve:g,ff:l,hg:m,Ra:b,Ma:k})},Nv=function(a){var b=[],c=a.getAttribute("required");
"any"!=c&&"all"!=c&&(c="none");a=p(E(a));for(var d=a.next();!d.done;d=a.next())d=d.value,"Companion"==d.nodeName&&b.push(Rv(d));return new Ct(b,c)},Rv=function(a){var b=Qv(a),c=a.getAttribute("id"),d=a.getAttribute("adSlotID"),e=a.getAttribute("apiFramework"),f=yv(a,"width"),g=yv(a,"height"),k=[],l=null,m=[],n;a=p(E(a));for(n=a.next();!n.done;n=a.next()){var q=n.value;switch(q.nodeName){case "TrackingEvents":k=Fv(q);break;case "CompanionClickThrough":n=U(q);null!=n&&(l=new zt(n,q.getAttribute("id")));
break;case "CompanionClickTracking":n=U(q),null!=n&&m.push(new zt(n,q.getAttribute("id")))}}return new Bt({id:c,ud:d,pa:e,width:f,height:g,Ie:l,Af:m,Ra:b,ga:k})},Ov=function(a){var b=U(a);b||(b=a.getAttribute("idValue"));a=a.getAttribute("idRegistry");return new Ot({Jf:a,Kf:b})},Kv=function(a){var b={};b.Wc=a.getAttribute("program");b.pa=a.getAttribute("apiFramework");b.bd=a.getAttribute("altText");b.nh=a.getAttribute("hoverText");b.width=yv(a,"width");b.height=yv(a,"height");b.Pb=a.getAttribute("xPosition");
b.Qb=a.getAttribute("yPosition");b.Rb=Dv(a.getAttribute("duration"));b.hf=Dv(a.getAttribute("pxratio"));b.Pa=Lv(a.getAttribute("offset"),b.Rb);b.Ra=Qv(a);b.Re=[];a=p(E(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.Re.push(U(d));break;case "IconClicks":c=null;var e=[],f=[];d=p(E(d));for(var g=d.next();!g.done;g=d.next()){g=g.value;var k=U(g),l=g.getAttribute("id");switch(g.nodeName){case "IconClickThrough":null!=k&&(c=new zt(k,l));break;case "IconClickTracking":null!=
k&&e.push(new zt(k,l));break;case "IconClickFallbackImages":f=Sv(g)}}b.be=new Ft({Xb:c,zc:e,xf:f})}}return new Gt(b)},Sv=function(a){var b=[];a=p(E(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=Qv(d).filter(function(g){return"Static"==g.g});if(0<c.length){var e=yv(d,"width"),f=yv(d,"height");d=Tv(d);b.push(new Et(c[0],e,f,d))}}return b},Tv=function(a){a=p(E(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,"AltText"==b.nodeName)return U(b);return null},Qv=function(a){var b=[];a=
p(E(a));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=U(c);if(null!=d)switch(c.nodeName){case "StaticResource":b.push(new At(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new At(d,"Html"));break;case "IFrameResource":b.push(new At(d,"IFrame"))}}return b};var Vv=function(){var a={Ai:[new Uv,new gu]},b=void 0===a.Ak?[]:a.Ak;this.h=void 0===a.Ai?[]:a.Ai;this.g=b},Wv=function(a,b){a:{var c=p(a.h);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.i(b)){c=d;break a}c=null}if(null!=c){c=c.h(b);a=p(a.g);for(d=a.next();!d.done;d=a.next())d.value.g(b,c);return c}throw new iu("Ad Provider was not found for ad.",1014);throw new iu("CreateAd call failed.",1014);},Xv=function(a,b){a.g.unshift(b)};var Yv=function(a,b){this.h=a;this.g=void 0===b?null:b};var Zv=function(a,b){Vt.call(this,a);this.g=b};w(Zv,Vt);var Uv=function(){};w(Uv,gu);Uv.prototype.i=function(a){a=(1>a.g.length?null:a.g[0]).Ya;return a instanceof fu?null!=a.bb.find(function(b){return null!=b.Kc}):!1};Uv.prototype.h=function(a){var b=new vt;this.g(a,b);return b};
Uv.prototype.g=function(a,b){gu.prototype.g.call(this,a,b);for(var c=p(a.g),d=c.next();!d.done;d=c.next())d=d.value,$v(d,b),b.description=d.Ya.description;a:if(c=1>a.g.length?null:a.g[0])if(d=Ut(a,Yv),0<d.length)for(a=p(d),c=a.next();!c.done;c=a.next())c=c.value,c.h&&(b.jc=c.g?c.g:5E3);else{d=Ut(a,Vt);d=p(d);for(var e=d.next();!e.done;e=d.next()){e=p(e.value.ga);for(var f=e.next();!f.done;f=e.next())if("skip"==f.value.g){b.jc=5E3;break a}}c=p(c.Ya.bb);for(d=c.next();!d.done;d=c.next())if((d=d.value.Kc)&&
null!=d.jc){b.jc=d.jc;break a}a=Ut(a,Zv);a=p(a);for(c=a.next();!c.done;c=a.next())if("Generic"==c.value.g){b.jc=5E3;break}}};
var $v=function(a,b){for(var c=p(a.Ya.bb),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.Kc;if(e){b.creativeId=d.id;b.u=d.adId;b.Yc=d.Yc.map(function(){return new ut});for(var f=p(e.ga),g=f.next();!g.done;g=f.next())$q(b,Yq(g.value));if(f=e.sd){g=p(f.zc);for(var k=g.next();!k.done;k=g.next())$q(b,new Xq("click",k.value.url));g=p(f.Ke);for(k=g.next();!k.done;k=g.next())k=k.value,k.id&&$q(b,new Xq(k.id,k.url))}a.Ya instanceof fu&&(b.Rb=d.Kc.duration,e.Ma&&(b.Ma=e.Ma),f&&f.Xb&&(b.H=f.Xb.url))}}};var aw=function(){};aw.prototype.get=function(a,b){return bw(a,b,"GET")};var cw=function(a,b){a=new O(a);var c=a.g.toString();rq(a,"");return bw(a.toString(),b,"POST",c)},bw=function(a,b,c,d){var e=new Tu;e.o=!0;Wu(e,b);var f=new T;return new Promise(function(g,k){f.cc(e,"success",function(){try{g(hv(e)||{})}catch(l){g({})}f.$();e.$()});f.cc(e,["error","timeout"],function(){k(Error(ev(e)));f.$();e.$()});e.send(nu(a),c,d)})};var dw=function(a){a=void 0===a?{}:a;var b=void 0===a.lf?0:a.lf,c=void 0===a.mf?0:a.mf,d=void 0===a.adPosition?0:a.adPosition,e=void 0===a.Od?0:a.Od,f=void 0===a.currentTime?0:a.currentTime,g=void 0===a.duration?0:a.duration,k=void 0===a.totalAds?0:a.totalAds;this.adBreakDuration=void 0===a.adBreakDuration?0:a.adBreakDuration;this.lf=b;this.mf=c;this.adPosition=d;this.Od=e;this.currentTime=f;this.duration=g;this.totalAds=k};
dw.prototype.oa=function(){var a={};a.adBreakDuration=this.adBreakDuration;a.adBreakStartTime=this.lf;a.adPeriodDuration=this.mf;a.adPosition=this.adPosition;a.adStartTime=this.Od;a.currentTime=this.currentTime;a.duration=this.duration;a.totalAds=this.totalAds;return a};var ew=function(a){this.h=a;this.g=!1};ew.prototype.contains=function(a){return Math.floor(fw(this))<=a&&a<=Math.ceil(gw(this))};var fw=function(a){return a.h.start_float},gw=function(a){return a.h.end_float};ew.prototype.Te=function(){return fw(this)<=gw(this)};ew.prototype.oa=function(){var a={};a.end=gw(this);a.start=fw(this);a.played=this.g;return a};var hw=function(a,b){b=void 0===b?{}:b;G.call(this,a);this.data=b||{}};w(hw,G);var iw=function(a){this.g=a},jw=function(a,b){return((a.g.ads||{})[b]||{}).position||0},kw=function(a,b){return((a.g.ads||{})[b]||{})["break"]||""},lw=function(a,b,c){var d=[];(((a.g.ads||{})[b]||{}).wrappers||[]).forEach(function(e){return d.push(e[c]||"")});return d.reverse()},mw=function(a,b){return((a.g.breaks||{})[b]||{}).ads||0},nw=function(a){a=(a.g.cuepoints||[]).map(function(b){return new ew(b)});a=a.filter(function(b){return b.Te()});a.sort(function(b,c){return fw(b)-fw(c)});return a},ow=
function(a,b){a=a.g.ads||{};var c=a[b]||{};b=c.position||0;c=c["break"]||"";var d=0,e;for(e in a){var f=a[e]||{},g=f.position||Number.MAX_SAFE_INTEGER,k=f.duration||0;c===f["break"]&&0<g&&g<b&&(d+=k)}return d};var pw=function(a){this.g=a=void 0===a?{}:a};pw.prototype.isLive=function(){return"live"==this.g.stream_type};var qw=function(a){return"on_demand"==a.g.stream_type};var rw=function(){H.call(this);this.i=this.h=0;this.g=!1};w(rw,H);var tw=function(a,b){a.h=b;b=Math.abs(a.h-a.i);a.g&&2.5<b&&(a.g=!1,a.dispatchEvent(new hw("adPeriodEnded")))};rw.prototype.reset=function(){this.i=this.h=0;this.g=!1};var uw=function(){this.l=this.videoId=this.u=this.i=this.o=this.g="";this.h=null;this.w=this.H=!1;this.format="hls"},vw=function(a){return!z(a.i)&&!z(a.videoId)};var ww=function(){},xw=function(a){var b=a.h,c=new Map;if(null!=b)for(var d in b){var e=b[d];null!=e&&c.set(d,e)}c.set("api-key",a.l);c.set("auth-token",a.o);c.set("dai-sam-id",a.u);return c};function yw(a,b,c){return a+b+"/vid/"+c+"/streams"}function zw(a,b){b.forEach(function(c,d){z(c)||Bq(a,d,c)})};var Aw=function(){};w(Aw,ww);Aw.prototype.Wb=function(a){return(!z(a.g)||vw(a))&&"dash"===a.format};Aw.prototype.g=function(a,b){b=void 0===b?new Map:b;var c=new O(z(a.g)?yw("https://pubads.g.doubleclick.net/ondemand/dash/content/",a.i,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.g+"/streams");a=xw(a);zw(c,a);zw(c,b);return c.toString()};var Bw=function(){};w(Bw,ww);Bw.prototype.Wb=function(a){return(!z(a.g)||vw(a))&&"dash"!==a.format};Bw.prototype.g=function(a,b){b=void 0===b?new Map:b;var c=new O(z(a.g)?yw("https://pubads.g.doubleclick.net/ondemand/hls/content/",a.i,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.g+"/streams");a=xw(a);zw(c,a);zw(c,b);return c.toString()};var Cw=function(){};w(Cw,ww);Cw.prototype.Wb=function(a){return(!z(a.g)||vw(a))&&a.w};Cw.prototype.g=function(a,b){b=void 0===b?new Map:b;var c=new O(z(a.g)?"dash"===a.format?yw("https://truman-qa.sandbox.google.com/ondemand/dash/content/",a.i,a.videoId):yw("https://truman-qa.sandbox.google.com/ondemand/hls/content/",a.i,a.videoId):"https://truman-qa.sandbox.google.com/ssai/event/"+a.g+"/streams");a=xw(a);zw(c,a);zw(c,b);return c.toString()};var Dw=function(){};w(Dw,ww);Dw.prototype.Wb=function(){return!1};Dw.prototype.g=function(){return""};var Ew=function(){this.g=[]},Fw=function(a,b){a=p(a.g);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Wb(b))return c;return new Dw};var Gw=function(){};w(Gw,ww);Gw.prototype.Wb=function(a){return a.H};Gw.prototype.g=function(a,b){b=void 0===b?new Map:b;var c=new O(z(a.g)?a.i:a.g);a=xw(a);zw(c,a);zw(c,b);return c.toString()};var Hw=function(){this.g=new Ew},Iw=function(a,b){null!=b&&a.g.g.push(b)};
Hw.prototype.fetch=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?8E3:c;var d=new iu("Invalid stream initialization request.",2001);if(z(a.g)&&!vw(a))return Promise.reject(d);b=Fw(this.g,a).g(a,b);return z(b)?Promise.reject(d):cw(b,c).then(function(e){e=new pw(e);if(null==e.g.stream_id||null==e.g.stream_manifest)throw new iu("Stream initialization response was invalid.",2002);return e}).catch(function(e){var f=new iu("Stream initialization failed",2002);if(e instanceof iu)f=e;else if(e instanceof
Error){e=parseInt(e.message,10);f=2002;var g="Stream initialization failed because\nHTTP status code: ";404===e?(f=2002,z(a.g)?vw(a)&&(g="Stream initialization failed because either: \n1. Content source ID or video ID was incorrect. \n2. The stream is inactive.\nHTTP status code: "):g="Stream initialization failed because either: \n1. Asset key was incorrect.\n2. The stream is inactive.\nHTTP status code: "):401===e||403===e?(f=2004,g="Stream initialization failed because: \nAPI key was incorrect. Access unauthorized\nHTTP status code: "):
408===e&&(f=2003,g="Stream initialization failed because: \nRequest timed out\nHTTP status code: ");f=new iu(g+e,f)}throw f;})};var Jw=function(a){this.g=void 0===a?0:a},Kw=function(a,b){a=a.g;var c=null,d=null,e=null;b=p(b);for(var f=b.next();!f.done;f=b.next())f=f.value,f.xa&&f.xa<=a&&f.maxBitrate&&f.maxBitrate>=a?c&&c.xa&&c.xa<f.xa||(c=f):f.maxBitrate&&f.maxBitrate<a?d&&d.maxBitrate&&d.maxBitrate>f.maxBitrate||(d=f):f.xa&&f.xa>a&&!(e&&e.xa&&e.xa<f.xa)&&(e=f);return(a=c||d||e)?[a]:[]};function Lw(a){var b=0,c=0,d=!1,e=[];a.forEach(function(f){var g=C(f.mimeType).toLowerCase();e.push(g);"vpaid"===C(f.pa).toLowerCase()?d=!0:"video/webm"===g&&(b++,f.ab&&f.ab.toLowerCase().includes("vp9")&&c++)});R(Q.D(),"webm",b.toString());R(Q.D(),"vp9",c.toString());R(Q.D(),"vamt",e.join());R(Q.D(),"hvmf",C(d))}
function Mw(a){a.maxBitrate?wr(Q.D(),"br",a.maxBitrate):a.xa&&wr(Q.D(),"br",a.xa);a.mimeType&&wr(Q.D(),"mt",a.mimeType);a.width&&a.height&&wr(Q.D(),"vs",a.width+"x"+a.height);a.ab&&wr(Q.D(),"vc",a.ab);if(a.url){a=a.url;var b=parseInt;var c=a.search(Xg);var d=Wg(a,0,"itag",c);if(0>d)c=null;else{var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=5;c=Hd(a.substr(d,e-d))}a=(b=b(c,10))?b:(a=a.match(wv))&&2==a.length?parseInt(a[1],10):null}else a=null;a&&R(Q.D(),"bit",String(a))};var Nw=function(a){var b=this;a=void 0===a?{}:a;var c=void 0===a.Db?null:a.Db,d=void 0===a.mimeTypes?[]:a.mimeTypes;this.i=void 0===a.Ee?0:a.Ee;this.Db=c;this.g=d.length?d:ac(vv);this.Db&&(this.g=this.g.filter(function(e){return b.Db.zh(e)}));br(Tr)&&this.g.push("application/javascript");this.g=this.g.map(function(e){return e.toLowerCase()})};
Nw.prototype.h=function(a){Lw(a);var b=0>=this.i?vi()?500:1E3:this.i;a=Ow(this,a);if(0==a.length)b=null;else{wr(Q.D(),"smb",b);for(var c=null,d=p(a),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.xa,g=e.maxBitrate;null!=f&&f>b||null!=g&&g<b||!(null==f||null==c||null==c.xa||c.xa>f)||(c=e)}if(!c)for(c=null,d=p(a),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.xa,g=e.maxBitrate,!(null!=g&&g>b))if(null==g||null==c||null==c.maxBitrate||c.maxBitrate<g)c=e;else if(null==f||null==c.xa||c.maxBitrate==g&&
c.xa>f)c=e;if(!c)for(c=null,d=p(a),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.xa,g=e.maxBitrate,!(null!=f&&f<b))if(null!=c&&c.xa==f&&c.maxBitrate<g)c=e;else if(null==c||c.xa>f)c=e;b=c}b||Pw(a);a=[];b&&(a.push(b),Mw(b));return a};
var Ow=function(a,b){var c=b.length;b=b.filter(function(f){var g=f.mimeType;z(C(f.url))?f=!1:(g=C(g).toLowerCase(),f=z(g)||"streaming"==f.wb&&"application/x-mpegurl"!=C(g)||he&&zu(yu,2.3)&&-1!=g.indexOf("application/ogg")?!1:!0);return f});var d=b.length;b=b.filter(function(f){return a.g.includes(C(f.mimeType).toLowerCase())});var e=b.length;wr(Q.D(),"gpm_i",c);wr(Q.D(),"gpm_c",d);wr(Q.D(),"gpm_a",e);return b},Pw=function(a){a=a.map(function(b){return C(b.mimeType).toLowerCase()});R(Q.D(),"plmt",
a.join());yr()};var Qw=function(a){this.g=a=void 0===a?[]:a},au=function(a,b){var c=null;a=p(a.g);for(var d=a.next();!d.done;d=a.next()){var e=d.value;switch(e.type){case "dash":if(c=Rw(b,"application/dash+xml"))return c;break;case "hls":if(c=Rw(b,"application/vnd.apple.mpegurl"))return c;break;case "itag":if(e.hc)a:{c=e.hc;d=p(b.h);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.jb==c){c=bu(e);break a}c=null}else if(e.kf){d=c=void 0;var f=b,g=e.kf;e=e.Mg;for(var k=p(f.i),l=k.next();!l.done;l=k.next())l=l.value,
l.jb==g&&(d=l);if(e)for(f=p(f.g),l=f.next();!l.done;l=f.next())g=l.value,g.jb==e&&(c=g);c=d&&c?cu(d,c):d?new xt({Jj:d.url,Ei:"",Hj:d.jb,Ci:null,Ij:d.mimeType,Di:"",Cb:d.Cb,Fb:"",height:d.height,width:d.width,Oa:d.Oa||!1}):null}if(c)return c}}return null},Rw=function(a,b){a=p(a.l);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType==b)return bu(c);return null},bu=function(a){return new yt({bl:a.url,mimeType:a.mimeType,jb:a.jb,Cb:a.Cb,Fb:a.Fb,height:a.height,width:a.width,Oa:a.Oa||!1})},cu=
function(a,b){return new xt({Jj:a.url,Ei:b.url,Hj:a.jb,Ci:b.jb,Ij:a.mimeType,Di:b.mimeType,Cb:a.Cb,Fb:b.Fb,height:a.height,width:a.width,Oa:a.Oa&&b.Oa||!1})};var Sw=function(a){a=void 0===a?{}:a;var b=void 0===a.filters?[]:a.filters,c=void 0===a.Vh?null:a.Vh;this.Db=void 0===a.Db?null:a.Db;this.i=b;this.g=c};Sw.prototype.h=function(a,b){for(var c=p(this.i),d=c.next();!d.done;d=c.next())a=d.value.filter(a,b,this.Db);b=a;a=[];this.g?a.push.apply(a,u(Kw(this.g,b))):0<b.length&&a.push(b[0]);Mw(a[0]);return a};var Tw=function(a){var b=void 0===a.Ck?[]:a.Ck;this.g=(void 0===a.Kg?[]:a.Kg).map(function(c){return c.toLowerCase()});this.h=b.map(function(c){return c.toLowerCase()})};Tw.prototype.filter=function(a){var b=this;0<this.g.length&&(a=a.filter(function(c){return c.mimeType&&b.g.includes(c.mimeType.toLowerCase())||b.g.includes(xv(c.mimeType,c.ab))}));0<this.h.length&&(a=a.filter(function(c){return c.mimeType&&b.h.includes(c.mimeType.toLowerCase())||b.h.includes(xv(c.mimeType,c.ab))?!1:!0}));return a};var Uw=function(a){this.g=a};Uw.prototype.toString=function(){return this.g};var Vw=new Uw("ad_author_icon_update"),Ww=new Uw("ad_author_update"),Xw=new Uw("ad_title_update"),Yw=new Uw("publisher_invoked_skip"),Zw=new Uw("ui_ad_attribution_clicked"),$w=new Uw("ui_ad_author_clicked"),ax=new Uw("ui_ad_clicked"),bx=new Uw("ui_ad_mouse_enter"),cx=new Uw("ui_ad_mouse_leave"),dx=new Uw("ui_author_icon_clicked"),ex=new Uw("ui_ad_title_clicked"),fx=new Uw("ui_close_button_clicked"),gx=new Uw("ui_close_button_shown"),hx=new Uw("ui_close_countdown_shown"),ix=new Uw("ui_close_countdown_complete"),
jx=new Uw("ui_close_countdown_timeout"),kx=new Uw("ui_focus_skip_button"),lx=new Uw("ui_learn_more_clicked"),mx=function(a,b){this.Pb=a;this.Qb=b},nx=new Uw("ui_overlay_clicked"),ox=new Uw("ui_overlay_faded"),px=new Uw("ui_overlay_rendered"),qx=new Uw("ui_play_pause_clicked"),rx=new Uw("ui_play_pause_hidden"),sx=new Uw("ui_play_pause_shown"),tx=new Uw("ui_recall_button_clicked"),ux=new Uw("ui_skip_clicked"),vx=new Uw("ui_skip_shown"),wx=new Uw("ui_vast_icon_clicked"),xx=new Uw("ui_vast_icon_rendered"),
yx=new Uw("ui_wta_clicked"),zx=new Uw("video_clicked"),Ax=new Uw("video_pause"),Bx=new Uw("video_ad_shown"),Cx=new Uw("video_started"),Dx=function(a,b,c,d,e){this.g=a;this.h=b;this.adPosition=void 0===d?null:d;this.totalAds=void 0===e?null:e},Ex=new Uw("video_time_update");var Fx={},Gx={},Hx={},Ix={},Jx=function(){throw Error("Do not instantiate directly");};Jx.prototype.Tg=null;Jx.prototype.getContent=function(){return this.content};Jx.prototype.toString=function(){return this.content};var Kx=function(){Jx.call(this)};bb(Kx,Jx);Kx.prototype.Ji=Fx;var Lx=function(a,b){return null!=a&&a.Ji===b};var Mx=function(a){if(null!=a)switch(a.Tg){case 1:return 1;case -1:return-1;case 0:return 0}return null},Ox=function(a){return Lx(a,Fx)?a:a instanceof qd?Nx(rd(a).toString(),a.g()):Nx(Id(String(String(a))),Mx(a))},Nx=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));void 0!==d&&(c.Tg=d);return c}}(Kx),Rx=function(a){return String(a).replace(Px,"").replace(Qx,"<")},Sx=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},V=
function(a){return Lx(a,Fx)?String(Rx(a.getContent())).replace(Tx,Ux):Id(String(a))},Yx=function(a){Lx(a,Gx)||Lx(a,Hx)?a=String(a).replace(Vx,Wx):a instanceof Qc?a=String(Rc(a)).replace(Vx,Wx):a instanceof Ic?a=String(Jc(a).toString()).replace(Vx,Wx):(a=String(a),a=Xx.test(a)?a.replace(Vx,Wx):"about:invalid#zSoyz");return a},$x=function(a){Lx(a,Ix)?a=Sx(a.getContent()):null==a?a="":a instanceof Wc?a=Sx(Xc(a)):a instanceof jd?a=Sx(md(a)):(a=String(a),a=Zx.test(a)?a:"zSoyz");return a},ay={"\x00":"�",
"\t":"	","\n":"
","\x0B":"","\f":"","\r":"
"," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},Ux=function(a){return ay[a]},by={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F",
"\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86",
"\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Wx=function(a){return by[a]},Tx=/[\x00\x22\x27\x3c\x3e]/g,cy=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,dy=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,Vx=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
Zx=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,Xx=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,Px=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Qx=/</g;var ey=function(){return Nx('<div class="'+V("endcapUi")+'"></div>')},fy=function(){return Nx('<div class="'+V("actionStaticImageEndcapContainer")+'"><img class="'+V("advertiserVideoThumbnail")+'"/></div>')},gy=function(a){a=a.Zg;return Nx('<div class="'+V("callToActionContainer")+'"><div class="'+V("callToActionButton")+'">'+Ox(a)+"</div></div>")};var hy=function(a){a=a||{};a=a.uh;return Nx('<div class="'+V("videoAdUiLearnMore")+'">'+Ox(a)+"</div>")},iy=function(){var a="Learn More "+Ox("");return Nx(a)},jy=function(a){a=a.uh;return Nx('<div class="'+V("learnMoreContainer")+'"><div class="'+V("learnMoreButton")+'">'+Ox(a)+"</div></div>")};var ky=function(){H.call(this);this.element=null;this.V=new T(this);F(this,this.V)};w(ky,H);ky.prototype.R=function(){this.V=null};var ly=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},my=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},ny=function(a,b){return a.classList?a.classList.contains(b):qb(a.classList?a.classList:ly(a).match(/\S+/g)||[],b)},oy=function(a,b){if(a.classList)a.classList.add(b);else if(!ny(a,b)){var c=ly(a);my(a,c+(0<c.length?" "+b:b))}},py=function(a,b){a.classList?a.classList.remove(b):ny(a,b)&&
my(a,ib(a.classList?a.classList:ly(a).match(/\S+/g)||[],function(c){return c!=b}).join(" "))};var ry=function(a,b){b=a(b||qy,void 0);a=Ee().createElement("DIV");if(Ta(b))if(b instanceof Jx){if(b.Ji!==Fx)throw Error("Sanitized content was not of kind HTML.");b=Bd(b.toString(),b.Tg||null)}else b=td("zSoyz");else b=td(String(b));Ed(a,b);1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},qy={};var uy=function(a,b){ky.call(this);this.h=this.g=null;this.element=ry(ey,{});a.appendChild(this.element);this.V.G(this.element,"touchmove",function(c){c.preventDefault()});sy(this);ty(this,b);400>=(parseInt(sh(a,"width"),10)||parseInt(a.getAttribute("width"),10))&&oy(this.element,"videoAdUi-mobile");K(this.element,!1)};w(uy,ky);
var sy=function(a){a.g=ry(fy,{});a.element.appendChild(a.g);a.V.G(a.g,"click",function(b){zr("sic");b.stopPropagation()})},ty=function(a,b){a.h=ry(gy,{Zg:b||iy()});a.element.appendChild(a.h);a.V.G(D("callToActionButton",a.element),"click",function(c){zr("ecbc");a.dispatchEvent("video_card_endcap_action");c.stopPropagation()})};uy.prototype.show=function(){K(this.element,!0)};uy.prototype.R=function(){Ve(this.element);this.element=null;ky.prototype.R.call(this)};var vy=function(a){a=a||{};a=a.$a;return Nx('<div class="'+V("videoAdUiBottomBar")+'"><div class="'+V("videoAdUiAttributionContainer")+'"><div class="'+V("videoAdUiAttribution")+'">'+Ox(a)+'</div></div><div class="'+V("videoAdUiWtaIconContainer")+'"> </div><div class="'+V("videoAdUiProgressBar")+'" dir="ltr"><div class="'+V("videoAdUiBuffer")+'"></div><div class="'+V("videoAdUiProgress")+'"></div></div></div>')};var wy=function(){return Nx('<div class="'+V("rewardedAdUiBottomBar")+'"><div class="'+V("rewardedAdUiProgressBar")+'" dir="ltr"><div class="'+V("rewardedAdUiPoint")+'"></div><div class="'+V("rewardedAdUiProgress")+'"></div></div></div>')};var yy=function(){ky.call(this);this.h=this.g=null;var a="";var b="Ad "+Ox("");a=Nx(a+b);br(Kr)?(this.element=ry(wy,{$a:""}),this.g=D("rewardedAdUiProgress",this.element)):(this.element=ry(vy,{$a:a}),this.g=D("videoAdUiProgress",this.element),this.h=D("videoAdUiAttributionContainer",this.element),this.i=D("videoAdUiWtaIconContainer",this.element),K(this.i,!1),oy(this.element,"videoAdUiWtaBottomBarVariant"),K(this.i,!0),K(this.h,!1),K(this.g,!0))};w(yy,ky);
yy.prototype.R=function(){Ve(this.element);this.element=null;ky.prototype.R.call(this)};var zy=function(){H.call(this);this.V=new T(this);F(this,this.V)};w(zy,H);zy.prototype.R=function(){this.V=null};zy.prototype.Pd=function(){};var Ay=function(){zy.call(this);this.g=new yy;F(this,this.g)};w(Ay,zy);Ay.prototype.Pd=function(a){Ue(a,this.g.element)};var By=function(){return Nx('<div class="'+V("ctaAdvertiserInfo")+'"><div class="'+V("advertiserChannelThumbnailContainer")+'"><img class="'+V("advertiserChannelThumbnail")+'"/></div><div class="'+V("advertiserHeadline")+'"></div><div class="'+V("advertiserDescription")+'"></div></div>')};var Dy=function(a){ky.call(this);this.g=a;this.element=ry(By,{});Cy(this)};w(Dy,ky);var Cy=function(a){a.V.G(D("advertiserChannelThumbnail",a.element),"click",function(){a.g?zr("ectc"):zr("ctc")});a.V.G(D("advertiserHeadline",a.element),"click",function(){a.g?zr("eadc"):zr("adc")});a.V.G(D("advertiserDescription",a.element),"click",function(){a.g?zr("eahc"):zr("ahc")})};Dy.prototype.R=function(){Ve(this.element);this.element=null;ky.prototype.R.call(this)};var Ey=function(){zy.apply(this,arguments)};w(Ey,zy);Ey.prototype.eg=function(){};var Fy=function(a){a=void 0===a?!1:a;Ey.call(this);this.g=new Dy(a);this.l=D("advertiserChannelThumbnail",this.g.element);this.h=D("advertiserDescription",this.g.element);this.i=D("advertiserHeadline",this.g.element)};w(Fy,Ey);Fy.prototype.df=function(a){a&&this.l.setAttribute("src",a)};Fy.prototype.Jh=function(a){a&&this.i&&Xe(this.i,a)};Fy.prototype.eg=function(a){a&&this.h&&Xe(this.h,a)};Fy.prototype.Pd=function(a){Ue(a,this.g.element)};
var Gy=function(a){a.V.G(a.l,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.V.G(a.h,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.V.G(a.i,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")})};var Jy=function(a,b){a=a.wg;return Nx('<div class="'+V("videoAdUiSkipWidgetV2")+'">'+Hy(null,b)+Iy({wg:a},b)+"</div>")},Hy=function(){var a='<div class="'+V("videoAdUiPreSkipContainer")+'"><div class="'+V("videoAdUiPreSkipButton")+'" tabindex="0"><div class="'+V("videoAdUiPreSkipText")+'" aria-label="';a+="Skip Ad Countdown".replace(Tx,Ux);return Nx(a+'"></div></div></div>')},Ky=function(a){a=a||{};return"You can skip this ad in "+a.hi},Iy=function(a){a=a.wg;var b='<div class="'+V("videoAdUiSkipContainer")+
" "+V("html5-stop-propagation")+'"><button class="'+V("videoAdUiSkipButton")+" "+V("videoAdUiAction")+" "+V("videoAdUiRedesignedSkipButton")+'" aria-label="';b+="Skip Ad".replace(Tx,Ux);b+='"><div class="'+V("videoAdUiSkipButtonExperimentalText")+'">'+Ox(a)+'</div><div class="'+V("videoAdUiSkipIcon")+'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><path d="M16 18h2V6h-2M6 18l8.5-6L6 6v12z"/></svg></div></button></div>';
return Nx(b)};var Ly=function(){H.call(this);this.h=0;this.endTime=this.startTime=null};bb(Ly,H);Ly.prototype.kd=function(){return 1==this.h};var My=function(a,b){Array.isArray(b)||(b=[b]);b=jb(b,function(c){return"string"===typeof c?c:c.rj+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});qh(a,"transition",b.join(","))},Ny=xc(function(){if(Zd)return se("10.0");var a=Re("DIV"),b=be?"-webkit":ae?"-moz":Zd?"-ms":Yd?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!ud.test("div"))throw Error("");if("DIV"in wd)throw Error("");c=null;var d="";if(b)for(g in b){if(!ud.test(g))throw Error("");
var e=b[g];if(null!=e){var f=g;if(e instanceof Cc)e=Dc(e);else if("style"==f.toLowerCase()){if(!Ta(e))throw Error("");e instanceof Wc||(e=ad(e));e=Xc(e)}else{if(/^on/i.test(f))throw Error("");if(f.toLowerCase()in vd)if(e instanceof Ic)e=Jc(e).toString();else if(e instanceof Qc)e=Rc(e);else if("string"===typeof e)e=Tc(e).Sb();else throw Error("");}e.oc&&(e=e.Sb());f=f+'="'+Ob(String(e))+'"';d+=" "+f}}var g="<div"+d;d=void 0;null==d?d=[]:Array.isArray(d)||(d=[d]);!0===zc.div?g+=">":(c=zd(d),g+=">"+
rd(c).toString()+"</div>",c=c.g());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Bd(g,c);Ed(a,b);a=a.firstChild;b=a.style[Od("transition")];return""!=("undefined"!==typeof b?b:a.style[ph(a,"transition")]||"")});var Oy=function(a,b,c,d,e){Ly.call(this);this.g=a;this.o=b;this.u=c;this.i=d;this.w=Array.isArray(e)?e:[e]};bb(Oy,Ly);var Py=function(a){a.kd()||(a.dispatchEvent("begin"),a.dispatchEvent("play"),a.startTime=ab(),a.h=1,Ny()?(qh(a.g,a.u),a.l=sg(a.Xl,void 0,a)):a.lh(!1))};h=Oy.prototype;h.Xl=function(){yh(this.g);My(this.g,this.w);qh(this.g,this.i);this.l=sg(Za(this.lh,this,!1),1E3*this.o)};h.stop=function(){this.kd()&&this.lh(!0)};
h.lh=function(a){qh(this.g,"transition","");tg(this.l);qh(this.g,this.i);this.endTime=ab();this.h=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};h.R=function(){this.stop();Oy.uc.R.call(this)};h.pause=function(){};var Qy=function(a,b){return new Oy(a,b,{opacity:0},{opacity:1},{rj:"opacity",duration:b,timing:"ease-out",delay:0})};var Sy=function(a){ky.call(this);this.u=this.o=this.g=this.i=this.w=this.l=this.h=null;Ry(this,a)};w(Sy,ky);
var Ry=function(a,b){a.h=ry(Hy);a.l=D("videoAdUiPreSkipButton",a.h);a.w=D("videoAdUiPreSkipText",a.l);a.g=ry(Iy,{wg:Gb("Skip Ad ")});a.i=D("videoAdUiSkipButton",a.g);K(a.h,!1);b.appendChild(a.h);b.appendChild(a.g);a.V.G(a.i,"click",function(c){c.stopPropagation();a.dispatchEvent("click")})},Ty=function(a){a.l.style.backgroundColor="black";a.i.style.backgroundColor="black"},Uy=function(a){K(a.g,!1);Ah(a.g,0)};Sy.prototype.show=function(){K(this.l,!0);K(this.i,!0)};
Sy.prototype.R=function(){jf(this.o);this.o=null;jf(this.u);this.u=null;this.h&&(Ve(this.h),this.h=null);this.i&&(this.i=null);this.g&&(Ve(this.g),this.g=null);ky.prototype.R.call(this)};var Vy=function(){if(ge){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Sb))?a[1]:"0"}return fe?(a=/10[_.][0-9_.]+/,(a=a.exec(Sb))?a[0].replace(/_/g,"."):"10"):he?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Sb))?a[1]:""):ie||je||ke?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Sb))?a[1].replace(/_/g,"."):""):""}();var Xy=function(a,b){zy.call(this);this.h=b;this.g=new Sy(a);this.i=0==b?3:1;F(this,this.g);Wy(this)};w(Xy,zy);var Wy=function(a){Yy(a);he&&"4.4.4"===Vy&&Ty(a.g);0==a.h?a.dispatchEvent("skipShown"):Uy(a.g);a.V.G(a.g,"click",function(){3==a.i&&a.dispatchEvent("videoSkipClicked")})},Yy=function(a){if(!(0>a.h)){var b=Math.ceil(a.h-0),c=b.toString();60<=b&&(c=gs(b));Xe(a.g.w,Ky({hi:c}))}};Xy.prototype.skip=function(){return 0<=this.h&&3==this.i?(this.dispatchEvent("publisher_invoked_skip"),!0):!1};
Xy.prototype.show=function(){this.g.show()};var Zy=function(a,b,c,d,e){zy.call(this);var f=this;this.i=new uy(a,e);this.u=0;this.w=b;this.g=this.o=null;this.h=new Fy(!0);this.V.G(this.i,"video_card_endcap_action",function(){f.dispatchEvent("video_card_endcap_action")});F(this,this.i);this.h.sa=this;this.h.Pd(this.i.h);Gy(this.h);F(this,this.h);c||(this.o=new Ay,this.o.Pd(this.i.element),F(this,this.o));d||(this.l=new Xy(this.i.element,0),this.l.sa=this,F(this,this.l));0<b&&(this.g=new qg(100),F(this,this.g),this.V.G(this.g,"tick",this.C))};
w(Zy,zy);Zy.prototype.skip=function(){return null!=this.l?(this.dispatchEvent("video_card_endcap_dismiss"),this.l.skip()):!1};Zy.prototype.show=function(){this.i.show();this.u=Date.now();this.g&&this.g.start();this.dispatchEvent("video_card_endcap_impression")};Zy.prototype.C=function(){this.dispatchEvent("timeupdate");(0<this.u?Date.now()-this.u:0)>=this.w&&(K(this.i.element,!1),this.g&&this.g.stop(),this.dispatchEvent("video_card_endcap_collapse"))};Zy.prototype.pause=function(){this.g&&this.g.stop()};var $y=function(a){a=a.Zg;return Nx('<div class="'+V("videoAdUiActionCta")+'"><div class="'+V("videoAdUiActionCtaInset")+'"><div class="'+V("videoAdUiActionCtaIconContainer")+'"><div class="'+V("videoAdUiActionCtaExpandIcon")+'"></div></div><div class="'+V("actionCtaCollapsibleContainer")+'"><div class="'+V("videoAdUiActionCtaTextAndLink")+'"><div class="'+V("videoAdUiActionCtaText")+'"></div><div class="'+V("videoAdUiActionCtaLink")+'"></div></div><div class="'+V("videoAdUiActionCtaRightSide")+'"><div class="'+
V("videoAdUiActionCtaButton")+" "+V("videoAdUiButton")+" "+V("videoAdUiButtonPrimary")+'">'+Ox(a)+"</div></div></div></div></div>")};var bz=function(a){ky.call(this);var b=this;this.element=ry($y,{Zg:a||iy()});a=function(){return b.dispatchEvent("click")};this.g=D("videoAdUiActionCtaInset",this.element);this.l=D("videoAdUiActionCtaText",this.g);az(this,this.l,"fctc",a);this.i=D("videoAdUiActionCtaLink",this.g);az(this,this.i,"fcvuc",a);this.h=D("videoAdUiActionCtaIconContainer",this.g);az(this,this.h,"fctnc",a);az(this,D("videoAdUiActionCtaButton",this.g),"fcabc",function(){return b.dispatchEvent("click")});az(this,D("videoAdUiActionCtaInset",
this.g),"fcbgc",a);this.o=D("actionCtaCollapsibleContainer",this.g);az(this,this.o,"fcbgc",a)};w(bz,ky);var az=function(a,b,c,d){d=void 0===d?null:d;null!=b&&a.V.G(b,"click",function(e){e.stopPropagation();zr(c);d&&(yr(),d())})};bz.prototype.show=function(){K(this.element,!0)};var cz=function(a){Ey.call(this);this.g=new bz(a)};w(cz,Ey);h=cz.prototype;h.Pd=function(a){var b=this;Ue(a,this.g.element);this.V.G(this.g,"click",function(){b.dispatchEvent("ctaClicked")})};h.Jh=function(a){a&&Xe(this.g.l,a)};h.df=function(a){var b=this.g,c=Re("IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);oy(c,"videoAdUiActionIcon");b.h.appendChild(c)};h.eg=function(a){a&&Xe(this.g.i,a)};h.show=function(){this.g.show()};var dz=function(a){gf.call(this);this.u=1;this.l=[];this.o=0;this.g=[];this.h={};this.H=!!a};bb(dz,gf);dz.prototype.subscribe=function(a,b,c){var d=this.h[a];d||(d=this.h[a]=[]);var e=this.u;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.u=e+3;d.push(e);return e};var ez=function(a,b,c,d){if(b=a.h[b]){var e=a.g;(b=ob(b,function(f){return e[f+1]==c&&e[f+2]==d}))&&a.i(b)}};
dz.prototype.i=function(a){var b=this.g[a];if(b){var c=this.h[b];0!=this.o?(this.l.push(a),this.g[a+1]=Na):(c&&rb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
dz.prototype.w=function(a,b){var c=this.h[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.H)for(e=0;e<c.length;e++){var g=c[e];fz(this.g[g+1],this.g[g+2],d)}else{this.o++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.g[g+1].apply(this.g[g+2],d)}finally{if(this.o--,0<this.l.length&&0==this.o)for(;c=this.l.pop();)this.i(c)}}}};var fz=function(a,b,c){Yf(function(){a.apply(b,c)})};
dz.prototype.clear=function(a){if(a){var b=this.h[a];b&&(y(b,this.i,this),delete this.h[a])}else this.g.length=0,this.h={}};dz.prototype.R=function(){dz.uc.R.call(this);this.clear();this.l.length=0};var gz=function(a){gf.call(this);this.g=new dz(a);F(this,this.g)};bb(gz,gf);gz.prototype.subscribe=function(a,b,c){return this.g.subscribe(a.toString(),b,c)};gz.prototype.i=function(a){return this.g.i(a)};var W=function(a,b,c){a.g.w(b.toString(),c)};gz.prototype.clear=function(a){this.g.clear(void 0!==a?a.toString():void 0)};var hz=function(a){this.g=a};hz.prototype.lb=function(){};hz.prototype.destroy=function(){};var iz=function(a){a=void 0===a?null:a;gf.call(this);this.V=new T(this);F(this,this.V);this.g=a};w(iz,gf);var jz=function(a,b,c,d){a.g&&(a.g.subscribe(b,c,d),hf(a,function(){ez(a.g.g,b.toString(),c,d)}))};var kz=function(a,b,c){c=void 0===c?null:c;iz.call(this,b);var d=this;this.i=a;F(this,this.i);(this.h=c)&&this.V.G(this.i,"click",function(){d.h&&W(d.g,d.h,null)})};w(kz,iz);var lz=function(a,b,c,d){iz.call(this,b);var e=this;this.h=a;F(this,this.h);this.V.G(this.h,"click",function(){W(e.g,c,null)});this.g.subscribe(d,this.i,this)};w(lz,iz);lz.prototype.i=function(a){this.h.l(a);this.h.show()};var nz=function(a,b,c,d,e){d=void 0===d?0:d;e=void 0===e?0:e;iz.call(this,b);var f=this;this.h=a;F(this,this.h);this.K=c;this.i=d;this.F=e;this.J=null;this.o=this.u=this.l=this.C=!1;mz(this,this.i);this.g.subscribe(Ex,this.H,this);this.g.subscribe(Bx,this.w,this);this.g.subscribe(Cx,this.M,this);this.V.G(this.h,"click",function(){f.l&&W(f.g,f.K,null)})};w(nz,iz);nz.prototype.H=function(a){!a||0>a.g||0>a.h||(this.l?ez(this.g.g,Ex.toString(),this.H,this):mz(this,this.i-a.g))};
var mz=function(a,b){if(0>=b)oz(a),0<a.i&&!a.o&&(W(a.g,ix,null),a.o=!0);else{var c=a.h;pz(c,!1);Xe(c.g,Math.ceil(b).toString());a.u||(W(a.g,hx,null),a.u=!0)}},oz=function(a){pz(a.h,!0);a.l=!0;W(a.g,gx,null)};nz.prototype.w=function(){var a=this;0<this.F&&!this.J&&(this.J=sg(function(){a.C||(oz(a),W(a.g,jx,null),ez(a.g.g,Bx.toString(),a.w,a))},1E3*this.F))};nz.prototype.M=function(){this.C=!0};var rz=function(a,b,c){iz.call(this,b);var d=this;this.h=a;this.o=c;this.g.subscribe(tx,function(){qz(d,500)});qz(this,2E3)};w(rz,iz);var qz=function(a,b){a.h.Jd(!1);a.V.wa(a.h,"click",a.l);a.i&&clearTimeout(a.i);a.i=setTimeout(function(){a.h.Jd(!0);a.V.G(a.h,"click",a.l)},b)};rz.prototype.l=function(a){a instanceof kf&&null!=a.h&&null!=a.l?a=new mx(a.h,a.l):(1==a.nodeType?a=vh(a):(a=a.changedTouches?a.changedTouches[0]:a,a=new Ae(a.clientX,a.clientY)),a=new mx(a.x,a.y));W(this.g,this.o,a)};var sz=function(a,b){iz.call(this,b);var c=this;this.V.G(a,"click",function(){W(c.g,ax,null)});this.V.G(a,"mouseenter",function(){W(c.g,bx,null)});this.V.G(a,"mouseleave",function(){W(c.g,cx,null)})};w(sz,iz);var uz=function(a,b,c){iz.call(this,b);this.h=a;F(this,this.h);this.F=c;this.H=this.o=!1;this.g.subscribe(fx,this.w,this);this.g.subscribe(tx,this.C,this);this.V.G(this.h,"mouseover",this.J);this.V.G(this.h,"mouseout",this.K);this.h.wj(400);tz(this)};w(uz,iz);var tz=function(a){null==a.i&&(a.i=sg(function(){a.o||(vz(a),a.H=!0);a.i=null},a.H?15E3:45E3,a))};uz.prototype.stop=function(){null!=this.i&&(tg(this.i),this.i=null)};
uz.prototype.J=function(){var a=this;this.show();this.o=!0;this.u=sg(function(){a.o&&a.stop();a.u=null},1E3,this)};uz.prototype.K=function(){null!=this.u&&(tg(this.u),this.u=null);this.o&&tz(this);this.o=!1};uz.prototype.show=function(){this.h.Yi();null!=this.l&&(tg(this.l),this.l=null)};var vz=function(a){a.h.Mi();null==a.l&&(a.l=sg(function(){a.F&&a.h.$e();a.l=null;W(a.g,ox,null)},400,a))};uz.prototype.w=function(){this.h.$e();W(this.g,ox,null)};uz.prototype.C=function(){this.h.show()};var wz=function(a,b,c){gf.call(this);this.h=a;this.u=b||0;this.l=c;this.o=Za(this.i,this)};bb(wz,gf);wz.prototype.g=0;wz.prototype.R=function(){wz.uc.R.call(this);this.stop();delete this.h;delete this.l};wz.prototype.start=function(a){this.stop();this.g=sg(this.o,void 0!==a?a:this.u)};var xz=function(a){a.de()||a.start(void 0)};wz.prototype.stop=function(){this.de()&&tg(this.g);this.g=0};wz.prototype.de=function(){return 0!=this.g};wz.prototype.i=function(){this.g=0;this.h&&this.h.call(this.l)};var Bz=function(a,b,c){c=void 0===c?!1:c;iz.call(this,b);var d=this;this.l=!1;this.h=a;F(this,this.h);this.u=c;yz(this.h,c);this.o=!c;c?zz(this):Az(this);this.i=new wz(function(){return void Az(d)},2E3);this.V.G(this.h,"click",function(){W(d.g,qx,!d.u);d.i.stop();d.l&&xz(d.i)});this.g.subscribe(ax,function(){zz(d);xz(d.i)});ce||(this.g.subscribe(bx,function(){zz(d);d.i.stop();d.l&&xz(d.i)}),this.g.subscribe(cx,function(){if(!d.u||d.l){var e=d.i;e.stop();e.i()}}));this.g.subscribe(Ax,function(e){yz(d.h,
e);(d.u=e)?zz(d):d.l||Az(d);d.l&&xz(d.i)})};w(Bz,iz);var zz=function(a){a.o||(a.o=!0,W(a.g,sx,null),a.h.show())},Az=function(a){a.o&&(a.o=!1,W(a.g,rx,null),a=a.h,a.element&&py(a.element,"fade-in"))},Cz=function(a){a.l=!0;oy(a.h.element,"fullScreen")};var Dz=function(a,b){iz.call(this,b);this.h=a;F(this,this.h);this.g.subscribe(Ex,this.i,this)};w(Dz,iz);Dz.prototype.i=function(a){a&&this.h.h(a.g,a.h,a.adPosition,a.totalAds)};var Fz=function(a,b,c){iz.call(this,b);var d=this;this.h=a;F(this,this.h);Ez(this.h);this.V.G(this.h,"click",function(){W(d.g,tx,null);Ez(d.h)});this.g.subscribe(c,function(){d.h.show()},this)};w(Fz,iz);var Iz=function(a,b,c){iz.call(this,b);var d=this;this.i=c;this.h=a;F(this,this.h);this.l=0==this.i?3:1;Gz(this,0);0==this.i?W(this.g,vx,null):Hz(this.h);this.V.G(this.h,"click",function(){3==d.l&&W(d.g,ux,null)});jz(this,Ex,this.u,this);jz(this,kx,this.o,this)};w(Iz,iz);
Iz.prototype.u=function(a){if(a&&!(0>=a.h||0>this.i||this.i>=a.h||3==this.l)){if(a.g<=this.i){if(2!=this.l){Gz(this,0);var b=this.h;Py(Qy(b.h,.5));K(b.h,!0)}this.l=2}else{var c=this.h;K(c.i,!0);b=new Oy(c.h,.5,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{rj:"opacity",duration:.5,timing:"ease-out",delay:0});c=Qy(c.i,.5);Py(b);Py(c);this.l=3;W(this.g,vx,null)}2==this.l&&Gz(this,a.g)}};
var Gz=function(a,b){if(!(0>a.i)){var c=Math.ceil(a.i-b);b=c.toString();60<=c&&(b=gs(c));a=a.h;b={hi:b};a.u?(b=b||{},Xe(a.o,""+b.hi)):Xe(a.o,Ky(b))}};Iz.prototype.o=function(){var a=this.h;a.g&&a.g.focus()};var Mz=function(a,b,c,d){d=void 0===d?!1:d;iz.call(this,b);var e=this;this.i=a;F(this,this.i);this.h=c;this.u=d;this.l=!1;(a=this.h.H)?(this.i.l(a),this.V.G(this.i,"click",function(){e.i.i&&(W(e.g,wx,e.h),Jz(e))}),0<=this.h.Pa?Kz(this):Lz(this),(0<=this.h.Pa||0<=this.h.Rb)&&this.g.subscribe(Ex,this.o,this)):Kz(this)};w(Mz,iz);Mz.prototype.o=function(a){if(a){var b=0<=this.h.Pa?this.h.Pa:0,c=0<=this.h.Rb?this.h.Rb+b:-1;0<=c&&1E3*a.g>=c?(Kz(this),Nz(this)):1E3*a.g>=b&&(Lz(this),0>c&&Nz(this))}};
var Nz=function(a){ez(a.g.g,Ex.toString(),a.o,a)},Kz=function(a){a.i.i&&(a=a.i,K(a.element,!1),a.i=!1)},Lz=function(a){a.i.i||(a.i.show(),W(a.g,xx,a.h))},Jz=function(a){if(a.u&&!a.l){var b=a.h.u;0<b.length&&(Oz(a.i,b[0]),(b=a.i.h)&&a.V.G(b,"click",function(c){c.stopPropagation();a.l&&(c=a.i,c.g&&(Ve(c.g),c.g=null,c.h=null),a.l=!1)}));a.l=!0}};Mz.prototype.R=function(){Nz(this);iz.prototype.R.call(this)};var Pz=function(){return Nx('<div class="'+V("videoAdUiTitleV2")+" "+V("ellipsisText")+'"></div>')};var Qz=function(a){a=a||{};a=a.$a;return Nx('<div class="'+V("videoAdUiAttributionContainer")+'"><div class="'+V("videoAdUiAttribution")+'">'+Ox(a)+"</div></div>")},Rz=function(a){var b=a.Aj,c=a.adPosition,d=a.totalAds;a="";2<=d&&1<=c?(b="Ad "+(Ox(c)+(" of "+(Ox(d)+(" "+Ox(b))))),a+=b):(b="Ad "+Ox(b),a+=b);return Nx(a)};var Sz=function(){return Nx('<div class="'+V("videoAdUiAuthorNameV2")+" "+V("ellipsisText")+'"></div>')};var Tz=function(a){a=a||{};a=a.So;return Nx('<div class="'+V("videoAdUiAutoCloseContainer")+'"><div class="'+V("videoAdUiAutoClose")+'">'+Ox(a)+"</div></div>")};var Uz=function(a){var b=a.Wk;a=a.Vk;return Nx('<div class="'+V("videoAdUi")+' "><div class="'+V("videoAdUiTopBar")+'">'+(b?'<div class="'+V("videoAdUiTopBarTextContainer")+'"></div>':"")+"</div>"+(a?'<div class="'+V("videoAdUiClickElement")+'"></div>':"")+'<div class="'+V("videoAdUiBottomBar")+'"></div></div>')};var Vz=function(){var a=Nx,b='<div class="'+V("closeButtonContainer")+'"><div class="'+V("closeButtonBackground")+'"> </div><div class="'+V("closeCountdownText")+'"></div><div class="'+V("closeButtonIcon")+'">';var c=Nx('<svg xmlns="http://www.w3.org/2000/svg" width="36px" height="36px" viewBox="0 0 48 48" fill="#FFFFFF"><path d="M38 12.83L35.17 10 24 21.17 12.83 10 10 12.83 21.17 24 10 35.17 12.83 38 24 26.83 35.17 38 38 35.17 26.83 24z"/><path d="M0 0h48v48H0z" fill="none"/></svg>');return a(b+
Ox(c)+"</div></div>")};var Wz=function(){return Nx('<div class="'+V("videoAdUiIconV2")+'"></div>')},Xz=function(a){var b=a.sc,c=a.height,d=a.width;a=a.alt;return Nx('<div class="'+V("videoAdUiIconFallback")+'"><img src="'+V(Yx(b))+'" height="'+V(c)+'" width="'+V(d)+'" alt="'+V(a)+'"></div>')};var Yz=function(a){var b=a.height,c=a.width;a=a.attribution;return Nx('<div class="'+V("overlayContainer")+'"><iframe class="'+V("embeddedOverlayIframe")+'" marginwidth="0" hspace="0" vspace="0" frameborder="0" scrolling="no" height="'+V(b)+'" width="'+V(c)+'"></iframe><div class="'+V("overlayTextAttribution")+'">'+Ox(a)+"</div></div>")},Zz=function(a){var b=a.height,c=a.width;a=a.attribution;return Nx('<div class="'+V("overlayContainer")+'"><div class="'+V("overlayInnerElement")+'" style="height: '+
V($x(b))+"px; width: "+V($x(c))+'px;"></div><div class="'+V("overlayTextAttribution")+'">'+Ox(a)+"</div></div>")},$z=function(a){var b=a.height,c=a.width,d=a.sc;a=a.attribution;return Nx('<div class="'+V("overlayContainer")+'"><img src="'+V(Yx(d))+'" height="'+V(b)+'" width="'+V(c)+'"><div class="'+V("overlayTextAttribution")+'">'+Ox(a)+"</div></div>")},aA=function(a){var b=a.title,c=a.text,d=a.dir,e=a.attribution,f=a.image,g=a.duration;a=a.Ae;return Nx('<div class="'+V("overlayContainer")+" "+V("scalable")+
'"><div class="'+V("overlayTextContainer")+'">'+(f?'<div class="'+V("textImageContainer")+'"><img src="'+V(Yx(f))+'" class="'+V("overlayTextImage")+'"/>'+(g?'<div class="'+V("textImageDuration")+'">'+Ox(g)+"</div>":"")+"</div>":"")+'<div class="'+V("overlayTextTitle")+'" dir='+(Lx(d,Fx)?String(Rx(d.getContent())).replace(dy,Ux):String(d).replace(cy,Ux))+">"+Ox(b)+'</div><div class="'+V("overlayTextDescription")+'" dir='+(Lx(d,Fx)?String(Rx(d.getContent())).replace(dy,Ux):String(d).replace(cy,Ux))+
">"+Ox(c)+"</div>"+(a?'<div class="'+V("overlayTextUrl")+'">'+Ox(a)+"</div>":"")+'<div class="'+V("overlayTextAttribution")+'">'+Ox(e)+"</div></div></div>")};var bA=function(){var a=Nx,b="<div class='"+V("videoAdUiPlayPauseControl")+"'><div class='"+V("videoAdUiPlayIcon")+"'>";var c=Nx('<svg xmlns="http://www.w3.org/2000/svg" width="36px" height="36px" viewBox="0 0 48 48" fill="#FFFFFF"><path d="M-838-2232H562v3600H-838z" fill="none"/><path d="M16 10v28l22-14z"/><path d="M0 0h48v48H0z" fill="none"/></svg>');b=b+Ox(c)+"</div><div class='"+V("videoAdUiPauseIcon")+"'>";c=Nx('<svg xmlns="http://www.w3.org/2000/svg" width="36px" height="36px" viewBox="0 0 48 48" fill="#FFFFFF"><path d="M12 38h8V10h-8v28zm16-28v28h8V10h-8z"/><path d="M0 0h48v48H0z" fill="none"/></svg>');
return a(b+Ox(c)+"</div></div>")};var cA=function(){var a=Nx,b='<div class="'+V("recallButtonContainer")+'"><div class="'+V("recallButtonBackground")+'"><div class="'+V("recallButtonIcon")+'">';var c=Nx('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 48"><path d="M18.59 16.41L20 15l-8-8-8 8 1.41 1.41L12 9.83"/><path fill="none" d="M0 0h24v24H0V0z"/></svg>');return a(b+Ox(c)+"</div></div></div>")};var dA=function(a){var b;a.Uk?b=Nx('<span class="'+V("wtaIconAdBadge")+'"> Ad </span>'):b="";a='<div class="videoAdUiWtaIconContainer">'+b+'<span class="'+V("wtaIcon")+'" title="';a+="Why This Ad?".replace(Tx,Ux);a+='"><svg class="'+V("wtaIconSvg")+'" xmlns="http://www.w3.org/2000/svg" width="18px" height="18px" viewBox="0 0 24 24" fill="#FFFFFF"><path fill="none" d="M0 0h24v24H0z"/><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"/></svg></span></div>';
return Nx(a)};var eA=function(){H.call(this);this.element=null;this.V=new T(this);F(this,this.V)};w(eA,H);var fA=function(a,b){a.element&&b.element&&a.element.appendChild(b.element)};var gA=function(){eA.call(this)};w(gA,eA);var hA=function(a,b){a.element&&Ue(b,a.element)};gA.prototype.Nb=function(){return this.element};var iA=function(){eA.call(this);var a=this;this.element=ry(Pz);K(this.element,!1);this.V.G(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(iA,eA);iA.prototype.l=function(a){Xe(this.element,a)};iA.prototype.show=function(){K(this.element,!0)};var jA=function(a){a=void 0===a?!1:a;eA.call(this);var b=Rz({Aj:"",adPosition:0,totalAds:0});this.element=ry(Qz,{$a:b});this.g=D("videoAdUiAttribution",this.element);this.i=a;this.V.G(this.element,"click",function(c){c.stopPropagation()});K(this.element,!1)};w(jA,eA);jA.prototype.show=function(){K(this.element,!0)};jA.prototype.h=function(a,b,c,d){this.g&&(a=gs(b-a),c=Rz({Aj:": ("+a+")",adPosition:c||0,totalAds:d||0}),this.i&&(c=a),Xe(this.g,c.toString()));this.show()};var kA=function(){eA.call(this);var a=this;this.element=ry(Sz);K(this.element,!1);this.V.G(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(kA,eA);kA.prototype.l=function(a){Xe(this.element,"by "+a)};kA.prototype.show=function(){K(this.element,!0)};var lA=function(){eA.call(this);this.element=ry(Tz);this.g=D("videoAdUiAutoClose",this.element);K(this.element,!1)};w(lA,eA);lA.prototype.h=function(a,b){this.g&&(a=a={Zl:gs(b-a)},a="Ad will close in "+Ox(a.Zl),a=Nx(a),Xe(this.g,a.toString()));K(this.element,!0)};var mA=function(a,b,c,d){d=void 0===d?!1:d;eA.call(this);var e=this;this.u=c;this.i=d;this.element=ry(Uz,{Wk:this.i,Vk:this.i});a&&this.element.classList.add(a);this.i&&this.element.classList.add("videoAdUiInstreamUxRefresh");this.g=D("videoAdUiTopBar",this.element);this.l=D("videoAdUiTopBarTextContainer",this.element);this.o=D("videoAdUiClickElement",this.element);b&&this.g.classList.add(b);this.h=D("videoAdUiBottomBar",this.element);this.V.G(this.element,"touchmove",function(f){f.preventDefault()});
this.V.G(this.element,"click",function(){e.dispatchEvent("click")});this.V.G(this.element,"mouseenter",function(){e.dispatchEvent("mouseenter")});this.V.G(this.element,"mouseleave",function(){e.dispatchEvent("mouseleave")});K(this.g,!1)};w(mA,gA);
var nA=function(a){var b=400>=(parseInt(sh(a.element,"width"),10)||a.element.width);a=a.element;b?oy(a,"videoAdUi-mobile"):py(a,"videoAdUi-mobile")},oA=function(a){a.g&&K(a.g,!0)},pA=function(a,b){a.g&&b.element&&a.g.appendChild(b.element)},qA=function(a,b){a.h&&b.element&&a.h.appendChild(b.element)};mA.prototype.Jd=function(a){qh(this.element,{"pointer-events":a?"auto":"none",cursor:a&&this.u?"pointer":"auto"})};
var rA=function(a,b){b?a.V.G(a.element,"mouseover",function(){oy(a.g,"videoAdUiTopBarTransitions")}):py(a.g,"videoAdUiTopBarTransitions")},sA=function(a,b){a=a.g;b?oy(a,"videoAdUiTopBarCollapsed"):py(a,"videoAdUiTopBarCollapsed")},tA=function(a,b){a=a.h;b?oy(a,"videoAdUiBottomBarCollapsed"):py(a,"videoAdUiBottomBarCollapsed")},uA=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},vA=function(a,b){a.o&&b.element&&a.o.appendChild(b.element)};var wA=function(){eA.call(this);var a=this;this.element=ry(Vz);this.g=D("closeCountdownText",this.element);this.h=D("closeButtonIcon",this.element);this.V.G(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(wA,eA);var pz=function(a,b){K(a.h,b);K(a.g,!b)};var xA=function(a){eA.call(this);var b=this;this.h=this.g=null;this.i=!1;this.element=ry(Wz);switch(a){case "author":oy(this.element,"authorIcon");break;case "vast":oy(this.element,"vastIcon")}K(this.element,!1);this.i=!1;this.o=null;this.V.G(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};w(xA,gA);xA.prototype.l=function(a){this.o||(this.o=Re("IMG"));this.o.setAttribute("src",a);this.o.setAttribute("onerror",'this.style.display="none"');this.element.appendChild(this.o)};
xA.prototype.setSize=function(a,b){qh(this.element,{height:a+"px",width:b+"px"})};var yA=function(a,b,c){qh(a.element,{position:"absolute",overflow:"hidden",left:b,bottom:c})};xA.prototype.show=function(){K(this.element,!0);this.i=!0};var Oz=function(a,b){a.g||(a.g=ry(Xz,{sc:b.i,width:b.h,height:b.g,alt:b.bd}),a.element.appendChild(a.g),b=new wA,a.h=b.element,a.g.appendChild(a.h),pz(b,!0),a.h.focus(),a.V.G(a.g,"focusout",function(c){c.stopPropagation();a.h.focus()}))};var zA=function(){eA.call(this);var a=this;this.element=ry(jy,{uh:iy()});this.g=D("learnMoreButton",this.element);this.V.G(this.g,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(zA,eA);zA.prototype.l=function(a){Xe(this.g,a)};zA.prototype.show=function(){K(this.element,!0)};var AA=function(){eA.call(this);var a=this;this.element=ry(hy,{uh:iy()});this.V.G(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(AA,eA);var CA=function(a,b,c){gf.call(this);this.h=a;this.o=b;this.H=c;this.l=0;this.g={};this.i=new T(this);F(this,this.i);BA(this)};w(CA,gf);
var BA=function(a){y(a.H,function(b){this.i.G(b.element,"mousedown",this.w,!0);this.i.G(b.element,"mouseup",$a(this.F,b),!0)},a);a.i.G(a.o,"mouseenter",a.C)},DA=function(a,b){Wb(a.g,function(c,d){var e=b;for(var f=e.search(Xg),g=0,k,l=[];0<=(k=Wg(e,g,d,f));)l.push(e.substring(g,k)),g=Math.min(e.indexOf("&",k)+1||f,f);l.push(e.substr(g));e=l.join("").replace(Zg,"$1");c=null!=c?"="+encodeURIComponent(String(c)):"";(d+=c)?(c=e.indexOf("#"),0>c&&(c=e.length),f=e.indexOf("?"),0>f||f>c?(f=c,g=""):g=e.substring(f+
1,c),c=[e.substr(0,f),g,e.substr(c)],e=c[1],c[1]=d?e?e+"&"+d:d:e,b=c[0]+(c[1]?"?"+c[1]:"")+c[2]):b=e});return b};CA.prototype.w=function(){this.u=ab()};
CA.prototype.F=function(a,b){var c=a.element;1==(this.h&1)&&(0==this.l&&this.l++,this.g.nm=this.l);2==(this.h&2)&&(this.g.nb=a.yf);8==(this.h&8)&&(a=uh(this.o),this.g.nx=Math.round(b.clientX-a.x),this.g.ny=Math.round(b.clientY-a.y));16==(this.h&16)&&null!=this.u&&(b=ab()-this.u,this.g.clkt=b);512==(this.h&512)&&(b=wj())&&(this.g.mb=b);"A"==c.tagName.toUpperCase()&&(b=DA(this,c.href),b=b instanceof Qc?b:Uc(b),c.href=Rc(b))};CA.prototype.C=function(){this.l++};var EA={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0,
"* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0,
"* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},FA={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,
"* CLASS":!0,"* ID":!0,"* STYLE":!0};var GA={};
function HA(a){if(Zd&&!se(9))return[0,0,0,0];var b=GA.hasOwnProperty(a)?GA[a]:null;if(b)return b;65536<Object.keys(GA).length&&(GA={});var c=[0,0,0,0];b=IA(a,/\\[0-9A-Fa-f]{6}\s?/g);b=IA(b,/\\[0-9A-Fa-f]{1,5}\s/g);b=IA(b,/\\./g);b=b.replace(/:not\(([^\)]*)\)/g,"     $1 ");b=b.replace(/{[^]*/gm,"");b=JA(b,c,/(\[[^\]]+\])/g,2);b=JA(b,c,/(#[^\#\s\+>~\.\[:]+)/g,1);b=JA(b,c,/(\.[^\s\+>~\.\[:]+)/g,2);b=JA(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);b=JA(b,c,/(:[\w-]+\([^\)]*\))/gi,2);
b=JA(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");JA(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return GA[a]=b}function JA(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function IA(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};var KA={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},LA=/[\n\f\r"'()*<>]/g,MA={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29",
"*":"%2a","<":"%3c",">":"%3e"};function NA(a){return MA[a]}
var OA=function(a,b,c){b=Gb(b);if(""==b)return null;if(Fb(b,"url(")){if(!b.endsWith(")")||1<(b?b.split("(").length-1:0)||1<(b?b.split(")").length-1:0)||!c)a=null;else{a:{b=b.substring(4,b.length-1);for(var d=0;2>d;d++){var e="\"'".charAt(d);if(b.charAt(0)==e&&b.charAt(b.length-1)==e){b=b.substring(1,b.length-1);break a}}}a=c?(a=c(b,a))&&"about:invalid#zClosurez"!=Rc(a)?'url("'+Rc(a).replace(LA,NA)+'")':null:null}return a}if(0<b.indexOf("(")){if(/"|'/.test(b))return null;for(a=/([\-\w]+)\(/g;c=a.exec(b);)if(!(c[1].toLowerCase()in
KA))return null}return b};function PA(a,b){a=x[a];return a&&a.prototype?(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null}function QA(a,b){return(a=x[a])&&a.prototype&&a.prototype[b]||null}
var RA=PA("Element","attributes")||PA("Node","attributes"),SA=QA("Element","hasAttribute"),TA=QA("Element","getAttribute"),UA=QA("Element","setAttribute"),VA=QA("Element","removeAttribute"),WA=QA("Element","getElementsByTagName"),XA=QA("Element","matches")||QA("Element","msMatchesSelector"),YA=PA("Node","nodeName"),ZA=PA("Node","nodeType"),$A=PA("Node","parentNode"),aB=PA("HTMLElement","style")||PA("Element","style"),bB=PA("HTMLStyleElement","sheet"),cB=QA("CSSStyleDeclaration","getPropertyValue"),
dB=QA("CSSStyleDeclaration","setProperty");function eB(a,b,c,d){if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return a}function fB(a,b,c,d){if(a)return a.apply(b,d);if(Zd&&10>document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}function gB(a){return eB(RA,a,"attributes",function(b){return b instanceof NamedNodeMap})}
function hB(a,b,c){try{fB(UA,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}function iB(a){return eB(aB,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function jB(a){return eB(bB,a,"sheet",function(b){return b instanceof CSSStyleSheet})}function kB(a){return eB(YA,a,"nodeName",function(b){return"string"==typeof b})}function lB(a){return eB(ZA,a,"nodeType",function(b){return"number"==typeof b})}
function mB(a){return eB($A,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}function nB(a,b){return fB(cB,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}function oB(a,b,c){fB(dB,a,a.setProperty?"setProperty":"setAttribute",[b,c])};var pB=Zd&&10>document.documentMode?null:/\s*([^\s'",]+[^'",]*(('([^'\r\n\f\\]|\\[^])*')|("([^"\r\n\f\\]|\\[^])*")|[^'",])*)/g,qB={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0},tB=function(a,b,c){var d=[];a=rB(ub(a.cssRules));y(a,function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&Zd&&10==document.documentMode&&/\\['"]/.test(e.selectorText))){var f=b?e.selectorText.replace(pB,"#"+b+" $1"):e.selectorText;d.push(ld(f,sB(e.style,c)))}});
return nd(d)},rB=function(a){return ib(a,function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})},vB=function(a,b,c){a=uB("<style>"+a+"</style>");return null==a||null==a.sheet?od:tB(a.sheet,void 0!=b?b:null,c)},uB=function(a){if(Zd&&!se(10)||"function"!=typeof x.DOMParser)return null;a=Bd("<html><head></head><body>"+a+"</body></html>",null);return(new DOMParser).parseFromString(rd(a),"text/html").body.children[0]},sB=function(a,b){if(!a)return Zc;var c=document.createElement("div").style,
d=wB(a);y(d,function(e){var f=be&&e in qB?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Db(f,"--")||Db(f,"var")||(e=nB(a,e),e=OA(f,e,b),null!=e&&oB(c,f,e))});return Yc(c.cssText||"")},yB=function(a){var b=Array.from(fB(WA,a,"getElementsByTagName",["STYLE"])),c=Bb(b,function(e){return ub(jB(e).cssRules)});c=rB(c);c.sort(function(e,f){e=HA(e.selectorText);a:{f=HA(f.selectorText);for(var g=yb,k=Math.min(e.length,f.length),l=0;l<k;l++){var m=g(e[l],f[l]);if(0!=m){e=
m;break a}}e=yb(e.length,f.length)}return-e});a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,null,!1);for(var d;d=a.nextNode();)y(c,function(e){fB(XA,d,d.matches?"matches":"msMatchesSelector",[e.selectorText])&&e.style&&xB(d,e.style)});y(b,Ve)},xB=function(a,b){var c=wB(a.style),d=wB(b);y(d,function(e){if(!(0<=c.indexOf(e))){var f=nB(b,e);oB(a.style,e,f)}})},wB=function(a){Ra(a)?a=ub(a):(a=bc(a),rb(a,"cssText"));return a};var zB="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),AB=0,BB=function(){this.i=[];this.h=[];this.g="data-elementweakmap-index-"+AB++};BB.prototype.set=function(a,b){if(fB(SA,a,"hasAttribute",[this.g])){var c=parseInt(fB(TA,a,"getAttribute",[this.g])||null,10);this.h[c]=b}else c=this.h.push(b)-1,hB(a,this.g,c.toString()),this.i.push(a);return this};
BB.prototype.get=function(a){if(fB(SA,a,"hasAttribute",[this.g]))return a=parseInt(fB(TA,a,"getAttribute",[this.g])||null,10),this.h[a]};BB.prototype.clear=function(){this.i.forEach(function(a){fB(VA,a,"removeAttribute",[this.g])},this);this.i=[];this.h=[]};var CB=!Zd||10<=Number(ve),DB=!Zd||null==document.documentMode,EB=function(){};var FB={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var GB={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0,
NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var HB={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0},LB=function(a){a=a||new IB;JB(a);this.g=kc(a.g);this.o=kc(a.J);this.i=kc(a.ca);this.w=a.C;y(a.H,function(b){if(!Db(b,"data-"))throw new eb('Only "data-" attributes allowed, got: %s.',[b]);if(Db(b,"data-sanitizer-"))throw new eb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.g["* "+b.toUpperCase()]=KB},
this);y(a.u,function(b){b=b.toUpperCase();if(-1==b.indexOf("-")||HB[b])throw new eb("Only valid custom element tag names allowed, got: %s.",[b]);this.i[b]=!0},this);this.H=a.i;this.l=a.F;this.h=null;this.u=a.w};bb(LB,EB);
var MB=function(a){return function(b,c){return(b=a(Gb(b),c))&&"about:invalid#zClosurez"!=Rc(b)?Rc(b):null}},IB=function(){this.g={};y([EA,FA],function(a){y(bc(a),function(b){this.g[b]=KB},this)},this);this.h={};this.H=[];this.u=[];this.J=kc(FB);this.ca=kc(GB);this.C=!1;this.na=Tc;this.M=this.o=this.K=this.i=wc;this.F=null;this.l=this.w=!1},NB=function(a,b){return function(c,d,e,f){c=a(c,d,e,f);return null==c?null:b(c,d,e,f)}},OB=function(a,b,c,d){a[c]&&!b[c]&&(a[c]=NB(a[c],d))},JB=function(a){if(a.l)throw Error("HtmlSanitizer.Builder.build() can only be used once.");
OB(a.g,a.h,"* USEMAP",PB);var b=MB(a.na);y(["* ACTION","* CITE","* HREF"],function(d){OB(this.g,this.h,d,b)},a);var c=MB(a.i);y(["* LONGDESC","* SRC","LINK HREF"],function(d){OB(this.g,this.h,d,c)},a);y(["* FOR","* HEADERS","* NAME"],function(d){OB(this.g,this.h,d,$a(QB,this.K))},a);OB(a.g,a.h,"A TARGET",$a(RB,["_blank","_self"]));OB(a.g,a.h,"* CLASS",$a(SB,a.o));OB(a.g,a.h,"* ID",$a(TB,a.o));OB(a.g,a.h,"* STYLE",$a(a.M,c));a.l=!0},UB=function(a,b){a||(a="*");return(a+" "+b).toUpperCase()},KB=function(a){return Gb(a)},
RB=function(a,b){b=Gb(b);return qb(a,b.toLowerCase())?b:null},PB=function(a){return(a=Gb(a))&&"#"==a.charAt(0)?a:null},QB=function(a,b,c){return a(Gb(b),c)},SB=function(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e<b.length;e++){var f=a(b[e],c);f&&d.push(f)}return 0==d.length?null:d.join(" ")},TB=function(a,b,c){return a(Gb(b),c)},VB=function(a,b){var c=b.data;(b=mB(b))&&"style"==kB(b).toLowerCase()&&!("STYLE"in a.o)&&"STYLE"in a.i&&(c=md(vB(c,a.h,Za(function(d,e){return this.H(d,{Uo:e})},a))));
return document.createTextNode(c)},WB=function(a){var b=new IB;b=new LB(b);var c=!("STYLE"in b.o)&&"STYLE"in b.i;c="*"==b.l&&c?"sanitizer-"+(Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^ab()).toString(36)):b.l;b.h=c;if(CB){c=a;if(CB){a=Re("SPAN");b.h&&"*"==b.l&&(a.id=b.h);b.u&&(c=uB("<div>"+c+"</div>"),yB(c),c=c.innerHTML);c=Bd(c,null);var d=document.createElement("template");if(DB&&"content"in d)Ed(d,c),d=d.content;else{var e=document.implementation.createHTMLDocument("x");
d=e.body;Ed(e.body,c)}c=document.createTreeWalker(d,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(d=zB?new WeakMap:new BB;e=c.nextNode();){c:{var f=b;var g=e;switch(lB(g)){case 3:f=VB(f,g);break c;case 1:if("TEMPLATE"==kB(g).toUpperCase())f=null;else{var k=kB(g).toUpperCase();if(k in f.o)var l=null;else f.i[k]?l=document.createElement(k):(l=Re("SPAN"),f.w&&hB(l,"data-sanitizer-original-tag",k.toLowerCase()));if(l){var m=l,n=gB(g);if(null!=n)for(var q=0;k=n[q];q++)if(k.specified){var v=
f;var t=g,A=k,r=A.name;if(Db(r,"data-sanitizer-"))v=null;else{var L=kB(t);A=A.value;var J={tagName:Gb(L).toLowerCase(),attributeName:Gb(r).toLowerCase()},I={Gk:void 0};"style"==J.attributeName&&(I.Gk=iB(t));t=UB(L,r);t in v.g?(v=v.g[t],v=v(A,J,I)):(r=UB(null,r),r in v.g?(v=v.g[r],v=v(A,J,I)):v=null)}null!==v&&hB(m,k.name,v)}f=l}else f=null}break c;default:f=null}}if(f){if(1==lB(f)&&d.set(e,f),e=mB(e),g=!1,e)k=lB(e),l=kB(e).toLowerCase(),m=mB(e),11!=k||m?"body"==l&&m&&(k=mB(m))&&!mB(k)&&(g=!0):g=!0,
k=null,g||!e?k=a:1==lB(e)&&(k=d.get(e)),k.content&&(k=k.content),k.appendChild(f)}else Te(e)}d.clear&&d.clear();b=a}else b=Re("SPAN");0<gB(b).length&&(a=Re("SPAN"),a.appendChild(b),b=a);b=(new XMLSerializer).serializeToString(b);b=b.slice(b.indexOf(">")+1,b.lastIndexOf("</"))}else b="";return Bd(b,null)};var XB=function(a,b,c){eA.call(this);var d=this,e=[];switch(b){case "embedded":this.element=ry(Yz,a);D("embeddedOverlayIframe",this.element).setAttribute("src",a.sc||"");break;case "html":this.element=ry(Zz,a);Fd(D("overlayInnerElement",this.element),WB(a.sc||""));break;case "image":this.element=ry($z,a);break;case "text":this.element=ry(aA,a);a=D("textImageContainer",this.element);null!=a&&e.push({element:a,yf:9});a=D("overlayTextTitle",this.element);null!=a&&e.push({element:a,yf:0});a=D("overlayTextUrl",
this.element);null!=a&&e.push({element:a,yf:1});break;default:this.element=Ne("DIV","overlayContainer")}e.push({element:this.element,yf:2});this.g=new CA(c,this.element,e);this.V.G(this.element,"click",function(f){d.dispatchEvent(f)});this.V.G(this.element,"mouseover",function(){d.dispatchEvent("mouseover")});this.V.G(this.element,"mouseout",function(){d.dispatchEvent("mouseout")})};w(XB,eA);h=XB.prototype;h.Jd=function(a){var b=this.element;a?oy(b,"clickable"):py(b,"clickable")};
h.wj=function(a){My(this.element,"opacity "+a/1E3+"s")};h.show=function(){K(this.element,!0)};h.$e=function(){K(this.element,!1)};h.Yi=function(){Ah(this.element,1)};h.Mi=function(){Ah(this.element,.3)};h.Nb=function(){return this.element};var YB=function(a){return D("overlayTextAttribution",a.element)};var ZB=function(){eA.call(this);var a=this;this.element=ry(bA);this.h=D("videoAdUiPlayIcon",this.element);this.g=D("videoAdUiPauseIcon",this.element);this.V.G(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")});yz(this,!1)};w(ZB,eA);var yz=function(a,b){K(a.h,b);K(a.g,!b)};ZB.prototype.show=function(){this.element&&oy(this.element,"fade-in")};var $B=function(){eA.call(this);var a=this;this.element=ry(cA);this.g=!0;this.V.G(this.element,"click",function(b){a.g&&(b.stopPropagation(),a.dispatchEvent("click"))})};w($B,eA);$B.prototype.show=function(){K(this.element,!0);this.g=!0};var Ez=function(a){K(a.element,!1);a.g=!1};var aC=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;eA.call(this);var c=this;this.element=ry(Jy,{wg:Gb("Skip Ad ")});a&&oy(this.element,"noTextSkipButton");b&&oy(this.element,"raisedSkipButton");this.u=a;this.h=D("videoAdUiPreSkipContainer",this.element);this.l=D("videoAdUiPreSkipButton",this.element);this.o=D("videoAdUiPreSkipText",this.element);this.i=D("videoAdUiSkipContainer",this.element);this.g=D("videoAdUiSkipButton",this.element);K(this.h,!1);this.V.G(this.g,"click",function(d){d.stopPropagation();
c.dispatchEvent("click")});this.V.G(this.l,"click",function(d){d.stopPropagation()});he&&"4.4.4"===Vy&&(this.l.style.backgroundColor="black",this.g.style.backgroundColor="black")};w(aC,eA);var Hz=function(a){K(a.i,!1);Ah(a.i,0)};var bC=function(){eA.call(this);var a=this;this.element=ry(dA,{Uk:!1});this.V.G(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(bC,eA);var cC=[new Be(200,200),new Be(250,250),new Be(300,250),new Be(336,280),new Be(450,50),new Be(468,60),new Be(480,70),new Be(728,90)];function dC(a,b,c,d){a&&(c=Math.min(c,90));var e=[];cC.forEach(function(f){var g=b-15>=f.width&&c-65>=f.height,k=!d&&!g&&90>=f.height&&b>=f.width&&c>=f.height;(g||k)&&e.push(f.width+"x"+f.height)});return e.join(",")}function eC(a){var b=(new O(a.g)).g.get("overlay");return dC(is(b),a.l||0,a.i||0,a.u||!1)}
function fC(a){return"flash"===a||"image"===a||"staticimage"===a}function gC(a){var b=[];a.forEach(function(c){"video"===c?b.push("standardvideo"):"skippablevideo"!=c&&b.push(c)});return b}function hC(a){a=iC(a,"ad_type");return z(a)?["video"]:a.split("_")}function jC(a){a=iC(a,"client");return Db(a,"ca-games-")?"4":Db(a,"ca-video-")?"0":"-1"}function kC(a){var b=a.C||0,c=a.w||0,d=a.l||0,e=a.i||0;a=new O(a.g);b=Math.max(b,d)+"x"+Math.max(c,e);c=iC(a,"sz");return z(c)||"0x0"!==b?b:c}
function lC(a){a=iC(a,"channel");return Array.from(new Set(a.split(/[+, ]/))).slice(0,30).join("+")}function mC(a){a=iC(a,"adsafe");return ec(ks,a)?a:"high"}function nC(a){a=iC(a,"videoad_start_delay");return z(a)?"1":a}function iC(a,b,c){c=void 0===c?"":c;a=a.g;var d=c;Hq(a,b)&&(d=a.get(b));return z(d)?c:d};var oC={Sm:"SIMID:Creative:clickThru",hn:"SIMID:Creative:fatalError",mn:"SIMID:Creative:getMediaState",Wn:"SIMID:Creative:reportTracking",Xn:"SIMID:Creative:requestChangeAdDuration",Yn:"SIMID:Creative:requestChangeVolume",Zn:"SIMID:Creative:requestExitFullscreen",$n:"SIMID:Creative:requestFullscreen",ao:"SIMID:Creative:requestPause",bo:"SIMID:Creative:requestPlay",co:"SIMID:Creative:requestResize",eo:"SIMID:Creative:requestSkip",fo:"SIMID:Creative:requestStop"};function pC(a){return"object"!=typeof a?!1:Number.isInteger(a.width)&&Number.isInteger(a.height)&&Number.isInteger(a.x)&&Number.isInteger(a.y)};var qC=function(a){a=void 0===a?{}:a;this.Ma=a.Ma;this.zf=a.zf;this.Vg=a.Vg;this.Ug=a.Ug;this.Wg=a.Wg;this.Xg=a.Xg;this.code=a.code;this.duration=a.duration;this.currentTime=a.currentTime;this.ed=a.ed;this.muted=a.muted;this.qe=a.qe;this.re=a.re;this.yg=a.yg;this.fi=a.fi;this.version=a.version;this.videoHeight=a.videoHeight;this.videoWidth=a.videoWidth;this.Dg=a.Dg;this.Eg=a.Eg;this.volume=a.volume};function rC(a){a=a.trackingUrls;return a instanceof Array?a.every(function(b){return"string"==typeof b}):!1}var sC=function(){};
sC.prototype.oa=function(a,b){var c={};switch(a){case "SIMID:Player:init":a={};a=(a.adParameters=b.Ma,a.clickThruUrl=b.zf,a);var d={},e={},f={};b=(f.videoDimensions=(d.height=b.videoHeight,d.width=b.videoWidth,d.x=0,d.y=0,d),f.creativeDimensions=(e.height=b.videoHeight,e.width=b.videoWidth,e.x=0,e.y=0,e),f.fullscreen=b.ed,f.fullscreenAllowed=!0,f.variableDurationAllowed=!0,f.skippableState="adHandles",f.version="1.0",f.muted=b.muted,f.volume=b.volume,f);c.environmentData=b;c.creativeData=a;break;
case "SIMID:Media:timeupdate":c.currentTime=b.currentTime;break;case "SIMID:Media:volumechange":c.volume=b.volume;break;case "SIMID:Media:durationchange":c.duration=b.duration;break;case "SIMID:Player:adStopped":c.code=b.code}return c};var tC=function(a,b,c,d){this.type=a;this.g=d;this.messageId=b;this.h=c};var uC=function(a,b,c){G.call(this,a.type);this.resolve=b;this.reject=c;this.pd=a.g};w(uC,G);var vC=function(){var a=this;this.g=new Promise(function(b,c){a.resolve=b;a.reject=c})};var wC=function(a,b,c){H.call(this);this.i=new vC;this.w=c;this.F=a;this.h="";this.C=1;this.l=window;this.u=b;this.o=new T(this);F(this,this.o);this.g=new Map};w(wC,H);
var AC=function(a){a.o.G(window,"message",function(b){b=b.Hb;if(b.origin==a.u||"*"==a.u){a:if(b.data){var c={};try{c=JSON.parse(b.data)}catch(g){b=null;break a}b="object"!=typeof c?null:c}else b=null;var d=b;if(null!=d&&(b=d.type,c=d.sessionId,c==a.h||"createSession"==b)){var e=d.messageId;if(null!=e){d=d.args;if("resolve"==b||"reject"==b){var f=d.messageId;d=null==f?null:new qC({re:f,qe:d.value})}else b:{switch(b){case "SIMID:Creative:reportTracking":d=rC(d)?new qC({yg:d.trackingUrls}):null;break b;
case "SIMID:Creative:requestResize":d=pC(d.videoDimensions)&&pC(d.creativeDimensions)&&"boolean"==typeof d.fullscreen?new qC({Dg:d.videoDimensions.x,Eg:d.videoDimensions.y,videoWidth:d.videoDimensions.width,videoHeight:d.videoDimensions.height,Wg:d.creativeDimensions.x,Xg:d.creativeDimensions.y,Vg:d.creativeDimensions.width,Ug:d.creativeDimensions.height,ed:d.fullscreen}):null;break b}d=new qC}if(d)switch(b=new tC(b,e,c,d),b.type){case "resolve":case "reject":if(c=b.g.re)e=b.g.qe||{},a.g.has(c)&&
(d=a.g.get(c),"resolve"==b.type?d.resolve(e):"reject"==b.type&&d.reject(e),a.g.delete(c));break;case "createSession":a.h=b.h;xC(a,b.messageId);a.i.resolve();break;default:yC(a,b)}else zC(a,e,{errorCode:1211,message:"Invalid message arguments."})}}}})};
wC.prototype.sendMessage=function(a,b){b=void 0===b?new qC:b;var c=this.C++,d={};d.type=a;d.sessionId=this.h;d.messageId=c;d.timestamp=Date.now();if("resolve"==a||"reject"==a){var e={};b=(e.messageId=b.re,e.value=b.qe,e)}else b=this.F.oa(a,b);d.args=b;this.l.postMessage(JSON.stringify(d),"*");return this.w.includes(a)?(a=new vC,this.g.set(c,a),a.g):Promise.resolve({})};
var yC=function(a,b){a.dispatchEvent(new uC(b,function(c){c=void 0===c?{}:c;xC(a,b.messageId,c)},function(c){c=void 0===c?{}:c;zC(a,b.messageId,c)}))},xC=function(a,b,c){c=void 0===c?{}:c;a.sendMessage("resolve",new qC({re:b,qe:c}))},zC=function(a,b,c){a.sendMessage("reject",new qC({re:b,qe:c}))};var BC="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),CC=function(a){H.call(this);a=new O(a);this.g=new wC(new sC,a.l+"://"+a.h,BC)};w(CC,H);var DC=function(a){AC(a.g);Object.values(oC).forEach(function(b){a.g.G(b,function(c){return a.dispatchEvent(c)})})},EC=function(a){return a.g.sendMessage("SIMID:Player:startCreative")};var FC=function(a){a=Tc(a);var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((jl()?"99":"100")+"%; height:100%; position: absolute;display:none");a=Ne("IFRAME",{src:Rc(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});jl()&&(a.style.width="99%");a&&a.sandbox&&(b=Gi(a),b["allow-top-navigation-by-user-activation"]&&b["allow-popups-to-escape-sandbox"]&&(a.sandbox.value=Fi().join(" ")));return a};var GC=function(a,b,c,d){gf.call(this);this.h=a;this.i=b;this.l=FC(c);this.o=d;this.g=null};w(GC,gf);
var JC=function(a){a.g||(a.g=new vC,a.o.appendChild(a.l),hf(a,function(){Ve(a.l)}),DC(a.h),a.h.g.l=a.l.contentWindow,a.h.g.i.g.then(function(){var b=yh(a.i.ba.Na());b={Ma:HC(a.i.g),zf:IC(a.i.g),ed:!1,muted:a.i.isMuted(),fi:!1,videoWidth:b.width,videoHeight:b.height,volume:a.i.getVolume()};a.h.g.sendMessage("SIMID:Player:init",new qC(b)).then(a.g.resolve).catch(a.g.reject);return a.g.g}))},KC=function(a){a.g||JC(a);return a.g.g.then(function(){a.l.style.display="block";return EC(a.h)})};var LC={TRUEVIEW:"trueview",BUMPER:"bumper",NONSKIPPABLE:"nonskippable",UAC_ANDROID_ON_3P_INSTREAM:"uac-android-on-3p-instream",UAC_IOS_ON_3P_INSTREAM:"uac-ios-on-3p-instream",RDA_ON_3P_INSTREAM:"rda-on-3p-instream"};function MC(a){if(!a)return!1;if(a=NC(a)){if("TRUEVIEW"==a.g)return!0;if(a.g)return!1;zr("ytu_nf");return a.ld()}return!1}function OC(a){return a?(a=NC(a))?a.h.id:null:null}function PC(a){return(a=(a=NC(a))?a.g:null)?LC[a]||null:null}function NC(a){return a.Aa.get(nt)};var QC=function(a,b){b=void 0===b?"web_gvp_ads":b;H.call(this);this.W=b;this.K=this.J=!1;this.h=-1;this.l=new T(this);F(this,this.l);this.F=!1;this.M=0;this.C=null;this.N=!1;this.g=null;this.T=this.u=!1;this.aa=a};w(QC,H);
var RC=function(a){a.K=!0;a.F=!1;a.l&&Nu(a.l)},SC=function(a,b,c){a.o=b;a.i=c;a.w=OC(a.o);!a.K&&a.w&&MC(a.o)&&wt(a.o)&&(b=a.o.i,null!=b&&(a.X=b,a.F=!0,Ar("vss_tr"),a.l.G(a.i,"timeUpdate",a.ea),a.l.G(a.i,"end",a.ia),a.g=10))},VC=function(a,b){b.ns="yt";var c=fr().sort().join(",");z(c)||(b.fexp=c);b.el="adunit";b.cpn=a.X;a.w&&(b.docid=a.w);b.ver="2";b.cmt=TC(UC(a));b.fmt="18";null!=a.C&&(b.rt=TC(Math.floor((ab()-a.C)/1E3)));b.adformat="2_2_1";c=Le();var d=document;c=new O(c.parent==c?c.location.href:
d.referrer);b.euri=c.toString().substr(0,128);b.len=TC(a.h);b.vtype="gvp";b.c=a.W;b.cver="h.0.0.0";b.cbr=qc()?"Chrome":B("Edge")?"Edge":oc()?"IE":pc()?"Firefox":nc()?"Opera":rc()?"Safari":!B("iPad")&&!B("iPhone")||rc()||qc()||B("Coast")||pc()||!B("AppleWebKit")?sc()?"Android":"Unknown":"IOS";b.cbrver=uc();b.cos=de;b.cosver=re;b.cplatform=ce?"mobile":"desktop"},XC=function(a,b){b.mos=a.N?"1":"0";b.volume=Math.round(100*a.i.getVolume()).toString();b.delay=WC(a).toString()},UC=function(a){return a.i.getCurrentTime()?
a.i.getCurrentTime():a.h||0},WC=function(a){var b=28;a.h<b+2&&(b=Math.round(a.h-2));return b},ZC=function(a,b){if(a.F){var c={};c.etype=b.toString();VC(a,c);YC(a,"//s.youtube.com/api/stats/engage",c)}},$C=function(a,b){var c=UC(a),d={};d.rti=a.g.toString();d.st=TC(a.M);d.et=TC(c);a.M=c;b?a.T||(d["final"]="1",VC(a,d),YC(a,"//s.youtube.com/api/stats/watchtime",d),a.T=!0):(10==a.g?a.g=20:20==a.g?a.g=30:a.g+=40,d.rtn=a.g>a.h?TC(a.h):TC(a.g),VC(a,d),YC(a,"//s.youtube.com/api/stats/watchtime",d))},YC=function(a,
b,c){b=new O(b);for(var d in c)Bq(b,d,c[d]);a.aa.g(b.toString())};
QC.prototype.ea=function(){if(!this.u&&0<UC(this)){var a={};this.N=0==this.i.getVolume();this.h=this.i.getDuration();this.C=ab();VC(this,a);XC(this,a);a.rtn=this.g.toString();YC(this,"//s.youtube.com/api/stats/playback",a);Ar("vss_pp");this.u=!0}this.u&&!this.J&&UC(this)>=WC(this)?(a={},VC(this,a),XC(this,a),YC(this,"//s.youtube.com/api/stats/delayplay",a),Ar("vss_dp"),this.J=!0):this.u&&null!=this.g&&UC(this)>=this.g&&$C(this,UC(this)>=this.h)};QC.prototype.ia=function(){$C(this,!0);RC(this)};
function TC(a){return a.toFixed(3).toString()};var aD={TYPE_EXTERNAL:0,TYPE_SITELINK:1};var bD=function(a){a=void 0===a?{}:a;var b=void 0===a.target?null:a.target,c=void 0===a.title?null:a.title;this.type=a.type;this.target=b;this.title=c};var cD=function(a){a=void 0===a?{}:a;var b=void 0===a.ah?null:a.ah,c=void 0===a.bh?null:a.bh;this.vh=void 0===a.vh?null:a.vh;this.ah=b;this.bh=c};var dD=function(a){a=void 0===a?{}:a;this.bi=void 0===a.bi?[]:a.bi};var eD={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var fD=function(a){a=void 0===a?{}:a;var b=void 0===a.ug?!1:a.ug,c=void 0===a.Ef?5E3:a.Ef;this.tg=void 0===a.tg?!1:a.tg;this.ug=b;this.Ef=c};var gD=function(a){a=void 0===a?{}:a;var b=void 0===a.Oe?null:a.Oe,c=void 0===a.Ib?null:a.Ib,d=void 0===a.eh?null:a.eh;this.description=void 0===a.description?null:a.description;this.Oe=b;this.Ib=c;this.eh=d};var hD=function(a){a=void 0===a?{}:a;var b=void 0===a.priority?-1:a.priority,c=void 0===a.ga?[]:a.ga,d=void 0===a.actions?[]:a.actions,e=void 0===a.qd?null:a.qd,f=void 0===a.Fg?null:a.Fg;this.type=a.type;this.priority=b;this.ga=c;this.actions=d;this.qd=e;this.Fg=f};var iD=function(a){a=void 0===a?{}:a;this.Ge=void 0===a.Ge?[]:a.Ge};var jD=function(a){this.duration=a};var kD=function(){var a={},b=void 0===a.wc?"http://www.google.com/adsense/support":a.wc,c=void 0===a.sf?!1:a.sf,d=void 0===a.vg?0:a.vg;this.$a=void 0===a.$a?"":a.$a;this.wc=b;this.sf=c;this.vg=d};var lD=function(a,b){var c=void 0===b?{}:b;b=void 0===c.$a?null:c.$a;var d=void 0===c.wc?null:c.wc,e=void 0===c.Cf?null:c.Cf,f=void 0===c.th?!1:c.th,g=void 0===c.gg?[]:c.gg,k=void 0===c.ue?!1:c.ue,l=void 0===c.zg?null:c.zg,m=void 0===c.Ae?null:c.Ae;c=void 0===c.Gg?null:c.Gg;Vt.call(this,a);this.$a=b;this.wc=d;this.Cf=e;this.th=f;this.gg=g;this.ue=k;this.zg=l;this.Ae=m;this.Gg=c};w(lD,Vt);var mD=function(a){this.Ob=a=void 0===a?[]:a};var nD=function(a,b,c,d){this.value=a;this.expires=b;this.path=c;this.domain=d};var oD=function(a,b,c){this.g=a;this.h=b;this.i=c};var pD=function(a,b){this.g=void 0===a?null:a;this.h=void 0===b?null:b};var qD=function(a){this.pb=a};var rD=function(a){this.g=a};var sD=function(a,b,c,d){this.i=a;this.h=b;this.l=c;this.g=d};var tD=function(a){var b=void 0===a.Pf?null:a.Pf,c=void 0===a.Qf?null:a.Qf,d=void 0===a.Ib?null:a.Ib,e=void 0===a.imageWidth?0:a.imageWidth,f=void 0===a.imageHeight?0:a.imageHeight;this.Of=void 0===a.Of?null:a.Of;this.Pf=b;this.Qf=c;this.Ib=d;this.imageWidth=e;this.imageHeight=f};var uD=function(a){this.g=void 0===a?!1:a};var vD=function(a){this.g=a};var wD=function(){};
wD.prototype.g=function(a){if(!Cv(a,"activeview"))return null;var b=[],c=Av(a,"trackingConfiguration");c=p(c);for(var d=c.next();!d.done;d=c.next()){d=Av(d.value,"trackingEventConfiguration");d=p(d);for(var e=d.next();!e.done;e=d.next()){var f=e.value;e=f.getAttribute("event");var g=f.getAttribute("id");if(null==g||null==e)e=null;else{e=e.toLowerCase();g=g.toLowerCase();var k=[];f=Av(f,"trackingEventCriteria");f=p(f);for(var l=f.next();!l.done;l=f.next())l=l.value.getAttribute("value"),null!=l&&k.push(l.toLowerCase());
e=k.length?new yj(g,e,k):null}e&&b.push(e)}}c=Gv(a);a=Bv(a,"activeViewMetadata");d="";a&&(d=U(a)||"");return new Wt(c,b,d)};var xD=function(){};xD.prototype.g=function(a){if(!Cv(a,"wrapper_info"))return null;var b=0;(a=Bv(a,"Duration"))&&(b=Dv(U(a)));return null!=b&&0<b?new jD(b):null};var yD=function(){};
yD.prototype.g=function(a){if(!Cv(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,k=null,l=null,m=null,n=p(E(a)),q=n.next();!q.done;q=n.next())switch(q=q.value,q.nodeName.toLowerCase()){case "attributiontext":b=U(q);break;case "attributionurl":c=U(q);break;case "conversionurl":d=U(q);break;case "is_pharma":e=zv(q.getAttribute("bool"));break;case "checkedevents":f=zD(q);break;case "showyoutubeannotations":g=zv(U(q));break;case "ui":k=null;q=Bv(q,"config");if(null!=q){var v=Bv(q,"context");
if(null!=v&&"default"==v.getAttribute("data").toLowerCase()&&(k=new kD,v=Bv(q,"params"))){q=k;v=p(E(v));for(var t=v.next();!t.done;t=v.next())switch(t=t.value,t.nodeName.toLowerCase()){case "audio_muted_on_start":q.sf=zv(t.getAttribute("bool"))||!1;break;case "attribution_text":q.$a=t.getAttribute("data");break;case "attribution_url":q.wc=t.getAttribute("data");break;case "signals":q.vg=yv(t,"int")||0}}}break;case "visibleurl":l=U(q);break;case "whythisad":a:{m=p(E(q));for(q=m.next();!q.done;q=m.next())if(q=
q.value,"wtaclickthroughurl"==q.nodeName.toLowerCase()){m=U(q);break a}m=null}m&&R(Q.D(),"wta","1")}return new lD(Gv(a),{$a:b,wc:c,Cf:d,th:e,gg:f,ue:g,zg:k,Ae:l,Gg:m})};var zD=function(a){var b=[];Array.from(E(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var AD=function(){};AD.prototype.g=function(a){if(!Cv(a,"AdVerifications"))return null;var b=[];a=Av(a,"AdVerifications");a=p(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,u(Ev(c.value)));return new mD(b)};var BD=function(){};BD.prototype.g=function(a){if(!Cv(a,"adx"))return null;var b;if(a=Bv(a,"skippability")){var c=U(a);if("skippable"==c){var d=!0;(a=a.getAttribute("offset"))&&!z(a)&&(b=Dv(a))}else"nonskippable"==c&&(d=!1)}return null!=d?new Yv(d,b):null};var CD=function(){};CD.prototype.g=function(a){a=Gv(a);return 0<a.length?new Vt(a):null};var DD=function(){};DD.prototype.g=function(a){if(!Cv(a,"dart"))return null;a=Gv(a);var b=a.find(function(c){return"skip"==c.g})?"Generic":"Unavailable";return new Zv(a,b)};var ED=function(){};ED.prototype.g=function(a){if(!Cv(a,"dfp"))return null;var b="Unavailable",c=Bv(a,"skippableadtype");c&&"Generic"==U(c)&&(b="Generic");return new Zv(Gv(a),b)};var FD=function(){};FD.prototype.g=function(a){if(!Cv(a,"gfp_cookie"))return null;a=p(E(a));for(var b=a.next();!b.done;b=a.next()){var c=b.value;if("Cookie"==c.nodeName){b=c.getAttribute("domain");var d=yv(c,"expires"),e=c.getAttribute("path");c=c.getAttribute("value");if(b&&d&&e&&c)return new nD(c,d,e,b)}}return null};var GD=function(){};
GD.prototype.g=function(a){if(!Cv(a,"GoogleHostedMedia"))return null;var b=[],c=[],d=[],e=[],f,g=Bv(a,"clientplaybacknonce");g&&(f=U(g));a=p(E(a));for(g=a.next();!g.done;g=a.next()){var k=g.value;g=null;switch(k.nodeName.toLowerCase()){case "audiourls":g="audio";break;case "manifestsurls":g="manifest";break;case "muxedmediaurls":g="muxed";break;case "videourls":g="video"}if(g){k=p(E(k));for(var l=k.next();!l.done;l=k.next()){l=l.value;var m=U(l),n=l.getAttribute("delivery"),q=yv(l,"itag"),v=l.getAttribute("mimeType"),
t=zv(l.getAttribute("mseCompatible")),A=null,r=null,L=null,J=null,I=null,Cb=null;if("video"==g||"muxed"==g)A=l.getAttribute("videoCodec"),r=yv(l,"videoBitrate"),I=yv(l,"width"),Cb=yv(l,"height");if("audio"==g||"muxed"==g)L=l.getAttribute("audioCodec"),J=yv(l,"audioBitrate");if(null!=m&&null!=g)switch(l=new Yt(m,g,{wb:n,jb:q,mimeType:v,Cb:A,Fb:L,gi:r,Lg:J,Oa:t,width:I,height:Cb}),g){case "audio":b.push(l);break;case "manifest":c.push(l);break;case "muxed":d.push(l);break;case "video":e.push(l)}}}}return new Zt(f?
f:"None",b,c,d,e)};var HD=Object.keys(eD),ID={TYPE_ACTION_ENDCAP:0,TYPE_COLLAPSE_ENDCAP:1,TYPE_DISMISS_ENDCAP:2,TYPE_IMPRESSION_ENDCAP:3},JD=new Map([[0,"video_card_endcap_action"],[1,"video_card_endcap_collapse"],[2,"video_card_endcap_dismiss"],[3,"video_card_endcap_impression"]]),KD=function(){};
KD.prototype.g=function(a){if(!Cv(a,"InfoCards"))return null;var b=[],c=Av(a,"card");a={};c=p(c);for(var d=c.next();!d.done;a={Be:a.Be},d=c.next()){var e=d.value;d=e.getAttribute("type");if(HD.includes(d)){var f=yv(e,"priority"),g=LD(e),k=Av(e,"action").map(function(r){return new bD({target:r.getAttribute("target"),title:r.getAttribute("title"),type:aD[r.getAttribute("type")]})});a.Be=Bv(e,"placement");var l=null;a.Be&&(l=function(r){return function(L){return zv(r.Be.getAttribute(L))||!1}}(a),l=new fD({tg:l("show_in_cta"),
ug:l("show_in_endcap"),Ef:yv(a.Be,"endcap_duration_ms")}));e=Bv(e,"website_card");var m=null;if(e){m=null;var n=Bv(e,"image");n&&(n=Bv(n,"url"))&&(m=U(n));n=Bv(e,"extension_data");var q=null;if(n){q=Av(n,"sitelink_extensions");n=[];q=p(q);for(var v=q.next();!v.done;v=q.next()){v=v.value;var t=Bv(v,"link_action"),A=null;t&&((A=t.getAttribute("target"))||(A=t.getAttribute("link_url")),A=new bD({target:A,title:t.getAttribute("title"),type:1}));n.push(new cD({vh:A,ah:v.getAttribute("description_line_1"),
bh:v.getAttribute("description_line_2")}))}q=new dD({bi:n})}m=new gD({description:e.getAttribute("description"),Oe:e.getAttribute("headline"),Ib:m,eh:q})}b.push(new hD({type:eD[d],priority:isNaN(f)||void 0==f?-1:f,ga:g,actions:k,qd:l,Fg:m}))}}return new iD({Ge:b})};var LD=function(a){var b=[];a=Av(a,"event");a=p(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getAttribute("type");d=JD.get(ID[d]);c=c.getAttribute("base_url");d&&c&&b.push(new Wq(d,c))}return b};var MD=function(){};MD.prototype.g=function(a){if(!Cv(a,"inred_info"))return null;a=p(E(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "WrapperAdId":var c=U(b);break;case "WrapperAdSystem":var d=U(b);break;case "WrapperCreativeId":var e=U(b)}return c&&d&&e?new oD(c,d,e):null};var ND=function(){};ND.prototype.g=function(a){if(!Cv(a,"metrics"))return null;a=p(E(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=af(b);break;case "FeEventId":var d=af(b)}return new pD(c,d)};var OD=function(){};OD.prototype.g=function(a){if(!Cv(a,"pod"))return null;a=yv(a,"sequence");null==a&&(a=-1);return new qD(a)};var PD=function(){};PD.prototype.g=function(a){return Cv(a,"programmatic")?(a=Bv(a,"DealId"))&&(a=U(a))&&!z(a)?new rD(a):null:null};var QD=function(){};QD.prototype.g=function(a){if(!Cv(a,"sodar"))return null;a=p(E(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "Siub":var c=U(b);break;case "Scs":var d=U(b);break;case "Bgub":var e=U(b);break;case "Bgp":var f=U(b)}return c&&d&&e&&f?new sD(c,d,e,f):null};var RD=function(){};RD.prototype.g=function(a){if(!Cv(a,"textad"))return null;var b={};a=p(E(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName.toLowerCase()){case "line1":b.Of=U(c);break;case "line2":b.Pf=U(c);break;case "line3":b.Qf=U(c);break;case "imageurl":b.Ib=U(c),b.imageWidth=yv(c,"width"),b.imageHeight=yv(c,"height")}return new tD(b)};var SD=function(){};SD.prototype.g=function(a){if(!Cv(a,"uisettings"))return null;var b;(a=Bv(a,"uihideable"))&&(b=zv(U(a)));return new uD(b)};var TD=function(){};TD.prototype.g=function(a){if(!Cv(a,"waterfall"))return null;a=yv(a,"fallback_index");null==a&&(a=-1);return new vD(a)};var UD=function(){};
UD.prototype.g=function(a){if(!Cv(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,k=null,l=null,m=null,n=null,q=Bv(a,"youtubevideoid");q&&(b=U(q));if(q=Bv(a,"istrueview"))q=zv(U(q)),void 0!=q&&(c=q);(q=Bv(a,"videotitle"))&&(d=U(q));(q=Bv(a,"videothumbnailurl"))&&(e=U(q));if(q=Bv(a,"isvideounlisted"))q=zv(U(q)),void 0!=q&&(f=q);(q=Bv(a,"channelid"))&&(g=U(q));(q=Bv(a,"channeltitle"))&&(k=U(q));(q=Bv(a,"channelthumbnailurl"))&&(l=U(q));(q=Bv(a,"channelcustomurl"))&&(m=U(q));
(a=Bv(a,"format"))&&(n=U(a));return new du({videoId:b,ld:c,Cg:d,ze:e,Mf:f,yc:g,wf:k,vf:l,Qg:m,format:n})};var VD=function(a){if(a&&a.items&&a.items.length){a=a.items[0];var b=a.snippet,c=a.brandingSettings;this.yc=a.id;this.Bk=b?b.title:void 0;this.He=b?cc(b,"thumbnails","default","url"):void 0;c&&cc(c,"image","bannerImageUrl")}};var WD=function(a){if(a&&a.items&&a.items.length){a=a.items[0];var b=a.snippet,c=a.status;this.videoId=a.id;this.yc=b?b.channelId:void 0;this.title=b?b.title:void 0;this.ze=b?cc(b,"thumbnails","high","url"):void 0;this.isListed=c?"unlisted"!=c.privacyStatus:!0}};var YD=function(a){var b=new O("https://www.googleapis.com/youtube/v3/videos");Bq(b,"id",a);Bq(b,"part","snippet,status,statistics");Bq(b,"fields","items/id,items/snippet/title,items/snippet/channelId,items/snippet/thumbnails/high/url,items/status/privacyStatus,items/statistics/viewCount");return XD(b).then(function(c){return new WD(c)}).catch(function(){return null})},ZD=function(a){var b=new O("https://www.googleapis.com/youtube/v3/channels");Bq(b,"id",a);Bq(b,"part","snippet,statistics,brandingSettings");
Bq(b,"fields","items/id,items/snippet/customUrl,items/snippet/title,items/snippet/thumbnails/default/url,items/statistics/videoCount,items/brandingSettings/image/bannerImageUrl");return XD(b).then(function(c){return new VD(c)}).catch(function(){return null})},XD=function(a){var b=new Tu;return new Promise(function(c,d){Bq(a,"key","AIzaSyA-dlBUjVQeuc4a6ZN4RkNUYDFddrVLxrA");Wu(b,2E3);b.send(a);yf(b,"complete",function(){fv(b)?c(hv(b)):d(b)})})};function $D(a){var b;var c=void 0===c?null:c;(b=void 0===b?null:b)||(b="//www.youtube.com/");if(c)return b+c;a=C(a);return z(a)?null:b+"channel/"+(Db(a,"UC")&&24==a.length?a:"UC"+a)}function aE(a,b){if(null==a)return null;var c=new O("//www.youtube.com/watch"),d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");rq(c,d);return c.toString()};var bE=function(a,b){this.i=a;this.u=b;this.h=this.g=this.o=this.l=null},cE=function(a){return null!==a.g&&(null!==a.g.title||null!==a.g.g)},eE=function(a,b){YD(b).then(function(c){c?(a.l=c,c.isListed&&W(a.i,Xw,c.title),c=c.yc):c=null;return c}).then(function(c){return ZD(c)}).then(function(c){c&&(a.o=c,dE(a)&&(W(a.i,Ww,c.Bk),c.He&&W(a.i,Vw,c.He)))}).catch(function(){})},fE=function(a,b){var c=b instanceof vt?(c=NC(b))?c.h:null:null;a.g=c;b instanceof vt?c=(c=NC(b))?c.i:null:c=null;a.h=c;null===a.g&&
wr(Q.D(),"meta_miss","1");b=b instanceof vt?OC(b):null;cE(a)?(wr(Q.D(),"meta_vast","1"),a.g.isListed&&(a.g.title&&W(a.i,Xw,a.g.title),a.h&&a.h.title&&W(a.i,Ww,a.h.title),a.h&&a.h.g&&W(a.i,Vw,a.h.g),a.h||wr(Q.D(),"mcmfv","1"))):null!==b&&(zr("ytls"),eE(a,b))},dE=function(a){return cE(a)?!(!a.g||!a.g.isListed):!(!a.l||!a.l.isListed)},gE=function(a){return dE(a)?cE(a)?a.h?$D(a.h.id):null:a.o?$D(a.o.yc):null:null},hE=function(a){return dE(a)?cE(a)?aE(a.g.id,a.u):aE(a.l.videoId,a.u):null};var iE=function(a,b){this.g=a;this.h=null!=b?b:!0};var jE=function(){this.h=new jq;this.g=null},kE=function(a){var b=Math.random(),c=0,d=a.h.Ta();d.forEach(function(){c+=0});var e=1<c?c:1;a.g=null;for(var f=0,g=0;g<d.length;++g)if(f+=0,f/e>=b){a.g=d[g];break}};var lE=function(){return null!=x.G_testRunner};var mE=["ADSENSE","ADSENSE/ADX"],nE={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},oE={Tj:"application/dash+xml",bk:"video/mp4",dk:"video/mpeg",Yj:"application/x-mpegURL",gk:"video/ogg",hk:"audio/ogg",lk:"video/3gpp",vk:"video/webm",ak:"audio/mpeg",ck:"audio/mp4"};var pE=function(a){this.g=a},sE=function(){var a=qE(X);return rE(a,"disableExperiments")},rE=function(a,b){return dc(a.g,b)&&(a=a.g[b],"boolean"===typeof a)?a:!1},tE=function(a){if(dc(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;Qa(a)&&a.forEach(function(d){"number"===typeof d&&(b[c++]=d)});return b}return null};var uE=function(){this.g="always";this.u=4;this.H=1;this.M=0;this.T=this.J=this.h=!0;this.F=this.i=this.C=!1;this.o=this.l="";this.N=null;this.na=this.K=this.ca="";this.sa=this.ea=!1;this.w=!0;try{this.W=ik(void 0)[0]}catch(a){}},vE=function(a){a=C(a);z(a)||(a=a.substring(0,20));return a},wE=function(){return 0!=X.H&&!0},qE=function(a){if(null==a.N){var b={},c=(new O(Le().location.href)).g;if(Hq(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.N=new pE(b)}return a.N};
uE.prototype.oa=function(a){a=void 0===a?null:a;var b={};null!=a&&(b.activeViewPushUpdates=a);b.activityMonitorMode=this.M;b.adsToken=this.ca;b.autoPlayAdBreaks=this.h;b.companionBackfill=this.g;b.cookiesEnabled=this.w;b.disableCustomPlaybackForIOS10Plus=this.sa;b.engagementDetection=this.J;b.isFunctionalTest=this.i;b.isVpaidAdapter=this.C;b["1pJar"]=this.K;b.numRedirects=this.u;b.pageCorrelator=-1;b.persistentStateCorrelator=hq();b.playerType=this.l;b.playerVersion=this.o;b.ppid=this.X;b.privacyControls=
this.na;b.reportMediaRequests=this.F;b.streamCorrelator=-1;b.testingConfig=qE(this).g;b.unloadAbandonPingEnabled=this.T;b.urlSignals=this.W;b.vpaidMode=this.H;return b};var X=new uE;var zE=function(){this.h=!1;this.g=new jq;xE(this);yE(this)},AE=null,BE=function(){AE||(AE=new zE);return AE},xE=function(a){sE()||X.i||a.g.Ta().forEach(function(b){kE(b)})},yE=function(a){var b=qE(X);b=tE(b);null!=b&&(a.h=!0,CE(a,b.map(String)))},EE=function(a,b,c,d){isNaN(b)||0>=b||z(C(c))||(a.h=!0,d=null!=d?d:!0,DE(a,c).g=new iE(b,d))},CE=function(a,b){b.forEach(function(c){EE(a,Number(c),"FORCED_PUB_EXP_LAYER_"+c,void 0)})},FE=function(a){var b=BE();Object.keys(a).forEach(function(c){var d=a[c],
e=d.experimentId;d=d.shouldReport;e?EE(b,e,c,d):DE(b,c).g=null})},GE=function(){var a=BE();return a.h||(sE()?0:X.i?0:!lE())?a.g.Ta().some(function(b){return!!b.g&&44715559==b.g.g}):!1},HE=function(a){if(!a.h&&(sE()||X.i||lE()))return"";var b=[];a.g.Ta().forEach(function(c){(c=c.g)&&c.h&&b.push(c.g)});a=fr();return b.concat(a).sort().join(",")},DE=function(a,b){var c=a.g.get(b);null==c&&(c=new jE,a.g.set(b,c));return c};var IE=function(){this.h=this.o=this.u=null;this.i=!1;this.g=null;this.l=[]};var JE=function(a,b){this.g=b;this.h=a};var KE=function(){};function LE(a){return a?As(a)?"adsense":Ds(a)?"dbm":Bs(a)?"dcm":Es(a)?"dv3":Cs(a)?"xfp":"thirdparty":""}function ME(a){if(!a)return null;a=(new O(a)).g;return null!=a.get("ms")?C(a.get("ms")):null}function NE(a){if(a){var b=/iu=\/(\d+)\//.exec(Hd(a));(b=b&&2==b.length?b[1]:null)||(a=C((new O(a)).g.get("client")),b=z(a)?null:a);a=b}else a=null;return a};var OE="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");function PE(a){var b={};(new O(a)).g.forEach(function(c,d){b[d]=c});return b}function QE(a){a.forEach(function(b,c,d){""==b&&d.delete(c)})}
var RE=function(a){this.l=a.isGdprLoader||!1;this.g=a.gfcPresent||!1;this.i=a.gfcLoaded||!1;this.h=a.gfcUserConsent||0;this.H=a.uspString||"";this.o=a.gdprApplies||"";this.u=a.tcString||""},SE=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.h=void 0===a?!1:a;this.i=b;this.g=new RE(c)},TE=function(a,b){return new SE(zs(a),PE(a),b)},aF=function(){var a=UE,b=new Map;b.set("tfua",VE(a));b.set("rdp",a.h?1==WE(a,"rdp")?"1":"":"");b.set("us_privacy",XE(a));b.set("npa",YE(a));b.set("gdpr",ZE(a));
b.set("gdpr_consent",$E(a));QE(b);return b},bF=function(){var a=UE;return a.g.g&&!a.g.i||(a.h&&a.g.l?a.g.g&&0==a.g.h:!1)},WE=function(a,b){if(a.i.hasOwnProperty(b))return a.i[b]},YE=function(a){var b="1"==WE(a,"npa");return a.h&&b||a.h&&a.g.g&&2!=a.g.h?"1":""},VE=function(a){if(!a.h)return"";a=WE(a,"tfua");return 0==a?(0).toString():1==a?(1).toString():""},XE=function(a){var b=WE(a,"us_privacy");return a.g.H||b||""},ZE=function(a){var b=WE(a,"gdpr");a=a.g.o;return null!=a&&""!=a?a:void 0!=b?b:""},
$E=function(a){var b=WE(a,"gdpr_consent");return a.g.u||b||""};var cF=function(a){this.l=this.h=this.i=this.g=null;a=C(a).split(":");if(null!=a&&3<=a.length){if(Fb(a[0],"ios"))this.g="ios";else if(Fb(a[0],"android"))this.g="android";else if(Fb(a[0],"tvos"))this.g="tvos";else{var b=a[0].match(/^([A-Za-z]+)(.+)$/);null!=b&&3==b.length&&(this.g=b[1])}this.i=a[1];this.h=a[2];if("ios"==this.g||"tvos"==this.g)this.l=3<a.length?a[3]:""}};var dF=function(){return Math.floor(4503599627370496*Math.random())},gF=function(){var a="h.3.386.2";null!=eF?(a+="/n."+eF,null!=fF&&(a+="/"+fF)):X.C&&(a+="/vpaid_adapter");return a},jF=function(a){a=a.g||"";As(a)&&(a=(new O(a)).g.get("description_url",""),hF===a?iF=0===iF%99?1:iF+1:(iF=1,hF=a))},MF=function(){kF=dF();iF=1;lF=fF=null;UE=new SE;mF=null;nF=!1;oF="";pF=eF=qF=rF=null;sF="";tF=!1;uF=null;vF=wF=!1;xF=yF=zF=AF=hF=null;BF=!1;CF=dF();DF=EF=FF=null;GF=HF=!1;IF=null;JF=KF=!1;LF=null},RF=function(a,
b){a=void 0===a?{}:a;b=void 0===b?!1:b;var c=a.identifierInfo||null,d=a.isTv||!1,e=a.marketAppInfo||null,f=a.env||null,g=null;f&&(g=new cF(f));f=a.settings||{};var k=a.videoEnvironment||{},l=f.pageCorrelator||0,m=f.streamCorrelator||0;0<l&&(CF=l);0<m&&(kF=m);null!=f.ppid&&(FF=f.ppid);null!=k.contentMediaUrl&&(mF=k.contentMediaUrl);null!=k.customClickTrackingProvided&&(nF=k.customClickTrackingProvided);null!=k.iframeState&&(NF=k.iframeState);null!=k.isAmp&&(tF=k.isAmp);null!=k.location&&(AF=k.location);
null!=k.referrer&&(EF=k.referrer);null!=k.topOrigin&&(IF=k.topOrigin);null!=k.domLoadTime&&(qF=k.domLoadTime);null!=k.sdkImplLoadTime&&(DF=k.sdkImplLoadTime);null!=k.imaHostingDomain&&(OF=k.imaHostingDomain);KF=null!=k.usesCustomVideoPlayback?k.usesCustomVideoPlayback:a.usesCustomVideoPlayback||!1;HF=null!=k.supportsResizing?k.supportsResizing:a.supportsResizing||!1;GF=PF(a,g);BF=a.omidAdSessionsOnStartedOnly||!1;null!=k.usesInlinePlayback&&(JF=k.usesInlinePlayback);null!=k.videoAdKey&&(LF=k.videoAdKey);
c?(oF=c.deviceId,sF=c.idType,uF=c.isLimitedAdTracking):b&&(oF=a.rdid||"",sF=a.idType||"",a.isLat&&(uF="1"==a.isLat));b&&(QF=a.msParameter||"");e&&(yF=e.appVersion||"",zF=e.packageName||"");g&&(fF=g.h,rF=g.l,eF=g.g+"."+g.i,a=g.g,AF="//mbapp"+encodeURIComponent(String(("ios"==a||"tvos"==a?1:"android"==a?2:0)+"-"+g.h))+".com",xF=g.g);wF=b;vF=d},PF=function(a,b){if(null!=a.supportsExternalNavigation)return a.supportsExternalNavigation;if(!b)return!1;a=(b.g+"."+b.i).split(".");if(4>a.length)return!1;var c=
p(a);a=c.next().value;b=c.next().value;var d=c.next().value;c=c.next().value;if("android"==a){if(3==b&&17==d&&0==c)return!0}else if("ios"==a&&3==b&&11==b&&(1==c||2==c))return!0;return!1},fF=null,lF=null,mF=null,nF=!1,oF="",rF=null,qF=null,eF=null,pF=null,NF=-1,OF="",tF=!1,sF="",uF=null,SF=br(Ur),wF=!1,vF=!1,AF=null,zF=null,yF=null,QF=null,xF=null,BF=!1,CF=dF(),FF=null,EF=null,DF=null,kF=dF(),IF=null,KF=!1,HF=!1,GF=!1,JF=!1,LF=null,hF=null,iF=1,UE=new SE;var TF=function(a){a=void 0===a?!1:a;return!(je||Cu()||le&&zu(xu,10))||!a&&KF?jl()||Pb(Sb,"Xbox")?!0:ie||ke?!1:!he||he&&zu(yu,4)?kl()?!1:!0:!1:!0},UF=function(){return!(KF||ie||ke||kl()||he&&(!he||!zu(yu,4)))},VF=function(){var a=qE(X);return a&&rE(a,"disableOnScreenDetection")?!1:!il()},WF=function(){var a=document;return"visible"==(a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||"")},XF=function(){var a=Re("VIDEO");return ac(oE).filter(function(b){return qc()&&"video/3gpp"==b?
!1:a.canPlayType(b)})};var qu=["*.googlesyndication.com","gcdn.2mdn.net"],YF=function(a){return null==a?!1:Eb(a,".g.doubleclick.net")},ZF=function(a){return nu(a,il()?"https":window.location.protocol)};var $F=function(a){if(null==a||!pu(a))return!1;a=(new O(a)).i;return null!=a&&Db(a,"/videoplayback")};var aG=function(a,b){G.call(this,a);this.h=b};w(aG,G);aG.prototype.getError=function(){return this.h};var bG=function(a,b){this.C=a;this.w=b.map(function(c){return c.clone()});this.H="";this.u=null;this.g=this.h=0;this.o=!0;this.i=[];this.l=[]},cG=function(a){a.H="";a.u=null;a.h=0;a.g=0;a.o=!0;a.i=[];a.l=[]};bG.prototype.getContent=function(){return this.H};
bG.prototype.clone=function(){var a=new bG(this.C,this.w);if(null!=this.u){var b=this.u,c=this.h,d=this.g,e=this.i;a.H="<div></div>";a.u=b;a.h=c;a.g=d;a.o=!1;a.i=e||[];a.l=[]}else{b=this.getContent();c=this.h;d=this.g;e=this.o;var f=this.i,g=this.l;a.H=b;a.u=null;a.h=c;a.g=d;a.o=e;a.i=f||[];a.l=g||[]}return a};var dG=function(a){G.call(this,a)};w(dG,G);var eG=function(){this.creativeType="All";this.g=[]},fG={zn:"Image",jn:"Flash",vm:"All"};var gG=!1,hG=function(a){if(a=a.match(/[\d]+/g))a.length=3};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(gG=!0,a.description)){hG(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){gG=!0;return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],gG=!(!a||!a.enabledPlugin))){hG(a.enabledPlugin.description);return}if("undefined"!=typeof ActiveXObject){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");gG=!0;hG(b.GetVariable("$version"));
return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");gG=!0;return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),gG=!0,hG(b.GetVariable("$version"))}catch(c){}}})();var iG=gG;var jG=function(a){var b=void 0;b=void 0===b?new eG:b;this.l=a;this.g=b?b:new eG;a=this.g.creativeType;this.i=null!=a&&ec(fG,a)?this.g.creativeType:"All";this.h=null!=this.g.g?this.g.g:[]},nG=function(a,b){var c=[];b.forEach(function(d){!z(C(d.g.h))&&(isNaN(d.Fa())||isNaN(kG(d))||kG(d)==d.Fa())&&lG(a,d)?c.push(d):(d=mG(a,d),null!=d&&!z(C(d.g.h))&&c.push(d))});return c},lG=function(a,b){var c;if(c="Flash"!=b.getContentType()||iG)if(c=b.getContentType(),c=null==c?!0:"All"==a.i||a.i==c)c=b.i,c=0==a.h.length?
!0:null!=c?a.h.includes(c):!1;c?(b=b.g.Mb(),a=a.l,a=a==b||a&&b&&a.width==b.width&&a.height==b.height?!0:!1):a=!1;return a},mG=function(a,b){b=b.h;return null==b?null:b.find(function(c){return lG(a,c)})||null};var oG=function(a,b,c){b=void 0===b?null:b;c=void 0===c?null:c;G.call(this,a);this.l=b;this.h=c};w(oG,G);oG.prototype.getError=function(){return this.l};var pG=function(){var a=Le(),b=document;return new O(a.parent==a?a.location.href:b.referrer)},qG=function(a,b){Bq(a,"url","");try{var c=2083-a.toString().length-1;if(0>=c)return a.toString();for(var d=b.slice(0,c),e=encodeURIComponent(d),f=c;0<f&&e.length>c;)d=b.slice(0,f--),e=encodeURIComponent(d);Bq(a,"url",d)}catch(g){}return a.toString()};var rG=function(a){H.call(this);this.w=a||"goog_"+Md++;this.u=[];this.i=!1};w(rG,H);rG.prototype.connect=function(){for(this.i=!0;0!=this.u.length;){var a=this.u.shift();this.sendMessage(a.name,a.type,a.data)}};rG.prototype.send=function(a,b,c){this.i?this.sendMessage(a,b,c):this.u.push({name:a,type:b,data:c})};rG.prototype.sendMessage=function(){};var sG={mi:"creativeView",STARTED:"start",MIDPOINT:"midpoint",FIRST_QUARTILE:"firstQuartile",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",VOLUME_MUTED:"mute",Qo:"unmute",PAUSED:"pause",io:"rewind",RESUMED:"resume",FULLSCREEN:"fullscreen",oi:"exitFullscreen",cn:"expand",Oj:"collapse",Nj:"close",om:"acceptInvitation",uo:"userInteraction",AD_CAN_PLAY:"adCanPlay",Mj:"adStarted",ii:"abandon",qm:"acceptInvitationLinear",Hg:"engagedView",gn:"instreamAdComplete",kk:"skipShown",SKIPPABLE_STATE_CHANGED:"skippableStateChanged",
SKIPPED:"skip",jk:"progress",Qn:"publisher_invoked_skip",Jm:"annotation_start",Hm:"annotation_click",Im:"annotation_close",Wm:"cta_annotation_shown",Um:"cta_annotation_clicked",Vm:"cta_annotation_closed",Vn:"replay",no:"stop",Nm:"autoplayDisallowed",bn:"error",Fn:"mediaLoadTimeout",LINEAR_CHANGED:"linearChanged",CLICK:"click",CONTENT_PAUSE_REQUESTED:"contentPauseRequested",CONTENT_RESUME_REQUESTED:"contentResumeRequested",Zm:"discardAdBreak",to:"updateAdsRenderingSettings",DURATION_CHANGE:"durationChange",
Uj:"expandedChanged",Om:"autoClose",USER_CLOSE:"userClose",pk:"userRecall",ik:"prefetched",LOADED:"loaded",INIT:"init",ALL_ADS_COMPLETED:"allAdsCompleted",Lj:"adMetadata",AD_BREAK_READY:"adBreakReady",Kj:"adBreakFetchError",LOG:"log",VOLUME_CHANGED:"volumeChange",Pj:"companionBackfill",Sj:"companionInitialized",Rj:"companionImpression",Qj:"companionClick",IMPRESSION:"impression",Wj:"interaction",AD_PROGRESS:"adProgress",AD_BUFFERING:"adBuffering",mk:"trackingUrlPinged",Jg:"measurable_impression",
ni:"custom_metric_viewable",VIEWABLE_IMPRESSION:"viewable_impression",Ig:"fully_viewable_audible_half_duration_impression",pi:"overlay_resize",ri:"overlay_unmeasurable_impression",si:"overlay_unviewable_impression",ui:"overlay_viewable_immediate_impression",ti:"overlay_viewable_end_of_session_impression",Vj:"externalActivityEvent",sm:"adEvent",Tm:"configure",Sn:"remainingTime",Xm:"destroy",ho:"resize",Oo:"volume",lo:"sendAbandonUrls",Go:"authorIconClicked",Fo:"authorNameClicked",tk:"videoClicked",
uk:"videoIconClicked",Ho:"learnMoreClicked",Io:"muteClicked",Lo:"titleClicked",Ko:"skipShown",Jo:"videoSkipClicked",Mo:"unmuteClicked",Ro:"vpaidEvent",mo:"show_ad",qk:"video_card_endcap_collapse",rk:"video_card_endcap_dismiss",sk:"video_card_endcap_impression",Zj:"mediaUrlPinged",Rm:"breakStart",Pm:"breakEnd",Qm:"error",Kn:"omidReady",Ln:"omidUnavailable",Jn:"omidAdSessionCompleted",In:"omidAdSessionAbandoned",Eo:"verificationNotExecuted",Xj:"loadStart",jo:"seeked",ko:"seeking",Km:"appBackgrounding",
Lm:"appForegrounding",Un:"replaceAdTagParameters",fk:"navigationRequested",En:"loadedMetadata"},tG="adBreakFetchError adBreakReady adBuffering adCanPlay adMetadata adProgress allAdsCompleted click companionBackfill companionInitialized complete contentPauseRequested contentResumeRequested durationChange externalActivityEvent firstQuartile impression interaction linearChanged loaded log measurable_impression mediaUrlPinged midpoint navigationRequested pause resume show_ad skipShown skippableStateChanged skip start thirdQuartile trackingUrlPinged userClose viewable_impression video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression videoClicked videoIconClicked volumeChange mute".split(" "),
uG="adBuffering adCanPlay adMetadata adProgress click companionBackfill companionInitialized complete durationChange firstQuartile impression interaction loaded log mediaUrlPinged midpoint navigationRequested pause resume skipShown skippableStateChanged skip start thirdQuartile trackingUrlPinged userClose videoClicked videoIconClicked volumeChange mute vpaidEvent".split(" "),vG="abandon acceptInvitation acceptInvitationLinear click close collapse companionClick complete creativeView engagedView exitFullscreen expand instreamAdComplete externalActivityEvent firstQuartile fullscreen loaded measurable_impression midpoint pause progress replay resume rewind show_ad skipShown skip start stop thirdQuartile userClose verificationNotExecuted video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression viewable_impression mute unmute".split(" "),
wG="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),xG={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",custom_metric_viewable:"custom_metric_viewable",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression",
overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression"};function yG(a){return Db(a,"custom_metric_viewable")?!0:null!=xG[a]}var zG="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var AG=function(a,b){this.h=a;this.g=b};var BG={AD_CAN_PLAY:"adCanPlay",Mj:"adStarted",CONTENT_PAUSE_REQUESTED:"contentPauseRequested",CONTENT_RESUME_REQUESTED:"contentResumeRequested",CLICK:"click",tk:"videoClicked",uk:"videoIconClicked",Hg:"engagedView",Uj:"expandedChanged",STARTED:"start",AD_PROGRESS:"adProgress",AD_BUFFERING:"adBuffering",IMPRESSION:"impression",Jg:"measurable_impression",VIEWABLE_IMPRESSION:"viewable_impression",Ig:"fully_viewable_audible_half_duration_impression",pi:"overlay_resize",ri:"overlay_unmeasurable_impression",
si:"overlay_unviewable_impression",ui:"overlay_viewable_immediate_impression",ti:"overlay_viewable_end_of_session_impression",Vj:"externalActivityEvent",PAUSED:"pause",RESUMED:"resume",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",DURATION_CHANGE:"durationChange",USER_CLOSE:"userClose",pk:"userRecall",ik:"prefetched",LOADED:"loaded",ALL_ADS_COMPLETED:"allAdsCompleted",SKIPPED:"skip",kk:"skipShown",LINEAR_CHANGED:"linearChanged",SKIPPABLE_STATE_CHANGED:"skippableStateChanged",
Lj:"adMetadata",Kj:"adBreakFetchError",AD_BREAK_READY:"adBreakReady",LOG:"log",VOLUME_CHANGED:"volumeChange",VOLUME_MUTED:"mute",Wj:"interaction",Pj:"companionBackfill",mk:"trackingUrlPinged",qk:"video_card_endcap_collapse",rk:"video_card_endcap_dismiss",sk:"video_card_endcap_impression",Sj:"companionInitialized",Rj:"companionImpression",Qj:"companionClick",Zj:"mediaUrlPinged",Xj:"loadStart",fk:"navigationRequested"};function CG(a,b){null!=a&&null!=b&&(a=Qs(a,b));return a}function DG(a,b){a=CG(a,b);a=ZF(a);if(il())EG(a);else try{a&&(Mq(a)?Qq(a,!0):Uq(a,!0))}catch(c){}}function EG(a){(new jv).get(a,new ju(5E3)).then(function(){},function(){})}function FG(a,b){null!=a&&a.forEach(function(c){return void DG(c,b)})};var GG=function(){this.g=.01>Math.random();this.h=Math.floor(4503599627370496*Math.random())};GG.prototype.report=function(a,b,c){b=void 0===b?{}:b;if(!lE()&&(this.g||(void 0===c?0:c))){b.lid=a;b.sdkv=gF();a=HE(BE());z(C(a))||(b.e=a);b=HG(this,b);var d=new O("http://pagead2.googlesyndication.com/pagead/gen_204");Wb(b,function(e,f){Bq(d,f,null==e?"":"boolean"==typeof e?e?"t":"f":""+e)},this);b=pG();pq(d,b.l);X.i||(b=d.toString(),a=d.g.get("url"),null!=a&&oc()&&2083<b.length&&(b=qG(d,a)),DG(b))}};
var HG=function(a,b){b.id="ima_html5";var c=pG();b.c=a.h;b.domain=c.h;return b},IG=function(){var a=pG();try{return encodeURIComponent(a.toString())}catch(b){}return""};Oa(GG);var JG=function(a,b,c,d){G.call(this,a);this.fc=b;this.dc=c;this.kl=d};w(JG,G);JG.prototype.toString=function(){return""};var KG=function(a,b){rG.call(this,b);this.F=a;this.g=null;this.J=new T(this);this.l=!1;this.J.G(Le(),"message",this.K)};w(KG,rG);var LG=function(a){if(null==a||"string"!==typeof a||!Db(a,"ima://"))return null;a=a.substr(6);try{return JSON.parse(a)}catch(b){return null}};KG.prototype.sendMessage=function(a,b,c){null!=this.g&&null!=this.g.postMessage&&this.g.postMessage(MG(this,a,b,c),"*");null!=this.g&&null==this.g.postMessage&&GG.D().report(11)};KG.prototype.R=function(){jf(this.J);this.g=null;rG.prototype.R.call(this)};
KG.prototype.h=function(a){this.g=a};KG.prototype.K=function(a){a=a.Hb;var b=LG(a.data);if(NG(this,b)&&(!this.l||"gpt"!=b.name)){if(null==this.g)this.g=a.source,this.i||this.connect();else if(this.g!=a.source)return;OG(this,b,a.origin)}};
var OG=function(a,b,c){NG(a,b)&&a.dispatchEvent(new JG(b.name,b.type,b.data||{},b.sid,c))},MG=function(a,b,c,d){var e={};e.name=b;e.type=c;null!=d&&(e.data=d);e.sid=a.w;e.channel=a.F;return"ima://"+Lg(e)},NG=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.F)return!1;b=b.sid;return null==b||"*"!=a.w&&b!=a.w?!1:!0};var PG=function(a,b,c){KG.call(this,b,c);this.C=a;this.o=null};w(PG,KG);PG.prototype.h=function(a){this.C=null!=a?[a]:[]};PG.prototype.sendMessage=function(a,b,c){var d=MG(this,a,b,c);this.C.forEach(function(e){e.postMessage(d,"*")})};PG.prototype.K=function(a){a=a.Hb;var b=LG(a.data);null!=b&&this.C.includes(a.source)&&(this.o=a.source,OG(this,b,a.origin))};var RG=function(){if(il())return window.location.href;var a=Ti(),b=a.h,c=a.g;a=a.i;var d=null;a&&(d=QG(a.url));return d?d:b&&b.url?b.url:c&&c.url?c.url:""},QG=function(a){try{var b=new O(a);if(!b.h.includes(".cdn.ampproject.org"))return null;var c=b.i.split("/").slice(1);if("s"==c[1]&&3>c.length)return null;if(2>c.length)return a;var d="s"==c[1];c=d?c.slice(2):c.slice(1);var e=decodeURIComponent(c[0])+"/";return d?"https://"+e+c.slice(1).join("/"):"http://"+e+c.slice(1).join("/")}catch(f){return null}};var SG=function(){H.call(this);this.u=!1;this.T=void 0;this.J=!1;this.W=void 0;this.w=!1;this.F=void 0;this.C=!1;this.i=this.h=null;this.o=new T(this);this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0}};w(SG,H);var TG=function(a,b){null!=a.i&&a.o.wa(a.i,"gpt",a.K);a.i=b;a.o.G(a.i,"gpt",a.K)};SG.prototype.R=function(){jf(this.h);jf(this.l);jf(this.o);H.prototype.R.call(this)};var UG=function(a){if(a.J&&null!=a.T)return a.T.map(function(b){return b.clone()})},VG=function(a){a=UG(a);if(null!=a)return a.map(function(b){return b.w})};
SG.prototype.Sa=function(a){a=a.map(this.X,this);WG(this,null,"googleSetCompanionAdContents",[a,null,gF()])};
SG.prototype.K=function(a){var b=a.dc.returnValue,c=Number(b);switch(a.fc){case "isGptPresent":null!=b&&b?(this.g.isgptpresent="1",this.i.h(this.i.o),null==this.l&&(this.l=new qg(100),this.o.G(this.l,"tick",this.N),this.l.start()),this.N()):(this.g.isgptpresent="0",this.M());break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.W=c,this.w=!0);XG(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1",this.F=c,this.C=!0);XG(this);break;case "googleGetCompanionAdSlots":a=
b.map(this.aa,this),this.g.cslots="1",this.T=a,this.J=!0,XG(this)}};
var WG=function(a,b,c,d){null!=a.i&&(b={scope:b},null!=d&&(b.args=d),a.i.send("gpt",c,b))},YG=function(a,b){var c=0,d=0;null!=b&&(b=new O(b.g),c=Number(b.g.get("pod")||0),d=Number(b.g.get("ppos")||0));WG(a,"companionAds","setVideoSession",[kF,c,d,!1])},ZG=function(a){a.F=kF;WG(a,"pubads","setImaContent",["",""]);YG(a,null)},$G=function(a){a.h&&(a.h.stop(),a.o.wa(a.h,"tick",a.M),a.h.$(),a.h=null);null!=a.l&&(a.l.stop(),a.o.wa(a.l,"tick",a.N),a.l.$(),a.l=null)};
SG.prototype.M=function(){this.u||(this.u=!0,$G(this),aH(this),this.dispatchEvent(new oG("companion_initialization_failed",Error("GPT companion ads service not available."))),null!=this.i&&this.o.wa(this.i,"gpt",this.K))};SG.prototype.N=function(){this.w||WG(this,"companionAds","getDisplayAdsCorrelator",[gF()]);this.C||WG(this,"companionAds","getVideoStreamCorrelator");this.J||WG(this,null,"googleGetCompanionAdSlots")};
var XG=function(a){a.J&&a.w&&a.C?(a.u=!0,$G(a),aH(a),a.dispatchEvent(new oG("companions_success"))):a.h||(a.h=new qg(5E3),a.o.cc(a.h,"tick",a.M),a.h.start())};SG.prototype.aa=function(a){var b=a.adSizes.map(function(c){return new Be(c.adWidth,c.adHeight)});return new bG(a.slotId,b)};SG.prototype.X=function(a){var b={};b.slotId=a.C;b.adContent=a.getContent();b.adWidth=a.h;b.adHeight=a.g;b.friendlyIframeRendering=a.o;return b};
var aH=function(a){a.g.loggingDone||(a.g.loc=RG(),a.g.ref=window.document.referrer,a.g.gcasclass="1",a.g.vpaidadapter=X.C,a.g.ifstate=NF,GG.D().report(70,a.g),a.g={loggingDone:!0})};var bH=function(){this.Bb=1;this.Jb=-1;this.rb=1;this.Kd=this.cf=0;this.dg=!1;this.h=1};bH.prototype.g=function(){return this.cf};bH.prototype.oa=function(){var a={};a.podIndex=this.g();a.timeOffset=this.Kd;a.totalAds=this.Bb;a.adPosition=this.rb;a.isBumper=this.dg;a.maxDuration=this.Jb;return a};var cH=null,dH=function(){H.call(this);this.g=null;this.l=new T(this);F(this,this.l);this.o=new Map;this.C=new Map;this.h=this.u=!1;this.i=null},eH;w(dH,H);var fH=function(){null==cH&&(cH=new dH);return cH};dH.prototype.Cj=function(){};var Xp=function(a,b,c){var d={};d.queryId=b;d.viewabilityData=c;a.g&&a.g.send("activityMonitor","viewabilityMeasurement",d)};dH.prototype.destroy=function(){this.l.wa(this.g,"activityMonitor",this.w);this.h=!1;this.o.clear();this===eH&&(eH=null)};
dH.prototype.R=function(){this.destroy();H.prototype.R.call(this)};
dH.prototype.init=function(a){if(!this.h){if(this.g=a||null)this.l.G(this.g,"activityMonitor",this.w),gH(this);if(X.J&&!(x.ima&&x.ima.video&&x.ima.video.client&&x.ima.video.client.tagged)){Ia("ima.video.client.sdkTag",!0,void 0);var b=x.document;a=Re("SCRIPT");var c=Mc(Dc(Ec("https://s0.2mdn.net/instream/video/client.js")));Gd(a,c);a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}Vj(ir());Np.D().M=X.M;this.u=!0;Np.D().l=!0;this.i=(Sa(null),null);
a=Np.D();b="h"==mp(a)||"b"==mp(a);c=!N.D().g;b&&c&&(a.C=!0,a.J=new ln);this.h=!0}};
var hH=function(a,b,c,d,e){e=void 0===e?{}:e;if(a.h){d&&null==e.opt_osdId&&(e.opt_osdId=d);if(a.i)return a.i(b,c,e);if(a=d?a.C.get(d):X.aa){if(null==e.opt_fullscreen){if(null==a)d=!1;else if((ie||ke)&&null!=a.webkitDisplayingFullscreen)d=a.webkitDisplayingFullscreen;else{d={left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight};try{Sa(a.getBoundingClientRect)&&We(De(a),a)&&(d=a.getBoundingClientRect())}catch(f){}d=Du(d.width,d.height)}e.opt_fullscreen=d}null==e.opt_adElement&&
(e.opt_adElement=a)}return qj.Id(469,$a(Zp,b,c,e),void 0)||{}}return{}};dH.prototype.hd=function(){this.o.set((void 0).cl(),void 0);(0!=X.M?Np.D().l:this.u)&&hH(this,"loaded",(void 0).cl(),void 0)};var Tp=function(a,b){a=a.o.get(b);return Sa(a)?a():{}},gH=function(a){if(Sa(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.g.send("activityMonitor","pageSignals",b)}};
dH.prototype.w=function(a){var b=a.dc,c=b.queryId,d={},e=null;d.eventId=b.eventId;switch(a.fc){case "getPageSignals":gH(this);break;case "reportVastEvent":e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);d.viewabilityData=hH(this,e,c,a,f);this.g.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":c={},c.eventId=b.eventId,a=b.osdId,dc(b,"isFullscreen")&&(e=b.isFullscreen),dc(b,"loggingId")&&(b=b.loggingId,c.loggingId=b,GG.D().report(43,
{step:"beforeLookup",logid:b,time:Date.now()})),c.engagementString=iH(this,a,e),this.g&&this.g.send("activityMonitor","engagement",c)}};var iH=function(a,b,c){if(!X.J)return"";var d=b?a.C.get(b):X.aa;a={};null!=c&&(a.fullscreen=c);c="";try{c=Fh(function(){return d},a)}catch(e){c="sdktle;"+Jd(e.name,12)+";"+Jd(e.message,40)}return c},jH=function(){var a=2;var b=M&&Wk(M).Vb?!1:fk(lk().h);!kl()&&b&&(a|=2048);return a};Ia("ima.common.getVideoMetadata",function(a){return Tp(fH(),a)},void 0);
Ia("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){Xp(fH(),a,b)},void 0);var kH=function(a,b,c){var d=Error.call(this);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.o=b;this.g=c;this.i=a};w(kH,Error);var lH=function(a,b){a.l||(a.l=b)};h=kH.prototype;h.getAd=function(){return this.l};h.getInnerError=function(){return this.h};h.getMessage=function(){return this.o};h.toString=function(){return"AdError "+this.g+": "+this.getMessage()+(null!=this.getInnerError()?" Caused by: "+this.getInnerError():"")};
h.oa=function(){for(var a={},b=a=(a.type=this.i,a.errorCode=this.g,a.errorMessage=this.getMessage(),a),c=this.getInnerError(),d=0;3>d;++d)if(c instanceof kH){var e={};e=(e.type=c.i,e.errorCode=c.g,e.errorMessage=c.getMessage(),e);b=b.innerError=e;c=c.getInnerError()}else{null!=c&&(b.innerError=String(c));break}return a};var mH=function(a,b){this.h=a;this.g=b},nH=function(a){return a.g?-1:a.h};var oH=function(){this.g=new Map},qH=function(a,b){b.forEach(function(c){var d=c.g,e=pH(a,d);e.push(c);a.g.set(d,e)})},rH=function(a,b,c,d){var e=null,f=null;d&&(-1!=nH(d)?e=nH(d):f=d.g?d.h:-1);c=new Xq(b,c,e,f);d=pH(a,b);d.push(c);a.g.set(b,d)},pH=function(a,b){return null!=b?a.g.get(b)||[]:[]};oH.prototype.isEmpty=function(){return 0==this.g.size};var sH=function(a,b){return pH(a,b).map(function(c){return c.url})},tH=function(a,b){b.g.forEach(function(c){qH(a,c)})};var uH=function(){this.ca=-1;this.ci=[];this.M="";this.l=new oH;this.J=null};h=uH.prototype;h.Fa=function(){return this.bg};h.getDuration=function(){return this.ca};h.rg=function(a){this.ia=a};h.qg=function(a){this.ea=a};h.Hh=function(){return null};h.cg=function(){return null};h.getAd=function(){return this.J};var vH=function(a,b){a.ci=b},wH=function(a){var b=new oH;a.aa().forEach(function(c){tH(b,c.l)});return b};
uH.prototype.aa=function(){for(var a=[this],b=this.J.h;b;){var c=xH(this,b)||xH(this,b,!0);null!=c&&a.push(c);b=b.h}return a};var xH=function(a,b,c){c=void 0===c?!1:c;return b.w.find(function(d){var e=d.Fa()==a.Fa();return d instanceof a.constructor&&(c||e)})};var yH=function(a,b,c,d,e){uH.call(this);z(C(a))&&(a="goog_"+Md++ +"_ima");this.sa=C(a);this.va=b;this.X=c;this.H=d;this.h=e;null==this.H?this.na=null:this.na=nE[this.H]||"Other"};w(yH,uH);h=yH.prototype;h.getContent=function(){null==this.K&&(this.K=this.F(),Se(this.K,zH(this)));var a=this.K;if("outerHTML"in a)a=a.outerHTML;else{var b=Oe(De(a),"DIV");b.appendChild(a.cloneNode(!0));a=b.innerHTML}return a};h.getContentType=function(){return this.na};h.Mb=function(){return this.va};h.Qc=function(){return this.Mb().width};
h.Pc=function(){return this.Mb().height};h.jj=function(){return this.h};h.Hh=function(){return"VPAID"==this.C&&"Javascript"==this.na?this.h:null};h.cg=function(){return this.C};h.Lb=function(){return this.W};var AH=function(){this.g="";this.i="http://www.google.com/adsense/support";this.h=0;this.l=!1};var BH=Zd?Mc(Dc(Ec('javascript:""'))):Mc(Dc(Ec("about:blank")));Jc(BH);var CH=Zd?Mc(Dc(Ec('javascript:""'))):Mc(Dc(Ec("javascript:undefined")));Jc(CH);var DH=function(a,b,c,d,e){yH.call(this,a,b,c,d,e);this.K=null;this.T=-2;this.u=!1};w(DH,yH);DH.prototype.F=function(){var a=C(this.h);z(C(this.Lb()))||(a=new O(a),Bq(a,"clickTAG",encodeURIComponent(String(this.Lb()))),a=a.toString());var b=Ne("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"},null);b.height=this.Pc();"Text"!=this.getContentType()&&(b.width=this.Qc());b.setAttribute("src",ZF(a));return EH(this,b)};
DH.prototype.i=function(a){var b=C(this.h);z(C(this.Lb()))||(b=new O(b),Bq(b,"clickTAG",encodeURIComponent(String(this.Lb()))),b=b.toString());return new XB({height:this.Pc(),width:this.Qc(),sc:ZF(b),attribution:a.g},"embedded",a.h)};
var EH=function(a,b){var c=Ne("DIV");qh(c,"cursor","default");qh(c,"position","relative");qh(c,"z-index","1001");qh(c,"height",a.Pc()+"px");"Text"!=a.getContentType()&&qh(c,"width",a.Qc()+"px");a=a.sa;z(C(a))||(c.id=a);c.appendChild(b);return c},zH=function(a){if(!a.u)return null;a=[].concat(u(sH(wH(a),"start")),u(sH(wH(a),"creativeView")));if(null!=a&&0<a.length){var b=[];a.forEach(function(c){if(!z(C(c))){var d=Ee().h("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});d.src=Jc(BH).toString();
qh(d,{display:"block",height:"0px",width:"0px"});var e="iframe"+Math.floor(1E9*Math.random());d.setAttribute("height",0);d.setAttribute("width",0);d.setAttribute("src",ZF(c));d.setAttribute("id",e);b.push(d)}});return b}return null};DH.prototype.aa=function(){for(var a=[this],b=this.getAd().h;b;){var c=this.u?xH(this,b)||xH(this,b,!0):FH(this,b)||FH(this,b,!0);null!=c&&a.push(c);b=b.h}return a};
var FH=function(a,b,c){c=void 0===c?!1:c;return b.w.find(function(d){var e=d.Fa()==a.Fa();return a instanceof d.constructor&&(c||e)})};var GH=function(a,b,c){this.g=a;this.h=b;this.i=c};GH.prototype.getContent=function(){return this.g.getContent()};GH.prototype.getContentType=function(){return this.g.getContentType()};GH.prototype.Fa=function(){return this.g.Fa()};var kG=function(a){a=a.g.getAd().g;return null!=a?a.Fa():NaN};GH.prototype.getAd=function(){return this.g.getAd()};var HH=function(a,b){a.g.J=b;a.h.forEach(function(c){HH(c,b)})};
GH.prototype.oa=function(){var a={};a.apiFramework=this.g.cg()||"";a.content=this.getContent();a.size=this.g.Mb();a.resourceType=this.g.X;a.resourceValue=this.g.h;a.contentType=this.getContentType();a.sequenceNumber=this.Fa();a.masterSequenceNumber=kG(this);a.adSlotId=this.i;a.backupCompanions=this.h.map(function(b){return b.oa()});a.height=this.g.Mb().height;a.width=this.g.Mb().width;return a};var IH=function(a,b){this.g=a;this.h=b};var JH=function(a,b){a=void 0===a?new oH:a;b=void 0===b?[]:b;this.h=a;this.w=b},KH=function(a,b){b.g.forEach(function(c){qH(a.h,c)})},LH=function(a,b){a=sH(a.h,b);return null!=a?a:[]};var MH=function(a){JH.call(this);this.g=a};w(MH,JH);MH.prototype.getDuration=function(){return this.g};var NH=function(a){JH.call(this);this.g=a};w(NH,JH);var OH=function(a,b,c,d,e,f,g,k,l){JH.call(this,k,l);this.i=a;this.l=b;this.u=c;this.C=g;this.g=f;this.H=d;this.o=e};w(OH,JH);OH.prototype.ue=function(){return this.C};var PH=function(a,b){JH.call(this);this.i=a;this.g=b};w(PH,JH);var QH=function(a,b){JH.call(this,b);this.g=a};w(QH,JH);var RH=function(a){JH.call(this);this.g=a};w(RH,JH);var SH=function(a,b){JH.call(this,b);this.g=a};w(SH,JH);var TH=function(a){var b=[];a=p(a.g);for(var c=a.next();!c.done;c=a.next())c=c.value,1==c.type&&b.push(c);return 0<b.length?b[0]:null};var UH=function(a,b,c){JH.call(this);this.g=a;this.i=b;this.l=c};w(UH,JH);var VH=function(a,b){JH.call(this);this.g=a;this.i=b};w(VH,JH);var WH=function(a,b,c,d){JH.call(this);this.i=a;this.l=b;this.o=c;this.g=d};w(WH,JH);
WH.prototype.init=function(){if(this.i&&this.l&&this.o&&this.g){var a=this.i,b=this.l,c=this.g,d=window,e="//pagead2.googlesyndication.com/bg/"+Id(this.o)+".js",f=d.document,g={};b&&(g._scs_=b);g._bgu_=e;g._bgp_=c;g._li_="v_h.3.386.2";(b=d.GoogleTyFxhY)&&"function"==typeof b.push||(b=d.GoogleTyFxhY=[]);b.push(g);d=Ee(f).createElement("SCRIPT");d.type="text/javascript";d.async=!0;a=Nc(Ec("//tpc.googlesyndication.com/sodar/%{path}"),{path:Id(a)+".js"});Gd(d,a);f.getElementsByTagName("head")[0].appendChild(d)}};var XH=function(a){JH.call(this);this.g=a};w(XH,JH);var YH=function(a){JH.call(this);this.g=a};w(YH,JH);YH.prototype.Fa=function(){return this.g};var ZH=function(a){JH.call(this);this.g=isNaN(a)?-1:a};w(ZH,JH);var $H=function(a,b,c,d,e,f,g,k,l,m){var n=Array(16);if(x.crypto&&x.crypto.getRandomValues){var q=new Uint8Array(16);x.crypto.getRandomValues(q);for(var v=0;v<n.length;v++)n[v]=q[v]}else for(q=0;16>q;q++){v=ab();for(var t=0;t<v%23;t++)n[q]=Math.random();n[q]=Math.floor(256*Math.random())}q=[];n=p(n);for(v=n.next();!v.done;v=n.next())q.push("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(v.value&63));n=q.join("");l=ZF(C(l));$F(l)&&(l=new O(l),Bq(l,"cpn",n),l=l.toString());
Jt.call(this,l,{height:k,width:g,wb:a,mimeType:b,pa:m,bitrate:d,xa:e,maxBitrate:f,ab:c});this.g=n};w($H,Jt);function aI(a){a=a.pa;return"VPAID"==a||"surveys"==a}var cI=function(a,b,c,d,e,f){uH.call(this);this.ca=a;this.i=b;this.h=bI(c);this.N=d.slice();this.g=null;this.u=e;this.o=f};w(cI,uH);var bI=function(a){return a.filter(function(b){return aI(b)&&!z(C(b.mimeType))&&-1!=b.mimeType.indexOf("x-shockwave-flash")?!1:!0})};cI.prototype.Lb=function(){return this.i};cI.prototype.Ec=function(){return this.h};cI.prototype.jj=function(){return null!=this.g?this.g.url:null};
cI.prototype.Hh=function(){var a=dI(this);return null!=a?a.url:null};var dI=function(a){a=a.h.find(function(b){return aI(b)&&!z(C(b.mimeType))&&-1!=b.mimeType.indexOf("javascript")});return null!=a?a:null};cI.prototype.cg=function(){return null!=this.g?this.g.pa:1==this.h.length?this.h[0].pa:null};function eI(a){return a.map(function(b){var c={};c.adIdRegistry=b.g;c.adIdValue=b.h;return c})}
var gI=function(a,b,c,d,e,f,g,k,l,m,n,q,v,t,A,r,L,J,I){var Cb=this;r=void 0===r?null:r;L=void 0===L?!1:L;J=void 0===J?!1:J;I=void 0===I?[]:I;this.u={podSize:1,pod:!1,vmap:!1,fallback:!1,flbAdIds:[],flbAdTypes:[],flbAdPos:[],adTag:"",adResponse:!1,contUrl:"",auto:!1,prxRpl:!1,alloc:0,nativ:!1};this.ea=a;this.Ea=!1;this.ia=b;this.M=c;this.Zd=d;this.qj=e;this.lm=f;this.vj=isNaN(l)||""==l||0==l?-1:l;this.mm=g;this.mj=k;this.Ti=m?m.slice():[];this.kj=n?n.slice():[];this.w=q?q.slice():[];this.sa=[];this.W=
[];this.N=null;this.Si=!0;this.va=this.kc=this.Cc=this.lc=this.h=this.g=null;this.hm=I;this.C=new Map;null!=t&&t.forEach(function(Ad,rg){Cb.C.set(rg,Ad)});this.o=new IE;this.Ri=(this.F=null!=r)?L:!1;this.Ui=this.km?J:!1;this.sj=C(r);this.X=this.H=null;this.Ud=new bH;this.ca=new Be(0,0);this.l=String(Math.floor(1E9*Math.random()));this.Zc=[];this.J=null;this.aa=0;this.tb=this.Wa=!1;this.K=null;this.T=this.Td=!1;this.w.forEach(function(Ad){Ad.J=Cb});this.Dj=A;this.na=new Vv;Xv(this.na,new eu);R(Q.D(),
"ghmsh_eids",HE(BE()));a=[{type:"itag",hc:22},{type:"itag",hc:18}];br(Or)||br(Sr)?a=[{type:"itag",kf:243,Mg:250},{type:"itag",hc:22},{type:"itag",hc:18}]:br(Pr)?a=[{type:"itag",kf:243,Mg:140},{type:"itag",hc:22},{type:"itag",hc:18}]:br(Qr)?a=[{type:"itag",kf:134,Mg:140},{type:"itag",hc:22},{type:"itag",hc:18}]:br(Rr)&&(a=[{type:"itag",kf:243},{type:"itag",hc:22},{type:"itag",hc:18}]);(le||je||Cu()||fe&&Dg)&&a.unshift({type:"hls"});Xv(this.na,new $t(new Qw(a)));Xv(this.na,new Xt);this.i=Wv(this.na,
new Tt([A]),new ns);fI(this,v)};gI.prototype.Ec=function(){var a=this.g;return hI(this)?a.Ec():[]};var hI=function(a){a=a.g;return null!=a&&a instanceof cI},iI=function(a){return null!=a.ia?a.ia:""},jI=function(a){for(var b=[];null!=a;)b=[].concat(u(a.Ti),u(b)),a=a.h;return b},kI=function(a){return null!=a.h?kI(a.h).concat(a.kj):a.kj},lI=function(a){if(null!=a.va)return a.va;var b=null!=a.mj?a.mj:"";a=a.h;return null!=a?(a=lI(a),z(a)?b:a):b};
gI.prototype.getContentType=function(){if(mI(this))return"application/javascript";var a=this.g,b="";if(null===a)return b;if(a instanceof cI)a=a.g,null!==a&&(b=C(a.mimeType));else if(a instanceof DH)switch(a.X){case "IFrame":case "Html":case "Static":b=C(a.H)}return b};
var nI=function(a){return null!=a.h?a.W.concat(nI(a.h)):a.W},HC=function(a){return null!=a.g?a.g.M:""},oI=function(a,b){return a.C.get(b)},pI=function(a){for(var b=new Map;a;)a.C.forEach(function(c,d){b.get(d)?b.set(d,[].concat(u(b.get(d)),[c])):b.set(d,[c])}),a=a.h;return b},qI=function(a,b){var c=[];a.C.forEach(function(d){c=c.concat(LH(d,b))});return c},rI=function(a,b){a.g=b;a.ca=new Be(0,0);if(null!=a.g&&(a.g instanceof DH&&(a.ca=a.g.Mb()),b=a.h,null!=b)){var c=xH(a.g,b)||xH(a.g,b,!0);rI(b,c)}b=
a.getDuration();a.Ud.Jb=b},tI=function(a){if(a.H){var b=new Tt(sI(a));a.i=Wv(a.na,b)}},sI=function(a){return a.h?[a.Dj].concat(u(sI(a.h))):[a.Dj]},uI=function(a){var b=0;for(a=a.h;null!=a;)a=a.h,b++;return b},vI=function(a){return null!=a.ea?a.ea:""},wI=function(a){if(null!=a.kc)return a.kc.slice();var b=oI(a,"inred_info");b=b?b.g:[];var c=a.h?vI(a.h):[];a=a.h?wI(a.h):[];return[].concat(b,c,a)},xI=function(a){a=a.g;return null!=a?C(a.ea):""},yI=function(a){a=a.g;return null!=a?(a=a.ia,null!=a?a:""):
""},zI=function(a){if(null!=a.Cc)return a.Cc.slice();var b=oI(a,"inred_info");b=b?b.l:[];var c=a.h?yI(a.h):[];a=a.h?zI(a.h):[];return[].concat(b,c,a)},AI=function(a){if(null!=a.lc)return a.lc.slice();var b=oI(a,"inred_info");b=b?b.i:[];var c=a.h?iI(a.h):[];a=a.h?AI(a.h):[];return[].concat(b,c,a)},BI=function(a){if(a.h){var b=BI(a.h);if(b)return b}return(a=oI(a,"metrics"))?a.g:null},CI=function(a){a=a.g;return null!=a?a.ci:[]},DI=function(a){a=CI(a);return a.length?a[0].h:"unknown"},EI=function(a){a=
CI(a);return a.length?a[0].g:"unknown"},FI=function(a){if(a.h){var b=FI(a.h);if(b)return b}return(a=oI(a,"metrics"))?a.i:null},GI=function(a){if(null==a.h)return[a.M];var b=GI(a.h);b.push(a.M);return b},HI=function(a){a=oI(a,"waterfall");return null==a?-1:a.g},II=function(a){if(-1!=a.vj)return a.vj;a=oI(a,"pod");return null==a?-1:a.Fa()},JI=function(a){a.Td||(a.Td=!0,a.K.fj(),null!=a.h&&JI(a.h))},KI=function(a){return a.K&&a.K.Pg()?a.K:null!=a.h?KI(a.h):null},MI=function(a){do if(LI(a))return!1;while(a=
a.h);return!0},NI=function(a,b){return b||null==a.h?a.sa:a.sa.concat(NI(a.h))},fI=function(a,b){a.sa=b?b.slice():[];a.sa.forEach(function(c){a.W=a.W.concat(c.g.slice())});a.W.forEach(function(c){HH(c,a)})},OI=function(a,b){return a.w.some(function(c){return c instanceof cI&&"linear"==b||c instanceof DH&&"nonlinear"==b?!0:!1})},PI=function(a){return-1!=a.getDuration()&&0!=a.getDuration()&&7>=a.getDuration()};
gI.prototype.isLinear=function(){return this.Wa?this.tb:QI(this)?!0:LI(this)?"video"==this.qj:OI(this,"linear")};
var QI=function(a){var b=a.g,c=null!=a.H&&null!=a.H.u&&a.H.u;return LI(a)&&null!=b&&b instanceof DH&&(90<a.ca.height||c)},RI=function(a,b){if(null==b)return null;var c=oI(b,"adx");return null!=c?c:RI(a,b.h)},SI=function(a){var b=RI(a,a.h);if(null!=b)return b.i?b.g:null;b=null;var c=new mH(5,!1);var d=null;for(var e=p(a.C.values()),f=e.next();!f.done;f=e.next())if(f=f.value,0!=LH(f,"skip").length){d=f;break}null!=d?d="implicit":(d=a.C.get("DFP"),d=d instanceof QH&&d.g?"explicit":"none");"implicit"==
d&&(b=c);e=a.g;null==b&&null!=e&&e instanceof cI&&(b=e.u);null==b&&"explicit"==d&&(b=c);return QI(a)?(oI(a,"AdSense"),new mH(5,!1)):b},TI=function(a){var b=SI(a);return null!=b?(a=a.getDuration(),b.g&&0<a&&(b.g=!1,b.h=b.h*a/100),nH(b)):-1};gI.prototype.km=function(){return this.F};var IC=function(a){return null!==a.g?a.g.Lb():null},UI=function(a){return null!=a.g?a.g.getDuration():-1};
gI.prototype.getDuration=function(){if(QI(this))return oI(this,"AdSense"),15+(null!=this.N?this.N:0);if(this.F){var a=oI(this,"wrapper_info");if(a)return a.getDuration()}return UI(this)+(null!=this.N?this.N:0)};
var VI=function(a){var b=null;a=a.g;null!=a&&(b=a.jj(),z(C(b))&&(b=null));return b},WI=function(a){return null!==a.g?a.g.Hh():null},LI=function(a){var b;(b=mE.includes(a.M))||(b=["ADSENSE-VIRAL"].includes(a.M));return b},XI=function(a){if(a.i instanceof vt&&MC(a.i))a=!0;else{var b;if(b=LI(a))if(null==a.ia||null==a.H)b=!1;else{b=null==a.H?null:a.H.g;if(b=(null==b?!1:zs(b))&&LI(a))b=!["ADSENSE/ADX"].includes(a.M);b=b?!0:!1}a=b&&!PI(a)&&!z(C(a.J))&&null!==SI(a)&&0<nH(SI(a))}return a},YI=function(a){a=
oI(a,"InfoCards");return null!=a&&null!=TH(a)};gI.prototype.getAdPodInfo=function(){return this.Ud};var ZI=function(a,b){a.Zc=b};gI.prototype.toString=function(){return"Ad: "+this.ea};
var $I=function(a,b){a=GI(a);for(var c=a.length-1;0<=c;c--)if("UNKNOWN"!=a[c])return b.includes(a[c]);return!1},mI=function(a){return null!=WI(a)},aJ=function(a){return hI(a)?a.g.N.some(function(b){return"SIMID"==C(b.pa)}):!1},bJ=function(a){for(var b=oI(a,"sodar");!b&&(a=a.h);)b=oI(a,"sodar");return b},cJ=function(a,b){a:if(mI(a)||YI(a)||XI(a))var c=!1;else{c=a;for(var d=!1;null!=c;){var e=oI(c,"uiSettings");if(null!=e)if(e.g)null==c.h&&(d=!0);else{c=!1;break a}c=c.h}c=d}a.T=c&&b;(b||c)&&GG.D().report(60,
{ui_disabled_available:c,ui_disable_requested:b},!0);return a.T},dJ=function(a){var b=[];a.g instanceof cI&&b.push.apply(b,u(a.g.o));a.h&&b.push.apply(b,u(dJ(a.h)));var c=new Set,d=[];b.forEach(function(e){c.has(e.Wc)||(c.add(e.Wc),d.push(e))});return d},eJ=function(a){var b=a.hm.slice();a=oI(a,"adVerifications");null!=a&&(b=b.concat(a.g));return b},fJ=function(a){var b=eJ(a);a=a.h;null!=a&&(b=fJ(a).concat(b));return b},hJ=function(a){for(var b=gJ(a);null!=a.h;)a=a.h,b=gJ(a)||b;return b},gJ=function(a){a=
a.C.get("GfpCookieExtension");return a instanceof RH?a.g:null};
gI.prototype.oa=function(){var a=this.g;if(null==a)return{};var b={};b.adId=vI(this);b.adPodInfo=this.getAdPodInfo().oa();b.adQueryId=this.l;b.adSystem=iI(this);b.adWrapperCreativeIds=zI(this);b.adWrapperIds=wI(this);b.adWrapperSystems=AI(this);b.advertiserName=null!=this.Zd?this.Zd:"";b.apiFramework=null!=this.g?this.g.cg():null;b.clickThroughUrl=a.Lb()||"";b.contentType=this.getContentType();b.creativeAdId=xI(this);b.creativeId=yI(this);b.dealId=lI(this);b.description=C(this.lm);b.disableUi=this.T;
b.duration=this.getDuration();b.height=this.isLinear()?0:this.ca.height;b.linear=this.isLinear();b.mediaUrl=VI(this);b.minSuggestedDuration=null==this.g?-2:this.g instanceof DH?this.g.T:this.g.getDuration();b.skippable=null!=SI(this);b.skipTimeOffset=TI(this);b.surveyUrl=this.mm;b.title=C(this.qj);b.traffickingParameters=HC(this);b.uiElements=this.Zc;b.universalAdIds=eI(CI(this));b.universalAdIdRegistry=EI(this);b.universalAdIdValue=DI(this);b.vpaid=mI(this);b.width=this.isLinear()?0:this.ca.width;
a:{if(hI(this)&&(a=this.g.g,null!=a)){a=a.xa||0;break a}a=0}b.vastMediaBitrate=a;a=0;var c=this.g;c&&(c instanceof cI?(c=c.g,null!==c&&(a=c.height||0)):c instanceof yH&&(a=c.Mb().height));b.vastMediaHeight=a;a=0;if(c=this.g)c instanceof cI?(c=c.g,null!==c&&(a=c.width||0)):c instanceof yH&&(a=c.Mb().width);b.vastMediaWidth=a;return b};
var iJ=function(a){var b=a.g,c=null!=b?wH(b):new oH;kI(a).forEach(function(d){rH(c,"impression",d)});jI(a).forEach(function(d){rH(c,"error",d)});pI(a).forEach(function(d){d.forEach(function(e){tH(c,e.h)})});return c.g},jJ=function(a){for(var b=[];null!=a;)a.C.forEach(function(c){b=[].concat(u(b),u(c.w))}),a=a.h;return b};var kJ=function(){H.call(this);this.h=[]};w(kJ,H);kJ.prototype.Sa=function(){return null};kJ.prototype.C=function(){return!0};var lJ=function(a){a.Sa(new gI("empty-ad","GDFP","GDFP","","","","","",0,[],[],[],[],new Map,new St(new uv)))};kJ.prototype.w=function(){return null};kJ.prototype.J=function(){};var nJ=function(a){a&&null!=a.gfpCookieValue&&(mJ=a.gfpCookieValue)},mJ="";var oJ=function(a,b,c,d){this.x=a;this.y=b;this.width=c;this.height=d};var pJ=function(a){this.Za=a;this.g=!1;this.ga=new oH},qJ=function(a){if(null==a.Za.g)return null;a=a.Za.g.match(Ug)[6]||null;if(!a)return null;var b=null;Vg(a,function(c,d){if(null==b)switch(c){case "max_ad_duration":case "pmxd":b=parseInt(d,10)/1E3}});return b};var rJ=function(){this.h=this.i=this.o=this.l=null};rJ.prototype.da=function(){return this.o};var sJ=function(a){G.call(this,"adError");this.h=a};w(sJ,G);sJ.prototype.getError=function(){return this.h};var tJ=function(a,b){this.message=a;this.errorCode=b};tJ.prototype.getMessage=function(){return this.message};
var uJ=new tJ("Unable to request ads from server. Cause: {0}.",1005),vJ=new tJ("Cannot parse the {0} value for the adslist response: {1}.",900),wJ=new tJ("Invalid usage of the API. Cause: {0}",900),xJ=new tJ("Asset fallback ad replacement.",1021),yJ=new tJ("Asset fallback no ad replacement.",1021),zJ=new tJ("The browser prevented playback initiated without user interaction.",1205),AJ=new tJ("Unable to display one or more required companions.",602),BJ=new tJ("The Consent Management Provider on the page has indicated that it is not ready.",
1300),CJ=new tJ("There was a problem requesting ads from the server.",1005),DJ=new tJ("Ad tag URI {0} is invalid. It must be properly encoded before being passed.",1013),EJ=new tJ("The provided ad type: {0} is not supported.",200),FJ=new tJ("The provided {0} information: {1} is invalid.",1101),GJ=new tJ("The response does not contain any valid ads.",1009),HJ=new tJ("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),IJ=new tJ("The ad playlist response was malformed or empty.",
1010),JJ=new tJ("The ad response was not understood and cannot be parsed.",1010),KJ=new tJ("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900),LJ=new tJ("No assets were found in the VAST ad response.",200),MJ=new tJ("The VAST response document is empty.",1009),NJ=new tJ("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),OJ=new tJ("Ad request reached a timeout.",301),PJ=new tJ("VAST response was malformed and could not be parsed.",
100),QJ=new tJ("VAST media file loading reached a timeout of {0} seconds.",402),RJ=new tJ("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503),SJ=new tJ("The maximum number of VAST wrappers ({0}) has been reached.",302),TJ=new tJ("VAST media file duration differs from the VAST response duration by {0} seconds.",202),UJ=new tJ("Video player received an ad with unexpected or incompatible linearity",201),VJ=new tJ("No additional VAST wrappers allowed.",
300),WJ=new tJ("No Ads VAST response after one or more Wrappers",303),XJ=new tJ("There was an error playing the video ad.",400),YJ=new tJ("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);function ZJ(a,b,c){return $J("adLoadError",a,void 0===b?null:b,Array.prototype.slice.call(arguments,2))}function Y(a,b,c){return $J("adPlayError",a,void 0===b?null:b,Array.prototype.slice.call(arguments,2))}function aK(){var a=Y(XJ),b=Y(zJ);a.h=b;return a}
function bK(a){var b=a;for(a=0;10>a&&null!=b;){if(b instanceof kH){if(1205==b.g)return!0;b=b.getInnerError()}else break;a+=1}return!1}function $J(a,b,c,d){if(c instanceof kH)return c;var e=b.errorCode;b=b.message;if(0<d.length)for(var f=0;f<d.length;f++)b=b.replace(new RegExp("\\{"+f+"\\}","ig"),d[f]);a=new kH(a,b,e);a.h=c;return a}function cK(a,b,c,d){var e=Y.apply(null,[b,void 0===c?null:c].concat(Array.prototype.slice.call(arguments,3)));a.dispatchEvent(new sJ(e))};var dK=function(){mv.apply(this,arguments)};w(dK,mv);dK.prototype.g=function(a,b){mv.prototype.g.call(this,a,void 0===b?!1:b)};var eK=function(){H.call(this);this.F=!1;this.g=null;this.u=this.C=this.K=!1;this.h=0;this.l=[];this.w=!1;this.N=this.M=Infinity;this.i=0;this.o=new T(this);this.J={}};w(eK,H);
var iK=function(a){fK(a);!(a.g instanceof H)&&"ontouchstart"in document.documentElement&&le?(a.J={touchstart:function(b){a.C=!0;a.h=b.touches.length;a.i&&(window.clearTimeout(a.i),a.i=0,a.K=!0);a.w=gK(a,b.touches)||1!=b.touches.length;a.w?(a.M=Infinity,a.N=Infinity):(a.M=b.touches[0].clientX,a.N=b.touches[0].clientY);b=b.touches;a.l=[];for(var c=0;c<b.length;c++)a.l.push(b[c].identifier)},touchmove:function(b){a.h=b.touches.length;if(!le||!zu(xu,8)||Math.pow(b.changedTouches[0].clientX-a.M,2)+Math.pow(b.changedTouches[0].clientY-
a.N,2)>Math.pow(5,2))a.u=!0},touchend:function(b){return void hK(a,b)}},Wb(a.J,function(b,c){a.g.addEventListener(c,b,!1)})):a.o.G(a.g,"click",a.T)},fK=function(a){a.o.wa(a.g,"click",a.T);Wb(a.J,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.J={}},hK=function(a,b){!a.C||1!=a.h||a.u||a.K||a.w||!gK(a,b.changedTouches)||(a.i=window.setTimeout(function(){return void jK(a)},300));a.h=b.touches.length;0==a.h&&(a.C=!1,a.u=!1,a.l=[]);a.K=!1};eK.prototype.T=function(){jK(this)};
var gK=function(a,b){for(var c=0;c<b.length;c++)if(a.l.includes(b[c].identifier))return!0;return!1},jK=function(a){a.i=0;a.dispatchEvent(new G("click"))};eK.prototype.R=function(){null!=this.g&&this.F&&(fK(this),this.u=this.C=this.F=!1,this.h=0,this.l=[],this.w=!1);this.o.$();this.o=null;H.prototype.R.call(this)};var kK=function(a,b){G.call(this,"vpaidEvent");this.l=a;this.h=b};w(kK,G);var lK=function(a,b,c){b=void 0===b?null:b;c=void 0===c?null:c;G.call(this,a);this.h=b;this.Da=c};w(lK,G);lK.prototype.getAd=function(){return this.h};var mK=function(){this.loadVideoTimeout=8E3;this.autoAlign=!0;this.bitrate=-1;this.uiElements=null;this.enablePreloading=this.disableClickThrough=!1;this.mimeTypes=null;this.restoreCustomPlaybackStateOnAdBreakComplete=!1;this.h=!0;this.useStyledNonLinearAds=this.useStyledLinearAds=this.useLearnMoreButton=!1;this.playAdsAfterTime=-1;this.g=this.useVideoAdUi=!0;this.disableUi=!1};mK.prototype.oa=function(a){var b={};Object.assign(b,this);a&&(b.useClickElement=!1,b.disableClickThrough=!0);return b};
var nK=function(a,b){if(b){a.autoAlign=b.autoAlign||a.autoAlign;var c=Rd(b.bitrate);"number"===typeof c&&!isNaN(c)&&0<c&&(a.bitrate=c);a.disableClickThrough=b.disableClickThrough||a.disableClickThrough;a.disableUi=b.disableUi||a.disableUi;a.enablePreloading=b.enablePreloading||a.enablePreloading;b.mimeTypes&&0!=b.mimeTypes.length&&(a.mimeTypes=b.mimeTypes);c=Rd(b.playAdsAfterTime);"number"===typeof c&&!isNaN(c)&&0<c&&(a.playAdsAfterTime=c);a.restoreCustomPlaybackStateOnAdBreakComplete=b.restoreCustomPlaybackStateOnAdBreakComplete||
a.restoreCustomPlaybackStateOnAdBreakComplete;c=Rd(b.loadVideoTimeout);"number"===typeof c&&!isNaN(c)&&0<c&&(a.loadVideoTimeout=c);a.h=!1===b.useClickElement?!1:a.h;a.uiElements=b.uiElements||a.uiElements;a.useLearnMoreButton=b.useLearnMoreButton||a.useLearnMoreButton;a.useStyledLinearAds=b.useStyledLinearAds||a.useStyledLinearAds;a.useStyledNonLinearAds=b.useStyledNonLinearAds||a.useStyledNonLinearAds;a.useVideoAdUi=!1===b.useVideoAdUi?!1:a.useVideoAdUi;a.g=b.useYouTubeMetadata||a.g}};var oK=function(a,b){b=void 0===b?"videoDisplay1":b;H.call(this);this.h=a;this.g=b;this.l=this.i=-1;this.aa="";this.K=this.C=this.u=this.o=this.J=!1;this.N=-1;this.X="";this.M=null;this.T=!0;this.F=new T(this);this.W=8E3;this.w=0};w(oK,H);oK.prototype.od=function(){this.F.G(this.h,this.g,this.Qi);this.h.send(this.g,"startTracking")};oK.prototype.Nc=function(){Nu(this.F);this.h.send(this.g,"stopTracking")};oK.prototype.load=function(){throw Error("Unexpected usage of VideoDisplayChannel");};
var qK=function(a,b,c,d){a.X=b||"";pK(a);d=d?d.oa():null;if(c){if(c instanceof yt){a.h.send(a.g,"load",{videoUrl:b,adPodInfo:d,muxedMediaUrl:c.w,muxedMimeType:c.h,muxedVideoCodec:c.g,muxedAudioCodec:c.i,mseCompatible:c.H});return}if(c instanceof xt){var e=c.getVideoUrl(),f=c.F,g=c.h,k=c.C,l=c.g,m=c.i;if(e&&f&&g&&k&&l&&m){a.h.send(a.g,"load",{videoUrl:b,adPodInfo:d,demuxedVideoUrl:e,demuxedAudioUrl:f,demuxedVideoMimeType:g,demuxedAudioMimeType:k,demuxedVideoCodec:l,demuxedAudioCodec:m,mseCompatible:c.H});
return}}}a.h.send(a.g,"load",{videoUrl:b,adPodInfo:d})};oK.prototype.reset=function(a){this.Mc()||this.Bd()||this.pause();le&&!a&&(rK(this,.001),qK(this,"",null,null));(ie||ke)&&this.Xe()&&!a&&this.h.send(this.g,"exitFullscreen")};var pK=function(a){a.l=-1;a.i=-1;a.C=!1;a.o=!1;a.J=!1;a.T=!0;sK(a)},rK=function(a,b){a.h.send(a.g,"setCurrentTime",{currentTime:b})},tK=function(a,b){a.F.wa(a.h,a.g,a.Qi);a.g=b?"videoDisplay2":"videoDisplay1"};h=oK.prototype;
h.setVolume=function(a){this.N=a;this.h.send(this.g,"setVolume",{volume:a})};h.zh=function(a){return XF().includes(a)};h.nd=function(){this.h.send(this.g,"play");this.w||(this.w=sg(this.ea,this.W,this));return Promise.resolve()};h.pause=function(){this.h.send(this.g,"pause");sK(this)};h.Ld=function(){pK(this);le||this.h.send(this.g,"unload")};h.hh=function(){return null};h.ih=function(){return this.l};h.getCurrentTime=function(){return this.i};h.getDuration=function(){return this.l};h.getError=function(){return this.M};
h.getVideoUrl=function(){return this.X};h.getVolume=function(){return this.u?0:this.N};h.Bd=function(){return this.C};h.Xe=function(){return this.K};h.isMuted=function(){return this.u};h.Mc=function(){return this.o};h.R=function(){this.F.$();H.prototype.R.call(this)};
h.Qi=function(a){var b=a.dc;a=a.fc;switch(a){case "click":this.dispatchEvent("click");break;case "end":this.C=!0;this.dispatchEvent("end");break;case "error":sK(this);if(null==b.errorCode||null==b.errorMessage||null==b.type)a=null;else for(var c=a=new kH(b.type,b.errorMessage,b.errorCode),d=b.innerError,e=0;3>e;++e)if(d instanceof Object){var f=new kH(d.type,d.errorMessage,d.errorCode);c=c.h=f;d=d.innerError}else{null!=d&&(c.h=Error(b.innerError));break}null!=a?this.M=a:this.M=Error(b.errorMessage||
XJ.message);this.dispatchEvent("error");break;case "fullscreen":this.K=!0;this.dispatchEvent("beginFullscreen");break;case "exitFullscreen":this.K=!1;this.dispatchEvent("endFullscreen");break;case "loaded":this.dispatchEvent("loaded");break;case "mute":this.u=!0;this.dispatchEvent("volumeChange");break;case "pause":this.o||(this.o=!0,null!=b.ended&&(this.C=b.ended),this.dispatchEvent("pause"));break;case "play":this.o=!1;this.dispatchEvent("play");break;case "autoplayDisallowed":this.dispatchEvent("autoplayDisallowed");
break;case "skip":this.dispatchEvent("skip");break;case "focusSkipButton":this.dispatchEvent("focusSkipButton");break;case "start":this.J||(sK(this),this.J=!0,uK(this,b),this.dispatchEvent("start"));break;case "timeupdate":this.T&&(a=b.currentTime,b=b.duration,void 0!==a&&void 0!==b&&(this.i=Nd(a),this.l=Nd(b),this.dispatchEvent("timeUpdate")));break;case "timedMetadata":this.aa=b.TXXX;this.dispatchEvent("timedMetadata");break;case "unmute":this.u=!1;this.dispatchEvent("volumeChange");break;case "volumeChange":uK(this,
b);this.dispatchEvent("volumeChange");break;case "loadedmetadata":this.l=Nd(b.duration);this.dispatchEvent(a);break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":this.dispatchEvent(a)}};var uK=function(a,b){b=b.volume;"number"!==typeof b||isNaN(b)||0>b||1<b||(a.u=0==b,a.N=b)};oK.prototype.ea=function(){this.J||this.dispatchEvent("mediaLoadTimeout")};
var sK=function(a){a.w&&(tg(a.w),a.w=0)};var vK=function(a,b){JH.call(this,b);this.g=a};w(vK,JH);var wK=function(){H.call(this);this.i=new jq;this.g=null;this.l=new Map;this.u=new T(this);F(this,this.u);this.N="";this.h=new Map;this.w=this.o=this.T=null;this.K=-1;this.C=!1;this.M={};N.D().o=!0;VF()};bb(wK,H);
var xK=null,yK=function(){null==xK&&(xK=new wK);return xK},AK=function(a,b){var c=a.l;VF()&&zK(yK(),c,b);var d=[];(pI(a).get("activeview")||[]).forEach(function(e){d.push.apply(d,u(e.g))});d.length&&yK().l.set(c,d)},BK=function(a){yK().h.delete(a.l);yK().l.delete(a.l)},zK=function(a,b,c){a.h.set(b,c)},CK=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;yK().dispatchEvent(new lK("measurable_impression",null,c))},DK=function(a,b){var c={};c.queryId=a;c.viewabilityString=b;yK().dispatchEvent(new lK("viewable_impression",
null,c))},EK=function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;yK().dispatchEvent(new lK("externalActivityEvent",null,d))},FK=function(a,b){a.g&&a.u.wa(a.g,"activityMonitor",a.F);a.g=b;a.u.G(a.g,"activityMonitor",a.F);a.g.send("activityMonitor","getPageSignals")},GK=function(a){var b=yK();if(b.g)if(b.w){var c=ab()-b.K;a(b.w+"_ct"+c)}else{var d=b.i;c=setTimeout(function(){a("timeout");d.Zb().forEach(function(f){d.get(f)===a&&mq(d,f)})},200);b.i.set(c,a);var e={};b.o&&(e.isFullscreen=
b.o.Xe());e.osdId=b.N;e.eventId=c;GG.D().g&&(b.J=ab(),e.loggingId=Math.random(),GG.D().report(43,{step:"sendingMessage",logid:e.loggingId,time:b.J}));b.g.send("activityMonitor","fetchAdTagUrl",e)}else a("")},HK=function(a){yK();a({})};wK.prototype.destroy=function(){this.u.wa(this.g,"activityMonitor",this.F);this.g=null};
wK.prototype.F=function(a){var b=a.dc;switch(a.fc){case "appStateChanged":Np.D();b=b.appState;a=ml.D();a.C!=b&&(a.C=b,(a=Dn.D().g)&&Gl(a.g,!b));break;case "externalActivityEvent":EK(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":CK(b.queryId,b.viewabilityString);break;case "pageSignals":this.T=b.pageSignals;break;case "viewableImpression":DK(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;yK().w=b;yK().K=ab();break;case "viewability":a=
{};a.opt_nativeTime=b.nativeTime;a.opt_nativeViewAttached=b.nativeViewAttached;a.opt_nativeViewHidden=b.nativeViewHidden;a.opt_nativeViewBounds=b.nativeViewBounds;a.opt_nativeViewVisibleBounds=b.nativeViewVisibleBounds;a.opt_nativeVolume=b.nativeVolume;var c=b.queryId;var d=b.vastEvent;c=this.l.get(c)&&"start"==d?this.l.get(c):[];c.length&&(a.opt_configurable_tracking_events=c);this.M=a;a=b.eventId;clearTimeout(a);if(c=this.i.get(a))mq(this.i,a),c(b.viewabilityData);break;case "viewabilityMeasurement":a=
Np.D();c=b.queryId;b=b.viewabilityData;if(N.D().g){a.H=b.nativeVolume;d=b.exposure||0;var e=b.unmeasurable;a=a.u(c,{});null!=b.presenceData&&(null===a.i&&(a.i=new zm),mc(a.i,b.presenceData));-1==a.X&&(a.X=Ok(),a.lc=a.gb().g.g);a.sa+=e?1:0;a.Zc++;lm(a.Ea,d,d,!1,1,!1);a.Jc=e||a.Jc;a=a.za;c=b.position;d=b.exposure||0;e=b.screenShare;a.timestamp=Ok();a.g=new bh(c.top,c.right,c.bottom,c.left);a.i=new xl(a.h.i(),a.g,new bh(0,0,0,0),d,0,a.timestamp,e);a=ml.D();c=b.insideIframe;void 0!==c&&0==c&&(a.h=!1);
b.documentSize&&(a.i=new Be(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new bh(0,b.viewportSize.width,b.viewportSize.height,0))}break;case "engagement":a=b.eventId,clearTimeout(a),c=this.i.get(a),GG.D().g&&(d=-1,this.J&&(d=ab()-this.J),e=!1,c||(e=!0),dc(b,"loggingId")&&GG.D().report(43,{step:"receivedResponse",time:ab(),timeout:e,logid:b.loggingId,timediff:d})),c&&(mq(this.i,a),c(b.engagementString))}};Ia("ima.bridge.getNativeViewability",function(a,b){yK();b({})},void 0);
Ia("ima.bridge.getVideoMetadata",function(a){return(a=yK().h.get(a))?a():{}},void 0);Ia("ima.bridge.triggerViewEvent",DK,void 0);Ia("ima.bridge.triggerMeasurableEvent",CK,void 0);Ia("ima.bridge.triggerExternalActivityEvent",EK,void 0);var IK=function(a,b){gf.call(this);this.g=new T(this);F(this,this.g);this.g.G(b,"userInteraction",this.i);this.h=a};w(IK,gf);IK.prototype.i=function(a){switch(a.fc){case "focusSkipButton":W(this.h,kx,null)}};var JK=function(a){a=void 0===a?new rG:a;H.call(this);this.h=0;this.i=a;this.g=new T(this);F(this,this.g)};w(JK,H);JK.prototype.Fc=function(){return this.h};JK.prototype.start=function(){this.stop();this.g.G(this.i,"contentTimeUpdate",this.l)};JK.prototype.stop=function(){Nu(this.g)};JK.prototype.l=function(a){this.h=a.dc.currentTime;this.dispatchEvent(new G("contentPlayheadChanged"))};var KK=function(a,b){b=void 0===b?new rJ:b;G.call(this,a);this.Rf=[];this.ie=b;this.l=null;this.h=!0};w(KK,G);var LK=function(a,b){this.g=a;this.h=b};var MK=function(a,b){this.g=a;this.h=b};h=MK.prototype;h.ib=function(){return this.g.ib()};h.Vd=function(){return this.g.Vd()};h.Na=function(){return this.g.Na()};h.Kb=function(){return this.h?this.g.Yd():this.g.Kb()};h.xe=function(){return this.g.xe()};h.Ub=function(){};h.qb=function(){};h.Ab=function(){};h.Yd=function(){return this.g.Yd()};h.ve=function(){};h.mg=function(){};h.ng=function(){};h.Qe=function(){};h.Pe=function(){};Mc(Dc(Ec("http://pagead2.googlesyndication.com/omsdk/releases/live/omsdk-v1.js")));function NK(a,b){if(!b)throw Error("Value for "+a+" is undefined, null or blank.");if("string"!==typeof b&&!(b instanceof String))throw Error("Value for "+a+" is not a string.");if(""===b.trim())throw Error("Value for "+a+" is empty string.");}function OK(a,b){if(null==b)throw Error("Value for "+a+" is undefined or null");}function PK(a,b){if(null==b)throw Error(a+" must not be null or undefined.");if("number"!==typeof b||isNaN(b))throw Error("Value for "+a+" is not a number");}
function QK(a,b){PK(a,b);if(0>b||1<b)throw Error("Value for "+a+" is outside the range [0,1]");};function RK(){return/\d+\.\d+\.\d+(-.*)?/.test("1.3.3-google_20200427")}function SK(){for(var a=["1","3","3"],b=["1","0","3"],c=0;3>c;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!0};var TK={LOADED:"loaded",yi:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",wi:"pause",xi:"resume",ki:"bufferStart",ji:"bufferFinish",SKIPPED:"skipped",Po:"volumeChange",On:"playerStateChange",tm:"adUserInteraction"};var UK=function(a,b,c,d){this.h=a;this.method=b;this.version=c;this.g=d},VK=function(a){return!!a&&void 0!==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!==a.omid_message_version&&"string"===typeof a.omid_message_guid&&"string"===typeof a.omid_message_method&&"string"===typeof a.omid_message_version&&(void 0===a.omid_message_args||void 0!==a.omid_message_args)},WK=function(a){return new UK(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_args)};
UK.prototype.oa=function(){var a={};a=(a.omid_message_guid=this.h,a.omid_message_method=this.method,a.omid_message_version=this.version,a);void 0!==this.g&&(a.omid_message_args=this.g);return a};var XK=function(a){this.h=a};XK.prototype.oa=function(a){return JSON.stringify(a)};function YK(a,b){return a&&(a[b]||(a[b]={}))}function ZK(a,b){var c;if(c=void 0===c?"undefined"===typeof omidExports?null:omidExports:c)a=a.split("."),a.slice(0,a.length-1).reduce(YK,c)[a[a.length-1]]=b};function $K(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return"y"===a?(b&3|8).toString(16):b.toString(16)})};function aL(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];bL(function(){throw new (Function.prototype.bind.apply(Error,[null,"Could not complete the test successfully - "].concat(u(b))));},function(){return console.error.apply(console,u(b))})}function bL(a,b){"undefined"!==typeof jasmine&&jasmine?a():"undefined"!==typeof console&&console&&console.error&&b()};var cL=function(a){try{return a.frames?!!a.frames.omid_v1_present:!1}catch(b){return!1}};var dL=function(a){this.h=a;this.handleExportedMessage=dL.prototype.i.bind(this)};w(dL,XK);dL.prototype.sendMessage=function(a,b){b=void 0===b?this.h:b;if(!b)throw Error("Message destination must be defined at construction time or when sending the message.");b.handleExportedMessage(a.oa(),this)};dL.prototype.i=function(a,b){VK(a)&&this.g&&this.g(WK(a),b)};var eL=eval("this"),fL=function(){if("undefined"!==typeof omidGlobal&&omidGlobal)return omidGlobal;if("undefined"!==typeof global&&global)return global;if("undefined"!==typeof window&&window)return window;if("undefined"!==typeof eL&&eL)return eL;throw Error("Could not determine global object context.");}();function gL(a){return null!=a&&"undefined"!==typeof a.top&&null!=a.top}function hL(a){if(a===fL)return!1;try{if("undefined"===typeof a.location.hostname)return!0}catch(b){return!0}return!1};var iL=function(a,b){this.h=b=void 0===b?fL:b;var c=this;a.addEventListener("message",function(d){if("object"===typeof d.data){var e=d.data;VK(e)&&d.source&&c.g&&c.g(WK(e),d.source)}})};w(iL,XK);iL.prototype.sendMessage=function(a,b){b=void 0===b?this.h:b;if(!b)throw Error("Message destination must be defined at construction time or when sending the message.");b.postMessage(a.oa(),"*")};var jL=["omid","v1_SessionServiceCommunication"];function kL(a){return jL.reduce(function(b,c){return b&&b[c]},a)};var lL=function(a,b){NK("Partner.name",a);NK("Partner.version",b);this.name=a;this.version=b};ZK("OmidSessionClient.Partner",lL);var mL=function(a,b,c){NK("VerificationScriptResource.resourceUrl",a);this.i=a;this.g=b;this.h=c};mL.prototype.toJSON=function(){return{resourceUrl:this.i,vendorKey:this.g,verificationParameters:this.h}};ZK("OmidSessionClient.VerificationScriptResource",mL);var nL=function(a,b,c){c=void 0===c?null:c;OK("Context.partner",a);this.g=a;this.i=b;this.h=c};ZK("OmidSessionClient.Context",nL);var oL={sessionError:"reportError"},pL=Object.keys(TK).map(function(a){return TK[a]}),qL=["impressionOccurred"],rL=function(){var a=void 0===a?fL:a;this.g=a.omidSessionInterface};rL.prototype.sendMessage=function(a,b,c){"registerSessionObserver"==a&&(c=[b]);oL[a]&&(a=oL[a]);b=this.g;0<=qL.indexOf(a)&&(b=b.adEvents);0<=pL.indexOf(a)&&(b=b.videoEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,u(c))};var uL=function(a,b,c){OK("AdSession.context",a);this.ca=a;this.H=!1;if(!b){var d;"undefined"===typeof d&&"undefined"!==typeof window&&window&&(d=window);d=gL(d)?d:fL;var e=void 0===e?cL:e;a:{b=p([d,gL(d)?d.top:fL]);for(var f=b.next();!f.done;f=b.next()){b:{var g=d;f=f.value;var k=e;if(!hL(f))try{var l=kL(f);if(l){var m=new dL(l);break b}}catch(n){}m=k(f)?new iL(g,f):null}if(g=m){b=g;break a}}b=null}}this.l=b;this.C=c||new rL;this.w=this.J=this.F=!1;this.h=this.i=null;this.u=!1;this.o={};this.l&&
(this.l.g=this.K.bind(this));this.g("setClientInfo","1.3.3-google_20200427",this.ca.g.name,this.ca.g.version);sL(this,a.i);(a=a.h)&&this.g("setContentUrl",a);tL(this)},vL=function(a){return!!a.l||null!=a.C.g},wL=function(a,b){a.sendMessage("registerSessionObserver",b)};uL.prototype.error=function(a,b){this.g("sessionError",a,b)};uL.prototype.g=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.sendMessage.apply(this,[a,null].concat(u(c)))};
uL.prototype.sendMessage=function(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];if(this.l)e=$K(),b&&(this.o[e]=b),d=new UK(e,"SessionService."+a,"1.3.3-google_20200427",RK()&&SK()?d:JSON.stringify(d)),this.l.sendMessage(d);else if(null!=this.C.g)try{this.C.sendMessage(a,b,d)}catch(f){aL("Failed to communicate with SessionInterface with error:"),aL(f)}};
uL.prototype.K=function(a){var b=a.method,c=a.h;a=a.g;if("response"===b&&this.o[c]){var d=RK()&&SK()?a?a:[]:a&&"string"===typeof a?JSON.parse(a):[];this.o[c].apply(this,d)}"error"===b&&window.console&&aL(a)};var sL=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.g("injectVerificationScriptResources",b))},tL=function(a){wL(a,function(b){"sessionStart"===b.type&&(a.w=!0,a.i=b.data.creativeType,a.h=b.data.impressionType);"sessionFinish"===b.type&&(a.w=!1)})};
ZK("OmidSessionClient.AdSession",uL);var xL=function(a,b,c){mL.call(this,a,b,c)};w(xL,mL);var yL=function(){uL.apply(this,arguments)};w(yL,uL);yL.prototype.start=function(){};var zL=function(a,b){nL.call(this,a,b)};w(zL,nL);var BL=function(a){Zh(this,a,AL)};bb(BL,Vh);var DL=function(a){Zh(this,a,CL)};bb(DL,Vh);var EL=function(a){Zh(this,a,null)};bb(EL,Vh);
var AL=[1],CL=[11],FL=function(a,b){var c=$h(a,1);null!=c&&null!=c&&Qh(b,1,c);c=$h(a,2);null!=c&&Th(b,2,c);c=$h(a,3);null!=c&&Th(b,3,c);c=$h(a,4);if(null!=c){var d=c;if(null!=d){Jh(b.g,37);c=b.g;var e=d;e=(d=0>e?1:0)?-e:e;if(0===e)0<1/e?Gh=Hh=0:(Hh=0,Gh=2147483648);else if(isNaN(e))Hh=0,Gh=2147483647;else if(3.4028234663852886E38<e)Hh=0,Gh=(d<<31|2139095040)>>>0;else if(1.1754943508222875E-38>e)e=Math.round(e/Math.pow(2,-149)),Hh=0,Gh=(d<<31|e)>>>0;else{var f=Math.floor(Math.log(e)/Math.LN2);e*=Math.pow(2,
-f);e=Math.round(8388608*e)&8388607;Hh=0;Gh=(d<<31|f+127<<23|e)>>>0}Lh(c,Gh)}}c=$h(a,5);null!=c&&Sh(b,5,c);c=$h(a,6);null!=c&&Sh(b,6,c);c=$h(a,7);null!=c&&Uh(b,7,c);c=$h(a,8);null!=c&&Uh(b,8,c);c=$h(a,9);null!=c&&null!=c&&Qh(b,9,c);c=$h(a,10);null!=c&&Sh(b,10,c);c=$h(a,11);null!=c&&Uh(b,11,c);c=$h(a,12);null!=c&&Th(b,12,c)},GL=function(a,b){return bi(a,1,b)};DL.prototype.rg=function(a){bi(this,6,a)};DL.prototype.qg=function(a){bi(this,7,a)};var HL=function(a,b){bi(a,11,b||[])};var IL=new Map(Object.entries({"application/dash+xml":1,"application/x-javascript":2,"application/x-mpegurl":3,"application/javascript":4,"audio/ogg":5,"audio/mp4":6,"audio/mpeg":7,"audio/wav":8,"text/javascript":9,"video/m4v":10,"video/ogg":11,"video/x-flv":12,"video/3gpp":13,"video/mpt2":14,"video/mp4":15,"video/mpeg":16,"video/quicktime":17,"video/webm":18})),KL=function(a){var b=GL(new DL,a.F?2:1),c=a.H;if(c&&c.g){var d=null;try{d=(new O(c.g)).h}catch(e){}null!=d&&0<d.length?d=d.slice(-40):d=
null;bi(b,2,d)}c=iI(a);c=0==c.length?null:c;bi(b,3,c);bi(b,4,JL(a.aa));c=vI(a);c=0==c.length?null:c;bi(b,5,c);c=yI(a);c=0==c.length?null:c;b.rg(c);c=xI(a);c=0==c.length?null:c;b.qg(c);a=a.o;c=a.u;d=a.o;null!=c&&null!=d&&d>=c&&bi(b,8,d-c);HL(b,a.l.map(function(e){return e.vendor}));return b},JL=function(a){return 1<=a&&2>a?1:2<=a&&3>a?2:3<=a&&4>a?3:4<=a&&5>a?4:0},LL=function(a){a=a.trim().toLowerCase();a=a.split(" ")[0];return IL.get(a)||0};var ML=[202,1009];function NL(a,b,c){var d=new Map;a=new OL(a,void 0===b?null:b,void 0===c?null:c);PL(d,a);b=a.error;Os(1E3>b.g?b.g:900,d);S(d,"SDKV",gF());QL(d,a);RL(d);SL(d,a);b=a.error.g;S(d,"ERROR_MSG",a.error.getMessage());S(d,"IMA_ERROR",b.toString());S(d,"INTERNAL_ID","0");a=ML.includes(b);S(d,"BLOCKING_ERROR",a?"1":"0");return d}function TL(a){var b=new Map;PL(b,new OL(null,null,null));var c=b;c=void 0===c?new Map:c;S(c,"REASON",a);return b}
function UL(a,b){var c=new Map;a=new OL(null,a,void 0===b?null:b);PL(c,a);S(c,"SDKV",gF());QL(c,a);RL(c);SL(c,a);return c}
function VL(a){var b=null,c=null,d=[];kl()&&!jl()||d.push("8");SF&&(b="Google1",c="3.386.2",d.push("7"));wE()&&d.push("2");a={oe:"1",Za:a,appName:fF,yj:XF(),Qd:kl()?"0":Bu()?"2":"1",ke:b,le:c,domain:(new O(AF)).h||"",ne:AF,Ac:X.l,cd:X.o,Tc:"IMA",Uc:"3.386.2",Bi:d};a=void 0===a?{}:a;var e=void 0===e?new Map:e;S(e,"ADCATEGORIES","-1");S(e,"ADCOUNT","-1");S(e,"APIFRAMEWORKS",a.Bi?a.Bi.join(","):"-1");S(e,"BLOCKEDADCATEGORIES","-1");S(e,"MEDIAMIME",a.yj?a.yj.join(","):"-1");S(e,"EXTENSIONS","-2");S(e,
"PLAYERCAPABILITIES","-1");S(e,"VASTVERSIONS",ac(js).join(","));S(e,"VERIFICATIONVENDORS","-2");return Hs(a,e)}
function PL(a,b){var c=b.Xa;b=b.display;var d=fF,e=kl()?"0":Bu()?"2":"1",f=null,g=null,k=null,l=null,m=null;c&&(f=c.i,g=c.getAdPodInfo(),k=new fs,k.adPosition=g.rb,k.h=g.Jb,k.l=g.g(),k.i=g.Kd,k.totalAds=g.Bb,g=k,k=c.H,l=DI(c),m=EI(c));var n=c=null;SF&&(c="Google1",n="3.386.2");var q=(new O(AF)).h||"";Is({Db:b,oe:"1",Ce:g,Xa:f,Za:k,appName:d,Qd:e,Fj:l,Ej:m,ke:c,le:n,Ac:X.l,To:X.o,Tc:"IMA",Uc:"3.386.2",domain:q,ne:AF},a)}
function SL(a,b){Gs(a,"CREATIVE_PLAYBACK",function(){if(b.Xa){var c=b.Xa;var d=new BL;for(var e=[],f=c;null!=f;)e.push(KL(f)),f=f.h;f=e[0];var g=new EL,k=c.g;if(k instanceof cI){if(bi(g,5,!0),k=k.g,null!=k){var l=k.mimeType;l=0==l.length?null:LL(l);bi(g,2,l);l=k.xa||0;bi(g,1,0>=l?null:l);k=$F(k.url)?k.g:null;bi(g,11,k)}}else k instanceof DH&&(bi(g,5,!1),k=k.H,k=0==k.length?null:LL(k),bi(g,2,k),bi(g,1,null));mI(c)&&(2==X.H?bi(g,12,1):bi(g,12,2));k=c.getDuration();bi(g,4,0>k?null:k);bi(g,7,DI(c));bi(g,
8,EI(c));c=c.o;k=c.h;l=c.g;null!=k&&null!=l&&l>=k&&bi(g,9,l-k);bi(g,10,c.i);f.Ja||(f.Ja={});c=g?di(g):g;f.Ja[10]=g;bi(f,10,c);e.reverse();d.Ja||(d.Ja={});e=e||[];f=[];for(g=0;g<e.length;g++)f[g]=di(e[g]);d.Ja[1]=e;bi(d,1,f);bi(d,3,WF());e=new Mh;d.Ja||(d.Ja={});if(!d.Ja[1]){f=$h(d,1);g=[];for(c=0;c<f.length;c++)g[c]=new DL(f[c]);d.Ja[1]=g}f=d.Ja[1];f==Xh&&(f=d.Ja[1]=[]);if(0<f.length&&null!=f)for(g=0;g<f.length;g++){c=Nh(e,1);l=f[g];k=e;var m=$h(l,1);null!=m&&Th(k,1,m);m=$h(l,2);null!=m&&Uh(k,2,m);
m=$h(l,3);null!=m&&Uh(k,3,m);m=$h(l,4);null!=m&&Th(k,4,m);m=$h(l,5);null!=m&&Uh(k,5,m);m=$h(l,6);null!=m&&Uh(k,6,m);m=$h(l,7);null!=m&&Uh(k,7,m);m=$h(l,8);null!=m&&null!=m&&Qh(k,8,m);m=$h(l,9);null!=m&&Uh(k,9,m);l.Ja||(l.Ja={});l.Ja[10]||(m=$h(l,10))&&(l.Ja[10]=new EL(m));m=l.Ja[10];if(null!=m){var n=FL;if(null!=m){var q=Nh(k,10);n(m,k);Oh(k,q)}}m=$h(l,11);if(0<m.length&&(l=m,null!=l))for(m=0;m<l.length;m++)Uh(k,11,l[m]);Oh(e,c)}f=$h(d,2);null!=f&&Sh(e,2,f);f=$h(d,3);null!=f&&Sh(e,3,f);d=Ph(e);d=
Gg(d,3)}else d="";return d})}function RL(a){Gs(a,"URL_SIGNALS",function(){var b=yK().T;!b&&window.Goog_AdSense_Lidar_getUrlSignalsArray&&(b=window.Goog_AdSense_Lidar_getUrlSignalsArray());return b?b[0]:""})}function QL(a,b){if(null!=b.Xa){var c=FI(b.Xa);S(a,"AQI",null!=c?c:"");Gs(a,"AD_V",function(){if(null!=b.Xa){var d=b.Xa.i;if(d instanceof vt&&(d=OC(d),null!=d))return d}return"0"});S(a,"FINAL","1")}}var OL=function(a,b,c){this.error=a;this.Xa=b;this.display=c};var WL=function(a,b,c,d){this.h=a;this.i=b;this.g=c;this.position=d};WL.prototype.toJSON=function(){return{isSkippable:this.h,skipOffset:this.i,isAutoPlay:this.g,position:this.position}};var XL=function(a){OK("AdEvents.adSession",a);try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.g("registerAdEvents");this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}};XL.prototype.loaded=function(a){a=void 0===a?null:a;var b=this.g;if("definedByJavaScript"===b.i)throw Error("Creative type has not been redefined");if("definedByJavaScript"===b.h)throw Error("Impression type has not been redefined");b.u=!0;a?this.g.g("loaded",a.toJSON()):this.g.g("loaded")};
ZK("OmidSessionClient.AdEvents",XL);var YL=function(a){OK("MediaEvents.adSession",a);try{if(a.J)throw Error("MediaEvents already registered.");a.J=!0;a.g("registerMediaEvents");this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};YL.prototype.loaded=function(a){OK("MediaEvents.loaded.vastProperties",a);this.g.g("loaded",a.toJSON())};YL.prototype.start=function(a,b){PK("MediaEvents.start.duration",a);QK("MediaEvents.start.mediaPlayerVolume",b);this.g.g("start",a,b)};YL.prototype.pause=function(){this.g.g("pause")};
YL.prototype.resume=function(){this.g.g("resume")};var ZL=function(a,b){OK("MediaEvents.playerStateChange.playerState",b);a.g.g("playerStateChange",b)},$L=function(a,b){OK("MediaEvents.adUserInteraction.interactionType",b);a.g.g("adUserInteraction",b)};ZK("OmidSessionClient.MediaEvents",YL);var aM=function(a,b,c){H.call(this);this.i=a;this.K=b;this.N=c;this.l=null;this.w=new T(this);this.u=[];this.C=this.J=this.M=!1;this.o=this.g=this.F=this.h=null;this.w.G(this.K,zG,this.W);this.w.G(this.K,["adError","streamError"],this.T)};w(aM,H);
var bM=function(a,b){a.l=b;a.w.G(a.l,"start",a.X)},gM=function(a,b){var c=cM(a);dM(c);0==c.length?eM(a,"noVerifications"):(b=new zL(b,c,AF),a.h=new yL(b),vL(a.h)?(a.F=new XL(a.h),a.g=new YL(a.h),wL(a.h,function(d){switch(d.type){case "sessionStart":d=d.data;a.J=!0;if(a.h&&d&&"definedByJavaScript"===d.creativeType){var e=a.h,f=a.i.getContentType().startsWith("audio")?"audio":"video";if("definedByJavaScript"===f)throw Error("Creative type cannot be redefined with value definedByJavaScript");if(e.H)throw Error("Impression has already occurred");
if(e.u)throw Error("Creative has already loaded");if(e.i&&"definedByJavaScript"!==e.i)throw Error("Creative type cannot be redefined");if(void 0===e.i)throw Error("Native integration is using OMID 1.2 or earlier");e.g("setCreativeType",f);e.i=f}if(a.h&&d&&"definedByJavaScript"===d.impressionType){d=a.h;if(d.H)throw Error("Impression has already occurred");if(d.u)throw Error("Creative has already loaded");if(d.h&&"definedByJavaScript"!==d.h)throw Error("Impression type cannot be redefined");if(void 0===
d.h)throw Error("Native integration is using OMID 1.2 or earlier");d.g("setImpressionType","beginToRender");d.h="beginToRender"}fM(a);break;case "sessionFinish":a.C=!0,a.dispatchEvent(new G("omidAdSessionCompleted"))}}),a.M=!0,a.h.start()):(a.h=null,eM(a,"notSupported")))};aM.prototype.W=function(a){a.getAd().l!=this.i.l||this.C||("firstQuartile"!=a.type||this.J?(this.u.push(a),fM(this)):eM(this,"sessionNotStarted"))};aM.prototype.T=function(a){this.M&&(this.u.push(a),fM(this))};aM.prototype.X=function(){fM(this)};
var hM=function(a){sg(function(){a.C||null!=a.o||eM(a,"sessionLingering")},5E3)},fM=function(a){if(a.J&&!a.C)for(;0<a.u.length;){var b=a.u[0];if("start"==b.type&&0>(null==a.l?0:a.l.getVolume()))break;a.u.shift();var c=a;if(b instanceof lK)switch(b.type){case "loaded":c.F.loaded(iM(c));break;case "impression":b=c.F;if(!b.g.w)throw Error("Session not started.");c=b.g;if("definedByJavaScript"===c.i)throw Error("Creative type has not been redefined");if("definedByJavaScript"===c.h)throw Error("Impression type has not been redefined");
c.H=!0;b.g.g("impressionOccurred");break;case "start":c.g.start(c.i.getDuration(),null==c.l?0:c.l.getVolume());break;case "firstQuartile":c.g.g.g("firstQuartile");break;case "midpoint":c.g.g.g("midpoint");break;case "thirdQuartile":c.g.g.g("thirdQuartile");break;case "complete":c.g.g.g("complete");hM(c);break;case "pause":c.g.pause();break;case "resume":c.g.resume();break;case "skip":c.g.g.g("skipped");hM(c);break;case "volumeChange":c=c.g;b=b.Da.volume;QK("MediaEvents.volumeChange.mediaPlayerVolume",
b);c.g.g("volumeChange",b);break;case "click":case "videoClicked":$L(c.g,"click");break;case "fullscreen":ZL(c.g,"fullscreen");break;case "exitFullscreen":ZL(c.g,"normal");break;case "expand":ZL(c.g,"expanded");break;case "collapse":ZL(c.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":$L(c.g,"invitationAccept")}else b instanceof sJ?(b=b.getError(),c.h.error("video",b.toString()),hM(c)):b instanceof hw&&"streamError"==b.type&&(c.h.error("video",b.data.errorMessage||""),hM(c))}},
eM=function(a,b){a.o=b;a.dispatchEvent(new G("omidAdSessionAbandoned"));"notSupported"==a.o&&jM(a,fJ(a.i),"3")};aM.prototype.getAd=function(){return this.i};
var cM=function(a){for(var b=[],c=a.i;null!=c;){var d=eJ(c),e=[];d=p(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,"omid"!=f.Xc)jM(a,[f],"2");else if(null==f.g)jM(a,[f],"3");else{var g=new xL(f.g,f.vendor||void 0,f.parameters||void 0,"limited");b.push(g);e.push(f)}if(d=c.o)d.l=e;c=c.h}return b},iM=function(a){var b="preroll";0>a.i.getAdPodInfo().g()?b="postroll":0<a.i.getAdPodInfo().g()&&(b="midroll");var c=null!=SI(a.i),d=TI(a.i);a=a.i;return new WL(c,d,a.H?"auto"===a.H.H:a.X&&a.X.h?"auto"===
a.X.h.vpa:!1,b)},jM=function(a,b,c){var d=[];b=p(b);for(var e=b.next();!e.done;e=b.next())e=e.value,d=[].concat(u(d),u(e.ga.map(function(f){return f.url})));ct(a.N,TL(c));a.N.report("verificationNotExecuted",d)};aM.prototype.R=function(){Nu(this.w);jf(this.w);H.prototype.R.call(this)};var dM=function(a){a=a.map(function(b){return encodeURIComponent(b.g||"")}).join("~");GG.D().report(129,{vendorKeys:a})};var kM=function(){H.apply(this,arguments)};w(kM,H);kM.prototype.o=function(){return null};kM.prototype.i=function(){return!1};kM.prototype.C=function(){};kM.prototype.J=function(){};var lM=null,mM=function(){H.call(this);this.u=new T(this);this.l=!0;this.w=null;this.g=[];this.F=null;this.h=!1};w(mM,H);var nM=function(){null==lM&&(lM=new mM);return lM};mM.prototype.J=function(){oM(this,"iframeLoadFailed","The OMSDK iframe failed to load. No measurements can be taken.")};mM.prototype.i=function(){return this.l};
mM.prototype.o=function(a,b,c){var d=this,e=new aM(a,b,c,this.F);if(!this.l)return jM(e,fJ(a),"3"),null;this.u.cc(b,["start","adError"],function(f){switch(f.type){case "start":d.g.push(e);pM(d);break;case "adError":BF?jM(e,fJ(e.getAd()),"3"):(d.g.push(e),pM(d),oM(d,"unrecoverableError","An irrecoverrable error has been detected."))}});this.u.G(e,"omidAdSessionAbandoned",function(){qM(!0,e);e.$();d.h=!1;pM(d)});this.u.G(e,"omidAdSessionCompleted",function(){qM(!1,e);e.$();d.h=!1;pM(d)});return e};
var pM=function(a){if(a.l&&!a.h&&0!=a.g.length){var b=a.g.shift();null==a.w&&(a.w=new lL("Google1","3.386.2"));gM(b,a.w);a.h=!0}};mM.prototype.C=function(a){this.F=a};var oM=function(a,b,c){a.l=!1;a.dispatchEvent(new G("omidUnavailable"));GG.D().report(128,{status:"disabled",reason:b,description:c})},qM=function(a,b){var c={es:a?"abandon":"complete",ai:vI(b.getAd()),qy:b.getAd().l};a&&null!=b.o&&(c.ar=b.o);GG.D().report(87,c)};function rM(){return br(Ur)?nM():new kM}function sM(){if(!rM().i())return null;var a=eF;return null==a?null:"Google1/"+a};var tM=function(a,b,c){this.adBreakDuration=a.Jb;this.adPosition=a.rb;this.currentTime=b;this.duration=c;this.totalAds=a.Bb};tM.prototype.oa=function(){var a={};a.adBreakDuration=this.adBreakDuration;a.adPosition=this.adPosition;a.currentTime=this.currentTime;a.duration=this.duration;a.totalAds=this.totalAds;return a};var Z=function(a){H.call(this);var b=this;this.ka=a;this.Ga=null;this.Bc=new T(this);F(this,this.Bc);this.ba=this.volume=null;this.fa=new mK;this.pc=!1;this.ha=new Ws(new Map,new dK);this.Je=!1;this.Nd=function(){return b.yd()};this.Mh=rM();this.Rc=null;var c=0;a.forEach(function(d){c+=d.getDuration()});a.forEach(function(d,e){d=d.getAdPodInfo();d.Bb=a.length;e+=1;d.rb=e;d.h=e;d.Jb=c})};w(Z,H);
Z.prototype.da=function(){if(!this.ba){var a={err:Jd("Manager display container is null.\n"+Error().stack,1500),disp:this.yb()};GG.D().report(64,a,!0)}return this.ba};Z.prototype.getCurrentAd=function(){return 0==this.ka.length?null:this.ka[0]};Z.prototype.Z=function(){if(this.ra()){if(!this.ra()||!QI(this.Ga)){var a=JF;if(null!=SI(this.Ga)&&!TF(a))throw Y(EJ,null,"skippablevideo");}return this.Ga}throw Y(wJ,null,"An ad has not been selected.\n"+Error().stack);};
var uM=function(a,b){a.Ga&&(yK().h.delete(a.Ga.l),yK().l.delete(a.Ga.l));if(a.Ga=b)a.ha=new Ws(iJ(b),new dK,jJ(b)),AK(b,a.Nd),a.Rc=a.Mh.o(b,a,a.ha)};h=Z.prototype;h.ra=function(){return null!==this.Ga};h.te=function(){if(null!=this.Ga){var a=this.ka.indexOf(this.Ga);-1!=a&&++a<this.ka.length?uM(this,this.ka[a]):uM(this,null)}};h.bc=function(){if(null==this.Ga)return!1;var a=this.ka.indexOf(this.Ga);return-1==a?!1:a+1<this.ka.length};
h.xb=function(){return this.Ga?this.ka[this.ka.indexOf(this.Ga)+1]:null};h.Ec=function(a){return a.Ec()};h.og=function(){if(!this.ra()){if(0==this.ka.length)throw Y(LJ);uM(this,this.ka[0]);if(null==this.Ga.g)throw ZJ(LJ);}};h.L=function(a,b){b=void 0===b?null:b;var c=this.ra()?this.Z():null;this.dispatchEvent(new lK(a,c,b))};h.Ca=function(a){if(a){var b={};b.url=a;this.L("navigationRequested",b)}};h.Va=function(a){this.ya=a};h.ma=function(){null==this.V&&(this.V=new T(this));return this.V};h.Gd=function(){};
h.Sa=function(a){if(null!=this.ya&&(Nu(this.Bc),this.Bc.cc(this.ya,"companion_display_error",function(){}),a=this.ya.Sa(a),null!=a&&this.Bc.G(a,"companion_click",this.Gd),!this.ya.C()))throw Y(AJ);};h.destroy=function(){this.$()};h.R=function(){this.Ga&&yK().h.delete(this.Ga.l);this.ra()&&(rI(this.Ga,null),this.Ga=null);jf(this.V);this.V=null;this.Je=!1;this.ba=null;H.prototype.R.call(this)};h.getAd=function(){return this.getCurrentAd()};h.zd=function(){this.ka.forEach(function(a){(a=bJ(a))&&a.init()})};
h.init=function(){vM(this);this.pc=!0;this.kg()};h.kg=function(){this.L("loaded")};h.ub=function(a){if(!this.Je){try{this.ba=a,this.og()}catch(b){throw b;}this.Je=!0}};h.Y=function(a){this.ha.report(a)};h.qc=function(){throw Error("reportAdError is not allowed for old managers");};var wM=function(a,b){a.ha.report(b);a.L(b)};h=Z.prototype;h.getCurrentTime=function(){return-1};h.getDuration=function(){return-1};h.getRemainingTime=function(){return-1};h.kd=function(){return this.Je};h.La=function(){};
h.resize=function(){};h.expand=function(){};h.collapse=function(){};h.pause=function(){};h.resume=function(){};h.getAdSkippableState=function(){return!1};h.skip=function(){};h.Sd=function(){};h.updateAdsRenderingSettings=function(a){this.fa=a};h.start=function(){vM(this);if(!this.pc)throw ZJ(wJ,null,"Must call init before start.");};h.stop=function(){this.destroy()};h.getVolume=function(){return null!=this.volume?this.volume:0};
h.setVolume=function(a){(isNaN(a)||0>a||1<a)&&cK(this,FJ,null,"volume",String(a));this.volume=a};var vM=function(a){if(!a.Ua())throw Y(wJ,null,"Ads manager is not correctly configured.");};h=Z.prototype;h.Ua=function(){return this.Je};h.hasListeners=function(a){var b=this;return a.every(function(c){if(nf(b))c=b.hasListener(c,void 0);else{var d=Bf(b);c=!!d&&d.hasListener(c,void 0)}return c})};h.Gb=function(){return null};h.zb=function(){this.Y("abandon")};
h.yd=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:this.kd(),isVpaid:this.ra()&&mI(this.Z()),isYouTube:!1,volume:this.getVolume()}};var xM=function(a,b,c){if(!(0>c||0>b)&&a.ra()){var d=a.Z();b=new tM(d.getAdPodInfo(),b,c);a.L("adProgress",b)}};Z.prototype.Sc=function(a){var b=a.type;if(-1!=wG.indexOf(b)){if("externalActivityEvent"==b&&(b=a.Da.eventName,!yG(b)))return;wM(this,b)}};Z.prototype.clicked=function(){};var yM=function(a){var b=void 0===a.mimeTypes?[]:a.mimeTypes;Nw.call(this,{Ee:a.Ee,mimeTypes:b,Db:null});this.l=b};w(yM,Nw);yM.prototype.h=function(a,b){return 0==this.l.length?[]:Nw.prototype.h.call(this,a,b)};var zM=function(a,b,c,d,e){ht.call(this,a,b,c,d,e);HK(function(){})};w(zM,ht);zM.prototype.u=function(a){var b=yK().M;a=Zp(a,this.i,b);jt(this,a)};function AM(a,b){null!=b&&(a.h=b.includes("adAttribution"),a.i=b.includes("countdown"))}function BM(a,b,c){c=void 0===c?6:c;var d=new CM;d.w=PI(a)?-1:TI(a);d.C=b.h;d.jd=dJ(a);d.J=!z(C(IC(a)));d.l=a.getDuration()>c||0==a.getDuration();a.i&&(d.F=PC(a.i)||"");return d}function DM(a,b,c,d,e){a=BM(a,c,0);a.g=d;a.H=c.g;e||AM(a,c.uiElements);z(C(b))||(a.u=b);return a}function EM(a,b,c){a=BM(a,c);a.h=!1;a.C=!1;a.i=!1;a.g=!1;a.l=!1;a.o=!1;z(C(b))||(a.u=b);return a}
var CM=function(){this.w=-1;this.i=this.C=this.h=!0;this.g=!1;this.l=!0;this.o=this.H=!1;this.F="";this.jd=[];this.J=!1},FM=function(a){var b=[];a.h&&b.push("adAttribution");a.i&&b.push("countdown");return b};var GM=function(a,b,c,d,e,f){this.g=b;this.i=a;this.ca=c;this.o=d;this.J=e;this.C=this.w=!1;this.F=[];this.u=!1;this.l=void 0===f?!1:f;this.h=new mA(this.i.F,this.i.o?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.i.g,this.l);rA(this.h,!this.l&&(!Bu()||!1));this.K=new T(this);this.H=null};w(GM,hz);h=GM.prototype;
h.lb=function(){var a=this;hA(this.h,this.ca);nA(this.h);if(0<=this.i.w){this.g.subscribe(vx,function(){a.w=!0});var b=new aC(!0,!0);qA(this.h,b);this.H=new Iz(b,this.g,this.i.w);this.o&&(K(b.l,!1),K(b.g,!1))}if(this.i.h&&!this.o){var c=new jA(this.l);this.l?qA(this.h,c):this.i.o?(pA(this.h,c),oA(this.h)):qA(this.h,c);this.i.i?new Dz(c,this.g):c.show()}this.i.u&&(b=new bC,new kz(b,this.g,yx),this.l?qA(this.h,b):c?fA(c,b):this.i.o?pA(this.h,b):qA(this.h,b));this.l&&(c=new ZB,Cz(new Bz(c,this.g)),vA(this.h,
c),this.g.subscribe(Ax,function(d){a.u&&(sA(a.h,!d),tA(a.h,!d))}));if(this.l||this.i.l&&!this.o)c=new xA("author"),new lz(c,this.g,dx,Vw),pA(this.h,c),c=new iA,new lz(c,this.g,ex,Xw),this.l?uA(this.h,c):pA(this.h,c),c=new kA,new lz(c,this.g,$w,Ww),this.l?uA(this.h,c):pA(this.h,c),this.g.subscribe(Vw,function(){return void oA(a.h)}),this.g.subscribe(Xw,function(){return void oA(a.h)}),this.g.subscribe(Ww,function(){return void oA(a.h)});this.l?new sz(this.h,this.g):!this.o&&this.i.J&&(c=this.i.g?zx:
ax,this.J?new rz(this.h,this.g,c):(new kz(this.h,this.g,c),this.h.Jd(!0)));this.i.jd.forEach(function(d){var e=new xA("vast");new Mz(e,a.g,d);e.setSize(d.g,d.h);fA(a.h,e);a.F.push(e)});this.g.subscribe(Ex,function(d){!a.l&&0<d.h&&5>d.h-d.g&&rA(a.h,!1);a.l&&!a.u&&5<d.g&&(a.u=!0,sA(a.h,!0),tA(a.h,!0))});this.me()};h.destroy=function(){this.K.$();this.H&&this.H.$();Ve(this.h.Nb())};h.Oh=function(){this.w&&W(this.g,Yw,null)};
h.jg=function(){if(!this.C&&this.i.l&&!this.o&&this.i.g){this.C=!0;var a;this.l?a=new zA:a=new AA;new kz(a,this.g,lx);pA(this.h,a);oA(this.h)}};h.me=function(){var a=this,b=yh(this.h.Nb());this.i.jd.forEach(function(c,d){yA(a.F[d],rt(c,b.width),tt(c,b.height))})};h.Le=function(){return this.i};function HM(a,b){var c=MI(a),d,e=b.useStyledLinearAds;kl()?e=!1:((d=Bu()&&!(MI(a)&&Bu()&&nF))||((d=XI(a)||YI(a))||(a.i instanceof vt&&NC(a.i)?d=(d=a.i)?(d=NC(d))&&"NONSKIPPABLE"==d.g?!0:!1:!1:d=!1),d||(a.i instanceof vt&&NC(a.i)?d=(d=a.i)?(d=NC(d))&&"BUMPER"==d.g?!0:!1:!1:d=!1),d=d||e),e=d?!0:!1);d=e;e=(pI(a).get("AdSense")||[]).pop();var f=null!=e&&e.ue();e=e?e.o:null;if(d||f)b.useLearnMoreButton=!0,b.useStyledLinearAds=!0;if(aJ(a))return EM(a,e,b);if(b.useStyledLinearAds){d=C(IC(a));f=b.useLearnMoreButton;
if(z(d)||!uu(d))f=!1;return DM(a,e,b,f,!c)}$I(a,mE)||$I(a,["402"])?(b=BM(a,b),b.o=!0,z(C(e))||(b.u=e)):(a=BM(a,b),a.l=!1,a.h=!1,a.i=!1,AM(a,b.uiElements),b=a);return b};var IM=function(a){H.call(this);this.K=a;this.F=new jq;this.u=-1;this.w=this.J=!1;this.l=""};w(IM,H);IM.prototype.R=function(){JM(this);H.prototype.R.call(this)};
var JM=function(a){null!=a.h&&a.h.$();null!=a.g&&a.g.Nc();null!=a.o&&a.o.$();a.o=null;a.F.clear();a.u=-1;a.l="";a.J=!1;a.w=!1},OM=function(a,b,c,d,e){JM(a);a.g=c;a.g.od();a.C=d;a.M=e;a.i=new KM(a.g);a.h=new T(a);a.l=b.l;VF()&&(b=yK(),a.h.G(b,"externalActivityEvent",a.X),a.h.G(b,"measurable_impression",a.ea),a.h.G(b,"viewable_impression",a.ia));a.h.G(a.g,"timeUpdate",a.T);a.h.G(a.g,"loadedmetadata",function(){return void LM(a,new G("loadedMetadata"))});a.h.G(a.g,"volumeChange",a.Vl);a.h.G(a.g,"pause",
a.Pl);a.h.G(a.g,"play",a.Ql);a.h.G(a.g,"end",a.Jl);a.h.G(a.g,"beginFullscreen",a.aa);a.h.G(a.g,"endFullscreen",a.W);a.h.G(a.g,"skip",a.N);a.h.G(a.g,"skipShown",a.pj);a.h.G(a.g,"start",a.Sl);a.h.G(a.g,"error",a.Kl);a.h.G(a.g,"mediaLoadTimeout",a.Ll);a.h.G(a.g,"autoplayDisallowed",a.Il);a.h.G(a.g,"loaded",function(){return MM(a,"loaded")});NM(a,a.C,a.M)},NM=function(a,b,c){null!=b&&null!=c&&(c.subscribe(zx,function(){return void LM(a,new lK("videoClicked"))}),c.subscribe(ux,function(){return void a.N()}),
c.subscribe(vx,function(){return void a.pj()}),c.subscribe(Yw,function(){PM(a,"skip",!0,!1)}),c.subscribe(dx,function(){return void LM(a,new lK("authorIconClicked"))}),c.subscribe(ex,function(){return void LM(a,new lK("titleClicked"))}),c.subscribe($w,function(){return void LM(a,new lK("authorNameClicked"))}),c.subscribe(lx,function(){return void LM(a,new lK("learnMoreClicked"))}),c.subscribe(xx,function(d){return void QM(d)}),c.subscribe(wx,function(d){return void RM(a,d.i,d.l)}),c.subscribe(yx,
function(){return void RM(a,b?a.C.u:null)}))},SM=function(a,b){b||a.C||!a.g||a.h.G(a.g,"click",a.Ih);if(b){a.o=new eK;a.h.G(a.o,"click",a.Ih,!1);var c=a.o;null==b||c.F||(c.g=b,iK(c),c.F=!0)}a.M&&a.M.subscribe(ax,a.Ih,a)},PM=function(a,b,c,d){if(!c||null==a.F.get(b))if(!d||a.w)a.F.set(b,!0),MM(a,b),a.dispatchEvent(b)},MM=function(a,b){if(a.C&&a.C.g){if("click"==b)return;"learnMoreClicked"==b&&a.K.report("click")}"error"!=b&&a.K.report(b)};
IM.prototype.ea=function(a){a.Da.queryId==this.l&&PM(this,"measurable_impression",!0,!0)};IM.prototype.ia=function(a){a.Da.queryId==this.l&&PM(this,"viewable_impression",!0,!0)};IM.prototype.X=function(a){a=a.Da||{};var b=a.eventName;a=yG(b)&&a.queryId==this.l?b:null;null!=a&&PM(this,a,!0,!0)};
IM.prototype.T=function(){if(this.w){var a=this.g.getDuration();-1!=a&&(this.g.i>=.25*a&&PM(this,"firstQuartile",!0,!0),this.g.i>=.5*a&&PM(this,"midpoint",!0,!0),this.g.i>=.75*a&&PM(this,"thirdQuartile",!0,!0),$s(this.K,this.g.getCurrentTime(),1E3*a));TM(this)}};var TM=function(a){0>a.u||a.J||!(a.g.i>=a.u||a.g.Bd())||!a.w||(a.J=!0,PM(a,"engagedView",!0,!0))};h=IM.prototype;
h.Sl=function(){this.w=!0;PM(this,"impression",!0,!0);PM(this,"creativeView",!0,!0);PM(this,"start",!0,!0);this.i.mute=this.g.isMuted();this.i.volume=this.g.getVolume();(this.i.mute||0==this.i.volume)&&PM(this,"mute",!1,!1)};h.Vl=function(){var a=this.g.isMuted(),b=this.g.getVolume(),c=this.i;c.mute&&!a||!a&&0==c.volume&&0<b?PM(this,"unmute",!1,!1):this.i.muted(a,b)&&PM(this,"mute",!1,!1);this.i.mute=a;this.i.volume=b};
h.Pl=function(){this.g.Bd()?(TM(this),PM(this,"complete",!0,!0)):this.g.Mc()&&(this.i.g=!0,PM(this,"pause",!1,!1))};h.Ql=function(){this.i.g&&(this.i.g=!1,PM(this,"resume",!1,!1))};h.Jl=function(){TM(this);PM(this,"complete",!0,!0)};h.Ih=function(){PM(this,"click",!1,!1)};h.Kl=function(){PM(this,"error",!1,!1)};h.Ll=function(){PM(this,"mediaLoadTimeout",!1,!1)};h.Il=function(){PM(this,"autoplayDisallowed",!1,!1)};h.pj=function(){PM(this,"skipShown",!0,!1)};
var QM=function(a){a.o.forEach(function(b){DG(b)})},RM=function(a,b,c){c=void 0===c?[]:c;b&&(a.dispatchEvent(new lK("videoIconClicked",null,{clickThroughUrl:b})),c.forEach(function(d){DG(d)}))},LM=function(a,b){PM(a,b.type,!1,!1)};IM.prototype.N=function(){PM(this,"skip",!0,!1)};IM.prototype.aa=function(){PM(this,"fullscreen",!1,!1)};IM.prototype.W=function(){PM(this,"exitFullscreen",!1,!1)};var KM=function(a){this.g=!1;this.mute=a.isMuted();this.volume=a.getVolume()};
KM.prototype.muted=function(a,b){return!this.mute&&a||0!=this.volume&&0==b};var VM=function(a,b){Z.call(this,a);this.i=new IM(this.ha);this.N=this.X=this.F=!1;this.aa=this.J=1;this.w=null;this.T=new Set;this.ea=new Set;this.M=this.K=!1;this.h=this.u=null;this.g=b.Kb();this.ia=!1;this.l=b.ib();this.o=null;UM(this)};w(VM,Z);var WM=function(a,b){var c=sg(function(){a.T.delete(c);b.call(a)},0,a);a.T.add(c)};
VM.prototype.R=function(){XM(this);for(var a=p(this.T.values()),b=a.next();!b.done;b=a.next())tg(b.value);a=!1;null!=this.da()&&(a=KF);this.ba&&this.ba.Ub();this.fa.enablePreloading&&null!=this.u&&(this.u.destroy(),this.u=null);null!=this.g&&(this.g.reset(a),this.g.Ld());this.F&&(this.F=!1,this.L("contentResumeRequested"),this.L("allAdsCompleted"));Z.prototype.R.call(this)};
var XM=function(a){a.h&&(a.h.destroy(),a.h=null);a.l.clear();jf(a.i);jf(a.C);jf(a.ha);a.N=!1},YM=function(a){a.te();a.ra()?a.start():a.stop()};VM.prototype.te=function(){XM(this);Z.prototype.te.call(this);if(this.ra()){if(this.g){var a=this.g;a.h.send(a.g,"forwardCompatibleUnload")}this.fa.enablePreloading&&null!=this.u&&(this.h=this.u,this.u=null);this.L("loaded")}};VM.prototype.Gd=function(a){Z.prototype.Gd.call(this,a);this.C&&ZC(this.C,1)};
var bN=function(a,b,c,d){d=d?a.da().Yd():a.g;var e=b.i;if(e instanceof vt){var f=OC(e);f&&(b.J=f)}f=oI(b,"AdSense");null!=f&&null!=f.g&&f.g.l&&a.setVolume(0);if(a.fa.useVideoAdUi){f=HM(b,a.fa);var g=ZM(a,b,f);a.fa.enablePreloading&&null!=a.h?a.u=g:a.h=g;f=FM(f);b.Zc=f}d&&($M(a)?(d.od(),a.ma().G(d,"error",a.Xi),a.ma().G(d,"loaded",a.Rl)):aN(a,b),f=a.fa.loadVideoTimeout,0<f&&(d.W=f),f=b.o,g=ab(),f.h=g,f=f.g=null,e instanceof vt&&(f=wt(e)),c&&(qK(d,c,f,b.getAdPodInfo()),X.i&&X.F&&(b={},b.mediaUrl=c,
a.dispatchEvent(new lK("mediaUrlPinged",null,b)))))},aN=function(a,b){a.i&&jf(a.i);a.i=new IM(a.ha);OM(a.i,b,a.g,a.h?a.h.Le():null,a.l);var c=new ht(b.i,a.ha,a.g,VF(),b.l);c.hd();F(a,c);XI(b)&&(c=b.i,c instanceof vt&&(a.C=new QC(new mv),SC(a.C,c,a.g)));null!=a.Rc&&bM(a.Rc,a.g);yK().o=a.g;a.ma().G(a.i,"engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked learnMoreClicked muteClicked titleClicked unmuteClicked start".split(" "),a.W);a.ma().G(a.g,"loaded",a.rl);a.ma().G(a.g,
"timeUpdate",a.sl);a.ma().G(a.g,"waiting",a.ul);a.ma().G(a.g,"volumeChange",a.tl);a.ma().G(a.g,"focusSkipButton",a.pl);Lu(a.ma(),a.i,"impression",a.W,a);cN(a,b)},UM=function(a){var b=0,c=0;a.ka.forEach(function(e){hI(e)&&(c++,b+=e.getDuration())});var d=1;a.ka.forEach(function(e){var f=e.getAdPodInfo();f.Bb=c;hI(e)&&(f.rb=d,f.h=d,d++);f.Jb=b})},dN=function(a,b){if(!hI(b))throw Y(UJ);var c=b.g,d=c.g;if(null!=d)return d;d=a.fa.mimeTypes||[];br(Nr)?(a=new Jw(a.fa.bitrate),d=new Tw({Kg:d}),a=new Sw({Db:null,
filters:[d],Vh:a})):a=new yM({Ee:a.fa.bitrate,Zk:a.da().xe(),mimeTypes:d});b=a.h(b.Ec(),b.i);b=0<b.length?b[0]:null;if(null!=b)return c.g=b;throw Y(NJ);};VM.prototype.kg=function(){eN(this)&&fN(this);this.L("loaded");this.L("adMetadata")};
var eN=function(a){return a.M?!1:a.fa.enablePreloading&&UF()},$M=function(a){return a.fa.enablePreloading&&a.da()&&UF()&&!a.M},fN=function(a){try{var b=a.Z();b.o.i=!0;a.w=dN(a,b);WM(a,function(){bN(a,b,a.w.url)})}catch(c){a.ka.indexOf(b)+1<a.ka.length&&(gN(a,c),a.te(),a.ra()?(hN(a,XJ,c),fN(a)):cK(a,XJ,c))}},iN=function(a){try{var b=a.xb();null!=b&&(b.o.i=!0,a.w=dN(a,b),WM(a,function(){bN(a,b,a.w.url,!0)}))}catch(c){}};h=VM.prototype;
h.getAdSkippableState=function(){if(this.ra()){var a=this.Z(),b;if(b=!!SI(a))a=nH(SI(a)),b=this.g.i>=a;return b}return!1};h.skip=function(){this.ra()&&null!=SI(this.Z())&&(null!=this.h?this.h.Oh():(this.Y("skip"),jN(this)))};
h.start=function(){var a=this;Z.prototype.start.call(this);try{var b=this.Z();this.ea.has(b)||(this.ea.add(b),this.w=dN(this,b),WM(this,function(){a:{var c=a.w.url;a.X||(a.X=!0,a.L("contentPauseRequested"));eN(a)&&!a.K||$M(a)||(b.o.i=!1,bN(a,b,c));a.F=!0;a.setVolume(a.J);a.h&&a.h.lb();$M(a)&&(c=a.da()instanceof MK?a.da().g:a.da(),a.K&&(c.Ub(),c.ve(),a.g=c.Kb()),aN(a,b),a.da()instanceof MK&&c.qb());a.M=!1;a.Y("show_ad");a.da().qb();try{a.Sa(b)}catch(d){kN(a,AJ,d);break a}a.g.nd()}}))}catch(c){gN(this,
c),this.te(),this.ra()?(hN(this,XJ,c),this.start()):(this.F?hN(this,XJ,c):(null!=this.ya&&lJ(this.ya),cK(this,XJ,c)),this.stop())}};h.getVolume=function(){vM(this);return this.g.isMuted()?0:this.g.getVolume()};h.setVolume=function(a){vM(this);this.F?this.g.setVolume(a):this.J=a};h.pause=function(){vM(this);this.g.pause()};h.resume=function(){vM(this);this.g.nd()};h.getCurrentTime=function(){vM(this);return this.g.getCurrentTime()};h.getDuration=function(){vM(this);return this.g.getDuration()};
h.getRemainingTime=function(){vM(this);var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};h.ol=function(){eN(this)&&!this.K&&this.Xi();kN(this,XJ,Y(XJ,this.g.getError()))};h.Xi=function(){this.M=!0};h.Rl=function(){if(this.ra()){var a=this.Z().o,b=ab();a.g=b}};h.ql=function(){if(this.ra()){var a=this.Z().o,b=ab();a.g=b}lN(this);kN(this,QJ,Y(QJ,null,(this.fa.loadVideoTimeout/1E3).toString()))};
h.nl=function(){var a={};if(this.ra()){a.aid=vI(this.Z());a.xcid=yI(this.Z());a.url=fF;var b=this.Z().H;null!=b&&null!=b.g&&(b=(new O(b.g)).g,a.au=b.get("iu"),a.wp=b.get("client"),a.url=a.url||AF)}GG.D().report(76,a);kN(this,XJ,aK())};
var lN=function(a){var b=a.Z(),c={};c.pubbr=a.fa.bitrate;c.nat=!1;if(null!=b){a=a.Ec(b);var d=b.g;d=d?d.g:null;var e=a.map(function(f){return f.maxBitrate||0});a=a.map(function(f){return f.mimeType});c.brs=e.join(",");c.mts=a.join(",");c.as=iI(b);null===d?(c.selbr=-1,c.selmt="",c.murl=""):(c.selbr=d.maxBitrate||0,c.selmt=d.mimeType,c.murl=d.url)}GG.D().report(45,c)},kN=function(a,b,c){gN(a,c);bK(c)?(cK(a,b,c),a.stop()):(a.te(),a.ra()?(hN(a,b,c),a.start()):(cK(a,b,c),a.stop()))},gN=function(a,b){b=
Y(XJ,b);var c=NL(b,a.Z(),a.g);ct(a.ha,c);at(a.ha,b.g)},cN=function(a,b){ct(a.ha,UL(b,a.g));var c=b.g;null!=c&&c instanceof cI&&(vG.forEach(function(d){Lu(a.ma(),a.i,d,a.W,a)}),c=a.ma(),Lu(c,a.i,"error",a.ol,a),Lu(c,a.i,"mediaLoadTimeout",a.ql,a),Lu(c,a.i,"autoplayDisallowed",a.nl,a));null!=SI(b)&&(a.i.u=30)},mN=function(a){if(a.ia){a.L("click");var b=a.ra()?IC(a.Z()):null;a.Ca(b)}};
VM.prototype.W=function(a){switch(a.type){case "start":this.L("start");this.zd();this.ia=!0;this.h&&this.h.jg();SM(this.i,this.da().Vd());break;case "impression":this.L("impression");this.K=!0;$M(this)&&iN(this);break;case "viewable_impression":this.L("viewable_impression");break;case "pause":W(this.l,Ax,!0);this.L("pause");break;case "resume":W(this.l,Ax,!1);this.L("resume");break;case "firstQuartile":this.L("firstQuartile");break;case "midpoint":this.L("midpoint");break;case "thirdQuartile":this.L("thirdQuartile");
break;case "complete":this.L("complete");this.Y("instreamAdComplete");YM(this);break;case "click":this.h&&this.h.Le().g?this.g.Mc()?this.resume():this.pause():mN(this);break;case "engagedView":this.L("engagedView");break;case "authorIconClicked":nN(this);break;case "authorNameClicked":nN(this);break;case "videoClicked":this.L("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);this.Ca(a.Da.clickThroughUrl);break;case "learnMoreClicked":this.C&&ZC(this.C,3);mN(this);this.g.pause();
break;case "titleClicked":a=this.o?hE(this.o):null;null!==a&&(this.g.pause(),this.Ca(a));break;case "muteClicked":this.aa=this.J;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.aa);break;case "skipShown":this.L("skippableStateChanged");break;case "skip":jN(this)}};var jN=function(a){null!=a.g&&(a.g.T=!1);WM(a,function(){a.L("skip");YM(a)})};h=VM.prototype;h.Gb=function(){if(!this.ra())return null;try{var a=this.Z();if(null==a)return null;var b=dN(this,a);return null==b?null:b.url}catch(c){return null}};
h.clicked=function(){this.ra()&&this.Z().T?(wM(this,"click"),this.g.pause()):this.ra()&&this.Z()};h.rl=function(){if(this.ra()){var a=this.Z().o,b=ab();a.g=b}this.L("adCanPlay")};
h.sl=function(){var a=this.getDuration();vM(this);this.g.ih();var b=this.getCurrentTime(),c=0,d=0;this.ra()&&(d=this.Z(),c=d.getAdPodInfo().rb,d=d.getAdPodInfo().Bb);if(null!=this.h&&0<=a&&0<=b){var e=this.Z();if(!(this.N||3>e.aa)){var f=this.g.getDuration();e=UI(e);f=Math.abs(f-e);2<f&&(f=Y(TJ,null,Number(f).toFixed(2)),e=NL(f,this.Z(),this.g),ct(this.ha,e),at(this.ha,f.g));this.N=!0}W(this.l,Ex,new Dx(b,a,0,c,d))}xM(this,b,a)};h.pl=function(){this.h&&W(this.l,kx,null)};
h.tl=function(){var a=this.g.getVolume();a!=this.J&&(this.J=a,this.L("volumeChange",{volume:a}),0==a&&this.L("mute"))};h.ul=function(){this.L("adBuffering")};var ZM=function(a,b,c){var d=document.body,e=XI(b)&&br(Zr);d=new GM(c,a.l,d,cJ(b,a.fa.disableUi),!0,e);e=b.J;a.o=null;null!=e&&c.H&&(a.o=new bE(a.l,null!=SI(b)),fE(a.o,b.i));a.l.subscribe(qx,function(){a.g.Mc()?a.resume():a.pause()});return d},nN=function(a){var b=a.o?gE(a.o):null;null!==b&&(a.g.pause(),a.Ca(b))};
VM.prototype.La=function(){Z.prototype.La.call(this);null!=this.h&&this.h.me()};VM.prototype.resize=function(a,b){Z.prototype.resize.call(this,a,b);null!=this.h&&this.h.me()};var hN=function(a,b,c){b=Y(b,c);a.dispatchEvent(new lK("log",null,b))};var oN=function(){eA.call(this);this.element=Ne("div");qh(this.element,{position:"absolute",width:"100%",height:"100%"})};w(oN,gA);var pN=function(a,b,c){this.g=b;this.l=a;this.i=c;this.h=new oN};w(pN,hz);pN.prototype.lb=function(){var a=this;window.frameElement&&qh(window.frameElement,{"z-index":100});hA(this.h,this.i);this.l.forEach(function(b){var c=new xA("vast");new Mz(c,a.g,b);fA(a.h,c);var d=yh(a.h.Nb());yA(c,rt(b,d.width),tt(b,d.height));c.setSize(b.g,b.h)})};pN.prototype.destroy=function(){Ve(this.h.Nb())};var qN=function(a){G.call(this,"vpaid-message");this.data=a};w(qN,G);var rN=function(a){H.call(this);this.g=a;this.h=new T(this);F(this,this.h)};w(rN,H);h=rN.prototype;h.init=function(){sN(this,new kK("createFriendlyIframe",this.g));this.h.G(Le(),"message",this.Fl)};h.start=function(){};h.resume=function(){};h.hj=function(){return"friendly"};h.gj=function(){};h.Gh=function(a,b){b.session=this.g;b.type=a;Le().parent.postMessage(Lg(b),"*")};
h.Fl=function(a){a:{a=LG((a.Hb||{}).data);if(null!=a)try{var b=JSON.parse(a.data);break a}catch(c){}b=null}null!=b&&b.session==this.g&&("friendlyReady"==b.type?this.dispatchEvent(new qN({type:"vpaidChannelLoaded"})):this.dispatchEvent(new qN(b)))};h.R=function(){sN(this,new kK("destroyFriendlyIframe",this.g))};var sN=function(a,b){a.dispatchEvent(new qN({type:"forwardVpaidManagerEvent",data:b}))};var tN=function(a,b,c,d,e){H.call(this);this.l=a;new O(WI(a));this.u=b;this.ba=c;this.g=d;this.w=e;this.o="";this.i=new T(this);F(this,this.i)};w(tN,H);h=tN.prototype;
h.init=function(){var a=WI(this.l);if(/\.html(\?.*)?$/.test(a))this.w&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=C(a);else{var b=new O(a),c=new O("http://tpc.googlesyndication.com/pagead/js/loader18.html");"https"==b.l&&pq(c,"https");a=rq(c,a||"",void 0).toString()}this.h=Ne("IFRAME",{src:ZF(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"});
this.i.G(this.h,"load",this.Hl);this.ba.Na().appendChild(this.h);this.i.G(Le(),"message",this.Gl);this.i.G(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.ij);this.i.G(this.g,OE,this.ij)};h.start=function(){null!=this.h&&(this.h.style.display="block")};h.resume=function(){uN(this,"play")};h.hj=function(){return"secure"};h.gj=function(a){var b={};uN(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))};
h.Gh=function(a,b){null!=this.h.contentWindow&&(b.session=this.u,b.type=a,this.h.contentWindow.postMessage(Lg(b),"*"))};h.Gl=function(a){a=a.Hb||null;a:{try{var b=JSON.parse(a.data);break a}catch(c){}b=null}if(a.source==this.h.contentWindow&&null!=b&&b.session==this.u)if("videoCall"==b.type)switch(b.func){case "load":case "play":this.ba.qb();this.o!=b.src&&(this.o=b.src,qK(this.g,b.src,null,this.l.getAdPodInfo()));this.g.nd();break;case "pause":this.g.pause();break;case "currentTime":rK(this.g,b.currentTime)}else this.dispatchEvent(new qN(b))};
h.Hl=function(){this.dispatchEvent(new qN({type:"vpaidChannelLoaded"}))};h.R=function(){Ve(this.h)};
h.ij=function(a){switch(a.type){case "loadedmetadata":a={};uN(this,"loadedmetadata",(a.duration=this.g.getDuration(),a));break;case "timeUpdate":a={};uN(this,"timeupdate",(a.duration=this.g.getDuration(),a.currentTime=this.g.getCurrentTime(),a));break;case "end":uN(this,"ended");break;case "loaded":uN(this,"loadstart");break;case "mediaLoadTimeout":uN(this,"stalled");break;case "play":uN(this,"playing");break;default:uN(this,a.type)}};
var uN=function(a,b,c){c=void 0===c?{}:c;c.messageType=b;a.Gh("wrapperCall",c)};function vN(a){a=WI(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var wN=/(doubleclick\.net|googleadservices\.com)/,xN=["ai","sigh"],yN=["xai","sig"],BN=function(a,b){var c=C(a);if(z(c))return a;Yg(c,"label")&&(a=c,c=Yg(a,"acvw")?a:zN(a,"&acvw=[VIEWABILITY]"));AN(c)?(a=zN(c,"&sdkv="+gF()),wF&&(a=zN(a,"&ssss=gima")),"impression"!=b&&"click"!=b&&(a=zN(a,"&vci=[CREATIVE_PLAYBACK]")),b=a):b=c;return b},zN=function(a,b){var c=a.indexOf("&adurl=");return-1!=c?Ld(a.substr(0,c),b,a.substr(c,a.length)):a+b},AN=function(a){return a&&wN.test(a)?a.includes("/pagead/adview")||
a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")?xN.every(function(b){return Yg(a,b)}):a.includes("/pcs/view")?yN.every(function(b){return Yg(a,b)}):!1:!1},CN=function(a){a=C(a);if(z(a))return!1;try{Hd(a)}catch(b){return!1}return!0};var DN=function(a,b,c){this.g=a;this.h=b;this.i=c};DN.prototype.getContentType=function(){return null==this.h?null:nE[this.h]||"Other"};var EN=function(a,b,c,d){DH.call(this,a,b,"Html",c,d)};w(EN,DH);EN.prototype.i=function(a){return new XB({height:this.Pc(),width:this.Qc(),sc:this.h,attribution:a.g},"html",a.h)};EN.prototype.F=function(){var a=Ne("DIV");a.innerHTML=this.h;return EH(this,a)};var FN=function(a,b,c,d){DH.call(this,a,b,"Static",c,d)};w(FN,DH);FN.prototype.getContent=function(){var a=DH.prototype.getContent.call(this);this.u&&(a=a.replace('src=""','src="'+ZF(C(this.h))+'"'));return a};FN.prototype.i=function(a){var b=this.u?"":ZF(C(this.h));return new XB({height:this.Pc(),width:this.Qc(),sc:b,attribution:a.g},"image",a.h)};FN.prototype.F=function(){var a=this.i(new AH).Nb(),b=Ne("a",{target:"_blank",id:this.sa});b.setAttribute("href",ZF(C(this.Lb())));b.appendChild(a);return b};var GN=function(a,b,c,d){JH.call(this);this.i=a||"";this.l=b||"";this.o=c||"";this.g=d};w(GN,JH);var HN=function(a,b){DH.call(this,a,b,"Static","text","")};w(HN,DH);HN.prototype.Mb=function(){return new Be(this.Qc(),this.Pc())};HN.prototype.Pc=function(){return 63};HN.prototype.Qc=function(){return null!=this.o?zh(this.o).width:0};var IN=function(a,b){if(null!=b){var c=Ne("a");c.setAttribute("href",ZF(C(a.Lb())));b.parentElement.replaceChild(c,b);c.appendChild(b)}};
HN.prototype.F=function(){this.o=this.i(new AH).Nb();this.o.id=this.sa;IN(this,D("textImageContainer",this.o));IN(this,D("overlayTextTitle",this.o));return this.o};var JN=function(a,b){var c=a.getAd();a=oI(c,"AdSense");var d=oI(c,"TextAd"),e=d.i,f="rtl";null!=e&&(f=Fc.test(e)?"rtl":"ltr");e={title:e,text:d.l+" "+d.o,dir:f};if(d=d.g)e.image=ZF(d),c=c.w.find(function(g){return g instanceof cI}),null!=c&&(e.duration=gs(c.getDuration()));a.H&&(e.Ae=a.H);e.attribution=a.i?a.i:b;return e};
HN.prototype.i=function(a){return new XB(JN(this,a.g),"text",a.h)};function KN(a,b,c){if(0==c.length)return new DH(a,b,"",null,"");var d=LN(c);c=d.g;var e=d.h;d=d.i;GG.D().report(95,{rt:c,ct:e});switch(c){case "Html":return new EN(a,b,e,d);case "Static":switch(nE[e]){case "Image":return new FN(a,b,e,d);case "Text":return new HN(a,b)}}return new DH(a,b,c,e,d)}
function LN(a){var b=a.find(function(f){return"IFrame"==f.g}),c=a.find(function(f){return"Html"==f.g}),d=a.find(function(f){return"Static"==f.g&&"Image"==nE[f.h]}),e=a.find(function(f){return"Static"==f.g&&"Text"==nE[f.h]});return null!=b?b:null!=c?c:null!=d?d:null!=e?e:a[0]};function MN(a,b,c,d,e){var f=LN(e),g=KN(a.id,a.size,[f]);g.u=!0;g.C=a.pa;g.W=b;g.bg=c;d&&(g.l=d);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(l){l=KN(a.id,a.size,[l]);l.u=!0;l.C=a.pa;l.W=b;l.bg=c;d&&(l.l=d);k.push(new GH(l,[],a.ud))});return new GH(g,k,a.ud)};var NN=function(){JH.call(this)};w(NN,JH);var ON=function(a){this.h=a};w(ON,KE);ON.prototype.g=function(){return new JE(PN(this),null)};
var PN=function(a){try{return QN(a).g.map(function(b){var c=b.Ya,d=null,e=null,f=!1,g=null,k=!1,l=null,m=null;c instanceof fu?(d=c.rf,e=c.vd,g=c.description,l=c.xg):c instanceof uv&&(f=c.Eb,k=c.Ff,m=c.nf);a:{var n=c.sb;if(z(C(n)))n="UNKNOWN";else switch(n=n.toUpperCase(),n){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a;default:n=
"UNKNOWN"}}b=new gI(b.id||"",c.sb,n,d,e,g,l,RN(c.Aa),b.pb||0,SN(c.g,"error"),SN(c.h,"impression"),TN(c.bb),UN(c.bb),VN(c.Aa),b,m,f,k,WN(c.Ob));c=Fu(a.h)||0;b.aa=c;return b})}catch(b){throw ZJ(PJ,b);}},SN=function(a,b){var c=[];a.forEach(function(d){CN(d)&&c.push(BN(d,b))});return c},UN=function(a){var b=[];a.forEach(function(c){null!=c.Rd&&(c=XN(c.Rd,c.pb||0),b.push(c))});return b},XN=function(a,b){var c=[];a.g.forEach(function(d){(d=YN(d,b))&&c.push(d)});return new IH(c,ZN(a.h))},YN=function(a,b){var c=
{pa:a.pa,size:$N(a.width,a.height),id:a.id,ud:a.ud},d=null;null!=a.Ie&&(d=a.Ie.url);var e=aO(a.Ra);if(0==e.length)return null;var f=bO(a.ga);a.Af.forEach(function(g){rH(f,"click",g.url)});return MN(c,d,b,f,e)},ZN=function(a){a=null!=a?a.toLowerCase():"";return"all"==a?"all":"any"==a?"any":"none"},TN=function(a){var b=[];a.forEach(function(c){null!=c.Kc?b.push(cO(c)):null!=c.je&&(b=b.concat(dO(c)))});return b},cO=function(a){var b=a.Kc,c=new cI(b.duration?b.duration/1E3:0,eO(b.sd),fO(b.Wf),b.Lf,gO(b.jc),
hO(b.jd)),d=bO(b.ga);iO(b.sd).forEach(function(e){rH(d,"click",e)});b.sd&&b.sd.Ke.forEach(function(e){rH(d,e.id?e.id:"",e.url)});c.M=b.Ma||"";c.bg=a.pb||0;c.rg(a.id);c.qg(a.adId);d&&(c.l=d);vH(c,jO(a.Yc));return c},dO=function(a){var b=a.je,c=bO(b.ga);b=b.g.map(function(e){return kO(e,c)});if(0==b.length&&!c.isEmpty()){var d=new DH(null,new Be(-1,-1),"",null,"");c&&(d.l=c);b.push(d)}b.forEach(function(e){e.bg=a.pb||0;e.rg(a.id);e.qg(a.adId);var f=jO(a.Yc);e.ci=f});return b},kO=function(a,b){var c=
-1;null!=a.Ve&&(c=a.Ve/1E3);var d=KN(a.id,$N(a.width,a.height),aO(a.Ra));d.M=a.Ma||"";d.C=a.pa;d.W=a.ff?a.ff.url:null;var e=new oH;a.hg.forEach(function(f){rH(e,"click",f.url)});tH(e,b);e&&(d.l=e);d.T=c;return d},aO=function(a,b){b=void 0===b?!1:b;var c=[];a.forEach(function(d){var e=d.creativeType?d.creativeType.toLowerCase():null;a:{var f=d.g;switch(f){case "Static":case "IFrame":case "Html":break a;default:f=null}}null==f||b&&"Static"!==f||"text/javascript"==e||c.push(new DN(f,e,d.url))});return c},
hO=function(a){var b=[];a.forEach(function(c){var d=aO(c.Ra,!0);if(0<d.length){d=LN(d);var e=new qt;e.Wc=c.Wc||"";e.pa=c.pa;e.h=null!=c.width?c.width:NaN;e.g=null!=c.height?c.height:NaN;e.w=c.hf?c.hf:1;e.Pb=c.Pb?c.Pb.toLowerCase():"left";e.Qb=c.Qb?c.Qb.toLowerCase():"top";e.Pa=null!=c.Pa?c.Pa:0;e.Rb=null!=c.Rb?c.Rb:-1;e.i=eO(c.be);e.l=iO(c.be);e.u=lO(c.be);e.o=c.Re;e.H=d.i;e.C=d.g;b.push(e)}});return b},fO=function(a){var b=[];a.forEach(function(c){c=new $H(c.wb?c.wb.toLowerCase():null,c.mimeType?
c.mimeType.toLowerCase():null,c.ab?c.ab.toLowerCase():null,c.xa||0,c.xa||0,c.maxBitrate||0,null!=c.width?c.width:NaN,null!=c.height?c.height:NaN,c.url,c.pa);b.push(c)});return b},eO=function(a){return null==a?null:null==a.Xb?null:a.Xb.url},iO=function(a){var b=[];return null==a?b:a.zc.map(function(c){return c.url})},lO=function(a){return(null==a?[]:a.xf).map(function(b){var c=new pt;c.h=b.width||0;c.g=b.height||0;c.i=b.sc?b.sc.url:"";c.bd=b.bd;return c})},bO=function(a){var b=new oH;a.forEach(function(c){var d=
BN(c.url,c.g);if(CN(d)){var e=gO(c.Pa);null==e&&null!=c.Fd&&(e=new mH(c.Fd,!0));rH(b,c.g,d,e)}});return b},VN=function(a){var b=new Map;a.forEach(function(c){var d=mO(c);c=d.type;d=d.Jk;if(null!=c&&null!=d){var e=b.get(c);null==e?b.set(c,d):"generic"==c&&KH(e,d.h)}});return b},mO=function(a){var b=null,c=null;if(a instanceof Wt)b="activeview",c=new vK(a.g,bO(a.ga));else if(a instanceof jD)b="wrapper_info",c=new MH(a.duration/1E3);else if(a instanceof mD)b="adVerifications",a=WN(a.Ob),0!=a.length&&
(c=new NH(a));else if(a instanceof Yv)b="adx",c=new PH(a.h,gO(a.g));else if(a instanceof lD)b="AdSense",c=bO(a.ga),c=new OH(a.$a,a.wc,a.Cf,a.Ae,a.Gg,nO(a.zg),a.ue,c,a.gg);else if(a instanceof Zv)b="DFP",c=new QH("Generic"==a.g,bO(a.ga));else if(a instanceof nD)b="GfpCookieExtension",c=new RH(li(ki(ji(ii(new hi,a.value),a.expires),a.path),a.domain));else if(a instanceof oD)b="inred_info",c=new UH(a.g,a.h,a.i);else if(a instanceof pD)b="metrics",c=new VH(a.h,a.g);else if(a instanceof qD)b="pod",c=new YH(a.pb);
else if(a instanceof rD)b="programmatic",c=new NN(a.g);else if(a instanceof sD)b="sodar",c=new WH(a.i,a.h,a.l,a.g);else if(a instanceof tD)b="TextAd",c=new GN(a.Of,a.Pf,a.Qf,a.Ib,a.imageWidth,a.imageHeight);else if(a instanceof uD)b="uiSettings",c=new XH(a.g);else if(a instanceof vD)b="waterfall",c=new ZH(a.g);else if(a instanceof Vt)b="generic",c=new JH(bO(a.ga));else if(a instanceof iD){b="InfoCards";var d=[];a.Ge.forEach(function(e){return d.push.apply(d,u(e.ga))});c=new SH(a.Ge,bO(d))}return{type:b,
Jk:c}},jO=function(a){return a.map(function(b){return new AG(b.Kf,b.Jf)})},WN=function(a){var b=[];a.forEach(function(c){if(null!=c.se){var d=pH(bO(c.ga),"verificationNotExecuted");b.push(new kt(c.se,{Xc:c.Xc||void 0,ga:d,vendor:c.vendor||void 0,parameters:c.parameters||void 0}))}});return b},nO=function(a){var b=new AH;if(null==a)return b;null!=a.$a&&(b.g=a.$a);b.i=a.wc;b.l=a.sf;b.h=a.vg;return b},RN=function(a){var b="";a.forEach(function(c){c instanceof rD&&(b=c.g||"")});return b},$N=function(a,
b){return new Be(null!=a?a:NaN,null!=b?b:NaN)},gO=function(a){return null==a?null:new mH(a/1E3,!1)},QN=function(a){var b=new Hv;Iv(b,new wD);Iv(b,new xD);Iv(b,new AD);Iv(b,new BD);Iv(b,new yD);Iv(b,new DD);Iv(b,new ED);Iv(b,new FD);Iv(b,new KD);Iv(b,new MD);Iv(b,new ND);Iv(b,new OD);Iv(b,new PD);Iv(b,new QD);Iv(b,new RD);Iv(b,new SD);Iv(b,new TD);Iv(b,new CD);Iv(b,new GD);Iv(b,new UD);var c=a.h;if(!c)throw Error("VAST string is empty.");if(!Eu(c))throw Error("Response string is not a valid VAST document.");
a=[];c=p(E(c));for(var d=c.next();!d.done;d=c.next()){var e=d.value;if("Ad"==e.nodeName){var f=void 0,g=b;d={};d.id=e.getAttribute("id");d.pb=yv(e,"sequence");d.$c=e.getAttribute("adType");e=p(E(e));for(var k=e.next();!k.done;k=e.next()){var l=k.value;if("InLine"==l.nodeName){var m=k=e=f=void 0,n=void 0,q=void 0,v=void 0,t=[],A=[],r=[],L=[];l=p(E(l));for(var J=l.next();!J.done;J=l.next())switch(J=J.value,J.nodeName){case "AdServingId":v=U(J);case "AdSystem":q=U(J);break;case "AdTitle":n=U(J);break;
case "AdVerifications":L=L.concat(Ev(J));break;case "Advertiser":m=U(J);break;case "Creatives":J=p(E(J));for(var I=J.next();!I.done;I=J.next())I=I.value,"Creative"==I.nodeName&&r.push(Pv(g,I));break;case "Description":k=U(J);break;case "Error":null!=U(J)&&t.push(U(J));break;case "Extensions":f=Jv(g,J);break;case "Impression":J=U(J);null!=J&&A.push(J);break;case "Survey":e=U(J)}f=new fu({td:v,sb:q,vd:n,rf:m,description:k,xg:e,Dc:t,Ic:A,bb:r,Ob:L,Aa:f});break}else if("Wrapper"==l.nodeName){e=k=f=void 0;
m=g;r=l;n=[];q=[];v=[];l=[];g="false"!=r.getAttribute("followAdditionalWrappers");t="true"==r.getAttribute("allowMultipleAds");A="true"==r.getAttribute("fallbackOnNoAd");r=p(E(r));for(L=r.next();!L.done;L=r.next())switch(L=L.value,L.nodeName){case "AdSystem":e=U(L);break;case "VASTAdTagURI":k=(k=U(L))?k:void 0;break;case "Creatives":L=p(E(L));for(J=L.next();!J.done;J=L.next())J=J.value,"Creative"==J.nodeName&&v.push(Pv(m,J));break;case "Error":L=U(L);null!=L&&n.push(L);break;case "AdVerifications":l=
l.concat(Ev(L));break;case "Extensions":f=Jv(m,L);break;case "Impression":L=U(L),null!=L&&q.push(L)}f=new uv({sb:e,Ff:g,Eb:t,fh:A,nf:k,Dc:n,Ic:q,bb:v,Ob:l,Aa:f});break}}if(!f)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new St(f,d))}}return new tv(a)},oO=function(a,b){try{var c=Iu(C(a));if(!c.documentElement)return[];var d=Nv(c.documentElement);return 0==d.g.length?[]:[XN(d,b)]}catch(e){return[]}};var pO=function(a,b){Z.call(this,a);b instanceof MK&&(b=b.g);this.ub(b,new JK);this.M=this.X=this.T=!1;this.F=[];this.aa="goog_"+Md++;this.W=-1;this.C=new qg(500);this.J=this.w=-1;this.ea=(new O(WI(this.Z()))).h;this.g=b.Kb();this.K=this.l=!1;this.i=this.Z().g instanceof cI;this.o=b.ib();this.u="normal";a=this.Z();b=this.aa;var c=this.da(),d=this.g;this.h=vN(a)||2!=X.H?new tN(a,b,c,d,vN(a)):new rN(b)};w(pO,Z);h=pO.prototype;
h.init=function(){if(!wE()){var a=Y(EJ,null,"vpaid");qO(this,a);throw a;}Z.prototype.init.call(this);a=this.Z().o;var b=ab();a.h=b;a.g=null;this.J=sg(this.Ea,this.fa.loadVideoTimeout,this);this.ma().G(this.C,"tick",this.tb);this.ma().G(yK(),wG,this.Sc);this.ma().G(this.h,"vpaid-message",this.Wa);this.h.init();wM(this,"loaded")};h.isLinear=function(){return 1==this.i};
h.start=function(){Z.prototype.start.call(this);this.h.start();rO(this);ct(this.ha,UL(this.Z(),this.g));this.g.od();if(VF()){var a=new ht(this.Z().i,this.ha,this.g,VF(),this.Z().l,!0);a.hd();F(this,a)}this.Y("show_ad");this.da().Ab();a=this.Z();if(null!=a&&a.g instanceof cI&&(a=dJ(a),null!=a&&0!=a.length)){var b=document.body;b&&(this.N=new pN(a,this.o,b),this.N.lb(),this.o.subscribe(wx,this.ia,this),this.o.subscribe(xx,this.va,this))}this.volume=null!=this.volume?this.volume:1;this.g.setVolume(this.volume);
this.M=!0;this.i?this.L("contentPauseRequested"):this.dispatchEvent(new kK("vpaidNonLinear",this.aa));sO(this)};h.resize=function(a,b){Z.prototype.resize.call(this,a,b);this.u=Du(a,b)?"fullscreen":"normal";tO(this,"resizeAd",{width:a,height:b,viewMode:this.u})};h.expand=function(){tO(this,"expandAd");this.u="fullscreen"};h.collapse=function(){tO(this,"collapseAd");this.u="normal"};h.pause=function(){this.l||tO(this,"pauseAd")};h.resume=function(){this.l&&(tO(this,"resumeAd"),this.h.resume())};
h.setVolume=function(a){(isNaN(a)||0>a||1<a)&&cK(this,FJ,null,"volume",String(a));this.M?tO(this,"setAdVolume",{value:a}):this.volume=a};h.R=function(){this.C.stop();this.g.Nc();this.h.$();this.N&&this.N.destroy();this.o.clear();this.ba&&this.ba.Ub();KF||this.g.Ld();this.i&&(!this.X||this.g.Mc()||this.g.Bd()||this.g.pause(),this.L("contentResumeRequested"));this.L("allAdsCompleted");this.T=!1;this.F=[];tg(this.J);this.C.$();Z.prototype.R.call(this)};h.kg=function(){};
var uO=function(a){var b=HC(a.Z()),c=C(IC(a.Z())),d=a.Z();if(hI(d)){var e=d.g,f=dI(e);null!=f&&(e.g=f)}d=WI(d);b={desiredBitrate:a.fa.bitrate,creativeData:b,viewMode:a.u,clickThroughUrl:c,adUrl:d,volume:a.volume};a.T=!0;tO(a,"initAd",b);a.F.forEach(function(g){tO(a,g.type,g.Ph)});a.F=[];a.h.gj(a.fa.mimeTypes||[])},tO=function(a,b,c){c=void 0===c?{}:c;a.T?a.h.Gh(b,c):a.F.push({type:b,Ph:c})};pO.prototype.Ea=function(){qO(this,Y(QJ,null,(this.fa.loadVideoTimeout/1E3).toString()))};
var qO=function(a,b){if(a.ra()){var c=a.Z().o;if(null==c.g){var d=ab();c.g=d}}c=NL(b,a.Z());ct(a.ha,c);at(a.ha,b.g);a.dispatchEvent(new sJ(b));a.stop()};
pO.prototype.Wa=function(a){a=a.data;if("string"===typeof a.type)switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":uO(this);break;case "returnDuration":this.w=a.duration;break;case "returnRemainingTime":vO(this,a.remainingTime);break;case "AdClickThru":this.Y("click");this.L("click");break;case "AdDurationChange":this.w=a.duration;vO(this,a.remainingTime);this.Z().g.ca=this.w;this.L("durationChange");break;case "AdError":this.K=!0;qO(this,Y(YJ,
Error(a.message)));break;case "AdExpandedChange":this.L("expandedChanged");break;case "AdImpression":this.Sa(this.Z());wM(this,"impression");this.K=!0;this.L("start");break;case "AdLinearChange":a=a.isLinear;!this.i&&a?(this.L("contentPauseRequested"),tO(this,"becameLinear")):!a&&this.i&&(this.L("contentResumeRequested"),tO(this,"becameNonlinear"),tO(this,"getAdRemainingTime"),tO(this,"getAdDuration"));this.i=a;var b=this.Z();b.Wa=!0;b.tb=a;this.L("linearChanged");break;case "AdLoaded":tg(this.J);
this.X=!0;b=this.Z().o;var c=ab();b.g=c;b=a.companions;a=this.Z();0==nI(a).length&&(b=oO(b,a.g.Fa()),0!=b.length&&fI(a,b));sO(this);this.L("adCanPlay");break;case "AdPaused":this.l=!0;wM(this,"pause");break;case "AdPlaying":this.l=!1;wM(this,"resume");break;case "AdRemainingTimeChange":vO(this,a.remainingTime);break;case "AdSkipped":wM(this,"skip");this.stop();break;case "AdSkippableStateChange":wM(this,"skippableStateChanged");break;case "AdStarted":this.Y("creativeView");this.zd();this.L("adStarted");
break;case "AdStopped":this.Y("stop");this.K||qO(this,Y(YJ));this.stop();break;case "AdUserAcceptInvitation":this.i?this.Y("acceptInvitationLinear"):this.Y("acceptInvitation");break;case "AdUserMinimize":this.Y("collapse");break;case "AdUserClose":wM(this,"userClose");break;case "AdVideoComplete":wM(this,"complete");break;case "AdVideoFirstQuartile":wM(this,"firstQuartile");break;case "AdVideoMidpoint":wM(this,"midpoint");break;case "AdVideoStart":this.Y("start");break;case "AdVideoThirdQuartile":wM(this,
"thirdQuartile");break;case "AdVolumeChange":a=a.volume;a!=this.volume&&this.L("volumeChange",{volume:a});0==a&&0!=this.volume?(this.Y("mute"),this.L("mute")):0==this.volume&&0!=a&&this.Y("unmute");this.volume=a;this.g.setVolume(a);break;case "AdInteraction":b={};b.id=a.id;this.L("interaction",b);break;case "Ping":DG(a.url)}};var sO=function(a){a.X&&a.M&&(tO(a,"startAd"),a.C.start(),a.i||(tO(a,"becameNonlinear"),tO(a,"getAdRemainingTime")),tO(a,"getAdDuration"))};
pO.prototype.getCurrentTime=function(){return 0>this.getDuration()||0>this.getRemainingTime()?-1:this.getDuration()-this.getRemainingTime()};pO.prototype.getDuration=function(){return this.w};pO.prototype.getRemainingTime=function(){return this.W};pO.prototype.kd=function(){return!this.l};var vO=function(a,b){a.W=b;if(a.kd()){b=a.Z().getDuration();var c=b-a.W;xM(a,c,b);$s(a.ha,c,1E3*b)}b=a.Z().getDuration();c=b-a.getRemainingTime();c<=b&&W(a.o,Ex,new Dx(c,b))};pO.prototype.tb=function(){tO(this,"getAdRemainingTime")};
var rO=function(a){var b={};b.pid=Br();b.dn=a.ea;b["if"]=a.h.hj();b.asys=iI(a.Z());var c=new O(WI(a.Z()));b.vad=-1!=c.i.indexOf("vpaid_adapter.js");b.atag=Hq(c.g,"adTagUrl");var d=[];a.Z().Ec().forEach(function(e){d.push(C(e.mimeType).toLowerCase())});b.mtypes=d.join(",");GG.D().report(29,b)};pO.prototype.va=function(a){a.o.forEach(function(b){DG(b)})};pO.prototype.ia=function(a){var b=a.i;null!=b&&(this.Ca(b),this.pause());a.l.forEach(function(c){DG(c)})};
pO.prototype.skip=function(){this.ra()&&tO(this,"skipAd")};var wO=function(){Z.call(this,[]);this.w=this.C=-1;this.J=!1};w(wO,Z);h=wO.prototype;h.Z=function(){if(this.g)return this.g.getCurrentAd();throw Y(wJ,null,"Proxied ads manager not available.\n"+Error().stack);};h.ra=function(){return null!=this.g&&null!=this.g.getCurrentAd()};h.bc=function(){return!1};h.xb=function(){return null};h.og=function(){this.ra()&&(this.ka=[this.Z()],this.Ga=this.Z())};h.destroy=function(){this.g&&(this.g.destroy(),this.g=null);Z.prototype.destroy.call(this)};
h.getCurrentAd=function(){return this.g?this.g.getCurrentAd():null};h.zd=function(){this.J=!0;this.g&&this.g.zd()};h.init=function(){this.Ua()&&this.g.init()};h.updateAdsRenderingSettings=function(a){Z.prototype.updateAdsRenderingSettings.call(this,a);this.g.updateAdsRenderingSettings(a)};h.ub=function(a,b){var c=a;a&&a instanceof MK&&(c=a.g);Z.prototype.ub.call(this,c,b);var d;if(d=this.fa.enablePreloading)d=this.g,d=!(null!=d&&d instanceof pO);d?xO(this,a,b):xO(this,c,b)};
h.R=function(){this.L("allAdsCompleted");yO(this);Z.prototype.R.call(this)};h.getCurrentTime=function(){return this.Ua()?this.g.getCurrentTime():-1};h.getDuration=function(){return this.Ua()?this.g.getDuration():-1};h.getRemainingTime=function(){return this.Ua()?this.g.getRemainingTime():-1};h.La=function(){this.g&&this.g.La()};h.resize=function(a,b){this.C=a;this.w=b;this.Ua()&&this.g.resize(a,b)};h.pause=function(){this.Ua()&&this.g.pause()};h.resume=function(){this.Ua()&&this.g.resume()};
h.getAdSkippableState=function(){return this.Ua()?this.g.getAdSkippableState():!1};h.skip=function(){this.Ua()&&this.g.skip()};h.start=function(){if(this.Ua()){var a=this.g,b=this.da();a&&b&&(null!=a&&a instanceof VM?b.qb():null!=a&&a instanceof pO&&(b.Ab(),b.qb()));null==this.volume||isNaN(this.volume)||this.g.setVolume(this.volume);this.g.start()}};
var xO=function(a,b,c){if(a.g){var d=a.g;Lu(a.ma(),d,uG,a.dispatchEvent,a);Lu(a.ma(),d,"adError",a.nj,a);Lu(a.ma(),d,"allAdsCompleted",Na,a);Lu(a.ma(),d,"contentPauseRequested",a.oj,a);Lu(a.ma(),d,"contentResumeRequested",a.Nh,a);a.g.Va(a.ya);a.g.ub(b,c)}};h=wO.prototype;h.stop=function(){this.getCurrentAd()&&this.getCurrentAd().isLinear()&&this.L("contentResumeRequested");this.destroy()};h.getVolume=function(){return this.Ua()?this.g.getVolume():0};
h.setVolume=function(a){a=isNaN(a)||0>a?0:a;Z.prototype.setVolume.call(this,a);this.Ua()&&this.g.setVolume(a)};h.zb=function(){this.g&&this.g.zb()};h.Gb=function(){return this.g?this.g.Gb():null};h.clicked=function(){this.Ua()&&this.g.clicked()};h.nj=function(a){this.dispatchEvent(a)};h.oj=function(a){this.dispatchEvent(a)};h.Nh=function(a){this.dispatchEvent(a)};h.Va=function(a){Z.prototype.Va.call(this,a);this.g&&this.g.Va(a)};
var yO=function(a){a.g&&(a.g.destroy(),a.g=null);a.da()&&a.da().Ub();jf(a.V);a.V=null};wO.prototype.Ua=function(){return null!=this.g&&this.g.Ua()};var AO=function(a,b,c){wO.call(this);this.l=c;this.h=null;this.i=this.u=this.o=!1;this.g&&yO(this);this.g=b;zO(this,b)};w(AO,wO);AO.prototype.getCurrentAd=function(){return this.l};AO.prototype.dispatchEvent=function(a){if(a instanceof lK){if("loaded"==a.type&&this.i)return a.stopPropagation(),!1;if("loaded"==a.type)this.i=!0;else if("complete"==a.type||"skip"==a.type)this.i=!1}return wO.prototype.dispatchEvent.call(this,a)};AO.prototype.bc=function(){return null!=KI(this.l)&&KI(this.l).ac()};
AO.prototype.nj=function(a){if(this.o)this.dispatchEvent(a);else{var b=a.getError()||Y(XJ);BO(this,a.target,b)}};var BO=function(a,b,c){b=b.getCurrentAd();JI(b);b=KI(b);CO(a,b,Error(c.getMessage()))};AO.prototype.Nh=function(a){this.o&&(wO.prototype.Nh.call(this,a),this.destroy())};AO.prototype.oj=function(a){this.u||(this.u=!0,this.dispatchEvent(a))};
var CO=function(a,b,c){var d=function(f){var g=Y(xJ,c);a.dispatchEvent(new lK("log",null,g));try{var k=a.da(),l=a.ya,m=DO([f[0]],k);if(m){m.Va(l);var n=m}else throw Error("Manager creation failure, failed to determine ad type.");f=n;zO(a,f);try{a.g&&yO(a),a.g=f,a.g&&a.fa&&a.g.updateAdsRenderingSettings(a.fa),xO(a,a.da(),new JK),a.J&&a.g.zd(),a.g.resize(a.C,a.w),a.g.init(),a.start()}catch(q){BO(a,f,q)}}catch(q){f=q,cK(a,f.getMessage(),f.getInnerError())}},e=function(){a.L("contentResumeRequested");
cK(a,yJ,c);a.destroy()};null!=b?b.dd(d,e):e(null)},zO=function(a,b){a.h&&a.h.$();a.h=new T(a);F(a,a.h);Lu(a.h,b,"start",a.F,a);Lu(a.h,b,"adStarted",a.F,a)};AO.prototype.F=function(){this.h&&this.h.$();this.o=!0};var FO=function(a){Z.call(this,[]);this.h=a;this.i=0;this.g=this.h[this.i];this.l=this.o=this.u=null;this.w=this.C=-1;this.F=!1;EO(this)};w(FO,Z);h=FO.prototype;h.Z=function(){if(this.g)return this.g.getCurrentAd();throw Y(wJ,null,"Current ads manager not available.\n"+Error().stack);};h.ra=function(){return null!=this.g&&null!=this.g.getCurrentAd()};h.bc=function(){return this.i+1<this.h.length};h.xb=function(){return this.bc()?this.h[this.i+1].getCurrentAd():null};
h.og=function(){this.ra()&&(this.ka=[this.Z()],this.Ga=this.Z())};h.ma=function(){};h.destroy=function(){GO(this);Z.prototype.destroy.call(this)};h.getCurrentAd=function(){return this.g?this.g.getCurrentAd():null};h.zd=function(){this.g&&this.g.zd()};h.init=function(){this.g&&this.g.init()};h.ub=function(a,b){var c=a;a&&a instanceof MK&&(c=a.g);Z.prototype.ub.call(this,c,b);this.fa.enablePreloading&&!HO(this.g)?IO(this,a,b):IO(this,c,b)};
h.R=function(){var a=this;this.h.forEach(function(b){b!==a.g&&b.destroy()});GO(this);this.o&&(this.o.$(),this.o=null);this.l&&(this.l.destroy(),this.l=null);this.L("allAdsCompleted");Z.prototype.R.call(this)};h.getCurrentTime=function(){return this.g?this.g.getCurrentTime():-1};h.getDuration=function(){return this.g?this.g.getDuration():-1};h.getRemainingTime=function(){return this.g?this.g.getRemainingTime():-1};h.La=function(){this.g&&this.g.La()};
h.resize=function(a,b){this.C=a;this.w=b;this.g&&this.g.resize(a,b)};h.pause=function(){this.g&&this.g.pause()};h.resume=function(){this.g&&this.g.resume()};h.getAdSkippableState=function(){return this.g?this.g.getAdSkippableState():!1};h.skip=function(){this.g&&this.g.skip()};h.start=function(){if(this.g){var a=this.g,b=this.da();a&&b&&(null!=a&&a instanceof VM?b.qb():HO(a)&&(b.Ab(),b.qb()));null==this.volume||isNaN(this.volume)||this.g.setVolume(this.volume);this.g.start()}};
h.updateAdsRenderingSettings=function(a){Z.prototype.updateAdsRenderingSettings.call(this,a);null!=this.g&&this.g.updateAdsRenderingSettings(a);null!=this.l&&this.l.updateAdsRenderingSettings(a);this.h.forEach(function(b){b.updateAdsRenderingSettings(a)})};var IO=function(a,b,c){a.g&&(a.u=new T(a),JO(a,a.g,a.u),a.g.ub(b,c))};h=FO.prototype;h.stop=function(){this.L("contentResumeRequested");this.destroy()};h.getVolume=function(){return this.g?this.g.getVolume():0};
h.setVolume=function(a){a=isNaN(a)||0>a?0:a;Z.prototype.setVolume.call(this,a);this.g&&this.g.setVolume(a)};h.zb=function(){this.g&&this.g.zb()};h.Gb=function(){return this.g?this.g.Gb():null};h.clicked=function(){this.g&&this.g.clicked()};
var JO=function(a,b,c){Lu(c,b,uG,a.dispatchEvent,a);Lu(c,b,"start",a.M,a);Lu(c,b,"adError",a.N,a);Lu(c,b,"allAdsCompleted",Na,a);Lu(c,b,"contentPauseRequested",a.J,a);Lu(c,b,"contentResumeRequested",a.K,a)},EO=function(a){var b=0,c=a.h.length;a.h.forEach(function(e){b+=e.getCurrentAd().getDuration()});var d=1;a.h.forEach(function(e){e=e.getCurrentAd().getAdPodInfo();e.Bb=c;e.rb=d;e.h=d;d++;e.Jb=b})};FO.prototype.N=function(a){var b=a.getError()||Y(XJ);KO(this,a.target,b)};
var KO=function(a,b,c){a.l=null;a.o=null;a.i+1>=a.h.length?cK(a,XJ,c.getInnerError()):(c=Y(XJ,c.getInnerError()),a.dispatchEvent(new lK("log",null,c)),LO(a,b))};FO.prototype.J=function(){this.F||(this.L("contentPauseRequested"),this.F=!0)};FO.prototype.K=function(a){LO(this,a.target)};
FO.prototype.M=function(){if(this.fa.enablePreloading){var a=this.i+1<this.h.length?this.h[this.i+1]:null;if(null!==a&&!mI(a.getCurrentAd())){this.o=new T(this);JO(this,a,this.o);var b=HO(a)?this.da():new MK(this.da(),this.fa.enablePreloading);a.updateAdsRenderingSettings(this.fa);a.ub(b,new JK);a.resize(this.C,this.w);a.init();this.l=a}}};
var LO=function(a,b){if(a.g===b)if(GO(a),a.i++,a.i<a.h.length)try{a.g=a.h[a.i],a.g===a.l?(a.u=a.o,a.l=null,a.o=null,a.da().Ub(),a.da().ve()):(a.g&&a.g.updateAdsRenderingSettings(a.fa),IO(a,a.da(),new JK),a.g.resize(a.C,a.w),a.g.init()),a.start()}catch(c){KO(a,a.g,c)}else a.L("contentResumeRequested"),a.destroy()};FO.prototype.Va=function(a){this.h.forEach(function(b){b.Va(a)})};
var GO=function(a){a.u&&(a.u.$(),a.u=null);a.g&&(a.g.destroy(),a.g=null);a.da()&&a.da().Ub()},HO=function(a){return null!=a&&a instanceof pO};var MO=function(){hz.apply(this,arguments)};w(MO,hz);h=MO.prototype;h.Oc=function(){};h.show=function(){};h.Ze=function(){};h.Yb=function(){};h.Wd=function(){};var NO=function(a){eA.call(this);this.element=Ne("DIV","nonLinearContainer");a&&oy(this.element,"autoalign")};w(NO,gA);var OO=function(a,b,c,d,e,f){MO.call(this,b);this.o=a;this.H=c;this.u=new T(this);this.l=new NO(d);this.C=e;this.w=f};w(OO,MO);h=OO.prototype;
h.lb=function(){var a=this;hA(this.l,this.H);this.h=this.o.i(this.w);var b=YB(this.h);null!=b&&this.u.G(b,"click",function(c){c.stopPropagation();W(a.g,Zw,null)});new uz(this.h,this.g,!0);new rz(this.h,this.g,nx);fA(this.l,this.h);this.C&&(b=new wA,new nz(b,this.g,fx),fA(this.h,b),this.i=new $B,new Fz(this.i,this.g,ox),fA(this.l,this.i));this.o.w&&(b=new bC,new kz(b,this.g,yx),fA(this.h,b));W(this.g,px,null)};h.destroy=function(){Ve(this.l.Nb());this.u.$()};
h.Oc=function(){return this.h?this.h.Nb():null};h.show=function(){this.i&&Ez(this.i);this.h&&this.h.show()};h.Ze=function(){this.i&&this.i.show();this.h&&this.h.$e()};h.Yb=function(){return this.o};h.Wd=function(){return this.h};var PO=function(a){Z.call(this,a);this.h=null;this.W=this.X=-1;this.o=!1;this.F=[]};w(PO,Z);h=PO.prototype;h.start=function(){Z.prototype.start.call(this);this.da().Ab();this.h=this.da().Na();if(null!=this.h){this.Y("show_ad");Te(this.h);this.Wi();if(VF()&&this.g){var a=this.g.Oc();yK();var b=new ht(this.Z().i,this.ha,this.da().Kb(),VF(),this.Z().l);b.o=a;b.hd();F(this,b)}this.Ye();this.F.forEach(function(c){return c()});this.F=[];this.o=!0}};
h.init=function(){Z.prototype.init.call(this);var a=yK();this.ma().G(a,wG,this.Sc)};h.expand=function(){null!=this.g&&this.g.show();this.Y("expand")};h.collapse=function(){null!=this.g&&this.g.Ze();this.Y("collapse")};h.La=function(){Z.prototype.La.call(this);this.Ye();this.o&&this.Y("overlay_resize")};h.resize=function(a,b){Z.prototype.resize.call(this,a,b);this.X=a;this.W=b;this.Ye();this.o&&this.Y("overlay_resize")};
h.R=function(){null!=this.g&&(this.g.destroy(),this.g=null);this.da()&&this.da().ib().clear();this.o=!1;yK();null!=this.h&&(Te(this.h),this.h=null);Z.prototype.R.call(this)};
h.Wi=function(){var a=this;if(!this.g){var b=this.Z().g;if(null==b){var c=Y(LJ);QO(this,c);throw c;}c=this.Z();try{this.Sa(c)}catch(e){throw QO(this,e),e;}ct(this.ha,UL(c));c=this.ra()&&LI(this.Z())||this.fa.useStyledNonLinearAds;if(this.h){var d=this.da().ib();this.g=new OO(b,d,this.h,this.fa.autoAlign,c,new AH);d.subscribe(fx,function(){return void a.fe()});d.subscribe(nx,function(){var e=b.Lb();wM(a,"click");a.Ca(e)});d.subscribe(tx,function(){a.L("userRecall")});d.subscribe(px,function(){return void a.N()});
this.g.lb()}}};h.Ye=function(a,b){if(null!=this.g){a=a?a:0;b=b?b:0;var c=yh(this.da().Na()),d=this.X,e=this.W;if(-1==d||-1==e)d=c.width,e=c.height;c=yh(this.g.Oc());if(c.width+a>d||c.height+b>e)throw a=Y(HJ),QO(this,a),this.stop(),a;}};var QO=function(a,b){var c=NL(b,a.Z());ct(a.ha,c);at(a.ha,b.g)};PO.prototype.fe=function(){this.Y("close");this.L("userClose")};PO.prototype.N=function(){var a=this;if(this.g){var b=this.g.Yb().getAd();this.o?this.w(b):this.F.push(function(){return a.w(b)})}};
PO.prototype.w=function(a){a&&(ct(this.ha,UL(a)),wM(this,"impression"),this.Y("creativeView"),wM(this,"start"))};PO.prototype.Sc=function(a){this.ra()&&this.Z().l==a.Da.queryId&&Z.prototype.Sc.call(this,a)};var RO=function(a,b,c,d,e,f,g){H.call(this);this.W=this.h=this.w=0;this.u=a;this.vc=b;this.tb=c;this.o=null;this.M=d;this.N=f;this.X=X.g;this.J=this.l=this.C=this.g=null;this.aa=this.ea=-1;this.T=null;this.ba=e;this.i=[];this.va=this.Ea=this.K=!1;this.ia=g};w(RO,H);h=RO.prototype;h.init=function(a,b){this.resize(a,b);null==this.F&&(this.F=new T(this),Lu(this.F,this.M,"adBreakFetchError",this.Cc,this));SO(this)};
h.start=function(){TO(this,"breakStart");this.K=!0;0<this.i.length?UO(this):("always"==X.g&&lJ(this.ia),VO(this,ZJ(GJ)),0==this.vc&&this.dispatchEvent("contentResumeRequested"),WO(this))};h.destroy=function(){null!=this.F&&(this.F.$(),this.F=null);XO(this);YO(this);X.g=this.X;this.K=!1};h.getCurrentAd=function(){return this.h<this.i.length?this.i[this.h].g[0]:null};h.kd=function(){return this.K};h.pause=function(){null!=this.g&&this.g.pause()};h.resume=function(){null!=this.g&&this.g.resume()};
h.getAdSkippableState=function(){return null!=this.g?this.g.getAdSkippableState():!1};h.skip=function(){null!=this.g&&this.g.skip()};h.zb=function(){null!=this.g&&this.g.zb()};h.getCurrentTime=function(){return null!=this.g?this.g.getCurrentTime():-1};h.getDuration=function(){return null!=this.g?this.g.getDuration():-1};h.getRemainingTime=function(){return null!=this.g?this.g.getRemainingTime():-1};h.setVolume=function(a){null!=a&&(this.T=a,null!=this.g&&this.g.setVolume(this.T))};
h.updateAdsRenderingSettings=function(a){this.N=a;null!=this.g&&this.g.updateAdsRenderingSettings(a);null!=this.l&&this.l.updateAdsRenderingSettings(a)};h.resize=function(a,b){this.ea=a;this.aa=b;null!=this.g&&this.g.resize(a,b)};var ZO=function(a){var b=0;a.u.forEach(function(c){(c=qJ(c))&&(b+=c)});return 0<b?b:-1},$O=function(a){return a.w<a.u.length&&null!=a.u[a.w]};
RO.prototype.Wa=function(a){X.g=this.X;var b=a.Rf;0==b.length?this.w++:(a=a.ie.i,a.g&&b.forEach(function(c){c.Si=!1}),this.i.push(new LK(b,a.g)),this.w++,this.F.wa(this.M,"adBreakFetched",this.Wa,!1,this));SO(this)};RO.prototype.Cc=function(a){a=a.ie;X.g=this.X;var b=ZJ(GJ);VO(this,b);this.w++;if(!$O(this)||2<=this.i.length-this.h)b=new sJ(b,a),b.Vi=a,this.dispatchEvent(b);SO(this)};
var SO=function(a){!$O(a)||2<=a.i.length-a.h?a.Ea||(bP(a)&&cP(a,a.h)&&dP(a,a.h)&&eP(a,a.h),a.Ea=!0,a.dispatchEvent("adBreakInitialized")):aP(a)},aP=function(a){var b=a.u[a.w];Lu(a.F,a.M,"adBreakFetched",a.Wa,a);var c=new rJ;c.i=b;X.g="on_master_ad";fP(a.M,b.Za,c)},cP=function(a,b){return b<a.i.length?0<a.i[b].g.length:!1},UO=function(a){if(cP(a,a.h)){var b=a.i[a.h];try{bP(a)&&dP(a,a.h)?(null===a.l&&eP(a,a.h),XO(a),a.g=a.l,gP(a,a.g),a.C=a.J,a.l=null,a.J=null,a.ba.ve()):(XO(a),a.C=new T(a),a.g=hP(a,
b,a.C),iP(a.g),gP(a,a.g));a.W++;null!=a.o&&(a.o.$(),a.o=null);if(jP(a.g)){var c=a.getCurrentAd();if(null==c||!QI(c)){var d=a.g.Z().g;if(null!==d){var e=d.T;0>=e||(a.o=new qg(1E3*e),Mu(a.C,a.o,"tick",a.Zd,!1,a))}}}if(jP(a.g))GG.D().report(105,{idx:a.W-1,total:a.u.length},!0),a.dispatchEvent("contentResumeRequested"),a.ba.Ab(),a.g.start(),null!=a.o&&a.o.start();else{var f=a.g;if(null!=f&&f instanceof VM)a.ba.qb(),a.g.start();else{var g=a.g;if(null!=g&&g instanceof pO){var k=a.g;a.ba.Ab();k.isLinear()?
k.h instanceof rN||a.ba.qb():(GG.D().report(105,{idx:a.W-1,total:a.u.length,vpaid:!0},!0),a.dispatchEvent("contentResumeRequested"));a.g.start()}else{var l,m=a.g;if(!(l=null!=m&&m instanceof FO)){var n=a.g;l=null!=n&&n instanceof AO}if(l)a.g.start();else throw Error("Unknown ads manager type.");}}}}catch(q){kP(a,q)}$O(a)&&aP(a)}else a.dispatchEvent("contentResumeRequested"),WO(a)},iP=function(a){if(null==a)throw Error("Ads manager must be constructed before initialization");a.init()},gP=function(a,
b){null!=b&&null!=a.T&&b.setVolume(a.T)},hP=function(a,b,c){var d=new lP,e=new MK(a.ba,bP(a));b=mP(d,b.g,e,a.ia);Lu(c,b,uG,a.Ud,a);Lu(c,b,"adError",a.Td,a);Lu(c,b,"allAdsCompleted",Na,a);Lu(c,b,"contentPauseRequested",a.kc,a);Lu(c,b,"contentResumeRequested",a.lc,a);a.N.enablePreloading&&null!=b&&b instanceof pO&&(e=a.ba);b.updateAdsRenderingSettings(a.N);b.ub(e,new JK);b.resize(a.ea,a.aa);return b},XO=function(a){a.ba.Ub();null!=a.o&&(a.o.$(),a.o=null);null!=a.C&&(a.C.$(),a.C=null);null!=a.g&&(a.g.destroy(),
a.g=null)},YO=function(a){null!=a.J&&(a.J.$(),a.J=null);null!=a.l&&(a.l.destroy(),a.l=null)};RO.prototype.Zd=function(){XO(this);YO(this);WO(this)};RO.prototype.Td=function(a){a=a.getError();kP(this,a)};RO.prototype.lc=function(){this.h++;UO(this)};RO.prototype.kc=function(a){this.va||(nP(this,a),this.dispatchEvent(a),this.va=!0)};var jP=function(a){return null!=a&&a instanceof PO},WO=function(a){a.K=!1;TO(a,"breakEnd");a.dispatchEvent("allAdsCompleted")};
RO.prototype.Ud=function(a){switch(a.type){case "start":bP(this)&&cP(this,this.h+1)&&dP(this,this.h+1)&&null!=this.g&&!this.g.bc()&&eP(this,this.h+1)}nP(this,a);this.dispatchEvent(a)};
var nP=function(a,b){a:{switch(b.type){case "start":case "loaded":case "adMetadata":case "companionBackfill":case "firstQuartile":case "contentPauseRequested":var c=!0;break a}c=!1}if(c){var d=b.getAd(),e=0,f=0,g=!1;a.i.forEach(function(l,m){var n=l.g;n.includes(d)&&(g=l.h);e+=n.length;m<a.h&&(f+=n.length)});b=d.getAdPodInfo();var k=f+b.h;c=e+(a.u.length-a.w);b.Bb=c;b.rb=k;k=ZO(a);-1!=k&&1<c&&(b.Jb=k);b.dg=g;b.cf=a.tb;b.Kd=a.vc}},kP=function(a,b){bK(b)&&b instanceof kH?a.dispatchEvent(new sJ(b)):
(VO(a,Y(XJ,b)),a.h++,UO(a))},eP=function(a,b){b=a.i[b];a.J=new T(a);a.l=hP(a,b,a.J);iP(a.l);gP(a,a.l)},bP=function(a){return null===a.ba?!1:UF()&&a.N.enablePreloading},dP=function(a,b){return 0<=b&&b<a.i.length?!mI(a.i[b].g[0]):!1};RO.prototype.clicked=function(){null!=this.g&&this.g.clicked()};var TO=function(a,b){a.u.forEach(function(c){FG(sH(c.ga,b))})},VO=function(a,b){a.dispatchEvent(new lK("log",null,b))};var oP=function(a){G.call(this,a);this.h=this.l=null};w(oP,G);var qP=function(a,b){H.call(this);this.g=a;this.o=null;this.h=!1;this.u=this.i=null;this.l=pP(b)};w(qP,H);var rP=function(a){for(var b=br(Vr)?8:4,c=[],d=0;d<a.length;d++){var e=a[d];0<e&&(c.push(Math.round(1E3*(e-b))/1E3),c.push(Math.round(1E3*e)/1E3))}return c};qP.prototype.getCurrentTime=function(){return this.g.Fc()};
var sP=function(a){null!=a.o&&(a.o.$(),a.o=null);a.g.stop();a.h=!1},uP=function(a){if(a.h){var b=a.l.find(function(c){return-1==c.g});null!=b&&tP(a,!0,!0,b,!1)}},pP=function(a){var b=[];a.forEach($a(function(c,d){c(new vP(d))},$a(function(c,d){var e=wP||yb;for(var f=0,g=c.length,k;f<g;){var l=f+(g-f>>>1);var m=e(d,c[l]);0<m?f=l+1:(g=l,k=!m)}e=k?f:-f-1;0>e&&wb(c,-(e+1),0,d)},b)));return b};
qP.prototype.w=function(){if(this.h){var a=this.g.Fc();if(isNaN(a)||0>a)this.dispatchEvent(new oP("contentTrackingError"));else{for(var b=[],c=0;c<this.l.length;c++){var d=this.l[c];-1!=d.g&&d.g<=a&&b.push(d)}c=null;0<b.length&&(c=b[b.length-1]);tP(this,!0,!0,c,!1);a:{for(b=0;b<this.l.length;b++)if(c=this.l[b],a>=c.g-(br(Vr)?8:4)&&a<c.g&&!this.l[b].h){a=c;break a}a=null}tP(this,!0,!1,a,!1)}}};
var tP=function(a,b,c,d,e){null!=d&&(X.h||e?(b&&!d.h&&(xP(a,"requestAds",d),d.h=!0),c&&!d.o&&(xP(a,"playAds",d),d.o=!0)):d.l||d.i||!c||(null!=a.i&&a.i!==d&&(a.i.l=!0,xP(a,"discardAdBreak",a.i)),a.u=d,d.i=!0,a.i=null,xP(a,"adBreakReady",d)))},xP=function(a,b,c){b=new oP(b);b.l=c.g;b.h=c.u;a.dispatchEvent(b)},vP=function(a){this.g=a.vc;this.u=Wa(a);this.l=this.i=this.o=this.h=!1},wP=function(a,b){return a.g>b.g?1:a.g<b.g?-1:0};var yP=function(a){this.g=a};var zP=function(){this.g=new Map},AP=function(a,b){a.g.clear();for(var c=0;1>c;c++)a.g.set(new yP(b),!1)};var BP=["videoDisplay1","videoDisplay2"],CP=function(a){this.i=a;this.g=new Map;this.h=0},DP=function(a,b){a.h=b;a.g.clear();b=p(BP.slice(0,b));for(var c=b.next();!c.done;c=b.next())a.g.set(new oK(a.i,c.value),!1)},EP=function(a){for(var b=p(a.g.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,!a.g.get(c))return a.g.set(c,!0),c;return null},FP=function(a){for(var b=p(a.g.keys()),c=b.next();!c.done;c=b.next())c=c.value,a.g.get(c)&&(c.reset(KF),c.Ld(),a.g.set(c,!1))};var GP=function(a,b,c,d){this.g=a;this.ya=c;this.i=b;this.l=d;this.o=null;this.h=[]};var HP=function(a,b){G.call(this,"OffsetTrackerEvent");this.Wl=a;this.$k=b};w(HP,G);var IP=function(a,b){H.call(this);this.h=a;this.g=b;this.i=new T(this);F(this,this.i)};w(IP,H);IP.prototype.start=function(){this.stop();this.i.G(this.h,"contentPlayheadChanged",this.l,!1);this.h.start()};IP.prototype.stop=function(){Nu(this.i);this.h.stop()};IP.prototype.l=function(){JP(this)};
var JP=function(a){var b=a.h.Fc();if(!(isNaN(b)||0>b)){var c=KP(a,b);b=LP(a,b);null==c&&null==b||a.dispatchEvent(new HP(c,b))}},LP=function(a,b){var c=a.g.filter(function(d){return-1!=d&&b>=d-(br(Vr)?8:4)&&b<d});return 0<c.length?c.pop():-1==a.g[a.g.length-1]&&(1==a.g.length||b>a.g[a.g.length-2]+1)?-1:null},KP=function(a,b){a=a.g.filter(function(c){return-1!=c&&c<=b});return 0<a.length?a.pop():null},MP=function(a){var b=a.g.find(function(c){return-1==c?!0:a.h.Fc()<=c});return null==b?null:b};var NP=function(){this.g=new Map};NP.prototype.add=function(a,b){var c=this.g.get(a)||[];c.push.apply(c,u(b));this.g.set(a,c)};var PP=function(a){return OP(Array.from(a.g.keys()))},OP=function(a){if(0==a.length)return a;a.sort(function(b,c){return b-c});-1==a[0]&&a.push(a.shift());return a};var QP=function(){this.g=new CM};h=QP.prototype;h.lb=function(){};h.destroy=function(){};h.Oh=function(){};h.me=function(){};h.Le=function(){return this.g};h.jg=function(){};var RP=function(a){H.call(this);this.g=a};w(RP,H);RP.prototype.L=function(a){this.dispatchEvent(new lK(a,this.g.getAd()))};var SP=function(a,b){if(!a.g.yb()){var c=a.g.getAd();c&&(c.u.prxRpl=!0);a.g.$()}a.g=b};h=RP.prototype;h.getAd=function(){return this.g.getAd()};h.updateAdsRenderingSettings=function(){};h.expand=function(){this.g.expand()};h.collapse=function(){this.g.collapse()};h.zb=function(){this.g.zb()};h.stop=function(){this.g.stop()};h.destroy=function(){this.g.destroy()};h.init=function(){this.g.init()};
h.start=function(){this.g.start()};h.pause=function(){this.g.pause()};h.resume=function(){this.g.resume()};h.skip=function(){this.g.skip()};h.getRemainingTime=function(){return this.g.getRemainingTime()};h.getVolume=function(){return this.g.getVolume()};h.setVolume=function(a){this.g.setVolume(a)};h.Va=function(a){this.g.Va(a)};h.La=function(){this.g.La()};h.resize=function(a,b){this.g.resize(a,b)};h.getDuration=function(){return this.g.getDuration()};h.getCurrentTime=function(){return this.g.getCurrentTime()};
h.Gb=function(){return this.g.Gb()};h.clicked=function(){this.g.clicked()};h.getAdSkippableState=function(){return this.g.getAdSkippableState()};h.Y=function(a){this.g.Y(a)};h.qc=function(a,b){this.g.qc(a,b)};h.Sd=function(){throw Error("Old api, do not use!");};h.bc=function(){throw Error("Old api, do not use!");};h.getCurrentAd=function(){throw Error("Old api, do not use!");};h.Ca=function(a){this.g.Ca(a)};h.toString=function(){return this.g.toString()};var TP=function(a,b,c){RP.call(this,a);this.ba=b;this.w=this.i=this.h=null;this.l=new T(a);F(this,this.l);this.F=c;this.u=this.C=this.o=null};w(TP,RP);TP.prototype.init=function(){UP(this);RP.prototype.init.call(this)};
TP.prototype.start=function(){RP.prototype.start.call(this);D("videoAdUi").classList.add("ima-action-ad");if(this.getAd()){var a=oI(this.getAd(),"InfoCards");a&&(this.o=TH(a))&&(this.C=this.o.actions[0].title,this.u=this.o.Fg)}this.o.qd&&this.o.qd.tg&&(a=document.body,this.h=new cz(this.C),K(this.h.g.element,!1),this.w=Ne("DIV"),oy(this.w,"videoAdUiFloatingLayer"),a.appendChild(this.w),this.h.Pd(this.w),this.h.Jh(this.u.Oe),this.h.eg(this.u.description),this.u.Ib&&this.h.df(this.u.Ib),(a=(a=this.getAd())&&
a.i?PC(a.i):null)&&this.h.g.element.classList.add(a));if(this.o.qd&&this.o.qd.ug){if(a=this.ba.Na()){var b=this.o.qd.Ef;this.getAd().N=b/1E3;this.i=new Zy(a,b,!0,!1,this.C)}this.i.h.Jh(this.u.Oe);this.i.h.eg(this.u.description);this.u.Ib&&this.i.h.df(this.u.Ib)}VP(this);WP(this)};
var WP=function(a){a.h&&a.l.G(a.h,"ctaClicked",function(){a.pause();ZC(a.F,3);a.clicked()});a.i&&(a.l.G(a.i,"video_card_endcap_action",function(){a.i.pause();a.clicked()}),a.l.G(a.i,"video_card_endcap_collapse",function(){return XP(a,"video_card_endcap_collapse")}),a.l.G(a.i,"videoSkipClicked",function(){return XP(a,"video_card_endcap_dismiss")}))},UP=function(a){var b=a.g;a.l.G(b,uG,function(c){return a.dispatchEvent(c)});a.l.G(b,"adCanPlay",function(){a.h&&a.h.show()});a.l.G(b,"contentPauseRequested",
function(c){return a.dispatchEvent(c)});a.l.G(b,"contentResumeRequested",function(){return Na});a.l.G(b,"adError",function(c){c=c.getError()||Y(XJ);cK(a,XJ,c.getInnerError());a.destroy()});a.l.G(b,"allAdsCompleted",function(){a.h&&K(a.h.g.element,!1);a.ba.Ab();a.i?a.i.show():(a.L("contentResumeRequested"),a.L("allAdsCompleted"))});a.l.G(b,"skip",function(){a.i=null;a.h&&K(a.h.g.element,!1);a.destroy()})};TP.prototype.clicked=function(){var a=this.o.actions[0].target||IC(this.getAd());this.Ca(a)};
var XP=function(a,b){a.L(b);a.L("contentResumeRequested");a.L("allAdsCompleted");a.destroy()},VP=function(a){if(a.getAd()&&a.getAd().J){var b=a.getAd().J;a.u.Ib?YD(b).then(function(c){return YP(a,c)}).catch(function(){}):YD(b).then(function(c){return YP(a,c)}).then(function(c){return ZD(c)}).then(function(c){c&&c.He&&(a.h&&a.h.df(c.He),a.i&&a.i.h.df(c.He))}).catch(function(){})}else Promise.reject()},YP=function(a,b){if(null==b)return null;if(a.i){var c=b.ze;c&&D("advertiserVideoThumbnail",a.i.i.g).setAttribute("src",
c)}return b.yc};var ZP=function(a,b,c,d){H.call(this);this.o=a;this.i=b;this.J=[].concat(u(b));this.C=c;this.K=d;this.h=null;this.w=new T(this);F(this,this.w);this.l=[];this.u=[];this.F=X.g;this.g=null};w(ZP,H);ZP.prototype.bc=function(){return 0<this.l.length};var bQ=function(a){var b=a.l.shift();$P(a)&&aQ(a);return b};ZP.prototype.xb=function(){if(this.g)return this.g;if(this.bc())return this.g=null,Promise.resolve(bQ(this));if(!(0<this.i.length||this.h))return Promise.resolve(null);this.g=new vC;return this.g.g};
var $P=function(a){return 0<a.i.length&&1>a.l.length&&!a.h},cQ=function(a){a.w.wa(a.o,"adBreakFetched",a.M,!1,a);a.w.wa(a.o,"adBreakFetchError",a.N,!1,a)},aQ=function(a){Lu(a.w,a.o,"adBreakFetched",a.M,a);Lu(a.w,a.o,"adBreakFetchError",a.N,a);a.h=a.i.shift();var b=new rJ;b.h=a.C;b.i=a.h;X.g="on_master_ad";fP(a.o,a.h.Za,b)};
ZP.prototype.M=function(a){var b=a.ie;if(b.h==this.C){X.g=this.F;cQ(this);this.h=null;var c=a.Rf;this.u=[].concat(u(this.u),u(c));dQ(this.u,this.C,this.K,this.i.length,this.J);this.l=[].concat(u(this.l),u(c));this.bc()&&(this.g&&(c=this.g.resolve,this.g=null,c(bQ(this))),this.dispatchEvent(a));$P(this)&&aQ(this);0<this.i.length||this.h||eQ(this,b)}};
ZP.prototype.N=function(a){a=a.ie;a.h==this.C&&(X.g=this.F,cQ(this),this.h=null,dQ(this.u,this.C,this.K,this.i.length,this.J),$P(this)&&aQ(this),0<this.i.length||this.h||eQ(this,a))};var eQ=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}0==a.u.length&&("always"==X.g&&lJ(a.o.h),b=new KK("adBreakFetchError",b),c=ZJ(GJ),b.l=c,a.dispatchEvent(b))};ZP.prototype.R=function(){X.g=this.F;cQ(this);H.prototype.R.call(this)};
function dQ(a,b,c,d,e){var f=fQ(e,a),g=a.length+d;a.forEach(function(k,l){var m=k.getAdPodInfo();m.Bb=g;m.Kd=b;m.cf=c;k&&hI(k)&&(m.rb=l+1,m.h=l+1,m.Jb=f)})}function fQ(a,b){var c=0;a.forEach(function(e){(e=qJ(e))&&(c+=e)});if(0<c)return c;var d=0;b.forEach(function(e){e.u.vmap=!0;e&&hI(e)&&(d+=e.getDuration())});return 0<d?d:-1};var gQ=function(a,b,c,d){gf.call(this);this.i=a;F(this,this.i);this.u=b;this.o=c;this.l=d;a=bQ(a);this.H=this.g=this.o.create([a],this.u,this.l);this.h=null};w(gQ,gf);h=gQ.prototype;h.xd=function(){return this.g};h.Hf=function(){var a=this,b,c;return Ca(function(d){if(1==d.g)return b=hQ(a),a.h=null,va(d,b,2);c=d.h;if(!c)throw Error("Called getNextManager when there are no more managers.");a.g=c;return d.return(a.g)})};h.Hd=function(){var a=this;return Ca(function(b){return 1==b.g?va(b,hQ(a),2):b.return(b.h)})};
h.rh=function(){return this.xd()===this.H};h.R=function(){this.g.destroy();gf.prototype.R.call(this)};var hQ=function(a){if(a.yb())return Promise.resolve(null);if(a.h)return a.h;a.h=new Promise(function(b){a.i.xb().then(function(c){a.yb()?b(null):c?b(a.o.create([c],a.u,a.l)):b(null)}).catch(function(){b(null)})});return a.h};var iQ=function(a){gf.call(this);var b=this;this.g=a.slice();this.g.forEach(function(c){c.getAd().u.pod=!0;c.getAd().u.podSize=b.g.length});this.i=this.h=this.g.shift()};w(iQ,gf);h=iQ.prototype;h.xd=function(){return this.h};h.Hf=function(){var a=this;return Ca(function(b){a.h=a.g.shift();return b.return(a.xd())})};h.Hd=function(){var a=this;return Ca(function(b){return a.yb()?b.return(Promise.resolve(null)):0<a.g.length?b.return(a.g[0]):b.return(null)})};h.rh=function(){return this.xd()===this.i};
h.R=function(){this.g.forEach(function(a){return void a.destroy()});gf.prototype.R.call(this)};var jQ=function(a){var b=a.Ml;a=a.margin;var c='<div class="'+V("autoalign")+" "+V("nonLinearContainer")+'"><div class="'+V("innerContainer")+'"><span class="'+V("buttonSlot")+'">';b=Math.max(0,Math.ceil(b-0));for(var d=0;d<b;d++)c+='<div class="'+V("overlaySelector")+'" style="margin-top: '+V($x(a))+'px"></div>';return Nx(c+"</span></div></div>")},kQ=function(){return Nx('<div class="'+V("fullSlotContainer")+'"><div class="'+V("fullSlotContentContainer")+'"></div><div class="'+V("fullSlotBottomBar")+
'"></div></div>')};var lQ=function(){eA.call(this);this.element=ry(kQ);this.g=D("fullSlotContentContainer",this.element);this.h=D("fullSlotBottomBar",this.element)};w(lQ,gA);var mQ=function(a,b){a.h&&b.element&&a.h.appendChild(b.element)},nQ=function(a,b){a.g&&b.element&&a.g.appendChild(b.element)};var oQ=function(a,b,c,d,e,f,g){MO.call(this,b);this.u=a;this.H=[];this.C=c;this.F=d;this.w=e;this.J=f;this.ca=g;this.h=new lQ;this.o=new T(this);this.i=0;this.l=null};w(oQ,MO);h=oQ.prototype;
h.lb=function(){var a=this;hA(this.h,this.C);this.u.forEach(function(d,e){d=d.i(a.F);a.H.push(d);var f=YB(d);null!=f&&a.o.G(f,"click",function(g){g.stopPropagation();W(a.g,Zw,null)});new rz(d,a.g,nx);a.o.G(d,"click",function(){a.i=e});nQ(a.h,d)});if(this.J){var b=new aC(!0,!0);mQ(this.h,b);this.l=new Iz(b,this.g,5);b=new lA;mQ(this.h,b);new Dz(b,this.g);b=new iA;new kz(b,this.g,Zw);b.l(this.w);mQ(this.h,b);b.show();if(this.ca){var c=new bC;new kz(c,this.g,yx);fA(b,c)}}Py(Qy(this.h.element,2));W(this.g,
px,null)};h.destroy=function(){Ve(this.h.Nb());this.l&&this.l.$()};h.Oc=function(){return this.h.g};h.show=function(){};h.Ze=function(){};h.Yb=function(){return this.u[this.i]};h.Wd=function(){return this.H[this.i]};var qQ=function(a,b){eA.call(this);var c=this;this.u=b;this.element=ry(jQ,{Ml:a,margin:(57-10*a)/a});this.g=D("innerContainer",this.element);this.i=Array.from(Ge(this.element));this.i.forEach(function(d,e){c.V.G(d,"click",function(f){pQ(c,e);f.stopPropagation()})});this.l=!1;pQ(this,0);this.V.G(this.element,"mouseover",function(){c.dispatchEvent("mouseover")});this.V.G(this.element,"mouseout",function(){c.dispatchEvent("mouseout")})};w(qQ,gA);qQ.prototype.Jd=function(a){this.l=a;this.h&&this.h.Jd(a)};
var pQ=function(a,b){null!=a.o&&py(a.i[a.o],"active");oy(a.i[b],"active");a.o=b;a.u(b)},rQ=function(a,b){a.h&&(a.g.removeChild(a.h.Nb()),a.V.wa(b,"click"));a.h=b;a.h.Jd(a.l);a.g.appendChild(b.element);a.V.G(b,"click",function(c){a.dispatchEvent(c);c.stopPropagation()})};h=qQ.prototype;h.wj=function(a){My(this.g,"opacity "+a/1E3+"s")};h.show=function(){K(this.g,!0)};h.$e=function(){K(this.g,!1)};h.Yi=function(){Ah(this.g,1)};h.Mi=function(){Ah(this.g,.3)};var tQ=function(a,b,c,d){MO.call(this,b);var e=this;this.w=a;this.C=c;this.H=new T(this);this.F=d;this.l=[];this.u=new qg(15E3);this.h=new qQ(a.length,function(f){sQ(e,f)})};w(tQ,MO);
tQ.prototype.lb=function(){var a=this;hA(this.h,this.C);new uz(this.h,this.g,!1);new rz(this.h,this.g,nx);this.l=this.w.map(function(b){var c=b.i(a.F),d=YB(c);null!=d&&a.H.G(d,"click",function(e){e.stopPropagation();W(a.g,Zw,null)});d=new wA;new nz(d,a.g,fx);fA(c,d);b.w&&(b=new bC,new kz(b,a.g,yx),fA(c,b));return c});sQ(this,0);this.i=new $B;new Fz(this.i,this.g,fx);fA(this.h,this.i);this.g.subscribe(fx,function(){return void a.stop()});this.g.subscribe(tx,function(){a.u.start()});this.H.G(this.u,
"tick",this.J);this.u.start()};tQ.prototype.destroy=function(){Ve(this.h.Nb())};tQ.prototype.stop=function(){this.u.stop()};tQ.prototype.J=function(){pQ(this.h,(this.o+1)%this.l.length)};var sQ=function(a,b){b!=a.o&&a.l[b]&&(rQ(a.h,a.l[b]),a.o=b,W(a.g,px,null))};h=tQ.prototype;h.Oc=function(){var a=this.Wd();return a?a.Nb():null};h.Wd=function(){return this.l[this.o]};h.show=function(){this.h&&this.h.show();this.i&&Ez(this.i)};h.Ze=function(){this.h&&this.h.$e();this.i&&this.i.show()};h.Yb=function(){return this.w[this.o]};var uQ=function(a,b,c,d){H.call(this);this.T=a;this.ba=b;this.ya=c;this.pc=!1;this.W=0;this.Bc=new T(this);F(this,this.Bc);this.fa=d;this.V=new T(this);F(this,this.V);this.J=new Set;this.ha=new Ws(iJ(this.getAd()),new dK,jJ(this.getAd()));if(null==this.getAd().g)throw ZJ(LJ);this.Mh=rM();this.Rc=null;this.Rc=this.Mh.o(this.getAd(),this,this.ha)};w(uQ,H);h=uQ.prototype;h.Gb=function(){};h.Va=function(){};h.La=function(){};h.expand=function(){};h.collapse=function(){};h.Sd=function(){};h.bc=function(){return!1};
h.getAd=function(){return this.T};h.getCurrentAd=function(){return this.getAd()};h.R=function(){this.J.forEach(function(a){return tg(a)});this.J.clear();this.L("contentResumeRequested");this.L("allAdsCompleted");jf(this.V);H.prototype.R.call(this)};h.ma=function(){return this.V};h.L=function(a,b){this.dispatchEvent(new lK(a,this.getAd(),b))};h.Ca=function(a){if(a){var b={};b.url=a;this.L("navigationRequested",b)}};
h.Sa=function(){Nu(this.Bc);this.Bc.cc(this.ya,"companion_display_error",function(){});var a=this.ya.Sa(this.getAd());null!=a&&this.Bc.G(a,"companion_click",this.Gd);if(!this.ya.C())throw Y(AJ);};h.Gd=function(){};var vQ=function(a){a=bJ(a.getAd());null!=a&&a.init()};uQ.prototype.init=function(){};uQ.prototype.Y=function(a){this.ha.report(a)};uQ.prototype.qc=function(a,b){ct(this.ha,b);at(this.ha,a.g)};var wQ=function(a,b){a.Y(b);a.L(b)};h=uQ.prototype;h.getCurrentTime=function(){return-1};
h.getDuration=function(){return-1};h.getRemainingTime=function(){return-1};h.pause=function(){};h.resume=function(){};h.skip=function(){};h.start=function(){if(!this.pc)throw ZJ(wJ,null,"Must call init before start.");};h.getAdSkippableState=function(){return!1};h.getVolume=function(){return null!=this.W?this.W:0};h.setVolume=function(a){isNaN(a)||0>a||1<a?cK(this,FJ,null,"volume",String(a)):this.W=a};h.zb=function(){this.Y("abandon")};
h.da=function(){if(!this.ba){var a={err:Jd("Disp cont null.\n"+Error().stack,1500)};GG.D().report(64,a,!0)}return this.ba};h.Sc=function(a){var b=a.type;if(-1!=wG.indexOf(b)){if("externalActivityEvent"==b&&(b=a.Da.eventName,!yG(b)))return;wQ(this,b)}};h.resize=function(){};h.updateAdsRenderingSettings=function(){};h.destroy=function(){var a=this;xQ(this,function(){return a.$()})};h.stop=function(){this.destroy()};h.clicked=function(){};
var xQ=function(a,b){var c=sg(function(){a.J.delete(c);b.call(a)});a.J.add(c)};var yQ=function(a,b,c){uQ.call(this,a,b.g,b.ya,c);this.i=null;this.aa=this.ea=-1;this.u=!1;this.K=[];this.h=b.g.ib()};w(yQ,uQ);h=yQ.prototype;h.start=function(){uQ.prototype.start.call(this);this.da().Ab();this.i=this.da().Na();if(null!=this.i){this.Y("show_ad");Te(this.i);this.bj();if(VF()&&this.g){var a=this.g.Oc();yK();var b=new ht(this.getAd().i,this.ha,this.da().Kb(),VF(),this.getAd().l);b.o=a;b.hd();F(this,b)}this.af();this.K.forEach(function(c){return void c()});this.K=[];this.u=!0}};
h.init=function(){if(!this.pc){this.pc=!0;this.L("loaded");var a=yK();this.ma().G(a,wG,this.Sc)}};h.expand=function(){null!=this.g&&this.g.show();this.Y("expand")};h.collapse=function(){null!=this.g&&this.g.Ze();this.Y("collapse")};h.La=function(){uQ.prototype.La.call(this);this.af();this.u&&this.Y("overlay_resize")};h.resize=function(a,b){uQ.prototype.resize.call(this,a,b);this.ea=a;this.aa=b;this.af();this.u&&this.Y("overlay_resize")};
h.R=function(){null!=this.g&&(this.g.destroy(),this.g=null);this.h.clear();this.u=!1;yK();null!=this.i&&(Te(this.i),this.i=null);uQ.prototype.R.call(this)};
h.bj=function(){var a=this;if(!this.g){var b=this.getAd().g;if(null==b){var c=Y(LJ);zQ(this,c);throw c;}try{this.Sa()}catch(d){throw zQ(this,d),d;}ct(this.ha,UL(this.getAd()));c=LI(this.getAd())||this.fa.useStyledNonLinearAds;this.i&&(this.g=new OO(b,this.h,this.i,this.fa.autoAlign,c,new AH),this.h.subscribe(fx,function(){return void a.he()}),this.h.subscribe(nx,function(){var d=b.Lb();wQ(a,"click");a.Ca(d)}),this.h.subscribe(tx,function(){a.L("userRecall")}),this.h.subscribe(px,function(){return void a.Eh()}),
this.g.lb())}};h.af=function(a,b){a=void 0===a?0:a;b=void 0===b?0:b;if(null!=this.g){var c=yh(this.da().Na()),d=this.ea,e=this.aa;if(-1==d||-1==e)d=c.width,e=c.height;c=yh(this.g.Oc());if(c.width+a>d||c.height+b>e)throw a=Y(HJ),zQ(this,a),this.stop(),a;}};var zQ=function(a,b){var c=NL(b,a.getAd());a.qc(b,c)};h=yQ.prototype;h.he=function(){this.Y("close");this.L("userClose")};h.Eh=function(){var a=this;if(this.g){var b=this.g.Yb().getAd();this.u?this.bf(b):this.K.push(function(){return a.bf(b)})}};
h.bf=function(a){a&&(ct(this.ha,UL(a)),wQ(this,"impression"),this.Y("creativeView"),wQ(this,"start"))};h.Sc=function(a){this.getAd().l==a.Da.queryId&&uQ.prototype.Sc.call(this,a)};h.toString=function(){return"nonlinearman"};var CQ=function(a,b,c){yQ.call(this,a[0],b,c);var d=this;this.M=!1;this.o=[];this.C=!1;this.F=new qg(200);F(this,this.F);this.w=0;this.X=[];this.N=new dK;a.forEach(function(e){var f=e.g;if(null==f)f=ZJ(LJ),e=NL(f,e),d.qc(f,e);else{if(null==d.l){var g=oI(e,"AdSense");g&&(d.l=g.g)}"Text"==f.getContentType()&&(d.M=!0);!(e=AQ(e))||BQ(d)&&!d.M||(f.w=e);d.o.push(f)}});0!=nI(this.getAd()).length&&this.Sa()};w(CQ,yQ);h=CQ.prototype;
h.updateAdsRenderingSettings=function(a){a.autoAlign=!0;yQ.prototype.updateAdsRenderingSettings.call(this,a)};
h.bj=function(){var a=this;if(!this.g&&this.i){if(0==this.o.length)throw Y(LJ);null==this.l&&(this.l=new AH);if(BQ(this)){var b=cJ(this.getAd(),this.fa.disableUi),c=DQ(this);this.g=new oQ(this.o,this.h,this.i,this.l,c.text,!b,c.$h);this.ma().G(this.F,"tick",this.xl)}else 1==this.o.length?this.g=new OO(this.o[0],this.h,this.i,!0,!0,this.l):this.g=new tQ(this.o,this.h,this.i,this.l);this.h.subscribe(nx,function(d){var e=d.Pb,f=d.Qb;d=a.g.Yb();var g=d.getAd(),k=oI(g,"AdSense");k=new O(k.u);var l=yh(a.g.Oc()),
m=yh(a.da().Na()),n=Du(m.width,m.height)?"fullscreen":"normal",q=BE();e=["0","aw="+l.width,"ah="+l.height,"nx="+e,"ny="+f,"viewMode="+n,"sdkv=h.3.386.2","eids="+HE(q),"bw="+m.width,"bh="+m.height];Bq(k,"label","elementclick");Bq(k,"value",e.join(";"));a.N.g(k.toString());EQ(a,g);a.Y("click");FQ(a);a.L("click");if(e=d.Lb())(d=a.g.Wd())&&(e=DA(d.g,e)),a.Ca(e)});this.h.subscribe(px,function(){return void a.Eh()});this.h.subscribe(fx,function(){return void a.he()});this.h.subscribe(tx,function(){a.L("userRecall")});
this.h.subscribe(vx,function(){a.L("skippableStateChanged")});this.h.subscribe(ux,function(){a.L("skip");a.he();GQ(a)});this.h.subscribe(yx,function(){if(BQ(a)){var d=AQ(a.getAd());a.Ca(d)}else a.g&&a.Ca(a.g.Yb().w)});this.h.subscribe(Zw,function(){var d,e=oI(a.getAd(),"AdSense");e&&(d=e.l);null==d&&a.l&&(d=a.l.i);d&&a.Ca(d)});this.g.lb()}};h.xl=function(){this.w+=.2;var a=new Dx(this.w,this.getDuration());W(this.h,Ex,a);this.w>=this.getDuration()&&(this.L("complete"),GQ(this))};h.init=function(){yQ.prototype.init.call(this)};
h.start=function(){yQ.prototype.start.call(this);!this.C&&BQ(this)&&(this.C=!0,this.L("contentPauseRequested"),this.F.start())};h.he=function(){var a=this;yQ.prototype.he.call(this);this.o.forEach(function(b){if(b=b.getAd())EQ(a,b),a.Y("close"),FQ(a)})};var AQ=function(a){return(a=oI(a,"AdSense"))?a.o:null},DQ=function(a){var b=oI(a.getAd(),"AdSense").i;b=null!=b?b:a.l.g;var c;if(c=!!AQ(a.getAd()))c=BQ(a)&&!a.M;a={text:b,$h:c};null==a.text&&(a.text=Nx("Ads by Google"));return a};
CQ.prototype.Eh=function(){var a=this;if(this.g){var b=this.g.Yb().getAd();if(null!=b){this.T=b;var c=vI(b);this.X.includes(c)||(this.X.push(c),this.u?this.bf(b):this.K.push(function(){return a.bf(b)}),this.L("impression"))}}};CQ.prototype.bf=function(a){a&&(this.T=a,EQ(this,a),this.Y("impression"),this.Y("creativeView"),this.Y("start"),this.L("start"),FQ(this))};CQ.prototype.af=function(){var a=BQ(this)?15:0,b=BQ(this)?65:0;yQ.prototype.af.call(this,a,b)};
var BQ=function(a){return QI(a.getAd())},GQ=function(a){a.F.stop();a.g&&(a.g.destroy(),a.g=null);yK();a.C&&(a.C=!1,a.L("contentResumeRequested"))};h=CQ.prototype;h.skip=function(){this.getAdSkippableState()&&(this.L("skip"),this.he(),GQ(this))};h.getAdSkippableState=function(){if(SI(this.getAd())){var a=nH(SI(this.getAd()));return-1!=a&&this.getCurrentTime()>=a}return!1};h.getCurrentTime=function(){return BQ(this)?this.w:yQ.prototype.getCurrentTime.call(this)};
h.getDuration=function(){return BQ(this)&&null!=this.l?15:yQ.prototype.getDuration.call(this)};h.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return BQ(this)&&0<=b&&b<=a?a-b:yQ.prototype.getRemainingTime.call(this)};var EQ=function(a,b){a.ha=new Ws(iJ(b),a.N,jJ(b));ct(a.ha,UL(b))},FQ=function(a){a.ha=new Ws(new Map,a.N)};CQ.prototype.toString=function(){return"adsensenonlinearman"};var IQ=function(a,b,c,d){gf.call(this);this.F=this.g=a;this.H=b;this.l=[];this.u=[];this.o=[];this.i=0;HQ(this,this.i++);this.C=c;this.w=d;this.h=null};w(IQ,gf);h=IQ.prototype;h.xd=function(){return this.g};h.Hf=function(){var a=this,b,c;return Ca(function(d){if(1==d.g)return b=JQ(a),a.h=null,va(d,b,2);c=d.h;if(!c)throw Error("Called getNextManager when there are no more managers.");a.g=c;HQ(a,a.i++);return d.return(a.g)})};
h.Hd=function(){var a=this;return Ca(function(b){return 1==b.g?a.g.getAd().Ea?b.return(null):va(b,JQ(a),2):b.return(b.h)})};h.rh=function(){return this.xd()===this.F};h.R=function(){this.g.destroy();gf.prototype.R.call(this)};
var JQ=function(a){if(a.h)return a.h;var b=KI(a.g.getAd());if(null==b)return Promise.resolve(null);a.h=new Promise(function(c){b.dd(function(d){if(a.yb())c(null);else{1<d.length&&(d=d.slice(0,1));var e=d[0].getAdPodInfo(),f=a.g.getAd().getAdPodInfo();e.rb=f.rb;e.dg=f.dg;e.Jb=f.Jb;e.cf=f.g();e.Kd=f.Kd;e.Bb=f.Bb;d=a.C.create(d,a.H,a.w);c(d)}},function(){return void c(null)})});return a.h},HQ=function(a,b){a.g.getAd().u.fallback=!0;a.H.h.includes("vmapman")&&(a.g.getAd().u.vmap=!0);a.l.push(vI(a.g.getAd()));
a.u.push(a.g.toString());a.o.push(b);a.g.getAd().u.flbAdIds=a.l;a.g.getAd().u.flbAdTypes=a.u;a.g.getAd().u.flbAdPos=a.o};var KQ=function(a){this.ba=a};h=KQ.prototype;h.Vd=function(){return this.ba.Vd()};h.Na=function(){return this.ba.Na()};h.Kb=function(){return this.ba.Kb()};h.xe=function(){return this.ba.xe()};h.Ub=function(){};h.qb=function(){this.ba.qb()};h.Qe=function(){this.ba.Ub()};h.Ab=function(){this.ba.Ab()};h.Pe=function(){this.ba.Pe()};h.ib=function(){return this.ba.ib()};h.Yd=function(){return this.ba.Yd()};h.ve=function(){this.ba.ve()};h.mg=function(a){this.ba.mg(a)};h.ng=function(){this.ba.ng()};var MQ=function(a,b,c,d){d=void 0===d?null:d;RP.call(this,a.xd());this.K=d;this.o=LQ(this,this.g);this.h=a;this.ba=b;this.F=this.J=-1;this.M=1;this.l=c;this.i=this.u=this.N=this.C=this.w=!1};w(MQ,RP);MQ.prototype.resize=function(a,b){this.J=a;this.F=b;RP.prototype.resize.call(this,a,b)};MQ.prototype.start=function(){this.N=!0;NQ(this)};var NQ=function(a){if(!a.u&&!a.i){a.u=!0;var b=a.g.getAd();b&&!b.isLinear()&&OQ(a);RP.prototype.start.call(a)}};
MQ.prototype.setVolume=function(a){this.M=a;RP.prototype.setVolume.call(this,a)};MQ.prototype.updateAdsRenderingSettings=function(a){this.l=a;RP.prototype.updateAdsRenderingSettings.call(this,a)};MQ.prototype.stop=function(){this.h.$();RP.prototype.stop.call(this)};MQ.prototype.destroy=function(){this.h.$();RP.prototype.destroy.call(this)};
var PQ=function(a,b){var c,d,e;return Ca(function(f){if(1==f.g)return a.i=!0,c=b.getError()||Y(XJ),va(f,a.h.Hd(),2);(d=f.h)?(e=new lK("log",null,c),a.dispatchEvent(e)):a.dispatchEvent(b);a.g.destroy();f.g=0})},SQ=function(a,b){var c,d;return Ca(function(e){switch(e.g){case 1:return a.i=!1,va(e,a.h.Hd(),2);case 2:c=e.h;case 3:return c&&c.yb()?va(e,a.h.Hf(),5):c?va(e,a.h.Hf(),7):(QQ(a,c),a.dispatchEvent(b),e.return());case 5:return va(e,a.h.Hd(),6);case 6:c=e.h;e.g=3;break;case 7:d=e.h,QQ(a,d),SP(a,
d),a.u=!1,a.N?(RQ(a),NQ(a)):RQ(a),e.g=0}})},TQ=function(a){var b;return Ca(function(c){if(1==c.g)return va(c,a.h.Hd(),2);if(b=c.h){var d=b.getAd();d&&!d.isLinear()&&OQ(a)}else OQ(a);c.g=0})},OQ=function(a){!a.C&&a.w&&(a.C=!0,a.L("contentResumeRequested"))},RQ=function(a){if(a.h.rh())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");a.o&&a.o.$();a.o=LQ(a,a.g);a.updateAdsRenderingSettings(a.l);a.setVolume(a.M);a.resize(a.J,a.F);a.init()},VQ=function(a,b,c){c.G(b,
uG,function(d){return a.dispatchEvent(d)});c.G(b,"contentResumeRequested",function(){return void TQ(a)});c.G(b,"adError",function(d){return void PQ(a,d)});c.G(b,"allAdsCompleted",function(d){return void SQ(a,d)});c.G(b,"contentPauseRequested",function(){a.w||(a.L("contentPauseRequested"),a.w=!0)});c.G(b,"impression",function(){return void UQ(a)})},UQ=function(a){var b;return Ca(function(c){if(1==c.g)return a.i=!1,va(c,a.h.Hd(),2);if((b=c.h)&&a.l.enablePreloading&&UF()){try{var d;if(d=a.K){for(var e=
a.K,f=0,g=p(e.g.keys()),k=g.next();!k.done;k=g.next())e.g.get(k.value)||f++;d=0==f}d&&GG.D().report(118,{man:"multiple",when:"onImpression_",prld:a.l.enablePreloading})}catch(l){}WQ(a,b);b.init()}c.g=0})},LQ=function(a,b){var c=new T(b);F(a,c);VQ(a,b,c);return c},QQ=function(a,b){b?(b=b.getAd())&&!b.isLinear()&&a.ba.Qe():(a.ba.Qe(),a.ba.Pe())},WQ=function(a,b){X.i&&X.F&&(new T(b)).cc(b,"mediaUrlPinged",function(c){return a.dispatchEvent(c)})};MQ.prototype.toString=function(){return"mamman"};var XQ=function(a,b){this.g=a;this.h=b};XQ.prototype.getVolume=function(){return this.g.getVolume()};XQ.prototype.isMuted=function(){return 0==this.getVolume()};XQ.prototype.getCurrentTime=function(){return this.g.getCurrentTime()};XQ.prototype.getDuration=function(){return this.g.getDuration()};function YQ(a){return"SIMID"==a.pa&&"text/html"==a.mimeType&&!z(a.url)};var $Q=function(a){var b=a.zk,c=a.$l,d=a.Xa;a=a.Xo;RP.call(this,b);this.l=new XQ(b,c);this.u=d.g.N.find(YQ)||null;this.o=null;d=this.u?this.u.url:"";this.h=a||new CC(d);F(this,this.h);this.i=new T(b);F(this,this.i);this.w=c;this.C=new vC;ZQ(this)};w($Q,RP);
$Q.prototype.init=function(){var a=this;RP.prototype.init.call(this);if(null==this.u||kl()&&!jl()){var b=Y(EJ,null,"SIMID");aR(this,b);throw b;}DC(this.h);this.o=FC(this.u.url);this.w.g.Na().appendChild(this.o);this.h.g.l=this.o.contentWindow;bR(this);this.h.g.i.g.then(function(){var c=yh(a.l.h.g.Na());c={Ma:HC(a.l.g.getAd()),zf:IC(a.l.g.getAd())||"",ed:!1,muted:a.l.isMuted(),fi:!1,videoWidth:c.width,videoHeight:c.height,volume:a.l.getVolume()};a.h.g.sendMessage("SIMID:Player:init",new qC(c)).then(a.C.resolve).catch(a.C.reject)})};
var ZQ=function(a){a.i.G(a.g,[].concat(u(uG),["contentPauseRequested"]),function(d){return void a.dispatchEvent(d)});a.i.G(a.g,"adProgress",function(d){a.h.g.sendMessage("SIMID:Media:timeupdate",new qC({currentTime:d.Da.currentTime}))});a.i.G(a.g,"volumeChange",function(d){a.h.g.sendMessage("SIMID:Media:volumechange",new qC({volume:d.Da.volume}))});a.i.G(a.g,"complete",function(){a.h.g.sendMessage("SIMID:Media:ended");cR(a,2)});a.i.G(a.g,"skip",function(){return void dR(a)});a.i.G(a.g,"appBackgrounding",
function(){a.h.g.sendMessage("SIMID:Player:appBackgrounded")});a.i.G(a.g,"appForegrounding",function(){a.h.g.sendMessage("SIMID:Player:appForegrounded")});a.i.G(a.g,"loadedMetadata",function(){var d=a.getDuration();a.h.g.sendMessage("SIMID:Media:durationchange",new qC({duration:d}))});var b={},c=(b.adBuffering="SIMID:Media:stalled",b.pause="SIMID:Media:pause",b.impression="SIMID:Media:play",b.resume="SIMID:Media:play",b.seeked="SIMID:Media:seeked",b.seeking="SIMID:Media:seeking",b);a.i.G(a.g,Object.keys(c),
function(d){return void a.h.g.sendMessage(c[d.type])})},bR=function(a){a.i.G(a.h,Object.values(oC),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.Y("click");b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();cR(a,4);break;case "SIMID:Creative:requestSkip":b.resolve();a.skip();break;case "SIMID:Creative:reportTracking":if(Qa(b.pd.yg))for(var c=p(b.pd.yg),d=c.next();!d.done;d=c.next())DG(d.value);b.resolve();break;case "SIMID:Creative:getMediaState":c=
{};b.resolve((c.currentSrc=VI(a.l.g.getAd()),c.currentTime=a.l.getCurrentTime(),c.duration=a.l.getDuration(),c.ended=!1,c.muted=a.l.isMuted(),c.paused=!1,c.volume=a.l.getVolume(),c.fullscreen=!1,c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":if(HF){var e=b.pd;c=e.videoWidth;d=e.videoHeight;var f=e.Dg;e=e.Eg;var g=b.pd,k=g.Vg,l=g.Ug,m=g.Wg;g=g.Xg;var n=yh(a.l.h.g.Na());c=k!=
n.width||l!=n.height||0!=m||0!=g?!1:(new fh(0,0,n.width,n.height)).contains(new fh(f,e,c,d))}else c=!1;c?(a.w.g.mg(new oJ(b.pd.Dg,b.pd.Eg,b.pd.videoWidth,b.pd.videoHeight)),b.resolve()):b.reject();break;default:b.reject()}})},cR=function(a,b){b=a.h.g.sendMessage("SIMID:Player:adStopped",new qC({code:b}));var c=ug();Promise.race([b,c]).then(function(){a.destroy()})};
$Q.prototype.start=function(){var a=this;RP.prototype.start.call(this);this.C.g.then(function(){return void eR(a)}).catch(function(){aR(a,Y(KJ))})};var eR=function(a){a.yb()||(fR(a),EC(a.h).catch(function(){return void aR(a,Y(KJ))}))},fR=function(a){a.w.g.Ab();a.o.style.display="block"},aR=function(a,b){var c=NL(b,a.getAd());RP.prototype.qc.call(a,b,c);a.dispatchEvent(new sJ(b));a.destroy()};
$Q.prototype.skip=function(){var a=this,b=this.h.g.sendMessage("SIMID:Player:adSkipped"),c=ug();Promise.race([b,c]).then(function(){a.Y("skip");a.L("skip");a.destroy()})};var dR=function(a){var b=a.h.g.sendMessage("SIMID:Player:adSkipped"),c=ug();Promise.race([b,c]).then(function(){a.destroy()})};$Q.prototype.R=function(){Ve(this.o);HF&&this.w.g.ng();this.L("contentResumeRequested");this.L("allAdsCompleted");RP.prototype.R.call(this)};
$Q.prototype.destroy=function(){RP.prototype.destroy.call(this);this.$()};var gR=function(a,b,c,d,e){uQ.call(this,a,b.g,b.ya,c);var f=this;this.w=b.i;this.g=null;this.h=e;this.l=b.g.ib();this.i=new IM(this.ha);this.M=new bE(this.l,null!=SI(this.getAd()));this.K=d;this.F=this.o=!1;this.X=this.u=1;this.aa=null;this.C=!1;this.Nd=function(){return f.yd()};this.ea=null;this.ia=XI(a)&&br(Zr);b.h.push(this.toString())};w(gR,uQ);gR.prototype.yd=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:!0,isVpaid:mI(this.getAd()),isYouTube:!1,volume:this.getVolume()}};
gR.prototype.R=function(){BK(this.getAd());this.h&&(this.h.destroy(),this.h=null);this.l.clear();jf(this.i);jf(this.ha);this.F=!1;if(this.o){var a=this.o=!1;null!=this.da()&&(a=KF);this.g.reset(a)}this.g&&this.g.Ld();(a=this.g)&&this.w.g.set(a,!1);uQ.prototype.R.call(this)};
var hR=function(a,b){if(!a.o){a.o=!0;AK(a.getAd(),a.Nd);yK().o=b;null!=a.Rc&&bM(a.Rc,b);var c=a.fa.loadVideoTimeout;0<c&&(b.W=c);c=a.getAd().i;c=c instanceof vt?wt(c):null;var d=a.getAd().o;d.h=Date.now();d.g=null;qK(b,a.Gb()||"",c,a.getAd().getAdPodInfo());X.i&&X.F&&(b=a.Gb(),c={},c.mediaUrl=b,a.dispatchEvent(new lK("mediaUrlPinged",null,c)))}},jR=function(a){if(a.fa.useVideoAdUi){a.l.subscribe(qx,function(){iR(a)});a.h.lb();var b=a.h.Le();ZI(a.getAd(),FM(b));null!=a.getAd().J&&b.H&&fE(a.M,a.getAd().i)}};
gR.prototype.Gd=function(a){uQ.prototype.Gd.call(this,a);ZC(this.K,1)};
var kR=function(a,b){a.ma().G(b,"loaded",a.zl);a.ma().G(b,"timeUpdate",a.Al);a.ma().G(b,"waiting",a.Bl);a.ma().G(b,"volumeChange",function(){var c=b.getVolume();c!=a.u&&(a.u=c,a.L("volumeChange",{volume:c}),0==c&&a.L("mute"))});a.ma().G(b,"focusSkipButton",a.yl);a.ma().G(b,"seeked",function(){return void a.dispatchEvent("seeked")});a.ma().G(b,"seeking",function(){return void a.dispatchEvent("seeking")})},lR=function(a){var b=a.getAd().g,c=b.g;if(null!=c)return c;c=a.getAd();var d=a.fa.mimeTypes||
[];br(Nr)?(a=new Jw(a.fa.bitrate),d=new Tw({Kg:d}),a=new Sw({Db:null,filters:[d],Vh:a})):a=new yM({Ee:a.fa.bitrate,Zk:a.da().xe(),mimeTypes:d});c=a.h(c.Ec(),c.i);c=0<c.length?c[0]:null;null!=c&&(b.g=c);return c};h=gR.prototype;h.init=function(){if(this.pc)mR(this);else{this.pc=!0;if(YI(this.getAd())&&kl())var a=Y(EJ,null,"action");else a=JF,a=null==SI(this.getAd())||TF(a)?null:Y(EJ,null,"skippablevideo");if(a)throw nR(this,this.g,EJ,a),a;this.aa=lR(this);null==this.aa?oR(this,Y(NJ)):(mR(this),pR(this))}};
h.getAdSkippableState=function(){var a;if(this.g){if(a=!!SI(this.getAd()))a=nH(SI(this.getAd())),a=this.g.i>=a}else a=!1;return a};h.skip=function(){this.g&&null!=SI(this.getAd())&&(null!=this.h?this.h.Oh():(this.Y("skip"),this.L("skip"),this.destroy()))};
h.start=function(){if(this.ea)qR(this,this.g);else{uQ.prototype.start.call(this);try{a:{this.L("contentPauseRequested");this.g||(this.g=EP(this.w),this.g||(GG.D().report(118,{man:"video",when:"playAd_",prld:1==this.fa.enablePreloading,pod:1==this.getAd().u.pod,podSize:this.getAd().u.podSize,vmap:1==this.getAd().u.vmap,fallback:1==this.getAd().u.fallback,flbAdIds:this.getAd().u.flbAdIds.join(","),flbAdTypes:this.getAd().u.flbAdTypes.join(","),flbAdPos:this.getAd().u.flbAdPos.join(","),adTag:this.getAd().u.adTag,
adResponse:1==this.getAd().u.adResponse,contUrl:IG(),auto:1==X.h,prxRpl:1==this.getAd().u.prxRpl,alloc:this.w.h,nativ:!1}),FP(this.w),this.g=EP(this.w)));var a=this.getAd().i;if(a instanceof vt){var b=OC(a);b&&(this.getAd().J=b)}if(!this.h&&this.fa.useVideoAdUi){var c=HM(this.getAd(),this.fa);this.h=new GM(c,this.l,document.body,cJ(this.getAd(),this.fa.disableUi),!0,this.ia)}jR(this);var d=this.g;d.h.send(d.g,"activate");var e=this.g;OM(this.i,this.getAd(),e,this.h?this.h.Le():null,this.l);this.ma().G(this.i,
"engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked learnMoreClicked muteClicked titleClicked unmuteClicked start loadedMetadata".split(" "),this.N);var f=new ht(this.getAd().i,this.ha,e,VF(),this.getAd().l);f.hd();F(this,f);if(XI(this.getAd())){var g=this.getAd().i;g instanceof vt&&SC(this.K,g,e)}kR(this,e);Lu(this.ma(),this.i,"impression",this.N,this);rR(this,e);hR(this,this.g);this.setVolume(sR(this)?0:this.u);this.Y("show_ad");this.da().qb();try{this.Sa()}catch(k){nR(this,
this.g,AJ,k);break a}this.g.nd()}}catch(k){oR(this,k)}}};h.getVolume=function(){return this.o&&this.g?this.g.isMuted()?0:this.g.getVolume():this.u};h.setVolume=function(a){this.o&&this.g?this.g.setVolume(a):this.u=a};h.pause=function(){this.g&&this.g.pause()};h.resume=function(){this.g&&this.g.nd()};h.getCurrentTime=function(){return this.g?this.g.getCurrentTime():-1};h.getDuration=function(){return this.g?this.g.getDuration():-2};
h.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return 0<=a&&0<=b?Math.max(0,a-b):-1};
var qR=function(a,b){JI(a.getAd());nR(a,b,XJ,Y(XJ,b.getError()))},nR=function(a,b,c,d){tR(a,b,d);cK(a,c,d);a.destroy()},tR=function(a,b,c){c=Y(XJ,c);b=NL(c,a.getAd(),b);a.qc(c,b)},rR=function(a,b){ct(a.ha,UL(a.getAd(),b));var c=a.getAd().g;null!=c&&c instanceof cI&&(vG.forEach(function(d){Lu(a.ma(),a.i,d,a.N,a)}),c=a.ma(),c.G(a.i,"error",function(){return void qR(a,b)}),c.G(a.i,"mediaLoadTimeout",function(){a.getAd().o.g=Date.now();nR(a,b,QJ,Y(QJ,null,(a.fa.loadVideoTimeout/1E3).toString()))}),c.G(a.i,
"autoplayDisallowed",function(){nR(a,b,XJ,aK())}));null!=SI(a.getAd())&&(a.i.u=30)},uR=function(a){a.C&&(a.L("click"),a.Ca(IC(a.getAd())))};
gR.prototype.N=function(a){switch(a.type){case "start":vQ(this);this.C=!0;this.h&&this.h.jg();SM(this.i,this.da().Vd());this.getAd().Ea=!0;this.L("start");break;case "impression":this.L("impression");break;case "viewable_impression":this.L("viewable_impression");break;case "measurable_impression":this.L("measurable_impression");break;case "pause":W(this.l,Ax,!0);this.L("pause");break;case "resume":W(this.l,Ax,!1);this.L("resume");break;case "firstQuartile":this.L("firstQuartile");break;case "midpoint":this.L("midpoint");
break;case "thirdQuartile":this.L("thirdQuartile");break;case "complete":this.L("complete");this.destroy();break;case "loadedMetadata":this.L("loadedMetadata");break;case "click":uR(this);break;case "engagedView":this.L("engagedView");break;case "videoClicked":iR(this);this.L("videoClicked");break;case "videoIconClicked":this.dispatchEvent(a);this.Ca(a.Da.clickThroughUrl);break;case "authorIconClicked":vR(this);break;case "authorNameClicked":vR(this);break;case "learnMoreClicked":ZC(this.K,3);uR(this);
this.g.pause();break;case "titleClicked":a=hE(this.M);null!==a&&(this.pause(),this.Ca(a));break;case "muteClicked":this.X=this.u;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.X);break;case "skipShown":this.L("skippableStateChanged");break;case "skip":this.L("skip");this.destroy();break;case "fully_viewable_audible_half_duration_impression":this.L("fully_viewable_audible_half_duration_impression")}};var iR=function(a){a.g&&(a.g.Mc()?a.resume():a.pause())};h=gR.prototype;
h.Gb=function(){var a=lR(this);return null==a?null:a.url};h.clicked=function(){this.getAd().T&&this.C?(wQ(this,"click"),this.g.pause()):this.getAd()};h.zl=function(){this.getAd().o.g=Date.now();this.L("adCanPlay")};
h.Al=function(){var a=this.getCurrentTime(),b=this.getDuration();if(0<=b&&0<=a){var c=new tM(this.getAd().getAdPodInfo(),a,b);this.L("adProgress",c)}if(null!=this.h&&0<=b&&0<=a){if(!(this.F||3>this.getAd().aa)){c=this.g.getDuration();var d=UI(this.getAd());c=Math.abs(c-d);2<c&&(c=Y(TJ,null,Number(c).toFixed(2)),d=NL(c,this.getAd(),this.g),this.qc(c,d));this.F=!0}c=this.getAd().getAdPodInfo();a=new Dx(a,b,this.g?this.g.ih():-1,c.rb,c.Bb);W(this.l,Ex,a)}};h.yl=function(){this.h&&W(this.l,kx,null)};
h.Bl=function(){this.L("adBuffering")};var vR=function(a){var b=gE(a.M);b&&(a.pause(),a.Ca(b))},sR=function(a){a=oI(a.getAd(),"AdSense");return null!=a&&null!=a.g?a.g.l:!1};gR.prototype.La=function(){uQ.prototype.La.call(this);null!=this.h&&this.h.me()};gR.prototype.resize=function(a,b){uQ.prototype.resize.call(this,a,b);null!=this.h&&this.h.me()};
var pR=function(a){a.fa.enablePreloading&&UF()&&(a.g=EP(a.w),a.g&&(kR(a,a.g),a.ma().G(a.g,"error",function(b){a.ea=b}),a.g.od(),hR(a,a.g)))},oR=function(a,b){tR(a,a.g,b);b instanceof kH?a.dispatchEvent(new sJ(b)):cK(a,XJ,b);a.destroy()},mR=function(a){a.L("loaded");a.L("adMetadata")};gR.prototype.toString=function(){return"videoman"};var wR=function(a){G.call(this,"vpaid-message");this.data=a};w(wR,G);var xR=function(a,b,c){H.call(this);this.w=b;this.g=null;this.i=a;this.l=c;this.h=null;this.u=new T(this);F(this,this.u)};w(xR,H);xR.prototype.init=function(){this.u.G(Le(),"message",this.Cl);yR(this)};
var yR=function(a){if(!a.h||!a.g){a.h||(a.h=EP(a.l));if(!a.g){a:{var b=a.w;for(var c=p(b.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.g.get(d)){b.g.set(d,!0);b=d;break a}b=null}a.g=b}a.h&&a.g&&(b=a.g,c=a.i,a=a.h.g,d={},a=(d.vpaidEventType="createFriendlyIframe",d.session=c,d.videoDisplayName=a,d),b.g.send("adsManager","vpaidEvent",a))}};h=xR.prototype;
h.start=function(){yR(this);this.h||(GG.D().report(118,{man:"vpaid",when:"start",type:"friendly"}),FP(this.l),yR(this));if(!this.g)throw GG.D().report(122,{man:"vpaid",when:"start"},!0),Error("Play ad was called before insecure iframe channel was available.");};h.resume=function(){};h.dj=function(){return"friendly"};h.cj=function(){};h.Fh=function(a,b){b.session=this.i;b.type=a;Le().parent.postMessage(Lg(b),"*")};
h.Cl=function(a){(a=zR(a))&&a.session==this.i&&("friendlyReady"==a.type?(a={},this.dispatchEvent(new wR((a.type="vpaidChannelLoaded",a)))):this.dispatchEvent(new wR(a)))};var zR=function(a){a=a.Hb||null;if(!a)return null;a=a.data;if("string"!==typeof a)return null;a=LG(a);if(null!=a)try{return JSON.parse(a.data)}catch(b){}return null};
xR.prototype.R=function(){var a=this.g,b=this.i,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);a.g.send("adsManager","vpaidEvent",b);(a=this.h)&&this.l.g.set(a,!1);(a=this.g)&&this.w.g.set(a,!1)};xR.prototype.o=function(){return this.h};var AR=function(a,b,c,d,e){H.call(this);this.u=a;new O(WI(a));this.F=b;this.ba=c;this.l=d;this.g=null;this.J=e;this.w="";this.C=!1;this.i=new T(this);F(this,this.i)};w(AR,H);h=AR.prototype;
h.init=function(){if(!this.C&&(this.g||(this.g=EP(this.l)),this.g)){var a=WI(this.u);if(/\.html(\?.*)?$/.test(a))this.J&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=C(a);else{var b=new O(a),c=new O("http://tpc.googlesyndication.com/pagead/js/loader18.html");"https"==b.l&&pq(c,"https");a=rq(c,a||"",void 0).toString()}this.h=Ne("IFRAME",{src:ZF(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;"});
this.i.G(this.h,"load",this.El);this.ba.Na().appendChild(this.h);this.i.G(Le(),"message",this.Dl);this.i.G(this.g,"click end error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.ej);this.i.G(this.g,OE,this.ej);this.C=!0}};h.start=function(){this.init();this.g||(GG.D().report(118,{man:"vpaid",when:"start",type:"secure"}),FP(this.l),this.init());null!=this.h&&(this.h.style.display="block")};h.resume=function(){BR(this,"play")};h.dj=function(){return"secure"};
h.cj=function(a){var b={};BR(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))};h.Fh=function(a,b){null!=this.h.contentWindow&&(b.session=this.F,b.type=a,this.h.contentWindow.postMessage(Lg(b),"*"))};
h.Dl=function(a){a=a.Hb||null;a:{if(a)try{var b=JSON.parse(a.data);break a}catch(c){}b=null}if(a.source==this.h.contentWindow&&null!=b&&b.session==this.F)if("videoCall"==b.type)switch(b.func){case "load":case "play":this.ba.qb();this.w!=b.src&&(this.w=b.src,qK(this.g,b.src,null,this.u.getAdPodInfo()));this.g.nd();break;case "pause":this.g.pause();break;case "currentTime":rK(this.g,b.currentTime)}else this.dispatchEvent(new wR(b))};
h.El=function(){var a={};this.dispatchEvent(new wR((a.type="vpaidChannelLoaded",a)))};h.R=function(){Ve(this.h);var a=this.g;a&&this.l.g.set(a,!1)};
h.ej=function(a){switch(a.type){case "loadedmetadata":a={};BR(this,"loadedmetadata",(a.duration=this.g.getDuration(),a));break;case "timeUpdate":a={};BR(this,"timeupdate",(a.duration=this.g.getDuration(),a.currentTime=this.g.getCurrentTime(),a));break;case "end":BR(this,"ended");break;case "loaded":BR(this,"loadstart");break;case "mediaLoadTimeout":BR(this,"stalled");break;case "play":BR(this,"playing");break;default:BR(this,a.type)}};
var BR=function(a,b,c){c=void 0===c?{}:c;c.messageType=b;a.Fh("wrapperCall",c)};AR.prototype.o=function(){return this.g};function CR(a){a=WI(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var DR=function(a,b,c){uQ.call(this,a,b.g,b.ya,c);var d=this;this.tb=b.i;this.Wa=b.l;this.g=null;this.Nd=function(){return d.yd()};this.aa=this.M=this.ia=!1;this.K=[];this.Ea="goog_"+Md++;this.i=null;this.va=-1;this.F=new qg(500);this.N=this.C=-1;this.kc=(new O(WI(this.getAd()))).h;this.X=this.o=!1;this.l=hI(this.getAd());this.u=b.g.ib();this.h=null;this.w="normal";b.h.push(this.toString())};w(DR,uQ);h=DR.prototype;
h.init=function(){if(!wE()){var a=Y(EJ,null,"vpaid");ER(this,a);throw a;}if(!this.pc){a=this.getAd();var b=this.Ea,c=this.da(),d=this.tb,e=this.Wa;this.h=CR(a)||2!=X.H?new AR(a,b,c,d,CR(a)):new xR(b,e,d);F(this,this.h);a=this.getAd().o;b=ab();a.h=b;a.g=null;this.ma().G(this.F,"tick",this.Zd);this.ma().G(yK(),wG,this.Sc);this.ma().G(this.h,"vpaid-message",this.Ud);this.h.init();this.g=this.h.o();FR(this,this.g);this.pc=!0;wQ(this,"loaded")}};h.isLinear=function(){return 1==this.l};
h.start=function(){this.init();uQ.prototype.start.call(this);try{this.h.start()}catch(c){var a=Y(XJ,c,"internal");ER(this,a);return}this.g=this.h.o();FR(this,this.g);GR(this);ct(this.ha,UL(this.getAd(),this.g));this.g.od();this.Y("show_ad");this.da().Ab();a=this.getAd();if(a.g instanceof cI&&(a=dJ(a),null!=a&&0!=a.length)){var b=document.body;b&&(this.ea=new pN(a,this.u,b),this.ea.lb(),this.u.subscribe(wx,this.lc,this),this.u.subscribe(xx,this.Cc,this))}null!=this.i&&this.g.setVolume(this.i);VF()&&
(a=new ht(this.getAd().i,this.ha,this.g,VF(),this.getAd().l,!0),a.hd(),F(this,a));this.aa=!0;this.l?this.L("contentPauseRequested"):this.dispatchEvent(new kK("vpaidNonLinear",this.Ea));HR(this);this.M||(this.N=sg(this.Td,this.fa.loadVideoTimeout,this))};h.resize=function(a,b){this.w=Du(a,b)?"fullscreen":"normal";IR(this,"resizeAd",{width:a,height:b,viewMode:this.w})};h.expand=function(){IR(this,"expandAd");this.w="fullscreen"};h.collapse=function(){IR(this,"collapseAd");this.w="normal"};
h.pause=function(){this.o||IR(this,"pauseAd")};h.resume=function(){this.o&&(IR(this,"resumeAd"),this.h.resume())};h.setVolume=function(a){uQ.prototype.setVolume.call(this,a);this.i=a;this.aa&&IR(this,"setAdVolume",{value:a})};var FR=function(a,b){b&&(AK(a.getAd(),a.Nd),yK().o=b,null!=a.Rc&&bM(a.Rc,b))};DR.prototype.yd=function(){return{currentTime:this.getCurrentTime(),duration:this.getDuration(),isPlaying:!0,isVpaid:mI(this.getAd()),isYouTube:!1,volume:this.i}};
DR.prototype.R=function(){BK(this.getAd());this.F.stop();this.ea&&this.ea.destroy();this.u.clear();this.g&&(this.g.Nc(),KF||this.g.Ld(),this.l&&(!this.M||this.g.Mc()||this.g.Bd()||this.g.pause()));this.ia=!1;this.K=[];tg(this.N);this.F.$();uQ.prototype.R.call(this)};
var JR=function(a){var b=HC(a.getAd()),c=C(IC(a.getAd())),d=a.getAd();if(a.l){var e=d.g,f=dI(e);null!=f&&(e.g=f)}e=null!=a.i?a.i:1;f={};b=(f.desiredBitrate=a.fa.bitrate,f.creativeData=b,f.viewMode=a.w,f.clickThroughUrl=c,f.adUrl=WI(d),f.volume=e,f);a.ia=!0;IR(a,"initAd",b);a.K.forEach(function(g){IR(a,g.type,g.Ph)});a.K=[];a.h.cj(a.fa.mimeTypes||[])},IR=function(a,b,c){c=void 0===c?{}:c;a.ia?a.h.Fh(b,c):a.K.push({type:b,Ph:c})};
DR.prototype.Td=function(){var a=this.getAd().o,b=ab();a.g=b;ER(this,Y(QJ,null,(this.fa.loadVideoTimeout/1E3).toString()))};var ER=function(a,b){JI(a.getAd());var c=a.getAd().o;if(null==c.g){var d=ab();c.g=d}c=NL(b,a.getAd());a.qc(b,c);a.dispatchEvent(new sJ(b));a.stop()};
DR.prototype.Ud=function(a){a=a.data;if("string"===typeof a.type)switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":JR(this);break;case "returnDuration":this.C=a.duration;break;case "returnRemainingTime":KR(this,a.remainingTime);break;case "AdClickThru":this.Y("click");this.L("click");break;case "AdDurationChange":this.C=a.duration;KR(this,a.remainingTime);this.getAd().g.ca=this.C;this.L("durationChange");break;case "AdError":this.X=!0;ER(this,
Y(YJ,Error(a.message)));break;case "AdExpandedChange":this.L("expandedChanged");break;case "AdImpression":this.Sa();wQ(this,"impression");this.X=!0;this.L("start");break;case "AdLinearChange":a=a.isLinear;!this.l&&a?(this.L("contentPauseRequested"),IR(this,"becameLinear")):!a&&this.l&&(this.L("contentResumeRequested"),IR(this,"becameNonlinear"),IR(this,"getAdRemainingTime"),IR(this,"getAdDuration"));this.l=a;var b=this.getAd();b.Wa=!0;b.tb=a;this.L("linearChanged");break;case "AdLoaded":tg(this.N);
this.M=!0;b=this.getAd().o;var c=ab();b.g=c;b=a.companions;a=this.getAd();0==nI(a).length&&(b=oO(b,a.g.Fa()),0!=b.length&&fI(a,b));HR(this);this.L("adCanPlay");break;case "AdPaused":this.o=!0;wQ(this,"pause");break;case "AdPlaying":this.o=!1;wQ(this,"resume");break;case "AdRemainingTimeChange":KR(this,a.remainingTime);break;case "AdSkipped":wQ(this,"skip");this.stop();break;case "AdSkippableStateChange":wQ(this,"skippableStateChanged");break;case "AdStarted":this.Y("creativeView");vQ(this);this.getAd().Ea=
!0;this.L("adStarted");break;case "AdStopped":this.Y("stop");this.X||ER(this,Y(YJ));this.stop();break;case "AdUserAcceptInvitation":this.l?this.Y("acceptInvitationLinear"):this.Y("acceptInvitation");break;case "AdUserMinimize":this.Y("collapse");break;case "AdUserClose":wQ(this,"userClose");break;case "AdVideoComplete":wQ(this,"complete");break;case "AdVideoFirstQuartile":wQ(this,"firstQuartile");break;case "AdVideoMidpoint":wQ(this,"midpoint");break;case "AdVideoStart":this.Y("start");break;case "AdVideoThirdQuartile":wQ(this,
"thirdQuartile");break;case "AdVolumeChange":a=a.volume;a!=this.i&&(this.L("volumeChange",{volume:a}),0==a?(this.Y("mute"),this.L("mute")):0==this.i&&0!=a&&this.Y("unmute"),this.g.setVolume(a),this.i=a);break;case "AdInteraction":b={};b.id=a.id;this.L("interaction",b);break;case "Ping":DG(a.url)}};var HR=function(a){if(a.M&&a.aa){var b=a.g;b.h.send(b.g,"activate");IR(a,"startAd");a.F.start();a.l||(IR(a,"becameNonlinear"),IR(a,"getAdRemainingTime"));IR(a,"getAdDuration")}};
DR.prototype.getCurrentTime=function(){return 0>this.getDuration()||0>this.getRemainingTime()?-1:this.getDuration()-this.getRemainingTime()};DR.prototype.getDuration=function(){return this.C};DR.prototype.getRemainingTime=function(){return this.va};var KR=function(a,b){a.va=b;if(!a.o){b=a.getAd().getDuration();var c=b-a.va;if(0<=b&&0<=c){var d=new tM(a.getAd().getAdPodInfo(),c,b);a.L("adProgress",d);$s(a.ha,c,1E3*b)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&W(a.u,Ex,new Dx(c,b))};
DR.prototype.Zd=function(){IR(this,"getAdRemainingTime")};var GR=function(a){var b={};b.pid=Br();b.dn=a.kc;b["if"]=a.h.dj();b.asys=iI(a.getAd());var c=new O(WI(a.getAd()));b.vad=-1!=c.i.indexOf("vpaid_adapter.js");b.atag=Hq(c.g,"adTagUrl");var d=[];a.getAd().Ec().forEach(function(e){d.push(C(e.mimeType).toLowerCase())});b.mtypes=d.join(",");GG.D().report(29,b)};DR.prototype.Cc=function(a){a.o.forEach(function(b){DG(b)})};DR.prototype.lc=function(a){var b=a.i;null!=b&&(this.Ca(b),this.pause());a.l.forEach(function(c){DG(c)})};
DR.prototype.skip=function(){IR(this,"skipAd")};DR.prototype.toString=function(){return"vpaidman"};function LR(a,b,c){if(!br($r))return null;if(!b.useVideoAdUi)return new QP;var d=HM(a,b);return new GM(d,c.g.ib(),document.body,cJ(a,b.disableUi),!0)}function MR(a){return OI(a,"nonlinear")&&!mI(a)}function NR(a){GG.D().report(100,{type:a})}function OR(a){var b=0;a.forEach(function(c){c&&hI(c)&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.Bb=a.length;c&&hI(c)&&(e.rb=d+1,e.h=d+1,e.Jb=b)})}var PR=function(){};
PR.prototype.create=function(a,b,c){if(0==a.length)throw Error("Ads manager creation failure, no ads.");var d=new KQ(b.g),e=new GP(d,b.i,b.ya,b.l);e.h=b.h;var f=a[0];if(LI(f)&&MR(f))NR("adsense"),a=[new CQ(a,e,c)];else{f=[];for(var g=0;g<a.length;g++){var k=null,l=a[g];if(l.isLinear()||g==a.length-1)b:{k=c;wr(Q.D(),"qqid",FI(l));wr(Q.D(),"gqid",BI(l));wr(Q.D(),"fb","ima-html5");wr(Q.D(),"sdkv",gF());wr(Q.D(),"ppt",X.l);wr(Q.D(),"ppv",X.o);wr(Q.D(),"mrd",X.u);wr(Q.D(),"aab",X.h?1:0);wr(Q.D(),"itv",
document.hidden?0:1);var m=Q.D().g;m.J=!0;nr(m);m=new QC(new mv);if(YI(l)){NR("action");k.g=!1;var n=LR(l,k,e);n=new gR(l,e,k,m,n);m=new TP(n,e.g,m)}else if(mI(l)&&wE())NR("vpaid"),m=new DR(l,e,k);else if(aJ(l))NR("simid"),n=LR(l,k,e),m=new gR(l,e,k,m,n),m=new $Q({zk:m,$l:e,Xa:l});else if(OI(l,"linear"))NR("video"),n=LR(l,k,e),m=new gR(l,e,k,m,n);else if(MR(l))NR("nonlinear"),m=new yQ(l,e,k);else{k=null;break b}m.Va(e.ya);null!=KI(l)&&(l=new IQ(m,e,new PR,k),NR("multiple_fb"),m=new MQ(l,e.g,k));k=
m}null!=k&&f.push(k)}a=f}if(0==a.length)throw Error("Manager creation failure, failed to determine ad type.");NR("multiple_pod");return new MQ(new iQ(a),d,c,b.i)};var QR=function(){H.call(this)};w(QR,H);h=QR.prototype;h.getAd=function(){return null};h.getCurrentAd=function(){return this.getAd()};h.updateAdsRenderingSettings=function(){};h.expand=function(){};h.collapse=function(){};h.zb=function(){};h.stop=function(){};h.destroy=function(){};h.init=function(){};h.start=function(){};h.pause=function(){};h.resume=function(){};h.skip=function(){};h.Y=function(){};h.qc=function(){};h.getRemainingTime=function(){return 0};h.getVolume=function(){return 0};
h.setVolume=function(){};h.Va=function(){};h.La=function(){};h.resize=function(){};h.getDuration=function(){return 0};h.getCurrentTime=function(){return 0};h.Gb=function(){return null};h.clicked=function(){};h.Sd=function(){};h.getAdSkippableState=function(){return!1};h.bc=function(){return!1};h.Ca=function(){};var RR=function(a,b,c,d,e){d=void 0===d?[]:d;e=void 0===e?null:e;G.call(this,a);this.h=b;this.l=c;this.ka=d;this.o=e};w(RR,G);var SR=function(a,b){H.call(this);this.i=a;this.l=b;this.g=new Map;this.h=new Map};w(SR,H);SR.prototype.fetch=function(a){if(!this.g.has(a)){var b=this.l,c=[].concat(u(this.i.g.get(a)||[]));a:{var d=PP(this.i);switch(a){case 0:d=0;break a;case -1:d=-1;break a;default:var e=d.indexOf(a);d=0==d[0]?e:e+1}}b=new ZP(b,c,a,d);this.g.set(a,b);TR(this,a,b)}};
var TR=function(a,b,c){if(a.h.get(b))UR(a,a.h.get(b),"adBreakFetched",b,a.h.get(b).l);else{var d=new T(a);F(a,d);d.G(c,"adBreakFetched",function(e){Nu(d);var f=e.ie.h,g=e.Rf;0==g.length?VR(a,e):UR(a,a.g.get(f),"adBreakFetched",f,g)});d.G(c,"adBreakFetchError",function(e){Nu(d);VR(a,e)});aQ(c)}},VR=function(a,b){b=b.ie.h;UR(a,a.g.get(b),"adBreakFetchError",b,[],ZJ(GJ))},UR=function(a,b,c,d,e,f){e=void 0===e?[]:e;f=void 0===f?null:f;a.g.delete(d);0<e.length&&a.h.set(d,b);a.dispatchEvent(new RR(c,d,
b,e,f))};SR.prototype.R=function(){this.h.clear();this.g.clear();H.prototype.R.call(this)};var WR=function(a,b,c,d){G.call(this,a);this.h=b;this.l=c;this.ka=d};w(WR,G);var $R=function(a,b,c){H.call(this);this.u=c;this.g=new Set;this.i=a;this.o=b;this.l=new T(this);F(this,this.l);this.h=null;YR(this);ZR(this)};w($R,H);var aS=function(a,b){return[].concat(u(a.u.g.get(b)||[]))},bS=function(a,b){a.g.add(b);a.h==b&&(a.h=null)},cS=function(a){return[].concat(u(PP(a.u))).length==a.g.size};$R.prototype.start=function(){this.i.start();JP(this.i)};
$R.prototype.R=function(){Nu(this.l);this.i.stop();H.prototype.R.call(this)};var YR=function(a){a.l.G(a.i,"OffsetTrackerEvent",function(b){var c=b.Wl;b=b.$k;null==c||a.g.has(c)?null==b||a.g.has(b)||a.o.fetch(b):(a.h=c,a.o.fetch(c))})},ZR=function(a){a.l.G(a.o,"adBreakFetched",a.w);a.l.G(a.o,"adBreakFetchError",function(b){return void a.dispatchEvent(b)})};
$R.prototype.w=function(a){this.g.has(a.h)||(this.h==a.h?(this.h=null,this.dispatchEvent(new WR("play",a.h,a.l,a.ka))):null==this.h&&this.dispatchEvent(new WR("load",a.h,a.l,a.ka)))};var eS=function(a,b,c,d,e,f){RP.call(this,new QR);this.W=a;this.C=f;this.J=c;this.X=e;a=e.playAdsAfterTime;e=PP(b);e=p(e);for(var g=e.next();!g.done;g=e.next())g=g.value,-1!=g&&g<=a&&b.g.delete(g);d=new IP(d,PP(b));F(this,d);a=new SR(b,c);F(this,a);this.h=new $R(d,a,b);F(this,this.h);this.i=new T(this);F(this,this.i);dS(this);this.i.G(c,"contentComplete",this.aa);this.K=1;this.o=null;this.u=!1;this.l=null;f.h.push(this.toString());this.w=this.F=!1;try{b={},b.nvmaploc=AF,b.nvmapref=EF,b.nvmappubid=
NE(this.C.o)||"none",GG.D().report(132,b)}catch(k){}};w(eS,RP);h=eS.prototype;h.resize=function(a,b){RP.prototype.resize.call(this,a,b)};h.Sd=function(){if(fS(this))RP.prototype.destroy.call(this);else{var a=MP(this.h.i);null==a||this.h.g.has(a)||(bS(this.h,a),0===a&&this.dispatchEvent(new lK("contentResumeRequested")),(cS(this.h)||this.u)&&this.dispatchEvent(new lK("allAdsCompleted")))}};h.Va=function(){};
h.init=function(){var a=this;this.J.g=!1;this.i.G(this,"allAdsCompleted",function(){a.J.g=!0});var b={};b.cuepoints=[].concat(u(PP(this.h.u)));b=new lK("adMetadata",this.getAd(),b);this.dispatchEvent(b);0==aS(this.h,0).length&&this.dispatchEvent(new lK("contentResumeRequested"));this.h.start()};h.start=function(){X.h||fS(this)&&this.w||(fS(this)?(this.w=!0,gS(this)):this.F=!0)};var gS=function(a){hS(a,"breakStart");a.l&&(tg(a.l),a.l=null);RP.prototype.start.call(a)};
eS.prototype.setVolume=function(a){this.K=a;RP.prototype.setVolume.call(this,a)};
var jS=function(a,b){a.o=b.h;var c=a.W;b=b.l;var d=a.C,e=a.X,f=new KQ(d.g),g=new GP(f,d.i,d.ya,d.l);g.h=d.h;NR("multiple_adbreak");c=new MQ(new gQ(b,g,c,e),f,e,d.i);SP(a,c);iS(a);a.g.setVolume(a.K);a.g.init()},iS=function(a){var b=[].concat(u(uG));a.i.G(a.g,b,function(c){return void a.dispatchEvent(c)});a.i.G(a.g,"contentResumeRequested",function(c){dS(a);a.dispatchEvent(c)});a.i.G(a.g,"contentPauseRequested",function(c){a.i.wa(a.h,"load",a.N);a.i.wa(a.h,"play",a.T);a.i.wa(a.h,"adBreakFetchError",
a.M);a.dispatchEvent(c)});a.i.G(a.g,"adError",function(c){c=c.getError()||Y(XJ);a.dispatchEvent(new lK("log",null,c))});a.i.G(a.g,"allAdsCompleted",function(c){a.w=!1;if(a.h.g.has(-1)&&(MF(),null!=a.C.ya)){var d=a.C.ya.w();null!=d&&ZG(d)}hS(a,"breakEnd");(cS(a.h)||a.u)&&a.dispatchEvent(c)})};eS.prototype.N=function(a){this.o!=a.h&&jS(this,a)};
eS.prototype.T=function(a){this.o!=a.h&&jS(this,a);bS(this.h,a.h);var b=1==aS(this.h,0).length;0==a.h&&b&&(b=this.g.getAd())&&!b.isLinear()&&this.dispatchEvent(new lK("contentResumeRequested",b));X.h?gS(this):kS(this,a.h)};
eS.prototype.aa=function(a){this.u=!0;this.h.g.has(-1)||(cS(this.h)&&this.g instanceof QR?(this.dispatchEvent(new lK("contentResumeRequested")),this.dispatchEvent(new lK("allAdsCompleted"))):0<aS(this.h,-1).length?(a.h=!1,a=this.h.i,a.g.includes(-1)&&a.dispatchEvent(new HP(-1,null)),a.stop()):this.dispatchEvent(new lK("allAdsCompleted")))};
eS.prototype.M=function(a){bS(this.h,a.h);var b=a.o||ZJ(GJ);this.dispatchEvent(new lK("log",null,b));b={};this.dispatchEvent(new lK("adBreakFetchError",null,(b.adBreakTime=a.h,b)));((b=cS(this.h)||this.u)||0==a.h)&&this.dispatchEvent(new lK("contentResumeRequested"));b&&this.dispatchEvent(new lK("allAdsCompleted"))};var dS=function(a){a.i.G(a.h,"load",a.N);a.i.G(a.h,"play",a.T);a.i.G(a.h,"adBreakFetchError",a.M)};eS.prototype.stop=function(){RP.prototype.destroy.call(this)};
eS.prototype.destroy=function(){this.l&&(tg(this.l),this.l=null);RP.prototype.destroy.call(this);this.$()};var fS=function(a){return!(a.g instanceof QR)&&!a.g.yb()},kS=function(a,b){if(0==b){var c=a.g.getAd(),d=new lK("contentResumeRequested",c);a.l=sg(function(){a.dispatchEvent(d)},100)}-1==b&&(a.l=sg(function(){a.stop()},500));a.F&&(a.F=!1,a.w=!0,gS(a));c={};c.adBreakTime=b;b=new lK("adBreakReady",a.g.getAd(),c);a.dispatchEvent(b)};eS.prototype.R=function(){this.J.g=!0;RP.prototype.R.call(this)};
eS.prototype.toString=function(){return"vmapman"};var hS=function(a,b){null!==a.o&&aS(a.h,a.o).forEach(function(c){FG(sH(c.ga,b))})};var lS=function(a){PO.call(this,a);this.J=!1;this.l=null;this.C=!1;this.K=new qg(200);this.u=0;this.T=[];this.M=new dK};w(lS,PO);h=lS.prototype;h.updateAdsRenderingSettings=function(a){a.autoAlign=!0;PO.prototype.updateAdsRenderingSettings.call(this,a)};h.ub=function(a,b){PO.prototype.ub.call(this,a,b);a=this.Z();0!=nI(a).length&&this.Sa(a)};
h.Wi=function(){var a=this;if(!this.g&&this.h){null==this.l&&(this.l=[],this.ka.forEach(function(e){var f=e.g;null==f?(f=ZJ(LJ),e=NL(f,e),ct(a.ha,e),at(a.ha,f.g)):(null==a.i&&(a.i=oI(e,"AdSense").g),"Text"==f.getContentType()&&(a.J=!0),!(e=mS(e))||nS(a)&&!a.J||(f.w=e),a.l.push(f))}));if(0==this.l.length)throw Y(LJ);null==this.i&&(this.i=new AH);var b=this.da().ib();if(nS(this)){var c=cJ(this.Z(),this.fa.disableUi),d=oS(this);this.g=new oQ(this.l,b,this.h,this.i,d.text,!c,d.$h);this.ma().G(this.K,
"tick",this.ml)}else 1==this.l.length?this.g=new OO(this.l[0],b,this.h,!0,!0,this.i):this.g=new tQ(this.l,b,this.h,this.i);b.subscribe(nx,function(e){var f=e.Pb,g=e.Qb;e=a.g.Yb();var k=e.getAd(),l=oI(k,"AdSense");l=new O(l.u);var m=yh(a.g.Oc()),n=yh(a.da().Na()),q=Du(n.width,n.height)?"fullscreen":"normal",v=BE();f=["0","aw="+m.width,"ah="+m.height,"nx="+f,"ny="+g,"viewMode="+q,"sdkv=h.3.386.2","eids="+HE(v),"bw="+n.width,"bh="+n.height];Bq(l,"label","elementclick");Bq(l,"value",f.join(";"));a.M.g(l.toString());
pS(a,k);a.Y("click");qS(a);a.L("click");if(f=e.Lb())(e=a.g.Wd())&&(f=DA(e.g,f)),a.Ca(f)});b.subscribe(px,function(){return void a.N()});b.subscribe(fx,function(){return void a.fe()});b.subscribe(tx,function(){a.L("userRecall")});b.subscribe(vx,function(){a.L("skippableStateChanged")});b.subscribe(ux,function(){a.L("skip");a.fe();rS(a)});b.subscribe(yx,function(){if(nS(a)){if(a.Z()){var e=mS(a.Z());a.Ca(e)}}else a.g&&a.Ca(a.g.Yb().w)});b.subscribe(Zw,function(){var e,f=oI(a.Z(),"AdSense");f&&(e=f.l);
null==e&&a.i&&(e=a.i.i);e&&a.Ca(e)});this.g.lb()}};h.ml=function(){var a=this.da().ib();this.u+=.2;var b=new Dx(this.u,this.getDuration());W(a,Ex,b);this.u>=this.getDuration()&&(this.L("complete"),rS(this))};h.start=function(){PO.prototype.start.call(this);!this.C&&nS(this)&&(this.C=!0,this.L("contentPauseRequested"),this.K.start())};h.fe=function(){var a=this;PO.prototype.fe.call(this);this.l.forEach(function(b){pS(a,b.getAd());a.Y("close");qS(a)})};
var mS=function(a){return(a=oI(a,"AdSense"))?a.o:null},oS=function(a){if(!a.ra())return{};var b=oI(a.Z(),"AdSense"),c=b.i;b=b.l;c=null!=c?c:a.i.g;b=null!=b?b:a.i.i;var d;if(d=!!mS(a.Z()))d=nS(a)&&!a.J;a={text:c,url:b,$h:d};null==a.text&&(a.text=Nx("Ads by Google"));return a};lS.prototype.N=function(){var a=this;if(this.g){var b=this.g.Yb().getAd();if(null!=b){var c=vI(b);this.T.includes(c)||(this.T.push(c),this.o?this.w(b):this.F.push(function(){return a.w(b)}),this.L("impression"))}}};
lS.prototype.w=function(a){a&&(pS(this,a),this.Y("impression"),this.Y("creativeView"),wM(this,"start"),qS(this))};lS.prototype.Ye=function(){var a=nS(this)?15:0,b=nS(this)?65:0;PO.prototype.Ye.call(this,a,b)};var nS=function(a){return a.ra()&&QI(a.Z())},rS=function(a){a.K.stop();a.g&&(a.g.destroy(),a.g=null);yK();a.C&&(a.C=!1,a.L("contentResumeRequested"))};h=lS.prototype;h.skip=function(){this.getAdSkippableState()&&(this.L("skip"),this.fe(),rS(this))};
h.getAdSkippableState=function(){if(this.ra()){var a=this.Z();if(SI(a))return a=nH(SI(a)),-1!=a&&this.getCurrentTime()>=a}return!1};h.getCurrentTime=function(){return nS(this)?this.u:PO.prototype.getCurrentTime.call(this)};h.getDuration=function(){return nS(this)&&null!=this.i?15:PO.prototype.getDuration.call(this)};h.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return nS(this)&&0<=b&&b<=a?a-b:PO.prototype.getRemainingTime.call(this)};
var pS=function(a,b){a.ha=new Ws(iJ(b),a.M,jJ(b));ct(a.ha,UL(b))},qS=function(a){a.ha=new Ws(new Map,a.M)};var sS=function(a){G.call(this,"adError");this.h=a};w(sS,G);sS.prototype.getError=function(){return this.h};var tS=function(){this.g=[];this.h=[]},uS=function(a){0==a.g.length&&(a.g=a.h,a.g.reverse(),a.h=[])},vS=function(a,b){a.h.push(b)},wS=function(a){uS(a);return a.g.pop()},xS=function(a){uS(a);a=a.g;return a[a.length-1]};tS.prototype.isEmpty=function(){return 0==this.g.length&&0==this.h.length};tS.prototype.clear=function(){this.g=[];this.h=[]};tS.prototype.contains=function(a){return qb(this.g,a)||qb(this.h,a)};
tS.prototype.Ta=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.h.length;for(b=0;b<c;++b)a.push(this.h[b]);return a};var yS=function(a,b){Z.call(this,[]);this.C=a;this.i=new Map;this.h=this.g=null;this.K=new tS;this.l=null;this.M=b;this.W=this.J=!1;this.o=null;this.u=this.w=-1;this.F=this.Ea=this.va=!1};w(yS,Z);yS.prototype.ub=function(a,b){null!=this.h&&(sP(this.h),this.h.$(),this.h=null);Z.prototype.ub.call(this,a,b);a=PP(this.C);zS(this,a);var c=[];this.i.forEach(function(d){c.push(d)});this.h=new qP(b,c);a=PP(this.C);AS(this,a);BS(this);b=c.find(function(d){return 0==d.vc});null!=b&&CS(this)&&X.h&&DS(this,b)};
var zS=function(a,b){if(null!==a.da()){var c=null!=a.fa?a.fa.playAdsAfterTime:-1,d=1,e=new Set;b.forEach(function(f){if(isNaN(f))throw ZJ(vJ,null,"timeOffset",String(f));if(-1!=f&&f<=c)a.C.g.delete(f);else{var g=a.C.g.get(f)||[];if(0!=g.length){var k=0==f||-1==f?f:d++;g=new RO(g,f,k,a.M,a.da(),a.fa,a.ya);a.i.set(Wa(g),g);e.add(f)}}})}},AS=function(a,b){a.o=b[b.length-1];b.some(function(c){if(-1==c)return a.o=c,!0;a.o=a.o<c?c:a.o;return!1})};h=yS.prototype;
h.init=function(){Z.prototype.init.call(this);var a=this.h;a.h||(null==a.o&&(a.o=new T(a)),a.o.G(a.g,"contentPlayheadChanged",a.w,!1));a.g.start();a.h=!0;this.h.w(null);0==(this.C.g.get(0)||[]).length&&this.L("contentResumeRequested")};h.kg=function(){var a={};a.cuepoints=PP(this.C);this.L("adMetadata",a)};h.destroy=function(){this.$()};h.R=function(){this.M.g=!0;this.N=this.g=null;this.i.forEach(function(a){ES(this,a)},this);this.i.clear();FS(this);GS(this);this.da().Ub();Z.prototype.R.call(this)};
h.start=function(){Z.prototype.start.call(this);if(!X.h){this.Ea=!0;var a=this.h;null!=a.u&&-1==a.u.g&&(this.va=!0);a=this.h;var b=!0;null!=a.i&&a.i===a.u&&(b=!1);tP(a,b,!0,a.u,!0)}};h.stop=function(){null!=this.g&&(ES(this,this.g),this.T())};h.resize=function(a,b){Z.prototype.resize.call(this,a,b);this.w=a;this.u=b;null!=this.g&&this.g.resize(this.w,this.u)};h.pause=function(){null!=this.g&&this.g.pause()};h.resume=function(){null!=this.g&&this.g.resume()};
h.getAdSkippableState=function(){return null!=this.g?this.g.getAdSkippableState():!1};h.skip=function(){null!=this.g&&this.g.skip()};h.zb=function(){null!=this.g&&this.g.zb()};h.setVolume=function(a){Z.prototype.setVolume.call(this,a);null!=this.g&&this.g.setVolume(a)};h.La=function(){Z.prototype.La.call(this);var a=Je(window);this.w=a.width;this.u=a.height;null!=this.g&&this.g.resize(this.w,this.u)};h.getCurrentTime=function(){return null!=this.g?this.g.getCurrentTime():-1};
h.getDuration=function(){return null!=this.g?this.g.getDuration():-1};h.getRemainingTime=function(){return null!=this.g?this.g.getRemainingTime():-1};h.getCurrentAd=function(){return null!=this.g?this.g.getCurrentAd():null};h.og=function(){};h.Sd=function(){null!=this.g?(this.stop(),(0==this.i.size||this.J)&&HS(this)):this.F=!0};h.updateAdsRenderingSettings=function(a){Z.prototype.updateAdsRenderingSettings.call(this,a);null!=this.i&&this.i.forEach(function(b){b.updateAdsRenderingSettings(a)})};
var IS=function(a,b){a.F=!1;ES(a,b);0==b.vc?a.T():(-1==b.vc?(0==a.i.size||a.J)&&HS(a):(b=a.h,b.g.start(),b.h=!0),a.l=null)},BS=function(a){if(null!=a.h){FS(a);var b=a.ma();Lu(b,a.h,["requestAds","playAds","contentTrackingError","discardAdBreak"],a.handleEvent,a);Lu(b,a.h,"adBreakReady",a.tb,a);Lu(b,a.M,"contentComplete",a.Wa,a);a.M.g=!1}};
yS.prototype.handleEvent=function(a){switch(a.type){case "contentTrackingError":break;case "discardAdBreak":a=a.h;null!=a&&IS(this,this.i.get(a));break;default:vS(this.K,a),JS(this)}};
var FS=function(a){null!=a.V&&(a.V.$(),a.V=null);a.J=!1;null!=a.h&&sP(a.h)},JS=function(a){if(null==a.l){var b=wS(a.K);if(null!=b){a.l=b;var c=a.l.h;c=null!=c?a.i.get(c):null;null==c?(a.l=null,JS(a)):(b=b.type,"requestAds"!=b&&"playAds"!=b?(a.l=null,JS(a)):"requestAds"==b?a.F?(a.K.isEmpty()||"playAds"!=xS(a.K).type||wS(a.K),IS(a,c)):0==c.vc&&CS(a)&&X.h?null!=a.N&&0==a.N.vc&&(a.l=null):DS(a,c):"playAds"==b&&(a.F?IS(a,c):(null!=a.g&&a.g.kd()&&ES(a,a.g),a.g=c,a.g.setVolume(a.volume),a.g.resize(a.w,a.u),
a.g.start())))}}},DS=function(a,b){var c=a.ma();Lu(c,b,uG,a.dispatchEvent,a);Lu(c,b,"adError",a.X,a);Lu(c,b,"allAdsCompleted",a.ea,a);Lu(c,b,"contentPauseRequested",a.aa,a);Lu(c,b,"contentResumeRequested",a.T,a);Lu(c,b,"adBreakInitialized",a.ia,a);b.init(a.w,a.u)},ES=function(a,b){b.destroy();a.i.delete(Wa(b));a.g=null;a.N=null;null!=a.V&&(a.V.wa(b,uG,a.dispatchEvent,!1,a),a.V.wa(b,"adError",a.X,!1,a),a.V.wa(b,"allAdsCompleted",a.ea,!1,a),a.V.wa(b,"contentPauseRequested",a.aa,!1,a),a.V.wa(b,"contentResumeRequested",
a.T,!1,a),a.V.wa(b,"adBreakInitialized",a.ia,!1,a))};yS.prototype.Wa=function(a){this.J=!0;-1==this.o?a.h=!1:HS(this);uP(this.h)};yS.prototype.tb=function(a){var b=a.l,c=0==b,d=-1==b;this.F?(c?this.L("contentResumeRequested"):d&&0==this.i.size&&HS(this),this.F=!1):(d?sg(function(){var e=a.h;this.va||null==e||((e=this.i.get(e))&&ES(this,e),HS(this))},500,this):c&&sg(function(){this.Ea||this.L("contentResumeRequested")},100,this),this.dispatchEvent(new lK("adBreakReady",null,{adBreakTime:b})))};
yS.prototype.X=function(a){a=a.getError();bK(a)&&this.dispatchEvent(new sS(a))};yS.prototype.ea=function(a){ES(this,a.target);(0==this.i.size||this.J)&&HS(this);this.l=null;JS(this)};var HS=function(a){a.W||(a.W=!0,a.M.g=!0,a.L("allAdsCompleted"),-1==a.o&&GS(a))},GS=function(a){MF();null!=a.ya&&(a=a.ya.w(),null!=a&&ZG(a))};yS.prototype.aa=function(){var a=this.h;a.g.stop();a.h=!1;this.L("contentPauseRequested")};
yS.prototype.T=function(){this.L("contentResumeRequested");if(!this.W){var a=this.h;a.g.start();a.h=!0}this.l=null};yS.prototype.ia=function(a){this.l=null;this.N=a=a.target;var b={};b.adBreakTime=a.vc;this.dispatchEvent(new lK("prefetched",a.getCurrentAd(),b));JS(this)};yS.prototype.L=function(a,b){var c=null;null!=this.g&&(c=this.g.getCurrentAd());this.dispatchEvent(new lK(a,c,b))};var CS=function(a){return null===a.da()?!1:a.fa.enablePreloading&&UF()};
yS.prototype.clicked=function(){null!=this.g&&this.g.clicked()};var lP=function(){},mP=function(a,b,c,d){if(0==b.length)throw Error("Ads manager creation failure, no ads.");if(KS(b)){var e=LS(b,c,d);if(0<e.length)return MS("mixed"),new FO(e)}c=DO(b,c);c&&null!=KI(b[0])&&(MS("fallback"),c=new AO(a,c,b[0]));if(c)return c.Va(d),c;throw Error("Manager creation failure, failed to determine ad type.");},LS=function(a,b,c){var d=[];a.forEach(function(e){var f=DO([e],b);f&&e.isLinear()&&(f.Va(c),d.push(f))});return d},DO=function(a,b){var c=a[0];switch(NS(c)){case "overlay":if(LI(c))return MS("adsense"),
new lS(a);MS("nonlinear");return new PO(a);case "video":return wr(Q.D(),"qqid",FI(c)),wr(Q.D(),"gqid",BI(c)),wr(Q.D(),"fb","ima-html5"),wr(Q.D(),"sdkv",gF()),wr(Q.D(),"ppt",X.l),wr(Q.D(),"ppv",X.o),wr(Q.D(),"mrd",X.u),wr(Q.D(),"aab",X.h?1:0),wr(Q.D(),"itv",document.hidden?0:1),c=Q.D().g,c.J=!0,nr(c),MS("vast"),new VM(a,b);case "vpaid":return MS("vpaid"),new pO(a,b)}return null},KS=function(a){if(1==a.length)return!1;var b=NS(a[0]);return a.some(function(c){c=NS(c);return b!=c||"vpaid"==c?!0:!1})},
NS=function(a){var b=mI(a)&&wE();return b&&1==a.w.length||b?"vpaid":LI(a)&&!mI(a)&&OI(a,"nonlinear")?"overlay":OI(a,"linear")?"video":OI(a,"nonlinear")&&!mI(a)?"overlay":null},MS=function(a){GG.D().report(100,{type:a})};var OS=function(a,b,c,d,e){this.l=a;this.i=c;this.h=b;if(this.g=d)this.g.o=this.i;this.o=e},PS=function(a){if(-1!=a.i.indexOf("&debug_ima=oldman"))return!1;var b=-1!=a.i.indexOf("&debug_ima=newman");a=a.h instanceof NP?!1:(a=a.h)&&1==a.length&&YI(a[0]);return a||b||!0};var QS=function(a,b,c,d){gf.call(this);var e=this;this.C=a;this.g=null;this.K=b;this.l=c;this.u=d;this.H=new JK(this.u);this.H.start();this.h=new T(this);this.aa=new IK(this.K.ib(),this.u);this.i=null;this.J=-1;this.w=[];this.F={};this.h.G(this.u,"adsManager",this.X);this.o=null;X.T&&(this.o=yf(window,"beforeunload",function(){e.g&&e.g.zb()}))};w(QS,gf);QS.prototype.R=function(){var a=this;this.g&&this.g.destroy();this.o&&(Gf(this.o),this.o=null);jf(this.i);jf(this.aa);sg(function(){jf(a.h)},0);gf.prototype.R.call(this)};
QS.prototype.sa=function(a){RS(this,a.type,{vpaidEventType:a.l,session:a.h})};QS.prototype.X=function(a){try{SS(this,a.fc,a.dc)}catch(b){TS(this,b)}};
var TS=function(a,b){b instanceof kH?US(a,b):US(a,Y(KJ,b));a.$()},SS=function(a,b,c){if("start"!=b||a.g)if(a.g||"init"==b)var d=!1;else a.w.push({type:b,data:c}),d=!0;else US(a,Y(wJ,null,"Should call init before calling start.")),d=!0;if(!d)switch(b){case "init":if(a.g)break;nK(a.l,c.adsRenderingSettings);try{var e=a.C,f=a.l,g=a.H;if(PS(e)){f.enablePreloading&&UF()?DP(e.g.i,2):DP(e.g.i,1);if(e.h instanceof NP){var k=e.h,l=e.l,m=e.g,n=new PR;GG.D().report(100,{type:"vmap"});var q=new eS(n,k,l,g,f,
m)}else{var v=e.h,t=e.g,A=new PR;OR(v);q=A.create(v,t,f)}var r=q}else{var L=new lP;if(e.h instanceof NP){var J=e.h,I=e.l;MS("adslist");var Cb=new yS(J,I);Cb.Va(e.g.ya);Cb.updateAdsRenderingSettings(f);r=Cb}else{var Ad=mP(L,e.h,e.g.g,e.g.ya);Ad.updateAdsRenderingSettings(f);r=Ad}}var rg=r;e.o(rg);a.h.G(rg,tG,a.W);a.h.G(rg,"adError",a.T);a.h.G(rg,"vpaidEvent",a.sa);a.g=rg}catch(FU){TS(a,FU);break}for(PS(a.C)||a.g.ub(a.K,a.H);0!=a.w.length;)b=a.w.shift(),SS(a,b.type,b.data);null==a.i&&(a.i=new qg(200));
a.h.G(a.i,"tick",a.M);a.i.start();a.g.init();il()||a.h.G(Le(),"resize",a.N);break;case "skip":a.g.skip();break;case "start":a.g.start();break;case "stop":a.g.stop();break;case "pause":a.g.pause();break;case "resume":a.g.resume();break;case "destroy":a.$();break;case "expand":a.g.expand();break;case "collapse":a.g.collapse();break;case "sendAbandonUrls":a.g.zb();break;case "volume":a.g.setVolume(c.volume);break;case "resize":a.g.resize(c.width,c.height);break;case "discardAdBreak":a.g.Sd();break;case "updateAdsRenderingSettings":if(null==
c)break;nK(a.l,c.adsRenderingSettings);a.g.updateAdsRenderingSettings(a.l);break;case "click":a.g.clicked()}};
QS.prototype.W=function(a){var b=VS(this,a.type,a.getAd()),c={};switch(a.type){case "adBreakReady":case "adBreakFetchError":case "trackingUrlPinged":case "mediaUrlPinged":null!=a.Da&&(c=a.Da);RS(this,a.type,c);break;case "adProgress":c=a.Da;c instanceof tM&&RS(this,a.type,c.oa());break;case "interaction":RS(this,a.type,{adData:b,interactionData:a.Da});break;case "adMetadata":b=(a.Da||{}).cuepoints;if(!b)break;c=rP(b);RS(this,a.type,{adCuePoints:b,internalCuePoints:c});break;case "complete":RS(this,
"remainingTime",{currentTime:-1,duration:-1,remainingTime:-1});RS(this,a.type,{adData:b});break;case "allAdsCompleted":WS(this);RS(this,a.type,{adData:b});break;case "loaded":if(!a.getAd()){US(this,Y(KJ));break}this.g.Gb();null!=a.getAd().getContentType()&&(c=a.getAd().getContentType(),b.contentType=c);c={adData:b};a=a.getAd();null!=hJ(a)&&X.w&&(b.gfpCookie=hJ(a).oa());RS(this,"loaded",c);break;case "videoIconClicked":c=a.Da;RS(this,"videoIconClicked",c);break;case "click":RS(this,"click",{adData:b});
break;case "log":a.Da instanceof kH&&(c=a.Da.oa(),RS(this,a.type,{adData:b,logData:c}));break;case "companionBackfill":RS(this,"companionBackfill");break;case "volumeChange":RS(this,a.type,{adData:a.Da});break;case "navigationRequested":c=a.Da;GF?RS(this,"navigationRequested",c):this.l.disableClickThrough||(b=c.url,a=Ec("_blank"),z(C(b))||(b=b instanceof Qc||!Ji.test(b)?b:new Qc(Oc,b),c=window,b=b instanceof Qc?b:Uc(b),c=c||x,a=a instanceof Cc?Dc(a):a||"",c.open(Rc(b),a,"",void 0)));break;default:RS(this,
a.type,{adData:b})}};QS.prototype.T=function(a){var b=this;WS(this);this.h.wa(Le(),"resize",this.N);US(this,a.getError());sg(function(){return b.$()})};var WS=function(a){a.h.wa(a.i,"tick",a.M);jf(a.i);a.i=null;RS(a,"remainingTime",{currentTime:-1,duration:-1,remainingTime:-1})};QS.prototype.M=function(){var a=this.g.getRemainingTime();this.J!=a&&(this.J=a,a={currentTime:this.g.getCurrentTime(),duration:this.g.getDuration(),remainingTime:a},RS(this,"remainingTime",a))};
QS.prototype.N=function(){try{this.g.La()}catch(a){TS(this,a)}};var VS=function(a,b,c){if(null==c||null==c.g)return{};var d=c.oa();"start"!=b||null!=a.F[vI(c)]||(a.F[vI(c)]=d.companions=(nI(c)||[]).map(function(e){return e.oa()}));return d},RS=function(a,b,c){c=void 0===c?{}:c;a.u.send("adsManager",b,c)},US=function(a,b){b=b.oa();RS(a,"error",b)};var XS=function(a,b){G.call(this,"adsLoaded");this.h=a;this.l=b};w(XS,G);function YS(a){var b=[];a.forEach(function(c){0<c.length&&b.push(c.map(function(d){return d.width+"x"+d.height}).join("|"))});return b.join(",")}function ZS(){var a=new Map;z(X.ca)||a.set("adsid",X.ca);z(X.na)||a.set("pucrd",X.na);z(X.K)||a.set("jar",X.K);kl()&&a.set("wta","0");return new Map([].concat(u(a),u(aF())))}
function $S(){var a=new Map;if(!X.w)return a.set("co","1"),a;Tg.set("GoogleAdServingTest","Good");var b="Good"==Tg.get("GoogleAdServingTest");b&&Rg(Tg,"GoogleAdServingTest");if(!b)return a;mJ&&!/[;\r\n]/.test(mJ)?a.set("cookie",mJ):(a.set("cookie_enabled","1"),2==NF&&a.set("cdm",OF));return a}function aT(){var a=1;if(kl())return a;TF(JF)&&(a+=4);var b=0;!kl()&&(b+=64);b+=1024;X.T&&(b+=8);return a+b}
function bT(a){var b=new Map;b.set("sdkv",gF());b.set("sdki",aT().toString(16));null!=LF&&b.set("adk",LF);var c=rM().i()?(7).toString():null;null!=c&&b.set("sdk_apis",c);c=sM();null!=c&&b.set("omid_p",c);mF&&b.set("media_url",mF);new O(a.g);c="null";null!=fF?c=fF:tu(AF)?c=AF:tu(EF)&&(c=EF);b.set("url",c);if(IF){c=Cq(c);var d=Cq(IF);c.h!=d.h&&b.set("top",IF)}c=HE(BE());z(C(c))||b.set("eid",c);c=new Map;sF&&c.set("idtype",sF);null!=uF&&c.set("is_lat",uF?"1":"0");oF&&(br(Wr)&&0!=uF||c.set("rdid",oF));
d=new Map;var e=NF,f=WF();null!=f&&d.set("vis",f?"1":"2");-1!=e&&d.set("frm",e.toString());VF()&&(e=jH().toString(),d.set("osd",e));e=QF;null!=e&&d.set("ms",e);d.set("sdr","1");d.set("is_amp",tF?"1":"0");(e=Au())&&d.set("hl",e);e=new Map;f=eF;null!=f&&e.set("js","ima-"+f);f=fF;null!=f&&(e.set("an",f),br(Yr)||"android"!=xF||e.set("msid",f));f=yF;null!=f&&e.set("mv",f+"."+(zF||""));f=a.C;a=a.w;e.set("u_so",null==f||null==a?"l":a>f?"p":"l");a=new Map;z(X.l)||(a.set("mpt",X.l),z(X.o)||a.set("mpv",X.o));
f=ZS();var g=new Map,k=qF,l=DF;l&&k&&0<k&&l>k&&(g.set("dlt",k.toString()),g.set("idt",(l-k).toString()));g.set("dt",dj().toString());return new Map([].concat(u(c),u(d),u(e),u(a),u(f),u(b),u(g)))}
function cT(a,b){var c=new Map,d=hC(a);TF(JF)||(d=gC(d));d.some(function(e){return fC(e)})&&(c.set("ea","0"),null!=b.l&&null!=b.i&&(b=eC(b),c.set("image_size",b),z(b)&&(d=d.filter(function(e){return!fC(e)}))));c.set("ad_type",d.join("_"));b=d.some(function(e){return"text"===e});c.set("num_ads",b?"3":"1");a=iC(a,"t_pyv");z(a)&&(a=b?"allow":"exclude");c.set("t_pyv",a);d.some(function(e){return"bumpervideo"===e||"skippablevideo"===e||"standardvideo"===e||"video"===e})&&(d=Cg&&0<=Rb(wu,6)||yg&&0<=Rb(wu,
4)||he&&zu(yu,2.3)?43:18,c.set("video_format",d.toString()));return c};function dT(a){var b=new Map,c=HE(BE()),d=gF()||"",e=eF||"";e=e?"ima-"+e:"";if(null!=a.h)for(var f in a.h){var g=a.h[f];null!=g&&b.set(f,g)}"uuid"==sF?b.set("idtype","afai"):b.set("idtype",sF);null!=uF&&b.set("is_lat",uF?"1":"0");br(Wr)&&0!=uF||b.set("rdid",oF);b.set("wta","0");b.set("api-key",a.l);b.set("auth-token",a.o);b.set("dai-sam-id",a.u);b.set("mv",null==yF?"":yF+"."+zF);b.set("ms",QF||"");b.set("js",e);b.set("correlator",CF);b.set("mpt",b.get("mpt")||X.l||"");b.set("mpv",b.get("mpv")||X.o||
"");a=C(X.X);z(a)||b.set("ppid",a);b.set("osd",jH());b.set("sdr","1");b.set("sdki",(1).toString(16));b.set("sdkv",d);b.set("url",eT());null!=fF&&(b.set("an",fF),br(Yr)||"android"!=xF||b.set("msid",fF));z(C(c))||b.set("eid",c);b.set("frm",NF);null!=rF&&b.set("submodel",rF);c=sM();null!=c&&b.set("omid_p",c);c=rM().i()?(7).toString():null;null!=c&&b.set("sdk_apis",c);c=ZS();return new Map([].concat(u(b),u(c)))}
function eT(){var a=C(fF),b=RG(),c=window.document.referrer;if(z(a)){if(tu(b))return b;if(tu(c))return c}else return a;return""}function fT(a){a=dT(a);var b=new O;a.forEach(function(c,d){z(c)||Bq(b,d,c)});return b.J()};var gT=function(a,b){H.call(this);this.g=b;this.i=a};w(gT,H);h=gT.prototype;h.getVolume=function(){return this.g.getVolume()};h.Bd=function(){return this.g.Bd()};h.Xe=function(){return this.g.Xe()};h.Mc=function(){return this.g.Mc()};h.isMuted=function(){return this.g.isMuted()};h.getCurrentTime=function(){return this.i.getCurrentTime()};h.ih=function(){return this.i.getDuration()||-1};h.getDuration=function(){return this.i.getDuration()||-1};h.getVideoUrl=function(){return this.g.getVideoUrl()};
h.zh=function(a){return this.g.zh(a)};h.od=function(){this.Nc();this.h=new T(this);this.h.G(this.i,"adProgress",this.wl);this.h.G(this.i,"complete",this.vl)};h.Nc=function(){null!=this.h&&(this.h.$(),this.h=null)};h.load=function(a,b){this.g.load(a,void 0===b?null:b)};h.Ld=function(){this.g.Ld()};h.hh=function(){return this.g.hh()};h.setVolume=function(a){this.g.setVolume(a)};h.nd=function(){return this.g.nd()};h.pause=function(){this.g.pause()};h.wl=function(){this.dispatchEvent("timeUpdate")};
h.vl=function(){this.dispatchEvent("end");this.Nc()};var hT=function(a,b,c){this.g=a;this.ba=b;this.h=c};hT.prototype.getVolume=function(){return this.h.getVolume()};hT.prototype.isMuted=function(){return 0==this.h.getVolume()};function iT(a,b){var c=new hT(a,b,b.Kb());a=(a.g.N.find(YQ)||null).url;var d=b.Na();b=new CC(a);c=new GC(b,c,a,d);F(c,b);return c}var jT=function(a,b,c,d,e,f){f=void 0===f?new gz:f;H.call(this);this.g=a;this.i=b;this.ba=d;this.l=e;this.h=f;b=this.g;a=this.h;c.useVideoAdUi?(d=!z(C(IC(b)))&&!vF,d=aJ(b)&&(le||je||Cu())?EM(b,null,c):DM(b,null,c,d,!1),e=document.body,c=cJ(b,c.disableUi),c=new GM(d,a,e,c,!1)):c=new QP;this.o=c;new T(this);this.u=new QC(new dK);this.w=rM()};w(jT,H);
jT.prototype.getDuration=function(){return this.i.duration};jT.prototype.start=function(){var a=this;if(aJ(this.g)&&(le||je||Cu())){var b=iT(this.g,this.ba);F(this,b);JC(b);KC(b).then(function(){return void a.ba.Ab()})}kT(this);this.o.lb();this.o.jg();this.ba.qb();this.l.od();lT(this);b=this.g.i;b instanceof vt&&SC(this.u,b,this.l)};
var kT=function(a){a.h.subscribe(zx,function(){return void mT(a,"videoClicked")});a.h.subscribe(lx,function(){mT(a,"click");var b={};b=(b.url=IC(a.g),b);mT(a,"navigationRequested",b)},a);a.h.subscribe(ax,function(){return void mT(a,"videoClicked")},a);a.h.subscribe(vx,function(){return void mT(a,"skipShown")},a);a.h.subscribe(ux,function(){return void mT(a,"skip")},a)},mT=function(a,b,c){a.dispatchEvent(new lK(b,a.g,c))};
jT.prototype.R=function(){this.o.destroy();this.h.clear();RC(this.u);this.u.$();this.l.Nc();this.l.$()};var lT=function(a){var b=a.w.o(a.g,a,new Ws(new Map,new dK,jJ(a.g)));null!=b&&bM(b,a.ba.Kb())};function nT(a){var b=Object.keys(sG).find(function(c){return sG[c].toLowerCase()==a.toLowerCase()});return sG[b]}var oT=function(a,b,c){H.call(this);var d=this;this.aa=new T(this);this.u=new Ws(new Map,new dK);this.l=b;this.i="";this.K=[];this.ia=new Set;this.X=new tS;this.T=!1;this.W=null;this.C=c;this.va=a;this.M=this.w=this.o=0;this.F=!1;this.Nd=function(){return d.yd()};this.ea=1;this.N=new rw};w(oT,H);oT.prototype.getCurrentAd=function(){return this.g};
oT.prototype.getCurrentTime=function(){var a=pT(this);return null!=a?a.currentTime:0};oT.prototype.getDuration=function(){var a=pT(this);return null!=a?a.duration:0};var pT=function(a){if(a.g){var b=a.h,c=a.i,d=a.w;if(null==b||z(c))a=null;else{var e=kw(b,c);a=new dw({adBreakDuration:((b.g.breaks||{})[e]||{}).duration||0,lf:a.M,mf:((b.g.breaks||{})[e]||{}).expected_duration||0,adPosition:jw(b,c),Od:d,currentTime:a.o-d,duration:((b.g.ads||{})[c]||{}).duration||0,totalAds:mw(b,e)})}}else a=null;return a};
oT.prototype.start=function(){if(this.l.isLive()){var a=this.l;var b=a.g.polling_frequency;a=isNaN(b)||null==b||0>b?10:a.g.polling_frequency;null==this.J&&(this.J=new qg(1E3*a));this.aa.G(this.J,"tick",this.Ea);this.Ea();this.J.start();qT(this);rT(this)}else qw(this.l)&&sT(this)};
var sT=function(a){(new aw).get(a.l.g.time_events_url||"",8E3).then(function(b){a.h=new iw(b);b=a.K;a.K=nw(a.h);a:{var c=a.K;if(b.length!=c.length)b=!1;else{for(var d=0;d<b.length;d++){var e=b[d],f=c[d];if(!f||fw(e)!=fw(f)||gw(e)!=gw(f)||e.g!=f.g){b=!1;break a}}b=!0}}b||tT(a);rT(a)}).catch(function(){rT(a)})},qT=function(a){a.aa.G(a.N,"adPeriodStarted",function(b){return a.dispatchEvent(b)});a.aa.G(a.N,"adPeriodEnded",function(b){a.F&&(uT(a),vT(a));a.dispatchEvent(b)})};
oT.prototype.Ea=function(){var a=this;(new aw).get(this.l.g.id3_events_url||"",8E3).then(function(b){a.h=new iw(b);if(!a.T)for(a.T=!0;!a.X.isEmpty();)wT(a,wS(a.X))}).catch(function(){a.T=!0;a.X.clear()})};
var rT=function(a){var b=a.l,c={};c.manifestFormat=b.g.manifest_format||"";c.streamUrl=b.g.stream_manifest||"";c.subtitles=b.g.subtitles||[];c.streamId=b.g.stream_id||"";a.dispatchEvent(new hw("loadStream",c))},AT=function(a,b){null!=a.h&&(a.o=b,tw(a.N,a.o),xT(a),b=String(Math.floor(b)),qw(a.l)&&b!=a.W&&(a.W=b,((a.h.g.times||{})[b]||[]).forEach(function(c){var d=C(c.type);d=nT(d);yT(a,d,c.ad||"")})),null!=a.g&&(b=pT(a),b=null!=b?b.oa():{},a.dispatchEvent(new hw("adProgress",b)),zT(a)))},xT=function(a){if(!qw(a.l)&&
null!=a.g){var b=pT(a),c=b.adBreakDuration-(a.o-a.M);if(-1>=b.duration-(a.o-a.w)||-1>=c)uT(a),vT(a)}},wT=function(a,b){if(a.l.isLive())if(a.T){var c=nT(((a.h.g.tags||{})[b]||{}).type||"");yT(a,c,((a.h.g.tags||{})[b]||{}).ad||"")}else vS(a.X,b)},CT=function(a){var b=a.C.getVolume();if(null!=a.g){var c=0==b,d=0==a.ea;c&&!d?BT(a,"mute"):!c&&d&&BT(a,"unmute")}a.ea=b},yT=function(a,b,c){if(!z(C(c))){var d=a.N,e=a.h;if(null!=e){d.i=d.h;a:{var f=e.g.tags||{};for(var g in f)if("progress"==(f[g].type||"")){f=
!0;break a}f=!1}if(!f)a:{e=e.g.times||{};for(var k in e)for(f=e[k],g=0;g<f.length;g++)if("progress"==(f[g].type||"")){f=!0;break a}f=!1}f&&!d.g&&(d.g=!0,d.dispatchEvent(new hw("adPeriodStarted")))}switch(b){case "start":if(!a.ia.has(c)&&(a.ia.add(c),a.i=c,b=((a.h.g.ads||{})[c]||{}).vast||"",!z(b)))if(c=DT(a,b),null==c)uT(a);else{a.w=a.o;b=a.g;a.g=c;null!=a.g&&(jf(a.u),a.u=new Ws(iJ(a.g),new dK,jJ(a.g)),a.C&&(c=new zM(a.g.i,a.u,a.C,VF(),a.g.l),c.hd(),F(a,c)),c=gF()||"",d=UL(a.g,a.C),S(d,"SDKV",c),
ct(a.u,d));ET(a);c=lw(a.h,a.i,"creative_id");a.g.Cc=c.slice();c=lw(a.h,a.i,"system");a.g.lc=c.slice();c=lw(a.h,a.i,"ad_id");a.g.kc=c.slice();a:{c=p(((a.h.g.ads||{})[a.i]||{}).wrappers||[]);for(d=c.next();!d.done;d=c.next())if(d=d.value,d.deal_id){c=d.deal_id;break a}c=""}a.g.va=c||lI(a.g);VF()&&(c=yK(),b&&c.h.delete(b.l),zK(c,a.g.l,a.Nd));1==jw(a.h,a.i)?FT(a):a.F||(a.M=a.w-ow(a.h,a.i),a.F=!0,a.dispatchEvent(new hw("adBreakStarted")));BT(a,"loaded");BT(a,"impression");BT(a,"creativeView");BT(a,"start");
0==a.ea&&BT(a,"mute")}break;case "firstQuartile":case "midpoint":case "thirdQuartile":d=a.i;z(d)||d!=c?qw(a.l)||a.ia.has(c)||(a.i=c,a.g=new gI("","","UNKNOWN","","","","","",0,[],[],[],[],new Map,new St(new uv)),ET(a),c=a.getDuration(),d=0,"firstQuartile"==b?d=.25*c:"midpoint"==b?d=.5*c:"thirdQuartile"==b&&(d=.75*c),a.w=a.o-d,a.M=a.w-ow(a.h,a.i),a.F||(a.F=!0,a.dispatchEvent(new hw("adBreakStarted"))),BT(a,b)):BT(a,b);break;case "complete":b=a.i,z(b)||b!=c||(BT(a,"complete"),GT(a))}}},GT=function(a){var b=
a.h,c=a.i;if(null==b||z(c))var d=!0;else d=mw(b,kw(b,c)),b=jw(b,c),d="number"!==typeof d||"number"!==typeof b?!0:b>=d;uT(a);d&&vT(a)},vT=function(a){a.dispatchEvent(new hw("adBreakEnded"));a.F=!1},DT=function(a,b){b=Iu(b);if(!b||!b.documentElement||!Eu(b.documentElement))return null;b=new ON(b.documentElement);try{var c=PN(b);if(0==c.length)return null;var d=c[0],e=d.w.find(function(f){return f instanceof cI});if(null==e)return null;rI(d,e);d.X=a.va;return d}catch(f){return null}},ET=function(a){var b=
a.g.getAdPodInfo();if(null!=b){var c=kw(a.h,a.i),d=mw(a.h,c);c=((a.h.g.breaks||{})[c]||{}).duration||0;b.rb=jw(a.h,a.i);b.Bb=d;b.Jb=c;a.K.some(function(e,f){return e.contains(a.w)?(b.cf=f,e=fw(e),b.Kd=e,!0):!1})}},tT=function(a){var b={cuepoints:a.K.map(function(c){return c.oa()})};a.dispatchEvent(new hw("cuepointsChanged",b))},uT=function(a){VF()&&a.g&&yK().h.delete(a.g.l);jf(a.u);a.g=null;a.i=""},zT=function(a){a.u&&a.g&&$s(a.u,a.getCurrentTime(),1E3*a.getDuration())},FT=function(a){a.M=a.o;a.F=
!0;a.dispatchEvent(new hw("adBreakStarted"));qw(a.l)&&null!=a.W&&a.K.forEach(function(b){Math.floor(fw(b))!=a.W||b.g||(b.g=!0,tT(a))})},BT=function(a,b){null!=a.g&&(a.dispatchEvent(new lK(b,a.g)),a.u.report(b))};oT.prototype.yd=function(){var a=this.getCurrentTime(),b=this.getDuration();return{currentTime:a,duration:b,isPlaying:null!=this.C,isVpaid:!1,isYouTube:!1,volume:this.getVolume()}};oT.prototype.getVolume=function(){return null==this.C||this.C.isMuted()?0:this.C.getVolume()};var HT=function(a,b){H.call(this);this.g=null;this.ba=a;this.l=b;this.i=a.Kb();this.w=null;this.u=new mK;this.o=null};w(HT,H);
var JT=function(a,b){IT(a);var c=new Hw,d=dT(b);Iw(c,new Gw);Iw(c,new Cw);Iw(c,new Bw);Iw(c,new Aw);c.fetch(b,d).then(function(e){a.g=new oT(b,e,a.i);jf(a.h);a.i.Nc();a.i.od();a.h=new T(a);if(VF()){var f=yK();a.h.G(f,["externalActivityEvent","measurable_impression","viewable_impression","fully_viewable_audible_half_duration_impression"],a.C)}a.h.G(a.i,"error",a.Ul);a.h.G(a.i,"start",a.gl);a.h.G(a.i,"timedMetadata",a.fl);a.h.G(a.i,"timeUpdate",a.il);a.h.G(a.i,"volumeChange",a.jl);a.h.G(a.g,"adBreakStarted adBreakEnded adPeriodStarted adPeriodEnded adProgress cuepointsChanged loadStream".split(" "),
a.Tl);a.h.G(a.g,"loaded impression start firstQuartile midpoint thirdQuartile complete skipShown skip".split(" "),a.dl);a.h.G(a.l,"adsManager",a.Ol);f={};f.streamId=e.g.stream_id||"";a.l.send("adsLoader","streamInitialized",f);a.g.start()}).catch(function(e){if(e instanceof iu){var f={type:"streamError"};f.errorMessage=e.message;f.errorCode=e.Hk;a.l.send("adsLoader","error",f)}})},IT=function(a){jf(a.h);a.i.Nc();if(a.g){var b=a.g;Nu(b.aa);null!=b.J&&b.J.stop();jf(b.J);uT(b);b.N.reset();b.h=null;b.J=
null;b.ia=new Set;b.W=null;b.T=!1;b.o=0;b.w=0;b.M=0;b.ea=1;a.g=null}a.w=null;KT(a)},KT=function(a){a.ba.Ub();a.o&&(a.h.wa(a.o,Object.values(sG)),a.o.$());a.o=null};h=HT.prototype;
h.Ol=function(a){var b=a.dc;if(b)switch(a.fc){case "init":a=b.adsRenderingSettings||{};this.u.uiElements=a.uiElements||this.u.uiElements;"boolean"===typeof a.disableUi&&(this.u.disableUi=a.disableUi);"boolean"===typeof a.useVideoAdUi&&(this.u.useVideoAdUi=a.useVideoAdUi);break;case "replaceAdTagParameters":if((b=b.adTagParameters)&&this.g){var c=this.g;a=c.l.g.session_update_url||"";c.l.isLive()&&a&&(c.va.h=b,b=fT(c.va),c=new Tu,c.o=!0,c.send(a,"POST",b))}}};
h.Tl=function(a){switch(a.type){case "adBreakStarted":this.l.send("adsManager",a.type);break;case "adBreakEnded":KT(this);this.l.send("adsManager",a.type);break;case "adPeriodStarted":this.l.send("adsManager",a.type,a.data);break;case "adPeriodEnded":this.l.send("adsManager",a.type);break;case "adProgress":this.l.send("adsManager",a.type,a.data);break;case "cuepointsChanged":this.l.send("adsManager",a.type,a.data);break;case "loadStream":var b=this.i;b.h.send(b.g,"loadStream",a.data)}};
h.Ul=function(){IT(this);var a=this.i.getError(),b={};a instanceof kH?b=a.oa():(b.type="adPlayError",b.errorMessage=a.message,b.errorCode=400);this.l.send("adsManager","error",b)};h.gl=function(){this.g&&CT(this.g)};h.il=function(){this.w=this.i.getCurrentTime();this.g&&AT(this.g,this.w);if(this.o){var a=this.o,b=this.w,c=a.i.Od;c<=b&&W(a.h,Ex,new Dx(b-c,a.i.duration,0,a.i.adPosition,a.i.totalAds))}};h.fl=function(){this.g&&wT(this.g,C(this.i.aa))};h.jl=function(){this.g&&CT(this.g)};
h.dl=function(a){var b=a.type,c={};if("loaded"==b){if(a.getAd(),this.g){var d=this.g;var e=this.ba;var f=this.u,g=pT(d),k=d.getCurrentAd();k&&g?(d=new gT(d,e.Kb()),e=new jT(k,g,f,e,d)):e=null;this.o=e;this.h.G(this.o,Object.values(sG),this.Nl);VF()&&FK(yK(),this.l);this.o.start()}}else"skip"==b?(e=this.o.i.Od+this.o.getDuration(),c.seekTime=e):"skipShown"==b&&(b="skippableStateChanged");this.dispatchEvent(a);LT(this,b,a.getAd(),c);"complete"!=a.type&&"skip"!=a.type||KT(this)};
h.Nl=function(a){if("skipShown"==a.type||"skip"==a.type){var b=this.g;a=a.type;null!=b.i&&(BT(b,a),"skip"==a&&GT(b))}else LT(this,a.type,a.getAd(),a.Da||{})};var LT=function(a,b,c,d){d=void 0===d?{}:d;var e=c?c.oa():{};"start"==b&&(e.companions=(c?nI(c):[]).map(function(f){return f.oa()}));d.adData=e;a.l.send("adsManager",b,d)};HT.prototype.C=function(a){var b=a.Da;null!=b&&this.g&&(a=this.g,b=b.eventName,b=xG[b],a.dispatchEvent(new lK(b,a.g)),a.u.report(b))};var RT=function(a,b){b=void 0===b?new T:b;H.call(this);var c=this;this.g=a;this.i=b;F(this,this.i);this.u=new CP(this.g.g);this.o=new zP;this.h=null;FK(yK(),this.g.g);this.i.G(this.g.g,"adsLoader",function(d){var e=new rJ;e.g=d.kl;switch(d.fc){case "requestAds":MT(c.g,e.g);NT(c,d.dc,e);break;case "requestStream":MT(c.g,e.g);var f=d.dc;OT(f.settings);PT(f.videoEnvironment);d=new uw;d.g=f.assetKey||"";d.o=f.authToken||"";d.i=f.contentSourceId||"";d.videoId=f.videoId||"";d.l=f.apiKey||"";d.h=f.adTagParameters||
{};d.u=f.streamActivityMonitorId||"";d.format="hls";d.w=f.useQAStreamBaseUrl||!1;"dash"==f.format&&(d.format=f.format);var g=qE(X);rE(g,"useTestStreamManager")&&(d.H=!0);RF(f,!0);QT(!0);UE=new SE(!0,d.h||{},f.consentSettings||{});yK().C&&Zn();VF()&&Vj(ir());f=MT(c.g,e.g);g=c.g.da();e.o=g;c.l=new HT(g,f);JT(c.l,d);break;case "contentComplete":null!=c.l?IT(c.l):c.h&&(e=c.h,d=new KK("contentComplete",new rJ),e.dispatchEvent(d),d.h&&(MF(),e=e.h.w(),null!=e&&ZG(e)))}})};w(RT,H);
RT.prototype.R=function(){jf(this.h);H.prototype.R.call(this)};
var TT=function(a,b){a.i.G(b,"adsLoaded",function(c){return ST(a,c,b)});a.i.G(b,"adError",function(c){var d=c.Vi.g,e=c.getError();c=e.getInnerError();e={type:e.i,errorMessage:e.getMessage(),errorCode:e.g};null!=c&&(e.innerError=c.message);MT(a.g,d).send("adsLoader","error",e)})},ST=function(a,b,c){var d=b.h,e=b.l;b=e.l||"";e=MT(a.g,e.g);var f=a.g.da();c=new OS(c,d,b,new GP(f,a.u,c.h,a.o),function(g){var k=a.g;k.h&&(k=k.h,Lu(k.i,g,ac(BG),k.K,k),Lu(k.i,g,"adError",k.w,k))});new QS(c,f,UT(),e);AP(a.o,
e);d=VT(b,d);PS(c)&&(d.newManager=!0);e.send("adsLoader","adsLoaded",d)},VT=function(a,b){if(b instanceof NP){var c=PP(b);b=Bu()}else c=[],b=MI(b[0])&&Bu();var d=rP(c);c={adCuePoints:c,internalCuePoints:d};qE(X);c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},OT=function(a){if(null!=a){var b=X;null!=a&&(null!=a.activityMonitorMode&&(b.M=a.activityMonitorMode),null!=a.autoPlayAdBreaks&&(b.h=a.autoPlayAdBreaks),null!=a.companionBackfill&&(b.g=a.companionBackfill),null!=a.disableCustomPlaybackForIOS10Plus&&
(b.sa=a.disableCustomPlaybackForIOS10Plus),null!=a.engagementDetection&&(b.J=a.engagementDetection),null!=a.isFunctionalTest&&(b.i=a.isFunctionalTest),null!=a.isVpaidAdapter&&(b.C=a.isVpaidAdapter),null!=a.numRedirects&&(b.u=a.numRedirects),null!=a.playerType&&(b.l=vE(a.playerType)),null!=a.playerVersion&&(b.o=vE(a.playerVersion)),null!=a.ppid&&(b.X=a.ppid),null!=a.reportMediaRequests&&(b.F=a.reportMediaRequests),null!=a.supportsMultipleVideoDisplayChannels&&(b.ea=a.supportsMultipleVideoDisplayChannels),
null!=a.testingConfig&&(b.N=new pE(a.testingConfig)),null!=a.unloadAbandonPingEnabled&&(b.T=a.unloadAbandonPingEnabled),null!=a.urlSignals&&(b.W=a.urlSignals),null!=a.vpaidMode&&(b.H=a.vpaidMode),b.ca=a.adsToken||"",b.w=a.cookiesEnabled,b.K=a["1pJar"]||"",b.na=a.privacyControls||"");null!=a.persistentStateCorrelator&&(b=Q.D(),wr(b,"c",a.persistentStateCorrelator),xr(Q.D()));null!=a.activeViewPushUpdates&&(yK().C=a.activeViewPushUpdates);GG.D().report(41,{mode:X.H});null!=a.backgroundPlayback&&GG.D().report(32);
null!=a.pipState&&GG.D().report(42,{state:a.pipState})}},PT=function(a){null!=a&&null!=a.osdId&&(yK().N=a.osdId)},NT=function(a,b,c){var d=b.adTagUrl;OT(b.settings);PT(b.videoEnvironment);RF(b);QT(!1);nJ(b.cookieSettings);var e=b.experimentState;if(null!=e&&(FE(e),GE()))try{console&&console.log&&console.log("IMA inner:newman")}catch(m){}yE(BE());e=(b.imalibExperiments||{}).limaExperimentIds||null;var f=HE(BE());if(null!=e||""!=f)er.reset(),gr(new jr(Jr(e+","+f)));sE()&&er.reset();VF()&&Vj(ir());yK().C&&
Zn();UE=TE(d,b.consentSettings||{});null!=d&&(c.l=d);var g=WT(b);jF(g);MT(a.g,c.g);c.o=a.g.da();var k=XT(a),l=b.liveStreamPrefetchSeconds||0;0<l?sg(function(){ZT(a,g,k,l);$T(k,g,c)},Math.floor(1E3*Math.random()*l),a):(ZT(a,g,k),$T(k,g,c))},XT=function(a){if(a.h)return a.h;a.h=new aU(a.g.C);TT(a,a.h);return a.h},WT=function(a){var b=new ns;b.g=a.adTagUrl;b.h=a.adsResponse;b.C=a.linearAdSlotWidth||0;b.w=a.linearAdSlotHeight||0;b.l=a.nonLinearAdSlotWidth||0;b.i=a.nonLinearAdSlotHeight||0;b.u=a.forceNonLinearFullSlot||
!1;b.ca=a.contentDuration||null;b.o=a.contentKeywords||null;b.K=a.contentTitle||null;null!=a.vastLoadTimeout&&0<a.vastLoadTimeout&&(b.M=a.vastLoadTimeout);b.F=a.videoContinuousPlay||"0";b.H=a.videoPlayActivation||"unknown";b.J=a.videoPlayMuted||"unknown";return b},ZT=function(a,b,c,d){d=void 0===d?0:d;a=a.g;var e=C(AF);if(Yg(e,"google_console")||Yg(e,"google_force_console")||Yg(e,"googfc"))a.h||(a.h=new bU(a.o),e=a.h,Lu(e.i,c,"adError",e.w,e)),c=a.h,c.J||(cU(c,"version",{type:"HTML5",version:"3.386.2"}),
c.J=!0),cU(a.h,"ad_request",{adTagUrl:b.g,adType:"Deprecated"});c=fF;a=eF;e={};z(C(c))||(e.app_name=c);z(C(a))||(e.external_version=a);e.delay=d;e.vpaidadapter=X.C;e.request_type=LE(b.g);GG.D().report(6,e)},QT=function(a){a={idai:a,natv:vF,watv:jl(),waptv:il(),wstv:hl(),wstua:kl()};GG.D().report(134,a)};Ia("ima.Bridge",RT,window);var dU=function(){nv.apply(this,arguments)};w(dU,nv);dU.prototype.Wb=function(a){return As(a)};
dU.prototype.g=function(a){if(!a.g)return null;var b=new O(a.g),c=new Map;c.set("sdkv","h.0.0.0");var d=new O(a.g);c.set("video_product_type",jC(d));c.set("client",iC(d,"client"));c.set("min_ad_duration",Number(iC(d,"min_ad_duration",(0).toString())).toString());var e=Number(iC(d,"max_ad_duration",(1E5).toString()));0<e&&c.set("max_ad_duration",Math.round(1.1*e).toString());e=Number(iC(d,"sdmax",(0).toString()));0<e&&c.set("sdmax",Math.round(1.1*e).toString());c.set("sz",kC(a));c.set("channel",lC(d));
c.set("h_ch",iC(d,"h_ch").split(/[+, ]/).join("+"));c.set("adsafe",mC(d));c.set("videoad_start_delay",nC(d));c.set("hl",Au());c.set("vid_kw",a.o?a.o.join(","):"");c.set("vid_d",a.ca||"");c.set("vid_t",a.K||"");c.set("ca_type","image");c.set("unviewed_position_start","1");c.set("output","xml_vast4");ov(c);a=new Map([].concat(u(eU()),u(Fs(a)),u(c)));pv(this,a);ws(b,a);fU(b);ys(b);return b.toString()};
var eU=function(){var a={};a.u_tz=-(new Date).getTimezoneOffset();var b=void 0===b?M:b;try{var c=b.history.length}catch(e){c=0}a.u_his=c;a.u_java=!!M.navigator&&"unknown"!==typeof M.navigator.javaEnabled&&!!M.navigator.javaEnabled&&M.navigator.javaEnabled();M.screen&&(a.u_h=M.screen.height,a.u_w=M.screen.width,a.u_ah=M.screen.availHeight,a.u_aw=M.screen.availWidth,a.u_cd=M.screen.colorDepth);M.navigator&&M.navigator.plugins&&(a.u_nplug=M.navigator.plugins.length);M.navigator&&M.navigator.mimeTypes&&
(a.u_nmime=M.navigator.mimeTypes.length);c=new Map;for(var d in a)c.set(d,a[d]);return c},fU=function(a){a.g.forEach(function(b,c){ls.has(c)&&!z(b)||Gq(a.g,c)})};var gU=function(a){a=void 0===a?new Map:a;nv.call(this,a)};w(gU,nv);gU.prototype.Wb=function(a){return Ds(a)};gU.prototype.g=function(a){if(null==a.g)return null;var b=new O(a.g),c=new Map;c.set("sdkv","h.0.0.0");ov(c);a=new Map([].concat(u(Fs(a)),u(c)));pv(this,a);ws(b,a);xs(b,a);ys(b);return b.toString()};var hU=function(a){a=void 0===a?new Map:a;nv.call(this,a)};w(hU,nv);hU.prototype.Wb=function(a){return Bs(a)};
hU.prototype.g=function(a){if(!a.g)return null;var b=new ps(a.g),c=new Map;ov(c);c.set("dc_sdkv","h.0.0.0");c.set("dc_sdki",qv().toString(16));c.set("dc_eid",fr().sort().join(","));c.set("dcmt","text/xml");var d=rs(b,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2"))&&c.set("dc_output","xml_vast3");a=new Map([].concat(u(Fs(a)),u(c)));pv(this,a);c=p(a);for(d=c.next();!d.done;d=c.next()){var e=p(d.value);d=e.next().value;e.next();e=iU(d);d=a.get(d);z(e)||z(d)||ts(b,e,[d])}ys(b);return b.toString()};
var iU=function(a){switch(a){case "sdkv":return"dc_sdkv";case "sdki":return"dc_sdki";case "adk":return"dc_adk";case "sdk_apis":return"dc_sdk_apis";case "omid_p":return"dc_omid_p";case "js":return"dc_js";case "msid":return"dc_msid";case "frm":return"dc_frm";case "osd":return"dc_osd";case "sdr":return"dc_sdr";default:return a}};var jU=function(a){a=void 0===a?new Map:a;nv.call(this,a)};w(jU,nv);jU.prototype.Wb=function(a){return Es(a)};jU.prototype.g=function(a){if(!a.g)return null;var b=new O(a.g),c=new Map;ov(c);c.set("sdkv","h.0.0.0");c.set("sdki",qv().toString(16));c.set("output","xml_vast4");a=new Map([].concat(u(Fs(a)),u(c)));pv(this,a);ws(b,a);ys(b);return b.toString()};var kU=function(a){a=void 0===a?new Map:a;nv.call(this,a)};w(kU,nv);kU.prototype.Wb=function(a){return Cs(a)};
kU.prototype.g=function(a){if(!a.g)return null;var b=new O(a.g),c=new Map;c.set("sdkv","h.0.0.0");ov(c);c.set("hl",Au());c.set("afvsz",eC(a));c.set("unviewed_position_start","1");var d=(new O(a.g)).g,e=String(d.get("output")||"");d=String(d.get("ad_rule")||"");d=is(d)&&e.includes("vast");e.includes("vmap")||d?(c.set("output","xml_vmap1"),br(Xr)&&c.set("cavr","1")):e.includes("vast")&&c.set("output","xml_vast4");a=new Map([].concat(u(Fs(a)),u(c)));pv(this,a);ws(b,a);xs(b,a);Gq(b.g,"impl");ys(b);return b.toString()};var lU=function(a){a=void 0===a?{}:a;var b=void 0===a.Eb?!1:a.Eb,c=void 0===a.gh?!0:a.gh,d=void 0===a.qf?null:a.qf,e=void 0===a.Bg?null:a.Bg;this.id=void 0===a.id?null:a.id;this.Eb=b;this.gh=c;this.qf=d;this.Bg=e};var mU=function(a,b){this.g=a;this.url=b};var nU=function(a,b,c){var d=void 0===c?{}:c;c=void 0===d.Ng?null:d.Ng;var e=void 0===d.breakType?null:d.breakType,f=void 0===d.ga?[]:d.ga;d=void 0===d.Aa?[]:d.Aa;this.g=a;this.h=b;this.Ng=c;this.breakType=e;this.ga=f;this.Aa=d};var oU=function(a){this.g=a=void 0===a?[]:a};var pU=function(){};var qU=function(){};var rU=function(){this.g=[]},sU=function(a){var b=new qU;a.g.includes(b)||a.g.push(b)},uU=function(a,b){if(!b)throw Error("VMAP string is empty.");if(!tU(b))throw Error("Response string is not a valid VMAP document.");var c=[];b=p(E(b));for(var d=b.next();!d.done;d=b.next()){var e=d.value;if("vmap:AdBreak"==e.nodeName){var f=void 0,g=void 0;d=a;var k=e.getAttribute("breakId"),l=e.getAttribute("breakType"),m=e.getAttribute("timeOffset"),n=0,q=[];if("start"==m)n=0;else if("end"==m)n=-1;else if(void 0!=
m){var v=Dv(m);void 0!=v&&(n=v/1E3)}e=p(E(e));for(v=e.next();!v.done;v=e.next()){var t=v.value;switch(t.nodeName){case "vmap:AdSource":v=g=void 0;var A=t;t=A.getAttribute("id");var r="false"!=A.getAttribute("followRedirects"),L="true"==A.getAttribute("allowMultipleAds");A=p(E(A));for(var J=A.next();!J.done;J=A.next())switch(J=J.value,J.nodeName){case "vmap:AdTagURI":v=(v=U(J))?v:void 0;break;case "vmap:VASTAdData":J=p(E(J));for(var I=J.next();!I.done;I=J.next())I=I.value,"VAST"==I.nodeName&&(g=I)}if(!v&&
!g)throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");if(v&&g)throw Error("VMAP ad source contains both ad tag and inline VAST data");g=new lU({id:t,Eb:L,gh:r,qf:v,Bg:g});break;case "vmap:Extensions":f=d;v=[];t=p(E(t));for(r=t.next();!r.done;r=t.next())if(r=r.value,"vmap:Extension"==r.nodeName)for(L=p(f.g),A=L.next();!A.done;A=L.next())A="bumper"!=r.getAttribute("type")?null:new pU,null!=A&&v.push(A);f=v;break;case "vmap:TrackingEvents":for(q=[],v=p(E(t)),t=v.next();!t.done;t=
v.next())r=t.value,"vmap:Tracking"==r.nodeName&&(t=r.getAttribute("event"),r=U(r),null!=r&&q.push(new mU(t,r)))}}if(!g||null==m||isNaN(n))throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");c.push(new nU(g,n,{Ng:k,breakType:l,ga:q,Aa:f}))}}return new oU(c)},tU=function(a){if(!a||"vmap:VMAP"==!a.nodeName)return!1;a=a.getAttribute("version");if(!a)return!1;a=parseInt(a,10);return isNaN(a)||1>a||1<a?!1:!0};var vU=function(a,b){this.i=a;this.h=b;GG.D().report(115,{vmap:!1})};w(vU,KE);
vU.prototype.g=function(){for(var a=new NP,b,c=E(this.i),d=0;d<c.length;d++)switch(b=c[d],b.nodeName){case "Preroll":b=wU(this,b);a.add(0,b);break;case "Midroll":var e=b.getAttribute("timeOffset"),f=Dv(e);if(null==f)throw ZJ(vJ,null,"timeOffset",C(e));b=wU(this,b);a.add(f/1E3,b);break;case "Postroll":b=wU(this,b);a.add(-1,b);break;default:throw ZJ(JJ,null,b.parentNode.nodeName,b.nodeName);}if(0==PP(a).length)throw ZJ(IJ);return new JE(null,a)};
var wU=function(a,b){var c=[];b=E(b);for(var d,e=0;e<b.length;e++)switch(d=b[e],d.nodeName){case "Ad":var f=C(U(d));if(!z(f)){d=d.getAttribute("bumper");var g=a.h.clone();g.g=f;f=new pJ(g);f.g=null!=d;c.push(f)}break;default:throw ZJ(JJ,null,d.parentNode.nodeName,d.nodeName);}return c};var xU=function(a,b){this.l=a;this.i=b;this.h=null;GG.D().report(115,{vmap:!0})};w(xU,KE);xU.prototype.g=function(){this.h||(this.h=new JE(null,yU(this)));return this.h};
var yU=function(a){var b=new NP,c=new rU;sU(c);try{var d=uU(c,a.l)}catch(e){throw ZJ(GJ);}d.g.forEach(function(e){var f=e.g;var g=f.qf;f=f.Bg;if(g||f){var k=a.i.clone();k.h="";f&&(k.h=f);k.g=g||"";g=k}else g=null;null!=g&&(g=zU(e,g),b.add(e.h,[g]))});if(0==PP(b).length)throw ZJ(GJ);return b},zU=function(a,b){b=new pJ(b);var c=new oH;a.Aa.find(function(d){return d instanceof pU})&&(b.g=!0);a.ga.forEach(function(d){var e=d.g,f=BN(d.url,e);f&&CN(f)&&null!=e&&rH(c,d.g,f)});b.ga=c;return b};function AU(a,b){if(null!=a){if(a&&"Playlist"==a.nodeName)return new vU(a,b);if(tU(a))return new xU(a,b);if(Eu(a))return new ON(a)}return null};var BU=function(a){kJ.call(this);this.i=this.o=null;this.g=a;this.F=!1;this.l=null;this.o=new T;Lu(this.o,this.g,["companions_success","companion_initialization_failed"],this.N,this);Lu(this.o,this.g,"companion_display_error",this.M,this);Lu(this.o,this.g,["companion_slot_init","companion_click"],this.K,this);this.g.u?this.F=!0:(a=this.g,a.u||(WG(a,"proxy","isGptPresent"),XG(a)))};w(BU,kJ);BU.prototype.R=function(){this.destroy();kJ.prototype.R.call(this)};
BU.prototype.destroy=function(){null!=this.o&&this.o.$();this.l=null;this.h.forEach(function(a){cG(a)});this.i=null};BU.prototype.Sa=function(a){jf(this.i);this.i=new H;this.l=a;this.u=!0;this.F?CU(this):(this.u=DU(EU(a),[]),this.u||(this.i=this.l=null));return this.i};BU.prototype.J=function(){if(this.g.u){var a=this.g;a=a.w?a.W:void 0;a&&(CF=a);a=this.g;a=a.C&&0!=a.F?a.F:void 0;a&&(kF=a);(a=VG(this.g))&&(lF=a)}};
var CU=function(a){var b=a.l;a.l=null;if(0==a.h.length)GU(a,Error("Companion slots not available."));else if(null==b)GU(a,Error("Invalid master ad."));else{var c=HU(a,b);a.g.Sa(a.h);if(0<c.length&&b.Si&&(a=a.g,0!=c.length&&"GDFP"==GI(b)[0])){for(var d=[],e=0;e<c.length;e++)d.push(c[e].C);YG(a,b.H);WG(a,"companionAds","notifyUnfilledSlots",[d])}}},GU=function(a,b){a.dispatchEvent(new aG("companion_display_error",b))};BU.prototype.C=function(){return this.u};
BU.prototype.N=function(){if(null!=this.g){var a=UG(this.g);null!=a&&(this.h=a)}this.F=!0;null!=this.l&&CU(this);this.dispatchEvent(new G("initialized"))};BU.prototype.M=function(a){GU(this,a.getError())};BU.prototype.K=function(a){if(null!=a.h){var b=a.h;"companion_slot_init"==a.type?FG(b.i):"companion_click"==a.type&&(FG(b.l),null!=this.i&&this.i.dispatchEvent(new dG("companion_click",b)))}};
var HU=function(a,b){var c=[],d=[];a.h.forEach(function(f){cG(f);f.w.some(function(g){a:{g=nG(new jG(new Be(g.width,g.height)),nI(b));if(0!=g.length&&(g=IU(g,c),null!=g)){var k=g.i;if(null!=k&&0!=f.C.indexOf(k)){g=!1;break a}k=sH(g.g.l,"click").concat(qI(b,"companionClick"));var l=qI(b,"companionImpression");c.push(g);var m=g.getContent(),n=g.g.Qc(),q=g.g.Pc();g="IFrame"!=g.g.X;f.H=m;f.u=null;f.h=n;f.g=q;f.o=g;f.i=l||[];f.l=k||[];g=!0;break a}g=!1}return g})||d.push(f)});var e=EU(b);a.u=DU(e,c);a.u||
a.h.forEach(function(f){cG(f)});return d},DU=function(a,b){if(null==a)return!0;var c=a.g;return"all"==a.h?JU(c,b):"any"==a.h?KU(c,b):!0},EU=function(a){return null==a||null==a.g||isNaN(a.g.Fa())?null:NI(a,!0).find(function(b){b=b.g;return 0==b.length?!1:isNaN(b[0].Fa())?!1:b[0].Fa()==kG(b[0])})||null},JU=function(a,b){return a.every(function(c){return b.includes(c)})},KU=function(a,b){return a.some(function(c){return b.includes(c)})},IU=function(a,b){return a.find(function(c){return!b.includes(c)})};
BU.prototype.w=function(){return this.g};var bU=function(a){gf.call(this);this.g="not_loaded";this.i=new T(this);this.l=new qg(200);this.u=ab()+1E4;this.o=[];this.J=!1;this.h=a;this.i.G(this.h,"gpt",this.C);this.i.G(this.l,"tick",this.H);this.l.start()};w(bU,gf);
bU.prototype.K=function(a){cU(this,"event",a.type);var b=a.getAd();"start"==a.type&&null!=b&&(a={adSystem:iI(b),id:vI(b),adRequestUrl:b.H.g},b.isLinear()?(a.duration=b.g.getDuration(),a.type="video"):(b=b.g,a.assetSize=b.Qc()+"x"+b.Pc(),a.assetType=b.H,a.type="overlay"),cU(this,"ad",a))};bU.prototype.w=function(a){a=a.getError();a="Error "+a.g()+": "+a.getMessage();cU(this,"info",a)};
var LU=function(a){null!=a.h&&a.h.send("gpt","isConsolePresent",{scope:"proxy"})},cU=function(a,b,c){b={type:b,data:c};"loaded"==a.g?a.F(b):("not_loaded"==a.g||"loading"==a.g)&&a.o.push(b)};bU.prototype.F=function(a){null!=this.h&&this.h.send("gpt","sendVideoMessage",{scope:"console",args:[a]})};bU.prototype.R=function(){this.g="not_loaded";jf(this.i);this.i=null;jf(this.l);this.l=null;gf.prototype.R.call(this)};
bU.prototype.H=function(){switch(this.g){case "not_loaded":this.g="loading";LU(this);break;case "loading":0<this.u&&ab()>this.u?(this.g="failed",MU(this)):LU(this);break;case "loaded":NU(this);break;case "failed":0<this.u&&ab()>this.u?MU(this):(this.g="loading",LU(this))}};var NU=function(a){a.i.G(a.l,"tick",a.H);null!=a.l&&(a.l.stop(),a.l.$(),a.l=null)},MU=function(a){NU(a);null!=a.h&&(a.i.wa(a.h,"gpt",a.C),a.h=null);a.o=[]};
bU.prototype.C=function(a){"isConsolePresent"==a.fc&&(a=a.dc.returnValue,null!=a&&a?(this.h.h(this.h.o),this.o.forEach(this.F,this),this.o=[],this.g="loaded"):this.g="failed")};var OU=function(a,b,c){this.h=c;0==b.length&&(b=[[]]);this.g=b.map(function(d){d=a.concat(d);for(var e=[],f=0,g=0;f<d.length;){var k=d[f++];if(128>k)e[g++]=String.fromCharCode(k);else if(191<k&&224>k){var l=d[f++];e[g++]=String.fromCharCode((k&31)<<6|l&63)}else if(239<k&&365>k){l=d[f++];var m=d[f++],n=d[f++];k=((k&7)<<18|(l&63)<<12|(m&63)<<6|n&63)-65536;e[g++]=String.fromCharCode(55296+(k>>10));e[g++]=String.fromCharCode(56320+(k&1023))}else l=d[f++],m=d[f++],e[g++]=String.fromCharCode((k&15)<<12|
(l&63)<<6|m&63)}return new RegExp(e.join(""))})};OU.prototype.match=function(a){var b=this;return this.g.some(function(c){c=a.match(c);return null==c?!1:!b.h||1<=c.length&&"3.386.2"==c[1]||2<=c.length&&"3.386.2"==c[2]?!0:!1})};
var PU=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,40,115,100,107,108,111,97,100,101,114,124,99,111,114,101,41,47],QU=[104,116,116,112,115,63,58,47,47,115,48,92,46,50,109,100,110,92,46,110,101,116,47,105,110,115,116,114,101,97,109,47,104,116,109,108,53,47],RU=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,112,114,101,114,101,108,101,97,115,
101,47,106,115,47,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,47],SU=[[105,109,97,51,92,46,106,115],[105,109,97,51,95,100,101,98,117,103,92,46,106,115]],TU=[[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,
50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108]],UU=[[111,117,116,115,116,114,101,97,109,92,46,106,115],[111,117,116,115,116,114,101,97,109,95,100,101,98,117,103,92,46,106,115]],VU=new OU(PU,SU,!1),WU=new OU(PU,TU,!0),XU=new OU(QU,SU,!1),YU=new OU(QU,TU,!0),ZU=new OU(RU,SU,!1),$U=new OU([104,116,116,112,115,63,58,47,47,40,112,97,103,101,97,100,50,124,116,112,99,41,92,46,103,111,111,103,108,101,115,
121,110,100,105,99,97,116,105,111,110,92,46,99,111,109,47,112,97,103,101,97,100,47,40,103,97,100,103,101,116,115,124,106,115,41,47],[],!1),aV=new OU(PU,[[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,
51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108]],!0),bV=new OU(PU,UU,!1),cV=new OU(RU,UU,!1),dV={un:VU,rn:WU,Dn:XU,Cn:YU,vn:ZU,oo:$U,tn:aV,Mn:bV,Nn:cV};
function eV(){if(!Yb(dV,function(e){return e.match(Le().location.href)})){for(var a=Fe(document,"script",void 0,void 0),b=null,c=null,d=0;d<a.length;d++)if(c=a[d],Yb(dV,function(e){return e.match(c.src)})){b=c;break}if(null==b)throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");}};var fV=function(a,b){this.l=new oK(b);this.h=null;this.o=new H;this.g=b;this.u=new T(this);this.u.G(this.g,"displayContainer",this.ll);this.i=Ne("DIV",{style:"position:absolute;visibility:hidden;width:100%;height:100%;top:0;left:0;"});a.appendChild(this.i);this.H=new gz};h=fV.prototype;h.ib=function(){return this.H};h.xe=function(){return!1};h.Na=function(){return this.i};h.Kb=function(){return this.l};
h.Yd=function(){!this.h&&UF()&&(this.h=new oK(this.g),tK(this.h,!0),GG.D().report(112,{inner:!0}),this.g.send("displayContainer","getPreloadDisplay"));return this.h};h.ve=function(){if(this.h){var a=this.l;this.l=this.h;tK(this.l,!1);this.h=a;tK(this.h,!0);this.g.send("displayContainer","swapVideoDisplays")}};h.qb=function(){this.g.send("displayContainer","showVideo")};h.Ab=function(){this.i.style.visibility="visible"};h.Ub=function(){this.Qe();this.Pe()};
h.Qe=function(){this.g.send("displayContainer","hide")};h.Pe=function(){this.i&&(this.i.style.visibility="hidden")};h.Vd=function(){return this.o};h.ll=function(a){switch(a.fc){case "videoClick":this.o.dispatchEvent("click")}};h.mg=function(a){var b={};this.g.send("displayContainer","resizeAndPositionVideo",(b.resizeAndPositionVideo=a,b))};h.ng=function(){this.g.send("displayContainer","restoreSizeAndPositionVideo")};var gV="ca-video-pub-9969847221045591 ca-video-pub-7447753920195631 ca-video-pub-3285431102758252 ca-video-pub-3309141347713586 ca-video-pub-1956856209985681 ca-video-pub-7094677798399606 ca-video-pub-7804755014577996 ca-pub-5178619804294449 ca-pub-6915722216943299 ca-pub-7519541962716472 ca-pub-8688850524852772 ca-pub-9686470071580025 ca-pub-2111302653902282 ca-pub-3313320428593789 ca-pub-4647657347118961 ca-pub-8420853053876479 ca-pub-9847611980052395 ca-pub-4031156697966241 ca-pub-5544696673788246 ca-pub-8251993735338448 ca-pub-9168098728983293".split(" ");
function hV(a){var b={vmapReq:1};b=void 0===b?{}:b;b.hasTag=1;if(!a)b.hasTag=0,GG.D().report(117,b);else if(GE())try{var c=NE(a);null!=c&&gV.some(function(d){return d.includes(c)})&&(b.pubId=c,GG.D().report(117,b,!0))}catch(d){b.error=1,GG.D().report(117,b)}};function iV(a,b){b=void 0===b?null:b;var c=a.g||"";if(Bs(c))b=new Map,null!=rF&&b.set("dc_submodel",rF),c=HE(BE()),z(C(c))||b.set("dc_eid",c),c=X.W,null!=c&&b.set("dc_rfl",Wi(c)),c=rs(new ps(a.g||""),"dc_output")||[],(c.includes("vast")||c.includes("xml_vast2")||c.includes("xml_vast3"))&&b.set("dc_output","xml_vast4"),a=new Map([].concat(u(bT(a)),u(b))),a=new hU(a);else if(Es(c)){b=new Map;null!=rF&&b.set("submodel",rF);c=HE(BE());z(C(c))||b.set("eid",c);if(c=X.W)c=Wi(c),c=encodeURIComponent(C(c)),
b.set("rfl",c);a=new Map([].concat(u(bT(a)),u(b)));a=new jU(a)}else if(As(c)){var d=null!=b?b.h:[];b=new Map;b.set("correlator",CF);c=new O(a.g);var e=c.g;""!==e.get("description_url","")&&(e=e.get("ad_block",""),e=z(e)?iF.toString():e,b.set("ad_block",e));z(C(EF))||b.set("ref",EF);0<d.length&&(d=d[0].w,0<d.length&&(b.set("ca_w",d[0].width.toString()),b.set("ca_h",d[0].height.toString())));a=new Map([].concat(u(cT(c,a)),u(bT(a)),u(b)));a=new dU(a)}else Cs(c)?(b=new Map,b.set("correlator",CF),b.set("scor",
kF),c=pF,null!=c&&(pF=null,b.set("fbidx",c.toString())),null!=FF&&b.set("ppid",FF),null!=rF&&b.set("submodel",rF),d=a.g||"",c=new Map,e=lF,null!=e?(d=YS(e),c.set("ciu_szs",d)):(d=(new O(d)).g,c.set("ciu_szs",d.get("ciu_szs",""))),d=$S(),a=new Map([].concat(u(c),u(bT(a)),u(d),u(b))),a=new kU(a)):a=Ds(c)?new gU(bT(a)):new rv;return a};var jV=function(a){this.ka=a},kV=function(a,b){return 0>=b?null:a.ka.find(function(c){return 0<c.getDuration()&&c.getDuration()<=b})||null};var mV=function(a,b){this.i=a;a=lV(a,b);b=a.Kk;this.g=a.Xk;this.h=b},nV=function(a){return a.i.reduce(function(b,c){return[].concat(u(b),u(a.g.get(c)))},[])},oV=function(a,b){a.h.forEach(function(c){var d=kV(b,c.getDuration());d&&b.ka.splice(b.ka.indexOf(d),1);d&&a.g.set(c,[d])})},lV=function(a,b){var c=new Map,d=[];a.forEach(function(e){if(e.F){var f=[];b.forEach(function(g){var k;a:{for(k=g.h;k;){if(k===e){k=!0;break a}k=k.h}k=!1}k&&f.push(g)});0==f.length&&d.push(e);c.set(e,f)}else c.set(e,[e])});
return{Xk:c,Kk:d}};var pV=function(a,b,c){this.H=a;this.u=b;this.o=c;this.g=new mV(this.o,[]);this.i=null;this.l=new jV([]);this.h=null},qV=function(a,b){a=0==a.length;var c=2<=b.length,d=0<b.length,e;if(e=a)b=b[0],e=LI(b)&&OI(b,"nonlinear")&&!mI(b);return e?!1:a&&c||!a&&d};h=pV.prototype;h.dd=function(a,b){var c=this,d=!1,e=!1;this.H.dd(function(f){c.g=new mV(c.o,f);e&&rV(c,a,b);d=!0},function(f){c.i=f;e&&rV(c,a,b);d=!0});this.u.dd(function(f){c.l=new jV(f);d&&rV(c,a,b);e=!0},function(f){c.h=f;d&&rV(c,a,b);e=!0})};
h.Pg=function(){return qV(this.o,this.l.ka)};h.ac=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};h.xb=function(){throw Error("Do not use getNextAd in ad buffet ad source.");};h.lj=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};h.fj=function(){};var rV=function(a,b,c){a.i&&a.h?0<a.o.length&&a.i?c(a.i):a.h?c(a.h):c(ZJ(GJ)):a.h?b(nV(a.g)):a.i?(oV(a.g,a.l),0<nV(a.g).length?b(nV(a.g)):c(ZJ(GJ))):(oV(a.g,a.l),b(nV(a.g)))};function sV(a,b,c){var d=null,e=c+b;a.w.forEach(function(f){var g;if(g=f instanceof DH)0==c&&0==b||f instanceof HN?g=!0:(g=f.Mb(),g=g.width<=b&&g.height<=c);g&&(g=0==c&&0==b?0:c-f.Mb().height+b-f.Mb().width,"Flash"!=f.getContentType()||iG)&&(null==d?(d=f,e=g):g<e?(d=f,e=g):g==e&&("Flash"==d.getContentType()&&"Javascript"==f.getContentType()?d=f:f.Fa()<d.Fa()&&(d=f)))});rI(a,d)}function tV(a){var b=null;a.w.forEach(function(c){c instanceof cI&&(null===b||c.Fa()<b.Fa())&&(b=c)});rI(a,b)};var uV=function(a,b,c,d){this.o=a;this.H=b;this.ka=0<this.o.length?this.o:this.H;this.Za=c;this.Eb=this.u=!0;this.h=-1;this.g=null;this.C=this.l=0;this.i=null;this.w=d};uV.prototype.dd=function(a,b){vV(this,a,b)};
var wV=function(a,b,c){var d=[],e=function(f){a.ac()?a.xb(function(g){d.push(g);e(null)},function(g){e(g)}):0<d.length?b(d):(null==f&&(f=ZJ(GJ)),c(f))};e(null)},vV=function(a,b,c){var d=[],e=[];xV(a,d,e);Promise.all(e).then(function(){return yV(a,d,b,c)},function(){return c(ZJ(OJ))})},xV=function(a,b,c){a.ka.forEach(function(d){var e=[];b.push(e);d.F?zV(a,d)||(d=AV(a,d,e,function(f){return a.i=f}),c.push(d)):e.push(d)})},zV=function(a,b){if(uI(b)>=X.u){var c=BV(b,SJ,null,String(X.u));CV(a,b,c);return!0}return a.u?
!1:(a.i=BV(b,VJ),!0)},yV=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.gf(g,function(k){return e.push(k)},function(k){return a.i=k})})});0<e.length?c(e):(null==a.i&&(a.i=ZJ(GJ)),d(a.i))},AV=function(a,b,c,d){return new Promise(function(e,f){var g=a.Za.clone();g.h="";g.g=b.sj;a.w.fetch(g,function(k){k instanceof uV?DV(a,k,b,c,d,e,f):(k=new kH("adLoadError","Ad source cannot contain playlist response.",2),lH(k,b),d(k),e())},function(k){k=EV(k,b);CV(a,b,k);d(k);e()})})},
DV=function(a,b,c,d,e,f,g){FV(b,c,a.Eb&&c.Ri,c.Ui);0==b.ka.length?(CV(a,c,BV(c,WJ)),f()):b.dd(function(k){d.push.apply(d,u(k));f()},function(k){CV(a,c,k);e(k);301==k.g&&g();f()})};h=uV.prototype;h.ac=function(){return null!=this.g&&this.g.ac()?!0:0<this.ka.length&&this.h<this.ka.length-1};h.lj=function(){return this.l};h.fj=function(){this.C++};
h.xb=function(a,b){var c=this;null!=this.g?GV(this,a,b):this.ac()?HV(this,a,function(d){301!=d.g&&c.ac()?c.xb(a,b):b(d)}):b(new kH("adLoadError","The ad source contains no more ads.",1005))};h.Pg=function(){return!1};var IV=function(a,b){a.Eb=b;a.ka=a.Ni(a.o,a.H);a.h=-1};uV.prototype.Ni=function(a,b){return this.Eb?0<a.length?a:b:1==a.length?a:b.slice(0,1)};
uV.prototype.gf=function(a,b,c){var d;if(!(d=null!=a.g)){var e=this.Za;d=e.l||0;e=e.i||0;LI(a)&&!a.F?OI(a,"nonlinear")?sV(a,d,e):tV(a):OI(a,"linear")?tV(a):OI(a,"nonlinear")&&sV(a,d,e);d=null!=a.g}d?(this.l++,b(a)):(b=0==a.w.length?BV(a,PJ):a.isLinear()?BV(a,LJ):BV(a,RJ),lH(b,a),JV(b,a),c(b))};uV.prototype.Rh=function(a,b,c){var d=this.Za.clone();d.h="";d.g=a.sj;KV(this,a,d,b,c)};
var KV=function(a,b,c,d,e){a.w.fetch(c,function(f){f instanceof uV?(FV(f,b,a.Eb&&b.Ri,b.Ui),d(f)):f instanceof NP?(f=new kH("adLoadError","Ad source cannot contain playlist response.",2),lH(f,b),e(f)):(f=new kH("adLoadError","Unknown ad source.",2),lH(f,b),e(f))},e)},GV=function(a,b,c){if(a.g.ac())a.g.xb(function(e){a.gf(e,b,function(f){a.ac()?a.xb(b,c):c(f)})},function(e){CV(a,a.ka[a.h],e);a.g=null;301==e.g?c(e):a.ac()?a.xb(b,c):c(e)});else{if(0==a.g.lj()){var d=a.ka[a.h];CV(a,d,BV(d,WJ))}a.g=null;
a.xb(b,c)}},CV=function(a,b,c){a.i=c;JV(c,b)},HV=function(a,b,c){a.h++;var d=a.ka[a.h];if(d.F)if(uI(d)>=X.u){var e=BV(d,SJ,null,String(X.u));CV(a,d,e);c(e)}else a.u?a.Rh(d,function(f){a.g=f;a.xb(b,c)},function(f){f=EV(f,null);CV(a,d,f);c(f)}):(e=BV(d,VJ),c(e));else a.gf(d,b,c)},EV=function(a,b){switch(a.g){case 300:case 301:case 302:case 303:case 200:case 1005:lH(a,b);break;default:a.getAd()&&(b=a.getAd()),a=BV(b,WJ)}return a},FV=function(a,b,c,d){a.ka.forEach(function(e){e.h=b;tI(e)});IV(a,c);a.u=
d},BV=function(a,b,c,d){b=ZJ(b,c,d);lH(b,a);return b},JV=function(a,b){var c=b.Ti;a.getAd()&&(b=a.getAd());a=NL(a,b);FG(c,a)};var LV=function(a,b,c){uV.call(this,[],a,b,c)};w(LV,uV);LV.prototype.Pg=function(){return 0<MV(this)};var MV=function(a){var b=a.ka.length-(0>a.h?1:a.h+1);return null!=a.g&&a.g instanceof LV?b+MV(a.g):b};h=LV.prototype;h.dd=function(a,b){wV(this,a,b)};h.ac=function(){if(null!=this.g&&this.g.ac())return!0;var a=0==this.l||this.l==this.C;return 0<this.ka.length&&a&&this.h<this.ka.length-1};h.Ni=function(a,b){return b};
h.gf=function(a,b,c){pF=null==this.g?HI(a):HI(this.ka[this.h]);uV.prototype.gf.call(this,a,b,c)};h.Rh=function(a,b,c){pF=-1;uV.prototype.Rh.call(this,a,b,c)};var PV=function(a){this.h=NV(a);this.g=OV(a)},QV=function(a,b,c){return 0<a.g.length&&0<=HI(a.g[0])?new LV(a.g,c,b):qV(a.h,a.g)?new pV(new uV(a.h,[],c,b),new uV([],a.g,c,b),a.h):new uV(a.h,a.g,c,b)},NV=function(a){a=a.filter(function(b){return 0<II(b)});a.sort(function(b,c){return II(b)-II(c)});return a},OV=function(a){return a.filter(function(b){return-1==II(b)})};var RV=function(a){this.g=a};RV.prototype.fetch=function(a,b,c){if(null!=a.h&&("string"===typeof a.h&&!z(a.h)||a.h instanceof Document||a.h instanceof Element))a:{var d=null;if(a.h instanceof Element)d=a.h;else if(a.h instanceof Document)d=a.h.documentElement;else try{d=Iu(a.h).documentElement}catch(f){c(ZJ(JJ,f));break a}if(d){var e=ab();SV(this,d,a,e,e,b,c)}else c(ZJ(JJ))}else Cs(a.g||"")&&this.g&&this.g.J(),TV(this,a,b,c)};
var TV=function(a,b,c,d){var e;if(!(e=null==b.g))a:{try{Hd(b.g)}catch(f){e=!1;break a}e=!0}e?X.J?GK(function(f){return void UV(a,b,c,d,f)}):UV(a,b,c,d):d(ZJ(DJ,null,b.g))},UV=function(a,b,c,d,e){e=void 0===e?"":e;var f=iV(b,a.g);f=new O(f.g(b));!z(e)&&YF(f.h)&&Bq(f,"ged",e);e=VL(b);e=CG(f.toString(),e);f=new jv;var g=new ju(b.M),k=Date.now();VV(b.g||"");return f.get(e,g).then(function(l){return l.documentElement?l.documentElement:Promise.reject()}).then(function(l){SV(a,l,b,k,Date.now(),c,d)},function(l){var m=
"",n=ZJ(CJ);l instanceof Error&&(n=ZJ(CJ,l),m=l.message,8==m&&(n=ZJ(OJ,l)));d(n);l=m;l={rt:LE(b.g||""),ec:l};GG.D().report(18,l)})},VV=function(a){a={rt:LE(a)};GG.D().report(17,a)},SV=function(a,b,c,d,e,f,g){try{var k=AU(b,c);if(!k)throw ZJ(JJ);var l=k.g();WV(a,l,c,d,e,f)}catch(m){m instanceof kH?g(m):g(ZJ(KJ,m))}},WV=function(a,b,c,d,e,f){var g=b.g;if(null!=g)f(g);else{b=b.h;if(null==b||0==b.length)throw ZJ(MJ);b.forEach(function(l){l.H=c;var m=null==l.H?null:l.H.g;if(m)try{l.u.adTag=encodeURIComponent(m)}catch(n){}tI(l);
l=l.o;l.u=d;l.o=e});var k=QV(new PV(b),a,c);b.forEach(function(l){l.K=k});f(k)}};var XV=function(a){this.l=a;this.i=new RV(this.l);this.h=new tS;this.g=!1},$V=function(a,b,c,d){var e=function(g){c(g);wS(a.h);a.g=!1;YV(a)},f=function(g){d(g);wS(a.h);a.g=!1;YV(a)};vS(a.h,function(){return void ZV(a,b,e,f)});YV(a)},YV=function(a){if(!a.g){var b=xS(a.h);null!=b&&(a.g=!0,b())}},ZV=function(a,b,c,d){var e=ME(b.g);null!=e&&zs(b.g||"")&&(QF=e);a.i.fetch(b,function(f){f instanceof NP?c(f):f.dd(c,d)},d)};var aU=function(a){H.call(this);this.i=new XV(a);this.h=a;this.g=!0};w(aU,H);
var $T=function(a,b,c){a.g&&(b.g&&!uu(b.g)?aW(a,new kH("adLoadError","URI malformed",1005),c):bF()?(b=ZJ(BJ),aW(a,b,c)):$V(a.i,b,function(d){return bW(a,d,c)},function(d){return aW(a,d,c)}))},fP=function(a,b,c){a.g||$V(a.i,b,function(d){return bW(a,d,c)},function(d){return aW(a,d,c)})},bW=function(a,b,c){if(X.w){var d=cW(b);d&&null!=d.h()&&(mJ=d.h())}if(a.g){b instanceof NP&&hV(c.l);try{a.dispatchEvent(new XS(b,c))}catch(e){aW(a,ZJ(LJ,null),c)}}else b instanceof NP?aW(a,ZJ(uJ,null,"Unsupported ad format."),
c):(c=new KK("adBreakFetched",c),c.Rf=b,a.dispatchEvent(c))},aW=function(a,b,c){a.g?("always"==X.g&&lJ(a.h),b=new sJ(b,c),b.Vi=c,a.dispatchEvent(b)):(c=new KK("adBreakFetchError",c),c.l=b,a.dispatchEvent(c))},cW=function(a){if(a instanceof NP||!Qa(a))return null;var b=null;a.some(function(c){c instanceof gI&&(b=hJ(c));return null!=b});return b};var fW=function(){H.call(this);eV();this.l=new T(this);F(this,this.l);this.g=dW();this.i=new Map;this.i.set("*",this.g);this.o=eW();this.h=null;var a=new SG;TG(a,this.o);this.C=new BU(a);this.ba=null;this.l.G(Le().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.u);"ontouchstart"in document&&this.l.G(Le().document.body,["touchstart","touchend","touchmove","touchcancel"],this.w);this.l.G(this.g,"omid",function(b){var c=b.fc;"iframeReady"===c?
(b=b.dc.frameName,nM().C(x.parent.frames[b])):"iframeFailed"===c&&nM().J()})};w(fW,H);fW.prototype.da=function(){this.ba||(this.ba=new fV(document.body,MT(this)));return this.ba};
var UT=function(){var a=new mK;a.mimeTypes=XF();return a},MT=function(a,b){b=b||"*";var c=a.i.get(b);if(null==c){c=new KG(Le().location.hash.slice(1),b);c.l=!0;var d=gW(a);d&&(c.h(d),c.connect());a.i.set(b,c)}return c},dW=function(){var a=new KG(Le().location.hash.slice(1),"*");a.l=!0;return a},gW=function(a){var b=null;a.i.forEach(function(c){c=c.g;null!=c&&(b=c)});return b},eW=function(){var a=Le();a=new PG([a.top,a.parent],Le().location.hash.slice(1),"*");a.connect();return a};
fW.prototype.u=function(a){this.g.send("mouse",a.type,{detail:a.detail,screenX:a.screenX,screenY:a.screenY,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,button:a.button})};
var hW=function(a){var b=[],c=!!("TouchEvent"in window&&0<TouchEvent.length),d=0;for(;d<a.length;d++){var e=a[d];c?b.push({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY}):b.push({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY})}return b};
fW.prototype.w=function(a){var b=a.Hb;b={detail:b.detail,screenX:a.screenX,screenY:a.screenY,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,touches:hW(b.touches),targetTouches:hW(b.targetTouches),changedTouches:hW(b.changedTouches),scale:b.scale,rotation:b.rotation};this.g.send("touch",a.type,b)};Ia("ima.IframeBridge",fW,window);})();
</script>
  </head>
  <body>
    <script>
      // Leave this as var since it isn't compiled and is run on TVs that don't support es6.
      var bridge;
      // Initialize the bridge on script execution to handle connecting when embedded.
      window.addEventListener('load', function() {
        bridge = new ima.Bridge(new ima.IframeBridge());
      },
      false); // useCapture
    </script>
  </body>
</html>