PageSourceSearch

https://www.theograce.co.uk/_next/static/chunks/pages/[context]/contact-us/[page]-de35fd8a517c4a4e.js

js theograce.co.uk collected 2026-10-08 03:35:23 UTC 6,424 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1554,4591,5931,8027],{26460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>b,default:()=>N});var l=n(37876),a=n(46320),r=n(14232),o=n(6936),i=n(88771);let s=(0,n(15714).A)("contactUs");var c=n(30978),d=n(61983),u=n.n(d);let m=(0,r.forwardRef)((e,t)=>{let{title:n,headingTag:a,headingVariant:r,options:i,selectedIndex:s,onSelect:d}=e;return(0,l.jsxs)("div",{ref:t,className:u().Step,children:[(0,l.jsx)(o.A,{tag:a,variant:r,className:u().Title,children:n}),(0,l.jsx)("div",{className:u().Options,role:"group","aria-label":n,children:i.map((e,t)=>(0,l.jsx)(c.A,{type:"button",variant:t===s?"primary":"ghost",size:"small",className:u().OptionButton,"aria-pressed":t===s,onClick:()=>d(t),children:e.label},e.label))})]})});m.displayName="OptionGroup";var p=n(27501),h=n.n(p);let _=(0,r.forwardRef)((e,t)=>{let{src:n}=e,{t:a}=(0,i.B)("contactUs"),[o,s]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=new URL(n).origin,t=window.innerWidth>=768?240:40,l=n=>{var l,a,r,o,i;if(n.origin===e){if(null==(l=n.data)?void 0:l.kustomerLoaded)null==(i=n.source)||i.postMessage({siteUrl:null==(r=window.top)?void 0:r.location.href,hostname:null==(o=window.top)?void 0:o.location.hostname,urlLanguage:document.documentElement.lang},{targetOrigin:e});else if((null==(a=n.data)?void 0:a.type)==="iframeHeightChange"){let e=Number(n.data.iframeHeight);Number.isFinite(e)&&d(e+t)}}};return window.addEventListener("message",l),()=>window.removeEventListener("message",l)},[n]),(0,l.jsxs)("div",{ref:t,className:h().FormContainer,children:[!o&&(0,l.jsx)("div",{className:h().Loader,"aria-label":a("form.loading")}),(0,l.jsx)("iframe",{src:n,title:a("form.title"),className:h().FormIframe,style:c?{height:"".concat(c,"px")}:void 0,onLoad:()=>s(!0)})]})});_.displayName="KustomerForm";var f=n(62697),g=n.n(f);let x=e=>{var t,n;if(!e)return;let l=null!=(n=null==(t=document.querySelector("header"))?void 0:t.getBoundingClientRect().height)?n:0,a=e.getBoundingClientRect().top+window.scrollY-l-16;window.scrollTo({top:Math.max(0,a),behavior:"smooth"})},j=()=>{let{t:e}=(0,i.B)("contactUs"),{data:t}=s(e=>e.title),{data:n}=s(e=>e.topicsTitle),{data:a}=s(e=>e.categories),[c,d]=(0,r.useState)(null),[u,p]=(0,r.useState)(null),h=(0,r.useRef)(null),f=(0,r.useRef)(null);if((0,r.useEffect)(()=>{null!==c&&null===u&&x(h.current)},[c,u]),(0,r.useEffect)(()=>{null!==u&&x(f.current)},[u]),!(null==a?void 0:a.length))return null;let j=null!==c?a[c]:null,v=j&&null!==u?j.topics[u]:null;return(0,l.jsxs)("div",{className:g().Wizard,children:[(0,l.jsx)(o.A,{tag:"h1",variant:"headline2",className:g().PageTitle,children:e("pageTitle")}),(0,l.jsx)(m,{title:t,headingTag:"h2",headingVariant:"headline4",options:a.map(e=>({label:e.name})),selectedIndex:c,onSelect:e=>{d(e),p(null)}}),j&&(0,l.jsx)(m,{ref:h,title:n,headingTag:"h2",headingVariant:"headline4",options:j.topics.map(e=>({label:e.title})),selectedIndex:u,onSelect:p}),v&&(0,l.jsx)(_,{ref:f,src:v.kustomerUrl},v.kustomerUrl)]})},v=()=>(0,l.jsx)(a.A,{id:"contact-us",children:(0,l.jsx)(j,{})});var w=n(37533),b=!0;let N=()=>{let{t:e}=(0,i.B)("contactUs");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w.A,{title:e("seo.title"),noIndex:!0}),(0,l.jsx)(v,{})]})}},27501:e=>{e.exports={FormContainer:"kustomerForm_FormContainer__Hsp6e",Loader:"kustomerForm_Loader__bfCIF",spin:"kustomerForm_spin__QmDmh",FormIframe:"kustomerForm_FormIframe__97pPH"}},30978:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var l=n(37876),a=n(15039),r=n.n(a),o=n(14232),i=n(31262);let s=(0,o.forwardRef)((e,t)=>{let{className:n,variant:a,size:o="normal",children:s,isLink:c,disabled:d,...u}=e,m=r()(n,"ui-btn","ui-btn_".concat(a),"ui-btn_".concat(o));return c?(0,l.jsx)(i.A,{className:m,...u,children:(0,l.jsx)("span",{children:s})}):(0,l.jsx)("button",{className:m,disabled:d,ref:t,...u,children:(0,l.jsx)("span",{children:s})})})},37533:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var l=n(37876),a=n(77328),r=n.n(a),o=n(87957),i=n(26635);n(4815);var s=n(50310);n(37521),s.A.filter(e=>"us"===e.country).map(e=>e.siteId);let c=e=>{let{title:t,hideGlobalSchema:n}=e,{data:a}=(0,o.A)(e=>e.globalSchema),c=(e=>{if("myka"===e){let e=s.A.find(e=>"myka"===e.brand&&"production"===e.environment);return e?{...e,url:"https://www.myka.com"}:null}return s.A.find(t=>"us"===t.country&&t.brand===e&&"production"===t.environment)})((0,i.PB)());
1return(0,l.jsxs)(r(),{children:[(0,l.jsx)("link",{rel:"icon",href:"".concat(null==c?void 0:c.url,"/favicon.ico")}),(0,l.jsx)("title",{children:t}),!n&&a&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:a}},"global-logos-schema-jsonld")]})},d=e=>{let{title:t,metaTags:n,canonical:a,schema:o,links:i,breadcrumbsSchema:s,headerScripts:d,noIndex:u,pagination:m,hideGlobalSchema:p}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c,{title:t,hideGlobalSchema:p}),(0,l.jsxs)(r(),{children:[u&&(0,l.jsx)("meta",{name:"robots",content:"noindex"}),null==n?void 0:n.map((e,t)=>{let{name:n,content:a,property:r}=e;return(0,l.jsx)("meta",{property:r||void 0,name:n||void 0,content:a||void 0},"meta-".concat(n,"-").concat(r,"-").concat(t))}),a&&(0,l.jsx)("link",{rel:"canonical",href:a.Href},a.Name),null==i?void 0:i.map((e,t)=>{let{rel:n,href:a,hreflang:r}=e;return(0,l.jsx)("link",{rel:n,href:a,hrefLang:r&&r},"alt-".concat(t,"-").concat(a))}),null==m?void 0:m.map((e,t)=>{let{rel:n,href:a}=e;return(0,l.jsx)("link",{rel:n,href:a},"".concat(t,"-").concat(a))}),d&&(null==d?void 0:d.map((e,t)=>(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:e}},"header-scripts-".concat(t,"-jsonld")))),o&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:o}},"product-jsonld"),s&&(0,l.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:s}},"breadcrumbs-jsonld")]})]})}},61983:e=>{e.exports={Step:"optionGroup_Step__waTrL",Title:"optionGroup_Title__NwMJm",Options:"optionGroup_Options__Av8eu",OptionButton:"optionGroup_OptionButton__kMcOe"}},62697:e=>{e.exports={Wizard:"wizard_Wizard__cVVLH",PageTitle:"wizard_PageTitle__bsgB9"}},76232:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[context]/contact-us/[page]",function(){return n(26460)}])},87957:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});let l=(0,n(15714).A)("SEO")}},e=>{e.O(0,[5352,6361,2709,8230,9012,9209,942,9069,3743,636,6593,8792],()=>e(e.s=76232)),_N_E=e.O()}]);

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.