5L12.3345 5.37165C12.4398 5.27683 12.5 5.14175 12.5 5C12.5 4.85826 12.4398 4.72318 12.3345 4.62836L7.33448 0.128357C7.12923 -0.0563721 6.81308 -0.0397334 6.62835 0.165522C6.44362 0.370777 6.46026 0.686922 6.66552 0.871651L10.697 4.5L1 4.50001Z" fill="white"/></svg>\')\n'};
        background-position-x: 90px;
    }
    .video-replay-button-infopane,
    .video-replay-button-river {
        background-position-x: 15px;
    }
`,h=g.i`
    .video-learn-more-button-infopane,
    .video-learn-more-button-river {
        background-image: ${'\n    url(\'data:image/svg+xml;utf8,<svg width="13" height="10" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 4.50001C0.723858 4.50001 0.5 4.72386 0.5 5.00001C0.5 5.27615 0.723858 5.50001 1 5.50001L10.697 5.5L6.66552 9.12836C6.46026 9.31309 6.44362 9.62923 6.62835 9.83449C6.81308 10.0397 7.12923 10.0564 7.33448 9.87165L12.3345 5.37165C12.4398 5.27683 12.5 5.14175 12.5 5C12.5 4.85826 12.4398 4.72318 12.3345 4.62836L7.33448 0.128357C7.12923 -0.0563721 6.81308 -0.0397334 6.62835 0.165522C6.44362 0.370777 6.46026 0.686922 6.66552 0.871651L10.697 4.5L1 4.50001Z" fill="white" transform="scale(-1, 1) translate(-13, 0)"/></svg>\')\n'};
        background-position-x: 18px;
    }
    .video-replay-button-infopane,
    .video-replay-button-river {
        background-position-x: 90px;
    }
`,x=g.i`
    :host {
        --video-control-background-color: #000000B2;
    }
    #nativead-video-play-button-infopane {
        cursor: pointer;
        display: none;
        height: 60px;
        width: 60px;
        position: absolute;
        right: 272px;
        top: 115px;
        z-index: 4;
    }
    .video-learn-more-button-infopane {
        background-color: var(--video-control-background-color);
        background-position-y: 12px;
        background-repeat: no-repeat;
        border-radius: 100px;
        color: white;
        cursor: pointer;
        display: none;
        font-size: 12px;
        font-weight: normal;
        height: 24px;
        line-height: 16px;
        padding-inline-start: 22px;
        padding-top: 8px;
        position: absolute;
        right: 245px;
        text-decoration: none;
        top: 113px;
        width: 100px;
        z-index: 4;
    }
    .video-learn-more-button-river {
        background-color: var(--video-control-background-color);
        background-position-y: 12px;
        background-repeat: no-repeat;
        border-radius: 100px;
        color: white;
        cursor: pointer;
        display: none;
        font-weight: normal;
        font-size: 12px;
        width: 100px;
        height: 24px;
        line-height: 16px;
        padding-inline-start: 22px;
        padding-top: 8px;
        position: absolute;
        right: 89px;
        text-decoration: none;
        top: 79px;
        z-index: 4;
    }
    .video-replay-button-infopane {
        background-color: var(--video-control-background-color);
        background-image: ${c};
        background-position-y: 8px;
        background-repeat: no-repeat;
        border-radius: 100px;
        color: white;
        cursor: pointer;
        display: none;
        font-size: 12px;
        font-weight: normal;
        height: 24px;
        line-height: 16px;
        padding-inline-start: 37px;
        padding-top: 8px;
        position: absolute;
        right: 245px;
        top: 69px;
        width: 85px;
        z-index: 4; 
    }
    .video-replay-button-river {
        background-color: var(--video-control-background-color);
        background-image: ${c};
        background-position-y: 8px;
        background-repeat: no-repeat;
        border-radius: 100px;
        color: white;
        cursor: pointer;
        display: none;
        font-size: 12px;
        font-weight: normal;
        width: 85px;
        height: 24px;
        line-height: 16px;
        padding-inline-start: 37px;
        padding-top: 8px;
        position: absolute;
        right: 89px;
        top: 35px;
        z-index: 4;
    }
