PageSourceSearch

https://home.s.id/assets/metadata-DOjMZo8G.js

js s.id collected 2026-09-24 07:36:23 UTC 1,872 bytes, 1 lines download raw bytes

1import{a as e,c as t,d as n,f as r,i,l as a,m as o,n as s,o as c,p as l,r as u,t as d}from"./constants-HYE1GjZ1.js";import{i as f,r as p,t as m}from"./surface-paths-mCjIPut2.js";import{t as h}from"./gl-route-availability-DHQ21iJo.js";o();function g(e){return/s\.id/i.test(e)?e:`${e} | s.id`}function _(e,t=``){let n=t.startsWith(`/`)?t:`/${t}`,i=l(e),o=r(e);return i?`${a}/${i}/${o}${n===`/`?``:n}`:`${a}/${o}${n===`/`?``:n}`}function v(t=``){let n=t.startsWith(`/`)?t:`/${t}`,r=n===`/`?``:n,i=f(r,m),o=f(r,p),l={};if(!i)for(let t of e){let e=c[t];e&&(l[e]=`${a}/lo/${t}${r}`)}if(!o){let e=h(r);for(let t of s.filter(t=>e.includes(t))){let e=u[t];e&&(l[e]=`${a}/gl/${t}${r}`)}}let d=h(r)[0]||`en`;return l[`x-default`]=o?`${a}/lo/id${r}`:`${a}/gl/${d}${r}`,l}function y(e=``){return v(e)}function b(e=``){return v(e)}function x(e=``){let t={},r=e.startsWith(`/`)?e:`/${e}`;for(let e of n){let n=i[e]||e;t[n]=`${a}/${e}${r===`/`?``:r}`}return t[`x-default`]=`${a}/en${r===`/`?``:r}`,t}function S(e,t=``){let n=l(e);return n===`gl`?y(t):n===`lo`?b(t):x(t)}function C(e){let{locale:n,path:i,title:a,description:o,ogImage:s=d,keywords:c,noIndex:u=!1,canonicalLocale:f}=e,p=l(n),m=_(f&&p?`${p}-${f}`:n,i),g=S(n,i),v=r(n),y=p===`lo`?v===`en`?`en_ID`:`id_ID`:{en:`en_US`,my:`ms_MY`,ph:`tl_PH`,th:`th_TH`,vi:`vi_VN`,hi:`hi_IN`}[v]||v,b={en:`en_US`,my:`ms_MY`,ph:`tl_PH`,th:`th_TH`,vi:`vi_VN`,hi:`hi_IN`},x=p===`gl`?h(i).map(e=>b[e]).filter(e=>e&&e!==y):void 0;return{title:{absolute:a},description:o,keywords:c?.join(`, `),alternates:{canonical:m,languages:Object.keys(g).length>0?g:void 0},openGraph:{title:a,description:o,url:m,siteName:t,locale:y,alternateLocale:x,type:`website`,images:[{url:s,width:1200,height:630,alt:a}]},twitter:{card:`summary_large_image`,title:a,description:o,images:[s]},robots:u?{index:!1,follow:!1}:{index:!0,follow:!0}}}export{C as n,g as r,_ as 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.