PageSourceSearch

https://blue.kumparan.com/dist/5e5788ede7d4c0f7ba9b.chunk.ff750022b8943758ea13.mod.js

js kumparan.com collected 2026-09-24 08:54:46 UTC 28,262 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["Follow-FollowHandler1","default-src_app_Channel_ChannelStoriesView_tsx-src_app_Collection_utils_ts-src_app_Common_Anc-5b5773"],{"18394cc0d0533e40c26a":(e,t,a)=>{a.d(t,{A:()=>s});var n=a("d518909bf6561866660f"),i=a("f29b77cd1c7382d8894a"),r=a("7a13cb6db90b57a1ac86"),o=a.n(r),l=a("cc710c3175d755559397");const s=e=>{const t=(0,n.c)(17),{onSuccess:a,onError:r,alertMessage:s}=e,{triggerAlert:d}=(0,l.MW)(),c=i.useRef(null),u=i.useRef(null),[m,p]=i.useState(!1);let b,h,f;t[0]===Symbol.for("react.memo_cache_sentinel")?(b=()=>{o().isSupported()&&p(!0)},h=[],t[0]=b,t[1]=h):(b=t[0],h=t[1]),i.useEffect(b,h),t[2]!==s||t[3]!==m||t[4]!==r||t[5]!==a||t[6]!==d?(f=()=>(m&&u&&u.current&&(c.current=new(o())(u.current),c.current.on("success",(()=>{a&&a(),s?.success&&d({message:s.success,variant:"success"})})),c.current.on("error",(()=>{r&&r(),s?.error&&d({message:s.error,variant:"danger"})}))),()=>{c&&c.current&&c.current.destroy()}),t[2]=s,t[3]=m,t[4]=r,t[5]=a,t[6]=d,t[7]=f):f=t[7];const g=s?.error,y=s?.success;let A,k;return t[8]!==m||t[9]!==r||t[10]!==a||t[11]!==g||t[12]!==y||t[13]!==d?(A=[g,y,m,r,a,d],t[8]=m,t[9]=r,t[10]=a,t[11]=g,t[12]=y,t[13]=d,t[14]=A):A=t[14],i.useEffect(f,A),t[15]!==m?(k={clipboardElementRef:u,isClipboardSupported:m},t[15]=m,t[16]=k):k=t[16],k}},"1b637cb5be81df56f785":(e,t,a)=>{a.d(t,{QH:()=>s,Zk:()=>i,x5:()=>o});var n=a("b8d0ee998ea68c6abe46");const i="\n\nIkuti kronologi lengkap berita ini di kumparan.com",r={whatsapp:"wa",line:"line",facebook:"fb",twitter:"tw",instagram:"ig","copy-to-clipboard":"copy-to-clipboard"},o=(e,t,a,n)=>{let i="";const o="desktop"===a?"Desktop":"Mobile";return i=e.includes("?")?`&utm_source=${o}&utm_medium=${r[t]}&shareID=${n}`:`?utm_source=${o}&utm_medium=${r[t]}&shareID=${n}`,`https://kumparan.com${e}${i}`},l="undefined"!=typeof window,s=e=>{let{title:t,path:a,type:i,platform:r,shareID:s,tracking:d,informationCard:c,trackerData:u,additionalText:m}=e;const p=o(a,i,r,s),b=encodeURIComponent(t);let h;const f=encodeURIComponent(`${p}${("whatsapp"===i||"twitter"===i)&&m||""}`);switch(i){case"facebook":h=`https://www.facebook.com/sharer/sharer.php?u=${p}`;break;case"line":h=`https://social-plugins.line.me/lineit/share?text=${b}&url=${f}`;break;case"twitter":h=`https://twitter.com/intent/tweet?text=${b}&url=${f}`;break;case"whatsapp":h=`https://api.whatsapp.com/send?text=${b} ${f}`}const g=c?{medium:i,card_name:n.dU.INFORMATION_CARD,share_id:s}:{medium:i,share_id:s};d.trackEvent({...u&&u.card?{card:u.card}:{},name:u?.name?u.name:n.f7.CLICK_SHARE,context:g,...u&&u.context||{}}),l&&window.open(h,"_blank","location=yes,height=570,width=520,scrollbars=yes,status=yes")}},"1b9c8e2d6b0546e10820":(e,t,a)=>{a.d(t,{s1:()=>p,iv:()=>b,su:()=>f,gW:()=>h,Or:()=>A,y3:()=>D,k9:()=>k,EE:()=>v,Ao:()=>I});var n=a("b28808af9c82de9713c4"),i=a("258612d085f9daa406fe"),r=a("9db61b17f4025e6982b7"),o=a("12143a45ab3e1752320d"),l=a("ea11a6f3602d91f2ce66"),s=a("b507e294b2fe7081df27");const d=e=>e.includes("?")?`${e}&utm_source=amp`:`${e}?utm_source=amp`;var c=a("bb5aff9364e47ba361f7"),u=a("c98c01de6a54a0cba3e2");const m="DISTURBING IMAGE",p=(e,t)=>{const{leadMedia:a}=e,r=Boolean("KUMPARANPLUS"===e.collection?.category),c="internalTags"in e&&e.internalTags.indexOf(l.XVt.HAS_DISTURBING_IMAGE)>-1,u=e.publisher?e.publisher?.avatarMedia?.externalURL||"":e.author?.profilePictureMedia?.externalURL||"",p=(0,o.Du)(e),b=`${t&&t.fullPathUrl?s.A.site.main:""}/${e.publisher?e.publisher.slug:e.author.username}/${t&&t.useUniqSlug?(e=>{const t=e.split("-");return t[t.length-1]})(e.slug):e.slug}`,h=`${t&&t.fullPathUrl?s.A.site.main:""}/${e.publisher?e.publisher.slug:e.author.username}/${e.slug}`;let f=(0,n.z)().setTitle(t?.useCustomTitle&&"customTitle"in e&&e.customTitle?e.customTitle:e.title).setSlug(e.slug).setPath(t&&t.isAmp?d(b):b).setAuthorName(e.publisher?e.publisher.name:e.author.name).setAuthorPath(t&&t.isAmp?d(h):h).setAuthorProfilePicture(u.replace("/kumpar","")).setDate(new Date(e.publishedAt||e.createdAt),t?.formatDateOptions);if("metaDescription"in e&&(f=f.setSummary(e.metaDescription||"")),(e.publisher?e.publisher.isVerified:e.author.isVerified)&&(f=f.addAuthorFlags("VERIFIED")),!r&&p&&(f=f.setAuthorLabel(p).addConfig("HIDE AVATAR")),!e.isShowOnWeb&&e.isShowOnApp&&(f=f.addLabel("APP ONLY")),e.isAgeRestrictedContent&&(f=f.addConfig("ADULT CONTENT")),c&&(f=f.addConfig(m)),t&&t.lightContent&&(f=f.addConfig("HIDE AUTHOR").addConfig("HIDE DATE")),a&&a[0]&&a[0].externalURL){const e=a[0].externalURL;(["VIDEO","INTERNAL_VIDEO"].includes(a[0].mediaType)||(0,i.b8)(e)||(0,i.yI)(e)||(0,i.OU)(e))&&(f=f.addConfig("HAS VIDEO"))}return e.storyAddOns.find((e=>"Polling"===e.object.__typename))&&(f=f.addConfig("HAS POLLING")),e.storyAddOns.find((e=>"Gallery"===e.object.__typename))&&(f=f.addConfig("HAS GALLERY")),f},b=(e,t)=>{const a=e.internalTags.indexOf(l.XVt.HAS_DISTURBING_IMAGE)>-1,i=e.publisher?e.publisher?.avatarMedia?.externalURL||"":e.author?.profilePictureMedia?.externalURL||"";let r=(0,n.z)().setTitle(e.title).setSlug(e.slug).setPath(`${t&&t.fullPathUrl?s.A.site.main:""}/${e.publisher?e.publisher.slug:e.author.username}/${e.slug}`).setAuthorName(e.publisher?e.publisher.name:e.author.name).setAuthorPath(`${t&&t.fullPathUrl?s.A.site.main:""}/${e.publisher?e.publisher.slug:e.author.username}/${e.slug}`).setAuthorProfilePicture(i.replace("/kumpar","")).setDate(new Date(e.createdAt),t?.formatDateOptions);return(e.publisher?e.publisher.isVerified:e.author.isVerified)&&(r=r.addAuthorFlags("VERIFIED")),!e.attributes.isShowOnWeb&&e.attributes.isShowOnApp&&(r=r.addLabel("APP ONLY")),e.attributes.isAgeRestrictedContent&&(r=r.addConfig("ADULT CONTENT")),e.isRevision&&(r=r.addLabel("PUBLISHED")),a&&(r=r.addConfig(m)),r},h=(e,t)=>{const a=`/${e.publisher?e.publisher.slug:e.author.username}/video/${e.id}`,i=e.publisher?e.publisher.avatarMedia?.externalURL||"":e.author.profilePictureMedia?.externalURL||"";return(0,n.z)().setTitle(e.title).setPath(a).setAuthorPath(a).setAuthorName(e.publisher?e.publisher.name:e.author.name).setAuthorProfilePicture(i.replace("/kumpar","")).setSummary(e.caption.document).setDate(new Date(e.createdAt),t?.formatDateOptions)},f=(e,t)=>{const a=(0,c.tW)(u.i.QUICK_POST_DETAIL_PAGE,{slug:e.slug}),r=e.publisher?e.publisher.avatarMedia?.externalURL||"":e.author.profilePictureMedia?.externalURL||"",o=!!("Media"===e.object?.__typename&&e.object.internalTags.indexOf(l.NVm.IS_DISTURBING)>-1||"Gallery"===e.object?.__typename&&e.object.galleryMedias.length>0&&e.object.galleryMedias[0].media.internalTags.indexOf(l.NVm.IS_DISTURBING)>-1);let s=(0,n.z)().setTitle(e.title).setPath(a).setAuthorPath(a).setAuthorName(e.publisher?e.publisher.name:e.author.name).setAuthorProfilePicture(r.replace("/kumpar","")).setSummary(e.description||"").setDate(new Date(e.createdAt),t?.formatDateOptions);switch(e.object?.__typename){case"Media":break;case"Gallery":s=s.addConfig("HAS GALLERY");break;case"Video":s=s.addConfig("HAS VIDEO");break;case"EmbedURL":(0,i.yI)(e.object.url)&&(s=s.addConfig("HAS VIDEO"));break;default:s=s.addConfig("HIDE IMAGE")}return o&&(s=s.addConfig("DISTURBING IMAGE")),s},g=e=>{switch(e){case"GIF":return"GIF";case"INFOGRAPHIC":return"INFOGRAPHIC";case"VIDEO":return"VIDEO";case"FACEBOOK_POST":case"INSTAGRAM_POST":case"TWITTER_POST":return"IMAGE"}return"IMAGE"},y="https://blue.kumparan.com/image/upload/fl_progressive,fl_lossy,c_fill,q_auto:best,w_320,ar_1:1/placeholder.jpg",A=e=>{const{leadMedia:t}=e.story,a=t[0];
1return a?{src:"INTERNAL_VIDEO"===a.mediaType&&a.publicID?`${s.A.cdnHost}/image/poster/fl_progressive,fl_lossy,c_fill,q_auto:best,w_320,ar_1:1/${a.publicID}.jpg`:a.externalURL.replace("/kumpar/","/")||y,width:a.width||0,height:a.height||0,mediaType:g(a.mediaType),title:a.title,ratio:e.imageRatio}:{src:y,width:0,height:0,mediaType:"IMAGE",title:"placeholder",ratio:e.imageRatio}},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=null;if("headline"in e&&e.headline&&a&&(i=e.headline),t&&i&&a)return{src:a.externalURL.replace("/kumpar/","/")||y,width:a.width||0,height:a.height||0,mediaType:g(a.mediaType),title:a.title,ratio:n};if("Story"===e.__typename&&!i){let t=[],a=[];const i=e.storyAddOns.find((e=>"Gallery"===e.object.__typename)),r=i&&"Gallery"===i.object.__typename?i.object:null;if(r)return t=r.galleryMedias.map((e=>{let{media:t}=e;return t.externalURL})),a=r.galleryMedias.map((e=>{let{media:t}=e;return t.title})),{src:t.map((e=>e.replace("/kumpar/","/"))),width:0,height:0,mediaType:"IMAGE",title:a,ratio:n||"square"}}return A({story:e,imageRatio:n})},I=e=>{const{video:t}=e.story,{posterMedia:a}=t;return{src:a.externalURL,width:a.width||0,height:a.height||0,mediaType:g(a.mediaType),title:a.title,ratio:e.imageRatio}},v=e=>{const{quickStory:t}=e;let a=null;switch(t.object?.__typename){case"Media":a=t.object;break;case"Gallery":a=t.object.galleryMedias[0].media;break;case"Video":a=t.object.posterMedia}if(a)return{src:a.externalURL,width:a.width||0,height:a.height||0,mediaType:g(a.mediaType),title:a.title,ratio:e.imageRatio};if("EmbedURL"===t.object?.__typename){const e=(0,i.yI)(t.object.url);return e?{height:0,width:0,src:`https://img.youtube.com/vi/${e}/hqdefault.jpg`,title:t.title}:{height:0,width:0,src:t.object.url,title:t.title,embedType:(0,r.YU)(t.object.url)?"FACEBOOK":(0,r.Bp)(t.object.url)?"INSTAGRAM":(0,r.zn)(t.object.url)?"TIKTOK":(0,r.qT)(t.object.url)?"X":"OTHERS"}}return null},D=e=>({src:e.coverMedia.externalURL,title:e.coverMedia.title,mediaType:"IMAGE",width:0,height:0})},"1e0bd8fb82d75e8e2e36":(e,t,a)=>{a.d(t,{A:()=>p});var n=a("b5040a162a4a4dde67e6"),i=a("d518909bf6561866660f"),r=a("f29b77cd1c7382d8894a"),o=a("58dbf53c3ec7157af3f2"),l=a("aab7660251ee0163f01e"),s=a("3b3dd2c77f401e687092"),d=a("5c781db222fa65245e22"),c=a("60082cf4399c92435393"),u=a("a1ca5acfbf0478960314");const m=e=>{let{currentItemsHeight:t,renderViews:a,index:n,child:i}=e;return!a.includes(n)&&t&&t.get(n)?i?(0,u.jsx)(b,{backgroundColor:"transparent",flex:1,flexDirection:"row",height:8,flexJustifyContent:"center",flexAlignItems:"center",qaTag:"progressive-render-loading",$_css:t.get(n)||"0"}):null:i},p=e=>{const t=(0,i.c)(6),{withPositionTracking:a,children:n,batchRenderCount:p,disableDeferRender:b}=e,{current:h}=r.useRef({itemsHeightMap:new Map,refMap:new Map}),f=b?r.Fragment:s.A,g=a?d.A:r.Fragment,y=r.useContext(c.SY),A=y?y.getCurrentStack():null,k=A?A.currentItemsHeight:null,I=p||2,[v,D]=r.useState(k&&k.size>I?k.size:I),[w,T]=r.useState((()=>k?[]:Array.from(Array(r.Children.count(n)).keys()))),j=r.useRef(new Set),_=r.Children.map(n,((e,t)=>{const a=e&&r.isValidElement(e)&&e.props&&e.props.disableProgresiveRender,n=t.toString();return a?(0,u.jsx)(r.Fragment,{children:e},n):t<v?(0,u.jsx)("div",{ref:e=>{e&&(h.refMap.set(t,e),h.itemsHeightMap.set(t,e.clientHeight),y&&y.setCurrentItemsHeight(h.itemsHeightMap))},children:(0,u.jsx)(o.A,{onChange:e=>{e&&(j.current.has(t)||(j.current.add(t),T(Array.from(j.current))),setTimeout((()=>
1{h.refMap.forEach(((e,t)=>{h.itemsHeightMap.set(t,e.clientHeight)})),y&&y.setCurrentItemsHeight(h.itemsHeightMap)}),0))},children:(0,u.jsx)(r.Fragment,{children:m({renderViews:w,currentItemsHeight:k,index:t,child:e})})})},n):t===v?(0,u.jsx)(o.A,{onChange:e=>{if(e){const e=t+I;if(e!==v){const a=[...w];for(let e=0;e<I;e++)a.push(t+e);D(e),T(a)}}},children:e?(0,u.jsx)(l.A,{as:"aside",backgroundColor:"transparent",flex:1,height:8,flexDirection:"row",flexJustifyContent:"center",qaTag:"progressive-render-loading"}):null},n):null}));let O,C;return t[0]!==g||t[1]!==_?(O=(0,u.jsx)(g,{children:_}),t[0]=g,t[1]=_,t[2]=O):O=t[2],t[3]!==f||t[4]!==O?(C=(0,u.jsx)(f,{children:O}),t[3]=f,t[4]=O,t[5]=C):C=t[5],C};var b=(0,n.Ay)(l.A).withConfig({componentId:"sc-txaj9f-0"})(["height:","px;"],(e=>e.$_css))},"3b3dd2c77f401e687092":(e,t,a)=>{a.d(t,{A:()=>u});var n=a("f29b77cd1c7382d8894a"),i=a("b5040a162a4a4dde67e6"),r=a("5b7075090da2a1cfb431"),o=a("4d7cc6abc0bb87d316b8"),l=a("60082cf4399c92435393"),s=a("a1ca5acfbf0478960314");const d=i.Ay.div.withConfig({componentId:"sc-1wcsknk-0"})(["display:flex;flex:1;flex-direction:row;justify-content:center;position:fixed;top:50%;left:0;right:0;"]),c=i.Ay.div.withConfig({componentId:"sc-1wcsknk-1"})(["width:auto;height:",";background:",";"],(e=>e.$height&&`${e.$height}px`||"100vh"),(e=>r.T[e.theme.common.background.secondary]));class u extends n.Component{constructor(){super(...arguments),this.state={shouldRender:!1},this.componentDidMount=()=>{this.firstAnimationFrame=requestAnimationFrame((()=>{this.secondAnimationFrame=requestAnimationFrame((()=>{this.setState({shouldRender:!0})}))}))},this.componentWillUnmount=()=>{this.secondAnimationFrame&&cancelAnimationFrame(this.secondAnimationFrame),this.firstAnimationFrame&&cancelAnimationFrame(this.firstAnimationFrame)},this.firstAnimationFrame=null,this.secondAnimationFrame=null,this.renderPlaceholder=e=>{if(e){if(this.state.shouldRender||!e.shouldDeferRender())return this.props.children;const t=e.getCurrentStack();return(0,s.jsx)(c,{$height:t&&t.currentHeight,children:this.props.placeholder?this.props.placeholder:(0,s.jsx)(d,{children:(0,s.jsx)(o.A,{})})})}return this.props.children},this.render=()=>(0,s.jsx)(l.R6,{children:this.renderPlaceholder})}}},"6752d1a02a00f7df57ac":(e,t,a)=>{a.d(t,{A:()=>i});var n=a("1a370ceb54eb2bfdaefd");class i extends n.A{}i.defaultProps={ssr:!1},i.query={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IsUserFollowingObjectIDAndObjectType"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objectID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objectType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FollowObjectType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"IsUserFollowingObjectIDAndObjectType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objectID"},value:{kind:"Variable",name:{kind:"Name",value:"objectID"}}},{kind:"Argument",name:{kind:"Name",value:"objectType"},value:{kind:"Variable",name:{kind:"Name",value:"objectType"}}}],directives:[]}]}}],loc:{start:0,end:235,source:{body:"\n    query IsUserFollowingObjectIDAndObjectType(\n      $objectID: ID!\n      $objectType: FollowObjectType!\n    ) {\n      IsUserFollowingObjectIDAndObjectType(\n        objectID: $objectID\n        objectType: $objectType\n      )\n    }\n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}}},"712fd8c586e85d3403df":(e,t,a)=>{a.d(t,{A:()=>v,G:()=>k});var n=a("d518909bf6561866660f"),i=a("f29b77cd1c7382d8894a"),r=a("aab7660251ee0163f01e"),o=a("989b2e1d37900f62b801"),l=a("650b7c39a37344b3a862"),s=a("804fb1919e45878352c0"),d=a("6095154c16337bc4b0b7"),c=a("b8d0ee998ea68c6abe46"),u=a("cc7a31a7b377598a2a60"),m=a("0aa8ed3feb3848a56164"),p=a("34bc0c87ceb1a99e9dc6"),b=a("fba30acf371e30c980ab"),h=a("b0c70e1a33943c467e58"),f=a("a1ca5acfbf0478960314");const g="FULL WIDTH",y=new Set([g]),A=new Set(["HIDE INJECTION SEPARATOR"]),k=i.memo((e=>{const t=(0,n.c)(16),{name:a,containerConfig:s,config:c,size:u}=e,m=void 0===a?"":a,{t:p}=i.useMemo((()=>({t:null})),[]);let b;t[0]!==c?(b=c&&c.has(g),t[0]=c,t[1]=b):b=t[1];const h=b;let y;t[2]!==c||t[3]!==m||t[4]!==p?(y=c&&c.has("NO HEADER")?void 0:(0,f.jsx)(d.A,{name:m||"Memuat"}),t[2]=c,t[3]=m,t[4]=p,t[5]=y):y=t[5];const k=s||A;let I,v,D;return t[6]!==u?(I=[...Array(u||3).keys()],t[6]=u,t[7]=I):I=t[7],t[8]!==h||t[9]!==m||t[10]!==I?(v=I.map((e=>h?(0,f.jsx)(r.A,{padding:[16,10],children:(0,f.jsx)(l.Z,{fullWidth:h},`${m}-placeholder-${e}`)},`${m}-placeholder-${e}`):(0,f.jsx)(l.Z,{},`${m}-placeholder-${e}`))),t[8]=h,t[9]=m,t[10]=I,t[11]=v):v=t[11],t[12]!==y||t[13]!==k||t[14]!==v?
1(D=(0,f.jsx)(o.A,{header:y,configs:k,children:v}),t[12]=y,t[13]=k,t[14]=v,t[15]=D):D=t[15],D})),I=e=>{const t=(0,n.c)(37),{name:a,slug:h,config:A,containerConfig:k,size:I,header:v,stories:D,id:w,contentHeight:T,trackingContext:j}=e,_=(0,b.A)();let O;t[0]!==A?(O=A&&A.has(g),t[0]=A,t[1]=O):O=t[1];const C=O,N=i.useContext(s.ob),{t:S}=i.useMemo((()=>({t:null})),[]);let x;t[2]!==_?(x=()=>_.trackEvent({name:c.f7.CLICK_LOAD_MORE}),t[2]=_,t[3]=x):x=t[3];const F=x,{pageLevelAdsData:R}=i.useContext(m.i);let L,E,U,P,$,M;return t[4]!==A||t[5]!==v||t[6]!==a||t[7]!==F||t[8]!==h?(L=A&&A.has("NO HEADER")?void 0:v||(0,f.jsx)(d.A,{name:a,path:`/channel/${h}`,qaTag:"channel-title",onClick:F}),t[4]=A,t[5]=v,t[6]=a,t[7]=F,t[8]=h,t[9]=L):L=t[9],t[10]!==A||t[11]!==N||t[12]!==F||t[13]!==h||t[14]!==S?(E=A&&A.has("NO FOOTER")?void 0:N?null:(0,f.jsx)(r.A,{paddingX:20,children:(0,f.jsx)(u.A,{hasMore:!0,onClick:F,icon:"arrow-right",iconColor:"blue",iconPosition:"right",label:"Lihat lebih banyak",to:`/channel/${h}`,showSeparator:!0,align:"center",loading:!1})}),t[10]=A,t[11]=N,t[12]=F,t[13]=h,t[14]=S,t[15]=E):E=t[15],t[16]!==k?(U=k||new Set(["HIDE INJECTION SEPARATOR"]),t[16]=k,t[17]=U):U=t[17],t[18]!==A||t[19]!==C||t[20]!==N||t[21]!==R||t[22]!==h?(P=A&&A.has("NO ADS INJECTION")?void 0:[[0,(0,f.jsx)(p.A,{adsType:N?"desktop-channel-page-cards":"mobile-channel-page-cards",targetingArguments:R.getMapTargetingArgument().set("position","1").set("channels",h),targetingAdsPosition:1,margin:C?[0,-10]:void 0},`channel-first-${h}`)]],t[18]=A,t[19]=C,t[20]=N,t[21]=R,t[22]=h,t[23]=P):P=t[23],t[24]!==w||t[25]!==C||t[26]!==I||t[27]!==D||t[28]!==j?($=D?D.map(((e,t)=>{const a=(0,f.jsx)(l.A,{story:e,config:C?y:void 0,trackData:{index:t,context:{card_name:c.dU.REGULAR_STORY,additional_info:w,...j||{}}},qaTag:"channel-story-item"},`channel-${e.id}`);return C?(0,f.jsx)(r.A,{padding:[16,10],children:a},e.id):a})):[...Array(I||3).keys()].map((e=>C?(0,f.jsx)(r.A,{padding:[16,10],children:(0,f.jsx)(l.Z,{fullWidth:!0})},e):(0,f.jsx)(l.Z,{},e))),t[24]=w,t[25]=C,t[26]=I,t[27]=D,t[28]=j,t[29]=$):$=t[29],t[30]!==T||t[31]!==L||t[32]!==E||t[33]!==U||t[34]!==P||t[35]!==$?(M=(0,f.jsx)(o.A,{contentHeight:T,qaTag:"channel-section",header:L,footer:E,configs:U,injections:P,children:$}),t[30]=T,t[31]=L,t[32]=E,t[33]=U,t[34]=P,t[35]=$,t[36]=M):M=t[36],M},v=(0,h.A)((e=>({card:c.sl.STORY_LIST,context:{menu_name:e.name.toLowerCase(),card_name:c.dU.REGULAR_STORY,additional_info:`${e.id}`,...e.trackingContext||{}}})))(i.memo(I))},"83cc70be25751174fa28":(e,t,a)=>{a.d(t,{o:()=>n});const n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"Follow"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Follow"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userID"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"objectID"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"objectType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]}]}}],loc:{start:0,end:95,source:{body:"\n  fragment Follow on Follow {\n    id\n    userID\n    objectID\n    objectType\n    createdAt\n  }\n",name:"GraphQL request",locationOffset:{line:1,column:1}}}}},"905d9578e04ecbd35eff":(e,t,a)=>{a.d(t,{A:()=>h});var n=a("f29b77cd1c7382d8894a"),i=a("aab7660251ee0163f01e"),r=a("415a5cb726b3ef8a8447"),o=a("4181f7cb9ac8274a8700"),l=a("b5040a162a4a4dde67e6"),s=a("804fb1919e45878352c0"),d=a("b36dd10eceececbf25c0"),c=a("b8d0ee998ea68c6abe46"),u=a("fe5e811fa0a3527ab570"),m=a("fba30acf371e30c980ab"),p=a("a1ca5acfbf0478960314");const b=e=>{const{qaTag:t,visible:a,style:b,imageUrl:h,description:f,context:g,onClick:y}=e,A=(0,m.A)(),k=n.useContext(s.ob),I=(0,l.DP)(),v=h||(k?"https://blue.kumparan.com/image/upload/fl_progressive,fl_lossy,c_fill,q_auto:best,w_1240/v1634025439/01kzth9076g80j1sv23ex95909.jpg":"https://blue.kumparan.com/image/upload/fl_progressive,fl_lossy,c_fill,q_auto:best,w_480/v1634025439/01kzth907eyyars57va6bb5fkj.jpg"),D=k?"90px":"28.50%",{data:w,loading:T}=(0,o.I)(d.A.query,{notifyOnNetworkStatusChange:!0,ssr:!1}),j=w?.FindCurrentUser,_=j&&j.subscriptionStatus,O=_&&"UNSUBSCRIBED"!==_.type&&"ON_HOLD_SUBSCRIPTION"!==_.type,C=n.useMemo((()=>g&&delete g.index),[g]),N=n.useCallback((()=>{y&&y(),A&&A.trackEvent({name:c.f7.CLICK_SUBSCRIPTION_PACKAGE,contextData:C})}),[C,A,y]);return a?T?(0,p.jsx)(i.A,{backgroundColor:I.common.component.placeholder,height:D,width:"100%",style:{marginBottom:16,...b}}):O?f||null:(0,p.jsx)(n.Fragment,{children:(0,p.jsx)(u.A,{eventName:c.f7.SCROLL_VIEW_SUBSCRIPTION_PACKAGE,context:g,children:(0,p.jsx)(r.A,{qaTag:t||"img-more-anchor",he
1ight:D,width:"auto",rounded:!0,backgroundRepeat:"no-repeat",objectFit:"cover",background:`url(\n            ${v}\n          )`,style:{cursor:"pointer",marginBottom:16,...b},onClick:N})})}):null},h=n.memo(b)},a0126344069617baf3ca:(e,t,a)=>{a.d(t,{WI:()=>s,ak:()=>l,xg:()=>d});var n=a("ed6131c86a0e5499d9b9"),i=a("914b5ce92ce2e8a8f65e"),r=a("ea11a6f3602d91f2ce66");const o=e=>{const t=e?.topics||null;return t?t.map((e=>({id:e.id,name:e.name,slug:e.slug}))):[]},l=e=>({id:e.id,title:e.title,slug:e.slug,hasSubscribed:!1,image:e?.coverMedia.externalURL||"",description:e.description||"",video:e.videoDescriptionLink||"",topics:o(e),storyCount:e.storiesCount,kumparanPlus:e.category===r.F8y.KUMPARANPLUS,productInfo:e?.productInfo,pinnedStoryID:"pinnedStoryID"in e&&e?.pinnedStoryID||"",isPinned:e.isPinned||!1}),s=e=>{const t=new Set([]),{createdAt:a,lastStoryAddedAt:i}=e,r=(0,n.A)(new Date,new Date(a),{unit:"hours"})<72,o=!!i&&(0,n.A)(new Date,new Date(i),{unit:"hours"})<8;return e.isPinned&&t.add("PINNED"),r&&t.add("NEW"),o&&t.add("UPDATED"),t},d=e=>{if(!e)return[!1,null];const{isPinned:t,category:a}=e,o=a===r.F8y.RUNNING_NEWS,l=e.lastStoryAddedAt?new Date(e.lastStoryAddedAt):null,s=new Date(e.updatedAt),d=l&&(0,i.d)(l,s)?l:s;if(t&&o){const e=new Date,t=(0,n.A)(e,d,{unit:"hours"});if(t>=0&&t<=2)return[!0,d]}return[!1,d]}},af83ba6acae91e01f8b5:(e,t,a)=>{a.d(t,{A:()=>i});var n=a("1a370ceb54eb2bfdaefd");class i extends n.A{}i.defaultProps={ssr:!1},i.query={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FindCountFollowerByObjectIDAndObjectType"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objectID"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"objectType"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FollowObjectType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"FindCountFollowerByObjectIDAndObjectType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"objectID"},value:{kind:"Variable",name:{kind:"Name",value:"objectID"}}},{kind:"Argument",name:{kind:"Name",value:"objectType"},value:{kind:"Variable",name:{kind:"Name",value:"objectType"}}}],directives:[]}]}}],loc:{start:0,end:243,source:{body:"\n    query FindCountFollowerByObjectIDAndObjectType(\n      $objectID: ID!\n      $objectType: FollowObjectType!\n    ) {\n      FindCountFollowerByObjectIDAndObjectType(\n        objectID: $objectID\n        objectType: $objectType\n      )\n    }\n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}}},afd1e24bd970f54da57d:(e,t,a)=>{a.r(t),a.d(t,{default:()=>g}),a("f29b77cd1c7382d8894a");var n=a("44f99b0360b0e877facb"),i=a("fba30acf371e30c980ab"),r=a("6752d1a02a00f7df57ac"),o=a("c335aa8d688bbfca230a"),l=a("657568e21c4ac254e368"),s=a("83cc70be25751174fa28");const d=e=>{const t={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const a=e.name.value;return!t[a]&&(t[a]=!0,!0)}))};class c extends l.A{}c.mutation={kind:"Document",definitions:d([{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetUnfollowObject"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"follow"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FollowInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Unfollow"},arguments:[{kind:"Argument",name:{kind:"Name",value:"follow"},value:{kind:"Variable",name:{kind:"Name",value:"follow"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Follow"},directives:[]}]}}]}}].concat(s.o.definitions)),loc:{start:0,end:130,source:{body:"\n    mutation SetUnfollowObject($follow: FollowInput!) {\n      Unfollow(follow: $follow) {\n        ...Follow\n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};
1var u=a("b36dd10eceececbf25c0"),m=a("af83ba6acae91e01f8b5"),p=a("b8d0ee998ea68c6abe46"),b=a("a1ca5acfbf0478960314");const h=(e,t)=>{switch(e){case"TOPIC":return t?p.f7.CLICK_UNFOLLOW_TOPIC:p.f7.CLICK_FOLLOW_TOPIC;case"COLLECTION":return t?p.f7.CLICK_UNSUBSCRIBE:p.f7.CLICK_SUBSCRIBE;default:return t?p.f7.CLICK_UNFOLLOW_PROFILE:p.f7.CLICK_FOLLOW_PROFILE}},f=(e,t,a)=>{switch(e){case"USER":return a?{notification_id:t,notification_type:"user_follow_you",profile_id:a,profile_type:e.toLowerCase()}:{profile_id:t,profile_type:e.toLowerCase()};case"COLLECTION":return null;case"PUBLISHER":return{profile_id:t,profile_type:e.toLowerCase()};default:return{topic_id:t,profile_type:e.toLowerCase()}}},g=e=>{const{onUpdate:t}=e,a=(0,i.A)(),l={objectType:e.type,objectID:e.id},s=e.notificationUserId?e.notificationUserId:"";return(0,b.jsx)(n.Y,{children:n=>(0,b.jsx)(o.A,{mutation:o.A.mutation,children:(i,o)=>{let{loading:d}=o;return(0,b.jsx)(c,{mutation:c.mutation,children:(o,c)=>{let{loading:p}=c;return(0,b.jsx)(u.A,{query:u.A.query,notifyOnNetworkStatusChange:!0,children:c=>{let{data:u}=c;return(0,b.jsx)(r.A,{ssr:!1,skip:!(u&&u.FindCurrentUser),notifyOnNetworkStatusChange:!0,variables:l,errorPolicy:"ignore",query:r.A.query,children:c=>{let{data:u,loading:b}=c;const g=u&&u.IsUserFollowingObjectIDAndObjectType||!1,y=b||p||d;return e.children((async()=>{await a.trackEvent({card:e.trackerData&&e.trackerData.card||"",name:h(l.objectType,g),context:{...f(l.objectType,e.id,s),...e.trackerData&&e.trackerData.context}});const d=a=>async(i,o)=>{if(o.data)try{n.writeQuery({query:r.A.query,variables:{objectID:e.id,objectType:e.type},data:{IsUserFollowingObjectIDAndObjectType:!a}});const{data:o}=await n.query({query:m.A.query,variables:{objectID:e.id,objectType:e.type}}),s=o.FindCountFollowerByObjectIDAndObjectType;t&&t(!a),i.writeQuery({query:m.A.query,variables:l,data:{FindCountFollowerByObjectIDAndObjectType:a?s-1:s+1}})}catch(e){}};return g?o({variables:{follow:l},update:d(g)}):i({variables:{data:l},update:d(g)})}),g,y)}})}})}})}})})}},c335aa8d688bbfca230a:(e,t,a)=>{a.d(t,{A:()=>o});var n=a("657568e21c4ac254e368"),i=a("83cc70be25751174fa28");const r=e=>{const t={};return e.filter((e=>{if("FragmentDefinition"!==e.kind)return!0;const a=e.name.value;return!t[a]&&(t[a]=!0,!0)}))};class o extends n.A{}o.mutation={kind:"Document",definitions:r([{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"SetFollowObject"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FollowInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"Follow"},arguments:[{kind:"Argument",name:{kind:"Name",value:"follow"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Follow"},directives:[]}]}}]}}].concat(i.o.definitions)),loc:{start:0,end:122,source:{body:"\n    mutation SetFollowObject($data: FollowInput!) {\n      Follow(follow: $data) {\n        ...Follow\n      }\n    }\n    \n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}}}}]);

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.