PageSourceSearch

https://websummit.com/_cws/_next/static/chunks/493.b92ab161463a362e.js

js websummit.com collected 2026-09-24 15:17:40 UTC 14,992 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[493,6050],{94658:function(e,r,n){n.d(r,{A2:function(){return j},Al:function(){return w},Bi:function(){return k},CU:function(){return u},I1:function(){return I},JE:function(){return b},Nh:function(){return y},Ny:function(){return g},mr:function(){return C},oZ:function(){return v},tU:function(){return f},v1:function(){return _},yh:function(){return x}});var t=n(42848),o=n(3871),i=n(71649),a=n(15761),l=n(88498),d=n(11817),s=n(71039).Buffer;let c=["January","February","March","April","May","June","July","August","September","October","November","December"],u=/^\S+@\S+\.\S+$/,m=e=>{let r=e.findIndex(e=>"page"===e),n=-1!==r?Number(e[r+1]):1;if(-1!==r&&n<1)throw new t.rr;return -1!==r&&e.splice(r,2),n},p=e=>{let r=e.findIndex(e=>"country"===e),n=-1!==r?e[r+1]:"";if(-1!==r&&!(""!==n))throw new t.CQ;return -1!==r&&e.splice(r,2),n},h=(e,r)=>{let n=e.findIndex(e=>e===r),t=-1!==n?e[n+1]:"";return -1!==n&&e.splice(n,2),t||""},f=(e,r,n)=>new Date(e).toLocaleString(n||"en-US",{timeZone:r?"".concat(r):"UTC",hour:"2-digit",minute:"2-digit"}),g=(e,r,n)=>{let t=new Date(e).toLocaleDateString("en-US",{timeZone:r?"".concat(r):"UTC"}).split("/"),o=c[Number(t[0])-1],i=t[1],a=t[2];return n?"".concat(o," ").concat(i,", ").concat(a):"".concat(o," ").concat(i)},b=e=>{let r=new Date,n={date:r,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,timezone_type:3},t=(0,d.Z)(n.date,n.timezone),i=(0,d.Z)(r,e);return(0,o.Z)(i,t)},w=()=>{let e=(0,window.location.pathname).split("/").filter(e=>""!==e);return m(e),p(e),h(e,"search"),h(e,"filters"),h(e,"date"),e.join("/")},y=()=>{let e=(0,window.location.pathname).split("/").filter(e=>""!==e),r=e.findIndex(e=>"page"===e);return(null==e?void 0:e.length)&&-1!==r?Number(e[r+1]):0},v=()=>{let e=null,r=(0,window.location.pathname).split("/").filter(e=>""!==e),n=r.findIndex(e=>"filters"===e);return -1!==n&&(e=JSON.parse(s.from(r[n+1],"base64").toString())),e},x=()=>{let e="";if((e=window.location.pathname).length){let r=e.split("/").filter(e=>""!==e),n=r.findIndex(e=>"date"===e);if(-1!==n)return r[n+1]}return""},I=e=>"\n    ".concat((null==e?void 0:e.tiny)?"".concat(e.tiny," 48w, "):"","\n    ").concat((null==e?void 0:e.thumb)?"".concat(e.thumb," 100w, "):"","\n    ").concat((null==e?void 0:e.medium)?"".concat(e.medium," 300w, "):"","\n    ").concat((null==e?void 0:e.large)?"".concat(e.large," 600w, "):"","\n  "),_=(e,r,n)=>e.reduce((e,t)=>{let o=t[r][n];return e[o]||(e[o]=[]),e[o].push(t),e},{}),C=(e,r)=>f(e,r).replace(/:/g,".").replace(/\s+/g,"").replace(/^0+/,""),j=e=>{try{let r=s.from(e,"base64").toString();return JSON.parse(r)}catch(e){return console.error("Invalid JSON provided in base64 string:",e),null}},k=(e,r)=>{if(!e)return"";try{let n=new Date(e),t=(0,i.Z)(n,"d"),o=r?(0,i.Z)(n,"MMMM",{locale:"pt-br"===r?a.Z:l.Z}):(0,i.Z)(n,"MMMM");if((null==r?void 0:r.toLowerCase())==="pt-br")return"".concat(t," de ").concat(o);return e}catch(r){return e}}},80493:function(e,r,n){n.d(r,{B:function(){return k}});var t=n(13210),o=n(54737),i=n(53760),a=n(11833),l=n(94658),d=n(51562),s=n(71919),c=n(47386);let u="modalOuterWrapper",m=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalWrapperOuter",componentId:"sc-18f2614-0"})(["position:fixed;padding-top:5rem;background:transparent;width:100vw;height:calc(100vh - 5rem);z-index:1;left:0;top:0;@media only screen and ","{background:rgba(255,255,255,0.85);top:3rem;}"],i.Z.md),p=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalExtendArea",componentId:"sc-18f2614-1"})(["@media only screen and (min-width:53.125rem){width:52rem;margin:auto;}"]),h=a.zo.form.withConfig({displayName:"FormAndModal__CampaignsFormModalWrapperInner",componentId:"sc-18f2614-2"})(["background:",";padding:2.5rem 1.5rem;border-radius:0;position:relative;width:auto;z-index:2;height:81vh;overflow:hidden;@media only screen and ","{border-radius:1.25rem;margin:0 3.125rem;max-height:calc(90dvh - 7.5rem);width:auto;height:auto;overflow:initial;}@media only screen and (min-width:53.125rem){width:42.063rem;margin:auto;}@keyframes fadeIn{0%{opacity:0;}100%{opacity:1;}}animation:fadeIn 0.5s;::-webkit-scrollbar{width:0.313rem;}::-webkit-scrollbar-track{box-shadow:inset 0 0 0.313rem grey;border-radius:0.625rem;}::-webkit-scrollbar-thumb{background:#c7c7c7;border-radius:0.625rem;}"],e=>{let{theme:r}=e;return r.colors.base.primary},i.Z.md),f=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalClose",componentId:"sc-18f2614-3"})(["background:",";text-decoration:none;border:1px solid white;width:3.75rem;height:3.75rem;display:none;border-radius:0;cursor:pointer;margin-right:-3.75rem;margin-top:-3.75rem;float:right;i{color:white;font-size:2.375rem;margin:auto;font-weight:800;}@media only screen and ","{border-radius:2.5rem;display:flex;}"],e=>{let{theme:r}=e;return r.colors.base.primary},i.Z.md),g=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalScrollHandler",componentId:"sc-18f2614-4"})(["max-height:calc(100vh - 23.5rem);padding:0 0 0 0.5rem;overflow-y:auto;overflow-x:hidden;@media only screen and ","{max-height:calc(75dvh - 7.5rem);padding:0 0.5rem;}display:",";"],i.Z.md,e=>{let{formSuccess:r,formError:n}=e;return r||n?"none":"block"}),b=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalHead",componentId:"sc-18f2614-5"})(["color:white;font-size:1rem;line-height:1.5rem;letter-spacing:0.0094rem;margin-bottom:1.5rem;@media only screen and ","{font-size:1.625rem;line-height:2rem;}"],i.Z.sm),w=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalInputs",componentId:"sc-18f2614-6"})(["width:98.5%;@media only screen and ","{width:100%;}.requiredIcon,.errorMsg,label{color:white;}#booking_reference{text-transform:uppercase;}"],i.Z.md),y=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalText",componentId:"sc-18f2614-7"})(["color:white;font-size:0.875rem;"]),v=a.zo.div.withConfig({displayName:"FormAndModal__CampaignsFormModalCtas",componentId:"sc-18f2614-8"})(["padding:0 0.5rem;margin-top:1rem;display:grid;gap:1rem;button:first-child{order:2;}button:nth-child(2){order:1;}@media only screen and (min-height:725px){margin-top:2rem;}@media only screen and ","{display:flex;gap:1rem;button:first-child{order:1;}button:nth-child(2){order:2;}}"],i.Z.md),x={jobs:"By submitting your application, you recognise it will be shared with the Company that published the job. Your application will be exclusively handled by the C
1ompany and your Personal Data will be processed in accordance with the Company’s Privacy Policy, available on their homepage.",perks:"By registering, you agree that your name, company and email will be shared with the Company in order for them to contact you regarding their Attendee Perk. Your Personal Data will be processed in accordance with the Company’s Privacy Policy, available on their homepage."},I="Field is required",_="Please enter a valid booking reference",C="Please enter a valid email",j=/^[a-zA-Z0-9]{1,4}-[a-zA-Z0-9]{1,3}$/;r.Z=e=>{let{dataTypeMode:r,eventIds:n,onClose:i,conferenceSlug:a,campaignSlug:k}=e,S=x[r],Z="Apply To ".concat(r.charAt(0).toUpperCase()+r.slice(1)),[M,N]=(0,o.useState)([]),[F,P]=(0,o.useState)([]),[z,A]=(0,o.useState)([]),[E,B]=(0,o.useState)([]),[O,U]=(0,o.useState)(!1),[q,T]=(0,o.useState)(!1),[W,D]=(0,o.useState)(""),[J,L]=(0,o.useState)(""),[H,Y]=(0,o.useState)(""),[G,R]=(0,o.useState)(""),[$,Q]=(0,o.useState)(""),[K,V]=(0,o.useState)(!0),X=(e,r)=>{sessionStorage.setItem(e,JSON.stringify(r))},ee=(e,r)=>{fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then(e=>e.json().then(r=>{201===e.status||200==e.status?U(!0):(401===e.status?D("Booking reference not found."):D(r.error?"".concat(r.error,"."):"We found some errors in the form."),T(!0))}).catch(e=>{console.log(e),D("We found some errors in the form."),T(!0)}))},er=()=>{M.length||F.length||E.length||z.length||ee(encodeURI("/api/campaigns/".concat(a,"_").concat(k,"/")),{first_name:J,last_name:H,event_ids:n,email:$,booking_reference:G})},en=e=>{L(e),X("first_name",e),""===e?M.includes(I)||N(e=>[...e,I]):N(M.filter(e=>e!==I))},et=e=>{Y(e),X("last_name",e),""===e?F.includes(I)||P(e=>[...e,I]):P(F.filter(e=>e!==I))},eo=e=>{if(R(e.toUpperCase()),X("booking_reference",e.toUpperCase()),e){if(j.test(e.toUpperCase()))z.length>0&&A([]);else if(!z.includes(_)){let e=[...z].filter(e=>e!==I);e.push(_),A(e)}}else if(!z.includes(I)){let e=[...z];e.push(I),A(e)}},ei=e=>{if(Q(e),X("email",e),e){if(l.CU.test(e))E.length>0&&B([]);else if(!E.includes(C)){let e=[...E].filter(e=>e!==I);e.push(C),B(e)}}else if(!E.includes(I)){let e=[...E];e.push(I),B(e)}},ea=()=>{var e,r,n,t;let o=(null===(e=sessionStorage.getItem("first_name"))||void 0===e?void 0:e.replace(/['"]+/g,""))||"",i=(null===(r=sessionStorage.getItem("last_name"))||void 0===r?void 0:r.replace(/['"]+/g,""))||"",a=(null===(n=sessionStorage.getItem("booking_reference"))||void 0===n?void 0:n.replace(/['"]+/g,""))||"",l=(null===(t=sessionStorage.getItem("email"))||void 0===t?void 0:t.replace(/['"]+/g,""))||"";o&&en(o),i&&et(i),a&&eo(a),l&&ei(l)};return(0,o.useEffect)(()=>{ea();let e=document.getElementById("field_first_name");null==e||e.focus()},[]),(0,o.useEffect)(()=>{M.length||F.length||E.length||z.length||""===J||""===H||""===$||""===G?V(!0):V(!1)},[J,M,H,F,G,z,$,E]),(0,t.jsx)(m,{id:u,children:(0,t.jsx)(p,{children:(0,t.jsxs)(h,{children:[(0,t.jsx)(f,{onClick:()=>i(),children:(0,t.jsx)(s.Z,{iconName:"iconoir-xmark"})}),(0,t.jsxs)(g,{formSuccess:O,formError:q,children:[(0,t.jsx)(b,{children:Z}),(0,t.jsxs)(w,{children:[(0,t.jsx)(c.default,{onChange:e=>{let{target:r}=e;return en(r.value)},label:"First name",required:!0,type:"text",fieldId:"first_name",id:"field_first_name",errors:M,value:J},"first_name"),(0,t.jsx)(c.default,{onChange:e=>{let{target:r}=e;return et(r.value)},label:"Last name",required:!0,type:"text",fieldId:"last_name",id:"field_last_name",errors:F,value:H},"last_name"),(0,t.jsx)(c.default,{onChange:e=>{let{target:r}=e;return eo(r.value)},label:"Booking reference associated with your ticket",required:!0,type:"text",fieldId:"booking_reference",id:"booking_reference",errors:z,value:G},"booking_reference"),(0,t.jsx)(c.default,{onChange:e=>{let{target:r}=e;return ei(r.value)},label:"Email address associated with ticket",required:!0,type:"email",fieldId:"email",id:"field_email",errors:E,value:$},"email"),(0,t.jsxs)(y,{children:["*",S]})]})]}),!q&&!O&&(0,t.jsxs)(v,{children:[(0,t.jsx)(d.ZP,{id:"form-back-btn",ordinal:"clear",type:"button",label:"Go back",onClick:()=>i()}),(0,t.jsx)(d.ZP,{id:"form-back-submit",ordinal:"accent",type:"button",label:"Submit",disabled:K,onClick:()=>er()})]}),O&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{children:"Your submission was successful!"}),(0,t.jsx)(y,{children:"You will recieve an email with your ".concat(r)}),(0,t.jsx)(v,{children:(0,t.jsx)(d.ZP,{ordinal:"accent",label:"Go back to ".concat(r),onClick:()=>i(!0)})})]}),q&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{children:"Oops! Something went wrong!"}),(0,t.jsxs)(y,{children:[W," ",(0,t.jsx)("br",{}),"For any questions, contact our customer support."]}
1),(0,t.jsx)(v,{children:(0,t.jsx)(d.ZP,{ordinal:"accent",label:"Go back to form",onClick:()=>T(!1)})})]})]})})})};let k=(e,r)=>{if(document&&window){let{body:n}=document;if(e){n.style.overflow="hidden",n.style.position="fixed",n.style.width="100%",window.innerWidth>767?window.scrollTo(0,0):window.scrollTo(500,0);let e=document.getElementById(u);null==e||e.addEventListener("click",e=>{e.target.id===u&&r(!1)})}else n.style.overflow="auto",n.style.position="static",n.style.width="auto"}}},47386:function(e,r,n){n.r(r),n.d(r,{InputBase:function(){return u},InputBaseWrapper:function(){return c},InputErrors:function(){return h},InputHint:function(){return p},InputLabel:function(){return m},InputWrapper:function(){return s}});var t=n(13210),o=n(54737),i=n(11833),a=n(78070),l=n(22466),d=n(15270);let s=i.ZP.div.withConfig({displayName:"Input__InputWrapper",componentId:"sc-bbae905a-0"})(["padding:",";width:100%;box-sizing:border-box;font-family:'Inter',sans-serif;"],e=>e.hidden?null:"0.75rem 0"),c=i.ZP.div.withConfig({displayName:"Input__InputBaseWrapper",componentId:"sc-bbae905a-1"})(["position:relative;"]),u=i.ZP.input.attrs(e=>{let{ref:r}=e;return{ref:r}}).withConfig({displayName:"Input__InputBase",componentId:"sc-bbae905a-2"})([""," "," "," "," "," &:disabled{cursor:not-allowed;}",""],a.y7,e=>{let{hasStartIcon:r}=e;return r&&(0,i.iv)(["padding-left:2.75rem;"])},e=>{let{hasEndIcon:r}=e;return r&&(0,i.iv)(["padding-right:2.75rem;"])},e=>{let{error:r=!1}=e;return r&&(0,i.iv)(["border-color:",";border-width:1px;box-shadow:0 0 0 1px ",";"," &:focus{border-color:",";","}&:hover{border-color:",";","}"],e=>{let{theme:r}=e;return r.colors.error},e=>{let{theme:r}=e;return r.colors.error},l.Ce,e=>{let{theme:r}=e;return r.colors.black},l.Ce,e=>{let{theme:r}=e;return r.colors.error},l.Ce)},e=>{let{success:r}=e;return r&&(0,i.iv)(["border-color:",";border-width:1px;",""],e=>{let{theme:r}=e;return r.colors.border},l.Ce)},e=>{let{fullWidth:r}=e;return r&&(0,i.iv)(["min-width:100%;"])}),m=i.ZP.div.withConfig({displayName:"Input__InputLabel",componentId:"sc-bbae905a-3"})(["display:flex;margin-bottom:0.5rem;.requiredIcon{color:inherit;margin:-0.1rem 0 0;line-height:0.875rem;order:2;}label{"," margin-right:0.25rem;}"],a.Ft),p=i.ZP.div.withConfig({displayName:"Input__InputHint",componentId:"sc-bbae905a-4"})([""," color:inherit;padding:0.375rem 0 0 0;a{color:inherit;}"],a.aF),h=i.ZP.div.withConfig({displayName:"Input__InputErrors",componentId:"sc-bbae905a-5"})([""," padding-top:0.25rem;> .errorMsg{color:var(--dynamic-focus-color);padding:0.125rem 0;}.requiredIcon{color:",";}"],a.aF,e=>{let{theme:r}=e;return r.colors.error}),f=o.forwardRef((e,r)=>{let{label:n,startIcon:i,endIcon:a,errors:l=[],placeholder:f,hint:g,optional:b,success:w,loading:y,type:v="text",fieldId:x,required:I,hidden:_,readOnly:C=!1,onBlurCallback:j,...k}=e,S=(0,o.useId)(),Z=!!(null==l?void 0:l.length),M=!Z&&w&&!y,N=Z&&!w&&!y,F=!!a&&!Z&&!y&&!w,P=!!i,z=!!a||w||y,[A,E]=(0,o.useState)(!1),B=b?"".concat(n," (optional)"):n,O=S+"input";return(0,t.jsxs)(s,{hidden:_,children:[!_&&B&&(0,t.jsxs)(m,{children:[I&&(0,t.jsx)("span",{className:"requiredIcon",children:"* "}),(0,t.jsx)("label",{htmlFor:O,children:B})]}),(0,t.jsxs)(c,{children:[P&&(0,t.jsx)(d.Z,{icon:i,position:"left"}),(0,t.jsx)(u,{id:O,placeholder:f,success:M,hasStartIcon:P,hasEndIcon:z,error:Z&&!A,onFocus:()=>E(!1),onBlur:e=>{j&&j(e),E(!1)},type:v,required:I,...k,"data-field-id":x,"aria-label":B,readOnly:C,ref:r}),y&&(0,t.jsx)(d.Z,{icon:d.P.Loading}),M&&(0,t.jsx)(d.Z,{icon:d.P.Success}),N&&(0,t.jsx)(d.Z,{icon:d.P.Error}),F&&(0,t.jsx)(d.Z,{icon:a})]}),g&&(0,t.jsx)(p,{dangerouslySetInnerHTML:{__html:g}}),Z&&!A&&!y&&(0,t.jsx)(h,{children:l.map((e,r)=>(0,t.jsx)("div",{className:"errorMsg",children:e},S+e+r))})]})});r.default=f}}]);

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.