1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8343],{68940:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(67294),a=r(86010),o=r(58518),s=r.n(o),c=r(85893),i=(0,n.forwardRef)((function(e,t){var r=e.isOpen,o=void 0!==r&&r,i=(e.onClose,e.onSave,(0,n.useRef)(null)),l=(0,n.useState)(!0),u=l[0],d=l[1];return(0,n.useImperativeHandle)(t,(function(){return{show:function(){return d(!1)},close:function(){return d(!0)}}})),(0,n.useEffect)((function(){d(!o)}),[o]),(0,c.jsx)("div",{style:s(),ref:i,className:(0,a.Z)("h-screen w-full fixed left-0 top-0 flex justify-center items-center z-50 overflow-scroll",u?"bg-none opacity-0 invisible transition-all":"bg-black bg-opacity-70 visible transition-opacity"),onClick:function(e){i.current,e.target},children:(0,c.jsxs)("div",{className:"bg-white p-8 max-w-3xl max-h-[90vh] overflow-y-auto",children:[(0,c.jsx)("section",{id:"header_section",className:"mb-6",children:(0,c.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,c.jsx)("h2",{className:"text-2xl text-gray-800 font-bold",children:"Data Privacy Policy"}),(0,c.jsx)("button",{onClick:function(){d(!0)},className:"transparent",children:(0,c.jsx)("img",{src:"/icons/cancel_btn.svg",alt:"close",className:"flex-none w-6"})})]})}),(0,c.jsx)("section",{id:"privacy_policy_content",className:"space-y-6",children:(0,c.jsxs)("div",{className:"space-y-4",children:[(0,c.jsx)("div",{className:"space-y-3",children:(0,c.jsx)("p",{className:"text-sm text-gray-600",children:"In line with the Nigeria Data Protection Regulation, your consent is required before processing your data for official use. Coronation Life Assurance Ltd/Coronation Insurance PLC requires your data for the purpose of processing your claim with the company. This may include your name, address, means of identification, email address and such other information relevant to the creation and renewal of your Insurance Policy(cies) with Coronation Life Assurance Ltd/Coronation Insurance PLC. Your information may also be required to provide product related services, cross selling, discretionary transfers, regulatory, governmental, tax, and legal, compliance, marketing and communication requirements."})}),(0,c.jsx)("div",{className:"space-y-3",children:(0,c.jsxs)("p",{className:"text-sm text-gray-600",children:["At all times, you have the right to request, rectify or update your data. You may also authorize Coronation Life Assurance Ltd/Coronation Insurance PLC. to delete your data and restrict the processing of your data at the expiration your Insurance. By signing below, you agree to our full data privacy policy on "," ",(0,c.jsx)("a",{href:"https://coronation.ng/privacy-and-cookie-policy/",className:"text-red hover:underline",target:"_blank",rel:"noopener noreferrer",children:"https://coronation.ng/privacy-and-cookie-policy/"}),". "," "," For more enquires please contact: ",(0,c.jsx)("a",{href:"mailto:[email protected]",className:"text-red hover:underline",target:"_blank",rel:"noopener noreferrer",children:"[email protected]"})]})})]})})]})})}));i.displayName="DeclarationOfConsentModal";var l=i,u=function(e){var t=e.checked,r=e.setChecked,a=e.isLifeInsurance,o=void 0!==a&&a,s=(0,n.useRef)(null);return(0,c.jsxs)("div",{className:"flex w-full mt-6",children:[(0,c.jsx)("input",{type:"checkbox",id:"privacyPolicy",name:"privacyPolicy",required:!0,className:"mr-2 mt-1 h-4 w-4 border border-gray-300 shadow-inner",onChange:function(){return r(!t)}}),(0,c.jsxs)("div",{children:[(0,c.jsx)("label",{htmlFor:"privacyPolicy",className:"text-body",children:(0,c.jsx)("strong",{children:"Declaration and Consent"})}),(0,c.jsxs)("p",{className:"italic",children:["By submitting this form: I confirm that I have read and agreed to the"," ",(0,c.jsx)("span",{className:"text-red hover:underline cursor-pointer",onClick:function(){var e;return null===(e=s.current)||void 0===e?void 0:e.show()},children:"Privacy Policy"})," ","of ",o?"Coronation Life Assurance Ltd":"Coronation Insurance Plc"]}),(0,c.jsx)("p",{children:"By checking this box, I hereby consent to the collection, use and transfer, in electronic form or otherwise, of my personal data, for the purpose of operating my insurance policies with Coronation Insurance Plc."})]}),(0,c.jsx)(l,{ref:s})]})}},56025:function(e,t,r){"use strict";var n=r(59499),a=r(4730),o=r(85893),s=["totalPages","currentPage"];function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.Z=function(e){var t=e.totalPages,r=e.currentPage,n=(0,a.Z)(e,s),c=Math.floor(r/t*100);return(0,o.jsx)("div",i(i({},n),{},{children:(0,o.jsxs)("div",{className:"w-full",children:[(0,o.jsx)("div",{className:"h-1 flex bg-pink",children:(0,o.jsx)("div",{style:{width:c+"%"},className:"flex flex-col bg-red"})}),(0,o.jsxs)("p",{className:"text-body-2 text-gray-700 my-4",children:[r," of ",t]})]})}))}},13386:function(e,t,r){"use strict";var n=r(59499),a=r(4730),o=r(86010),s=r(25935),c=r(69885),i=r(34341),l=r(85893),u=["title","body","image","className"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}t.Z=function(e){var t=e.title,r=e.body,n=e.image,d=e.className,p=(0,a.Z)(e,u),m=(0,c.ZP)();return(0,l.jsxs)("section",f(f({className:(0,o.Z)("h-52 md:h-64 w-full relative",d)},p),{},{children:[n&&(0,l.jsx)("div",{className:"container absolute left-0 right-0 m-auto",children:(0,l.jsx)("div",{className:"absolute right-0 hidden w-64 h-64 overflow-hidden shadow lg:block xl:w-96",children:(0,l.jsx)("div",{className:"relative w-96 -left-1/4 xl:left-0",children:(0,l.jsx)(i.E,{src:n.url,alt:n.description,width:384,height:256,sizes:"(max-width: 1339px) 256w, 384w",objectFit:"cover"})})})}),(0,l.jsx)("div",{className:"bg-black",children:(0,l.jsxs)("div",{className:"container flex flex-col justify-center h-44 md:h-56 md:justify-start md:items-center md:flex-row",children:[t&&(0,l.jsx)("h2",{className:(0,o.Z)("md:flex-shrink md:flex-none text-3.5xl md:text-3.5xl md:leading-16 font-light uppercase",m===c.K6.PURPLE&&"text-purple",m===c.K6.RED&&"text-white"),children:t}),r&&(0,l.jsx)("p",{className:"max-w-xs text-white md:flex-1 md:mx-2 xl:mx-4 text-h2 pr-28 lg:pr-0",children:r&&(0,s.ZP)(r)}),n&&(0,l.jsx)("div",{className:"hidden w-64 lg:block xl:w-96"})]})}),(0,l.jsx)("div",{className:(0,o.Z)("absolute opacity-95 bottom-0 h-16 w-8/12 md:w-5/12 xl:w-4/12 left-0",m===c.K6.PURPLE&&"bg-purple",m===c.K6.RED&&"bg-purple")})]}))}},34538:function(e,t,r){"use strict";r.d(t,{Z:function(){return n},o:function(){return a}});var n=function(e){return new Intl.NumberFormat("en-NG",{style:"currency",currency:"NGN"}).format(parseFloat(e)).substring(1)},a="\u20a6"},20073:function(e,t,r){"use strict";r.d(t,{T:function(){return p}});var n=r(50029),a=r(59499),o=r(87794),s=r.n(o),c=r(67294),i=r(7194),l=r(87374);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var f="".concat("https://api.coronation.ng/eyic","/personal_accident/1.0.0"),p=function(){var e=(0,c.useContext)(i.J5),t=(0,c.useContext)(l.DQ),r=t.benefits,a=function(e,r){var n=d(d({},t.quoteData),e);return console.log(r,t),r&&t.setPlanName(r),t.setQuoteData(n),n},o=function(){var r=(0,n.Z)(s().mark((function r(n){var a,o,c,i;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.api.post("".concat(f,"/personal_accident_quote"),JSON.stringify(n));case 2:return i=r.sent,t.setQuoteId((null===(a=i.data)||void 0===a?void 0:a.quote_id)||null),t.setPremiumAmount((null===(o=i.data)||void 0===o?void 0:o.premium_amount)||null),r.abrupt("return",null!==(c=i.data)&&void 0!==c?c:null);case 6:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),u=function(){var r=(0,n.Z)(s().mark((function r(n){var o,c;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return console.log(n),o=a(n),r.next=4,e.api.post("".concat(f,"/save_quote"),JSON.stringify(d(d({},o),{},{product_code:"personal_accident",quote_id:t.quoteId})));case 4:return c=r.sent,r.abrupt("return",c.data);case 6:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),p=function(){var r=(0,n.Z)(s().mark((function r(n){var a;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.api.post("".concat(f,"/attach_doc"),JSON.stringify(d(d({},n),{},{product_code:"personal_accident",quote_id:t.quoteId})));case 2:return a=r.sent,r.abrupt("return",a.data);case 4:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}(),m=function(){var r=(0,n.Z)(s().mark((function r(n){var a;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return console.log(n),r.next=3,e.api.post("".concat(f,"/add_beneficiary"),JSON.stringify({beneficiaries:t.input
1ListContext,product_code:"personal_accident",quote_id:t.quoteId}));case 3:return a=r.sent,console.log(a),r.abrupt("return",a.data);case 6:case"end":return r.stop()}}),r)})));return function(e){return r.apply(this,arguments)}}();return{quoteId:t.quoteId,premiumAmount:t.premiumAmount,planName:t.planName,productUrl:t.productUrl,quoteData:t.quoteData,updateQuoteInfo:a,requestQuote:o,saveQuote:u,attachDocument:p,addBeneficiaries:m,benefits:r}}},40315:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return f}});var n=r(9008),a=r(67294),o=r(92124),s=r(56025),c=r(13386),i=r(34538),l=r(20073),u=r(68940),d=r(85893),f=!0;t.default=function(){var e=(0,l.T)(),t=(0,a.useState)(!1),r=t[0],f=t[1],p=(0,a.useMemo)((function(){if(r)return"/buy/personal-accident-insurance/intro"}),[r]);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(n.default,{children:(0,d.jsx)("title",{children:"Coronation - Request a quote - Step 3"})}),(0,d.jsxs)("main",{className:"flex flex-col",style:{backgroundColor:"#f9f8f8"},children:[(0,d.jsx)(c.Z,{title:"Your Offer"}),(0,d.jsx)("section",{className:"container flex justify-center pb-32 flex-rox",children:(0,d.jsxs)("div",{className:"p-8 bg-white mt-22 w-140",children:[(0,d.jsx)(s.Z,{currentPage:3,totalPages:3}),(0,d.jsxs)("h2",{className:"w-full text-h5",children:["Request a quote ",(0,d.jsx)("span",{className:"gray-70",children:"for"}),(0,d.jsxs)("span",{className:"text-red",children:[" ","Group personal accident insurance"]})]}),(0,d.jsx)("p",{className:"mt-2 text-gray-500 text-body-1",children:"Here's the due amount for this product"}),(0,d.jsx)("hr",{className:"my-3 text-gray-100 text-gray-10"}),(0,d.jsxs)("div",{className:"inline-block max-w-full p-4 mt-1 overflow-auto bg-gray-100",children:[(0,d.jsx)("h3",{className:"text-sm font-bold uppercase",children:"Due amount"}),(0,d.jsxs)("p",{className:"font-light text-4.5xl mt-4",children:[(0,d.jsx)("span",{className:"mr-2 text-2xl font-normal leading-tight align-middle",children:i.o}),(0,i.Z)(e.premiumAmount)]})]}),(0,d.jsx)("div",{className:"my-8",children:(0,d.jsx)(u.Z,{checked:r,setChecked:f,isLifeInsurance:!1})}),(0,d.jsxs)("div",{className:"flex justify-between pt-4 mt-4",children:[(0,d.jsx)(o.Z,{url:null===e||void 0===e?void 0:e.productUrl,className:"px-4 py-2 leading-8 btn text-red",children:"Ok, Thanks"}),(0,d.jsx)(o.Z,{url:p,className:"px-4 py-2 leading-8 btn-red ".concat(r?"cursor-pointer btn-red":"cursor-not-allowed btn-inactive"),children:"Buy Now"})]})]})})]})]})}},98176:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/quotes/group-personal-accident-insurance/step-3",function(){return r(40315)}])},58518:function(e){e.exports={slider:"styles_slider__G5dCi",activeTrack:"styles_activeTrack__libRF",track:"styles_track__sxmfp",cookieCheckBox:"styles_cookieCheckBox__b4JWD",checkbox:"styles_checkbox__wuTka",radio:"styles_radio__KulFZ"}}},function(e){e.O(0,[5935,9774,2888,179],(function(){return t=98176,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.