`.withBehaviors(new l.O(u,h));var b=o(39181),m=o(13988);const y=b.d`
    ${(0,m.g)((e=>"infopane"==e.region),b.d`
        <span id="nativead-video-play-button-infopane" @click=${(e,n)=>p(n)}></span>
    `)}
    ${(0,m.g)((e=>"river"==e.region),b.d`
        <a target="_blank" href="${e=>e.destinationUrl}" style="width:${e=>e.width-40}px;height:${e=>e.height-40}px;right:40px;position:absolute;z-index:3;outline:none"></a>
    `)}    
    <span id="nativead-video-replay-button-${e=>e.region}" class="video-replay-button-${e=>e.region}" @click=${(e,n)=>p(n)}>${e=>e.localizedStrings&&e.localizedStrings.nativeAdReplayVideoText}</span>
    <a id="nativead-video-learn-more-button-${e=>e.region}" href=${e=>e.destinationUrl} target="_blank" class="video-learn-more-button-${e=>e.region}">${e=>e.localizedStrings&&e.localizedStrings.videoAdLearnMoreText}</a>
`;let j=class extends v{};j=(0,t.gn)([(0,i.M)({name:"native-ad-video-controls",template:y,styles:x})],j);var C=j;const w=g.i`
    .video-ad-background-img-infopane,
    .video-ad-background-img-river {
        position: absolute;
        z-index: 1;
    }
`,k="\n    .native-ad-video-container .video-js.vjs-msn .vjs-quality-sel-button {\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-subs-caps-button {\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-picture-in-picture-control {\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-play-progress.vjs-slider-bar::before{\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-fullscreen-control {\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-error-display {\n        display: none;\n    }\n";let f=class extends i.H{};(0,t.gn)([r.LO],f.prototype,"videoProps",void 0),(0,t.gn)([r.LO],f.prototype,"backgroundImg",void 0),(0,t.gn)([a.Lj],f.prototype,"region",void 0),(0,t.gn)([(0,a.Lj)({mode:"boolean"})],f.prototype,"immersive",void 0),(0,t.gn)([a.Lj],f.prototype,"width",void 0),(0,t.gn)([a.Lj],f.prototype,"height",void 0),(0,t.gn)([a.Lj],f.prototype,"visualReadinessCallback",void 0),f=(0,t.gn)([(0,s.uj)(d.EoX,"native-ad-video-player")],f),o(76239).NT;const L=b.d`
    <img
        style="width:${e=>e.width?e.width+"px":"100%"};height:${e=>e.height?e.height+"px":"100%"};"
        alt="${e=>e.backgroundImg&&e.backgroundImg.altText}"
        src="${e=>e.backgroundImg&&e.backgroundImg.source}"

        @load=${e=>e.visualReadinessCallback&&e.visualReadinessCallback()}
        @error=${(e,n)=>e.visualReadinessCallback&&e.visualReadinessCallback(n.event)}
    />
`,$=b.d`
    <div class="video-ad-background-img-${e=>e.region}">${L}</div>
    <content-video-player 
        :contentVideoPlayerProps=${e=>{return Object.assign(Object.assign({},e.videoProps&&e.videoProps.VideoPlayerProps),{customStyle:(n=e.region,o=e.immersive,"infopane"==n?k+"\n    .native-ad-video-container .video-js.vjs-msn .vjs-control-bar {\n        background: linear-gradient(0deg, #000000 0, transparent 100%);\n        padding-left: 20px;\n        padding-right: 20px;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-current-time.vjs-time-control.vjs-control {\n        width: unset;\n        padding: 0;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-duration.vjs-time-control.vjs-control {\n        width: unset;\n        padding: 0;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-volume-vertical{\n        bottom: 80px;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-time-control.vjs-time-divider {\n        padding: 0 5px;\n    }\n":"river"==n?k+(e=>`\n    .native-ad-video-container .video-js.vjs-msn .vjs-control-bar {\n        background: ${e?"linear-gradient( 180deg, transparent 0%, var(--gradient-mid-color) 62.5%, var(--gradient-color) 100% )":"linear-gradient(0deg, #000000 0, transparent 100%)"};\n        height: 60px;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-time-control {\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .video-js:not(.vjs-fullscreen).vjs-layout-x-small .vjs-volume-control {\n        display: none;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-icon-placeholder::before {\n        line-height: 50px;\n    }\n    .native-ad-video-container .video-js.vjs-msn .vjs-big-play-button {\n        display: none;\n    }\n`)(o):void 0),containerClass:"native-ad-video-container"});var n,o}}
    />
`;let z=class extends f{};z=(0,t.gn)([(0,i.M)({name:"native-ad-video-player",template:$,styles:w})],z);var R=z}}]);A
Eo