PageSourceSearch

https://www.maestro.io/static/js/app.b93a103.js

js maestro.io collected 2026-09-24 18:24:15 UTC 208,599 bytes, 1,925 lines download raw bytes

1(function(){try{var se=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},U=new se.Error().stack;U&&(se._sentryDebugIds=se._sentryDebugIds||{},se._sentryDebugIds[U]="ea73c69c-9fd4-4750-aa1d-826ec1f3cd59",se._sentryDebugIdIdentifier="sentry-dbid-ea73c69c-9fd4-4750-aa1d-826ec1f3cd59")}catch{}})();var _global=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};_global.SENTRY_RELEASE={id:"6b3b5bcd49ac3ca4e22832378da81add8169a867"},(self.webpackChunk_maestro_io_client=self.webpackChunk_maestro_io_client||[]).push([[3416],{804572:(se,U,e)=>{e.d(U,{A:()=>S});var t=e(362688),O=e.n(t),r=e(63696);const p={title:O().string.isRequired},L=R=>{const{title:o}=R;return(0,r.useEffect)(()=>{document.title=o},[o]),null};L.propTypes=p;const S=L},629731:(se,U,e)=>{e.d(U,{Ee:()=>n,R7:()=>d,hz:()=>P,kw:()=>s,mO:()=>E,mc:()=>f,ur:()=>a,ux:()=>D,xI:()=>l,xv:()=>m});var t=e(886550),O=e(892451),r=e(545290),p=e(429195),L=e(312854),S=e(177412),R=e(53998),o=e(719276),y=e(401618),c=e(570958);const f=t.Ay.div`
2  position: fixed;
3  top: 0;
4  left: 0;
5  right: 0;
6  bottom: 0;
7  display: flex;
8  flex-direction: row;
9  ${({$isAdmin:g})=>g&&(0,t.AH)`
10    background: ${p.dHK};
11    color: ${u=>(0,L.bw)((0,p.k6P)(u))};
12  `}
13`,s=(0,t.Ay)(o.A)`
14  flex-shrink: 0;
15  ${({hidden:g})=>g&&"display: none !important;"}
16`,n=(0,t.Ay)(O.P.div)`
17  flex: 1;
18  display: flex;
19  flex-direction: column;
20  ${({$isAdmin:g})=>g&&(0,r.PD)`padding: 16px;`}
21  min-height: 0;
22  min-width: 0;
23  position: relative;
24`,d=t.Ay.div`
25  flex: 1;
26  position: relative;
27  background: ${p.O49};
28  ${({$isAdmin:g})=>g&&(0,t.AH)`
29    ${(0,r.PD)`
30      border-radius: 12px;
31      overflow: clip;
32    `}
33    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
34  `}
35  display: flex;
36  flex-direction: column;
37  min-height: 0;
38`,l=t.Ay.div`
39  display: flex;
40  flex-flow: column nowrap;
41  flex: 1;
42  min-height: 0;
43  width: 100%;
44  ${({$gateBackground:g})=>g?(0,c.yj)(g):""}
45`,m=(0,t.Ay)(S.A)`
46  display: flex;
47  ${(0,r.PD)`flex-grow: 1;`}
48  ${(0,r.wc)`
49    flex-grow: 1;
50    height: 100%;
51    overflow-y: auto;
52    flex-grow: 1;
53  `}
54`,C=t.Ay.div`
55  position: relative;
56  width: ${({state:g,width:u})=>g==="entered"?u:0}px;
57  max-width: 25vw;
58  flex-grow: 0;
59  flex-shrink: 0;
60  background: ${p.F_r};
61`,D=(0,t.Ay)(R.A)`
62  flex-shrink: 0;
63  width: 100%;
64  max-width: 100%;
65  max-height: 100%;
66  height: 100%;
67  ${(0,r.nD)`
68    flex: 1;
69    width: 100%;
70  `}
71`,E=t.Ay.div`
72  display: flex;
73  flex-flow: row nowrap;
74  flex: 1;
75  overflow: hidden auto;
76  width: 100%;
77  height: 100%;
78  position: relative;
79  ${(0,r.nD)`
80    display: flex;
81    flex-direction: column;
82    justify-content: ${g=>g.embed?"center":"initial"};
83    ${g=>g.mobileLayout&&(0,t.AH)`margin-bottom: ${y.lI}px;`}
84  `}
85`,P=t.Ay.div`
86  display: flex;
87  flex-direction: column;
88  flex: 1;
89  min-width: 0;
90  overflow: auto;
91`,a=(0,t.Ay)(O.P.div)`
92  flex: 1;
93  display: flex;
94  flex-direction: column;
95  min-height: 0;
96`},795991:(se,U,e)=>{e.d(U,{Nr:()=>T,GL:()=>b,Ay:()=>xe});var t=e(224191),O=e(558613),r=e(272568),p=e(463302),L=e(887944),S=e(341138),R=e(472661),o=e(89649),y=e(867678),c=e.n(y),f=e(362688),s=e.n(f),n=e(63696),d=e(886550),l=e(283722),m=e(848452),C=e(429195),D=e(545290),E=e(89006),P=e(755196),a=e(86138),g=Object.defineProperty,u=(x,v,I)=>v in x?g(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,A=(x,v,I)=>(u(x,typeof v!="symbol"?v+"":v,I),I);class i extends n.Component{render(){const{onEngage:v,referralId:I,testIdText:Z}=this.props,me=(0,L.jG)(I);return n.createElement(E.uI,{beforeOnClick:()=>{v({cta:"facebook_share"})},url:me},n.createElement(P.Ay,{iconName:"facebook-squared"},n.createElement(a.A,{componentProps:{"data-testid":Z},stringKey:"SHARE_TO_FACEBOOK"})))}}A(i,"propTypes",{onEngage:s().func.isRequired,referralId:s().string.isRequired,testIdText:s().string}),A(i,"defaultProps",{testIdText:void 0});var B=e(816970),V=e(80247);const $={ctaRenderer:s().shape({html:s().string}).isRequired},M=x=>{const{ctaRenderer:v}=x,I=v?.html||"";return(0,n.useMemo)(()=>{try{return(0,B.P7)(I)}catch(me){return V.error("HTML parsing error",me),null}},[I])};M.propTypes=$;const N=M;var K=Object.defineProperty,W=(x,v,I)=>
96v in x?K(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,q=(x,v,I)=>(W(x,typeof v!="symbol"?v+"":v,I),I);class X extends n.Component{constructor(){super(...arguments),q(this,"handleOnClick",()=>{const{ctaRenderer:v,onEngage:I}=this.props,{linkUrl:Z}=v;window.open(Z,"_blank"),I({cta:"open_link",url:Z})})}render(){const{ctaRenderer:v,testIdText:I}=this.props,{linkText:Z}=v;return n.createElement(P.Ay,{"data-testid":I,onClick:this.handleOnClick},Z)}}q(X,"propTypes",{ctaRenderer:s().shape({linkText:s().string,linkUrl:s().string}).isRequired,onEngage:s().func.isRequired,testIdText:s().string}),q(X,"defaultProps",{testIdText:void 0});const w=X;var H=e(256746),z=Object.defineProperty,le=(x,v,I)=>v in x?z(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,re=(x,v,I)=>(le(x,typeof v!="symbol"?v+"":v,I),I);class de extends n.Component{constructor(){super(...arguments),re(this,"handleClick",()=>{const{ctaRenderer:v,onClick:I,onEngage:Z}=this.props;I({doc:{renderer:{panelType:H.WF,people:[{id:v.personId}]}}}),Z({cta:"show person"})})}render(){const{ctaRenderer:v,testIdText:I}=this.props,{text:Z}=v;return n.createElement(P.Ay,{"data-testid":I,onClick:this.handleClick},Z)}}re(de,"propTypes",{ctaRenderer:s().shape({panelId:s().string,personId:s().string,text:s().string}).isRequired,onClick:s().func.isRequired,onEngage:s().func.isRequired,testIdText:s().string}),re(de,"defaultProps",{testIdText:void 0});const he=x=>({onClick:v=>x((0,R.NE)(v))}),Ee=(0,t.connect)(null,he)(de);var Me=Object.defineProperty,$e=(x,v,I)=>v in x?Me(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,He=(x,v,I)=>($e(x,typeof v!="symbol"?v+"":v,I),I);class ne extends n.Component{constructor(){super(...arguments),He(this,"handleClick",()=>{const{ctaRenderer:v,onClick:I,onEngage:Z}=this.props;v.panelId&&I({id:v.panelId}),Z({cta:"show_panel"})})}render(){const{ctaRenderer:v,testIdText:I}=this.props,{text:Z}=v;return n.createElement(P.Ay,{"data-testid":I,onClick:this.handleClick},Z)}}He(ne,"propTypes",{ctaRenderer:s().shape({panelId:s().string,text:s().string}).isRequired,onClick:s().func.isRequired,onEngage:s().func.isRequired,testIdText:s().string}),He(ne,"defaultProps",{testIdText:void 0});const k=x=>({onClick:v=>x((0,R.NE)(v))}),fe=(0,t.connect)(null,k)(ne);var Oe=e(156794),Ie=Object.defineProperty,Ce=(x,v,I)=>v in x?Ie(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,_e=(x,v,I)=>(Ce(x,typeof v!="symbol"?v+"":v,I),I);const ae=(0,d.Ay)(Oe.A)`
97  overflow: hidden;
98  text-overflow: ellipsis;
99  white-space: nowrap;
100  line-height: normal;
101`;class Le extends n.Component{render(){const{ctaRenderer:v,onEngage:I,testIdText:Z}=this.props,{text:me,videoId:Q}=v;return n.createElement(P.Ay,{onClick:()=>I({cta:"play_video"})},n.createElement(ae,{"data-testid":Z,tag:Q},me))}}_e(Le,"propTypes",{ctaRenderer:s().shape({text:s().string,videoId:s().string}).isRequired,onEngage:s().func.isRequired,testIdText:s().string}),_e(Le,"defaultProps",{testIdText:void 0});const Be=Le;var ye=Object.defineProperty,be=(x,v,I)=>v in x?ye(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,J=(x,v,I)=>(be(x,typeof v!="symbol"?v+"":v,I),I);const Qe={facebook_share:i,html:N,open_link:w,play_video:Be,show_panel:fe,show_person:Ee,show_stored_panel:fe},lt=d.Ay.div`
102  margin-top: auto;
103`;class we extends n.Component{render(){const{className:v,cardRenderer:I,onEngage:Z}=this.props,{ctaRenderer:me}=I,Q=Ge=>Z(I,Ge),pe=Qe[me.cardCtaType],{id:Ue}=I,ue=`social_c_${Ue}`;return pe?n.createElement(lt,{className:v,"data-testid":"liveCardCtaButton"},n.createElement(pe,{cardRenderer:I,ctaRenderer:me,onEngage:Q,referralId:ue,testIdText:"liveCardCtaButtonTitle"})):null}}J(we,"propTypes",{cardRenderer:s().object.isRequired,className:s().string,onEngage:s().func.isRequired}),J(we,"defaultProps",{className:void 0});const rt=x=>({onEngage:(v,I)=>x((0,L.QA)("engage",v,I))}),Ze=(0,t.connect)(null,rt)(we);var Xe=e(190135),it=Object.defineProperty,Pt=(x,v,I)=>v in x?it(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,Ne=(x,v,I)=>(Pt(x,typeof v!="symbol"?v+"":v,I),I);class at extends n.Component{constructor(){super(...arguments),Ne(this,"onEngage",(v,I)=>this.props.trackCard("engage",v,I)),Ne(this,"handleClick",()=>{const{renderer:v,renderer:{ctaRenderer:I,ctaRenderer:{cardCtaType:Z,panelId:me,linkUrl:Q}},dispatchCta:pe}=this.props;I&&Z!=null&&(Z==="show_panel"?(pe({id:me}),this.onEngage(v,{cta:"show_panel"})):Z==="open_link"&&window.open(Q,"_blank"))})}render(){const{isCollapsed:v,onDismiss:I,renderer:Z,renderer:{imageUrl:me,ctaRenderer:Q}}=this.props;return n.createElement(Xe.A,{isCollapsed:v,onClick:this.handleClick,onClose:I,src:me},Q&&n.createElement(Ze,{cardRenderer:Z}))}}Ne(at,"propTypes",{dispatchCta:s().oneOfType([s().bool,s().func]).isRequired,isCollapsed:s().bool,onDismiss:s().func.isRequired,renderer:s().object.isRequired,trackCard:s().func.isRequired}),Ne(at,"defaultProps",{isCollapsed:!1});const ut=x=>({dispatchCta:v=>x((0,R.NE)(v))}),pt=(0,t.connect)(null,ut)(at);var Mt=Object.defineProperty,Vt=(x,v,I)=>
103v in x?Mt(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,bt=(x,v,I)=>(Vt(x,typeof v!="symbol"?v+"":v,I),I);const F=(0,d.Ay)(Xe.A)`
104  padding: 14px 2px 2px 2px;
105`,ie=d.Ay.div`
106  margin-bottom: 11px;
107  background-color: ${C.AOI};
108  color: ${C.SP6};
109  max-height: 80px;
110  min-height: 28px;
111  min-width: 96px;
112  border-radius: 10px;
113  padding: 14px;
114  position: relative;
115  &:after {
116    content: "";
117    position: absolute;
118    bottom: -11px;
119    left: 18px;
120    width: 0;
121    height: 0;
122    border-style: solid;
123    border-width: 11px 10px 0 10px;
124    border-color: ${C.AOI} transparent transparent transparent;
125  }
126`,Te=d.Ay.div`
127  ${D.k9}
128  display: -webkit-box;
129  -webkit-line-clamp: 3;
130  -webkit-box-orient: vertical;
131  overflow: hidden;
132  text-overflow: ellipsis;
133`,Se=d.Ay.div`
134  width: 4px;
135  height: 4px;
136  border-radius: 4px;
137  margin-right: 4px;
138`,Et=d.Ay.div`
139  display: flex;
140  opacity: 0.7;
141  margin: 6px 20px 8px 20px;
142  & ${Se} {
143    background: ${C.AOI};
144  }
145`;class nt extends n.Component{render(){const{isCollapsed:v,renderer:I,onDismiss:Z}=this.props,me=!!I.ctaRenderer;return n.createElement(F,{isCollapsed:v,onClose:Z,responsive:!0},n.createElement(ie,null,n.createElement(Te,{"data-testid":"messageCardMessage"},I.message)),n.createElement(Et,null,n.createElement(Se,null),n.createElement(Se,null),n.createElement(Se,null)),me&&n.createElement(Ze,{cardRenderer:I,"data-testid":"messageCardButton"}))}}bt(nt,"propTypes",{isCollapsed:s().bool,onDismiss:s().func.isRequired,renderer:s().shape({cta:s().object,ctaRenderer:s().object,message:s().string,title:s().string}).isRequired}),bt(nt,"defaultProps",{isCollapsed:!1});const vt=nt;var ot=e(46630),ke=e(723792),ft=e(619545),qe=e(41989);const Je=(0,d.Ay)(l.Ay).attrs(x=>({color:(0,C.UW1)(x),name:"adminbarUserProfiles"}))`
146  margin-right: 14px;
147  & svg {
148    width: 16px;
149    height: 16px;
150  }
151`,Dt=d.Ay.div`
152  ${D.XF}
153  color: ${C.UW1};
154`,gt=d.Ay.div`
155  ${D.AM}
156  margin-bottom: 12px;
157  text-transform: uppercase;
158`,je=d.Ay.div`
159  position: relative;
160  width: 100%;
161  ${({onClick:x})=>x&&"cursor: pointer;"}
162  max-height: 212px;
163  &:after {
164    content: "";
165    position: absolute;
166    left: 0;
167    top: 0;
168    height: 100%;
169    max-height: 212px;
170    width: 100%;
171    border-radius: 5px;
172    background: linear-gradient(360deg, #091D21 -17.45%, rgba(0, 0, 0, 0) 49.99%, rgba(0, 0, 0, 0) 50%);
173  }
174`,Lt=d.Ay.img`
175  width: 100%;
176  border-radius: 5px;
177  max-height: 212px;
178  object-fit: cover;
179`,Ot=(0,d.Ay)(l.Ay).attrs(x=>({color:(0,C.mz9)(x),name:"singleUser"}))`
180  ${D.AM}
181  height: 212px;
182  width: 100%;
183  border-radius: 5px;
184  background: ${C.F_r};
185  & svg {
186    width: 80%;
187    height: 80%;
188  }
189`,Ut=d.Ay.div`
190  position: absolute;
191  dispĺay: flex;
192  flex-directioon: column;
193  max-width: 90%;
194  bottom: 16px;
195  left: 16px;
196  z-index: 1;
197`,It=d.Ay.div`
198  ${D.ud}
199  font-size: 16px;
200  color: ${C.mrt};
201  ${D.WL}
202`,Ft=d.Ay.div`
203  ${D.z1}
204  color: ${C.o0B};
205  ${D.WL}
206`,St=d.Ay.div.attrs({maxLines:8})`
207  ${D.JO}
208  color: ${C.mz9};
209  text-align: justify;
210  margin-top: 16px;
211  ${D.FE}
212`,ht=d.Ay.div`
213  ${D.wt}
214  display: flex;
215  margin-top: 15px;
216  margin-right: -17px;
217  max-width: 100%;
218  overflow: auto hidden;
219  & > * {
220    margin-right: 17px;
221  }
222`,Gt=(0,d.Ay)(l.Ay).attrs(x=>({color:(0,C.O49)(x),radius:"26px"}))`
223  ${D.j7}
224  ${D.AM}
225  background: ${C.UW1};
226  ${(0,D.PD)`
227    &:hover {
228      background: ${C.mrt};
229    }
230  `}
231  & svg {
232    width: 14px;
233    height: 14px;
234  }
235`,zt=({collapsed:x,onDismiss:v,openPanel:I,renderer:Z,trackCard:me})=>{var Q;const{endUserT:pe}
235=(0,qe.T9)(),[Ue,ue]=(0,n.useState)(null),{personId:Ge}=Z,ct=(0,n.useCallback)(Fe=>{ue(Fe?Fe.renderer:null)},[]),yt=(0,n.useCallback)(()=>{Ge&&(I({doc:{renderer:{panelType:H.WF,people:[{id:Ge}]}}}),me("engage",Z))},[Ge,I,me,Z]),Ve=(0,n.useCallback)(Fe=>()=>{window.open(Fe)},[]);return Ge?n.createElement(ot.A,{collection:"objects",id:Ge,onValue:ct},Ue&&n.createElement(Xe.A,{isCollapsed:x,justify:"flex-start",maxHeight:493,onClose:v,responsive:!0},n.createElement(gt,null,n.createElement(Je,null),n.createElement(Dt,null,pe([qe.Rq.personCardTitle,{cardId:Z.id}])||Z.title||pe([qe.Rq.cardPersonDefaultProfile],["DEFAULT_PROFILE"]))),n.createElement(je,{onClick:yt},Ue.personImageUrl?n.createElement(Lt,{src:Ue.personImageUrl}):n.createElement(Ot,null),n.createElement(Ut,null,n.createElement(It,null,pe([qe.Rq.personName,{personId:Ue.id}])||Ue.personName),n.createElement(Ft,null,pe([qe.Rq.personTitle,{personId:Ue.id}])||Ue.personTitle))),n.createElement(St,null,pe([qe.Rq.personBio,{personId:Ue.id}])||Ue.personBio),((Q=Ue.personLinks)==null?void 0:Q.length)>0&&n.createElement(ht,null,n.createElement(ke.A,{list:Ue.personLinks},(Fe,Ct)=>Ct.linkIconName&&n.createElement(ft.A,{key:Fe,href:Ct.linkUrl,onClick:Ve(Ct.linkUrl),plain:!0},n.createElement(Gt,{name:Ct.linkIconName})))))):null};var Yt=e(498685),jt=e(424024),ce=e(870349),te=e(152544);const ve=d.Ay.div`
236  padding: 5px;
237  padding-top: 20px;
238  width: 100%;
239  flex: 1;
240  display: flex;
241  flex-direction: column;
242`,Ke=d.Ay.div`
243  padding: 0 15px 10px 15px;
244  display: flex;
245  justify-content: center;
246  align-items: center;
247  text-align: center;
248  flex: 1;
249`,et=d.Ay.span`
250  ${te.Wp}
251  ${D.FE}
252`,We=(0,d.Ay)(ce.Ay).attrs(x=>({background:(0,C.mrt)(x),fullwidth:!0,textColor:(0,C.SP6)(x)}))`
253  ${te.p_}
254  font-family: ${C.qwO};
255  height: 28px;
256  text-transform: uppercase;
257`,ze=d.Ay.div`
258  ${te.p_}
259  ${D.WL}
260  color: ${C.UW1};
261  position: absolute;
262  top: 10px;
263  left: 17px;
264  max-width: calc(100% - 60px);
265`,mt=({isCollapsed:x,doc:v,onDismiss:I,renderer:{pollId:Z,title:me}})=>{const Q=(0,t.useSelector)(p.M3),pe=(0,t.useDispatch)(),[Ue]=(0,Yt.Cg)("poll",Z),ue=(0,t.useSelector)(jt.Ji),{t:Ge}=(0,qe._h)(),ct=Ue?.question,yt=n.useCallback(()=>{ue||(pe((0,R.NE)({doc:{data:{anonymous:!Q,cardDoc:v,kind:"multiple_choice",questions:[{kind:"poll",poll:{_id:Z,collection:"poll"}}]}}})),pe((0,L.QA)("engage",v.renderer)))},[ue,v,Q,Z,pe,L.QA]);return n.createElement(Xe.A,{isCollapsed:x,onClose:I},n.createElement(ze,null,me||Ge("AUDIENCE_POLL")),n.createElement(ve,null,ct&&n.createElement(n.Fragment,null,n.createElement(Ke,null,n.createElement(et,null,ct)),n.createElement(We,{onClick:yt},Ge("ACTION_VOTE_NOW")))))};var $t=e(409595),_t=e(685089),Wt=e(941083),Nt=e(716175),_=Object.defineProperty,Ae=(x,v,I)=>v in x?_(x,v,{enumerable:!0,configurable:!0,writable:!0,value:I}):x[v]=I,G=(x,v,I)=>(Ae(x,typeof v!="symbol"?v+"":v,I),I);const Re=198,De=(x=Re)=>-x,st=(x=Re)=>De(x)+80,Ye=(x=Re)=>x+8,Tt=(0,d.Ay)(_t.A)`
266  touch-action: none;
267  background-color: ${C.F_r};
268  color: ${C.SP6};
269  display: flex;
270  flex-direction: column;
271  width: 100%;
272  z-index: 1;
273  overflow: hidden !important;
274  ${(0,D.nD)`
275    position: absolute;
276    background-color: transparent;
277    transition: transform 0.5s, min-height 0.5s, bottom 0.5s;
278    min-height: ${({collapsed:x,maxHeight:v})=>x?Ye(v):0}px;
279    bottom: ${({position:x,state:v,maxHeight:I})=>v==="entered"?x:De(I)}px;
280  `}
281  ${(0,D.PD)`
282    transition: max-height 0.5s;
283    max-height: ${({state:x,maxHeight:v})=>x==="entered"?v:0}px;
284    transform: none !important;
285  `}
286`,At=d.Ay.div`
287  touch-action: none;
288  padding: 0 10px 10px 10px;
289`,j=d.Ay.div`
290  touch-action: none;
291  height: ${({maxHeight:x})=>x}px;
292`,Y=(0,d.Ay)(l.Ay).attrs(()=>({name:"upArrowGrad"}))`
293  touch-action: none;
294  display: flex;
295  justify-content: center;
296  align-items: center;
297  width: 62px;
298  background: ${C.O49};
299  border-radius: 10px 10px 0 0;
300  margin: 0 auto -10px auto;
301  padding: 5px 0;
302  transition: opacity 1s, max-height 1s, margin 0s 1s, padding 0s 1s;
303  z-index: 2;
304  ${({collapsed:x})=>x?`
305    opacity: 1;
306    max-height: 50px;
307    transition: opacity 1s;
308  `:`
309    max-height: 0;
310    margin: 0 auto;
311    padding: 0;
312    opacity: 0;
313  `}
314  & svg {
315    margin: -12px;
316    width: 32px;
317    height: 32px;
318  }
319  ${(0,D.PD)`
320    display: none;
321  `}
322`,oe={image:{component:pt},message:{component:vt},person:{component:zt,maxHeight:513},poll:{component:mt},tweet:{component:$t.A,iconName:"retweet"}},h=()=>{},T={cardKey:"__card_preview__",isCollapsed:!1,isDismissed:!1,isPreview:!0,loggedIn:!0,onCollapse:h,onDismiss:h,onOpen:h,openPanel:h,showModal:h,trackCard:h};class b extends n.Component{constructor(){super(...arguments),G(this,"state",{cardPosition:0,finalPosition:-1}),G(this,"computeRenderer",c()(Nt.h5)),G(this,"hasRenderer",!1),G(this,"onSlide",(v,I)=>{this.setState({cardPosition:I})}),G(this,"onSlideEnd",(v,I,Z)=>{if(Z.target instanceof HTMLButtonElement){this.setState({cardPosition:0});return}if(!I){this.setState(({finalPosition:me})=>({cardPosition:0,finalPosition:me?0:st(this.maxHeight)}));return}this.setState({cardPosition:0,finalPosition:I>0?st(this.maxHeight):0})}),G(this,"handleDismiss",()=>{const{cardKey:v,onDismiss:I}=this.props;I(v,this.renderer)})}componentDidUpdate(){const{finalPosition:v}=this.state;v<0&&!this.hasRenderer&&this.renderer&&(this.hasRenderer=!0,this.setState({finalPosition:st(this.maxHeight)}))}get maxHeight(){var v;const{maxHeight:I=Re}=oe[(v=this.renderer)==null?void 0:v.cardType]||{};return I}get renderer(){const{doc:v,mockCardRenderer:I}=this.props;return v?I||this.computeRenderer(v):null}get isCollapsed(){const{finalPosition:v}=this.state;return!!v}renderInnerCard(){const{doc:v,openPanel:I,showModal:Z,trackCard:me,loggedIn:Q}=this.props,{handleDismiss:pe,renderer:Ue,isCollapsed:ue}=this;if(!Ue)return n.createElement(j,null);const{component:Ge,iconName:ct}=oe[Ue.cardType]||{};return Ge?n.createElement(Ge,{doc:v,iconName:ct,isCollapsed:ue,loggedIn:Q,onDismiss:pe,openPanel:I,renderer:Ue,showModal:Z,trackCard:me}):n.createElement(j,null)}render(){const{className:v,doc:I,hidden:Z,isDismissed:me,isPreview:Q}=this.props,{renderer:pe,onSlide:Ue,onSlideEnd:ue,onSlideStart:Ge,isCollapsed:ct}=this,{cardPosition:yt,finalPosition:Ve}=this.state;return n.createElement(Wt.eB,{in:I&&!me,mountOnEnter:!0,timeout:500,unmountOnExit:!0},Fe=>n.createElement(Tt,{cardPosition:yt,className:v,collapsed:ct,hidden:Z,maxHeight:this.maxHeight,onEnd:ue,onMove:Ue,onStart:Ge,position:Ve,state:Fe,y:yt},!Q&&pe&&n.createElement(m.A,{doc:pe,kingdom:"card",visible:!Z}),I?n.createElement(n.Fragment,null,n.createElement(Y,{collapsed:ct}),n.createElement(At,null,this.renderInnerCard())):n.createElement(j,null)))}}G(b,"propTypes",{cardKey:s().string.isRequired,className:s().string,doc:s().object.isRequired,hidden:s().bool,isDismissed:s().bool.isRequired,isPreview:s().bool,loggedIn:s().bool.isRequired,mockCardRenderer:s().object,onDismiss:s().func.isRequired,openPanel:s().func.isRequired,showModal:s().func.isRequired,trackCard:s().func.isRequired}),G(b,"defaultProps",{className:"",hidden:!1,isPreview:!1,mockCardRenderer:null});const Pe=(x,v)=>{const I=(0,S.eo)(x,v.doc),Z=(0,S.iv)(x,I);return{cardKey:I,isCollapsed:Z===S.nn,isDismissed:Z===S.fF,loggedIn:(0,p.M3)(x),mockCardRenderer:(0,r.IJ)(x)}},ge=x=>({onCollapse:v=>x((0,S.Eg)(v,S.nn)),onDismiss:(v,I)=>{x((0,S.Eg)(v,S.fF)),x((0,L.QA)("dismiss",I))},onOpen:v=>x((0,S.Eg)(v,S.__)),openPanel:(...v)=>x((0,R.NE)(...v)),showModal:(...v)=>x((0,o.to)(...v)),trackCard:(...v)=>x((0,L.QA)(...v))}),xe=(0,O.A)()((0,t.connect)(Pe,ge)(b))},409595:(se,U,e)=>{e.d(U,{A:()=>He,y:()=>Me});var t=e(63696),O=e(362688),r=e.n(O),p=e(886550),L=e(962832),S=e.n(L),R=e(190135),o=e(755196),y=e(283722),c=e(957006),f=e(784567),s=e(155013),n=e(312854),d=e(816970),l=e(86138),m=e(545290),
322C=e(429195),D=e(535549),E=e(990220);const P={children:r().func.isRequired,id:r().string.isRequired},a={};function g({children:ne,id:k}){if(!k)return null;const fe=`${E.Ut}/twitter/${k}`;return t.createElement(D.A,{url:fe},(Oe,Ie,Ce)=>ne(Oe,Ie,Ce))}g.propTypes=P,g.defaultProps=a;var u=Object.defineProperty,A=(ne,k,fe)=>k in ne?u(ne,k,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ne[k]=fe,i=(ne,k,fe)=>(A(ne,typeof k!="symbol"?k+"":k,fe),fe);const B="https://twitter.com/intent/retweet?tweet_id=",V=p.Ay.div`
323  display: flex;
324  align-items: center;
325  justify-content: center;
326  width: 32px;
327  height: 32px;
328  border-radius: 32px;
329  margin: 0 10px 10px 10px;
330  padding-left: 1px;
331  padding-top: 3px;
332  background-color: ${C.AOI};
333  color: ${ne=>(0,n.bw)((0,C.AOI)(ne))};
334`,$=p.Ay.div`
335  display: flex;
336  flex-direction: column;
337  width: 100%;
338`,M=p.Ay.div`
339  align-items: flex-start;
340  display: flex;
341`,N=(0,p.Ay)(c.A)`
342  object-fit: cover;
343  width: 37px;
344  height: 37px;
345  border-radius: 32px;
346  margin: 0 10px 10px 0;
347`,K=p.Ay.div`
348  display: flex;
349  ${m.tI}
350  line-height: 20px;
351  align-items: center;
352`,W=p.Ay.div`
353  ${m.f3}
354`,q=p.Ay.div`
355  display: -webkit-box;
356  -webkit-line-clamp: 3;
357  -webkit-box-orient: vertical;
358  ${m.k9}
359  max-height: 59px;
360  overflow: hidden;
361  margin-bottom: 22px;
362`,X=p.Ay.div`
363  display: flex;
364  align-items: center;
365  height: 40px;
366  margin-left: auto;
367  margin-right: auto;
368`,w=(0,p.Ay)(y.Ay).attrs(()=>({name:"twitterFilled"}))`
369  line-height: 0;
370  margin-left: 6px;
371  & svg {
372    width: 12px;
373    height: 12px;
374  }
375`,H=(0,p.Ay)(s.A)`
376  &:before {
377    content: "•";
378    font-weight: 700;
379    margin: 0 4px;
380  }
381`,z=p.Ay.div`
382  &, & ${w} {
383    display: flex;
384    justify-content: center;
385    align-items: center;
386    width: 100%;
387    height: 100%;
388    & svg {
389      width: 50%;
390      height: 50%;
391    }
392  }
393`,le=ne=>ne?.mediaUrl,re=ne=>ne?.text,de=ne=>{var k;return(k=ne?.user)==null?void 0:k.profileImageUrl},he=ne=>{var k;return(k=ne?.user)==null?void 0:k.name},Ee=ne=>{var k;return(k=ne?.user)==null?void 0:k.screenName},Me=(ne="")=>{const k=/[0-9]{10,20}/g;return S()(ne.match(k),"[0]")};class $e extends t.Component{constructor(){super(...arguments),i(this,"handleClick",k=>{const{showModal:fe}=this.props;fe({data:{src:k},kind:"image"})}),i(this,"handleTweetEngage",()=>{var k;const{doc:fe,trackCard:Oe}=this.props,Ie=(k=fe.renderer)==null?void 0:k.tweetUrl,Ce=Me(Ie),_e=`${B}${Ce}`;(0,d.PB)(650,400,_e,"Twitter"),Oe("engage",fe.renderer)}),i(this,"renderEmptyCard",()=>{const{isCollapsed:k,onDismiss:fe}=this.props;return t.createElement(R.A,{isCollapsed:k,onClose:fe},t.createElement(z,null,t.createElement(w,null)))})}render(){var k,fe,Oe;const{doc:Ie,iconName:Ce,isCollapsed:_e,onDismiss:ae}=this.props,{renderEmptyCard:Le}=this,Be=((k=Ie.renderer)==null?void 0:k.tweetUrl)||((Oe=(fe=Ie.data)==null?void 0:fe.status)==null?void 0:Oe.url),ye=Me(Be);return ye&&Be?t.createElement(g,{id:ye},(be,J,Qe)=>{if(!Qe)return t.createElement(R.A,{isCollapsed:_e,onClose:ae},t.createElement(X,null,t.createElement(f.A,null)));if(J)return Le();const lt=le(be),we=re(be),rt=de(be),Ze=he(be),Xe=Ee(be),it=()=>
393this.handleClick(lt),Pt=()=>t.createElement(V,null,t.createElement(y.Ay,{name:"twitter"}));return t.createElement(R.A,{dim:!0,isCollapsed:_e,onClick:it,onClose:ae,responsive:!0,src:lt},t.createElement($,null,t.createElement(M,null,t.createElement(N,{fallback:Pt,src:rt}),t.createElement("div",null,Ze&&t.createElement(K,null,Ze,t.createElement(H,{date:be?.createdAt}),t.createElement(w,null)),Xe&&t.createElement(W,{"data-testid":"tweetCardUsername"},"@",Xe))),t.createElement(q,{"data-testid":"tweetCardMessage"},we," ")),t.createElement(o.Ay,{"data-testid":"liveCardCtaButton",iconName:Ce,onClick:this.handleTweetEngage},t.createElement(l.A,{componentProps:{"data-testid":"liveCardCtaButtonTitle"},stringKey:"RETWEET"})))}):Le()}}i($e,"propTypes",{doc:r().shape({data:r().shape({entities:r().shape({media:r().arrayOf(r().object)}),status:r().shape({idStr:r().string,text:r().string,url:r().string})}),renderer:r().shape({tweetUrl:r().string})}).isRequired,iconName:r().string.isRequired,isCollapsed:r().bool,onDismiss:r().func.isRequired,showModal:r().func.isRequired,trackCard:r().func.isRequired}),i($e,"defaultProps",{isCollapsed:!1});const He=$e},40190:(se,U,e)=>{e.d(U,{A:()=>E});var t=e(362688),O=e.n(t),r=e(63696),p=e(224191),L=e.n(p),S=e(272568),R=e(463302),o=e(368909),y=Object.defineProperty,c=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,n=(P,a,g)=>a in P?y(P,a,{enumerable:!0,configurable:!0,writable:!0,value:g}):P[a]=g,d=(P,a)=>{for(var g in a||(a={}))f.call(a,g)&&n(P,g,a[g]);if(c)for(var g of c(a))s.call(a,g)&&n(P,g,a[g]);return P},l=(P,a)=>{var g={};for(var u in P)f.call(P,u)&&a.indexOf(u)<0&&(g[u]=P[u]);if(P!=null&&c)for(var u of c(P))a.indexOf(u)<0&&s.call(P,u)&&(g[u]=P[u]);return g};const m={showAdminLoadable:O().bool.isRequired},C=P=>a=>({showAdminLoadable:(P||(0,S.Zz)(a))&&(0,R.N6)(a)&&(0,o.LH)(a)}),E=({loader:P,name:a="?",oldAdmin:g=!1})=>{const u=r.lazy(P),A=i=>{const B=i,{showAdminLoadable:V}=B,$=l(B,["showAdminLoadable"]);return V?r.createElement(r.Suspense,{fallback:null},r.createElement(u,d({},$))):null};return A.displayName=`AdminLoadable(${a})`,A.propTypes=m,(0,p.connect)(C(g))(A)}},237977:(se,U,e)=>{e.d(U,{A:()=>n});var t=e(16357),O=e(362688),r=e.n(O),p=e(63696),L=e(718264),S=e.n(L),R=e(35955),o=Object.defineProperty,y=(d,l,m)=>l in d?o(d,l,{enumerable:!0,configurable:!0,writable:!0,value:m}):d[l]=m,c=(d,l,m)=>(y(d,typeof l!="symbol"?l+"":l,m),m);const f=["body","headers","method","refreshKey","responseType","url","params"],s=["onValue","transform"];class n extends p.Component{constructor(){super(...arguments),c(this,"cancelSource",null),c(this,"state",{rawData:null})}componentDidMount(){this.updateProps({})}componentDidUpdate(l){this.updateProps(l)}componentWillUnmount(){this.cancelSource&&(this.cancelSource.cancel(),this.cancelSource=null)}async updateProps(l){const{body:m,headers:C,method:D,onError:E,onFetch:P,onValue:a,responseType:g,transform:u,url:A,params:i}=this.props,B=f.some(M=>M==="headers"||M==="params"||M==="body"?!S()(l[M]||null,this.props[M]||null):l[M]!==this.props[M]),V=B||!this.cancelSource&&s.some(M=>l[M]!==this.props[M]);let{rawData:$}=this.state;if(B){this.cancelSource&&(this.cancelSource.cancel(),this.cancelSource=null),P(),this.cancelSource=t.A.CancelToken.source();const M={cancelToken:this.cancelSource.token,data:m,headers:C,method:D,params:i,paramsSerializer:{serialize:R.h},responseType:g,url:A};let N;try{N=await(0,t.A)(M)}catch(K){t.A.isCancel(K)||E(K);return}finally{this.cancelSource=null}$=N.data,this.setState({rawData:$})}V&&B&&a(u($))}render(){return this.props.children}}c(n,"propTypes",{body:r().object,children:r().node,headers:r().objectOf(r().string.isRequired),method:r().string,onError:r().func,onFetch:r().func,onValue:r().func.isRequired,params:r().object,refreshKey:r().any,responseType:r().string,transform:r().func,url:r().string.isRequired}),c(n,"defaultProps",{body:void 0,children:null,headers:void 0,method:"get",onError:()=>{},onFetch:()=>{},params:{},refreshKey:void 0,responseType:"json",transform:d=>d})},535549:(se,U,e)=>{e.d(U,{A:()=>c});var t=e(362688),O=e.n(t),r=e(498685),p=e(171751),L=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,o=(f,s)=>{var n={};for(var d in f)S.call(f,d)&&s.indexOf(d)<0&&(n[d]=f[d]);if(f!=null&&L)for(var d of L(f))s.indexOf(d)<0&&R.call(f,d)&&(n[d]=f[d]);return n};const y=f=>{const s=f,{children:n}=s,d=o(s,["children"]),{data:l,error:m,loaded:C}=(0,r.ku)(d);return n(l,m,C)};y.propTypes={body:O().object,children:O().func.isRequired,headers:O().objectOf(O().str
393ing.isRequired),method:O().string,params:O().object,refreshKey:O().any,responseType:O().string,transform:O().func,url:O().string.isRequired},y.defaultProps={body:null,headers:null,method:"GET",params:{},refreshKey:null,responseType:"json",transform:p.Th};const c=y},857632:(se,U,e)=>{e.d(U,{FO:()=>c.FO,tx:()=>c.tx,Ay:()=>n});var t=e(224191),O=e(716175),r=e(362688),p=e.n(r),L=e(63696),S=Object.defineProperty,R=(d,l,m)=>l in d?S(d,l,{enumerable:!0,configurable:!0,writable:!0,value:m}):d[l]=m,o=(d,l,m)=>(R(d,typeof l!="symbol"?l+"":l,m),m);class y extends L.Component{render(){const{children:l,renderer:m}=this.props;return l(m)}}o(y,"propTypes",{children:p().func.isRequired,id:p().string.isRequired,renderer:p().object}),o(y,"defaultProps",{renderer:null});var c=e(881967);const f=(d,{id:l})=>({renderer:(0,O.gB)(d,l)}),s=null,n=(0,t.connect)(f,s)(y)},856975:(se,U,e)=>{e.d(U,{BH:()=>t,Iz:()=>r,kO:()=>O,vL:()=>p});const t={ampm:"A",compactDate:"MMM Do, YYYY",compactDatetime:"MMM Do, YYYY h:mma",compactPrettydate:"dddd, MMMM D",compactTime:"h:mm",date:"MMMM Do, YYYY",datetime:"MMM Do, YYYY h:mma",md:"MMM D",mdy:"MMM D, YYYY",prettydate:"dddd, MMMM D, YYYY",time:"h:mm A"},O={compactDate:"ll",compactDatetime:"lll",compactTime:"LT",date:"LL",datetime:"LLL",mdy:"LL",prettydate:"LLLL",time:"LT"},r={ar:"ar-EG",cn:"zh-CN",de:"de-DE",en:"en-US","es-es":"es-ES","es-mx":"es-MX",fr:"fr-FR",in:"hi-IN",it:"it-IT",ja:"ja-JP",jp:"ja-JP",ko:"ko-KR",kr:"ko-KR",pl:"pl-PL","pt-br":"pt-BR",ru:"ru-RU",th:"th-TH",tr:"tr-TR",tw:"zh-TW",vi:"vi-VN"},p={day:{day:"numeric"},month:{month:"long"},prettydate:{day:"numeric",month:"long",weekday:"long"},shortMonth:{month:"short"},timezone:{timeZoneName:"short"},weekday:{weekday:"long"},year:{year:"numeric"}}},774344:(se,U,e)=>{e.d(U,{A:()=>u});var t=e(63696),O=e(41989),r=e(362688),p=e.n(r),L=e(818339),S=e.n(L),R=e(120567),o=e.n(R),y=e(856975),c=Object.defineProperty,f=(A,i,B)=>i in A?c(A,i,{enumerable:!0,configurable:!0,writable:!0,value:B}):A[i]=B,s=(A,i,B)=>(f(A,typeof i!="symbol"?i+"":i,B),B);class n extends t.Component{formatTimestamp(){const{compact:i,locale:B,show:V,timestamp:$,endTimestamp:M,noLocale:N}=this.props,K=S().utc($),W=new Date($),q=B&&B!=="en"&&!N,X=q?y.kO:y.BH,w=y.Iz[B],H=B;switch(q&&K.locale(H),V){case"ampm":return K.local().format(y.BH.ampm);case"day":return W.toLocaleString(w,y.vL.day);case"date":{const z=i?X.compactDate:X.date;return K.local().format(z)}case"datetime":{const z=i?X.compactDatetime:X.datetime;return K.local().format(z)}case"prettyDate":{const z=S()().local().year(),le=K.local(),re=z!==le.year();if(q){const he=W.toLocaleString(w,y.vL.weekday);return re?`${he} ${le.format(y.kO.prettyDate)}`:W.toLocaleString(w,y.vL.prettyDate)}const de=re?y.BH.prettyDate:y.BH.compactPrettydate;return le.format(de)}case"localdate":return K.local().format(y.kO.compactDate);case"md":{const z=W.toLocaleString(w,y.vL.shortMonth),le=W.toLocaleString(w,y.vL.day);return q?`${z} ${le}`:K.local().format(y.BH.md)}case"mdy":return K.local().format(X.mdy);case"month":return W.toLocaleString(w,y.vL.shortMonth);case"timeRange":{const z=i?X.compactTime:X.time,le=K.local().format(z),re=W.toLocaleDateString(w,y.vL.timezone).split(" ")[1],de=M?` - ${S().utc(M).locale(H).local().format(z)}`:"";return q?`${le}${de}`:`${le}${de} ${re}`}case"time":{const z=i?X.compactTime:X.time;return K.local().format(z)}case"timezone":return W.toLocaleString(w,y.vL.timezone).split(" ")[1];case"weekday":return q?W.toLocaleString(w,y.vL.weekday):W.toLocaleString(y.Iz.en,y.vL.weekday);default:break}return o()(!1,"FormattedTimestamp: Invalid formatter properties specified."),null}render(){const{className:i,dataTestId:B}=this.props;return t.createElement("span",{className:i,"data-testid":B},this.formatTimestamp())}}s(n,"propTypes",{className:p().string,compact:p().bool,dataTestId:p().string,endTimestamp:p().oneOfType([p().number,p().instanceOf(Date)]),locale:p().string.isRequired,noLocale:p().bool,show:p().oneOf(["ampm","date","datetime","day","localdate","md","mdy","month","prettyDate","time","timeRange","timezone","weekday"]).isRequired,timestamp:p().oneOfType([p().number,p().instanceOf(Date)]).isRequired}),s(n,"defaultProps",{className:"",compact:!0,dataTestId:"",endTimestamp:null,noLocale:!1});var d=Object.defineProperty,l=Object.defineProperties,m=Object.getOwnPropertyDescriptors,C=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,P=(A,i,B)=>i in A?d(A,i,{enumerable:!0,configurable:!0,writable:!0,value:B}):A[i]=B,a=(A,i)=>{for(var B in i||(i={}))D.call(i,B)&&P(A,B,i[B]);if(C)for(var B of C(i))E.call(i,B)&&P(A,B,i[B]);return A},g=(A,i)=>l(A,m(i));const u=A=>{const{currentLocale:i}=(0,O._h)();return t.createElement(n,g(a({},A),{locale:i}))}},241076:(se,U,e)=>{e.d(U,{A:()=>g});var t=e(63696),O=e(41989),r=e(362688),p=e.n(r),L=e(818339),S=e.n(L),R=e(500047),o=Object.defineProperty,y=(u,A,i)=>A in u?o(u,A,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[A]=i,c=(u,A,i)=>(y(u,typeof A!="symbol"?A+"":A,i),i);const f=R.y1.minute;class s extends t.Component{constructor(){super(...arguments),c(this,"state",{diffText:this.computeDiffText()})}componentDidMount(){this.setState({diffText:this.computeDiffText()}),this.timer=setInterval(()=>{this.setState({diffText:this.computeDiffText()})},f)}componentDidUpdate(A){(A.relativeTo!==this.props.relativeTo||A.currentLocale!==this.props.currentLocale)&&(clearInterval(this.timer),this.setState({diffText:this.computeDiffText()}),this.timer=setInterval(()=>{this.setState({diffText:this.computeDiffText()})},f))}componentWillUnmount(){clearInterval(this.timer)}computeDiffText(){const{relativeTo:A=Date.now(),target:i,currentLocale:B}=this.props;return S()(i).locale(B).from(S()(A))}render(){const{className:A,dataTestId:i}=this.props,{diffText:B}=this.state;return t.createElement("div",{className:A,"data-testid":i},t.createElement("span",null,B))}}
393c(s,"propTypes",{className:p().string,currentLocale:p().string,dataTestId:p().string,relativeTo:p().oneOfType([p().number,p().instanceOf(Date)]),target:p().oneOfType([p().number,p().instanceOf(Date)]).isRequired}),c(s,"defaultProps",{className:"",currentLocale:"en",dataTestId:"",relativeTo:void 0});var n=Object.defineProperty,d=Object.defineProperties,l=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,E=(u,A,i)=>A in u?n(u,A,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[A]=i,P=(u,A)=>{for(var i in A||(A={}))C.call(A,i)&&E(u,i,A[i]);if(m)for(var i of m(A))D.call(A,i)&&E(u,i,A[i]);return u},a=(u,A)=>d(u,l(A));const g=u=>{const{currentLocale:A}=(0,O._h)();return t.createElement(s,a(P({},u),{locale:A}))}},848452:(se,U,e)=>{e.d(U,{A:()=>l});var t=e(224191),O=e(887944),r=e(272568),p=e(362688),L=e.n(p),S=e(63696),R=e(120567),o=e.n(R),y=Object.defineProperty,c=(m,C,D)=>C in m?y(m,C,{enumerable:!0,configurable:!0,writable:!0,value:D}):m[C]=D,f=(m,C,D)=>(c(m,typeof C!="symbol"?C+"":C,D),D);class s extends S.Component{constructor(){super(...arguments),f(this,"insightsActiveOnLastView",!0)}componentDidMount(){this.props.visible&&this.props.enableTracking&&this.fireViewEvent()}componentDidUpdate(C){if(!this.props.visible)return;const D=!C.visible,E=!C.insightsActive&&this.props.insightsActive,P=C.refreshKey!==this.props.refreshKey;if((D||E||P)&&this.props.enableTracking){if(!D&&E&&!this.insightsActiveOnLastView){this.insightsActiveOnLastView=!0;return}this.fireViewEvent()}}fireViewEvent(){const{action:C,doc:D,extra:E,fire:P,insightsActive:a,kingdom:g}=this.props;typeof g=="string"?P(g,C,D,E):typeof g=="function"?g(C,D,E):o()(!1,`Expected kingdom to be a string or function but received: ${JSON.stringify(g,null,2)}`),this.insightsActiveOnLastView=a}render(){return this.props.children}}f(s,"propTypes",{action:L().string,children:L().node,doc:L().object,enableTracking:L().bool,extra:L().any,fire:L().func.isRequired,insightsActive:L().bool.isRequired,kingdom:L().oneOfType([L().func.isRequired,L().oneOf(O.$_)]).isRequired,refreshKey:L().any,visible:L().bool.isRequired}),f(s,"defaultProps",{action:"view",children:null,doc:null,enableTracking:!0,extra:void 0,refreshKey:void 0});const n=m=>({enableTracking:!(0,r.Q)(m),insightsActive:!!(0,O.FQ)(m)}),d=m=>({fire:(C,D,E,P)=>m((0,O.k4)(C,D,E,P))}),l=(0,t.connect)(n,d)(s)},654368:(se,U,e)=>{e.d(U,{A:()=>c});var t=e(63696),O=e(886550),r=e(515903),p=e(206334),L=e(224191),S=e.n(L);const R=O.Ay.div`
394  width: 1280px;
395  height: 720px;
396  background-color: transparent;
397  display: block;
398`,o=O.Ay.div`
399  position: absolute;
400  display: block;
401  width: 100%;
402  height: 100%;
403`,c=()=>{const f=(0,L.useSelector)(p.rb),n=(0,L.useSelector)(p.JI)||f;return t.createElement(R,null,t.createElement(o,null,n&&t.createElement(r.A,{overlay:n})))}},113785:(se,U,e)=>{e.d(U,{A:()=>C});var t=e(224191),O=e(463302),r=e(63696),p=e(362688),L=e.n(p),S=e(886550),R=e(982005),o=e(734219),y=e(429195),c=Object.defineProperty,f=(D,E,P)=>E in D?c(D,E,{enumerable:!0,configurable:!0,writable:!0,value:P}):D[E]=P,s=(D,E,P)=>(f(D,typeof E!="symbol"?E+"":E,P),P);const n=S.Ay.div`
404  align-items: center;
405  background: ${y.mrt};
406  color: ${y.SP6};
407  display: ${D=>D.hide?"none":"flex"};
408  left: 0;
409  margin-bottom: 20px;
410  padding: 16px;
411  width: 100%;
412`,d=(0,S.Ay)(R.A)`
413  align-self: center;
414  color: ${y.SP6};
415  font-size: 24px;
416  margin-left: 12px;
417`;class l extends r.Component{constructor(){super(...arguments),s(this,"state",{hide:!1}),s(this,"dismissNotice",()=>{this.setState({hide:!0})})}render(){const{futureVerificationNotice:E,showEmailVerificationNotice:P}=this.props,{hide:a}=this.state;let g;return P?g=o.A:g=null,g!==null&&r.createElement(n,{hide:a},r.createElement(g,null),r.createElement(d,{onClick:this.dismissNotice}))}}s(l,"propTypes",{futureVerificationNotice:L().bool.isRequired,showEmailVerificationNotice:L().bool.isRequired});const m=D=>({futureVerificationNotice:!1,showEmailVerificationNotice:(0,O.hb)(D)}),C=(0,t.connect)(m)(l)},774302:(se,U,e)=>{e.d(U,{cV:()=>B,xy:()=>V,zU:()=>g});var t=e(221196),O=e.n(t),r=e(738750),p=e.n(r),L=e(509729),S=e.n(L),R=e(795685),o=e.n(R),y=Object.defineProperty,c=Object.defineProperties,f=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,l=($,M,N)=>M in $?y($,M,{enumerable:!0,configurable:!0,writable:!0,value:N}):$[M]=N,m=($,M)=>{for(var N in M||(M={}))n.call(M,N)&&l($,N,M[N]);if(s)for(var N of s(M))d.call(M,N)&&l($,N,M[N]);return $},C=($,M)=>c($,f(M));const D={day:"numeric",month:"long",year:"numeric"},E={day:"numeric",month:"long",timeZoneName:"short",year:"numeric"},P=($,M)=>{var N,K,W,q,X,w;return{arrayId:O().generate(),id:((N=$.video)==null?void 0:N._id)||((K=$.playlist)==null?void 0:K._id),kind:"event",name:$.name||((q=(W=$.video)==null?void 0:W.data)==null?void 0:q.name)||((w=(X=$.playlist)==null?void 0:X.data)==null?void 0:w.name)||"Video",showStartTime:!!M,startTime:$.
417startTime}},a=($,M)=>{const N=new Date($).toLocaleDateString([],D),K=Object.keys(M),W=new Date().toLocaleDateString([],D),q=K.find(le=>le===W),X=K.find(le=>new Date(le).getTime()>Date.now()),w=N===W,H=$===K[0],z=$===X;return!(w||!q&&(X&&z||!X&&H))},g=$=>{if(o()($.reference))return $;const M=m({},$),{reference:N={},references:K}=M,W=N.personId||N.groupId;return N.type&&W&&!K?(delete M.reference,C(m({},M),{references:[{id:W,type:N.type}]})):M},u=$=>M=>C(m({},M),{kind:"event",showStartTime:$}),A=($,M=!1)=>{const N=p()($,K=>new Date(K.startTime).toDateString());return Object.entries(N).reduce((K,[W,q])=>{const X=a(W,N),w=q.map(g).map(u(M));return[...K,{arrayId:O().generate(),collapseByDefault:X,date:new Date(W).toLocaleDateString([],E),events:w,groupDate:W,kind:"group"}]},[])},i=($,M)=>{const K=Date.now(),W=K+24192e5,q=(w,H)=>{const le=[],re=new Date().getTime()+H;let de=new Date(w.startTime).getTime();for(;de<re;)de>K&&le.push(P(C(m({},w),{startTime:de}),M)),de+=864e5;return le},X=(w,H)=>{const z=[],re=new Date().getTime()+H;let de=new Date(w.startTime).getTime();for(;de<re;)de>K&&z.push(P(C(m({},w),{startTime:de}),M)),de+=6048e5;return z};return $.reduce((w,H)=>{switch(H.repeat){case"daily":return w.concat(q(H,24192e5));case"weekly":return w.concat(X(H,24192e5));case"none":{const z=new Date(H.startTime).getTime();if(z>K&&z<W)return[...w,P(H,M)];break}default:return w}return w},[])},B=($={},M)=>{const N=Object.values($).reduce((W,q)=>{var X,w;const H=(X=q.data)==null?void 0:X.content,z=H?.find(re=>re.kind==="video"),le=(w=z?.data.live)==null?void 0:w.schedule;return le?W.concat(i(le,M)):W},[]),K=S()(N,W=>new Date(W.startTime).getTime(),["asc"]);return M?{channels:$,sortedEvents:A(K,!0)}:{channels:$,sortedEvents:K}},V=($,M)=>{const N=S()($,"startTime");return M?A(N,!0):N.map(g).map(u(!1))}},312854:(se,U,e)=>{e.d(U,{B3:()=>d,a:()=>l,b7:()=>n,bw:()=>s,cY:()=>c,e$:()=>m,kK:()=>a,pL:()=>P});var t=e(844308),O=e.n(t),r=e(226362),p=e.n(r),L=e(429195),S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,y=(g,u)=>{var A={};for(var i in g)R.call(g,i)&&u.indexOf(i)<0&&(A[i]=g[i]);if(g!=null&&S)for(var i of S(g))u.indexOf(i)<0&&o.call(g,i)&&(A[i]=g[i]);return A};const c=p()((g,u)=>{const A=O()(g);return A[A.isDark()?"whiten":"blacken"](u).hex()},{max:500,primitive:!0}),f=p()(g=>{const u=g/255;return u<=.03928?u/12.92:((u+.055)/1.055)**2.4},{max:500,primitive:!0}),s=p()(g=>{const{r:u,g:A,b:i}=O()(g).rgb().object(),B=f(u),V=f(A),$=f(i);return .2126*B+.7152*V+.0722*$>.5?L.azv:L._e_},{max:500,primitive:!0}),n=p()((g,u)=>O()(g).alpha(u).hex(),{max:500,primitive:!0}),d=p()((g,u)=>O()(g).alpha(u).string(),{max:500,primitive:!0}),l=p()((g,u)=>O()(g).lighten(u).string()),m=p()((g,u)=>O()(g).darken(u).string()),C=p()(g=>O()(g).luminosity()),D=(g,u)=>{const A=parseInt,i=Math.round,[B,V,$,M]=g.split(",");let N=u<0;const K=N?0:255*u;return N=N?1+u:1-u,`rgb${M?"a(":"("}${i(A(B[3]==="a"?B.slice(5):B.slice(4))*N+K)},${i(A(V)*N+K)},${i(A($)*N+K)}${M?`,${M}`:")"}`};function E(g,u=155/256){const A=g.replace("#",""),i=parseInt(A.substr(0,2),16),B=parseInt(A.substr(2,2),16),V=parseInt(A.substr(4,2),16);return(i*299+B*587+V*114)/1e3>u*256}const P=p()(g=>{var u=g,{hex:A,maxBrightness:i,percentage:B}=u,V=y(u,["hex","maxBrightness","percentage"]);const{lightenValue:$=B,darkenValue:M=B}=V;if(!$||!M)return A;const N=O()(A),W=E(A,i)?-$:M;return D(`rgba(${N.red()},${N.green()},${N.blue()},${N.alpha()})`,W)}),a=p()((g,u,A={})=>{var i=A,{minDifference:B,percentage:V}=i,$=y(i,["minDifference","percentage"]);try{const M=O()(g),N=O()(u);if(!(B?Math.abs(M.luminosity()-N.luminosity())<B:M.isDark()===N.isDark()))return g;const{lightenPercentage:W=V||1-M.lightness()/100,darkenPercentage:q=V&&-V||1-M.lightness()}=$,X=M.isDark()?W:q;return O()(D(`rgba(${M.red()},${M.green()},${M.blue()},${M.alpha()})`,X)).hex()}catch{return g}})},449222:(se,U,e)=>{e.d(U,{A:()=>d});var t=e(63696),O=e(729441),r=e(224191),p=e.n(r),L=e(368909),S=e(143213),R=e(365179),o=e(272568),y=e(886550),c=e(613553),f=e(341476);const s=(0,y.Ay)(S.Ay)`
418  position: relative;
419`,n=t.memo(()=>{const l=(0,r.useSelector)(o.BW),m=(0,r.useSelector)(L.VC),C=(0,r.useSelector)(R.Y9x),D=(0,r.useSelector)(R.PwZ);return(0,t.useEffect)(()=>
419{(0,f.UH)()&&(0,f.Xz)()},[]),t.createElement(O.Ev,null,m&&t.createElement(s,{message:C,startTime:D}),t.createElement(c.S,{items:l,chunkSize:3}))});n.displayName="GridView";const d=n},849859:(se,U,e)=>{e.d(U,{A:()=>P});var t=e(63696),O=e(886550),r=e(622045),p=e(429195),L=e(312854),S=e(403869),R=e(152544),o=e(942662),y=e(551321),c=e(622112),f=e(41989),s=e(224191),n=e.n(s),d=e(789069),l=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,D=(g,u)=>{var A={};for(var i in g)m.call(g,i)&&u.indexOf(i)<0&&(A[i]=g[i]);if(g!=null&&l)for(var i of l(g))u.indexOf(i)<0&&C.call(g,i)&&(A[i]=g[i]);return A};const E=(0,S.A)(t.forwardRef((g,u)=>{var A=g,{onClick:i,accentColor:B}=A,V=D(A,["onClick","accentColor"]);return t.createElement(c.m_,null,t.createElement(c.k$,{asChild:!0},t.createElement(y.$,{ref:u,context:"admin",size:"icon",variant:"ghost",color:B,className:"h-6 w-6 rounded-[5px]",onClick:i,"data-testid":V["data-testid"]},t.createElement(o.Cross,null))),t.createElement(c.ZI,{side:"left"},V.tooltipLabel))}));function P({canMoveDown:g=!0,canMoveUp:u=!0,canRemove:A=!0,onEdit:i,onRemove:B,title:V,titleKey:$,onMoveDown:M,onMoveUp:N}){const{t:K}=(0,f._h)(),W=(0,s.useSelector)(d.ky),q=(0,s.useSelector)(d.PR),X=H=>{H.key==="Enter"&&B&&B()},w=H=>{if(!i)return;const z=H.currentTarget.getBoundingClientRect();i(H,{top:z.top,left:z.left,bottom:z.bottom,right:z.right,width:z.width,height:z.height})};return t.createElement(c.Bc,null,t.createElement("div",{className:"absolute top-0 left-0 flex p-1 gap-1 w-full z-[1] pointer-events-none [&>*]:pointer-events-auto",onKeyDown:X},t.createElement(r.A,{component:a,stringKey:$},V),i&&t.createElement(c.m_,null,t.createElement(c.k$,{asChild:!0},t.createElement(y.$,{context:"admin",size:"icon",variant:"ghost",color:W,className:"h-6 w-6 rounded-[5px]",onClick:w,"data-testid":"page-block-edit-button"},t.createElement(o.Gear,null))),t.createElement(c.ZI,{side:"bottom"},K("ADMIN_LABEL_EDIT"))),g&&M&&t.createElement(c.m_,null,t.createElement(c.k$,{asChild:!0},t.createElement(y.$,{context:"admin",size:"icon",variant:"ghost",color:q,className:"h-6 w-6 rounded-[5px]",onClick:M,"data-testid":"page-block-move-down-button"},t.createElement(o.ArrowBottom,null))),t.createElement(c.ZI,{side:"bottom"},K("MOVE_DOWN"))),u&&N&&t.createElement(c.m_,null,t.createElement(c.k$,{asChild:!0},t.createElement(y.$,{context:"admin",size:"icon",variant:"ghost",color:q,className:"h-6 w-6 rounded-[5px]",onClick:N,"data-testid":"page-block-move-up-button"},t.createElement(o.ArrowTop,null))),t.createElement(c.ZI,{side:"bottom"},K("MOVE_UP"))),A&&B&&t.createElement("div",{className:"ml-auto"},t.createElement(E,{accentColor:W,action:B,descriptionTextKey:"ADMIN_LABEL_UNDO_WARNING",messageKey:"ADMIN_PROMPT_CONFIRM_BLOCK_DELETION",tooltipLabel:K("REMOVE"),"data-testid":"page-block-remove-button"}))))}const a=O.Ay.div`
420  ${R.Z0}
421  pointer-events: none;
422  height: 24px;
423  text-transform: capitalize;
424  background: ${g=>(0,L.B3)((0,p.Qod)(g),.2)};
425  border: 1px solid ${p.Qod};
426  border-radius: 0px 5px 5px 5px;
427  padding: 2px 10px 4px;
428  color: ${p.o0B};
429`},729441:(se,U,e)=>{e.d(U,{$6:()=>Me,BN:()=>K,DM:()=>He,Ev:()=>W,F7:()=>X,GB:()=>k,GT:()=>le,H0:()=>g,KM:()=>q,NA:()=>he,PQ:()=>Ce,SJ:()=>re,SU:()=>w,T_:()=>z,WE:()=>Vt,Y6:()=>fe,af:()=>de,cK:()=>Be,eV:()=>H,fr:()=>ut,fz:()=>i,gL:()=>bt,hJ:()=>ae,ip:()=>Ee,lO:()=>ne,n2:()=>_e,pJ:()=>Le,pT:()=>Oe,v7:()=>Ie,zy:()=>$e});var t=e(886550),O=e(784567),r=e(957006),p=e(283722),L=e(156794),S=e(575349),R=e(545290),o=e(429195),y=e(816970),c=e(835896);const f=F=>F!==0?`${F}px`:F,s=268,n=158,d=330,l=220,m=182,C=153,D=272,E=81,P=144,a=158,g=316,u=124,A=248,i=20,B=14,V=50,$=25,M={BUTTON_WIDTH:V,CHANNEL_ROW_HEIGHT:m,PLAYLIST_ROW_MIN_HEIGHT:y.CN?l:d,THUMBNAIL_HEIGHT_LARGE:C,THUMBNAIL_HEIGHT_SMALL:a,THUMBNAIL_MARGIN:i,THUMBNAIL_WIDTH_LARGE:D,THUMBNAIL_WIDTH_SMALL:g,VIDEO_ROW_HEIGHT:s},N={BUTTON_WIDTH:$,CHANNEL_ROW_HEIGHT:m,PLAYLIST_ROW_MIN_HEIGHT:l,THUMBNAIL_HEIGHT_LARGE:E,THUMBNAIL_HEIGHT_SMALL:u,THUMBNAIL_MARGIN:B,THUMBNAIL_WIDTH_LARGE:P,THUMBNAIL_WIDTH_SMALL:A,VIDEO_ROW_HEIGHT:n}
429,K=F=>F?N:M,W=t.Ay.div`
430  width: ${({width:F})=>F?`${F}px`:"100%"};
431  max-width: 100%;
432  margin: 0 auto;
433`,q=(0,t.Ay)(O.A)`
434  height: ${({isGridMobile:F})=>f(F?l:d)};
435  margin: 0 auto;
436  width: ${({width:F})=>F}px;
437`,X=(0,t.Ay)(c.A)`
438  color: ${o.SP6};
439  margin: 0;
440  padding: ${({isGridMobile:F})=>f(F?"12":"40")} 20px;
441  width: 100%;
442  max-width: 100%;
443  padding-right: 0 !important;
444  ${({minWidth:F})=>F&&`min-width: ${F}px`}
445  ${F=>F.showEditingBorder&&`
446      width: 100%;
447      position: relative;
448      padding-left: 8px
449      padding-right: 8px;
450      overflow: hidden;
451    `}
452
453  ${R.GA}
454`,w=(0,t.Ay)(X)`
455  min-height: auto;
456  margin: auto 0;
457  padding: ${({isGridMobile:F})=>f(F?"12":"35")} 20px;
458  ${R.GA}
459  padding-right: 0 !important;
460  ${F=>F.showEditingBorder&&`
461    position: relative;
462    width: 100%;
463    overflow: hidden;
464  `}
465`,H=t.Ay.div`
466  ${R.C6}
467`,z=t.Ay.span`
468  font-family: ${o.qwO};
469  margin-right: 18px;
470`,le=t.Ay.span`
471  opacity: ${({isGridMobile:F})=>F?0:.5};
472`,re=t.Ay.span`
473  margin-right: 0.25em;
474`,de=t.Ay.div`
475  display: flex;
476  margin: 0;
477  padding: 0;
478  align-items: center;
479  justify-content: flex-start;
480  flex-direction: column;
481  width: 100%;
482  position: relative;
483`,he=t.Ay.div`
484  width: ${({isGridMobile:F})=>f(F?A:g)};
485  display: flex;
486  border-radius: 10px;
487  overflow: hidden;
488  aspect-ratio: 16/9;
489  position: relative;
490`,Ee=(0,t.Ay)(r.A)`
491  object-fit: cover;
492  height: 100%;
493  width: 100%;
494  border-radius: 10px;
495`,Me=t.Ay.div`
496  background-color: ${o.AOI};
497  position: relative;
498  height: 100%;
499`,$e=(0,t.Ay)(Me)`
500  height: ${({height:F})=>f(F)};
501  width: ${({width:F})=>f(F)};
502  display: flex;
503  justify-content: center;
504  align-items: center;
505  font-size: 24px;
506`,He=(0,t.Ay)(p.Ay)`
507  color: ${o.SP6};
508  position: absolute;
509  top: 50%;
510  left: 50%;
511  transform: translate(-50%, -50%);
512`,ne=t.Ay.div`
513  ${R.f3}
514  background-color: rgba(0, 0, 0, 0.7);
515  bottom: 0;
516  box-sizing: content-box !important;
517  color: rgba(255, 255, 255, 0.75);
518  height: 14px;
519  padding: 2px;
520  position: absolute;
521  right: 0;
522  text-align: center;
523`,k=t.Ay.div`
524  margin-top: 8px;
525  ${R.JO}
526`,fe=t.Ay.div`
527  line-height: 16px;
528  font-family: ${o.qwO};
529  ${R.FE}
530`,Oe=t.Ay.div`
531  flex-basis: 0;
532  flex-grow: 1;
533`,Ie=t.Ay.div`
534  color: ${o.SP6};
535  opacity: 0.5;
536  margin-top: 6px;
537`,Ce=t.Ay.div`
538  color: ${o.SP6};
539  cursor: ${F=>F.active?"pointer":"default"};
540  font-size: 18px;
541  width: ${V}px;
542  text-align: center;
543  height: ${a}px;
544  line-height: ${a}px;
545  ${({channels:F})=>F&&`margin-top: ${i}px;`}
546  display: flex;
547  align-items: center;
548  justify-content: center;
549  ${({left:F})=>F&&`
550    width: 0px;
551    transition: width 0.25s;
552  `}
553  ${({left:F,active:ie})=>F&&ie&&`
554    width: ${V}px;
555  `}
556`,_e=(0,t.Ay)(Ce)`
557  height: ${n}px;
558`,ae=t.Ay.div`
559  cursor: ${F=>F.active?"pointer":"default"};
560  ${R.f3}
561  width: 25px;
562  display: flex;
563  align-items: center;
564`,Le=t.Ay.div`
565  ${R.rS};
566  margin: 5px 0;
567  ${R.C6}
568`,Be=(0,t.Ay)(Ce)`
569  display: none;
570`,ye=(0,t.Ay)(O.A)`
571  height: ${({showBorder:F,isGridMobile:ie})=>f((ie?n:s)-35*F)};
572  margin: 0 auto;
573  width: ${F=>F.width}px;
574`,be=t.Ay.div`
575  padding-top: ${({isGridMobile:F})=>F?15:35}px;
576  padding-bottom: ${({isGridMobile:F})=>F?15:35}px;
577  padding-left: 20px;
578  padding-right: 20px;
579  display: flex;
580  pointer-events: ${F=>F.preventClicks?"none":"auto"};
581`,J=t.Ay.div`
582  margin: 0;
583  width: ${F=>F.width?`${F.width}px`:"100%"};
584  ${F=>F.showEditingBorder&&(0,t.AH)`
585    position: relative;
586    padding-left: 8px;
587    padding-right: 8px;
588    &, & > ${be} {
589      width: 100%;
590    }
591  `}
592`,Qe=t.Ay.div`
593  position: absolute;
594  top: 0;
595  background-color: ${o.Qod};;
596  color: white;
597  height: 20px;
598  width: 20px;
599  display: flex;
600  align-items: center;
601  justify-content: center;
602  ${R.vv};
603`,lt=(0,t.Ay)(p.Ay).attrs(()=>({name:"cancel-thin"}))`
604  font-size: 16px;
605`,we=(0,t.Ay)(p.Ay).attrs(()=>({color:"white",name:"pencil"}))`
606  color: white;
607  margin-bottom: 4px;
608  & > svg {
609    height: 18px;
610    width: 18px;
611  }
612`,rt=t.Ay.div`
613  height: ${({isGridMobile:F})=>f(F?E:C)};
614  background: url(${F=>F.image}) no-repeat center;
615  background-size: cover;
616  flex: none;
617  position: relative;
618  text-align: center;
619  width: ${({isGridMobile:F})=>f(F?P:D)};
620`,Ze=(0,t.Ay)(r.A)`
621  object-fit: cover;
622  height: 100%;
623  width: 100%;
624  border-radius: 10px;
625`,Xe=t.Ay.div`
626  ${R.f3}
627  background-color: rgba(0, 0, 0, 0.7);
628  bottom: 0;
629  box-sizing: content-box !important;
630  color: rgba(255, 255, 255, 0.75);
631  height: 14px;
632  padding: 2px;
633  position: absolute;
634  right: 0;
635`,it=t.Ay.div`
636  margin-left: ${({isGridMobile:F})=>F?5:30}px;
637`,Pt=t.Ay.div`
638  font-size: ${({isGridMobile:F})=>F?13:24}px;
639  line-height: ${({isGridMobile:F})=>F?16:28}px;
640  margin-bottom: ${({isGridMobile:F})=>F?5:15}px;
641`,Ne=t.Ay.div`
642  color: ${o.SP6};
643  ${R.f3}
644  margin-bottom: ${o.Emp};
645  opacity: 0.5;
646`,at=t.Ay.div`
647  ${R.C6}
648  display: ${({isGridMobile:F})=>F?"none":"initial"};
649  color: ${o.SP6};
650  white-space: pre-wrap;
651  opacity: 0.5;
652  ${R.TF}
653`,ut=(0,t.Ay)(L.A).attrs(()=>({plain:!0}))`
654  && {
655    color: ${o.SP6};
656  }
657`,pt=(0,t.Ay)(Qe)`
658  right: 0;
659`,Mt=(0,t.Ay)(Qe)`
660  left: 0;
661  padding-bottom: 2px;
662`,Vt=t.Ay.div`
663  pointer-events: ${F=>F.preventClicks?"none":"auto"};
664`,bt=(0,t.Ay)(S.A)`
665  cursor: pointer;
666  display: flex;
667  position: relative;
668  user-select: none;
669  width: ${F=>F.width}px;
670
671  &:nth-of-type(3n + 2) {
672    margin: 0 16px;
673  }
674`},928997:(se,U,e)=>{e.d(U,{A:()=>u});var t=e(63696),O=e(224191),r=e.n(O),p=e(949074),L=e(864244),S=e(186386),R=e.n(S),o=e(990220),y=e(415530),c=e(463302),f=e(952143),s=Object.defineProperty,n=Object.defineProperties,d=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,D=(A,i,B)=>i in A?s(A,i,{enumerable:!0,configurable:!0,writable:!0,value:B}):A[i]=B,E=(A,i)=>{for(var B in i||(i={}))m.call(i,B)&&D(A,B,i[B]);
674if(l)for(var B of l(i))C.call(i,B)&&D(A,B,i[B]);return A},P=(A,i)=>n(A,d(i));const a={BILLING:"billing",SHIPPING:"shipping"},u=({className:A,defaultValues:i,mode:B=a.SHIPPING,onComplete:V,useSavedContacts:$=!0})=>{const M=(0,O.useDispatch)(),N=(0,O.useSelector)(p.getAccountAddresses),K=(0,O.useSelector)(c.mC),W=(0,O.useSelector)(p.getAccountAddressesLoading),q=B==="billing";(0,t.useEffect)(()=>{K&&M((0,p.fetchAccountAddresses)(K))},[K]);const X=(0,t.useMemo)(()=>$?N.map(re=>{const{address:{firstName:de,lastName:he}}=re,Ee={line1:re.address.address1,line2:re.address.address2,city:re.address.city,state:re.address.state,postal_code:re.address.postalCode,country:re.address.countryCode};return{address:Ee,label:Ee,phone:re.address.phoneNumber||"",name:`${de} ${he}`||"",primary:re.primary}}):[],[N,$]),w=t.useMemo(()=>P(E({mode:B,contacts:X},i?{defaultValues:i}:{}),{autocomplete:{mode:"google_maps_api",apiKey:o.f4||""},fields:{phone:"always"},validation:{phone:{required:"always"}}}),[X,i,B]),H=t.useCallback(le=>{const re=le?.value;if(!re)return;M((0,f.setShippingMethod)(""));const de=re.name||"",he=re.address||{},Ee=re.phone||"",Me=de.split(" "),$e=Me[0],He=Me[Me.length-1],ne={address1:he.line1,address2:he.line2||"",countryCode:he.country,postalCode:he.postal_code,state:he.state,firstName:$e,lastName:He,city:he.city,phoneNumber:Ee,complete:!0};if(q){M((0,y.mZ)({complete:!0,countryCode:ne.countryCode,postalCode:ne.postalCode,address:ne.address1,city:ne.city,stateCode:ne.state,markDefaultPaymentMethod:!1,name:de,error:null,phone:ne.phoneNumber}));return}M((0,L.setShippingAddressField)({address1:ne.address1,address2:ne.address2,city:ne.city,countryCode:ne.countryCode,firstName:ne.firstName,lastName:ne.lastName,phoneNumber:ne.phoneNumber,postalCode:ne.postalCode,state:ne.state})),le.complete&&V&&V()},[M,q,X]);if(K&&W)return null;const z=t.createElement(S.AddressElement,{onChange:H,options:w});return A?t.createElement("div",{className:A},z):z}},748706:(se,U,e)=>{e.d(U,{A:()=>oe});var t=e(224191),O=e(887944),r=e(558613),p=e(467286),L=e(747988),S=e(272568),R=e(754280),o=e(63696),y=e(362688),c=e.n(y),f=e(731694),s=e(476765),n=e(784355),d=e(365179),l=e(531877),m=e(708125),C=e(86138),D=e(41989),E=e(816970),P=e(155013),a=e(729441),g=Object.defineProperty,u=(h,T,b)=>T in h?g(h,T,{enumerable:!0,configurable:!0,writable:!0,value:b}):h[T]=b,A=(h,T,b)=>(u(h,typeof T!="symbol"?T+"":T,b),b),i;const V=(0,D.N5)((i=class extends o.PureComponent{constructor(){super(...arguments),A(this,"getDefaultThumbnailImage",()=>o.createElement(a.$6,null,o.createElement(a.DM,{name:"play"}
674)))}render(){const{image:h,title:T,created:b,tag:Pe,duration:ge,endUserT:xe,isGridMobile:x,isEditing:v,doc:I,index:Z,playlistId:me,onClick:Q}=this.props;let pe=T;return v||(pe=xe([D.Rq.videoTitle,{videoId:I._id}])||T),o.createElement(a.pT,null,o.createElement(a.fr,{onClick:Q,plain:!0,playlistId:me,playlistIndex:Z,tag:Pe},o.createElement(a.NA,{isGridMobile:x},o.createElement(a.ip,{fallback:this.getDefaultThumbnailImage,loading:"lazy",src:h}),!!ge&&o.createElement(a.lO,null,Number(ge)>0&&(0,E.iw)(ge)))),o.createElement(a.GB,null,o.createElement(a.fr,{onClick:Q,plain:!0,tag:Pe},o.createElement(a.Y6,{maxLines:2},pe)),b&&o.createElement(a.v7,null,o.createElement(P.A,{date:b}))))}},A(i,"propTypes",{created:c().number,doc:c().object,duration:c().number,endUserT:c().func.isRequired,image:c().string.isRequired,index:c().number.isRequired,isEditing:c().bool.isRequired,isGridMobile:c().bool.isRequired,onClick:c().func,playlistId:c().string.isRequired,tag:c().string.isRequired,title:c().string.isRequired}),A(i,"defaultProps",{created:"",doc:void 0,duration:"",onClick:void 0}),i));var $=Object.defineProperty,M=Object.defineProperties,N=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,X=(h,T,b)=>T in h?$(h,T,{enumerable:!0,configurable:!0,writable:!0,value:b}):h[T]=b,w=(h,T)=>{for(var b in T||(T={}))W.call(T,b)&&X(h,b,T[b]);if(K)for(var b of K(T))q.call(T,b)&&X(h,b,T[b]);return h},H=(h,T)=>M(h,N(T)),z=(h,T,b)=>(X(h,typeof T!="symbol"?T+"":T,b),b),le;const re=(0,D.N5)((le=class extends o.Component{renderPlaylistHeader({name:h,count:T}){const{arrayId:b,endUserT:Pe,isGridMobile:ge,isEditing:xe,playlistId:x}=this.props;if(ge||!(T||h))return null;let v=h;const I=Pe([D.Rq.playlistTitle,{playlistId:x||b}]),Z=Pe([D.Rq.playlistCountAndVideo,{variables:{count:T}}],["GRID_PLAYLIST_COUNT_VIDEOS",{count:T}]);let me=o.createElement(o.Fragment,null,o.createElement(a.SJ,null,T),o.createElement(C.A,{stringKey:"GRID_PLAYLIST_VIDEOS"}));if(!xe&&(v=I||h,Z)){const Q="span";me=o.createElement(Q,{style:{marginRight:"0.25em"}},Z)}return o.createElement(a.eV,null,o.createElement(a.T_,{"data-testid":"playlistTitle"},v),o.createElement(a.GT,null,me))}render(){const{isGridMobile:h,showBorder:T,slidesWidth:b,name:Pe,onClick:ge,videos:xe,totalSlidesToShow:x,onRemove:v,onEdit:I,onMoveDown:Z,onMoveUp:me,isEditing:Q,playlistId:pe,slideContainerMaxWidth:Ue,hideArrows:ue,isChannelPage:Ge}=this.props,ct=xe?xe.filter(Ht=>Ht._id):[],yt=ct.length,Ve=(0,a.BN)(h),Fe=Math.min(x,yt),Ct=Fe===yt,Kt=h?a.hJ:a.PQ,Jt=Ct?a.cK:Kt,kt={count:yt,name:Pe};return o.createElement(a.F7,{isChannelPage:Ge,isGridMobile:h,onEdit:I,onMoveDown:Z,onMoveUp:me,onRemove:v,showBorder:T,showEditingBorder:Q,testId:"playlistRowQuickEdit",titleKey:"ADMIN_LABEL_PLAYLIST",width:h?Ue-72:b},o.createElement(a.WE,{preventClicks:Q},o.createElement(m.A,{arrowLeftIconName:"arrowLeft",arrowRightIconName:"arrowRight",flushLeft:Ct,fullwidth:!0,hideArrows:ue,isGrid:!0,isGridMobile:h,isTouchSlider:!0,items:(0,l.Ch)(ct,"_id",!1).map(({key:Ht,value:Zt})=>H(w({},Zt),{key:Ht})),mobileTitle:Pe,playlistData:kt,renderHeader:()=>this.renderPlaylistHeader(kt),slideAmount:Fe-1,slideButton:Jt,slideMargin:Ve.THUMBNAIL_MARGIN,slidesHeight:Ve.PLAYLIST_ROW_MIN_HEIGHT,slidesShown:Fe,slideWidth:Ve.THUMBNAIL_WIDTH_SMALL},(Ht,Zt)=>{const qt=(0,s.xU)(Ht),{created:en,durationSeconds:tn,thumbnail:nn,_id:xt,title:Bt}=qt;return o.createElement(V,{created:en,doc:qt,duration:tn,image:nn,index:Zt,isEditing:Q,isGridMobile:h,onClick:()=>ge({_id:xt,title:Bt},Zt),playlistId:pe,tag:xt,title:Bt})})))}},z(le,"propTypes",{arrayId:c().string,endUserT:c().func.isRequired,hideArrows:c().bool.isRequired,isChannelPage:c().bool.isRequired,isEditing:c().bool.isRequired,isGridMobile:c().bool.isRequired,name:c().string.isRequired,onClick:c().func,onEdit:c().func,onMoveDown:c().func,onMoveUp:c().func,onRemove:c().func,playlistId:c().string,showBorder:c().bool.isRequired,slideContainerMaxWidth:c().number.isRequired,slidesWidth:c().number.isRequired,totalSlidesToShow:c().number.isRequired,videos:c().array.isRequired}),z(le,"defaultProps",{arrayId:null,onClick:void 0,onEdit:()=>{},onMoveDown:void 0,onMoveUp:void 0,onRemove:void 0,playlistId:null}),le));function de({doc:h,isGridMobile:T,onClick:b,showBorder:Pe,slidesWidth:ge,totalSlidesToShow:xe,isEditing:x,onRemove:v,onEdit:I,onMoveDown:Z,onMoveUp:me}){const Q=(0,t.useSelector)(d.DS2),Ue=(0,n.A)({collection:"video",idField:"id",items:h.members,keyField:"id"}).loadedDocuments||[];return Ue?o.createElement(re,{arrayId:h?.arrayId,isChannelPage:Q,isEditing:x,isGridMobile:T,name:h.title,onClick:b,onEdit:I,onMoveDown:Z,onMoveUp:me,onRemove:v,playlistId:h?._id,showBorder:Pe,slidesWidth:ge,totalSlidesToShow:xe,videos:Ue}):o.createElement(a.KM,{isGridMobile:T})}
674de.propTypes={doc:c().shape({_id:c().string.isRequired,members:c().arrayOf(c().object).isRequired,title:c().string.isRequired}).isRequired,isEditing:c().bool.isRequired,isGridMobile:c().bool.isRequired,onClick:c().func,onEdit:c().func,onMoveDown:c().func,onMoveUp:c().func,onRemove:c().func.isRequired,showBorder:c().bool.isRequired,slidesWidth:c().number.isRequired,totalSlidesToShow:c().number.isRequired},de.defaultProps={onClick:void 0,onEdit:()=>{},onMoveDown:void 0,onMoveUp:void 0};var he=e(886550),Ee=e(242689),Me=e.n(Ee),$e=e(927860),He=e(406319),ne=e(429195),k=e(545290),fe=e(156794),Oe=e(835896);function Ie({doc:h,isEditing:T,onClick:b,onEdit:Pe,onRemove:ge,onMoveDown:xe,onMoveUp:x}){const[v,{width:I}]=(0,He.A)(),Z=()=>{ge?.(h._id)};return o.createElement(be,{ref:v},o.createElement(J,{onEdit:Pe,onMoveDown:xe,onMoveUp:x,onRemove:ge?Z:void 0,testId:"offlineVideoItemQuickEditOverlay",titleKey:"ADMIN_VIDEO_OFFLINE_VIDEO",width:I},o.createElement(fe.A,{isDisabled:T,onClick:b,tag:h._id},o.createElement(_e,{src:h.thumbnail})),o.createElement(Ce,null,h.title?o.createElement(fe.A,{isDisabled:T,onClick:b,tag:h._id},o.createElement(ae,{"data-testid":"gridVideoItemTitle"},h.title)):null,h.description?o.createElement(Le,{maxLines:I<=900?4:5},h.description):null,h.created?o.createElement(Be,null,Me()(new Date(h.created)).fromNow()):null)))}const Ce=he.Ay.div`
675  display: flex;
676  gap: 20px;
677  flex-direction: column;
678  justify-content: center;
679  position: relative;
680`,_e=(0,he.Ay)($e.A).attrs({renderPlayIcon:!0})``,ae=he.Ay.span.attrs({maxLines:2})`
681  ${k.x_}
682  font-family: ${ne.qwO};
683  font-weight: 600;
684  color: ${ne.SP6};
685  ${k.FE}
686`,Le=he.Ay.span`
687  ${k.JO}
688  font-weight: 400;
689  color: ${ne.XO2};
690  ${k.FE};
691`,Be=he.Ay.span`
692  ${k._i}
693  font-weight: 400;
694  color: ${ne._A5};
695`,ye=(h,T,b,Pe,ge,xe,x,v)=>T<=h?(0,he.AH)`
696  & ${_e} {
697    width: ${typeof b=="number"?`${b}px`:b};
698  }
699  & ${ae} {
700    font-size: ${Pe}px;
701  }
702  & ${Le} {
703    font-size: ${ge}px;
704  }
705  & ${Be} {
706    font-size: ${xe}px;
707  }
708  & ${Ce} {
709    padding: 0 ${x}px;
710  }
711  ${v}
712`:"",be=he.Ay.div``,J=(0,he.Ay)(Oe.A)`
713  display: flex;
714  gap: 20px;
715  margin: 0;
716  ${k.GA}
717
718  ${({width:h})=>(0,he.AH)`
719    ${ye(2560,0,800,24,18,20,110)}
720    ${ye(1919,h,640,24,18,22,60)}
721    ${ye(1439,h,610,24,18,22,60)}
722    ${ye(1279,h,482,18,14,14,40)}
723    ${ye(1023,h,420,16,14,14,40)}
724    ${ye(900,h,"100%",16,13,14,0,"flex-direction: column;")}
725  `}
726`;var Qe=Object.defineProperty,lt=(h,T,b)=>T in h?Qe(h,T,{enumerable:!0,configurable:!0,writable:!0,value:b}):h[T]=b,we=(h,T,b)=>(lt(h,typeof T!="symbol"?T+"":T,b),b);class rt extends o.Component{constructor(){super(...arguments),we(this,"scrollToTop",()=>{const T=document.getElementById(f.DW);T?.scroll({behavior:"smooth",top:0})}),we(this,"trackInteraction",T=>{const{trackClick:b}=this.props,{_id:Pe,title:ge}=T||{};b({id:Pe,kind:"video",title:ge})}),we(this,"handleTagPlaylist",T=>{const{doc:{tag:b},onSetTagPlaylist:Pe}=this.props;b&&Pe({tag:b,videoId:T})}),we(this,"onClick",T=>{this.handleTagPlaylist(T._id),this.trackInteraction(T),this.scrollToTop()})}render(){const{isGridMobile:T,slidesWidth:b,totalSlidesToShow:Pe,doc:ge,showBorder:xe,isEditingGridRegion:x,onEdit:v,onRemove:I,onMoveUp:Z,onMoveDown:me,slideContainerMaxWidth:Q}=this.props,pe=()=>I(ge._id);return ge.members?o.createElement(de,{doc:ge,isEditing:x,isGridMobile:T,onClick:this.onClick,onEdit:v,onMoveDown:me,onMoveUp:Z,onRemove:I?pe:void 0,showBorder:xe,slideContainerMaxWidth:Q,slidesWidth:b,totalSlidesToShow:Pe}):!ge.archived&&o.createElement(Ie,{doc:(0,s.xU)(ge),isEditing:x,isGridMobile:T,onClick:()=>this.onClick(ge),onEdit:v,onMoveDown:me,onMoveUp:Z,onRemove:I?pe:void 0,showBorder:xe,slidesWidth:b})}}we(rt,"propTypes",{doc:c().object.isRequired,isEditingGridRegion:c().bool,isGridMobile:c().bool.isRequired,onEdit:c().func,onMoveDown:c().func,onMoveUp:c().func,onRemove:c().func,onSetTagPlaylist:c().func.isRequired,showBorder:c().bool.isRequired,slideContainerMaxWidth:c().number.isRequired,slidesWidth:c().number.isRequired,totalSlidesToShow:c().number.isRequired,trackClick:c().func.isRequired}),we(rt,"defaultProps",{isEditingGridRegion:!1,onEdit:()=>{},onMoveDown:void 0,onMoveUp:void 0,onRemove:void 0});const Ze=h=>({isEditingGridRegion:(0,S.Q)(h),isGridMobile:(0,p.jO)(h),slideContainerMaxWidth:(0,p.FY)(h),slidesWidth:(0,p.fQ)(h),totalSlidesToShow:(0,p.X7)(h)}),Xe=h=>({onSetTagPlaylist:({videoId:T})=>{h((0,L.HC)({path:(0,R.KF)(T)}))},trackClick:T=>h((0,O.o5)("click",T,{}))}),it=(0,r.A)()((0,t.connect)(Ze,Xe)(rt));var Pt=e(387632),Ne=e(498685),at=e(368909),ut=e(807081),pt=Object.defineProperty,Mt=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,F=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,Te=(h,T,b)=>T in h?pt(h,T,{enumerable:!0,configurable:!0,writable:!0,value:b}):h[T]=b,Se=(h,T)=>{for(var b in T||(T={}))F.call(T,b)&&Te(h,b,T[b]);if(bt)for(var b of bt(T))ie.call(T,b)&&Te(h,b,T[b]);return h},Et=(h,T)=>Mt(h,Vt(T));const vt=({data:h,index:T,onEdit:b,onRemove:Pe,onMoveUp:ge,onMoveDown:xe})=>{var x,v;const I=(0,Ne.d4)(at.VC),Z=(0,Ne.d4)(p.X7),me=(0,Ne.d4)(S.Q),Q=(0,Ne.d4)(p.jO),pe=(0,Ne.d4)(xt=>{var Bt;return(Bt=xt.app.object)==null?void 0:Bt._id}),Ue=(0,Ne.d4)(d.DS2),ue=(0,Ne.wA)(),{endUserT:Ge}=(0,D.T9)();
726(0,ut.A)({sectionId:`pagesRow-${h.arrayId}`,index:(T||0)+1});const ct=(x=h.canRemove)!=null?x:!0,yt=(v=h.canReorder)!=null?v:!0,Ve=h.pages?h.pages:[],Fe=(0,a.BN)(Q),Ct=Math.min(Z,Ve.length),Kt=Ct===Ve.length,Jt=Q?a.hJ:a.n2,kt=Kt?a.cK:Jt;let{titleText:Ht}=h;const Zt=Ge([D.Rq.pageRowTitle,{blockId:h.arrayId,pageId:pe}]);!me&&Zt&&(Ht=Zt);const qt=xt=>{var Bt;const rn={id:null,kind:"channel_row"},an={action:"goto_page",page_id:xt?._id,page_name:(Bt=xt?.data)==null?void 0:Bt.name};ue((0,O.o5)("engage",rn,an))},en=o.useCallback(()=>b(h),[h]),tn=xt=>qt(xt),nn=o.useCallback(()=>!Q&&Ht?o.createElement(a.pJ,{"data-testid":"rowTitle"},Ht):null,[Q,Ht]);return o.createElement(a.SU,{fullwidth:!I,isGridMobile:Q,isChannelPage:Ue,onEdit:en,onRemove:Pe,onMoveUp:ge,onMoveDown:xe,showEditingBorder:me,testId:`pagesRow-${h.arrayId}`,className:`pagesRow-${h.arrayId}`,titleKey:"LABEL_CHANNEL_NAVIGATOR",canRemove:ct,canMoveUp:yt,canMoveDown:yt},o.createElement(a.WE,{preventClicks:me},o.createElement(m.A,{arrowLeftIconName:"arrowLeft",arrowRightIconName:"arrowRight",flushLeft:Kt,hasTooltips:!0,hideArrows:!1,isGrid:!1,isGridMobile:Q,isTouchSlider:I,items:(0,l.Ch)(Ve,"page._id",!1).map(({key:xt,value:Bt})=>Et(Se({},Bt),{key:xt})),mobileTitle:Ht,renderHeader:nn,slideAmount:Math.max(1,Ct-1),slideButton:kt,slideMargin:Fe.THUMBNAIL_MARGIN,slidesHeight:Fe.CHANNEL_ROW_HEIGHT,slidesShown:Z,slideWidth:Fe.THUMBNAIL_WIDTH_SMALL},({page:xt})=>o.createElement(Pt.A,{id:xt._id},Bt=>Bt?o.createElement(a.gL,{active:xt._id===pe,onClick:()=>tn(Bt),page:Bt,width:Fe.THUMBNAIL_WIDTH_SMALL}):o.createElement(a.zy,{height:Fe.THUMBNAIL_WIDTH_SMALL/2,width:Fe.THUMBNAIL_WIDTH_SMALL})))))};var ot=e(990220),ke=e(463302),ft=Object.defineProperty,qe=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable,gt=(h,T,b)=>T in h?ft(h,T,{enumerable:!0,configurable:!0,writable:!0,value:b}):h[T]=b,je=(h,T)=>{for(var b in T||(T={}))Je.call(T,b)&&gt(h,b,T[b]);if(qe)for(var b of qe(T))Dt.call(T,b)&&gt(h,b,T[b]);return h};const Lt=({item:h,onEdit:T,onRemove:b,onMoveUp:Pe,onMoveDown:ge})=>{const xe=(0,Ne.d4)(ke.mC),x=()=>{switch(h.sort){case"Most Views":return{sortBy:"total",sortDirection:-1};case"Trending":return{sortBy:"trending",sortDirection:-1};case"Most Recent":return{sortBy:"created",sortDirection:-1};default:return null}},{data:v,loaded:I}=(0,Ne.ku)({headers:{authorization:`Bearer ${xe}`,"x-maestro-client-id":ot.Cn},method:"GET",params:je({tagName:h.tag},x()),url:`${ot.S9}/tags/videos`});return I&&v?o.createElement(it,{doc:{arrayId:h.arrayId,members:v.map(Z=>({id:Z._id})),tag:h.tag,title:h.name},onEdit:T,onMoveDown:ge,onMoveUp:Pe,onRemove:b,showBorder:!0}):null};Lt.propTypes={item:c().shape({name:c().string,sort:c().oneOf(["Most Views","Trending","Most Recent"]),tag:c().string}).isRequired,onEdit:c().func.isRequired,onMoveDown:c().func,onMoveUp:c().func,onRemove:c().func.isRequired};const Ot=Lt;var Ut=e(46630),It=e(650333),Ft=e(902476),St=e(654646),ht=e(937272),Gt=e(439497),Qt=e(919424),Xt=e(239860),zt=e(780197),Yt=e(13082),jt=e(266912),ce=e(784454),te=e(819695),ve=e(879430),Ke=e(325732),et=e(346002),We=e(400781),ze=e(400877),tt=e(790823),dt=e(684566),mt=e(716625),$t=e(998227),_t=e(48256),Wt=e(353656),Nt=e(683681),_=e(568885),Ae=e(889921),G=e(778940),Re=e(273253),De=e(942588),st=e(89135),Ye=e(912712),Tt=e(341476);const At=(0,he.i7)`
727  from {
728    opacity: 0;
729    transform: translateY(20px);
730  }
731  to {
732    opacity: 1;
733    transform: translateY(0);
734  }
735`,j=he.Ay.div`
736  animation: ${At} 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
737  animation-delay: ${h=>h.$delay}s;
738  opacity: 0;
739  flex: 1;
740  min-height: 0;
741
742  @media (prefers-reduced-motion: reduce) {
743    animation: none;
744    opacity: 1;
745  }
746`,oe=({index:h,item:T,onGridContentEdit:b,onPageBlockEdit:Pe,onPagesRowEdit:ge,onRemove:xe,onTaggedVideoEdit:x,onMoveDown:v,onMoveUp:I})=>{const Z=(0,t.useSelector)(We.x6),me=(0,t.useSelector)(et.TY),Q=o.useCallback(ee=>{Pe?.(ee)},[Pe]),pe=o.useCallback(()=>{b?.(T.kind,h)},[b,T.kind,h]),Ue=o.useCallback(ee=>{ge?.(h,ee)},[ge,h]),ue=o.useCallback(()=>{xe?.(h)}
746,[xe,h]),Ge=o.useCallback(()=>{x?.(T)},[x]),ct=ee=>o.createElement(vt,{data:ee,index:h,onEdit:Ue,onRemove:ue,onMoveUp:I,onMoveDown:v}),yt=ee=>o.createElement(Xt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,onMoveUp:I,onMoveDown:v}),Ve=ee=>o.createElement(zt.Ay,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),Fe=ee=>{var Rt;const on=((Rt=me[h+1])==null?void 0:Rt.kind)==="heroBanner";return o.createElement(St.A,{disableImageBleed:on,index:h,item:ee,onEdit:Q,onRemove:ue,onMoveUp:I,onMoveDown:v})},Ct=ee=>{const Rt=h===me.length-1;return o.createElement(ht.Ay,{index:h,isLastBlock:Rt,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v})},Kt=ee=>o.createElement(Ot,{item:ee,onEdit:Ge,onRemove:ue,onMoveUp:I,onMoveDown:v}),Jt=ee=>o.createElement(te.A,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),kt=ee=>o.createElement(ve.Ay,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),Ht=ee=>o.createElement(Ft.A,{index:h,item:ee,onEdit:Q,onRemove:ue,onMoveUp:I,onMoveDown:v}),Zt=ee=>o.createElement(Gt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),qt=ee=>o.createElement(Qt.Ay,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),en=ee=>o.createElement(Ke.A,{index:h,item:ee,onEdit:Q,onRemove:ue,onMoveUp:I,onMoveDown:v}),tn=ee=>(0,Tt.UH)()?null:o.createElement(It.A,{pageId:Z,index:h,item:ee,onEdit:Q,onRemove:ue,onMoveUp:I,onMoveDown:v}),nn=ee=>o.createElement(Yt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),xt=ee=>(0,Tt.UH)()?null:o.createElement(jt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,pageId:Z,onMoveUp:I,onMoveDown:v}),Bt=ee=>o.createElement(ze.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),rn=ee=>o.createElement(tt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),an=ee=>o.createElement(dt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),On=ee=>o.createElement(mt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),dn=ee=>o.createElement(_t.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),cn=ee=>o.createElement(Wt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),mn=ee=>o.createElement($t.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),un=ee=>o.createElement(Nt.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),pn=ee=>o.createElement(_.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),En=ee=>o.createElement(Ae.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),vn=ee=>o.createElement(G.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),fn=ee=>o.createElement(Re.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),gn=ee=>o.createElement(De.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),sn=ee=>o.createElement(st.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),hn=ee=>(0,Tt.UH)()?null:o.createElement(ce.A,{index:h,item:ee,onEdit:Q,onRemove:ue,region:"pageBlock",onMoveUp:I,onMoveDown:v}),An=ee=>o.createElement(Ye.A,{index:h,item:ee,onEdit:Q}),yn=(ee,Rt)=>{var wt;if(!ee||!Rt)return null;const on=h+1===me.length,Tn=me[h].kind==="video"&&((wt=me[h+1])==null?void 0:wt.kind)==="video",Cn=!on&&!Tn;return o.createElement(it,{doc:ee,onEdit:pe,onRemove:ue,showBorder:Cn,onMoveUp:I,onMoveDown:v})},ln=(()=>{var ee;switch(T.kind){case"heroBanner":return Fe(T);case"heroBannerV2":return Ct(T);case"pagesRow":return ct(T);case"taggedVideos":return Kt(T);case"textBanner":return Jt(T);case"textBannerV2":return kt(T);case"faqV1":return Ht(T);case"imageGallery":return yt(T);case"imageGalleryV2":return Ve(T);case"imageAndText":return Zt(T);case"imageAndTextV2":return qt(T);case"videoSpotlight":return en(T);case"eventCalendar":return tn(T);case"richText":return nn(T);case"shopify":return hn(T);case"embedCode":return xt(T);case"fortniteLeaderboardV2":return Bt(T);case"quests":return rn(T);case"espnKeyPlays":return an(T);case"espnBets":return On(T);case"espnFantasy":return mn(T);case"espnStats":return dn(T);case"espnShop":return cn(T);case"foxKeyPlays":return un(T);case"foxMultiView":return pn(T);case"foxStats":return En(T);case"whatJustHappened":return vn(T);case"paramountKeyPlays":return fn(T);case"paramountStats":return gn(T);case"multiviewPanel":return sn(T);case"video":return An(T);default:return o.createElement(Ut.A,{collection:T.kind,id:(ee=T[T.kind])==null?void 0:ee._id},(Rt,wt)=>{const on=yn(Rt,wt);return on||null})}})();if(!ln)return null;const Pn=Math.min(.1+h*.15,1.5);return o.createElement(j,{$delay:Pn},ln)}},952681:(se,U,e)=>{e.d(U,{W:()=>c,d:()=>a});var t=e(63696),O=e(301845),r=e(731694),p=e(816970),L=e(886550),S=e(429195),R=e(152544),o=e(243412);const y=(0,L.i7)`
747  0%, 100% {
748    opacity: 0;
749    transform: translateX(-50%) translateY(-30px);
750  }
751  20%, 80% {
752    opacity: 1;
753    transform: translateX(-50%) translateY(0);
754  }
755`,c=L.Ay.div.attrs({id:r.vU})`
756  position: absolute;
757  top: 0;
758  left: 0;
759  // Above modal layers (modalLegacy 40, modal 50)
760  z-index: ${o.M.layer.toast};
761  width: 100%;
762  height: 100%;
763  pointer-events: none;
764`,f=L.Ay.div`
765  position: absolute;
766  top: 20px;
767  left: 50%;
768  max-width: 300px;
769  padding: 8px 20px;
770  background: ${S.dsC};
771  color: ${({color:g})=>g||S.jEq};
772  ${R.xu};
773  border: 1px solid;
774  border-radius: 5px;
775  animation: ${y} 3s ease-out;
776  opacity: 0;
777  transform: translateX(-50%) translateY(-30px);
778`;var s=Object.defineProperty,n=Object.defineProperties,d=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,D=(g,u,A)=>u in g?s(g,u,{enumerable:!0,configurable:!0,writable:!0,value:A}):g[u]=A,E=(g,u)=>{for(var A in u||(u={}))m.call(u,A)&&D(g,A,u[A]);if(l)for(var A of l(u))C.call(u,A)&&D(g,A,u[A]);return g},P=(g,u)=>n(g,d(u));const a=()=>{const[g,u]=(0,t.useState)([]),A=(0,t.useCallback)(V=>{const $=V.currentTarget.dataset.toastid;u(M=>M.filter(({id:N})=>N!==$))},[]),i=(0,t.useCallback)(()=>g.length?t.createElement(O.ZL,{node:document.getElementById(r.vU)},g.map(({content:V,id:$})=>t.createElement(f,{key:$,"data-toastid":$,onAnimationEnd:A},V))):null,[g,A]),B=(0,t.useCallback)(V=>u($=>[...$,P(E({},V),{id:(0,p.jo)()})]),[]);return{renderToasts:i,showToast:B}}},899210:(se,U,e)=>{e.d(U,{l:()=>l});var t=e(63696),O=e(277147),r=e(2496),p=e(92663);const L=8e3,S=8e3,R=6e4,o=()=>new Promise((m,C)=>{if("google"in window&&"ima"in window.google){m(window.google.ima);return}const E=document.createElement("script"),P=setTimeout(()=>{E.onload=null,E.onerror=null,E.remove(),C(new Error("IMA SDK load timed out"))},L);E.onload=()=>{clearTimeout(P),m(window.google.ima)},E.onerror=a=>{clearTimeout(P),C(a)},E.src="//imasdk.googleapis.com/js/sdkloader/ima3.js",document.body.append(E)}),y=async(m,C,D,{onContentPauseRequested:E,onAdFinished:P,registerCleanup:a,registerResize:g}={})=>{const u=await o();if(!m.isConnected)return;const A=new u.AdDisplayContainer(C,m);let i,B,V=!1,$=!1,M,N=0,K=0;const W=()=>{if(!(V||!$||document.visibilityState!=="visible"))try{i?.resume()}catch{}};document.addEventListener("visibilitychange",W),window.addEventListener("focus",W);const q=()=>{V||(V=!0,$=!1,M&&(clearInterval(M),M=void 0),document.removeEventListener("visibilitychange",W),window.removeEventListener("focus",W),i?.destroy(),B?.destroy(),A.destroy())};a?.(q);const X=z=>{V||(q(),P?.(z))},w=()=>{M||(N=Date.now(),K=Date.now(),M=setInterval(()=>{if(V)return;const z=Date.now();if(document.visibilityState!=="visible"){N=z;return}const le=z-N>S,re=z-K>R;(le||re)&&X()},2e3))};B=new u.AdsLoader(A),B.addEventListener(u.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,z=>{const le=new u.AdsRenderingSettings;if(le.restoreCustomPlaybackStateOnAdBreakComplete=!1,i=z.getAdsManager(m,le),i.addEventListener(u.AdEvent.Type.CONTENT_PAUSE_REQUESTED,()=>{$=!0,w(),E?.()}),i.addEventListener(u.AdEvent.Type.AD_PROGRESS,()=>{N=Date.now()}),i.addEventListener(u.AdErrorEvent.Type.AD_ERROR,de=>{X(de.getError())}),i.addEventListener(u.AdEvent.Type.CONTENT_RESUME_REQUESTED,()=>{X()}),i.addEventListener(u.AdEvent.Type.ALL_ADS_COMPLETED,()=>{X()}),V){i.destroy();return}const re=()=>document.fullscreenElement?u.ViewMode.FULLSCREEN:u.ViewMode.NORMAL;g?.(()=>{V||i?.resize(m.clientWidth,m.clientHeight,re())}),i.init(m.clientWidth,m.clientHeight,re()),i.start()},!1),B.addEventListener(u.AdErrorEvent.Type.AD_ERROR,z=>{X(z.getError())},!1);const H=new u.AdsRequest;H.adTagUrl=D,H.linearAdSlotWidth=m.clientWidth,H.linearAdSlotHeight=m.clientHeight,H.nonLinearAdSlotWidth=m.clientWidth,H.nonLinearAdSlotHeight=m.clientHeight/3,B.requestAds(H),A.initialize()};var c=e(886550);const f=(0,c.AH)`
779  position: absolute;
780  top: 0;
781  left: 0;
782  width: 100%;
783  height: 100%;
784`,s=c.Ay.div`
785  ${f}
786  background: ${m=>m.$active?"#000":"transparent"};
787  pointer-events: ${m=>m.$active?"auto":"none"};
788`,n=c.Ay.video`
789  ${f}
790  pointer-events: none;
791`;var d=e(80247);const l=(0,t.memo)(({vastUrl:m,onFinished:C,onAdStart:D})=>{const E=(0,t.useRef)(),P=(0,t.useRef)(),a=(0,t.useRef)(),g=(0,t.useRef)(!1),[u,A]=(0,t.useState)(!1),[i,B]=(0,r.A)(),V=(0,t.useCallback)(M=>{var N;if((N=E.current)==null||N.call(E),!M)return;g.current=!1;const K={},W=(0,p.O)(),q=()=>{A(!0),D?.()},X=w=>{g.current||(g.current=!0,A(!1),C?.(w))};Promise.race([O.A,W.promise]).then(w=>
791{if(!(w===K||!M.parentElement))return y(M,M.parentElement,m,{onContentPauseRequested:q,onAdFinished:X,registerCleanup:H=>{P.current=H},registerResize:H=>{a.current=H}})}).catch(w=>{var H;d.error("Error in VastAdPlayer:",w),X(w),(H=P.current)==null||H.call(P),P.current=void 0,a.current=void 0}),E.current=()=>{var w;g.current=!0,W.resolve(K),(w=P.current)==null||w.call(P),P.current=void 0,a.current=void 0}},[m,C,D]),$=(0,t.useCallback)(M=>{i(M),V(M)},[i,V]);return(0,t.useEffect)(()=>{var M;(M=a.current)==null||M.call(a)},[B.width,B.height]),t.createElement(s,{$active:u},t.createElement(n,{ref:$,playsInline:!0}))})},613553:(se,U,e)=>{e.d(U,{S:()=>L});var t=e(748706),O=e(784567),r=e(341476),p=e(63696);const L=p.memo(({items:S,chunkSize:R=5})=>{const[o,y]=(0,p.useState)(1),c=(0,p.useRef)(null);(0,p.useEffect)(()=>{if(!(0,r.UH)())return;const s=n=>{const{detail:d}=n;if(d?.direction==="left"||d?.direction==="right")return;const l=d?.sectionId,m=window.SpatialNavigation.getMaxIndex();window.SpatialNavigation.getSectionIdByIndex(m)===l&&y(D=>Math.min(D+2,Math.ceil(S.length/R)))};return document.addEventListener("sn:focused",s),()=>document.removeEventListener("sn:focused",s)},[S.length,R]),(0,p.useEffect)(()=>{const s=new IntersectionObserver(n=>{n[0].isIntersecting&&y(d=>Math.min(d+1,Math.ceil(S.length/R)))},{rootMargin:"400px"});return c.current&&s.observe(c.current),()=>s.disconnect()},[R,S.length]);const f=S.slice(0,o*R);return p.createElement(p.Fragment,null,f.map((s,n)=>p.createElement("div",{key:n},p.createElement(t.A,{key:n,index:n,item:s}))),p.createElement("div",{ref:c,style:{height:"10px"}},f.length===S.length?null:p.createElement(O.A,null)))});L.displayName="VirtualizedList"},526255:(se,U,e)=>{e.d(U,{A:()=>At});var t=e(63696),O=e(94616),r=e(886550),p=e(224191),L=e(46630),S=e(318946),R=e(990220);function o(){const j=(0,p.useDispatch)(),Y=(0,t.useCallback)((oe,h)=>{h&&oe&&j((0,S.x2)(oe))},[]);return t.createElement(L.A,{collection:"sites",id:R.Cn,onValue:Y})}var y=e(804572);class c extends t.Component{constructor(){super(...arguments),this.state={error:null,errorInfo:null}}static getDerivedStateFromError(Y){return{error:Y}}componentDidCatch(Y,oe){this.setState({error:Y,errorInfo:oe})}render(){const{error:Y,errorInfo:oe}=this.state,{fallback:h}=this.props;return Y?h({error:Y,errorInfo:oe}):this.props.children}}var f=e(638662),s=e(558613),n=e(161058),d=e(365179);const l=j=>({fonts:(0,d.KWR)(j)}),m=(0,s.A)()((0,p.connect)(l)(n.A));var C=e(887944),D=e(362688),E=e.n(D),P=e(221196),a=e.n(P),g=Object.defineProperty,u=(j,Y,oe)=>Y in j?g(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:oe}):j[Y]=oe,A=(j,Y,oe)=>(u(j,typeof Y!="symbol"?Y+"":Y,oe),oe);const i={classes:"pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links",delay:5e3,runs:10,style:{bottom:0,color:"transparent",fontSize:"20px",height:"10px !important",left:"-7500px",overflow:"hidden",position:"absolute"}};class B extends t.Component{constructor(){super(...arguments),A(this,"ref",t.createRef()),A(this,"timeout",null),A(this,"state",{key:a().generate(),runs:1,shouldRender:!0}),A(this,"handleTaze",()=>{const{onTazeDetection:Y}=this.props,{runs:oe}=this.state,h=this.ref.current,T=!h||h.offsetHeight===0||!document.body.contains(h)||h.style.display==="none"||h.style.visibility==="hidden";if(T){Y(!0);return}if(!T&&oe>=i.runs){Y(!1);return}this.startTest()}),A(this,"startTest",()=>{const{runs:Y}=this.state;Y<i.runs&&this.setState({key:a().generate(),runs:Y+1,shouldRender:!0},()=>{this.timeout=setTimeout(()=>{this.handleTaze()},i.delay)})})}componentDidMount(){this.timeout=setTimeout(()=>{this.handleTaze()},i.delay)}render(){const{key:Y,shouldRender:oe}=this.state;return oe&&t.createElement("div",{key:Y,ref:this.ref,className:i.classes,style:i.style},"\xA0")}}A(B,"propTypes",{onTazeDetection:E().func.isRequired});const V=j=>({onTazeDetection:Y=>j((0,C.xo)(Y?"enabled":"disabled",{kind:"blocker"}))}),$=(0,p.connect)(null,V)(B);var M=e(952681),N=e(229128),K=e(617775),W=e(161992),q=e(826361),X=e(341476),w=e(916479),H=e(198945),z=e(819641),le=e(622112),re=e(850482),de=e(734082),he=e(654581),Ee=e(312854),Me=e(545290),$e=e(429195),He=e(708112);const ne=(0,r.DU)`
792  html {
793    font-size: 16px;
794    line-height: 1.3em;
795    ${({orientation:j,isOrientationLocked:Y})=>Y?(0,Me.wc)`
796      top: 100%;
797      height: 100vw;
798      width: 100vh;
799
800      ${j===-90?(0,r.AH)`
801        transform: rotate(90deg);
802        transform-origin: right top;
803        right: 0;
804      `:(0,r.AH)`
805        transform: rotate(-90deg);
806        transform-origin: left top;
807        left: 0;
808      `}
809    `:(0,r.AH)`transform: none;`};
810  }
811
812  * {
813    box-sizing: border-box !important;
814    -webkit-overflow-scrolling: touch;
815  }
816
817  body {
818    background-color: black;
819    ${Me.EC}
820  }
821
822  :where(button) {
823    appearance: none;
824    border: none;
825    cursor: pointer;
826    font-family: inherit;
827  }
828
829  [hidden] {
830    display: none !important;
831  }
832
833  iframe {
834    border: none;
835  }
836
837  video {
838    object-fit: contain;
839  }
840
841  .live video::-webkit-media-controls-timeline {display:none;}
842  .live video::-webkit-media-controls-current-time-display {display:none;}
843  .live video::-webkit-media-controls-time-remaining-display {display:none;}
844
845
846  // The dropdowns are not in the Rich Text DOM, so we need to style them globally
847  ${He.A}
848
849
850  // Lock the orientation of the page to landscape
851  ${(0,Me.wc)`
852    html, body {
853      position: fixed;
854      height: 100vw;
855      width: 100vh;
856    }
857  `}
858`,k=r.Ay.div`
859  background-color: ${$e.O49};
860  color: ${j=>(0,Ee.bw)((0,$e.O49)(j))};
861  ${Me.xj};
862  ${Me.gA}
863  & *:focus {
864    outline: none !important;
865  }
866`,Oe=()=>{const j=(0,p.useSelector)(he.fX),Y=(0,p.useSelector)(de.mC);return t.createElement(ne,{isOrientationLocked:j,orientation:Y})};var Ie=e(648086),Ce=e(795685),_e=e.n(Ce),ae=e(776637),Le=e.n(ae),Be=e(723792),ye=e(498685),be=e(463302),J=e(577501),Qe=e(400
866781),lt=e(826574),we=Object.defineProperty,rt=Object.defineProperties,Ze=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Ne=(j,Y,oe)=>Y in j?we(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:oe}):j[Y]=oe,at=(j,Y)=>{for(var oe in Y||(Y={}))it.call(Y,oe)&&Ne(j,oe,Y[oe]);if(Xe)for(var oe of Xe(Y))Pt.call(Y,oe)&&Ne(j,oe,Y[oe]);return j},ut=(j,Y)=>rt(j,Ze(Y));const pt=j=>Object.entries(j).reduce((Y,[oe,h])=>{const T=h.actions||[],b=Object.entries(T).reduce((Pe,[ge,xe])=>ut(at({},Pe),{[ge]:{progress:0}}),{});return ut(at({},Y),{[oe]:{actions:b,completed:!1}})},{}),Mt=(j,Y)=>{const oe=(0,ye.wA)();(0,t.useEffect)(()=>{if(!_e()(j)&&!Object.keys(j).every(T=>Y[T])){const T=pt(j);oe((0,J.VZ)(T))}},[Le()(j),oe])};function Vt(){const j=(0,ye.wA)(),Y=(0,ye.d4)(be.F6),oe=(0,ye.d4)(J.GM),h=(0,ye.d4)(J.y4),T=(0,ye.d4)(be.Rc),b=(0,ye.d4)(be.M3),Pe=(0,ye.d4)(Qe.M5),ge=t.useRef({});Mt(oe,h),(0,t.useEffect)(()=>{!Y&&Object.keys(h).length>0&&(j((0,lt.Lm)()),ge.current={})},[Y]);const xe=(0,t.useCallback)((x,v,I)=>{var Z;const me=I?v:null,Q=JSON.stringify(me),pe=(Z=me?.questType)!=null?Z:"viewer";!b||!T&&pe==="creator"||me&&ge.current[x]!==Q&&(ge.current[x]=Q,j((0,J.rF)({progress:me,questId:x})))},[j,b,T,Pe]);return Y?t.createElement(Be.A,{list:Object.keys(oe)},(x,v)=>t.createElement(L.A,{key:x,collection:"user_quest_progress_view_v2",id:`${Y}:${v}`,onValue:(I,Z)=>xe(v,I,Z)})):null}function bt(){const j=(0,ye.wA)(),Y=(0,ye.d4)(J.GM),oe=(0,ye.d4)(Qe.x6),h=(0,ye.d4)(J.y4),T=(0,ye.d4)(be.Rc),b=t.useRef({});Mt(Y,h);const Pe=(0,t.useCallback)((ge,xe,x)=>{var v;const I=x?xe:null,Z=JSON.stringify(I),me=(v=xe?.questType)!=null?v:"viewer";T&&me==="creator"||I&&b.current[ge]!==Z&&(b.current[ge]=Z,j((0,J.rF)({progress:I,questId:ge})))},[j,T]);return!oe||T?null:t.createElement(Be.A,{list:Object.keys(Y)},(ge,xe)=>t.createElement(L.A,{key:`${ge}_creator`,collection:"user_quest_progress_view_v2",id:`${oe}:${xe}`,onValue:(x,v)=>Pe(xe,x,v)}))}var F=e(160788),ie=e(642675),Te=e(623171),Se=e(995688),Et=e(818544),nt=e(346002),vt=e(467783),ot=e(199749),ke=e(763910),ft=e(731694),qe=e(287483),Je=e(619545);const Dt=r.Ay.div`
867  height: 100%;
868  position: fixed;
869  width: 100%;
870  background-color: white;
871  padding: 30px;
872`,gt=r.Ay.div`
873  border-radius: 5px;
874  box-shadow: 0 7px 14px 0 gray, 0 3px 6px 0 gray;
875  -moz-box-shadow: 0 7px 14px 0 gray, 0 3px 6px 0 gray;
876  -webkit-box-shadow:0 7px 14px 0 gray, 0 3px 6px 0 gray;
877  width: 98%;
878  display: table;
879  margin: 0 auto;
880  max-width: 800px;
881`,je=r.Ay.div`
882  border-top-left-radius: 5px;
883  border-top-right-radius: 5px;
884  background-color: ${j=>j.bg};
885  height: 30px;
886`,Lt=r.Ay.div`
887  border:${j=>j.bg} thin solid;
888`,Ot=r.Ay.table`
889  color:gray;
890  ${Me.f3}
891  width: 90%;
892  background-color: white;
893  margin: 0 auto;
894`,Ut=r.Ay.div`
895  text-align: center;
896`,It=r.Ay.img`
897  max-width: 180px
898`,Ft=r.Ay.div`
899  ${Me.x_}
900  text-align: center;
901`,St=r.Ay.table`
902  margin-top:15px;
903  padding-top: 5px;
904  width: 100%;
905  background-color: ${$e.Awo};
906`,ht=r.Ay.label`
907  font-weight:850;
908  color:gray;
909`,Gt=r.Ay.hr`
910  margin:20px 0
911`,Qt=(0,r.Ay)(Je.A)`
912  display: block;
913  margin: auto;
914  background: ${j=>j.bg};
915  color: ${j=>j.color};
916  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
917  border-radius: 4px;
918  border: 0;
919  font-weight: 700;
920  width: 80%;
921  height: auto;
922  outline: none;
923  cursor: pointer;
924  padding: 10px 0; letter-spacing: 1px; text-decoration: none;
925`,zt=()=>{var j,Y;const oe=(0,ye.d4)(d.V2d),h=(0,ye.d4)(qe.EV),T=(0,ye.d4)(be.mC),{data:b,error:Pe,loaded:ge}=(0,ye.ku)({headers:{Authorization:`Bearer ${T}`,"x-maestro-client-id":oe},url:`${R.GF}/customreceipt?receiptNumber=${h}`});if(!ge)return t.createElement(Dt,null,t.createElement(ht,null,"Searching..."));if(Pe)return t.createElement(Dt,null,t.createElement(ht,null,"Receipt number not found!"));const xe=b?.siteActiveColor;return t.createElement(Dt,null,t.createElement(gt,null,t.createElement(je,{bg:xe}),t.createElement(Lt,{bg:xe},t.createElement(Ot,{cellspacing:"10"},t.createElement("tr",null,t.createElement("td",null,t.createElement(Ut,null,t.createElement(It,{src:b?.urlLogo})))),t.createElement("tr",null,t.createElement(Ft,null,"Receipt from ",b.customerProfileName)),t.createElement("tr",null,t.createElement("td",null,t.createElement(Ut,null,"Receipt #",b?.receiptNumber))),t.createElement("tr",null,t.createElement("td",null," AMOUNT PAID ")),t.createElement("tr",null,t.createElement("td",null,t.createElement(ht,null,b?.amount))),t.createElement("tr",null,t.createElement("td",null," DATE PAID ")),t.createElement("tr",null,t.createElement("td",null,t.createElement(ht,null,b?.datePaid))),t.createElement("tr",null,t.createElement("td",null,"PAYMENT METHOD")),t.createElement("tr",null,t.createElement("td",null,t.createElement(ht,null,`${(j=b?.paymentMethod)==null?void 0:j.network} ${(Y=b?.paymentMethod)==null?void 0:Y.last4}`))),t.createElement("tr",null,t.createElement("td",null,t.createElement(St,null,t.createElement("tr",null,t.createElement("td",null,`You have purchased a ${b?.subscriptionRecurrence} ${b?.subscriptionType}:`)),t.createElement("tr",null,t.createElement("td",null,t.createElement(ht,null,b?.subscriptionName))),t.createElement("tr",null,t.createElement("td",null,t.createElement("p",null,"To access the content, please visit ",t.createElement("a",{href:b?.urlDomain,rel:"noopener noreferrer",target:"_blank"},b?.urlDomain)," and log in with the same credentials used to make your purchase.")))))),t.createElement("tr",null,t.createElement("td",null,t.createElement(Ut,null,t.createElement(Qt,{bg:xe,color:b?.txtButtonColor,href:b?.urlDomain,rel:"noopener noreferrer",target:"_blank"},"TAKE ME THERE")))),t.createElement("tr",null,t.createElement("td",null,t.createElement(Gt,null),t.createElement("p",null,`If you have any questions, visit our Help Center at ${b?.maestroURLSupport} or email us at ${b?.maestroEmail}`)))))))};var Yt=e(756395),jt=e(33202),ce=e(730048),te=e(368909),ve=e(973079),Ke=e(629731);const et=t.lazy(()=>Promise.all([e.e(4970),e.e(884)]).then(e.bind(e,250884))),We=t.lazy(()=>e.e(3483).then(e.bind(e,193483))),ze=t.lazy(()=>e.e(854).then(e.bind(e,920854))),tt=t.lazy(()=>e.e(6225).then(e.bind(e,226225))),dt=()=>{const j=(0,ie.A)(),{Component:Y,isRenderingAdmin:oe,isAnalytics:h}=(0,Te.A)(),T=(0,F.A)(be.N6),b=(0,F.A)(ot.yR),Pe=(0,F.A)(ot.wr),ge=(0,F.A)(nt.Q),[xe]=(0,Et._)(),x=(0,F.A)(ot.yx),v=(0,F.A)(ot.q6),I=(0,F.A)(ke.sT),Z=(0,F.A)(nt.L0),me=(0,F.A)(te.LH),Q=(0,F.A)(d.DS2),pe=(0,F.A)(ke.ME),Ue=(0,F.A)(yt=>{var Ve,Fe,Ct,Kt;return((Kt=(Ct=(Fe=(Ve=yt.app.object)==null?void 0:Ve.data)==null?void 0:Fe.gate)==null?void 0:Ct.gate)==null?void 0:Kt.background)||null});(0,Yt.A)();const{showMobileLayout:ue}=(0,Se.A)(),Ge=()=>{j((0,vt.n0)(null))},ct=(0,t.useCallback)(()=>I?t.createElement(tt,null):t.createElement(ze,null),[I]);return x?t.createElement(zt,null):Pe?t.createElement(t.Fragment,null,t.createElement(y.A,{title:xe}),t.createElement("div",{id:ft.p2,style:{background:"transparent",bottom:0,left:0,position:"fixed",right:0,top:0}},t.createElement(Ke.xv,null))):t.createElement(ce.ng,null,t.createElement(Ke.mc,{$isAdmin:T},t.createElement(Ke.kw,{hidden:v}),oe&&!h?t.createElement(Ke.hz,null,t.createElement(Y,{onClose:Ge})):t.createElement(Ke.Ee,{$isAdmin:T,layout:!0,transition:{damping:30,stiffness:400,type:"spring"}}
925,t.createElement(Ke.ur,{animate:{opacity:1,y:0},initial:{opacity:0,y:40},transition:{damping:30,stiffness:300,type:"spring"}},t.createElement(Ke.R7,{$isAdmin:T},h?t.createElement(Y,{onClose:Ge}):t.createElement(t.Fragment,null,t.createElement(jt.A,null),t.createElement(t.Suspense,{fallback:null},t.createElement(Ke.xI,{$gateBackground:pe?Ue:null,style:{"--content-padding-inline":Q?"var(--content-padding-inline-channel)":"var(--content-padding-inline-page)"}},me&&Q&&!I&&t.createElement(ve.A,{className:`relative z-10 flex h-20 w-full shrink-0 items-center ${pe?"[--content-padding-inline:var(--content-padding-inline-page)]":""}`}),t.createElement(Ke.mO,{embed:b,id:ft.p2,isEditModeEnabled:ge&&!nt.L0,mobileLayout:ue},t.createElement(y.A,{title:xe}),ct())))))),t.createElement(t.Suspense,{fallback:null},!Z&&!h&&t.createElement(We,null))),t.createElement(t.Suspense,{fallback:null},ue&&t.createElement(et,null))))};dt.propTypes={};const mt=dt;var $t=e(784567),_t=e(804797);const Wt=(0,r.Ay)($t.A)`
926  height: 100vh;
927  width: 100vw;
928`;function Nt(){const j=(0,p.useDispatch)(),Y=(0,p.useSelector)(d.sCO),oe=h=>j((0,_t.Eu)(h));return t.createElement(t.Fragment,null,Y&&!R.vk?t.createElement(mt,null):t.createElement(Wt,null),t.createElement(Ie.A,{channel:`sites:${R.Cn}:broadcast`,onMessage:oe}),t.createElement(Vt,null),t.createElement(bt,null))}var _=e(212535);function Ae(){const j=(0,p.useDispatch)(),Y=(0,p.useSelector)(de.mC),oe=h=>{Y!==h&&j((0,_.Zl)(h))};return t.useEffect(()=>{if(screen.orientation){const T=()=>{switch(screen.orientation.type){case"portrait-primary":oe(0);break;case"portrait-secondary":oe(180);break;case"landscape-primary":oe(90);break;case"landscape-secondary":oe(-90);break}};return screen.orientation.addEventListener("change",T),T(),()=>{screen.orientation.removeEventListener("change",T)}}const h=()=>{typeof window.orientation=="number"&&oe(window.orientation)};return window.addEventListener("orientationchange",h),h(),()=>{window.removeEventListener("orientationchange",h)}},[]),null}const G=j=>({fonts:(0,d.VHp)(j)}),Re=(0,s.A)()((0,p.connect)(G)(n.A));var De=e(89649),st=e(682781);const Ye=({children:j})=>{const Y=(0,p.useSelector)(d.SSA),oe=t.useRef(Y),h=t.useMemo(()=>(0,st.H)(oe.current,Y)?oe.current:(oe.current=Y,Y),[Y]);return t.createElement(r.NP,{theme:h},t.createElement(z.d,null,j))},At=()=>{const j=(0,p.useDispatch)(),Y=(0,p.useSelector)(d.M7c),oe=(0,p.useSelector)(be.M3);(0,K.A)(),(0,W.A)(),(0,q.F)();const h=t.useCallback(()=>{j((0,De.JT)())},[j]),T=t.useCallback(()=>{j((0,be.je)())},[j]),b=t.useCallback(({error:xe,errorInfo:x})=>t.createElement(O.A,{error:xe,errorInfo:x,errorNameKey:"SYSTEM_ERROR",errorSubtitleKey:"CRASH_PAGE_SUBTITLE",errorTitleKey:"CRASH_PAGE_TITLE"}),[]),Pe=t.useCallback(()=>t.createElement(t.Fragment,null,t.createElement(y.A,{title:"404 Page Not Found"}),t.createElement(O.A,{actionButtonLabel:"ACTION_LOG_IN",errorSubtitleKey:"NOT_FOUND_PAGE_BODY_UPDATED",errorTitleKey:"NOT_FOUND_PAGE_TITLE_UPDATED",onActionButtonClick:h})),[h]),ge=t.useCallback(()=>t.createElement(t.Fragment,null,t.createElement(y.A,{title:"Access Denied"}),t.createElement(O.A,{actionButtonLabel:"ACTION_LOG_OUT",errorSubtitleKey:"NOT_FOUND_NO_ACCESS_SUBTITLE",errorTitleKey:"NOT_FOUND_NO_ACCESS_TITLE",onActionButtonClick:T})),[T]);return t.createElement(Ye,null,t.createElement(re.c,null,t.createElement(le.Bc,{delayDuration:0},t.createElement(Oe,null),t.createElement(Re,null),t.createElement(o,null),Y?t.createElement(c,{fallback:b},t.createElement(Ae,null),t.createElement(k,null,(0,X.UH)()?t.createElement(H.O,null):null,(0,X.UH)()?t.createElement(w.Ay,null):null,t.createElement(Nt,null),(0,X.UH)()?null:t.createElement(f.A,null),t.createElement($,null),t.createElement(M.W,null),t.createElement(N.N,null),t.createElement(m,null))):t.createElement(c,{fallback:b},oe?ge():Pe(),(0,X.UH)()?null:t.createElement(f.A,null)))))}},897110:(se,U,e)=>{e.d(U,{A:()=>D});var t=e(63696),O=e(186386),r=e(771750),p=e(438749),L=e(400781),S=e(415530);const R=E=>({theme:"stripe",variables:{colorText:E.colors.text100,colorTextSecondary:E.colors.text100,colorSuccess:E.colors.alertConfirmation,colorDanger:E.colors.alertError,colorBackgroun
928d:"transparent",fontFamily:E.typography.body,fontWeightNormal:"400",colorIcon:E.colors.highlightPrimary},rules:{".Label":{color:E.colors.text200,fontWeight:"600",fontSize:"0.875rem",lineHeight:"1.25rem"},".Input":{backgroundColor:"#0000",color:E.colors.text100,fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400",border:`1px solid ${E.colors.surface5}`,borderRadius:"4px",fontFamily:E.typography.body},".Input:focus":{outline:"none",border:`1px solid ${E.colors.accentPrimary}`,boxShadow:"none"},".Input:focus-visible":{outline:"none",border:`1px solid ${E.colors.accentPrimary}`,boxShadow:"none"},".Input::placeholder":{color:E.colors.text300},".Input--invalid":{color:E.colors.text100,boxShadow:"none"},".PickerItem":{backgroundColor:E.colors.surface4,color:E.colors.text100,fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400",borderRadius:"4px",border:"none"},".PickerItem--selected":{backgroundColor:E.colors.surface4,color:E.colors.text100,fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400",borderRadius:"4px",border:"none"},".PickerItem--selected:hover":{backgroundColor:E.colors.surface4,border:"none"},".PickerItem--highlight":{boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02)"},".PickerItem:hover":{backgroundColor:E.colors.surface5,border:"none"},".PickerItem--new":{color:E.colors.accentPrimary,fontSize:"0.875rem",lineHeight:"1.25rem",fontWeight:"400"},".Action":{color:E.colors.accentPrimary},".PickerAction":{color:E.colors.accentPrimary},".DropdownItem":{backgroundColor:E.colors.surface5},".DropdownItem--highlight":{backgroundColor:E.colors.surface4},".TabLabel--selected":{color:E.colors.text100},".Tab":{backgroundColor:"transparent",color:E.colors.text100,border:`1px solid ${E.colors.surface5}`},".Tab--selected":{boxShadow:"none",border:`1px solid ${E.colors.accentPrimary}`,color:E.colors.text100},".TabIcon":{fill:E.colors.text200},".TabIcon--selected":{fill:E.colors.accentPrimary},".Block":{backgroundColor:"transparent"},".Tab--selected:focus":{boxShadow:"none",border:`1px solid ${E.colors.accentPrimary}`}}});var o=Object.defineProperty,y=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,d=(E,P,a)=>P in E?o(E,P,{enumerable:!0,configurable:!0,writable:!0,value:a}):E[P]=a,l=(E,P)=>{for(var a in P||(P={}))s.call(P,a)&&d(E,a,P[a]);if(f)for(var a of f(P))n.call(P,a)&&d(E,a,P[a]);return E},m=(E,P)=>y(E,c(P));const D=({amount:E,children:P,theme:a,apiKey:g,clientSecret:u,currency:A})=>{const i=t.useMemo(()=>(0,r.loadStripe)(g),[g]),B=(0,t.useMemo)(()=>R(a||p.n0),[a]),V=[a.typography.headline,a.typography.body].map(N=>({baseUrl:`${L.rB}/${N}`,name:N}));if(!a)return t.createElement(t.Fragment,null,P);const $=u?S.kH.test(u):!1;if($&&(typeof E!="number"||!A))throw new Error("StripeElements: admin-preview clientSecret requires `amount` and `currency` props for deferred-intent mode.");const M=$?{amount:E,currency:A,mode:"payment",paymentMethodCreation:"manual"}:u?{clientSecret:u,paymentMethodCreation:"manual"}:{};return t.createElement(O.Elements,{key:`${a._id}-${a.typography.body}-${u}`,options:m(l({appearance:B,fonts:V.map(N=>({family:N.name,src:`url(${N.baseUrl}.ttf)`,weight:"600"}))},M),{loader:"auto"}),stripe:i},P)}},755196:(se,U,e)=>{e.d(U,{Ay:()=>C});var t=e(63696),O=e(886550),r=e(283722),p=e(429195),L=e(545290),S=e(870349),R=Object.defineProperty,o=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(D,E,P)=>E in D?R(D,E,{enumerable:!0,configurable:!0,writable:!0,value:P}):D[E]=P,s=(D,E)=>{for(var P in E||(E={}))y.call(E,P)&&f(D,P,E[P]);if(o)for(var P of o(E))c.call(E,P)&&f(D,P,E[P]);return D},n=(D,E)=>{var P={};for(var a in D)y.call(D,a)&&E.indexOf(a)<0&&(P[a]=D[a]);if(D!=null&&o)for(var a of o(D))E.indexOf(a)<0&&c.call(D,a)&&(P[a]=D[a]);return P};const d=O.Ay.div``,l=(0,O.Ay)(S.$n)`
929  padding: 0 10px;
930  height: 25px;
931  border-radius: 4.54364px;
932  text-align: left;
933  ${L.f3}
934  letter-spacing: -0.01em;
935  display: flex;
936  align-items: center;
937  max-width: 260px;
938  &, & ${d} {
939    overflow: hidden;
940    text-overflow: ellipsis;
941    white-space: nowrap;
942    line-height: normal;
943  }
944`,m=(0,O.Ay)(r.Ay).attrs(D=>({color:(0,p.Jzj)(D)}))`
945  margin-right: 5px;
946  & svg {
947    width: 15px;
948    height: 15px;
949  }
950`;function C(D){var E=D,{children:P,className:a,iconName:g,onClick:u}=E,A=n(E,["children","className","iconName","onClick"]);return t.createElement(l,s({className:a,"data-testid":"liveCardCtaButton",onClick:u},A),g&&t.createElement(m,{name:g}),t.createElement(d,null,P))}},190135:(se,U,e)=>{e.d(U,{A:()=>l});var t=e(63696),O=e(886550),r=e(283722),p=e(429195),L=e(545290),S=e(734082),R=e(224191),o=e.n(R);const y=178,c=O.Ay.div`
951  display: flex;
952  flex: auto;
953  flex-direction: column;
954  overflow: hidden;
955  position: relative;
956  width: 100%;
957  height: ${({maxHeight:m})=>m}px;
958  border-radius: 10px;
959  ${L.TF}
960  ${(0,L.nD)`
961    box-shadow: 0px 0px 11px ${p.O49};
962  `}
963  ${({responsive:m,maxHeight:C})=>m&&`
964    max-height: ${C}px;
965    height: auto;
966  `}
967`,f=O.Ay.div`
968  cursor: pointer;
969  margin-left: auto;
970  margin-right: auto;
971  max-height: ${({maxHeight:m})=>m}px;
972  max-width: 100%;
973  position: absolute;
974  top: 0;
975  left: 0;
976  width: 100%;
977  height: 100%;
978  background-color: ${({background:m})=>m||p.Hw0};
979  background-image: url("${({src:m})=>m}");
980  background-size: cover;
981  background-position: center;
982  background-repeat: no-repeat;
983  z-index: 1;
984`,s=O.Ay.div`
985  ${({dim:m,hasImage:C})=>m&&C&&`
986    background: linear-gradient(126.07deg, rgba(0, 0, 0, 0.74) 2.13%, rgba(0, 0, 0, 0.13) 114.34%);
987  `}
988  z-index: 1;
989  width: 100%;
990  height: 100%;
991  padding: 15px;
992  display: flex;
993  flex-direction: column;
994  justify-content: ${({justify:m})=>m};
995  align-items: flex-start;
996`,n=O.Ay.div.attrs({radius:"40px"})`
997  position: absolute;
998  right: 0;
999  top: 0;
1000  z-index: 2;
1001  ${L.j7}
1002  ${L.AM}
1003  ${({collapsed:m})=>m&&"pointer-events: none;"}
1004`,d=(0,O.Ay)(r.Ay).attrs(m=>({color:(0,p.mz9)(m),name:"cancel-thin"}))`
1005  position: absolute;
1006  right: 14.7px;
1007  top: 13px;
1008  z-index: 2;
1009  line-height: 0;
1010  cursor: pointer;
1011  transition: opacity 1s, max-height 1s, overflow 1s;
1012  background: ${p.O49};
1013  width: 19px;
1014  height: 19px;
1015  display: flex;
1016  justify-content: center;
1017  align-items: center;
1018  border-radius: 3px;
1019  ${({collapsed:m})=>(0,L.nD)`
1020    opacity: ${m?0:1};
1021    max-height: ${m?0:50}px;
1022    overflow: ${m?"hidden":"visible"};
1023  `}
1024  svg {
1025    path {
1026      fill: ${p.XO2};
1027    }
1028  }
1029`;function l({children:m,className:C,dim:D,isCollapsed:E,justify:P="space-between",onClick:a,onClose:g,responsive:u,maxHeight:A=y,src:i}){const B=(0,R.useSelector)(S.VC);return t.createElement(c,{className:C,"data-testid":"liveCardItem",maxHeight:A,responsive:u},B?t.createElement(n,{collapsed:E,onClick:g},t.createElement(d,{collapsed:E})):t.createElement(d,{collapsed:E,onClick:g}),t.createElement(f,{onClick:a,src:i}),t.createElement(s,{dim:D,hasImage:!!i,justify:P},m))}},73473:(se,U,e)=>{e.d(U,{Ay:()=>R,Xj:()=>p.Xj});var t=e(63696),O=e(77077),r=e(498685),p=e(298116);const L=[...Object.values(p.Xj),...Object.values(p.Zk),...Object.values(p.hJ)],S={feature:p.G7,overlay:p.U3,panel:p.wM};function R({children:o,feature:y,onClose:c,type:f="feature"}){const s=(0,r.d4)(E=>S[f](E,y)),[n,d]=(0,t.useState)(!1),l=()=>d(!0),m=()=>d(!1);(0,t.useEffect)(()=>{n&&!(!s&&typeof o=="function")&&d(!1)},[s,o,n]);const C=()=>{c?.(),d(!1)};let D=null;return typeof o=="function"?D=o(s,l,m):D=s?o:null,t.createElement(t.Fragment,null,D,n&&t.createElement(O.A,{feature:y,onClose:C}))}},955807:(se,U,e)=>{e.d(U,{A:()=>o});var t=e(63696),O=e(732091),r=e.n(O),p=e(776637),L=e.n(p),S=e(531877);function R({children:y,dedupe:c=!1,keyField:f,list:s=[]}){const n=(0,t.useMemo)(()=>(0,S.Ch)(s,f,c),[L()(s),f,c]);return(typeof y!="function"||!(y.length===2||y.length===3))&&r()(!1,"KeyedListMapper: child must be a function with arguments (key, value, [index])"),t.createElement(t.Fragment,null,n.map(({key:d,value:l},m)=>y(d,l,m)))}const o=R},723792:(se,U,e)=>{e.d(U,{A:()=>S});var t=e(63696),O=e(955807),r=e(776637),p=e.n(r);function L({children:R,keyField:o=p(),list:y=[]}){return t.createElement(O.A,{dedupe:!1,keyField:o,list:y},R)}const S=L},648086:(se,U,e)=>{e.d(U,{A:()=>r});var t=e(438228);const r=p=>((0,t.A)(p),null)},46630:(se,U,e)=>{e.d(U,{A:()=>L});var t=e(63696),O=e(103742),r=e(776637),p=e.n(r);function L({children:S=null,collection:R,id:o=null,onValue:y}){const[c,f]=(0,O.A)(R,o);return(0,t.useEffect)(()=>{y?.(c,f)},[p()(c),f,y]),t.createElement(t.Fragment,null,(typeof S=="function"?S(c,f):S)||null)}},403869:(se,U,e)=>{e.d(U,{A:()=>c});var t=e(63696),O=e(798928),r=Object.defineProperty,p=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(f,s,n)=>s in f?r(f,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):f[s]=n,o=(f,s)=>{for(var n in s||(s={}))L.call(s,n)&&R(f,n,s[n]);if(p)for(var n of p(s))S.call(s,n)&&R(f,n,s[n]);return f},y=(f,s)=>{var n={};for(var d in f)L.call(f,d)&&s.indexOf(d)<0&&(n[d]=f[d]);if(f!=null&&p)for(var d of p(f))s.indexOf(d)<0&&S.call(f,d)&&(n[d]=f[d]);return n};function c(f){const s=f;return n=>{var d=n,{action:l,messageKey:m="ADMIN_UNSAVED_CHANGES_WARNING",descriptionTextKey:C,shouldAskConfirmation:D=!0,cancelKey:E="ACTION_DENY",continueKey:P="ACTION_CONFIRM"}=d,a=y(d,["action","messageKey","descriptionTextKey","shouldAskConfirmation","cancelKey","continueKey"]);const[g,u]=(0,t.useState)(!1),A=(0,t.useCallback)(V=>{V.stopPropagation(),u(!0)},[]),i=(0,t.useCallback)(V=>{V?.stopPropagation(),u(!1),V&&l?.(V)},[l]),B=(0,t.useCallback)(()=>{u(!1)},[]);return t.createElement(t.Fragment,null,t.createElement(s,o({onClick:D?A:l},a)),t.createElement(O.T,{open:D&&g,titleKey:m,descriptionKey:C,cancelKey:E,confirmKey:P,onCancel:B,onConfirm:i}))}}},246432:(se,U,e)=>{e.d(U,{A:()=>y});var t=e(63696),O=Object.defineProperty,r=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,S=(c,f,s)=>f in c?O(c,f,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[f]=s,R=(c,f)=>{for(var s in f||(f={}))p.call(f,s)&&S(c,s,f[s]);if(r)for(var s of r(f))L.call(f,s)&&S(c,s,f[s]);return c},o=(c,f)=>{var s={};for(var n in c)p.call(c,n)&&f.indexOf(n)<0&&(s[n]=c[n]);if(c!=null&&r)for(var n of r(c))f.indexOf(n)<0&&L.call(c,n)&&(s[n]=c[n]);return s};function y(c){return f=>{var s=f,{children:n}=s,d=o(s,["children"]);const l=m=>{m.stopPropagation(),m.preventDefault()};return t.createElement(c,R({draggable:"false",onDragStart:l},d),n)}}},558613:(se,U,e)=>{e.d(U,{A:()=>d});var t=e(63696),O=e(362688),r=e.n(O),p=e(80247);const L=new Set;class S extends t.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(m,C){p.error("ErrorGuard caught error:"),p.error(m),p.error(C.componentStack),this.setState({hasError:!0})}componentDidMount(){}componentWillUnmount(){}render(){const{children:m}=this.props,{hasError:C}=this.state;return C?null:m}}
1029S.propTypes={children:r().node.isRequired};var R=Object.defineProperty,o=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(l,m,C)=>m in l?R(l,m,{enumerable:!0,configurable:!0,writable:!0,value:C}):l[m]=C,s=(l,m)=>{for(var C in m||(m={}))y.call(m,C)&&f(l,C,m[C]);if(o)for(var C of o(m))c.call(m,C)&&f(l,C,m[C]);return l};function n(l){var m;return m=class extends t.Component{render(){return t.createElement(S,null,t.createElement(l,s({},this.props)))}},m.displayName=`WithErrorGuard(${l.displayName||l.name})`,m}function d(){return n}},711724:(se,U,e)=>{e.d(U,{A:()=>s});var t=e(63696),O=e(407128),r=e(886550),p=Object.defineProperty,L=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,o=(n,d,l)=>d in n?p(n,d,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[d]=l,y=(n,d)=>{for(var l in d||(d={}))S.call(d,l)&&o(n,l,d[l]);if(L)for(var l of L(d))R.call(d,l)&&o(n,l,d[l]);return n},c=(n,d)=>{var l={};for(var m in n)S.call(n,m)&&d.indexOf(m)<0&&(l[m]=n[m]);if(n!=null&&L)for(var m of L(n))d.indexOf(m)<0&&R.call(n,m)&&(l[m]=n[m]);return l};const f=r.Ay.div`
1030  display: flex;
1031`;function s(n,{compact:d,padding:l,styledLabel:m}={}){const C=m||O.A;return D=>{var E=D,{children:P,compact:a,description:g,descriptionKey:u,labelColor:A,labelIcon:i,labelIconSize:B,labelIconSpacing:V,label:$,labelKey:M,labelPadding:N=l,labelTextSize:K,labelUppercase:W,labelWhiteIcon:q,labelTooltip:X,admin:w}=E,H=c(E,["children","compact","description","descriptionKey","labelColor","labelIcon","labelIconSize","labelIconSpacing","label","labelKey","labelPadding","labelTextSize","labelUppercase","labelWhiteIcon","labelTooltip","admin"]);const z=(0,t.useMemo)(()=>!!(M||$||u||g||i)&&!H.noLabel,[M,$,u,g,i,H.noLabel]);return t.createElement(t.Fragment,null,z&&t.createElement(f,null,t.createElement(C,{admin:w,color:A,compact:d!==void 0?d:a,description:g,descriptionKey:u,icon:i,iconSize:B,iconSpacing:V,label:$,labelKey:M,padding:N,textSize:K,uppercase:W,whiteIcon:q}),X),t.createElement(n,y({admin:w},H),P))}}},795851:(se,U,e)=>{e.d(U,{A:()=>c});var t=e(63696),O=e(86138),r=Object.defineProperty,p=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(f,s,n)=>s in f?r(f,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):f[s]=n,o=(f,s)=>{for(var n in s||(s={}))L.call(s,n)&&R(f,n,s[n]);if(p)for(var n of p(s))S.call(s,n)&&R(f,n,s[n]);return f},y=(f,s)=>{var n={};for(var d in f)L.call(f,d)&&s.indexOf(d)<0&&(n[d]=f[d]);if(f!=null&&p)for(var d of p(f))s.indexOf(d)<0&&S.call(f,d)&&(n[d]=f[d]);return n};function c(f){const s=f;return n=>{var d=n,{children:l,stringKey:m}=d,C=y(d,["children","stringKey"]);return m?t.createElement(O.A,{component:s,componentProps:C,stringKey:m}):t.createElement(s,o({},C),l)}}},841173:(se,U,e)=>{e.d(U,{A:()=>f});var t=e(63696),O=e(74846),r=e(797965),p=Object.defineProperty,L=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,o=(s,n,d)=>n in s?p(s,n,{enumerable:!0,configurable:!0,writable:!0,value:d}):s[n]=d,y=(s,n)=>{for(var d in n||(n={}))S.call(n,d)&&o(s,d,n[d]);if(L)for(var d of L(n))R.call(n,d)&&o(s,d,n[d]);return s},c=(s,n)=>{var d={};for(var l in s)S.call(s,l)&&n.indexOf(l)<0&&(d[l]=s[l]);if(s!=null&&L)for(var l of L(s))n.indexOf(l)<0&&R.call(s,l)&&(d[l]=s[l]);return d};function f(s,n="10px 0"){return d=>{var l=d,{children:m,compact:C=!1,padding:D=n,paddingWrapperCss:E,width:P}=l,a=c(l,["children","compact","padding","paddingWrapperCss","width"]);return C?t.createElement(s,y({},a),m):t.createElement(r.D,{className:O.DU,padding:D,width:P,wrapperCss:E},t.createElement(s,y({},a),m))}}},797965:(se,U,e)=>{e.d(U,{D:()=>O});var t=e(886550);const O=t.Ay.div`
1032  padding: ${({padding:r})=>r};
1033  ${({width:r="100%"})=>`
1034    width: ${r};
1035  `}
1036  ${r=>r.wrapperCss}
1037`},756558:(se,U,e)=>{e.d(U,{A:()=>n});var t=e(732091),O=e.n(t),r=e(63696),p=e(46630),L=Object.defineProperty,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,y=(d,l,m)=>l in d?L(d,l,{enumerable:!0,configurable:!0,writable:!0,value:m}):d[l]=m,c=(d,l)=>{for(var m in l||(l={}))R.call(l,m)&&y(d,m,l[m]);if(S)for(var m of S(l))o.call(l,m)&&y(d,m,l[m]);return d},f=(d,l)=>{var m={};for(var C in d)R.call(d,C)&&l.indexOf(C)<0&&(m[C]=d[C]);
1037if(d!=null&&S)for(var C of S(d))l.indexOf(C)<0&&o.call(d,C)&&(m[C]=d[C]);return m};const s=(d,l,m,C,D)=>typeof d=="function"?d(l,m,C,D):{[d]:l,[`${d}Loaded`]:m};function n({collection:d,component:l,loading:m,mapper:C="doc"}){const D=!!l.styledComponentId;O()(typeof l=="function"||D,`withRealtimeDocument expected component but received: ${JSON.stringify(l,null,2)}`);const E=P=>{var a=P,{collection:g,id:u,loading:A=m,mapper:i=C}=a,B=f(a,["collection","id","loading","mapper"]);const V=g??d;return r.createElement(p.A,{collection:V,id:u},($,M)=>{const N=!M&&A,K=N?A:l,W=N?{}:s(i,$,!!M,u,V);return r.createElement(K,c(c({},B),W))})};return E.displayName=`WithRealtimeDocument(${l.displayName||l.name})`,E}},767701:(se,U,e)=>{e.d(U,{A:()=>y});var t=e(63696),O=Object.defineProperty,r=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,S=(c,f,s)=>f in c?O(c,f,{enumerable:!0,configurable:!0,writable:!0,value:s}):c[f]=s,R=(c,f)=>{for(var s in f||(f={}))p.call(f,s)&&S(c,s,f[s]);if(r)for(var s of r(f))L.call(f,s)&&S(c,s,f[s]);return c},o=(c,f)=>{var s={};for(var n in c)p.call(c,n)&&f.indexOf(n)<0&&(s[n]=c[n]);if(c!=null&&r)for(var n of r(c))f.indexOf(n)<0&&L.call(c,n)&&(s[n]=c[n]);return s};function y(c,{defaultCondition:f}={}){const s=c;return n=>{var d=n,{children:l,shouldRender:m=f}=d,C=o(d,["children","shouldRender"]);return m?t.createElement(s,R({},C),l):null}}},942695:(se,U,e)=>{e.d(U,{A:()=>E});var t=e(63696),O=e(886550),r=e(224191),p=e.n(r),L=e(734082),S=e(41989),R=e(622112),o=Object.defineProperty,y=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,d=(P,a,g)=>a in P?o(P,a,{enumerable:!0,configurable:!0,writable:!0,value:g}):P[a]=g,l=(P,a)=>{for(var g in a||(a={}))s.call(a,g)&&d(P,g,a[g]);if(f)for(var g of f(a))n.call(a,g)&&d(P,g,a[g]);return P},m=(P,a)=>y(P,c(a)),C=(P,a)=>{var g={};for(var u in P)s.call(P,u)&&a.indexOf(u)<0&&(g[u]=P[u]);if(P!=null&&f)for(var u of f(P))a.indexOf(u)<0&&n.call(P,u)&&(g[u]=P[u]);return g};const D=O.Ay.div`
1038  display: flex;
1039  align-items: center;
1040  position: relative;
1041  & > *:first-child {
1042    flex: 1;
1043  }
1044  ${P=>P.$containerCss}
1045`;function E(P,{admin:a,containerCss:g,tooltip:u,tooltipKey:A,tooltipPosition:i="top",tooltipSeparation:B=8,disable:V=!1}={}){const $=(0,O.Ay)(P)`
1046    ${({css:M})=>M}
1047  `;return(0,t.forwardRef)((M,N)=>{var K=M,{children:W,admin:q=a,className:X,containerCss:w=g,tooltip:H=u,tooltipKey:z=A,tooltipPosition:le=i,tooltipSeparation:re=B,alwaysVisible:de,disable:he=V,tooltipAlign:Ee,tooltipArrowCss:Me,tooltipBackground:$e,tooltipCss:He,tooltipTextColor:ne,tooltipWrapperCss:k,useAbsolutePosition:fe}=K,Oe=C(K,["children","admin","className","containerCss","tooltip","tooltipKey","tooltipPosition","tooltipSeparation","alwaysVisible","disable","tooltipAlign","tooltipArrowCss","tooltipBackground","tooltipCss","tooltipTextColor","tooltipWrapperCss","useAbsolutePosition"]);const Ie=(0,r.useSelector)(L.VC),{t:Ce}=(0,S._h)(),_e=(0,t.useMemo)(()=>z?Ce(z):H,[z,H,Ce]),ae=!Ie&&!he&&!!_e,Le=l({className:X,css:ae?void 0:w},Oe);return ae?t.createElement(R.m_,{open:de?!0:void 0},t.createElement(R.k$,{asChild:!0},t.createElement(D,{$containerCss:w},t.createElement($,m(l({},Le),{ref:N}),W))),t.createElement(R.ZI,{side:le,sideOffset:re},_e)):t.createElement($,m(l({},Le),{ref:N}),W)})}},86138:(se,U,e)=>{e.d(U,{A:()=>c});var t=e(41989),O=e(63696),r=Object.defineProperty,p=Object.getOwnPropertySymbols,L=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(f,s,n)=>s in f?r(f,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):f[s]=n,o=(f,s)=>{for(var n in s||(s={}))L.call(s,n)&&R(f,n,s[n]);if(p)for(var n of p(s))S.call(s,n)&&R(f,n,s[n]);return f};const c=({children:f,component:s="span",componentProps:n={},fallback:d="",renderAsFragment:l,stringKey:m})=>{const{t:C}=(0,t._h)(),D=l?O.Fragment:s,E=C(m)||d;return f?f(E):O.createElement(D,o({},n),E)}},27915:(se,U,e)=>{e.d(U,{A:()=>a});var t=e(63696),O=e(346002),r=e(224191),p=e(365179),L=e(835896),S=e(429195),R=e(545290),o=e(886550);const y=(0,o.AH)`
1048  aspect-ratio: 16 / 9;
1049  height: 100%;
1050  width: 100%;
1051  ${(0,R.PD)`border-radius: 5px;`}
1052`,c=o.Ay.div`
1053  ${y}
1054  display: flex;
1055  justify-content: center;
1056  align-items: center;
1057
1058  & svg {
1059    height: 100%;
1060    ${(0,R.PD)`border-radius: 5px;`}
1061    ${R.Sh}
1062  }
1063`,f=o.Ay.img`
1064  ${y}
1065`,s=(0,o.Ay)(L.A)`
1066  width: 100%;
1067  display: flex;
1068  ${R.GA}
1069  padding-top: 0;
1070  padding-bottom: 13px;
1071  justify-content: center;
1072  background: ${({isChromaKeyModeActive:g})=>g?S.nuX:"transparent"};
1073  ${(0,R.nD)`
1074    display: flex;
1075    position: absolute;
1076    top: 0;
1077    left: 0;
1078    width: 100%;
1079    height: 100%;
1080    padding: 0;
1081  `}
1082`,n=o.Ay.div`
1083  width: 100%;
1084  height: 100%;
1085  display: flex;
1086  justify-content: center;
1087  align-items: center;
1088`;var d=e(789069),l=e(319507),m=e.n(l),C=e(867907),D=e(225499);const E=(0,o.Ay)(C.A)`
1089  width: 100%;
1090`,a=()=>{const g=(0,r.useSelector)(p.S5i),u=(0,r.useSelector)(O.uP),A=(0,r.useSelector)(d.rx),i=u||A,B=t.useCallback(()=>i?t.createElement(f,{alt:"Channel offline content image",src:i}):t.createElement(c,{dangerouslySetInnerHTML:{__html:m()}}),[i]);return g?null:t.createElement(n,null,t.createElement(E,null,t.createElement(D.n,null),B()))}},418816:(se,U,e)=>{e.d(U,{A:()=>X});var t=e(558613),O=e(63696),r=e(886550),p=e(848452),L=e(973800),S=e(334728),R=e(631444),o=e(73335),y=e(508391),c=e(484996),f=e(122317),s=e(803966),n=e(433426),d=e(318082),l=e(472946),m=e(452274),C=e(863593),D=e(716175),E=e(171751),P=e(545290),a=e(731694),g=e(252992),u=e(817975),A=e(186165);const i={commerce:C.A,highlight:R.A,instagram:L.A,lower_third:S.A,message:o.A,poll:m.A,poll_results:y.A,prediction:m.A,raffle:c.A,raffle_active:f.A,raffle_picking:s.A,raffle_winner:n.A,shopify:d.A,trivia:m.A,tweet:l.A},B=O.lazy(()=>Promise.all([e.e(8779),e.e(8008)]).then(e.bind(e,808008))),V={html:u.A,rive:B},$=r.Ay.div`
1091  ${P.TF}
1092`,M=r.Ay.div`
1093  display: flex;
1094  flex-flow: row nowrap;
1095`,N=({editing:w,broadcastOverlay:H})=>{const{broadcast:z,renderer:le={overlayType:""}}=(0,D.KA)(H),{overlayType:re=""}=le,de=i[re];if(!de)return;const he=(0,E.Th)(le);return re==="message"?O.createElement(de,{data:z,editing:w,overlayType:re,renderer:he}):O.createElement(de,{data:z,overlayType:re,renderer:he})},K=({broadcastOverlay:w})=>{const{payload:H,key:z}=w;if(!("overlay"in H))return null;const{overlay:le,stateMachines:re=[],riveProperties:de=[],htmlStatusClassName:he="",buffer:Ee,artboardSize:Me,previewDevice:$e}=H,{contents:He}=le,ne=V[He.kind];return ne?O.createElement(O.Suspense,{fallback:null},O.createElement(ne,{data:{stateMachines:re,riveProperties:de,htmlStatusClassName:he,buffer:Ee,artboardSize:Me,previewDevice:$e,key:z},overlay:le})):null},q=({editing:w,broadcastOverlay:H})=>{const z=!!(H&&Object.keys(H).length>0),le=O.useMemo(()=>z?(0,A.k8)(H.payload)?H.payload.data.broadcastId:H.key:"",[H,z]),re=O.useCallback(()=>z?(0,A.k8)(H.payload)?N({editing:w,broadcastOverlay:H}):(0,A.zW)(H.payload)?K({broadcastOverlay:H}):null:null,[w,H,z]);return z?O.createElement(M,{className:g.cd,"data-testid":"overlayContainer",id:`${a.vA}-${le}`},re(),O.createElement(p.A,{doc:H,kingdom:"overlay",visible:!0})):null},X=(0,t.A)()(q)},855919:(se,U,e)=>{e.d(U,{A:()=>o});var t=e(63696),O=e(638288),r=e(939576),p=e(224191),L=e.n(p),S=e(368909);const R=t.memo(()=>{const y=(0,p.useSelector)(S.LH),c=(0,p.useSelector)(S.Yg),f=y||c;return t.createElement(O.A,null,f&&t.createElement(r.A,null))});R.displayName="PageContent";const o=R},694712:(se,U,e)=>{e.d(U,{A:()=>M});var t=e(63696),O=e(256746),r=e(588666),p=e(704910),L=e(268090),S=e(433670),R=e(41989),o=e(530025);const y=()=>{},f=({renderer:{panelName:N,chat:K=[]}})=>{const W=N.substr(0,60),{t:q}=(0,R._h)(),X=t.useMemo(()=>K.map((w,H)=>t.createElement(L.A,{key:H,avatar:w.image,chatId:"",content:w.text,filteredWordsList:[],isFromAdmin:!1,messageId:"",userName:w.name})),[K]);return t.createElement(p.mc,{keyboardOpen:!1},t.createElement(o.xw,null,W),t.createElement(p.E$,null,X),t.createElement(S.A,{androidKeyboardCallback:y,chatChannel:"",checkUserName:y,clearEmoji:y,cooldownExpirationMs:0,emoji:"",emojiPickerOpen:!1,isChatModerator:!1,isCurrentUserAdmin:!1,isLoggedIn:!1,isMobileLayout:!1,isPreview:!0,onEmojiPickerClick:y,onEngage:y,onInvalidMessage:y,onSendInCooldown:y,onSendMessage:y,panelDoc:{},previewMessage:q("ADMIN_PANEL_CHAT_PREVIEW_MESSAGE")}))};var s=e(955807),n=e(914620),d=e(283722),l=e(816970);const m=()=>{},D=({renderer:N})=>{const{personImageUrl:K,personName:W,personLinks:q,personBio:X}=N.people[0];return t.createElement(n.xG,null,t.createElement(n.Xu,{"data-testid":"personPanelCtaImage",src:K},!!W&&t.createElement(n.SX,{"data-testid":"personNameTitle"},t.createElement("span",null,W))),q?.length>0&&t.createElement(n.lG,null,t.createElement(s.A,{keyField:"linkUrl",list:q},(w,{linkIconName:H,linkUrl:z})=>H?t.createElement(n.Qe,{key:w,href:z,onClick:m},t.createElement(d.Ay,{name:H})):null)),!!X&&t.createElement(n.zN,{"data-testid":"personNameDescription"},(0,l.P7)(X)))};var E=Object.defineProperty,P=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,u=(N,K,W)=>K in N?E(N,K,{enumerable:!0,configurable:!0,writable:!0,value:W}):N[K]=W,A=(N,K)=>{for(var W in K||(K={}))a.call(K,W)&&u(N,W,K[W]);if(P)for(var W of P(K))g.call(K,W)&&u(N,W,K[W]);return N};const i={isEditMode:!0,isMobileLayout:!1},B={[O.Be]:f},V={[O.WF]:D},$=({renderer:N,className:K,hidden:W=!1,useMockPanel:q=!1})=>{const X=(0,t.useMemo)(()=>({_id:"reid_farted",data:{},renderer:N,slug:"andy_is_nerd"}
1095),[N]);if(q&&V[N.panelType]){const w=V[N.panelType];return t.createElement(w,{renderer:N})}if(B[N.panelType]){const w=B[N.panelType];return t.createElement(w,{renderer:N})}return t.createElement(r.O,A({className:K,doc:X,hidden:W},i))},M=t.memo($)},588666:(se,U,e)=>{e.d(U,{O:()=>zt,A:()=>jt});var t=e(867678),O=e.n(t),r=e(63696),p=e(120567),L=e.n(p),S=e(784567),R=Object.defineProperty,o=Object.defineProperties,y=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,n=(ce,te,ve)=>te in ce?R(ce,te,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[te]=ve,d=(ce,te)=>{for(var ve in te||(te={}))f.call(te,ve)&&n(ce,ve,te[ve]);if(c)for(var ve of c(te))s.call(te,ve)&&n(ce,ve,te[ve]);return ce},l=(ce,te)=>o(ce,y(te));const m=({allow:ce,allowFullScreen:te,className:ve,height:Ke,loading:et,name:We,onLoad:ze,referrerPolicy:tt,sandbox:dt,src:mt,srcDoc:$t,style:_t,title:Wt,width:Nt},_)=>r.createElement("iframe",{ref:_,allow:ce,allowFullScreen:te,className:ve,frameBorder:"0",height:Ke,hidden:et,name:We,onLoad:ze,referrerPolicy:tt,sandbox:dt,scrolling:"yes",src:mt,srcDoc:$t,style:l(d({},_t),{flexGrow:1}),title:Wt,width:Nt}),C=(0,r.memo)((0,r.forwardRef)(m));var D=e(848452),E=e(224191),P=e(463302),a=e(365179),g=e(776637),u=e.n(g),A=e(108985),i=e.n(A),B=Object.defineProperty,V=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,N=(ce,te,ve)=>te in ce?B(ce,te,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[te]=ve,K=(ce,te)=>{for(var ve in te||(te={}))$.call(te,ve)&&N(ce,ve,te[ve]);if(V)for(var ve of V(te))M.call(te,ve)&&N(ce,ve,te[ve]);return ce};function W(ce){const Ke=new DOMParser().parseFromString(ce,"text/html").getElementsByTagName("iframe")[0],et={};if(!Ke)return et;for(const We of Ke.attributes)et[We.nodeName]=We.nodeValue;return et}function q(ce,te){try{const ve=new URL(ce);return ve.search=i().stringify(K(K({},i().parse(ve.search)),te)),ve.toString()}catch{return""}}var X=Object.defineProperty,w=Object.defineProperties,H=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,de=(ce,te,ve)=>te in ce?X(ce,te,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ce[te]=ve,he=(ce,te)=>{for(var ve in te||(te={}))le.call(te,ve)&&de(ce,ve,te[ve]);if(z)for(var ve of z(te))re.call(te,ve)&&de(ce,ve,te[ve]);return ce},Ee=(ce,te)=>w(ce,H(te));function Me({className:ce,doc:te,height:ve,hidden:Ke,renderer:et,width:We}){const ze=(0,E.useSelector)(P.bG),tt=(0,E.useSelector)(a.mu1),dt=(0,E.useSelector)(a.x6f),[mt,$t]=(0,r.useState)(!0),_t=(0,r.useRef)(),Wt=(0,r.useCallback)(()=>$t(!1),[]),{id:Nt,iframeTag:_,url:Ae}=et;(0,r.useEffect)(()=>{var De,st;!mt&&_t.current&&((st=(De=_t.current)==null?void 0:De.contentWindow)==null||st.postMessage({account:{_id:ze?._id},channel:{_id:dt},panelId:{_id:Nt},site:{style:tt.style,slug:tt.slug,_id:tt._id,settings:{domain:tt.settings.domain}},location:window.location.href},"*"))},[mt,u()(ze),Nt,dt,u()(tt)]);const G=(0,r.useMemo)(()=>_&&_.trim()&&_.length>0,[_]),Re=(0,r.useMemo)(()=>{if(G){const De=W(_);return De.src=q(De.src,{accountId:ze?._id,channelId:dt,panelId:Nt,siteId:tt?._id}),De}return null},[u()(ze),G,_,Nt,dt,u()(tt)]);return(0,r.useEffect)(()=>{$t(!0)},[u()(ze)]),r.createElement(r.Fragment,null,r.createElement(D.A,{doc:te,extra:{url:Ae},kingdom:"panel",visible:!Ke}),mt&&r.createElement(S.A,null),G?r.createElement(C,Ee(he({ref:_t,onLoad:Wt},Re),{style:mt?{display:"none"}:{}})):r.createElement(C,{className:ce,height:ve,loading:mt,onLoad:Wt,src:Ae,title:Ae,width:We}))}const He=(0,r.memo)(Me);var ne=e(579226),k=e(716175),fe=e(734630),Oe=e(756558),Ie=e(558613),Ce=e(272568),_e=e(346002),ae=e(256746),Le=e(530025),Be=e(886550),ye=e(935370),be=e(835896),J=e(908775),Qe=e(429195);const lt=(0,Be.Ay)(ye.VJ)`
1096  height: 100px;
1097  margin: 20px;
1098  text-align: center;
1099  word-break: break-word;
1100  overflow-wrap: anywhere;
1101`,we=(0,Be.Ay)(be.A)`
1102  background-color: ${({backgroundColor:ce})=>(0,Qe.v1G)(ce||"")};
1103  height: 100%;
1104`,Ze=({renderer:ce})=>{var te;const ve=ce.panelType,{openEditPanel:Ke,disablePanel:et}=(0,J.Ay)(),We=(0,E.useSelector)(Ce.ev),ze=(0,E.useDispatch)(),tt=(0,r.useCallback)(()=>{We||ze((0,Ce.$l)()),Ke(ve)},[Ke,ve,We,ze]),dt=(0,r.useCallback)(()=>et(ve),[et,ve]),mt=(te=ce.blockData)==null?void 0:te.background;return r.createElement(we,{backgroundColor:mt,onEdit:tt,onRemove:dt,testId:`generic-debug-panel-${ce.id}
1104`,titleKey:"ADMIN_SIDEBAR_SECTION_PANELS"},r.createElement(lt,null,r.createElement("div",null,"id: ",ce.id),r.createElement("div",null,"panelType: ",ve),r.createElement("div",null,"panelName: ",ce.panelName),r.createElement("div",null,"iconName: ",ce.iconName),r.createElement("div",null,"supportedPlatforms: ",JSON.stringify(ce.supportedPlatforms)),r.createElement("div",null,"blockData: ",JSON.stringify(ce.blockData))))},Xe=r.lazy(()=>e.e(3182).then(e.bind(e,463182))),it=r.lazy(()=>e.e(6869).then(e.bind(e,576869))),Pt=r.lazy(()=>e.e(1988).then(e.bind(e,491988))),Ne=r.lazy(()=>e.e(1692).then(e.bind(e,981692))),at=r.lazy(()=>e.e(3572).then(e.bind(e,183572))),ut=r.lazy(()=>e.e(5149).then(e.bind(e,495149))),pt=r.lazy(()=>e.e(2869).then(e.bind(e,582869))),Mt=r.lazy(()=>e.e(7913).then(e.bind(e,207913))),Vt=r.lazy(()=>e.e(392).then(e.bind(e,730392))),bt=r.lazy(()=>e.e(8820).then(e.bind(e,78820))),F=r.lazy(()=>e.e(2340).then(e.bind(e,602340))),ie=r.lazy(()=>e.e(5124).then(e.bind(e,715124))),Te=r.lazy(()=>e.e(8662).then(e.bind(e,378662))),Se=r.lazy(()=>Promise.all([e.e(7514),e.e(3993),e.e(8427),e.e(888),e.e(4251),e.e(955),e.e(4634),e.e(1644),e.e(7890),e.e(7156),e.e(5695)]).then(e.bind(e,695695))),Et=r.lazy(()=>e.e(7154).then(e.bind(e,757154))),nt=r.lazy(()=>e.e(5506).then(e.bind(e,205506))),vt=r.lazy(()=>e.e(6487).then(e.bind(e,196487))),ot=r.lazy(()=>e.e(5082).then(e.bind(e,815082))),ke=r.lazy(()=>e.e(9379).then(e.bind(e,559379))),ft=r.lazy(()=>e.e(742).then(e.bind(e,440742))),qe=r.lazy(()=>e.e(4412).then(e.bind(e,594412))),Je=r.lazy(()=>e.e(4396).then(e.bind(e,734396))),Dt=r.lazy(()=>e.e(6203).then(e.bind(e,406203))),gt=r.lazy(()=>e.e(8152).then(e.bind(e,498152))),je=r.lazy(()=>e.e(6921).then(e.bind(e,646921))),Lt=r.lazy(()=>e.e(7003).then(e.bind(e,147003))),Ot=r.lazy(()=>e.e(1850).then(e.bind(e,41850))),Ut=r.lazy(()=>e.e(6013).then(e.bind(e,216013))),It=r.lazy(()=>e.e(1567).then(e.bind(e,291567))),Ft=r.lazy(()=>e.e(7988).then(e.bind(e,35607))),St=r.lazy(()=>e.e(2928).then(e.bind(e,902928))),ht=r.lazy(()=>Promise.resolve().then(e.bind(e,704288))),Gt=r.lazy(()=>e.e(3442).then(e.bind(e,183442))),Qt={[ae.Vv]:Xe,[ae.Be]:it,[ae.gP]:Pt,[ae.SB]:Ne,[ae.Ey]:at,[ae.zF]:ut,[ae.Rl]:pt,[ae.WF]:Mt,[ae.zj]:Vt,[ae.zx]:bt,[ae.wn]:ie,[ae.Uy]:Te,[ae.F2]:Se,[ae.Li]:Et,[ae.Wv]:nt,[ae.kG]:vt,[ae.nw]:ot,[ae.pt]:ke,[ae.o1]:ft,[ae.hI]:qe,[ae.z4]:Je,[ae.SG]:Dt,[ae.Vg]:gt,[ae.DM]:je,[ae.JO]:Lt,[ae.jM]:Ot,[ae.Rz]:Ut,[ae.DZ]:It,[ae.x0]:Ft,[ae.ZD]:St,[ae.vb]:Gt,profile:F,[ae.DO]:ht},Xt=({data:ce,hidden:te,doc:ve,renderer:Ke})=>{const et=Ke?.panelType||ce?.kind||"",We=Qt[et]||null;return et==="iframe"?r.createElement(He,{doc:ve,hidden:!1,renderer:Ke}):We?r.createElement(We,{data:ce,doc:ve,hidden:te,renderer:Ke}):Ke?r.createElement(Ze,{renderer:Ke}):r.createElement(Le.u$,null,JSON.stringify(ce))},zt=({id:ce,doc:te,className:ve,fade:Ke,hidden:et})=>{const We=(0,E.useSelector)(Ce.Q),ze=(0,E.useSelector)(Ce.Wz),tt=(0,E.useSelector)(_e.J7),dt=O()(k.Vb),mt=(0,r.useMemo)(()=>ze||te.renderer||dt(te),[u()(te),u()(ze),dt]),{data:$t,renderer:_t}=te,Wt=_t?_t.panelType:$t?.kind,Nt=te.numCopy?`${Wt}-${te.numCopy}`:Wt,_=tt?tt[Nt]:null,Ae=We&&_||mt;return te?r.createElement(r.Suspense,{fallback:null},r.createElement(Le.uC,{className:ve,fade:Ke,hidden:et,isEditMode:We},r.createElement(ne.A,{variant:"site",className:"flex-1 min-h-0"},r.createElement(Xt,{data:$t,doc:te,hidden:!!et,renderer:Ae})))):(L()(!1,`Non-existent panel: id=${ce}`),null)},Yt=(0,Oe.A)({collection:"objects",component:zt,loading:fe.A,mapper:(ce,te,ve)=>({doc:ce,docLoaded:te,id:ve})}),jt=(0,Ie.A)()(Yt)},530025:(se,U,e)=>{e.d(U,{ee:()=>y,u$:()=>o,uC:()=>R,xw:()=>c});var t=e(886550),O=e(545290),r=e(429195);const p=(0,t.i7)`
1105  from {
1106    opacity: 0;
1107  }
1108  to {
1109    opacity: 1;
1110  }
1111`,L=(0,t.AH)`
1112  animation: ${p} 0.5s ease-out;
1113`,S=(0,t.AH)`
1114  display: flex;
1115  flex-grow: 1;
1116  flex-flow: column nowrap;
1117`,R=t.Ay.div`
1118  position: relative;
1119  width: 100%;
1120  ${s=>s.hidden?"":S};
1121  ${s=>s.fade?L:""};
1122  overflow: hidden;
1123  ${(0,O.nD)`overflow: auto;`}
1124`,o=t.Ay.div`
1125  ${O.TF}
1126`,y=t.Ay.div`
1127  display: flex;
1128  flex-direction: column;
1129`,c=t.Ay.div`
1130  background-color: ${r.F_r};
1131  text-align: center;
1132  min-height: 30px;
1133  ${O.rS};
1134  display: flex;
1135  justify-content: center;
1136  align-items: center;
1137  font-weight: 600;
1138  padding: 8px;
1139  overflow: visible;
1140  text-overflow: unset;
1141  white-space: normal;
1142  word-break: break-word;
1143  line-height: normal;
1144`,f=t.Ay.div`
1145  display: flex;
1146  flex-flow: column nowrap;
1147  align-items: stretch;
1148  pointer-events: none;
1149  flex: 1;
1150  min-width: 0;
1151  max-width: 100%;
1152`},282566:(se,U,e)=>{e.d(U,{Z:()=>f,o:()=>c});var t=e(41989),O=e(63696),r=e(811933),p=Object.defineProperty,L=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,o=(s,n,d)=>n in s?p(s,n,{enumerable:!0,configurable:!0,writable:!0,value:d}):s[n]=d,y=(s,n)=>{for(var d in n||(n={}))S.call(n,d)&&o(s,d,n[d]);if(L)for(var d of L(n))R.call(n,d)&&o(s,d,n[d]);return s};const c=()=>{const{endUserT:s}=(0,r.T)(),{t:n}=(0,t._h)();return{endUserT:(0,O.useCallback)((l,m,C=!1,D)=>
1152{if(C){const E=m?.[0]?n(m[0],m[1]):"";return D??E}return m===void 0?s(l)||"":s(l,m)},[s,n])}};function f(s){return(0,O.forwardRef)((n,d)=>{const{endUserT:l}=c(),m=s;return O.createElement(m,y({ref:d,endUserT:l},n))})}},843984:(se,U,e)=>{e.d(U,{A:()=>F});var t=e(63696),O=e(798235),r=e(579226),p=e(41989),L=e(679380),S=e(429195),R=e(152544),o=e(886550),y=e(224191),c=e(697683),f=e(89649),s=e(711678),n=e(463302),d=e(942662),l=e(551321),m=e(622112),C=e(18631),D=e(942695),E=e(256746),P=e(132556);const a=o.Ay.div`
1153  display: grid;
1154  grid-template-columns: 48px 1fr 0.5fr;
1155  align-items: center;
1156  padding: 10px 16px 10px 12px;
1157  background: ${S.k6P};
1158  border-radius: 4px;
1159  height: 68px;
1160  gap: 12px;
1161  ${({renderPreview:ie})=>ie&&(0,o.AH)`cursor: pointer`};
1162`,g=(0,o.Ay)(a)`
1163  grid-template-columns: 20px 15px 48px 1fr 0.5fr;
1164  padding: 0px 16px 0px 0px;
1165  background: ${S.kjY};
1166`,u=o.Ay.div`
1167  display: flex;
1168  flex-flow: column wrap;
1169`,A=o.Ay.h2`
1170  color: ${S.o0B};
1171  ${R.xu}
1172  margin: 0px;
1173`,i=o.Ay.p`
1174  color: ${S.sRE};
1175  ${R.qm};
1176  margin: 0px;
1177`,B=o.Ay.div`
1178  display: flex;
1179  align-items: center;
1180  justify-content: end;
1181  gap: 4px;
1182`,V=o.Ay.div`
1183  display: flex;
1184  justify-content: center;
1185  align-items: center;
1186  width: 18px;
1187  height: 18px;
1188  background: ${S.dHK};
1189  border-radius: 50px;
1190  & span {
1191    color: ${S.o0B};
1192    ${R.qm};
1193  }
1194`,$=(0,o.Ay)(C.A)`
1195  background: ${S.k6P};
1196  & > div div:after, > div div:before {
1197    background: ${S.dmy};
1198  }
1199`,M=(0,o.Ay)(P.A).attrs({fallbackIconKey:E.DN})`
1200  background: ${({isActive:ie})=>ie?`${S.dmy}`:`${S.dHK}`};
1201`,N=(0,o.Ay)(P.A)`
1202  cursor: pointer;
1203  background: ${({isActive:ie})=>ie?S.Qod:S.YJk};
1204  width: 24px;
1205  height: 24px;
1206  padding: 5px;
1207  // action icons have 14*14 dimensions
1208  &:hover {
1209    background: ${S.Qod};
1210  }
1211`,K=(0,D.A)((0,o.Ay)(N).attrs({iconKey:"settingsV2"})``,{admin:!0}
1211),W=(0,D.A)((0,o.Ay)(N).attrs({iconKey:"plusTiny"})``,{admin:!0}),q=(0,D.A)((0,o.Ay)(N).attrs({iconKey:"trashV2"})``,{admin:!0}),X=({kindId:ie,title:Te,titleKey:Se,description:Et,descriptionKey:nt,draggable:vt,iconKey:ot,isActive:ke=!1,position:ft,multiInstance:qe=!1,isACopy:Je=!1,onToggle:Dt,onEdit:gt,onDuplicate:je,onDelete:Lt,onPreview:Ot})=>{const Ut=(0,y.useSelector)(n.Q1),{t:It}=(0,p._h)(),Ft=(0,y.useDispatch)(),St=Te??(Se?It(Se):ie),ht=Et??(nt?It(nt):void 0),Gt=ke&&vt?g:a,Qt=(0,t.useCallback)(We=>{Dt?.(ie,We)},[Dt,ie]),Xt=(0,t.useCallback)(We=>{We?.stopPropagation(),gt?.(ie)},[gt,ie]),zt=(0,t.useCallback)(We=>{We?.stopPropagation(),je?.(ie)},[je,ie]),Yt=(0,t.useCallback)(We=>{We?.stopPropagation(),Ft((0,f.to)({kind:s.V.adminConfirmation,data:{onConfirmClick:()=>Lt?.(ie),title:It("ADMIN_PANEL_V2_DELETE_DUPLICATED_PANEL_MODAL_TITLE",{title:St}),subtitleKey:"ADMIN_PANEL_V2_DELETE_DUPLICATED_PANEL_MODAL_SUBTITLE"}}))},[Lt,ie,It,St]),jt=ie.split("-")[1]||"",ce=jt?`${St} ${jt}`:St,te=ce.replace(" ","-"),ve=()=>{const We=Je?t.createElement(d.Trash,{className:"h-3 w-3"}):t.createElement(d.Plus,{className:"h-3 w-3"}),ze=Je?It("ADMIN_PANEL_V2_DELETE_DUPLICATED_PANEL_BUTTON_TOOLTIP",{title:St}):It("ADMIN_PANEL_V2_DUPLICATE_PANEL_BUTTON_TOOLTIP",{title:St}),tt=Je?Yt:zt,dt=Je?`${te}-Delete`:`${te}-Duplicate`;return t.createElement(m.m_,null,t.createElement(m.k$,{asChild:!0},t.createElement(l.$,{context:"admin",size:"icon",className:`h-6 w-6 rounded-full ${ke?"":"bg-admin-surface-1"}`,"data-testid":dt,onClick:tt},We)),t.createElement(m.ZI,null,ze))},Ke=(0,t.useCallback)(()=>{Ot&&Ot(ie)},[Ot,ie]),et=Ut&&ie===E.pt;return t.createElement(m.Bc,null,t.createElement(Gt,{className:ke?"active-item":"available-item","data-testid":`${te}-Card`,onClick:Ke,renderPreview:!!Ot},ke&&vt?t.createElement(t.Fragment,null,t.createElement($,null),t.createElement(V,null,t.createElement("span",null,ft))):null,t.createElement(M,{iconKey:ot,isActive:ke}),t.createElement(u,null,t.createElement(A,null,ce),ht&&t.createElement(i,null,ht)),t.createElement(B,null,qe&&ve(),!et&&gt&&t.createElement(m.m_,null,t.createElement(m.k$,{asChild:!0},t.createElement(l.$,{context:"admin",size:"icon",className:`h-6 w-6 rounded-full ${ke?"":"bg-admin-surface-1"}`,"data-testid":`${te}-Settings`,onClick:Xt},t.createElement(d.Gear,{className:"h-3 w-3"}))),t.createElement(m.ZI,null,It("ADMIN_PANEL_V2_SETTINGS_BUTTON_TOOLTIP"))),t.createElement(c.A,{checked:ke,"data-testid":`${te}-Toggle`,onChange:Qt}))))},w=t.memo(X);var H=Object.defineProperty,z=Object.defineProperties,le=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ee=(ie,Te,Se)=>Te in ie?H(ie,Te,{enumerable:!0,configurable:!0,writable:!0,value:Se}):ie[Te]=Se,Me=(ie,Te)=>{for(var Se in Te||(Te={}))de.call(Te,Se)&&Ee(ie,Se,Te[Se]);if(re)for(var Se of re(Te))he.call(Te,Se)&&Ee(ie,Se,Te[Se]);return ie},$e=(ie,Te)=>z(ie,le(Te));const He=({draggable:ie,items:Te,onToggle:Se,onReorder:Et,onEdit:nt,onDuplicate:vt,onDelete:ot,onPreview:ke})=>{const{t:ft}=(0,p._h)(),qe=ie?"ADMIN_PANEL_V2_PANELS_SECTION_ACTIVE_PANELS_EMPTY":"ADMIN_PANEL_V2_PANELS_SECTION_AVAILABLE_PANELS_EMPTY";return Te.length===0?t.createElement(Ce,null,t.createElement(_e,null,ft(qe))):ie?t.createElement(L.A,{direction:"vertical",innerDivStyles:{display:"flex",flexDirection:"column",gap:"6px"},keyField:"arrayId",list:Te,onDragEnd:Et},Je=>t.createElement(w,$e(Me({},Je),{draggable:ie,onDelete:ot,onDuplicate:vt,onEdit:nt,onToggle:Se}))):t.createElement(Ie,null,Te.map(Je=>t.createElement(w,$e(Me({key:Je.position},Je),{onDelete:ot,onDuplicate:vt,onEdit:nt,onPreview:ke,onToggle:Se}))))},ne=({titleKey:ie,items:Te,draggable:Se=!1,onToggle:Et,onReorder:nt,onEdit:vt,onDuplicate:ot,onDelete:ke,onPreview:ft,testId:qe})=>{const{t:Je}=(0,p._h)();return t.createElement(fe,{"data-testid":qe||"catalog-list"},ie&&t.createElement(Oe,null,Je(ie)),t.createElement(He,{draggable:Se,items:Te,onDelete:ke,onDuplicate:ot,onEdit:vt,onPreview:ft,onReorder:nt,onToggle:Et}))},k=t.memo(ne),fe=o.Ay.div`
1212  display: flex;
1213  flex-direction: column;
1214  gap: 16px;
1215`,Oe=o.Ay.p`
1216  color: ${S.o0B};
1217  margin: 0;
1218  ${R.z6};
1219`,Ie=o.Ay.div`
1220  display: flex;
1221  flex-direction: column;
1222  gap: 6px;
1223`,Ce=o.Ay.div`
1224  width: 100%;
1225  display: flex;
1226  flex-direction: row;
1227  align-items: center;
1228  justify-content: center;
1229  padding: 10px 16px 10px 12px;
1230  border-radius: 4px;
1231  background: ${S.k6P};
1232  height: 68px;
1233`,_e=o.Ay.p`
1234  color: ${S.sRE};
1235  ${R.Vg};
1236`;var ae=e(679706),Le=e(283722);const Be=o.Ay.div``,ye=o.Ay.div`
1237  display: flex;
1238  flex-flow: row wrap;
1239  justify-content: space-between;
1240  align-items: center;
1241  margin-bottom: ${({isOpen:ie})=>ie?"23px":"0px"}
1242`,be=o.Ay.div`
1243  display: flex;
1244  flex-flow: row wrap;
1245  gap: 10px;
1246`,J=o.Ay.p`
1247  color: ${S.o0B};
1248  margin: 0px;
1249  ${R.Z1};
1250`,Qe=(0,o.Ay)(Le.Ay)`
1251  cursor: pointer;
1252  width: 10px;
1253  transition: transform 0.2s;
1254  transform: rotate(${({isOpen:ie})=>
1254ie?"180deg":"0deg"});
1255`,lt=(0,o.Ay)(Le.Ay).attrs({name:"info"})`
1256  cursor: pointer;
1257  width: 12px;
1258  display: flex;
1259  align-items: center;
1260  svg {
1261    path {
1262      fill: ${S.sRE};
1263    }
1264  }
1265`,we=(0,D.A)(lt,{admin:!0,tooltipSeparation:0,tooltipAlign:"right",tooltipCss:(0,o.AH)`
1266    max-width: 303px;
1267    white-space: normal;
1268    text-align: left;
1269    margin-bottom: 7.25px;
1270    margin-left: -20px;
1271  `,tooltipArrowCss:(0,o.AH)`
1272    color: red;
1273    left: 26px !important;
1274  `}),rt=o.Ay.div`
1275  display: flex;
1276  flex-direction: column;
1277`,Ze=(0,o.Ay)(ae.A)`
1278  margin: 20px 0px;
1279`;var Xe=Object.defineProperty,it=Object.defineProperties,Pt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,pt=(ie,Te,Se)=>Te in ie?Xe(ie,Te,{enumerable:!0,configurable:!0,writable:!0,value:Se}):ie[Te]=Se,Mt=(ie,Te)=>{for(var Se in Te||(Te={}))at.call(Te,Se)&&pt(ie,Se,Te[Se]);if(Ne)for(var Se of Ne(Te))ut.call(Te,Se)&&pt(ie,Se,Te[Se]);return ie},Vt=(ie,Te)=>it(ie,Pt(Te));const bt=({titleKey:ie,infoKey:Te,hideHeader:Se=!1,isOpen:Et=!0,catalogLists:nt,className:vt,parentRef:ot,onToggle:ke,onReorder:ft,onEdit:qe,onDuplicate:Je,onDelete:Dt,onPreview:gt,testId:je})=>{const{t:Lt}=(0,p._h)(),[Ot,Ut]=(0,t.useState)(Et),It=()=>{Ut(!Ot)},Ft=t.useCallback(()=>Se?null:t.createElement(ye,{isOpen:Ot},t.createElement(be,null,t.createElement(J,null,Lt(ie)),t.createElement(we,{name:"info",tooltipKey:Te})),t.createElement(Qe,{isOpen:Ot,name:"arrowDropDownDown",onClick:It})),[Se,Ot,ie,Te]);return t.createElement(Be,{ref:ot,className:vt,"data-testid":je||"catalog"},Ft(),t.createElement(O.A,{isExpanded:Ot},t.createElement(rt,{className:"lists"},t.createElement(r.A,{variant:"admin",className:"flex-1 min-h-0"},nt.map((St,ht)=>t.createElement("div",{key:ht},t.createElement(k,Vt(Mt({},St),{onDelete:Dt,onDuplicate:Je,onEdit:qe,onPreview:gt,onReorder:ft,onToggle:ke})),ht!==nt.length-1&&t.createElement(Ze,null)))))))},F=t.memo(bt)},132556:(se,U,e)=>{e.d(U,{A:()=>o});var t=e(63696),O=e(886550),r=e(283722),p=e(429195);const L=O.Ay.div`
1280  width: 40px;
1281  height: 40px;
1282  padding: 10px;
1283  // panel icons have 20*20 dimensions
1284  display: flex;
1285  align-items: center;
1286  justify-content: center;
1287  border-radius: 100px;
1288  background: ${p.dHK};
1289`,S=(0,O.Ay)(r.Ay)`
1290  display: flex;
1291  justify-content: center;
1292  align-items: center;
1293  width: 20px;
1294  height: 20px;
1295  font-size: 20px;
1296  & > svg {
1297    width: 20px;
1298    height: 20px;
1299  }
1300`,o=({iconKey:y,fallbackIconKey:c,className:f,onClick:s,testId:n})=>{const d=c&&!(0,r.Hz)(y)?c:y;return t.createElement(L,{className:f,"data-testid":n,onClick:s},t.createElement(S,{name:d}))}},569147:(se,U,e)=>{e.d(U,{A:()=>W});var t=e(500579),O=e.n(t),r=e(346686),p=e.n(r),L=e(7516),S=e.n(L),R=e(716681),o=e.n(R),y=e(2524),c=e.n(y),f=e(588808),s=e.n(f),n=e(142435),d=e.n(n),l=e(256746),m=e(847548),C=e(758182),D=e(859125),E=e(317266),P=e(845720),a=e(134792),g=e(154653),u=e(745204),A=e(254859),i=e(823389),B=e(758294),V=e(555983),$=e(239649),M=e(432),N=e(658268);const W={[l.Vv]:{_id:"preview",automatic:"ChannelSelect",behavior:{kind:"manual",pages:[{_id:"0",data:{channelSelectActiveImageUrl:"https://static.maestro.io/media/607ee3c2619057002d4f1784/6109b28d5bb7a700a64db033.png"}},{_id:"1",data:{channelSelectActiveImageUrl:"https://static.maestro.io/media/607ee3c2619057002d4f1784/6109b2b12c592200a50ff0aa.png"}},{_id:"2",data:{channelSelectActiveImageUrl:"https://static.maestro.io/media/607ee3c2619057002d4f1784/6109b2a71ba6f000a61906e7.png"}},{_id:"3",data:{channelSelectActiveImageUrl:"https://static.maestro.io/media/607ee3c2619057002d4f1784/6109b2985bb7a700a64db034.png"}},{_id:"4",data:{channelSelectActiveImageUrl:"https://static.maestro.io/media/607ee3c2619057002d4f1784/6109b2985bb7a700a64db034.png"}}]},iconName:"newspaper",panelName:"Channels",panelType:l.Vv},[l.Be]:{chat:[{image:O(),name:"Jenny Wills",text:"Yes, yes, yes !!!",time:161220372e4},{image:O(),name:"Jenny Wills",text:"Yes, yes, yes !!!",time:161220372e4},{image:o(),name:"Lia Stone",text:"Hey guys this is wonderfull!",time:161220366e4},{image:p(),name:"John Smith",text:"Wow this livestream is incredible *.*",time:16122036e5},{image:c(),name:"Mark Clark",text:"love that song! one of my favorites of all time. Even better to see it live <3",time:16122036e5},{image:s(),name:"Martha Jules",text:"I\u2019m so stoked for this guys, i can wait to see all the comunity reunited again!",time:161220348e4},{image:S(),name:"Kim Yong",text:"I never thought livestreams were this good! My lord!",time:161220312e4},{image:d(),name:"Will Buck",text:"Hey guys this is amazing!",time:"Just now"},{image:O(),name:"Jenny Wills",text:"Yes, yes, yes !!!",time:"Just now"}
1300],iconName:"chat",panelName:"Chat",panelType:l.Be},[l.pr]:{iconName:"link",panelName:"Iframe",panelType:l.pr,url:"https://www.maestro.io/"},[l.zF]:{iconName:"pictures",imageList:[{arrayId:"1",imageUrl:"https://static.gcp.maestro.io/media/5c08126958dfae005af67972/5c086a4f430aa40069f6f1f6.png"},{arrayId:"2",imageUrl:"https://static.gcp.maestro.io/media/5c08126958dfae005af67972/5c087265ce8b1b005b98e58d.png"},{arrayId:"3",imageUrl:"https://static.gcp.maestro.io/media/5ef11af77b34f9002c0a0404/5ef11af77b34f9002c0a040e.png"}],panelName:"Image",panelType:l.zF,title:"Upcoming Wallpaper",view:{type:"grid"}},[l.Rl]:{iconName:"check",panelName:"Multiple Choice",panelType:l.Rl,previewData:[{_id:"5",collection:"polls",created:1633032779226,data:{kind:"four_option_trivia",name:"Where is the lowest elevation in the US?",option1:"Death Valley",option2:"Navassa Island",option3:"Britton Hill",option4:"Fort Reno",question:"Where is the lowest elevation in the US?",showNumbers:!1,title:"Where is the lowest elevation in the US?"},lastModified:1633032779226,siteId:"607ee3c2619057002d4f1784",slug:"poll-61561a4bbc3f1228cf4aae2b-generated",type:"poll"},{_id:"6",collection:"polls",created:1635271275421,data:{kind:"two_option_prediction",name:"What is the generation that was born in 2000?",option1:"Team X",option1Image:"https://static.gcp.maestro.io/media/607ee3c2619057002d4f1784/6178705d7fb5ab00a72d2274.png",option2:"Team Y",option2Image:"https://static.gcp.maestro.io/media/607ee3c2619057002d4f1784/6178707edfc96b00a64d95fe.png",question:"What is the generation that was born in 2000?",showNumbers:!1,status:{kind:"open"},title:"What is the generation that was born in 2000?"},lastModified:1635280490431,siteId:"607ee3c2619057002d4f1784",slug:"poll-6178426a9220a8d2c83a6d9b-generated",type:"poll"},{_id:"7",collection:"polls",created:1629482088549,data:{kind:"two_option_poll",name:"What kind of Overlays are more usefull",option1:"Option 1",option2:"Option 2",question:"What kind of Overlays are more usefull?",showNumbers:!1,status:{kind:"open"},title:"What kind of Overlays are more usefull"},lastModified:1629482088549,siteId:"607ee3c2619057002d4f1784",slug:"poll-611fec68fffc09182fe58c87-generated",type:"poll"}]},[l.WF]:{iconName:"user",id:"5c086b760ece11060fef7488",panelName:"People",panelType:l.WF,people:[{id:"5c086b2d8eef42bdadaca3b8",personBio:" As TOKiMONSTA, California producer Jennifer Lee\u2019s charted a fascinating career over the past seven years, and Lune Rouge is her exhilarating next step. The third proper long-player from TOKiMONSTA is both a logical progression of her sound and a surprising left turn from an artist that rarely ceases to surprise. A smoky, patient, and altogether lovely collection, Lune Rouge mixes modern sensibilities with old-school sounds to make for a heady brew of moonlit music.",personImageUrl:"https://static.maestro.io/media/5c08126958dfae005af67972/5c086ad8430aa40069f6f1f7.jpg",personLinks:[{linkIconName:"twitter",linkText:"Twitter",linkUrl:"https://twitter.com/tokimonsta"},{linkIconName:"globe",linkText:"Website",linkUrl:" https://tokimonsta.com/"},{linkIconName:"instagram",linkText:"Instagram",linkUrl:"https://www.instagram.com/tokimonsta"}],personName:"tokimonsta",personTitle:"Musician"}]},[l.zx]:{iconName:"list-bullet",panelName:"Playlist",panelType:l.zx,previewData:[{_id:"1",created:1601093051137,durationSeconds:213,modified:1601093051137,thumbnail:"https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg",title:"Rick Astley - Never Gonna Give You Up (Video)"},{_id:"2",created:1601093081161,durationSeconds:295,modified:1601093081161,thumbnail:"https://i.ytimg.com/vi/l5aZJBLAu1E/sddefault.jpg",title:'The Weather Girls - It"s Raining Men (Video)'},{_id:"3",created:1602658133417,durationSeconds:279,modified:1602658133417,thumbnail:"https://i.ytimg.com/vi/E8gmARGvPlI/sddefault.jpg",title:"Wham! - Last Christmas (Official Video)"},{_id:"4",created:1608861616559,durationSeconds:229,modified:1608861616559,thumbnail:"https://i.ytimg.com/vi/iPUmE-tne5U/sddefault.jpg",title:"Katrina & The Waves - Walking On Sunshine (Official Video)"}]}
1300,[l.wn]:{iconName:"calendar",panelName:"Schedule",panelType:l.wn,scheduleTypeRenderer:{manualEvents:[{endTime:"Jan 6 2019 11:30:00 GMT-0800 (PST)",kind:"event",location:"Dedede Hall",moreInfo:"",name:"Welcome Ceremony",reference:"none",startTime:"Jan 6 2019 10:30:00 GMT-0800 (PST)"},{endTime:"Jan 6 2019 12:30:00 GMT-0800 (PST)",kind:"event",location:"Keanu Theater",moreInfo:"",name:"Pre Show",reference:"none",startTime:"Jan 6 2019 12:00:00 GMT-0800 (PST)"},{endTime:"Jan 7 2019 11:00:00 GMT-0800 (PST)",kind:"event",location:"Keanu Theater",moreInfo:"",name:"Main Event",reference:"none",startTime:"Jan 6 2019 13:00:00 GMT-0800 (PST)"},{endTime:"Jan 7 2019 12:45:00 GMT-0800 (PST)",kind:"event",location:"Dedede Hall",moreInfo:"",name:"Recap & Highlights",reference:"none",startTime:"Jan 7 2019 11:30:00 GMT-0800 (PST)"}],scheduleType:"manual"}},[l.FH]:{collection:{products:{edges:[{node:{availableForSale:!1,id:"1",images:{edges:[{node:{url:"https://static.gcp.maestro.io/media/607ee3c2619057002d4f1784/612d193827270f00a64bb754.jpg"}}]},title:"Maestro if the 9 Iron",variants:{edges:[{node:{price:19.99}}]}}},{node:{availableForSale:!0,id:"2",images:{edges:[{node:{url:"https://static.maestro.io/media/607ee3c2619057002d4f1784/60da6aebcb8f5400a55983f4.png"}}]},title:"Build a Meaningful Relationship with Your Laptop",variants:{edges:[{node:{price:19.99}}]}}},{node:{availableForSale:!0,id:"3",images:{edges:[{node:{url:"https://static.maestro.io/media/607ee3c2619057002d4f1784/60da6ae0332cc400a580b27e.png"}}]},title:`Maestro // "Not Your Dad's Hat"`,variants:{edges:[{node:{price:19.99}}]}}},{node:{availableForSale:!0,id:"4",images:{edges:[{node:{url:"https://static.maestro.io/media/607ee3c2619057002d4f1784/60da6ac571e54400a58ed240.png"}}]},title:`Maestro // "Not Your Dad's Hat"`,variants:{edges:[{node:{price:19.99}}]}}},{node:{availableForSale:!0,id:"5",images:{edges:[{node:{url:"https://static.maestro.io/media/607ee3c2619057002d4f1784/60db4669c47d3300a538c16c.png"}}]},title:`Maestro // "Not Your Dad's Hat"`,variants:{edges:[{node:{price:19.99}}]}}},{node:{availableForSale:!0,id:"5",images:{edges:[{node:{url:"https://static.maestro.io/media/607ee3c2619057002d4f1784/60db46459d54c600a673b906.png"}}]},title:`Maestro // "Not Your Dad's Hat"`,variants:{edges:[{node:{price:19.99}}]}}}]},title:"Maestro F/W 2021"},iconName:"basket",id:"1",panelName:"Merch",panelType:l.FH},[l.Uy]:{iconName:"twitter",panelName:"Maestro Twitter",panelType:l.Uy,sources:[{arrayId:"KlsqzWOE8",source:"@maestroio"}],title:"Twitter"},[l.F2]:{iconName:"tips",panelName:"Tips",panelType:l.F2},[l.Li]:{channel:"monstercat",iconName:"twitch",panelName:"Twitch",panelType:l.Li},[l.kG]:{iconName:"shopify",panelName:"Shopify",panelType:l.kG,blockData:(0,m.L8)()},[l.nw]:{iconName:"leaderboardV3",panelName:"Leaderboard V2",panelType:l.nw,blockData:(0,C.qQ)()},[l.pt]:{iconName:"award",panelName:"Quests",panelType:l.pt,blockData:(0,D.G4)()},[l.o1]:{iconName:"keyPlays",panelName:"ESPN KEY PLAYS",panelType:l.o1,blockData:E.B,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.hI]:{iconName:"bets",panelName:"ESPN BETS",panelType:l.hI,blockData:P.W,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.z4]:{iconName:"fantasy",panelName:"ESPN FANTASY",panelType:l.z4,blockData:a.C,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.SG]:{iconName:"stats",panelName:"ESPN STATS",panelType:l.SG,blockData:g.Z,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.Vg]:{iconName:"espnShop",panelName:"SHOP",panelType:l.Vg,blockData:u.o,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.yF]:{iconName:"bar-chart",panelName:"Fornite Duos Leaderboard",panelType:l.yF},[l.gP]:{iconName:"gamer",panelName:"Fornite Duos Match",panelType:l.gP},[l.SB]:{iconName:"gamer",panelName:"Fornite Play by Play",panelType:l.SB},[l.Ey]:{iconName:"gamer",panelName:"Fornite Singles Match",panelType:l.Ey},[l.zj]:{iconName:"gamer",panelName:"Play by Play",panelType:l.zj},[l.Ug]:{iconName:"shop",panelName:"Shop",panelType:l.Ug},[l.DM]:{iconName:"keyPlays",panelName:"FOX KEY PLAYS",panelType:l.DM,blockData:A.k,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}}
1300,[l.JO]:{iconName:"channelSelectV3",panelName:"FOX MULTI VIEW",panelType:l.JO,blockData:i.Q,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.jM]:{iconName:"stats",panelName:"FOX STATS",panelType:l.jM,blockData:B.w,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.Rz]:{iconName:"channelSelectV3",panelName:"WHAT JUST HAPPENED",panelType:l.Rz,blockData:V.U,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.DZ]:{iconName:"keyPlays",panelName:"PARAMOUNT KEY PLAYS",panelType:l.DZ,blockData:$.g,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.x0]:{iconName:"stats",panelName:"PARAMOUNT STATS",panelType:l.x0,blockData:M.O,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.ZD]:{iconName:"channelSelectV3",panelName:"MULTIVIEW",panelType:l.ZD,blockData:N.o,supportedPlatforms:{android:!0,androidTv:!0,bbd:!0,desktopWeb:!0,ios:!0,mobileWeb:!0,roku:!0,tvos:!0}},[l.vb]:{iconName:"th-large",panelName:"Cards",panelType:l.vb}}},256746:(se,U,e)=>{e.d(U,{Be:()=>O,DM:()=>M,DN:()=>he,DO:()=>le,DZ:()=>X,Ey:()=>d,F2:()=>a,FH:()=>C,JO:()=>N,Li:()=>c,Pb:()=>$,Rl:()=>f,Rz:()=>q,SB:()=>m,SG:()=>B,Sf:()=>Me,Ug:()=>z,Uy:()=>R,Vg:()=>V,Vv:()=>o,WF:()=>L,Wv:()=>g,ZD:()=>H,ae:()=>W,bt:()=>He,eY:()=>$e,gP:()=>n,hI:()=>A,jM:()=>K,kG:()=>D,nw:()=>E,o1:()=>u,pr:()=>r,pt:()=>P,sg:()=>Ee,vb:()=>re,wn:()=>S,x0:()=>w,yF:()=>l,z4:()=>i,zF:()=>p,zZ:()=>de,zj:()=>s,zx:()=>y});var t=e(636226);const O="chat",r="iframe",p="image_v2",L="peopleGroups",S="schedule",R="social",o="channel_select",y="playlist",c="twitch_chat",f="multiple_choice",s="playByPlay",n="fortniteDuosMatch",d="fortniteSinglesMatch",l="fortniteDuosLeaderboard",m="fortnitePlayByPlay",C="shopify",D="shopifyBlockPanel",E="fortniteLeaderboardBlockPanel",P="questsBlockPanel",a="tips",g
1300="selfsignup_welcome",u="espnKeyPlays",A="espnBet",i="espnFantasy",B="espnStats",V="espnShop",$="espnOutOfTownScoreboard",M="foxKeyPlays",N="foxMultiView",K="foxStats",W="foxTopics",q="whatJustHappened",X="paramountKeyPlays",w="paramountStats",H="multiviewPanel",z="ShopBlockPanel",le="pageContentPanel",re="builderBlockPanel",de={[O]:["chatV2","chat"],[L]:["people","user"],[P]:["award"],[p]:["imageV3","pictures"],[S]:["scheduleV3","calendar"],[o]:["channelSelectV3","newspaper"],[y]:["playlistV3","list-bullet"],[f]:["multipleChoiceV2","check"],[r]:["iframeV3","link"],[z]:["shop"],[re]:["th-large"],[a]:["tipsV2","tips"]},he="filled-elements-4",Ee={[L]:["Jennifer Lee - Musician"],[p]:["Upcoming Wallpapers"]},Me={[O]:{kindId:O,iconKey:"filled-comment-2-text",titleKey:"ADMIN_PANEL_CHAT_NAME",descriptionKey:"ADMIN_PANEL_V2_CHAT_DESCRIPTION"},[a]:{kindId:a,iconKey:"tipsV2",titleKey:"ADMIN_PANEL_TIPS_NAME",descriptionKey:"ADMIN_PANEL_TIPS_INFO"},[L]:{kindId:L,iconKey:"filled-users",titleKey:"ADMIN_PANEL_PEOPLE_NAME",descriptionKey:"ADMIN_PANEL_PEOPLE_INFO"},[P]:{kindId:P,iconKey:"filled-trophy",titleKey:"ADMIN_LABEL_QUESTS",descriptionKey:"ADMIN_PANEL_QUEST_INFO"},[p]:{kindId:p,iconKey:"filled-image",titleKey:"ADMIN_PANEL_IMAGE_NAME",descriptionKey:"ADMIN_PANEL_IMAGE_INFO"},[S]:{kindId:S,iconKey:"filled-calendar-dates",titleKey:"ADMIN_PANEL_SCHEDULE_NAME",descriptionKey:"ADMIN_PANEL_SCHEDULE_INFO"},[o]:{kindId:o,iconKey:"filled-video-library",titleKey:"ADMIN_PANEL_CHANNEL_SELECT_NAME",descriptionKey:"ADMIN_PANEL_CHANNEL_SELECT_INFO"},[y]:{kindId:y,iconKey:"filled-video-queue",titleKey:"ADMIN_PANEL_PLAYLIST_NAME",descriptionKey:"ADMIN_PANEL_PLAYLIST_INFO"},[c]:{kindId:c,iconKey:"twitchV3",titleKey:"ADMIN_PANEL_TWITCH_CHAT_NAME",descriptionKey:"ADMIN_PANEL_TWITCH_CHAT_INFO"},[f]:{kindId:f,iconKey:"filled-elements-plus",titleKey:"ADMIN_LABEL_MULTIPLE_CHOICE",descriptionKey:"ADMIN_PANEL_MULTIPLE_CHOICE_INFO"},[r]:{kindId:r,iconKey:"filled-code",titleKey:"ADMIN_PANEL_IFRAME_NAME",descriptionKey:"ADMIN_PANEL_IFRAME_INFO"},[u]:{kindId:u,iconKey:"keyPlays",titleKey:"ADMIN_LABEL_ESPN_KEY_PLAYS",descriptionKey:"ADMIN_PANEL_KEY_PLAYS_INFO"},[A]:{kindId:A,iconKey:"bets",titleKey:"ADMIN_LABEL_ESPN_BETS",descriptionKey:"ADMIN_PANEL_BETS_INFO"},[i]:{kindId:i,iconKey:"fantasy",titleKey:"ADMIN_LABEL_ESPN_FANTASY",descriptionKey:"ADMIN_PANEL_FANTASY_INFO"},[B]:{kindId:B,iconKey:"stats",titleKey:"ADMIN_LABEL_ESPN_STATS",descriptionKey:"ADMIN_PANEL_STATS_INFO"},[V]:{kindId:V,iconKey:"espnShop",titleKey:"ADMIN_LABEL_ESPN_SHOP",descriptionKey:"ADMIN_PANEL_ESPN_SHOP_INFO"},[$]:{kindId:$,iconKey:"stats",titleKey:"ADMIN_LABEL_ESPN_OUT_OF_TOWN_SCOREBOARD",descriptionKey:"ADMIN_PANEL_ESPN_OUT_OF_TOWN_SCOREBOARD_INFO"},[M]:{kindId:M,iconKey:"keyPlays",titleKey:"ADMIN_LABEL_FOX_KEY_PLAYS",descriptionKey:"ADMIN_PANEL_FOX_KEY_PLAYS_INFO"},[N]:{kindId:N,iconKey:"channelSelectV3",titleKey:"ADMIN_LABEL_FOX_MULTI_VIEW",descriptionKey:"ADMIN_PANEL_FOX_MULTI_VIEW_INFO"},[K]:{kindId:K,iconKey:"stats",titleKey:"ADMIN_LABEL_FOX_STATS",descriptionKey:"ADMIN_PANEL_FOX_STATS_INFO"},[W]:{kindId:W,iconKey:"channelSelectV3",titleKey:"ADMIN_LABEL_FOX_TOPICS",descriptionKey:"ADMIN_PANEL_FOX_TOPICS_INFO"},[q]:{kindId:q,iconKey:"channelSelectV3",titleKey:"ADMIN_LABEL_WHAT_JUST_HAPPENED",descriptionKey:"ADMIN_PANEL_WHAT_JUST_HAPPENED_INFO"},[X]:{kindId:X,iconKey:"keyPlays",titleKey:"ADMIN_LABEL_PARAMOUNT_KEY_PLAYS",descriptionKey:"ADMIN_PANEL_PARAMOUNT_KEY_PLAYS_INFO"},[w]:{kindId:w,iconKey:"stats",titleKey:"ADMIN_LABEL_PARAMOUNT_STATS",descriptionKey:"ADMIN_PANEL_PARAMOUNT_STATS_INFO"},[H]:{kindId:H,iconKey:"channelSelectV3",titleKey:"ADMIN_LABEL_MULTIVIEW",descriptionKey:"ADMIN_PANEL_MULTIVIEW_INFO"},[z]:{kindId:z,iconKey:"filled-shopping-bag-2",titleKey:"ADMIN_SHOP",descriptionKey:"ADMIN_PANEL_SHOPIFY_INFO"},[re]:{kindId:re,iconKey:"filled-elements-4",titleKey:"ADMIN_LABEL_CARDS_PANEL",descriptionKey:"ADMIN_PANEL_CARDS_INFO"},[D]:{kindId:D,iconKey:"shopifyV2",titleKey:"ADMIN_SHOPIFY_V2",descriptionKey:"ADMIN_PANEL_SHOPIFY_INFO"}
1300,[E]:{kindId:E,iconKey:"leaderboardV3",titleKey:"ADMIN_LABEL_LEADERBOARD_V2",descriptionKey:"ADMIN_DESC_LEADERBOARD"},[l]:{kindId:l,iconKey:"bar-chart",titleKey:"ADMIN_LABEL_FORTNITE_DUOS_LEADERBOARD",descriptionKey:"FALLBACK"},[n]:{kindId:n,iconKey:"gamer",titleKey:"ADMIN_LABEL_FORTNITE_DUOS_MATCH",descriptionKey:"FALLBACK"},[m]:{kindId:m,iconKey:"gamer",titleKey:"ADMIN_LABEL_FORTNITE_PLAY_BY_PLAY",descriptionKey:"ADMIN_DESC_FORTNITE_PLAY_BY_PLAY"},[d]:{kindId:d,iconKey:"gamer",titleKey:"ADMIN_LABEL_FORTNITE_SINGLES_MATCH",descriptionKey:"FALLBACK"},[s]:{kindId:s,iconKey:"gamer",titleKey:"ADMIN_LABEL_FORTNITE_PLAY_BY_PLAY",descriptionKey:"ADMIN_DESC_FORTNITE_PLAY_BY_PLAY"}},$e=(0,t.a)()({image:{kindId:"image",position:1,iconKey:"filled-image",titleKey:"ADMIN_CARD_IMAGE_NAME",descriptionKey:"ADMIN_CARD_IMAGE_INFO"},message:{kindId:"message",position:2,iconKey:"filled-comment-2-text",titleKey:"ADMIN_CARD_MESSAGE_NAME",descriptionKey:"ADMIN_CARD_MESSAGE_INFO"},poll:{kindId:"poll",position:4,iconKey:"filled-elements-plus",titleKey:"ADMIN_LABEL_MULTIPLE_CHOICE",descriptionKey:"ADMIN_CARD_POLL_INFO"},person:{kindId:"person",position:5,iconKey:"filled-users",titleKey:"ADMIN_CARD_PERSON_NAME",descriptionKey:"ADMIN_PANEL_PEOPLE_INFO"}}),He=Object.keys($e)},408782:(se,U,e)=>{e.d(U,{A:()=>ne});var t=e(63696),O=e(776637),r=e.n(O),p=e(224191),L=e(1661),S=e(366207),R=e(802987),o=e(802141),y=e(782592),c=e(346002),f=e(41989),s=e(908775),n=e(825711),d=e(679706),l=e(429195),m=e(152544),C=e(886550),D=e(892451),E=e(1835),P=e(579226),a=e(478158),g=e(843984);const A={height:"calc(100vh - 96px)"},i=(0,C.AH)`
1301  display: flex;
1302  flex-direction: column;
1303  flex: 1;
1304  min-height: 0;
1305`,B={hidden:{scaleX:0,opacity:0},show:{scaleX:1,opacity:1,transition:{type:"spring",stiffness:100,damping:15,staggerChildren:.1,delayChildren:.35}}},V={hidden:{opacity:0,y:20,scale:.95},show:{opacity:1,y:0,scale:1,transition:{type:"spring",stiffness:100,damping:15}}},$={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.1}}},M=D.P.create(E.Zp),N=({$state:k,children:fe})=>t.createElement(M,{style:A,className:"relative flex flex-col w-[500px] origin-right overflow-hidden",variants:B,initial:"hidden",animate:k==="entered"||k==="entering"?"show":"hidden"},fe),K=(0,C.Ay)(D.P.div).attrs({variants:V})`
1306  display: flex;
1307  flex-direction: row;
1308  align-items: center;
1309  justify-content: space-between;
1310  flex-shrink: 0;
1311  padding: 24px 20px;
1312  background: transparent;
1313  border-bottom: 1px solid ${l.kjY};
1314  border-radius: 12px 12px 0 0;
1315`,W=C.Ay.p`
1316  color: ${l.o0B};
1317  ${m.p6};
1318`,q=C.Ay.div`
1319  display: flex;
1320  flex-flow: row wrap;
1321  align-items: center;
1322  gap: 9px;
1323`,X=({onClick:k})=>t.createElement(n.X,{size:24,className:"cursor-pointer text-[var(--admin-text-100)]",onClick:k}),w=(0,C.Ay)(D.P.div).attrs({variants:$})`
1324  ${i}
1325`,H=(0,C.Ay)(D.P.div).attrs({variants:V})`
1326  ${i}
1327  margin: 20px 0 20px 20px;
1328`,z=(0,C.Ay)(d.A)`
1329  margin: 20px 0px;
1330`,le=(0,C.Ay)(g.A)`
1331  max-height: 407px;
1332`,re=(0,C.Ay)(g.A)`
1333  ${i}
1334
1335  /* Override Expandable's fixed pixel height so it participates in flex */
1336  & > div {
1337    flex: 1;
1338    min-height: 0;
1339    height: auto !important;
1340
1341    & > div {
1342      height: 100%;
1343    }
1344  }
1345
1346  & .lists {
1347    flex: 1;
1348    min-height: 0;
1349    padding-right: 20px;
1350  }
1351`,de=(0,C.Ay)(D.P.div).attrs({variants:V})`
1352  ${i}
1353  padding: 20px 0 0 20px;
1354`,he=C.Ay.div`
1355  padding: 0 20px 35px 0;
1356`,Ee=({children:k})=>t.createElement(de,null,t.createElement(P.A,{variant:"admin",className:"flex-1 min-h-0"},t.createElement(he,null,k))),Me=(0,C.Ay)(a.A)`
1357  cursor: pointer;
1358`;var $e=e(256746);const ne=({onStopEditing:k,state:fe})=>{const{t:Oe}=(0,f._h)(),Ie=(0,p.useSelector)(c.Wz),{canEditPanelOrder:Ce,catalogActivePanels:_e,catalogAvailablePanels:ae,closeEditPanel:Le,currentEditingPanelKind:Be,deletePanel:ye,disablePanel:be,duplicatePanel:J,editPanel:Qe,editingPanelOrder:lt,editingPanelOrderFallback:we,enablePanel:rt,openEditPanel:Ze,previewPanel:Xe,reorderPanel:it,setPanelOrder:Pt}=(0,s.Ay)(),{editorCard:Ne,editorCardTitleKey:at,editorCardIcon:ut,cardHasChanges:pt,catalogCards:Mt,toggleCard:Vt,openCardEditor:bt,closeCardEditor:F,editCard:ie,saveCard:Te}=(0,R.A)(),Se=(0,t.useMemo)(()=>
1358({titleKey:"ADMIN_PANEL_V2_PANELS_SECTION_ACTIVE_PANELS",items:_e,draggable:!0,testId:"activePanelsList"}),[r()(_e)]),Et=(0,t.useMemo)(()=>({titleKey:"ADMIN_PANEL_V2_PANELS_SECTION_AVAILABLE_PANELS",items:ae,testId:"availablePanelsList"}),[r()(ae)]),nt=(0,t.useCallback)((je,Lt)=>{Lt?rt(je):be(je)},[rt,be]),vt=(0,t.useCallback)(je=>{it(je)},[it]),ot=(0,t.useCallback)(je=>{Ze(je)},[Ze]),ke=(0,t.useCallback)(()=>{Le(),F()},[Le]),ft=(0,t.useCallback)(je=>{Qe(je)},[Qe]),qe=(0,t.useCallback)(je=>{J(je)},[J]),Je=(0,t.useCallback)(je=>{ye(je)},[ye]),Dt=(0,t.useCallback)(je=>{Xe(je)},[Xe]),gt=!!(Ie||Ne);return t.createElement(N,{$state:fe},t.createElement(K,null,t.createElement(W,null,gt&&Be&&$e.Sf[Be]?Oe("ADMIN_PANEL_SETTINGS_WITH_NAME",{panelName:Oe($e.Sf[Be].titleKey)}):Oe("ADMIN_PANEL_SETTINGS")),t.createElement(q,null,gt&&t.createElement(Me,{onClick:ke}),t.createElement(X,{onClick:k}))),t.createElement(w,null,Ie?t.createElement(Ee,null,Ce&&t.createElement(S.A,{key:Be,fallbackOrder:we,onChange:Pt,order:lt}),t.createElement(L.A,{kindId:Be,onChange:ft,panelType:Ie.panelType,renderer:Ie})):null,Ne&&t.createElement(Ee,null,t.createElement(y.A,{existing:!0,iconName:ut,onSave:pt?Te:null,titleKey:at}),t.createElement(o.A,{onChange:ie,renderer:Ne.renderer||Ne.data})),gt?null:t.createElement(H,null,t.createElement(re,{catalogLists:[Se,Et],hideHeader:!0,infoKey:"ADMIN_SIDEBAR_SECTION_PANELS_HELPER",isOpen:!0,onDelete:Je,onDuplicate:qe,onEdit:ot,onPreview:Dt,onReorder:vt,onToggle:nt,testId:"panelsCatalog",titleKey:"ADMIN_SIDEBAR_SECTION_PANELS"}))))}},460918:(se,U,e)=>{e.d(U,{Co:()=>p,N$:()=>L,kt:()=>S,rg:()=>r});var t=e(217243),O=e.n(t);const r=R=>R?(0,t.isUndefined)(R.isActive)?!0:R.isActive:!1,p=10,L=R=>(R+1)*p,S=R=>R.map((o,y)=>{var c;return{panel:o,sortKey:(c=o.order)!=null?c:L(y)}}).sort((o,y)=>o.sortKey-y.sortKey).map(({panel:o})=>o)},874504:(se,U,e)=>{e.d(U,{A:()=>Nt});var t=e(63696),O=e(34729),r=e(252992),p=e(731694),L=e(695205),S=e(141220),R=e(939925),o=e(654414),y=e(224191),c=e(400781),f=e(472661),s=e(887944),n=e(120567),d=e.n(n),l=e(41989),m=e(365179),C=e(199749),D=e(89006),E=e(463302),P=e(89649),a=e(711678),g=e(870349),u=e(429195),A=e(152544),i=e(886550),B=e(312854),V=e(283722);const $=i.Ay.div`
1359  padding: 4px;
1360  padding-right: 10px;
1361  display: flex;
1362  align-items: center;
1363  gap: 6px;
1364  border-radius: 16px;
1365  background-color: ${_=>(0,B.B3)((0,u.O49)(_),.5)};
1366  width: fit-content;
1367  align-self: baseline;
1368  margin-right: auto;
1369`,M=i.Ay.label`
1370  ${A.rb}
1371  color: ${u.SP6};
1372`,N=i.Ay.div`
1373  width: 8px;
1374  height: 8px;
1375  border-radius: 50%;
1376  background-color: ${u.mrt};
1377`,K=(0,i.Ay)(N)`
1378  background-color: ${u.W6Q};
1379`,W=(0,i.Ay)(N)`
1380  background-color: ${u.Mgw};
1381`,q=(0,i.Ay)(V.Ay).attrs({name:"checkmarkCircle"})`
1382  & svg {
1383    width: 16px;
1384    height: 16px;
1385    & path {
1386      fill: ${u.ju8};
1387    }
1388  }
1389`,X=(0,i.Ay)(q)`
1390  & svg {
1391    & path {
1392      fill: ${u.mrt};
1393    }
1394  }
1395`,w=(0,i.Ay)(V.Ay).attrs({name:"close-thin"})`
1396  width: 16px;
1397  height: 16px;
1398  border-radius: 50%;
1399  background-color: ${u.W6Q};
1400  position: relative;
1401  & svg {
1402    position: absolute;
1403    left: 50%;
1404    top: 50%;
1405    transform: translate(-50%, -50%);
1406    width: 6.67px;
1407    height: 6.67px;
1408  }
1409`,H=(0,i.Ay)(g.Ay)`
1410  background-color: ${u.F_r};
1411  height: 24px;
1412  color: ${u.mrt} !important;
1413  border-radius: 16px;
1414
1415  &:hover {
1416    background-color: ${u.O49} !important;
1417    color: ${u.mrt} !important;
1418  }
1419`,z=i.Ay.span`
1420  ${A.f7}
1421  color: ${u._A5};
1422
1423  ${({claimed:_})=>_&&(0,i.AH)`
1424    color: ${u.ju8};
1425
1426    & span {
1427      color: ${u.ju8};
1428    }
1429  `};
1430
1431  ${({completed:_})=>_&&(0,i.AH)`
1432    color: ${u.mrt};
1433
1434    & span {
1435      color: ${u.mrt};
1436    }
1437  `};
1438`,le=i.Ay.span`
1439  color: ${u.SP6};
1440`,re=i.Ay.li`
1441  display: flex;
1442  gap: 10px;
1443  position: relative;
1444`,de=i.Ay.div`
1445  display: flex;
1446  flex-direction: column;
1447  gap: 6px;
1448
1449  ${({preview:_})=>_&&(0,i.AH)`
1450    width: 100%;
1451    background-color: ${u.AOI};
1452    border-radius: 50px;
1453    margin: 5px 0;
1454  `};
1455`,he=i.Ay.span`
1456  ${A.f7}
1457  color: ${u.XO2};
1458`,Ee=i.Ay.div`
1459  display: flex;
1460  align-items: center;
1461  & > *:not(:first-child) {
1462    margin-left: 8px;
1463  }
1464`,Me=(0,i.AH)`
1465  width: 30px;
1466  height: 30px;
1467  padding: 6px;
1468`,$e=i.Ay.div`
1469  display: flex;
1470  align-items: center;
1471  justify-content: center;
1472  ${Me}
1473`,He=i.Ay.div`
1474  width: 18px;
1475  height: 18px;
1476  background-color: ${u.F_r};
1477  border: 0.75px solid ${u.ywe};
1478  border-radius: 50%;
1479`,ne=(0,i.Ay)(X)`
1480  ${Me}
1481
1482  & > svg {
1483    width: 18px;
1484    height: 18px;
1485  }
1486`,k=(0,i.Ay)(w)`
1487  width: 18px;
1488  height: 18px;
1489`,fe=(0,i.Ay)(q)`
1490  ${Me}
1491  color: ${u.ju8};
1492
1493  & > svg {
1494    width: 18px;
1495    height: 18px;
1496  }
1497`,Oe=({action:_,claimed:Ae,completed:G,failed:Re,progress:De,questEngage:st})=>{const Ye=(0,y.useDispatch)(),Tt=(0,y.useSelector)(c.x6),At=(0,R.k)(),j=(0,y.useSelector)(m.DS2),Y=(0,y.useSelector)(C.S1),oe=(0,y.useSelector)(E.M3),{shareId:h}=(0,S.zh)(),{t:T}=(0,l._h)(),b=_.channelId?_.channelId===Tt:!0,Pe=t.useCallback(Ve=>Math.round(Ve*2)/2,[]),ge=()=>{!_.validationValue||!b||Ye((0,f.NE)({id:_.validationValue}))},xe=()=>{!_.validationValue||!b||(st({action:"play_video",video:_.validationValue}),At(_.validationValue))},x=()=>{_.validationValue&&(st({action:"open_link",url:_.validationValue}),window.open(_.validationValue,"_blank"))},v=()=>{Y&&Ye((0,c.lI)(Y._id))},I=()=>{Y&&Ye((0,c.lI)(Y._id))},Z=()=>{Y&&Ye((0,c.lI)(Y._id))},me=Ve=>()=>{!_.validationValue||!b||Ye((0,f.NE)({doc:{data:{kind:"multiple_choice",questions:[{kind:Ve,[Ve]:{_id:_.validationValue}}]}}}))},Q=()=>{const Ve=_.kind===o.o.VisitChannel?_.validationValue:_.channelId;return Ve===Tt||!Ve||Ae||G?null:oe?t.createElement(L.A,{pageId:Ve},t.createElement(H,null,T("ACTION_GO_TO_CHANNEL"))):t.createElement(H,{onClick:Ue},T("ACTION_GO_TO_CHANNEL"))}
1497,pe=({progress:Ve,valueRequired:Fe})=>{const Ct=Fe||1;return t.createElement(z,{claimed:Ae,completed:G},t.createElement(le,null,Ve),"/",Ct)},Ue=()=>{Ye((0,P.to)({kind:a.V.login}))},ue=(Ve,Fe)=>Ae||G?null:t.createElement(H,{onClick:oe?Ve:Ue},T(Fe)),Ge=()=>!h||Ae||G?null:oe?t.createElement(D.uI,{url:(0,s.jG)(h)},t.createElement(H,{as:"a",href:(0,s.jG)(h)},T("SHARE"))):t.createElement(H,{onClick:Ue},T("SHARE")),ct=()=>{switch(_.kind){case o.o.WatchSpecificVideo:return t.createElement(Ee,null,Q(),ue(xe,"ADMIN_LABEL_WATCH"),pe({progress:De,valueRequired:`${_.valueRequired||0} min`}));case o.o.VisitChannel:return t.createElement(Ee,null,Q(),pe({progress:De,valueRequired:_.valueRequired}));case o.o.ViewPanel:return t.createElement(Ee,null,Q(),j&&ue(ge,"GO_TO_PANEL"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.OpenLink:return t.createElement(Ee,null,Q(),ue(x,"ADMIN_ACTION_OPEN_LINK"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.WatchVideo:return t.createElement(Ee,null,Q(),pe({progress:De,valueRequired:`${_.valueRequired||0} min`}));case o.o.Impossible:return t.createElement(Ee,null,pe({progress:De,valueRequired:_.valueRequired}));case o.o.Retweet:return t.createElement(Ee,null,pe({progress:De,valueRequired:_.valueRequired}));case o.o.ShareFacebookVideo:return t.createElement(Ee,null,Q(),Ge(),pe({progress:De,valueRequired:_.valueRequired}));case o.o.VisitTime:return t.createElement(Ee,null,Q(),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerAnyPoll:return t.createElement(Ee,null,Q(),j&&ue(v,"GO_TO_POLLS"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerSpecificPoll:return t.createElement(Ee,null,Q(),j&&ue(me("poll"),"GO_TO_POLL"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerAnyTrivia:return t.createElement(Ee,null,Q(),j&&ue(I,"GO_TO_TRIVIAS"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerSpecificTrivia:return t.createElement(Ee,null,Q(),j&&ue(me("trivia"),"GO_TO_TRIVIA"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerSpecificTriviaCorrectly:return t.createElement(Ee,null,Q(),j&&ue(me("trivia"),"GO_TO_TRIVIA"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerAnyTriviaCorrectly:return t.createElement(Ee,null,Q(),j&&ue(I,"GO_TO_TRIVIAS"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerAnyPrediction:return t.createElement(Ee,null,Q(),j&&ue(Z,"GO_TO_PREDICTIONS"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerAnyPredictionCorrectly:return t.createElement(Ee,null,Q(),j&&ue(Z,"GO_TO_PREDICTIONS"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerSpecificPrediction:return t.createElement(Ee,null,Q(),j&&ue(me("prediction"),"GO_TO_PREDICTION"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.AnswerSpecificPredictionCorrectly:return t.createElement(Ee,null,Q(),j&&ue(me("prediction"),"GO_TO_PREDICTION"),pe({progress:De,valueRequired:_.valueRequired}));case o.o.StreamContentConcurrent:return t.createElement(Ee,null,pe({progress:De,valueRequired:_.valueRequired}));case o.o.StreamContentTime:return t.createElement(Ee,null,pe({progress:Pe(De),valueRequired:`${Pe(_.valueRequired||0)} ${_.valueRequired===1?"hr":"hrs"}`}));case o.o.TwitchContentConcurrent:return t.createElement(Ee,null,pe({progress:De,valueRequired:_.valueRequired}));case o.o.TwitchContentTime:return t.createElement(Ee,null,pe({progress:Pe(De),valueRequired:`${Pe(_.valueRequired||0)} ${_.valueRequired===1?"hr":"hrs"}`}));default:return d()(!1,`Unsupported quest action kind: ${_.kind}`),null}},yt=()=>{const Ve=_.valueRequired||1;return De>=Ve||G?t.createElement(ne,null):Ae?t.createElement(fe,null):Re?t.createElement($e,null,t.createElement(k,null)):t.createElement($e,null,t.createElement(He,null))};return t.createElement(re,{className:r.hr},yt(),t.createElement(de,null,t.createElement(he,null,_.body),ct()))},Ie=()=>t.createElement(re,{className:r.hr},t.createElement($e,null,t.createElement(He,null)),t.createElement(de,{preview:!0})),Ce=Oe;var _e=e(403869),ae=e(484093),Le=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,be=(_,Ae)=>{var G={};for(var Re in _)Be.call(_,Re)&&Ae.indexOf(Re)<0&&(G[Re]=_[Re]);if(_!=null&&Le)for(var Re of Le(_))Ae.indexOf(Re)<0&&ye.call(_,Re)&&(G[Re]=_[Re]);return G};const J=(0,i.Ay)(V.Ay).attrs({name:"people"})`
1498  & svg {
1499    width: 16px;
1500    height: 16px;
1501    & path {
1502      fill: ${u.mz9};
1503    }
1504  }
1505`,Qe=i.Ay.div`
1506  display: flex;
1507  align-items: center;
1508  gap: 8px;
1509  ${A.f7}
1510  color: ${u.SP6};
1511`,lt=i.Ay.span`
1512  ${A.yT}
1513  color: ${u.SP6};
1514`,we=i.Ay.ul`
1515  all: unset;
1516  display: flex;
1517  flex-direction: column;
1518  gap: 16px;
1519  & li:not(:last-child)::before {
1520    content: '';
1521    width: 1px;
1522    height: 100%;
1523    background-color: ${u.ywe};
1524    position: absolute;
1525    left: 14px;
1526    top: 23px;
1527  }
1528`,rt=i.Ay.div`
1529  display: flex;
1530  gap: 10px;
1531  align-items: center;
1532`,Ze=i.Ay.span`
1533  ${A.p_}
1534  color: ${u.SP6};
1535`,Xe=i.Ay.span`
1536  ${A.n5}
1537  color: ${u.mrt};
1538`,it=i.Ay.img`
1539  min-width: 50px;
1540  max-width: 50px;
1541  height: 50px;
1542  border-radius: 50%;
1543  background-color: ${u.F_r};
1544  object-fit: cover;
1545`,Pt=i.Ay.div`
1546  background-color: ${_=>(0,B.B3)((0,u.O49)(_),.5)};
1547  border-radius: 20px;
1548  ${A.f7}
1549  color: ${u.XO2};
1550  display: flex;
1551  align-items: center;
1552  gap: 6px;
1553  padding: 6px 12px 6px 8px;
1554  width: fit-content;
1555`,Ne=i.Ay.p`
1556  all: unset;
1557  ${A.yT}
1558  color: ${u.XO2};
1559  overflow-wrap: anywhere;
1560`,at=i.Ay.div`
1561  display: flex;
1562  flex-direction: column;
1563  padding: 16px 16px 0px 16px;
1564  gap: 20px;
1565  border-radius: 0 0 10px 10px;
1566  height: 100%;
1567  justify-content: space-between;
1568  ${({expired:_,available:Ae,failed:G})=>(_||!Ae||G)&&(0,i.AH)`
1569    pointer-events: none;
1570    opacity: 0.5;
1571  `}
1572
1573  ${({isContentExpanded:_})=>!_&&(0,i.AH)`
1574    height: 350px !important;
1575  `}
1576`,ut=i.Ay.div`
1577  display: flex;
1578  margin-top: auto;
1579  overflow-y: auto;
1580  flex-direction: column;
1581`,pt=(_,Ae,G)=>{const Re=(0,u.v1G)(_.cardBackgroundColor)(_);return`color: ${(0,ae.Oi)(Re,Ae,G)};`},Mt=i.Ay.div`
1582  display: flex;
1583  justify-content: space-between;
1584
1585  & h3 {
1586    all: unset;
1587    ${A.n5}
1588    overflow-wrap: anywhere;
1589    ${_=>pt(_,(0,u.SP6)(_),(0,u.cES)(_))}
1590  }
1591`,Vt=i.Ay.span`
1592  ${A.n5}
1593  ${_=>pt(_,(0,u.XO2)(_),(0,u.l6i)(_))}
1594  text-transform: uppercase;
1595  margin-bottom: 6px;
1596`,bt=i.Ay.div`
1597  background-color: ${_=>{var Ae=_,{backgroundColor:G}=Ae,Re=be(Ae,["backgroundColor"]);return G?(0,u.v1G)(G):(0,u.ywe)(Re)}};
1598  ${({image:_})=>_&&(0,i.AH)`
1599    background-image: url(${_});
1600    background-size: cover;
1601    background-position: 50% 50%;
1602  `};
1603  aspect-ratio: 21 / 9;
1604  border-radius: 10px 10px 0 0;
1605  max-width: 100%;
1606  display: flex;
1607  flex-direction: column;
1608  padding: 14px;
1609`,F=i.Ay.section`
1610  display: flex;
1611  flex-direction: column;
1612  border-radius: 10px;
1613  background-color: ${u.Hw0};
1614  position: relative;
1615  ${({preview:_})=>!_&&(0,i.AH)`height: 100%;`}
1616
1617  ${({isContentExpanded:_})=>!_&&(0,i.AH)`contain: content;`}
1618`,ie=i.Ay.div`
1619  bottom: 0;
1620  width: 100%;
1621  left: 0;
1622  border-radius: 5px;
1623  display: flex;
1624  align-items: flex-end;
1625  ${({isContentExpanded:_})=>!_&&(0,i.AH)`height: 210px; position: absolute; padding: 30px;`}
1626  ${({isContentExpanded:_})=>_&&(0,i.AH)`margin-bottom: 18px;`}
1627  background: linear-gradient(180deg, rgba(27, 30, 38, 0) 0%, ${u.Hw0} 80%);
1628`,Te=(0,i.Ay)(g.Ay)`
1629  height: 24px;
1630  background-color: ${u.HbO} !important;
1631  color: ${u.SP6} !important;
1632  pointer-events: all !important;
1633`,Se=(0,i.Ay)(g.Ay)`
1634  cursor: ${({expired:_})=>_?"default":"pointer"};
1635  min-height: 35px;
1636`,Et=(0,i.Ay)(V.Ay)`
1637  width: 16px;
1638  height: 16px;
1639  display: flex;
1640  align-items: center;
1641  justify-content: center;
1642  margin-left: 8px;
1643
1644  & svg {
1645    width: 6.67px;
1646    height: 3.33px;
1647
1648    & path {
1649      fill: ${u.mrt} !important;
1650    }
1651  }
1652`,nt=i.Ay.div`
1653  display: flex;
1654  align-items: center;
1655  margin-bottom: 16px;
1656  margin-top: auto;
1657`,vt=(0,i.Ay)(g.Ay)`
1658  width: 100%;
1659  height: 40px;
1660  margin-top: 20px;
1661  ${A.p_}
1662  :disabled {
1663    background-color: ${u.HbO};
1664    color: ${u.XO2};
1665  }
1666`,ot=(0,_e.A)(vt),ke=i.Ay.div`
1667  display: flex;
1668  justify-content: space-between;
1669`,ft=i.Ay.div`
1670  ${A.rb}
1671  color: ${u.SP6};
1672  padding: 5px 10px;
1673  border-radius: 50px;
1674  background-color: ${_=>(0,B.B3)((0,u.HbO)(_),.5)};
1675  width: fit-content;
1676  align-self: end;
1677  margin-left: auto;
1678`,qe=i.Ay.div`
1679  width: 100%;
1680  display: flex;
1681  flex-direction: column;
1682  gap: 8px;
1683  margin-bottom: 16px;
1684`;var Je=e(752162);const gt=({failed:_,available:Ae,inProgress:G,claimed:Re,expired:De,timeMinimum:st,completed:Ye,timeMaximum:Tt,enrolled:At})=>{const{t:j}=(0,l._h)(),{availableIn:Y,expiredIn:oe}=(0,Je.A)(st,Tt),h=(0,y.useSelector)(E.Q1),T=()=>h&&At?t.createElement(N,null):Re?t.createElement(q,null):Ye?t.createElement(X,null):Ae?De?t.createElement(K,null):_?t.createElement(w,null):G?t.createElement(N,null):null:t.createElement(W,null),Pe=(()=>h&&At?j("QUEST_ACTIVE_ON_CHANNEL_BADGE"):Re?j("CLAIMED"):Ye?j("ADMIN_LABEL_COMPLETED"):Ae?De?oe:_?j("FAILED"):G?j("IN_PROGRESS"):"":Y)();return Pe?t.createElement($,{className:"quest-status-badge"},T(),t.createElement(M,null,Pe)):null};var je=e(19719),Lt=e(644296);const Ut=({questId:_})=>{const Ae=(0,Lt.A)(_);return Ae?t.createElement(Qe,null,t.createElement(J,null),t.createElement("span",null,t.createElement(je.A,{from:0,target:Ae},G=>Math.round(G).toLocaleString()))):null};var It=e(757504);const St=({timeMinimum:_,timeMaximum:Ae})=>{const{expiresIn:G,availableIn:Re}=(0,Je.A)(_,Ae);return!G||Re?null:t.createElement(Pt,null,t.createElement(It.A.Dot,null),G)};var ht=e(838966),Gt=e(848452),Qt=e(331604),Xt=e(577501);const Yt=({questId:_,rewardType:Ae,available:G,claimed:Re,claimedMessage:De,completed:st,expired:Ye,claimRewardText:Tt,isClaiming:At})=>{const j=(0,y.useDispatch)(),{endUserT:Y}=(0,l.T9)(),oe=(0,t.useCallback)(()=>{At||j((0,Xt.TG)(_))},[At]),h=()=>{j((0,f.NE)({doc:{data:{initialPage:"REWARDS",kind:"profile"}}}))},T=()=>{switch(Ae){case"webhook":return t.createElement(Se,null,Y([l.Rq.questClaimed],["CLAIMED"]));case"prize":return t.createElement(Se,{onClick:h},Y([l.Rq.questViewPrize],["VIEW_YOUR_PRIZE"]));default:return t.createElement(Se,null,Y([l.Rq.questEntrySubmitted],["ENTRY_SUBMITTED"]))}};return t.createElement(qe,null,!Re&&st&&t.createElement(Se,{disabled:At||!G||Ye,expired:!G||Ye,onClick:oe},Tt),Re&&T(),De&&Re&&t.createElement(lt,null,De))};var jt=e(257306),ce=e(727981);const te=({item:_,enrolled:Ae,available:G})=>{const Re=(0,y.useDispatch)(),{t:De}=(0,l._h)(),st=(0,y.useSelector)(E.Q1),{availableIn:Ye}=(0,Je.A)(_.timeMinimum,_.timeMaximum),[Tt,At]=t.useState(!1),j=(0,y.useSelector)(E.mC),Y=async T=>
1684{try{At(!0),await(0,ce.Ly)(T,j),await(0,ce.s2)(T,j),At(!1)}catch{Re((0,P.to)({kind:a.V.errorModal,data:{promptStringKey:"ADMIN_ERROR_GENERIC"}})),At(!1)}},oe=()=>{Y(_._id)},h=(0,t.useMemo)(()=>Tt?De("LOADING"):G?De("QUEST_ACTIVATE_QUEST_ON_PAGE_CTA"):Ye,[G,Ye,Tt,De]);return t.createElement(nt,null,st&&!Ae&&t.createElement(ot,{action:oe,disabled:Tt||!G,messageKey:"ADMIN_PROMPT_ACTIVATE_QUESTS_BLOCK_QUEST_CARD_CONFIRMATION"},h))},ve=t.memo(te);var Ke=e(357439),et=e(816970),We=Object.defineProperty,ze=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,mt=(_,Ae,G)=>Ae in _?We(_,Ae,{enumerable:!0,configurable:!0,writable:!0,value:G}):_[Ae]=G,$t=(_,Ae)=>{for(var G in Ae||(Ae={}))tt.call(Ae,G)&&mt(_,G,Ae[G]);if(ze)for(var G of ze(Ae))dt.call(Ae,G)&&mt(_,G,Ae[G]);return _},_t=(_,Ae)=>{var G={};for(var Re in _)tt.call(_,Re)&&Ae.indexOf(Re)<0&&(G[Re]=_[Re]);if(_!=null&&ze)for(var Re of ze(_))Ae.indexOf(Re)<0&&dt.call(_,Re)&&(G[Re]=_[Re]);return G};const Nt=_=>{var Ae=_,{item:G,questEngage:Re,region:De,preview:st,isContentExpanded:Ye,onToggleExpandContent:Tt}=Ae,At=_t(Ae,["item","questEngage","region","preview","isContentExpanded","onToggleExpandContent"]),j,Y,oe;const h=(0,y.useDispatch)(),T=t.useRef(null),b=(0,jt.A)(T),{t:Pe}=(0,l._h)(),{endUserT:ge}=(0,l.T9)(),{inProgress:xe,claimed:x,available:v,expired:I,refreshKey:Z,userQuestActions:me,completed:Q,failed:pe,enrolled:Ue}=(0,ht.A)(G),{description:ue,rewardDescription:Ge,rewardText:ct,title:yt}=(0,Qt.A)(G),Ve=(0,y.useSelector)(Ke.$d),Fe=()=>{!G.rewardImage||!G._id||(Re({action:"inspect reward",image:G.rewardImage,quest:G._id}),h((0,P.to)({data:{src:G.rewardImage},kind:a.V.image})))},Ct=t.useMemo(()=>v?I?ge([l.Rq.questNotClaimed],["DID_NOT_CLAIM"]):G.rewardType==="raffle"?ge([l.Rq.questSubmitEntry],["ACTION_ENTER_RAFFLE"]):ge([l.Rq.questClaimPrize],["CLAIM_YOUR_PRIZE"]):ge([l.Rq.questNotAvailable],["NOT_AVAILABLE"]),[v,I,G.rewardType]);return t.createElement(Gt.A,{doc:G,extra:{class:De,family:G.title,order:G._id},kingdom:"quest",refreshKey:Z,visible:!st},t.createElement(F,$t({preview:st,isContentExpanded:Ye,ref:T,className:r.Fu,id:`${p.tn}-${G._id}`},At),t.createElement(bt,{className:r.El,image:((j=G.background)==null?void 0:j.type)==="image"?(Y=G.background)==null?void 0:Y.image:void 0,backgroundColor:(oe=G.background)==null?void 0:oe.color},t.createElement(ke,null,t.createElement(gt,{inProgress:xe,claimed:x,expired:I,timeMaximum:G.timeMaximum,timeMinimum:G.timeMinimum,available:v,completed:Q,failed:pe,enrolled:Ue}),t.createElement(ft,{className:"quest-type-badge"},G.type==="creator"?Pe("CREATOR_QUEST"):Pe("VIEWER_QUEST"))),t.createElement(ut,null,G.type==="creator"&&G.streamContent&&t.createElement(Vt,{className:"stream-content-title",cardBackgroundColor:G.background.color},G.streamContent.contentName),t.createElement(Mt,{className:"quest-title",cardBackgroundColor:G.background.color},t.createElement("h3",{className:r.o_},yt),G._id&&t.createElement(Ut,{questId:G._id})))),t.createElement(at,{isContentExpanded:Ye,expired:I,available:v,failed:pe,className:"quest-content",ref:T},t.createElement("div",null,t.createElement(O.wn,{gap:16},t.createElement(O.wn,{gap:8},ue&&t.createElement(Ne,{className:r.o_},ue),!x&&t.createElement(St,{timeMaximum:G.timeMaximum,timeMinimum:G.timeMinimum})),t.createElement(rt,null,t.createElement(it,{src:G.rewardImage,onClick:Fe,as:G.rewardImage?"img":"div",alt:"Quest Reward Image"}),t.createElement(O.wn,{gap:4},t.createElement(Xe,null,ct),Ge&&t.createElement(Ze,null,Ge)))),t.createElement(we,{className:r.Du},me.map(Kt=>t.createElement(Ce,{key:Kt.data.arrayId,action:Kt.data,progress:Kt.progress,failed:Kt.failed,claimed:x,completed:Q,questEngage:Re})),st&&!me.length&&Array.from({length:4}).map((Kt,Jt)=>t.createElement(Ie,{key:Jt})))),t.createElement("div",null,t.createElement(ve,{item:G,enrolled:Ue,available:v}),t.createElement(Yt,{available:v,questId:G._id,rewardType:G.rewardType,claimed:x,claimedMessage:G.claimedMessage,claimRewardText:Ct,completed:Q,expired:I,isClaiming:(0,et.$3)(Ve,G._id)?!!Ve[G._id]:!1}),(b||Ye)&&t.createElement(ie,{isContentExpanded:Ye,className:"expand-content"},t.createElement(Te,{onClick:Tt},Pe(Ye?"SHOW_LESS":"SHOW_MORE"),t.createElement(Et,{name:Ye?"arrowDropDownUp":"arrowDropDownDown"}
1684)))))))}},361648:(se,U,e)=>{e.d(U,{A:()=>D});var t=e(63696),O=e(638288),r=e(778925),p=e(136856),L=e(463702),S=e(669865),R=e(730048),o=e(224191),y=e(400781),c=e(530668),f=e(109751),s=e(141220),n=e(654581),d=e(341476),l=e(835896);const D=({videoId:E,playlistId:P,playlistTag:a})=>{var g;const u=(0,L.H)(P?void 0:E),{playlist:A}=(0,f.W9)(a?void 0:P),i=(0,f.gq)(a),[B,V]=(0,f.D6)(i??A,E),$=(0,o.useSelector)(y.ni),M=(0,o.useSelector)(n.fX),N=(0,o.useDispatch)(),{setEditableVideo:K}=(0,R.Jw)();M&&N((0,c.hQ)(!1)),(0,t.useEffect)(()=>{$&&K(u?.video)},[u?.video,$]),(0,t.useEffect)(()=>()=>{K(void 0)},[]);const W=(g=u?.video)!=null?g:B?.video;if((0,s.bE)(W?._id),!W)return null;const q=S.KE.video;return(0,d.UH)()?t.createElement(l.A,{testId:"video-page",titleKey:"ADMIN_LABEL_VIDEO",canMoveDown:!1,canMoveUp:!1,canRemove:!1},t.createElement(r.A,{video:W,scheduledVideoStartTime:null,spot:q,onVideoComplete:V})):t.createElement(O.A,null,t.createElement(l.A,{testId:"video-page",titleKey:"ADMIN_LABEL_VIDEO",canMoveDown:!1,canMoveUp:!1,canRemove:!1},t.createElement(r.A,{video:W,scheduledVideoStartTime:null,spot:q,onVideoComplete:V}),t.createElement(p.A,{spot:q,video:W})))}},433670:(se,U,e)=>{e.d(U,{A:()=>d});var t=e(63696),O=e(330993),r=e(283722),p=e(656440),L=e(86138),S=e(382361),R=e(942662),o=e(224348),y=e(999860),c=e(177916),f=e(41989),s=e(282566);const n=t.forwardRef(({androidKeyboardCallback:l,chatChannel:m,checkUserName:C,clearEmoji:D,emoji:E,emojiPickerOpen:P,isAdminOrModerator:a=!1,isChatModerator:g=!1,isCurrentUserAdmin:u=!1,isEditMode:A=!1,isLoggedIn:i,isMobileLayout:B,isPreview:V=!1,onChatExport:$,onClearChat:M,onEmojiPickerClick:N,onEngage:K,onInvalidMessage:W,onSendMessage:q,onSubmit:X,panelDoc:w,previewMessage:H,userAvatar:z},le)=>{const re=(0,t.useRef)(null),de=le||re,[he,Ee]=(0,t.useState)(""),Me=(0,t.useRef)(""),$e=(0,t.useRef)(0),{endUserT:He}=(0,s.o)();(0,t.useEffect)(()=>{var Le;E&&(Ee(Be=>Be+E),D(),(Le=de?.current)==null||Le.focus())},[E,D,de]);const ne=(0,t.useCallback)(Le=>{Le.preventDefault();const Be=he.trim().replace(/\s\s+/g," ");if(!Be)return;if(!(u||g)){if(Be===Me.current&&i){W(y.g.CHAT_DUPLICATE_MESSAGE);return}if(Be.length>240&&i){W(y.g.CHAT_LONG_MESSAGE);return}if($e.current+1e3>Date.now()){W(y.g.CHAT_TOO_FAST);return}}const ye=(0,c.Ti)();X?.({key:ye,message:Be}),q({channel:m,key:ye,text:Be}),i&&K(w,{action:"send message",message:Be}),Ee(""),Me.current=i?Be:"",$e.current=Date.now()},[he,m,g,u,i,K,W,q,X,w]),k=(0,t.useCallback)(Le=>{Ee(Le.target.value)},[]),fe=(0,t.useCallback)(Le=>{Le.key==="Enter"&&(Le.preventDefault(),ne(Le))},[ne]),Oe=(0,t.useCallback)(()=>{l(!1)},[l]),Ie=(0,t.useCallback)(()=>{C?.(),l(!0)},[C,l]),Ce=V?H:he,_e=(Ce||"").length,ae=200;return t.createElement("form",{className:"flex flex-col px-3 pb-3 pt-2",onSubmit:ne},t.createElement("div",{className:"overflow-hidden rounded-xl"},t.createElement("div",{className:"flex items-start gap-2 bg-[var(--surface-1)] px-3 py-2.5"},z&&t.createElement("div",{className:"h-7 w-7 shrink-0 rounded-full bg-cover bg-center",style:{backgroundImage:`url(${z})`}}),t.createElement(p.i,{ref:de,className:"flex-1 py-0 text-[var(--text-100)] placeholder:text-[var(--text-200)]","data-testid":"newMessageInput",maxLength:ae,maxRows:5,onBlur:Oe,onChange:k,onFocus:Ie,onKeyDown:fe,placeholder:He([f.Rq.chatTypeMessage],["TYPE_A_MESSAGE"],A),value:Ce}),t.createElement("div",{className:"flex items-end gap-1 self-end shrink-0"},t.createElement("button",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-[var(--accent-primary)] text-[var(--text-contrast-on-accent-primary)] transition-opacity hover:opacity-90","data-testid":"chatPostMessage",type:"submit"},t.createElement(R.Send,{className:"h-4 w-4"})),a&&t.createElement(o.rI,null,t.createElement(o.ty,{asChild:!0},t.createElement("button",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-[var(--text-200)] transition-opacity hover:text-[var(--text-100)]","data-testid":"chatAdminMenuButton",type:"button"},t.createElement(S.DQM,{className:"w-4 h-4"}))),t.createElement(o.SQ,{align:"end",side:"top"},$&&t.createElement(o._2,{onSelect:$},t.createElement(R.Export,null),t.createElement(L.A,{stringKey:"CHAT_PANEL_EXPORT_CHAT"})),M&&t.createElement(o._2,{onSelect:M},t.createElement(R.Trash,null),t.createElement(L.A,{stringKey:"CLEAR_CHAT"})))))),t.createElement("div",{className:"flex items-center justify-between bg-[var(--surface-2)] px-3 py-1.5"},B?t.createElement("span",null):t.createElement("button",{className:"flex items-center text-[var(--text-100)] curs
1684or-pointer","data-testid":"addNewEmoji",onClick:N,type:"button"},P?t.createElement(r.Ay,{name:"down-open-thin"}):t.createElement(O.zT,{emoji:"grinning",size:20})),t.createElement("span",{className:"text-xs text-[var(--text-200)]"},_e,"/",ae))))});n.displayName="ChatForm";const d=n},704910:(se,U,e)=>{e.d(U,{$m:()=>s,Bs:()=>f,E$:()=>y,OV:()=>n,bD:()=>c,mc:()=>o});var t=e(886550),O=e(154789),r=e(429195),p=e(545290),L=e(243412);const S="40px",R=(0,t.AH)`
1685  position: fixed;
1686  z-index: ${L.M.layer.dropdownElevated};
1687  top: 0;
1688  bottom: 0;
1689`,o=t.Ay.div`
1690  ${p._i}
1691  background-color: ${r.AOI};
1692  color: ${r.SP6};
1693  flex-direction: column;
1694  display: flex;
1695  height: 100%;
1696  width: 100%;
1697  overflow: hidden !important;
1698  ${d=>d.keyboardOpen?R:""}
1699`,y=t.Ay.div`
1700  flex: 1;
1701  min-height: 0;
1702  overflow-x: hidden;
1703  overflow-y: auto;
1704  scrollbar-width: none;
1705  &::-webkit-scrollbar { display: none; }
1706  padding: 12px;
1707`,c=t.Ay.div`
1708  justify-content: center;
1709  align-items: center;
1710  cursor: pointer;
1711  bottom: ${d=>d.isAdmin?r.uu1+2*r.R5_:r.uu1+r.R5_}px;
1712  display: flex;
1713  position: absolute;
1714  height: ${S};
1715  width: 100%;
1716  margin-bottom: 10px;
1717  padding: 0 10px;
1718  left: 0;
1719  & > span {
1720    background-color: ${r.O49};
1721    color: ${r.SP6};
1722    padding: 9px;
1723    border-radius: 20px;
1724    text-align: center;
1725    width: 100%;
1726  }
1727`,f=t.Ay.div`
1728  padding: 35px 29px;
1729  width: 100%;
1730  height: 100%;
1731  border-radius: 10px;
1732  background: ${r.dsC};
1733  display: flex;
1734  flex-direction: column;
1735  justify-content: center;
1736  align-items: center;
1737`,s=t.Ay.div`
1738font-weight: 500;
1739font-size: 18px;
1740text-align: center;
1741line-height: 19.12px;
1742`,n=(0,t.Ay)(O.$n)`
1743  min-width: 81px;
1744  min-height: 40px;
1745  margin: 20px;
1746`},268090:(se,U,e)=>{e.d(U,{A:()=>k});var t=e(63696),O=e(612097),r=e(224191),p=e(825711),L=e(688125),S=e(41989),R=e(463302),o=e(282566),y=e(272568),c=e(331358),f=e(551321),s=e(798928),n=e(380862),d=e(544080),l=e.n(d),m=e(330993),C=e(619545),D=e(816970),E=e(738809),P=e(429195),a=e(886550);const g=a.Ay.span`
1747  word-wrap: break-word;
1748  color: ${P.XO2};
1749`,u=new(l()),A=({allowLinks:fe,filteredWordsList:Oe=[],html:Ie,text:Ce=""})=>{const _e=(0,t.useMemo)(()=>{if(Ie)return(0,D.P7)((0,D.I3)(Ie,Oe,"*"));const Le=u.splitGraphemes(Ce);return Le.every(ye=>(0,m.aw)(ye,"apple",E)!==null||ye===" ")?Le.map((ye,be)=>ye===" "?null:t.createElement(m.OP,{key:be,data:E,emoji:(0,m.aw)(ye,"apple",E),size:15})):(0,D.I3)(Ce,Oe,"*")},[Oe,Ie,Ce]),ae=(0,t.useMemo)(()=>fe?t.createElement(n.Ay,{component:C.A},_e):_e,[_e,fe]);return t.createElement(g,null,ae)},i=a.Ay.div`
1750  display: flex;
1751  flex-direction: column;
1752  padding: 4px;
1753  width: 100%;
1754  box-sizing: border-box;
1755  margin-bottom: 2px;
1756  border-radius: 5px;
1757
1758  &:hover,
1759  &:focus-within {
1760    background: ${P.F_r};
1761  }
1762`,B=a.Ay.div`
1763  display: flex;
1764  align-items: flex-start;
1765  gap: 8px;
1766`,V=a.Ay.div`
1767  display: none;
1768  justify-content: flex-end;
1769  padding-top: 4px;
1770
1771  ${i}:hover &,
1772  ${i}:focus-within & {
1773    display: flex;
1774  }
1775`,$=a.Ay.span`
1776  margin-left: 5px;
1777  font-size: 8px;
1778  color: ${P.XO2};
1779`;var M=e(400781),N=e(283722),K=e(545290),W=e(403869);const q=a.Ay.b`
1780  ${K.JO};
1781  font-weight: 600;
1782  color: ${P.SP6};
1783  display: inline;
1784  line-height: 20px;
1785
1786  &[role='button'] {
1787    user-select: none;
1788    cursor: pointer;
1789  }
1790`,X=a.Ay.div`
1791  position: absolute;
1792  background: ${P.O49};
1793  width: calc(100% + 8px);
1794  left: -4px;
1795  top: 14px;
1796  padding: 10px;
1797  display: flex;
1798  flex-direction: column;
1799  align-items: flex-start;
1800  z-index: 1;
1801  border-radius: ${P.tdx};
1802  font-weight: 600;
1803  color: ${P.SP6};
1804
1805  &[aria-hidden='true'] {
1806    display: none;
1807  }
1808
1809  .avatarNameContainer {
1810    display: flex;
1811    align-items: center;
1812    justify-content: flex-start;
1813    gap: 8px;
1814    font-size: 16px;
1815    line-height: 22px;
1816  }
1817
1818  button {
1819    font: inherit;
1820    font-size: 13px;
1821    line-height: 18px;
1822    display: flex;
1823    align-items: center;
1824    justify-content: center;
1825    width: 100%;
1826    padding: 9px;
1827    cursor: pointer;
1828    margin-top: 10px;
1829    border-radius: ${P.tdx};
1830
1831    &.bgcolor-surface3 {
1832      background: ${P.AOI};
1833      color: ${P.mz9};
1834
1835      svg > path {
1836        fill: ${P.mz9};
1837      }
1838    }
1839
1840    &.bgcolor-accentPrimary {
1841      background: ${P.mrt};
1842      color: ${P.Jzj};
1843
1844      svg > path {
1845        fill: ${P.Jzj};
1846      }
1847    }
1848
1849    span {
1850      display: contents;
1851    }
1852
1853    svg {
1854      margin-right: 10px;
1855      height: 15px;
1856      width: auto;
1857    }
1858  }
1859`,w=(0,W.A)(a.Ay.button``);var H=e(80247),z=Object.defineProperty,le=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(fe,Oe,Ie)=>Oe in fe?z(fe,Oe,{enumerable:!0,configurable:!0,writable:!0,value:
1859Ie}):fe[Oe]=Ie,Ee=(fe,Oe)=>{for(var Ie in Oe||(Oe={}))re.call(Oe,Ie)&&he(fe,Ie,Oe[Ie]);if(le)for(var Ie of le(Oe))de.call(Oe,Ie)&&he(fe,Ie,Oe[Ie]);return fe};const Me=({userId:fe,chatId:Oe,isPrivileged:Ie,profilePictureUrl:Ce,showModerationOptions:_e,userName:ae})=>{const Le=(0,r.useDispatch)(),{t:Be}=(0,S._h)(),ye=(0,r.useSelector)(L.cS),be=(0,t.useMemo)(()=>ye.some(Ne=>Ne?.userId===fe),[ye,fe]),J=(0,r.useSelector)(M.eH),[Qe,lt]=(0,t.useState)(!1),we=!Ie&&_e,rt=(0,t.useRef)(`chatPopup-${$e()}`).current,Ze=(0,t.useRef)(null),Xe=(0,t.useCallback)(()=>{setTimeout(()=>lt(Ne=>!Ne),100)},[]);(0,t.useEffect)(()=>{if(!Qe)return;const Ne=at=>{if(!(!Ze.current||Ze.current===at.target)){for(const ut of Ze.current.childNodes)if(ut===at.target)return;lt(!1)}};return window.addEventListener("click",Ne),()=>window.removeEventListener("click",Ne)},[Qe]);const it=(0,t.useMemo)(()=>we?{"aria-controls":rt,role:"button",onClick:Xe}:{},[we,Xe]),Pt=(0,t.useCallback)(Ne=>{if(Ne.preventDefault(),!fe){H.warn("Chat message has no 'userId'. Can't silence it.");return}Le((0,L.Vq)({channel:Oe,isSilenced:!be,userId:fe,userType:"account"})),Le((0,L.af)({channelId:J}))},[fe,Oe,be,J]);return t.createElement(t.Fragment,null,t.createElement(q,Ee({},it),ae),t.createElement(X,{ref:Ze,"aria-hidden":!Qe,id:rt},t.createElement("div",{className:"avatarNameContainer"},t.createElement(c.e,{src:Ce,alt:ae,size:42}),ae),t.createElement(w,{action:Pt,className:"bgcolor-surface3",messageKey:"SILENCE_CHAT_USER_PROMPT"},t.createElement(N.Ay,{name:"userX"}),Be(be?"CHAT_UNSILENCE_USER":"CHAT_SILENCE_USER"))))},$e=()=>Math.random().toString(16).substring(2,8),He=(0,t.memo)(({allowLinks:fe,avatar:Oe,chatId:Ie,content:Ce,filteredWordsList:_e,isFromAdmin:ae,isFromChatModerator:Le,isFromSystem:Be,messageId:ye,onMessageDeleted:be,testId:J,userId:Qe,userName:lt})=>{const we=(0,r.useDispatch)(),{t:rt}=(0,S._h)(),{endUserT:Ze}=(0,o.o)(),Xe=(0,r.useSelector)(y.Q),it=(0,r.useSelector)(R.N6),Pt=(0,r.useSelector)(R.fk),Ne=it||Pt,at=Ne&&!Be,[ut,pt]=(0,t.useState)(!1),Mt=(0,t.useCallback)(()=>{if(!ye){O.captureException(new Error("Chat message has no messageId \u2014 cannot delete"),{extra:{chatId:Ie}});return}we((0,L.QN)({channel:Ie,messageKey:ye})),be?.(ye),pt(!1)},[Ie,ye,be,we]);return t.createElement(i,{"data-testid":J},t.createElement(B,null,t.createElement(c.e,{src:Oe,alt:lt,size:20}),t.createElement("div",null,t.createElement(Me,{chatId:Ie,isPrivileged:ae||Le,profilePictureUrl:Oe,showModerationOptions:at,userId:Qe,userName:lt})," ",t.createElement(A,{allowLinks:fe||Ne,text:ne(Ce)?rt(Ce):Ce,filteredWordsList:_e}),ae&&t.createElement($,null,Ze([S.Rq.chatMessageAdminLabel],["CHAT_MESSAGE_ITEM_ADMIN"],Xe)))),at&&t.createElement(V,null,t.createElement(f.$,{variant:"ghost",size:"icon",className:"h-6 w-6 rounded-[5px] bg-[var(--surface-3)]","aria-label":"Delete message",onClick:()=>pt(!0)},t.createElement(p.TBR,{className:"h-3 w-3"}))),t.createElement(s.T,{open:ut,titleKey:"REMOVE_CHAT_MESSAGE_PROMPT",onCancel:()=>pt(!1),onConfirm:Mt}))}),ne=fe=>Object.values(L.gh).includes(fe),k=He},704288:(se,U,e)=>{e.r(U),e.d(U,{default:()=>R});
1859var t=e(613553),O=e(63696),r=e(224191),p=e.n(r),L=e(346002);const R=()=>{const o=(0,r.useSelector)(L.TY),y=o?.filter(c=>c.kind!=="video")||[];return O.createElement(t.S,{items:y,chunkSize:3})}},914620:(se,U,e)=>{e.d(U,{Ay:()=>A,Qe:()=>M,SX:()=>V,Xu:()=>B,lG:()=>N,xG:()=>i,zN:()=>$});var t=e(63696),O=e(46630),r=e(990220),p=e(688738),L=e.n(p),S=e(976633),R=e.n(S),o=e(848452),y=e(886550),c=e(312854),f=e(429195),s=e(283722),n=e(545290),d=e(784567),l=e(955807),m=e(86138),C=e(41989),D=e(224191),E=e.n(D),P=e(365179),a=e(9507),g=e(619545);const A=({hidden:w,renderer:H})=>{var z;const le=(0,D.useDispatch)(),re=(0,D.useSelector)(P.V2d),{endUserT:de}=(0,C.T9)(),{personId:he}=H,[Ee,Me]=(0,t.useState)(null),[$e,He]=(0,t.useState)(!0),ne=re===r.oD?L():R(),k=Ee?.renderer,fe=(0,t.useCallback)((Ce,_e)=>{He(!_e),Me(Ce||{})},[]),Oe=(0,t.useCallback)((Ce,_e)=>{le((0,a.Qo)("engage",Ce,_e))},[]);if(!he)return null;const Ie=Ce=>t.createElement(K,null,t.createElement(l.A,{keyField:"labelKey",list:Ce},(_e,{labelKey:ae,value:Le})=>t.createElement(W,{key:_e},t.createElement(q,null,t.createElement(m.A,{stringKey:ae})),t.createElement(X,null,Le))));return t.createElement(O.A,{collection:"objects",id:he,onValue:fe},Ee?.renderer&&t.createElement(o.A,{doc:{renderer:Ee?.renderer},extra:{overrides:{class:"person"},person:he},kingdom:"panel",visible:!w}),$e?t.createElement(d.A,null):t.createElement(i,null,t.createElement(B,{"data-testid":"personPanelCtaImage",src:k?.personImageUrl||ne},k&&!!k?.personName&&t.createElement(V,{"data-testid":"personNameTitle"},t.createElement("span",null,de([C.Rq.personName,{personId:k.id}])||k?.personName))),k&&((z=k.personLinks)==null?void 0:z.length)>0&&t.createElement(N,null,t.createElement(l.A,{keyField:"linkUrl",list:k.personLinks},(Ce,{linkIconName:_e,linkUrl:ae})=>_e?t.createElement(M,{key:Ce,href:ae,onClick:()=>Oe({renderer:H},{action:"click link",linkUrl:ae,overrides:{class:"person"}})},t.createElement(s.Ay,{name:_e})):null)),k&&!!k?.personBio&&t.createElement($,{"data-testid":"personNameDescription"},de([C.Rq.personBio,{personId:k.id}])||k.personBio),k&&Array.isArray(k?.personStats)&&Ie(k.personStats)))},i=y.Ay.div`
1860  overflow-y: auto;
1861  display: flex;
1862  flex-direction: column;
1863  pointer-events: all;
1864`,B=y.Ay.div`
1865  position: relative;
1866  background-image: url(${({src:w})=>w});
1867  background-size: cover;
1868  background-position: center;
1869  background-repeat: no-repeat;
1870  max-width: 100%;
1871  padding-bottom: 100%;
1872`,V=y.Ay.div`
1873  ${n._i}
1874  position: absolute;
1875  bottom: 20px;
1876  padding: 10px 16px;
1877  text-transform: uppercase;
1878  background-color: ${f.AOI};
1879`,$=y.Ay.div`
1880  ${n._i}
1881  padding: 8px;
1882  border-bottom: 1px solid ${w=>(0,c.cY)((0,f.O49)(w),-100)};
1883  overflow: visible !important;
1884  ${n.Ez}
1885  ${n.TF}
1886`,M=(0,y.Ay)(g.A)`
1887  width: 40px;
1888  height: 40px;
1889  display: flex;
1890  justify-content: center;
1891  align-items: center;
1892  ${n.Qr}
1893  margin: 10px 10px 0 0;
1894`,N=y.Ay.div`
1895  padding: 0 0 10px 10px;
1896  display: flex;
1897  flex-shrink: 0;
1898  flex-flow: row wrap;
1899  align-items: center;
1900  border-bottom: 1px solid ${w=>(0,c.cY)((0,f.O49)(w),-100)};
1901`,K=y.Ay.div`
1902  display: flex;
1903  align-items: flex-start;
1904  flex-wrap: wrap;
1905  padding-left: 16px;
1906  padding-right: 30px;
1907`,W=y.Ay.div`
1908  width: 100px;
1909  margin: 14px 30px 14px 2px;
1910`,q=y.Ay.div`
1911  ${n._i}
1912  ${n.oT};
1913  text-transform: uppercase;
1914  max-width: 90px;
1915  margin-bottom: 5px;
1916`,X=y.Ay.div`
1917  font-size: 24px;
1918  line-height: 29px;
1919`},679706:(se,U,e)=>{e.d(U,{A:()=>p});var t=e(886550),O=e(429195);const p=t.Ay.hr`
1920  background-color: ${O.dmy};
1921  border: none;
1922  color: ${O.Lvg};
1923  height: 1px;
1924  margin: 10px 5px;
1925`},990220:(se,U,e)=>{e.d(U,{$U:()=>z,AW:()=>Be,Ab:()=>te,CR:()=>Ce,CU:()=>gn,Cn:()=>N,D$:()=>In,D4:()=>dt,Dy:()=>At,E2:()=>Ut,Ej:()=>q,En:()=>ge,FF:()=>qe,GE:()=>De,GF:()=>zt,H7:()=>Gt,H9:()=>Nt,HO:()=>V,Hc:()=>Oe,Hs:()=>G,JV:()=>Re,Jq:()=>I,Jw:()=>rn,KD:()=>It,Kw:()=>ze,L4:()=>Wt,Ld:()=>Bt,Lh:()=>Te,Lo:()=>pt,Ls:()=>J,M0:()=>le,Nw:()=>Yt,O4:()=>ft,O6:()=>Ee,Pi:()=>me,Q$:()=>qt,Qh:()=>yn,Qk:()=>xe,Qq:()=>it,Qy:()=>vn,S9:()=>Pe,SW:()=>Jt,Sl:()=>pn,T2:()=>un,TV:()=>h,U$:()=>Me,UG:()=>dn,Uo:()=>F,Ut:()=>
1925Se,Ux:()=>Qt,V4:()=>Et,V5:()=>ln,WQ:()=>M,Wn:()=>Ze,Wo:()=>Ot,Wp:()=>H,XQ:()=>pe,Xw:()=>be,YT:()=>x,_6:()=>jt,_A:()=>ke,_e:()=>st,aU:()=>Mt,ai:()=>fn,ao:()=>_t,ar:()=>K,bQ:()=>tn,bc:()=>Ae,c0:()=>he,cA:()=>Je,cQ:()=>cn,d_:()=>Ke,eQ:()=>en,eV:()=>ye,eW:()=>mn,eb:()=>Le,ej:()=>Xe,en:()=>oe,f4:()=>ot,fh:()=>ce,fv:()=>an,g1:()=>fe,gk:()=>at,gs:()=>X,h7:()=>sn,i9:()=>ue,ik:()=>A,iz:()=>Ye,jB:()=>ut,jd:()=>hn,jg:()=>j,jt:()=>St,kg:()=>je,lF:()=>v,lr:()=>_e,m6:()=>ae,nL:()=>Dt,nM:()=>Ne,o2:()=>kt,oD:()=>ct,od:()=>Ue,pi:()=>We,pj:()=>b,pr:()=>Q,qu:()=>Ft,qv:()=>w,r5:()=>Tt,sA:()=>_,sU:()=>g,sw:()=>Z,tE:()=>et,tf:()=>Ge,tt:()=>Y,tz:()=>En,vM:()=>i,vk:()=>mt,wb:()=>Pn,wn:()=>B,ww:()=>ht,x1:()=>tt,xV:()=>T,yL:()=>Xt,yj:()=>W,yq:()=>$,z6:()=>u});var t=e(732091),O=e.n(t),r=e(962832),p=e.n(r),L=e(955424),S=e.n(L),R=e(964746),o=e(448651),y=e(108985),c=e.n(y),f=e(701214),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,m=(ee,Rt,wt)=>Rt in ee?s(ee,Rt,{enumerable:!0,configurable:!0,writable:!0,value:wt}):ee[Rt]=wt,C=(ee,Rt)=>{for(var wt in Rt||(Rt={}))d.call(Rt,wt)&&m(ee,wt,Rt[wt]);if(n)for(var wt of n(Rt))l.call(Rt,wt)&&m(ee,wt,Rt[wt]);return ee},D;const E=(window.INIT,window.INIT),P=()=>C({},E);O()(E,"INIT object not found. Developer: Did you go to the Webpack dev server port by accident? :)");const a=c().parse(window.location.search.slice(1).toLowerCase()),g=window.location.origin==="https://www.maestro.io"?"https://maestro.tv":window.location.origin,u="https://ubistatic2-a.akamaihd.net/uplay-connect/v3/prod/default/sdk/connectSdkPublic.js",A=a.admin_queue_override||S()(E.ADMIN_QUEUES),i=a.chat_queue_override||S()(E.CHAT_QUEUES),{CLIENT_JWT_PUBLIC_KEY:B}=E,V=a.overlay_queue_override||S()(E.OVERLAY_QUEUES),$=a.dobi_ingest_override?a.dobi_ingest_override==="true":!!E.DOBI_INGEST_ENABLED,{FIREBASE_API_KEYS_MAP_JSON:M,SITE_ID:N}=E,K=a.firebase_primary_override||E.FIREBASE_PRIMARY_SHARD,W=a.segment_write_key_override||E.SEGMENT_WRITE_KEY,q=E.SITE.slug,X=E.MODE!=="production",{OBJECT:w}=E,H=E.COMMUNITY_SHOW_SERVICE==="true",{NAVIGATION:z}=E,{ENVIRONMENT:le}=E,de=new URLSearchParams(window.location.search).get("embed")||"",he=!!de,Ee=de.includes("overlays"),{TWITCH_CLIENT_ID:Me}=E,$e="fine",He="player-logging",ne="login",k="connectshop",fe=Object.keys(a).some(ee=>/^log[-_]?in(sight|site)s$/i.test(ee)),Oe=a[$e]==="1",Ie=a[He]==="1",Ce=a[ne]==="email",_e=a[k]||null,ae=a.shard||null,Le=a.legacy_quest_claim_override||E.LEGACY_QUEST_CLAIM_BASE_URL,Be=a.locale||p()(E.SITE,"settings.baseLanguage")||p()(E.SITE,"settings.localization.baseLanguage")||"en",ye="nopop"in a,be=a.legacy_domain_override||E.LEGACY_DOMAIN||O()(!1,"Missing LEGACY_DOMAIN"),J=a.service_base_override||E.SERVICE_BASE_URL||O()(!1,"Missing SERVICE_BASE_URL"),Qe=localStorage.getItem("analytics_env"),we=Qe?{prod:{serviceBase:"https://api.maestro.io",insightsBase:"https://insights.maestro.io",insightsService:"https://api.maestro.io/insights/v1"}}[Qe]:null,rt=localStorage.getItem("insights_base_override"),Ze=localStorage.getItem("analytics_token_override"),Xe=localStorage.getItem("analytics_site_id_override"),it=we?.serviceBase||null,{UPLOAD_SERVICE_BASE_URL:Pt}=E,Ne="818017c4-2b7c-41f9-85be-00b1d9998a1e",at="CC1AD845",ut="28e59d6c-cff6-4d20-8d16-504e3956b5ab",pt="PROD",Mt="https://signon.bowl.com/connect/endsession",Vt="AWS Starfruit and MnE",bt="phenix",F=a.quest_service_override||null,ie=a.concurrent!=="0",Te=a.library_override||null,Se=a.social_override||`${J}/social/v1`,Et=a.new_admin==="1",nt=a.old_admin==="1",{GOOGLE_CLOUD_STORAGE_VIDEO_UPLOAD_URL:vt}=E,{GOOGLE_MAPS_API_KEY:ot}=E,{RECAPTCHA_SITE_KEY:ke}=E,ft="https://www.bowltv.com",qe=a.auth_service_override||`${J}/auth/v2`,Je=a.poll_service_override||`${J}/poll/v3`,Dt=a.active_user_override||`${J}/active/v2`,gt=a.collect_service_override||`${J}/collect-service/v1`,je=we?.insightsService||a.insights_service_override||`${J}/insights/v1`,Lt=a.poll_answer_service_override||`${J}/poll-answer/v3`,Ot=a.poll_response_service_override||`${J}/poll-response/v3`,Ut=a.admin_service_override||`${J}/admin/v1`,It=a.broadcast_service_override||`${J}/broadcast/v4`,Ft=a.admin_v3_override||`${J}/admin/v3`,St=a.ads_service_override||`${J}/ads/v1`,ht=a.billing_service_override||`${J}/billing/v1`,Gt=a.site_setting_service_override||`${J}/site-setting/v1`,Qt=a.tax_service_override||`${J}/tax/v1`,Xt=a.invoice_service_override||`${J}/invoice/v1`,zt=a.wallet_service_override||`${J}/wallet/v1`,Yt=a.shopify_service_override||`${J}/shopify/v1`,jt=a.gate_service_override||`${J}/gate/v1`,ce=a.accounts_override||`${J}/account/v3`,te=a.accesscode_service_override||`${J}/accesscode/v1`,ve=a.claim_status_override||`${J}/claimstatus/v3`,Ke=a.panel_service_override||`${J}/panel/v3`,et=a.subscription_v2_override||`${J}/subscription/v2`,We=F||`${J}/quest/v2`,ze=a.tipping_override||`${J}/tip/v1`,tt=a.api_key_override||`${J}/api-key/v1`,dt=a.webhooks_override||`${J}/webhooks/v1`,mt=a.post_auth_redirect||null,$t=a.owl_embed==="1",_t=a.site_override||`${J}/site/v1`,Wt=a.media_override||`${J}/media/v1`,Nt=a.media_assets_override||E.MEDIA_ASSETS_BASE_URL,_=a.profile_override||`${J}/userprofile/v1`,Ae=a.playlist_override||`${J}/playlist/v1`,G=a.chat_service_override||`${J}/chat/v1`,Re=a.validate_override||`${J}/validate/v1`,De=a.caniplay_override||`${J}/caniplay/v1`,st=a.page_service_override||`${J}/page/v2`,Ye=a.page_service_v3_override||`${J}/page/v3`,Tt=a.stream_service_override||`${J}/stream/v1`,At=a.epicgames_service_override||`${J}/epicgames/v1`,j=a.stream_provider_service_override||`${J}/streamprovider/v1`,Y=a.contract_service_override||`${J}/contract/v1`,oe=a.balance_transaction_service_override||`${J}/balancetransaction/v1`,h=a.bundle_service_override||`${J}/bundle/v1`,T=a.themes_service_override||`${J}/themes/v1`,b=a.navigation_service_override||`${J}/navigation/v1`,Pe=a.video_service_override||`${J}/video/v3`,ge=a.notification_service_override||`${J}/notification/v1`,xe=a.invite_service_override||`${J}
1925/invite/v1`,x=a.plan_service_override||`${J}/plan/v1`,v=a.payout_service_override||`${J}/payout/v1`,I=a.customer_service_override||`${J}/customer/v1`,Z=a.localization_service_override||`${J}/localization/v2`,me=a.event_service_override||`${J}/event/v1`,Q=a.personalization_service_override||`${J}/personalization/v1`,pe=a.data_provider_service_override||`${J}/dataprovider/v1`,Ue=a.iframe_sdk,ue=a.platform,Ge="5c2d47ac0fc1f00069361a89",ct="5d65aef0a64db800a50bd6f0",yt=p()(E.SITE,"settings.domain.url"),Ve=[...E.MAESTRO_HOSTNAMES||[],"maestro-web-service"],Fe=/^(?!www.maestro.(io|tv))/.test(p()(E.SITE,"settings.domain.url"))&&!/(maestro.(io|tv)$)/.test(window.location.host)||/^(?!www.videostreamer.net)/.test(p()(E.SITE,"settings.domain.url"))&&!/(videostreamer.net$)/.test(window.location.host),Ct=window.location.host.includes(":")?window.location.host.split(":")[0]:window.location.host,Kt=((D=E.MAESTRO_HOSTNAMES)==null?void 0:D.indexOf(Ct))!==-1,Jt=Fe&&!Kt,kt=Jt?"":`/${q}`,Ht=Jt?"https://api.maestro.io":J,Zt=a.e2e_service_override||a.end_to_end_service_override||`${Ht}/end-to-end/v3`,qt=`${window.location.origin}`,en=c().parse(window.location.search.slice(1)).stripe_publishable_key_override||E.STRIPE_PUBLISHABLE_KEY,tn=c().parse(window.location.search.slice(1)).stripe_ss_publishable_key_override||E.STRIPE_SS_PUBLISHABLE_KEY,nn=a.stripe_authorization||"https://connect.stripe.com/oauth/authorize",xt=c().parse(window.location.search.slice(1)).stripe_client_id_override||"ca_AfVbuK9ZQZyHh0pHJcayAuLCtQ6hRNOy",Bt=a.epg_override||`${J}/epg/v2`,rn=a.community_override||`${J}/community/v1`,an=a.signup_service_override||`${J}/signup/v1`,On=typeof window.orientation<"u"||navigator.userAgent.indexOf("IEMobile")!==-1,dn=a.invite,cn=a.registerinvite,mn=["5f44215cd2e733002d91e5e9"],{STATIC_BASE_URL:un}=E,{USE_FIREBASE_EMULATOR:pn}=E,{AMAZON_CLIENT_ID:En}=E,vn=rt||we?.insightsBase||E.INSIGHTS_BASE_URL,fn=a.token_service_override||`${J}/token/v1`,gn=a.namespace_override||E.NAMESPACE,sn="_bm",hn=a[sn]||null,An="6221440f76b5040028b49bbd",yn=a.mimic_marketing==="1"||E.SITE_ID===An,In=a?.max_retries_override&&!Number.isNaN(a?.max_retries_override)?Number(a?.max_retries_override):22,ln=a.overlay_override||`${J}/overlay/v1`,Pn=a.dobi_ingest_service_override||`${J}/dobi/v1`}}]);

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.