PageSourceSearch

https://jdsports.id/_next/static/chunks/pages/sitemap/categori/[slug]-3ed9ff2ed07e84d3.js

js jdsports.id collected 2026-09-24 11:57:43 UTC 3,000 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8781],{37698:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sitemap/categori/[slug]",function(){return n(52419)}])},91397:function(t,e,n){"use strict";n.d(e,{IS:function(){return r}});var a=n(93975),c=n(87036);let r="".concat(a.X2,"/categories?store_code=").concat(c.mz)},3527:function(t,e,n){"use strict";function a(t){if(t)return t.replace(/\s/g,"-").replace(/&/g,"-").replace(/[^\w\-]/g,"-").replace(/--+/g,"-").replace(/^-+|-+$/g,"").toLowerCase()}function c(t){let{url:e,excludeStr:n}=t;return e.includes(n)?e.split("/").pop().replace(/\?.*$/,"").replace(/-\d+$/,"").replace(/--/g," "):e.split("/").pop().replace(/\?.*$/,"").replace(/-\d+$/,"").replace(/--/g," ").replace(/([^\d])-|-(?=[^\d])/g,"$1 ").replace(/ {2}/g," - ").replace(/ {2}/g," ")}n.d(e,{I:function(){return c},z:function(){return a}})},52419:function(t,e,n){"use strict";n.r(e);var a=n(72990),c=n(3527);let r=new Date().toISOString(),o=t=>t.replace(/[<>&'"]/g,t=>{switch(t){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";case'"':return"&quot;";case"'":return"&apos;"}}),i=()=>{},l=(t,e)=>'<?xml version="1.0" encoding="UTF-8"?>\n    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \n		xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">\n		'.concat(t.map(t=>{let e="";if(t.children_data.length>0){var n;null===(n=t.children_data)||void 0===n||n.map(n=>{e+="<url>\n							<loc>".concat(o("".concat("https://jdsports.id","/category/").concat((0,c.z)(t.name),"/").concat((0,c.z)(n.name),"-").concat(n.id)),"</loc>\n							<lastmod>").concat(r,"</lastmod>\n							<changefreq>daily</changefreq>\n							<priority>0.5</priority>\n						</url>")})}if(t.include_in_menu)return"\n						<url>\n							<loc>".concat(o("".concat("https://jdsports.id","/category/").concat((0,c.z)(t.name),"-").concat(t.id)),"</loc>\n							<lastmod>").concat(r,"</lastmod>\n							<changefreq>daily</changefreq>\n							<priority>0.5</priority>\n						</url>\n						").concat(e,"\n						")}).join(""),"\n    </urlset>\n    ");i.getInitialProps=async t=>{var e,n;let c=t.query.slug,r=t.res,o=(c=(c=c.replace(".xml","")).split("_")).pop(),i=c[1],s=await (0,a.C)(),d=null==s?void 0:null===(n=s.data)||void 0===n?void 0:null===(e=n.children_data)||void 0===e?void 0:e.find(t=>t.id===parseInt(o));r.setHeader("Content-Type","text/xml"),r.write(l(d.children_data,i)),r.end()},e.default=i},72990:function(t,e,n){"use strict";n.d(e,{C:function(){return r}});var a=n(91397),c=n(29061);let r=async()=>{try{var t,e,n;let r=await c.Z.get(a.IS);return{data:(null==r?void 0:null===(n=r.data)||void 0===n?void 0:null===(e=n.data)||void 0===e?void 0:null===(t=e.find(t=>"JDSport"===t.category_name))||void 0===t?void 0:t.children_data)||[]}}catch(t){throw Error(t)}}}},function(t){t.O(0,[2888,9774,179],function(){return t(t.s=37698)}),_N_E=t.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.