1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[949],{21:function(e,t,n){n.d(t,{D:function(){return f}});var r=n(5893),i=n(1664),l=n.n(i),a=n(1163),o=n(7294),s=n(5290),u=n(6010);let c=["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"];function d(e){let[t,n,r]=e.split("-"),i=c[Number(n)-1];return i?"".concat(Number(r)," ").concat(i," ").concat(t):e}function h(e){return e.slice(0,4)}let f=e=>{let{version:t,versions:n=[]}=e,i=(0,a.useRouter)(),[c,f]=(0,o.useState)(!1),m=(0,o.useRef)(null),p=(0,o.useRef)(null);return((0,o.useEffect)(()=>{if(!c)return;let e=e=>{var t;(null===(t=m.current)||void 0===t?void 0:t.contains(e.target))||f(!1)},t=e=>{if("Escape"===e.key){var t;f(!1),null===(t=p.current)||void 0===t||t.focus()}};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[c]),(0,o.useEffect)(()=>{f(!1)},[t]),t)?n.length<2?(0,r.jsx)("span",{className:"typography-body--regular text-spanish-grey whitespace-nowrap",children:d(t)}):(0,r.jsxs)("div",{ref:m,className:"relative flex-shrink-0",children:[(0,r.jsxs)("button",{ref:p,type:"button","aria-haspopup":"menu","aria-expanded":c,"aria-label":"Versi ".concat(d(t),". Pilih versi lain"),className:"typography-body--regular text-quartz bg-white border border-silver-grey rounded flex items-center gap-1 py-1 px-2 whitespace-nowrap",onClick:()=>f(e=>!e),children:[d(t),(0,r.jsx)(s.Z,{className:(0,u.Z)("w-3 h-3 transition-transform",c&&"rotate-180")})]}),c&&(0,r.jsx)("div",{role:"menu","aria-label":"Versi dokumen",className:"absolute right-0 top-full mt-1 z-30 min-w-[11rem] max-h-72 overflow-y-auto overscroll-contain bg-white border border-silver-grey rounded shadow-dropdown",children:(0,r.jsx)("ul",{children:n.map((e,a)=>{let o=e===t,s=0===a||h(n[a-1])!==h(e);return(0,r.jsxs)("li",{children:[s&&(0,r.jsx)("p",{className:"typography-body--regular text-spanish-grey sticky top-0 bg-almost-white py-1 px-3",children:h(e)}),(0,r.jsx)(l(),{role:"menuitem","aria-current":o?"true":void 0,href:{pathname:i.pathname,query:{...i.query,v:e}},className:(0,u.Z)("typography-body--regular block py-2 px-3 whitespace-nowrap",o?"text-primary-orange font-medium":"text-quartz"),onClick:()=>f(!1),children:d(e)})]},e)})})})]}):null}},7023:function(e,t,n){n.d(t,{$:function(){return a}});var r=n(5893),i=n(6725),l=n(6010);let a=e=>{let t,{title:n,titleAs:a,htmlId:o,extra:s,className:u,children:c}=e;if(i.C){var d,h,f,m,p,v;let e=(null===(f=window)||void 0===f?void 0:null===(h=f.document)||void 0===h?void 0:null===(d=h.querySelector("#download-announcer"))||void 0===d?void 0:d.clientHeight)||0,n=(null===(v=window)||void 0===v?void 0:null===(p=v.document)||void 0===p?void 0:null===(m=p.querySelector("#page-header"))||void 0===m?void 0:m.clientHeight)||0;t={top:"-".concat(e+n,"px")}}let b=a||"h2",g=(0,l.Z)("pt-4 pb-6",u);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{id:o,className:"block relative invisible",style:t}),(0,r.jsxs)("section",{className:g,children:[(0,r.jsxs)("div",{className:"spacing-px-content flex items-end justify-between mb-2",children:["string"==typeof n&&(0,r.jsx)(b,{className:"typography-heading--2",children:n}),s]}),c]})]})}},6682:function(e,t,n){n.d(t,{b:function(){return u}});var r=n(5893),i=n(21),l=n(3846),a=n(6659),o=n(4598),s=n(8006);let u=e=>{let{isInApp:t,version:n,versions:u,children:c}=e,d=(0,r.jsx)(i.D,{version:n,versions:u});return t?(0,r.jsxs)("main",{className:"layout-mobile lg:max-w-4xl min-h-screen bg-white",children:[(0,r.jsx)("div",{className:"spacing-px-content flex justify-end pt-3",children:d}),c]}):(0,r.jsx)(s.Z,{showPageHeader:!0,showNavigationBar:!1,containerClassName:"lg:max-w-none",pageHeaderProps:{label:"Kebijakan Privasi",backUrl:(0,o.Lq)()?void 0:"/",extra:d},footer:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"lg:hidden",children:(0,r.jsx)(l.$,{showDownload:!1})}),(0,r.jsx)("div",{className:"hidden lg:block",children:(0,r.jsx)(a.O,{showDownload:!1})})]}),children:(0,r.jsx)("div",{className:"mx-auto w-full lg:max-w-4xl",children:c})})}},2731:function(e,t,n){n.d(t,{h:function(){return s}});var r=n(7294),i=n(8277),l=n(1163),a=n(4621);let o=e=>{let{withRouterPath:t=!0}=e,{listeners:n}=(0,r.useContext)(a.s),i=(0,l.useRouter)();return{dispatchEvent:(e,r)=>{let l=null==n?void 0:n[e];if("function"==typeof l){let e={...r};t&&(e.pathname=null==i?void 0:i.pathname,e.asPath=null==i?void 0:i.asPath),l(e)}}}};function s(){let{eventPayload:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{dispatchEvent:t}=o({withRouterPath:!0});(0,r.useEffect)(()=>{t(i.f.Initial_Screen,e)},[])}},3145:function(e,t,n){n.d(t,{d:function(){return m}});var r=n(5935),i=n(5152),l=n.n(i),a=n(7294);function o(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)+/g,"")}let s=l()(async()=>(await Promise.all([n.e(6416),n.e(4101),n.e(2466)]).then(n.bind(n,2466))).VideoPlayer,{loadableGenerated:{webpack:()=>[2466]},ssr:!1}),u={h1:"typography-heading--1",h2:"typography-heading--2",h3:"typography-heading--3"},c=Object.keys(u),d=/^(\d+(?:\.\d+)+)\.?(?:\s|$)/,h=[/font-weight/gi,/font-family/gi],f={normalizeInlineStyle:!0,hyperlinkNoFollow:!1,externalLinkNewTab:!1,listItemAnchors:!1};function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={...f,...t},i=new Set,l={trim:!0,replace(e){var t;let f=null==e?void 0:e.attribs;if(!f)return;(function(e,t){if(t.normalizeInlineStyle&&e.attribs.style){let t=e.attribs.style.split(";");h.forEach(n=>{e.attribs.style.match(n)&&(t=t.filter(e=>!e.toLowerCase().match(n)))}),e.attribs.style=t.join(";")}})(e,n),function(e,t){if(!t.hyperlinkNoFollow||(null==e?void 0:e.name)!=="a")return;let n=e.attribs;if("rel"in n){let t=e.attribs.rel.match(/nofollow/gi);if(t)return;let n=e.attribs.rel.split(" ");e.attribs.rel=[...n,"nofollow"].join(" ");return}e.attribs.rel="nofollow"}(e,n),function(e,t){if(!t.externalLinkNewTab||(null==e?void 0:e.name)!=="a"||!/^https?:\/\//i.test(e.attribs.href||""))return;e.attribs.target="_blank";
1let n=(e.attribs.rel||"").split(" ").filter(Boolean);["noopener","noreferrer"].forEach(e=>{n.includes(e)||n.push(e)}),e.attribs.rel=n.join(" ")}(e,n);let m=null==e?void 0:e.name;if("iframe"===m){let t=function(e){var t;let n=null==e?void 0:null===(t=e.attribs)||void 0===t?void 0:t.src;if(n)return(0,a.createElement)(s,{url:n})}(e);if(t)return t}if(c.includes(m)){let t=e.attribs.id||o(b(e))||void 0,n=(0,r.du)(null==e?void 0:e.children,l);return(0,a.createElement)(m,{className:u[m],id:t},v(n,t,e.children))}if(n.listItemAnchors&&"li"===m){let n=function(e){var t,n,r;let i=p(e.children||[]);if((null===(t=i)||void 0===t?void 0:t.name)==="p"&&(i=p(i.children||[])),(null===(n=i)||void 0===n?void 0:n.name)!=="strong")return;let l=b(i).trim();return null===(r=d.exec(l))||void 0===r?void 0:r[1]}(e),s=(null===(t=e.parent)||void 0===t?void 0:t.name)==="ol";if(s||n){let[t,s]=function(e){let t=e.findIndex(e=>{let t=e.name;return"ul"===t||"ol"===t});return -1===t?[e,[]]:[e.slice(0,t),e.slice(t)]}(e.children||[]),u=e.attribs.id||function(e,t,n){let r=e?"klausa-".concat(e.replace(/\./g,"-")):o(g(t).trim().split(/\s+/).slice(0,10).join(" "));if(!r)return;let i=r;for(let e=2;n.has(i);e+=1)i="".concat(r,"-").concat(e);return n.add(i),i}(n,t,i);if(u)return(0,a.createElement)("li",{id:u},v((0,r.du)(t,l),u,t),(0,r.du)(s,l))}}}};return(0,r.ZP)(e,l)}function p(e){return e.find(e=>"tag"===e.type)}function v(e,t,n){return!t||function e(t){return t.some(t=>"a"===t.name||e(t.children||[]))}(n)?e:(0,a.createElement)("a",{href:"#".concat(t),className:"text-inherit no-underline",style:{fontWeight:"inherit"}},e)}function b(e){return g(e.children||[])}function g(e){return e.map(e=>"text"===e.type?e.data:b(e)).join("")}}}]);
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.