PageSourceSearch

https://docentpro.com/_next/static/chunks/2134-23a421811cc9827f.js

js docentpro.com collected 2026-10-02 15:16:54 UTC 12,449 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2134],{52134:(e,r,o)=>{o.d(r,{A:()=>G,s:()=>q});var n=o(37876),t=o(14232),i=o(24280),s=o(67578),l=o(51001),a=o(54587),c=o.n(a),h=o(72199),x=o(30566),d=o(98486),p=o(74552),m=o(69390),f=o(70946),g=o(25628),C=o(18028),j=o(52808),u=o(47160),A=o(77018),b=o(71538),w=o(82074),v=o(69344),y=o(34126),k=o(93256),L=o(31243),z=o(33188),P=o(25594),S=o(91477),I=o(48230),D=o.n(I),M=o(14590),_=o(89099);function E(){let e=(0,x.A)(),r=(0,d.A)(e.breakpoints.down("md")),[o,i]=(0,t.useState)(!1),[l,a]=(0,t.useState)(null),{user:I,logout:E}=(0,M.Z)(),F=(0,_.useRouter)(),W=!!l,B="/"===F.pathname,O=[{text:"MOBILE APP",link:"/mobile-app"},{text:"BLOG",link:"/blog"},{text:"FAQs",link:"/faqs"}],T=B?"Start Planning":"Get App",Z=()=>{i(e=>!e)},H=e=>{a(e.currentTarget)},R=()=>{a(null)},U=async()=>{try{await E(),R(),F.push("/")}catch(e){console.error("Error logging out:",e)}},Y=()=>{R(),F.push("/creators/dashboard")},G="black";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.A,{position:"fixed",sx:{top:0,left:0,right:0,alignItems:"center",backgroundColor:"white",boxShadow:"0 1px 0 rgba(0, 0, 0, 0.08)",transition:"all 0.3s ease",zIndex:e.zIndex.drawer+1},children:(0,n.jsxs)(m.A,{sx:{alignItems:"center",justifyContent:"center",width:"100%",maxWidth:"1200px",minHeight:{xs:"48px",md:"64px"},px:{xs:1,md:2},py:{xs:1,md:2}},children:[r&&(0,n.jsx)(f.A,{color:"inherit",onClick:Z,children:(0,n.jsx)(L.A,{sx:{color:"primary.main"}})}),(0,n.jsx)(D(),{href:"/",passHref:!0,legacyBehavior:!0,children:(0,n.jsxs)(s.A,{sx:{display:"flex",alignItems:"center",cursor:"pointer",color:G},children:[!r&&(0,n.jsx)(c(),{src:"/assets/icons/logo/logo_full.svg",title:"DocentPro",loading:"lazy",alt:"DocentPro",width:180,height:25}),r&&(0,n.jsx)(c(),{src:"/assets/icons/logo/logo_text.svg",title:"DocentPro",loading:"lazy",alt:"DocentPro",width:120,height:20})]})}),!r&&(0,n.jsxs)(s.A,{sx:{display:"flex",flex:1,alignItems:"center",justifyContent:"flex-end",gap:3},children:[O.map((e,r)=>(0,n.jsx)(D(),{href:e.link,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(g.A,{color:"inherit",component:"a",target:e.target,sx:{fontSize:{xs:"0.875rem",md:"1rem"},fontWeight:600,textTransform:"none",textWrap:"nowrap",color:G},children:e.text})},r)),I?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.A,{onClick:H,size:"small",sx:{ml:2},"aria-controls":W?"account-menu":void 0,"aria-haspopup":"true","aria-expanded":W?"true":void 0,children:(0,n.jsx)(C.A,{sx:{width:32,height:32,bgcolor:"#35a76e"},children:I.email?.[0]?.toUpperCase()||"U"})}),(0,n.jsxs)(j.A,{anchorEl:l,id:"account-menu",open:W,onClose:R,onClick:R,PaperProps:{elevation:0,sx:{overflow:"visible",filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))",mt:1.5,"& .MuiAvatar-root":{width:32,height:32,ml:-.5,mr:1},"&:before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}},transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[(0,n.jsx)(u.A,{disabled:!0,children:(0,n.jsx)(A.A,{variant:"body2",color:"text.secondary",children:I.email})}),(0,n.jsx)(b.A,{}),(0,n.jsxs)(u.A,{onClick:Y,children:[(0,n.jsx)(S.A,{fontSize:"small",sx:{mr:1}}),"Dashboard"]}),(0,n.jsxs)(u.A,{onClick:U,children:[(0,n.jsx)(P.A,{fontSize:"small",sx:{mr:1}}),"Logout"]})]})]}):(0,n.jsx)(g.A,{variant:"contained",href:h.$.header,target:"_blank",rel:"noopener noreferrer nofollow",sx:{backgroundColor:"#35a76e",height:36,color:"#ffffff",fontWeight:600,fontSize:"0.875rem",textTransform:"uppercase",textWrap:"nowrap",borderRadius:"4px",px:2,py:1,boxShadow:"none","&:hover":{backgroundColor:"#2e9460",boxShadow:"0 2px 4px rgba(53, 167, 110, 0.24)"}},children:T})]}),r&&(I?(0,n.jsx)(f.A,{onClick:H,size:"small",sx:{ml:"auto"},"aria-controls":W?"account-menu":void 0,"aria-haspopup":"true","aria-expanded":W?"true":void 0,children:(0,n.jsx)(C.A,{sx:{width:32,height:32,bgcolor:"#35a76e"},children:I.email?.[0]?.toUpperCase()||"U"})}):(0,n.jsx)(g.A,{variant:"contained",href:h.$.header,target:"_blank",rel:"noopener noreferrer nofollow",sx:{marginLeft:"auto",backgroundColor:"#35a76e",height:36,color:"#ffffff",fontWeight:600,fontSize:"0.875rem",textTransform:"uppercase",textWrap:"nowrap",borderRadius:"4px",px:2,py:1,boxShadow:"none","&:hover":{backgroundColor:"#2e9460",boxShadow:"0 2px 4px rgba(53, 167, 110, 0.24)"}},children:T}))]})}),(0,n.jsx)(w.Ay,{anchor:"top",open:o,onClose:Z,children:(0,n.jsxs)(s.A,{sx:{width:"100%",backgroundColor:"white",color:"black",pt:2},children:[(0,n.jsx)(s.A,{sx:{display:"flex",justifyContent:"flex-end",pr:2},children:(0,n.jsx)(f.A,{onClick:Z,children:(0,n.jsx)(z.A,{sx:{color:"transparent"}})})}),(0,n.jsxs)(v.A,{children:[O.map((e,r)=>(0,n.jsx)(D(),{href:e.link,passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(y.Ay,{button:!0,component:"a",onClick:Z,children:(0,n.jsx)(k.A,{primary:e.text})})},r)),I&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.A,{}),(0,n.jsxs)(y.Ay,{button:!0,onClick:U,children:[(0,n.jsx)(P.A,{sx:{mr:2}}),(0,n.jsx)(k.A,{primary:"Logout"})]})]})]})]})}),r&&(0,n.jsxs)(j.A,{anchorEl:l,id:"account-menu",open:W,onClose:R,onClick:R,PaperProps:{elevation:0,sx:{overflow:"visible",filter:"drop-shadow(0px 2px 8px rgba(0,0,0,0.32))",mt:1.5,"& .MuiAvatar-root":{width:32,height:32,ml:-.5,mr:1}
1,"&:before":{content:'""',display:"block",position:"absolute",top:0,right:14,width:10,height:10,bgcolor:"background.paper",transform:"translateY(-50%) rotate(45deg)",zIndex:0}}},transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},children:[(0,n.jsx)(u.A,{disabled:!0,children:(0,n.jsx)(A.A,{variant:"body2",color:"text.secondary",children:I?.email})}),(0,n.jsx)(b.A,{}),(0,n.jsxs)(u.A,{onClick:Y,children:[(0,n.jsx)(S.A,{fontSize:"small",sx:{mr:1}}),"Dashboard"]}),(0,n.jsxs)(u.A,{onClick:U,children:[(0,n.jsx)(P.A,{fontSize:"small",sx:{mr:1}}),"Logout"]})]})]})}var F=o(74441),W=o(94760),B=o(22474),O=o(79143),T=o(79880),Z=o(96617),H=o(53132),R=o(29666);let U=[{headline:"DocentPro",children:[{name:"About us",href:"/"},{name:"Mobile app",href:"/mobile-app"},{name:"SpotFetch",href:"/spotfetch"},{name:"Blog",href:"/blog"},{name:"FAQs",href:"/faqs"}]},{headline:"Legal",children:[{name:"Terms",href:"/terms"},{name:"Privacy Policy",href:"/privacy"}]},{headline:"Contact",children:[{name:"[email protected]",href:"mailto:[email protected]"}]}];function Y(){return(0,n.jsxs)(s.A,{component:"footer",sx:{position:"relative",bgcolor:"transparent"},children:[(0,n.jsx)(b.A,{}),(0,n.jsxs)(O.A,{sx:{pt:10,pb:5,textAlign:{xs:"center",md:"unset"}},children:[(0,n.jsx)(H.A,{sx:{mb:3}}),(0,n.jsxs)(T.A,{container:!0,justifyContent:{xs:"center",md:"space-between"},children:[(0,n.jsxs)(T.A,{xs:8,md:3,children:[(0,n.jsx)(A.A,{variant:"body2",sx:{maxWidth:270,mx:{xs:"auto",md:"unset"}},children:"Your AI-powered travel companion, DocentPro."}),(0,n.jsx)(B.A,{direction:"row",justifyContent:{xs:"center",md:"flex-start"},sx:{mt:3,mb:{xs:5,md:0}},children:Z.M.map(e=>(0,n.jsx)(W.A,{href:e.path,target:"_blank",rel:"noopener noreferrer",color:"inherit",underline:"none",children:(0,n.jsx)(f.A,{sx:{"&:hover":{bgcolor:(0,F.X4)(e.color,.08)}},children:(0,n.jsx)(R.A,{icon:e.icon,color:e.color,width:24,height:24})})},e.value))})]}),(0,n.jsx)(T.A,{xs:12,md:6,children:(0,n.jsx)(B.A,{spacing:5,direction:{xs:"column",md:"row"},children:U.map(e=>(0,n.jsxs)(B.A,{spacing:2,alignItems:{xs:"center",md:"flex-start"},sx:{width:1},children:[(0,n.jsx)(A.A,{component:"div",variant:"overline",children:e.headline}),e.children.map(e=>(0,n.jsx)(W.A,{href:e.href,color:"inherit",variant:"body2",underline:"hover",children:e.name},e.name))]},e.headline))})})]}),(0,n.jsxs)(A.A,{variant:"body2",sx:{mt:10},children:["\xa9 ",new Date().getFullYear()," DocentPro Inc. All rights reserved"]})]})]})}function G(e){let{children:r}=e,o=(0,l.a8)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.A,{styles:{body:{overflow:"auto",height:"auto"}}}),"/feeds"===o?(0,n.jsx)(s.A,{children:r}):(0,n.jsxs)(s.A,{sx:{display:"flex",flexDirection:"column",height:1},children:[(0,n.jsx)(E,{}),(0,n.jsx)(s.A,{component:"main",sx:{flexGrow:1,..."/"!==o&&{pt:{xs:8,md:10}}},children:r}),(0,n.jsx)(Y,{})]})]})}function q(e){return(0,n.jsx)(G,{children:e})}},53132:(e,r,o)=>{o.d(r,{A:()=>h});var n=o(37876),t=o(95062),i=o.n(t),s=o(14232),l=o(94760),a=o(67578);let c=(0,s.forwardRef)((e,r)=>{let{disabledLink:o=!1,sx:t,...i}=e,s=(0,n.jsx)(a.A,{ref:r,component:"div",sx:{width:30,height:30,display:"inline-flex",...t},...i,children:(0,n.jsxs)("svg",{width:"50",height:"50",viewBox:"0 0 50 50",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M24.9998 2.29163C36.2824 2.29163 45.4288 11.4381 45.4289 22.7207C45.4289 31.8337 39.4623 39.1213 31.2223 41.7191C30.5622 41.9272 29.9666 42.3125 29.5445 42.8611L27.5529 45.4496C26.9884 46.1833 26.6317 47.1287 25.8629 47.6444C25.3215 48.0074 24.6787 48.0074 24.1374 47.6444C23.3684 47.1287 23.0114 46.1834 22.4467 45.4496L20.4551 42.8611C20.033 42.3126 19.4379 41.9272 18.7779 41.7191C10.5379 39.1213 4.57074 31.8337 4.57074 22.7207C4.57084 11.4382 13.7173 2.29173 24.9998 2.29163Z",fill:"#35A76E"}),(0,n.jsx)("path",{d:"M38.125 22.5001C38.125 29.7489 32.2487 35.6251 25 35.6251C17.7513 35.6251 11.875 29.7489 11.875 22.5001C11.875 15.2514 17.7513 9.37512 25 9.37512C32.2487 9.37512 38.125 15.2514 38.125 22.5001Z",fill:"#35A76E"}),(0,n.jsx)("path",{d:"M14.7188 27.2796C14.9179 27.5702 15.1989 27.7886 15.5208 27.9024L17.4095 28.5517C17.9785 28.752 18.4783 29.126 18.8457 29.6262C19.055 29.9119 19.2172 30.2324 19.3242 30.5762L19.9475 32.5941C20.0585 32.9322 20.2669 33.2253 20.5434 33.4325C20.8199 33.6397 21.1508 33.7507 21.4899 33.75C21.8298 33.7515 22.1615 33.6402 22.4382 33.4319C22.716 33.216 22.9261 32.9171 23.0418 32.5741L23.6564 30.5795C23.806 30.1095 24.0562 29.6827 24.3883 29.3306C24.7182 28.9811 25.1212 28.718 25.5649 28.5625L27.4882 27.9032C27.7255 27.8139 27.9401 27.6678 28.115 27.4765C28.29 27.2852 28.4206 27.0538 28.4968 26.8003C28.5729 26.5469 28.5924 26.2783 28.5539 26.0155C28.5153 25.7528 28.4196 25.503 28.2744 25.2858C28.0646 24.9768 27.766 24.7473 27.4229 24.6314L25.5294 23.9846C25.0841 23.829 24.6793 23.5658 24.3473 23.2161C24.0153 22.8664 23.7653 22.4397 23.6171 21.97L22.9922 19.9439C22.8805 19.6086 22.6726 19.3183 22.3973 19.1135C22.1198 18.911 21.7904 18.8025 21.4529 18.8025C21.1155 18.8025 20.7861 18.911 20.5086 19.1135C20.2256 19.3234 20.0134 19.623 19.9026 19.9688L19.2746 22.0082C19.1263 22.4642 18.8823 22.8789 18.5606 23.2213C18.239 23.5637 17.8482 23.8249 17.4174 23.9854L15.4971 24.6414C15.2573 24.7307 15.0405 24.8779 14.864 25.0712C14.6876 25.2645 14.5563 25.4986 14.4806 25.7548C14.405 26.0111 14.3871 26.2824 14.4283 26.5472C14.4695 26.8121 14.5695 27.0623 14.7188 27.2796Z",fill:"white"}),(0,n.jsx)("path",{d:"M32.2352 14.8601C32.3258 15.1443 32.4778 15.4023 32.6791 15.6138C32.8804 15.8254 33.1256 15.9847 33.3952 16.0792L34.6976 16.5276C34.9721 16.6175 35.2126 16.7966 35.3849 17.0394C35.5571 17.2821 35.6522 17.5761 35.6565 17.8794C35.6609 18.1826 35.5743 18.4795 35.4092 18.7277C35.244 18.9758 35.0087 19.1626 34.737 19.2612L33.4204 19.7146C33.1504 19.8082 32.905 19.9675 32.7042 20.1796C32.5035 20.3929 32.3519 20.652 32.2612 20.937L31.8378 22.3071C31.7431 22.5976 31.5641 22.8492 31.3263 23.0262C31.0981 23.1992 30.8249 23.2935 30.544 23.2961C30.2606 23.2973 29.984 23.2051 29.7526 23.0324C29.5213 22.8597 29.3467 22.6152 29.2534 22.3329L28.8221 20.9411C28.7341 20.6551 28.5834 20.3951 28.3822 20.1821C28.1798 19.9695 27.9337 19.8089 27.6629 19.713L26.362
11 19.2687C26.0862 19.1695 25.8473 18.9805 25.6797 18.729C25.5566 18.547 25.4753 18.3374 25.4423 18.1165C25.4094 17.8957 25.4257 17.6698 25.4899 17.4567C25.5542 17.2437 25.6646 17.0494 25.8124 16.8893C25.9603 16.7291 26.1415 16.6076 26.3416 16.5342L27.6645 16.0792C27.9292 15.9807 28.169 15.8195 28.3653 15.6078C28.5616 15.3962 28.7093 15.1398 28.7969 14.8585L29.218 13.4883C29.2849 13.274 29.3987 13.0792 29.5501 12.9199C29.7016 12.7605 29.8864 12.641 30.0898 12.5709C30.2931 12.5009 30.5092 12.4824 30.7206 12.5168C30.932 12.5513 31.1327 12.6377 31.3066 12.7692C31.5387 12.9411 31.7134 13.1861 31.8055 13.4684L32.2352 14.8601Z",fill:"white"})]})});return o?s:(0,n.jsx)(l.A,{href:"/",sx:{display:"contents"},children:s})});c.propTypes={disabledLink:i().bool,sx:i().object};let h=c}}]);

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.