(function (widget,cId,vids){ var _ONND_URL_EMBED = "https://video.onnetwork.tv" ; var _ONND_URL_CDN_EMBED = "https://cdn.onnetwork.tv" ; var overwrites = "" var iid=20241 ; var uid="id"+iid; var playerLoaded = false ; var reelToStart = 0 ; var wConfig = {"playlistitems":[{"mid":"2243679","id":"2243679","length":"48","title":"Rozwody b\u0119d\u0105 \u0142atwiejsze? Rz\u0105d ma propozycj\u0119","adddatesec":"1768984784","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2243679_6.jpg","mposter_url":""},{"mid":"2247585","id":"2247585","length":"32","title":"Jakub B\u0142aszczykowski z \u017con\u0105 na Gali Pi\u0142ki No\u017cnej","adddatesec":"1769338993","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2247585_3.jpg","mposter_url":""},{"mid":"2247587","id":"2247587","length":"37","title":" Siostra Roberta Lewandowskiego z m\u0119\u017cem. Gala Pi\u0142ki No\u017cnej","adddatesec":"1769339132","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2247587_3.jpg","mposter_url":""},{"mid":"2241424","id":"2241424","length":"92","title":"Trump straszy, Europa wyci\u0105gnie \u201cbazook\u0119\u201d? \u201cTo my finansujemy ten cyrk\u201d","adddatesec":"1768817301","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2241424_1.jpg","mposter_url":""},{"mid":"2256300","id":"2256300","length":"117","title":"Dochodowy biznes koleg\u00f3w Nawrockiego. Tak zarabiaj\u0105 pseudokibice","adddatesec":"1770029878","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2256300_3.jpg","mposter_url":""},{"mid":"2258843","id":"2258843","length":"97","title":"Polski weteran odes\u0142a\u0142 medal Nawrockiemu. Matecki grzmi. \u201cUstawka!\u201d","adddatesec":"1770198845","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2258843_1.jpg","mposter_url":""},{"mid":"2244343","id":"2244343","length":"167","title":"Doda walczy o \u017cycie zwierz\u0105t. \"Psy zamarzaj\u0105 w m\u0119czarniach\"","adddatesec":"1769008792","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2244343_1.jpg","mposter_url":""},{"mid":"2241418","id":"2241418","length":"70","title":"Co Chiny maj\u0105 wsp\u00f3lnego z inflacj\u0105 w Polsce? Adam Glapi\u0144ski t\u0142umaczy","adddatesec":"1768816805","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2241418_6.jpg","mposter_url":""},{"mid":"2248299","id":"2248299","length":"73","title":"Kaczy\u0144ski straszy Uni\u0105. \"240 p\u0142ci\"","adddatesec":"1769419341","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2248299_6.jpg","mposter_url":""},{"mid":"2245811","id":"2245811","length":"97","title":"Nawrocki o Grenlandii: Europa \u200apowinna odpu\u015bci\u0107 niepotrzebne gesty niech\u0119ci wobec USA","adddatesec":"1769154933","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2245811_4.jpg","mposter_url":""},{"mid":"2242835","id":"2242835","length":"51","title":"Tragiczny wypadek w Warszawie. \u201cZamiast dzwoni\u0107 po pomoc, to nagrywali\u201d","adddatesec":"1768907806","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2242835_4.jpg","mposter_url":""},{"mid":"2257326","id":"2257326","length":"89","title":"Europos\u0142anka Cynthia Ni Mhurchu z\u0142o\u017cy\u0142a skarg\u0119 na polityk\u00f3w PiS Jacka Ozdob\u0119 i Bogdana Rzo\u0144c\u0119","adddatesec":"1770109430","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2257326_2.jpg","mposter_url":""},{"mid":"2261355","id":"2261355","length":"121","title":"Ewa Wachowicz wspomina czasy modelingu. \"Wa\u017cy\u0142am 54 kg, a oni kazali mi schudn\u0105\u0107\"","adddatesec":"1770370902","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2261355_1.jpg","mposter_url":""},{"mid":"2242622","id":"2242622","length":"75","title":"\u201cRada Pokoju\u201d Donalda Trumpa. USA gro\u017c\u0105 Francji","adddatesec":"1768900741","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2242622_1.jpg","mposter_url":""},{"mid":"2250998","id":"2250998","length":"69","title":"Zw\u0142oki dw\u00f3ch os\u00f3b i zabite psy. Szturm policji na warszawskim Targ\u00f3wku","adddatesec":"1769605369","poster_url":"https://cdnt.onnetwork.tv/poster/2/2/2250998_1.jpg","mposter_url":""}],"frid":2243679,"widgetId":1657,"devicetype":"desktop","isIos":0,"firstmidvideo":"MjI0MzY3OSw5eDE2LDAsNTAsNDQ0MCwxNjY5NywwLDAsMSw1MCwwLDAsMCwwLDEsMSwwLDAsNCwwLDAsMCwxLDAsMCwwLDAsMDswOy0xOy0xO1RMOzA7MDswOzU2LDAsMCwxLDAsMCwwOzA7MDswOzA7MDswLDA=","defsd":{"playlist":"4440","reelType":"0","reelRows":"2","reelColumns":"2","reelHeight":"300px","reelClosureButton":"31","reelListBackgroundColor":"rgba(255, 255, 255, 1)","reelListBackgroundImage":"","reelBackgroundColor":"rgba(0, 0, 0, 1)","reelBackgroundImage":"","reelBackgroundImageCustomCss":"background: linear-gradient(rgb(0 0 0), rgba(0, 0, 0, 0));","reelPosition":"2","reelMax":"15","reelMargin":"0%","reelBorder":"none","reelBorderRad":"0%","reelMarginList":"5px","reelPadding":"0%","reelBorderList":"none","reelBorderRadList":"10px","reelTitlePosition":"1","reelTitleCustomCss":" display: flex; justify-content:center; align-items:center; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0.7) 100%);","reelPaddingList":"0px","reelTitleColor":"rgba(255, 255, 255, 1)","reelTitleFont":"CalibreWeb, sans-serif","reelTitleFontSize":"10","reelTitleHeight":"20%","reelTimerPosition":"1","reelTimerCustomCss":"border-radius:4px","reelTimerColor":"rgba(255, 255, 255, 1)","reelTimerBackground":"rgba(13, 12, 12, 0.4)","reelTimerFont":"CalibreWeb, sans-serif","reelTimerFontSize":"8","reelTimerMargin":"4px","reelTimerPadding":"1px 4px","reelTitleMargin":"0px","reelTitlePadding":"5%","reelTitleBackground":"rgba(13, 12, 12, 0)","reelBehaviourMPosterUse":"1","reelBehaviourMPosterVisibilityThreshold":"50","reelBehaviourChangeThreshold":"10","reelBehaviourMPosterMode":"0","reelBehaviourWidgetScrollMode":"2","reelBehaviourWidgetIdleScrollBy":"10","reelBehaviourWidgetIdleInterval":"1","reelTouchScrollAxis":"Y","reelBehaviourShowFirstReelMode":"0","reelNoNextPosterSwipe":"1","ads_emission_selectr":"1","widgets_emission_preroll_select_first_ad":"1","widgets_emission_preroll_list":"","widgets_emission_preroll_select_another_ad":"1","widgets_emission_midroll_select_first_ad":"1","widgets_emission_midroll_list":"","widgets_emission_midroll_select_another_ad":"1","widgets_emission_periodic_first_ad_number":"afterSeconds","widgets_emission_periodic_first_ad_seconds":"60","widgets_emission_periodic_next_ads_number_interval":"afterSeconds","widgets_emission_periodic_next_ads_seconds_interval":"120","reelListPlayButtonURL":"https://static.im-g.pl/im/1/31394/m31394041,PLAYNAKARUZELE.svg","reelListPlayButtonCustomCss":"width: 50px; height: 50px; transform: translate(-50%, -50%)","reelListPlayButtonSvgShow":"0","reelListPlayButtonSvgWidth":"30","reelListPlayButtonSvgTop":"50","reelListPlayButtonSvgLeft":"50","reelListPlayButtonSvgFill":"rgba(255,255,255,0)","reelListPlayButtonSvgWcpCircleStroke":"rgba(255,255,255,0.8)","reelListPlayButtonSvgWcpTriangleFill":"rgba(255,255,255,0.8)","reelBehaviourInfiniteMPoster":"1"},"classToAdd":"carousel","addcss":"","isProduction":true,"debugReelsWidget":false} ; var isMobile = 0; var useNewDesktop = 0; var desktopStylingCss = ``; var desktopStylingJs = ``; var widgetClass = 'wid' + widget ; if (!useNewDesktop) { var nstylet = (isMobile ? 'body.ONNovhByReel { overflow: hidden !important; position: fixed !important;}' : '') + ' div.totalcontainerexs.'+widgetClass+'{ position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent;}' + ' div.playercontainerexs.'+widgetClass+'{ width:100%;height:100%;position:fixed;top:0;left:0;z-index:2147483647;display:none; }' + ' #playerPreviewContainer div.playercontainerexs.'+widgetClass+', #totalcontainerdesktop'+uid+' div.playercontainerexs.'+widgetClass+'{ position:absolute;top:0;left:0;z-index:2147483647;display:none; }' + ' #totalcontainerdesktop'+uid+' { height: 100%; }' + ' div.widgetcontainerexs.'+widgetClass+'{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs.'+widgetClass+'>div{ position:relative;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;}' + ' div.widgetcontainerexs.'+widgetClass+'>div>div{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' + ' .playercontainerexs.'+widgetClass+' > div > div, .playercontainerexs.'+widgetClass+' > div > div > iframe { box-sizing: border-box !important; }' + ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:100% !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-start; align-items: stretch; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: center; align-items: stretch; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-end; align-items: stretch; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' ; var nefrag = '
' + '' ; } else { var nstylet = (isMobile ? 'body.ONNovhByReel { overflow: hidden !important; position: fixed !important;}' : '') + ' div.totalcontainerexs.'+widgetClass+'{ position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent;}' + ' #playerPreviewContainer div.playercontainerexs.'+widgetClass+'{ position:absolute;top:0;left:0;z-index:2147483647;display:none; }' + ' div.widgetcontainerexs.'+widgetClass+'{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs.'+widgetClass+'>div{ position:relative;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;}' + ' div.widgetcontainerexs.'+widgetClass+'>div>div{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' + ' .playercontainerexs.'+widgetClass+' > div > div, .playercontainerexs.'+widgetClass+' > div > div > iframe { box-sizing: border-box !important; }' + ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:100% !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-start; align-items: stretch; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: center; align-items: stretch; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-end; align-items: stretch; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' ; var nefrag = '' ; if (isMobile) { nstylet += ' div.playercontainerexs.'+widgetClass+'{ width:100%;height:100%;position:fixed;top:0;left:0;z-index:2147483647;display:none; }'; nefrag = '' + nefrag; } else { nstylet += ' div.playercontainerexswrapper{ width:auto;height:100%;position:fixed;top:0;left:0;z-index:2147483646;display:none;}' + ' div.playercontainerexs.'+widgetClass+'{ z-index:2147483647;display:none; aspect-ratio: 9/16; }'; nefrag = '