(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":"2515736","id":"2515736","length":"66","title":"Tusk o Kaczy\u0144skim i Morawieckim: \u200aJe\u015bli to b\u0119dzie ponownie ma\u0142\u017ce\u0144stwo polityczne, to przewiduj\u0119 przemoc domow\u0105 ","adddatesec":"1794495700","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515736_2.jpg","pubcatdesc":"Unset","mposter_url":"","views":"65"},{"mid":"2514049","id":"2514049","length":"84","title":"Michnik o zdj\u0119ciu z Braunem: Kaczy\u0144ski si\u0119 doigra\u0142","adddatesec":"1794314987","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2514049_5.jpg","pubcatdesc":"Unset","mposter_url":"","views":"71"},{"mid":"2514319","id":"2514319","length":"45","title":"Czy Polska jest w stanie samodzielnie przeciwstawi\u0107 si\u0119 Rosji?","adddatesec":"1794331815","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2514319_5.jpg","pubcatdesc":"Unset","mposter_url":"","views":"63"},{"mid":"2515533","id":"2515533","length":"87","title":"Policja w siedzibie Telewizji Republika. Mi\u0119dzy nimi a pracownikami stacji dosz\u0142o do spi\u0119cia","adddatesec":"1794484388","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515533_3.jpg","pubcatdesc":"Unset","mposter_url":"","views":"77"},{"mid":"2515715","id":"2515715","length":"133","title":"Poszed\u0142em w Marszu Niepodleg\u0142o\u015bci z nacjonalistycznym czarnym blokiem","adddatesec":"1794494057","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515715_4.jpg","pubcatdesc":"Unset","mposter_url":"","views":"70"},{"mid":"2515657","id":"2515657","length":"74","title":"Pierwsze, co robi fotoreporter na miejscu tragedii ","adddatesec":"1794491078","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515657_2.jpg","pubcatdesc":"Information","mposter_url":"","views":"63"},{"mid":"2515567","id":"2515567","length":"28","title":"Jak Sylwia Bomba dba o sylwetk\u0119? [wywiad archiwalny]","adddatesec":"1794485409","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515567_6.jpg","pubcatdesc":"Unset","mposter_url":"","views":"57"},{"mid":"2515555","id":"2515555","length":"72","title":"Sukiennice w dziurze po kuli. Kuba W\u0142odek o zdj\u0119ciu z ok\u0142adki \u201eWyborczej\"","adddatesec":"1794485120","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515555_6.jpg","pubcatdesc":"Information","mposter_url":"","views":"60"},{"mid":"2493809","id":"2493809","length":"28","title":"Jaki typ m\u0119\u017cczyzny ma Anna Wendzikowska?","adddatesec":"1792075296","poster_url":"https://cdnt.onnetwork.tv/poster/2/4/2493809_4.jpg","pubcatdesc":"Unset","mposter_url":"","views":"47"},{"mid":"2494760","id":"2494760","length":"54","title":"Dok\u0105d nastolatka moga zaprowadzi\u0107 algorytmy TikToka","adddatesec":"1792158132","poster_url":"https://cdnt.onnetwork.tv/poster/2/4/2494760_2.jpg","pubcatdesc":"Unset","mposter_url":"","views":"292"},{"mid":"2496497","id":"2496497","length":"95","title":"Czy kobiety maj\u0105 trudniej w kokpicie?","adddatesec":"1792413908","poster_url":"https://cdnt.onnetwork.tv/poster/2/4/2496497_6.jpg","pubcatdesc":"Unset","mposter_url":"","views":"223"},{"mid":"2514055","id":"2514055","length":"45","title":"Kwa\u015bniewski by\u0142 cz\u0142owiekiem dialogu, Nawrocki jest cz\u0142owiekiem boksu","adddatesec":"1794315351","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2514055_5.jpg","pubcatdesc":"Unset","mposter_url":"","views":"73"},{"mid":"2515374","id":"2515374","length":"47","title":"Bogdan \u015awi\u0119czkowski pojawi\u0142 si\u0119 przed Trybuna\u0142em Konstytucyjnym","adddatesec":"1794475401","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2515374_1.jpg","pubcatdesc":"Unset","mposter_url":"","views":"85"},{"mid":"2510681","id":"2510681","length":"81","title":"Joanna Jab\u0142czy\u0144ska o konflikcie z Dorot\u0105 Szel\u0105gowsk\u0105: Poczu\u0142am si\u0119 bardzo zraniona","adddatesec":"1793895761","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2510681_3.jpg","pubcatdesc":"Unset","mposter_url":"","views":"59"},{"mid":"2511186","id":"2511186","length":"97","title":"Elon Musk przed komisj\u0105? Demokraci chc\u0105 go rozliczy\u0107","adddatesec":"1793960293","poster_url":"https://cdnt.onnetwork.tv/poster/2/5/2511186_2.jpg","pubcatdesc":"Unset","mposter_url":"","views":"196"}],"frid":2515736,"widgetId":1657,"devicetype":"desktop","isIos":0,"firstmidvideo":"MjUxNTczNiw5eDE2LDAsNTAsNTg5OSwxNjY5NywwLDAsMSw1MCwwLDAsMCwwLDEsMSwwLDAsMSwwLDAsMCwxLDAsMCwwLDAsMDswOy0xOy0xO1RMOzA7MDswOzU2LDAsMCwxLDAsMCwwOzA7MDswOzA7MDswLDA=","defsd":{"playlist":"5899","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","reelMovieAddDateShow":"0","reelMovieAddDatePosition":"0","reelMovieAddDateMargin":"8px 4px","reelMovieAddDatePadding":"","reelMovieAddDateColor":"","reelMovieAddDateBackground":"","reelMovieAddDateFont":"","reelMovieAddDateFontSize":"9","reelMovieAddDateCustomCss":"","reelMovieCategoryShow":"0","reelMovieCategoryPosition":"0","reelMovieCategoryMargin":"8px 4px","reelMovieCategoryPadding":"","reelMovieCategoryColor":"","reelMovieCategoryBackground":"","reelMovieCategoryFont":"","reelMovieCategoryFontSize":"9","reelMovieCategoryCustomCss":"","reelBehaviourNoPrefetch":"0","reelBehaviourLowerPosterSized":"0","reelBehaviourLowerPosterSizem":"0","reelViewsShow":"0","reelViewsPosition":"0","reelViewsColor":"rgba(255,255,255,1)","reelViewsMargin":"1px 4px","reelTimerShowPlayIcon":"0"},"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 = '