PageSourceSearch

https://direct.alicia.insure/assets/index.DSkCYtjn.js

js alicia.insure collected 2026-10-06 18:11:16 UTC 3,515 bytes, 1 lines download raw bytes

1import{j as t,F as i,S,k as C,T as o,B as D}from"./chakra.CNo8-LAt.js";import{a as l}from"./emotion.DwsOS3er.js";import{r as e,d as _}from"./alicia.B0Mu1pxX.js";import{as as v,c as I,a as k,d as E,F as T,ay as z,D as B,m as P}from"./index.BTIn1CTQ.js";import{c as L,a as A,E as F}from"./partnerSettingsMatch.CeNsCB3v.js";import{u as R}from"./claim-form.RX7CsIW0.js";import{B as H,A as W}from"./index.DeNWp4ad.js";import{b as q}from"./claim-context.CBZA3D5c.js";import{P as N}from"./page-container.COWxMGwN.js";import"./sentry.TqamEh5Y.js";import"./lodash.DlBJHpcm.js";import"./posthog.Dw1T_2oi.js";import"./framer.C7ABESK6.js";import"./forms.BKkyutuO.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new a.Error().stack;s&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[s]="c9384d8e-683d-4169-93f6-7cc87ac8eb92",a._sentryDebugIdIdentifier="sentry-dbid-c9384d8e-683d-4169-93f6-7cc87ac8eb92")}catch{}})();const ae=({exitPath:a})=>{const{t:s}=L(),{claim_id:n}=R(),[m]=v(),u=I(),{name:p,enable_visual_effects:f}=k(),[g,h]=l.useState(!0),[r,x]=l.useState(),{getColor:c}=E(),b=T().pathname.includes("user"),y=m.get("product");l.useEffect(()=>{A(F.claim_success,"","",{ecommerce:{type:y,partner:p}})},[]),l.useEffect(()=>{n&&j()},[n]);const j=async()=>{if(n)try{const d=await q(n);x(d)}catch(d){d&&z.create({title:s("claim.errors.fetchDetails"),type:"warning"})}finally{h(!1)}},w=s("claim.success.desc",{claimId:r?.claim_number??""});return t.jsx(N,{display:"flex",justifyContent:"center",css:{alignItems:"center",height:"inherit","@media (max-width: 768px)":{paddingRight:e(24),paddingLeft:e(24),py:e(72)}},children:g?t.jsx(i,{w:"full",m:"auto",justifyContent:"center","data-testid":"claim-success-loading",children:t.jsx(S,{size:"xl"})}):t.jsxs(C,{bgSize:"contain",height:"max-content",maxW:e(736),color:"text",w:"100%",borderRadius:e(10),position:"relative","data-testid":"claim-success-content",css:{background:f?"transparent":c("background-card")??"yellow",px:e(72),py:e(72),"@media (max-width: 768px)":{px:e(24),py:e(48)}},children:[t.jsx(H,{type:W.BG_SUCCESS,color:c("background-card")}),t.jsxs(i,{flexDirection:"column",position:"relative",children:[t.jsx(o,{fontWeight:700,css:{lineHeight:e(64),fontSize:e(64),"@media (max-width: 768px)":{lineHeight:e(40),fontSize:e(40)}},children:s("claim.success.title")}),t.jsx(o,{mt:e(24),fontSize:e(16),children:w}),t.jsxs(i,{w:"100%",mt:e(24),px:e(32),py:e(16),justifyContent:"space-between",bg:c("question-card-background")??"yellow",position:"relative","data-testid":"claim-details-card",children:[t.jsx(i,{px:e(12),py:e(3),justifyContent:"center",position:"absolute",top:e(-12),right:e(16),bg:c("question-popular-label-background")??"yellow",children:t.jsx(o,{fontSize:e(12),textTransform:"uppercase",color:"white",children:r?.status})}),t.jsxs(i,{css:{width:"100%",justifyContent:"space-between",flexDirection:"row",gap:e(24),[P.tablet]:{gap:e(4),flexDirection:"column"}},children:[t.jsxs(o,{children:[s("claim.claimNumber")," ",r?.claim_number]}),t.jsx(o,{children:_(r?.created).format(B)})]})]}),t.jsx(i,{wrap:"wrap",mt:e(32),gap:e(20),w:"100%",justifyContent:"center",children:t.jsx(D,{height:e(56),variant:"solid",bg:"primary",rounded:"full",border:0,fontSize:e(16),lineHeight:e(24),fontWeight:"bold",onClick:()=>u(a),"data-testid":"success-button",children:t.jsx("span",{children:s(b?"claim.button.back":"claim.success.button")})})})]})]})})};export{ae 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.