PageSourceSearch

https://eskolare.shop/_next/static/chunks/pages/_sites/[site]/accounts-ccbd7531272c7c3c.js

js eskolare.shop collected 2026-10-06 01:01:37 UTC 12,638 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3500],{51266:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[site]/accounts",function(){return t(25227)}])},95028:function(e,s,t){"use strict";t.d(s,{Z:function(){return u}});var i=t(85893),n=t(49737),o=t(11163);t(67294);var a=t(76055),r=t(73098),c=t(94675),l=t(24118),d=t(31717);function u(e){var s;let{initialData:t,children:u}=e,p=(0,o.useRouter)(),{isAuthenticated:h,permissionsData:m,userData:v}=(0,l.a)()||{},{site:f}=p.query||{},{isAuthorized:x}=(null==m?void 0:m.site)||{},{data:j,error:g}=(0,r.ib)([f?"/".concat(f,"/"):null],{fallbackData:null==t?void 0:t.site});return(j||g)&&null!==h?(null==j?void 0:j.maintenance)?(0,i.jsx)(a.l_,{url:"/maintenance",replace:!0}):h?(null==j?void 0:j.privacy)==="protected"&&h&&!x?(0,i.jsx)(d.Z,{permissions:m}):(null==j?void 0:j.privacy)==="private"&&h&&!x?(0,i.jsx)(a.R1,{}):g?(0,i.jsx)(a.LZ,{title:"Erro",message:"Ops... Houve um erro ao carregar esta p\xe1gina. Tente novamente ou entre em contato conosco."}):(0,c.eC)(null==v?void 0:null===(s=v.user)||void 0===s?void 0:s.hasEmailConfirmed,null==v?void 0:v.dateCreated)&&!p.asPath.includes("/accounts/confirm-email")?(0,i.jsx)(a.l_,{url:"/accounts/confirm-email",callbackUrl:p.asPath,replace:!0}):(0,i.jsx)(i.Fragment,{children:u}):"/accounts/logout"===p.asPath?(0,i.jsx)(a.l_,{url:"/"}):(0,i.jsx)(a.l_,{url:"/accounts/login",callbackUrl:p.asPath,replace:!0}):(0,i.jsx)(n.f,{visible:!0})}},31717:function(e,s,t){"use strict";t.d(s,{Z:function(){return g}});var i=t(85893),n=t(72445),o=t(49737),a=t(7414),r=t(5044),c=t(19236),l=t(82623),d=t(95117),u=t(67841),p=t(74403),h=t(63991),m=t(11163),v=t(67294),f=t(73098),x=t(94675),j=t(24118);function g(e){let{permissions:s}=e,t=(0,m.useRouter)(),{isAuthenticated:g}=(0,j.a)()||{},{site:b}=(null==t?void 0:t.query)||{},{data:y,error:k,mutate:A}=(0,f.ib)([g?"/".concat(b,"/accounts/permissions/"):null],{fallbackData:s}),{site:C}=y||{},z=(null==C?void 0:C.status)==="pending",[M,O]=(0,v.useState)(!1),w=async()=>{O(!0);try{await x.hi.post("/".concat(b,"/request-access/")),A(),(0,x.ob)({variant:"success",message:"A sua solicita\xe7\xe3o foi enviada e em breve ser\xe1 respondida!",icon:(0,i.jsx)(h.NOm,{})})}catch(e){(0,x.ob)({variant:"error",message:"Houve um erro ao enviar sua solicita\xe7\xe3o, tente novamente mais tarde.",icon:(0,i.jsx)(h.kLi,{})})}finally{O(!1)}};return(0,i.jsxs)(n.W,{p:"xl",size:"sm",children:[(0,i.jsx)(o.f,{visible:!y&&!k}),(0,i.jsxs)(a.x,{hidden:!y&&!k,children:[(0,i.jsxs)(a.x,{sx:{display:"flex",alignItems:"center"},mb:"xl",children:[(0,i.jsx)(r.k,{variant:"outline",size:48,radius:"md",mr:"sm",children:(0,i.jsx)(h.qfe,{size:32})}),(0,i.jsx)(c.D,{order:3,children:"Site protegido"})]}),(0,i.jsxs)(l.X,{p:"lg",withBorder:!0,mb:"xl",children:[(0,i.jsxs)(d.x,{mb:"xs",children:["Esta \xe9 uma mensagem de boas vindas exibida para usu\xe1rios ",(0,i.jsx)("em",{children:"autenticados"})," em sites com privacidade ",(0,i.jsx)("strong",{children:"Protegida"}),"."]}),(0,i.jsx)(d.x,{mb:"md",hidden:z,children:"Para que voc\xea possa acessar este canal ser\xe1 necess\xe1rio solicitar o acesso."}),(0,i.jsx)(u.z,{size:"md",fullWidth:!0,leftIcon:(0,i.jsx)(h.Ol,{}),onClick:w,hidden:z,loading:M,disabled:M,children:"Solicitar acesso"}),(0,i.jsx)(p.b,{icon:(0,i.jsx)(h.MVl,{}),title:"Aguardando aprova\xe7\xe3o",color:"blue",hidden:!z,children:(0,i.jsx)(d.x,{color:"blue",children:"A sua solicita\xe7\xe3o foi enviada. Assim que for aprovada, o seu acesso ser\xe1 concedido."})})]})]})]})}},63833:function(e,s,t){"use strict";t.d(s,{Z:function(){return b}});var i=t(85893),n=t(64761),o=t(7414),a=t(72445),r=t(11163),c=t(4298),l=t.n(c),d=t(67294),u=t(26937),p=t(23950),h=t(87444),m=t(73098),v=t(54079),f=t(34065),x=t(63991),j=t(60539);function g(e){let{siteData:s}=e,t=(0,n.rZ)(),o=(0,f.a)("(max-width: ".concat(t.breakpoints.xs,"px)")),a=(0,r.useRouter)(),{creditCardUid:c,institutionStudentEnrollmentUid:l,studentSiteProfileUid:d,orderNumber:u}=a.query||{},p=a.asPath.split("?")[0].split("/"),h="/_sites/[site]/accounts",m=[{title:"Minha Conta",href:"/accounts/",icon:(0,i.jsx)(x.A2c,{size:o?14:18}),isActive:(null==a?void 0:a.pathname)===h}];return p.indexOf("addresses")>=0&&m.push({title:"Meus Endere\xe7os",href:"/accounts/addresses/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/addresses")}),p.indexOf("channels")>=0&&m.push({title:"Minhas Lojas",href:"/accounts/profiles/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/profiles")}),p.indexOf("credit-cards")>=0&&(m.push({title:"Meus Cart\xf5es de Cr\xe9dito",href:"/accounts/credit-cards/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/credit-cards")}),c&&m.push({title:"Cart\xe3o de Cr\xe9dito",href:"/accounts/credit-cards/".concat(c),isActive:(null==a?void 0:a.pathname)==="".concat(h,"/credit-cards/[creditCardUid]")})),p.indexOf("contract-payments")>=0&&m.push({title:"Mensalidades",href:"/accounts/contract-payments/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/contract-payments")}),p.indexOf("envelopes")>=0&&m.push({title:"Contratos",href:"/accounts/envelopes/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/envelopes")}),p.indexOf("forms")>=0&&m.push({title:"Formul\xe1rios",href:"/accounts/forms/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/forms")}),p.indexOf("payment-statement")>=0&&m.push({title:"Extrato de Pagamentos",href:"/accounts/payment-statement/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/payment-statement")}),p.indexOf("orders")>
1=0&&(m.push({title:"Meus Pedidos",href:"/accounts/orders/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/orders")}),u&&m.push({title:"Detalhes do Pedido",href:"/accounts/orders/".concat(u),isActive:(null==a?void 0:a.pathname)==="".concat(h,"/orders/[orderNumber]")})),p.indexOf("profile")>=0&&m.push({title:"Meus Dados",href:"/accounts/profile/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/profile")}),p.indexOf("profiles")>=0&&m.push({title:"Comprar Agora",href:"/accounts/profiles/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/profiles")}),p.indexOf("students")>=0&&(m.push({title:"Meus Alunos",href:"/accounts/students/",isActive:(null==a?void 0:a.pathname)==="".concat(h,"/students")}),p.indexOf("enrollments")>=0&&d&&(m.push({title:"Matr\xedculas",href:"/accounts/students/".concat(d,"/enrollments/"),isActive:(null==a?void 0:a.pathname)==="".concat(h,"/students/[studentSiteProfileUid]/enrollments")}),l&&m.push({title:"Matr\xedcula do Aluno",href:"/accounts/students/".concat(l,"/enrollments/").concat(l),isActive:(null==a?void 0:a.pathname)==="".concat(h,"/students/[studentSiteProfileUid]/enrollments/[institutionStudentEnrollmentUid]")}))),(0,i.jsx)(j.O,{breadcrumbs:m.filter(e=>!!e.title)})}function b(e){var s,t;let{initialData:c,children:f}=e,x=(0,r.useRouter)(),j=(0,n.rZ)(),b=(0,d.useRef)(null),y=(0,d.useRef)(null),[k,A]=(0,d.useState)(0),[C,z]=(0,d.useState)(0),{site:M}=x.query||{},{data:O}=(0,m.ib)([M?"/".concat(M,"/"):null],{fallbackData:null==c?void 0:c.site}),w=null==O?void 0:null===(t=O.theme)||void 0===t?void 0:null===(s=t.configuration)||void 0===s?void 0:s.customColor,_=Array.isArray(w)&&10===w.length?{colors:{custom:w},primaryColor:"custom"}:void 0,S=(0,d.useCallback)(()=>{var e,s;A(Math.round((null==b?void 0:null===(e=b.current)||void 0===e?void 0:e.clientHeight)||0)),z(Math.round((null==y?void 0:null===(s=y.current)||void 0===s?void 0:s.clientHeight)||0))},[]);return(0,d.useEffect)(()=>{S();let e="undefined"!=typeof ResizeObserver?new ResizeObserver(S):null;return e&&b.current&&e.observe(b.current),e&&y.current&&e.observe(y.current),window.addEventListener("resize",S),()=>{window.removeEventListener("resize",S),null==e||e.disconnect()}},[S]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l(),{id:"pagseguro-sdk",src:"https://assets.pagseguro.com.br/checkout-sdk-js/rc/dist/browser/pagseguro.min.js"}),(0,i.jsx)(l(),{id:"iugu-sdk",src:"https://js.iugu.com/v2"}),(0,i.jsx)(l(),{id:"cielo-sdk",src:"/lib/js/cielo.js"}),(0,i.jsx)(n.Me,{theme:_,inherit:!0,children:(0,i.jsxs)(v.Z,{children:[(0,i.jsxs)(o.x,{sx:{boxShadow:j.shadows.sm,position:"sticky",top:0,left:0,width:"100%",height:"auto",zIndex:101},ref:b,children:[(0,i.jsx)(h.Z,{siteData:O}),(0,i.jsx)(g,{siteData:O}),(0,i.jsx)(u.Z,{siteData:O})]}),(0,i.jsx)(a.W,{fluid:!0,p:0,m:0,sx:{backgroundColor:j.colors.gray[0],position:"relative",margin:0,padding:0,minHeight:"calc(100vh - ".concat(k,"px - ").concat(C,"px)")},children:f}),(0,i.jsx)(p.Z,{siteData:O,footerRef:y})]})})]})}},25227:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return C},default:function(){return z}});var i=t(85893),n=t(2962),o=t(95028),a=t(63833),r=t(98700),c=t(94675),l=t(36484),d=t(64761),u=t(72445),p=t(19236),h=t(20050),m=t(34736),v=t(82623),f=t(71232),x=t(5044),j=t(7414),g=t(95117),b=t(63991),y=t(41664),k=t.n(y);function A(e){var s,t;let{initialData:n}=e,o=(0,d.rZ)(),a=[{key:"stores",label:"Comprar Agora",description:"Acessar lojas para comprar produtos e servi\xe7os.",url:"/accounts/profiles/",icon:(0,i.jsx)(b.DWp,{size:30}),active:!0},{key:"profile",label:"Meus Dados",description:"Altere e mantenha seus dados atualizados.",url:"/accounts/profile/",icon:(0,i.jsx)(b.f7T,{size:30}),active:!0},{key:"students",label:"Meus Alunos",description:"Veja os detalhes das matr\xedculas dos alunos.",url:"/accounts/students/",icon:(0,i.jsx)(b.fM8,{size:30}),active:!0},{key:"contract-payments",label:"Mensalidades",description:"Veja os pagamentos das matr\xedculas dos alunos.",url:"/accounts/contract-payments/",icon:(0,i.jsx)(b.jt6,{size:30}),active:null==n?void 0:null===(s=n.site)||void 0===s?void 0:s.hasSchoolManagementConfiguration,isStaff:!1},{key:"orders",label:"Meus Pedidos",description:"Acesse notas fiscais, pagamentos, cancelamento e devolu\xe7\xe3o.",url:"/accounts/orders/",
1icon:(0,i.jsx)(b.BCd,{size:30}),active:!0},{key:"envelopes",label:"Contratos",description:"Veja os contratos realizados com a escola dos alunos.",url:"/accounts/envelopes/",icon:(0,i.jsx)(b.NnO,{size:30}),active:!0},{key:"forms",label:"Formul\xe1rios",description:"Veja os formul\xe1rios preenchidos para a escola dos alunos.",url:"/accounts/forms/",icon:(0,i.jsx)(b.Okp,{size:30}),active:!0},{key:"creditcards",label:"Meus Cart\xf5es de Cr\xe9dito",description:"Gerencie seus cart\xf5es de cr\xe9dito",url:"/accounts/credit-cards/",icon:(0,i.jsx)(b.bln,{size:30}),active:!0},{key:"addresses",label:"Meus Endere\xe7os",description:"Gerencie seus endere\xe7os de entrega/cobran\xe7a",url:"/accounts/addresses/",icon:(0,i.jsx)(b.A2c,{size:30}),active:!0},{key:"payment-statement",label:"Extrato de Pagamentos",description:"Veja o extrato de pagamentos realizados em nossa loja.",url:"/accounts/payment-statement/",icon:(0,i.jsx)(b.JrN,{size:30}),active:null==n?void 0:null===(t=n.site)||void 0===t?void 0:t.hasSchoolManagementConfiguration},{key:"help",label:"Atendimento",description:"Acesse t\xf3picos de ajuda, consulte canais de atendimento.",url:"/help/",icon:(0,i.jsx)(b.QaM,{size:30}),active:!0}];return(0,i.jsxs)(u.W,{px:"xs",py:"lg",size:"xl",children:[(0,i.jsx)(p.D,{mb:"md",children:"Minha Conta"}),(0,i.jsx)(h.r,{gutter:"sm",align:"stretch",children:a.filter(e=>e.active).map(e=>(0,i.jsx)(h.r.Col,{span:12,xs:6,sm:4,md:3,children:(0,i.jsx)(m.k,{component:k(),href:e.url,children:(0,i.jsx)(v.X,{p:"lg",withBorder:!0,sx:{height:"100%",":hover":{backgroundColor:o.colors.gray[0]},backgroundColor:e.isStaff?"#fd7e1411":o.white,borderColor:e.isStaff?"#fd7e14":"#dee2e6"},children:(0,i.jsxs)(f.Z,{position:"left",spacing:"sm",noWrap:!0,sx:{height:"100%"},children:[(0,i.jsx)(x.k,{color:e.isStaff?o.colors.orange[6]:o.colors[o.primaryColor][7],size:50,radius:"xl",children:e.icon}),(0,i.jsxs)(j.x,{children:[(0,i.jsx)(p.D,{order:4,mb:0,children:e.label}),e.description&&(0,i.jsx)(g.x,{color:"dimmed",size:"sm",children:e.description})]})]})})})},e.key))})]})}var C=!0;function z(e){var s;let{initialData:t}=e,{site:d}=t||{},u=(null==d?void 0:d.domain)||(0,c.Se)(null==d?void 0:d.subdomain,"/accounts"),p={title:"Minha conta".concat(d?" | ".concat(d.title||(null===(s=d.seller)||void 0===s?void 0:s.displayName)):""),description:null==d?void 0:d.description};return(0,i.jsx)(r.Z,{Layout:a.Z,View:A,Guard:o.Z,initialData:{initialData:t},children:(0,i.jsx)(n.PB,{canonical:u,...p,openGraph:{...p,url:u,images:[{url:(null==d?void 0:d.logo)||(null==d?void 0:d.cover),alt:p.title}]},...l.i})})}},4298:function(e,s,t){e.exports=t(23381)}},function(e){e.O(0,[1664,8346,870,9550,795,7279,3608,3005,6055,1929,6689,2888,9774,179],function(){return e(e.s=51266)}),_N_E=e.O()}]);
2//# sourceMappingURL=accounts-ccbd7531272c7c3c.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.