PageSourceSearch

https://www.axismf.com/_next/static/chunks/7512-145e996df0ed1b13.js

js axismf.com collected 2026-10-01 12:33:14 UTC 27,178 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7512],{73797:function(e,t,a){var r=a(42949),n=a(4514),o=a(58416),i=a(9028),l=a(57386);let s=e=>{if(!e)return"";let t="";switch(e){case i.SCHEME_TYPE.Equity:t=i.SCHEME_TYPE_URL.Equity;break;case i.SCHEME_TYPE.Debt:t=i.SCHEME_TYPE_URL.Debt;break;case i.SCHEME_TYPE.Hybrid:t=i.SCHEME_TYPE_URL.Hybrid;break;case i.SCHEME_TYPE.Etf:t=i.SCHEME_TYPE_URL.Etf;break;case i.SCHEME_TYPE.Index:t=i.SCHEME_TYPE_URL.Index;break;case i.SCHEME_TYPE.International:t=i.SCHEME_TYPE_URL.International;break;case i.SCHEME_TYPE.Domestic:t=i.SCHEME_TYPE_URL.Domestic;break;case i.SCHEME_TYPE.SolutionOriented:t=i.SCHEME_TYPE_URL.SolutionOriented;break;default:t=""}return t},c=e=>e?String(e).replace(/%₹\s/g,""):"",u=e=>{switch(e){case"Buy":return i.Invest_TYPE.BUY;case"Sell":return i.Invest_TYPE.SELL;default:return"BUY"}},d=e=>e?(e=null==e?void 0:e.toString()).replace(/,/g,""):e,p=async(e,t,a,o,i)=>{var l,s,c,u,d,p,E,v,h,S;let D=null!==(s=await n.SessionStorage.instance.cartDpId.get())&&void 0!==s?s:"";if(D&&a&&a.handleDropLinkDispatch&&t==r.UserJourneys.cart&&e&&(null==a?void 0:null===(l=a.droplinkData)||void 0===l?void 0:l.dropLinkMetaData)){if(i){let t=[{key:"schemes.schemeDetails[0]",value:{schemeId:e.schemeId,schemeCode:e.schemeCode,schemeName:e.schemeTitle,pln:e.planCode,opt:e.optionType,optionCode:e.optionName}}],n=r.droplinkHelpers.handleDroplinkMetaData(null==a?void 0:a.droplinkData.dropLinkMetaData,t);a.handleDropLinkDispatch({type:r.DroplinkActions.dropLinkId,payload:{dropLinkId:D}}),a.handleDropLinkDispatch({type:r.DroplinkActions.dropLinkType,payload:{dropLinkType:r.UserJourneys.cart}}),a.handleDropLinkDispatch({type:r.DroplinkActions.dropLinkMetaData,payload:{dropLinkMetaData:n}}),i(!0)}}else if(e){o&&o({[null!==(h=null==e?void 0:e.schemeId)&&void 0!==h?h:""]:!0});let n={stage:"initial",dropLinkType:t,dropLinkMetaData:{...null==a?void 0:null===(c=a.droplinkData)||void 0===c?void 0:c.dropLinkMetaData,isNewFolio:!1,schemes:{schemeDetails:[{schemeId:e.schemeId,schemeCode:e.schemeCode,schemeName:e.schemeTitle,pln:e.planCode,opt:e.optionType,optionCode:e.optionName,investmentBy:(null===(u=e.planType)||void 0===u?void 0:u.toLowerCase())=="regular"?"Distributor":"Self/Direct",planType:e.planType}]}},leadMetaData:{...null==a?void 0:null===(d=a.droplinkData)||void 0===d?void 0:d.leadMetaData,paymentStatus:"false",schemeName:e.schemeTitle,noOfSchemes:1,category:e.fundType},schemes:[null!==(S=null==e?void 0:e.schemeId)&&void 0!==S?S:""]},l=null===(p=r.droplinkHelpers)||void 0===p?void 0:p.dropLinkGenerateToJson(n);null===(v=r.apicommunicator)||void 0===v||null===(E=v.droplink)||void 0===E||E.generate(l,{success:r=>{var n;return m(r,null!==(n=null==e?void 0:e.schemeId)&&void 0!==n?n:"",t,a,o,i)},default:t=>{var a;return g(t,null!==(a=null==e?void 0:e.schemeId)&&void 0!==a?a:"",o)}})}},m=async(e,t,a,i,l,s)=>{var c,u,d;if(l&&l({[t]:!1}),i.handleDropLinkDispatch){let t=null===(c=r.droplinkHelpers)||void 0===c?void 0:c.dropLinkFromJson(null==e?void 0:e.data);i.handleDropLinkDispatch({type:r.DroplinkActions.default,payload:{...t}})}a==r.UserJourneys.sip&&o.pushPath("/quickpay"),a==r.UserJourneys.cart&&(await r.droplinkHelpers.setCartDroplinkJourneyId(null!==(d=null==e?void 0:null===(u=e.data)||void 0===u?void 0:u.dropLinkId)&&void 0!==d?d:""),await n.SessionStorage.instance.userJourneyDropLinkId.set(""),s&&s(!0))},g=(e,t,a)=>{a&&a({[t]:!1})},E=async(e,t,a,o)=>{var i,l,s,c,u,d,p,m,g,E,S,D,f,y;let T=await (null===(l=n.SessionStorage.instance)||void 0===l?void 0:null===(i=l.cartDpId)||void 0===i?void 0:i.get());if(t(!0),T&&e&&e.droplinkData&&e.handleDropLinkDispatch&&e.droplinkData.dropLinkMetaData){let n=null===(d=e.droplinkData)||void 0===d?void 0:null===(u=d.dropLinkMetaData)||void 0===u?void 0:null===(c=u.schemes)||void 0===c?void 0:null===(s=c.schemeDetails)||void 0===s?void 0:s[0],i=(null===(m=e.droplinkData)||void 0===m?void 0:null===(p=m.dropLinkMetaData)||void 0===p?void 0:p.cartDetails)?[...JSON.parse(JSON.stringify(null==e?void 0:null===(E=e.droplinkData)||void 0===E?void 0:null===(g=E.dropLinkMetaData)||void 0===g?void 0:g.cartDetails))]:[];if(n){let e=i.findIndex((e,t)=>e.schemeId==n.schemeId);-1!==e?i[e]={...i[e],isAddedToCart:!0,isCheckedForPayment:o}:i.push({...JSON.parse(JSON.stringify(n)),isAddedToCart:!0,isCheckedForPayment:o})}let l=[{key:"cart",value:{noOfTransaction:1,category:null==i?void 0:i.map(e=>null==e?void 0:e.fundType).filter(e=>e).join(","),type:null==i?void 0:i.map(e=>null==e?void 0:e.planType).filter(e=>e).join(",")}}],k=r.droplinkHelpers.handleDroplinkMetaData(e.droplinkData.dropLinkMetaData,[{key:"cartDetails",value:i}]),_=r.droplinkHelpers.handleDroplinkLeadMetaData(null!==(y=e.droplinkData.leadMetaData)&&void 0!==y?y:{},l),C={...null==e?void 0:e.droplinkData,dropLinkId:T,dropLinkType:r.UserJourneys.cart,dropLinkMetaData:k,leadMetaData:_}
1,A=null===(S=r.droplinkHelpers)||void 0===S?void 0:S.dropLinkUpdateToJson(C);null===(f=r.apicommunicator)||void 0===f||null===(D=f.droplink)||void 0===D||D.update(A,{success:r=>v(r,e,t,a,o),default:r=>h(r,e,t,a)})}},v=(e,t,a,n,i)=>{if(t.handleDropLinkDispatch&&n){var l,s;let c=null===(l=r.droplinkHelpers)||void 0===l?void 0:l.dropLinkFromJson(null==e?void 0:e.data);t.handleDropLinkDispatch({type:r.DroplinkActions.default,payload:{...c}}),t.handleDropLinkDispatch({type:r.DroplinkActions.incrementalId,payload:{incrementalId:null!==(s=e.data.incrementalId)&&void 0!==s?s:1}}),i?(o.pushPath("/addtocart"),setTimeout(()=>{n(!1)},1e3)):n(!1),a(!1)}},h=(e,t,a,r)=>{a(!1),r&&r(!1)},S=(e,t)=>{t&&e.data.investmentPackDetail&&t(e.data.investmentPackDetail)},D=e=>{},f=async(e,t,a,n,o)=>{if(e){var i,l,s,c,u;n({[null!==(u=e.packId)&&void 0!==u?u:""]:!0});let o={...null==a?void 0:null===(i=a.droplinkData)||void 0===i?void 0:i.dropLinkMetaData,schemePack:e},d=null===(l=r.droplinkHelpers)||void 0===l?void 0:l.dropLinkGenerateToJson({stage:"initial",dropLinkType:t,dropLinkMetaData:o,leadMetaData:{}});null===(c=r.apicommunicator)||void 0===c||null===(s=c.droplink)||void 0===s||s.generate(d,{success:t=>y(t,e.packId,a,n),default:t=>T(t,e.packId,n)})}},y=(e,t,a,n)=>{if(a.handleDropLinkDispatch){var o;t&&n({[t]:!1});let i=null===(o=r.droplinkHelpers)||void 0===o?void 0:o.dropLinkFromJson(null==e?void 0:e.data);a.handleDropLinkDispatch({type:r.DroplinkActions.default,payload:{...i}})}},T=(e,t,a)=>{t&&a({[t]:!1})},k=e=>{let t=RegExp("\\b(".concat("script|eval|constructor|prototype|alert|prompt|confirm|window|document",")\\b"),"gi");return e.replace(t,"")},_=[],C=0,A=e=>{C++,_.push(e);let t=k(e);return Function("values",/\breturn\b/.test(t.trim())?t:"return ".concat(t))},L=e=>{if(!e)return null;let[t,a,r]=e.split("-").map(Number);return new Date(r,a-1,t)},N=(e,t)=>{let a=L(e),r=L(t);return a&&r?12*(r.getFullYear()-a.getFullYear())+(r.getMonth()-a.getMonth())+(r.getDate()>=a.getDate()?0:-1):0};function M(e){let t=String(e.getDate()).padStart(2,"0"),a=String(e.getMonth()+1).padStart(2,"0"),r=e.getFullYear();return"".concat(t,"-").concat(a,"-").concat(r)}let P=new Set(["pending","payment & unit allocation pending","unit allocation pending","in progress","redemption in progress","stp execution in progress","switch execution in progress","swp execution in progress"]),F=new Set(["failed","rejected"]),I=new Set(["processed"]);t.addCommaSeparator=function(e){return null==e||isNaN(e)?"":new Intl.NumberFormat("en-IN",{maximumFractionDigits:2}).format(e)},t.addDaysnav=(e,t)=>{let a=new Date(e);return a.setDate(a.getDate()+t),a},t.bestOfcagrBenchmark=(e,t)=>{let a={value:"0",period:""};return t?null==e||e.forEach(e=>{(null==e?void 0:e.period)===t&&(a=e)}):null==e||e.forEach(e=>{!(!(null==e?void 0:e.value)||(null==e?void 0:e.value)==="N/A"||isNaN(parseFloat(e.value)))&&parseFloat(null==e?void 0:e.value)>parseFloat(null==a?void 0:a.value)&&(a=e)}),a},t.calculateDifference=e=>{let{sumBuy:t,sumSell:a}=e.reduce((e,t)=>{let{investmentType:a,approximateValue:r}=t;if(r){let t=r.replace(/,/g,""),n=parseFloat(null!=t?t:"0");isNaN(n)||(a===i.TRANSACTION_TYPE.BUY?e.sumBuy+=n:a!==i.TRANSACTION_TYPE.SELL||(e.sumSell+=n))}return e},{sumBuy:0,sumSell:0});return{sumBuy:t,sumSell:a,difference:t-a}},t.calculateMonthsDifference=N,t.commaSeparated=function(e){return(arguments.length>1&&void 0!==arguments[1]&&arguments[1],e)?parseFloat(e).toLocaleString("en-IN",{minimumFractionDigits:0}):"0"},t.convertCommaSeparated=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.PRECISIONS.DEFAULT_COMMA_SEPARATION,a="";return(e&&(e=String(e)),"00"===(a=0===e?"0."+"0".repeat(t):Number(parseFloat(e).toFixed(t)).toLocaleString("en-IN",{minimumFractionDigits:t})).split(".")[1])?a.split(".")[0]:a},t.convertCommaSeparatedCalc=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.PRECISIONS.DEFAULT_COMMA_SEPARATION;arguments.length>2&&void 0!==arguments[2]&&arguments[2];let a="";return e&&Number(e)?Number(parseFloat(e).toFixed(t)).toLocaleString("en-IN",{minimumFractionDigits:t}):0},t.convertCommaSeparatedWithDecimals=(e,t)=>{if(null==e||"--"===e)return"--";let a=parseFloat(e);
1return isNaN(a)?"--":a.toLocaleString("en-IN",{minimumFractionDigits:null!=t?t:0,maximumFractionDigits:null!=t?t:20})},t.convertDate=e=>{if(!e||""===e.trim())return;let t=new Date(e.match(/(\w{3} \d{2}, \d{4})/)[0]),a="".concat(t.getDate().toString().padStart(2,"0")," ").concat(t.toLocaleString("default",{month:"short"})," ").concat(t.getFullYear());return"as on ".concat(a)},t.createFunctionFromFormula=A,t.dateFormatLong=e=>new Date(e).toLocaleDateString("en-US",{month:"long",day:"2-digit",year:"numeric"}),t.extractBenchmarkByPeriod=(e,t)=>null==e?void 0:e.find(e=>e.period===t),t.extractNumbers=e=>{if(!e)return 0;let t=String(e);return(t=t.replace(/[%₹\s]/g,""),e)?Number(t):0},t.formatDate=e=>{let t=new Date(e),a=["January","February","March","April","May","June","July","August","September","October","November","December"][t.getMonth()],r=t.getDate(),n=t.getFullYear(),o=t.getHours().toString().padStart(2,"0"),i=t.getMinutes().toString().padStart(2,"0"),l=t.getSeconds().toString().padStart(2,"0");return"As of ".concat(a," ").concat(r,", ").concat(n,", ").concat(o,":").concat(i,":").concat(l)},t.formatDateCalc=M,t.formatDateI=e=>{let t=new Date(e),a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getMonth()],r=t.getDate(),n=t.getFullYear(),o=t.getHours().toString().padStart(2,"0"),i=t.getMinutes().toString().padStart(2,"0"),l=t.getSeconds().toString().padStart(2,"0");return"As of ".concat(a," ").concat(r,", ").concat(n,", ").concat(o,":").concat(i,":").concat(l)},t.formatDateOn=e=>{let t=new Date(e),a=["January","February","March","April","May","June","July","August","September","October","November","December"][t.getMonth()],r=t.getDate(),n=t.getFullYear(),o=t.getHours().toString().padStart(2,"0"),i=t.getMinutes().toString().padStart(2,"0"),l=t.getSeconds().toString().padStart(2,"0");return"As On ".concat(a," ").concat(r,", ").concat(n,", ").concat(o,":").concat(i,":").concat(l)},t.formatInitiateTransactionReq=(e,t)=>{if((null==e?void 0:e.length)>0){let a=[...e].reduce((e,a)=>{var r,n,o;if(!(null==a?void 0:a.pan))return e;let i=a.pan.toUpperCase();return e[i]||(e[i]={pan:a.pan.toUpperCase(),investorName:null!=t?t:a.name,schemeList:[]}),e[i].schemeList.push({ticker:(null===(r=a.schemeInfo)||void 0===r?void 0:r.ticker)||"",quantity:Number(a.quantity),transactionType:(null==a?void 0:a.investmentType)&&u(null==a?void 0:a.investmentType),amount:d(a.approximateValue),schemeName:null!==(o=null===(n=a.schemeInfo)||void 0===n?void 0:n.schemeTitle)&&void 0!==o?o:""}),e},{}),r=Object.keys(a)[0];return a[r]}},t.formatPercentage=e=>{if("NA"===e)return"NA";let t=Number(e);if(isNaN(t))return"NA";let[a,r=""]=t.toString().split("."),n=a.padStart(2,"0"),o=r.padEnd(2,"0").slice(0,2);return"".concat(n,".").concat(o,"%")},t.formatPeriodLabel=e=>{switch(e){case"in last 1 year":return"1Y";case"in last 3 year":return"3Y";case"in last 5 year":return"5Y";default:return e}},t.formatToDDMMYYYY=e=>{let t=new Date(e);if(isNaN(t.getTime()))return"";let a=String(t.getDate()).padStart(2,"0"),r=String(t.getMonth()+1).padStart(2,"0"),n=t.getFullYear();return"".concat(a,"-").concat(r,"-").concat(n)},t.generateDynamicFormulaFunctionCodes=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;e.forEach(e=>{t.current[e.id]=A(e.formula)})},t.generateNfoSchemeTitle=e=>(null!=e?e:"").replace(/[^a-zA-Z0-9 ]/g,"").trim().replace(/\s+/g,"-").toLowerCase(),t.generateSchemeUrl=e=>{var t,a,r;let{schemeName:n,schemeCode:o,planCode:i,planType:l,schemeType:s,basePath:c="mutual-funds"}=e,u=null==n?void 0:null===(r=n.replace(/&amp;/g," and "))||void 0===r?void 0:null===(a=r.replace(/&/g," and "))||void 0===a?void 0:null===(t=a.replace(/[’']/g,""))||void 0===t?void 0:t.replace(/[^a-zA-Z0-9\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"").toLowerCase(),d="".concat(o,"-").concat(i).toLowerCase();return"/".concat(c,"/").concat(s,"/").concat(u,"/").concat(d,"/").concat(null==l?void 0:l.toLowerCase())},t.getCAGRvalue=(e,t,a,r)=>{let n=L(a),o=L(r);if(!n||!o)return 0;let i=N(a,r),l=o.getFullYear()-n.getFullYear();i<12&&(l=i/12);let s=0;return t>0&&(s=(Math.pow(t/e,1/l)-1)*100),s.toFixed(2)},t.getCagrBenchmark=(e,t)=>{let a=null==e?void 0:e.find(e=>e.period===t);return(null==a?void 0:a.value)&&c(null==a?void 0:a.value)},t.getColorClass=e=>e?e>0?"green":e<0?"red":"black":"black",t.getDayParting=e=>e>=6&&e<12?"morning":e>=12&&e<18?"afternoon":e>=18&&e<21?"evening":"night",t.getFormatedDate=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return e?e.getDate()+t+(e.getMonth()+1)+t+e.getFullYear():""},t.getFutureDates=()=>{let e=[],t=new Date;for(let a=1;a<=365;a++){let r=new Date;r.setDate(t.getDate()+a),e.push(M(r))}return e},t.getGenerateDropLink=p,t.getGenerateDropLinkForInvestmentPack=f,t.getIcon=e=>e>0?n.pathChanger("arrow_drop_up.svg"):n.pathChanger("arrow_drop_down.svg"),t.getInvestmentPackDetail
1s=(e,t)=>{l.placeGetInvestmentPackDetails({packId:e},{default:D,success:e=>S(e,t)})},t.getLumsumCAGRvalue=(e,t,a,r)=>{let n=L(a),o=L(r);if(!n||!o)return 0;let i=N(a,r)/12,l=0;return e>0&&t>0&&i>0&&(l=(Math.pow(e/t,1/i)-1)*100),l.toFixed(2)},t.getPartOfDay=function(){let e=new Date().getHours();return e>=5&&e<12?"Morning":e>=12&&e<17?"Afternoon":e>=17&&e<21?"Evening":"Night"},t.getPathName=function(){var e,t,a;return null!==(a=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.pathname)&&void 0!==a?a:""},t.getPathname=function(){var e,t,a;return null!==(a=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.pathname)&&void 0!==a?a:""},t.getSIPCAGR=(e,t,a,r)=>{let n=L(a),o=L(r);if(!n||!o)return"0.00";let i=N(a,r);return i<=0||e<=0||t<=0?"0.00":((Math.pow(e/(t*i),1/(i/12))-1)*100).toFixed(2)},t.getSchemeTypeFromURL=e=>{if(!e)return"";let t="";switch(e=null==e?void 0:e.replace(/\/mutual-funds\//g,"")){case i.SCHEME_TYPE_URL.All:t=i.SCHEME_TYPE.All;break;case i.SCHEME_TYPE_URL.Equity:t=i.SCHEME_TYPE.Equity;break;case i.SCHEME_TYPE_URL.Debt:t=i.SCHEME_TYPE.Debt;break;case i.SCHEME_TYPE_URL.Hybrid:t=i.SCHEME_TYPE.Hybrid;break;case i.SCHEME_TYPE_URL.Etf:t=i.SCHEME_TYPE.Etf;break;case i.SCHEME_TYPE_URL.Index:t=i.SCHEME_TYPE.Index;break;case i.SCHEME_TYPE_URL.International:t=i.SCHEME_TYPE.International;break;case i.SCHEME_TYPE_URL.Domestic:t=i.SCHEME_TYPE.Domestic;break;case i.SCHEME_TYPE_URL.SolutionOriented:t=i.SCHEME_TYPE.SolutionOriented;break;default:t=i.SCHEME_TYPE.All}return t},t.getSchemeURLFromType=s,t.getTransactionStatusClass=e=>{let t=(null==e?void 0:e.trim().toLowerCase())||"";return I.has(t)?"processed":F.has(t)?"failed":(P.has(t),"pending")},t.getValueByPath=(e,t)=>null==t?void 0:t.reduce((e,t)=>e&&e[t],e),t.getXirrClass=e=>e>0?"xirr-high":e<0?"xirr-lowvalue":"",t.handleGAValue=function(e){var t;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{keepSame:r=!1,toInt:n=!1}=a;return null==e||""===e?"na":r||"number"==typeof e?e:n?parseInt(null==e?void 0:e.toString()):null==e?void 0:null===(t=e.toString())||void 0===t?void 0:t.toLowerCase()},t.parseDateString=e=>{if(!e)return;let[t,a,r]=e.replace(/\//g,"-").split("-").map(Number);if(t&&a&&r)return new Date(r,a-1,t)},t.parseDater=L,t.processCAGRValue=c,t.recalculateDirectFunds=(e,t)=>{let a=e.filter(e=>"Direct"===e.planType),r=a.reduce((e,t)=>e+t.weightage,0);return 0===r?a.map(e=>({...e,amount:0})):a.map(e=>{let a=e.weightage/r*100;return{...e,weightage:parseFloat(a.toFixed(2)),amount:parseFloat((a/100*t).toFixed(2))}})},t.removeNonAlphabets=e=>{let t;return e&&(t=e.replace(/[^A-Za-z]/g,"")),t},t.replaceComma=d,t.replaceEmojis=e=>e?e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[\u2600-\u26FF]|[\u2700-\u27BF]|[\uE000-\uF8FF]|[\uD83C-\uDBFF\uDC00-\uDFFF]/g,""):"",t.replaceSchemeSearchValidate=e=>{let t;return e&&(t=e.replace(/[^a-zA-Z0-9-_&\s]/g,"").replace(/\s{1,}/g," ")),t},t.replaceWithAlphaNumericsWithSingleSpace=e=>{let t;return e&&(t=e.replace(/[^a-zA-Z0-9\s]/g,"").replace(/\s{1,}/g," ")),t},t.replaceWithAlphabetsWithSingleSpace=e=>{let t;return e&&(t=e.replace(/[^a-zA-Z&\s]/g,"").replace(/\s{1,}/g," ")),t},t.replaceWithNumeric=e=>{let t;return e&&(t=e.replace(/[^0-9]/g,"")),t},t.sanitizeKeywords=k,t.schemeURL=e=>{var t,a;let r=s(e.fundType),o=null!==(a=null==e?void 0:null===(t=e.schemeTitle)||void 0===t?void 0:t.replace(/[\s-]+/g,"-"))&&void 0!==a?a:"",i="".concat(null==e?void 0:e.schemeCode,"-").concat(null==e?void 0:e.planCode);return"".concat(n.GLOBAL_CONSTANT.ROUTE_PATHS.MUTUAL_FUNDS,"/").concat(r,"/").concat(o,"/").concat(i,"/").concat(e.planType).toLowerCase()},t.updateCartDropLinkApi=E,t.updateFundDetails=(e,t)=>{let a=e.reduce((e,t)=>e+t.weightage,0);return e.map(e=>{let r=e.weightage/a*t,n=isNaN(r)?0:r.toFixed(2);return{...e,amount:n}})},t.yearsDifference=(e,t)=>{let a=e=>{let[t,a,r]=e.trim().split(/[/-]/);return{d:Number(t),m:Number(a),y:Number(r)}},{d:r,m:n,y:o}=a(e),{d:i,m:l,y:s}=a(t),c=100*n+r,u=100*l+i;return(s<o||s===o&&u<c)&&([r,i]=[i,r],[n,l]=[l,n],[o,s]=[s,o]),Math.max(1,s-o)},t.yearsSince=e=>{let t;let a=new Date;if(e instanceof Date)t=e.getFullYear(),e.getMonth(),e.getDate();else{let[a,r="1",n="1"]=e.split(/[-/]/);t=Number(a)}let r=a.getFullYear()-t;return a.getMonth(),a.getDate(),Math.max(1,r)}},19495:function(e,t,a){var r=a(57437);t.HtmlConvert=e=>{let{htmlString:t}=e;return r.jsx("span",{dangerouslySetInnerHTML:{__html:t||""}})}},97759:function(e,t){t.ENV={ENVIRONMENT:"prod",SERVICE_URL:"https://www.axismf.com",AGGREGATOR_URL:"https://www.axismf.com"}},9028:function(e,t,a){var r=a(4514);let n={riskometer:"Riskometer",potential_risk_class:"Potential Risk Class"},o=[n.riskometer,n.potential_risk_class],i={ETF_CART:"/etfcart",NFO_CORNER:r.GLOBAL_CONSTANT.ROUTE_PATHS.NFO,NFO_DETAILS:"nfo/upcomingnfo/",QUICK_PAY:"/quickpay",NFO_PAYMENT:"nfo/nfopayment",NFO_SWITCH:"nfopayment",FUNDMANAGER_MUTUALFUND:r.GLOBAL_CONSTANT.ROUTE_PATHS.MUTUAL_FUNDS,CREATE_FOLIO:"/folio/create"},l=r.pathChanger("black_backarrow.svg"),s=r.pathChanger("arrow_right.svg"),c=r.pathChanger("backarrow.svg"),u={goldDirect:"GO-DG-G",goldReguler:"GO-GP-G",goldDirectPlan:"GO-D1-R",goldRegulerPlan:"GO-DP-R",goldDirectPayout:"GO-D1-D",goldRegulerPayout:"GO-DP-D",silverDirect:"SV-DG-G",silverReguler:"SV-GP-G",silverDirectPlan:"SV-D1-R",silverRegulerPlan:"SV-DP-R",silverDirectPayout:"SV-D1-D",silverRegulerPayout:"SV-DP-D"},d=new Set([u.goldDirect,u.goldReguler,u.goldDirectPlan,u.goldRegulerPlan,u.goldDirectPayout,u.goldRegulerPayout]),p=new Set([u.silverDirect,u.silverReguler,u.silverDirectPlan,u.silverRegulerPlan,u.silverDirectPayout,u.silverRegulerPayout]);t.AMOUNT_TYPE={SIP:"SIP",LUMPSUM:"LUMPSUM"},t.AUM="AUM",t.CHART_COLORS=["#97144D","#6F2C91","#193661","#F15A22","#ED1164","#005A4B"],t.DEFAULT_ERROR_MESSAGE="Something went wrong.",t.ERROR_MESSAGES={MAX_AMOUNT:"Please enter a value less than or equal to ",MIN_AMOUNT:"Please enter a value greater than or equal to",Empty:"Please enter a mininum value."}
1,t.ERROR_MSG={ETFCartMessage:"Cannot add more than 7 scheme to cart",ETFMarketClosed:"ETF transactions can only be placed during market hours (9:15AM to 3:30PM).Please visit us during these hours to complete your purchase.",ETFMarketHoliday:"The market is closed today.ETF transactions can only be done on trading days between 9:15AM and 3:30PM. Please return on the next trading day.",ETF5CroresValidationErr:"Quantity cannot be greater than ₹5cr",ETFQuantityZeroValidationErr:"Quantity cannot be zero",termsConditionsErr:"Please accept the terms and conditions.",invalidPan:"Please enter a valid PAN Number",InvalidMobile:"Please enter a valid Mobile Number",InvalidEmail:"Please enter a valid Email"},t.ETF_Terms={additionalInformation:"/statutory-disclosures/statement-of-additional-information",schemeInformation:"/statutory-disclosures/scheme-information-documents",keyInformationMemorandum:"/statutory-disclosures/key-information-memorandum-&-application-form",termsAndCondition:"/term-of-use",orederpopupInvestClick:"https://secure.icicidirect.com/customer/login"},t.GOLD_SCHEME_IDS=d,t.INVEST_CHART_COLORS=["#6F2C91","#FDAF26","#F15A22","#97144D","#ED1164","#005A4B"],t.Invest_TYPE={BUY:"BUY",SELL:"SELL"},t.Investment_Pack_Messages={maxfunds:"Minimum 2 funds required in the pack, for single fund purchase please execute the transaction using Quick Pay",weightage_failure:"sum of weightages need to 100%"},t.NAV_CHART_COLORS={gradientColor2:"#FFFFFF"},t.NAV_CHART_EMPTY_COLOR="#f5f5f5",t.NOT_AVAILABLE="N/A",t.NumberValue={"5Crores":5e7},t.PAGES=i,t.PLAN_CODE={Regular:"GP",Direct:"DG"},t.PLAN_TYPES={Regular:"Regular",Direct:"Direct"},t.PRECISIONS={DEFAULT_COMMA_SEPARATION:2},t.REGEXP={pan:/^[A-Z]{3}[PCH][A-Z][0-9]{4}[A-Z]$/,mobile:/^[6789]\d{9}$/,userName:/^[A-Za-z\s]+$/,email:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,quantity:/^[0-9]+$/},t.RETURNS_FILTER_VAL={since_inspection:"SI",one_year:"1Y",three_year:"3Y",five_year:"5Y"},t.RISKOMETER_TAB=n,t.RISKOMETER_TAB_LIST=o,t.SCHEME_TYPE={All:"All Schemes",Equity:"Equity",Debt:"Debt",Hybrid:"Hybrid",Etf:"ETFs",Index:"Index",International:"FOF - Overseas",Domestic:"FOF - Domestic",SolutionOriented:"Solution Oriented"},t.SCHEME_TYPE_URL={All:"all-scheme-packs",Equity:"equity-funds",Debt:"debt-funds",Hybrid:"hybrid-balance-funds",Etf:"etfs",Index:"index-funds",International:"fof-overseas",Domestic:"fof-domestic",SolutionOriented:"solution-oriented-funds"},t.SHAGUN_INVESTMENT_METAL={GOLD:"Gold",SILVER:"Silver"},t.SHAGUN_SCHEMES_ID=u,t.SILVER_SCHEME_IDS=p,t.SOCIAL_MEDIA_SHARE_LINKS={FB:"https://www.facebook.com/sharer/sharer.php?u=",LINKEDIN:"https://www.linkedin.com/shareArticle?mini=true&amp;title=Axis%20MF-Calculators&amp;summary=Axis%20MF&amp;source=LinkedIn&amp;url=",WA:"https://api.whatsapp.com/send?text="},t.TRANSACTION_TYPE={BUY:"Buy",SELL:"Sell"},t.backArrowIcon=l,t.calculatorFields={tenure_yrs:"tenure_yrs",inv_amt:"inv_amt",output_one:"output_one",output_two:"output_two",output_three:"output_three"},t.enterEmail="Enter Email ID",t.enterMobileNumber="Enter Mobile Number",t.enterName="Enter Name",t.enterPAN="Enter PAN",t.experience="Experience",t.formatDate=e=>new Date(e.replace(/-/g,"/")).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),t.formatDateShortMonth=e=>new Date(e.replace(/-/g,"/")).toLocaleDateString("en-GB",{year:"numeric",month:"short",day:"2-digit"}),t.fundManager="Fund Managers",t.generateQueryParams=(e,t,a,r)=>({schemeCode:e,planCode:t,schemeCode1:a,planCode1:r}
1),t.highestReturn="Highest Return",t.isGoldScheme=e=>!!e&&d.has(e),t.isQueryParamsNonEmpty=e=>Object.entries(e).every(e=>{let[t,a]=e;return void 0!==a&&""!==a}),t.isSilverScheme=e=>!!e&&p.has(e),t.rightArrowIcon=s,t.schemes="Schemes",t.viewDetails="View Details",t.whiteBackArrow=c,t.whyInvestEtfs="Why invest in ETFs Funds?"},58416:function(e,t,a){var r=a(4514);t.pushPath=e=>{var t;null===(t=r.getRouter())||void 0===t||t.pushPath(e)},t.replacePath=e=>{var t;null===(t=r.getRouter())||void 0===t||t.replacePath(e)}},27337:function(e,t){var a;t.EStatusErrorType=void 0,(a=t.EStatusErrorType||(t.EStatusErrorType={}))[a.ClientError=1]="ClientError",a[a.ServerError=2]="ServerError",a[a.GeneralNetworkError=3]="GeneralNetworkError",a[a.UnknownError=4]="UnknownError"},38941:function(e,t,a){var r=a(42949),n=a(97759);async function o(){let e=await r.getBearerToken();return{Authorization:"Bearer ".concat(e),"Content-Type":"application/json"}}Date.now().toString();let i={SERVICE_URL:n.ENV.SERVICE_URL,AGGREGATOR_URL:n.ENV.AGGREGATOR_URL};t.BASE_URLS=i,t.SERVICE_EXTENSIONS={GetNavDetails:"/cms/nav-chart",GetCompareFundsDetails:"/cms/get-compare-funds",GetPopularCompareFunds:"/cms/popular-compare-funds",GetIdcwHistory:"/cms/idcw-history",GetAllSchemes:"/cms/all-scheme-details",GetINavDetails:"/etf-transactions/api/v1/etf/getINavDetails",GetFilterScheme:"/cms/filter-scheme-details",GetHomeBanners:"/cms/home-banners",GetParticularScheme:"/cms/all-scheme-details",GetFaqs:"/cms/get-faqs",ETFTransaction:"/etf-transactions/api/v1/etf/initiateTransaction",GetEtfCashComponent:"/cms/etf-cash-component",TransactionDetails:"/cms/transaction-details",quickcalldroplink:"/droplink-services/v2/droplink/quick-call",GetParticularCalculator:"/cms/particular-calculator-details",GetInvestmentPackDetails:"/cms/investment-packs-details",getETFConfig:"/cms/get-etf-config",OverviewSchemes:"/cms/overview",GetNavHistoryDetaills:"/cms/calulator-nav",GetShagunFundDetails:"/systematic-plan-services/api/v1/shagun-fund-details",GetGoldSilverSipStatistics:"/systematic-plan-services/api/v1/get-gold-silver-sip-statistics",GetShagunMyTransactions:"/systematic-plan-services/api/v1/shagun-transaction-details",ShagunTransactionDetails:"/cms/shagun-sip-transaction-details"},t.getAuthHeaders=o},73002:function(e,t,a){var r=a(42949),n=a(27337),o=a(97759);let i=async function(e,t,a){try{t=await r.getApiServiceHeaders({env:o.ENV,url:e});let n=await r.getActualRequest(a,{env:o.ENV,url:e});return await fetch(e,{method:"POST",credentials:"include",headers:t,body:n,next:{revalidate:0}}).then(l).then(s).then(t=>c(t,e))}catch(e){if(!e.errortype)return Promise.resolve({errortype:n.EStatusErrorType.UnknownError,code:0,message:"Network Error"});return Promise.resolve(e)}};function l(e){if(e.status>=200&&e.status<300||e.status>=400&&e.status<500)return e;if(e.status>=500&&e.status<600)throw{errortype:n.EStatusErrorType.ServerError,code:e.status,message:"Unable to communicate with server"};throw{errortype:n.EStatusErrorType.GeneralNetworkError,code:e.status,message:""}}function s(e){return e.text()}async function c(e,t){return JSON.parse(await r.getActualResponse(e,{env:o.ENV,url:t}))}t.httpPost=i},57386:function(e,t,a){var r=a(73002),n=a(38941);let o=async(e,t)=>{let a=n.BASE_URLS.SERVICE_URL+n.SERVICE_EXTENSIONS.GetInvestmentPackDetails,o=await r.httpPost(a,{"Content-Type":"application/json"},JSON.stringify(e));(null==o?void 0:o.status)==="success"?t.success(o):t.default(o)};t.placeGetInvestmentPackDetails=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.