PageSourceSearch

https://www.goodinside.com/_next/static/chunks/996.ebef023c0c7433b8.js

js goodinside.com collected 2026-09-24 09:25:37 UTC 5,875 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c64bdff-11c5-4f36-ac15-13d909484771",e._sentryDebugIdIdentifier="sentry-dbid-8c64bdff-11c5-4f36-ac15-13d909484771")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[996],{13841:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876),n=l(50354),r=l(58103),i=l.n(r);let a=e=>{let{className:t="",children:l,...r}=e;return(0,s.jsx)(n.A,{variant:"",size:"",className:i()("text__tag inline-block rounded-full border border-yellow bg-white leading-none","px-3.5 py-2.5",{"cursor-pointer hover:bg-yellow active:text-black/60":r.href},{"cursor-default":!r.href},t),...r,children:l})}},39780:(e,t,l)=>{l.r(t),l.d(t,{default:()=>g});var s=l(37876),n=l(71176),r=l(41072),i=l(98778),a=l(51792),o=l(98754),c=l(14254),d=l(69625),u=l(58103),p=l.n(u),f=l(14232);l(30346),l(18058);var h=l(23748),m=l(27888);function g(e){var t;let{heading:l,subheading:u,postData:g,placeholders:w,locked:v=!1,topic:x,showAd:b,hideSubHeading:y=!1,fadeColor:N="gray",headingSize:j="h2"}=e,[k,_]=(0,f.useState)(!1),[E,A]=(0,f.useState)(!1),[C,I]=(0,f.useState)(!1),[T,B]=(0,f.useState)({}),L=(0,f.useRef)(null),P=(0,f.useRef)(null),S=(0,f.useRef)(null),R=(0,f.useRef)(null),{setScrollPosition:V,dispatchModal:D,innerWidth:F}=(0,o.mL)();(0,f.useEffect)(()=>{x&&L.current.swiper.slideTo(0)},[x]);let z=()=>{V(window.pageYOffset||document.documentElement.scrollTop)};return(0,f.useEffect)(()=>{if(!L.current)return;let e=()=>{var e;A(!(null==(e=L.current.swiper)?void 0:e.isEnd))};return e(),window.addEventListener("resize",(0,d.A)(e,50)),()=>window.removeEventListener("resize",(0,d.A)(e,50))},[L]),(0,s.jsxs)("section",{className:"alignfull",...F>c.ux&&{onMouseEnter:()=>_(!0),onMouseLeave:()=>_(!1)},children:[(0,s.jsx)(i.default,{className:"relative",children:(l||u)&&(0,s.jsxs)("header",{className:"mb-0",children:[l&&("h1"===j?(0,s.jsx)("h1",{className:"my-0 heading__md",children:l}):(0,s.jsx)("h2",{className:"my-0 heading__md",children:l})),!y&&u&&(0,s.jsx)("p",{className:"mt-1 mb-0 text-sm",children:u})]})}),(0,s.jsxs)(i.default,{className:"relative",children:[g&&(0,s.jsxs)(m.RC,{modules:[h.Vx],className:p()("gi-swiper pb-8 swiperFade",{"swiperFade--right":E,"swiperFade--left":C,"swiperFade--gray":"gray"===N,"swiperFade--white":"white"===N,"!overflow-visible":F<c.NU}),threshold:5,navigation:{prevEl:P.current,nextEl:S.current,clickable:!0},onSlideChange:e=>{var t;let s=!e.isEnd,n=!e.isBeginning;A(s),I(n),t=e.activeIndex,B(e=>{let s={...e};return s[l]=t,s})},slidesPerView:1.5,spaceBetween:10,ref:L,initialSlide:null!=(t=T[l])?t:0,longSwipesRatio:.2,onBeforeInit:e=>{R.current=e,e.params.navigation.prevEl=P.current,e.params.navigation.nextEl=S.current},breakpoints:{520:{slidesPerView:2.5,spaceBetween:16},768:{slidesPerView:3.5,spaceBetween:24},1024:{slidesPerView:4,spaceBetween:24},1280:{slidesPerView:4.5,spaceBetween:24}},children:[null==g?void 0:g.map((e,t)=>{var l,n,i,a,o,c,d,u;if(!e||!e.contentType)return;let p=("string"==typeof e.contentType?e.contentType:null==(i=e.contentType)||null==(n=i.node)||null==(l=n.labels)?void 0:l.singularName).toLowerCase();return(0,s.jsx)(m.qr,{children:(0,s.jsx)(r.Z,{id:e.id,title:e.title,image:(0,r.B)({card:e,contentType:p,placeholders:w}),link:"/".concat(p,"/").concat(e.id,"/").concat(e.slug),topics:(null==(a=e.topics)?void 0:a.nodes)||e.topics,type:(null==(d=e.contentType)||null==(c=d.node)||null==(o=c.labels)?void 0:o.singularName)||e.contentType,duration:null==(u=e.contentDuration)?void 0:u.timeToConsume,className:"h-full",onClick:z,locked:v})},"".concat(t,"-").concat(e.id))}),b&&(0,s.jsx)(m.qr,{children:(0,s.jsxs)("div",{className:"flex flex-col justify-between h-full p-6 bg-white shadow-md group rounded-xl",children:[(0,s.jsx)("h4",{className:"flex flex-col justify-center flex-grow text-xl font-bold",children:"Access these resources and 100s more!"}),(0,s.jsx)(a.A,{className:"group-hover:border-black group-hover:bg-black group-hover:text-white",fullWidth:!0,children:c.PB})]})})]}),(0,s.jsx)(n.A,{ref:P,className:p()("cs-swiper-button right-auto left-4 lg:left-6 top-[45%]",{"!hidden":!k}),icon:"arrowLeft",iconClassName:"group-hover:text-white scale-110"}),(0,s.jsx)(n.A,{ref:S,className:p()("cs-swiper-button right-4 lg:right-6 left-auto top-[45%]",{"!hidden":!k}),icon:"arrowRight",iconClassName:"group-hover:text-white scale-110"})]})]})}},63301:(e,t,l)=>{l.d(t,{A:()=>c});var s=l(37876),n=l(71176),r=l(79499),i=l(45315),a=l(23091),o=l(14232);let c=e=>{let{postId:t,title:l,topics:c,type:d,duration:u,bgColor:p="bg-light-gray"}=e,[f,h]=(0,o.useState)(!1),{updateBookmarks:m,bookmarks:g,user:w}=(0,r.J)();return((0,o.useEffect)(()=>{t&&g&&h(g&&g.includes(parseInt(t)))},[t,g]),null==w?void 0:w.subscription_active)?(0,s.jsx)(n.A,{className:f?"!bg-black":p,icon:f?"saved":"save",onClick:e=>{t&&(h(e=>!e),e.preventDefault(),e.stopPropagation(),e.nativeEvent.stopImmediatePropagation(),m({postIds:[t],remove:f}),f||(0,a.u4)(i.XN.ContentBookmarked,{content_id:t,content_type:null==d?void 0:d.toLowerCase(),length_displayed:60*u,title:l,topic_ids:c.map(e=>e.topicId),topics:c.map(e=>e.name)}
1))}}):null}},92697:(e,t,l)=>{l.d(t,{A:()=>a});var s=l(37876),n=l(41444),r=l(58103),i=l.n(r);let a=e=>{let{children:t,media:l="article",className:r}=e;return(0,s.jsxs)("span",{className:i()("text__eb2 pointer-events-none inline-flex items-center rounded-full bg-black/50 px-2 py-1 text-white subpixel-antialiased",r),children:[(0,s.jsx)(n.A,{name:{article:"smallArticle",script:"smallScript",podcast:"smallPodcast",video:"smallVideo",workshop:"smallWorkshop",live:"smallLive"}[l.toLowerCase()],color:"white",className:"mr-1"}),(0,s.jsx)("span",{children: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.