PageSourceSearch

https://www.idntimes.com/_next/static/chunks/app/layout-faa50f052d8a37ad.js

js idntimes.com collected 2026-10-01 10:27:41 UTC 7,908 bytes, 27 lines download raw bytes

1try{!function(){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]="ef0e7216-54f4-499f-802f-963de326a101",e._sentryDebugIdIdentifier="sentry-dbid-ef0e7216-54f4-499f-802f-963de326a101")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{80165:function(e,t,n){Promise.resolve().then(n.bind(n,53504)),Promise.resolve().then(n.bind(n,50147)),Promise.resolve().then(n.t.bind(n,12381,23))},53504:function(e,t,n){"use strict";n.d(t,{StyledComponentsGlobalRegistry:function(){return x}});var o=n(69087),i=n(72947),r=n(73859),l=n(73361),a=n(61378),s=n(10832),d=n(37582),c=n(79212),u=n(39335),g=n(25630),f=n(73570),m=n(23329),h=n(79722),p=n(80016);function b(e){let{children:t}=e,[{cache:n,flush:r}]=(0,m.useState)(()=>{let e=(0,p.Z)({key:"css"});e.compat=!0;let t=e.insert,n=[];return e.insert=function(){for(var o=arguments.length,i=Array(o),r=0;r<o;r++)i[r]=arguments[r];let l=i[1];return void 0===e.inserted[l.name]&&n.push(l.name),t(...i)},{cache:e,flush:()=>{let e=n;return n=[],e}}});return(0,f.useServerInsertedHTML)(()=>{let e=r();if(0===e.length)return null;let t="";for(let o of e)t+=n.inserted[o];return(0,o.tZ)("style",{"data-emotion":`${n.key} ${e.join(" ")}`,dangerouslySetInnerHTML:{__html:t}},n.key)}),(0,o.tZ)(i.C,{value:n,children:t})}let v=(0,g.default)(()=>n.e(2977).then(n.t.bind(n,12977,19)).then(e=>e.AppProgressBar),{loadableGenerated:{webpack:()=>[12977]}}),y=e=>{let{domain:t,publisher:n}=e;return(0,s.Z)({domain:t,publisher:n}),null};function x(e){let{theme:t,device:s,errorState:g,children:p,publisherAds:x,fullDomain:w,originalDomain:k,cognito:Z,accessToken:S,communityUri:I,source:C,regional:_,isDisableAds:X,publisher:P,memberUri:T}=e,[A,z]=(0,m.useState)({title:"",message:""}),B=new URLSearchParams((0,f.useSearchParams)()).toString(),E=(0,m.useMemo)(()=>S?(0,u.o)(S):null,[S]);return(0,m.useEffect)(()=>{let e=()=>{sessionStorage.setItem("q",B)};"requestIdleCallback"in window?requestIdleCallback(e):setTimeout(e,1)},[B]),(0,m.useEffect)(()=>{let e=localStorage.getItem("warning");e&&z(JSON.parse(e))},[]),(0,m.useEffect)(()=>{if(null==Z?void 0:Z.isIdnAccount){let e=new URLSearchParams(window.location.search);(document.cookie.includes("access_token")||"true"===localStorage.getItem("amplify-signin-with-hostedUI")||e.has("code")||e.has("access_token"))&&Promise.all([n.e(2640),n.e(4205),n.e(5308),n.e(9117),n.e(6613),n.e(259),n.e(5557),n.e(8422),n.e(4301)]).then(n.bind(n,95200)).then(e=>{let{Amplify:t}=e;t.configure({userPoolId:"ap-southeast-1_XXXXXXXXX",userPoolWebClientId:Z.webClient,authenticationFlowType:"USER_PASSWORD_AUTH",oauth:{domain:"connect.idn.media",scope:["email","profile","openid"],redirectSignIn:`${_?k:w}/callback/login${_?"-regional":""}`,redirectSignOut:`${_?w:k}/callback/logout`,responseType:"code"}})})}},[null==Z?void 0:Z.isIdnAccount]),(0,o.tZ)(b,{children:(0,o.BX)(i.a,{theme:t,children:[(0,o.tZ)(r.xB,{styles:(0,r.iv)`
2            body {
3              padding: 0;
4              margin: 0;
5            }
6
7            h1,
8            h2,
9            h3,
10            h4,
11            h5,
12            p {
13              margin: 0;
14              padding: 0;
15            }
16
17            a {
18              text-decoration: none;
19
20              &:hover span {
21                text-decoration: underline;
22              }
23            }
24          `}),(0,o.tZ)(v,{height:"4px",color:`${a.O9[null==t?void 0:t.brand.color]}`,shallowRouting:!0}),(0,o.BX)(c.gl,{serverState:{assets:{errorImage:g.image},community:{uri:I,enabled:null==Z?void 0:Z.isHasCommunity},jwt:E,domain:k,fullDomain:w,isIdnAccount:null==Z?void 0:Z.isIdnAccount,token:S,cognito:Z,source:C,publisher:P,regional:_,member:{uri:T,enabled:!0}},device:s,adsPublisher:x,isDisableAds:X,children:[(0,o.tZ)(y,{domain:k||w||void 0,publisher:P}),(0,o.BX)(d.H,{children:[(0,o.tZ)(l.y,{alert:A}),(0,o.tZ)(h.V,{children:(0,o.tZ)("div",{children:p})})]})]})]})})}},73361:function(e,t,n){"use strict";n.d(t,{y:function(){return f}});var o=n(69087),i=n(72947),r=n(16742),l=n(68937),a=n(63038),s=n(31877),d=n(99198),c=n(91757),u=n(8512),g=n(23329);let f=e=>{var t,n,f,m,h,p,b;let{alert:v}=e,{isMobile:y}=(0,c.F)(),x=(0,u.V)(),[w,k]=(0,g.useState)(!1);(0,g.useEffect)(()=>{k(""!==v.title&&""!==v.message)},[v]);let Z=(0,i.u)();return(0,o.tZ)(a.u,{open:w,children:(0,o.BX)(l.k,{backgroundColor:"greyscale0",direction:"column",gap:"4",alignItems:"center",justifyContent:"center",padding:"6",width:y?"64":"80",borderRadius:"xl",textAlign:"center",children:[(0,o.tZ)(d.p,{icon:"warning"}),(0,o.tZ)(s.x,{fontSize:{sm:"lg",md:"xl"}
24,fontWeight:null===(t=Z.warning)||void 0===t?void 0:t.title.fontWeight,color:null===(n=Z.warning)||void 0===n?void 0:n.title.color,fontFamily:null===(f=Z.warning)||void 0===f?void 0:f.title.fontFamily,children:v.title}),(0,o.tZ)(s.x,{fontSize:{sm:"sm",md:"lg"},fontWeight:null===(m=Z.warning)||void 0===m?void 0:m.message.fontWeight,color:null===(h=Z.warning)||void 0===h?void 0:h.message.color,fontFamily:null===(p=Z.warning)||void 0===p?void 0:p.message.fontFamily,children:v.message}),"Web"===x.source&&(0,o.tZ)(l.k,{gap:"4",width:"full",children:(0,o.tZ)(r.z,{width:"full",variant:"solid",backgroundColor:null===(b=Z.brand)||void 0===b?void 0:b.color,borderRadius:"full",onClick:()=>{k(!1),localStorage.removeItem("warning")},color:"white",size:"md",children:"Go Back"})})]})})};(0,g.memo)(e=>(0,o.tZ)(f,{...e})).displayName="AuthWarningMemoize"},79722:function(e,t,n){"use strict";n.d(t,{V:function(){return v},p:function(){return p}});var o=n(69087),i=n(73859),r=n(47465),l=n(99198),a=n(61378);let s={error:{icon:"danger",color:"red40"},success:{icon:"correct",color:"green40"},info:{icon:"info-circle",color:"blue500"}},d=(0,i.F4)`
25  from { opacity: 0; transform: translateY(16px); }
26  to   { opacity: 1; transform: translateY(0); }
27`,c=(0,r.Z)("div",{target:"exm94j10"})("display:flex;align-items:center;gap:12px;padding:16px 20px;min-width:320px;max-width:540px;background:",a.O9.greyscale70,";border-radius:12px;box-shadow:0 8px 10px rgba(0,0,0,0.2),0 6px 30px rgba(0,0,0,0.12),0 16px 24px rgba(0,0,0,0.14);animation:",d," 0.3s ease-out;"),u=(0,r.Z)("span",{target:"exm94j11"})("flex:1;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:700;line-height:20px;color:",a.O9.greyscale10,";"),g=(0,r.Z)("button",{target:"exm94j12"})("background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;flex-shrink:0;"),f=e=>{let{message:t,variant:n="error",onClose:i}=e,r=s[n];return(0,o.BX)(c,{role:"alert","aria-live":"assertive",children:[(0,o.tZ)(l.p,{icon:r.icon,size:"md",color:r.color}),(0,o.tZ)(u,{children:t}),i&&(0,o.tZ)(g,{onClick:i,"aria-label":"Tutup notifikasi",children:(0,o.tZ)(l.p,{icon:"close",size:"sm",color:"greyscale40"})})]})};var m=n(23329);let h=(0,m.createContext)(void 0),p=()=>(0,m.useContext)(h)||{showToast:()=>console.warn("[Toast] No ToastProvider found")},b=(0,r.Z)("div",{target:"e1s4kf7l0"})("position:fixed;bottom:32px;left:50%;transform:translateX(-50%);z-index:11000;display:flex;flex-direction:column-reverse;gap:8px;pointer-events:none;& > *{pointer-events:auto;}"),v=e=>{let{children:t}=e,[n,i]=(0,m.useState)([]),r=(0,m.useRef)(0),l=(0,m.useCallback)(e=>{i(t=>t.filter(t=>t.id!==e))},[]),a=(0,m.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"error",n=`toast-${++r.current}`;i(o=>[...o,{id:n,message:e,variant:t}]),setTimeout(()=>l(n),5e3)},[l]);return(0,o.BX)(h.Provider,{value:{showToast:a},children:[t,n.length>0&&(0,o.tZ)(b,{children:n.map(e=>(0,o.tZ)(f,{message:e.message,variant:e.variant,onClose:()=>l(e.id)},e.id))})]})}}},function(e){e.O(0,[9377,9139,9106,7478,4209,3613,2913,6140,8961,2897,3611,4354,3310,1744],function(){return e(e.s=80165)}),_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.