1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8718],{99970:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/benefit-calculator/[id]",function(){return t(10998)}])},46479:function(n,e,t){"use strict";var i=t(85893),a=t(48241),r=t(93167),l=t(78508),o=t(89728),s=t(36250),c=t(25675),d=t.n(c),u=t(97693),h=t(60155);e.Z=function(n){var e=n.title,t=n.subTitle,c=n.btnText,p=n.btnAction,x=n.btn2Text,f=n.btn2Action,m=n.hideShareButton,v=n.hideShareBtnTitle,g=n.imageUrl,b=n.breadVariant,N=n.topTitle,j=n.className,w=(n.isSticky,n.isCardPage);return(0,i.jsx)(l.h,{breadVariant:b||"",className:j,children:(0,i.jsxs)("div",{className:"container ".concat("offerPage"==b?"fit":""),children:[(0,i.jsxs)(u.E.article,{className:"breadcrumb-div ".concat((0,o.xb)(t)?"noSubtitle":""," ").concat(w&&"breadcrumb-div-cardInnerPage"," "),children:[(0,i.jsxs)("div",{className:"breadcrumb-title-wrapper ",children:[N&&(0,i.jsx)(a.Z,{variant:"h6",title:N,className:"mb-0"}),e&&(0,i.jsx)(a.Z,{variant:"h1",className:"title",title:e}),!(0,o.xb)(t)&&(0,i.jsx)(a.Z,{variant:"h6",className:"subTitle",title:t})]}),(0,i.jsxs)("div",{className:"btnWrapper",children:[!(0,o.xb)(c)&&(0,i.jsx)(r.Z,{"aria-labelledby":c,type:"button",onClick:p&&p,variant:"primary",title:(0,i.jsx)(a.Z,{variant:"h6",className:"text-white",title:c}),btnClassName:"text-white",iconNode:(0,i.jsx)(h.$sw,{})}),!(0,o.xb)(x)&&(0,i.jsx)(r.Z,{"aria-labelledby":x,type:"button",onClick:f,variant:"primary-outline",title:(0,i.jsx)(a.Z,{variant:"h6",title:x,className:"text-danger"})}),!m&&(0,i.jsx)("div",{className:"socialShareBtn",children:(0,i.jsx)(s.Z,{hideShareBtnTitle:v})})]})]}),(0,i.jsx)("div",{className:"breadcrumbImage-wrap",children:g?"offerPage"==b||"cardPage"==b?(0,i.jsx)(d(),{className:"breadcrumbImage fit",src:(0,o.hA)(g),width:"135",height:"180",alt:"Nic Asia Bank"}):(0,i.jsx)(d(),{className:"breadcrumbImage",src:(0,o.hA)(g),fill:!0,style:{objectFit:"cover"},alt:"Nic Asia Bank"}):(0,i.jsx)(d(),{className:"breadcrumbImage",src:"/assets/svg/placeholderImageInner.svg",fill:!0,style:{objectFit:"cover"},alt:"Data Image"})})]})})}},55247:function(n,e,t){"use strict";t.d(e,{Z:function(){return s}});var i=t(85893),a=t(57953),r=t(32983),l=t(13149),o=t(67294);function s(n){var e=n.isFetching,t=n.dataLength,s=n.hideIfNoData,c=n.fullPage,d=n.actionButtonName,u=n.actionButtonCallback,h=n.noDataText,p=(0,i.jsx)(l.Z,{rev:void 0,style:{fontSize:35,color:"red"},spin:!0});return(0,i.jsxs)(o.Fragment,{children:[e&&(0,i.jsx)("div",{style:c?{minHeight:"75vh"}:{minHeight:"200px"},className:"d-flex flex-column justify-content-center my-5",children:(0,i.jsx)(a.Z,{indicator:p})}),!e&&!t&&!s&&(0,i.jsxs)("div",{style:c?{minHeight:"75vh"}:{minHeight:"200px"},className:"d-flex flex-column justify-content-center my-5",children:[(0,i.jsx)(r.Z,{image:r.Z.PRESENTED_IMAGE_SIMPLE,description:h||"No data found",className:"".concat(d?"my-3 py-2":"my-5 py-5")}),d&&(0,i.jsx)("button",{className:"btn btn-link text-danger",onClick:function(){return u&&u()},children:(0,i.jsx)("p",{style:{fontSize:"15px"},children:d})})]})]})}},20903:function(n,e,t){"use strict";t.d(e,{Z:function(){return r}});var i=t(85893),a=t(67294);function r(n){var e=n.show,t=n.children;return e?(0,i.jsx)(a.Fragment,{children:t}):(0,i.jsx)(a.Fragment,{})}},36250:function(n,e,t){"use strict";t.d(e,{Z:function(){return h}});var i=t(85893),a=t(45360),r=t(55241),l=t(63750),o=t(5434),s=t(53044),c=t(93167),d=t(48241),u=function(n){var e=n.customShareLink||window.location;return(0,i.jsxs)("div",{className:"socialShareBtnGroup d-flex flex-column gap-3",children:[(0,i.jsxs)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(e),target:"_blank",children:[(0,i.jsx)(l.k1O,{}),(0,i.jsx)("span",{className:"mx-2",children:"Share on Facebook"})]}),(0,i.jsxs)("a",{href:"https://twitter.com/intent/tweet?url=".concat(e),target:"_blank",children:[(0,i.jsx)(l.meP,{}),(0,i.jsx)("span",{className:"mx-2",children:"Share on Twitter"})]}),(0,i.jsxs)("a",{href:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(e),target:"_blank",children:[(0,i.jsx)(l.NQh,{}),(0,i.jsx)("span",{className:"mx-2",children:"Share on Linkedin"})]}
1),(0,i.jsxs)("a",{href:"https://web.whatsapp.com/send?text=".concat(e),target:"_blank",children:[(0,i.jsx)(l.RGt,{}),(0,i.jsx)("span",{className:"mx-2",children:"Share on Whatsapp"})]}),(0,i.jsxs)("a",{onClick:function(){navigator.clipboard.writeText(null==e?void 0:e.toString()),a.ZP.success("Copied link successfully")},children:[(0,i.jsx)(l.hfq,{}),(0,i.jsx)("span",{className:"mx-2",children:"Copy Link"})]})]})};function h(n){var e=n.hideShareBtnTitle,t=n.variant,a=n.customShareLink,l=n.textLabel,h=n.ratingModalPopover,p=(0,s.qM)().localTranslate;return(0,i.jsxs)(r.Z,{className:"socialSharePopover",placement:"bottomRight",content:(0,i.jsx)(u,{customShareLink:a}),trigger:"hover",overlayStyle:{zIndex:"998"},overlayClassName:"".concat(h),children:[(!t||"link"!==t)&&(0,i.jsx)(c.Z,{variant:"primary-dark",title:e?"":(0,i.jsx)(d.Z,{variant:"h6",title:p("shareNow")}),btnClassName:"mx-auto border-1",iconNode:(0,i.jsx)(o.KQY,{}),iconPosition:"left"}),"link"===t&&(0,i.jsxs)("a",{className:"underline",children:[p("share")," ",l]})]})}},48241:function(n,e,t){"use strict";t.d(e,{Z:function(){return C}});var i=t(26042),a=t(69396),r=t(99534),l=t(85893),o=t(64358),s=t(7297),c=t(91751),d=t(70643),u=t(61789),h=t(95173);function p(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 32px;\n line-height: 32px;\n }\n "]);return p=function(){return n},n}function x(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 30px;\n line-height: 30px;\n }\n "]);return x=function(){return n},n}function f(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 28px;\n line-height: 28px;\n }\n "]);return f=function(){return n},n}function m(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 24px;\n line-height: 24px;\n }\n "]);return m=function(){return n},n}function v(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 18px;\n line-height: 22px;\n }\n "]);return v=function(){return n},n}function g(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 16px;\n line-height: 16px;\n }\n "]);return g=function(){return n},n}function b(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 16px;\n line-height: 20px;\n }\n "]);return b=function(){return n},n}function N(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 20px;\n line-height: 28px;\n }\n "]);return N=function(){return n},n}function j(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 16px;\n line-height: 16px;\n }\n "]);return j=function(){return n},n}function w(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 14px;\n line-height: 18px;\n }\n "]);return w=function(){return n},n}function y(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 14px;\n line-height: 16px;\n }\n "]);return y=function(){return n},n}function F(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 12px;\n line-height: 14px;\n }\n "]);return F=function(){return n},n}function Z(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n @media screen and (max-width: 992px) {\n font-size: 10px;\n line-height: 12px;\n }\n "]);return Z=function(){return n},n}function k(){var n=(0,s.Z)(["\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n @media screen and (max-width: 992px) {\n font-size: 22px;\n line-height: 22px;\n margin-bottom: 18px;\n }\n "]);return k=function(){return n},n}function z(){var n=(0,s.Z)(["\n color: ",";\n font-weight: ",";\n justify-content: flex-start;\n\n ",";\n"]);return z=function(){return n},n}var S=(0,d.ZP)(h.s).withConfig({componentId:"sc-52476c40-0"})(z(),function(n){return n.color?n.color:u.D.Black},function(n){return n.fontWeight?n.fontWeight:400},function(n){return"h1"===n.variant?(0,d.iv)(p(),(0,c.pF)(32),(0,c.pF)(32)):"h2"===n.variant?(0,d.iv)(x(),(0,c.pF)(30),(0,c.pF)(30)):"h3"===n.variant?(0,d.iv)(f(),(0,c.pF)(28),(0,c.pF)(28)):"h4"===n.variant?(0,d.iv)(m(),(0,c.pF)(24),(0,c.pF)(24)):"h5"===n.variant?(0,d.iv)(v(),(0,c.pF)(18),(0,c.pF)(22)):"h6"===n.variant?(0,d.iv)(g(),(0,c.pF)(16),(0,c.pF)(16)):"p"===n.variant?(0,d.iv)(b(
1),(0,c.pF)(16),(0,c.pF)(20)):"body"===n.variant?(0,d.iv)(N(),(0,c.pF)(20),(0,c.pF)(28)):"body-field"===n.variant?(0,d.iv)(j(),(0,c.pF)(16),(0,c.pF)(16)):"body-s"===n.variant?(0,d.iv)(w(),(0,c.pF)(14),(0,c.pF)(18)):"body-ss"===n.variant?(0,d.iv)(y(),(0,c.pF)(14),(0,c.pF)(16)):"body-xs"===n.variant?(0,d.iv)(F(),(0,c.pF)(12),(0,c.pF)(14)):"body-xxs"===n.variant?(0,d.iv)(Z(),(0,c.pF)(10),(0,c.pF)(12)):"section-title"===n.variant?(0,d.iv)(k(),(0,c.pF)(22),(0,c.pF)(22),(0,c.pF)(18)):void 0}),C=function(n){var e=n.variant,t=n.icon,s=n.title,c=n.className,d=(n.disabled,n.color),u=n.fontWeight,h=n.onClick,p=(0,r.Z)(n,["variant","icon","title","className","disabled","color","fontWeight","onClick"]),x=o.j1.includes(e)?e:"span";return(0,l.jsxs)(S,(0,a.Z)((0,i.Z)({className:c,variant:e,as:x,color:d,fontWeight:u,onClick:h},p),{children:[t,s]}))}},10998:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return F},default:function(){return Z}});var i=t(26042),a=t(828),r=t(7297),l=t(36305),o=t(85893),s=t(32808),c=t(67294),d=t(55247),u=t(20903),h=t(971),p=t(53044),x=t(89728),f=t(93167),m=t(11163),v=t(78508),g=t(46479),b=t(70643),N=t(91751),j=t(61789);function w(){var n=(0,r.Z)(['\n .benefitCalculator {\n &-wrapper {\n }\n &-output {\n background-image: url("/assets/svg/emi-calc-bg.svg");\n background-repeat: no-repeat;\n background-size: cover;\n background-color: #a50808;\n border: '," solid #a50808;\n .applyLoanBtn {\n margin-bottom: ",";\n margin-top: ",";\n color: ",";\n background-color: white;\n border: 1px solid ",";\n }\n }\n &-outputSummary {\n border-bottom: "," solid #931414;\n padding: "," ",";\n\n h3 {\n font-size: ",";\n line-height: ",";\n font-weight: 700;\n padding-bottom: ",";\n }\n p {\n font-size: ",";\n line-height: ",";\n font-weight: 300;\n }\n }\n &-outputDetail {\n padding-left: ",";\n .calculatedOutputDetailItem {\n h3 {\n font-size: ",";\n line-height: ",";\n font-weight: 700;\n padding-bottom: ",";\n }\n p {\n font-size: ",";\n line-height: ",";\n font-weight: 300;\n }\n }\n }\n\n &-checkboxWrapper {\n h4 {\n color: rgb(165, 8, 8);\n font-size: calc(18 * (clamp(390px, 100vw, 1440px) / 1440));\n line-height: calc(22 * (clamp(390px, 100vw, 1440px) / 1440));\n }\n }\n }\n .filterContainer {\n .filterBox-body {\n display: flex;\n flex-direction: column;\n gap: calc(16 * (clamp(390px, 100vw, 1440px) / 1440));\n }\n .filterBox-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n }\n .chartWrapper{\n\n }\n @media screen and (max-width: 992px) {\n .benefitCalculator {\n &-wrapper {\n flex-direction: column-reverse;\n }\n &-output {\n border: 1px solid #a50808;\n .applyLoanBtn {\n margin-bottom: 20px;\n margin-top: 24px;\n border: 1px solid ",";\n }\n }\n &-outputSummary {\n border-bottom: 1px solid #931414;\n padding: 20px 22px;\n\n h3 {\n font-size: 14px;\n line-height: 18px;\n padding-bottom: 5px;\n }\n p {\n font-size: 28px;\n line-height: 35px;\n font-weight: 300;\n }\n }\n &-outputDetail {\n padding-left: 22px;\n .calculatedOutputDetailItem {\n h3 {\n font-size: 14px;\n line-height: 18px;\n padding-bottom: 5px;\n }\n p {\n font-size: 18px;\n line-height: 24px;\n }\n }\n }\n\n &-checkboxWrapper {\n gap: 10px;\n border-bottom: 1px solid #E0E0E0;\n padding-bottom: 10px;\n h4 {\n color: rgb(165, 8, 8);\n font-size: 18px;\n line-height: 18px;\n }\n }\n }\n .filterContainer {\n .filterBox-body {\n display: flex;\n flex-direction: column;\n gap: 16px;\n }\n .filterBox-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n }\n }\n"]);return w=function(){return n},n}var y=b.ZP.div.withConfig({componentId:"sc-c0c2b734-0"})(w(),(0,N.pF)(1),(0,N.pF)(20),(0,N.pF)(24),j.D.Red,j.D.Red,(0,N.pF)(1),(0,N.pF)(20),(0,N.pF)(22),(0,N.pF)(14),(0,N.pF)(18),(0,N.pF)(5),(0,N.pF)(28),(0,N.pF)(35),(0,N.pF)(22),(0,N.pF)(14),(0,N.pF)(18),(0,N.pF)(5),(0,N.pF)(18),(0,N.pF)(24),j.D.Red),F=!0;function Z(n){var e,t,r,b,N,j,w,F,Z,k,z=n.id,S=(0,p.qM)(),C=S.translate,B=S.localTranslate,P=(0,m.useRouter)(),I=(0,h.QW)(z),_=I.data,M=I.isFetching,D=(0,a.Z)((0,c.useState)(),2),E=D[0],L=D[1],T=(0,a.Z)((0,c.useState)(0),2),W=T[0],R=T[1],A=(0,a.Z)((0,c.useState)(0),2),O=(A[0],A[1]);(0,c.useRef)(null),(0,c.useEffect)(function(){if(null==_?void 0:_.data.benefitManager){var n={},e=0;(null==_?void 0:_.data.benefitManager)&&(_.data.benefitManager.map(function(t){n[t.id]=t.masters.map(function(n){return e+=Number(n.value),n.id})}),L(n),R(e))}},[null==_?void 0:null===(e=_.data)||void 0===e?void 0:null===(t=e.benefitManager)||void 0===t?void 0:t.length]);var q=function(n,e,t){var a=(null==E?void 0:E[e])||[];if(null==a?void 0:a.includes(n)){var r=(0,i.Z)({},E);r[e]=a.filter(function(e){return e!==n}),L(r),R(function(n){return n-Number(t)})}else{var o=(0,i.Z)({},E);o[e]=a?(0,l.Z)(a).concat([n]):[n],L(o),R(function(n){return n+Number(t)})}};return(0,c.useEffect)(function(){O((W/1e3).toFixed(2))},[W]),(W/1e3).toFixed(2),(0,o.jsxs)(c.Fragment,{children:[(0,o.jsx)(u.Z,{show:!M&&!(0,x.xb)(null==_?void 0:_.data.benefitManager),children:(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"innerPageBannerWrapper offerDetailInnerPageBannerWrapper benefitCalculatorInnerPageBannerWrapper",children:(0,o.jsx)(g.Z,{className:"offerDetailMeta",breadVariant:"detailPage",title:C({en:null===(r=null==_?void 0:null===(b=_.data)||void 0===b?void 0:b.benefitManager[0])||void 0===r?void 0:r.product.title,np:null===(N=null==_?void 0:null===(j=_.data)||void 0===j?void 0:j.benefitManager[0])||void 0===N?void 0:N.product.title_np}),hideShareButton:!0})}),(0,o.jsx)("div",{className:"",children:(0,o.jsx)(y,{children:(0,o.jsx)("section",{className:"container ",children:(0,o.jsx)(v.Uq,{children:(0,o.jsxs)("div",{className:"row benefitCalculator-wrapper",children:[(0,o.jsx)("div",{className:"col-lg-7 col-md-7 col
1-sm-7 col-xl-7 col-12",children:(0,o.jsx)("div",{className:"innerListingPageWrapper mt-0",children:(0,o.jsx)("div",{className:"filterContainer",children:null==_?void 0:null===(w=_.data)||void 0===w?void 0:null===(F=w.benefitManager)||void 0===F?void 0:F.map(function(n){var e,t,i=null===(e=null===(t=n.masters)||void 0===t?void 0:t.filter(function(e){var t;return null==E?void 0:null===(t=E[n.id])||void 0===t?void 0:t.includes(e.id)}))||void 0===e?void 0:e.reduce(function(n,e){return n+Number(e.value)},0);return(0,o.jsx)(v.Kn,{children:(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"d-flex align-items-center justify-content-between",children:(0,o.jsxs)("h5",{className:"filterBox-header",children:[C({en:n.category.categoryName,np:n.category.categoryNameNp}),(0,o.jsx)("h4",{className:"",children:new Intl.NumberFormat("en-IN",{style:"currency",currency:"NPR",minimumFractionDigits:0}).format(i)})]})}),(0,o.jsx)("div",{className:"filterBox-body",children:n.masters.map(function(e){var t;return(0,o.jsxs)("div",{className:"row benefitCalculator-checkboxWrapper",children:[(0,o.jsx)("div",{className:"col-lg-7",children:(0,o.jsx)(s.Z,{id:n.id+e.id,onChange:function(){return q(e.id,n.id,e.value)},checked:null==E?void 0:null===(t=E[n.id])||void 0===t?void 0:t.includes(null==e?void 0:e.id),className:"",children:C({en:e.name,np:e.nameNp})})}),(0,o.jsx)("div",{className:"col-lg-5 ",children:(0,o.jsx)("h4",{className:"text-end",children:new Intl.NumberFormat("en-IN",{style:"currency",currency:"NPR",minimumFractionDigits:0}).format(Number(e.value))})})]},e.id)})})]},n.id)})})})})}),(0,o.jsx)("div",{className:"col-lg-5 col-xl-5 col-12",children:(0,o.jsxs)("section",{className:"benefitCalculator-output text-white",children:[(0,o.jsxs)("div",{className:"benefitCalculator-outputSummary ",children:[(0,o.jsx)("h3",{children:B("benefitSummary")}),(0,o.jsxs)("p",{className:"text-white",children:[(W/1e3).toFixed(2)," %"]})]}),(0,o.jsxs)("div",{className:"benefitCalculator-outputSummary border-0 mb-0",children:[(0,o.jsx)("h3",{children:B("totalBenefits")}),(0,o.jsx)("p",{className:"text-white",children:new Intl.NumberFormat("en-IN",{style:"currency",currency:"NPR",minimumFractionDigits:0}).format(W)})]}),(0,o.jsx)(f.Z,{onClick:function(){var n,e,t,i,a,r,l,o,s,c,d,u;return(0,x.xf)(null===(n=null==_?void 0:null===(e=_.data)||void 0===e?void 0:e.benefitManager[0])||void 0===n?void 0:null===(t=n.product)||void 0===t?void 0:null===(i=t.applyNowSetting)||void 0===i?void 0:i.firstButtonLink)?window.open(null===(a=null==_?void 0:null===(r=_.data)||void 0===r?void 0:r.benefitManager[0])||void 0===a?void 0:null===(l=a.product)||void 0===l?void 0:null===(o=l.applyNowSetting)||void 0===o?void 0:o.firstButtonLink,"_blank"):P.push((null===(s=null==_?void 0:null===(c=_.data)||void 0===c?void 0:c.benefitManager[0])||void 0===s?void 0:null===(d=s.product)||void 0===d?void 0:null===(u=d.applyNowSetting)||void 0===u?void 0:u.firstButtonLink)||"/")},btnClassName:"applyLoanBtn gap-2 mx-auto",variant:"primary_outline",title:B("applyNow")})]})})]})})})})})]})}),(0,o.jsx)(d.Z,{isFetching:M,dataLength:null==_?void 0:null===(Z=_.data)||void 0===Z?void 0:null===(k=Z.benefitManager)||void 0===k?void 0:k.length,fullPage:!0})]})}}},function(n){n.O(0,[1228,2013,260,5196,3118,3062,419,3167,9774,2888,179],function(){return n(n.s=99970)}),_N_E=n.O()}]);
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.