1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2653],{4222:function(n,e,t){var i,o=t(67294);function r(){return r=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)({}).hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},r.apply(null,arguments)}e.Z=function(n){return o.createElement("svg",r({width:"1em",height:"1em",viewBox:"0 0 19 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),i||(i=o.createElement("path",{d:"M1.998 1.834 9.5 10.17l7.502-8.335",stroke:"#fff",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round"})))}},42653:function(n,e,t){t.r(e),t.d(e,{default:function(){return J}});var i=t(90116),o=t(11163),r=t(67294),s=t(35190),a=t(62848),l=t(62333),c=t(86864),d=t(59499),p=t(19521),m=t(27297),u=t(4222),f=p.ZP.div.withConfig({displayName:"TimeLinestyles__TagsWrapper",componentId:"sc-17n6uka-0"})(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n max-height: 34px;\n overflow: hidden;\n color: #000;\n font-size: 18px;\n\n &:before {\n content: '\u05e1\u05e0\u05df:';\n margin-left: 8px;\n }\n\n div.timeLineTag {\n padding: 5px 12px;\n border: solid 1px #e5e5e5;\n cursor: pointer;\n margin-right: 10px;\n }\n\n div.all {\n background-color: ",";\n color: ",";\n }\n\n div.active {\n background-color: ",";\n color: #fff;\n }\n\n margin-bottom: 20px;\n "," {\n margin-bottom: unset;\n }\n"],(function(n){return"All"===n.theme.activeTag?n.theme.color:"#fff"}),(function(n){return"All"===n.theme.activeTag?"#fff":"#000"}),(function(n){return n.theme.color}),m.Uh.small),h=p.ZP.div.withConfig({displayName:"TimeLinestyles__MainItemWrapper",componentId:"sc-17n6uka-1"})(["\n position: relative;\n flex-grow: 0;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n padding: 0;\n [id^='timeline_box'] {\n min-width: 100%;\n text-align: center;\n }\n\n "," {\n flex-direction: row;\n }\n"],m.Uh.small),g=p.ZP.div.withConfig({displayName:"TimeLinestyles__TimeLineItem",componentId:"sc-17n6uka-2"})(["\n flex-grow: 0;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n justify-content: flex-start;\n gap: 10px;\n background-color: #fff;\n padding: 16px 22px;\n margin-bottom: 42px;\n font-size: 20px;\n position: relative;\n width: 100%;\n border: solid 1px ",";\n border-radius: 4px;\n\n ","\n\n "," {\n margin-bottom: 24px;\n border-radius: 0;\n border: solid 1px ",";\n &:not(.last):after {\n content: unset;\n }\n }\n"],m.O9.lightBlue,(function(n){return"last"!==n.theme?(0,p.iv)(["\n :after {\n position: absolute;\n right: 40px;\n content: '';\n background-color: ",";\n bottom: -25px;\n height: 25px;\n width: 1px;\n\n "," {\n bottom: -13px;\n height: 13px;\n }\n }\n "],m.O9.lightBlue,m.Uh.small):""}),m.Uh.small,m.O9.menuOptionGray),x=p.ZP.div.withConfig({displayName:"TimeLinestyles__ItemTitle",componentId:"sc-17n6uka-3"})(["\n font-size: 24px;\n font-weight: bold;\n text-align: right;\n color: #000;\n margin-top: 8px;\n\n "," {\n margin-top: unset;\n }\n\n a.itemTitleGrid {\n font-size: 22px;\n color: black;\n font-weight: 400;\n &:visited {\n text-decoration: none;\n }\n }\n"],m.Uh.small),y=p.ZP.div.withConfig({displayName:"TimeLinestyles__ItemContent",componentId:"sc-17n6uka-4"})(["\n overflow-y: hidden;\n display: inline;\n\n figcaption {\n margin-bottom: 40px;\n color: #939393;\n font-weight: 600;\n font-size: 20px;\n }\n\n p {\n position: relative;\n margin-top: 20px;\n }\n\n [class^='Playerstyles__WrapStyledPlayerComp'] {\n width: 100%;\n }\n"]),b=p.ZP.div.withConfig({displayName:"TimeLinestyles__Anchor",componentId:"sc-17n6uka-6"})(["\n position: absolute;\n top: -","px;\n display: block;\n"],(function(n){return n.headerHeight})),v=p.ZP.div.withConfig({displayName:"TimeLinestyles__WrapperFlex",componentId:"sc-17n6uka-7"})(["\n flex-grow: 0;\n display: flex;\n\n justify-content: flex-start;\n align-content: flex-start;\n flex-direction: column-reverse;\n padding: 0;\n margin-top: 14px;\n\n "," {\n flex-direction: row;
1\n align-items: center;\n margin-bottom: 28px;\n }\n"],m.Uh.small),w=p.ZP.div.withConfig({displayName:"TimeLinestyles__SelectContainer",componentId:"sc-17n6uka-8"})(["\n font-size: 18px;\n font-weight: 500;\n color: ",";\n min-width: 13.75%;\n margin-bottom: 30px;\n\n "," {\n margin-bottom: unset;\n }\n"],m.O9.darkBlue,m.Uh.small),j=p.ZP.div.withConfig({displayName:"TimeLinestyles__Select",componentId:"sc-17n6uka-9"})(["\n color: #000;\n cursor: pointer;\n position: relative;\n"]),k=p.ZP.div.withConfig({displayName:"TimeLinestyles__SelectValue",componentId:"sc-17n6uka-10"})(["\n display: inline-flex;\n gap: 3px;\n justify-content: center;\n align-items: center;\n color: #000;\n\n div {\n white-space: nowrap;\n overflow: hidden;\n }\n"]),_=p.ZP.div.withConfig({displayName:"TimeLinestyles__SelectDropBox",componentId:"sc-17n6uka-11"})(["\n border: 1px solid;\n padding: 2px 3px;\n position: absolute;\n top: 23px;\n display: ",";\n background-color: #fff;\n z-index: 100;\n"],(function(n){return n.theme.showDrop?"block":"none"})),P=p.ZP.div.withConfig({displayName:"TimeLinestyles__Option",componentId:"sc-17n6uka-12"})(["\n padding: 2px 4px;\n font-size: 16px;\n"]),T=(0,p.ZP)(u.Z).withConfig({displayName:"TimeLinestyles__ArrowRightIcon",componentId:"sc-17n6uka-13"})(["\n font-size: 11px;\n z-index: 1;\n pointer-events: auto;\n margin-top: -3px;\n color: #000;\n path {\n stroke: ",";\n }\n &.up {\n transform: rotate(180deg);\n }\n"],m.O9.darkBlue),C=p.ZP.div.withConfig({displayName:"TimeLinestyles__TimeWrapper",componentId:"sc-17n6uka-14"})(["\n display: flex;\n align-self: stretch;\n\n "," {\n max-width: 13.75%;\n width: 13.75%;\n padding-right: 30px;\n\n &.first {\n padding-top: 12px;\n }\n }\n"],m.Uh.small),I=p.ZP.div.withConfig({displayName:"TimeLinestyles__InnerTimeWrapper",componentId:"sc-17n6uka-15"})(["\n &.last {\n border: none;\n }\n\n ","\n"],(function(n){return n.theme.isLast?"":"\n ".concat(m.Uh.small,'{\n &:before {\n content: "";\n position: absolute;\n width: 1px;\n height: 100%;\n background-color: ').concat(n.theme.innerTimeWrapperColor,";\n top: 12px;\n }\n }\n ")})),N=p.ZP.div.withConfig({displayName:"TimeLinestyles__Time",componentId:"sc-17n6uka-16"})(["\n position: absolute;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: 20px;\n font-weight: 500;\n color: #fff;\n width: 64px;\n height: ","px;\n line-height: 0.9;\n flex-grow: 0;\n border-radius: 4px;\n z-index: 1;\n top: -","px;\n right: 9px;\n background-color: ",";\n\n &:not(.first) {\n :before {\n position: absolute;\n right: 50%;\n top: -12px;\n content: '';\n background-color: ",";\n height: 12px;\n width: 1px;\n }\n }\n\n "," {\n top: 12px;\n right: 0;\n\n :after {\n left: -55px;\n position: absolute;\n content: '';\n background-color: ",";\n width: 55px;\n height: 1px;\n bottom: 18px;\n }\n\n &:not(.first):before {\n left: -55px;\n position: absolute;\n content: '';\n background-color: ",";\n width: 55px;\n height: 1px;\n bottom: 18px;\n }\n\n &:not(.first) {\n :before {\n content: none;\n }\n }\n }\n\n ","\n"],36,18,(function(n){return n.theme.color}),(function(n){return n.theme.color}),m.Uh.small,(function(n){return n.theme.color}),(function(n){return n.theme.color}),(function(n){return n.theme.isToday?"":"\n span:first-child{\n font-size: 12px;\n font-weight: 400;\n }\n "})),L=p.ZP.div.withConfig({displayName:"TimeLinestyles__StyledAdWrap",componentId:"sc-17n6uka-17"})(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n margin-top: -30px;\n margin-bottom: 30px;\n position: relative;\n\n .line {\n display: none;\n }\n\n "," {\n margin-bottom: 24px;\n margin-top: 0;\n flex-direction: row;\n justify-content: space-between;\n border-right: ",";\n .line {\n display: inline-flex;\n content: '';\n height: 298px;\n background: ",";\n width: 1px;\n margin-right: 30px;\n margin-bottom: -48px;\n }\n\n [id^='timeline_box'] {\n text-align: center;\n width: 100%;\n }\n }\n"],m.Uh.small,(function(n){return n.theme.color}),(function(n){return n.theme.color})),O=p.ZP.div.withConfig({displayName:"TimeLinestyles__StyledColumn",componentId:"sc-17n6uka-18"})([""]),S=p.ZP.div.withConfig({displayName:"TimeLinestyles__StyledRow",componentId:"sc-17n6uka-19"})(["\n display: flex;\n"]),Z=t(85893);function E(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,i)}return t}function B(n){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};
1e%2?E(Object(t),!0).forEach((function(e){(0,d.Z)(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}return n}var D=function(n){var e=(0,r.useState)(!1),t=e[0],i=e[1],o=(0,r.useState)("\u05de\u05d9\u05d9\u05df \u05dc\u05e4\u05d9"),s=o[0],a=o[1],l=function(){return i(!t)},c=function(e){a(e[1]),n.sortElementsBysoDate(e[0]),l()};return(0,Z.jsx)(w,{className:"sortSelect",children:(0,Z.jsxs)(j,{className:"Selects",theme:B({},{}),children:[(0,Z.jsxs)(k,{onClick:l,children:[(0,Z.jsx)("div",{children:s}),(0,Z.jsx)(T,{className:t?"up":"down"})]}),(0,Z.jsxs)(_,{theme:{showDrop:t},children:[(0,Z.jsx)(P,{onClick:function(){return c(["newFirst","\u05de\u05d4\u05d7\u05d3\u05e9 \u05dc\u05d9\u05e9\u05df"])},children:"\u05de\u05d4\u05d7\u05d3\u05e9 \u05dc\u05d9\u05e9\u05df"}),(0,Z.jsx)(P,{onClick:function(){return c(["oldFirst","\u05de\u05d4\u05d9\u05e9\u05df \u05dc\u05d7\u05d3\u05e9"])},children:"\u05de\u05d4\u05d9\u05e9\u05df \u05dc\u05d7\u05d3\u05e9"})]})]})})},z=t(93967),A=t.n(z),F=t(65685),U=t(53428),W=t(277),M=function(n){var e=n.order,t=n.date,i=n.color,o=t.split(/[- :]/),r=new Date(Number(o[0]),Number(o[1])-1,Number(o[2]),Number(o[3]),Number(o[4]),Number(o[5])),s=new Date,a={isToday:r.toLocaleDateString("en-IL",{timeZone:"Asia/Jerusalem"})===s.toLocaleDateString("en-IL",{timeZone:"Asia/Jerusalem"}),color:i};return(0,Z.jsxs)(N,{theme:a,className:e,title:t,children:[!a.isToday&&(0,Z.jsx)("span",{children:[(0,W.vk)(r.getDate(),2),(0,W.vk)(r.getMonth()+1,2),r.getFullYear()].join(".")}),(0,Z.jsx)("span",{children:[(0,W.vk)(r.getHours(),2),(0,W.vk)(r.getMinutes(),2)].join(":")})]})},H=t(93261),R=function(n){var e=n.orderClassName,t=n.adIndex,i=n.isLast,a=n.index,l=n.el,c=n.data.data,d=n.color,p=void 0===d?"#b80000":d,m=(0,r.useRef)(),u=(0,s.g4)().headerHeight,f=new Date(c.createdOn),v=(0,o.useRouter)();return(0,r.useEffect)((function(){var n=v.asPath.split("#").pop();m.current&&n===c.id&&setTimeout((function(){m.current&&m.current.scrollIntoView({behavior:"smooth",block:"start",inline:"start"})}),1e3)}),[m,c.id,v]),(0,Z.jsxs)(r.Fragment,{children:[(0,Z.jsxs)(h,{children:[(0,Z.jsx)(C,{className:A()("rightSide"),children:(0,Z.jsx)(I,{className:A()(e),theme:{isLast:i,innerTimeWrapperColor:p},children:(0,Z.jsx)(M,{color:p,order:e,date:c.createdOn})})}),(0,Z.jsxs)(g,{theme:e,children:[(0,Z.jsx)(b,{headerHeight:u,ref:m,id:c.id},c.id),(0,Z.jsx)(F.$A,{grid_id:l[1].id,anchorId:c.id,children:(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(x,{children:c.post_title}),(0,Z.jsx)(y,{children:(0,U.r)({html:c.post_content,adMidArticle:!1,keyPrefix:"tlparser",bbProps:{anchorId:c.id,index:a,isTimeLine:!0,isBigBrother:v.asPath.includes("the-big-brother"),title:c.post_title,time:f.toTimeString().slice(0,5)}})})]})})]})]}),1==t&&(0,Z.jsxs)(L,{theme:{color:p},children:[(0,Z.jsx)("div",{className:"line"}),(0,Z.jsx)(H.Eb,{pos:1})]})]},"ti"+a)},G=function(n){var e=(0,r.useState)([]),t=e[0],i=e[1],o=n.timeline,s=n.tagFilterHandler,a=n.activeTag;return(0,r.useEffect)((function(){var n=o.elements,e=[],t=[];if(o&&n){t=[],e=[];var r=[];n.forEach((function(n){r.push(n.id),t=t.concat(n.tags)})),t.forEach((function(n){var t=n.term_id,i=e[t]&&e[t].counter?e[t].counter:0;e[t]={name:n.name,counter:i+1,id:n.term_id}})),e.sort((function(n,e){return n.counter<e.counter?1:-1})),i(e)}}),[o]),(0,Z.jsxs)(f,{theme:{color:o.header.favcolor,activeTag:a},children:[(0,Z.jsx)("div",{className:"timeLineTag all",onClick:function(){return s("All")},children:"\u05d4\u05db\u05dc"}),t.map((function(n,e){return(0,Z.jsx)("div",{id:n.id,className:A()(["timeLineTag",a===n.id?"active":"",n.id]),onClick:function(){return s(n.id)},children:n.name},e)}))]})},J=function(n){var e,t,d,p=(null===(e=n.data.Content.Item)||void 0===e?void 0:e.timeLines)||[],m=Object.keys(p)[0],u=p[m]||{elements:[]},f=(0,r.useState)(u.elements),h=f[0],g=f[1],x=(0,r.useState)("All"),y=x[0],b=x[1],w=(0,r.useRef)([]),j=(0,r.useContext)(s.av),k=(0,a.CU)(),_=k.showPlayer,P=k.handleClosePlayer,T=k.videos,C=(0,o.useRouter)().asPath.includes("the-big-brother");(0,r.useEffect)((function(){j.setElements(w.current)}),[n,j]),(0,r.useEffect)((function(){return document.body.style.overflow=_?"hidden":"auto",function(){document.body.style.overflow="auto"}}),[_]);var I=null===n||void 0===n||null===(t=n.data.Content)||void 0===t||null===(d=t.Item)||void 0===d?void 0:d.timeLines;if(!I)return null;var N=n.data.SEO,L=Object.keys(I)[0],E=I[L];return E?(w.current=E.elements,(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(S,{children:(0,Z.jsxs)(O,{children:[(0,Z.jsxs)(v,{children:[(0,Z.jsx)(D,{sortElementsBysoDate:function(n){var e="newFirst"===n?h:(0,i.Z)(h.reverse());g(e),j.setElements(e)}}),(0,Z.jsx)(G,{timeline:E,tagFilterHandler:function(n){var e=[];e="All"===n?w.current:w.current.filter((function(e){return e.tags.find((function(e){return e.term_id===n}))})),b(n),g(e),j.setElements(e)},activeTag:y})]}),function(n){return w.current?h.length>0&&Object.entries(h).map((function(e,t,i){var o=t+1===i.length,r={key:e[0],id:e[1].id+"Item",data:e[1]},s=t+1,a=p[Object.keys(p)[0]],l=0===t?"first":t+1===h.length?"last":"middle";return(0,Z.jsx)(R,{el:e,index:t,adIndex:s,orderClassName:l,isLast:o,SEO:n,data:r,color:a.header.favcolor},"TimeLineSubItem"+t)})):null}(N)]})},"tl_wrapper_"+L),C&&_&&(0,Z.jsx)(l.I,{isMiniSeries:!1,children:(0,Z.jsx)(c.q,{showPlayer:_,closePlayer:P,updatedPost:T,stagger:0,loop:!1,seekBarColor:"#1FB5F9",playerStyle:{borderCorner:"rounded",seekBar:"stacked",overlayPadding:20,overlayPaddingMobile:12,seekBarTimeSize:14,overlayInfoPaddingBottom:20,overlayInfoPaddingBottomMobile:12,overlayInfoGap:10}})})]})):null}}}]); 2//# sourceMappingURL=2653.0886e1456af55cce.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.