"use strict";(self.webpackChunkhhgDiscoverV1=self.webpackChunkhhgDiscoverV1||[]).push([[1813],{rBCA:function(e,t,r){r.d(t,{A:function(){return u}});var n=r("+9dH"),a=r("+OUp"),o=r("fezH"),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,o.A)(function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),s=r("q5MD"),c=r("eVQB"),d=r("54pO"),p=r("xLBD"),testOmitPropsOnComponent=function(e){return"theme"!==e},getDefaultShouldForwardProp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:testOmitPropsOnComponent},composeShouldForwardProps=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(t){return e.__emotion_forwardProp(t)&&a(t)}:a}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Insertion=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,p.s)(function(){return(0,c.sk)(t,r,n)}),null},u=(function createStyled(e,t){var r,o,i=e.__emotion_real===e,l=i&&e.__emotion_base||e;void 0!==t&&(r=t.label,o=t.target);var p=composeShouldForwardProps(e,t,i),u=p||getDefaultShouldForwardProp(l),m=!u("as");return function(){var f=arguments,h=i&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&h.push("label:"+r+";"),null==f[0]||void 0===f[0].raw)h.push.apply(h,f);else{h.push(f[0][0]);for(var g=f.length,_=1;_t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);at.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function __awaiter(e,t,r,n){return new(r||(r=Promise))(function(a,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n.throw(e))}catch(e){o(e)}}function step(e){var t;e.done?a(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})}r.d(t,{_:function(){return __awaiter},a:function(){return __rest}})},CL9C:function(e,t,r){r.d(t,{B:function(){return n},M:function(){return o},S:function(){return a},a:function(){return getPopupWrapperDom},b:function(){return getWrapperDomWithSelector},c:function(){return safeEncodeURI},d:function(){return convertDay},e:function(){return sleep},f:function(){return formatUrlWithPageParam},g:function(){return getBoundariesFromMediaQueryKey},m:function(){return makeParams},s:function(){return startCase},t:function(){return toggleNoScroll}});let makeParams=e=>{let t=Object.keys(e);return t.length?"?"+t.map(t=>`${t}=${e[t]}`).join("&"):""},formatUrlWithPageParam=(e,t=1,r="page")=>{let[n,a]=e.split("?"),o=new URLSearchParams(a||""),i={};return o.forEach((e,t)=>{e&&(i[t]=e)}),Number(t)>1?i[r]=String(t):delete i[r],n+makeParams(i)},toggleNoScroll=e=>{"undefined"!=typeof window&&(document.documentElement.style.overflow=e?"hidden":"")},n={BREAK_POINT_SMALL_MOBILE:480,BREAK_POINT_MOBILE:768,BREAK_POINT_TABLET:1024,BREAK_POINT_PC:1159,BREAK_POINT_LGPC:1440},a={LG:1160},o={smbDown:`@media (max-width: ${n.BREAK_POINT_SMALL_MOBILE-1}px)`,smbUp:`@media (min-width: ${n.BREAK_POINT_SMALL_MOBILE}px)`,mbDown:`@media (max-width: ${n.BREAK_POINT_MOBILE-1}px)`,mbOnly:`@media (min-width: ${n.BREAK_POINT_SMALL_MOBILE}px) and (max-width: ${n.BREAK_POINT_MOBILE-1}px)`,mbUp:`@media (min-width: ${n.BREAK_POINT_MOBILE}px)`,tdDown:`@media (max-width: ${n.BREAK_POINT_TABLET-1}px)`,tdOnly:`@media (min-width: ${n.BREAK_POINT_MOBILE}px) and (max-width: ${n.BREAK_POINT_TABLET-1}px)`,tdUp:`@media (min-width: ${n.BREAK_POINT_TABLET}px)`,pcUp:`@media (min-width: ${n.BREAK_POINT_PC}px)`,pcOnly:`@media (min-width: ${n.BREAK_POINT_TABLET}px) and (max-width: ${n.BREAK_POINT_PC-1}px)`,pcDown:`@media (max-width: ${n.BREAK_POINT_PC-1}px)`,lgPcUp:`@media (min-width: ${n.BREAK_POINT_LGPC}px)`,lgPcOnly:`@media (min-width: ${n.BREAK_POINT_PC}px) and (max-width: ${n.BREAK_POINT_LGPC-1}px)`,lgPcDown:`@media (max-width: ${n.BREAK_POINT_LGPC-1}px)`,mbToPC:`@media (min-width: ${n.BREAK_POINT_MOBILE}px) and (max-width: ${n.BREAK_POINT_PC-1}px)`},getBoundariesFromMediaQueryKey=e=>{switch(e){case"smbDown":return[0,n.BREAK_POINT_SMALL_MOBILE-1];case"smbUp":return[n.BREAK_POINT_SMALL_MOBILE,0];case"mbDown":return[0,n.BREAK_POINT_MOBILE-1];case"mbOnly":return[n.BREAK_POINT_SMALL_MOBILE,n.BREAK_POINT_MOBILE-1];case"mbUp":return[n.BREAK_POINT_MOBILE,0];case"tdDown":return[0,n.BREAK_POINT_TABLET-1];case"tdOnly":return[n.BREAK_POINT_MOBILE,n.BREAK_POINT_TABLET-1];case"tdUp":return[n.BREAK_POINT_TABLET,0];case"pcUp":return[n.BREAK_POINT_PC,0];case"pcOnly":return[n.BREAK_POINT_TABLET,n.BREAK_POINT_PC-1];case"pcDown":return[0,n.BREAK_POINT_PC-1];case"lgPcUp":return[n.BREAK_POINT_LGPC,0];case"lgPcOnly":return[n.BREAK_POINT_PC,n.BREAK_POINT_LGPC-1];case"lgPcDown":return[0,n.BREAK_POINT_LGPC-1];case"mbToPC":return[n.BREAK_POINT_MOBILE,n.BREAK_POINT_PC-1]}},getPopupWrapperDom=()=>{if("undefined"==typeof document)return null;let e="hhg-comp-popup-wrapper";if(!document.querySelector("#"+e)){let t=document.createElement("div");t.id=e,document.body.appendChild(t)}return document.querySelector("#"+e)},getWrapperDomWithSelector=(e,t)=>{if("undefined"==typeof document)return null;if(!e.querySelector(`[data-wrapper-selector="${t}"]`)){let e=document.createElement("div");e.setAttribute("data-wrapper-selector",t),document.body.appendChild(e)}return e.querySelector(`[data-wrapper-selector="${t}"]`)},startCase=e=>e.replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}),safeEncodeURI=e=>decodeURI(e)!==e?e:encodeURI(e),convertDay=e=>{if(!e)return{years:0,months:0,weeks:0};let t=parseInt(`${e/365}`),r=parseInt(`${e/30}`),n=parseInt(`${e/7}`);return{years:t,months:r,weeks:n}},sleep=e=>new Promise(t=>setTimeout(t,e))}}]);