PageSourceSearch

https://www.karitraa.com/us/en/activebrands-core-web-components-mo…s-VideoPlayerModule-81cb8a2436fbc02cd0f3.js

js karitraa.com collected 2026-09-24 21:43:19 UTC 8,877 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9182,8537],{42872:function(l,n,i){i.r(n);var t=i(31461),e=i(51022),a=i(75892),o=i(52322),r=["isGrid"];n.default=function(l){var n=l.isGrid,i=void 0!==n&&n,u=(0,t.Z)(l,r),d=(0,a.hQ)()[0];return(0,o.jsx)("section",{className:d({marginBottom:i?0:"var(--margin-bottom-module)",aspectRatio:"var(--ratio-module-video-player)",width:"100%",maxHeight:"calc(100vh - var(--height-header))",height:"100%"}),children:(0,o.jsx)(e.default,Object.assign({},u))})}},51022:function(l,n,i){i.r(n),i.d(n,{default:function(){return y}});var t=i(55791),e=i(59476),a=i(47670),o=i(74034),r=i(56023),u=function(l){var n,i,t,e,a,o,u,d,s,c,m;switch(l.component){case"videoBynder":var _=(0,r.ZP)(l,"desktop.sm");return{autoPlay:"1"===l.autoplay,controls:"1"===l.controls||Boolean(null===(n=l.captions)||void 0===n?void 0:n.filename),loop:"1"===l.loop,muted:"1"===l.muted,playsInline:"1"===l.autoplay,poster:(null===(i=l.asset)||void 0===i||null===(t=i.item)||void 0===t||null===(e=t.derivatives)||void 0===e?void 0:e.thumbnail)||"",src:(null==_?void 0:_.src)||[],captions:(null===(a=l.captions)||void 0===a?void 0:a.filename)||""};case"videoElement":return{autoPlay:"1"===l.autoplay,controls:"1"===l.controls||Boolean(null===(o=l.captions)||void 0===o?void 0:o.filename),loop:"1"===l.loop,muted:"1"===l.muted,playsInline:"1"===l.autoplay,poster:(null===(u=l.poster)||void 0===u||null===(d=u[0])||void 0===d?void 0:d.filename)||"",src:(null===(s=l.video)||void 0===s||null===(c=s[0])||void 0===c?void 0:c.filename)||"",captions:(null===(m=l.captions)||void 0===m?void 0:m.filename)||""}}},d=i(2784),s=i(64213),c=i(99962),m=i(52322),_=function(l){var n=l.background,i=l.backgroundOverlay,t=l.heading,e=l.id,a=l.tag,o=l.paragraph,r=l.sbEditable,u=l.textColor,_=void 0===u?"black":u,p=l.videoSettings,g=(0,d.useState)(!1),v=g[0],x=g[1];return p?v?(0,m.jsx)(s.Z,Object.assign({$style:{backgroundColor:"var(--color-bg)"}},p)):(0,m.jsx)(c.Z,{background:n,backgroundLoading:"lazy",backgroundOverlay:i,heading:t,id:e,playButtonCallback:function(){return x(!0)},playButtonLabel:"Play",sbEditable:r,tag:a,paragraph:o,textColor:_}):null},p=i(19722),g=i(59735),v=i(7145),x=i(19708),y=function(l){var n=l.content,i=void 0===n?{}:n,r=l.isFourColumns,d=void 0!==r&&r,s=l.isThreeColumns,c=void 0!==s&&s,y=l.isTwoColumns,b=void 0!==y&&y,h=i._editable,f=i.anchorTag,j=void 0===f?[]:f,P=i.backgroundDesktop,C=void 0===P?[]:P,Z=i.backgroundMobile,k=void 0===Z?[]:Z,O=i.heading,A=void 0===O?[]:O,w=i.tag,L=void 0===w?[]:w,E=i.paragraph,z=void 0===E?[]:E,B=i.textColor,T=void 0===B?"black":B,D=i.video,N=void 0===D?[]:D,H=(0,t.Z)([k[0],null,null,null,C[0]]),S=(0,e.Z)([k[0],null,null,null,C[0]],1),$=N[0]?u(N[0]):void 0,K=(0,a.Z)({heading:A,defaultType:"h3"}),U=(0,o.Z)({isTwoColumns:b,isThreeColumns:c,isFourColumns:d});return(0,m.jsx)(_,{background:S,backgroundOverlay:H,contentHorizontalAlignment:"center",contentVerticalAlignment:"center",heading:K,sbEditable:(0,v.Z)(h),id:(0,x.Z)({anchorTag:j}),layout:U,tag:(0,p.Z)({tag:L}),paragraph:(0,g.Z)({paragraph:z}),textColor:T,videoSettings:$})}},22567:function(l,n){n.Z=function(l){return{display:"flex",width:"100%",height:"100%",justifyContent:"left"===(null==l?void 0:l.contentHorizontalAlignment)?"flex-start":"right"===(null==l?void 0:l.contentHorizontalAlignment)?"flex-end":"center",alignItems:"top"===(null==l?void 0:l.contentVerticalAlignment)?"flex-start":"bottom"===(null==l?void 0:l.contentVerticalAlignment)?"flex-end":"center"}}},46088:function(l,n,i){var t=i(94443),e=i(75892),a=i(56403),o=i(52322);n.Z=function(l){var n=l.$style,i=void 0===n?{}:n,r=l.buttons,u=void 0===r?[]:r,d=l.buttonStyling,s=void 0===d?{}:d,c=l.fontKeys,m=void 0===c?["Misc/18_120_-1_500_UC",null,null,null,null,"Misc/16_100_-1_500_UC"]:c,_=(0,e.hQ)()[0];return u.length?(0,o.jsx)("div",{className:_(Object.assign({display:"flex",gap:"8px"},i)),children:u.map((function(l,n){return(0,o.jsx)(a.Z,Object.assign({isVolatile:!0,$style:Object.assign({textDecoration:"none"},s),as:t.Z,"aria-label":l.ariaLabel,fontKeys:m,rel:l.rel,theme:l.theme,to:null==l?void 0:l.url},l.sbEditable,{children:l.label}),l.label+"-"+n)}))}):null}},99962:function(l,n,i){var t=i(25149),e=i(94443),a=i(93993),o=i(75892),r=i(51493),u=i(22567),d=i(29419),s=i(46088),c=i(56403),m=i(58210),_=i(73839),p=i(52322),g={minWidth:0,overflowWrap:"break-word"},v=(0,o.zo)("div",{position:"relative",width:"calc(100% - (2 * var(--margin-content)))",height:"100%",marginLeft:"var(--margin-content)",marginRight:"var(--margin-content)"}),x=(0,o.zo)("div",Object.assign({},g,{position:"relative",height:"100%"})),y=(0,o.zo)("div",Object.assign({alignContent:"space-between",display:"flex",flexDirection:"column",position:"relative",textAlign:"inherit",zIndex:1},g)),b=(0,o.zo)("div",{height:"100%",margin:"0 auto",maxWidth:"var(--site-corridor-max-width)",position:"relative",width:"100%"}),h={oneColumn:{sm:["Primary/16_94_-1_700","Primary/24_94_-1_700",null,null,"Primary/40_94_-2_700",null,"Primary/48_94_-2_700"],md:["Primary/16_94_-1_700","Primary/32_94_-2_700",null,null,"Primary/56_94_-2_700",null,"Primary/80_94_-1_700"]},twoColumns:{sm:["Primary/16_94_-1_700","Primary/24_94_-1_700",null,null,null,null,"Primary/32_94_-2_700"],md:["Primary/16_94_-1_700","Primary/32_94_-2_700",null,null,null,null,"Primary/48_94_-2_700"]},threeColumns:{center:{sm:["Primary/16_94_-1_700","Primary/24_94_-1_700",null,null,null,null,"Primary/40_94_-1_700"],md:["Primary/16_94_-1_700","Primary/32_94_-2_700",null,null,null,null,"Primary/56_94_-2_700"]},right:{sm:["Primary/16_94_-1_700","Primary/24_94_-1_700"],md:["Primary/16_94_-1_700","Primary/32_94_-2_700"]},left:{sm:["Primary/16_94_-1_700","Primary/24_94_-1_700"],md:["Primary/16_94_-1_700","Primary/32_94_-2_700"]}},fourColumns:{sm:["Primary/16_94_-1_700","Primary/24_94_-1_700"],md:["Primary/16_94_-1_700","Primary/32_94_-2_700"]}};n.Z=function(l){var n,i,g,f=l.background,j=l.backgroundLoading,P=void 0===j?"eager":j,C=l.backgroundOverlay,Z=l.buttons,k=void 0===Z?[]:Z,O=l.caption,A=l.contentHorizontalAlignment,w=void 0===A?"center":A,L=l.contentVerticalAlignment,E=void 0===L?"center":L,z=l.heading,B=l.id,T=l.layout,D=void 0===T?"oneColumn":T,N=l.paragraph,H=l.playButtonCallback,S=l.playButtonLabel,$=l.sbEditable,K=l.tag,U=l.textColor,V=void 0===U?"black":U,I=l.wrapperLink,M=(0,o.hQ)()[0],W=k.length>
10,Q=(0,d.Z)(V),F=(0,u.Z)({contentHorizontalAlignment:w,contentVerticalAlignment:E}),G={oneColumn:{padding:["8px",null,null,"12px",null,"16px"]},twoColumns:{padding:["8px 8px 16px 8px",null,null,"12px 12px 24px 12px"]},threeColumns:{padding:["8px 8px 16px 8px",null,null,"12px 12px 24px 12px"]},fourColumns:{padding:["8px 8px 16px 8px",null,null,"12px 12px 24px 12px"]}}[D],R=null==z||null===(n=z.text)||void 0===n?void 0:n.trim(),q=k.map((function(l,n){return Object.assign({},l,{ariaLabel:0===n&&R&&null!=l&&l.label?l.label+": "+R:null==l?void 0:l.ariaLabel})})),J=H&&R&&S?S+": "+R:void 0,X=I&&(R||(null==K||null===(i=K.text)||void 0===i||null===(g=i.trim)||void 0===g?void 0:g.call(i))||("string"==typeof O?O.trim():void 0))||void 0,Y=function(l,n,i){return"threeColumns"===l?h[l][i][n]:h[l][n]}(D,null==z?void 0:z.style,w);return(0,p.jsx)(v,Object.assign({id:B},$,{className:"flexible-module",children:(0,p.jsxs)(e.Z,{"aria-label":X,className:M(Q),to:I,children:[(0,p.jsx)(t.Z,{background:f,backgroundOverlay:C,loading:P}),(0,p.jsx)(x,{$style:Object.assign({textAlign:w},G,Q),children:(0,p.jsx)(b,{$style:F,children:(0,p.jsxs)(y,{children:[(null==K?void 0:K.text)&&(0,p.jsx)(_.Z,Object.assign({$style:{marginBottom:"8px"}},K.sbEditable,{children:K.text})),(null==z?void 0:z.text)&&(0,p.jsx)(m.Z,Object.assign({as:z.type,fontKeys:Y},z.sbEditable,{children:z.text})),(null==N?void 0:N.text)&&(0,p.jsx)("div",{className:M(Object.assign({},F,{marginTop:["24px",null,null,null,null,"0"]})),children:(0,p.jsx)("div",Object.assign({className:M(Object.assign({},(0,r.Z)(["Secondary/14_130_400",null,null,"Secondary/14_130_400",null,null]),{marginTop:["8px",null,"16px"],maxWidth:"fourColumns"===D?"100%":["100%",null,"80%",null,null,"66%"],margin:"center"===w?"0 auto":"unset",display:"inline-flex"}))},N.sbEditable,{children:(0,p.jsx)(a.ZP,{data:N.text})}))}),W&&(0,p.jsx)(s.Z,{$style:Object.assign({},F,{flexWrap:"wrap",marginTop:["24px",null,null,null,null,"32px"]}),buttons:q}),H&&(0,p.jsx)("div",{className:M({width:"auto",display:"flex",justifyContent:"center",marginTop:"24px"}),children:(0,p.jsx)(c.Z,{$style:{display:"flex",gap:"0 16px",alignItems:"center",padding:"12px 16px"},fontKeys:["Misc/18_120_-1_500_UC",null,null,null,null,"Misc/16_100_-1_500_UC"],theme:{black:"default",white:"inverted",red:"highlight"}[V],"aria-label":J,onClick:H,children:S})})]})})})]})}))}}}]);
2//# sourceMappingURL=activebrands-core-web-components-modules-VideoPlayerModule-81cb8a2436fbc02cd0f3.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.