1import{r as l,j as e}from"./index-BnbUY42c.js";const d={notIssuer:"Poliçenizi bu taraf düzenler; Pactelis düzenlemez. Primi bu tarafa veya sigortacıya ödersiniz; Pactelis tahsil etmez.",contractWithThem:"Devirden sonra sözleÅmeniz onlarla kurulur."},h={home:"ev eÅyası",motor:"motorlu araç",sme:"iÅletme",health:"saÄlık",life_pure_risk:"hayat",life_ibip:"birikimli hayat"};function u(i){const[s,c]=l.useState(!1),[n,r]=l.useState(!1);async function o(){if(!(!s||n)){r(!0);try{await i.onConfirm()}finally{r(!1)}}}return e.jsxs("div",{className:"handoff","aria-labelledby":"handoff-title",children:[e.jsx("h2",{id:"handoff-title",children:"Sizi lisanslı bir tarafa devrediyoruz"}),e.jsxs("section",{className:"handoff__office",children:[e.jsx("h3",{children:"Kime"}),e.jsxs("dl",{children:[e.jsx("dt",{children:"Ofis"}),e.jsx("dd",{children:e.jsx("strong",{children:i.office.legal_name})}),e.jsx("dt",{children:"Aracılık sicili"}),e.jsxs("dd",{children:[i.office.regulator_name," ",i.office.registration_no," ·"," ",i.office.jurisdiction]}),e.jsx("dt",{children:"Kapsam"}),e.jsx("dd",{children:i.office.scope_lines.map(a=>h[a]??a).join(", ")}),e.jsx("dt",{children:"DoÄrulanma"}),e.jsx("dd",{children:t(i.office.verified_at)}),i.office.valid_until&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{children:"Geçerlilik"}),e.jsxs("dd",{children:[t(i.office.valid_until),"'e kadar"]})]})]}),e.jsx("button",{type:"button",onClick:i.onViewOffice,children:"Künyeyi gör â"})]}),e.jsxs("section",{className:"handoff__disclosure",children:[e.jsx("h3",{children:"Ne paylaÅılacak"}),e.jsx("ul",{className:"handoff__shared",children:i.disclosure.shared_tr.map(a=>e.jsxs("li",{children:[e.jsx("span",{"aria-hidden":"true",children:"â"})," ",a]},a))}),e.jsx("ul",{className:"handoff__withheld",children:i.disclosure.withheld_tr.map(a=>e.jsxs("li",{children:[e.jsx("span",{"aria-hidden":"true",children:"â"})," ",a]},a))})]}),e.jsxs("section",{className:"handoff__after",role:"note",children:[e.jsx("h3",{children:"Bundan sonra ne olur"}),e.jsx("p",{children:d.notIssuer}),e.jsxs("p",{className:"handoff__after-note",children:["â ",d.contractWithThem]})]}),i.isSubsidized&&e.jsx("p",{className:"handoff__subsidy",role:"note",children:"â Bu devir sübvansiyonludur. Pactelis sizden hiçbir ücret almaz; primi bir sponsor karÅılar."}),e.jsxs("label",{className:"handoff__accept",children:[e.jsx("input",{type:"checkbox",checked:s,onChange:a=>c(a.target.checked),"aria-describedby":"handoff-title"}),"Bu devri onaylıyorum ve yukarıdakilerin paylaÅılmasına izin veriyorum."]}),e.jsx("p",{className:"handoff__receipt-note",role:"note",children:"â Onayınız kaydedilir ve devir makbuzu baÄımsız olarak doÄrulanabilir hâle gelir."}),e.jsxs("footer",{className:"handoff__actions",children:[e.jsx("button",{type:"button",onClick:i.onCancel,disabled:n,children:"Vazgeç"}),e.jsx("button",{type:"button",className:"handoff__submit",onClick:o,disabled:!s||n,children:n?"Devrediliyorâ¦":"Onaylıyorum, devret"})]})]})}function t(i){return new Intl.DateTimeFormat("tr-TR",{day:"numeric",month:"long",year:"numeric"}).format(new Date(i))}export{u as HandoffConfirm}; 2//# sourceMappingURL=HandoffConfirm-B8ejYudL.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.