(window.webpackJsonp=window.webpackJsonp||[]).push([[113],{"2FW6":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n("wurE"),r=n.n(a).a.div.withConfig({componentId:"sc-10klk9l-0"})(["display:flex;flex:1;"])},"45Jd":function(e,t,n){"use strict";var a=n("wurE"),r=n.n(a),i=n("D5ie"),o=n("Qi1R"),c=n("uXGu"),s=r()(c.a).attrs((function(e){return{name:"arrow03",size:"s",fill:e.secondaryMode?i.Gk:i.mo,height:Object(o.J)(36)}})).withConfig({componentId:"ygyrnb-0"})(["color:",";cursor:pointer;appearance:none;"],(function(e){return e.secondaryMode?i.Gk:i.mo}));t.a=s},"5fyt":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("D5ie"),o=n("uXGu"),c=function(e){var t=e.fill,n=void 0===t?i.Pb:t;return r.a.createElement(o.a,{fill:n,name:"bet-builder-label",height:"15"})};t.a=c},"8kE8":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("FblQ"),o=n("wurE"),c=n.n(o),s=n("Qi1R"),l=c.a.div.withConfig({componentId:"sc-1mpkg10-0"})(["position:relative;"]),u=c.a.img.attrs((function(e){var t=e.name;return{width:Object(s.J)(48),height:Object(s.J)(32),alt:t}})).withConfig({componentId:"sc-1mpkg10-1"})(["overflow:hidden;min-width:",";vertical-align:middle;border-radius:",";"],Object(s.J)(44),Object(s.J)(4)),d=function(e){var t,n=e.name;return r.a.createElement(l,null,r.a.createElement(u,{src:i.flags[(t=n,t.toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))],name:n}))};t.a=d},AuNk:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("iZzW"),o=n("wurE"),c=n.n(o),s=n("rOcY"),l=n("Qi1R"),u=n("D5ie"),d=n("9FAq"),g=s.y?Object(o.css)(["font-family:"," !important;font-style:italic;justify-content:flex-start;"],d.e):Object(o.css)(["font-family:",";justify-content:center;"],d.d),f=c.a.div.withConfig({componentId:"sc-18tmk8k-0"})(["box-sizing:border-box;position:absolute;border-radius:",";display:flex;align-items:center;font-size:",";text-transform:uppercase;max-width:90%;white-space:nowrap;overflow:hidden;z-index:1;height:",";padding:",";",";",""],Object(l.J)(8),Object(l.J)(24),Object(l.J)(30),Object(l.J)(2,10,0,10),(function(e){var t=e.top,n=void 0===t?18:t,a=e.disableRightOffset,r=void 0!==a&&a,i=e.badgeMode;return Object(o.css)(["right:",";top:",";",";"],r?0:Object(l.J)(-10),Object(l.J)(-n),function(e){switch(e){case"secondary":return Object(o.css)(["color:",";background:",";"],u.lo,u.R);default:return Object(o.css)(["color:",";background:",";"],u.S,u.Q)}}(i))}),g),p=function(e){var t=e.badge,n=e.disableRightOffset,a=e.top;return r.a.createElement(f,{disableRightOffset:n,top:a,badgeMode:"NEW"===t.type?"secondary":""},r.a.createElement(i.a,{id:t.text}))};t.a=p},"E8R/":function(e,t,n){"use strict";var a=n("XSEl"),r=n("ymme"),i=n("FvK5"),o=n("YMdE"),c=n("mXGw"),s=n.n(c),l=(n("Pdmf"),n("rOcY")),u=n("qGSj"),d=n("Qi1R"),g=n("5fyt"),f=n("wurE"),p=n.n(f),b=n("D5ie"),m=n("uXGu"),h=p.a.div.withConfig({componentId:"sc-1brulkw-0"})(["padding:",";background-color:",";border-radius:",";display:flex;align-items:center;"],Object(d.J)(8,8,8,6),b.Fk,Object(d.J)(8)),v=p()(m.a).attrs((function(){return{name:"sport-price-boost",fill:b.Ek}})).withConfig({componentId:"sc-1brulkw-1"})([""]),O=p.a.span.withConfig({componentId:"sc-1brulkw-2"})(["color:",";font-size:",";line-height:1;"],b.Ek,Object(d.J)(24)),w=function(e){var t=e.boostsOutrights;return s.a.createElement(h,null,s.a.createElement(v,null),s.a.createElement(O,null,t))},E=n("nxc8"),y=n("I2FV"),j=p.a.div.withConfig({componentId:"sc-10e4yro-0"})(["display:flex;align-items:center;border-bottom:"," solid ",";width:100%;cursor:pointer;",";overflow:hidden;background-color:",";"],Object(d.J)(2),b.Ym,(function(e){var t=e.isOutright,n=e.showDate;return t||n?Object(f.css)(["min-height:",";"],Object(d.J)(80)):Object(f.css)(["height:",";"],Object(d.J)(112))}),(function(e){return e.horseSection&&!l.F?b.Zl:"inherit"})),I=p()(y.a).withConfig({componentId:"sc-10e4yro-1"})(["width:100%;"]),C=p.a.div.withConfig({componentId:"sc-10e4yro-2"})(["cursor:pointer;box-sizing:border-box;padding:",";min-height:",";padding-left:",";"],Object(d.J)(21,24,21,24),Object(d.J)(96),(function(e){var t=e.showPin,n=e.type;return t?n===l.L?Object(d.J)(94):0:Object(d.J)(24)})),x=p.a.div.withConfig({componentId:"sc-10e4yro-3"})(["display:flex;background-color:",";text-align:center;border-right:"," solid ",";min-width:",";"],b.Yd,Object(d.J)(2),b.Zl,Object(d.J)(80)),S=p()(m.a).attrs((function(e){var t=e.active;return{name:t?l.Jf.PIN_SELECTED:l.Jf.PIN,fill:t?b.u:b.Gk,size:"s"}})).withConfig({componentId:"sc-10e4yro-4"})(["margin:",";z-index:1;"],Object(d.J)(0,28)),P=p.a.div.withConfig({componentId:"sc-10e4yro-5"})(["width:100%;border-spacing:",";display:flex;align-items:center;font-size:",";"],Object(d.J)(4),Object(d.J)(28)),T=p.a.div.withConfig({componentId:"sc-10e4yro-6"})(["display:flex;justify-content:left;color:",";font-size:",";max-width:100%;flex:1;padding:",";",";",";"],b.Zm,Object(d.J)(28),Object(d.J)(12,8,8,0),(function(e){var t=e.isOutright,n=e.showDate;return t||n?null:Object(d.M)()}),(function(e){var t=e.showDate,n=e.withoutIcons;return t||n?Object(f.css)(["display:inline;"]):null})),k=p.a.div.withConfig({componentId:"sc-10e4yro-7"})(["padding-right:",";"],Object(d.J)(16)),J=p.a.span.withConfig({componentId:"sc-10e4yro-8"})(["color:",";white-space:nowrap;"],b.Zm),R=p.a.div.withConfig({componentId:"sc-10e4yro-9"})(["flex:1;min-width:0;"]),D=p.a.div.withConfig({componentId:"sc-10e4yro-10"})(["display:flex;align-items:center;min-width:0;",";"],(function(e){return e.showArrow?"flex-grow: 1;":""})),z=p.a.div.withConfig({componentId:"sc-10e4yro-11"})(["display:flex;align-items:center;flex-grow:1;justify-content:flex-end;& >:last-child{margin-left:",";}"],Object(d.J)(16)),L=p.a.div.withConfig({componentId:"sc-10e4yro-12"})(["height:",";"],Object(d.J)(30)),M=function(){function e(e,t){for(var n=0;n0&&s.a.createElement(E.a,null)),s.a.createElement(z,null,c.map((function(e){return e===l.tg.BET_BUILDER&&t.getIn(["counters","betBuilder"])?s.a.createElement(L,null,s.a.createElement(g.a,null)):e===l.tg.PRICE_BOOSTS&&p?s.a.createElement(w,{boostsOutrights:p}):null})),f&&s.a.createElement(m.a,{name:"arrow02",size:"xs"})))}}]),t}(c.PureComponent),A=function(e){var t=e.name,n=e.setPageHeaderText,a=e.setActiveSportId,r=e.sportId,i=e.type;return function(){n(t),"Sport"===i&&a(r)}},N=function(e){var t=e.itemData,n=e.isFavoriteSelectionEnabled,a=e.navigationUrl,r=e.isCoupon,i=e.children,o=e.isOutright,c=e.setPageHeaderText,d=e.showDate,g=e.toggleCategoryPin,f=e.showPin,p=e.countryCode,b=e.index,m=e.azSections,h=e.setTooltipTrigger,v=e.categoryId,O=e.withoutIcons,w=e.setActiveSportId,E=e.horseSection,y=e.azPromoBadges,P=s.a.createElement(C,{showPin:f,type:t.get("type")},s.a.createElement(H,{itemData:t,isFavoriteSelectionEnabled:n,isOutright:o,showDate:d,isCoupon:r,withoutIcons:O,azPromoBadges:y},!r&&!O&&s.a.createElement(u.a,{type:t.get("type"),sportId:t.get("id"),iconUrl:t.get("iconUrl"),countryCode:t.get("countryCode")||p,sportIconHeightPt:48,sportIconSize:"xl"})));return s.a.createElement(j,{isOutright:o,showDate:d,azSections:m,horseSection:E},f&&t.get("type")!==l.L&&s.a.createElement(S,{active:t.get("isFavorite"),onClick:g(t.get("id"),b,t.get("isFavorite"),t.get("type"))}),s.a.createElement(R,{onClick:A({name:t.get("name",""),setPageHeaderText:c,setActiveSportId:w,sportId:t.get("id"),type:t.get("type")})},i&&s.a.createElement(x,null,i),s.a.createElement(I,{to:a,onClick:m?function(){var e,t,n;e=document.body,t=document.documentElement,n=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight),window.scrollY>.3*n&&(v?v===l.gb&&h(l.Xh.types.pinLeague):h(l.Xh.types.pinSport))}:void 0,rel:t.has("navigationUrl")||E?"nofollow":null},P)))};N.defaultProps={url:"",isOutright:!1,isCoupon:!1,showDate:!1,navigatoinUrl:"",toggleCategoryPin:function(){return null},showPin:!1,horseSection:!1};var F=N,X=Object(a.connect)((function(e){return{azPromoBadges:e.getIn(["appConfig","features","promoBadges","az"],Object(i.List)([]))}}),(function(e){return Object(r.bindActionCreators)({setPageHeaderText:o.qc.setPageHeaderText,setTooltipTrigger:o.gd.setTooltipTrigger,setActiveSportId:o.e.setActiveSportId},e)}))(F);t.a=X},I5ep:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("D5ie"),o=n("goda"),c=n("wurE"),s=n.n(c),l=n("Qi1R"),u=s.a.div.withConfig({componentId:"sc-2btoba-0"})(["",";& > svg{position:",";z-index:100;",";",";}",";"],(function(e){return e.localLoading&&Object(c.css)(["position:relative;display:flex;flex-grow:1;"])}),(function(e){return e.localLoading&&!l.Ed?"absolute":"fixed"}),(function(e){var t=e.localLoading,n=e.windowRelativeLoading;return Object(c.css)(["left:calc(50% - ",");"],Object(l.J)(t||n||l.Ed?50:174))}),(function(e){var t=e.topValue;return Object(c.css)(["top:calc("," + 50% - ",");"],Object(l.J)(t),Object(l.J)(50))}),(function(){return l.Ed&&Object(c.css)(["left:0;display:flex;align-items:center;justify-content:center;width:100vw;"])})),d=function(e){var t=e.localLoading,n=e.topValue,a=e.windowRelativeLoading;return r.a.createElement(u,{localLoading:t,topValue:n,windowRelativeLoading:a},r.a.createElement(o.a,{color:i.Gk}))};d.defaultProps={topValue:0,localLoading:!1,windowRelativeLoading:!1};var g=d;t.a=g},"Io+6":function(e,t,n){"use strict";var a=n("tOpy"),r=n("FvK5");t.a=Object(a.createSelector)((function(e){return e.getIn(["mev","events"],Object(r.List)())}),(function(e){return e.getIn(["removedEntities","events"],Object(r.Set)())}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object(r.List)(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(r.List)();return e.filter((function(e){return!t.includes(e)}))}))},QrBv:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("D5ie"),o=n("uXGu"),c=n("wurE"),s=n.n(c),l=n("Qi1R"),u=s.a.img.attrs((function(e){var t=e.url,n=e.heightPt;return{src:t,height:Object(l.J)(n)}})).withConfig({componentId:"b9rean-0"})([""]),d=s.a.div.withConfig({componentId:"b9rean-1"})(["position:relative;color:",";height:",";"],(function(e){return e.color}),(function(e){var t=e.heightPt;return Object(l.J)(t)})),g=function(e){var t=e.name,n=e.size,a=e.fill,i=e.stroke,c=e.iconUrl,s=e.heightPt;return r.a.createElement(d,{heightPt:s,color:a},c?r.a.createElement(u,{url:c,heightPt:s}):r.a.createElement(o.a,{name:t,size:n,fill:a,stroke:i}))};g.defaultProps={name:"",size:"m",fill:i.Gk,iconUrl:null,heightPt:40};var f=g;t.a=f},R67J:function(e,t,n){"use strict";var a=n("XSEl"),r=n("ymme"),i=n("mpt1"),o=n("FvK5"),c=n("BmqR"),s=n("Qi1R"),l=n("rOcY"),u=n("YMdE"),d=n("mXGw"),g=n.n(d),f=n("iqf+"),p=n("wurE"),b=n.n(p).a.div.withConfig({componentId:"lz601x-0"})(["display:flex;align-items:center;"]),m=function(e){return g.a.createElement(b,null,g.a.createElement(f.c,e))},h=Object.assign||function(e){for(var t=1;t0?t.map((function(e){return h.a.createElement(I.a,{key:e.id,itemData:Object(o.fromJS)(e),navigationUrl:e.navigationUrl,isFavoriteSelectionEnabled:!1,isFavorite:!1,isOutright:!0,isCoupon:!0})})):h.a.createElement(j.a,{id:"empty.events"}))})),S=n("wurE"),P=n.n(S),T=n("D5ie"),k=n("iZbN"),J=P.a.div.withConfig({componentId:"sc-15jdtzc-0"})(["box-sizing:border-box;",";background:",";"],(function(e){var t=e.categoryHasEventGroups;return s.Ed&&!t&&Object(S.css)(["padding-top:",";"],Object(s.J)(c.Rc+10))}),T.nk),R=P()(k.a).withConfig({componentId:"sc-15jdtzc-1"})(["box-shadow:"," ",";"],Object(s.J)(0,0,12,4),Object(s.ze)(.8,T.Gk)),D=function(e){var t=e.categoryId,n=e.pageHeaderText,a=e.loading,r=e.events,i=e.categoryHasEventGroups,o=e.tabsOptions,c=e.sportName;return h.a.createElement(J,{categoryHasEventGroups:i},h.a.createElement(R,null,h.a.createElement(w.a,null,h.a.createElement(E.a,{left:h.a.createElement(O.a,null),title:h.a.createElement(v.a,null,n)}),!a&&!i&&h.a.createElement(y.a,{tabsOptions:o,categoryId:t,pageHeaderText:n,sportName:c}))),h.a.createElement(x,{events:r,loading:a}))},z=null,L=function(e){var t=e.categoryId,n=e.fetchEvents;n({categoryId:t,withLoading:!0}),clearInterval(z),z=setInterval((function(){return n({categoryId:t})}),c.we)},M={componentDidMount:function(){this.props.setPerformancePageValue(this.props.categoryId),L(this.props)},componentDidUpdate:function(e){var t=this.props,n=t.categoryId,a=t.sportCategoryId,r=t.categoryTitle,i=t.pageHeaderText,o=t.setPageHeaderText,c=t.setActiveSportId;e.sportCategoryId!==a&&c(a),e.categoryId!==n&&L(this.props),r&&i!==r&&o(r)},componentWillUnmount:function(){clearInterval(z),z=null,this.props.cleanEvents(),this.props.cleanCategories()}},G=Object(i.compose)(Object(i.setDisplayName)("SpecialsMEVContainer"),Object(r.connect)((function(e,t){var n=t.match.params.categoryId,a=e.getIn(["categoryEntities",n,"events","0"],null),r=e.getIn(["eventEntities",a,"categories"],Object(o.List)()),i=r.last(Object(o.Map)()).get("id"),d=r.some((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object(o.Map)();return e.get("eventGroupType")===c.se.OUTRIGHT}));return{categoryTitle:Object(u.a)(e,n),categoryId:n,sportCategoryId:i,events:f(e,n),pageHeaderText:e.get("pageHeaderText"),loading:e.getIn(["fetch","loading",Object(s.T)(l.ec.SPECIALS_MEV_EVENTS_SUCCESS)],!1),categoryHasEventGroups:d,sportName:r.getIn(["1","name"],"")}}),(function(e){return Object(a.bindActionCreators)({fetchEvents:l.ec.fetchSpecialsEvents,cleanEvents:l.ec.cleanEvents,setPageHeaderText:l.qc.setPageHeaderText,setActiveSportId:l.e.setActiveSportId,cleanCategories:l.E.cleanCategories,setPerformancePageValue:l.sc.setPerformancePageValue},e)})),Object(i.lifecycle)(M),p.a,Object(b.a)(c.hh.LEAGUE_OVERVIEW,{tabId:c.ih.SPECIALS}))(D);t.default=G},bi6Q:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("wEAm"),o=n("45Jd"),c=n("dZDY"),s=function(e){var t=e.closeIcon,n=e.replace,a=e.pageInModal,s=e.secondaryMode;return r.a.createElement(c.a,{replace:n},t?r.a.createElement(i.a,{pageInModal:a,secondaryMode:s}):r.a.createElement(o.a,{secondaryMode:s}))};s.defaultProps={closeIcon:!1,replace:!1,secondaryMode:!1};var l=s;t.a=l},eE6m:function(e,t,n){"use strict";var a=n("tOpy");t.a=Object(a.createSelector)((function(e){return e.get("eventEntities")}),(function(e,t){return t}),(function(e,t){var n=e.find((function(e){return e.get("categoryId")===t}));return n?n.getIn(["categories","0","name"]):""}))},g0GF:function(e,t,n){"use strict";var a=n("mpt1"),r=n("rOcY"),i=n("Qi1R");t.a=Object(a.compose)(Object(a.withProps)((function(e){var t=e.sportId,n=e.eventGroupType;if(e.loading)return{tabsOptions:[]};var a=r.Th.mevTabs;return n===r.se.H2H?a=r.Th.mevEventGroupsTabs:n&&(a=[]),t&&(r.Th.mevTabs[0].label=Object(i.Ec)(t)),{tabsOptions:a}})))},"iqf+":function(e,t,n){"use strict";n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return v}));var a=n("mXGw"),r=n.n(a),i=n("BmqR"),o=n("rOcY"),c=n("Qi1R"),s=n("YMdE"),l=n("iZzW"),u=n("AuNk"),d=n("QH1u"),g=n("wurE"),f=n.n(g),p=n("D5ie"),b=n("2FW6"),m=Object(g.css)(["position:relative;font-weight:bold;color:",";opacity:1;&::after{display:block;position:absolute;bottom:",";left:0;width:100%;height:",";background:",";content:'';}"],p.tn,Object(c.J)(0),Object(c.J)(4),p.tn),h=Object(g.css)(["position:relative;font-size:",";height:100%;opacity:",";text-align:center;line-height:",";text-decoration:none;color:",";cursor:pointer;display:block;white-space:nowrap;padding:",";box-sizing:border-box;min-width:",";flex-basis:0;flex-grow:1;"],Object(c.J)(28),(function(e){return e.disabled?.5:1}),Object(c.J)(80),p.sn,Object(c.J)(0,8),Object(c.J)(180)),v=f.a.div.withConfig({componentId:"boivzc-0"})(["",";",";"],h,(function(e){return e.active&&m})),O=f()(i.NavLink).withConfig({componentId:"boivzc-1"})(["",";&.active{",";}"],h,m),w=f.a.div.withConfig({componentId:"boivzc-2"})(["position:relative;margin-right:",";"],(function(e){return e.decreasedMargin||c.Ed?"10%":"30%"})),E=f()(b.a).withConfig({componentId:"boivzc-3"})(["height:",";align-items:center;overflow-x:auto;overflow-y:hidden;padding-top:",";"],Object(c.J)(o.Rc),(function(e){return e.additionalPadding?Object(c.J)(20):0})),y=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["label","href","externalLink","SBMaintenanceTextId","disabled","SBMaintenanceRelative","badge","historyReplace","SBMaintenanceUrl","tooltipId"]);if(s)return r.a.createElement(v,{key:a,onClick:I(n,x,o,y({href:c,externalLink:s},T))},r.a.createElement(l.a,{id:a}));var J=y({href:c,externalLink:s,disabled:p},T),R=m&&g?function(e,t){return function(n){n.preventDefault(),t(e)}}(d,S):I(n,x,o,J),D=P.pathname===c||Object(i.matchPath)(P.pathname,{path:T.basePath,exact:!0})||Object(i.matchPath)(P.pathname,{path:T.smartPath,exact:!0})||Object(i.matchPath)(P.pathname,{path:T.sevPath,exact:!0}),z=void 0!==E?E:b;return r.a.createElement(O,{to:g&&j?j:c,key:a,onClick:R,disabled:p||m&&g,replace:z,exact:f,isActive:function(){return D},ref:D?k:null,id:C},h&&r.a.createElement(w,{decreasedMargin:t.length>4},r.a.createElement(u.a,{badge:h,top:0})),r.a.createElement(l.a,{id:a}))})))};t.c=C},qGSj:function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("rOcY"),o=n("Qi1R"),c=n("uXGu"),s=n("8kE8"),l=n("QrBv"),u=function(e){var t=e.type,n=e.sportId,a=e.countryCode,u=e.name,d=e.iconUrl,g=e.sportIconHeightPt,f=e.sportIconSize;return!t||t.toLowerCase()!==i.Zd.SPORT&&t!==i.L?t&&"competition"===t.toLowerCase()?r.a.createElement(s.a,{name:i.De[a]||i.De.INT}):t&&"icon"===t.toLowerCase()&&u?r.a.createElement(c.a,{name:u}):null:r.a.createElement(l.a,{name:Object(o.Dc)(n),iconUrl:d,heightPt:g,size:f})};t.a=u},"z/kE":function(e,t,n){"use strict";var a=n("mXGw"),r=n.n(a),i=n("XSEl"),o=n("FvK5"),c=n("rOcY"),s=n("Qi1R"),l=n("YMdE"),u=n("QH1u"),d=n("Qf+G"),g=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var o,c=e[Symbol.iterator]();!(a=(o=c.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(s){r=!0,i=s}finally{try{!a&&c.return&&c.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var f=t.tabId,p=t.matchParam;return function(t){var b=Object(u.a)([l.sc.setHandleDuration,l.sc.clearPerformanceData]),m=g(b,2),h=m[0],v=m[1],O=Object(i.useSelector)((function(e){return e.get("performance",Object(o.Map)())})),w=Object(i.useSelector)((function(e){return e.getIn(["appConfig","features","segmentTracking"],Object(o.Map)())}));return Object(d.a)(e,f,p),Object(a.useEffect)((function(){!O.get("handleDuration")&&O.get("fetchFinishedTime")&&O.get("parseFinishTime")&&h(Date.now()-O.get("parseFinishTime"))}),[O,t.performanceState]),Object(a.useEffect)((function(){if(O.get("handleDuration")&&O.get("fetchFinishedTime")&&Object.values(c.hh).includes(O.get("pageId",""))){var e=Math.round(O.get("initDuration",0)),t=O.get("fetchFinishedTime",0)-O.get("fetchStartedTime",0),n=Math.round(O.get("parseDuration",0)),a=Math.round(O.get("handleDuration",0));Object(s.le)(c.Xg.SCREEN,Object(o.Map)({name:O.get("pageId",""),tab:O.get("tabId"),value:O.get("value"),coupon_name:O.get("coupon_name"),init_duration:e,data_duration:t||void 0,parse_duration:n||void 0,handle_duration:a,total_duration:e+t+n+a,init_timestamp:(new Date).toISOString()}),{segmentTrackingBlacklist:w}),v()}}),[O,t.performanceState]),r.a.createElement(n,t)}}}}}]);