PageSourceSearch

https://www.pjpmarketplacestores.com/build/_shared/chunk-CBZQBH24.js

js pjpmarketplacestores.com collected 2026-10-09 04:16:34 UTC 3,779 bytes, 1 lines download raw bytes

1import{y as x}from"/build/_shared/chunk-VWEP3ELS.js";import{O as w,t as k,wa as y}from"/build/_shared/chunk-FES3B5QL.js";import{a as h}from"/build/_shared/chunk-G3QUQOKW.js";import{a as I}from"/build/_shared/chunk-F3RAJA4O.js";import{e as b}from"/build/_shared/chunk-O3BUCIVF.js";async function M(e,n){try{let i=`${window.ENV.apiBaseURL}/content/api/v1/retailer/landing-pages`,t=await x(`${i}?slug=${n}`,e,!0),r={title:t==null?void 0:t.title,description:t==null?void 0:t.pageDescription,keywords:t==null?void 0:t.keywords,og_image:t==null?void 0:t.imageUrl};return{data:t,metaData:r}}catch(i){console.log("Landing Page Error: ",i);return}}async function $(e,n){try{let i=window.ENV.apiBaseURL;return await x(`${i}/${n}/teasers`,e,!0,void 0,"GET")}catch(i){console.log("Teaser block Error: ",i);return}}var z=M;var f=b(I());var T=/\bdocument\.write\s*\(/m,R=/<script[^>]*\bsrc\s*=/i,B=e=>T.test(e),L=e=>R.test(e),P=/\bwindow\.frameElement\b/,v=e=>!e.trim()||!/<script\b/i.test(e)||L(e)||B(e)?!1:P.test(e),W=(e,n)=>{e.innerHTML=n;let i=Array.from(e.querySelectorAll("script"));for(let t of i){let r=document.createElement("script");for(let c of Array.from(t.attributes))r.setAttribute(c.name,c.value);r.textContent=t.textContent,t.replaceWith(r)}},E=Promise.resolve(),F=(e,n,i)=>{let t=E.then(()=>{try{return N(e,n,i)}catch(r){return Promise.reject(r)}});return E=t.catch(()=>{}),t},C=e=>{if(e!=null&&e.aborted)throw new DOMException("Snippet injection aborted","AbortError")},N=(e,n,i)=>{let t=i==null?void 0:i.signal;C(t);let r=L(n),c=B(n);if(!r&&!c)return W(e,n),Promise.resolve();e.innerHTML=n;let u=Array.from(e.querySelectorAll("script"));C(t);let g=(l,s)=>{let o=document.createElement("div");o.innerHTML=l;let S=Array.from(o.childNodes),a=s.parentNode;if(!a){for(let d of S)e.appendChild(d);return}let m=s.nextSibling;for(let d of S)a.insertBefore(d,m)};return(async()=>{var l;for(let s of u){C(t);let o=document.createElement("script");for(let a of Array.from(s.attributes))o.setAttribute(a.name,a.value);o.textContent=s.textContent;let S=s.getAttribute("src");if(S)s.replaceWith(document.createComment("snippet-external-script")),await new Promise((a,m)=>{o.onload=()=>a(),o.onerror=()=>m(new Error(`Failed to load script: ${S}`)),document.head.appendChild(o)});else{let a=T.test((l=s.textContent)!=null?l:""),m=null,d=D=>{g(D,o)};a&&(m=document.write,document.write=d);try{s.replaceWith(o)}finally{a&&m&&document.write===d&&(document.write=m)}}}})()};var A="/build/_assets/styles-NJRZPFP5.css";var p=b(h()),K=()=>[{rel:"stylesheet",href:A}],j=e=>e.trim()?/<script\b/i.test(e):!1,q=({component:e})=>{let n=(0,f.useRef)(null),[i,t]=(0,f.useState)(!1),{iframeCode:r=""}=e,c=v(r),u=j(r)&&!c;return(0,f.useEffect)(()=>{if(!u||!r){t(!1);return}let g=n.current;if(!g)return;g.innerHTML="",t(!1);let l=new AbortController;return F(g,r,{signal:l.signal}).catch(()=>{l.signal.aborted||t(!0)}),()=>l.abort()},[r,u]),(0,p.jsxs)(k,{className:`iFrameBlockContainer ${e.blockSize==="M"?"medium":"large"}`,style:{order:e.order},"data-testid":"iframe-block-container",children:[e.title&&(0,p.jsx)(y,{className:"iframeTitle",variant:"h1","data-testid":"iframe-block-title",children:e.title}),r&&(u?i?(0,p.jsx)(w,{size:"sm",c:"dimmed",className:"iframeCodeSnippet","data-testid":"iframe-block-script-fallback",children:"Content failed to load. Please refresh and try again."}):(0,p.jsx)("div",{ref:n,className:"iframeCodeSnippet","data-testid":"iframe-block-script"}):c?(0,p.jsx)("iframe",{className:"iframeCodeSnippet iframeLegacySrcdocHost",srcDoc:r,title:"CMS code snippet","data-testid":"iframe-block-script"}):(0,p.jsx)("div",{dangerouslySetInnerHTML:{__html:r},className:"iframeCodeSnippet","data-testid":"iframe-block-code"}))]})},H=q;var ee=H;export{K as a,ee as b,$ as c,z as d};

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.