PageSourceSearch

https://streamyard.com/next-static/_next/static/chunks/pages/watch/[webinarId]/preview-02eb560f36f1bbae.js

js streamyard.com collected 2026-10-01 08:30:53 UTC 5,022 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f7726d7f-f2cc-4281-9d2e-a22b5c80bbfc",e._sentryDebugIdIdentifier="sentry-dbid-f7726d7f-f2cc-4281-9d2e-a22b5c80bbfc")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1752],{67072:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/watch/[webinarId]/preview",function(){return t(89837)}])},89837:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>G,default:()=>W});var i=t(94458),r=t(55335),a=t(49124),l=t(68658),o=t(3333),d=t(32571),s=t(10461),u=t(22987),c=t(16975),f=t(34652),w=t(16750),y=t(44005),p=t(61141),h=t(21805),b=t(88271),x=t(66147);let m=async function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{origin:i,...r}=n,{id:a}=e;return(0,x.A)({...r,method:"POST",uri:"".concat(i,"/webinars/").concat(a,"/email-preview"),body:{emailTemplate:"ONAIR_REGISTRATION_WELCOME",timeZone:"UTC",webinarCustomizationData:t}})};var v=t(1651);let g=["id","title","description","privacy","scheduledAt","coverImageUrl","customization","isChatEnabled","isViewerCountEnabled","registrationFieldDefinitions"],E={status:h.in.CREATED,isRegistrationEnabled:!0},A={REGISTRATION:"registration",WATCH:"watch",EMAIL:"email"},T={page:A.REGISTRATION,embed:!1},_={LOAD:"load",UPDATE:"update",SET_STATE:"set_state"},I=()=>({window:window.parent,domain:c.VTF});var j=t(89495);let C=(0,j.Ay)("div").withConfig({componentId:"sc-46ff12f-0"})(["background-color:",";width:100%;height:100vh;display:flex;justify-content:center;align-items:flex-start;overflow:auto;"],e=>{let{bgColor:n}=e;return n}),R=j.Ay.div.withConfig({componentId:"sc-46ff12f-1"})(["background-color:#ffffff;width:100%;max-width:600px;padding:48px 48px 48px 48px;font-family:arial,helvetica,sans-serif;font-size:14px;margin-top:40px;margin-bottom:40px;pointer-events:none;"]),S=j.Ay.div.withConfig({componentId:"sc-46ff12f-2"})(["width:472px;"]),O=e=>{let{content:n,backgroundColor:t}=e;return n&&t?(0,i.jsx)(C,{bgColor:t,children:(0,i.jsx)(R,{children:(0,i.jsx)(S,{dangerouslySetInnerHTML:{__html:n}})})}):null};var D=t(2907),N=t(23279),P=t(18267),k=t(7322),L=t(79250);let U=new d.QueryClient,Q={[A.REGISTRATION]:e=>{let{embed:n}=e;return n?(0,i.jsx)(D.A,{}):(0,i.jsx)(N.A,{})},[A.WATCH]:e=>{let{embed:n}=e;return n?(0,i.jsx)(P.A,{}):(0,i.jsx)(k.A,{})},[A.EMAIL]:e=>{let{emailPreview:n}=e;return(0,i.jsx)(O,{...n})}},F=e=>{let{webinarId:n}=e,r=(e=>{let[n,i]=(0,l.useState)(),{requestOptions:r}=(0,y.wV)(),a=(0,d.useQueryClient)(),o=(0,l.useMemo)(()=>["webinar",e],[e]),s=(0,l.useRef)({}),{data:u,refetch:c}=(0,d.useQuery)({queryKey:o,queryFn:async()=>(0,b.dh)({id:e},r),refetchOnWindowFocus:!1}),{data:f,refetch:w}=(0,d.useQuery)({queryKey:["email-preview-webinar",e],queryFn:async()=>m({id:e},r,s.current)}),h=(()=>{let[e,n]=(0,l.useState)(null);return(0,v.JO)(()=>{(async()=>{n(await t.e(9642).then(t.t.bind(t,9642,23)))})()}),e})();return(0,l.useEffect)(()=>{let e=null==h?void 0:h.on(_.UPDATE,I(),async e=>{var n,t,i,r,l,d,u;if(null==e||null==(n=e.data)?void 0:n.isClientUpdate){s.current.logoUrl=null==e||null==(r=e.data)||null==(i=r.data)||null==(t=i.customization)?void 0:t.logoUrl,s.current.primaryColor=null==e||null==(u=e.data)||null==(d=u.data)||null==(l=d.customization)?void 0:l.primaryColor,w(),a.setQueryData(o,n=>{var t;return{...n,...null==(t=e.data)?void 0:t.data}});return}s.current={},c(),w()}),n=null==h?void 0:h.on(_.SET_STATE,I(),async e=>{i(e.data)});return()=>{null==e||e.cancel(),null==n||n.cancel()}},[h,a,o,c,w]),(0,l.useEffect)(()=>{null==h||h.send(window.parent,_.LOAD)},[h]),{...T,...n,emailPreview:f,isLoaded:!!(u&&n&&f),webinar:u&&{...(0,p.Up)(u,g),...E}}})(n);return(0,s.useTransition)(r,{keys:e=>[e.embed].join(""),from:{opacity:0}
1,enter:{opacity:1,delay:100},leave:{opacity:0},config:{tension:220,friction:120,duration:200},exitBeforeEnter:!0})((e,n)=>{if(!n.isLoaded||!n.webinar)return(0,i.jsx)("div",{children:(0,i.jsx)(u.A,{id:"on-air-preview-spinner"})});let t=Q[n.page];return(0,i.jsx)(w.Ay,{isPreview:!0,isEmbedded:n.embed,webinar:n.webinar,children:(0,i.jsx)(L.P,{style:e,children:(0,i.jsx)(t,{...n})})})})},M=e=>{let{webinarId:n,sessionCountryCode:t}=e;return c.B_&&!window.frameElement?(0,i.jsx)(f.rd,{to:"/watch/".concat(n).concat(window.location.search)}):(0,i.jsx)(d.QueryClientProvider,{client:U,children:(0,i.jsx)(y.Ay,{sessionCountryCode:t,children:(0,i.jsx)(F,{webinarId:n})})})},z=e=>{let{i18n:n,router:t,...r}=e;return(0,i.jsx)(o.A,{i18n:n,...r,children:(0,i.jsx)(M,{...r})})};var G=!0;let W=e=>{let{webinarId:n,sessionCountryCode:t}=e;return(0,i.jsx)(z,{i18n:a.Ru,router:(0,r.useRouter)(),webinarId:n,sessionCountryCode:t})}}},e=>{e.O(0,[1631,3299,7420,6823,6120,2719,881,6143,5285,636,6593,8792],()=>e(e.s=67072)),_N_E=e.O()}]);
2//# sourceMappingURL=preview-02eb560f36f1bbae.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.