1"use strict";(self.webpackChunkheygotrade=self.webpackChunkheygotrade||[]).push([[7846],{61035:function(e,t,n){n.d(t,{A:function(){return c}});var r=n(96540),o=n(33628),a=n(60049);const i="popup_banner_shown_";var s=e=>{const t=e||("undefined"==typeof window?null:window.location.pathname.replace(/^\/|\/$/g,"")||"home"),{0:n,1:o}=(0,r.useState)(null),{0:s,1:l}=(0,r.useState)(!1),{0:c,1:u}=(0,r.useState)(!0),{0:d,1:p}=(0,r.useState)(null),{0:f,1:m}=(0,r.useState)(!1),h=(0,r.useRef)(null),w=(0,r.useRef)(!1),g=(0,r.useCallback)((e,t)=>{if("undefined"==typeof window)return!0;const n=`${i}${e}`;if(t)return null!==sessionStorage.getItem(n);{const e=localStorage.getItem(n);if(!e)return!1;const t=new Date(parseInt(e,10));return(new Date-t)/36e5<24}},[]),b=(0,r.useCallback)((e,t)=>{if("undefined"==typeof window)return;const n=`${i}${e}`;t?sessionStorage.setItem(n,"1"):localStorage.setItem(n,Date.now().toString())},[]),y=async e=>{const t=await(0,a.cdnFetch)({locale:"en",cdnPath:`/api/cacheable/web-popup-banners/slugViaCDN?slug=${encodeURIComponent(e)}`,apiPath:`/api/web-popup-banners/slug?slug=${encodeURIComponent(e)}`});if(!t.ok)return null;const n=await t.json();return n.success&&n.data?n.data:null},_=(0,r.useCallback)(async()=>{if("undefined"!=typeof window&&t&&!w.current){w.current=!0,u(!0),p(null);try{let e=await y(t);if(!e&&t.includes("/")){const n=t.split("/");for(let t=n.length-1;t>=1&&!e;t--){const r=n.slice(0,t).join("/");e=await y(`${r}/__ALL__`)}}if(e){if(!((e,t)=>{const n=new Date;if(e&&n<new Date(e))return!1;if(t&&n>new Date(t))return!1;return!0})(e.start_time,e.end_time))return void o(null);if(!(e=>{if("undefined"==typeof window)return!1;if(!e||"all"===e)return!0;const t=window.matchMedia("(hover: hover) and (pointer: fine)").matches;return"desktop"===e?t:"mobile"!==e||!t})(e.display_on))return void o(null);g(e.id,e.show_once_per_session)?o(null):o(e)}else o(null)}catch(e){p(e.message),o(null)}finally{u(!1)}}},[t,g]),v=(0,r.useCallback)(()=>{!f&&n&&(m(!0),l(!0),b(n.id,n.show_once_per_session),h.current&&(clearTimeout(h.current),h.current=null))},[f,n,b]),C=(0,r.useCallback)(()=>{l(!1)},[]),E=(0,r.useCallback)(e=>{e.clientY<=0&&!f&&n&&v()},[f,n,v]);return(0,r.useEffect)(()=>{_()},[_]),(0,r.useEffect)(()=>{if("undefined"==typeof window||!n||f)return;const e=n.delay_seconds?1e3*n.delay_seconds:12e3;h.current=setTimeout(()=>{v()},e);const t=window.matchMedia("(hover: hover) and (pointer: fine)").matches;return t&&document.addEventListener("mouseleave",E),()=>{h.current&&clearTimeout(h.current),t&&document.removeEventListener("mouseleave",E)}},[n,f,v,E]),{bannerData:n,isOpen:s,closeBanner:C,isLoading:c,error:d}},l=n(67141);var c=function({children:e,showFooterDisclaimer:t,topPadding:n,injectionFoot:a,popupBannerSlug:i=null}){const{bannerData:c,isOpen:u,closeBanner:d}=s(i);return r.createElement(r.Fragment,null,r.createElement(o.A,{isWidthBound:!1,showFooterDisclaimer:t,topPadding:n,injectionFoot:a},e),r.createElement(l.A,{isOpen:u,onClose:d,bannerData:c}))}},84934:function(e,t,n){n.r(t);var r=n(96540),o=n(61035),a=n(77528),i=n(79350);
1const s={profile:"Profile",background:"Background",experience:"Experience",certifications:"Certifications & licenses",education:"Education",otherAuthors:"Other authors",otherReviewers:"Other expert reviewers",expertReviewer:"Expert Reviewer",articlesBy:"Articles by",articles:"Articles",articleCountOne:"article",articleCountMany:"articles",search:"Search",sortBy:"Sort by",mostRecent:"Most recent",oldest:"Oldest",noArticles:"This author has no articles yet.",noResults:"No articles match your search.",now:"now",emailAuthor:"Email"};t.default=({pageContext:e})=>{const{author:t,posts:n,locale:l,isIndexable:c,siteUrl:u}=e,d=`${u}/${l}/author/${t.slug}/`,p={"@context":"https://schema.org","@type":"ProfilePage",mainEntity:{"@type":"Person","@id":d,url:d,name:t.name,...t.title?{jobTitle:t.title}:{},...t.bio?{description:t.bio}:{},...t.profile_picture_url?{image:{"@type":"ImageObject",url:t.profile_picture_url}}:{},...t.education&&t.education.length?{alumniOf:t.education.map(e=>({"@type":"EducationalOrganization",name:e.school}))}:{},...t.experience&&t.experience.length?{worksFor:t.experience.filter(e=>!e.end).map(e=>({"@type":"Organization",name:e.company}))}:{}}};return r.createElement(o.A,{showFooterDisclaimer:!0,topPadding:!1},r.createElement(a.A,{title:`${t.name} - Author at Gotrade`,description:t.bio?t.bio.slice(0,155):`Articles and profile of ${t.name} on Gotrade.`,isIndexable:c,jsonLd:p,url:d,image:t.profile_picture_url||null,locale:"en_US",siteName:"Gotrade"}),r.createElement(i.A,{author:t,posts:n,locale:l,strings:s}))}}}]); 2//# sourceMappingURL=component---src-templates-author-cdn-gtg-js-0e11ba905947c64e6b69.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.