PageSourceSearch

https://www.citationmachine.net/_next/static/chunks/pages/logout-c3199b34cae65b20.js

js citationmachine.net collected 2026-09-24 08:44:22 UTC 7,191 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[765],{56778:function(e,t,n){"use strict";n.d(t,{c:function(){return h}});var r=n(81260),i=n.n(r),o=(n(51068),n(2784)),c=n(60264),a=n(5632);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=function(e){var t=(0,a.useRouter)().query,n=t.strackid,r=t.trackid,i=t.recommendation_id,c=null!==e&&void 0!==e?e:{},s=c.tracking_type,l=c.content_label,f=c.content_id,d=c.section_id,p=c.region_name;return(0,o.useMemo)((function(){return"search"!==s&&s||!n||"string"!==typeof n||!r||"string"!==typeof r?"recommendation"!==s&&s||!i||"string"!==typeof i?s?e:u({tracking_type:null},e):u(u({},e),{},{tracking_type:"recommendation",recommendation_id:i}):u(u({},e),{},{tracking_type:"search",search_track_id:r,search_strack_id:n})}),[n,r,s,l,f,d,p])},f=function(){var e=(0,o.useRef)(!1);return(0,o.useEffect)((function(){e.current||(e.current=!0)}),[]),e.current},d=function(e){var t=e.onVisible,n=e.onHidden,r=(0,o.useCallback)((function(){"visible"===document.visibilityState?t():n()}),[t,n]);(0,o.useEffect)((function(){return window.addEventListener("visibilitychange",r),function(){return window.removeEventListener("visibilitychange",r)}}),[r])};var p=function(e,t){var n={type:"time_on_page",version:1,data:e};return t&&(n.options={force:t}),n};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=f(),n=(0,c.getClient)(),r=(0,a.useRouter)(),i=(0,o.useRef)(Date.now()),s=(0,o.useRef)(0);(0,o.useEffect)((function(){i.current=Date.now()}),[]);var u=l(e);(0,o.useEffect)((function(){t&&(i.current=Date.now(),s.current=0)}),[u]);var g=(0,o.useCallback)((function(){var e=Date.now();s.current+=e-i.current,i.current=e,u&&n.sendEvent(p(m(m({},u),{},{interval_type:"unload",interval:Math.round(s.current/1e3)}),!0))}),[u]),h=(0,o.useCallback)((function(){i.current=Date.now()}),[]),v=(0,o.useCallback)((function(){g()}),[g]);d({onVisible:h,onHidden:v}),(0,o.useEffect)((function(){var e=function(){g()},t=function(e){g(),delete e.returnValue};return window.addEventListener("beforeunload",t),r.events.on("routeChangeStart",e),function(){window.removeEventListener("beforeunload",t),r.events.off("routeChangeStart",e)}}),[g,r])}},74833:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return M}});var r=n(2784),i=n(65230),o=n(20406),c=n(28526),a=n.n(c),s=n(17635),u=n(39410),l=n(70655),f=n(61423),d=n(47364),p=n(70801),g=n(972),m=n(5624),h=n(50922),v=n(92661),w=n(64441),y=n(89247),b=n(20549),_=n(13075),x=n(3411),j=n(50470),O=n(3219),P=x.ZP.div.withConfig({displayName:"styled__PageContainer",componentId:"sc-n7w13n-0"})(["display:flex;flex-direction:column;min-height:100vh;"]),C=x.ZP.main.withConfig({displayName:"styled__Wrapper",componentId:"sc-n7w13n-1"})(["flex:1;",";background-color:",";"],O._,(function(e){return e.theme.Colors.forInterface.interfaceColor20})),k=x.ZP.div.withConfig({displayName:"styled__PlusContainer",componentId:"sc-n7w13n-2"})(["display:flex;align-items:center;justify-content:center;box-shadow:0px 1px 2px 0px rgba(0,0,0,0.15);border-bottom-left-radius:3px;border-bottom-right-radius:3px;padding:35px 30px;border-top:1px dotted #d6d6d6;background-color:#fff;text-align:left;"]),E=x.ZP.div.withConfig({displayName:"styled__Text",componentId:"sc-n7w13n-3"})(["font-weight:700;font-size:medium;text-align:center;padding:10px 8%;"]),N=x.ZP.div.withConfig({displayName:"styled__FlexCol",componentId:"sc-n7w13n-4"})(["display:flex;align-items:flex-start;flex-direction:column;"]),D=x.ZP.div.withConfig({displayName:"styled__PlusHeader",componentId:"sc-n7w13n-5"})(["font-size:18px;font-weight:500;"]),I=x.ZP.div.withConfig({displayName:"styled__PlusText",componentId:"sc-n7w13n-6"})(["font-size:13px;font-weight:300;margin-top:8px;margin-bottom:16px;"]),Z=x.ZP.div.withConfig({displayName:"styled__PlusImage",componentId:"sc-n7w13n-7"})(["background-image:",";height:71px;width:68px;margin-right:15px;"],"url('".concat((0,_.gN)("funnel-illustration.svg"),"');")),S=(0,x.ZP)(j.Mk).withConfig({displayName:"styled__PlusButton",componentId:"sc-n7w13n-8"})(["width:100%;"]),T=n(52322),L={logout:m.kS,userClick:g.p8},R=(0,s.$j)(null,L)((function(e){var t=e.siteName,n=e.logout,c=e.navItemsSelector,g=e.userClick,m=(0,s.I0)(),_=(0,u.XW)(),x=_.toPlagiarism,j=_.toWritingAssistant,O=_.toCitationsHome;(0,r.useEffect)((function(){n(),m((0,p.y4)())}),[]),(0,r.useEffect)((function(){var e=setTimeout((function(){window.location.href=(0,l.s)(O())}),1e4);return function(){return clearTimeout(e)}}),[]);var L=[i.$5,i.iz,i.C3].includes(h.D.siteName),R=h.D.shouldOpenInNewTab?"_blank":null,H=function(){var e=(0,o.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(g({origin:d.pB.checkPaperAfterLogout}),(0,v.nZ)(w.j.LOGOUT_CHECK_MY_PAPER),!L){e.next=7;break}return t.preventDefault(),e.next=6,(0,v.FO)();case 6:m((0,p.ae)(j()));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,T.jsxs)(P,{children:[(0,T.jsx)(f.Z,{title:"Logout | ".concat(t),enable:!!t}),(0,T.jsx)(y.ZP,{navItemsSelector:c}
1),(0,T.jsxs)(C,{children:[(0,T.jsx)(E,{children:"You have been successfully logged out."}),(0,T.jsxs)(k,{children:[(0,T.jsx)(N,{children:(0,T.jsx)(Z,{})}),(0,T.jsxs)(N,{children:[(0,T.jsx)(D,{children:"Finished with your citations? Now perfect your paper."}),(0,T.jsx)(I,{children:"Scan for unintentional plagiarism and get advanced grammar suggestions."}),(0,T.jsx)(S,{href:L?(0,l.s)(j()):(0,l.s)(x()),target:L?null:R,onClick:H,"data-test":"logout-to-plagiarism",children:"Check Your Paper"})]})]})]}),(0,T.jsx)(b.Z,{})]})})),H=n(56778),z=n(67499),M=function(){return(0,H.c)(),(0,T.jsx)(R,{navItemsSelector:z.l,siteName:i.C3})}},61423:function(e,t,n){"use strict";var r=n(97729),i=n.n(r),o=(n(2784),n(52322));t.Z=function(e){var t=e.title,n=e.enable;return void 0===n||n?(0,o.jsx)(i(),{children:(0,o.jsx)("title",{children:t},"title")}):null}},98746:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/logout",function(){return n(74833)}])}},function(e){e.O(0,[9774,2888,179],(function(){return t=98746,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.