1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3649],{9440:(e,n,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/bantuan/result",function(){return l(74437)}])},12661:(e,n,l)=>{"use strict";l.d(n,{Es:()=>a,ae:()=>s,d7:()=>o,lW:()=>c});var t=l(14232);l(1479);var i=l(40625);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"fadeInUp",[n,l]=(0,i.Wx)({threshold:[.125,.5,.75],triggerOnce:!0}),[s,a]=(0,t.useState)(()=>({text:"scroll-".concat(e),hasSet:!1})),c=(0,t.useCallback)(function(n){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return l?s.hasSet?"scroll-".concat(l," ").concat(l)+" d".concat(n):"scroll-".concat(l):s.hasSet?"".concat(s.text," ").concat(e)+" d".concat(n):s.text},[s]);return(0,t.useEffect)(()=>{l&&a(e=>({...e,hasSet:!0}))},[l]),[n,c]},a=t.useLayoutEffect,c=()=>{let[e,n]=(0,t.useState)({width:void 0,height:void 0});return(0,t.useEffect)(()=>{function e(){n({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e},o=(e,n)=>{let[l,i]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let l=setTimeout(()=>{i(e)},n);return()=>{clearTimeout(l)}},[e,n]),l}},31527:(e,n,l)=>{"use strict";l.d(n,{A:()=>c});var t=l(37876);l(14232);var i=l(77328),s=l.n(i);l(45105);var a=l(89099);let c=function(e){let{description:n="Akses semua keperluan Anda dengan mudah di XL.co.id mulai dari beli kartu sim / eSIM, beli paket internet, star series, registrasi dan reaktivasi kartu disini!",title:l="Beli Kartu Perdana & Paket Internet XL Disini! - XL Axiata",url:i="https://www.xl.co.id/",canonical:c,keyword:o="xl, kartu sim, kartu perdana, paket internet",image:r,nextPage:u,prevPage:d,noindex:x=!1,viewport:h="width=device-width, initial-scale=1"}=e,p=(0,a.useRouter)(),j=p.asPath.includes("?");return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(s(),{children:[(0,t.jsx)("meta",{name:"language",content:"indonesian"}),(0,t.jsx)("meta",{httpEquiv:"content-type",content:"text/html"}),(0,t.jsx)("meta",{name:"robots",content:x?"NOINDEX, NOFOLLOW":j?"NOINDEX, FOLLOW, MAX-IMAGE-PREVIEW:NONE, MAX-SNIPPET:-1, MAX-VIDEO-PREVIEW:-1":"INDEX, FOLLOW, MAX-IMAGE-PREVIEW:LARGE, MAX-SNIPPET:-1, MAX-VIDEO-PREVIEW:-1"}),(0,t.jsx)("meta",{name:"viewport",content:h}),(0,t.jsx)("meta",{name:"msvalidate.01",content:"5F261012E0BA076373EA2EDD574301A8"}),(0,t.jsx)("title",{children:l}),(0,t.jsx)("link",{rel:"shortcut icon",href:"/icons/favicon.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",href:"/icons/apple-icon.png"}),(0,t.jsx)("meta",{name:"title",content:"".concat(l)}),(0,t.jsx)("meta",{name:"description",content:n}),(0,t.jsx)("meta",{name:"keyword",content:o}),(0,t.jsx)("meta",{name:"author",content:"XL.CO.ID"}),(0,t.jsx)("link",{rel:"canonical",href:c||"".concat("https://www.xl.co.id").concat(p.asPath.split("?")[0])},"canonical"),d&&(0,t.jsx)("link",{rel:"prev",href:d}),u&&(0,t.jsx)("link",{rel:"next",href:u}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:url",content:i}),(0,t.jsx)("meta",{property:"og:title",content:"".concat(l)}),(0,t.jsx)("meta",{property:"og:description",content:n}),r&&(0,t.jsx)("meta",{name:"og:image",content:r}),(0,t.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,t.jsx)("meta",{property:"twitter:url",content:i}),(0,t.jsx)("meta",{property:"twitter:title",content:"".concat(l)}),(0,t.jsx)("meta",{property:"twitter:description",content:n}),(0,t.jsx)("meta",{property:"twitter:image",content:r||"".concat(i,"/icons/richlink.jpg")}),(0,t.jsx)("meta",{name:"msapplication-TileColor",content:"#002DBB"}),(0,t.jsx)("meta",{name:"msapplication-TileImage",content:"/icons/ms-icon-144x144.png"}),(0,t.jsx)("meta",{name:"theme-color",content:"#002DBB"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"57x57",href:"/icons/apple-icon-57x57.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"60x60",href:"/icons/apple-icon-60x60.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:"/icons/apple-icon-72x72.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:"/icons/apple-icon-76x76.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:"/icons/apple-icon-114x114.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"120x120",href:"/icons/apple-icon-120x120.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"144x144",href:"/icons/apple-icon-144x144.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"152x152",href:"/icons/apple-icon-152x152.png"}),(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/icons/apple-icon-180x180.png"}),(0,t.jsx)("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/icons/android-icon-192x192.png"}),(0,t.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/icons/favicon-32x32.png"}),(0,t.jsx)("link",{rel:"icon",type:"image/png",sizes:"96x96",href:"/icons/favicon-96x96.png"}),(0,t.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/icons/favicon-16x16.png"})]})})}},74437:(e,n,l)=>{"use strict";l.r(n),l.d(n,{default:()=>k});var t=l(37876),i=l(14232),s=l(89099),a=l(31527),c=l(38610),o=l(88142),r=l.n(o),u=l(19780);function d(e){var n,l,a,c,o,d,x;let{value:h,onChange:p,onSearch:j}=e,[g,M]=(0,i.useState)(!1),m=(0,s.useRouter)(),N=(0,u.K)();return(0,i.useEffect)(()=>{var e,n;(null==h?void 0:h.length)>=3&&(null==m||null==(e=m.query)?void 0:e.search)===void 0?M(!0):((null==h?void 0:h.length)>=3&&(null==m||null==(n=m.query)||n.search),M(!1))},[h]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("section",{className:"sc-topik-header",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"topik-header-center",children:[(0,t.jsx)("h2",{className:"title-text",children:null==N||null==(l=N.help)||null==(n=l.resultHeader)?void 0:n.title}),(0,t.jsx)("div",{className:"subtitle-text",children:null==N||null==(c=N.help)||null==(a=c.resultHeader)?void 0:a.desc}),(0,t.jsxs)("div",{className:"topik-header-search searchbox search-sugestion",children:[(0,t.jsx)("img",{src:r(),alt:"search",className:"img-fluid mr-2"}
1),(0,t.jsx)("input",{type:"text",onChange:e=>p(e.target.value),placeholder:null==N||null==(d=N.help)||null==(o=d.resultHeader)?void 0:o.placeholder,className:"text-muted input-search",value:h,onBlur:()=>M(!1),onKeyDown:e=>{"Enter"===e.key&&j(),"Enter"===e.key&&M(!1)}}),g&&(0,t.jsxs)("div",{className:"search-sugest",role:"button",onClick:()=>j(),children:["".concat(h)," ",(0,t.jsxs)("span",{children:[" - ",null==N||null==(x=N.global)?void 0:x.find]})]})]})]})})})})}var x=l(23618),h=l(68827),p=l.n(h);let j=e=>{let{res:n}=e;return(0,t.jsxs)(x.A,{to:"/bantuan/".concat(null==n?void 0:n.slug),className:"topik-box",noParams:!0,children:[(0,t.jsx)(p(),{src:null==n?void 0:n.image,alt:"",width:48,height:48,className:"topik-box-image"}),(0,t.jsx)("div",{className:"topik-box-title",children:null==n?void 0:n.title_id})]})};function g(e){var n,l;let{list:i}=e,s=(0,u.K)();return(0,t.jsx)(t.Fragment,{children:(null==i?void 0:i.length)>0&&(0,t.jsx)("section",{className:"sc-topik-list",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"topik-list-title",children:[null==s||null==(n=s.global)?void 0:n.topic," ",(0,t.jsxs)("span",{children:["(",null==i?void 0:i.length," ",null==s||null==(l=s.global)?void 0:l.result,")"]})]}),(0,t.jsx)("div",{className:"topik-list-row row",children:null==i?void 0:i.map((e,n)=>(0,t.jsx)("div",{className:"col-6 col-lg-2",children:(0,t.jsx)(j,{res:e})},n))})]})})})}var M=l(69241),m=l(12661),N=l(78226),v=l(57646),I=l(19140),D=l(94570);let E=e=>{let{id:n,expandIconPlus:l,title:i,content:s,onChange:a,expandAcc:c}=e;return(0,t.jsxs)(v.A,{className:"accordion accordion-border",id:n,expanded:c===n,onChange:a,children:[(0,t.jsxs)(I.A,{expandIcon:(0,t.jsx)("i",{className:"air ai-angle-down"}),className:"accordion-header ".concat(l&&"accordion-header-plus"),children:[(0,t.jsx)("h5",{className:"accordion-title",children:null==i?void 0:i.replace("amp;","")}),l&&(0,t.jsxs)("div",{className:"expand-plus",children:[(0,t.jsx)("div",{className:"h-bar"}),(0,t.jsx)("div",{className:"v-bar"})]})]}),(0,t.jsx)(D.A,{className:"accordion-content",children:(0,t.jsx)("div",{className:"py-3",dangerouslySetInnerHTML:{__html:s}})})]})},A=e=>{let{title:n,active:l,onClick:i}=e;return(0,t.jsx)(N.N_,{to:"faq-content-wrap",spy:!0,smooth:!0,offset:-230,duration:100,children:(0,t.jsx)("div",{className:(0,M.A)("faq-box",l&&"active"),onClick:i,children:n})})};function z(e){var n,l,s,a,c;let{data:o,onlyFaq:r}=e,d=(0,i.useRef)(),{width:x}=(0,m.lW)(),[h,p]=(0,i.useState)(0),[j,g]=(0,i.useState)(!1),[N,v]=(0,i.useState)(null),[I,D]=(0,i.useState)("faq-0"),z=(0,u.K)();return(0,i.useEffect)(()=>{d.current&&p(d.current.clientHeight)},[N]),(0,i.useEffect)(()=>{(null==o?void 0:o.length)>0?v(o[0]):v(null)},[o]),(0,t.jsx)(t.Fragment,{children:(null==o?void 0:o.length)>0&&(0,t.jsx)("section",{className:(0,M.A)("sc-question-list",r&&"faq-only"),children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row",id:"faq-content-wrap",children:[(0,t.jsx)("div",{className:"col-12",children:(0,t.jsxs)("div",{className:"question-list-title",children:[null==z||null==(n=z.global)?void 0:n.question," ",(0,t.jsxs)("span",{children:["(",null==o?void 0:o.length," ",null==z||null==(l=z.global)?void 0:l.result,")"]})]})}),(0,t.jsx)("div",{className:"col-md-4 col-12",children:null==o?void 0:o.map((e,n)=>{var l,s;let a;return(0,t.jsx)(t.Fragment,{children:x>767?(0,t.jsx)(i.Fragment,{children:(0,t.jsx)(A,{title:null==e?void 0:e.title,active:(null==N?void 0:N.slug)===(null==e?void 0:e.slug),onClick:()=>v(e)})},n):(0,t.jsx)(i.Fragment,{children:(0,t.jsx)(E,{title:null==e?void 0:e.title,content:(null==e||null==(l=e.postMetas)?void 0:l.text)!==null?null==e||null==(s=e.postMetas)?void 0:s.text:"",onChange:(a="faq-".concat(n),(n,l)=>{D(!!l&&a),v(l?e:null)}),id:"faq-".concat(n),expandAcc:I})},n)})})}),(0,t.jsx)("div",{className:"col-md-8 col-12 d-md-flex d-none",children:(0,t.jsxs)("div",{className:"faq-content",children:[(0,t.jsx)("h2",{className:"title-text",children:null==N?void 0:N.title}),(0,t.jsxs)("div",{className:(0,M.A)("content-wrap",j&&"expand"),children:[(0,t.jsx)("div",{ref:d,className:"content-faq",dangerouslySetInnerHTML:{__html:(null==N?void 0:N.postMetas)!==null?null==N||null==(s=N.postMetas)?void 0:s.text:""}}
1),h>=250&&!j&&(0,t.jsx)("div",{className:"wrap-gradient"})]}),h>=250&&(0,t.jsxs)("div",{className:"expand-button",role:"button",onClick:()=>g(!j),children:[j?null==z||null==(c=z.global)?void 0:c.readLess:null==z||null==(a=z.global)?void 0:a.readMore,(0,t.jsx)("i",{className:"air ai-chevron-".concat(j?"up":"down")})]})]})})]})})})})}var y=l(79528),f=l(77547);function k(){var e;let n=(0,s.useRouter)(),[l,o]=(0,i.useState)(""),[r,u]=(0,i.useState)(null),{simpleDataLayerTemplate:x}=(0,f.v)();(0,i.useEffect)(()=>{var e,l,t;(null==n||null==(e=n.query)?void 0:e.search)!==void 0?(o(null==n||null==(l=n.query)?void 0:l.search),h(null==n||null==(t=n.query)?void 0:t.search)):o("")},[n]);let h=async e=>{try{let n=await (0,y.ny)("/category/faq/search",{search:void 0===e?l:e});x({event:"search",data:{search_term:e}}),null!==n&&u(n)}catch(e){console.error(e),u(null)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.A,{}),(0,t.jsxs)(c.A,{children:[(0,t.jsx)(d,{value:l,onChange:e=>o(e),onSearch:()=>h()}),(0,t.jsxs)("section",{className:"sc-main",children:[null!==r&&(null==r?void 0:r.data)!==null&&(0,t.jsx)(g,{list:null==r?void 0:r.data}),null!==r&&(null==r?void 0:r.data_post)!==null&&(0,t.jsx)(z,{data:null==r||null==(e=r.data_post)?void 0:e.filter(e=>(null==e?void 0:e.type)==="faq"),onlyFaq:(null==r?void 0:r.data)===null})]})]})]})}},88142:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yIDExQzIgNi4wMzAwOSA2LjAzMDA5IDIgMTEgMkMxNS45Njk5IDIgMjAgNi4wMzAwOSAyMCAxMUMyMCAxMi4yMzI1IDE5Ljc1MTIgMTMuNDI5OCAxOS4yNzc4IDE0LjUzNTJMMjEuNjgyIDE2LjkzOTNDMjIuODUzNSAxOC4xMTA5IDIyLjg1MzUgMjAuMDEwNCAyMS42ODIgMjEuMTgyQzIwLjUxMDQgMjIuMzUzNiAxOC42MTA5IDIyLjM1MzYgMTcuNDM5MyAyMS4xODJMMTUuMjExNCAxOC45NTRDMTMuOTI0OSAxOS42MzczIDEyLjQ4NzQgMjAgMTEgMjBDNi4wMzAwOSAyMCAyIDE1Ljk2OTkgMiAxMVpNMTYuODkwMiAxNy44MDQ0TDE4Ljg1MzUgMTkuNzY3OEMxOS4yNDQxIDIwLjE1ODMgMTkuODc3MiAyMC4xNTgzIDIwLjI2NzcgMTkuNzY3OEMyMC42NTgzIDE5LjM3NzIgMjAuNjU4MyAxOC43NDQxIDIwLjI2NzcgMTguMzUzNkwxOC4yNDg2IDE2LjMzNDRDMTcuODUxNSAxNi44NzM2IDE3LjM5NTUgMTcuMzY2OCAxNi44OTAyIDE3LjgwNDRaTTE4IDExQzE4IDcuMTM0NjQgMTQuODY1NCA0IDExIDRDNy4xMzQ2NCA0IDQgNy4xMzQ2NCA0IDExQzQgMTQuODY1NCA3LjEzNDY0IDE4IDExIDE4QzEyLjE5MzEgMTggMTMuMzQxOSAxNy43MDEgMTQuMzY1NiAxNy4xMzc3QzE1LjUzMzIgMTYuNDk3NCAxNi40OTgxIDE1LjUzMjcgMTcuMTM4MyAxNC4zNjQ2QzE3LjcwMTIgMTMuMzQxNiAxOCAxMi4xOTM2IDE4IDExWk0xMSA4QzkuMzQzMTUgOCA4IDkuMzQzMTUgOCAxMUM4IDExLjU1MjMgNy41NTIyOCAxMiA3IDEyQzYuNDQ3NzIgMTIgNiAxMS41NTIzIDYgMTFDNiA4LjIzODU4IDguMjM4NTggNiAxMSA2QzExLjU1MjMgNiAxMiA2LjQ0NzcyIDEyIDdDMTIgNy41NTIyOCAxMS41NTIzIDggMTEgOFoiIGZpbGw9IiMxMzEzMTMiLz4KPC9zdmc+Cg=="}},e=>{e.O(0,[871,8287,8226,636,6593,8792],()=>e(e.s=9440)),_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.