PageSourceSearch

https://www.johnrichard.com.br/_next/static/chunks/f3ae0eefffe06a6d.js

js johnrichard.com.br collected 2026-10-05 19:45:30 UTC 42,992 bytes, 567 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90750,e=>{"use strict";var t=e.i(43476),r=e.i(18898),o=e.i(71645),i=e.i(94256),s=e.i(31141);let a=e=>{(0,s.setCookie)(void 0,"JohnRichardCookies",JSON.stringify(e),{maxAge:31536e4,path:"/"})};var n=e.i(97053);let l=n.default.div.withConfig({displayName:"styles__ToggleContainer",componentId:"sc-879dca5e-0"})`
2  display: flex;
3  align-items: center;
4  gap: 15px;
5`,d=n.default.div.withConfig({displayName:"styles__ToggleButton",componentId:"sc-879dca5e-1"})`
6  width: 3rem;
7  height: 1.5rem;
8  border-radius: 1.5rem;
9  display: flex;
10  align-items: center;
11  justify-content: ${({isActive:e})=>e?"flex-end":"flex-start"};
12  background-color: ${({isActive:e})=>e?"lightgreen":"lightgray"};
13  padding: 0.25rem;
14  cursor: pointer;
15  transition: background-color 0.3s, justify-content 0.3s;
16`,c=n.default.div.withConfig({displayName:"styles__ToggleCircle",componentId:"sc-879dca5e-2"})`
17  width: 1.25rem;
18  height: 1.25rem;
19  background-color: white;
20  border-radius: 50%;
21  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
22  transition: transform 0.3s;
23
24  ${({isActive:e})=>e&&n.css`
25      transform: scale(1.1);
26    `}
27`,p=({currentOption:e,setCurrentCookies:r,currentCookies:o})=>{let i=3===e?o.functionality:4===e?o.tracking:5!==e||o.targeting;return(0,t.jsxs)(l,{children:[(0,t.jsx)(d,{isActive:i,onClick:()=>{3===e&&r(e=>({...e,functionality:!e.functionality})),4===e&&r(e=>({...e,tracking:!e.tracking})),5===e&&r(e=>({...e,targeting:!e.targeting}))},children:(0,t.jsx)(c,{isActive:i})}),(0,t.jsx)("span",{children:i?"Ativo":"Inativo"})]})};var u=e.i(78640);let m=n.default.div.withConfig({displayName:"styles__ModalBackground",componentId:"sc-2d72dafe-0"})`
28  ${e=>!e.$show&&n.css`display: none;`}
29  position: fixed;
30  top: 0;
31  left: 0;
32  height: 100%;
33  width: 100%;
34  z-index: 99999;
35  background: #00000059;
36`,h=n.default.section.withConfig({displayName:"styles__ModalContainer",componentId:"sc-2d72dafe-1"})(()=>n.css`
37    max-width: 46.875rem;
38    background-color: ${u.Theme.colors.white};
39    margin: 20px;
40    height: 90%;
41    overflow: auto;
42
43    ${u.Theme.breakpoints.up("laptop")} {
44      height: auto;
45      margin: 1.875rem auto;
46    }
47  `),g=n.default.div.withConfig({displayName:"styles__ContainerTitle",componentId:"sc-2d72dafe-2"})`
48  display: flex;
49  justify-content: space-between;
50  align-items: center;
51  padding: 0.9375rem;
52  border-bottom: 1px solid #ccc;
53
54  svg {
55    cursor: pointer;
56  }
57`,f=n.default.h2.withConfig({displayName:"styles__Subtitle",componentId:"sc-2d72dafe-3"})`
58  font-weight: bold;
59  font-size: 1.25rem;
60`,y=n.default.div.withConfig({displayName:"styles__ContainerContent",componentId:"sc-2d72dafe-4"})(()=>n.css`
61    display: flex;
62    flex-direction: column;
63
64    ${u.Theme.breakpoints.up("laptop")} {
65      flex-direction: row;
66    }
67  `),x=n.default.div.withConfig({displayName:"styles__ContainerButtons",componentId:"sc-2d72dafe-5"})(({$currentOption:e})=>n.css`
68    display: flex;
69    flex-direction: column;
70    width: 100%;
71    background-color: #e6e6e6;
72
73    ${u.Theme.breakpoints.up("laptop")} {
74      min-width: 9.375rem;
75      width: 9.375rem;
76    }
77
78    button {
79      cursor: pointer;
80      padding: 0.625rem;
81      font-size: 0.75rem;
82      border-bottom: 1px solid #ccc;
83
84      &:nth-child(${e}) {
85        background-color: ${u.Theme.colors.white};
86      }
87    }
88  `),b=n.default.div.withConfig({displayName:"styles__Content",componentId:"sc-2d72dafe-6"})`
89  padding: 25px;
90
91  h2 {
92    font-size: 1.5rem;
93    margin-bottom: 1rem;
94    font-weight: 600;
95  }
96
97  p {
98    margin-bottom: 1rem;
99  }
100`,v=n.default.div.withConfig({displayName:"styles__ContainerFooter",componentId:"sc-2d72dafe-7"})(()=>n.css`
101    display: flex;
102    justify-content: center;
103    align-items: center;
104    padding: 0.9375rem;
105    border-top: 1px solid #ccc;
106
107    ${u.Theme.breakpoints.up("laptop")} {
108      justify-content: end;
109    }
110
111    button {
112      cursor: pointer;
113      padding: 0.5rem 1rem;
114      color: ${u.Theme.colors.white};
115      background-color: ${u.Theme.colors.darkPurple};
116    }
117  `),k=()=>{let{closeCookieCard:e,closeCookiePolicyModal:s,showCookiePolicyModal:n}=(0,o.useContext)(r.CookieContext),[l,d]=(0,o.useState)(1),[c,u]=(0,o.useState)({functionality:!0,strictlyNecessary:!0,targeting:!0,tracking:!0});return(0,t.jsx)(m,{$show:n,children:(0,t.jsxs)(h,{children:[(0,t.jsxs)(g,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{children:"John Richard"}),(0,t.jsx)(f,{children:"Centro de preferências de cookies"})]}),(0,t.jsx)("div",{children:(0,t.jsx)("button",{onClick:s,children:(0,t.jsx)(i.IoClose,{size:25})})})]}),(0,t.jsxs)(y,{children:[(0,t.jsxs)(x,{$currentOption:l,children:[(0,t.jsx)("button",{onClick:()=>d(1),children:"A sua privacidade"}),(0,t.jsx)("button",{onClick:()=>d(2),children:"Cookies estritamente necessários"}),(0,t.jsx)("button",{onClick:()=>d(3),children:"Cookies de funcionalidade"}),(0,t.jsx)("button",{onClick:()=>d(4),children:"Cookies de medição e desempenho"}),(0,t.jsx)("button",{onClick:()=>d(5),children:"Cookies de segmentação e publicidade"}),(0,t.jsx)("button",{onClick:()=>d(6),children:"Mais Informações"})]}),(0,t.jsxs)(b,{children:[1===l&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"A sua privacidade é importante para nós"}),(0,t.jsx)("p",{children:"Cookies são pequenos arquivos de texto que são armazenados no seu c
117omputador quando visita um site. Utilizamos cookies para diversos fins e para aprimorar sua experiência no nosso site (por exemplo, para se lembrar dos detalhes de login da sua conta)."}),(0,t.jsx)("p",{children:"Pode alterar as suas preferências e recusar o armazenamento de certos tipos de cookies no seu computador enquanto navega no nosso site. Pode também remover todos os cookies são armazenados no seu computador, mas lembre-se de que a exclusão de cookies pode impedir o uso de determinadas Áreas no nosso site."})]}),2===l&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"Cookies estritamente necessários"}),(0,t.jsx)("p",{children:"Estes cookies são essenciais para fornecer serviços disponíveis no nosso site e permitir que possa usar determinados recursos no nosso site."}),(0,t.jsx)("p",{children:"Sem estes cookies, não podemos fornecer certos serviços no nosso site."}),(0,t.jsx)(p,{currentCookies:c,currentOption:l,setCurrentCookies:u},2)]}),3===l&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"Cookies de funcionalidade"}),(0,t.jsx)("p",{children:"Estes cookies são usados para fornecer uma experiência mais personalizada no nosso site e para lembrar as escolhas que faz ao usar o nosso site."}),(0,t.jsx)("p",{children:"Por exemplo, podemos usar cookies de funcionalidade para se lembrar das suas preferências de idioma e/ ou os seus detalhes de login."}),(0,t.jsx)(p,{currentCookies:c,currentOption:l,setCurrentCookies:u},3)]}),4===l&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"Cookies de medição e desempenho"}),(0,t.jsx)("p",{children:"Estes cookies são usados para coletar informações para analisar o tráfego no nosso site e entender como que os visitantes estão a usar o nosso site."}),(0,t.jsx)("p",{children:"Por exemplo, estes cookies podem medir fatores como o tempo despendido no site ou as pginas visitadas, isto vai permitir entender como podemos melhorar o nosso site para os utilizadores."}),(0,t.jsx)("p",{children:"As informações coletadas por meio destes cookies de medição e desempenho não identificam nenhum visitante individual."}),(0,t.jsx)(p,{currentCookies:c,currentOption:l,setCurrentCookies:u},4)]}),5===l&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"Cookies de segmentação e publicidade"}),(0,t.jsx)("p",{children:"Estes cookies são usados para mostrar publicidade que provavelmente lhe pode interessar com base nos seus hábitos e comportamentos de navegação."}),(0,t.jsx)("p",{children:"Estes cookies, servidos pelo nosso conteúdo e/ ou fornecedores de publicidade, podem combinar as informações coletadas no nosso site com outras informações coletadas independentemente relacionadas com as atividades na rede de sites do seu navegador."}),(0,t.jsx)("p",{children:"Se optar por remover ou desativar estes cookies de segmentação ou publicidade, ainda verão anúncios, mas estes poderão não ser relevantes para si."}),(0,t.jsx)(p,{currentCookies:c,currentOption:l,setCurrentCookies:u},5)]}),6===l&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{children:"Mais Informações"}),(0,t.jsx)("p",{children:"Para qualquer dúvida sobre a nossa política de cookies e as suas opções, entre em contato conosco."}),(0,t.jsxs)("p",{children:["Para obter mais detalhes, por favor consulte a nossa"," ",(0,t.jsx)("a",{href:"",children:"Política de Privacidade."})]})]})]})]}),(0,t.jsx)(v,{children:(0,t.jsx)("button",{onClick:()=>{a(c),s(),e()},children:"Guardar as minhas preferências"})})]})})},j=n.default.section.withConfig({displayName:"styles__CookieCard",componentId:"sc-9db71ba9-0"})(()=>n.css`
118    position: fixed;
119    z-index: 99;
120    right: 0;
121    bottom: 0;
122    max-width: 43.75rem;
123    padding: 3rem;
124    border: 0.0625rem solid #e5e7eb;
125    background-color: #f2f2f2;
126
127    h2 {
128      font-size: 1.5rem;
129      margin-bottom: 1rem;
130    }
131
132    div {
133      display: flex;
134      flex-direction: column;
135      gap: 0.625rem;
136      margin-top: 1.25rem;
137
138      ${u.Theme.breakpoints.up("laptop")} {
139        flex-direction: row;
140      }
141    }
142
143    div > button {
144      cursor: pointer;
145      padding: 0.5rem 1rem;
146      text-align: center;
147    }
148
149    div > button:first-child {
150      background: ${u.Theme.colors["gray-700"]};
151    }
152
153    div > button:last-child {
154      color: ${u.Theme.colors.white};
155      background: ${u.Theme.colors.darkPurple};
156    }
157  `),$=()=>{let{showCookieCard:e,closeCookieCard:i,openCookiePolicyModal:s}=(0,o.useContext)(r.CookieContext);return(0,t.jsx)(t.Fragment,{children:e&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(j,{children:[(0,t.jsx)("h2",{children:"O nosso site usa cookies"}),(0,t.jsx)("p",{children:"Utilizamos cookies e outras tecnologias de medição para melhorar a sua experiência de navegação no nosso site, de forma a mostrar conteúdo personalizado, anúncios direcionados, analisar o tráfego do site e entender de onde vêm os visitantes."}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{onClick:s,children:"Alterar minhas preferências"}),(0,t.jsx)("button",{onClick:()=>{a({functionality:!0,strictlyNecessary:!0,targeting:!0,tracking:!0}),i()},children:"Concordo"})]})]}),(0,t.jsx)(k,{})]})})};e.i(32447),e.i(24394);var w=e.i(91321);e.i(23821),e.i(91065);var C=e.i(4412),_=e.i(31898),T=e.i(11386);
157let I=n.default.h2.withConfig({displayName:"CategoryDescription.styles__Headline",componentId:"sc-727fb28b-0"})(()=>n.css`
158    font-size: ${(0,T.rem)(20)};
159    color: ${u.Theme.colors.darkPurple};
160    font-weight: 500;
161  `),N=n.default.p.withConfig({displayName:"CategoryDescription.styles__Description",componentId:"sc-727fb28b-1"})(()=>n.css`
162    font-size: ${(0,T.rem)(16)};
163    white-space: pre-wrap;
164  `),S=n.default.div.withConfig({displayName:"CategoryDescription.styles__Wrapper",componentId:"sc-727fb28b-2"})(()=>n.css`
165    ${(0,T.flex)("flex-start","flex-start")};
166    flex-direction: column;
167    margin-top: ${(0,T.rem)(60)};
168    gap: ${(0,T.rem)(10)};
169    color: #444;
170  `),P=({headline:e,description:r})=>(0,t.jsxs)(S,{children:[(0,t.jsx)(I,{children:e}),(0,t.jsx)(N,{children:r})]});var F=e.i(1098),E=e.i(1731);function O({schemas:e}){return e&&0!==e.length?(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(1===e.length?e[0]:e)}}):null}let A="https://www.johnrichard.com.br";var z=e.i(11059),B=e.i(22016),R=e.i(18566);let U="%[a-f0-9]{2}",L=RegExp("("+U+")|([^%]+?)","gi"),M=RegExp("("+U+")+","gi");function q(e,t){if("string"!=typeof e||"string"!=typeof t)throw TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];let r=e.indexOf(t);return -1===r?[]:[e.slice(0,r),e.slice(r+t.length)]}let D=Symbol("encodeFragmentIdentifier");function H(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function J(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`):encodeURIComponent(e):e}function W(e,t){if(t.decode){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{var r=e;let t={"%FE%FF":"��","%FF%FE":"��"},o=M.exec(r);for(;o;){try{t[o[0]]=decodeURIComponent(o[0])}catch{let e=function(e){try{return decodeURIComponent(e)}catch{let t=e.match(L)||[];for(let r=1;r<t.length;r++)t=(e=(function e(t,r){try{return[decodeURIComponent(t.join(""))]}catch{}if(1===t.length)return t;r=r||1;let o=t.slice(0,r),i=t.slice(r);return Array.prototype.concat.call([],e(o),e(i))})(t,r).join("")).match(L)||[];return e}}(o[0]);e!==o[0]&&(t[o[0]]=e)}o=M.exec(r)}for(let e of(t["%C2"]="�",Object.keys(t)))r=r.replace(RegExp(e,"g"),t[e]);return r}}return e}function Y(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function K(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function G(e){let t=(e=Y(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function V(e,t){H((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);let r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,o)=>{if(t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),!t){o[e]=r;return}void 0===o[e]&&(o[e]={}),o[e][t[1]]=r};case"bracket":return(e,r,o)=>{if(t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),!t){o[e]=r;return}if(void 0===o[e]){o[e]=[r];return}o[e]=[...o[e],r]};case"colon-list-separator":return(e,r,o)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!t){o[e]=r;return}if(void 0===o[e]){o[e]=[r];return}o[e]=[...o[e],r]};case"comma":case"separator":return(t,r,o)=>{let i="string"==typeof r&&r.includes(e.arrayFormatSeparator),s="string"==typeof r&&!i&&W(r,e).includes(e.arrayFormatSeparator);r=s?W(r,e):r;let a=i||s?r.split(e.arrayFormatSeparator).map(t=>W(t,e)):null===r?r:W(r,e);o[t]=a};case"bracket-separator":return(t,r,o)=>{let i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!i){o[t]=r?W(r,e):r;return}let s=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>W(t,e));if(void 0===o[t]){o[t]=s;return}o[t]=[...o[t],...s]};default:return(e,t,r)=>{if(void 0===r[e]){r[e]=t;return}r[e]=[...[r[e]].flat(),t]}}}(t),o=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return o;for(let i of e.split("&")){if(""===i)continue;let e=t.decode?i.replace(/\+/g," "):i,[s,a]=q(e,"=");void 0===s&&(s=e),a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:W(a,t),r(W(s,t),a,o)}for(let[e,r]of Object.entries(o))if("object"==typeof r&&null!==r)for(let[e,o]of Object.entries(r))r[e]=K(o,t);else o[e]=K(r,t);return!1===t.sort?o:(!0===t.sort?Object.keys(o).sort():Object.keys(o).sort(t.sort)).reduce((e,t)=>
170{let r=o[t];return r&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}function Q(e,t){if(!e)return"";H((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);let r=r=>t.skipNull&&null==e[r]||t.skipEmptyString&&""===e[r],o=function(e){switch(e.arrayFormat){case"index":return t=>(r,o)=>{let i=r.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:null===o?[...r,J(t,e)+"["+i+"]"]:[...r,J(t,e)+"["+J(i,e)+"]="+J(o,e)]};case"bracket":return t=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:null===o?[...r,J(t,e)+"[]"]:[...r,J(t,e)+"[]="+J(o,e)];case"colon-list-separator":return t=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:null===o?[...r,J(t,e)+":list="]:[...r,J(t,e)+":list="+J(o,e)];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(o,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?o:(i=null===i?"":i,0===o.length)?[[J(r,e),t,J(i,e)].join("")]:[[o,J(i,e)].join(e.arrayFormatSeparator)]}default:return t=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:null===o?[...r,J(t,e)]:[...r,J(t,e)+"="+J(o,e)]}}(t),i={};for(let[t,o]of Object.entries(e))r(t)||(i[t]=o);let s=Object.keys(i);return!1!==t.sort&&s.sort(t.sort),s.map(r=>{let i=e[r];return void 0===i?"":null===i?J(r,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?J(r,t)+"[]":i.reduce(o(r),[]).join("&"):J(r,t)+"="+J(i,t)}).filter(e=>e.length>0).join("&")}function X(e,t){t={decode:!0,...t};let[r,o]=q(e,"#");return void 0===r&&(r=e),{url:r?.split("?")?.[0]??"",query:V(G(e),t),...t&&t.parseFragmentIdentifier&&o?{fragmentIdentifier:W(o,t)}:{}}}function Z(e,t){var r;let o,i;t={encode:!0,strict:!0,[D]:!0,...t};let s=Y(e.url).split("?")[0]||"",a=Q({...V(G(e.url),{sort:!1}),...e.query},t);a&&(a=`?${a}`);let n=(r=e.url,o="",-1!==(i=r.indexOf("#"))&&(o=r.slice(i)),o);if(e.fragmentIdentifier){let r=new URL(s);r.hash=e.fragmentIdentifier,n=t[D]?r.hash:`#${e.fragmentIdentifier}`}return`${s}${a}${n}`}function ee(e,t,r){let{url:o,query:i,fragmentIdentifier:s}=X(e,r={parseFragmentIdentifier:!0,[D]:!1,...r});return Z({url:o,query:function(e,t){let r={};if(Array.isArray(t))for(let o of t){let t=Object.getOwnPropertyDescriptor(e,o);t?.enumerable&&Object.defineProperty(r,o,t)}else for(let o of Reflect.ownKeys(e)){let i=Object.getOwnPropertyDescriptor(e,o);if(i.enumerable){let s=e[o];t(o,s,e)&&Object.defineProperty(r,o,i)}}return r}(i,t),fragmentIdentifier:s},r)}function et(e,t,r){return ee(e,Array.isArray(t)?e=>!t.includes(e):(e,r)=>!t(e,r),r)}e.s(["exclude",()=>et,"extract",()=>G,"parse",()=>V,"parseUrl",()=>X,"pick",()=>ee,"stringify",()=>Q,"stringifyUrl",()=>Z],81324);var er=e.i(81324),eo=e.i(97057),ei=e.i(94218);let es=n.default.div.withConfig({displayName:"styles__ModalBackground",componentId:"sc-835f2bd3-0"})`
171  position: fixed;
172  top: 0;
173  left: 0;
174  height: 100vh;
175  width: 100vw;
176  z-index: 99999;
177  display: flex;
178  justify-content: center;
179  align-items: center;
180  background: #00000059;
181`,ea=n.default.section.withConfig({displayName:"styles__ModalContainer",componentId:"sc-835f2bd3-1"})(({theme:{colors:e}})=>n.css`
182    position: relative;
183    display: flex;
184    flex-direction: column;
185    gap: 30px;
186    align-items: center;
187    max-width: 600px;
188    margin: 20px;
189    padding: 20px;
190    border-radius: 20px;
191    border-bottom: 1px solid #ccc;
192    background-color: ${e.white};
193
194    svg {
195      cursor: pointer;
196      position: absolute;
197      top: 20px;
198      right: 20px;
199    }
200
201    h2 {
202      color: ${e.darkPurple};
203      font-size: 26px;
204      font-weight: 600;
205    }
206
207    div {
208      width: 100%;
209      display: flex;
210      align-items: center;
211      justify-content: center;
212
213      button {
214        cursor: pointer;
215        padding: 0.875rem;
216        border-radius: 6.25rem;
217        max-width: 20.4375rem;
218        color: ${e.white};
219        background-color: ${e.darkPurple};
220      }
221    }
222  `),en=()=>{let{closeAddProductCookieWarning:e,openCookiePolicyModal:s}=(0,o.useContext)(r.CookieContext);return(0,t.jsx)(es,{children:(0,t.jsxs)(ea,{children:[(0,t.jsx)(i.IoClose,{size:25,onClick:e}),(0,t.jsx)("h2",{children:"Atenção"}),(0,t.jsx)("p",{children:"Para adicionar itens ao carrinho, é necessário ace
222itar os cookies de medição e desempenho. Esses cookies nos ajudam a melhorar sua experiência e o funcionamento do site. Você pode ajustar suas preferências no painel de configurações de cookies."}),(0,t.jsx)("div",{children:(0,t.jsx)("button",{onClick:s,children:"Configurar Cookies"})})]})})};var el=e.i(66274),ed=e.i(45141);let ec=n.default.button.withConfig({displayName:"styles__Button",componentId:"sc-480a4575-0"})(()=>`
223    color: ${u.Theme.colors.white};
224    background-color: ${u.Theme.colors.darkPurple};
225    border: 1px solid ${u.Theme.colors.darkPurple};
226    
227    padding: ${(0,T.rem)(14)};
228    border-radius: ${(0,T.rem)(100)};
229    text-align: center;
230    width: 100%;
231    max-width: ${(0,T.rem)(327)};
232
233    cursor: pointer;
234    
235    &:hover {
236      opacity: 0.8;
237    }
238
239    ${u.Theme.breakpoints.up("laptop")} {
240      ${(0,T.flex)("center","center")};
241    }
242  `),ep=e=>{let{addProducts:i}=(0,o.useContext)(el.ProductsBadgetContext),{openAddProductCookieWarning:s,showCookieWarning:a}=(0,o.useContext)(r.CookieContext);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ec,{onClick:()=>{!s()&&(e.product.qtyBuy=1,i(e.product,!0),(0,eo.toast)((0,ed.t)("pages.product.addToCartSuccessMessage")))},children:(0,t.jsx)(E.default,{path:"pages.product.addToCart"})}),a&&(0,t.jsx)(en,{})]})};e.i(85269);var eu=e.i(22831);let em=(e,t)=>{if(e?.length===0)return;let r=e.map(e=>(e[0].toUpperCase()+e?.slice(1)).replace(/-/g," "));return new Intl.ListFormat(t,{style:"long",type:"conjunction"}).format(r)};e.i(69811),e.i(32175),e.i(47167);let eh=[{name:"mostPopular",title:"Mais populares",titleEn:"Most popular"},{name:"lessPopular",title:"Menos populares",titleEn:"Less popular"}],eg=e=>e.match(/-(.+)-[^-]*$/)?.[1],ef=()=>{var e,t;let r,{i18n:o}=(0,eu.useTranslation)(),i=(0,R.useRouter)(),s=(0,R.usePathname)(),a=(0,R.useParams)(),n=(0,R.useSearchParams)(),l=(e=a?.slug)?Array.isArray(e)?e:[e]:[],d=(t=n??new URLSearchParams,r={},t.forEach((e,t)=>{r[t]=e}),r),c=(e=>{let t=[],r=[],[o]=eh.filter(t=>t.name===e.sortBy),[i]=e.slug??[],s=e.slug?.[1];i&&"aluguel-moveis-escritorio"!==i&&t.push(eg(i)),s&&r.push(s);let{type:a="",category:n=""}=e;return n.split(",").filter(Boolean).forEach(e=>{r.includes(e)||r.push(e)}),a.split(",").filter(Boolean).forEach(e=>{t.includes(e)||t.push(e)}),{types:t,categories:r,sortBy:o}})({...d,slug:l}),p=em(c.types,o.language),u=em(c.categories,o.language),m=(e,t)=>{let r=new URLSearchParams;return Object.entries(e).forEach(([e,t])=>{t&&r.set(e,t)}),`${t??s}?${r.toString()}`};return{filters:c,readableTypes:p,readableCategories:u,setCategory:e=>{let t={...d,page:"1"};if(e===l[1]&&s){let e=s.split("/").slice(0,-1).join("/");i.push(m(t,e));return}let r=d.category?.split(",").filter(Boolean)??[];if(r.includes(e)){let o=r.filter(t=>t!==e);o.length?t.category=o.join(","):delete t.category,i.push(m(t));return}r.push(e),t.category=r.join(","),i.push(m(t))},setType:e=>{let t={...d,page:"1"};if(e===eg(l[0]||""))return void i.push(m(t,"/aluguel-moveis-escritorio"));let r=d.type?.split(",").filter(Boolean)??[];if(r.includes(e)){let o=r.filter(t=>t!==e);o.length?t.type=o.join(","):delete t.type,i.push(m(t));return}r.push(e),t.type=r.join(","),i.push(m(t))},setSortBy:e=>{i.push(m({...d,sortBy:e,page:"1"}))}}};e.i(64485);var ey=e.i(43800);e.i(29132);var ex=e.i(10124),eb=e.i(10196);let ev=n.default.div.withConfig({displayName:"styles__SelectWrapper",componentId:"sc-eec6c82e-0"})(()=>n.css`
243    position: relative;
244    width: 100%;
245  `),ek=n.default.span.withConfig({displayName:"styles__ValueSelected",componentId:"sc-eec6c82e-1"})(({$selected:e,$border:t})=>n.css`
246    display: block;
247    color: ${u.Theme.colors.darkPurple};
248    ${(0,T.flex)("flex-start","center")};
249    padding: ${(0,T.rem)(12)} ${(0,T.rem)(46)} ${(0,T.rem)(12)} ${(0,T.rem)(12)};
250    border: ${t?`1.5px solid ${u.Theme.colors.darkPurple}`:"none"};
251    position: relative;
252
253    ${e&&n.css`
254      background: ${u.Theme.colors.lightPurple};
255    `}
256  `),ej=n.default.span.withConfig({displayName:"styles__NumberSelected",componentId:"sc-eec6c82e-2"})(()=>n.css`
257    background-color: ${u.Theme.colors.darkPurple};
258    color: ${u.Theme.colors.white};
259    border-radius: 50%;
260    padding: 0px 6px;
261    margin-left: 4px;
262  `),e$=(0,n.default)(eb.MdOutlineArrowForwardIos).withConfig({displayName:"styles__Arrowicon",componentId:"sc-eec6c82e-3"})(()=>n.css`
263    color: ${u.Theme.colors.darkPurple};
264    position: absolute;
265    right: ${(0,T.rem)(18)};
266    top: 50%;
267    transform: translateY(-50%) rotate(0.25turn);
268    transition: all 0.3s ease-in-out;
269  `),ew=n.default.span.withConfig({displayName:"styles__Option",componentId:"sc-eec6c82e-4"})(({$selected:e})=>n.css`
270    display: inline-block;
271    color: ${u.Theme.colors.black};
272    width: 100%;
273    padding: 0.625rem;
274    border-bottom: 1px solid ${u.Theme.colors.lightPurple};
275
276    &:hover {
277      background-color: ${u.Theme.colors.lightPurple};
278    }
279
280    ${e&&n.css`
281      background: ${u.Theme.colors.lightPurple};
282    `}
283  `),eC=n.default.div.withConfig({displayName:"styles__Select",componentId:"sc-eec6c82e-5"})(({$active:e})=>n.css`
284    ${(0,T.flex)("space-between","flex-start")};
285    flex-direction: column;
286    width: 100%;
287    background-color: ${u.Theme.colors.white};
288    color: ${u.Theme.colors.white};
289    max-height: 0;
290    transition: all 0.3s;
291    overflow: auto;
292    cursor: pointer;
293    z-index: 1;
294
295    ${e&&n.css`
296      border: 1px solid ${u.Theme.colors.darkPurple};
297
298      max-height: 500px;
299      transition: all 0.25s;
300    `}
301
302    ${u.Theme.breakpoints.up("tablet")} {
303      position: absolute;
304      top: 100%;
305      left: 0;
306    }
307  `),e_=n.default.div.withConfig({displayName:"styles__SelectEnvironments",componentId:"sc-eec6c82e-6"})(({$rotate:e})=>n.css`
308    position: relative;
309    ${(0,T.flex)("center")};
310    width: ${(0,T.rem)(159)};
311    cursor: pointer;
312
313    ${"true"===e&&n.css`
314      svg {
315        transform: rotate(0) translateY(-50%);
316      }
317    `}
318
319    ${u.Theme.breakpoints.up("laptop")} {
320      width: ${(0,T.rem)(167)};
321    }
322  `),eT=n.default.div.withConfig({displayName:"styles__SelectFurniture",componentId:"sc-eec6c82e-7"})(({$rotate:e})=>n.css`
323    position: relative;
324    ${(0,T.flex)("center")};
325    min-width: ${(0,T.rem)(214)};
326    cursor: pointer;
327
328    ${"true"===e&&n.css`
329      svg {
330        transform: rotate(0) translateY(-50%);
331      }
332    `}
333  `),eI=n.default.div.withConfig({displayName:"styles__SelectSortBy",componentId:"sc-eec6c82e-8"})(({$rotate:e})=>n.css`
334    position: relative;
335    ${(0,T.flex)("center")};
336    width: fit-content;
337    cursor: pointer;
338
339    ${"true"===e&&n.css`
340      svg {
341        transform: rotate(0) translateY(-50%);
342      }
343    `}
344  `),eN=({data:e,title:r,selectedItems:i,handleSelect:s,filterName:a,border:n=!0})=>{let{i18n:l}=(0,eu.useTranslation)(),{translate:d}=(0,ey.useMultiLanguage)({language:l.language}),c=(0,o.useRef)(null),[p,u]=(0,o.useState)(!1),m=()=>u(e=>!e);return(0,ex.useOnClickOutside)(c,m),(0,t.jsx)("category"===a?e_:"type"===a?eT:eI,{$rotate:String(p),onClick:m,ref:p?c:null,children:(0,t.jsxs)(ev,{children:[(0,t.jsxs)(ek,{$selected:i?.length>0,$border:n,children:[r," ",i?.length>0&&n&&(0,t.jsx)(ej,{children:i?.length}),(0,t.jsx)(e$,{size:17})]}),p&&(0,t.jsx)(eC,{$active:!0,children:e.map((e,r)=>(0,t.jsx)(ew,{onClick:()=>s(e.name),"data-value":e.name,$selected:i?.includes(e.name)||i===e.title,$border:!0,children:d(e.title,e.titleEn)},e.name+r))})]})})},eS=n.default.div.withConfig({displayName:"styles__ContainerFilters",componentId:"sc-9fceda5d-0"})(()=>n.css`
345    ${(0,T.flex)("flex-start","flex-start")};
346    overflow-x: scroll;
347    margin-bottom: ${(0,T.rem)(24)};
348    z-index: 2;
349    padding-right: ${(0,T.rem)(24)};
350
351    &::-webkit-scrollbar {
352      width: 0;
353      background: transparent;
354    }
355
356    &::-webkit-scrollbar-thumb {
357      background: transparent;
358    }
359
360    ${u.Theme.breakpoints.up("tablet")} {
361      justify-content: space-between;
362      overflow: initial;
363      position: unset;
364      padding-right: 0;
365    }
366
367    ${u.Theme.breakpoints.up("laptop")} {
368      margin-bottom: ${(0,T.rem)(33)};
369      align-items: flex-end;
370    }
371  `),eP=n.default.div.withConfig({displayName:"styles__FiltersPage",componentId:"sc-9fceda5d-1"})(()=>n.css`
372    ${(0,T.flex)("flex-start","flex-start")};
373    z-index: 2;
374    gap: ${(0,T.rem)(8)};
375    position: relative;
376    flex-direction: column;
377
378    ${u.Theme.breakpoints.up("tablet")} {
379      flex-direction: row;
380    }
381  `),eF=({allCategories:e,allTypes:r})=>{let{filters:o,setCategory:i,setType:s,setSortBy:a}=ef(),{t:n}=(0,eu.useTranslation)();return(0,t.jsx)(eS,{children:(0,t.jsxs)(eP,{children:[(0,t.jsx)(eN,{data:e,selectedItems:o.categories,handleSelect:i,title:n("pages.products.categories"),filterName:"category"}),(0,t.jsx)(eN,{data:r,selectedItems:o.types,handleSelect:s,title:n("pages.products.furnitureTypes"),filterName:"type"}),(0,t.jsx)(eN,{data:eh,selectedItems:o?.sortBy?.title,handleSelect:a,title:n("pages.products.sortBy"),filterName:"sortBy",border:!1})]})})},eE=n.default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-8bd14b65-0"})(()=>`
382    ${(0,T.flex)("center","center")};
383    min-height: 300px;
384    padding: ${(0,T.rem)(20)};
385    margin-top: ${(0,T.rem)(100)};
386
387    ${u.Theme.breakpoints.up("tablet")} {
388    margin-top: 0px;
389    }
390`),eO=n.default.p.withConfig({displayName:"styles__NoResult",componentId:"sc-8bd14b65-1"})(()=>`
391    color: #444;
392
393    span {
394      color: ${u.Theme.colors.darkPurple};
395      font-weight: 600;
396    }
397  `),eA=()=>{let{readableCategories:e,readableTypes:r}=ef();return(0,t.jsx)(eE,{children:(0,t.jsxs)(eO,{children:["Nenhum resultado encontrado para sua busca por"," ",(0,t.jsx)("span",{children:r}),e&&(0,t.jsxs)(t.Fragment,{children:[" em"," ",(0,t.jsx)("span",{children:e})]}),"."]})})},ez=n.default.h2.withConfig({displayName:"styles__Subtitle",componentId:"sc-dd8781df-0"})(()=>n.css`
398    color: ${u.Theme.colors.darkPurple};
399    font-weight: 400;
400    font-size: ${(0,T.rem)(18)};
401    line-height: 120%;
402    margin: 0 0 ${(0,T.rem)(24)};
403
404    ${u.Theme.breakpoints.up("laptop")} {
405      margin: 0 0 ${(0,T.rem)(32)};
406      font-size: ${(0,T.rem)(20)};
407      font-weight: 400;
408    }
409  `),eB=()=>{let{readableCategories:e,readableTypes:r}=ef();return(0,t.jsxs)(ez,{children:[r,e&&(0,t.jsxs)(t.Fragment,{children:[r&&" em ",e]})]})},eR=(0,n.default)(T.CenterContainer).attrs({as:"main"}).withConfig({displayName:"styles__ContainerCenter",componentId:"sc-4d12e7dd-0"})`
410  padding: 0 ${(0,T.rem)(24)} ${(0,T.rem)(24)};
411  margin-bottom: ${(0,T.rem)(30)};
412  overflow-x: hidden;
413  position: relative;
414
415  ${u.Theme.breakpoints.up("laptop")} {
416    padding: ${(0,T.rem)(10)} 1.25rem;
417    margin-bottom: ${(0,T.rem)(100)};
418    overflow: initial;
419  } ;
420`,eU=n.default.div.withConfig({displayName:"styles__Titles",componentId:"sc-4d12e7dd-1"})(()=>n.css`
421    display: flex;
422    flex-direction: column;
423
424    ${u.Theme.breakpoints.up("laptop")} {
425      display: flex;
426      flex-direction: row;
427    }
428  `),eL=n.default.h1.withConfig({displayName:"styles__Title",componentId:"sc-4d12e7dd-2"})(()=>n.css`
429    color: ${u.Theme.colors.darkPurple};
430    font-weight: 700;
431    font-size: ${(0,T.rem)(24)};
432    line-height: 120%;
433    margin: ${(0,T.rem)(24)} 0 0;
434
435    ${u.Theme.breakpoints.up("laptop")} {
436      margin: ${(0,T.rem)(12)} 0 0;
437      font-size: ${(0,T.rem)(32)};
438      font-weight: 400;
439    }
440  `),eM=n.default.div.withConfig({displayName:"styles__ContainerSearch",componentId:"sc-4d12e7dd-3"})(()=>n.css`
441    margin-bottom: ${(0,T.rem)(20)};
442    display: block;
443
444    > div {
445      margin-right: 0;
446    }
447
448    ${u.Theme.breakpoints.up("laptop")} {
449      display: none;
450    }
451  `),eq=n.default.div.withConfig({displayName:"styles__ContainerProducts",componentId:"sc-4d12e7dd-4"})(()=>n.css`
452    display: grid;
453    grid-template-columns: repeat(1, 1fr);
454    place-items: center;
455    gap: ${(0,T.rem)(24)};
456
457    ${u.Theme.breakpoints.up("tablet")} {
458      grid-template-columns: repeat(3, 1fr);
459    }
460
461    ${u.Theme.breakpoints.up("laptop")} {
462      grid-template-columns: repeat(4, 1fr);
463    }
464  `),eD=n.default.div.withConfig({displayName:"styles__ContainerCombo",componentId:"sc-4d12e7dd-5"})(()=>n.css`
465    ${(0,T.flex)("center","center")};
466    flex-wrap: wrap;
467    gap: ${(0,T.rem)(28)};
468
469    ${u.Theme.breakpoints.up("laptop")} {
470      gap: ${(0,T.rem)(28)};
471
472      > div {
473        width: 48%;
474        flex: 1;
475      }
476    }
477  `),eH=n.default.div.withConfig({displayName:"styles__ToggleProducts",componentId:"sc-4d12e7dd-6"})(()=>n.css`
478    margin-top: 0;
479    ${(0,T.flex)("flex-start","flex-start")};
480    flex-direction: column;
481    border-top: 1px solid ${u.Theme.colors["gray-200"]};
482
483    ${u.Theme.breakpoints.up("laptop")} {
484      border: 0;
485    }
486  `),eJ=n.default.div.withConfig({displayName:"styles__WrapperToggleProducts",componentId:"sc-4d12e7dd-7"})(()=>n.css`
487    margin-bottom: ${(0,T.rem)(24)};
488  `),eW=n.default.button.withConfig({displayName:"styles__ButtonToggle",componentId:"sc-4d12e7dd-8"})(({selected:e})=>n.css`
489    color: ${u.Theme.colors.darkPurple};
490    text-wrap: nowrap;
491    font-size: ${(0,T.rem)(20)};
492    font-weight: 400;
493    line-height: 120%;
494    width: ${(0,T.rem)(132)};
495    height: ${(0,T.rem)(42)};
496    margin-right: ${(0,T.rem)(25)};
497    padding-bottom: ${(0,T.rem)(16)};
498    transition: all 0.3s ease-in-out;
499    border-bottom: ${e?"6px solid transparent":"none"};
500    cursor: pointer;
501    font-weight: ${e?700:"initial"};
502    border-color: ${u.Theme.colors.darkPurple};
503
504    ${u.Theme.breakpoints.up("laptop")} {
505      font-size: ${(0,T.rem)(24)};
506      width: ${(0,T.rem)(158)};
507    }
508
509    &:hover {
510      opacity: 0.8;
511    }
512  `),eY=n.default.button.withConfig({displayName:"styles__ButtonCombo",componentId:"sc-4d12e7dd-9"})(({selected:e})=>n.css`
513    color: ${u.Theme.colors.darkPurple};
514    font-size: ${(0,T.rem)(20)};
515    font-weight: 400;
516    line-height: 120%;
517    width: ${(0,T.rem)(132)};
518    height: ${(0,T.rem)(42)};
519    margin-right: ${(0,T.rem)(25)};
520    padding-bottom: ${(0,T.rem)(16)};
521    transition: all 0.3s ease-in-out;
522    border-bottom: ${e?"6px solid transparent":"none"};
523    font-weight: ${e?700:"initial"};
524    border-color: ${u.Theme.colors.darkPurple};
525    cursor: pointer;
526
527    ${u.Theme.breakpoints.up("laptop")} {
528      font-size: ${(0,T.rem)(24)};
529      width: ${(0,T.rem)(158)};
530    }
531
532    &:hover {
533      opacity: 0.8;
534    }
535  `),eK=n.default.span.withConfig({displayName:"styles__QtyProducts",componentId:"sc-4d12e7dd-10"})(()=>n.css`
536    font-size: ${(0,T.rem)(18)};
537    color: ${u.Theme.colors.darkPurple};
538    line-height: 120%;
539    margin-bottom: ${(0,T.rem)(24)};
540    display: block;
541
542    ${u.Theme.breakpoints.up("laptop")} {
543      display: none;
544    }
545  `),eG=n.default.div.withConfig({displayName:"styles__FaqContainer",componentId:"sc-4d12e7dd-11"})(()=>n.css`
546    max-width: 1440px;
547    margin: 0px auto;
548    padding: 0.625rem 1.5rem;
549
550    ${u.Theme.breakpoints.up("laptop")} {
551      padding: 0.625rem 1.25rem;
552    }
553  `),eV=(0,n.default)(B.default).withConfig({displayName:"styles__LinkComponent",componentId:"sc-4d12e7dd-12"})`
554  color: ${u.Theme.colors.darkPurple};
555  text-decoration: underline;
556  font-weight: inherit;
557  font-size: inherit;
558
559  &:hover {
560    opacity: 0.8;
561  }
562`,eQ=n.default.div.withConfig({displayName:"styles__ContainerLinkSculpting",componentId:"sc-4d12e7dd-13"})(()=>n.css`
563    margin-top: ${(0,T.rem)(60)};
564    margin-bottom: ${(0,T.rem)(24)};
565    background-color: ${u.Theme.colors["gray-100"]};
566    // padding: ${(0,T.rem)(24)};
567  `),eX={"aluguel-estantes-e-lockers-escritorio":[{keyword:"aluguel de móveis",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"móveis corporativos",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"cadeira corporativa",url:"/moveis-por-assinatura/aluguel-cadeiras-corporativas-escritorio"}],"aluguel-mesas-de-reuniao-escritorio":[{keyword:"aluguel de móveis",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"móveis corporativos",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"cadeira corporativa",url:"/moveis-por-assinatura/aluguel-cadeiras-corporativas-escritorio"}],"aluguel-moveis-escritorio":[{keyword:"cadeira corporativa",url:"/moveis-por-assinatura/aluguel-cadeiras-corporativas-escritorio"}],"aluguel-moveis-escritorio,home-office":[{keyword:"aluguel de móveis",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"móveis corporativos",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"cadeira corporativa",url:"/moveis-por-assinatura/aluguel-cadeiras-corporativas-escritorio"}],"aluguel-moveis-escritorio,sala-de-reuniao":[{keyword:"aluguel de móveis",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"móveis corporativos",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"cadeira corporativa",url:"/moveis-por-assinatura/aluguel-cadeiras-corporativas-escritorio"}],"aluguel-moveis-escritorio,treinamento-e-eventos-corporativos":[{keyword:"aluguel de móveis",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"móveis corporativos",url:"/moveis-por-assinatura/aluguel-moveis-escritorio"},{keyword:"cadeira corporativa",url:"/moveis-por-assinatura/aluguel-cadeiras-corporativas-escritorio"}]},eZ=({data:e})=>(0,t.jsxs)("span",{children:["Buscas relacionadas:"," ",e.map((r,i)=>{let s=e.length;return(0,t.jsxs)(o.default.Fragment,{children:[i===s-1&&s>1?" e ":0===i?"":", ",(0,t.jsx)(eV,{href:r.url,children:r.keyword})]},r.url+r.keyword)}),"."]});e.s(["FurnitureProductsScreen",0,()=>{var e,r;let i,s=(0,R.useParams)(),a=(0,R.useSearchParams)(),n=a?.toString(),{page:l,query:d,slug:c,show:p,selectedCategory:u,selectedType:m}=(0,o.useMemo)(()=>((e,t)=>{let r=e?.slug?Array.isArray(e.slug)?e.slug:[e.slug]:[],o=Object.fromEntries(t?t.entries():[]),[i]=r,s=r?.[1],a=i;a&&(a="aluguel-moveis-escritorio"===a?"":a.replace("aluguel-","").replace("-escritorio",""));let n=o.type,l=o.category,d=o.show||"products",c=new Set([..."string"==typeof n?n.split(","):[],a].filter(
567Boolean)),p=new Set([..."string"==typeof l?l.split(","):[],s].filter(Boolean));return{query:o,page:Number(t?.page||"1"),slug:r,show:d,selectedCategory:Array.from(p),selectedType:Array.from(c)}})(s,a),[s,n]),h=eX[c],[g,f]=(0,o.useState)({data:[],filterDescription:{headline:""},pagination:{total:0}}),[y,x]=(0,o.useState)({data:[],filterDescription:{headline:""},pagination:{total:0}}),[b,v]=(0,o.useState)(!1),[j,T]=(0,o.useState)([]),[I,N]=(0,o.useState)([]),[S,U]=(0,o.useState)([]),L="combos"===p,M=L?y:g,q=M.filterDescription,D=(e,t)=>{let r=new URLSearchParams(a);return r.set(e,t),r.toString()};(0,o.useEffect)(()=>{try{(async()=>{let[e,t,r]=await Promise.all([z.http.get("/categories"),z.http.get("/types"),z.http.get("/cms/pages/faq")]);T(e),N(t),U(r)})()}catch(e){console.log(e)}},[]),(0,o.useEffect)(()=>{let e=Number(Object.fromEntries((a||new URLSearchParams).entries()).page||"1"),t=er.stringify({limit:12,skip:(e-1)*12,category:u,type:m,sortBy:d.sortBy||"",name:d.name,isActive:!0},{arrayFormat:"comma",skipEmptyString:!0,skipNull:!0});(async()=>{try{v(!0);let[e,r]=await Promise.allSettled([z.http.get(`/products?${t}`),z.http.get(`/combos?${t}`)]);"fulfilled"===e.status?f(e.value.data):(eo.toast.error("Houve um problema ao buscar produtos"),f([])),"fulfilled"===r.status?x(r.value.data):(eo.toast.error("Houve um problema ao buscar combos"),x([]))}catch(e){console.error(e)}finally{v(!1)}})()},[l,u,m]);let H=Math.ceil(M.pagination.total/M.pagination.limit);return(0,o.useEffect)(()=>{g?.data?.products?.length>0&&((e=g?.data?.products)=>{(0,ei.DispatchGTMEvent)({event:"view_item_list",data:{items:e.map(e=>({item_id:e.id,item_name:e.title}))}})})()},[g?.data?.products]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(eR,{children:[(0,t.jsxs)(eU,{children:[(0,t.jsxs)("div",{style:{display:"flex",flexDirection:"column",flex:1},children:[(0,t.jsx)(eL,{children:(0,t.jsx)(E.default,{path:"pages.products.title"})}),(0,t.jsx)(eB,{}),(0,t.jsx)(eM,{})]}),(0,t.jsx)(eF,{allTypes:I.data,allCategories:j.data})]}),b?(0,t.jsx)("p",{children:"Carregando..."}):g.pagination.total>0?(0,t.jsxs)(o.default.Fragment,{children:[(0,t.jsxs)(eH,{children:[(0,t.jsxs)(eJ,{children:[(0,t.jsx)(B.default,{href:`/moveis-por-assinatura/${c.join("/")}?${D("show","products")}`,children:(0,t.jsxs)(eW,{selected:!L,children:[(0,t.jsx)(E.default,{path:"pages.products.furniture"})," (",g.pagination.total,")"]})}),y.pagination.total>0&&(0,t.jsx)(B.default,{href:`/moveis-por-assinatura/${c.join("/")}?${D("show","combos")}`,children:(0,t.jsxs)(eY,{selected:L,children:[(0,t.jsx)(E.default,{path:"pages.products.combos"})," ",`(${y.pagination.total})`]})})]}),(0,t.jsxs)(eK,{children:[M.pagination.total," moveis encontrados"]})]}),L?(0,t.jsx)(eD,{children:M.data.map(e=>(0,t.jsx)(w.ProductCombo,{combos:e},e.id))}):(0,t.jsx)(eq,{children:M.data.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)(B.default,{href:`/aluguel-moveis/${e.slug}`,children:(0,t.jsx)(_.ProductCard,{id:e.id,title:e.title,titleEn:e.titleEn,variant:"measurement",imageUrl:e.images[0]?.url,imageAlt:e.images[0]?.alt,width:String(Math.round(e.width)),height:String(Math.round(e.height)),length:String(Math.round(e.length)),measurementUnit:e.measurementUnit},e.id)}),(0,t.jsx)(ep,{product:e})]},e.id))}),(0,t.jsx)(C.Pagination,{limitPage:H}),h&&(0,t.jsx)(eQ,{children:(0,t.jsx)(eZ,{data:h})}),q&&(0,t.jsx)(P,{headline:M.filterDescription.headline,description:M.filterDescription.description})]}):(0,t.jsx)(eA,{})]}),(0,t.jsx)(eG,{children:(0,t.jsx)(F.FaqPage,{template:"column",faq:S})}),q&&(0,t.jsx)(O,{schemas:[(i=(r=e={url:`https://www.johnrichard.com.br/moveis-por-assinatura/${c.join("/")}`,name:M.filterDescription?.headline||"Categoria",description:M.filterDescription?.description||"",products:Array.isArray(g?.data)?g.data.map((e,t)=>({position:t+1,name:e.title,url:`https://www.johnrichard.com.br/aluguel-moveis/${e.slug}`,image:e.images?.[0]?.url,description:e.shortDescription||e.title})):[],breadcrumbs:[{name:"Home",url:"https://www.johnrichard.com.br"},{name:"Móveis por Assinatura",url:"https://www.johnrichard.com.br/moveis-por-assinatura"},{name:M.filterDescription?.headline||c.join("/"),url:`https://www.johnrichard.com.br/moveis-por-assinatura/${c.join("/")}`}]}).breadcrumbs??[{name:"Home",url:A},{name:"Móveis por Assinatura",url:`${A}/moveis-por-assinatura`},{name:r.name,url:r.url}],{"@context":"https://schema.org","@type":"CollectionPage","@id":`${r.url}#collectionpage`,name:r.name,description:r.description,url:r.url,publisher:{"@id":`${A}/#organization`},breadcrumb:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:i.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.url}))},inLanguage:"pt-BR"}),{"@context":"https://schema.org","@type":"ItemList","@id":`${e.url}#itemlist`,name:e.name,description:e.description,url:e.url,numberOfItems:e.products.length,itemListElement:e.products.map(e=>({"@type":"ListItem",position:e.position,name:e.name,url:e.url,...e.image&&{image:e.image},...e.description&&{description:e.description}}))}]}),(0,t.jsx)(k,{}),(0,t.jsx)($,{})]})}],90750)}]);

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.