1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50820],{11003:function(e,n,t){"use strict";var s=t(24246),a=t(65909),o=t(27378),r=t(73074),l=t(12899),i=t(44416),c=t(3313),d=t(88662);n.Z=e=>{let{qrCodeLink:n,buttons:t,className:m,section:u,cta:x,onClick:h}=e;const f=(0,a.Zx)({to:"lg"}),[p,v]=(0,o.useState)(n),[w,b]=(0,o.useState)(!1),{analytics:g}=(0,o.useContext)(i.L),j=(0,o.useCallback)((()=>v((0,c.O$)(n))),[n]);(0,o.useEffect)(j);const y=(e,n)=>{!f&&b(!w),null===g||void 0===g||g.track({event_type:"cta stone",event_properties:{name:"cta stone",description:"Evento disparado quando o usu\xe1rio clicar nos ctas da LP",section_reference:e,cta_reference:null!==x&&void 0!==x?x:n}})};return(0,s.jsx)(d.U,{of:t||[],render:(e,t)=>{let{color:a,size:o,label:i,link:c}=e;return(0,s.jsxs)(d.V,{children:[(0,s.jsx)(d.V.When,{condition:Boolean(c),children:(0,s.jsx)(r.Z,{href:null===c||void 0===c?void 0:c.href,hash:null===c||void 0===c?void 0:c.hash,size:o,color:a,query:null===c||void 0===c?void 0:c.query,target:null===c||void 0===c?void 0:c.target,className:m,"aria-label":i,onClick:()=>{y(u,i)},children:i},i)}),(0,s.jsxs)(d.V.Otherwise,{children:[(0,s.jsx)(l.Z,{qrCodeLink:n,isShowing:w,onToggle:()=>b(!w)}),(0,s.jsxs)(d.V,{children:[(0,s.jsx)(d.V.When,{condition:f,children:(0,s.jsx)(r.Z,{href:p,color:a,size:o,onClick:()=>y(u,i),className:m,children:i})}),(0,s.jsx)(d.V.Otherwise,{children:(0,s.jsx)(r.Z,{color:a,onClick:()=>y(u,i),className:m,children:i})})]})]})]},t)}})}},60975:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var s=t(24246),a=t(27378),o=t(9957),r=t(73074),l=t(90005),i=t.n(l),c=t(60057);var d=e=>{let{color:n=["primary","secondary"],size:t="large",icon:a,children:o,className:r,href:l,onClick:d}=e;return(0,s.jsx)("a",{href:l,className:i()("btn w-full ".concat(r||""),{"btn-primary":"primary"===n,"btn-secondary":"secondary"===n,"btn-small":"small"===t,"btn-regular":"regular"===t,"btn-large":"large"===t}),onClick:d,children:(0,s.jsxs)("p",{className:"flex font-medium",children:[a&&(0,s.jsx)(c.Z,{name:a,className:"mr-8 w-24 min-w-[24px] h-24 fill-current"}),(0,s.jsx)("span",{className:"whitespace-nowrap",children:o})]})})},m=t(62319),u=t(44416),x=t(38944);var h=e=>{let{question:n,answer:t,itemsLength:o,currentItemPosition:r,show:l,ref:i}=e;const[c,d]=(0,a.useState)(!1),{analytics:h}=(0,a.useContext)(u.L),f=(0,a.useCallback)((()=>{d((e=>!e))}),[]);return(0,s.jsxs)("li",{ref:i,className:"flex overflow-hidden relative flex-col p-16 ".concat(r===o?"":"mb-8 md:mb-16"," w-full lg:max-w-[785px] bg-display-0 rounded-[8px] lg:rounded-[16px] border-[2px] border-display-200 border-solid ").concat(l?"block":"hidden"),onClick:()=>{!c&&(null===h||void 0===h||h.track({event_type:"cta stone",event_properties:{name:"cta stone",description:"Evento disparado no clique do cta de duvidas",section_reference:"Tire todas as suas d\xfavidas",cta_reference:"".concat(n)}}))},children:[(0,s.jsxs)("div",{onClick:f,className:"flex justify-between items-center cursor-pointer",children:[(0,s.jsx)("p",{className:"font-medium paragraph-18 lg:paragraph-20",children:n}),(0,s.jsx)("button",{className:"\n relative ml-8 flex h-40 min-h-[40px] w-40 min-w-[40px] cursor-pointer\n items-center justify-center whitespace-normal rounded-[50%] bg-display-0 p-0 font-semibold text-stone-500 no-underline outline-none\n before:absolute before:h-[14px] before:w-2 before:bg-stone-500 before:transition-all before:duration-[150ms]\n after:absolute after:h-2 after:w-[14px] after:bg-stone-500\n sm:w-[fit-content] \n ".concat(c?"before:rotate-90":"")})]}),(0,s.jsx)(m.S,{content:t,className:(0,x.Z)("grid overflow-hidden gap-8 max-h-0 font-normal transition-all duration-[150ms]",c&&"mt-16 max-h-full")})]})};var f=e=>{let{referId:n,title:t,description:l,questions:i,children:c,analyticsSectionReference:x,btnToTop:f=!1,buttonIsShowMobileAndTablet:p=!0}=e;const[v,w]=(0,a.useState)(!1),b=(0,a.useRef)(null),{analytics:g}=(0,a.useContext)(u.L),[j,y]=(0,o.YD)({triggerOnce:!0});return(0,a.useEffect)((()=>{y&&(null===g||void 0===g||g.track({event_type:"section viewed",event_properties:{name:"section viewed",description:"Evento disparado quando o usu\xe1rio visualiza uma sess\xe3o especifica da pagina",section_reference:x}}))}),[g,y]),(0,s.jsx)("section",{id:n,className:" bg-display-100",ref:j,"data-testid":"faq-section",children:(0,s.jsxs)("div",{ref:b,className:"flex flex-col lg:flex-row gap-24 lg:gap-40 justify-center lg:items-start py-40 lg:py-[120px] px-24 mx-auto max-w-[1280px]",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-16 lg:gap-24 justify-center items-start max-w-full lg:max-w-[435px] xl:max-w-[455px]",children:[(0,s.jsx)("h2",{className:"items-start font-display text-[32px] lg:text-[40px] leading-[38px] lg:leading-[48px] heading-2",children:t}),l&&(0,s.jsx)(m.S,{content:l,className:"items-start paragraph-18 lg:paragraph-20"}),(0,s.jsx)("div",{className:"".concat(p?"flex flex-col md:flex-row":" hidden lg:flex flex-col lg:flex-row"," gap-16 justify-center items-start w-full md:w-max"),children:c})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-24",children:[(0,s.jsx)("ul",{children:i.map(((e,n)=>{let{question:t,answer:a}=e;return(0,s.jsx)(h,{question:t,answer:a,currentItemPosition:n+1,itemsLength:i.length,show:!!v||n<=5},n)}))}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-16 justify-center md:justify-between items-center md:items-stretch w-full",children:[i.length>6&&(0,s.jsx)(r.Z,{"data-testid":"faq-button",color:"secondary",className:"md:w-auto",onClick:()=>{w(!v),(()=>{const e=b.current;if(e)if(v){const n=(null===e||void 0===e?void 0:e.offsetTop)||0;window.scrollTo({top:n,behavior:"smooth"})}else{const n=(null===e||void 0===e?void 0:e.offsetTop)+(null===e||void 0===e?void 0:e.offsetHeight)/2||0;window.scrollTo({top:n,behavior:"smooth"})}})()},children:v?"Ver menos perguntas":"Ver mais perguntas"}),f&&(0,s.jsx)(d,{className:"w-full md:w-max btn-large",color:"secondary",href:"#",icon:"arrow-up",children:"Retornar ao topo da p\xe1gina"})]})]})]})})}},62319:function(e,n,t){"use strict";t.d(n,{S:function(){return c}});var s=t(24246),a=t(28784),o=t(74576),r=t(43507),l=t(78156),i=t.n(l);const c=e=>{let{content:n,className:t=""}=e;return(0,s.jsx)(a.U,{className:(0,r.m)(i().Main,t),rehypePlugins:[o.Z],children:n})}},10721:function(e,n,t){"use strict";t.d(n,{y:function(){return s}});const s=!0},60790:function(e,n,t){"use strict";t.d(n,{Z:function(){return Z}});var s=t(24246),a=t(27378),o=t(10721),r=t(65909),l=t(65218),i=t.n(l),c=t(63662),d=t(29038),m=t
1(15799),u=t(90005),x=t.n(u);const h=i()((()=>Promise.all([t.e(41046),t.e(28565)]).then(t.bind(t,28565))),{loadableGenerated:{webpack:()=>[28565]}});var f=e=>{let{children:n,header:t=m.hu,headerStickyOnMobile:a,disableHiddenBodyOverflowX:o}=e;const l=(0,c.usePathname)(),i=(0,r.Zx)({to:"sm"}),u=["/maquina-de-cartao/","/planos/","/"].some((e=>l===e))&&i,f=!u&&t.isButtonMobile,p=!u&&t.isCustomerSupportMobile;return(0,s.jsxs)("div",{className:x()({"overflow-x-hidden max-w-[100vw]":!o}),children:[(0,s.jsx)(d.h,{headerStickyOnMobile:a,...t,isButtonMobile:f,isCustomerSupportMobile:p}),n,(0,s.jsx)(h,{})]})},p=t(26966),v=t(99886),w=t.n(v);const b=i()((()=>Promise.all([t.e(41046),t.e(28565)]).then(t.bind(t,28565))),{loadableGenerated:{webpack:()=>[28565]}});var g=e=>{let{children:n,header:t=m.hu}=e;return(0,s.jsxs)("div",{className:"flex flex-col max-w-[100vw] min-h-[100vh]",children:[(0,s.jsx)("div",{className:"sticky top-0 z-[999] bg-white",children:(0,s.jsx)(d.h,{customQRCodeLink:p.Z.APP_LINK_APPSFLYER_QR_MENU,...t})}),(0,s.jsx)("div",{className:w().content,children:n}),(0,s.jsx)("div",{children:(0,s.jsx)(b,{})})]})};var j=e=>{let{children:n,headerStickyOnMobile:t,disableHiddenBodyOverflowX:a}=e;return(0,s.jsxs)("div",{className:x()({"overflow-x-hidden max-w-[100vw]":!a}),children:[(0,s.jsx)(d.h,{headerStickyOnMobile:t}),n]})},y=t(79894),N=t.n(y),k=t(27938),C=t(8219);var _=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{id:"Context_footer",className:"py-[32px] px-[24px] text-display-0 bg-display-900",children:(0,s.jsxs)("div",{className:"my-0 mx-auto max-w-[1324px]",children:[(0,s.jsx)("div",{className:"flex flex-col md:flex-row my-0 mx-auto md:mt-[8px] md:mb-[48px] md:h-auto",children:(0,s.jsx)(N(),{href:"/",prefetch:!1,passHref:!0,className:"flex flex-1 mb-32 md:mb-0","aria-label":"Link home",children:(0,s.jsx)(k.Z,{id:"StoneLogo",width:106,height:24,style:{color:"#00a868"},className:"w-[96px] md:w-[106px] h-24 md:h-[28px]"})})}),(0,s.jsx)(C.Z,{})]})})});var S=e=>{let{children:n,headerStickyOnMobile:t,header:a}=e;return(0,s.jsxs)("div",{className:"max-w-[100vw] overflow-x-clip",children:[(0,s.jsx)(d.h,{headerStickyOnMobile:t,...a}),n,(0,s.jsx)(_,{})]})};const M=i()((()=>Promise.all([t.e(41046),t.e(28565)]).then(t.bind(t,28565))),{loadableGenerated:{webpack:()=>[28565]}});var L=e=>{let{children:n,disableHiddenBodyOverflowX:t}=e;return(0,s.jsxs)("div",{className:x()({"overflow-x-hidden max-w-[100vw]":!t}),children:[n,(0,s.jsx)(M,{})]})};var q=e=>{let{children:n,disableHiddenBodyOverflowX:t}=e;return(0,s.jsx)("div",{className:x()({"overflow-x-hidden max-w-[100vw]":!t}),children:n})},O=t(78210);var Z=e=>{let{children:n,layoutName:t="default",headerStickyOnMobile:r,header:l}=e;(0,a.useEffect)((()=>{o.y&&(0,O.Yr)(window.location.pathname)}),[]);const i=(0,a.useMemo)((()=>[{name:"default",LayoutComponent:f},{name:"documentation",LayoutComponent:g},{name:"withoutHeader",LayoutComponent:L},{name:"withoutHeaderAndFooter",LayoutComponent:q},{name:"formsPage",LayoutComponent:j},{name:"withoutNavigation",LayoutComponent:S}]),[]),c=(0,a.useMemo)((()=>i.find((e=>e.name===t))),[t,i]);return(0,s.jsx)(s.Fragment,{children:c?(0,s.jsx)(c.LayoutComponent,{headerStickyOnMobile:r,header:l,children:n}):(0,s.jsx)(s.Fragment,{children:n})})}},93536:function(e,n,t){"use strict";t.d(n,{Y:function(){return s}});const s=e=>{const n=[];return e.map((e=>{let{answer:t,question:s}=e;
1return n.push({questionName:t,acceptedAnswerText:s})})),n}},78156:function(e){e.exports={Main:"MarkdownContent_Main__w7T4y"}},99886:function(e){e.exports={content:"Documentation_content__xAHMP"}}}]); 2//# sourceMappingURL=50820-5c9ed87cc41036a1.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.