PageSourceSearch

https://www.axismf.com/_next/static/chunks/165-760153fae21a2d73.js

js axismf.com collected 2026-10-01 12:33:16 UTC 75,439 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{16077:function(e,t,l){var n=l(57437),i=l(2265);l(57057),t.MOutlinedTextboxWithAction=e=>{var t,l,s,a,o;let r,c;let d=i.useRef({inputField:null}),u=i.useId(),h=e.id||u;return n.jsxs("div",{className:(r="mf-m-outline-textfield-with-action "+(null!==(o=e.className)&&void 0!==o?o:""),e.disabled&&(r+=" disabled"),e.isError&&(r+=" error"),r),onClick:()=>{var e;null===(e=d.current.inputField)||void 0===e||e.focus()},children:[n.jsx("input",{id:h,inputMode:e.inputMode,ref:e=>d.current.inputField=e,type:null!==(t=e.type)&&void 0!==t?t:"text",value:null!==(l=e.value)&&void 0!==l?l:"",disabled:null!==(s=e.disabled||e.disableUserInput)&&void 0!==s&&s,onChange:t=>e.onChange&&e.onChange(t.target.value),onKeyDown:t=>{13===t.keyCode&&e.onEnterPress&&e.onEnterPress()},onFocus:()=>e.onFocus&&e.onFocus(),onBlur:()=>e.onFocusOut&&e.onFocusOut()}),n.jsx("label",{htmlFor:h,className:(c="input-label",e.value&&(c+=" up"),e.isError&&(c+=" error"),c),children:null!==(a=e.label)&&void 0!==a?a:""}),e.isError&&e.errorMessage?n.jsx("span",{className:"label-error-txt",children:e.errorMessage}):"",e.actionElement?n.jsx("div",{className:"action-div",children:e.actionElement}):""]})}},57057:function(e,t,l){l(2111).Z(".mf-m-outline-textfield-with-action{align-items:center;background-color:hsla(0,0%,100%,.98);cursor:text;display:flex;overflow:visible!important;position:relative}.mf-m-outline-textfield-with-action.disabled>.textbox-icon{cursor:default}.mf-m-outline-textfield-with-action>.textbox-icon{cursor:pointer}.mf-m-outline-textfield-with-action>input{background:transparent;border:none;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:100%;outline:none;overflow:inherit;text-align:inherit;text-decoration:inherit;text-overflow:inherit;white-space:inherit;width:100%}.mf-m-outline-textfield-with-action>.input-label{background-color:inherit;color:#a7a7a7;cursor:text;font-size:inherit;left:16px;max-width:calc(100% - 20px);overflow:hidden;position:absolute;top:calc(50% - 10px);transform-origin:0 0;transition:all .3s;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.mf-m-outline-textfield-with-action>.input-label.up,.mf-m-outline-textfield-with-action>input:focus~.input-label{left:8px;max-width:unset;padding:0 8px;top:-10px;transform:scale(.8);transition:all .3s}.mf-m-outline-textfield-with-action>.action-div{align-items:center;background:var(--color-white-bg);display:flex;height:100%;position:absolute;right:15px}.mf-m-outline-textfield-with-action>.label-error-txt{color:var(--color-red-txt-2);font-size:12px;font-weight:400;left:0;position:absolute;top:60px}")},70165:function(e,t,l){var n=l(57437),i=l(31039),s=l(44438);t.ETFSchemeCartModule=()=>n.jsxs("div",{className:"etf-cart-module",children:[n.jsx("div",{className:"etf-cart-holder",children:n.jsx(i.EtfCartSection,{})}),n.jsx("div",{className:"other-etf-holder",children:n.jsx(s.EtfFunds,{})})]})},81785:function(e,t,l){var n=l(57437),i=l(2265),s=l(49232),a=l(19495);t.RiskoMeter=e=>{var t,l,o,r;let{fundTitle:c,riskometerDetails:d,riskoMeter:u}=e;if(!d)return null;let[h,v]=i.useState(0),m=e=>{v(e)};return n.jsxs("div",{className:"risko-meter",children:[(null==u?void 0:u.potentialRiskClass)&&(null==u?void 0:u.potentialRiskClass)?n.jsxs(n.Fragment,{children:[n.jsx("div",{className:"tab-holder",children:[{value:"RiskoMeter"},{value:"Potential Risk Class"}].map((e,t)=>n.jsx("div",{className:"tab-options",children:n.jsx("label",{onClick:()=>m(t),className:h===t?"lbl-banner-title-5":"lbl-banner-title-6","data-cy":"sipTransactionsTabOption",children:e.value})},t))}),n.jsx("div",{className:"sipdividerweb-1"}),1===h?n.jsxs("div",{className:"potential-risk-class-content",children:[n.jsx("label",{className:"lbl-card-title-1 risk-desc",children:null==u?void 0:null===(t=u.potentialRiskClass)||void 0===t?void 0:t.description}),n.jsx("div",{className:"potential-risk-img",children:n.jsx("img",{fetchPriority:"low",src:null==u?void 0:null===(l=u.potentialRiskClass)||void 0===l?void 0:l.prcUrl,alt:(null==u?void 0:null===(o=u.potentialRiskClass)||void 0===o?void 0:o.title)||s.getAltText(null==u?void 0:null===(r=u.potentialRiskClass)||void 0===r?void 0:r.prcUrl)})})]}):n.jsxs("div",{className:"risk-meter-indicators",children:[n.jsx("label",{className:"lbl-card-title-1 risk-desc",children:null==d?void 0:d.riskHeading}),n.jsx("label",{className:"lbl-input-heading",children:n.jsx(a.HtmlConvert,{htmlString:d.riskDescription})}),n.jsx("label",{className:"lbl-input-heading",children:null==u?void 0:u.riskometerDisclaimer}),n.jsxs("div",{className:"scheme-n-benchmark",children:[n.jsxs("div",{className:"scheme-risko-meter",children:[n.jsx("img",{fetchPriority:"low",src:d.schemeURL,alt:c||s.getAltText(d.schemeURL)}),n.jsx("label",{className:"risk-fund-name-1",children:null==d?void 0:d.riskScheme}),n.jsx("label",{className:"lbl-input-heading risk-status",children:null==d?void 0:d.schemeRiskStatus})]}),n.jsxs("div",{className:"benchmark-risko-meter",children:[n.jsx("img",{fetchPriority:"low",src:d.benchmarkURL,alt:d.benchmark||s.getAltText(d.benchmarkURL)}),n.jsx("label",{className:"risk-fund-name-1",children:d.benchmark}),n.jsx("label",{className:"lbl-input-heading risk-status",children:null==d?void 0:d.benchmarkRiskStatus})]})]})]})," "]}):"",(null==u?void 0:u.potentialRiskClass)?"":n.jsxs("div",{className:"risk-meter-indicators",children:[n.jsx("label",{className:"lbl-popup-content",children:"Riskometer"}),n.jsx("label",{className:"lbl-card-title-1 risk-desc",children:null==d?void 0:d.riskHeading}),n.jsx("label",{className:"lbl-input-heading",children:n.jsx(a.HtmlConvert,{htmlString:d.riskDescription})}),n.jsx("label",{className:"lbl-input-heading",children:null==u?void 0:u.riskometerDisclaimer}),n.jsxs("div",{className:"scheme-n-benchmark",children:[n.jsxs("div",{className:"scheme-risko-meter",children:[n.jsx("img",{fetchPriority:"low",src:d.schemeURL,alt:c||s.getAltText(d.schemeURL)}),n.jsx("label",{className:"risk-fund-name-1",children:null==d?void 0:d.riskScheme}),n.jsx("label",{className:"lbl-input-heading risk-status",children:null==d?void 0:d.schemeRiskStatus})]}),n.jsxs("div",{className:"benchmark-risko-meter",children:[n.jsx("img",{fetchPriority:"low",src:d.benchmarkURL,alt:d.benchmark||s.getAltText(d.benchmarkURL)}),n.jsx("label",{className:"risk-fund-name-1",children:d.benchmark}),n.jsx("label",{className:"lbl-input-heading risk-status",children:null==d?void 0:d.benchmarkRiskStatus})]})]})]})]})}},8224:function(e,t,l){var n=l(57437),i=l(2265),s=l(21622),a=l(9028);t.DisclaimerPopup=()=>{let[e,t]=i.useState("ICICI Direct");return n.jsxs("div",{className:"disclaimer-popup-container",children:[n.jsxs("div",{className:"header",children:[n.jsx(s.DefaultDropdown,{className:"material-outlined-dropdown mf-default-dropdown input-field",label:"Brokers",o
1ptionList:["ICICI Direct"],selectedOption:e,onSelectCB:e=>{t(e)}}),n.jsx("div",{className:"disclaimer-content",children:n.jsxs("label",{className:"lbl-txt-info-2",children:[n.jsx("span",{children:"Disclaimer :"})," Please note that use/opening of the Demat Account is voluntary and subject to terms prescribed by ICICI Direct. Investor may choose to open Demat Account with any other service provider."]})})]}),n.jsx("div",{className:"footer",children:n.jsx("button",{className:"btn-primary etf-disclaimer-footer-button",id:"etf-orderpopup-disclaimer-click",onClick:()=>{window.open(a.ETF_Terms.orederpopupInvestClick,"_blank")},children:"Invest Now"})})]})}},81784:function(e,t,l){var n,i,s=l(57437),a=l(2265),o=l(87550),r=l(44452),c=l(16077),d=l(15192),u=l(4514),h=l(42949),v=l(8224),m=l(73797),p=l(34894),f=l(24628),g=l(9028),x=l(58416),b=l(7501),y=l(18336),N=l(4978);(n=i||(i={})).NAME="name",n.PAN="pan",n.QUANTITY="quantity",t.EtfOrderPopup=e=>{var t,l,n,j,E,C,k,S;let[w,T]=a.useState({name:"",pan:"",quantity:""}),[I,_]=a.useState({name:"",pan:"",quantity:""}),[A,R]=a.useState(g.TRANSACTION_TYPE.BUY),[P,F]=a.useState(!1),[M,D]=a.useState(!1),[L,O]=a.useState(),[U,B]=a.useState(),[q,G]=a.useState(void 0),[H,V]=a.useState(void 0),[$,W]=a.useState(!1),[Y,J]=a.useState(!1),[K,z]=a.useState([]),X=h.useLoginContextData(),Q=null!==(k=null===(t=X.loggedInUserDetails)||void 0===t?void 0:t.user_type)&&void 0!==k?k:"na",Z=new Date().getHours(),[ee,et]=a.useState(!1),{cart:el,setETFCart:en}=b.useETFCart();a.useEffect(()=>{window&&F(window.innerWidth<769),eh();let e=setInterval(eh,4e3);return()=>clearInterval(e)},[null==L?void 0:null===(l=L.schemeInfo)||void 0===l?void 0:l.schemeTitle]),a.useEffect(()=>{(null==e?void 0:e.isetfEditClicked)||ei()},[]),a.useEffect(()=>{var t,l,n,i,s,a,o,r;(null==e?void 0:e.selectedSchemeData)&&((null==e?void 0:e.isotherETFFund)?O(t=>({...t,schemeInfo:null==e?void 0:e.selectedSchemeData})):O(t=>{var l;return{...t,schemeInfo:null==e?void 0:null===(l=e.selectedSchemeData)||void 0===l?void 0:l.schemeInfo}})),(null==e?void 0:null===(t=e.selectedSchemeData)||void 0===t?void 0:t.investmentType)&&R(null==e?void 0:null===(s=e.selectedSchemeData)||void 0===s?void 0:s.investmentType),(null==e?void 0:null===(l=e.selectedSchemeData)||void 0===l?void 0:l.quantity)&&(null==e?void 0:null===(n=e.selectedSchemeData)||void 0===n?void 0:n.name)&&(null==e?void 0:null===(i=e.selectedSchemeData)||void 0===i?void 0:i.pan)&&T({...w,quantity:null==e?void 0:null===(a=e.selectedSchemeData)||void 0===a?void 0:a.quantity,name:null==e?void 0:null===(o=e.selectedSchemeData)||void 0===o?void 0:o.name,pan:null==e?void 0:null===(r=e.selectedSchemeData)||void 0===r?void 0:r.pan})},[null==e?void 0:e.selectedSchemeData]),a.useEffect(()=>{ed(),ec()},[L]),a.useEffect(()=>{let e=()=>{var e;J(769>((null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth))};return e(),window.addEventListener("resize",e),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[]);let ei=async()=>{var t,l,n,i,s,a,o,r,c,d,h,v,m;let p=await (null===(t=X.getLoggedinUserDetails)||void 0===t?void 0:t.call(X)),f=null!=el?el:[];if(null==p?void 0:p.pan)T({...w,name:null!==(n=null==p?void 0:p.user_name)&&void 0!==n?n:"",pan:null!==(i=null==p?void 0:p.pan)&&void 0!==i?i:"",quantity:null!==(s=null==e?void 0:null===(l=e.selectedSchemeData)||void 0===l?void 0:l.quantity)&&void 0!==s?s:""});else if((null==f?void 0:f.length)>0)T({...w,name:null!==(o=null==el?void 0:el[0].name)&&void 0!==o?o:"",pan:null!==(r=null==el?void 0:el[0].pan)&&void 0!==r?r:"",quantity:null!==(c=null==e?void 0:null===(a=e.selectedSchemeData)||void 0===a?void 0:a.quantity)&&void 0!==c?c:""});else{let t=await u.LocalStorage.instance.etfCart.get();if(""!==t){let l=JSON.parse(t);z(l),T({...w,name:null!==(h=null==l?void 0:l[0].name)&&void 0!==h?h:"",pan:null!==(v=null==l?void 0:l[0].pan)&&void 0!==v?v:"",quantity:null!==(m=null==e?void 0:null===(d=e.selectedSchemeData)||void 0===d?void 0:d.quantity)&&void 0!==m?m:""})}}},es=(e,t)=>{switch(e){case i.NAME:let l=m.replaceWithAlphabetsWithSingleSpace(t)||"";T(e=>({...e,name:l})),_(e=>({...e,name:""}));break;case i.PAN:if((null==t?void 0:t.length)<=10){let e=m.replaceWithAlphaNumericsWithSingleSpace(t)||"";T(t=>({...t,pan:e.toUpperCase()})),_(e=>({...e,pan:""}))}break;case i.QUANTITY:m.processCAGRValue(null==U?void 0:U.lastClose);let n=m.replaceWithNumeric(t)||"";n=n.replace(/^0+(?=\d)/,""),T(e=>({...e,quantity:n})),0===parseInt(n)?_(e=>({...e,quantity:g.ERROR_MSG.ETFQuantityZeroValidationErr})):parseInt(n)>g.NumberValue["5Crores"]?_(e=>({...e,quantity:g.ERROR_MSG.ETF5CroresValidationErr})):_(e=>({...e,quantity:""}));break;default:return}},ea=e=>{let t={name:g.REGEXP.userName,pan:g.REGEXP.pan,quantity:g.REGEXP.quantity},l={};for(let[i,s]of Object.entries(e)){var n;s?""==s||null==t||!t[i]||(null==t?void 0:null===(n=t[i])||void 0===n?void 0:n.test(s))||
1(l[i]="Please enter correct ".concat(eo(i))):l[i]="".concat(eo(i)," is mandatory")}return!(0!=Object.values(l).length&&Object.values(l).every(e=>""!=e))||(_(e=>({...e,...l})),!1)},eo=e=>({name:"Name",pan:"Pan",quantity:"Quantity"})[e],er=()=>{let e=Number(m.processCAGRValue(null==U?void 0:U.lastClose))*parseInt(null==w?void 0:w.quantity);return isNaN(e)?"0":m.convertCommaSeparated(e.toString(),2)},ec=()=>{var e,t,l;let n=null==L?void 0:null===(t=L.schemeInfo)||void 0===t?void 0:null===(e=t.cagrBenchmark)||void 0===e?void 0:e.benchmark;if(!n||0===n.length)return;let i=m.bestOfcagrBenchmark(n,null==L?void 0:null===(l=L.schemeInfo)||void 0===l?void 0:l.alphaYear);V({value:i.value,period:i.period})},ed=()=>{var e,t,l;let n=null==L?void 0:null===(t=L.schemeInfo)||void 0===t?void 0:null===(e=t.cagrBenchmark)||void 0===e?void 0:e.cagr;if(!n||0===n.length)return;let i=m.bestOfcagrBenchmark(n,null==L?void 0:null===(l=L.schemeInfo)||void 0===l?void 0:l.alphaYear);G({value:i.value,period:i.period})},eu=async()=>{let t=er(),l={id:"".concat(100*Math.random()),approximateValue:t,investmentType:A,quantity:null==w?void 0:w.quantity,pan:null==w?void 0:w.pan,name:null==w?void 0:w.name,...L},n=await u.LocalStorage.instance.etfCart.get();if(n){let i=JSON.parse(n),s=i.findIndex(t=>{var l,n,i;return(null==t?void 0:null===(l=t.schemeInfo)||void 0===l?void 0:l.schemeId)===(null==e?void 0:null===(i=e.selectedSchemeData)||void 0===i?void 0:null===(n=i.schemeInfo)||void 0===n?void 0:n.schemeId)});-1!==s?i[s]={...i[s],approximateValue:t,investmentType:A,quantity:null==w?void 0:w.quantity,pan:null==w?void 0:w.pan,name:null==w?void 0:w.name,...L}:i.push(l),en(i)}else en([l])},eh=()=>{var t;let l={ticker:(null==e?void 0:e.isotherETFFund)?[(null==e?void 0:e.etfTicker)||""]:[(null==L?void 0:null===(t=L.schemeInfo)||void 0===t?void 0:t.ticker)||""]};p.placeGetINavDetails({default:e=>{},success:ev},l)},ev=e=>{(null==e?void 0:e.data)&&B(null==e?void 0:e.data[0])},em=(e,t)=>{switch(t){case"name":(null==e?void 0:e.length)>0&&(e.length<3?_(e=>({...e,name:N.ErrorMessages.FUND_MANAGER_INVEST_DETAIL.threeCharatcer})):e.length>100&&_(e=>({...e,name:N.ErrorMessages.FUND_MANAGER_INVEST_DETAIL.hundredCharatcer})));break;case"pan":var l;let n={name:g.REGEXP.userName,pan:g.REGEXP.pan,quantity:g.REGEXP.quantity};(null==n?void 0:null===(l=n[t])||void 0===l?void 0:l.test(e))||_(e=>({...e,pan:w.pan?w.pan!==e.pan?N.ErrorMessages.ETF_ORDER.incorrectPan:"":N.ErrorMessages.ETF_ORDER.mandatoryPan}))}},ep=()=>{et(!ee)};return s.jsxs("div",{className:"etf-order-container",children:[s.jsx(d.Loader,{showLoader:!(null==U?void 0:U.lastClose)}),s.jsx("div",{className:"lbl-banner-heading",children:"ETF Order"}),s.jsx("div",{className:"header-holder",children:s.jsx(y.SubPageHeader,{subHeading:"ETF Order",handleEditPopupClose:null==e?void 0:e.handleEditPopupClose,handleEtfClicked:null==e?void 0:e.handleEtfClicked,handleCartClicked:null==e?void 0:e.handleCartClicked,etfInvestNowClickClose:null==e?void 0:e.etfInvestNowClickClose})}),s.jsxs("div",{className:"etf-content",children:[s.jsxs("div",{className:"etf-left-section",children:[s.jsxs("div",{className:"txt-btn tooltip",children:[s.jsx(c.MOutlinedTextboxWithAction,{label:"Select scheme",value:null==L?void 0:null===(n=L.schemeInfo)||void 0===n?void 0:n.schemeTitle,className:"material-outlined-textboxwith-action etf-select-scheme-popup-txt",disableUserInput:!0,actionElement:Y?s.jsx("img",{fetchPriority:"low",src:u.pathChanger("etf_icon.svg"),alt:"arrow",className:"etf-image-btn-change",onClick:()=>D(!0),height:16,width:16}):s.jsxs("button",{type:"submit",className:" etf-btn-change",onClick:e=>{e.preventDefault(),e.stopPropagation(),D(!0)},children:["Change ",s.jsx("img",{fetchPriority:"low",src:u.pathChanger("arrow_right.svg"),alt:"arrow",height:8,width:8})]})}),M?s.jsx(r.OverlayPopup,{className:"dialog-popup-content etf-search-popup",showHeader:!1,isFloating:!0,showCloseOption:!0,onClose:()=>D(!1),content:s.jsx(f.EtfSearchScheme,{handleSchemeId:e=>{O({...L,schemeInfo:e})},setIsChangedClicked:()=>D(!1),selectedScheme:L})}):""]}),s.jsxs("div",{className:"selected-scheme-content",children:[s.jsx("div",{className:"scheme-header",children:s.jsxs("div",{className:"lbl-txt-content",children:["Current iNav :",s.jsxs("span",{className:"lbl-banner-title-1",children:[(null==U?void 0:U.price)?"₹".concat(null==U?void 0:U.price):"NA"," "]}),s.jsx("img",{fetchPriority:"low",className:"g_svg",src:u.pathChanger("uparrow_icon_green.svg"),alt:"uparrow"}),s.jsx("label",{className:"lbl-txt-info-2",children:(null==U?void 0:U.time)&&m.formatDate(null==U?void 0:U.time)})]})}),s.jsxs("div",{className:"scheme-content",children:[s.jsxs("div",{className:"scheme-left-section",children:[s.jsxs("div",{className:"lbl-txt-content",children:["CAGR:",s.jsx("label",{className:"lbl-txt-info ".concat(m.getColorClass((null==q?void 0:q.value)!=="N/A"&&(null==q?void 0:q.value)?Number(q.value):0)),children:(null==q?void 0:q.value)?"N/A"!==q.value?" ".concat(q.value,"% "):" ".concat(q.value," "):" N/A "})]}),(null==q?void 0:q.period)&&s.jsxs("div",{className:"lbl-txt-content",children:["(",q.period,")"]}),s.jsxs("span",{className:"tooltip-container-etf",children:[s.jsx("img",{fetchPriority:"low",src:u.pathChanger("infoicon.svg"),alt:"info",onClick:()=>ep(),className:"info-icon"}),ee&&s.jsxs("label",{className:"tooltiptext-etf ".concat(ee?"visible":""),children:["Benchmark Return: ",s.jsx("span",{className:"benchmark-value",children:(null==H?void 0:H.value)?"".concat(H.value," %"):"N/A"})]})]})]}),s.jsxs("div",{className:"scheme-right-section previous-nav-section",children:[s.jsxs("div",{className:"lbl-txt-content",children:["Previous NAV: ",s.jsx("span",{className:"lbl-txt-content",children:(null==U?void 0:U.lastClose)?"₹".concat(null==U?void 0:U.lastClose):"NA"})]}),s.jsxs("div",{className:"lbl-txt-content",children:["(",(null==e?void 0:e.etfNavDate)?null==e?void 0:e.etfNavDate:null!==(S=null==L?void 0:null===(C=L.schemeInfo)||void 0===C?void 0:null===(E=C.cards)||void 0===E?void 0:null===(j=E[0])||void 0===j?void 0:j.date)&&void 0!==S?S:"",")"]})]})]})]})]}),s.jsx("div",{className:"etf-divider"}),s.jsxs("div",{className:"etf-right-section",children:[s.jsxs("div",{className:"row",children:[s.jsx(o.MOutlinedTextBox,{className:"moutlined-txtbx-default etf-outline-txt name-txtbx etf-select-scheme-txt",isError:(null==I?void 0:I.name)!=void 0&&(null==I?void 0:I.name)!="",errorMessage:null==I?void 0:I.name,value:w.name,label:"Name",inputMode:"text",onCh
1ange:e=>es(i.NAME,e),onFocusOut:()=>em(w.name,"name")}),s.jsx(o.MOutlinedTextBox,{className:"moutlined-txtbx-default etf-outline-txt name-txtbx etf-select-scheme-txt",isError:(null==I?void 0:I.pan)!=void 0&&(null==I?void 0:I.pan)!="",errorMessage:null==I?void 0:I.pan,value:w.pan,label:"PAN Number",onChange:e=>{es(i.PAN,e)},onFocus:e=>{e.target.scrollIntoView({behavior:"smooth",block:"center"})},onFocusOut:()=>{em(w.pan,"pan")}}),s.jsxs("div",{className:"transaction-content",children:[s.jsx("label",{className:"lbl-txt-info-2",children:"Transaction Type"}),s.jsxs("div",{className:"transaction-type-option",children:[s.jsx("button",{id:"transaction-type-option-buy",className:"btn-primary ".concat(A===g.TRANSACTION_TYPE.BUY?"active":"inactive"),onClick:()=>R(g.TRANSACTION_TYPE.BUY),children:g.Invest_TYPE.BUY}),s.jsx("button",{id:"transaction-type-option-sell",className:"btn-primary ".concat(A===g.TRANSACTION_TYPE.SELL?"active":"inactive"),onClick:()=>R(g.TRANSACTION_TYPE.SELL),children:g.Invest_TYPE.SELL})]})]}),s.jsx(o.MOutlinedTextBox,{className:"moutlined-txtbx-default etf-outline-txt name-txtbx quantity-txtbx",disabled:!1,isError:(null==I?void 0:I.quantity)!==void 0&&(null==I?void 0:I.quantity)!=="",errorMessage:null==I?void 0:I.quantity,value:w.quantity,label:"Quantity",onChange:e=>es(i.QUANTITY,e),onFocus:e=>{e.target.scrollIntoView({behavior:"smooth",block:"center"})}}),s.jsxs("div",{className:(null==I?void 0:I.quantity)!==void 0&&(null==I?void 0:I.quantity)!==""?"lbl-txt-info-2":"approximate-value-lbl",children:["Approximate value*:",s.jsxs("label",{className:"lbl-amt",children:["₹",er()]})]})]}),s.jsxs("div",{className:"disclamier-content",children:[s.jsxs("div",{className:"lbl-error-txt-1",children:["Read Disclaimer",s.jsx("img",{fetchPriority:"low",src:u.pathChanger("down_arrow.svg"),alt:"Up Arrow",className:"arrow-icon ".concat(P?"rotate":""),onClick:()=>{F(!P)}})]}),s.jsxs("div",{className:"disclamier-body ".concat(P?"":"open"),children:[s.jsxs("div",{className:"lbl-txt-info-2",children:["This ETF transaction facility is only supported on broking platforms which have tie-up with small case Gateway. Supported brokers include AxisDirect, Groww, HDFC Securities, Zerodha, etc. To transact with any other brokers kindly, ",s.jsx("span",{onClick:()=>{W(!$)},children:"click here."})]}),s.jsx("div",{className:"lbl-txt-info-2",children:"* The NAV and Approximate value is based on the previous working day close and is only indicative in nature and should be only as reference. Actual transactions will be executed based on current market price prevailing while placing the order."})]})]})]})]}),s.jsx("div",{className:"etf-footer",children:s.jsx("button",{id:"etf-order-continue",type:"button",className:"btn-primary btn-add",onClick:()=>{m.processCAGRValue(null==U?void 0:U.lastClose),parseInt(null==w?void 0:w.quantity);let t=parseInt(null==w?void 0:w.quantity)||0;if(ea(w)&&0!==t&&!(t>g.NumberValue["5Crores"])&&!(w.name.length<3)){var l,n,i,s,a,o,r,c,d,h,v,p;eu();let t={page_section:null!==(a=m.getPathname())&&void 0!==a?a:"",user_type:Q,scheme_name:null!==(o=null==L?void 0:null===(l=L.schemeInfo)||void 0===l?void 0:l.schemeTitle)&&void 0!==o?o:"",scheme_category:null!==(r=null==L?void 0:null===(n=L.schemeInfo)||void 0===n?void 0:n.fundType)&&void 0!==r?r:"",scheme_sub_category:null!==(c=null==L?void 0:null===(i=L.schemeInfo)||void 0===i?void 0:i.planType)&&void 0!==c?c:"",investment_type:"NA",plan_option:null!==(d=null==L?void 0:null===(s=L.schemeInfo)||void 0===s?void 0:s.optionName)&&void 0!==d?d:"",day_parting:null!==(h=m.getDayParting(Z))&&void 0!==h?h:"",current_value:null!==(v=null==U?void 0:U.price)&&void 0!==v?v:"",category1:null!=A?A:"",category2:null!==(p=null==w?void 0:w.quantity)&&void 0!==p?p:"",category3:null==q?void 0:q.value};u.GoogleAnalytics.recordEvent(u.GoogleAnalyticEvents.Etf.ContinueClick(t)),e.isFromETFCart&&e.handleEtfClicked&&e.handleEtfClicked(),e.isetfEditClicked&&e.handleEditPopupClose&&e.handleEditPopupClose(),e.isotherETFFund&&e.handleCartClicked&&e.handleCartClicked(),x.pushPath(g.PAGES.ETF_CART)}},children:"Continue"})}),$?s.jsx(r.OverlayPopup,{className:"dialog-popup-content etf-order-term-popup",showHeader:!0,isFloating:!0,showCloseOption:!0,onClose:()=>W(!1),title:"Invest in Axis ETFs",content:s.jsx(v.DisclaimerPopup,{})}):""]})}},18336:function(e,t,l){var n=l(57437),i=l(9028);t.SubPageHeader=e=>n.jsx("div",{className:"subpage-header",children:n.jsx("div",{className:"content",children:n.jsxs("div",{className:"logo-holder",children:[n.jsx("img",{fetchPriority:"low",className:"back-button",src:i.whiteBackArrow,alt:"Menu Options",onClick:()=>{(null==e?void 0:e.handleEtfClicked)&&(null==e||e.handleEtfClicked()),(null==e?void 0:e.handleEditPopupClose)&&(null==e||e.handleEditPopupClose()),(null==e?void 0:e.handleCartClicked)&&(null==e||e.handleCartClicked()),(null==e?void 0:e.etfInvestNowClickClose)&&(null==e||e.etfInvestNowClickClose())}}),n.jsx("h1",{className:"lbl-page-heading",children:e.subHeading})]})})})},64439:function(e,t,l){var n=l(57437),i=l(4514),s=l(73797);t.EtfSearchCard=e=>{var t,l,a,o,r,c,d,u,h,v,m,p,f,g,x,b,y,N,j,E,C;let k=null==e?void 0:null===(l=e.schemes)||void 0===l?void 0:null===(t=l.cagrBenchmark)||void 0===t?void 0:t.cagr,S=null==e?void 0:null===(o=e.sc
1hemes)||void 0===o?void 0:null===(a=o.cagrBenchmark)||void 0===a?void 0:a.benchmark,w=s.bestOfcagrBenchmark(k,null==e?void 0:null===(r=e.schemes)||void 0===r?void 0:r.alphaYear),T=s.extractBenchmarkByPeriod(S,null==w?void 0:w.period),I=(null==w?void 0:w.value)<0?i.pathChanger("arrow_drop_down.svg"):i.pathChanger("uparrow_icon_green.svg"),_=(null==T?void 0:T.value)<0?i.pathChanger("arrow_drop_down.svg"):i.pathChanger("uparrow_icon_green.svg");return n.jsx("div",{className:"etf-scheme-card-container",children:n.jsxs("div",{className:"card-holder",children:[n.jsxs("div",{className:"card-header ".concat(e.isCardSelectedSchemeId==(null===(c=e.schemes)||void 0===c?void 0:c.schemeId)?"selected":""),onClick:()=>{var t;return e.handleSchemeId(null===(t=e.schemes)||void 0===t?void 0:t.schemeId)},children:[n.jsxs("div",{className:"title",children:[n.jsxs("div",{className:"tooltip",children:[n.jsx("div",{className:"lbl-txt-content ".concat(e.isCardSelectedSchemeId==(null===(d=e.schemes)||void 0===d?void 0:d.schemeId)?"selected":""),children:40>((null===(h=e.schemes)||void 0===h?void 0:null===(u=h.schemeTitle)||void 0===u?void 0:u.length)||0)?null===(v=e.schemes)||void 0===v?void 0:v.schemeTitle:"".concat(null===(p=e.schemes)||void 0===p?void 0:null===(m=p.schemeTitle)||void 0===m?void 0:m.slice(0,-10),"...")}),n.jsx("label",{className:"tooltiptext",children:null===(f=e.schemes)||void 0===f?void 0:f.schemeTitle})]}),n.jsx("input",{type:"radio",className:"radio-button",checked:e.isCardSelectedSchemeId==(null===(g=e.schemes)||void 0===g?void 0:g.schemeId),onChange:()=>{var t;return e.handleSchemeId(null===(t=e.schemes)||void 0===t?void 0:t.schemeId)}})]}),n.jsxs("div",{className:"scheme-type",children:[null===(x=e.schemes)||void 0===x?void 0:x.fundType,n.jsx("img",{fetchPriority:"low",className:"increase-price",src:null!==(E=null==e?void 0:null===(y=e.schemes)||void 0===y?void 0:null===(b=y.riskoMeter)||void 0===b?void 0:b.riskIcon)&&void 0!==E?E:"",alt:"riskIcon"}),n.jsx("label",{className:"scheme-type",children:null!==(C=null==e?void 0:null===(j=e.schemes)||void 0===j?void 0:null===(N=j.riskoMeter)||void 0===N?void 0:N.riskType)&&void 0!==C?C:""})]})]}),n.jsx("div",{className:"card-footer",children:n.jsxs("div",{className:"cagr-bench-container",children:[n.jsxs("div",{className:"cacgr-content",children:[n.jsxs("div",{className:"title",children:[n.jsx("label",{className:"lbl-txt-content",children:"CAGR"}),n.jsxs("div",{className:"lbl-txt-info-2",children:["(",null==w?void 0:w.period,")"]})]}),n.jsxs("div",{className:"title",children:[n.jsx("label",{className:"lbl-txt-info ".concat(s.getColorClass((null==w?void 0:w.value)!=="N/A"&&(null==w?void 0:w.value)?w.value:0)),children:(null==w?void 0:w.value)!=="N/A"?" ".concat(null==w?void 0:w.value,"% "):" ".concat(null==w?void 0:w.value," ")}),n.jsx("img",{fetchPriority:"low",className:"uparrow_svg",src:I,alt:"uparrow"})]})]}),n.jsxs("div",{className:"benchmark-content",children:[n.jsxs("div",{className:"title",children:[n.jsx("label",{className:"lbl-txt-content",children:"Benchmark Return"}),n.jsxs("div",{className:"lbl-txt-info-2",children:["(",null==T?void 0:T.period,")"]})]}),n.jsxs("div",{className:"title",children:[n.jsx("label",{className:"lbl-txt-info ".concat(s.getColorClass((null==T?void 0:T.value)!=="N/A"&&(null==T?void 0:T.value)?Number(T.value):0)),children:(null==T?void 0:T.value)!=="N/A"?" ".concat(null==T?void 0:T.value,"% "):" ".concat(null==T?void 0:T.value," ")}),n.jsx("img",{fetchPriority:"low",className:"uparrow_svg",src:_,alt:"uparrow"})]})]})]})})]})})}},24628:function(e,t,l){var n=l(57437),i=l(2265),s=l(15192),a=l(4514),o=l(7501),r=l(9028),c=l(73797),d=l(62988),u=l(64439),h=l(73688);let v={includeScore:!0,threshold:.2,keys:["schemeTitle"]};t.EtfSearchScheme=e=>{let t=i.useRef(null),[l,m]=i.useState(""),[p,f]=i.useState(""),[g,x]=i.useState([]),[b,y]=i.useState([]),[N,j]=i.useState(!0),{cart:E}=o.useETFCart();i.useEffect(()=>{S()},[]),i.useEffect(()=>{l&&0!=b.length?w(new h.default(b,v).search(l).map(e=>e.item).filter(e=>e.fundType===r.SCHEME_TYPE.Etf)):w(b.filter(e=>
1e.fundType===r.SCHEME_TYPE.Etf))},[l,b]);let C=e=>{var t;m((null!==(t=c.replaceSchemeSearchValidate(e))&&void 0!==t?t:"").slice(0,200))},k=e=>{f(e)};i.useEffect(()=>{var t,l;f(null===(l=e.selectedScheme)||void 0===l?void 0:null===(t=l.schemeInfo)||void 0===t?void 0:t.schemeId)},[]);let S=()=>{d.placeGetAllSchemesList({default:e=>{j(!1)},success:e=>{j(!1),y(e.data.schemeInfo),w([...e.data.schemeInfo].filter(e=>e.fundType===r.SCHEME_TYPE.Etf))}})},w=async e=>{if(E){let t=[...E].map(e=>{var t;return null==e?void 0:null===(t=e.schemeInfo)||void 0===t?void 0:t.ticker});x(e.filter(e=>!t.includes(null==e?void 0:e.ticker)))}else x(e)};return n.jsxs("div",{className:"search-etf-scheme-container",children:[n.jsx(s.Loader,{showLoader:N}),n.jsx("div",{className:"lbl-card-title-2 web-only",children:"Search"}),n.jsx("div",{className:"lbl-card-title-2 mobile-only",children:"Select scheme"}),n.jsxs("div",{className:"etf-body",children:[n.jsxs("div",{className:"search-box",children:[n.jsx("input",{ref:t,type:"text",className:"search-scheme-input",placeholder:"Search Scheme",value:l,onChange:e=>C(e.target.value),onKeyDown:t=>{"Enter"===t.key&&e.onEnterPress&&e.onEnterPress()},onFocus:e.onFocus,onBlur:e.onBlur}),n.jsx("div",{className:"icon",children:n.jsx("img",{fetchPriority:"low",src:a.pathChanger("searchicon.svg"),onClick:()=>{var e;return null==t?void 0:null===(e=t.current)||void 0===e?void 0:e.focus()},alt:"search",className:"search-icon"})})]}),N?"":g.length>0?n.jsx("div",{className:"etf-scheme-list",children:g.map((e,t)=>n.jsx(u.EtfSearchCard,{SelectedIndex:e.schemeId,isCardSelectedSchemeId:p,handleSchemeId:k,schemes:e},t))}):n.jsx("div",{className:"etf-search-key",children:"No result Found. Try another keyword to search!"})]}),n.jsx("div",{className:"etf-search-footer",children:n.jsx("button",{id:"etf-search-continue",type:"button",className:"btn-primary btn-search ".concat(p?"":"disabled"),onClick:()=>{if(!p)return;(null==e?void 0:e.isETFCart)&&((null==e?void 0:e.handleETFContinueClicked)&&(null==e||e.handleETFContinueClicked()),(null==e?void 0:e.handleEtfClicked)&&(null==e||e.handleEtfClicked())),e.setIsChangedClicked&&e.setIsChangedClicked(!1);let t=null==b?void 0:b.find(e=>e.schemeId===p);t&&(null==e?void 0:e.handleSchemeId)&&e.handleSchemeId(t)},children:"Continue"})})]})}},31039:function(e,t,l){var n=l(57437),i=l(2265),s=l(44452),a=l(42152),o=l(4514),r=l(9028),c=l(7501),d=l(42949),u=l(49232),h=l(73797),v=l(39123),m=l(52018),p=l(74398),f=l(81784),g=l(24628),x=l(38164),b=l(7122),y=l(38941);t.EtfCartSection=()=>{var e,t;let[l,N]=i.useState(!1),[j,E]=i.useState(!1),[C,k]=i.useState(!1),[S,w]=i.useState(!1),[T,I]=i.useState(!1),[_,A]=i.useState(!1),[R,P]=i.useState(!1),[F,M]=i.useState(!1),[D,L]=i.useState(!1),[O,U]=i.useState(!1),[B,q]=i.useState([]),[G,H]=i.useState(!1),[V,$]=i.useState(""),[W,Y]=i.useState(""),[J,K]=i.useState({sumBuy:0,sumSell:0,difference:0}
1),[z,X]=i.useState(),[Q,Z]=i.useState(void 0),ee=d.useLoginContextData(),et=null!==(t=null===(e=ee.loggedInUserDetails)||void 0===e?void 0:e.user_type)&&void 0!==t?t:"na",el=new Date().getHours(),en=ee.isUserLoggedIn(),{cart:ei,setETFCart:es,clearETFCart:ea}=c.useETFCart();i.useEffect(()=>{ei&&(q(ei),K(h.calculateDifference(ei)))},[ei]),i.useEffect(()=>{eo()},[]),i.useEffect(()=>{B.length?L(!1):L(!0)},[B.length]),i.useEffect(()=>{if(B.length>0){var e,t,l,n,i,s,a,r,c,d,u,v,m,p,f,g,x,b,y,N,j,E;let C={page_section:null!==(f=h.getPathname())&&void 0!==f?f:"",user_type:et,day_parting:null!==(g=h.getDayParting(el))&&void 0!==g?g:"",scheme_name:null!==(x=null==B?void 0:null===(t=B[0])||void 0===t?void 0:null===(e=t.schemeInfo)||void 0===e?void 0:e.schemeTitle)&&void 0!==x?x:"",scheme_category:null!==(b=null==B?void 0:null===(n=B[0])||void 0===n?void 0:null===(l=n.schemeInfo)||void 0===l?void 0:l.fundType)&&void 0!==b?b:"",scheme_sub_category:null!==(y=null==B?void 0:null===(s=B[0])||void 0===s?void 0:null===(i=s.schemeInfo)||void 0===i?void 0:i.planType)&&void 0!==y?y:"",investment_type:"NA",plan_option:null!==(N=null==B?void 0:null===(r=B[0])||void 0===r?void 0:null===(a=r.schemeInfo)||void 0===a?void 0:a.optionName)&&void 0!==N?N:"",current_value:null!==(j=null==B?void 0:null===(d=B[0])||void 0===d?void 0:null===(c=d.schemeInfo)||void 0===c?void 0:c.price)&&void 0!==j?j:"",category1:null==B?void 0:null===(u=B[0])||void 0===u?void 0:u.investmentType,category2:null==B?void 0:null===(v=B[0])||void 0===v?void 0:v.quantity,category3:null!==(E=null==B?void 0:null===(p=B[0])||void 0===p?void 0:null===(m=p.schemeInfo)||void 0===m?void 0:m.schemeTitle)&&void 0!==E?E:""};o.GoogleAnalytics.recordEvent(o.GoogleAnalyticEvents.Etf.EtfAdded(C))}},[B]);let eo=async()=>{let e=await o.LocalStorage.instance.etfCart.get();if(""!==e){let t=JSON.parse(e);es(t),q(t),K(h.calculateDifference(t))}},er=e=>{Z(e)},ec=()=>{k(!C)},ed=e=>{e&&($(e),w(!S))},eu=()=>{var e,t,l;7==B.length?null===(e=ee.triggerLoginToast)||void 0===e||e.call(ee,{message:r.ERROR_MSG.ETFCartMessage,isSuccess:!1}):P(!R);let n={page_section:null!==(t=h.getPathname())&&void 0!==t?t:"",user_type:et,day_parting:null!==(l=h.getDayParting(el))&&void 0!==l?l:"",cta_name:"add new etf",page_sub_section:"etf cart"};o.GoogleAnalytics.recordEvent(o.GoogleAnalyticEvents.Etf.AddNewEtfClick(n))},eh=async()=>{var e;let t=await o.LocalStorage.instance.loginData.get(),l=t?JSON.parse(t):null,n=h.formatInitiateTransactionReq(null!=ei?ei:[],null!==(e=null==l?void 0:l.username)&&void 0!==e?e:null);v.placeETFInitiateTransaction({default:e=>{},success:ev},n)},ev=e=>{if(null==e?void 0:e.data){let t=e.data;window.scDK?new window.scDK({gateway:t.gatewayName,smallcaseAuthToken:t.smallCaseAuthToken,config:{amo:!1}}).triggerTransaction({transactionId:null==t?void 0:t.transactionId}).then(async e=>{var t,l;let n=null==e?void 0:null===(l=e.orderBatches[0])||void 0===l?void 0:null===(t=l.status)||void 0===t?void 0:t.toUpperCase();e&&n&&["PLACED","COMPLETED","MARKEDCOMPLETE","UNPLACED"].includes(n)?(b.processETFOrderDetails({txnResponse:e,paymentStatus:"UNPLACED"===n?"failure":"success",etfData:B}),setTimeout(()=>{q([]),ea()},2e3)):console.error("Empty response or missing data field")}).catch(e=>{var t,l,n;if(console.error("received error:",e.message),"market_closed"===e.message){let e=new Date,n=0===e.getDay()||6===e.getDay(),i=new Date(e);i.setHours(9,15,0,0);let s=new Date(e);s.setHours(15,30,0,0),n||e>=i&&e<=s?null===(t=ee.triggerLoginToast)||void 0===t||t.call(ee,{message:r.ERROR_MSG.ETFMarketHoliday,isSuccess:!1}):null===(l=ee.triggerLoginToast)||void 0===l||l.call(ee,{message:r.ERROR_MSG.ETFMarketClosed,isSuccess:!1})}else null===(n=ee.triggerLoginToast)||void 0===n||n.call(ee,{message:e.message,isSuccess:!1})}):console.error("window.scDK is not defined",t)}},em=(null==J?void 0:J.sumBuy)>1e6&&(null==J?void 0:J.sumSell)>1e6;return n.jsxs("div",{className:"cart-section",children:[n.jsxs("div",{className:B.length>0?"cart-section-content":"cart-section-content empty-cart",children:[B.length>0?B.map(e=>n.jsx(m.EtfItemCard,{handleEditPopup:er,handleDeletePopup:ed,etfcart:e,handleEditPopupClose:ec},e.id)):n.jsx("div",{className:"empty-cart-section",children:n.jsxs("div",{className:"empty-header-content",children:[n.jsx("img",{fetchPriority:"low",src:o.pathChanger("empty_cart.svg"),alt:"emptycart"}),n.jsx("div",{className:"lbl-list-heading",children:"No fund in the cart"}),n.jsx("div",{className:"lbl-txt-content",children:"Please add a fund to make the ETF Transaction"})]})}),n.jsx("div",{className:"add-etf-btn",children:n.jsx("button",{id:"add-new-etf",className:"etf-add-btn btn-outline-primary",type:"button",onClick:eu,children:"Add New ETF"})})]}),n.jsxs("div",{className:"cart-section-footer",children:[n.jsxs("div",{className:"header ".concat(em?"large-amount":""),children:[n.jsxs("label",{className:"lbl-txt-content etf-web",children:["Total Approximate Amou
1nt *",n.jsxs("div",{className:"lbl-card-title-2",children:["₹",h.convertCommaSeparated(String(J.difference),2)]})]}),!em&&n.jsxs("label",{className:"lbl-txt-content etf-mobile",children:["Total Approx. Amount *",n.jsxs("div",{className:"lbl-card-title-2",children:["₹",h.convertCommaSeparated(String(J.difference),2)]})]}),n.jsxs("label",{className:"lbl-txt-content",children:["Debit* ",n.jsxs("div",{className:"lbl-card-title-2",children:["₹",h.convertCommaSeparated(String(J.sumBuy),2)]})]}),n.jsxs("label",{className:"lbl-txt-content",children:["Credit* ",n.jsxs("div",{className:"lbl-card-title-2",children:["₹",h.convertCommaSeparated(String(J.sumSell),2)]})]}),em&&n.jsxs("label",{className:"lbl-txt-content etf-mobile total-amount-separator",children:["Total Approximate Amount *",n.jsxs("div",{className:"lbl-card-title-2",children:["₹",h.convertCommaSeparated(String(J.difference),2)]})]})]}),n.jsx("div",{className:j?"terms-and-conditions expanded":"terms-and-conditions",children:n.jsxs("div",{className:"entire-container",children:[n.jsxs("div",{className:"terms-container",children:[n.jsx(a.ConsentInputCheckbox,{className:"reg-consent-checkbox-agree-all regular-consent-checkbox-acceptcheckbox",disabled:!1,isError:!1,isSelected:l,title:"I agree to all Terms & Conditions mentioned below",onChange:()=>{M(!1),N(!l)}}),n.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:j?"rotate":"",onClick:()=>E(!j),children:n.jsx("path",{d:"M3.40258e-07 1.20594L6 8L12 1.20595L10.935 -6.28104e-08L6 5.58811L1.065 -6.44912e-07L3.40258e-07 1.20594Z",fill:"#97144D"})})]}),F?n.jsx("label",{className:"lbl-txt-info-2 terms-and-conditions-error",children:W}):null,n.jsxs("div",{className:"setof-terms-container",children:[n.jsxs("div",{className:"lbl-txt-info-2",children:["I/We have read, understood & accepted the terms of ",n.jsxs("a",{href:y.BASE_URLS.SERVICE_URL+r.ETF_Terms.additionalInformation,target:"_blank",rel:"noopener noreferrer","aria-label":u.getAriaLabelFromUrl(y.BASE_URLS.SERVICE_URL+r.ETF_Terms.additionalInformation,"Statement of Additional Information"),children:[" ",n.jsx("span",{children:"Statement of Additional Information"})]})," of Axis Mutual Fund (‘AMF’) and",n.jsxs("a",{href:y.BASE_URLS.SERVICE_URL+r.ETF_Terms.schemeInformation,target:"_blank",rel:"noopener noreferrer","aria-label":u.getAriaLabelFromUrl(y.BASE_URLS.SERVICE_URL+r.ETF_Terms.schemeInformation,"Scheme Information Document"),children:[" ",n.jsx("span",{children:"Scheme Information Document"})]})," of scheme(s) of AMF,",n.jsx("a",{href:y.BASE_URLS.SERVICE_URL+r.ETF_Terms.keyInformationMemorandum,target:"_blank",rel:"noopener noreferrer","aria-label":u.getAriaLabelFromUrl(y.BASE_URLS.SERVICE_URL+r.ETF_Terms.keyInformationMemorandum,"Key Information Memorandum"),children:n.jsx("span",{children:" Key Information Memorandum"})})," of scheme(s) of AMF,",n.jsx("a",{href:y.BASE_URLS.SERVICE_URL+r.ETF_Terms.termsAndCondition,target:"_blank",rel:"noopener noreferrer","aria-label":"Terms and Conditions",children:n.jsx("span",{children:" Terms and Conditions "})}),"of Electronic Transactions and Privacy Policy and confirm the Declarations given herewith."]}),n.jsx("div",{className:"lbl-txt-info-2",children:"I understand that the ETF transaction will be carried out on third party website."}),n.jsxs("div",{className:"lbl-txt-info-2",children:[n.jsx("span",{className:"disclaimer-click-popup-text",onClick:()=>U(!0),children:"Click here"})," to read full terms and conditions."]}),n.jsx("div",{className:"lbl-txt-info-2",children:"*The NAV and Approximate value is based on the previous working day close and is only indicative in nature and should be only as reference. Actual transactions will be executed based on current market price prevailing while placing the order."})]})]})}),n.jsx("div",{className:"footer-btn",children:n.jsx("button",{id:"etf-cart-proceed",type:"button",disabled:D,className:"btn-primary btn-add",onClick:()=>{var e,t;if(!l){M(!0),Y("Terms and conditions should be clicked");return}en?eh():null===(e=ee.triggerLogin)||void 0===e||e.call(ee,!0);let n=B.filter(e=>e.id!=V),i=null==n?void 0:n.map((e,t)=>{var l,n,i,s,a,o,r,c,d,u,h,v,m,p,f,g,x,b,y,N,j,E;return{item_id:null!==(h=null===(l=e.schemeInfo)||void 0===l?void 0:l.schemeId)&&void 0!==h?h:"",item_name:null!==(v=null===(n=e.schemeInfo)||void 0===n?void 0:n.schemeTitle)&&void 0!==v?v:"",coupon:"NA",discount:0,index:t,item_category:null!==(m=null==e?void 0:e.investmentType)&&void 0!==m?m:"",item_category2:null!==(p=null==e?void 0:e.quantity)&&void 0!==p?p:"",item_category3:null!==(f=null==e?void 0:null===(i=e.schemeInfo)||void 0===i?void 0:i.fundType)&&void 0!==f?f:"",item_category4:null!==(g=null==e?void 0:null===(s=e.schemeInfo)||void 0===s?void 0:s.planType)&&void 0!==g?g:"",item_category5:null!==(x=null==e?void 0:null===(a=e.sc
1hemeInfo)||void 0===a?void 0:a.optionName)&&void 0!==x?x:"",item_category6:null!==(b=null==e?void 0:e.investmentType)&&void 0!==b?b:"",item_category7:null!==(y=null==e?void 0:null===(r=e.schemeInfo)||void 0===r?void 0:null===(o=r.cards[4])||void 0===o?void 0:o.value)&&void 0!==y?y:"",item_list_id:null!==(N=null===(c=e.schemeInfo)||void 0===c?void 0:c.schemeId)&&void 0!==N?N:"",item_list_name:null!==(j=null===(d=e.schemeInfo)||void 0===d?void 0:d.schemeTitle)&&void 0!==j?j:"",price:null!==(E=null===(u=e.schemeInfo)||void 0===u?void 0:u.price)&&void 0!==E?E:"",location_id:"NA"}}),s={page_section:null!==(t=h.getPathname())&&void 0!==t?t:"",user_type:et,ecommerce:{currency:"INR",value:"NA",items:i}};o.GoogleAnalytics.recordEvent(o.GoogleAnalyticEvents.Etf.ProceedClick(s))},children:"Proceed"})})]}),S?n.jsx(s.OverlayPopup,{className:"dialog-popup-content",showHeader:!1,isFloating:!0,showCloseOption:!0,onClose:()=>w(!1),content:n.jsx(p.EtfDeletePopup,{handleDeletePopupConfirmClicked:()=>{let e=B.filter(e=>e.id!=V);es(e),q(e),I(!T),w(!1)},handleDeletePopupNoClicked:()=>{A(!_),w(!1)}})}):"",C?n.jsx(s.OverlayPopup,{className:"dialog-popup-content m-full-screen etf-index-popup",showHeader:!1,isFloating:!0,showCloseOption:!1,onClose:()=>{k(!1)},content:n.jsx(f.EtfOrderPopup,{selectedSchemeData:Q,isetfEditClicked:!0,handleEditPopupClose:ec})}):"",R?n.jsx(s.OverlayPopup,{className:"dialog-popup-content etf-search-popup",showHeader:!1,isFloating:!0,showCloseOption:!0,onClose:()=>{P(!1)},content:n.jsx(g.EtfSearchScheme,{handleSchemeId:e=>{X(t=>({...t,schemeInfo:e}))},isETFCart:!0,handleEtfClicked:eu,handleETFContinueClicked:()=>{H(!G)}})}):"",G?n.jsx(s.OverlayPopup,{className:"dialog-popup-content m-full-screen etf-index-popup",showHeader:!1,isFloating:!0,showCloseOption:!1,onClose:()=>H(!1),content:n.jsx(f.EtfOrderPopup,{selectedSchemeData:z,isFromETFCart:!0,handleEtfClicked:()=>H(!1)})}):"",O?n.jsx(s.OverlayPopup,{className:"dialog-popup-content m-full-screen etf-index-popup",showHeader:!1,isFloating:!0,showCloseOption:!1,onClose:()=>U(!1),content:n.jsx(x.EtfTeamAndConditionPopup,{setIsTermsAndConditionClickHere:()=>U(!1)})}):""]})}},74398:function(e,t,l){var n=l(57437);t.EtfDeletePopup=e=>n.jsxs("div",{className:"delete-container",children:[n.jsxs("div",{className:"header-content",children:[n.jsx("div",{className:"lbl-popup-heading-1 delete-btn",children:"Confirm Delete"}),n.jsx("div",{className:"lbl-txt-content",children:"Are you sure you want to remove the scheme from the cart ?"})]}),n.jsxs("div",{className:"footer-content",children:[n.jsx("button",{id:"etf-delete-popup-no",className:"etf-delete-popup-no-btn btn-outline-primary",type:"button",onClick:e.handleDeletePopupNoClicked,children:"No"}),n.jsx("button",{id:"etf-delete-popup-yes",className:"etf-delete-popup-yes-btn btn-primary",type:"button",onClick:e.handleDeletePopupConfirmClicked,children:"Yes, confirm"})]})]})},44438:function(e,t,l){var n=l(57437),i=l(2265),s=l(7501),a=l(9028),o=l(62988),r=l(95173),c=l(34894);t.EtfFunds=()=>{let[e,t]=i.useState([]),[l,d]=i.useState([]),{cart:u}=s.useETFCart();i.useEffect(()=>{h()},[]);let h=()=>{o.placeGetAllSchemesList({default:e=>{console.error(e)},success:e=>{t(e.data.schemeInfo)}})},v=i.useMemo(()=>{let t=null==u?void 0:u.map(e=>{var t;return null===(t=e.schemeInfo)||void 0===t?void 0:t.schemeTitle});return(null==e?void 0:e.filter(e=>(null==t||!t.includes(e.schemeTitle))&&e.fundType===a.SCHEME_TYPE.Etf)).slice(0,2)},[e,u]);i.useEffect(()=>{m();let e=setInterval(m,4e3);return()=>clearInterval(e)},[v]);let m=()=>{let e=null==v?void 0:v.map(e=>e.ticker);c.placeGetINavDetails({default:e=>{},success:p},{ticker:e})},p=e=>{if(null==e?void 0:e.data){let t=[...v];null==e||e.data.forEach(e=>{t.forEach((l,n)=>{if(e.title===l.ticker){t[n].price=e.price,t[n].lastUpdatedTime=e.time;return}})}),d(t)}};return n.jsxs("div",{className:"other-fund-container",children:[n.jsx("div",{className:"lbl-banner-heading",children:"Other ETF Funds"}),n.jsx("div",{className:"other-etf-list",children:null==v?void 0:v.map((e,t)=>n.jsx(r.EtfOtherFundCard,{etffunds:e},t))})]})}},52018:function(e,t,l){var n=l(57437),i=l(2265),s=l(4514),a=l(73797);t.EtfItemCard=e=>{var t,l,o;let[r,c]=i.useState(void 0),[d,u]=i.useState(void 0),[h,v]=i.useState({});i.useEffect(()=>{p(),m()},[]);let m=()=>{var t,l,n,i,s;let o=null==e?void 0:null===(n=e.etfcart)||void 0===n?void 0:null===(l=n.schemeInfo)||void 0===l?void 0:null===(t=l.cagrBenchmark)||void 0===t?void 0:t.benchmark;if(!o||0===o.length)return;let r=a.bestOfcagrBenchmark(o,null===(s=e.etfcart)||void 0===s?void 0:null===(i=s.schemeInfo)||void 0===i?void 0:i.alphaYear);u({value:r.value,period:r.period})},p=()=>{var t,l,n,i;let s=null==e?void 0:null===(l=e.etfcart.schemeInfo)||void 0===l?void 0:null===(t=l.cagrBenchmark)||void 0===t?void 0:t.cagr;
1if(!s||0===s.length)return;let o=a.bestOfcagrBenchmark(s,null===(i=e.etfcart)||void 0===i?void 0:null===(n=i.schemeInfo)||void 0===n?void 0:n.alphaYear);c({value:o.value,period:o.period})},f=e=>{v(t=>({...t,[e]:!t[e]}))};return n.jsxs("div",{className:"etf-card-item-container",children:[n.jsxs("div",{className:"leftsection",children:[n.jsxs("div",{className:"header",children:[n.jsx("div",{className:"lbl-banner-sub-heading",children:null==e?void 0:null===(t=e.etfcart.schemeInfo)||void 0===t?void 0:t.schemeTitle}),n.jsxs("div",{className:"lbl-menu-item",children:["CAGR:",n.jsx("label",{className:"lbl-txt-info ".concat(a.getColorClass((null==r?void 0:r.value)!=="N/A"&&(null==r?void 0:r.value)?Number(r.value):0)),children:(null==r?void 0:r.value)!=="N/A"?" ".concat(null==r?void 0:r.value,"% "):" ".concat(null==r?void 0:r.value," ")}),n.jsxs("span",{className:"lbl-txt-content",children:["(",null==r?void 0:r.period,")"]}),n.jsxs("span",{className:"tooltip-container-etf",children:[n.jsx("img",{fetchPriority:"low",src:s.pathChanger("infoicon.svg"),alt:"info",onClick:()=>f("return"),className:"info-icon"}),n.jsxs("label",{className:"tooltiptext-etf ".concat(h.return?"visible":""),children:["Benchmark Return: ",n.jsxs("strong",{children:[null==d?void 0:d.value," %"]})]})]})]})]}),n.jsxs("div",{className:"edit-delete-content",children:[n.jsxs("div",{className:"edit",onClick:()=>{null==e||e.handleEditPopup(null==e?void 0:e.etfcart),null==e||e.handleEditPopupClose()},children:[n.jsx("img",{fetchPriority:"low",className:"cart-info-icon ",src:s.pathChanger("cart_edit.svg"),alt:"cart-info-icon"}),n.jsx("div",{className:"lbl-primary-txt-content",children:"Edit"})]}),n.jsxs("div",{className:"delete",onClick:()=>e.handleDeletePopup(e.etfcart.id),children:[n.jsx("img",{fetchPriority:"low",className:"cart-info-icon ",src:s.pathChanger("delete.svg"),alt:"cart-info-icon"}),n.jsx("div",{className:"lbl-primary-txt-content",children:"Delete"})]})]})]}),n.jsxs("div",{className:"rightsection",children:[n.jsxs("div",{className:"invest-content",children:[n.jsx("div",{className:"lbl-menu-item",children:"Investment type"}),n.jsx("div",{className:"lbl-popup-heading-1",children:null==e?void 0:null===(l=e.etfcart)||void 0===l?void 0:l.investmentType})]}),n.jsxs("div",{className:"quantity",children:[n.jsx("div",{className:"lbl-menu-item",children:"Quantity"}),n.jsx("div",{className:"lbl-popup-heading-1",children:null==e?void 0:null===(o=e.etfcart)||void 0===o?void 0:o.quantity})]}),n.jsxs("div",{className:"approximate-value",children:[n.jsx("div",{className:"lbl-menu-item",children:"Approximate value*"}),n.jsxs("div",{className:"lbl-popup-heading-1",children:["₹",e.etfcart.approximateValue]})]})]})]})}},95173:function(e,t,l){var n=l(57437),i=l(2265),s=l(44452),a=l(4514),o=l(81784),r=l(42949),c=l(73797),d=l(7501),u=l(9028),h=l(81785);t.EtfOtherFundCard=e=>{var t,l,v,m,p,f,g,x,b,y,N,j,E,C,k,S,w,T,I,_,A,R,P,F,M,D,L,O,U,B,q;let[G,H]=i.useState({}),[V,$]=i.useState(!1),[W,Y]=i.useState(!1),J=null==e?void 0:null===(l=e.etffunds)||void 0===l?void 0:null===(t=l.cagrBenchmark)||void 0===t?void 0:t.cagr,K=null==e?void 0:null===(m=e.etffunds)||void 0===m?void 0:null===(v=m.cagrBenchmark)||void 0===v?void 0:v.benchmark,z=c.bestOfcagrBenchmark(J,null===(p=e.etffunds)||void 0===p?void 0:p.alphaYear),X=c.extractBenchmarkByPeriod(K,z.period),Q=r.useLoginContextData(),Z=null!==(B=null===(f=Q.loggedInUserDetails)||void 0===f?void 0:f.user_type)&&void 0!==B?B:"na",ee=new Date().getHours(),{cart:et}=d.useETFCart(),el=e=>{H(t=>({...t,[e]:!t[e]}))};return n.jsxs("div",{className:"etf-fund-card-container",children:[n.jsxs("div",{className:"card-header",children:[n.jsx("div",{className:"top"}),n.jsx("div",{className:"lbl-txt-info-7",children:null==e?void 0:null===(g=e.etffunds)||void 0===g?void 0:g.schemeTitle}),n.jsxs("div",{className:"sub-title",children:[n.jsx("label",{className:"lbl-primary-txt-content2",children:null==e?void 0:null===(x=e.etffunds)||void 0===x?void 0:x.fundType}),n.jsx("img",{fetchPriority:"low",src:null!==(q=null==e?void 0:null===(y=e.etffunds)||void 0===y?void 0:null===(b=y.riskoMeter)||void 0===b?void 0:b.riskIcon)&&void 0!==q?q:"",alt:"info",className:"risk-icon",style:{cursor:"pointer"},onClick:()=>Y(!0)}),n.jsx("label",{className:"lbl-primary-txt-content2",children:null==e?void 0:null===(j=e.etffunds)||void 0===j?void 0:null===(N=j.riskoMeter)||void 0===N?void 0:N.riskType})]})]}),n.jsx("div",{className:"body-section",children:n.jsxs("div",{className:"card-body",children:[n.jsxs("div",{className:"return-content",children:[n.jsx("label",{className:"lbl-txt-content",children:"Returns :"}),n.jsxs("label",{className:"lbl-success-txt-3",children:[null==z?void 0:z.value,"%"]}),n.jsxs("label",{className:"lbl-input-heading",children:["(",null==z?void 0:z.period,")",n.jsxs("span",{className:"tooltip-container-etf",children:[n.jsx("img",{fetchPriority:"low",src:a.pathChanger("infoicon.svg"),alt:"info",onClick:()=>el("return"),className:"info-icon"}),n.jsxs("label",{className:"tooltiptext-etf ".concat(G.return?"visible":""),children:["Benchmark Return: ",n.jsxs("strong",{children:[null==X?void 0:X.value," %"]})]})]})]})]}),n.jsxs("div",{className:"ratio-content",children:[n.jsx("div",{className:"lbl-menu-items",children:"".concat(null==e?void 0:null===(k=e.etffunds)||void 0===k?void 0:null===(C=k.cards)||void 0===C?void 0:null===(E=C[0])||void 0===E?void 0:E.title," ( ").concat(null==e?void 0:null===(T=e.etffunds)||void 0===T?void 0:null===(w=T.cards)||void 0===w?void 0:null===(S=w[0])||void 0===S?void 0:S.date," )")}),n.jsx("div",{className:"lbl-menu-items",children:"Current iNav"})]}),n.jsxs("div",{className:"ratio-value-content",children:[n.jsx("label",{className:"lbl-sub-heading2",children:null==e?void 0:null===(A=e.etffunds)||void 0===A?void 0:null===(_=A.cards)||void 0===_?void 0:null===(I=_[0])||void 0===I?void 0:I.value}),n.jsx("label",{className:"lbl-sub-heading2",children:(null==e?void 0:null===(R=e.etffunds)||void 0===R?void 0:R.price)&&"".concat(null==e?void 0:null===(P=e.etffunds)||void 0===P?void 0:P.price)})]}),n.jsx("div",{className:"lbl-txt-info-5",children:n.jsx("label",{children:(null==e?void 0:null===(F=e.etffunds)||void 0===F?void 0:F.lastUpdatedTime)&&c.formatDate(null==e?void 0:null===(M=e.etffunds)||void 0===M?void 0:M.lastUpdatedTime)})})]})}),n.jsx("div",{className:"card-footer",children:n.jsx("button",{id:"etf-
1add-cart",type:"button",className:"btn-primary",onClick:()=>{var e,t,l;if((null==et?void 0:et.length)===7)null===(e=Q.triggerLoginToast)||void 0===e||e.call(Q,{message:u.ERROR_MSG.ETFCartMessage,isSuccess:!1});else{$(!V);let e={page_section:null!==(t=c.getPathname())&&void 0!==t?t:"",user_type:Z,day_parting:null!==(l=c.getDayParting(ee))&&void 0!==l?l:"",cta_name:"add to cart",page_sub_section:"other etf fund"};a.GoogleAnalytics.recordEvent(a.GoogleAnalyticEvents.Etf.AddNewEtfClick(e))}},children:"Add to Cart"})}),V?n.jsx(s.OverlayPopup,{className:"dialog-popup-content m-full-screen etf-index-popup",showHeader:!1,isFloating:!0,showCloseOption:!1,onClose:()=>$(!1),content:n.jsx(o.EtfOrderPopup,{selectedSchemeData:null==e?void 0:e.etffunds,isotherETFFund:!0,etfTicker:null==e?void 0:null===(D=e.etffunds)||void 0===D?void 0:D.ticker,handleCartClicked:()=>$(!1)})}):"",W?n.jsx(s.OverlayPopup,{className:"dialog-popup-default risk-pop-up",showHeader:!1,isFloating:!1,onClose:()=>Y(!1),content:n.jsx(h.RiskoMeter,{riskometerDetails:null==e?void 0:null===(O=e.etffunds)||void 0===O?void 0:null===(L=O.riskoMeter)||void 0===L?void 0:L.riskometerDetails,riskoMeter:null==e?void 0:null===(U=e.etffunds)||void 0===U?void 0:U.riskoMeter})}):""]})}},38164:function(e,t,l){var n=l(57437),i=l(9028);t.EtfTeamAndConditionPopup=e=>n.jsxs("div",{className:"etf-term-and-condition-container",children:[n.jsx("div",{className:"lbl-card-title-2 web-only",children:"Terms and conditions"}),n.jsx("div",{className:"mobile-only",children:n.jsx("div",{className:"subpage-header",children:n.jsx("div",{className:"content",children:n.jsxs("div",{className:"logo-holder",children:[n.jsx("img",{fetchPriority:"low",className:"back-button",src:i.whiteBackArrow,alt:"Menu Options",onClick:()=>null==e?void 0:e.setIsTermsAndConditionClickHere()}),n.jsx("h1",{className:"lbl-page-heading",children:"Terms and conditions"})]})})})}),n.jsxs("div",{className:"etf-body",children:[n.jsx("p",{children:"On clicking submit you will be leaving Axis Mutual Fund’s website and going to a website that is not operated by Axis Mutual Fund. Axis Mutual Fund is not responsible for the content or availability of linked sites."}),n.jsx("p",{children:"Before making any investments, the readers are advised to seek independent professional advice, verify the contents in order to arrive at an informed investment decision."}),n.jsx("p",{children:"Mutual Fund investments are subject to market risks, read all scheme related documents carefully."}),n.jsx("p",{children:n.jsx("b",{children:"ABOUT THIRD PARTY LINKS ON OUR SITE"})}),n.jsx("p",{children:"The external links provided in our website to the depository participant’s website are provided solely for your convenience and may assist you in investing in ETFs. These links are provided only as a convenience, in order to help you find relevant websites, services and/or products that may be of interest to you, quickly and easily. It is your responsibility to decide whether any services and/or products available through any of these websites are suitable for your purposes. When you click on these links you will leave the Axis Mutual Fund’s website and will be redirected to another site. These sites are not under the control of Axis Mutual Fund."}),n.jsx("p",{children:"Axis Mutual Fund is not responsible for the content of linked third party websites. We are not an agent for these third parties nor do we endorse or guarantee their products."}),n.jsx("p",{children:"If you decide to visit any such site, you do so at your own risk and it is your responsibility to take all protective measures including the services offered by such third party as per your requirement. We make no representation or warranty regarding the accuracy of the information contained in the linked sites. None of the Sponsor, the Investment Manager, the Trustee, their respective directors, employees, affiliates or representatives shall be liable in any way for any direct, indirect, special, incidental, consequential, punitive or exemplary damages, including on account of lost profits arising from the information contained in this material."}),n.jsx("p",{children:"We suggest that you always verify the information obtained from linked websites before acting upon this information. Also, please be aware that the security and privacy policies on these sites may be different than Axis Mutual Fund’s policies, so please read third party privacy and security policies closely. If you have any questions or concerns about the products and services offered on linked third party websites, please contact the third party directly."}),n.jsx("p",{children:"Investors are requested to take note of the spreads at which the ETFs are trading on stock exchange(s) in order to make a judicious decision prior to the execution of the transaction. The spreads can be easily calculated by comparing the iNAV of the ETF (as available on our website) to the bid/ask prices of the respective ETF as available on the exchange(s)."})]})]})},7501:function(e,t,l){var n=l(57437),i=l(2265),s=l(4514);let a=i.createContext(void 0);t.ETFCartProvider=e=>{let{children:t}=e,[l,o]=i.useState([]),[r,c]=i.useState(0);i.useEffect(()=>{(async()=>
1{if(l.length>0)c(l.length);else{let e=await s.LocalStorage.instance.etfCart.get();if(e){let t=JSON.parse(e);c(t.length>1?t.length:0)}else c(0)}})()},[l]);let d=async()=>{let e=await s.LocalStorage.instance.etfCart.get();return e?JSON.parse(e):[]};return n.jsx(a.Provider,{value:{cart:l,count:r,setETFCart:e=>{s.LocalStorage.instance.etfCart.set(JSON.stringify(e)),o(e)},clearETFCart:()=>{s.LocalStorage.instance.etfCart.set("[]"),o([])},getETFCart:d},children:t})},t.useETFCart=()=>i.useContext(a)||{count:0,setETFCart:e=>{s.LocalStorage.instance.etfCart.set(JSON.stringify(e))},clearETFCart:()=>{s.LocalStorage.instance.etfCart.set("[]")},getETFCart:async()=>{let e=await s.LocalStorage.instance.etfCart.get();return e?JSON.parse(e):[]}}},4978:function(e,t){t.ErrorMessages={FUND_MANAGER_INVEST_DETAIL:{threeCharatcer:"Name must be at least 3 characters long.",hundredCharatcer:"Name must be less than or equal to 100 characters."},ETF_ORDER:{incorrectPan:"Please enter correct Pan",mandatoryPan:"PAN is mandatory"},IDCW:{greaterthanEqualDate:"From date should not be greater than or equal to To date."}}},73688:function(e,t){function l(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)}function n(e){return"string"==typeof e}function i(e){return"number"==typeof e}function s(e){return"object"==typeof e}function a(e){return null!=e}function o(e){return!e.trim().length}function r(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0});let c=e=>"Invalid value for key ".concat(e),d=e=>"Pattern length exceeds max of ".concat(e,"."),u=e=>"Missing ".concat(e," property in key"),h=e=>"Property 'weight' in value '".concat(e,"' must be a positive integer"),v=Object.prototype.hasOwnProperty;class m{get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let l=p(e);this._keys.push(l),this._keyMap[l.id]=l,t+=l.weight}),this._keys.forEach(e=>{e.weight/=t})}}function p(e){let t=null,i=null,s=null,a=1,o=null;if(n(e)||l(e))s=e,t=f(e),i=g(e);else{if(!v.call(e,"name"))throw Error(u("name"));let l=e.name;if(s=l,v.call(e,"weight")&&(a=e.weight)<=0)throw Error(h(l));t=f(l),i=g(l),o=e.getFn}return{path:t,id:i,weight:a,src:s,getFn:o}}function f(e){return l(e)?e:e.split(".")}function g(e){return l(e)?e.join("."):e}var x={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,useExtendedSearch:!1,getFn:function(e,t){let o=[],c=!1,d=(e,t,u)=>{if(a(e)){if(t[u]){var h,v;let m=e[t[u]];if(a(m)){if(u===t.length-1&&(n(m)||i(m)||!0===(h=m)||!1===h||s(v=h)&&null!==v&&"[object Boolean]"==r(h)))o.push(null==m?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(m));else if(l(m)){c=!0;for(let e=0,l=m.length;e<l;e+=1)d(m[e],t,u+1)}else t.length&&d(m,t,u+1)}}else o.push(e)}};return d(e,n(t)?t.split("."):t,0),c?o:o[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};let b=/[^ ]+/g;class y{setSources(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}setIndexRecords(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}setKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,n(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();n(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,l=this.size();t<l;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!a(e)||o(e))return;let l={v:e,i:t,n:this.norm.get(e)};this.records.push(l)}_addObject(e,t){let i={i:t,$:{}};this.keys.forEach((t,s)=>{let r=t.getFn?t.getFn(e):this.getFn(e,t.path);if(a(r)){if(l(r)){let e=[],t=[{nestedArrIndex:-1,value:r}];for(;t.length;){let{nestedArrIndex:i,value:s}=t.pop();if(a(s)){if(n(s)&&!o(s)){let t={v:s,i:i,n:this.norm.get(s)};e.push(t)}
1else l(s)&&s.forEach((e,l)=>{t.push({nestedArrIndex:l,value:e})})}}i.$[s]=e}else if(n(r)&&!o(r)){let e={v:r,n:this.norm.get(r)};i.$[s]=e}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}constructor({getFn:e=x.getFn,fieldNormWeight:t=x.fieldNormWeight}={}){this.norm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,l=new Map,n=Math.pow(10,t);return{get(t){let i=t.match(b).length;if(l.has(i))return l.get(i);let s=parseFloat(Math.round(1/Math.pow(i,.5*e)*n)/n);return l.set(i,s),s},clear(){l.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}}function N(e,t){let{getFn:l=x.getFn,fieldNormWeight:n=x.fieldNormWeight}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new y({getFn:l,fieldNormWeight:n});return i.setKeys(e.map(p)),i.setSources(t),i.create(),i}function j(e){let{errors:t=0,currentLocation:l=0,expectedLocation:n=0,distance:i=x.distance,ignoreLocation:s=x.ignoreLocation}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t/e.length;if(s)return a;let o=Math.abs(n-l);return i?a+o/i:o?1:a}class E{searchIn(e){let{isCaseSensitive:t,includeMatches:l}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return l&&(t.indices=[[0,e.length-1]]),t}let{location:n,distance:i,threshold:s,findAllMatches:a,minMatchCharLength:o,ignoreLocation:r}=this.options,c=[],u=0,h=!1;this.chunks.forEach(t=>{let{pattern:v,alphabet:m,startIndex:p}=t,{isMatch:f,score:g,indices:b}=function(e,t,l){let n,{location:i=x.location,distance:s=x.distance,threshold:a=x.threshold,findAllMatches:o=x.findAllMatches,minMatchCharLength:r=x.minMatchCharLength,includeMatches:c=x.includeMatches,ignoreLocation:u=x.ignoreLocation}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t.length>32)throw Error(d(32));let h=t.length,v=e.length,m=Math.max(0,Math.min(i,v)),p=a,f=m,g=r>1||c,b=g?Array(v):[];for(;(n=e.indexOf(t,f))>-1;)if(p=Math.min(j(t,{currentLocation:n,expectedLocation:m,distance:s,ignoreLocation:u}),p),f=n+h,g){let e=0;for(;e<h;)b[n+e]=1,e+=1}f=-1;let y=[],N=1,E=h+v,C=1<<h-1;for(let n=0;n<h;n+=1){let i=0,a=E;for(;i<a;)j(t,{errors:n,currentLocation:m+a,expectedLocation:m,distance:s,ignoreLocation:u})<=p?i=a:E=a,a=Math.floor((E-i)/2+i);E=a;let r=Math.max(1,m-a+1),c=o?v:Math.min(m+a,v)+h,d=Array(c+2);d[c+1]=(1<<n)-1;for(let i=c;i>=r;i-=1){let a=i-1,o=l[e.charAt(a)];if(g&&(b[a]=+!!o),d[i]=(d[i+1]<<1|1)&o,n&&(d[i]|=(y[i+1]|y[i])<<1|1|y[i+1]),d[i]&C&&(N=j(t,{errors:n,currentLocation:a,expectedLocation:m,distance:s,ignoreLocation:u}))<=p){if(p=N,(f=a)<=m)break;r=Math.max(1,2*m-f)}}if(j(t,{errors:n+1,currentLocation:m,expectedLocation:m,distance:s,ignoreLocation:u})>p)break;y=d}let k={isMatch:f>=0,score:Math.max(.001,N)};if(g){let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.minMatchCharLength,l=[],n=-1,i=-1,s=0;for(let a=e.length;s<a;s+=1){let a=e[s];a&&-1===n?n=s:a||-1===n||((i=s-1)-n+1>=t&&l.push([n,i]),n=-1)}return e[s-1]&&s-n>=t&&l.push([n,s-1]),l}(b,r);e.length?c&&(k.indices=e):k.isMatch=!1}return k}(e,v,m,{location:n+p,distance:i,threshold:s,findAllMatches:a,minMatchCharLength:o,includeMatches:l,ignoreLocation:r});f&&(h=!0),u+=g,f&&b&&(c=[...c,...b])});let v={isMatch:h,score:h?u/this.chunks.length:1};return h&&l&&(v.indices=c),v}constructor(e,{location:t=x.location,threshold:l=x.threshold,distance:n=x.distance,includeMatches:i=x.includeMatches,findAllMatches:s=x.findAllMatches,minMatchCharLength:a=x.minMatchCharLength,isCaseSensitive:o=x.isCaseSensitive,ignoreLocation:r=x.ignoreLocation}={}){if(this.options={location:t,threshold:l,distance:n,includeMatches:i,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:o,ignoreLocation:r},this.pattern=o?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;let c=(e,t)=>{this.chunks.push({pattern:e,alphabet:function(e){let t={};for(let l=0,n=e.length;l<n;l+=1){let i=e.charAt(l);t[i]=(t[i]||0)|1<<n-l-1}return t}(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,l=d-t;for(;e<l;)c(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}}class C{static isMultiMatch(e){return k(e,this.multiRegex)}static isSingleMatch(e){return k(e,this.singleRegex)}search(){}constructor(e){this.pattern=e}}function k(e,t){let l=e.match(t);return l?l[1]:null}class S extends C{static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}
1search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}constructor(e){super(e)}}class w extends C{static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}constructor(e){super(e)}}class T extends C{static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}constructor(e){super(e)}}class I extends C{static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}constructor(e){super(e)}}class _ extends C{static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}constructor(e){super(e)}}class A extends C{static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}constructor(e){super(e)}}class R extends C{static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}constructor(e,{location:t=x.location,threshold:l=x.threshold,distance:n=x.distance,includeMatches:i=x.includeMatches,findAllMatches:s=x.findAllMatches,minMatchCharLength:a=x.minMatchCharLength,isCaseSensitive:o=x.isCaseSensitive,ignoreLocation:r=x.ignoreLocation}={}){super(e),this._bitapSearch=new E(e,{location:t,threshold:l,distance:n,includeMatches:i,findAllMatches:s,minMatchCharLength:a,isCaseSensitive:o,ignoreLocation:r})}}class P extends C{static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,l=0,n=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,l))>-1;)l=t+i,n.push([t,l-1]);let s=!!n.length;return{isMatch:s,score:s?0:1,indices:n}}constructor(e){super(e)}}let F=[S,P,T,I,A,_,w,R],M=F.length,D=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,L=new Set([R.type,P.type]);class O{static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:l,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let i=0,s=[],a=0;for(let n=0,o=t.length;n<o;n+=1){let o=t[n];s.length=0,i=0;for(let t=0,n=o.length;t<n;t+=1){let n=o[t],{isMatch:r,indices:c,score:d}=n.search(e);if(r){if(i+=1,a+=d,l){let e=n.constructor.type;L.has(e)?s=[...s,...c]:s.push(c)}}else{a=0,i=0,s.length=0;break}}if(i){let e={isMatch:!0,score:a/i};return l&&(e.indices=s),e}}return{isMatch:!1,score:1}}constructor(e,{isCaseSensitive:t=x.isCaseSensitive,includeMatches:l=x.includeMatches,minMatchCharLength:n=x.minMatchCharLength,ignoreLocation:i=x.ignoreLocation,findAllMatches:s=x.findAllMatches,location:a=x.location,threshold:o=x.threshold,distance:r=x.distance}={}){this.query=null,this.options={isCaseSensitive:t,includeMatches:l,minMatchCharLength:n,findAllMatches:s,ignoreLocation:i,location:a,threshold:o,distance:r},this.pattern=t?e:e.toLowerCase(),this.query=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map(e=>{let l=e.trim().split(D).filter(e=>e&&!!e.trim()),n=[];for(let e=0,i=l.length;e<i;e+=1){let i=l[e],s=!1,a=-1;for(;!s&&++a<M;){let e=F[a],l=e.isMultiMatch(i);l&&(n.push(new e(l,t)),s=!0)}if(!s)for(a=-1;++a<M;){let e=F[a],l=e.isSingleMatch(i);if(l){n.push(new e(l,t));break}}}return n})}(this.pattern,this.options)}}let U=[];function B(e,t){for(let l=0,n=U.length;l<n;l+=1){let n=U[l];if(n.condition(e,t))return new n(e,t)}return new E(e,t)}let q={AND:"$and",OR:"$or"},G={PATH:"$path",PATTERN:"$val"},H=e=>!!(e[q.AND]||e[q.OR]),V=e=>!!e[G.PATH],$=e=>!l(e)&&s(e)&&!H(e),W=e=>({[q.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Y(e,t){let{auto:i=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=e=>{let a=Object.keys(e),o=V(e);if(!o&&a.length>1&&!H(e))return s(W(e));if($(e)){let l=o?e[G.PATH]:a[0],s=o?e[G.PATTERN]:e[l];
1if(!n(s))throw Error(c(l));let r={keyId:g(key),pattern:s};return i&&(r.searcher=B(s,t)),r}let r={children:[],operator:a[0]};return a.forEach(t=>{let n=e[t];l(n)&&n.forEach(e=>{r.children.push(s(e))})}),r};return H(e)||(e=W(e)),s(e)}function J(e,t){let l=e.matches;t.matches=[],a(l)&&l.forEach(e=>{if(!a(e.indices)||!e.indices.length)return;let{indices:l,value:n}=e,i={indices:l,value:n};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)})}function K(e,t){t.score=e.score}class z{setCollection(e,t){if(this._docs=e,t&&!(t instanceof y))throw Error("Incorrect 'index' type");this._myIndex=t||N(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){a(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>!1,t=[];for(let l=0,n=this._docs.length;l<n;l+=1){let i=this._docs[l];e(i,l)&&(this.removeAt(l),l-=1,n-=1,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e){let{limit:t=-1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{includeMatches:l,includeScore:s,shouldSort:a,sortFn:o,ignoreFieldNorm:r}=this.options,c=n(e)?n(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return!function(e,t){let{ignoreFieldNorm:l=x.ignoreFieldNorm}=t;e.forEach(e=>{let t=1;e.matches.forEach(e=>{let{key:n,norm:i,score:s}=e,a=n?n.weight:null;t*=Math.pow(0===s&&a?Number.EPSILON:s,(a||1)*(l?1:i))}),e.score=t})}(c,{ignoreFieldNorm:r}),a&&c.sort(o),i(t)&&t>-1&&(c=c.slice(0,t)),function(e,t){let{includeMatches:l=x.includeMatches,includeScore:n=x.includeScore}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=[];return l&&i.push(J),n&&i.push(K),e.map(e=>{let{idx:l}=e,n={item:t[l],refIndex:l};return i.length&&i.forEach(t=>{t(e,n)}),n})}(c,this._docs,{includeMatches:l,includeScore:s})}_searchStringList(e){let t=B(e,this.options),{records:l}=this._myIndex,n=[];return l.forEach(e=>{let{v:l,i:i,n:s}=e;if(!a(l))return;let{isMatch:o,score:r,indices:c}=t.searchIn(l);o&&n.push({item:l,idx:i,matches:[{score:r,value:l,norm:s,indices:c}]})}),n}_searchLogical(e){let t=Y(e,this.options),l=(e,t,n)=>{if(!e.children){let{keyId:l,searcher:i}=e,s=this._findMatches({key:this._keyStore.get(l),value:this._myIndex.getValueForItemAtKeyId(t,l),searcher:i});return s&&s.length?[{idx:n,item:t,matches:s}]:[]}let i=[];for(let s=0,a=e.children.length;s<a;s+=1){let a=l(e.children[s],t,n);if(a.length)i.push(...a);else if(e.operator===q.AND)return[]}return i},n=this._myIndex.records,i={},s=[];return n.forEach(e=>{let{$:n,i:o}=e;if(a(n)){let e=l(t,n,o);e.length&&(i[o]||(i[o]={idx:o,item:n,matches:[]},s.push(i[o])),e.forEach(e=>{let{matches:t}=e;i[o].matches.push(...t)}))}}),s}_searchObjectList(e){let t=B(e,this.options),{keys:l,records:n}=this._myIndex,i=[];return n.forEach(e=>{let{$:n,i:s}=e;if(!a(n))return;let o=[];l.forEach((e,l)=>{o.push(...this._findMatches({key:e,value:n[l],searcher:t}))}),o.length&&i.push({idx:s,item:n,matches:o})}),i}_findMatches(e){let{key:t,value:n,searcher:i}=e;if(!a(n))return[];let s=[];if(l(n))n.forEach(e=>{let{v:l,i:n,n:o}=e;if(!a(l))return;let{isMatch:r,score:c,indices:d}=i.searchIn(l);r&&s.push({score:c,key:t,value:l,idx:n,norm:o,indices:d})});else{let{v:e,n:l}=n,{isMatch:a,score:o,indices:r}=i.searchIn(e);a&&s.push({score:o,key:t,value:e,norm:l,indices:r})}return s}constructor(e,t={},l){this.options={...x,...t},this.options.useExtendedSearch,this._keyStore=new m(this.options.keys),this.setCollection(e,l)}}z.version="7.0.0",z.createIndex=N,z.parseIndex=function(e){let{getFn:t=x.getFn,fieldNormWeight:l=x.fieldNormWeight}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{keys:n,records:i}=e,s=new y({getFn:t,fieldNormWeight:l});return s.setKeys(n),s.setIndexRecords(i),s},z.config=x,z.parseQuery=Y,function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];U.push(...t)}(O),t.default=z},39123:function(e,t,l){var n=l(73002),i=l(38941);let s=async(e,t)=>
1{let l=i.BASE_URLS.AGGREGATOR_URL+i.SERVICE_EXTENSIONS.ETFTransaction,s=await i.getAuthHeaders(),a=await n.httpPost(l,s,JSON.stringify(t));(null==a?void 0:a.status)==="success"?e.success(a):e.default(a)};t.placeETFInitiateTransaction=s},34894:function(e,t,l){var n=l(73002),i=l(38941);let s=async(e,t)=>{let l=i.BASE_URLS.AGGREGATOR_URL+i.SERVICE_EXTENSIONS.GetINavDetails,s=await i.getAuthHeaders(),a=await n.httpPost(l,s,JSON.stringify(t));(null==a?void 0:a.status)==="success"?e.success(a):e.default(a)};t.placeGetINavDetails=s},62988:function(e,t,l){var n=l(73002),i=l(38941),s=l(42949);let a=async e=>{let t=i.BASE_URLS.SERVICE_URL+i.SERVICE_EXTENSIONS.GetAllSchemes,l={"Content-Type":"application/json"},a=await s.fetchWithSchemeCache(()=>n.httpPost(t,l,""));(null==a?void 0:a.status)==="success"?e.success(a):e.default(a)};t.placeGetAllSchemesList=a}}]);

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.