PageSourceSearch

https://despezzas.com/_next/static/chunks/1717.ac1e8a3dbf93c83d.js

js despezzas.com collected 2026-09-24 13:58:27 UTC 6,148 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1717],{7221:(e,t,s)=>{s.d(t,{ReferralPersistence:()=>a});var n=s(12115),r=s(45912);let a=()=>((0,n.useEffect)(()=>{let e=(0,r.SO)();e&&(0,r.Ne)(e)},[]),null)},15422:(e,t,s)=>{s.d(t,{D:()=>n});let n=(0,s(93474).A)({locales:["pt","en","es"],defaultLocale:"pt",localeDetection:!0,localePrefix:"never",pathnames:{"/auth":"/auth","/auth/login":"/auth/login","/auth/register":"/auth/register","/auth/forgot-password":"/auth/forgot-password","/oauth/authorize":"/oauth/authorize","/convite/[token]":"/convite/[token]","/impersonate":"/impersonate","/home":"/home","/account":"/account","/transactions":"/transactions","/transactions/import":"/transactions/import","/credit-card":"/credit-card","/credit-card/[cardId]":"/credit-card/[cardId]","/categories":"/categories","/tags":"/tags","/goals":"/goals","/goals/[id]":"/goals/[id]","/limits":"/limits","/profile":"/profile","/reports":"/reports","/ai":"/ai","/settings":"/settings","/settings/plan":"/settings/plan","/settings/preferences":"/settings/preferences","/settings/profile":"/settings/profile","/settings/notifications":"/settings/notifications","/settings/access-profiles":"/settings/access-profiles","/settings/business":"/settings/business","/settings/business/documents":"/settings/business/documents","/settings/business/fiscal":"/settings/business/fiscal","/settings/business/team":"/settings/business/team","/settings/business/catalog":"/settings/business/catalog","/settings/business/billing":"/settings/business/billing","/settings/business/billing/success":"/settings/business/billing/success","/settings/business/billing/cancel":"/settings/business/billing/cancel","/business/new":"/business/new","/business/convite/[token]":"/business/convite/[token]","/payables":"/payables","/cash-flow":"/cash-flow","/dre":"/dre","/notas-fiscais":"/notas-fiscais","/conta":"/conta","/ativar":"/ativar","/contacts":"/contacts","/cost-centers":"/cost-centers","/design-preview":"/design-preview","/settings/export":"/settings/export","/settings/api-keys":"/settings/api-keys","/settings/feedback":"/settings/feedback","/settings/invite":"/settings/invite"}});n.locales},21752:(e,t,s)=>{s.d(t,{A:()=>l});var n=s(29317),r=s(31680),a=s(77328);let i={pt:"pt-BR",en:"en-US",es:"es-ES"},o=i.pt,c=n.A.create({baseURL:"https://api.despezzas.com"});c.interceptors.request.use(async e=>{e.headers.lang=function(){if("u"<typeof document)return o;let e=document.cookie.match(RegExp("(?:^|; )NEXT_LOCALE=([^;]*)")),t=e?decodeURIComponent(e[1]):void 0;return t&&i[t]||o}();let t=(0,a.Qg)();if(t)return e.headers.Authorization=`Bearer ${t}`,e;try{await r.e.authStateReady();let t=await r.e.currentUser?.getIdToken();return t&&(e.headers.Authorization=`Bearer ${t}`),e}catch{return e}});let l=c},27529:(e,t,s)=>{s.d(t,{K:()=>n.A});var n=s(21752)},31680:(e,t,s)=>{s.d(t,{x:()=>r,e:()=>a});var n=s(34770);let r=(0,s(97873).Wp)({apiKey:"AIzaSyDXyNz_StQMyTM-r1kyu69rZnFKfdUHTSI",authDomain:"despezzas.firebaseapp.com",projectId:"despezzas",storageBucket:"despezzas.firebasestorage.app",messagingSenderId:"823964210942",appId:"1:823964210942:web:f7512b586affbf3f7577af",measurementId:"G-FQHQK3HGYQ"}),a=(0,n.p)(r)},31717:(e,t,s)=>{s.r(t),s.d(t,{DeferredThirdPartyProvider:()=>i});var n=s(95155),r=s(12115),a=s(50972);function i({gtmId:e}){return(0,r.useEffect)(()=>{e&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":Date.now(),event:"gtm.js"}),function(e,t){if(document.getElementById(e))return;let s=document.createElement("script");s.id=e,s.async=!0,s.src=t,document.head.appendChild(s)}("gtm-js-src",`https://www.googletagmanager.com/gtm.js?id=${e}`))},[e]),(0,n.jsx)(a.P_,{})}},34972:(e,t,s)=>{s.d(t,{M0:()=>r,NE:()=>a,lb:()=>n,oe:()=>o,yq:()=>i});let n="referral_code",r="referral_code",a=3456e4,i=4,o=16},45834:(e,t,s)=>{s.d(t,{w:()=>r});var n=s(34972);let r=e=>{if(!e)return null;let t=e;try{t=decodeURIComponent(e)}catch{}let s=t.trim().toUpperCase().replace(/[^A-Z0-9]/g,"");return s.length<n.yq||s.length>n.oe?null:s}},45912:(e,t,s)=>{s.d(t,{Ne:()=>c,SO:()=>o,xh:()=>l});var n=s(34972),r=s(45834);let a=()=>
1{if("u"<typeof document)return null;let e=document.cookie.match(RegExp(`(?:^|; )${n.lb}=([^;]*)`));return e?(0,r.w)(decodeURIComponent(e[1])):null},i=()=>{try{return(0,r.w)(window.localStorage.getItem(n.M0))}catch{return null}},o=()=>a()??i(),c=e=>{let t=(0,r.w)(e);t&&(a()!==t&&(e=>{if("u">typeof document){let t;document.cookie=`${n.lb}=${encodeURIComponent(e)}; ${t="https:"===window.location.protocol?"; Secure":"",`Path=/; Max-Age=${n.NE}; SameSite=Lax${t}`}`}})(t),i()!==t&&(e=>{try{window.localStorage.setItem(n.M0,e)}catch{}})(t))},l=e=>{let t=(0,r.w)(e);if(!t)return o();let s=o()??t;return c(s),s}},50972:(e,t,s)=>{s.d(t,{oe:()=>n.oe,P_:()=>m.ReferralPersistence,vS:()=>g,ey:()=>f,F7:()=>u,Nj:()=>c,q6:()=>l,SO:()=>r.SO,xh:()=>r.xh});var n=s(34972),r=s(45912),a=s(15422);let i="https://despezzas.com".replace(/\/$/,"");a.D.defaultLocale,a.D.locales;var o=s(45834);let c=e=>{let t=(0,o.w)(e)??e.trim();return function(e=""){let t=e.replace(/^\//,"");return`${i}${t?`/${t}`:""}`}(`r/${encodeURIComponent(t)}`)},l=e=>{let t=(0,o.w)(e)??e.trim(),s=new URLSearchParams({utm_source:"invite",utm_medium:"referral",utm_campaign:t,ref:t}).toString();return`https://play.google.com/store/apps/details?id=com.despezzas&referrer=${encodeURIComponent(s)}`},u=()=>"https://apps.apple.com/br/app/despezzas-controle-financeiro/id6447892484";var d=s(31680),p=s(27529);let g=async e=>{let{data:t}=await p.K.post("/v1/profile/referral",{referral_code:e});return t??null},f=async e=>{if(e?.referral_user_id)return null;let t=(0,r.SO)();if(!t||(await d.e.authStateReady(),!d.e.currentUser))return null;try{return await g(t)}catch{return null}};var m=s(7221)},77328:(e,t,s)=>{let n;s.d(t,{G$:()=>i,PE:()=>o,Qg:()=>a,l2:()=>c});let r="@dp-impersonation";function a(){return void 0!==n?n:n=window.sessionStorage.getItem(r)}function i(e){n=e,window.sessionStorage.setItem(r,e)}function o(){n=null,window.sessionStorage.removeItem(r)}function c(){return!!a()}},93474:(e,t,s)=>{s.d(t,{A:()=>n});function n(e){return e}}}]);

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.