1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8153],{8153:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var o=a(37876),l=a(14232);a(44088);var n=a(27993),r=a(39822),s=a(67740),i=a(27365),p=a(30488),x=a(89099),d=a(6551);function u({block:e}){let t=(0,x.useRouter)(),[a,c]=(0,l.useState)([0]),{contentBlox:h,parameters:b}=e,[g]=(0,n.U)("(max-width: 975px)"),m=(0,l.useRef)(),w=e?.json?JSON.parse(e.json):{},f=w?.accentColor?w.accentColor:"#04A6E2",C=w?.layout?w.layout:1,j=w?.baseColor?w.baseColor:"#04A6E2",y=w?.noDefault?null:"tab-0",[k,v]=(0,l.useState)(y),F=w?.tabsHashMap?w?.tabsHashMap:{"reg-addons":0,compare:1,"reg-discounts":2,"reg-types":3,terms:4,"photo-badge":5};return(0,l.useEffect)(()=>{let e=()=>{let e="#tab-",a="-section-",o=null,l=window.location.hash;if(!l.includes(e))return;let n=l.split(e)[1];l.includes(a)&&(o=n.split(a)[1]);let r=o?n.split(a)[0]:n.split(e)[0];if(!l||!F.hasOwnProperty(r))return;let s=F[r];if(null==s)return;let i=window.matchMedia("(max-width: 975px)").matches;setTimeout(()=>{i?c([s]):v(`tab-${s}`);let e=t.query.show?t.query.show:!!o&&o,a=e?m.current?.querySelector("#"+e):m.current;a&&setTimeout(()=>{(0,d.VG)(a)},200*!!e),setTimeout(()=>{history.replaceState(null,null,window.location.href.split("#")[0])},1e3)},200)};return window.addEventListener("hashchange",e),e(),()=>{window.removeEventListener("hashchange",e)}},[]),(0,o.jsx)(r.a,{id:"details",ref:m,padding:g?"0px":"auto",className:`tctTabs ${e.customClass?e.customClass:""}`,backgroundColor:g?"#F0F0F0":"white",children:g?(0,o.jsx)(r.a,{color:"black",backgroundColor:"#F0F0F0",padding:"0px 30px",border:"solid 1px #F0F0F0",children:(0,o.jsx)(s.Xl,{collapsible:!0,value:a,onValueChange:e=>c(e.value),mt:"30px",mb:"30px",children:b.map((e,t)=>(0,o.jsxs)(s.As,{value:t,mb:"10px",backgroundColor:"white",children:[2==C?(0,o.jsx)(s.Sx,{textAlign:"center",display:"flex",justifyContent:"center",color:a.includes(t)?"white":"black",backgroundColor:a.includes(t)?f:"white",transition:"all 0.3s ease-in-out",pt:"8px",pb:"12px",borderRadius:"0px",children:e.value}):(0,o.jsx)(s.Sx,{textAlign:"center",display:"flex",justifyContent:"center",color:a.includes(t)?f:"black",borderTop:a.includes(t)?`solid 4px ${f}`:"solid 4px white",transition:"all 0.3s ease-in-out",pt:"8px",pb:"12px",children:e.value}),(0,o.jsx)(s.b,{children:(0,o.jsx)(s.i$,{className:"body",padding:"10px 20px 20px 20px",children:(0,o.jsx)(r.a,{dangerouslySetInnerHTML:{__html:h[t].block},mb:"20px"})})})]},t))})}):(0,o.jsxs)(i.pK,{value:k,onValueChange:e=>{v(e.value)},backgroundColor:g?"#F5F5F7":"transparent",paddingTop:g?"20px":"auto",children:[(0,o.jsx)(i.j7,{className:"tabsList",borderRadius:"0px",backgroundColor:"#F5F5F7",p:g?"0px 0px":"20px 30px 0px 30px",margin:g?"0px 20px 20px":"0px 0px 0px",gap:g?"0px":"20px",flexDirection:g?"column":"row",border:g?`solid 3px ${f} !important`:"none",overflow:"hidden",children:(0,o.jsx)(r.a,{className:"tabs-trigger-wrapper",maxW:"1440px",w:"100%",margin:"0 auto",display:"flex",gap:g?"0px":"20px",justifyContent:2==C?"space-between":"flex-start",children:b.map((e,t)=>(0,o.jsx)(i.Xi,{color:j,textDecoration:2==C?"underline":"none",fontWeight:"500",borderTop:2==C||g?"none":"solid 5px white",backgroundColor:"white",borderRadius:"0px",pt:0===t?"15px":"10px",pb:"10px",px:"20px",_selected:2==C?{borderTop:"none",backgroundColor:f,color:"white",textDecoration:"none"}:{borderColor:f,color:f},_before:{display:"none"},fontSize:2==C?"18px":"14px",lineHeight:"17px",height:"unset",justifyContent:g?"flex-start":"center",textAlign:"left",width:"auto",onClick:e=>{k==e.target.getAttribute("data-value")&&setTimeout(()=>{v(-1)},100)},value:`tab-${t}`,children:(0,o.jsx)(p.E,{as:"span",dangerouslySetInnerHTML:{__html:e.value}})},t))})}),(0,o.jsx)(r.a,{maxW:"1500px",margin:"20px auto 0px auto",className:"body",children:h.map((e,t)=>(0,o.jsx)(i.av,{p:"20px 30px",color:"black",dangerouslySetInnerHTML:{__html:e.block},value:`tab-${t}`,css:{"& *:first-child":{mt:"0px"}}},t))})]})})}}}]); 2//# sourceMappingURL=8153.daaa4c28595e1619.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.