PageSourceSearch

https://www.swarovskioptik.com/static/js/4233.2e3109f7.chunk.js

js swarovskioptik.com collected 2026-10-02 03:03:21 UTC 1,727 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunk_swo_frontend=globalThis.webpackChunk_swo_frontend||[]).push([[4233],{24233:(e,t,n)=>{n.r(t),n.d(t,{ToolbeltSitemapRoute:()=>d,default:()=>p});var r=n(44167),a=n(76945),i=n(59445),s=n(86176),l=n(21126),c=n(4631),o=n(18127);const d=()=>(0,a.q)()?(0,o.Y)(h,{}):null,h=()=>{const[e,t]=(0,l.useState)(!1),{data:n}=(0,r.I)({queryKey:["toolbelt-sitemap"],queryFn:()=>fetch("/storefront/toolbelt/sitemap").then(e=>e.json())});return n?"string"===typeof n?(0,o.Y)("div",{children:n}):(0,o.FD)("div",{children:[(0,o.Y)("h1",{className:"text-headline-1",children:"Sitemap status"}),(0,o.Y)("pre",{className:"whitespace-pre-wrap",children:Object.entries(n).map(([e,t])=>(0,o.FD)("div",{className:"grid grid-cols-[340px_1fr] gap-[20px] mb-[6px]",children:[(0,o.Y)("span",{className:"font-futura-500 text-x25",children:e}),(0,o.Y)("div",{children:JSON.stringify(t,null,2)})]},e))}),(0,o.Y)(s.h,{size:"lg"}),(0,o.FD)("details",{className:"mb-6",children:[(0,o.Y)("summary",{className:"font-futura-500 text-x25",children:"Advanced options"}),(0,o.FD)("label",{className:"inline-flex items-center gap-[8px] mt-[12px] text-[text-black]",children:[(0,o.Y)("input",{type:"checkbox",checked:e,onChange:e=>t(e.target.checked)}),"Recreate database view"]})]}),(0,o.Y)(i.i,{variant:"green",as:"button",onClickWithPromise:()=>fetch("/storefront/toolbelt/sitemap/refresh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({recreateView:e})}).then(e=>e.json()).then(e=>{alert(JSON.stringify(e,null,2))}),children:"Trigger regeneration"})]}):(0,o.Y)("div",{children:"Error"})},p=()=>(0,o.Y)(c.x,{width:"narrow",children:(0,o.Y)(d,{})})}}]);
2//# sourceMappingURL=4233.2e3109f7.chunk.js.map

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.