PageSourceSearch

https://matematik.ai/_next/static/chunks/5902-226bc23ab55d3826.js

js matematik.ai collected 2026-10-05 14:30:27 UTC 6,422 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5902],{21923:(e,a,s)=>{s.d(a,{default:()=>i});var l=s(95155),r=s(75428);s(52619),s(12115);let i=()=>{let{toggleTop:e,setToggle:a}=(0,r.B)();return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"header-top-news bg-image1 ".concat(e?"":"deactive"),children:(0,l.jsx)("div",{className:"icon-close",children:(0,l.jsx)("button",{className:"close-button bgsection-activation",onClick:()=>a(!e),children:(0,l.jsx)("i",{className:"fa-sharp fa-regular fa-x"})})})})})}},64449:(e,a,s)=>{s.d(a,{default:()=>j});var l=s(95155),r=s(64409),i=s(12115),t=s(15239),n=s(80134),c=s(20063),d=s(18955),o=s(75428),h=s(84148),m=s(57426),x=s(53734),u=s(12509);let j=e=>{var a,s;let{headerTransparent:j,headerSticky:g,btnClass:v}=e,f=(0,c.useRouter)(),N=(0,c.usePathname)(),b=(0,d.c3)("Header"),{activeMobileMenu:p,setActiveMobileMenu:w,isLightTheme:k,toggleTheme:A,avatarUpdateTrigger:y}=(0,o.B)(),[E,C]=(0,i.useState)(!1),[S,I]=(0,i.useState)(null),[L,F]=(0,i.useState)(null);return(0,i.useEffect)(()=>{{let e=localStorage.getItem("matematik-ai-user-key");if(e){let a=JSON.parse(e);I(a),(async()=>{try{let e=localStorage.getItem("matematik-ai-user-token-key"),s=await fetch((0,r.EV)("/api/v1/db/auth/user?userid=".concat(a.id)),{headers:{Authorization:"Bearer ".concat(e)}});if(s.ok){let e=await s.json();e.avatar&&F(e.avatar)}}catch(e){console.error("Error fetching user avatar:",e)}})()}}},[y]),(0,i.useEffect)(()=>{let e=()=>{window.scrollY>200?C(!0):C(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[f,N]),(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("header",{className:"rainbow-header header-default ".concat(j," ").concat(g," ").concat(E?"sticky":""),children:(0,l.jsx)("div",{className:"container position-relative",children:(0,l.jsxs)("div",{className:"row align-items-center row--0",children:[(0,l.jsx)("div",{className:"col-lg-2 col-md-6 col-6",children:(0,l.jsx)("div",{className:"logo",children:(0,l.jsxs)(n.A,{href:(null==S?void 0:S.role)===0x1897137?"/exam-generator":"/",children:[(0,l.jsx)(t.default,{className:"logo-light",src:h.A,width:199,height:50,alt:"Matematik.AI Logo",priority:!0}),(0,l.jsx)(t.default,{className:"logo-dark",src:m.A,width:199,height:50,alt:"Matematik.AI Logo Dark",priority:!0})]})})}),(0,l.jsx)("div",{className:"col-lg-8 d-none d-lg-block",children:(0,l.jsx)("nav",{className:"mainmenu-nav d-none d-lg-flex justify-content-center",children:(0,l.jsx)(x.A,{})})}),(0,l.jsx)("div",{className:"col-lg-2 col-md-6 col-6 position-static",children:(0,l.jsxs)("div",{className:"header-right d-flex align-items-center justify-content-end gap-2",children:[S&&(null==S?void 0:S.role)!==512723?(0,l.jsxs)("div",{className:"rbt-admin-panel account-access rbt-user-wrapper right-align-dropdown",children:[(0,l.jsx)("div",{className:"rbt-admin-card grid-style",children:(0,l.jsxs)("a",{className:"d-flex align-items-center",href:"#",children:[(0,l.jsxs)("div",{className:"inner d-flex align-items-center",children:[(0,l.jsx)("div",{className:"img-box",style:{width:"50px",height:"50px",borderRadius:"50%",overflow:"hidden",border:"4px solid #805AF5",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#f5f5f5",position:"relative"},children:L?(0,l.jsx)(t.default,{src:L,alt:"User Avatar",width:50,height:50,style:{objectFit:"cover",width:"100%",height:"100%"}}):(0,l.jsxs)("div",{style:{fontSize:"20px",fontWeight:"bold",color:"#666"},children:[null==S||null==(a=S.name)?void 0:a.charAt(0),null==S||null==(s=S.surname)?void 0:s.charAt(0)]})}),(0,l.jsx)("div",{className:"content d-none d-lg-block",children:(0,l.jsx)("p",{children:S?S.name:""})})]}),(0,l.jsx)("div",{className:"icon d-none d-lg-block",children:(0,l.jsx)("i",{className:"fa-sharp fa-solid fa-chevron-down"})})]})}),(0,l.jsx)("div",{className:"rbt-user-menu-list-wrapper",children:(0,l.jsx)(u.A,{})})]}):(0,l.jsx)("div",{className:"header-btn",children:(0,l.jsx)(n.A,{className:"".concat(v),href:"/signin",children:(0,l.jsx)("span",{children:b("getStarted")})})}),(0,l.jsx)("div",{className:"mobile-menu-bar ml--5 d-flex justify-content-end d-lg-none",children:(0,l.jsx)("div",{className:"hamberger",children:(0,l.jsx)("button",{className:"hamberger-button",onClick:()=>w(!p),children:(0,l.jsx)("i",{className:"fa-sharp fa-regular fa-bars"})})})})]})})]})})})})}},94184:(e,a,s)=>{s.d(a,{default:()=>g});var l=s(95155),r=s(12115),i=s(52619),t=s.n(i),n=s(15239),c=s(75428),d=s(84148),o=s(57426),h=s(
153734),m=s(80134),x=s(20063),u=s(53931);let j=()=>{let e=(0,x.usePathname)();return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("nav",{className:"mainmenu-nav",children:(0,l.jsx)("ul",{className:"dashboard-mainmenu rbt-default-sidebar-list",children:u&&u.smallNavItem.slice(0,1).map((a,s)=>{let r;return(0,l.jsx)("li",{children:(0,l.jsxs)(m.A,{className:(r=a.link,e.startsWith(r))?"active":a.isDisable?"disabled":"",href:a.link,children:[(0,l.jsx)(n.default,{src:a.img,width:35,height:35,alt:"AI Generator"}),(0,l.jsx)("span",{children:a.text}),""!==a.badge?(0,l.jsx)("div",{className:"rainbow-badge-card badge-sm ml--10",children:a.badge}):""]})},s)})})})})},g=()=>{let{activeMobileMenu:e,setActiveMobileMenu:a,isLightTheme:s}=(0,c.B)(),i=()=>{window.innerWidth>992&&a(!0)};return(0,r.useEffect)(()=>(window.addEventListener("resize",i),i(),()=>window.removeEventListener("resize",i)),[e]),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"popup-mobile-menu ".concat(e?"":"active"),children:[(0,l.jsx)("div",{className:"bg",onClick:()=>a(!e)}),(0,l.jsxs)("div",{className:"inner-popup",children:[(0,l.jsxs)("div",{className:"header-top",children:[(0,l.jsx)("div",{className:"logo",children:(0,l.jsx)(t(),{href:"/",children:(0,l.jsx)(n.default,{className:"logo-light",src:s?d.A:o.A,width:116,height:30,alt:"Corporate Logo"})})}),(0,l.jsx)("div",{className:"close-menu",children:(0,l.jsx)("button",{className:"close-button",onClick:()=>a(!e),children:(0,l.jsx)("i",{className:"fa-sharp fa-regular fa-x"})})})]}),(0,l.jsxs)("div",{className:"content",children:[(0,l.jsx)(h.A,{}),(0,l.jsx)("div",{className:"rbt-sm-separator"}),(0,l.jsx)("div",{className:"rbt-default-sidebar-wrapper",children:(0,l.jsx)(j,{})})]}),(0,l.jsx)("div",{className:"header-btn d-block d-md-none",children:(0,l.jsx)(t(),{className:"btn-default",target:"_blank",href:"/",children:"\xdccretsiz Kullanmaya Başla"})})]})]})})}}}]);

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.