PageSourceSearch

https://ltw365.com/static/js/HubStreamlyVideoModule.adfc850a.chunk.js

js ltw365.com collected 2026-10-08 19:58:41 UTC 5,501 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[9902],{5916(e,o,t){t.d(o,{d:()=>V,M:()=>O});var l=t(76998),s=t(75523),r=t(65361),a=t(86273),n=t(95549),d=t(85609),i=t(79253),c=t(95587),u=t(81567),h=t(34156),m=t.n(h),p=t(66899);const _="Dropdown_wrapper__7snXi",v="Dropdown_select__bFr58",f="Dropdown_label__7EmMB",w="Dropdown_arrowIcon__MVdYI",x="Dropdown_expandMoreRoundedIcon__Kcld+",g="Dropdown_expandLessRoundedIcon__XtANv",j="Dropdown_dropdown__67b4K",b="Dropdown_scroller__LDifD",F="Dropdown_option__DsiVv",L="Dropdown_selected__fVhWM",N="Dropdown_resetButton__pc4-H",C="Dropdown_bottomArrow__gVWzT",T="Dropdown_opened__AXtk3";var D=t(23446);function R(e){const{name:o,options:t,selectedOption:r,label:a,onChange:n,onResetFilter:d}=e,[i,c]=(0,l.useState)(!1),u=(0,p.j)(i,()=>{c(!1)}),{watch:h}=(0,s.xW)(),R=h(o),A=m()(_,{[T]:i});return(0,D.jsxs)("div",{ref:u,className:A,children:[(0,D.jsxs)("div",{onClick:()=>{c(!i)},className:v,children:[(0,D.jsx)("span",{className:f,children:r?r.label:a}),(0,D.jsx)("span",{className:m()(w,"material-icons",{[x]:!i,[g]:i})})]}),i&&(0,D.jsxs)("div",{className:j,children:[(0,D.jsxs)("div",{className:b,children:[R.length>0&&(0,D.jsx)("div",{onClick:d,className:m()(F,N),children:"Reset filter"}),t.map(e=>(0,D.jsx)("div",{onClick:()=>{var o;o=e.value,n(o),c(!1)},className:m()(F,{[L]:e.selected}),children:e.label},e.value))]}),(0,D.jsx)("div",{className:C,children:(0,D.jsx)("span",{className:m()(w,x,"material-icons")})})]})]})}function A(e){const{facets:o,facetType:t,name:r,onResetFilter:a,label:n}=e,{setValue:d}=(0,s.xW)(),i=o[t],c=(0,l.useMemo)(()=>null===i||void 0===i?void 0:i.map(e=>({label:e.label,value:e.filterValue.values[0],selected:e.selected})),[i]),u=null===c||void 0===c?void 0:c.find(e=>e.selected),h=(0,l.useCallback)(e=>{d(r,[e])},[r,d]);return c?(0,D.jsx)(R,{name:r,options:c,selectedOption:u,onChange:h,label:n,onResetFilter:a}):null}var E=t(32383);const y={logoWrapper:"BrandLogo_logoWrapper__v8-Tm",heading:"BrandLogo_heading__g-lQY"};var M=t(71992);function B(e){const{logo:o,alt:t,urlEmailAddress:l,heading:s}=e;if(null===o||void 0===o||!o.path)return null;const r=(0,D.jsx)(E.Ay,{src:null===o||void 0===o?void 0:o.path,alt:t,testId:"brand-logo-image"});return(0,D.jsxs)("div",{className:y.wrapper,children:[s&&(0,D.jsx)("div",{className:y.heading,children:s}),(0,D.jsx)("div",{className:y.logoWrapper,children:l?(0,D.jsx)(M.M,{to:l,children:r}):r})]})}var I=t(34993);let O=function(e){return e[e.ONE=1]="ONE",e[e.TWO=2]="TWO",e[e.THREE=3]="THREE",e[e.FOUR=4]="FOUR",e}({});function V(e){const{module:{"@type":o,title:t,titleSize:l,introText:a,filterTitle:h,discovery:{facets:m}={},elementId:p,filterPosition:_,brandLogoDisplayed:v,brandLogo:f},moduleName:w,brandName:x,defaultValues:g,theme:j,resultsCount:b,showMoreButtonURL:F,bottomShowMoreButtonLabel:L,topShowMoreButtonLabel:N,showLeftFilter:C,showTopFilter:T,children:R,testId:E}=e,y=(0,s.mN)({defaultValues:g}),M=y.watch(),O=(0,u.QF)(g,y.getValues()),{handleFilterChange:V}=(0,n.j)({module:e.module,moduleName:w,brandName:x});return(0,D.jsx)(d.x,{type:o,theme:j,elementId:p,testId:E,children:(0,D.jsx)(i.Uv,{heading:t&&(0,D.jsx)(i.Aw,{heading:t,titleSize:l,text:a}),leftFilter:(0,D.jsx)(i.zC,{form:y,onChangeFilter:V,children:(0,D.jsx)(i.mL,{heading:h,onResetFilter:()=>y.reset(g),disableResetFilter:O,children:m&&(0,D.jsx)(c.ZZ,{facets:m})})}),showLeftFilter:C,topFilter:m&&(0,D.jsx)(i.zC,{form:y,onChangeFilter:V,children:(0,D.jsx)(A,{name:"sectors",label:"Choose an Interest",facets:m,facetType:r.Cw.SECTORS,onResetFilter:()=>y.reset(g)})}),showTopFilter:T,showMoreButton:(0,D.jsx)(I.A,{count:b,filterPosition:_,url:F,bottomButtonLabel:L,topButtonLabel:N,query:M}),brandLogo:v&&(0,D.jsx)(B,{heading:null===f||void 0===f?void 0:f.heading,logo:null===f||void 0===f?void 0:f.logo,alt:null===f||void 0===f?void 0:f.alt,urlEmailAddress:null===f||void 0===f?void 0:f.urlEmailAddress}),children:R})})}V.defaultProps={theme:a.gG.Light,showFilter:!1}},89702(e,o,t){t.r(o),t.d(o,{default:()=>v});var l=t(76998),s=t(24241),r=t(5916),a=t(79253),n=t(17223),d=t(5040),i=t(2883),c=t(81567),u=t(86273),h=t(12669),m=t(15228),p=t(72830),_=t(23446);function v(e){const{module:o,testId:t}=e,{brandName:v}=(0,h.E)(),{params:f,handleCleanParams:w,handleUpdateParams:x}=(0,m.Ej)(),g=(0,s.N)(i.xV),{featuredRowsCount:j,discovery:{records:b=[]}={},searchQueryData:F,filterPosition:L}=o,N=L===u.UC.LEFT,C=L===u.UC.TOP,T=(0,c.uy)(F.facetsConfig),D=T&&N,R=T&&C,A=(0,l.useMemo)(()=>({sectors:[],topics:[],accessTypes:[],createdTimeFrame:[],mainFilterTopic:g}),[g]),{results:E=[],count:y=0}=(0,c.xC)(u.jq.STREAMLY_VIDEO,b),M=(0,l.useMemo)(()=>E.filter(e=>e.featuredType!==d.u6.LARGE).slice(0,r.M[j]*(D?3:4)),[E,j,D]),B=(0,l.useMemo)(()=>E.filter(e=>e.featuredType===d.u6.LARGE),[E]);return(0,_.jsxs)(r.d,{module:o,moduleName:"streamly-videos",brandName:v,defaultValues:A,resultsCount:y,showLeftFilter:D,showTopFilter:R,bottomShowMoreButtonLabel:"Search All Video",topShowMoreButtonLabel:"Browse All Video",showMoreButtonURL:"/videos",testId:t,children:[(0,_.jsx)(a.ho,{products:M,featuredProducts:B,renderFeaturedProduct:e=>(0,_.jsx)(n.Ay,{data:e,cardType:"list",showFilter:T,testId:"featured-video-card",onOpen:x}),renderProduct:e=>(0,_.jsx)(n.Ay,{data:e,onOpen:x}),productsCountPerRow:D?"three":"four"}),f&&(0,_.jsx)(p.A,{open:!!f,videoParams:f,onClose:w})]})}v.defaultProps={testId:"hub-streamly-video-module"}}}]);
2//# sourceMappingURL=HubStreamlyVideoModule.adfc850a.chunk.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.