PageSourceSearch

https://pretformula.com/_next/static/chunks/3koxv71wxgox4.js

js pretformula.com collected 2026-10-05 03:41:46 UTC 14,542 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13187,e=>{"use strict";var t=e.i(43476),n=e.i(7670);let a={paper:"bg-v8-paper text-v8-ink ring-1 ring-v8-line shadow-[0_1.5rem_4rem_-3rem_var(--v8-shadow-ink-medium)]",offwhite:"bg-v8-offwhite text-v8-ink ring-1 ring-black/[0.06] shadow-[0_1.5rem_4rem_-3rem_var(--v8-shadow-ink-medium)]",dark:"bg-v8-ink text-white ring-1 ring-white/10 shadow-[0_1.75rem_4rem_-2.75rem_var(--v8-shadow-ink-medium)]"};e.s(["Panel",0,function({children:e,tone:s="paper",className:l}){return(0,t.jsx)("div",{className:(0,n.clsx)("overflow-hidden rounded-v8-lg",a[s],l),children:e})}])},47766,e=>{"use strict";var t=e.i(43476),n=e.i(57688),a=e.i(58108),s=e.i(13187),l=e.i(58529),r=e.i(73811);e.s(["PretsFees",0,function(){let e=(0,r.useCopy)(),i="fr"===e.locale?l.fr:e=>e;return(0,t.jsx)("section",{className:"bg-v8-ink pb-16 pt-12 text-white sm:pb-20 sm:pt-14 lg:pb-24 lg:pt-10","aria-label":e.pages.loansFeesAria,children:(0,t.jsxs)(a.V8Container,{children:[(0,t.jsxs)("header",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 border-t border-white/25 pt-5",children:[(0,t.jsx)("p",{className:"font-mono text-[0.72rem] font-medium tracking-[0.14em] text-v8-accent-300 tabular-nums","data-mono":!0,children:"02"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"h-3 w-px bg-white/25"}),(0,t.jsx)("p",{className:"text-[0.7rem] font-semibold uppercase tracking-[0.18em] text-v8-accent-300",children:i(e.fees.eyebrow)})]}),(0,t.jsx)("h2",{className:"mt-6 max-w-[18ch] font-display text-[clamp(2.25rem,5vw,4.25rem)] font-normal leading-[0.98] tracking-[-0.045em] text-white",children:i(e.pages.loansFeesTitle)})]}),(0,t.jsxs)("div",{className:"mt-12 grid gap-8 lg:grid-cols-12 lg:items-stretch lg:gap-10",children:[(0,t.jsx)("div",{className:"lg:col-span-4",children:(0,t.jsxs)("div",{className:"relative h-[16rem] overflow-hidden rounded-v8-lg ring-1 ring-white/15 sm:h-[20rem] lg:h-full lg:min-h-[26rem]",children:[(0,t.jsx)(n.default,{src:"/photos/pf/prets-regles.webp",alt:i(e.fees.alt),fill:!0,sizes:"(min-width:1024px) 26rem, 100vw",className:"object-cover object-[center_32%]"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"v9-photo-grade"})]})}),(0,t.jsx)(s.Panel,{tone:"offwhite",className:"lg:col-span-8",children:(0,t.jsx)("ul",{role:"list",className:"divide-y divide-v8-line px-6 sm:px-8",children:e.policies.map(n=>{let a=e.policyFigures[n.title];return(0,t.jsxs)("li",{className:"grid gap-3 py-6 sm:grid-cols-[1fr_auto] sm:items-baseline sm:gap-10",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-[1.05rem] font-medium tracking-tight text-v8-ink",children:i(n.title)}),(0,t.jsx)("p",{className:"mt-2 max-w-[40rem] text-[0.92rem] leading-6 text-v8-ink-muted",children:i(n.text)})]}),a?(0,t.jsxs)("div",{className:"sm:text-right",children:[(0,t.jsx)("p",{className:"font-mono text-[1.45rem] font-medium leading-none tracking-tight text-v8-ink tabular-nums sm:text-[1.6rem]","data-mono":!0,children:i(a.value)}),(0,t.jsx)("p",{className:"mt-1.5 text-[0.7rem] uppercase tracking-[0.14em] text-v8-ink-muted",children:i(a.label)})]}):null]},n.title)})})})]}),(0,t.jsxs)("p",{className:"mt-8 text-[0.9rem] leading-6 text-white/70",children:[i(e.pages.loansFeesHelp)," ",(0,t.jsx)("a",{href:`mailto:${e.site.email}`,className:"inline-flex min-h-11 items-center font-medium text-white underline decoration-white/30 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-white",children:e.site.email})]})]})})}])},55428,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(73811),s=e.i(58108),l=e.i(13853),r=e.i(58529),i=e.i(41277);function m({payment:e,count:n,selected:a}){return e&&n?(0,t.jsxs)("p",{className:"whitespace-nowrap",children:[(0,t.jsx)("span",{className:a?"font-mono text-[1.02rem] font-medium tracking-tight text-v8-accent-700 tabular-nums":"font-mono text-[1.02rem] font-medium tracking-tight text-v8-ink tabular-nums","data-mono":!0,children:e}),(0,t.jsxs)("span",{className:"ml-1.5 font-mono text-[0.82rem] text-v8-ink-muted tabular-nums","data-mono":!0,children:["× ",n]})]}):null}function c(e){return e?"border-b border-v8-line bg-v8-accent-50 last:border-b-0":"border-b border-v8-line last:border-b-0 hover:bg-v8-paper"}function o(e){if(!e)return null;let t=Number(e.replace(/[^\d,.]/g,"").replace(",","."));return Number.isFinite(t)&&t>0?t:null}function d({row:e,weeklyLabel:n,biweeklyLabel:a,rhythmLabel:s}){let l=o(e?.weekly),r=o(e?.biweekly);if(!e||!l||!r||!e.weeklyCount||!e.biweeklyCount)return null;let i=Math.max(l,r),m=[{key:"hebdo",label:n,amount:l,count:e.weeklyCount},{key:"quinzaine",label:a,amount:r,count:e.biweeklyCount}];return(0,t.jsxs)("div",{className:"mt-7 border-t border-v8-line pt-5","aria-hidden":"true",children:[(0,t.jsx)("p",{className:"font-mono text-[0.68rem] uppercase tracking-[0.16em] text-v8-ink-muted","data-mono":!0,children:s}),(0,t.jsx)("div",{className:"mt-4 grid gap-4",children:m.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"flex h-9 items-end gap-[3px]",children:Array.from({length:e.count}).map((n,a)=>(0,t.jsx)("span",{className:"v9-rhythm-bar flex-1 rounded-[1px] bg-v8-accent-500/85",style:{height:`${e.amount/i*100}%`,"--i":a}},a))}),(0,t.jsxs)("p",{className:"mt-2 flex items-baseline justify-between gap-2 text-[0.75rem] text-v8-ink-muted",children:[(0,t.jsx)("span",{children:e.label}),(0,t.jsx)("span",{className:"font-mono tabular-nums","data-mono":!0,children:`\xd7 ${e.count}`})]})]},e.key))},e.amount)]})}e.s(["PretsScheduleTable",0,function(){let e=(0,a.useCopy)(),u="fr"===e.locale?r.fr:e=>e,x=e.locale,h=i.loan.amounts.map(e=>{let t=i.loan.payments[e];return{amount:(0,i.currency)(x,e),weekly:(0,i.currency2)(x,t["1week"].perPayment),weeklyCount:t["1week"].count,biweekly:(0,i.currency2)(x,t["2weeks"].perPayment),biweeklyCount:t["2weeks"].count}}
1),p=h.find(e=>o(e.amount)===i.loan.default)??h[0],[g,b]=(0,n.useState)(p?.amount??""),f=h.find(e=>e.amount===g)??p,j=!!f?.note;return(0,t.jsx)("section",{id:"montants",className:"bg-v8-paper pb-16 pt-12 sm:pb-20 sm:pt-14 lg:pb-24 lg:pt-10","aria-label":"en"===e.locale?"Published repayment schedules":(0,r.fr)("Calendriers de remboursement publiés"),children:(0,t.jsxs)(s.V8Container,{children:[(0,t.jsxs)("header",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 border-t border-v8-ink pt-5",children:[(0,t.jsx)("p",{className:"font-mono text-[0.72rem] font-medium tracking-[0.14em] text-v8-accent-700 tabular-nums","data-mono":!0,children:"01"}),(0,t.jsx)("span",{"aria-hidden":"true",className:"h-3 w-px bg-v8-line"}),(0,t.jsx)("p",{className:"text-[0.7rem] font-semibold uppercase tracking-[0.18em] text-v8-accent-700",children:"en"===e.locale?"Schedules":(0,r.fr)("Calendriers")})]}),(0,t.jsx)("h2",{className:"mt-6 max-w-[16ch] font-display text-[clamp(2.25rem,5vw,4.25rem)] font-medium leading-[0.98] tracking-[-0.045em] text-v8-ink",children:u(e.schedule.title)})]}),(0,t.jsxs)("div",{className:"mt-12 grid gap-10 lg:mt-16 lg:grid-cols-12 lg:gap-12",children:[(0,t.jsxs)("div",{className:"lg:col-span-8",children:[(0,t.jsx)("p",{className:"mb-4 font-mono text-[0.7rem] uppercase tracking-[0.16em] text-v8-ink-muted","data-mono":!0,children:"en"===e.locale?`Payment schedules \xb7 ${h.length} amounts`:(0,r.fr)(`Calendriers de versements \xb7 ${h.length} montants`)}),(0,t.jsxs)("fieldset",{className:"hidden border-0 p-0 md:block",children:[(0,t.jsx)("legend",{className:"sr-only",children:"en"===e.locale?"Choose an amount to estimate the installment":(0,r.fr)("Choisir un montant pour estimer le versement")}),(0,t.jsxs)("table",{className:"w-full border-collapse text-left",children:[(0,t.jsx)("caption",{className:"sr-only",children:"en"===e.locale?"Repayment schedules by loan amount":"Calendriers de remboursement par montant de prêt"}),(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"border-b border-v8-line",children:[(0,t.jsx)("th",{scope:"col",className:"w-12 py-4 pr-3",children:(0,t.jsx)("span",{className:"sr-only",children:"en"===e.locale?"Choice":(0,r.fr)("Choix")})}),(0,t.jsx)("th",{scope:"col",className:"py-4 pr-6 text-[0.68rem] font-semibold uppercase tracking-[0.16em] text-v8-ink-muted",children:"en"===e.locale?"Amount":(0,r.fr)("Montant")}),(0,t.jsxs)("th",{scope:"col",className:"py-4 pr-6 text-[0.68rem] font-semibold uppercase tracking-[0.16em] text-v8-ink-muted",children:[u(e.schedule.weekly),(0,t.jsx)("span",{className:"mt-1 block font-normal normal-case tracking-normal",children:"en"===e.locale?"installment × count":(0,r.fr)("versement × nombre")})]}),(0,t.jsxs)("th",{scope:"col",className:"py-4 text-[0.68rem] font-semibold uppercase tracking-[0.16em] text-v8-ink-muted",children:[u(e.schedule.biweekly),(0,t.jsx)("span",{className:"mt-1 block font-normal normal-case tracking-normal",children:"en"===e.locale?"installment × count":(0,r.fr)("versement × nombre")})]})]})}),(0,t.jsx)("tbody",{children:h.map((e,n)=>{let a=e.amount===g,s=`montant-md-${n}`;return(0,t.jsxs)("tr",{className:c(a),children:[(0,t.jsx)("td",{className:"py-3.5 pr-3 align-middle",children:(0,t.jsx)("input",{id:s,type:"radio",name:"calendrier-montant-md",value:e.amount,checked:a,onChange:()=>b(e.amount),className:"h-4 w-4 accent-[var(--v8-accent)]"})}),(0,t.jsx)("th",{scope:"row",className:"py-3.5 pr-6 align-middle font-normal",children:(0,t.jsx)("label",{htmlFor:s,className:"inline-flex min-h-11 cursor-pointer items-center gap-3",children:(0,t.jsx)("span",{className:a?"font-mono text-[1.35rem] font-medium tracking-tight text-v8-accent-700 tabular-nums":"font-mono text-[1.35rem] font-medium tracking-tight text-v8-ink tabular-nums","data-mono":!0,children:e.amount})})}),e.note?(0,t.jsx)("td",{colSpan:2,className:"py-3.5 align-middle",children:(0,t.jsx)("label",{htmlFor:s,className:"flex min-h-11 max-w-[34rem] cursor-pointer items-center text-[0.95rem] leading-6 text-v8-ink-muted",children:e.note})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("td",{className:"py-3.5 pr-6 align-middle text-right",children:(0,t.jsx)("label",{htmlFor:s,className:"flex min-h-11 cursor-pointer items-center justify-end",children:(0,t.jsx)(m,{payment:e.weekly,count:e.weeklyCount,selected:a})})}),(0,t.jsx)("td",{className:"py-3.5 align-middle text-right",children:(0,t.jsx)("label",{htmlFor:s,className:"flex min-h-11 cursor-pointer items-center justify-end",children:(0,t.jsx)(m,{payment:e.biweekly,count:e.biweeklyCount,selected:a})})})]})]},e.amount)})})]})]}),(0,t.jsxs)("fieldset",{className:"border-0 p-0 md:hidden",children:[(0,t.jsx)("legend",{className:"sr-only",children:"en"===e.locale?"Choose an amount to estimate the installment":(0,r.fr)("Choisir un montant pour estimer le versement")}),(0,t.jsx)("ul",{role:"list",children:h.map((n,a)=>{let s=n.amount===g,l=`montant-sm-${a}`;return(0,t.jsx)("li",{className:c(s),children:(0,t.jsxs)("label",{htmlFor:l,className:"flex cursor-pointer flex-col py-2",children:[(0,t.jsxs)("span",{className:"inline-flex items-center gap-3",children:[(0,t.jsx)("input",{id:l,type:"radio",name:"calendrier-montant-sm",value:n.amount,checked:s,onChange:()=>b(n.amount),className:"h-4 w-4 accent-[var(--v8-accent)]"}),(0,t.jsx)("span",{className:s?"font-mono text-[1.3rem] font-medium tracking-tight text-v8-accent-700 tabular-nums":"font-mono text-[1.3rem] font-medium tracking-tight text-v8-ink tabular-nums","data-mono":!0,children:n.amount})]}),n.note?(0,t.jsx)("p",{className:"mt-2 text-[0.9rem] leading-6 text-v8-ink-muted",children:n.note}):(0,t.jsxs)("dl",{className:"mt-2 grid grid-cols-2 gap-3",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("dt",{className:"text-[0.72rem] uppercase tracking-[0.14em] text-v8-ink-muted",children:u(e.schedule.weekly)}),(0,t.jsx)("dd",{className:"mt-1 text-right",children:(0,t.jsx)(m,{payment:n.weekly,count:n.weeklyCount,selected:s})})]}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("dt",{className:"text-[0.72rem] uppercase tracking-[0.14em] text-v8-ink-muted",children:u(e.schedule.biweekly)}),(0,t.jsx)("dd",{className:"mt-1 text-right",children:(0,t.jsx)(m,{payment:n.biweekly,count:n.biweeklyCount,selected:s})})]})]})]})},n.amount)})})]}),(0,t.jsx)("p",{className:"mt-6 max-w-3xl text-[0.85rem] leading-6 text-v8-ink-muted",children:u(e.calc.disclaimer)})]}),(0,t.jsxs)("aside",{className:"border-t border-v8-ink pt-5 lg:sticky lg:top-28 lg:col-span-4 lg:self-start",children:[(0,t.jsx)("p",{className:"font-mono text-[0.68rem] uppercase tracking-[0.16em] text-v8-ink-muted","data-mono":!0,children:"en"===e.locale?"Estimate mine":(0,r.fr)("Estimer le mien")}),(0,t.jsx)("p",{className:"mt-3 font-mono text-[clamp(2.4rem,4vw,3.4rem)] font-medium leading-none tracking-[-0.04em] text-v8-ink tabular-nums","data-mono":!0,children:j?"en"===e.locale?"Custom"
1:(0,r.fr)("Sur mesure"):f?.weekly??""}),(0,t.jsx)("p",{className:"mt-2 text-[0.92rem] text-v8-ink-muted",children:j?f?.amount??"":"en"===e.locale?`every week \xb7 ${f?.amount??""}`:(0,r.fr)(`chaque semaine \xb7 ${f?.amount??""}`)}),(0,t.jsxs)("dl",{className:"mt-6",children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 border-t border-v8-line py-3",children:[(0,t.jsx)("dt",{className:"text-[0.88rem] text-v8-ink-muted",children:"en"===e.locale?"Amount":(0,r.fr)("Montant")}),(0,t.jsx)("dd",{className:"font-mono text-[0.88rem] font-medium tabular-nums","data-mono":!0,children:f?.amount??""})]}),(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 border-t border-v8-line py-3",children:[(0,t.jsx)("dt",{className:"text-[0.88rem] text-v8-ink-muted",children:u(e.schedule.biweekly)}),(0,t.jsx)("dd",{className:"font-mono text-[0.88rem] font-medium tabular-nums","data-mono":!0,children:j?"en"===e.locale?"presented before you sign":(0,r.fr)("présenté avant signature"):`${f?.biweekly??""} \xd7 ${f?.biweeklyCount??""}`})]}),(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-3 border-t border-v8-line py-3",children:[(0,t.jsx)("dt",{className:"text-[0.88rem] text-v8-ink-muted",children:u(e.calc.countLabel)}),(0,t.jsx)("dd",{className:"font-mono text-[0.88rem] font-medium tabular-nums","data-mono":!0,children:j?"en"===e.locale?"n/a":(0,r.fr)("n. d."):String(f?.weeklyCount??"")})]})]}),(0,t.jsx)(d,{row:f,weeklyLabel:u(e.schedule.weekly),biweeklyLabel:u(e.schedule.biweekly),rhythmLabel:u(e.schedule.rhythm)}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(l.GlowCta,{href:e.applyUrl,external:!0,children:e.ui.apply})})]})]})]})})}])}]);

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.