1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17597,47050],{7747:(e,r,t)=>{"use strict";t.d(r,{v:()=>d});var n=t(60072),s=t(76316),a=t.n(s),l=t(5708),o=t(57605),c=t(73141),i=t(7030);let u=["page"],d=e=>{var r;let{children:t,meta:s}=e,{query:d}=(0,o.rd)(),{siteContent:p,pinterestId:h}=(0,l.Xe)(),g=(0,i.S)();if(!s)return null;let m=null!=(r=null==p?void 0:p.baseUrl)?r:"",{description:j,h1Title:w,title:x,canonical:f,metaNoIndex:v,metaTitle:y,image:b,jsonLd:P,ogType:E}=s,N=y||w||x,_=m.includes("www.homemade")||m.includes("www.geschenkidee")||m.includes("www.ideecadeau")||m.includes("www.geschenkparadies")||m.includes("www.cadeaux24")||m.includes("www.mondoregali"),k=(0,c.Nv)(m);return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(a(),{children:[h&&(0,n.jsx)("meta",{name:"p:domain_verify",content:h}),(0,n.jsx)("title",{children:N}),(0,n.jsx)("meta",{name:"description",content:j}),g?Object.entries(g).map(e=>{let[r,t]=e;return(0,n.jsx)("link",{rel:"alternate",hrefLang:"".concat(r,"-CH"),href:t},t)}):null,f&&(0,n.jsx)("link",{rel:"canonical",href:m+f+(e=>{let r=[];return e?(Object.entries(e).forEach(e=>{let[t,n]=e;u.includes(t)&&n&&r.push("".concat(t,"=").concat(n.toString()))}),r.length>0?"?".concat(r.join("&")):""):""})(d)}),(v||!_)&&(0,n.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),t,(0,n.jsx)("meta",{property:"og:title",content:N}),(0,n.jsx)("meta",{property:"og:type",content:E}),(0,n.jsx)("meta",{property:"og:site_name",content:k}),P&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:P}}),b&&(0,n.jsx)("meta",{property:"og:image",content:b})]})})}},31194:(e,r,t)=>{"use strict";t.d(r,{P:()=>p});var n=t(60072),s=t(47050),a=t(35082),l=t(60157),o=t(84190),c=t(80092),i=t(97568),u=t(72290),d=t(84333);let p=e=>{let r=(0,u.Bd)(),{colors:t}=(0,i.DP)();return(0,n.jsxs)(d.Tz,{children:[(0,n.jsx)(s.IconEmojiEmbarrassed,{size:80,color:t.highlightDarkPurple}),(0,n.jsxs)("div",{className:"errorPageGiHeadings",children:[(0,n.jsx)(a.DZ,{as:"h2",weight:"bold",children:e.statusCode?e.statusCode:r("errorPages.pageNotFound.titleGi")}),(0,n.jsx)(l.h,{h:"xs"}),(0,n.jsx)(o.E,{children:r("errorPages.pageNotFound.msg")})]}),(0,n.jsx)(c.N,{display:"button",href:"/",className:"errorPageGiLink",children:r("backToStart")})]})}},38954:(e,r,t)=>{"use strict";t.d(r,{x:()=>n});let n=(e,r,t)=>{var n,s,a;let l,o=["/p/","/a/"],c=null==e||null==(n=e.req)?void 0:n.headers["x-base-path"],[i,u]=(l=t||window.location.pathname).split("?"),d=null!=(a=null!=(s=new URLSearchParams(u).get("id"))?s:e.query.id)?a:i.split("-")[i.split("-").length-1];if(i&&!i.includes("-")&&(d=i.split("/")[2]),d.startsWith("/")&&(d=d.slice(1)),(o.some(e=>l.includes(e))||o.some(e=>e===c))&&(d=i.split("/").pop()||d),!d)throw Error("No ID found");return d}},39852:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/product",function(){return t(81257)}])},47050:(e,r,t)=>{"use strict";t.r(r),t.d(r,{IconEmojiEmbarrassed:()=>o});var n=t(60072),s=t(60004),a=t(7337),l=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>r.indexOf(n)&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,n=Object.getOwnPropertySymbols(e);s<n.length;s++)0>r.indexOf(n[s])&&Object.prototype.propertyIsEnumerable.call(e,n[s])&&(t[n[s]]=e[n[s]]);return t};let o=e=>{let{color:r,colors:t,size:o,className:c}=e,i=l(e,["color","colors","size","className"]),u=(0,s.useMemo)(()=>(0,a.x9)(o),[o]);return(0,n.jsxs)("svg",Object.assign({id:"Ebene_4","data-name":"Ebene 4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r||"currentColor",width:u,height:u,className:"icon-emoji-embarrassed"+(c?" ".concat(c):"")},i,{children:[(0,n.jsx)("path",{d:"M21.286 8.302c.125-.322.188-.66.188-1.004 0-.652-.404-1.464-1.235-2.482-.361-.44-.749-.86-1.153-1.251l-.405-.384-.407.385c-.04.038-.178.172-.368.369C13.476.69 7.229 1.639 3.963 6.058c-1.587 2.147-2.243 4.783-1.847 7.424s1.796 4.968 3.943 6.554a9.92 9.92 0 0 0 7.424 1.847 9.928 9.928 0 0 0 6.555-3.943 9.932 9.932 0 0 0 1.248-9.638Zm-9.314-5.136h.008c1.857 0 3.634.571 5.142 1.652l-.074.093-.03.038c-.76.957-1.129 1.725-1.129 2.35a2.791 2.791 0 0 0 2.782 2.794h.006c.646 0 1.271-.224 1.77-.633a8.776 8.776 0 0 1-.65 6.66 8.777 8.777 0 0 1-5.204 4.318 8.807 8.807 0 0 1-2.607.394h-.
1007a8.772 8.772 0 0 1-6.24-2.583 8.774 8.774 0 0 1-2.593-6.243c-.003-4.87 3.956-8.836 8.826-8.84ZM20.298 7.3c.005.432-.158.84-.46 1.148-.3.31-.705.483-1.137.488h-.021c-.424 0-.823-.163-1.127-.46a1.608 1.608 0 0 1-.488-1.177c0-.536.806-1.622 1.617-2.474.81.852 1.616 1.937 1.616 2.474Z"}),(0,n.jsx)("path",{d:"M8.582 9.212c-1.2 0-2.176.976-2.176 2.176v.05h1.176v-.05a.98.98 0 0 1 .278-.7.98.98 0 0 1 .693-.3h.045c.257 0 .5.099.685.278a.98.98 0 0 1 .299.72l-.003.051h1.178v-.05c0-1.199-.975-2.175-2.175-2.175Z"}),(0,n.jsx)("path",{d:"M15.39 9.212c-1.2 0-2.176.976-2.176 2.176v.05h1.176v-.05a.98.98 0 0 1 .278-.7.977.977 0 0 1 .693-.3h.045c.257 0 .5.099.685.278a.98.98 0 0 1 .299.72l-.003.051h1.178v-.05c0-1.199-.975-2.175-2.175-2.175Z"}),(0,n.jsx)("path",{d:"M6.4 13.094v.05a5.548 5.548 0 0 0 1.61 3.96 5.549 5.549 0 0 0 3.938 1.663h.038c1.479 0 2.87-.57 3.924-1.61a5.55 5.55 0 0 0 1.662-3.94v-.123H6.4Zm9.84 1.176a4.376 4.376 0 0 1-1.985 2.651 4.371 4.371 0 0 1-3.333.504 4.393 4.393 0 0 1-3.2-3.155h8.518Z"})]}))}},48662:(e,r,t)=>{"use strict";t.d(r,{V:()=>c});var n=t(60072),s=t(56021),a=t.n(s),l=t(5708);let o=()=>{let{gtmId:e}=(0,l.Xe)();return e?(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a(),{id:"gtm",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,g,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n '/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n w[g]=w[g]||function(){w[l].push(arguments);};\n })(window,document,'script','dataLayer','gtag','".concat(e,"');\n ")}})}):null},c=e=>{let{additionalData:r={}}=e;return(0,n.jsx)(o,{})}},81257:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>y});var n=t(60072),s=t(5708),a=t(42393),l=t(38501),o=t(48662),c=t(43738),i=t(99784),u=t(36994),d=t(10385),p=t(73141),h=t(7747),g=t(87293),m=t(29940),j=t(60004),w=t(38954);let x=e=>{var r;let{page:t,questions:u,reviews:d,questionnaire:p,wishboxExperiences:g,id:w,rawHeaders:x,baseUrl:f}=e,{siteContent:v}=(0,s.Xe)(),[y,b]=(0,j.useState)(t),P=(0,a.gF)(e=>e.loggedIn),E=(0,a.gF)(e=>e.setLanguageSwitchUrls),N=(0,j.useRef)(P);return(0,j.useEffect)(()=>{if(P!==N.current){N.current=P;try{(0,l.Gj)(x,f).getProduct(w).then(e=>{e&&b(e)}).catch(e=>{console.error("Error refreshing product on login change",e)})}catch(e){console.error("Error creating catalogue client",e)}}},[P]),(0,j.useEffect)(()=>{if(b(t),t){var e;E(null==(e=t.meta)?void 0:e.languageSwitchURLs)}},[t]),(0,n.jsx)(n.Fragment,{children:(null==y?void 0:y.product)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.V,{}),(0,n.jsx)(h.v,{meta:y.meta}),(0,n.jsx)(c.N,{product:{...y.product,productType:y.product.productType||c.c.Product},questions:u,reviews:d,questionnaire:p,wishboxExperiences:g,hasCommunityFeature:null==v||null==(r=v.flags)?void 0:r.community,linkPage:m.p.Product,baseUrl:f})]}):(0,n.jsx)(i.L,{})})},f=async(e,r,t)=>{let n=(0,u.j)(e);try{let[{ret:e},{ret:s},{ret:a}]=await Promise.all([n.getAllQuestionsByReference({onlyApproved:!0,referenceId:r,referenceType:t,page:0,limit:d.gD}),n.getAllReviewsByReference({onlyApproved:!0,referenceId:r,referenceType:t,page:0,limit:d.gD}),n.getQuestionnaireAnalyticByReference({onlyApproved:!1,referenceId:r,referenceType:t})]);return{questions:e,reviews:s,questionnaire:a}}catch(e){return{questions:null,reviews:null,questionnaire:null}}},v=async(e,r,t)=>{try{var n;let s=(0,l.Gj)(r,t),a=await s.getRelatedProductsByType(e,[c.c.ExperienceVoucher]);return null!=(n=null==a?void 0:a.filter(e=>(null==e?void 0:e.productType)===c.c.ExperienceVoucher))?n:null}catch(e){return console.error("Error fetching wishbox experiences",e),null}};x.getInitialProps=async e=>{var r,t,n;let s,a,o,i,{req:d,asPath:h}=e,m=(0,w.x)(e,d,h),j=(0,p.uo)(e),x=null==d?void 0:d.rawHeaders,y=null;try{if(!(s=await (0,l.Gj)(x,j).getProduct(m)))throw Error("Page not found");let r=(null==(t=s.product)?void 0:t.productType)===c.c.Wishbox,[d,p]=await Promise.all([(null==(n=e.flags)?void 0:n.community)&&s.product?f(e,s.product.sku,(0,u.s)(s.product.productType)):null,r&&s.product?v(s.product.sku,x,j):null]);d&&(a=d.questions,o=d.reviews,i=d.questionnaire),y=p}catch(r){return console.error("Error fetching product",r),e.res&&(e.res.statusCode=404),{id:m,page:null}}return{id:m,page:s,questions:a,reviews:o,questionnaire:i,wishboxExperiences:y,rawHeaders:null==(r=e.req)?void 0:r.rawHeaders,baseUrl:(0,p.uo)(e),layout:g.PE.Full}};let y=x},99784:(e,r,t)=>{"use strict";t.d(r,{L:()=>j});var n=t(60072),s=t(74970),a=t(31194),l=t(35082),o=t(59661),c=t(84190),i=t(60157),u=t(80092),d=t(79460),p=t(72290),h=t(36956),g=t(84333);let m=()=>{let e=(0,p.Bd)();return(0,n.jsxs)(g.in,{children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(l.DZ,{as:"h2",mb:(0,o.D0)(25),weight:"medium",fs:900,children:e("errorPages.pageNotFound.title")}),(0,n.jsxs)("div",{children:[(0,n.jsx)(c.E,{children:e("errorPages.pageNotFound.msg")}),(0,n.jsx)(i.h,{h:"xs"}),(0,n.jsx)(u.N,{href:"/",hasLinkArrow:!0,children:e("backToStart")})]})]}),(0,n.jsx)("div",{className:"errorPageImg",children:(0,n.jsx)(h.V,{src:"https://images.ctfassets.net/hg3j0azooxs3/1wTGowe5Z8UCjKwQz6OzAN/6023aaad0faf9790f28936c6078a885a/220816_404-Page_1546x1160px.jpg",alt:"Homemade",ratio:d.gl.Portrait})})]})},j=()=>(0,s.np)()?(0,n.jsx)(a.P,{}):(0,n.jsx)(m,{})}},e=>{e.O(0,[90636,46593,38792],()=>e(e.s=39852)),_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.