1"use strict";(self.webpackChunk_bankup_web_retail=self.webpackChunk_bankup_web_retail||[]).push([[9270],{89270(e,n,t){t.r(n),t.d(n,{default:()=>we});var a=t(43207),i=t(18188),l=t(72176),r=t(86896),o=t(48155);const c=e=>{let n=e.service,t=e.adapter;return l.createElement(o.g,{loader:n.load,skeleton:t.skeletonView,error:()=>l.createElement(t.errorView,{onReload:n.load}),render:e=>l.createElement(t.mainView,{loans:e})})};var s,d=t(61249),m=t(82982),p=t(57683),x=t(63037);const u=r.A.section(s||(s=(0,a.A)(["\n display: flex;\n justify-content: space-between;\n @media (max-width: ","px) {\n flex-direction: column;\n }\n"])),x.z.breakpoints.values.md);var f,h,g=t(356),y=t(69236),E=t(72049),w=t(15521),v=t.n(w),b=t(22964),A=t(74450),_=t(19179),z=t(10146),k=t(83527);function N(e){let n=e.amount,t=e.currency,a=e.durationInMonths,i=e.installmentAmount,r=e.interestRate,o=e.lastInstallmentDate,c=e.remainingAmount,s=(e.title,e.type),m=e.displayUnpaidAmount,p=e.cumulativeUnpaidAmount,x=e.lastUnpaidDate;const u=(0,b.A)(e=>(0,A.A)({root:{maxWidth:345},media:{height:0,paddingTop:"56.25%"},expand:{transform:"rotate(0deg)",marginLeft:"auto",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},expandOpen:{transform:"rotate(180deg)"}})),f={ic_groupe_masques:z},h=u(),g=l.useState(!1),w=(0,d.A)(g,2),N=w[0],M=w[1],D=()=>{M(!N)};let j,S;return"CREDIT_IMMO"===s?(j=l.createElement(k.gQ,{type:s,icon:l.createElement(_.V5Y,{size:15})}),S=l.createElement(k.gQ,{type:s,isMobileHeader:!0,onclick:D,expanded:N,className:(0,E.A)(h.expand,{[h.expandOpen]:N}),icon:l.createElement(_.V5Y,{size:15})})):(j=l.createElement(k.gQ,{type:s,icon:l.createElement("img",{src:f.ic_groupe_masques,width:15})}),S=l.createElement(k.gQ,{type:s,isMobileHeader:!0,onclick:D,expanded:N,className:(0,E.A)(h.expand,{[h.expandOpen]:N}),icon:l.createElement("img",{src:f.ic_groupe_masques,width:15})})),l.createElement(R,null,l.createElement("div",{className:"md"},l.createElement(k.Q_,{title:j},l.createElement(C,null,l.createElement(k.Zp,{libelle:"borrowed.capital",value:n,subContent:t}),l.createElement(k.Zp,{libelle:"title.taux",subContent:r+" %"}),l.createElement(k.Zp,{libelle:"title.monthly.payment",value:i,subContent:t}),l.createElement(k.Zp,{libelle:"title.capitale",value:c,subContent:t}),l.createElement(k.Zp,{libelle:"title.duration",subContent:a,isDuration:!0}),l.createElement(k.Zp,{libelle:"title.date.end",subContent:v()(o).format()})),m&&!!p&&l.createElement(C,null,l.createElement(k.Zp,{libelle:"account.credit.total.unpaid",value:p,subContent:t,withRedColor:!0}),l.createElement(k.Zp,{libelle:"account.credit.last.unpaid",subContent:v()(x).format(),withRedColor:!0})))),l.createElement("div",{className:"sm"},l.createElement(k.Q_,{title:S,handleClick:()=>D()},l.createElement(y.A,{in:N,timeout:"auto",unmountOnExit:!0},l.createElement(C,null,l.createElement("div",{className:"d-flex flex-column"},l.createElement(k.Zp,{libelle:"borrowed.capital",value:n,subContent:t}),l.createElement(k.Zp,{libelle:"title.capitale",value:c,subContent:t})),l.createElement("div",{className:"d-flex flex-column"},l.createElement(k.Zp,{libelle:"title.taux",subContent:r+"%"}),l.createElement(k.Zp,{libelle:"title.duration",subContent:a,isDuration:!0})),l.createElement("div",{className:"d-flex flex-column"},l.createElement(k.Zp,{libelle:"title.monthly.payment",value:i,subContent:t}),l.createElement(k.Zp,{libelle:"title.date.end",subContent:v()(o).format()}))),m&&p&&l.createElement(C,null,l.createElement(k.Zp,{libelle:"account.credit.total.unpaid",value:p,subContent:t,withRedColor:!0}),l.createElement(k.Zp,{libelle:"account.credit.last.unpaid",subContent:v()(x).format(),withRedColor:!0}))))))}const C=g.Ay.div(f||(f=(0,a.A)(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n .redColor {\n color: #c80519;\n }\n .flex-column {\n display: flex;\n flex-direction: 'column';\n }\n .margin {\n margin: 15px 15px;\n @media (max-device-width: 800px) {\n margin: 5px 5px;\n }\n }\n"]))),R=g.Ay.div(h||(h=(0,a.A)(["\n width: 98%;\n @media (min-device-width: 901px) {\n .sm {\n display: none;\n }\n }\n @media (max-device-width: ","px) {\n .md {\n display: none;\n }\n\n .justify_content {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n }\n .md "," {\n padding-top: 5px;\n :nth-of-type(2) {\n justify-content: start;\n .secondary-text {\n color: ",";\n }\n .primary-text {\n text-transform: initial;\n }\n }\n }\n .sm "," {\n :nth-of-type(2) {\n justify-content: start;\n .secondary-text {\n color: ",";\n }\n .primary-text {\n text-transform: initial;\n }\n }\n }\n"])),x.z.breakpoints.values.md,C,x.z.palette.warning,C,x.z.palette.warning);var M,D=t(82194),j=t(60935);const S=e=>{let n=e.loans;const t=(0,D.ny)();return l.createElement(T,null,n.map((e,n)=>l.createElement(N,{key:n,title:e.type,amount:e.amount,currency:e.currency,durationInMonths:e.durationInMonths,installmentAmount:e.installmentAmount,interestRate:e.interestRate,lastInstallmentDate:e.lastInstallmentDate,remainingAmou
1nt:e.remainingAmount,type:e.type,displayUnpaidAmount:t(j.rh.UNPAIDAMOUNT),cumulativeUnpaidAmount:e.cumulativeUnpaidAmount,lastUnpaidDate:e.lastUnpaidDate})))};t.dn(S);const T=r.A.div(M||(M=(0,a.A)(["\n font-size: 11px;\n text-transform: uppercase;\n margin: 27px 0px;\n @media screen and (min-width: 700px) and (max-width: 780px) {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n text-transform: uppercase;\n }\n @media (max-device-width: 480px) {\n margin-bottom: 40px;\n }\n .flex-spaced {\n display: flex;\n justify-content: space-between;\n }\n .flex-center {\n display: flex;\n align-items: center;\n }\n"])));var I,Z,O,U,H,L,V,Q=t(49388),F=t(36390),W=t(82418),P=t(52116),q=t(95567),Y=t(44437);const B=e=>{let n=e.empty_data;const t=(0,Q.t0)(),a=t.design,i=t.tenant_config.loans,r={ic_book_open:W,ic_group_users:P,ic_home_icon:q},o=e=>{let n,t=e.icon;return n="BOOK_OPEN_ICON"===t||"LAYERS_ICON"===t?l.createElement("img",{src:r.ic_book_open,width:15}):"GROUPE_USERS_ICON"===t?l.createElement("img",{src:r.ic_group_users,width:15}):l.createElement("img",{src:r.ic_home_icon,width:15}),n};return l.createElement(G,null,i.sim_loans.map(e=>l.createElement(l.Fragment,null,l.createElement(ee,{emptyData:n},l.createElement("a",{href:e.link,target:"_blank",className:"CardLink"},a===F.pT.R1?l.createElement(J,null,l.createElement($,null,l.createElement(K,null,l.createElement(o,{icon:e.icon})),l.createElement("div",{className:"flex-column margin"},l.createElement(Y.A,{id:e.message}))),l.createElement(ne,null,l.createElement(_.fOo,{size:18}))):l.createElement(X,null,l.createElement($,null,l.createElement(K,null,l.createElement(o,{icon:e.icon})),l.createElement("div",{className:"flex-column margin"},l.createElement(Y.A,{id:e.message}))),l.createElement(ne,null,l.createElement(_.fOo,{size:18}))))))))};t.dn(B);const G=r.A.div(I||(I=(0,a.A)(["\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n\n @media screen and (min-width: 700px) and (max-width: 780px) {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n }\n @media (max-device-width: 480px) {\n font-size: 10px;\n margin: 1px 0px;\n margin-bottom: 40px;\n }\n .flex-spaced {\n display: flex;\n justify-content: space-between;\n }\n .flex-center {\n display: flex;\n align-items: center;\n }\n"]))),K=r.A.div(Z||(Z=(0,a.A)(["\n @media (max-device-width: 400px) {\n .md_icon {\n display: none;\n }\n }\n .md_icon {\n display: flex;\n }\n"]))),$=r.A.div(O||(O=(0,a.A)(["\n display: flex;\n align-items: center;\n .flex-column {\n display: flex;\n flexdirection: 'column';\n }\n .margin {\n margin: 10px;\n }\n .primary-text {\n font-weight: 500;\n color: #333333;\n @media (max-width: ","px) {\n font-size: 10px;\n }\n }\n .secondary-text {\n color: #868686;\n @media (max-width: ","px) {\n font-size: 10px;\n }\n }\n"])),x.z.breakpoints.values.xs,x.z.breakpoints.values.xs),J=r.A.div(U||(U=(0,a.A)(["\n font-size: 11px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 15px 15px;\n margin: 5px 0;\n border-radius: 10px;\n background-color: #fff0f0;\n :hover {\n background-color: #fffded;\n }\n @media (max-device-width: 410px) {\n font-size: 8px;\n padding: 10px 10px;\n }\n @media (max-device-width: 720px) {\n font-size: 10px;\n }\n"]))),X=r.A.div(H||(H=(0,a.A)(["\n font-size: 11px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 15px 15px;\n margin: 5px 0;\n border-radius: 10px;\n background-color: #e5ebf7;\n :hover {\n background-color: #fffded;\n }\n @media (max-device-width: 410px) {\n font-size: 8px;\n padding: 10px 10px;\n }\n @media (max-device-width: 720px) {\n font-size: 10px;\n }\n"]))),ee=r.A.div(L||(L=(0,a.A)(["\n width: ",";\n @media (max-device-width: 880px) {\n width: 97%;\n }\n .CardLink {\n font-weight: 500;\n color: #333333;\n :hover {\n background-color: #fffded;\n text-decoration: none;\n }\n }\n"])),e=>e.emptyData?"49%":"97%"),ne=r.A.div(V||(V=(0,a.A)(["\n .md {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n .sm {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n @media (min-device-width: 481px) {\n .sm {\n display: none;\n }\n }\n @media (max-device-width: 480px) {\n .md {\n display: none;\n }\n }\n\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n"])));var te,ae,ie,le,re,oe=t(43074),ce=t(89154);const se=e=>{const n=(0,Q.t0)(),t=n.design,a=n.language,i=n.tenant,r=n.tenant_config.loans,o={ic_call_center:ce};return l.createElement(pe,null,l.createElement("div",{className:"table-container"},e.loans.length>0?l.createElement("div",null,t===F.pT.R1?l.createElement(l.Fragment,null,l.createElement("div",null,l.createElement("span",{className:"sub-title"},l.createElement(Y.A,{id:"loans.screen.subTitle"}))),l.createElement(ue,null)):l.createElement(oe.u,{title:"loans.screen.subTitle"}),l.createElement("div",{className:"block"},l.createElement(S,{loans:e.loans}))):l.createElement("div",{style:{marginTop:"30px"}},l.createElement("div",null,l.createElement("span",{className:"sub-title-2"},l.createElement(Y.A,{id:"loans.empty.state.title"}))),l.createElement("div",{className:"block"},l.createElement("span",{className:"description"},l.createElement(Y.A,{id:"MG"===i?"loans.empty.state.description.mg":"loans.empty.state.description"})),l.createElement(xe,null),l.createElement(de,null,l.createElement(me,null,l.createElement("div",{className:"flex-column margin"},l.createElement("img",{src:o.ic_call_center,width:34})),l.createElement("div",{className:"flex-column margin"},l.createElement("span",{className:"primary-text"},l.createElement(Y.A,{id:"loans.empty.state.contact.title"})),l.createElement("span",{className:"secondary-text"},l.createElement(Y.A,{id:"loans.empty.state.contact.phone"})," ",r.empty_state.contact_phone),r.empty_state.contact_email&&l.createElement("span",{className:"secondary-text"},l.createElement(Y.A,{id:"loans.empty.state.contact.email"})," ",r.empty_state.contact_email),l.createElement("span",{className:"third-text"},"FR"===a.toUpperCase()?r.empty_state.contact_infos_fr:r.empty_state.contact_infos_en))))))),l.createElement("div",{className:"beneficiaries-container"},l.createElement("div",null,t===F.pT.R1?l.createElement(l.Fragment,null,l.createElement("div",null,l.createElement("span",{className:"sub-title"},l.createElement(Y.A,{id:"loans.screen.simulators"}))),l.createElement(ue,null)):l.createElement(oe.u,{title:"loans.screen.simulators"}),l.createElement("div",{className:"block"},l.createElement(B,{empty_data:!1})))))};t.dn(se);const de=r.A.div(te||(te=(0,a.A)(["\n display: block;\n justify-content: space-between;\n align-items: center;\n margin: 11px 0;\n @media (max-width: 780px) {\n margin: 1px 0;\n }\n"]))),me=r.A.div(ae||(ae=(0,a.A)(["\n padding: 5px 20px;\n @media (max-width: 780px) {\n padding: 5px 1px;\n }\n display: flex;\n align-items: center;\n .primary-text {\n font-family: Montserrat;\n font-size: 14px;\n @media (max-device-width: 410px) {\n font-size: 11px;\n }\n @media (max-device-width: 720px) {\n font-size: 12px;\n }\n @media (max-device-width: 880px) {\n font-size: 13px;\n }\n\n font-weight: 500;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.71;\n letter-spacing: normal;\n text-align: left;\n color: #2d292a;\n }\n .third-text {\n font-family: 'Source Sans Pro';\n font-size: 13px;\n @media (max-device-width: 410px) {\n font-size: 10px;\n }\n @media (max-device-width: 720px) {\n font-size: 11px;\n }\n @media (max-device-width: 880px) {\n font-size: 12px;\n }\n font-weight: normal;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.31;\n letter-spacing: 0.33px;\n text-align: left;\n color: #333333;\n }\n .secondary-text {\n font-family: Montserrat;\n font-size: 16px;\n @media (max-device-width: 410px) {\n font-size: 12px;\n }\n @media (max-device-width: 720px) {\n font-size: 13px;\n }\n @media (max-device-width: 880px) {\n font-size: 14px;\n }\n font-weight: 500;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.75;\n letter-spacing: 0.4px;\n text-align: left;\n color: #e9041e;\n }\n"]))),pe=r.A.div(ie||(ie=(0,a.A)(["\n width: 100% !important;\n .flex-column {\n display: flex;\n flexdirection: 'column';\n }\n .margin {\n margin: 15px 15px;\n }\n\n @media (min-device-width: 781px) {\n .sm_768 {\n display: none;\n }\n }\n @media (max-device-width: 780px) {\n .md_768 {\n display: none;\n }\n }\n\n @media (min-device-width: 901px) {\n .sm {\n display: none;\n }\n }\n @media (max-device-width: 700px) {\n .md {\n display: none;\n }\n }\n display: flex;\n justify-content: space-between;\n @media (max-width: 780px) {\n flex-direction: column;\n }\n\n .title {\n font-size: 14px;\n font-weight: 500;\n color: #e60028;\n }\n .sub-title {\n color: #e60028;\n font-family: Montserrat;\n font-size: 14px;\n @media (max-device-width: 410px) {\n font-size: 12px;\n }\n @media (max-device-width: 720px) {\n font-size: 13px;\n }\n font-weight: 500;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.21;\n letter-spacing: normal;\n text-align: left;\n }\n .sub-title-2 {\n font-family: Montserrat;\n font-size: 17px;\n @media (max-width: 720px) {\n font-size: 12px;\n }\n font-weight: 600;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.47;\n letter-spacing: normal;\n text-align: center;\n color: #ee3b45;\n text-align: left;\n }\n .description {\n font-family: Montserrat;\n font-size: 14px;\n @media (max-device-width: 410px) {\n font-size: 10px;\n }\n @media (max-device-width: 720px) {\n font-size: 11px;\n }\n @media (max-device-width: 880px) {\n font-size: 12px;\n }\n font-weight: 500;\n font-stretch: normal;\n font-style: normal;\n line-height: 1.71;\n letter-spacing: normal;\n text-align: left;\n color: #2d292a;\n }\n .block {\n margin: 21px 0px 21px 0px;\n @media (max-device-width: 480px) {\n margin: 5px 0px;\n }\n }\n .table-container {\n width: 65%;\n @media (max-device-width: 780px) {\n width: 100%;\n }\n }\n .beneficiaries-container {\n width: 30%;\n @media (max-width: 780px) {\n width: 100%;\n }\n }\n"]))),xe=r.A.div(le||(le=(0,a.A)(["\n width: 100%;\n height: 1px;\n background-color: #dcdcdc;\n margin: 9px 8px;\n @media (max-device-width: 480px) {\n margin: 2px 0px;\n }\n"]))),ue=r.A.div(re||(re=(0,a.A)(["\n width: 47px;\n height: 3px;\n background-color: #231f20;\n margin: 9px 0px;\n @media (max-device-width: 480px) {\n margin: 2px 0px;\n }\n"]))),fe={skeletonView:()=>{const e=l.useState(window.innerWidth),n=(0,d.A)(e,2),t=n[0],a=n[1];return l.useEffect(()=>{window.addEventListener("resize",()=>a(window.innerWidth))},[]),l.createElement(l.Fragment,null,l.createElement(m.D,{width:t<=780?"100%":"65%",title:!0,contentList:new Array(4).fill({contentType:m.L.CARD})}),l.createElement(m.D,{width:t<=780?"100%":"35%",title:!0,contentList:new Array(4).fill({contentType:m.L.CARD})}))},errorView:p.S,mainView:e=>l.createElement(u,null,l.createElement(se,(0,i.A)({},e)))};var he,ge=t(18906),ye=t(9534),Ee=t(80812);const we=e=>{let n=e.context;const t=(0,Q.b)(),a={load:()=>t.useLoans()},l=(0,D.ny)(),r={context:n,secondaryMenu:ye.E4.filter(e=>
1l(e.name)),title:"dashboard.header.loans.title"};return(0,Ee.jsx)(ge.A,(0,i.A)((0,i.A)({},r),{},{children:(0,Ee.jsx)(ve,{className:"container",children:(0,Ee.jsx)(c,{service:a,adapter:fe})})}))};t.dn(we);const ve=r.A.section(he||(he=(0,a.A)(["\n padding-bottom: 50px;\n padding: 0px;\n"])))},83527(e,n,t){t.d(n,{Zp:()=>f,gQ:()=>h});var a,i,l,r,o=t(43207),c=t(72176),s=t(86896),d=t(44437),m=t(3968),p=t(63958),x=t(46863),u=t(63037);function f(e){let n=e.libelle,t=e.value,a=e.subContent,i=e.isDuration,l=e.withRedColor;return c.createElement("div",{className:"flex-column margin"},c.createElement("span",{className:"primary-text"},c.createElement(d.A,{id:n})),c.createElement("span",{className:l?"secondary-text redColor":"secondary-text"},t&&c.createElement(p.A,{value:t,displayType:"text",thousandSeparator:" "}),a&&c.createElement("span",{className:l?"secondary-text redColor":"secondary-text"}," "+a),i&&c.createElement(d.A,{id:"month"})))}function h(e){let n=e.type,t=e.icon,a=e.isMobileHeader,i=e.onclick,l=e.className,r=e.expanded;return c.createElement(c.Fragment,null,c.createElement(g,null,c.createElement("div",{className:"md_icon ml-3"},t)),c.createElement("div",{className:"flex-column margin"},c.createElement("span",{className:"primary-text"},n)),a&&c.createElement(m.A,{className:l,onClick:i,"aria-expanded":r,"aria-label":"show more"},c.createElement(x.WnU,{onClick:i})))}const g=s.A.div(a||(a=(0,o.A)(["\n @media (max-device-width: 400px) {\n .md_icon {\n display: none;\n }\n }\n .md_icon {\n display: flex;\n }\n"]))),y=s.A.div(i||(i=(0,o.A)(["\nbox-shadow: 0 2px 5px 0 rgba(184, 184, 203, 0.2);\noverflow: hidden;\nborder-radius: 10px;\n margin: 20px 0;\n :hover {\n background-color: #fffded;\n }\n\n @media (max-device-width: 400px) {\n * {\n padding: 0;\n }\n }\n @media (max-device-width: 370px) {\n .margin {\n margin: 9px !important;\n }\n }\n"]))),E=s.A.div(l||(l=(0,o.A)(["\n padding: 5px 20px;\n background-color: ",";\n .primary-text {\n -webkit-text-stroke: 1px rgba(0, 0, 0, 0);\n font-family: Montserrat;\n font-size: 11px;\n font-weight: ",";\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n text-align: left;\n color: #51516c;\n text-transform: capitalize;\n }\n .secondary-text {\n font-weight: ",";\n -webkit-text-stroke: 1px rgba(0, 0, 0, 0);\n font-family: Montserrat;\n font-size: 11px;\n font-stretch: normal;\n font-style: normal;\n letter-spacing: normal;\n text-align: left;\n color: #010135;\n }\n @media (max-width: 426px) {\n padding: 0px;\n }\n"])),u.z.palette.background.paper,u.z.typography.fontWeightMedium,u.z.typography.fontWeightSemiBold),w=s.A.div(r||(r=(0,o.A)(["\n padding: 10px 10px;\n background-color: ",";\n display: flex;\n align-items: center;\n border-bottom: 1px solid #d5d9e1;\n .flex-column {\n display: flex;\n flex-direction: 'column';\n }\n .margin {\n margin: 10px;\n }\n .primary-text {\n font-weight: ",";\n text-transform: uppercase;\n color: ",";\n @media (max-width: 426px) {\n font-size: 10px;\n }\n }\n .secondary-text {\n color: #868686;\n @media (max-width: 426px) {\n font-size: 10px;\n }\n }\n"])),u.z.palette.background.paper,u.z.typography.fontWeightMedium,u.z.palette.secondary.main);t.d(n,["Q_",0,e=>{let n=e.title,t=e.children,a=e.handleClick,i=e.dataTestId;return c.createElement(y,{id:i,onClick:()=>a?a():{}},c.createElement(w,null,n),c.createElement(E,null,t))}])},57683(e,n,t){var a,i,l=t(43207),r=t(18188),o=t(72176),c=t(86896),s=t(62254),d=t(44437),m=t(63037),p=t(67135);const x={ic_availability:t(82742).A},u=c.A.section(a||(a=(0,l.A)(["\n padding: 40px 0px;\n h2 {\n margin-top:26px;\n text-align: center;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n letter-spacing: normal;\n color: ",";\n }\n h5 {\n font-size: 17px;\n font-weight: 500;\n font-style: normal;\n font-stretch: normal;\n letter-spacing: normal;\n text-align: center;\n color: ",";\n margin-top: 15px;\n }\n @media (max-width: 800px) {\n img {\n width: 80%;\n }\n }\n h2 {\n font-size: 18px;\n }\n\n h5 {\n font-size: 15px;\n }
1\n"])),m.z.palette.secondary.main,m.z.palette.secondary[100]),f=(0,c.A)(s.$)(i||(i=(0,l.A)(["\n margin-top: 40px;\n @media (max-width: 800px) {\n width: 100%;\n margin-top: 20px;\n // margin-bottom: 7px;\n // margin-top: 7px;\n button {\n display: unset;\n width: 100%;\n padding-left: 0px !important;\n padding-right: 0px !important;\n }\n }\n"])));t.d(n,["S",0,e=>window.__IS_VERSION__R1?o.createElement(p.g,(0,r.A)({},e)):o.createElement(u,{className:"text-center mx-auto"},!e.light&&o.createElement(o.Fragment,null,e.icon?o.createElement("img",{src:e.icon,alt:""}):o.createElement("img",{src:x.ic_availability,alt:""}),o.createElement("h2",{"data-testid":"error-oops"},o.createElement(d.A,{id:"error.screen.title"}))),o.createElement("h5",null,o.createElement(d.A,{id:"error.screen.subTitle"})),o.createElement("div",null,o.createElement(f,{variant:"outline",className:"red-text",onClick:()=>e.onReload().catch(e=>{}),disabled:!1},o.createElement(d.A,{id:"error.screen.button.retry"}))))])},48155(e,n,t){t.d(n,{g:()=>c});var a=t(61249),i=t(72176),l=t(18188),r=t(49388);const o=(e,n)=>{if("touch"===n.type)return(0,l.A)((0,l.A)({},e),n.payload);throw new Error};function c(e){const n=(0,i.useState)(!1),t=(0,a.A)(n,2),c=t[0],s=t[1],d=function(e){const n=(0,i.useReducer)(o,{data:null,loading:!0,error:null}),t=(0,a.A)(n,2),c=t[0],s=t[1],d=(0,r.t0)().useApiHook;(0,i.useEffect)(()=>{d&&m().then(e=>null)},[d]);const m=async n=>{s({type:"touch",payload:{loading:!0}});try{const t=await e(n);s({type:"touch",payload:{data:t,loading:!1,error:null}})}catch(t){return s({type:"touch",payload:{loading:!1,error:t.message}})}};return(0,l.A)((0,l.A)({},c),{},{reload:m})}(e.loader),m=d.data,p=d.loading,x=d.error,u=d.reload;(0,i.useEffect)(()=>{c?u().then(()=>null):s(!0)},[e.value]);let f=e.error;return"function"==typeof f&&(f=i.cloneElement(e.error(),{onReload:u})),p?"function"==typeof e.skeleton?i.createElement(e.skeleton,null):e.skeleton:x?f:e.render(m,u)}},69236(e,n,t){var a=t(55513),i=t(41099),l=t(34157),r=t(72176),o=t(72049),c=t(80129),s=t(95514),d=t(25594),m=t(4473),p=t(46116),x=t(49829),u=r.forwardRef(function(e,n){var t=e.children,s=e.classes,u=e.className,f=e.collapsedHeight,h=e.collapsedSize,g=void 0===h?"0px":h,y=e.component,E=void 0===y?"div":y,w=e.disableStrictModeCompat,v=void 0!==w&&w,b=e.in,A=e.onEnter,_=e.onEntered,z=e.onEntering,k=e.onExit,N=e.onExited,C=e.onExiting,R=e.style,M=e.timeout,D=void 0===M?d.p0.standard:M,j=e.TransitionComponent,S=void 0===j?c.Ay:j,T=(0,l.A)(e,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),I=(0,p.A)(),Z=r.useRef(),O=r.useRef(null),U=r.useRef(),H="number"===typeof(f||g)?"".concat(f||g,"px"):f||g;r.useEffect(function(){return function(){clearTimeout(Z.current)}},[]);var L=I.unstable_strictMode&&!v,V=r.useRef(null),Q=(0,x.A)(n,L?V:void 0),F=function(e){return function(n,t){if(e){var a=L?[V.current,n]:[n,t],l=(0,i.A)(a,2),r=l[0],o=l[1];void 0===o?e(r):e(r,o)}}},W=F(function(e,n){e.style.height=H,A&&A(e,n)}),P=F(function(e,n){var t=O.current?O.current.clientHeight:0,a=(0,m.c)({style:R,timeout:D},{mode:"enter"}).duration;if("auto"===D){var i=I.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(i,"ms"),U.current=i}else e.style.transitionDuration="string"===typeof a?a:"".concat(a,"ms");e.style.height="".concat(t,"px"),z&&z(e,n)}),q=F(function(e,n){e.style.height="auto",_&&_(e,n)}),Y=F(function(e){var n=O.current?O.current.clientHeight:0;e.style.height="".concat(n,"px"),k&&k(e)}),B=F(N),G=F(function(e){var n=O.current?O.current.clientHeight:0,t=(0,m.c)({style:R,timeout:D},{mode:"exit"}).duration;if("auto"===D){var a=I.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(a,"ms"),U.current=a}else e.style.transitionDuration="string"===typeof t?t:"".concat(t,"ms");e.style.height=H,C&&C(e)});return r.createElement(S,(0,a.A)({in:b,onEnter:W,onEntered:q,onEntering:P,onExit:Y,onExited:B,onExiting:G,addEndListener:function(e,n){var t=L?e:n;"auto"===D&&(Z.current=setTimeout(t,U.current||0))},nodeRef:L?V:void 0,timeout:"auto"===D?null:D},T),function(e,n){return r.createElement(E,(0,a.A)({className:(0,o.A)(s.root,s.container,u,{entered:s.entered,exited:!b&&"0px"===H&&s.hidden}[e]),style:(0,a.A)({minHeight:H},R),ref:Q},n),r.createElement("div",{className:s.wrapper,ref:O},r.createElement("div",{className:s.wrapperInner},t)))})});u.muiSupportAuto=!0;const f=(0,s.A)(function(e){return{root:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}},{name:"MuiCollapse"})(u);t.d(n,["A",0,f])}}]); 2//# sourceMappingURL=9270.b9ffd7d0.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.