var init_adfox_151870620891737873_996326 = function() {
// puid2: '229103',
if (window.Ya && window.Ya.adfoxCode) {
var params = {
p1: 'bzorw',
p2: 'fulf',
puid8: window.localStorage.getItem('puid8'),
puid12: '186107',
puid21: 1,
puid26: window.localStorage.getItem('puid26'),
puid4: 'ren.tv',
extid: (function(){var a='',b='custom_id_user';if(!localStorage.getItem(b)){var c='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';for(var i=0;i<47;i++){a+=c.charAt(Math.floor(Math.random()*c.length));}a=encodeURIComponent(a);localStorage.setItem(b,a);}else{a=localStorage.getItem(b);}return a;})(),
extid_tag: 'rentv',
};
const pk = window.localStorage.getItem('pk');
if (pk) {
params.pk = pk;
params.pke = '1';
}
var existBidding = window.Ya?.headerBidding.getBidsReceived().map(elm => elm.containerId) || []
if (window.Ya.headerBidding && !existBidding.includes('adfox_151870620891737873_996326')) {
window.Ya.headerBidding.pushAdUnits([
{
"code": 'adfox_151870620891737873_996326',
"bids": [
{ "bidder": "adriver", "params": { "placementId": "30:rentv_970x250_mid" } },
{ "bidder": "bidvol", "params": {"placementId": "37226" } },
{ "bidder": "sape", "params": { "placementId": "836081" } },
{ "bidder": "adfox_adsmart", "params": {
"pp": "h",
"ps": "doty",
"p2": "ul",
"puid20": ""
} },
{ "bidder": "hybrid", "params": { "placementId": "6602ab127bc72f23c0325b09" } }
],
"sizes": [ [970,250], [728,250], [728,90], [990,90], [990,250] ]
}
]);
}
window.yaContextCb?.push(() => {
Ya.adfoxCode.createScroll({
ownerId: 264443,
containerId: 'adfox_151870620891737873_996326',
params: params,
lazyLoad: true,
}, ['desktop', 'tablet'], {
tabletWidth: 1104,
phoneWidth: 576,
isAutoReloads: false
});
});
}
}
if (window.Ya && window.Ya.adfoxCode) {
init_adfox_151870620891737873_996326();
} else {
document.addEventListener('adfoxload', event => {
init_adfox_151870620891737873_996326();
});
}
(window.smiq = window.smiq || []).push({});