"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[32],{129:(e,n,s)=>{var t=s(0);const o={container_desktop:"tikDQBGb",container_mobile:"DYLjMi9f",tab:"ZXp_Ab9w",sidebar:"lgLFZyFr",content:"xDYXubXE",content_desktop:"QWhTFpvQ",arrow:"VnAbydrx"};var i=s(2);function c(){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:o.arrow,children:(0,t.jsx)("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"})})}(0,s(1).createEntrypoint)("accordion_section",(function(e){const[n,s]=(0,i.useState)();(0,i.useEffect)((()=>{const n=()=>{const n=window.location.hash.replace("#","")||e.accordions[0].handle;s(n)};return n(),window.addEventListener("hashchange",n),()=>{window.removeEventListener("hashchange",n)}}),[]);const r=(n,t)=>{"desktop"==e.device&&n.preventDefault(),window.history.replaceState(void 0,"",`#${t}`),s(t)};return"desktop"==e.device?(0,t.jsxs)("div",{class:o.container_desktop,children:[(0,t.jsx)("div",{class:o.sidebar,children:e.accordions.map((e=>(0,t.jsxs)("a",{onClick:n=>r(n,e.handle),href:`#${e.handle}`,class:o.tab,style:{fontWeight:n===e.handle?600:400},children:[(0,t.jsx)("span",{children:e.title}),(0,t.jsx)(c,{})]})))}),(0,t.jsx)("div",{class:[o.content,o.content_desktop].join(" "),children:e.accordions.map((e=>(0,t.jsx)("div",{style:{display:n===e.handle?"block":"none"},children:(0,t.jsx)("div",{class:"rich-text",dangerouslySetInnerHTML:{__html:e.content}})})))})]}):(0,t.jsx)("div",{class:o.container_mobile,children:e.accordions.map((e=>(0,t.jsxs)("div",{children:[(0,t.jsxs)("a",{onClick:n=>r(n,e.handle),href:`#${e.handle}`,class:o.tab,children:[(0,t.jsx)("span",{children:e.title}),(0,t.jsx)("div",{style:{transition:"transform 0.2s ease",transform:n===e.handle?"rotate(90deg)":"none"},children:(0,t.jsx)(c,{})})]}),(0,t.jsx)("div",{id:e.handle,class:[o.content_section,o.content,"rich-text"].join(" "),style:{display:n===e.handle?"block":"none"},dangerouslySetInnerHTML:{__html:e.content}})]})))})}))}},e=>{e.O(0,[1],(()=>e(e.s=129))),e.O()}]);