1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,379862,(e,t,r)=>{var o=e.r(625975);t.exports=function(e){return"function"==typeof e?e:o}},436738,(e,t,r)=>{var o=e.r(864353),n=e.r(379862),i=e.r(473140);t.exports=function(e,t){return null==e?e:o(e,n(t),i)}},178630,599309,671342,258706,781850,638888,571587,311925,764478,152410,176957,852944,591168,e=>{"use strict";var t,r=e.i(191788);e.i(350461),e.i(455207);var o=e.i(607652),n=e.i(410201),i=e.i(391398),a=e.i(275885),s=e.i(436738);let c=async()=>{let e=await fetch("https://www.ionos.co.uk/shop-api/v1/api/shop/trackingservice/hash",{headers:(0,o.getDefaultHeadersForFetch)(),credentials:"include"});if(!e.ok)throw Error(e.statusText);return await e.text()};function l(){return window.sessionStorage.getItem("hashedIp")}e.s(["IpHash",0,()=>((0,r.useEffect)(()=>{l()||(async()=>{try{let e=await c();sessionStorage.setItem("hashedIp",e)}catch(e){console.error("Error handling hashed IP:",e)}})()},[]),(0,i.jsx)(i.Fragment,{})),"getIpHash",()=>l,"requestHashedIp",0,c],599309);let u=()=>{void 0!==window.document.body.dataset.datalayerInit&&"1"===window.document.body.dataset.datalayerInit?d():window.addEventListener("dataLayerInit",d)},d=()=>{try{let e=window.sessionStorage.getItem("salesChannel");if(!e)return;let t=JSON.parse(e);window.ionos?.datalayer?.events?.saleschannel.sendEvent(t.procurement.channelCode,t.procurement.productCode,t.procurement.campaignCode,t.procurement.actionCode,t.procurement.mediumCode)}catch(e){console.warn("trackDataToJentis: failed to send sales channel tracking event",e)}},h=async()=>{let e=(0,o.getDefaultHeadersForFetch)(),t=new URL(sessionStorage.getItem("current_url")),r=new URLSearchParams(t?t.search:window.location.search);m(r);let n=p(),i=await fetch("https://www.ionos.co.uk/shop-api/v1/api/shop/tracking/saleschannel",{method:"post",headers:e,credentials:"include",body:JSON.stringify(n)});if(!i.ok)throw console.error(i),Error(i.statusText);let s=await i.json(),c=g(s,r);return c.cookieAttr.channelcode||((0,a.captureMessage)("channelcode is missing"),console.error("params: ",r.toString()),console.error("res: ",s)),c},p=()=>{let e=window.UNOUNO,t="logged_in"===localStorage.getItem("login_state"),r=[];document.cookie.split(";").forEach(e=>{let[t,o]=e.trim().split("=");r.push({name:t,value:o})});let o=new URL(sessionStorage.getItem("current_url")),n=new URLSearchParams(o?o.search:window.location.search),i={};for(let[t,r]of(e.tracking.utm={},n.entries()))sessionStorage.setItem(t,r),i[t]=encodeURI(r),(t.startsWith("utm_")||t.startsWith("ias_"))&&(e.tracking.utm[t]=r);return{path:window.location.pathname,origin:"UK",requestParameter:i,cookies:r,referer:document.referrer,isExistingCustomer:t}},m=e=>{let t=window.UNOUNO,r={};for(let[o,n]of(t.tracking.utm={},e.entries()))sessionStorage.setItem(o,n),r[o]=n,(o.startsWith("utm_")||o.startsWith("ias_"))&&(t.tracking.utm[o]=n)},g=(e,t)=>{let r={},o={},n={},i=[],a=[],s={};e.evaluatedSalesChannels.forEach(e=>{i.push(e.name)}),e.actions.forEach(e=>{"ADD_ACTIONCODE"===e.action&&(r=e.actionAttributes),"ADD_MEDIUMCODE"===e.action&&(o=e.actionAttributes),"ADD_TRACKINGCODE_COMP"===e.action&&(n=e.actionAttributes),"ADD_COOKIE"===e.action&&a.push(e.actionAttributes)});let c=t.get("ma_id")?t.get("ma_id"):null;return s.actionCode=r["actioncode.code"]?r["actioncode.code"]:null,s.mediumCode=o["mediumcode.code"]?o["mediumcode.code"]:null,s.channelCode=n.channelcode?n.channelcode:null,s.productCode=n.productcode?n.productcode:null,s.campaignCode=n.campaigncode?n.campaigncode:null,s.callAgentID=c,a.forEach(e=>{e["cookie.domain"]=document.location.hostname.replace("www","").replace("cloud","");let t=new Date(new Date().setSeconds(e["cookie.lifetime"]));document.cookie=" "+e["cookie.name"]+"="+e["cookie.value"]+";expires="+t.toUTCString()+";domain="+e["cookie.domain"]+";path=/"}),{actionCodeAttr:r,mediumCodeAttr:o,cookieAttr:n,procurement:s,salesChannelNames:i}};function f(){return window.sessionStorage.getItem("salesChannel")}function w(e=!1){if(null===window.sessionStorage.getItem("salesChannel"))return!1;let t=window.sessionStorage.getItem("sessionTimestamp");if(t&&Date.now()-parseInt(t)>36e5)return!1;let r=new URLSearchParams(window.location.search),o=window.sessionStorage.getItem("ac"),n=window.sessionStorage.getItem("itc");return!(r.has("ac")&&o!==r.get("ac")||r.has("itc")&&n!==r.get("itc"))&&(!(e&&function(){if(""===document.referrer||document.referrer.includes("ionos.")||document.referrer.includes("localhost"))return!1;let e=new URL(document.referrer).hostname,t=sessionStorage.getItem("externalReferrer");if(null===t||t!==e)return sessionStorage.setItem("externalReferrer",e),!0}())||(sessionStorage.setItem("current_url",window.location.href),!1))}e.s(["SalesChannel",0,()=>{let[e,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{w(!0)?u():(async()=>{try{var e;let t,r,o=await h(),n=l();null===n&&(n=await c());let i={actionCodeAttr:o.actionCodeAttr,mediumCodeAttr:o.mediumCodeAttr,cookieAttr:o.cookieAttr,utm:window.UNOUNO.tracking.utm,salesChannelNames:o.salesChannelNames.join("|"),ipHash:n,procurement:o.procurement};sessionStorage.setItem("salesChannel",JSON.stringify(i)),e=i,t={channelcode:"itc_channel",productcode:"itc_product",campaigncode:"itc_campaign"},r=new URLSearchParams,e.utm&&(0,s.default)(e.utm,(e,t)=>{r.append(t,e)}),e&&e.cookieAttr&&(0,s.default)(e.cookieAttr,(e,o)=>{e&&r.append(t[o],e)}),window.sessionStorage.setItem("utm-itc",r.toString()),u()}catch(e){console.error("Error handling sales channel:",e)}})()},[e]),(0,r.useEffect)(()=>{let e=setInterval(()=>{if(!document?.hidden){let e=window.sessionStorage.getItem("sessionTimestamp");e&&Date.now()-parseInt(e)>36e5&&(console.log("Condition true"),t(e=>e+1))}},1e4);return()=>clearInterval(e)},[]),(0,i.jsx)(i.Fragment,{})},"checkSalesChannel",()=>w,"getSalesChannelData",()=>f],671342);var S=e.i(664440);let C=async(t,r=!0,i="",a="",s={},c={},l={})=>{let{default:u}=await e.A(91056),d=(0,o.getDefaultHeadersForFetch)(),h="uk";"AT"===h.toUpperCase()&&(h="DE");let p={};if(n.isBrowser&&1){let e=window.location.pathname,t=e.startsWith("/")?e.substring(1):e;d["X-Page"]=t;let r=f();if(r){let{procurement:e}=JSON.parse(r);p=e}}let m=new URLSearchParams(window.location.search).get("instanceReference"),g=new URLSearchParams;if(g.append("market",h.toUpperCase()),g.append("useSession","true"),g.append("basketType","PERSISTANT_BASKET"),m&&(g.append("instanceReference",m),localStorage.getItem("ac_token_creation_time")&&localStorage.getItem("ac_token"))){let e=localStorage.getItem("ac_token_creation_time");if(e){let t=new Date(e).getTime();new Date().getTime()-t>36e5&&(window.location.href=`${(0,S.changeCountry)("https://login.ionos.xx")}/login?redirect_url=${encodeURIComponent(document.URL)}`)}}return u.put(`${y()}/api/shop/basket${a}?${g.toString()}`,{procurement:p,basketItems:[{cmsIdentifier:t,quantity:1,itemType:"BASE_PRODUCT",variant:i,externOrderLineAttributes:s,orderLineAttributes:c}],...l},{withCredentials:!0,headers:d}).catch(e=>{console.log(e)}).then(e=>{e?.status==200&&r&&(window.location.href=v())})},y=()=>{let e=new URLSearchParams(window.location.search);return"PRELIVE"===e.get("ADMCMD_prev")||"PRELIVE"===window.localStorage.getItem("ADMCMD_prev")?"https://shop-api.ionos.co.uk/prelive":"WATERLOO"===e.get("ADMCMD_prev")?"https://shop-api-gateway.new-customer-access.cpwaterloo2.ciso.server.lan:8661":"https://www.ionos.co.uk/shop-api/v1"},v=()=>{let e=new URLSearchParams(window.location.search),t="localhost"===window.location.hostname?"ionos.com":window.location.hostname.replace("www.","").replace("prelive-showroom.cloud.","");return"WATERLOO"===e.get("ADMCMD_prev")?"https://mx.cpshop-checkout.csmshopcp-1487.cpwaterloo1.ciso.server.lan:8331/prelive-checkout/":"PRELIVE"===e.get("ADMCMD_prev")||"PRELIVE"===window.localStorage.getItem("ADMCMD_prev")?`https://my.${t}/prelive-checkout/`:`https://my.${t}/checkout/overview?flow=cloudshop#/`};e.s(["basketService",0,C],258706);let E=async(...e)=>[];e.s(["findAllPropertyValue",()=>function e(t,r,o,n=[],i=!1,a=[]){if("object"==typeof t&&null!==t){if(o in t){let e=t[o];if(e&&!e.includes(";")){if(Array.isArray(t.data)&&Array.isArray(r)){let e=t.data.findIndex(e=>"string"==typeof e&&e.includes("<p>[[PRICE]]</p>")||"object"==typeof e&&e?.price!==null);-1!==e&&(t.data[e]={price:function(e,t){if(Array.isArray(e.data)&&Array.isArray(t)){let r=t.find(t=>t.cmsIdentifier?.value===e.articleId);return e.price=r}}(t,r)}
1)}e&&"DOMAIN"!==t.productType?i?n.push({value:e,object:t}):n.push({value:e}):"DOMAIN"===t.productType&&(i?n.push({cmsIdentifier:e,object:t,productType:"DOMAIN"}):n.push({cmsIdentifier:e,productType:"DOMAIN"}))}}for(let s in t)a.includes(s)||"object"!=typeof t[s]||e(t[s],r,o,n,i,a)}return n},"getProductPriceService",0,E],781850),e.s(["useVerticalFeatureTableEqualRows",0,()=>{let e=(0,r.useRef)([]),t=(0,r.useRef)(null),o=(0,r.useCallback)(()=>{let t={};e.current.forEach(e=>{let r=e.current;if(r&&!r.classList.contains("ignore-height")){let e=Array.from(r.classList).sort().join("-");t[e]||(t[e]=[]),t[e].push(r)}}),Object.values(t).forEach(e=>{let t=e.filter(e=>"none"!==getComputedStyle(e).display);t.forEach(e=>e.style.height="auto");let r=Math.max(...t.map(e=>e.offsetHeight));t.forEach(e=>e.style.height=`${r}px`)})},[]),n=(0,r.useCallback)(r=>{if(r&&!e.current.some(e=>e.current===r)){e.current.push({current:r});let n=r.parentElement.parentElement.parentElement.parentElement.parentElement;n&&!t.current&&(t.current=new MutationObserver(e=>{for(let t of e)"attributes"===t.type&&("style"===t.attributeName||"class"===t.attributeName)&&o()}),t.current.observe(n,{attributes:!0,attributeFilter:["style","class"]}))}},[o]);return(0,r.useLayoutEffect)(()=>{setTimeout(()=>o(),500),o();let e=()=>{o()};return window.addEventListener("resize",e),()=>{t.current&&t.current.disconnect(),window.removeEventListener("resize",e)}},[o]),n}],638888);let I=null,O=()=>{let[e,t]=(0,r.useState)(),n=(0,o.getDefaultHeadersForFetch)();return(0,r.useEffect)(()=>{let e=sessionStorage.getItem("ip-origin");e?t("GB"===e?"UK":e):I||(I=new Promise(async(e,r)=>{try{let r=await fetch("https://www.ionos.co.uk/shop-api/v1/api/shop/ipLocator/isoCountryCode",{method:"GET",credentials:"include",headers:n});if(!r.ok)throw Error("Cannot get the location: "+r.status);let o=await r.text();sessionStorage.setItem("ip-origin",o),t(o),e(o)}catch(e){console.error("Error while trying to get ipLocator:",e.message),r(e)}})),I?.then(e=>{t("GB"===e?"UK":e)}).catch(e=>{console.error("Failed to retrieve location:",e.message)})},["PU.WH.UK","https://www.ionos.co.uk/shop-api/v1"]),e};e.s(["useIpLocator",0,O],571587);var k={},A=function(){if(t)return k;t=1,k.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var o={},n=e.length;if(n<2)return o;var i=t&&t.decode||l,a=0,u=0,d=0;do{if(-1===(u=e.indexOf("=",a)))break;if(-1===(d=e.indexOf(";",a)))d=n;else if(u>d){a=e.lastIndexOf(";",u-1)+1;continue}var h=s(e,a,u),p=c(e,u,h),m=e.slice(h,p);if(!r.call(o,m)){var g=s(e,u+1,d),f=c(e,d,g);34===e.charCodeAt(g)&&34===e.charCodeAt(f-1)&&(g++,f--);var w=e.slice(g,f);o[m]=function(e,t){try{return t(e)}catch(t){return e}}(w,i)}a=d+1}while(a<n)return o},k.serialize=function(t,r,s){var c=s&&s.encode||encodeURIComponent;if("function"!=typeof c)throw TypeError("option encode is invalid");if(!o.test(t))throw TypeError("argument name is invalid");var l=c(r);if(!n.test(l))throw TypeError("argument val is invalid");var u=t+"="+l;if(!s)return u;if(null!=s.maxAge){var d=Math.floor(s.maxAge);if(!isFinite(d))throw TypeError("option maxAge is invalid");u+="; Max-Age="+d}if(s.domain){if(!i.test(s.domain))throw TypeError("option domain is invalid");u+="; Domain="+s.domain}if(s.path){if(!a.test(s.path))throw TypeError("option path is invalid");u+="; Path="+s.path}if(s.expires){var h,p=s.expires;if(h=p,"[object Date]"!==e.call(h)||isNaN(p.valueOf()))throw TypeError("option expires is invali
1d");u+="; Expires="+p.toUTCString()}if(s.httpOnly&&(u+="; HttpOnly"),s.secure&&(u+="; Secure"),s.partitioned&&(u+="; Partitioned"),s.priority)switch("string"==typeof s.priority?s.priority.toLowerCase():s.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,o=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,n=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,i=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,a=/^[\u0020-\u003A\u003D-\u007E]*$/;function s(e,t,r){do{var o=e.charCodeAt(t);if(32!==o&&9!==o)return t}while(++t<r)return r}function c(e,t,r){for(;t>r;){var o=e.charCodeAt(--t);if(32!==o&&9!==o)return t+1}return r}
1function l(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}return k}();function _(e,t={}){var r;let o=(r=e)&&"j"===r[0]&&":"===r[1]?r.substr(2):r;if(!t.doNotParse)try{return JSON.parse(o)}catch(e){}return e}class b{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let e=this.cookies;this.cookies=A.parse(document.cookie),this._checkChanges(e)};const o="u"<typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?A.parse(e):"object"==typeof e&&null!==e?e:{}}(t||o),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=function(){let t=e.g.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof t?t:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:_(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),_(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();let t={};for(let r in this.cookies)t[r]=_(this.cookies[r],e);return t}set(e,t,r){r=r?Object.assign(Object.assign({},this.defaultSetOptions),r):this.defaultSetOptions;let o="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:o}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=A.serialize(e,o,r)),this._emitChange({name:e,value:t,options:r})}remove(e,t){let r=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=A.serialize(e,"",r)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){let t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}e.s(["useIsChatAvailable",0,()=>{let[e,t]=(0,r.useState)(!1),[n,i]=(0,r.useState)(!1),a=O(),s=new b,c=e=>!!e?.intervals?.[0]?.channels?.includes("Chat"),l=async()=>{let e=(0,o.getDefaultHeadersForFetch)(),t={date:new Date().toISOString(),market:"GB",contactTopic:null};try{let r=await fetch("https://www.ionos.co.uk/shop-api/contact-channel/shop?includeNextIntervals=false",{method:"POST",body:JSON.stringify(t),headers:e,credentials:"include"}),o=await r.json(),n=c(o),i=JSON.stringify({status:n.toString(),date:new Date().getTime()});return sessionStorage.setItem("isChatOn",i),c(o)}catch(e){return!1}};return(0,r.useEffect)(()=>{let e=()=>{s.get("PRIVACY_CONSENT")&&i(!0)};return["IT","MX","US","CA"].includes("UK")||s.get("PRIVACY_CONSENT")?i(!0):s.addChangeListener(e),()=>{s.removeChangeListener(e)}},[]),(0,r.useEffect)(()=>{let e=sessionStorage.getItem("isChatOn");if(e&&n){let{status:r,date:o}=JSON.parse(e);if(new Date().getTime()-o<9e5)return void t("true"===r)}(async()=>{n?t(await l()):t(!1)})()},[e,a,n]),e}],311925);var D=e.i(961572);e.s(["useAdditionalParameters",0,e=>{let[t,o]=(0,r.useState)("");return(0,r.useEffect)(()=>{let t=sessionStorage.getItem("current_url");if(null!==t){let r,n=new URLSearchParams((e=>{if(e.includes("#")){let t=/#(.*?)\?/.exec(e),r=t?t[1]:null;return new URL(r?e.replace("#"+r,""):e.split("#")[0])}return new URL(e)})(t).search);n.delete("contract"),n&&""!==n.toString()?o((r=e,((0,D.default)(r)||r.includes("?")?"&":"?")+n.toString())):o("")}},[t]),t}],764478),e.s(["useIsPrelive",0,()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t("PRELIVE"===new URLSearchParams(window.location.search).get("ADMCMD_prev")||"PRELIVE"===window.localStorage.getItem("ADMCMD_prev"))},[e]),e}],152410),e.s(["useCountryProps",0,()=>
1["uk","co.uk"]],176957),e.s(["useIsCallAvailable",0,()=>{let[e,t]=(0,r.useState)(!1),o=O();return(0,r.useEffect)(()=>{sessionStorage.getItem("isCallOn"),t(!0)},[e,o]),e}],852944),e.s(["usePrivacyConsentMonitor",0,()=>{(0,r.useEffect)(()=>{function e(e){let t=`; ${document.cookie}`.split(`; ${e}=`);if(2===t.length)return t.pop()?.split(";").shift()}let t=e("PRIVACY_CONSENT"),r=new MutationObserver(()=>{let r=e("PRIVACY_CONSENT");r&&r!==t&&(t=r,window.location.reload())});return r.observe(document,{attributes:!0,childList:!0,subtree:!0}),()=>{r.disconnect()}},[])}],591168),e.s([],178630)}]); 2!function(){try{var 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]="721151d2-124e-5642-bc15-de9e82678367")}catch(e){}}(); 3//# debugId=721151d2-124e-5642-bc15-de9e82678367
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.