PageSourceSearch

https://www.popeyes.es/static/js/7480.969b1d2e.chunk.js

js popeyes.es collected 2026-10-06 13:52:14 UTC 11,836 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[7480],{94667:(e,i,t)=>{t.d(i,{E:()=>a});t(59284);var n=t(60129),o=t(60712);const a=e=>{let i=e.message;return(0,o.jsx)(n.p,{"data-testid":"support-v2-error-view-ContentLoadingContainer",children:(0,o.jsx)(n.w,{"data-testid":"error-message",children:i})})}},30315:(e,i,t)=>{t.d(i,{E:()=>f});t(59284);var n=t(90536),o=t(10364),a=t(60129),r=t(20147),d=t(60712),s=t(68356).P;const p=(0,r.i7)(["0%{background-position:-25rem 0;}100%{background-position:25rem 0;}"]),m=r.Ay.div.withConfig({componentId:"sc-gd6aff-0"})(["max-width:45rem;width:100%;margin:2.5rem auto;padding:2rem;border-radius:1rem;background:#ffffff;box-shadow:0 0.1875rem 0.75rem rgba(0,0,0,0.08);border:none;","{background:transparent;box-shadow:none;border:none;padding:0;margin:2rem auto;max-width:90%;}"],s.mobile),l=r.Ay.div.withConfig({componentId:"sc-gd6aff-1"})(["height:",";width:",";margin-block-end:",";border-radius:0.375rem;background:#e3dfd7;background-image:linear-gradient(90deg,#e3dfd7 0px,#faf7f3 2.5rem,#e3dfd7 5rem);background-size:37.5rem;animation:"," 1.35s infinite linear;","{width:",";margin:0.75rem auto;}"],(e=>e.height||"1rem"),(e=>e.width||"100%"),(e=>e.margin||"1rem"),p,s.mobile,(e=>e.width||"70%")),c=r.Ay.div.withConfig({componentId:"sc-gd6aff-2"})(["height:2.875rem;border-block-end:1px solid rgba(0,0,0,0.1);display:flex;align-items:center;","{border-block-end:none;height:auto;margin:0.75rem 0;justify-content:center;}"],s.mobile),g=(0,r.Ay)(l).withConfig({componentId:"sc-gd6aff-3"})(["width:40%;","{width:50%;}"],s.mobile),h=()=>(0,d.jsxs)(m,{"data-testid":"support-v2-supportv2-skeleton-Card","aria-busy":"true","aria-label":"Loading content",children:[(0,d.jsx)(l,{"data-testid":"support-v2-supportv2-skeleton-SkeletonLine",height:"0.875rem",width:"35%",margin:"1rem"}),(0,d.jsx)(l,{"data-testid":"support-v2-supportv2-skeleton-SkeletonLine-1",height:"1.75rem",width:"65%",margin:"2rem"}),(0,d.jsx)(c,{"data-testid":"support-v2-supportv2-skeleton-Row",children:(0,d.jsx)(g,{"data-testid":"support-v2-supportv2-skeleton-RowSkeleton",height:"0.875rem"})}),(0,d.jsx)(c,{"data-testid":"support-v2-supportv2-skeleton-Row-1",children:(0,d.jsx)(g,{"data-testid":"support-v2-supportv2-skeleton-RowSkeleton-1",height:"0.875rem"})}),(0,d.jsx)(c,{"data-testid":"support-v2-supportv2-skeleton-Row-2",children:(0,d.jsx)(g,{"data-testid":"support-v2-supportv2-skeleton-RowSkeleton-2",height:"0.875rem"})}),(0,d.jsx)(c,{"data-testid":"support-v2-supportv2-skeleton-Row-3",children:(0,d.jsx)(g,{"data-testid":"support-v2-supportv2-skeleton-RowSkeleton-3",height:"0.875rem"})})]});var u=t(68356).P;const f=()=>(0,n._P)(n.N$.ENABLE_CLAIMS_OPTIMIZATION)?(0,d.jsx)(a.Kd,{"data-testid":"loading-view",children:(0,d.jsx)(h,{"data-testid":"support-v2-loading-view-SupportSkeleton"})}):(0,d.jsx)(a.p,{"data-testid":"support-v2-loading-view-ContentLoadingContainer",children:(0,d.jsx)(o.b,{"data-testid":"support-v2-loading-view-LoadingAnimation",fillColor:u.color.primary})})},60129:(e,i,t)=>{t.d(i,{Av:()=>u,BK:()=>z,DH:()=>C,Kd:()=>l,MG:()=>w,P4:()=>S,RL:()=>k,Re:()=>j,Sg:()=>O,WT:()=>P,eY:()=>v,fK:()=>I,fW:()=>$,ic:()=>c,id:()=>y,p:()=>b,qM:()=>x,qm:()=>g,s4:()=>h,sM:()=>M,u3:()=>q,w:()=>f,wA:()=>A});var n=t(20147),o=t(21199),a=t(51180),r=t(53683),d=t(68356),s=t(40767),p=t(68376),m=t(84662);const l=n.Ay.div.withConfig({componentId:"sc-vq1yu1-0"})(["",";flex:1;width:100%;display:flex;justify-content:center;","{padding-block:10vh;}"],p.Hp,d.P.desktop),c=(0,n.Ay)(r.t5).withConfig({componentId:"sc-vq1yu1-1"})(["",";"],p.Hp),g=n.Ay.div.withConfig({componentId:"sc-vq1yu1-2"})(["",";flex:1;overflow:auto;","{max-width:",";border-radius:",";box-shadow:",";min-height:0;}"],p.Hp,d.P.desktop,d.P.layout.smallerSectionMaxWidth,d.P.borderRadius,d.P.boxShadow),h=n.Ay.div.withConfig({componentId:"sc-vq1yu1-3"})(["margin-block-start:",";margin-block-end:0;margin-inline:auto;display:flex;flex-direction:column;align-items:center;> *{width:90%;}overflow:auto;&.claims-optimization{margin-block-start:0;}"],(e=>e.$claimsOptimization?"0":"2rem")),u=n.Ay.h1.withConfig({componentId:"sc-vq1yu1-4"})(["font-size:2rem;font-weight:",";font-family:",";line-height:",";text-align:center;margin-block-start:",";","{font-size:1.5rem;}",""],d.P.fontWeight.black,(e=>e.$claimsOptimization?d.P.fontFamily.brand:d.P.fontFamily.body),(e=>e.$claimsOptimization?"1.75rem":"1.25"),(e=>e.$claimsOptimization?"1.5rem":"initial"),d.P.mobile,(e=>e.$claimsOptimization&&"\n    font-weight: "+d.P.fontWeight.normal+";\n    \n    "+d.P.desktop+" {\n      font-size: 1.875rem;\n      line-height: 2rem;\n    }\n  ")),f=n.Ay.h2.withConfig({componentId:"sc-vq1yu1-5"})(["text-align:center;font-size:1.5rem;font-weight:",";font-family:",";margin-block-start:",";line-height:",";",""],(e=>e.$claimsOptimization?d.P.fontWeight.normal:d.P.fontWeight.black),(e=>e.$claimsOptimization?d.P.fontFamily.brand:d.P.fontFamily.body),(e=>e.$claimsOptimization?"1.5rem":"0"),(e=>e.$claimsOptimization?"1.75rem":"initial"),(e=>e.$claimsOptimization&&"\n    "+d.P.desktop+" {\n      font-size: 2rem;\n      line-height: 2rem;\n    }\n  ")),x=(0,n.Ay)(f).withConfig({componentId:"sc-vq1yu1-6"})(["font-size:1.2rem;"]),w=n.Ay.div.withConfig({componentId:"sc-vq1yu1-7"})(["&.claims-optimization{border:1px solid ",";border-radius:12px;padding:1rem;margin-block-end:1rem;}"],m.M.$blackOpacity10),v=n.Ay.div.withConfig({componentId:"sc-vq1yu1-8"})(["margin-block-end:1rem;margin-inline-start:-1rem;margin-inline-end:-1rem;padding-inline-start:1rem;padding-inline-end:1rem;padding-block-end:1rem;border-block-end:1px solid ",";"],m.M.$blackOpacity10),y=n.Ay.span.withConfig({componentId:"sc-vq1yu1-9"})(["svg{margin-block-start:2px;}"]),b=n.Ay.div.withConfig({componentId:"sc-vq1yu1-10"})(["width:100%;height:100vh;display:flex;align-items:center;justify-content:center;"]),k=n.Ay.div.withConfig({componentId:"sc-vq1yu1-11"})(["display:flex;flex-direction:column;","{max-width:12rem;}"],d.P.mobile),C=n.Ay.div.withConfig({componentId:"sc-vq1yu1-12"})(["display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e0e0;border-radius:12px;padding:1rem;background-color:inherit;"]),A=n.Ay.div.withConfig({componentId:"sc-vq1yu1-13"})(["font-family:",";font-size:1rem;font-weight:400;line-height:1.25rem;"],d.P.fontFamily.brand),I=n.Ay.div.withConfig({componentId:"sc-vq1yu1-14"})(["margin-block-start:0.3rem;font-family:",";font-size:0.75rem;line-height:1rem;"],d.P.fontFamily.body),j=n.Ay.span.withConfig({componentId:"sc-vq1yu1-15"})(["background-color:#d1fae5;color:#387f49;padding:0.25rem 0.5rem;border-radius:8px;font:",";font-weight:500;"],s.Z.copyTwo),q=n.Ay.div.withConfig({componentId:"sc-vq1yu1-16"})(["display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:100%;min-height:",";padding:",";box-sizing:border-box;text-align:center;margin-block-start:3rem;@media (max-width:480px){padding:1.5rem 0.75rem;min-height:65vh;}@media (min-width:769px) and (max-width:1024px){padding:2.5rem 1.5rem;min-height:70vh;}> div:first-child{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;width:100%;}"],(e=>e.$isMobile?"70vh":"75vh"),(e=>e.$isMobile?"2rem 1rem":"3rem 2rem")),P=n.Ay.div.withConfig({componentId:"sc-vq1yu1-17"})(["display:flex;justify-content:center;align-items:center;width:100%;padding:0 1rem;margin-block-start:2rem;flex-shrink:0;> div{width:100%;max-width:90%;display:flex;justify-content:center;align-items:center;@media (max-width:768px){max-width:100%;padding:0;}@media (min-width:769px) and (max-width:1024px){max-width:95%;}p{font-size:0.75rem;}}"]),z=n.Ay.div.withConfig({componentId:"sc-vq1yu1-18"})(["display:flex;align-items:center;justify-content:center;width:",";height:",";flex-shrink:0;padding:0.4rem;background-color:",";border-radius:50%;@media (max-width:480px){width:56px;height:56px;}svg{width:100%;height:100%;path{fill:#ffffff;stroke-width:1;}@media (max-width:480px){width:100%;height:100%;}}"],(e=>e.$isMobile?"64px":"80px"),(e=>e.$isMobile?"64px":"80px"),m.M.$success),$=n.Ay.div.withConfig({componentId:"sc-vq1yu1-19"})(["display:flex;align-items:center;justify-content:center;width:",";height:",";flex-shrink:0;padding:0.4rem;border-radius:50%;@media (max-width:480px){width:56px;height:56px;}svg{width:100%;height:100%;@media (max-width:480px){width:100%;height:100%;}}"],(e=>e.$isMobile?"64px":"80px"),(e=>e.$isMobile?"64px":"80px")),M=n.Ay.h2.withConfig({componentId:"sc-vq1yu1-20"})(["font:",";font-size:1.5rem;margin-block-end:",";line-height:1.75rem;text-align:center;max-width:90%;width:100%;@media (max-width:480px){max-width:95%;}@media (min-width:769px) and (max-width:1024px){max-width:85%;}"],s.Z.headerTwo,(e=>e.$isMobile?"0.75rem":"1rem")),O=n.Ay.p.withConfig({componentId:"sc-vq1yu1-21"})(["font:",";font-size:1rem;margin-block-end:",";line-height:1.25rem;text-align:center;max-width:90%;width:100%;@media (max-width:480px){max-width:95%;}@media (min-width:769px) and (max-width:1024px){max-width:85%;}"],s.Z.copyOne,(e=>e.$isMobile?"1rem":"2rem")),S=(0,n.Ay)(o.A).withConfig({componentId:"sc-vq1yu1-22"})(["","{padding-inline-start:0;padding-inline-end:0;}","{padding-inline-start:0;padding-inline-end:0;}"],a.aI,a.N_)},87480:(e,i,t)=>{t.r(i),t.d(i,{SupportV2CategoriesPage:()=>k});var n=t(59284),o=t(41657),a=t(96290),r=t(90182),d=t(84159),s=t(59279),p=t(90355),m=t(97725),l=t(15987),c=t(63563),g=t(94667),h=t(30315),u=t(60129),f=t(67820),x=t(24553),w=t(90536),v=t(39089),y=t(60712);const b=e=>{let i=e.sectionTitle,t=e.pageTitle,o=e.categoryGroups;const a=(0,w._P)(w.N$.ENABLE_CLAIMS_OPTIMIZATION),d=function(){const e=(0,r.zy)().search;return(0,n.useMemo)((()=>new URLSearchParams(e)),[e])}().get("orderId")||"";return(0,y.jsxs)(u.s4,{"data-testid":"support-v2-categories-page-support-v2-categories-v
1iew-ContentWrap",children:[a?null:(0,y.jsx)(u.Av,{"aria-live":"polite","data-testid":"page-heading",$claimsOptimization:a,children:t}),i&&(0,y.jsx)(u.w,{"aria-live":"polite","data-testid":"section-heading",$claimsOptimization:a,children:i}),(0,y.jsx)(x.B8,{"data-testid":"support-form-list",children:o.map((e=>{const i=d?v.JZ.supportCategories+"/"+e._id+"/faq?orderId="+d:v.JZ.supportCategories+"/"+e._id+"/faq",t=a?i:v.JZ.supportCategories+"/"+e._id;return(0,y.jsx)(f.YK,{"data-testid":"support-v2-categories-page-support-v2-categories-view-ArrowLink",to:t,children:e.name},e._id)}))})]})},k=()=>{var e;const i=(0,a.A)().formatMessage,t=(0,r.Zp)(),f=(0,s.A)().user,x=(0,c.q)().logNavigationClick,w=(0,p.R)({email:null==f||null==(e=f.details)?void 0:e.email}).supportCaseStatus,v=(0,m.N)().handleSupportRestriction;(0,n.useEffect)((()=>{v()}),[w,x,t,v]);const k=(0,l.R)(),C=k.supportCategoryGroups,A=k.isSupportDataLoading,I=i({id:"supportTopics"}),j=i({id:"whatDoYouNeedHelpWith"});if(A)return(0,y.jsx)(h.E,{"data-testid":"support-v2-categories-page-support-v2-categories-page-LoadingView"});if(!C||0===C.length)return(0,y.jsx)(g.E,{"data-testid":"support-v2-categories-page-support-v2-categories-page-ErrorView",message:i({id:"looksLikeWereExperiencingIssues"})});const q=C.map((e=>{var i,t;return{_id:(null==e?void 0:e._id)||"",name:null!=(i=null==e||null==(t=e.name)?void 0:t.locale)?i:""}}));return(0,y.jsx)(u.Kd,{"data-testid":"support-v2-categories-page-support-v2-categories-page-PageWrap",children:(0,y.jsxs)(u.qm,{"data-testid":"support-v2-categories-page-support-v2-categories-page-InnerBox",children:[(0,y.jsx)(d.l,{"data-testid":"support-v2-categories-page-support-v2-categories-page-BackArrowHistory"}),(0,y.jsx)(o.mg,{"data-testid":"support-v2-categories-page-support-v2-categories-page-Helmet",title:I}),(0,y.jsx)(b,{"data-testid":"support-v2-categories-page-support-v2-categories-page-SupportV2CategoriesView",pageTitle:I,sectionTitle:j,categoryGroups:q})]})})}}}]);

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.