PageSourceSearch

https://leiturinha.com.br/_next/static/chunks/9389.567122bab5790135.js

js leiturinha.com.br collected 2026-10-01 13:53:23 UTC 8,954 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9389],{8418:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],l=!0,i=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(s){i=!0,o=s}finally{try{l||null==n.return||n.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.default=void 0;var a,l=(a=n(7294))&&a.__esModule?a:{default:a},i=n(6273),s=n(387),c=n(7190);var u={};function f(e,t,n,r){if(e&&i.isLocalURL(t)){e.prefetch(t,n,r).catch((function(e){0}));var o=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;u[t+"%"+n+(o?"%"+o:"")]=!0}}var d=function(e){var t,n=!1!==e.prefetch,r=s.useRouter(),a=l.default.useMemo((function(){var t=o(i.resolveHref(r,e.href,!0),2),n=t[0],a=t[1];return{href:n,as:e.as?i.resolveHref(r,e.as):a||n}}),[r,e.href,e.as]),d=a.href,p=a.as,x=e.children,m=e.replace,h=e.shallow,y=e.scroll,v=e.locale;"string"===typeof x&&(x=l.default.createElement("a",null,x));var g=(t=l.default.Children.only(x))&&"object"===typeof t&&t.ref,b=o(c.useIntersection({rootMargin:"200px"}),2),w=b[0],j=b[1],k=l.default.useCallback((function(e){w(e),g&&("function"===typeof g?g(e):"object"===typeof g&&(g.current=e))}),[g,w]);l.default.useEffect((function(){var e=j&&n&&i.isLocalURL(d),t="undefined"!==typeof v?v:r&&r.locale,o=u[d+"%"+p+(t?"%"+t:"")];e&&!o&&f(r,d,p,{locale:t})}),[p,d,j,v,n,r]);var I={ref:k,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,n,r,o,a,l,s){("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&i.isLocalURL(n))&&(e.preventDefault(),t[o?"replace":"push"](n,r,{shallow:a,locale:s,scroll:l}))}(e,r,d,p,m,h,y,v)},onMouseEnter:function(e){t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),i.isLocalURL(d)&&f(r,d,p,{priority:!0})}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var S="undefined"!==typeof v?v:r&&r.locale,_=r&&r.isLocaleDomain&&i.getDomainLocale(p,S,r&&r.locales,r&&r.domainLocales);I.href=_||i.addBasePath(i.addLocale(p,S,r&&r.defaultLocale))}return l.default.cloneElement(t,I)};t.default=d},3524:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(7294),o="local-storage-update";function a(e){var t=(0,r.useState)((function(){return localStorage.getItem(e)})),n=t[0],a=t[1];return(0,r.useEffect)((function(){(function(){if(!window.__localStoragePatched){window.__localStoragePatched=!0;var e=function(e){try{return e===window.localStorage}catch(t){return!1}},t=function(e){window.dispatchEvent(new CustomEvent(o,{detail:{key:e,value:localStorage.getItem(e)}}))},n=Storage.prototype.setItem;Storage.prototype.setItem=function(r,o){n.call(this,r,o),e(this)&&t(r)};var r=Storage.prototype.removeItem;Storage.prototype.removeItem=function(n){r.call(this,n),e(this)&&t(n)}}})(),a(localStorage.getItem(e));var t=function(t){t.key===e&&a(t.newValue)},n=function(t){var n=t.detail;(null===n||void 0===n?void 0:n.key)===e&&a(n.value)};window.addEventListener("storage",t),window.addEventListener(o,n);var r=0,l=setInterval((function(){var t=localStorage.getItem(e);a((function(e){return e!==t?t:e})),++r>=20&&clearInterval(l)}),500);return function(){window.removeEventListener("storage",t),window.removeEventListener(o,n),clearInterval(l)}}),[e]),n}},9389:function(e,t,n){"use strict";n.r(t);var r=n(5893),o=n(2684),a=n(7375),l=n(8527),i=n(6723),s=n(5675),c=n(1664),u=(n(7294),n(9876)),f=n(5152),d=n(2632),p=n(8707),x=n(3524);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],l=!0,i=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);l=!0);}catch(s){i=!0,o=s}finally{try{l||null==n.return||n.return()}finally{if(i)throw o}}return a}}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}
1(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var y=(0,f.default)((function(){return Promise.all([n.e(7496),n.e(7475)]).then(n.bind(n,7475))}),{loadableGenerated:{webpack:function(){return[7475]}}});t.default=function(){var e=h((0,o.ac)("(max-width: 800px)"),1)[0],t=h((0,a.Tx)({defaultValue:!1}),2),n=t[0],f=t[1],m=(0,x.Z)("variant_link"),v=(0,p.xt)().isEnabled,g=m?[{label:"Como Funciona",link:"#planos"},{label:"Planos",link:"#planos"},{label:"Leiturinha +",link:"https://leituverso.leiturinha.com.br/?utm_source=site_leiturinha&utm_medium=link-menu&utm_campaign=link-menu-site-leiturinha"}]:[{label:"Como Funciona",link:"#planos"},{label:"Planos",link:"#planos"}];return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(l.xu,{w:"100%",children:[(0,r.jsx)(l.xu,{position:{xs:"fixed",md:"relative"},top:{xs:"0",md:"unset"},left:{xs:"0",md:"unset"},right:{xs:"0",md:"unset"},zIndex:{xs:"1000",md:"auto"},minH:{xs:"60px",sm:"90px"},h:{xs:"75px",sm:"90px"},w:"100%",py:{xs:"30px"},px:{xs:"20px",md:"50px"},display:"flex",justifyContent:"center",alignItems:"center",boxShadow:"sm",backgroundColor:"#FFFFFF",children:(0,r.jsxs)(l.W2,{w:{base:"100%"},h:{xs:"75px",sm:"90px"},minH:{xs:"60px",sm:"90px"},display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Ug,{display:{xs:"flex",md:"none"},children:(0,r.jsx)(l.xu,{display:"flex",bottom:{xs:"-9px",sm:"-15px"},children:(0,r.jsx)(l.xu,{zIndex:2,children:(0,r.jsx)("img",{alt:"logo leiturinha",width:52,height:52,src:"https://firebasestorage.googleapis.com/v0/b/cms-leiturinha.appspot.com/o/logo-short.svg?alt=media&token=5d453b79-6e18-470d-8105-1b216ef75d91"})})})}),(0,r.jsx)(l.xu,{display:{xs:"flex",md:"none"},zIndex:"9",mr:"30px",onClick:function(){var e;return null===(e=document.getElementById("planos"))||void 0===e?void 0:e.scrollIntoView({behavior:"smooth"})},children:(0,r.jsx)(i.zx,{bg:"#8700A4",px:12,py:3,fontFamily:"Mikado",fontWeight:700,color:"#FFFFFF",borderRadius:"8px",fontSize:"16px",children:"ASSINAR AGORA"})}),(0,r.jsx)(l.Ug,{display:{xs:"flex",md:"none"},onClick:function(){return f(!0)},zIndex:"9",justifyContent:"flex-end",position:"absolute",right:"0px",children:(0,r.jsx)(u.Uq,{h:"35px",w:"35px",color:"#57C7D1"})})]}),!e&&(0,r.jsx)(l.Ug,{display:"flex",alignItems:"end",children:(0,r.jsx)(l.xu,{w:{md:"200px",lg:"230px"},h:"90px",display:"flex",alignItems:"center",cursor:"pointer",zIndex:10,children:(0,r.jsx)(s.default,{alt:"logo",objectFit:"fill",width:175,height:50,src:"https://firebasestorage.googleapis.com/v0/b/cms-leiturinha.appspot.com/o/BOFU_JUN_Prancheta%202_1.png?alt=media&token=f5c66005-219c-4157-a3a9-2998dc9a876c"})})}),(0,r.jsxs)(l.Ug,{gap:{md:"20px",lg:"60px"},"data-testid":"nav-items",children:[g.map((function(e,t){return(0,r.jsx)(l.rU,{href:e.link||"#planos",textStyle:"primary",fontSize:{md:"16px",lg:"18px"},cursor:"pointer",display:{xs:"none",sm:"none",md:"block"},_hover:{opacity:.8,textDecoration:"none"},sx:{"&:focus:not(:focus-visible)":{boxShadow:"none"}},"data-testid":"how-it-works",color:"#828282",onClick:function(){e.label.toLowerCase().includes("como funciona")?(0,d.rI)(e.label,{element_type:"header_link",section_name:"header"},v):e.label.toLowerCase().includes("planos")&&(0,d.s7)("view_plans",{},{section_name:"header"},v)},children:e.label},t)})),!e&&(0,r.jsx)(l.rU,{as:c.default,href:"#planos",children:(0,r.jsx)(i.zx,{variant:"outline",textStyle:"primary",fontSize:{xs:"16px",lg:"18px"},color:"#00A3FF",rounded:"md","data-testid":"btn-profile",px:"15px",minW:"120px",children:"Assinar"})})]})]})}),e&&(0,r.jsx)(y,{links:g,isOpen:n,setIsOpen:f})]})})}},1664:function(e,t,n){e.exports=n(8418)}}]);

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.