PageSourceSearch

https://www.worldofdifference.travel/e85d9a9c09da4dff9c796fddbbae2e2b4469b515-9625b9a01285e24d6e1e.js

js worldofdifference.travel collected 2026-10-07 07:25:45 UTC 17,750 bytes, 2 lines download raw bytes

1(self.webpackChunkgvi_groups_wod_ui=self.webpackChunkgvi_groups_wod_ui||[]).push([[4642],{20429:function(e,t,a){"use strict";var l=a(96540),o=a(49785),n=a(68329),r=a(76630),s=a(80568),i=a.n(s),c=a(22308),d=a(79548);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},u.apply(this,arguments)}t.A=e=>{var t,a,s,m;let{additionalButtonClass:f="",additionalFieldContainerClass:p="",arrowLightClass:y="fill-white",arrowDarkClass:g="stroke-white group-hover:stroke-black-lighter  ",arrowSize:h="std",buttonClass:b="w-full",buttonPreset:w="secondary",secondaryCtaPreset:x="senary",calendlyActive:v=!1,calendlyDesc:C,calendlyLayout:E="inline",checkboxClass:_="",contactLabelsClass:k="text-black-lighter ",customFormType:$=null,ctaLabel:N,downloadTitle:A,emailPlaceholder:S="Email",expTextProcessing:B=!1,expTextSuccess:L=!1,expMainTitleExtraClass:T="",firstFieldStyles:D="",firstNamePlaceholder:P="First Name",formHeading:I,formOuterButtonContainer:q="",formType:M="enquiry_form",formStatusExtraContainerClass:O="",formStyles:F,formSubheading:j="",formTooltipIconStyles:W="fill-green-dark sm:fill-green-dark ",formTooltipStyles:H="primary-tooltip",groupSchoolEnquiryFormHeadingClass:R="text-lrg w-3/5 md:w-full",formHeadingAdditionalClass:z="",hiddenFields:G=[],iconColor:U="",iconPosition:Z="",inputStyles:J="contact-form-input",labelColor:X="text-green-dark",lastNamePlaceholder:Q="Last Name",programItineraryFile:Y="",phonePlaceholder:V="Phone",scrollToTop:K=!1,disableMainForm:ee=!1,secondaryCTA:te=!1,secondaryCtaLink:ae="",secondaryCtaText:le="",secondaryBodyDescription:oe="",setParentStatus:ne=(()=>{}),statusTextProcessing:re=!1,statusTextSuccess:se=!1,txtColor:ie="text-green-dark",additionalLinkStyles:ce="",secondaryCtaLinkStateData:de={}}=e;const{register:ue,handleSubmit:me,reset:fe,formState:{errors:pe}}=(0,o.mN)({defaultValues:{newsletter:!1}}),{currentBrand:ye,localeLanguage:ge,currentSiteMeta:he}=(0,r.DP)(),[be,we]=(0,l.useState)(""),[xe,ve]=(0,l.useState)(0),[Ce,Ee]=(0,l.useState)({}),_e=null!==(t=null==he||null===(a=he.contact_details)||void 0===a?void 0:a.international)&&void 0!==t?t:"",ke=["itinerary_form","itinerary_groups_form","itinerary_under18_form","ingo_brochure_download"],$e=(0,l.useCallback)((async e=>{var t;K&&window.scrollTo(0,0);const a=null==G?void 0:G.flatMap((e=>({[null==e?void 0:e.fieldName]:null==e?void 0:e.fieldValue}))),l={form_type:null!==(t=null!=$?$:M)&&void 0!==t?t:"enquiry_form",...Array.isArray(a)?Object.assign({},...a):{},...e},o={name:[null==l?void 0:l.first_name,null==l?void 0:l.last_name].join(" "),email:null==l?void 0:l.email_address};Ee(o),we("processing"),await(0,c.S)({formdata:l,currentBrand:ye}),we("success"),"undefined"!=typeof window&&"brochure_download"===$&&window.localStorage.setItem("brochureDownloadForm",!1),fe()}),[ye,G,M,fe,ge,$]),Ne={processing:B||("testimonial"!==M&&"online_enquiry"!==M?"Hang tight!":"Just a moment..."),success:L||(ke.includes(M)?`<span class="text-[34px] text-wrap sm:no-br">${null!=A?A:"Itinerary"} download</span>`:"testimonial"!==M?"openday"===$?"You're booked!":"parent_request"===M?"Success!":"online_enquiry"===M?"Thank you!":"We found them!":"Thank y
1ou!")},Ae={processing:re||(ke.includes(M)?"":"testimonial"!==M?"openday"===$?"We're reserving your spot...":"parent_request"===M?"We're reaching out to start the conversation. It'll only take a moment...":"online_enquiry"===M?"We're making sure we have everything we need before connecting you with one of our team members!":"We’re reaching out to start the conversation. It’ll only take a moment...":"We’re making sure we have everything we need before connecting you with one of our team members!"),success:se?se.replace("INTL_NUMBER",`<a class="font-bold underline hover:text-green-light ${ce}" href='tel:${_e}' title='${_e}' rel="nofollow">${_e}.</a>`):ke.includes(M)?`${"brochure_download"!==$?`<div class="tab-like">Thank you for downloading the ${null!==(s=null==A?void 0:A.toLowerCase())&&void 0!==s?s:"itinerary"}.`:""} Please click the link below if the download fails to start automatically. <br/><br/> <a href="${Y}" class="font-bold underline hover:text-green-light ${ce}" target="_gviblank" rel="nofollow" title="Download ${null!=A?A:"itinerary"} "> Download ${null!==(m=null==A?void 0:A.toLowerCase())&&void 0!==m?m:"itinerary"} </a>  <br/><br/> ${"brochure_download"===$?`One of our enrollment managers will be in touch within 12 hours. <br/>If you can’t wait to speak to us, you can call us on <a class="font-bold underline hover:text-green-light ${ce}" href='tel:${_e}' title='${_e}' rel="nofollow">${_e}.</a>`:`You can also call of our enrollment managers on <a class="font-bold underline hover:text-green-light" href='tel:${_e}' title=${_e} rel="nofollow">${_e}.</a>.`}</div>`:"testimonial"!==M||"parent_request"!==M?"openday"===$?"Look out for an email for further details.":"online_enquiry"===M?`One of our enrollment managers will be in touch within 12 hours. If you can’t wait to speak to us, you can call us on <a class="font-bold underline hover:text-green-light ${ce}" href='tel:${_e}' title='${_e}' rel="nofollow">${_e}.</a>`:"Look out for an email! Our team will be in touch soon.":`One of our enrollment managers will be in touch within 12 hours. If you can’t wait to speak to us, you can call us on <a class="font-bold underline hover:text-green-light ${ce}" href='tel:${_e}' title='${_e}' rel="nofollow">${_e}.</a>`},[,Se]=(0,l.useState)(!1),Be=()=>{Se(!0)},Le=e=>{let{secondaryBodyDescription:t="Or, apply now to join this adventure",secondaryCtaText:a,buttonClass:o,secondaryCtaLink:n,secondaryCtaLinkStateData:r,secondaryCtaPreset:s="senary"}=e;return l.createElement("div",{className:"flex flex-col w-full justify-center"},l.createElement("div",{className:"text-base text-white font-light py-4",dangerouslySetInnerHTML:{__html:t}}),l.createElement(d.Ay,{ctaLabel:a,preset:s,labelClass:"text-base leading-genericCta font-bold",extraButtonStyle:`${o} p-2 mx-auto group`,showAsButton:!1,showArrowIcon:!1,to:n,forwardingStateData:r,target:"_blank"}))};return(0,l.useEffect)((()=>{ne(be)}),[ne,be]),ee&&!te?l.createElement(l.Fragment,null):l.createElement("div",{className:F},be?l.createElement(l.Fragment,null,l.createElement(n.e,{expText:Ne[be],statusText:Ae[be],status:be,txtColor:ie,iconColor:U,formType:M,iconPosition:Z,calendlyLayout:E,calendlyDesc:C,calendlyPrefill:Ce,extraContainerClass:O,calendlyActive:v,isGold:"program"===M,mainTitleExtra:T}),te&&l.createElement(Le,{secondaryCtaLink:ae,secondaryCtaText:le,buttonClass:b,secondaryBodyDescription:oe,secondaryCtaLinkStateData:de})):l.createElement(l.Fragment,null,ee?l.createElement(l.Fragment,null,te&&l.createElement(Le,{secondaryBodyDescription:oe,secondaryCtaLink:ae,secondaryCtaText:le,buttonClass:b,secondaryCtaLinkStateData:de,secondaryCtaPreset:x})):l.createElement(l.Fragment,null,(null==I?void 0:I.length)>1&&l.createElement(l.Fragment,null,"sign-up"!==M&&"group_school_enquiry"!==$&&l.createElement("div",{className:"flex flex-col w-full  "+("parent_request"===M?"":"pb-6 sm:pb-12")},l.createElement("h1",{className:`heading text-left font-body font-normal ${z} ${X}`,dangerouslySetInnerHTML:{__html:I}})),("sign-up"===M||"group_school_enquiry"===$)&&l.createElement("div",{className:"flex flex-col w-full pb-6 sm:pb-12"},l.createElement("h2",{className:`heading leading-[38px] text-left font-body font-normal ${z} ${X} ${"group_school_enquiry"===$?R:""}`,dangerouslySetInnerHTML:{__html:I}})),j&&l.createElement("div",{className:"flex flex-col w-full pb-4"},l.createElement("p",{className:`text-left ${X} text-xs sm:text-sm`,dangerouslySetInnerHTML:{__html:j}}))),l.createElement("form",{id:`${null!=M?M:"enquiry_form"}`,onSubmit:me($e),className:"flex flex-col justify-between items-center w-full"},l.createElement("div",{className:`flex flex-row flex-wrap sm:flex-nowrap gap-1 sm:gap-2 w-full ${p}`},l.createElement("label",{className:"w-full sm:w-1/2 relative"},l.createElement("input",u({type:"text",placeholder:`${P}*`,className:`pr-11 ${J} ${pe.first_name?" !border-red-600 ":""}`,onFocus:Be},ue("first_name",{required:!0,pattern:/^[^\s].*/}))),l.createElement("div",{className:`tooltip tooltip-left contact-form w-1/10 md:w-5 absolute py-3 mx-0 md:mx-6 right-5 top-1.5 md:right-0 before:py-3 before:rounded-xxs ${H} tooltip-${xe}`,"data-tip":"This is how we will refer to you."},l.createElement(i(),{onClick:()=>ve(1-xe),className:` ${W} stroke-transparent group-hover:sm:fill-dark-green ml-2 z-10`}))),l.createElement("label",{className:"w-full sm:w-1/2"},l.createElement("input",u({type:"text",placeholder:`${Q}*`,className:`${J} ${pe.last_name?" !border-red-600 ":""}`},ue("last_name",{required:!0,pattern:/^[^\s].*/}))))),l.createElement("div",{className:`flex flex-row flex-wrap sm:flex-nowrap gap-1 sm:gap-2 py-2 w-full ${p}`},l.createElement("label",{className:"w-full sm:w-1/2"},l.createElement("input",u({type:"number",placeholder:`${V}*`,className:`${J} ${pe.phone_number?" !border-red-600 ":""}`},ue("phone_number",{required:!0,pattern:/\d+/})))),l.createElement("label",{className:"w-full sm:w-1/2"},l.createElement("input",u({type:"text",placeholder:`${S}*`,className:`${J} ${pe.email_address?" !border-red-600 ":""}`},ue("email_address",{required:!0,pattern:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i}))))),"symposium_form"===M&&l.createElement(l.Fragment,null,l.createElement("div",{className:`flex flex-row flex-wrap sm:flex-col gap-1 sm:gap-2 w-full ${p}`},l.createElement("label",{className:"w-full relative"},l.createElement("input",u({type:"text",placeholder:"School Name*",className:`pr-11 ${J} ${pe.school_or_uni?" !border-red-600 ":""}`,onFocus:Be},ue("school_or_uni",{required:!0,pattern:/^[^\s].*/}))),l.createElement("div",{className:`tooltip tooltip-left contact-form w-1/10 md:w-5 absolute py-3 mx-0 md:mx-6 right-5 top-1.5 md:right-0 before:py-3 before:rounded-xxs ${H} tooltip-${xe}`,"data-tip":"School Name / Institution."},l.createElement(i(),{onClick:()=>ve(1-xe),className:` ${W} stroke-transparent group-hover:sm:fill-dark-green ml-2 z-10`}))),l.createElement("label",{className:"w-full relative"},l.createElement("textarea",u({className:`${X} ${J} p-2 bg-transparent form-control w-full border-white/30 border rounded-md focus:outline-none`,rows:"3",placeholder:"Additional Comments"},ue("why_want_to_apply",{}
1)))))),"parent_request"===M&&l.createElement("div",{className:"flex flex-col w-full pt-1 sm:pt-3 pb-1 sm:pb-6"},l.createElement("p",{className:`pb-2 ${X} hidden sm:block font-bold`},"(Optional) Any questions you would like to ask ahead of time?"),l.createElement("p",{className:`pb-2 ${X} text-xs block sm:hidden font-bold`},"(Optional) Why do you want to apply for this program?"),l.createElement("textarea",u({className:`${X} p-2 bg-transparent form-control w-full border-green-dark/30 border rounded-md focus:outline-none`,rows:"3"},ue("why_want_to_apply",{})))),l.createElement("div",{className:`contact-labels flex flex-col justify-center pb-4 font-body text-xs ${X}  w-full`},("sign-up"===M||"group_school_enquiry"===$)&&l.createElement("p",{className:"py-2"},"We will send the event link to this phone number the day before the event, so please ensure it is correct!"),l.createElement("label",{className:`py-2 items-center text-left gap-x-3 custom-checkbox ${k}`},l.createElement("input",u({type:"checkbox",className:"opacity-0 absolute",value:"newsletter_signup"},ue("newsletter",{}))),l.createElement("span",{className:"checkmark"}),"I would like to sign up to the World of Difference newsletter to receive updates, news and special offers."),"sign-up"!==M&&"group_school_enquiry"!==$&&l.createElement("p",{className:`py-2 ${k}`},"By submitting this form, I consent to contact via phone and email, as per World of Difference’s"," ",l.createElement("a",{className:`underline hover:text-green-light ${ce}`,href:"/privacy",target:"_blank"},"Privacy Policy"),"."),("sign-up"===M||"group_school_enquiry"===$)&&l.createElement("p",{className:"py-2"},'By clicking "Sign up" below, I have read and accepted World of Difference \'s'," ",l.createElement("a",{className:`underline hover:text-green-light ${ce}`,href:"/privacy",target:"_blank"},"Privacy Policy"),".")),l.createElement("div",{className:`button-submit flex w-full justify-end ${q||"parent_request"!==M?"":"sm:w-1/3"} ${q}`},l.createElement(d.Ay,{ctaLabel:N,preset:w,labelClass:"text-base leading-genericCta font-bold",extraButtonStyle:`${b} p-2 flex justify-center items-center mx-auto gap-2 group ${f}`,showAsButton:!0,showArrowIcon:!1})),te&&l.createElement(Le,{secondaryCtaLink:ae,secondaryCtaText:le,buttonClass:b,secondaryCtaLinkStateData:de,secondaryCtaPreset:x,secondaryBodyDescription:oe})))))}},29374:function(e,t,a){"use strict";var l=a(32532),o=a(96540);function n(e){let{closeModal:t,modalContent:a,modalContentStyles:l,modalContainerStyles:n,modalOuterContainerStyles:r,modalCloseIcon:s,modalCloseBtnStyles:i,modalCTAButtonStyles:c}=e;const d=(0,o.useRef)(null);function u(){var e,t;null===(e=document.getElementsByTagName("html")[0])||void 0===e||e.classList.remove("disable-scrolling"),null===(t=document.getElementById("mobile-footer-cta"))||void 0===t||t.classList.remove("xxxs:hidden")}return(0,o.useEffect)((()=>{function e(e){d.current&&!d.current.contains(e.target)&&(u(),t())}var a,l;return null===(a=document.getElementsByTagName("html")[0])||void 0===a||a.classList.add("disable-scrolling"),null===(l=document.getElementById("mobile-footer-cta"))||void 0===l||l.classList.add("xxxs:hidden"),document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),u()}}),[]),o.createElement("div",{className:`modal-outer-container ${r}`},o.createElement("div",{className:`modal-container ${n}`,ref:d},o.createElement("div",{className:`modal-content ${l}`},o.createElement("div",{className:`modal-close-btn ${i}`},o.createElement("button",{onClick:()=>{u(),t()},className:`modal-cta-button ${c}`},s)),a)))}t.A=n,n.defaultProps={modalOuterContainerStyles:"fixed top-0 bottom-0 left-0 right-0 z-20 flex items-center justify-center w-full h-full modalBackground gvi-modal-bg",modalCloseBtnStyles:"flex w-12 h-3",modalContainerStyles:"w-9/12 mx-auto",modalContentStyles:"w-1/3 mx-auto gvi-light-gray-bg rounded-md py-3",modalCTAButtonStyles:"",modalCloseIcon:o.createElement(l.S,{src:"../../images/close_icon_v2.svg",alt:"Close Button",className:"object-contain object-center",quality:100,layout:"fixed",width:25,__imageData:a(25435)})}},67597:function(e,t,a){"use strict";var l=a(96540),o=a(40961);const n="undefined"!=typeof document?document.getElementById("portal"):null;t.A=e=>{let{children:t}=e;const a=(0,l.useMemo)((()=>"undefined"!=typeof document?document.createElement("div"):null),[]);return(0,l.useEffect)((()=>(n.appendChild(a),()=>{n.removeChild(a)})),[a]),a?o.createPortal(t,a):null}},80568:function(e,t,a){var l=a(96540);function o(e){return l.createElement("svg",e,[l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.88679C5.5192 1.88679 1.88679 5.5192 1.88679 10C1.88679 14.4808 5.5192 18.1132 10 18.1132C14.4808 18.1132 18.1132 14.4808 18.1132 10C18.1132 5.5192 14.4808 1.88679 10 1.88679ZM0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10Z",fill:"current",key:0}),l.createElement("path",{d:"M11.1623 7.97738V15.7208H9.29815V7.97738H11.1623ZM11.4415 5.72077C11.4415 5.88178 11.4088 6.03272 11.3434 6.1736C11.278 6.31448 11.19 6.43775 11.0793 6.54341C10.9736 6.64907 10.8478 6.73461 10.7019 6.80002C10.556 6.8604 10.4 6.89058 10.234 6.89058C10.073 6.89058 9.91953 6.8604 9.77362 6.80002C9.63274 6.73461 9.50947 6.64907 9.40381 6.54341C9.29815 6.43775 9.212
162 6.31448 9.14721 6.1736C9.08683 6.03272 9.05664 5.88178 9.05664 5.72077C9.05664 5.55474 9.08683 5.39876 9.14721 5.25285C9.21262 5.10694 9.29815 4.98115 9.40381 4.87549C9.50947 4.76983 9.63274 4.68681 9.77362 4.62643C9.91953 4.56102 10.073 4.52832 10.234 4.52832C10.4 4.52832 10.556 4.56102 10.7019 4.62643C10.8478 4.68681 10.9736 4.76983 11.0793 4.87549C11.19 4.98115 11.278 5.10694 11.3434 5.25285C11.4088 5.39876 11.4415 5.55474 11.4415 5.72077Z",fill:"current",key:1})])}o.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},e.exports=o,o.default=o},25435:function(e){"use strict";e.exports=JSON.parse('{"layout":"fixed","placeholder":{"fallback":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAABjUlEQVR42q2US0oDQRCGR52JOUAekAMET+MjIaiXMLrIgCfITsUjiJIMWSgiutKNJ0hE8BHxsTUhID5BM/6lf4fQ9MROsOCD6u6/a6arq9pxDBaGYRwsgADcgVfwDC7ANigAz7ExCPPgPvy1L1AHe2CX/ifXrsDMoEDjYJPiFiiBhEGXBD54BF1Qlr2mgCrYiWyyOEkaHHNP2XRMFSzmWBq0k9wjfzqtJmNMfMvmzyJS0AaXPxfF2xQracIsWAJu35wLlsGUpvUZIy+DGm8zoYmKFAUM5NIXW9G0KcbYksENaBiO0h8g0HzXoD+TOhXnDexH5GeChaysZgpG7QF4Euf9j4A7WkAvQnsEXtSR6/9w5HPQFKfCdkoNcSlFTZthLVZksEiRb1k2MpfVtKuMUZCBBx7Ym+kRCltasANue10GJ8cvSG/Gh2y9015Ra4sbIzwOKtha1PO1TkGb7ZQ06DLMWUcFA2ODvjzHnKoHtsGiPWRpdLkmOZu1zY1c1DxLqgk+pAvANahyzfjMfQO7pPOVeMWN4gAAAABJRU5ErkJggg=="},"images":{"fallback":{"src":"/static/ca89cc5737e796a5cef5db3a448bd303/5fda6/close_icon_v2.svg","srcSet":"/static/ca89cc5737e796a5cef5db3a448bd303/5fda6/close_icon_v2.svg 25w,\\n/static/ca89cc5737e796a5cef5db3a448bd303/6e126/close_icon_v2.svg 50w","sizes":"25px"},"sources":[{"srcSet":"/static/ca89cc5737e796a5cef5db3a448bd303/78997/close_icon_v2.webp 25w,\\n/static/ca89cc5737e796a5cef5db3a448bd303/9afd2/close_icon_v2.webp 50w","type":"image/webp","sizes":"25px"}]},"width":25,"height":25}')}}]);
2//# sourceMappingURL=e85d9a9c09da4dff9c796fddbbae2e2b4469b515-9625b9a01285e24d6e1e.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.