PageSourceSearch

https://arttactic.com/_next/static/chunks/app/(user)/layout-7d5719a03038c188.js

js arttactic.com collected 2026-10-02 05:50:11 UTC 24,497 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7743],{5238:function(e,t,r){Promise.resolve().then(r.t.bind(r,65878,23)),Promise.resolve().then(r.t.bind(r,88003,23)),Promise.resolve().then(r.bind(r,73740)),Promise.resolve().then(r.bind(r,78561)),Promise.resolve().then(r.bind(r,69100)),Promise.resolve().then(r.bind(r,60993)),Promise.resolve().then(r.bind(r,53176)),Promise.resolve().then(r.bind(r,47311)),Promise.resolve().then(r.bind(r,96554))},33145:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var s=r(48461),n=r.n(s)},99376:function(e,t,r){"use strict";var s=r(35475);r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},48461:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getImageProps:function(){return a}});let s=r(47043),n=r(55346),i=r(65878),l=s._(r(5084));function a(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=i.Image},85092:function(e,t,r){"use strict";r.d(t,{C:function(){return i}});var s=r(7261);let n={position:"top-right",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0,theme:"colored",transition:s.sm},i=(e,t,r)=>{let i={...n,...r};switch(e){case"success":return s.Am.success(t,i);case"error":return s.Am.error(t,i);case"info":return s.Am.info(t,i);case"warning":return s.Am.warn(t,i);default:return(0,s.Am)(t,i)}}},73740:function(e,t,r){"use strict";var s=r(2265),n=r(85092),i=r(99376);t.default=function(){let e=(0,i.useSearchParams)().get("error");return(0,s.useEffect)(()=>{e&&(0,n.C)("error",e)},[e]),null}},86400:function(e,t,r){"use strict";r.d(t,{Ai:function(){return h},AnchorButton:function(){return c},EI:function(){return m},NF:function(){return f},OL:function(){return x},XG:function(){return u},m7:function(){return d},sE:function(){return o}});var s=r(57437),n=r(2265),i=r(63223);r(83788);var l=r(35389),a=r(80605);function o(e){var t,r,l;let{session:o}=e,{primaryFontSize:c}
1=(0,i.s7)(),[d,u]=(0,n.useState)(!1);return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{className:"".concat(d?"bg-orange-e7":"bg-black-70"," text-stroke-1 inline-block rounded-[5px] border border-black px-4 py-1 font-medium text-white transition-colors duration-200 ease-linear hover:bg-hover-color md:px-3 ").concat(c),onClick:()=>{u(e=>!e)},children:"My Account"}),(0,s.jsxs)("ul",{className:"".concat(d?"h-auto px-2 py-3":"h-0"," absolute left-0 right-0 top-full z-[10090] space-y-4 overflow-hidden rounded-b-lg bg-gray-d9 text-right text-xs font-medium transition-all duration-150 ease-in-out 2xl:text-sm 3xl:text-base"),children:[(null==o?void 0:null===(t=o.user)||void 0===t?void 0:t.admin)&&(0,s.jsxs)("li",{children:[" ",(0,s.jsx)("a",{href:"/admin/dashboard",children:" Admin Panel "})," "]}),(null==o?void 0:null===(r=o.user)||void 0===r?void 0:r.subscriptionType)!=="uniStudent"&&!(null==o?void 0:o.uniMatch)&&(0,s.jsxs)("li",{children:[" ",(0,s.jsx)("a",{href:"/my-account",children:" My Profile "})," "]}),(0,s.jsxs)("li",{children:[" ",(0,s.jsx)("a",{href:"/my-account/downloads",children:" My Downloads "})," "]}),(null==o?void 0:null===(l=o.user)||void 0===l?void 0:l.subscriptionType)!=="uniStudent"&&!(null==o?void 0:o.uniMatch)&&(0,s.jsxs)("li",{children:[" ",(0,s.jsxs)("button",{onClick:()=>(0,a.signOut)({callbackUrl:"/"}),children:[" ","Log out"," "]})," "]})]})]})}function c(e){let{text:t,href:r="",type:n,...l}=e,{primaryFontSize:a}=(0,i.s7)();return(0,s.jsx)("a",{href:r,className:"".concat("solid"===n?"text-stroke-1 bg-black-70 text-white":""," inline-block rounded-[5px] border border-black px-3 py-1 text-center font-medium ").concat(a),...l,children:t})}function d(e){let{text:t,type:r,loading:n=!1,...a}=e,{primaryFontSize:o}=(0,i.s7)();return(0,s.jsx)("button",{className:"".concat("solid"===r?"text-stroke-1 bg-black-70 text-white":""," inline-block rounded-[5px] border border-black px-3 py-1 font-medium ").concat(o),type:"button",...a,children:n?(0,s.jsx)(l.Z,{size:28,sx:{color:"solid"===r?"#ffffff"
1:"#000000"}}):(0,s.jsx)("span",{children:t})})}function u(e){let{...t}=e;return(0,s.jsx)("button",{...t,children:(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"76",height:"62",viewBox:"0 0 76 62",fill:"none",className:"w-12 sm:w-14 md:w-[66px] 2xl:w-full",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_162_1354)",children:[(0,s.jsx)("path",{d:"M69.4367 0H31.5631C14.1312 0 -0.00012207 13.8792 -0.00012207 31C-0.00012207 48.1208 14.1312 62 31.5631 62H69.4367C86.8686 62 101 48.1208 101 31C101 13.8792 86.8686 0 69.4367 0Z",fill:"#F1F2F2"}),(0,s.jsx)("path",{d:"M49.8722 46.1545L42.3849 38.8006C46.7189 33.0944 46.2518 24.9588 40.9782 19.781C35.189 14.0968 25.772 14.0968 19.9847 19.781C14.1973 25.4652 14.1973 34.7163 19.9847 40.4006C22.8783 43.2427 26.6799 44.6647 30.4814 44.6647C33.6049 44.6647 36.7283 43.7032 39.3493 41.7822L46.8366 49.1361C47.255 49.5471 47.8042 49.7526 48.3534 49.7526C48.9027 49.7526 49.4519 49.5471 49.8703 49.1361C50.7072 48.3141 50.7072 46.9784 49.8703 46.1564L49.8722 46.1545ZM23.0203 37.419C18.9049 33.3769 18.9049 26.801 23.0203 22.7607C25.0771 20.7406 27.7802 19.7296 30.4833 19.7296C33.1864 19.7296 35.8877 20.7406 37.9463 22.7607C42.0617 26.8028 42.0617 33.3788 37.9463 37.419C33.8309 41.4611 27.1357 41.4611 23.0203 37.419Z",fill:"#AFAFAF"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_162_1354",children:(0,s.jsx)("rect",{width:"101",height:"62",fill:"white"})})})]})})}function x(e){let{text:t,typ:r,loading:n=!1,...i}=e;return(0,s.jsx)("button",{className:"flex items-center justify-center ".concat("solid"===r?"text-stroke-1 bg-black-70 text-white":""," block w-full rounded-[5px] border-2 border-black p-2 text-center font-medium lg:text-lg 2xl:text-xl 3xl:text-2xl"),...i,children:n?(0,s.jsx)(l.Z,{size:28,sx:{color:"solid"===r?"#ffffff"
1:"#000000"}}):(0,s.jsxs)("span",{children:[" ",t]})})}function m(e){let{text:t,active:r=!1,...n}=e,{primaryFontSize:l}=(0,i.s7)();return(0,s.jsx)("button",{className:"".concat(l," ").concat(r?"bg-orange-e7 text-white":""," rounded-md border-[1px] border-black px-7 py-3.5 text-center font-semibold transition-colors duration-200 ease-linear hover:bg-orange-e7 hover:text-white"),...n,children:t})}function h(e){let{text:t,icon:r,type:n,element:l,...a}=e,{primaryFontSize:o}=(0,i.s7)();if("a"===l)return(0,s.jsxs)("a",{href:a.href,className:"".concat("solid"===n?"text-stroke-1 bg-black-70 text-white":""," inline-block rounded-[5px] border border-black px-3 py-1 text-center font-medium ").concat(o),...a,children:[r&&(0,s.jsx)(r,{className:"mr-2 inline-block"}),(0,s.jsx)("span",{children:t})]});({className:"".concat("solid"===n?"text-stroke-1 bg-black-70 text-white":""," inline-block rounded-[5px] border border-black px-3 py-1 font-medium ").concat(o),...a,children:[r&&(0,s.jsx)(r,{className:"mr-2 inline-block"}),(0,s.jsx)("span",{children:t})]})}function f(e){let{name:t,href:r}=e;return(0,s.jsx)("div",{className:"rounded-md border border-black px-2 py-1 text-xs font-medium uppercase transition-colors duration-150 ease-linear hover:bg-orange-e7 hover:text-white sm:text-sm md:text-base xl:text-lg 3xl:text-2xl",children:(0,s.jsx)("a",{href:"/discover/".concat(r),title:"Discover '".concat(t,"'"),children:t})})}},69100:function(e,t,r){"use strict";var s=r(57437),n=r(2265),i=r(64131),l=r(83788),a=r(80605),o=r(99376),c=r(49036),d=r(86400);t.default=function(){let[e,t]=(0,n.useState)(!1),r=(0,o.useSearchParams)();(0,n.useEffect)(()=>{if("1"!==r.get("uni_match"))return;let e=setTimeout(()=>{i.Z.get("cookie_consent")||t(!0)},3e3);return()=>{clearTimeout(e)}},[]);let u=()=>{i.Z.set("cookie_consent",(0,l.qJ)(),{expires:365,path:"/",domain:window.location.hostname,secure:!0,sameSite:"Lax"}),t(!1)};return e?(0,s.jsx)("div",{className:"".concat(e?"!opacity-100":""," fixed bottom-0 left-0 right-0 top-0 z-[99919] opacity-0 transition-all duration-300 ease-linear"),style:{backgroundColor:"rgba(0, 0, 0, 0.55)"},children:(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 z-[99920] flex flex-col items-center justify-between gap-6 bg-white p-4 text-gray-700 sm:flex-row",children:[(0,s.jsxs)("span",{className:"w-full max-w-3xl text-left text-sm font-medium",children:["We use cookies to grant you access through your university and improve your experience. Your university provides free access via IP address. To ensure the correct access and best experience, we collect certain information. By continuing, you agree to our use of cookies."," ",(0,s.jsx)("a",{href:"/privacy-policy",className:"font-bold",children:"Privacy Policy"})," ","|"," ",(0,s.jsx)("button",{className:"font-bold",onClick:()=>{i.Z.set("arttactic_mode",c.uz.private,{expires:1}),u(),(0,a.signOut)({callbackUrl:"/register"})},children:"Create a paid account"})]}),(0,s.jsx)(d.m7,{text:"OK",type:"solid",onClick:u})]})}):null}},60993:function(e,t,r){"use strict";r.d(t,{CartProvider:function(){return o},j:function(){return c}});var s=r(57437),n=r(27648),i=r(2265),l=r(32768);let a=(0,i.createContext)(),o=e=>{let{children:t}=e,r="cart989",[o,c]=(0,i.useState)([]),[d,u]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=()=>{let e=JSON.parse(localStorage.getItem(r))||[];c(e),u(e.reduce((e,t)=>e+t.subtotal,0))};e();let t=t=>{t.key===r&&e()};return window.addEventListener("storage",t),()=>{window.removeEventListener("storage",t)}},[]),(0,s.jsxs)(a.Provider,{value:{cartData:o,addToCart:e=>{let t=[...o,e];c(t),u(t.reduce((e,t)=>e+t.subtotal,0)),localStorage.setItem(r,JSON.stringify(t))},removeCartItem:e=>{let t=o.filter(t=>t._id!==e);c(t),u(t.reduce((e,t)=>e+t.subtotal,0)),localStorage.setItem(r,JSON.stringify(t))},totalPrice:d},children:[t,(0,s.jsx)(n.default,{href:"/cart",className:"group ".concat(o.length>0?"opacity-100":"opacity-0"," transition-opacity duration-200 ease-in-out"),children:(0,s.jsx)("div",{className:"fixed bottom-4 right-4 z-50",children:(0,s.jsx)("div",{className:"rounded-full bg-orange-e7 p-3 shadow-md transition-colors duration-200 ease-in-out group-hover:bg-white",children:(0,s.jsx)(l.toq,{className:"text-2xl text-white transition-colors duration-200 ease-in-out group-hover:text-black md:text-3xl 3xl:text-4xl"})})})})]})},c=()=>(0,i.useContext)(a)},47311:function(e,t,r){"use strict";r.d(t,{default:function(){return g}});var s=r(57437),n=r(2265),i=r(33145),l=r(80605),a=r(1326),o=r(94295),c=r(19981),d=r(86400),u=r(49036),x=r(99376),m=r(67776);let h=e=>{let{query:t,handleSearch:r,handleSearchAdvance:n,session:i}=e;return(0,s.jsx)("ul",{className:"".concat(t.length>0?"h-auto opacity-100":"h-0 opacity-0"," absolute left-0 right-0 top-full w-full overflow-hidden rounded-b-2xl bg-[#F1F2F2] text-26p font-medium transition-all duration-200 ease-in-out"),children:t.length>0&&(0,s.jsxs)(s.Fragment,{children:[["Just search for"].map((e,n)=>(0,s.jsxs)("li",{children:[" ",(0,s.jsxs)("button",{className:"w-full px-3 py-2 text-left transition-colors duration-150 ease-linear hover:bg-gray-d9 md:px-4 md:py-2 lg:px-6 lg:py-3",onClick:r,children:[e,": ",(0,s.jsx)("strong",{children:t})," "]})," "]},n)),["Title","Researchers","Description"].map((e,r)=>{var l,a,o,c;return(0,s.jsxs)("li",{children:[" ",(0,s.jsxs)("button",{className:"flex w-full items-center justify-between space-x-3 px-3 py-2 text-left transition-colors duration-150 ease-linear hover:bg-gray-d9 md:px-4 md:py-2 lg:px-6 lg:py-3",onClick:()=>n(e.toLowerCase()),disabled:!i||(null==i?void 0:null===(l=i.user)||void 0===l?void 0:l.membershipStatus)!=="active"&&(null==i||null===(a=i.user)||void 0===a||!a.admin),children:[(0,s.jsxs)("span",{children:[e,": ",(0,s.jsx)("strong",{children:t})]}),i&&((null==i?void 0:null===(o=i.user)||void 0===o?void 0:o.membershipStatus)==="active"||(null==i?void 0:null===(c=i.user)||void 0===c?void 0:c.admin))?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(m.t8M,{className:"text-lg md:text-xl 2xl:text-2xl"})]})," "]},r)})]})})};var f=function(e){let{openSearchBar:t,onClose:r,session:i}
1=e,l=(0,n.useRef)(null),a=(0,x.usePathname)(),[c,d]=(0,n.useState)("");function m(e){window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"site_search",search_term:e}))}(0,n.useEffect)(()=>{a.includes("/search-results/")&&d(decodeURIComponent(a.split("/").pop()))},[a]),(0,n.useEffect)(()=>{t&&(null==l?void 0:l.current)&&l.current.focus()},[t]);let f=e=>{var t,s,n,l;if("keydown"===e.type){((null==e?void 0:e.code)==="Enter"||(null==e?void 0:e.which)===13||(null==e?void 0:e.keyCode)===13||(null==e?void 0:e.key)==="Enter")&&(i&&((null==i?void 0:null===(n=i.user)||void 0===n?void 0:n.membershipStatus)==="active"||(null==i?void 0:null===(l=i.user)||void 0===l?void 0:l.admin))?p("advance"):(m(c),window.location.href="/search-results/"+encodeURIComponent(c)),r());return}i&&((null==i?void 0:null===(t=i.user)||void 0===t?void 0:t.membershipStatus)==="active"||(null==i?void 0:null===(s=i.user)||void 0===s?void 0:s.admin))?p("advance"):(m(c),window.location.href="/search-results/"+encodeURIComponent(c)),r()},p=e=>{var t,s;i&&((null==i?void 0:null===(t=i.user)||void 0===t?void 0:t.membershipStatus)==="active"||(null==i?void 0:null===(s=i.user)||void 0===s?void 0:s.admin))&&(m(c),window.location.href="/search-results/"+c+"?mode="+e,r())};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"".concat(u.pq," ").concat(t?"left-2 w-auto opacity-100 md:left-1/3":"w-0 opacity-0"," duration-250 absolute right-2 top-1/2 z-[202] -translate-y-1/2 font-medium transition-all ease-in-out md:right-4"),children:(0,s.jsxs)("div",{className:"flex items-center space-x-2 overflow-x-clip",children:[(0,s.jsxs)("div",{className:"relative flex w-full items-center ".concat(c.length>0?"rounded-t-2xl":"rounded-full"," bg-[#F1F2F2] px-2 md:px-4"),children:[(0,s.jsx)("input",{ref:l,type:"text",className:"w-full bg-transparent py-2 outline-none",onChange:e=>d(e.target.value),value:c,onSubmit:f,onKeyDown:f,placeholder:"Search for reports, editorial, podcasts..."}),(0,s.jsx)("button",{onClick:f,className:"ml-2",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"35",height:"35",viewBox:"0 0 35 35",fill:"none",className:"w-5",children:(0,s.jsx)("path",{d:"M34.228 30.6367L26.7407 23.2828C31.0747 17.5765 30.6077 9.44101 25.3341 4.26318C19.5449 -1.42106 10.1278 -1.42106 4.3405 4.26318C-1.44683 9.94741 -1.44683 19.1985 4.3405 24.8828C7.23417 27.7249 11.0357 29.1468 14.8373 29.1468C17.9607 29.1468 21.0842 28.1854 23.7051 26.2644L31.1924 33.6183C31.6108 34.0293 32.1601 34.2348 32.7093 34.2348C33.2585 34.2348 33.8077 34.0293 34.2262 33.6183C35.0631 32.7963 35.0631 31.4605 34.2262 30.6385L34.228 30.6367ZM7.37614 21.9012C3.26075 17.8591 3.26075 11.2832 7.37614 7.24291C9.43291 5.22278 12.136 4.2118 14.8392 4.2118C17.5423 4.2118 20.2435 5.22278 22.3022 7.24291C26.4176 11.285 26.4176 17.8609 22.3022 21.9012C18.1868 25.9433 11.4915 25.9433 7.37614 21.9012Z",fill:"#AFAFAF"})})}),(0,s.jsx)(h,{query:c,handleSearch:f,handleSearchAdvance:p,session:i})]}),(0,s.jsx)("button",{className:"text-2xl text-white md:text-3xl 2xl:text-4xl",onClick:r,children:(0,s.jsx)(o.QAE,{})})]})}),(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[200] transition-opacity duration-200 ease-in-out ".concat(t?"opacity-100":"h-0 w-0 opacity-0"),style:{background:"rgba(0, 0, 0, 0.55)"},onClick:r})]})},p=r(85092),b=r(64131),g=function(e){let{session:t}=e;(0,x.useRouter)();let[r,m]=(0,n.useState)(!1),[h,g]=(0,n.useState)(!1),[v,j]=(0,n.useState)({arttacticMode:"",uniMatch:"0"});(0,n.useEffect)(()=>{j({arttacticMode:b.Z.get("art_mode")||u.uz.university,uniMatch:b.Z.get("art_umatch")||"0"})},[]);let w=async()=>{try{let e={redirect:!1,loginBackToAdmin:!0,adminUserInfo:JSON.stringify({firstName:t.adminUserInfo.firstName,lastName:t.adminUserInfo.lastName,email:t.adminUserInfo.email,id:t.adminUserInfo._id,refreshToken:t.adminUserInfo.refreshToken})},r=await (0,l.signIn)("credentials",e);r.error?(0,p.C)("error",r.error):window.location.href="/admin/users"}catch(e){(0,p.C)("error",e.message)}};return(0,s.jsxs)("header",{id:"ArtHead",className:"z-[201] bg-white-f8",children:[t?t.isFromAdmin?(0,s.jsxs)("div",{className:"bg-white p-2 text-center text-xs font-medium md:text-sm 2xl:text-base 3xl:text-xl",children:[(0,s.jsxs)("p",{children:["You have been logged in as"," ",t.user.firstName+" "+t.user.lastName," 
1(",t.user.email,")"]}),(0,s.jsxs)("button",{onClick:w,className:"mt-1 w-full rounded-md border-[1px] border-black bg-orange-e7 px-2 py-1 text-white transition-colors hover:bg-transparent hover:text-black",children:["go back to admin as"," ",t.adminUserInfo.firstName+" "+t.adminUserInfo.lastName," ","(",t.adminUserInfo.email,")"," "]})]}):(null==t?void 0:t.uniMatch)?(0,s.jsxs)("div",{className:"bg-white p-2 text-center text-xs font-medium md:text-sm 2xl:text-base 3xl:text-xl",children:[(0,s.jsx)("p",{children:"Accessing via University and/or Library Subscription"}),(0,s.jsx)("button",{onClick:()=>{b.Z.set("art_mode",u.uz.private,{expires:1}),(0,l.signOut)({callbackUrl:"/"})},className:"mt-1 w-full rounded-md border-[1px] border-black bg-orange-e7 px-2 py-1 text-white transition-colors hover:bg-transparent hover:text-black",children:"Switch to Personal Access"})]}):null:v.arttacticMode===u.uz.private&&"1"===v.uniMatch?(0,s.jsxs)("div",{className:"bg-white p-2 text-center text-xs font-medium md:text-sm 2xl:text-base 3xl:text-xl",children:[(0,s.jsx)("p",{children:"Accessing under an individual user licence"}),(0,s.jsx)("button",{onClick:()=>{b.Z.set("art_mode",u.uz.university,{expires:1}),window.location.href="/"},className:"mt-1 w-full rounded-md border-[1px] border-black bg-orange-e7 px-2 py-1 text-white transition-colors hover:bg-transparent hover:text-black",children:"Switch to University and/or Library Access"})]}):null,(0,s.jsxs)("div",{className:"relative flex items-center justify-between pl-6 md:py-2 md:pl-12 lg:py-6 lg:pl-16 xl:pl-20",children:[(0,s.jsxs)("div",{className:"flex items-center space-x-2 sm:space-x-4 xl:space-x-0",children:[(0,s.jsx)("button",{className:"block xl:hidden",onClick:()=>m(!0),children:(0,s.jsx)(a.Bbf,{className:"text-xl sm:text-3xl"})}),(0,s.jsx)("a",{href:"/",children:(0,s.jsx)(i.default,{src:"/resources/images/logo/ArtTactic_Logo.svg",alt:"ArtTactic Logo",height:73,width:289,priority:!0,className:"w-[88px] max-w-64 object-contain sm:w-36 lg:w-44 xl:w-56"})})]}),(0,s.jsxs)("nav",{className:"fixed top-0 z-[202] flex flex-col justify-between overflow-hidden bg-gray-d9 px-4 py-4 xl:bg-transparent xl:p-0 ".concat(r?"bottom-0 left-0 w-full max-w-xs":"-left-full w-0"," text-base font-medium xl:static xl:block xl:w-auto xl:text-lg 3xl:text-2xl"),children:[(0,s.jsx)("div",{className:"mb-4 text-right xl:hidden",children:(0,s.jsx)("button",{className:"text-2xl",onClick:()=>m(!1),children:(0,s.jsx)(o.QAE,{})})}),(0,s.jsxs)("ul",{className:"flex flex-1 flex-col space-y-6 text-inherit xl:flex-row xl:items-center xl:space-x-7 xl:space-y-0 2xl:space-x-8",children:[(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:"/reports",className:"flex items-center space-x-3 xl:space-x-0",children:[" ",(0,s.jsx)(c.cW,{classNames:"w-5 h-auto xl:hidden"})," ",(0,s.jsx)("span",{children:"Reports"})]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:"/podcasts",className:"flex items-center space-x-3 xl:space-x-0",children:[" ",(0,s.jsx)(c.S6,{classNames:"w-5 h-auto xl:hidden"})," ",(0,s.jsx)("span",{children:"Podcasts"})]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:"/courses",className:"flex items-center space-x-3 xl:space-x-0",children:[" ",(0,s.jsx)(c.RY,{classNames:"w-5 h-auto xl:hidden"})," ",(0,s.jsx)("span",{children:"Courses"})]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:"/artforecaster",className:"flex items-center space-x-3 xl:space-x-0",children:[" ",(0,s.jsx)(c.RI,{classNames:"w-5 h-auto xl:hidden"})," ",(0,s.jsx)("span",{children:"Forecaster"})]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:"/editorials",className:"flex items-center space-x-3 xl:space-x-0",children:[" ",(0,s.jsx)(c.iS,{classNames:"w-5 h-auto xl:hidden"})," ",(0,s.jsx)("span",{children:"Editorial"})]})}),!(null==t?void 0:t.user)&&(0,s.jsx)("li",{className:"md:hidden",children:(0,s.jsxs)("a",{href:"/login",title:"Go to login page",className:"flex items-center space-x-3",children:[" ",(0,s.jsx)(c.wX,{classNames:"w-5 h-auto "})," ",(0,s.jsx)("span",{children:"Login"})]})}),(0,s.jsx)("li",{className:"md:hidden",children:(0,s.jsxs)("a",{href:"/memberships",title:"Explore our membership plans",className:"flex items-center space-x-3",children:[" ",(0,s.jsx)(c.fr,{classNames:"w-5 h-auto "})," ",(0,s.jsx)("span",{children:"Subscribe"})]})})]}),(null==t?void 0:t.user)&&(0,s.jsx)("div",{className:"pb-4 xl:hidden",children:(0,s.jsxs)("button",{className:"flex items-center space-x-3",onClick:()=>(0,l.signOut)({callbackUrl:"/",redirect:!0}),children:[" ",(0,s.jsx)(c.wX,{classNames:"w-5 h-auto transform rotate-180"})," ",(0,s.jsx)("span",{children:"Log-out"})]})})]}),(0,s.jsxs)("nav",{className:"flex items-center space-x-7 2xl:space-x-8",children:[(0,s.jsxs)("div",{className:"hidden items-center space-x-7 md:flex 2xl:space-x-8",children:[(0,s.jsx)(d.AnchorButton,{href:"/memberships",title:"Explore our membership plans",text:"Subscribe"}),!(null==t?void 0:t.user)&&(0,s.jsx)(d.AnchorButton,{href:"/login",text:"Login",title:"Go to login",type:"solid"})]}),(0,s.jsx)("div",{className:"",children:(null==t?void 0:t.user)&&(0,s.jsx)(d.sE,{session:t})}
1),(0,s.jsx)(d.XG,{className:"".concat(h?"opacity-0":"opacity-100"," transition-opacity duration-200 ease-in-out"),onClick:()=>g(!0)})]}),(0,s.jsx)(f,{openSearchBar:h,onClose:()=>g(!1),session:t})]})]})}},96554:function(e,t,r){"use strict";var s=r(2265),n=r(37225),i=r(80605),l=r(49036),a=r(64131),o=r(99376);t.default=function(){let{data:e,status:t}=(0,i.useSession)(),r=(0,o.useRouter)();return(0,s.useEffect)(()=>{let s=a.Z.get("art_mode")||l.uz.university;(async()=>{try{var o,c;let d=(await n.Z.auth.genFingerprint()).data;if("authenticated"===t&&(null==e?void 0:e.fingerprint)===(null==d?void 0:d.fingerprint)&&(null==e?void 0:null===(o=e.user)||void 0===o?void 0:o._id)===(null==d?void 0:null===(c=d.user)||void 0===c?void 0:c._id)){a.Z.set("art_mode",l.uz.university,{expires:1}),a.Z.set("art_umatch","1",{expires:1});return}if(d.uniMatch){if(a.Z.set("art_umatch","1",{expires:1}),s===l.uz.university){let e={redirect:!1,fingerprint:d.fingerprint,session:!0,uniMatch:!0,user:JSON.stringify(d.user)},t=await (0,i.signIn)("credentials",e);t.error?console.log("❌ error",t.error):(a.Z.set("art_mode",l.uz.university,{expires:1}),a.Z.set("fingerprint",d.fingerprint,{expires:1}),r.refresh())}return}if(e&&(null==e?void 0:e.uniMatch)){(0,i.signOut)({callbackUrl:"/"});return}}catch(e){console.error("❌ Fingerprint error:",e)}})()},[]),null}},63223:function(e,t,r){"use strict";r.d(t,{Ag:function(){return l},UX:function(){return o},h0:function(){return a},s7:function(){return n}});var s=r(2265);function n(){return{containerPadding:(0,s.useMemo)(()=>"px-6 md:px-12 lg:px-16 xl:px-20",[]),containerPaddingTop:(0,s.useMemo)(()=>"pt-8 md:pt-14 lg:pt-20",[]),primaryFontSize:(0,s.useMemo)(()=>"text-xs sm:text-sm md:text-base xl:text-lg 3xl:text-2xl leading-primary",[])}}let i=(e,t)=>Array.from({length:t-e+1},(t,r)=>r+e),l="...",a=e=>{let{totalCount:t,pageSize:r,siblingCount:n=1,currentPage:a}=e;return(0,s.useMemo)(()=>{let e=Math.ceil(t/r);if(n+5>=e)return i(1,e);let s=Math.max(a-n,1),o=Math.min(a+n,e),c=s>2,d=o<e-2;return!c&&d?[...i(1,3+2*n),l,e]:c&&!d?[1,l,...i(e-(3+2*n)+1,e)]:c&&d?[1,l,...i(s,o),l,e]:void 0},[t,r,n,a])||[]},o=e=>(0,s.useMemo)(()=>{switch(null==e?void 0:e.toLowerCase()){case"analyst pro":return{background:"#E400FF"};case"analyst":return{background:"#008BE3"};case"tracker":return{background:"#28BF2F"};default:return{background:"#ff3344"}}},[e])},2648:function(){}},function(e){e.O(0,[5676,5452,5706,1994,4574,8610,9562,7983,605,813,7261,5878,599,8003,3788,7225,4147,2971,2117,1744],function(){return e(e.s=5238)}),_N_E=e.O()}]);

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.