PageSourceSearch

https://www.firstcallonline.com/static-home/client/assets/_mid_-Dp51nrbd.js

js firstcallonline.com collected 2026-10-09 22:42:07 UTC 3,664 bytes, 1 lines download raw bytes

1import{r as l,u as P,P as w,bn as Q,br as U,bs as A,cf as y,aD as p,cQ as r,j as c,f as F,C as E,c as b,v as X,cR as Y,d as B,h as u,a9 as z,cS as J,G as q,H as V,b1 as W,bg as Z,Q as ee,b2 as te}from"./index-BpLLe65f.js";import{g as se}from"./_config-6u8F9oqz.js";import{M as ae}from"./MenuList-BiwkISOp.js";const d={"marketing-container":"_DCHmD","aside-container":"_yTJgb","main-container":"_yUiHA","table-themed":"_Cjlpl","responsive-table-base":"_xKYIG","responsive-table-reverse":"_QU9F9","responsive-table-with-images":"_PmX1p","responsive-table-with-images-text-left":"_fvl4-","responsive-table-reverse-with-images":"_GXeDj","full-height-responsive-table":"_IaCzS","content-with-margin-adjustments":"_5dEgh","responsive-table-with-responsive-images":"_-Xacc"},ne={"table-themed":["shop-management-systems"],"responsive-table-base":["professional-service-center-programs"],"responsive-table-with-images":["shop-referral"],"responsive-table-with-images-text-left":["promotions"],"responsive-table-reverse-with-images":["package-jobs","stock-orders"],"full-height-responsive-table":["competitive-professional-pricing"],"content-with-margin-adjustments":["o-reilly-pro-mobile-app"],"responsive-table-with-responsive-images":["real-world-training"]},ie=e=>{for(const[t,s]of Object.entries(ne))if(s.includes(e))return d[t]||""},x=(e,t)=>e.find(s=>s?.category?.find(m=>m?.title?.trim()?.toLowerCase()===t.trim().toLowerCase())),re=(e,t="")=>{const s=t?x(e,t):void 0;return{banner:s?.banner?.[0],content:u(s?.mainContent?.[0].content?.[0]?.html),title:u(s?.title),_path:y(u(s?._path))}},j=e=>e?{[e.title]:!0}:{},oe=e=>{const{aem:{cmsHost:t}}=z();return e.replace(J,`$1${t}/$2$3`)},ce=({digitalArticleList:e,digitalMenuList:t})=>{const{t:s}=P(w.MARKETING),{mid:m=""}=Q(),_=l.useMemo(()=>t?.items[0].menuItems??[],[t]),a=U(_,m),f=l.useMemo(()=>e?.items??[],[e]),D=a&&A(a,m),[g,h]=l.useState(()=>j(a)),[o,M]=l.useState(()=>re(f,D?.title)),k=s("menuTitle"),$={lg:3,md:12,sm:12},N={lg:9,md:12,sm:12},v=l.useCallback((n="")=>{const i=x(f,n),{title:G="",_path:I="",banner:T=[{_path:""}],mainContent:R=[{content:[{html:""}]}]}=i??{},O=T[0],K=R[0].content?.[0].html,L=y(u(I)),H=u(G),C={banner:O,content:u(K),title:H,_path:L};M(C),p?.setData(`${r}_article`,C)},[f]);l.useEffect(()=>{const n=p?.getData(`${r}_openMenu`);n&&typeof n=="object"?h(n):a&&p?.setData(`${r}_openMenu`,j(a));const i=p?.getData(`${r}_article`);i&&typeof i=="object"?M(i):p?.setData(`${r}_article`,o)},[]),l.useEffect(()=>{if(a){Object.keys(g).some(i=>i===a.title)||(h({[a.title]:!0}),p?.setData(`${r}_openMenu`,{[a.title]:!0}));const n=A(a,m);v(n?.title)}},[m,_,v,g,a]);const S=n=>{g[n]||(h({}),setTimeout(()=>{const i={[n]:!0};h(i),p?.setData(`${r}_openMenu`,i),v(n)},300))};return c.jsx("div",{className:"container-width",children:c.jsxs(F,{className:b("py-4 px-6",d["marketing-container"]),children:[c.jsx(E,{...$,isAside:!0,className:b(d["aside-container"],"mb-6"),children:c.jsx(ae,{title:k,menuItems:_,isOpen:g,handleClick:S,activeMenu:o._path})}),c.jsxs(E,{...N,className:b(d["main-container"],"mb-6"),isMain:!0,children:[c.jsx("h2",{className:b("font-bold mb-2 block"),"data-testid":`marketing-article-title-${o._path}`,children:o.title}),o.banner&&c.jsx(X,{alt:`${o.title}-banner`,className:"mb-4",desktopSrc:Y(o.banner),imageType:"gallery",loading:"eager"}),c.jsx(B,{htmlContent:oe(o.content),className:ie(o._path)})]})]})})},le=l.memo(ce),ge=()=>{const{t:e}=P(w.MARKETING),t=q(le,r,{isByPath:!0,pageTitle:e("pageTitle")});return c.jsx(t,{})},he=async({locale:e=W})=>{const t=te[e]??e,s=`${ee}_${r},${t}`;return await V({...se(e),[s]:()=>Z(r,t)})};export{ge as MarketingPage,he as default};

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.