1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d4c2f25c-979f-474c-b1a4-5055938dd5ec",e._sentryDebugIdIdentifier="sentry-dbid-d4c2f25c-979f-474c-b1a4-5055938dd5ec")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90636],{313:(e,t,r)=>{"use strict";r.d(t,{RV:()=>d,gd:()=>o,qQ:()=>u,vk:()=>s,yF:()=>n});let n="?",i=/\(error: (.*)\)/,a=/captureMessage|captureException/;function o(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,o=0)=>{let s=[],c=e.split("\n");for(let e=r;e<c.length;e++){let r=c[e];r.length>1024&&(r=r.slice(0,1024));let n=i.test(r)?r.replace(i,"$1"):r;if(!n.includes("Error: ")){for(let e of t){let t=e(n);if(t){s.push(t);break}}if(s.length>=50+o)break}}var u=s.slice(o);if(!u.length)return[];let d=Array.from(u);return/sentryWrapped/.test(l(d).function||"")&&d.pop(),d.reverse(),a.test(l(d).function||"")&&(d.pop(),a.test(l(d).function||"")&&d.pop()),d.slice(0,50).map(e=>({...e,filename:e.filename||l(d).filename,function:e.function||n}))}}function s(e){return Array.isArray(e)?o(...e):e}function l(e){return e[e.length-1]||{}}let c="<anonymous>";function u(e){try{if(!e||"function"!=typeof e)return c;return e.name||c}catch{return c}}function d(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}},365:(e,t,r)=>{"use strict";let n;r.d(t,{k3:()=>c,lu:()=>o,zf:()=>s});var i=r(306101),a=r(718043);function o(){return(0,i.Wk)()/1e3}function s(){return(n??(n=function(){let{performance:e}=a.O;if(!e?.now||!e.timeOrigin)return o;let t=e.timeOrigin;return()=>(t+(0,i.Qw)(()=>e.now()))/1e3}()))()}let l=null;function c(){return null===l&&(l=function(){let{performance:e}=a.O;if(!e?.now)return;let t=(0,i.Qw)(()=>e.now()),r=(0,i.Wk)(),n=e.timeOrigin;if("number"==typeof n&&3e5>Math.abs(n+t-r))return n;let o=e.timing?.navigationStart;return"number"==typeof o&&3e5>Math.abs(o+t-r)?o:r-t}()),l}},2249:(e,t,r)=>{"use strict";r.d(t,{G4:()=>S,G7:()=>c,II:()=>p,J0:()=>h,MV:()=>y,PZ:()=>E,QS:()=>f,Qg:()=>A,Uc:()=>u,WY:()=>v,e_:()=>d,fD:()=>b,np:()=>T,qL:()=>g,t$:()=>_});var n=r(873435),i=r(625185),a=r(951402),o=r(789991),s=r(454532),l=r(238460);let c=e=>({inrWalletData:e}),u=e=>(e.sort((e,t)=>e.is_default?-1:1),(0,a.a)(null==e?void 0:e[0]))?{}:{userIfsc:e[0].ifsc_code,userBankName:e[0].bank_name,userBankId:e[0].bank_id,userMaskedAccNum:e[0].account_number_mask,userAccountNumber:e[0].account_number,isIfscIncorrect:e[0].edit_ifsc},d=e=>{let t=Number(e);return null===e||isNaN(t)?{error:!0,message:"Please enter valid amount"}:t<=0?{error:!0,message:"Amount should be more than 0"}:Number.isInteger(t)?t<100?{error:!0,message:"Amount should be minimum 100"}:{error:!1,message:""}:{error:!0,message:"Amount should be Integer"}},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,o.a)(e,{formatPaisaToRupee:!0,absoluteValue:t})},h=e=>r.e(55299).then(r.bind(r,755299)).then(t=>{let{verifyVpa:r}=t;return r(e)}).then(e=>{var t;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.verificationStatus)!=="REJECTED"}).catch(()=>!0),p=e=>{for(let t in i.y){let r=!1;if(i.y[t].forEach(t=>{e.includes(t)&&(r=!0)}),r)return i.O7[t]}return""},E=s.bw.USER+s.bw.WALLET+s.bw.INR_BALANCE+s.bw.TRANSACTIONS,_=()=>(0,l.N)()?s.bw.USER+s.bw.WALLET+s.bw.INR_BALANCE:s.bw.LOGIN,g=e=>{let t={};return null==e?void 0:e.reduce((e,r)=>{let{transactionType:n,transactionTime:i,amount:a}=r,o=n+"-"+new Date(i).toLocaleDateString();return t[o]?t[o].amount+=a:(t[o]=Object.assign({},r),e.push(t[o])),e},[])},S=e=>{let t=m(e);return n.stringify(t,{arrayFormat:"comma",skipNull:!0,skipEmptyString:!0})},m=e=>{if((0,a.a)(e))return"";let t=null==e?void 0:e.ledgerFilterOptions,r={};return(0,a.a)(t)||(r.transactionType=t),r},A=e=>({TransactionState:null==e?void 0:e.transactionState,TransactionType:null==e?void 0:e.ledgerFilterOptions,TransactionStartDate:null==e?void 0:e.startDate,TransactionEndDate:null==e?void 0:e.endDate}),v=e=>
1{let{stocksMarginDetails:t,stocksMisMarginAvl:r,stocksCncMarginAvl:n,sellAmountBlockedDetails:i,fnoMarginDetails:a,optionBuyAvl:o,optionSellAvl:s,futureMarginAvl:l,pledgeMarginDetails:c,mtfMarginDetails:u}=e,{intradayMargin:d,deliveryMargin:f,m2m:h,cncRealisedM2M:p,regulatoryCharges:E=0,brokerage:_=0}=null!=t?t:{},{fnoMargin:g,optionPremium:S,spanMargin:m,exposureMargin:A,physicalDeliveryMargin:v}=null!=a?a:{},{collateralValue:b}=null!=c?c:{};return{stocksCashMarginDetails:{stocksMisBalanceAvl:r,stocksCncBalanceAvl:n,sellAmountBlockedDetails:i,cashMisMarginUsed:d,netDeliveryMargin:f},stocksFnoMarginDetails:{fnoMarginUsed:g,optionPremiumReceived:S,spanMargin:m,exposureMargin:A,physicalDeliveryMargin:v,optionPremiumPaid:S,optionSellBalanceAvl:s,optionBuyBalanceAvl:o,futureBalanceAvl:l},stocksPnlMarginDetails:{netUnrealisedLoss:h,netRealisedLoss:p},collateralAvailable:b,mtfMarginDetails:u,brokerageAndCharges:_+E}},b=e=>{var t,r,n,i,a,o,s;return{stocksFnoMarginDetails:{optionSellBalanceAvl:null!==(t=null==e?void 0:e.derivativeFnoOptionSellMarginBalance)&&void 0!==t?t:0,optionBuyBalanceAvl:null!==(r=null==e?void 0:e.derivativeFnoOptionBuyMarginBalance)&&void 0!==r?r:0,futureBalanceAvl:null!==(n=null==e?void 0:e.derivativeFnoFutureMarginBalance)&&void 0!==n?n:0,commodityMcxOptionBuyBalanceAvl:null!==(i=null==e?void 0:e.derivativeCommodityMcxOptionBuyMarginBalance)&&void 0!==i?i:0,commodityNseOptionBuyBalanceAvl:null!==(a=null==e?void 0:e.derivativeCommodityNseOptionBuyMarginBalance)&&void 0!==a?a:0,commodityOptionSellBalanceAvl:null!==(o=null==e?void 0:e.derivativeCommodityOptionSellMarginBalance)&&void 0!==o?o:0,commodityFutureBalanceAvl:null!==(s=null==e?void 0:e.derivativeCommodityFutureMarginBalance)&&void 0!==s?s:0}}},T=e=>{var t,r,n;return{stocksCashMarginDetails:{stocksMisBalanceAvl:null!==(t=null==e?void 0:e.equityIntradayMarginBalance)&&void 0!==t?t:0,stocksCncBalanceAvl:null!==(r=null==e?void 0:e.equityDeliveryMarginBalance)&&void 0!==r?r:0,stocksMtfBalanceAvl:null!==(n=null==e?void 0:e.equityMtfMarginBalance)&&void 0!==n?n:0}}},y=e=>null===e||(0,a.a)(e)?"":"â¢â¢â¢â¢".concat(null==e?void 0:e.slice(-4))},3822:(e,t,r)=>{"use strict";function n(e,t){return e===t}r.d(t,{Mz:()=>i,j8:()=>a});var i=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];var a=0,o=n.pop(),s=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e}))throw Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+t.map(function(e){return typeof e}).join(", ")+"]");return t}(n),l=e.apply(void 0,[function(){return a++,o.apply(null,arguments)}].concat(r)),c=e(function(){for(var e=[],t=s.length,r=0;r<t;r++)e.push(s[r].apply(null,arguments));return l.apply(null,e)});return c.resultFunc=o,c.dependencies=s,c.recomputations=function(){return a},c.resetRecomputations=function(){return a=0},c}}(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,r=null,i=null;return function(){return!function(e,t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,i=0;i<n;i++)if(!e(t[i],r[i]))return!1;return!0}(t,r,arguments)&&(i=e.apply(null,arguments)),r=arguments,i}});function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if("object"!=typeof e)throw Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var r=Object.keys(e);return t(r.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t,n){return e[r[n]]=t,e},{})})}},4392:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u=(e,t,r)=>(r=null!=e?n(s(e)):{}
1,c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)),d={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(d,{GobblerSearchEvent:()=>E,protobufPackage:()=>p}),e.exports=c(i({},"__esModule",{value:!0}),d);var f=u(r(783150)),h=u(r(225615));let p="com.groww.ems",E={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.default.Writer.create();return void 0!==e.feature&&t.uint32(122).string(e.feature),void 0!==e.searchType&&t.uint32(130).string(e.searchType),void 0!==e.name&&t.uint32(138).string(e.name),void 0!==e.searchTextLength&&t.uint32(144).int64(e.searchTextLength),void 0!==e.growwSchemeCode&&t.uint32(154).string(e.growwSchemeCode),void 0!==e.deeplink&&t.uint32(162).string(e.deeplink),void 0!==e.featureName&&t.uint32(170).string(e.featureName),void 0!==e.shortcut&&t.uint32(178).string(e.shortcut),void 0!==e.expiryDate&&t.uint32(114).string(e.expiryDate),void 0!==e.visibleSections&&t.uint32(106).string(e.visibleSections),void 0!==e.source&&t.uint32(10).string(e.source),void 0!==e.searchquery&&t.uint32(18).string(e.searchquery),void 0!==e.entityType&&t.uint32(26).string(e.entityType),void 0!==e.pillName&&t.uint32(34).string(e.pillName),void 0!==e.filterName&&t.uint32(42).string(e.filterName),void 0!==e.suggestionSource&&t.uint32(50).string(e.suggestionSource),void 0!==e.rank&&t.uint32(56).int64(e.rank),void 0!==e.searchSection&&t.uint32(66).string(e.searchSection),void 0!==e.eventType&&t.uint32(74).string(e.eventType),void 0!==e.error&&t.uint32(82).string(e.error),void 0!==e.pillPosition&&t.uint32(88).int32(e.pillPosition),void 0!==e.searchId&&t.uint32(98).string(e.searchId),t},decode(e,t){let r=e instanceof h.default.Reader?e:h.default.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={feature:void 0,searchType:void 0,name:void 0,searchTextLength:void 0,growwSchemeCode:void 0,deeplink:void 0,featureName:void 0,shortcut:void 0,expiryDate:void 0,visibleSections:void 0,source:void 0,searchquery:void 0,entityType:void 0,pillName:void 0,filterName:void 0,suggestionSource:void 0,rank:void 0,searchSection:void 0,eventType:void 0,error:void 0,pillPosition:void 0,searchId:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 15:if(122!==e)break;i.feature=r.string();continue;case 16:if(130!==e)break;i.searchType=r.string();continue;case 17:if(138!==e)break;i.name=r.string();continue;case 18:if(144!==e)break;i.searchTextLength=_(r.int64());continue;case 19:if(154!==e)break;i.growwSchemeCode=r.string();continue;case 20:if(162!==e)break;i.deeplink=r.string();continue;case 21:if(170!==e)break;i.featureName=r.string();continue;case 22:if(178!==e)break;i.shortcut=r.string();continue;case 14:if(114!==e)break;i.expiryDate=r.string();continue;case 13:if(106!==e)break;i.visibleSections=r.string();continue;case 1:if(10!==e)break;i.source=r.string();continue;case 2:if(18!==e)break;i.searchquery=r.string();continue;case 3:if(26!==e)break;i.entityType=r.string();continue;case 4:if(34!==e)break;i.pillName=r.string();continue;case 5:if(42!==e)break;i.filterName=r.string();continue;case 6:if(50!==e)break;i.suggestionSource=r.string();continue;case 7:if(56!==e)break;i.rank=_(r.int64());continue;case 8:if(66!==e)break;i.searchSection=r.string();continue;case 9:if(74!==e)break;i.eventType=r.string();continue;case 10:if(82!==e)break;i.error=r.string();continue;case 11:if(88!==e)break;i.pillPosition=r.int32();continue;case 12:if(98!==e)break;i.searchId=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}};function _(e){if(e.gt(globalThis.Number.MAX_SAFE_INTEGER))throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");if(e.lt(globalThis.Number.MIN_SAFE_INTEGER))throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");return e.toNumber()}h.default.util.Long!==f.default&&(h.default.util.Long=f.default,h.default.configure())},7501:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>l,J0:()=>E,J5:()=>S,Ol:()=>h,SA:()=>p,gV:()=>f,o:()=>d,r:()=>u,wd:()=>c});var n=r(574830),i=r(261762),a=r(116819),o=r(262400),s=r(718043);function l(e,t){return(0,n.o5)().captureException(e,(0,a.li)(t))}function c(e,t){let r="string"==typeof t?t:void 0,i="string"!=typeof t?{captureContext:t}:void 0;return(0,n.o5)().captureMessage(e,r,i)}function u(e,t){return(0,n.o5)().captureEvent(e,t)}function d(e,t){(0,n.rm)().setContext(e,t)}function f(e){(0,n.rm)().setUser(e)}function h(){let e=(0,n.KU)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function p(e){(0,n.rm)().addEventProcessor(e)}function E(e){let t=(0,n.rm)(),{user:r}=(0,o.Om)(t,(0,n.o5)()),{userAgent:a}=s.O.navigator||{},l=(0,i.fj)({user:r,...a&&{userAgent:a},...e}),c=t.getSession();return c?.status==="ok"&&(0,i.qO)(c,{status:"exited"}),_(),t.setSession(l),l}function _(){let e=(0,n.rm)(),t=(0,n.o5)().getSession()||e.getSession();t&&(0,i.Vu)(t),g(),e.setSession()}function g(){let e=(0,n.rm)(),t=(0,n.KU)(),r=e.getSession();r&&t&&t.captureSession(r)}function S(e=!1){if(e){_();return}g()}},8602:e=>{e.exports={suggestionRow:"SuggestionItem_suggestionRow__qHtAn",truncate:"SuggestionItem_truncate__9U87I",iconCircle:"SuggestionItem_iconCircle__DYL66",iconCircleWithBackgroun
1d:"SuggestionItem_iconCircleWithBackground__uNoEP",suggestionContent:"SuggestionItem_suggestionContent__eSLfN",suggestionText:"SuggestionItem_suggestionText__ccHke",suggestionTextBody:"SuggestionItem_suggestionTextBody__hzPBD",bookmarkIcon:"SuggestionItem_bookmarkIcon__KbZmJ"}},9239:e=>{e.exports={countBadge:"countBadge_countBadge__t5TEF"}},12040:(e,t,r)=>{"use strict";r.d(t,{GR:()=>o,KY:()=>a,Y8:()=>n,xG:()=>i});let n=(e,t,r)=>{let n=2.5*t/100;return n<r?n:Math.max(e,r)};function i(e){let{orderValuation:t,brokeragePercent:r,brokerageUpperLimit:i,borkerageLowerAbs:a,isUserAsbaOnboarded:o,noUpperCapForAsba:s,isNriUser:l,nriBrokeragePercent:c,nriBrokerageMinAbs:u}=e;if(l)return Math.max(c*t/100,u);let d=Math.min(i,r*t/100);return s&&o?r*t/100:n(d,t,a)}function a(e){let{orderValuation:t,brokerage:r}=e;return r*t/100}function o(e){let{brokerage:t,orderValuation:r,borkerageLowerAbs:i,brokerageAbs:a,isNriUser:o,nriBrokeragePercent:s,nriBrokerageMinAbs:l}=e;if(o)return Math.max(s*r/100,l);let c=Math.min(a,t*r/100);return n(c,r,i)}},12865:(e,t,r)=>{"use strict";r.d(t,{EN:()=>a,Fd:()=>c,PL:()=>u,RH:()=>i,iK:()=>o,kv:()=>n,pC:()=>l,zv:()=>s});let n={INITIAL_LOGIN_SCREEN:"INITIAL_LOGIN_SCREEN",ENTER_EMAIL_SCREEN:"ENTER_EMAIL_SCREEN",ENTER_EMAIL_OTP_SCREEN:"ENTER_EMAIL_OTP_SCREEN",ENTER_PASSWORD_SCREEN:"ENTER_PASSWORD_SCREEN"},i=457,a={FORGOT_PASSWORD_OTP:"FORGOT_PASSWORD_OTP",CHANGE_FORGOT_PASSWORD:"CHANGE_FORGOT_PASSWORD"},o={ENTER_NUMBER:"ENTER_NUMBER",OTP_VERIFY_SCREEN:"OTP_VERIFY_SCREEN",MASKED_EMAIL_ID:"MASKED_EMAIL_ID",SUCCESS_SCREEN:"SUCCESS_SCREEN"},s=["Stocks","Mutual Funds","F&O","IPO","MTF","Intraday","ETFs","Commodities","Bonds"],l={LOGIN:"LOGIN",FORGOT_PASSWORD:"FORGOT_PASSWORD",REGISTER_MOBILE:"REGISTER_MOBILE",UPDATE_MOBILE:"UPDATE_MOBILE",TWOFA_ENTER_PIN:"TWOFA_ENTER_PIN",TWOFA_SET_PIN:"TWOFA_SET_PIN",TWOFA_FORGOT_PIN:"TWOFA_FORGOT_PIN",TWOFA_ENTER_OTP:"TWOFA_ENTER_OTP",TWOFA_CONGRATS:"TWOFA_CONGRATS",DEVICE_REGISTER:"DEVICE_REGISTER",NEVER:"NEVER"},c={TITLE:"Verify your email to continue",SUBTEXT:"We need to confirm your email before you can proceed."},u={CLIPBOARD_COPY:"Copied to clipboard",FILE_DOWNLOADED:"File successfully downloaded",SNACKBAR_SUCCESS_GREETING:"Yay!",SNACKBAR_WELCOME_GREETING:"Welcome",SNACKBAR_SUCCESS_GREETING_2:"Success",ONBOARD_MESSAGE:"We're super excited to have you on board!"}},15443:(e,t,r)=>{"use strict";r.d(t,{n:()=>n});var n=function(e){return e.GET_MF_PP_MAIN_DATA="mf/GET_MF_PP_MAIN_DATA",e.GET_MF_PP_ORDER_TREND="mf/GET_MF_PP_ORDER_TRENDa",e.GET_MF_PP_SIMILAR_FUNDS="mf/GET_MF_PP_SIMILAR_FUNDSa",e.G
1ET_MF_PP_HOLDING_ANALYSIS="mf/GET_MF_PP_HOLDING_ANALYSISa",e.GET_MF_PP_VARIANT_DATA="mf/GET_MF_PP_VARIANT_DATAa",e.GET_MF_PP_CUSTOM_DATA="mf/GET_MF_PP_CUSTOM_DATAa",e.GET_MF_PP_NEWS_DATA="mf/GET_MF_PP_NEWS_DATAa",e.SET_MF_PP_GRAPH_BUTTON="mf/SET_MF_GRAPH_BUTTONa",e.UPDATE_MF_PP_MAIN_DATA="mf/UPDATE_MF_PP_MAIN_DATAa",e}({})},17500:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,u:()=>s});var n=r(642803),i=r(782456),a=r(15443),o=r(976309);let s={mfProductPageDataMap:{},mf:{},mfDataLoading:!1,mfDataError:!1,mfGraphButtonId:i.tnD.valueKey};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case a.n.GET_MF_PP_MAIN_DATA:var i=e,l=t;let{payload:u,meta:d}=l,{searchId:f}=null!=d?d:{};return(0,n.handle)(i,l,{start:e=>({...e,mfDataLoading:!0,mfDataError:!1}),success:e=>(0,o.QW)(e,f,u.data),failure:e=>{var t;let{data:r,status:n}=null!==(t=null==u?void 0:u.response)&&void 0!==t?t:{};return{...e,mfDataLoading:!1,mfDataError:308===n?r:null!=n?n:500}}});case a.n.UPDATE_MF_PP_MAIN_DATA:var h=e,p=t;let{payload:E}=p;return{...h,mfDataLoading:!1,mfDataError:null,mfGraphButtonId:(0,o.Gi)(E.data),mf:E.data};case a.n.SET_MF_PP_GRAPH_BUTTON:return c(e,t);case a.n.GET_MF_PP_ORDER_TREND:var _=e,g=t;let{payload:S,meta:m}=g,{searchId:A}=null!=m?m:{};return(0,n.handle)(_,g,{success:e=>(0,o.WS)(e,A,S.data)});case a.n.GET_MF_PP_SIMILAR_FUNDS:var v=e,b=t;let{payload:T,meta:y}=b,{searchId:O,isNfoPage:w}=null!=y?y:{};return(0,n.handle)(v,b,{success:e=>(0,o.bO)(e,O,T.data,w)});case a.n.GET_MF_PP_HOLDING_ANALYSIS:var C=e,I=t;let{payload:R,meta:N}=I,{searchId:D}=null!=N?N:{};return(0,n.handle)(C,I,{success:e=>(0,o.HJ)(e,D,R.data)});case a.n.GET_MF_PP_VARIANT_DATA:var P=e,L=t;let{payload:k,meta:M}=L,{searchId:F}=null!=M?M:{};return(0,n.handle)(P,L,{success:e=>(0,o.Cl)(e,F,k.data)});case a.n.GET_MF_PP_CUSTOM_DATA:var x=e,U=t;let{payload:B,meta:H}=U,{searchId:G,isNfoPage:j}=null!=H?H:{};return(0,n.handle)(x,U,{success:e=>(0,o.QH)(e,G,B.data,j)});case a.n.GET_MF_PP_NEWS_DATA:var V=e,K=t;let{payload:W,meta:Y}=K,{searchId:q}=null!=Y?Y:{};return(0,n.handle)(V,K,{success:e=>(0,o.xf)(e,q,W.data)});case a.n.SET_MF_PP_GRAPH_BUTTON:return c(e,t);default:return e}}function c(e,t){let{payload:r}=t;return{...e,mfGraphButtonId:r.data}}},17954:(e,t,r)=>{"use strict";r.d(t,{Iy:()=>u,MI:()=>s,TC:()=>c,kM:()=>l});var n=r(660690),i=r(422695),a=r(950565),o=r(306101);let s=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function l(e,t){let r=function(e){let t;if(!e)return;let r=e.match(s);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}(e),l=(0,n.yD)(t);if(!r?.traceId)return{traceId:(0,a.e)(),sampleRand:(0,o.hY)()};let c=function(e,t){let r=(0,i.i)(t?.sample_rand);if(void 0!==r)return r;let n=(0,i.i)(t?.sample_rate);return n&&e?.parentSampled!==void 0?e.parentSampled?(0,o.hY)()*n:n+(0,o.hY)()*(1-n):(0,o.hY)()}(r,l);l&&(l.sample_rand=c.toString());let{traceId:u,parentSpanId:d,parentSampled:f}=r;return{traceId:u,parentSpanId:d,sampled:f,dsc:l||{},sampleRand:c}}function c(e=(0,a.e)(),t=(0,a.Z)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function u(e=(0,a.e)(),t=(0,a.Z)(),r){return`00-${e}-${t}-${r?"01":"00"}`}},20556:(e,t,r)=>{"use strict";r.d(t,{HF:()=>l,iC:()=>o,sn:()=>s});var n=r(655969),i=r(519201);let a=(0,n.vt)()(()=>({isTabVisible:!0,debouncedIsTabVisible:!0})),o=(0,i.L)(a),s=e=>{a.setState({isTabVisible:e})},l=e=>{a.setState({debouncedIsTabVisible:e})}},21905:(e,t,r)=>{"use strict";r.d(t,{Es:()=>g,K_:()=>u,OA:()=>f,PO:()=>_,c9:()=>c,de:()=>E,mN:()=>h,xm:()=>p,yz:()=>d});var n=r(647005),i=r(951402),a=r(744620),o=r(136398),s=r(753762),l=r(270230);function c(e){return l.SP.post("/v1/api/doc/user/v1/get_upload_token",null,{params:{docType:e}})}function u(e){return l.SP.get("/v1/api/user/v1/doc_ref",{params:{docType:e}})}function d(){return l.SP.get("/v1/api/growth/v2/messageboards")}function f(){return l.SP.get("/v1/api/user/v2")}function h(){return l.SP.get("/v1/api/user/v3/attributes")}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r="/v1/api/user/v3/attributes";if("desktop"===a.Eg.CHARTS||"desktop"===a.Eg.MSITE)return l.SP.get(r);let n={useEncryption:!0,expiresInMin:o.aH.SEARCH_EXPIRY_TIME_IN_MIN,hardRefresh:t,key:o.aH.USER_ATTRIBUTES};return(0,l.RB)(r,n,e)}let E=()=>l.SP.get("/v1/api/selection/v2/watchlist/all/items_mapping",{params:{include_index_f
1no:!0}});function _(e){let{nseStockList:t,nseIndexList:r,bseStockList:o,bseIndexList:c}=e,u=!function(){var e;if(n.BV())return!1;let{userData:t}=null!==(e=s.f.getState())&&void 0!==e?e:{},{aof_status:r="",stocks_status:o=""}=null!=t?t:{};if((0,i.a)(t))return!1;let l=r===a.iO.INACTIVE&&o===a.vs.INACTIVE,c=r===a.iO.COMPLETED&&a.Vc.includes(o);return!!l||!!c}()?"tr_live_delayed":"tr_live";return l.SP.post("v1/api/stocks_data/v1/".concat(u,"/segment/CASH/latest_aggregated"),{exchangeAggReqMap:{NSE:{priceSymbolList:null!=t?t:[],indexSymbolList:null!=r?r:[]},BSE:{priceSymbolList:null!=o?o:[],indexSymbolList:null!=c?c:[]}}},{metadata:{urlTemplate:"/v1/api/stocks_data/v1/{livePoint}/segment/CASH/latest_aggregated"}})}let g=()=>l.SP.get("/v1/api/mf/user/subscription")},22209:(e,t,r)=>{"use strict";r.d(t,{I:()=>c});var n=r(407178),i=r(335184),a=r(848846),o=r(957943),s=r(753762),l=r(34331);function c(){let e=(0,i.a)(o.m1),t=i.L.use.margins(),r=i.L.use.isLoading(),c=i.L.use.isError(),u=(0,s.f)(l.ve);return(0,n.useEffect)(()=>{u&&(0,a.C)()},[u]),{margins:t,balance:e,isLoading:r,isError:c,refetchMargins:(0,n.useCallback)(async()=>{u&&await (0,a.d)()},[u])}}},29325:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/r.3acc6418.svg",height:135,width:135,blurWidth:0,blurHeight:0}},29901:(e,t,r)=>{"use strict";r.d(t,{_u:()=>a,a0:()=>o,hC:()=>s});var n=r(789991),i=r(782456);let a=e=>{let t=[],r=[],a=[],o=0;return e.forEach(e=>{e.cartContext.cartType===i.W4W.LUMP_SUM?r.push({...e,amount:(0,n.d)(e.amount)}):e.cartContext.cartType===i.W4W.SIP&&t.push({...e,amount:(0,n.d)(e.amount)}),a.push(e.schemeCode),o+=(0,n.d)(e.amount)}),{amount:o,schemeCodes:a,sip:t,lumpsum:r}},o=(e,t)=>e.getCartItems.data.map(e=>e.cartId===t.cartId?{...e,displayText:t.data.displayText,cartContext:{...e.cartContext,...t.data.cartContext}}:e),s=(e,t)=>e.getCartItems.data.filter(e=>e.cartId!==t)},31134:e=>{e.exports={KEY:{LIFECYCLE:"redux-pack/LIFECYCLE",TRANSACTION:"redux-pack/TRANSACTION"},LIFECYCLE:{START:"start",SUCCESS:"success",FAILURE:"failure"}}},32278:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var r=new Uint8Array(16);e.exports=function(){return t(r),r}}else{var n=Array(16);e.exports=function(){for(var e,t=0;t<16;t++)(3&t)==0&&(e=0x100000000*Math.random()),n[t]=e>>>((3&t)<<3)&255;return n}}},34331:(e,t,r)=>{"use strict";r.d(t,{ZS:()=>p,bm:()=>E,ve:()=>_,_p:()=>g,KP:()=>m,tp:()=>S,Ss:()=>h});var n=r(407178),i=r(443239),a=r(951402),o=r(238460),s=r(744620),l=r(753762),c=r(135956),u=function(e){return e.USA="usa",e}({}),d=function(e){return e.NOT_COMPLETED="NOT_COMPLETED",e.COMPLETED="COMPLETED",e.PENDING="PENDING",e.REJECTED="REJECTED",e.ACTION_REQUIRED="ACTION_REQUIRED",e.DEACTIVATED="DEACTIVATED",e.CLOSURE_INITIATED="CLOSURE_INITIATED",e.CLOSED="CLOSED",e.BLOCKED="BLOCKED",e.INACTIVE="INACTIVE",e.FAILED="FAILED",e}({});let f=e=>({userData:e.userData,userAttributes:e.userAttributes,isUserDataLoading:e.isUserDataLoading,isUserDataError:e.isUserDataError,userDataError:e.userDataError,isStoreHydrating:e.isStoreHydrating,isMaskedDataStored:e.isMaskedDataStored,lastApiTriggerTimeStamp:e.lastApiTriggerTimeStamp}),h=()=>{let{userData:e,userAttributes:t,isUserDataLoading:r,isUserDataError:s,userDataError:u,isStoreHydrating:d,isMaskedDataStored:h,lastApiTriggerTimeStamp:p}=(0,l.f)(f,i.x);return(0,n.useEffect)(()=>{let t=(0,o.N)(!0),n=(0,a.a)(e)&&!r&&!s&&!d,i=t&&h&&!r&&!s&&!d;(n||i)&&(0,c.g7)()},[e,r,s,d,h]),{userData:e,userAttributes:t,isUserDataLoading:r,isUserDataError:s,userDataError:u,isStoreHydrating:d,lastApiTriggerTimeStamp:p}},p=async()=>{await (0,c.g7)();let{userData:e,userAttributes:t,isUserDataLoading:r,isUserDataError:n,userDataError:i,isStoreHydrating:a,lastApiTriggerTimeStamp:o}=l.f.getState();return{userData:e,userAttributes:t,isUserDataLoading:r,isUserDataError:n,userDataError:i,isStoreHydrating:a,lastApiTriggerTimeStamp:o}},E=e=>{let{userData:t}=e;return!!(t&&s.D2.includes(t.stocks_status))},_=e=>{var t,r,n;let{userData:i}=e;return!!(i&&(null===(n=i.global_exchange_status)||void 0===n?void 0:null===(r=n[u.USA])||void 0===r?void 0:null===(t=r.stocks)||void 0===t?void 0:t.status)===d.COMPLETED)},g=e=>{var t,r,n;let{userData:i}=e;return!!(i&&(null===(n=i.global_exchange_status)||void 0===n?void 0:null===(r=n[u.USA])||void 0===r?void 0:null===(t=r.stocks)||void 0===t?void 0:t.status)===d.PENDING)},S=e=>{var t;return null==e?void 0:null===(t=e.userData)||void 0===t?void 0:t.bonds_status},m=e=>!!(null==e?void 0:e.isUserDataLoading)||!!(null==e?void 0:e.isStoreHydrating)},34798:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(986594),i=r(407178),a=r(132978),o=r(892751),s=r(366516),l=r(8100
159),c=i.memo(function(e){let t=(0,l.C)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("path",{fill:"currentColor",d:"M8 22q-.824 0-1.412-.587A1.93 1.93 0 0 1 6 20q0-.824.588-1.413A1.93 1.93 0 0 1 8 18q.825 0 1.412.587Q10 19.176 10 20q0 .824-.588 1.413A1.93 1.93 0 0 1 8 22m10 0q-.824 0-1.413-.587A1.93 1.93 0 0 1 16 20q0-.824.587-1.413A1.93 1.93 0 0 1 18 18q.824 0 1.413.587Q20 19.176 20 20q0 .824-.587 1.413A1.93 1.93 0 0 1 18 22M7.15 6l2.4 5h7l2.75-5zM6.2 4h14.75q.575 0 .875.513.3.512.025 1.037l-3.55 6.4q-.275.5-.738.775A1.95 1.95 0 0 1 16.55 13H9.1L8 15h11q.424 0 .712.287.288.288.288.713 0 .424-.288.712A.97.97 0 0 1 19 17H8q-1.125 0-1.7-.988-.575-.987-.05-1.962L7.6 11.6 4 4H3a.97.97 0 0 1-.712-.288A.97.97 0 0 1 2 3q0-.424.288-.712A.97.97 0 0 1 3 2h1.625q.274 0 .525.15.25.15.375.425z"}))}),u=r(118850),d=r(578124),f=r(222736),h=r(299168);let p=()=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",children:[(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.61172 3.07633V3.817C6.60172 3.901 7.37839 4.73167 7.37839 5.743V11.0763C7.37839 12.0877 6.60172 12.9177 5.61172 13.0023V13.7423C5.61172 14.1103 5.31305 14.409 4.94505 14.409C4.57705 14.409 4.27839 14.1103 4.27839 13.7423V13.0023C3.28839 12.9183 2.51172 12.0877 2.51172 11.0763V5.743C2.51172 4.73167 3.28839 3.90167 4.27839 3.817V3.07633C4.27839 2.70833 4.57705 2.40967 4.94505 2.40967C5.31305 2.40967 5.61172 2.70833 5.61172 3.07633ZM5.44505 11.8097C5.85039 11.8097 6.17839 11.481 6.17839 11.0763V5.743C6.17839 5.33767 5.84972 5.00967 5.44505 5.00967H4.44505C4.03972 5.00967 3.71172 5.33767 3.71172 5.743V11.0763C3.71172 11.4817 4.03972 11.8097 4.44505 11.8097H5.44505Z",fill:"var(--content-primary)"}),(0,n.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4451 3.07633V5.447C13.4351 5.531 14.2117 6.36167 14.2117 7.373V9.447C14.2117 10.4583 13.4351 11.2883 12.4451 11.373V13.7423C12.4451 14.1103 12.1464 14.409 11.7784 14.409C11.4104 14.409 11.1117 14.1103 11.1117 13.7423V11.373C10.1217 11.289 9.34505 10.4583 9.34505 9.447V7.373C9.34505 6.36167 10.1224 5.53167 11.1117 5.447V3.07633C11.1117 2.70833 11.4104 2.40967 11.7784 2.40967C12.1464 2.40967 12.4451 2.70833 12.4451 3.07633ZM12.2784 10.181C12.6837 10.181 13.0117 9.85233 13.0117 9.44767V7.37367C13.0117 6.96833 12.6831 6.64033 12.2784 6.64033H11.2784C10.8731 6.64033 10.5451 6.969 10.5451 7.37367V9.44767C10.5451 9.853 10.8731 10.181 11.2784 10.181H12.2784Z",fill:"var(--content-primary)"})]}),E=e=>{let{buttonText:t,IconType:r,url:i,setPreference:l,trailingIcon:E}=e,_=(0,s.useRouter)(),g=(0,h.of)(),S=e=>{_.push(e),(0,a.s)("HeaderTerminalButton",f.A.CartButtonClick,{url:e})};return"Terminal"===t?(0,n.jsx)(o.A,{url:i,target:"_blank",isCsr:!1,children:(0,n.jsx)(d.B,{variant:"Secondary",size:"Small",leadingIcon:()=>(0,n.jsx)(p,{}),buttonText:t,onClick:()=>{(0,a.s)("HeaderTerminalButton",f.A.TerminalButtonClick),l&&(0,h.ym)(g)}})}):(0,n.jsx)(d.B,{variant:"Secondary",size:"Small",leadingIcon:()=>"CART"===r?(0,n.jsx)(c,{size:16,className:"contentPrimary"}):(0,n.jsx)(u.A,{size:16,className:"contentPrimary"}),buttonText:t,onClick:()=>S(i),trailingIcon:E})}},35271:(e,t,r)=>{"use strict";function n(e,t){return Math.floor(Math.random()*(t-e+1))+e}function i(e){try{if(null==e||void 0===e)return!0;switch(typeof e){case"string":return""===e.trim()||"null"===e||null===e;case"object":return Object.keys(e).length<=0;case"number":return!1;default:return!!(Array.isArray(e)&&e.length<=0)}}catch(e){return!0}}r.d(t,{g:()=>n,i:()=>i}),!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object)},38314:(e,t,r)=>{"use strict";r.d(t,{W:()=>S});var n=r(574830),i=r(730884),a=r(765826),o=r(80339),s=r(779126),l=r(950565),c=r(925129),u=r(365),d=r(248934),f=r(460318),h=r(975427),p=r(269618);function E(){return(0,p.Se)((0,p.EU)()).segmentSpanCaptureStrategy}var _=r(887176),g=r(535902);class S{constructor(e={}){this._traceId=e.traceId||(0,l.e)(),this._spanId=e.spanId||(0,l.Z)(),this._startTime=e.startTimestamp||(0,u.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[o.JD]:"manual",[o.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}
1addLink(e){return this._frozen||(this._links?this._links.push(e):this._links=[e]),this}addLinks(e){return this._frozen||(this._links?this._links.push(...e):this._links=e),this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?c.aO:c.CC}}setAttribute(e,t){return this._frozen||(void 0===t?delete this._attributes[e]:this._attributes[e]=t,e===o.i_&&void 0!==t&&(0,g.ZO)(this)&&(0,g.jF)(this)),this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._frozen||(this._startTime=(0,c.cI)(e))}setStatus(e){return this._frozen||(this._status=e),this}updateName(e){return this._frozen||(this._name=e,(0,g.ZO)(this)||this.setAttribute(o.i_,"custom")),this}end(e){if(this._endTime){this._frozen=(0,g.rh)(this);return}this._endTime=(0,c.cI)(e),(0,f.U)(this),this._onSpanEnded(),this._frozen=(0,g.rh)(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[o.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[o.JD],profile_id:this._attributes[o.E1],exclusive_time:this._attributes[o.jG],measurements:(0,h.$)(this._events),is_segment:this._isStandaloneSpan&&(0,c.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,c.zU)(this).spanContext().spanId:void 0,links:(0,c.uU)(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===(0,c.zU)(this),status:(0,c.dZ)(this._status),attributes:(0,c.fy)(this._attributes,this._status),links:(0,c.HQ)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){if(this._frozen)return this;i.T&&s.Yz.log("[Tracing] Adding an event to span:",e);let n=m(t)?t:r||(0,u.zf)(),a=m(t)?{}:t||{},o={name:e,time:(0,c.cI)(n),attributes:a};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,n.KU)();e&&(e.emit("spanEnd",this),this._isStandaloneSpan||e.emit("afterSpanEnd",this));let t=(0,c.zU)(this),r=this._isStandaloneSpan||this===t;if(this._isStandaloneSpan){this._sampled?function(e){let t=(0,n.KU)();if(!t)return;let r=e[1];if(!r||0===r.length){t.recordDroppedEvent("before_send","span");return}t.sendEnvelope(e)}((0,a.lu)([this],e)):(i.T&&s.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span"));return}if(!r){let e=E();if(e){let r=(0,g.Lb)(this).scope||(0,n.o5)();e.onChildSpanEnded(this,t,e=>this._convertSpanToTransaction(e),r)}return}if(e&&(0,_.K)(e)){e.emit("afterSegmentSpanEnd",this);return}let o=(0,g.Lb)(this).scope||(0,n.o5)(),l=E();if(l)l.onSegmentSpanEnded(e=>this._convertSpanToTransaction(e),o);else{let e=this._convertSpanToTransaction();e&&o.captureEvent(e)}}_convertSpanToTransaction(e={}){if(!A((0,c.et)(this)))return;this._name||(i.T&&s.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:t,isolationScope:r}=(0,g.Lb)(this),n=t?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;e.onSpanCaptured?.(this);let a=[];for(let t of(0,c.xO)(this)){var l;if(t===this||(l=t)instanceof S&&l.isStandaloneSpan()||e.isSpanAlreadyCaptured?.(t))continue;let r=(0,c.et)(t);A(r)&&(e.onSpanCaptured?.(t),a.push(r))}let u=this._attributes[o.i_];delete this._attributes[o.Le];let f=!1;a.forEach(e=>{delete e.data[o.Le],e.op?.startsWith("gen_ai.")&&(f=!0)});let p={contexts:{trace:(0,c.Ck)(this)},spans:a.length>1e3?a.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):a,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:r,dynamicSamplingContext:(0,d.k1)(this),hasGenAiSpans:f},request:n,...u&&{transaction_info:{source:u}}},E=(0,h.$)(this._events);return E&&Object.keys(E).length&&(i.T&&s.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(E,void 0,2)),p.measurements=E),p}}function m(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function A(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}},39975:(e,t,r)=>{"use strict";r.d(t,{d:()=>u,w:()=>c});
1var n=r(655969),i=r(951402),a=r(299168),o=r(519201),s=r(911823);let l=()=>{let e=(0,a.n8)();return{subscriptionDetails:(0,i.a)(e)?{}:e}},c=(0,n.vt)()(()=>{var e;return{isLoading:!1,subscriptionDetails:l().subscriptionDetails,isPrimeUser:(null===(e=l().subscriptionDetails)||void 0===e?void 0:e.subscriptionType)===s.L.PRIME,updatedAt:null,hasFetchError:!1,hasFetchedOnce:!1}}),u=(0,o.L)(c)},40705:(e,t)=>{t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,f=r?-1:1,h=e[t+d];for(d+=f,a=h&(1<<-u)-1,h>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=f,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=c}return(h?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,f=5960464477539062e-23*(23===i),h=n?0:a-1,p=n?1:-1,E=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[r+h]=255&o,h+=p,o/=256,c-=8);e[r+h-p]|=128*E}},41307:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,ue:()=>s});var n=r(642803),i=r(366929),a=r(782456),o=r(829656);let s={mfOrderListData:{page:-1,hasMore:!0,mfOrderListError:!1,mfOrderListLoader:!0,mfOrderData:[]},nomineeScreenStatusData:{},nomineeProcessDetails:{},mfOrderDetails:{hasLoading:!1,hasError:!1,data:{}}};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case(0,i.V)(o.r.GET_MF_ORDER_DATA).inProgress:var l=e,c=t;let{payload:u}=c;return{...l,mfOrderListData:{...l.mfOrderListData,mfOrderListLoader:!0,page:u.page,hasMore:!1}};case(0,i.V)(o.r.GET_MF_ORDER_DATA).success:var d=e,f=t;let{payload:h}=f;return{...d,mfOrderListData:{...h,mfOrderListLoader:!1,mfOrderListError:!1}};case(0,i.V)(o.r.GET_MF_ORDER_DATA).failure:return{...g=e,mfOrderListData:{...g.mfOrderListData,mfOrderListLoader:!1,mfOrderListError:!0,hasMore:!1}};case o.r.RESET_MF_ORDER_DATA:return{...e,mfOrderListData:{page:-1,mfOrderData:[],hasMore:!0,mfOrderListError:!1,mfOrderListLoader:!1}};case o.r.SET_NOMINEE_STATUS_DATA:var p=e,E=t;let{payload:_}=E;return{...p,nomineeScreenStatusData:_};case o.r.GET_NOMINEE_PROCESS_DETAILS:var g,S,m=e,A=t;let{payload:v}=null!=A?A:{},{status:b}=null!==(S=null==v?void 0:v.response)&&void 0!==S?S:{};return(0,n.handle)(m,A,{start:e=>({...e,nomineeProcessDetails:{...e.nomineeProcessDetails,hasError:!1,hasLoading:!0}}),success:e=>{var t;return{...e,nomineeProcessDetails:{hasError:!1,hasLoading:!1,nomineeProcessDetailsData:null==v?void 0:null===(t=v.data)||void 0===t?void 0:t.responseBody}}},failure:e=>({...e,nomineeProcessDetails:{...e.nomineeProcessDetails,hasError:!0,hasLoading:!1,statusResponseCode:null!=b?b:500}})});case o.r.GET_ORDER_DETAILS:var T=e,y=t;let{payload:O}=null!=y?y:{};return(0,n.handle)(T,y,{start:e=>({...e,mfOrderDetails:{...e.mfOrderDetails,hasError:!1,hasLoading:!0}}),success:e=>{let t=null==O?void 0:O.data,r=t?{...t,preferredExchange:(0,a.TvS)(null==t?void 0:t.exchange)}:void 0;return{...e,mfOrderDetails:{hasError:!1,hasLoading:!1,data:r}}},failure:e=>({...e,mfOrderDetails:{...e.mfOrderDetails,hasError:!0,hasLoading:!1}})});default:return e}}},43026:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_103)"},n.createElement("path",{fill:"currentColor",d:"m10.6 13.8-2.15-2.15a.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275.95.95 0 0 0-.275.7q0 .425.275.7L9.9 15.9q.3.3.7.3t.7-.3l5.65-5.65a.95.95 0 0 0 .275-.7.95.95 0 0 0-.275-.7.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275zM12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_103"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},43430:(e,t,r)=>{"use strict";r.d(t,{Us:()=>_,V$:()=>g,Yb:()=>E});var n=r(407178);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var a="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,o=function(e){var t=(0,n.useRef)(e);return a(function(){t.current=e}),(0,n.useCallback)(function(){return t.current},[t])},s={status:"not-requested",loading:!1,result:void 0,error:void 0},l={status:"loading",loading:!0,result:void 0,error:void 0},c=function(){},u={initialState:function(e){return e&&e.executeOnMount?l:s},executeOnMount:!0,executeOnUpdate:!0,setLoading:function(e){return l},setResult:function(e,t){return{status:"success",loading:!1,result:e,error:void 0}},setError:function(e,t){return{status:"error",loading:!1,result:void 0,error:e}},onSuccess:c,onError:c},d=function(e){var t=(0,n.useState)(function(){return e.initialState(e)}),r=t[0],a=t[1],o=(0,n.useCallback)(function(){return a(e.initialState(e))},[a,e]),s=(0,n.useCallback)(function(){return a(e.setLoading(r))},[r,a]),l=(0,n.useCallback)(function(t){return a(e.setResult(t,r))},[r,a]),c=(0,n.useCallback)(function(t){return a(e.setError(t,r))},[r,a]),u=(0,n.useCallback)(function(e){return a(i({},r,{},e))},[r,a]);return{value:r,set:a,merge:u,reset:o,setLoading:s,setResult:l,setError:c}},f=function(){var e=(0,n.useRef)(!1);return(0,n.useEffect)(function(){return e.current=!0,function(){e.current=!1}},[]),function(){return e.current}},h=function(){var e=(0,n.useRef)(null);return{set:function(t){return e.current=t},get:function(){return e.current},is:function(t){return e.current===t}}},p=function(e,t,r){t||(t=[]);var a=i({},u,{},r),s=(0,n.useState)(null),l=s[0],c=s[1],p=d(a),E=f(),_=h(),g=function(e){return E()&&_.is(e)},S=o(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=function(){try{return Promise.resolve(e.apply(void 0,r))}catch(e){return Promise.reject(e)}}();return c(r),_.set(i),p.setLoading(),i.then(function(e){g(i)&&p.setResult(e),a.onSuccess(e,{isCurrent:function(){return _.is(i)}})},function(e){g(i)&&p.setError(e),a.onError(e,{isCurrent:function(){return _.is(i)}})}),i}),m=(0,n.useCallback)(function(){return S().apply(void 0,arguments)},[S]),A=!E();return(0,n.useEffect)(function(){var e=function(){return S().apply(void 0,t)};A&&a.executeOnMount&&e(),!A&&a.executeOnUpdate&&e()},t),i({},p.value,{set:p.set,merge:p.merge,reset:p.reset,execute:m,currentPromise:_.get(),currentParams:l})};function E(e,t,r){return p(e,t,r)}var _=function(e,t,r){var i=(0,n.useRef)();return p(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];try{i.current&&i.current.abort();var a=new AbortController;return i.current=a,Promise.resolve(function(e,t){try{var r=e()}catch(e){return t(!0,e)}return r&&r.then?r.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}(function(){return Promise.resolve(e.apply(void 0,[a.signal].concat(r)))},function(e,t){if(i.current===a&&(i.current=void 0),e)throw t;return t}))}catch(e){return Promise.reject(e)}},t,r)},g=function(e,t){return p(e,[],i({},t,{executeOnMount:!1,executeOnUpdate:!1}))}},47360:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={SignUpSuccess:"SignUpSuccess",SignupFailed:"SignupFailed",GmailAuthFailed:"GmailAuthFailed",OtpVerified:"OtpVerified",EmailOtpSendFailed:"EmailOtpSendFailed",EmailOtpSendSuccess:"EmailOtpSendSuccess",EmailOtpValidateFailed:"EmailOtpValidateFailed",EmailOtpValidateSuccess:"EmailOtpValidateSuccess",EmailBlocked:"EmailBlocked",SignInClick:"SignInClick",GooglePlayClicked:"GooglePlayClicked",ContinueWithGoogle:"ContinueWithGoogle",NavbarLoginClick:"NavbarLoginClick",SignupCampaignSuccess:"SignupCampaignSuccess",LoginSuccess:"LoginSuccess",LoginFailed:"LoginFailed",GoogleLoginFailedReason:"GoogleLoginFailedReason",EmailSubmitted:"EmailSubmitted",EmailSubmissionFailed:"EmailSubmissionFailed",LogoutFailed:"LogoutFailed",LogoutSuccess:"LogoutSuccess",GrowwLiteGlobalMessageBoard:"GrowwLiteGlobalMessageBoard",Device_Registration_True:"Device_Registration_True",Device_Registration_False:"Device_Registration_False",Device_Registration_OTP_triggered:"Device_Registration_OTP_triggered ",Device_Registration_OTP_triggered_failed:"Device_Registration_OTP_triggered_failed",Device_Registration_OTP_resend:"Device_Registration_OTP_resend",Device_Registration_OTP_Success:"Device_Registration_OTP_Success",Device_Registration_OTP_Failed:"Device_Registration_OTP_Failed",ForgotPassword:"ForgotPassword",PasswordOtpRequested:"PasswordOtpRequested",SearchedInput:"SearchedInput",SearchSuggestionClick:"SearchSuggestionClick",SearchIconClick:"SearchIconClick",SearchFeatureClick:"SearchFeatureClick",SearchFilterClick:"SearchFilterClick",HSNullSearch:"HSNullSearch",SendFeedbackClick:"SendFeedbackClick",DeleteAllClick:"DeleteAllClick",ExploreClick:"ExploreClick",ProfileHelpClick:"ProfileHelpClick",ProfileSignOutClick:"ProfileSignOutClick",ProfileSettingsClick:"ProfileSettingsClick",OneTapLoginSuccess:"OneTapLoginSuccess",EmailVerificationSuccess:"EmailVerificationSuccess",EmailVerificationFailed:"EmailVerificationFailed",SideNavbarClick:"SideNavbarClick",TwoFAOTPSuccess:"TwoFAOTPSuccess",TwoFAOTPFailed:"TwoFAOTPFailed",ValidatePINSuccess:"ValidatePINSuccess",ValidatePINFailed:"ValidatePINFailed",TwoFAResendOTPSuccess:"TwoFAResendOTPSuccess",ForgotGrowwPin:"ForgotGrowwPin",TwoFAResendOTPFailed:"TwoFAResendOTPFailed",UpdatePINSuccess:"UpdatePINSuccess",UpdatePinFailed:"UpdatePinFailed",MobileSendOTP:"MobileSendOTP",MobileFailure:"MobileFailure",MobileAlreadyRegisteredContinue:"MobileAlreadyRegisteredContinue",MobileVerificationContinue:"MobileVerificationContinue",PreAddMoneyClick:"PreAddMoneyClick",ReportSectionClick:"ReportSectionClick",SignUpClick:"SignUpClick",MyOrdersClick:"MyOrdersClick",ProfileMyProfileClick:"ProfileMyProfileClick",LoggedOutExploreClick:"LoggedOutExploreClick",ProfileBankAndAutopayClick:"ProfileBankAndAutopayClick",EmailVerifyClick:"EmailVerifyClick",EmailApiSuccess:"EmailApiSuccess",EmailApiFailed:"EmailApiFailed",CartClick:"CartClick",WalletClick:"WalletClick",ProfilePicClick:"ProfilePicClick",ManageProfileClick:"ManageProfileClick",AddMemberClick:"AddMemberClick",MemberSwitchClick:"MemberSwitchClick",NotificationIconCl
1ick:"NotificationIconClick",ViewAllNotifClick:"ViewAllNotifClick",ManageNotificationsClick:"ManageNotificationsClick",AuthTokenEmpty:"AuthTokenEmpty",AuthTokenUndefined:"AuthTokenUndefined",ResponseDataEmpty:"ResponseDataEmpty",PopupDismissClick:"PopupDismissClick",NotifNewPageLoaded:"NotifNewPageLoaded",InvestmentsClick:"InvestmentsClick",ContinueWithOtherEmail:"ContinueWithOtherEmail",DeviceLogoutClick:"DeviceLogoutClick",DeviceLogoutDone:"DeviceLogoutDone",DeviceChangePassword:"DeviceChangePassword",ActiveDeviceClick:"ActiveDeviceClick",EmailVerificationPageView:"EmailVerificationPageView",OnboardingSettingsFreezeAccount:"OnboardingSettingsFreezeAccount",OnboardingScreenView:"OnboardingScreenView",OnboardingCTAClick:"OnboardingCTAClick",HSNeedHelpClick:"HSNeedHelpClick",TwoFaSuccess:"ACC_FREEZE_TWOFA_SUCCESS",OnboardingPopupShown:"OnboardingPopupShown",OnboardingPopupDismissed:"OnboardingPopupDismissed",OnboardingApiSuccess:"OnboardingApiSuccess",OnboardingApiFailure:"OnboardingApiFailure",FreezeLogoutSuccess:"FreezeLogoutSuccess",GobblerOnboardingUserStatus:"GobblerOnboardingUserStatus"}},51912:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base32=void 0;let r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";class n{static encode(e){let t=0,n=0,i=new Uint8Array(e),a=new Uint8Array(2*e.byteLength),o=0;for(let e=0;e<i.byteLength;e++)for(n=n<<8|i[e],t+=8;t>=5;){let e=n>>>t-5&31;a[o++]=r.charAt(e).charCodeAt(0),t-=5}if(t>0){let e=n<<5-t&31;a[o++]=r.charAt(e).charCodeAt(0)}return a.slice(0,o)}static decode(e){let t=0,n=0,i=0,a=new Uint8Array(e),o=new Uint8Array(5*a.byteLength/8|0);for(let e=0;e<a.byteLength;e++){let s=String.fromCharCode(a[e]),l=r.indexOf(s);if(-1===l)throw Error("Illegal Base32 character: "+a[e]);n=n<<5|l,(t+=5)>=8&&(o[i++]=n>>>t-8&255,t-=8)}return o.slice(0,i)}}t.base32=n},53453:e=>{e.exports={popupBG:"style_popupBG__X_aiR",storiesWrapper:"style_storiesWrapper__069CQ"}},54102:(e,t,r)=>{"use strict";r.d(t,{gu:()=>J,gZ:()=>$,eD:()=>X,pT:()=>Q,uS:()=>Z,Qt:()=>W.Q,P7:()=>z});var n=r(132978);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r,n,i,a,o){try{var s=e[a](o),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function o(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,l,"next",e)}function l(e){a(o,n,i,s,l,"throw",e)}s(void 0)})}}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(r=i.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw n}}return a}}(e,t)||d(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function d(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);
1if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}function f(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){var l=[a,s];if(r)throw TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,n=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}function h(e){for(var t=0x811c9dc5,r=e.length,n=0;n<r;n++)t^=e.charCodeAt(n),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0}function p(e,t,r){return 2===r?h(h(e+t)+"")%1e4/1e4:1===r?h(t+e)%1e3/1e3:-1}function E(e,t){return e>=t[0]&&e<t[1]}var _={};function g(e,t){if("$or"in t)return m(e,t.$or);if("$nor"in t)return!m(e,t.$nor);if("$and"in t){for(var r=e,n=t.$and,i=0;i<n.length;i++)if(!g(r,n[i]))return!1;return!0}if("$not"in t)return!g(e,t.$not);var a=!0,o=!1,s=void 0;try{for(var c,d=Object.entries(t)[Symbol.iterator]();!(a=(c=d.next()).done);a=!0){var f=l(c.value,2),h=f[0],p=f[1];if(!function e(t,r){if("string"==typeof t)return r+""===t;if("number"==typeof t)return+r===t;if("boolean"==typeof t)return!!r===t;if(Array.isArray(t)||!S(t))return JSON.stringify(r)===JSON.stringify(t);for(var n in t)if(!function(t,r,n){switch(t){case"$eq":return r===n;case"$ne":return r!==n;case"$lt":return r<n;case"$lte":return r<=n;case"$gt":return r>n;case"$gte":return r>=n;case"$exists":return n?null!==r:null===r;case"$in":return n.includes(r);case"$nin":return!n.includes(r);case"$not":return!e(n,r);case"$size":return!!Array.isArray(r)&&e(n,r.length);case"$elemMatch":if(!Array.isArray(r))return!1;for(var i=S(n)?function(t){return e(n,t)}:function(e){return g(e,n)},a=0;a<r.length;a++)if(r[a]&&i(r[a]))return!0;return!1;case"$all":if(!Array.isArray(r))return!1;for(var o=0;o<n.length;o++){for(var s=!1,l=0;l<r.length;l++)if(e(n[o],r[l])){s=!0;break}if(!s)return!1}return!0;case"$regex":try{return(_[n]||(_[n]=new RegExp(n.replace(/([^\\])\//g,"$1\\/"))),_[n]).test(r)}catch(e){return!1}case"$type":return function(e){if(null===e)return"null";if(Array.isArray(e))return"array";var t=void 0===e?"undefined":u(e);return["string","number","boolean","object","undefined"].includes(t)?t:"unknown"}(r)===n;default:return console.error("Unknown operator: "+t),!1}}(n,r,t[n]))return!1;return!0}(p,function(e,t){for(var r=t.split("."),n=e,i=0;i<r.length;i++)if(!n||"object"!=typeof n||!(r[i]in n))return null;else n=n[r[i]];return n}(e,h)))return!1}}catch(e){o=!0,s=e}finally{try{a||null==d.return||d.return()}finally{if(o)throw s}}return!0}function S(e){var t=Object.keys(e);return t.length>0&&t.filter(function(e){return"$"===e[0]}).length===t.length}function m(e,t){if(!t.length)return!0;for(var r=0;r<t.length;r++)if(g(e,t[r]))return!0;return!1}var A={fetch:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0,SubtleCrypto:globalThis.crypto?globalThis.crypto.subtle:void 0,EventSource:globalThis.EventSource};try{globalThis.localStorage&&(A.localStorage=globalThis.localStorage)}catch(e){}var v=new Map,b=new Map,T=new Set;function y(){return(y=o(function(e,t,r){var n,i;return f(this,function(i){switch(i.label){case 0:return[4,function(e,t){return O.apply(this,arguments)}(e,t)];case 1:if(n=i.sent(),!(r&&n))return[3,3];return[4,function(e,t){return C.apply(this,arguments)}(e,n)];case 2:i.sent(),i.label=3;case 3:return[2]}})})).apply(this,arguments)}function O(){return(O=o(function(e,t){return f(this,function(r){switch(r.label){case 0:var n,i;return[4,(n=function(e){return I.apply(this,arguments)}(e),i=t,new Promise(function(e){var t,r=!1,a=function(n){r||(r=!0,t&&clearTimeout(t),e(n||null))};i&&(t=setTimeout(function(){return a()},i)),n.then(function(e){return a(e)}).catch(function(){return a()})}))];case 1:return[2,r.sent()]}})})).apply(this,arguments)}function w(e){var t=l(e.getApiInfo(),2),r=t[0],n=t[1];return["".concat(r,"||").concat(n),r,n]}function C(){return(C=o(function(e,t){return f(this,function(r){switch(r.label){case 0:return[4,t.encryptedFeatures?e.setEncryptedFeatures(t.encryptedFeatures,void 0,A.SubtleCrypto):e.setFeatures(t.features||e.getFeatures())];case 1:return r.sent(),[2]}})})).apply(this,arguments)}function I(){return(I=o(function(e){var t,r,n,i;return f(this,function(a){switch(a.label){case 0:return r=(t=l(w(e),3))[0],n=t[1]+"/v1/api/features/"+t[2],(i=b.get(r))||(i=A.fetch(n).then(function(e){return"enabled"===e.headers.get("x-sse-support")&&T.add(r),e.json()}).then(function(e){return b.delete(r),e}).catch(function(e){return b.delete(r),Promise.resolve({})}),b.set(r,i)),[4,i];case 1:return[2,a.sent()]}})})).apply(this,arguments)}var R,N,D,P,L,k="u">u(window)&&("undefined"==typeof document?"undefined":u(document))<"u",M=function(e){return Uint8Array.from(atob(e),function(e){return e.charCodeAt(0)})},F=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");e=e||{},this._ctx=this.context=e,this._renderer=null,this._trackedExperiments=new Set,this._trackedFeatures={},this.debug=!1,this._subscriptions=new Set,this._rtQueue=[],this._rtTimer=0,this.ready=!1,this._assigned=new Map,this._forcedFeatureValues=new Map,this._attributeOverrides={},e.features&&(this.ready=!0),k&&e.enableDevMode&&(window._growthbook=this,document.dispatchEvent(new Event("gbloaded"))),e.clientKey&&this._refresh({},!1)}return e=[{key:"loadFeatures",value:function(e){var t=this;return o(function(){return f(this,function(r){switch(r.label){case 0:return[4,t._refresh(e,!0)];case 1:var n,i;return r.sent(),e&&e.autoRefresh&&(n=l(w(t),1)[0],(i=v.get(n)||new Set).add(t),v.set(n,i)),[2]}})})()}},{key:"refreshFeatures",value:function(e){var t=this;return o(function(){return f(this,function(r){switch(r.label){case 0:return[4,t._refresh(e,!0)];case 1:return r.sent(),[2]}})})()}},{key:"getApiInfo",value:function(){return[(this._ctx.apiHost||"https://cdn.growthbook.io").replace(/\/*$/,""),this._ctx.clientKey||""]}},{key:"_refresh",value:function(e,t){var r=this;return o(function(){return f(this,function(n){switch(n.label){case 0:if(e=e||{},!r._ctx.clientKey)throw Error("Missing clientKey");return[4,function(e,t,r){return y.apply(this,arguments)}(r,e.timeout,t)];case 1:return n.sent(),[2]}})})()}},{key:"_render",value:function(){this._renderer&&this._renderer()}},{key:"setFeatures",value:function(e){this._ctx.features=e,this.ready=!0,this._render()}},{key:"setEncryptedFeatures",value:function(e,t,r){var n=this;return o(function(){var i,a,o,s,c;return f(this,function(u){switch(u.label){case 0:if(t=t||n._ctx.decryptionKey||"",!(r=r||globalThis.crypto&&globalThis.crypto.subtle))throw Error("No SubtleCrypto implementation found");u.label=1;case 1:return u.trys.push([1,4,,5]),[4,r.importKey("raw",M(t),{name:"AES-CBC",length:128},!0,["encrypt","decrypt"])];case 2:return i=u.sent(),o=(a=l(e.split("."),2))[0],s=a[1],[4,r.decrypt({
1name:"AES-CBC",iv:M(o)},i,M(s))];case 3:return c=u.sent(),n.setFeatures(JSON.parse(new TextDecoder().decode(c))),[3,5];case 4:throw u.sent(),Error("Failed to decrypt features");case 5:return[2]}})})()}},{key:"setAttributes",value:function(e){this._ctx.attributes=e,this._render()}},{key:"setAttributeOverrides",value:function(e){this._attributeOverrides=e,this._render()}},{key:"setForcedVariations",value:function(e){this._ctx.forcedVariations=e||{},this._render()}},{key:"setForcedFeatures",value:function(e){this._forcedFeatureValues=e,this._render()}},{key:"getAttributes",value:function(){return s({},this._ctx.attributes,this._attributeOverrides)}},{key:"getFeatures",value:function(){return this._ctx.features||{}}},{key:"subscribe",value:function(e){var t=this;return this._subscriptions.add(e),function(){t._subscriptions.delete(e)}}},{key:"getAllResults",value:function(){return new Map(this._assigned)}},{key:"destroy",value:function(){var e;this._subscriptions.clear(),this._assigned.clear(),this._trackedExperiments.clear(),this._trackedFeatures={},this._rtQueue=[],this._rtTimer&&clearTimeout(this._rtTimer),e=this,v.forEach(function(t){return t.delete(e)}),k&&window._growthbook===this&&delete window._growthbook}},{key:"setRenderer",value:function(e){this._renderer=e}},{key:"forceVariation",value:function(e,t){this._ctx.forcedVariations=this._ctx.forcedVariations||{},this._ctx.forcedVariations[e]=t,this._render()}},{key:"run",value:function(e){var t=this._run(e,null);return this._fireSubscriptions(e,t),t}},{key:"_fireSubscriptions",value:function(e,t){var r=e.key,n=this._assigned.get(r);n&&n.result.inExperiment===t.inExperiment&&n.result.variationId===t.variationId||(this._assigned.set(r,{experiment:e,result:t}),this._subscriptions.forEach(function(r){try{r(e,t)}catch(e){console.error(e)}}))}},{key:"_trackFeatureUsage",value:function(e,t){var r=this;if("override"!==t.source){var n=JSON.stringify(t.value);if(this._trackedFeatures[e]!==n){if(this._trackedFeatures[e]=n,this._ctx.onFeatureUsage)try{this._ctx.onFeatureUsage(e,t)}catch(e){}k&&window.fetch&&(this._rtQueue.push({key:e,on:t.on}),this._rtTimer||(this._rtTimer=window.setTimeout(function(){r._rtTimer=0;var e=c(r._rtQueue);r._rtQueue=[],r._ctx.realtimeKey&&window.fetch("https://rt.growthbook.io/?key=".concat(r._ctx.realtimeKey,"&events=").concat(encodeURIComponent(JSON.stringify(e))),{cache:"no-cache",mode:"no-cors"}).catch(function(){})},this._ctx.realtimeInterval||2e3)))}}}},{key:"_getFeatureResult",value:function(e,t,r,n,i,a){var o={value:t,on:!!t,off:!t,source:r,ruleId:n||""};return i&&(o.experiment=i),a&&(o.experimentResult=a),this._trackFeatureUsage(e,o),o}},{key:"isOn",value:function(e){return this.evalFeature(e).on}},{key:"isOff",value:function(e){return this.evalFeature(e).off}},{key:"getFeatureValue",value:function(e,t){var r=this.evalFeature(e).value;return null===r?t:r}},{key:"feature",value:function(e){return this.evalFeature(e)}},{key:"evalFeature",value:function(e){var t=this;if(this._forcedFeatureValues.has(e))return this._getFeatureResult(e,this._forcedFeatureValues.get(e),"override");if(!this._ctx.features||!this._ctx.features[e])return this._getFeatureResult(e,null,"unknownFeature");var r=this._ctx.features[e],n=!0,i=!1,a=void 0;if(r.rules)try{for(var o,s=r.rules[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){var l=o.value;if(!(l.condition&&!this._conditionPasses(l.condition)||l.filters&&this._isFilteredOut(l.filters))){if("force"in l){if(!this._isIncludedInRollout(l.seed||e,l.hashAttribute,l.range,l.coverage,l.hashVersion))continue;return l.tracks&&l.tracks.forEach(function(e){t._track(e.experiment,e.result)}),this._getFeatureResult(e,l.force,"force",l.id)}if(l.variations){var c={variations:l.variations,key:l.key||e};"coverage"in l&&(c.coverage=l.coverage),l.weights&&(c.weights=l.weights),l.hashAttribute&&(c.hashAttribute=l.hashAttribute),l.namespace&&(c.namespace=l.namespace),l.meta&&(c.meta=l.meta),l.ranges&&(c.ranges=l.ranges),l.name&&(c.name=l.name),l.phase&&(c.phase=l.phase),l.seed&&(c.seed=l.seed),l.hashVersion&&(c.hashVersion=l.hashVersion),l.filters&&(c.filters=l.filters);var u=this._run(c,e);if(this._fireSubscriptions(c,u),u.inExperiment&&!u.passthrough)return this._getFeatureResult(e,u.value,"experiment",l.id,c,u)}}}}catch(e){i=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw a}}return this._getFeatureResult(e,void 0===r.defaultValue?null:r.defaultValue,"defaultValue")}},{key:"_isIncludedInRollout",value:function(e,t,r,n,i){if(!r&&void 0===n)return!0;var a=this._getHashAttribute(t).hashValue;if(!a)return!1;var o=p(e,a,i||1);return r?E(o,r):void 0===n||o<=n}},{key:"_conditionPasses",value:function(e){return g(this.getAttributes(),e)}},{key:"_isFilteredOut",value:function(e){var t=this;return e.some(function(e){var r=t._getHashAttribute(e.attribute).hashValue;if(!r)return!0;var n=p(e.seed,r,e.hashVersion||2);return!e.ranges.some(function(e){return E(n,e)})})}},{key:"_run",value:function(e,t){var r,n,i,a,o,s,c,u=e.key,d=e.variations.length;if(d<2||!1===this._ctx.enabled)return this._getResult(e,-1,!1,t);e=this._mergeOverrides(e);var f=function(e,t,r){if(!t)return null;var n=t.split("?")[1];if(!n)return null;var i=n.replace(/#.*/,"").split("&").map(function(e){return e.split("=",2)}).filter(function(t){return l(t,1)[0]===e}).map(function(e){return parseInt(l(e,2)[1])});return i.length>0&&i[0]>=0&&i[0]<r?i[0]:null}(u,this._getContextUrl(),d);if(null!==f)return this._getResult(e,f,!1,t);if(this._ctx.forcedVariations&&u in this._ctx.forcedVariations){var h=this._ctx.forcedVariations[u];return this._getResult(e,h,!1,t)}if("draft"===e.status||!1===e.active)return this._getResult(e,-1,!1,t);var _=this._getHashAttribute(e.hashAttribute).hashValue;if(!_)return this._getResult(e,-1,!1,t);if(e.filters){if(this._isFilteredOut(e.filters))return this._getResult(e,-1,!1,t)}else if(e.namespace&&(!((n=p("__"+(r=e.namespace)[0],_,1))>=r[1])||!(n<r[2])))return this._getResult(e,-1,!1,t);if(e.include&&!function(e){try{return e()}catch(e){return console.error(e),!1}}(e.include)||e.condition&&!this._conditionPasses(e.condition)||e.groups&&!this._hasGroupOverlap(e.groups)||e.url&&!this._urlIsValid(e.url))return this._getResult(e,-1,!1,t);var g=p(e.seed||u,_,e.hashVersion||1),S=function(e,t){for(var r=0;r<t.length;r++)if(E(e,t[r]))return r;return -1}(g,e.ranges||(i=void 0===e.coverage?1:e.coverage,a=e.weights,(i=void 0===i?1:i)<0?i=0:i>1&&(i=1),o=d<=0?[]:Array(d).fill(1/d),(a=a||o).length!==d&&(a=o),((s=a.reduce(function(e,t){return t+e},0))<.99||s>1.01)&&(a=o),c=0,a.map(function(e){var t=c;return c+=e,[t,t+i*e]})));if(S<0)return this._getResult(e,-1,!1,t);if("force"in e)return this._getResult(e,void 0===e.force?-1:e.force,!1,t);if(this._ctx.qaMode||"stopped"===e.status)return this._getResult(e,-1,!1,t);var m=this._getResult(e,S,!0,t,g);return this._track(e,m),m}},{key:"log",value:function(e,t){this.debug&&(this._ctx.log?this._ctx.log(e,t):console.log(e,t))}},{key:"_track",value:function(e,t){if(this._ctx.trackingCallback){var r=e.key,n=t.hashAttribute+t.hashValue+r+t.variationId;if(!this._trackedExperiments.has(n)){this._trackedExperiments.add(n);try{this._ctx.trackingCallback(e,t)}catch(e){console.error(e)}}}}},{key:"_mergeOverrides",value:function(e){var t=e.key,r=this._ctx.overrides;return r&&r[t]&&"string"==typeof(e=Object.assign({},e,r[t])).url&&(e.url=function(e){try{var t=e.replace(/([^\\])\//g,"$1\\/");return new RegExp(t)}catch(e){console.error(e);return}}(e.url)),e}},{key:"_getHashAttribute",value:function(e){var t=e||"id",r="";return this._attributeOverrides[t]?r=this._attributeOverrides[t]:this._ctx.attributes?r=this._ctx.attributes[t]||"":this._ctx.user&&(r=this._ctx.user[t]||""),{hashAttribute:t,hashValue:r}}},{key:"_getResult",value:function(e,t,r,n,i){var a=!0;(t<0||t>=e.variations.length)&&(t=0,a=!1);var o=this._getHashAttribute(e.hashAttribute),s=o.hashAttribute,l=o.hashValue,c=e.meta?e.meta[t]:{},u={key:c.key||""+t,featureId:n,inExperiment:a,hashUsed:r,variationId:t,value:e.variations[t],hashAttribute:s,hashValue:l};return c.name&&(u.name=c.name),void 0!==i&&(u.bucket=i),c.passthrough&&(u.passthrough=c.passthrough),u}},{key:"_getContextUrl",value:function(){return this._ctx.url||(k?window.location.href:"")}},{key:"_urlIsValid",value:function(e){var t=this._getContextUrl();if(!t)return!1;var r=t.replace(/^https?:\/\//,"").replace(/^[^/]*\//,"/");return!!(e.test(t)||e.test(r))}},{key:"_hasGroupOverlap",value:function(e){for(var t=this._ctx.groups||{},r=0;r<e.length;
1r++)if(t[e[r]])return!0;return!1}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}(),x={fetchSegments:function(){var e=o(function(e,t,r,n){var i,a,o,l,u;return f(this,function(d){switch(d.label){case 0:return d.trys.push([0,6,,7]),[4,fetch(e+"/v1/api/dp/broker-service/v1/featureService/segmentFeature/readFeatureValues",{method:"POST",headers:s({Accept:"application/json","Content-Type":"application/json"},t),body:null})];case 1:if(!(i=d.sent()).ok)return[3,3];return[4,i.json()];case 2:return l=null===(o=d.sent())||void 0===o?void 0:null===(a=o.entityDataList[0])||void 0===a?void 0:a.featureValueMapping,u=[],[2,(l&&Object.keys(l).forEach(function(e){e.startsWith("user___segments_")&&u.push.apply(u,c(l[e]))}),r&&r("API"),u)];case 3:return[4,i.json()];case 4:case 6:return[2,(n(JSON.stringify(d.sent())),null)];case 5:return[3,7];case 7:return[2]}})});return function(t,r,n,i){return e.apply(this,arguments)}}()},U=function(e){var t,r;null===(r=N)||void 0===r||r.setAttributes(s({},null===(t=N)||void 0===t?void 0:t.getAttributes(),e))},B=function(){var e,t;return null!==(R=null===(t=N)||void 0===t?void 0:null===(e=t.getAttributes)||void 0===e?void 0:e.call(t))&&void 0!==R?R:{}},H={initHoistSDK:function(){var e=o(function(e){var t,r,n,i,a,o,s,l,c,u,d,h,p;return f(this,function(f){switch(f.label){case 0:return n=e.apiHost,i=e.baseUrl,a=e.clientKey,o=e.attributes,s=e.isDebug,l=e.onFeatureUsage,c=e.onFetchFeatureFailed,u=e.onFetchFeatureSuccess,d=e.onFetchSegmentFailed,h=e.onFetchSegmentSuccess,p=e.trackingCallback,P=function(e){U({isSegmentsFetched:!0}),null==h||h(e)},L=function(e){U({isSegmentsFetchFailed:!0}),null==d||d(e)},D=i,[4,(t=N=new F({apiHost:n,clientKey:a,enableDevMode:s,attributes:o,onFeatureUsage:l,trackingCallback:p}),t.loadFeatures({autoRefresh:!1,timeout:3e4}))];case 1:var E,_,g;return f.sent(),(E=null===(r=N)||void 0===r?void 0:r.getFeatures())&&Object.keys(E).length>0?(U({isFeaturesFetched:!0}),null===(g=u)||void 0===g||g()):(U({isFeaturesFetchFailed:!0}),null===(_=c)||void 0===_||_()),[2]}})});return function(t){return e.apply(this,arguments)}}(),setAttributes:U,getAttributes:B,updateUserSegments:function(){var e=o(function(e){var t;return f(this,function(r){switch(r.label){case 0:return[4,x.fetchSegments(D,e,P,L)];case 1:return(t=r.sent())&&U({segments:t}),[2]}})});return function(t){return e.apply(this,arguments)}}(),getFeatureValue:function(){var e=o(function(e,t){var r,n,i,a,o,s,l,c,u,d,h;return f(this,function(f){switch(f.label){case 0:n=function(e){return new Promise(function(t){return setTimeout(t,e)})},a=(i=B()).isFeaturesFetchFailed,o=i.isFeaturesFetched,s=i.isSegmentsFetchFailed,l=i.isSegmentsFetched,c=i.userId,u=0,f.label=1;case 1:if(!(!(a||o&&s&&c||o&&l&&c)&&u<30))return[3,4];return a=(d=B()).isFeaturesFetchFailed,o=d.isFeaturesFetched,s=d.isSegmentsFetchFailed,l=d.isSegmentsFetched,c=d.userId,u++,[4,n(200)];case 2:f.sent(),f.label=3;case 3:return[3,1];case 4:return[2,null!==(h=null===(r=N)||void 0===r?void 0:r.getFeatureValue(e,t))&&void 0!==h?h:t]}})});return function(t,r){return e.apply(this,arguments)}}()};Object.freeze(H);var G=r(951402),j=r(778928),V=r.n(j),K=r(664465),W=r(289879),Y=r(986594);r(407178);var q=r(689940);function z(e,t){function r(r){let n=(0,q.Qt)(t);return(0,Y.jsx)(e,{...r,...n})}return r.getInitialProps=e.getInitialProps,r}let X=e=>{H.initHoistSDK({apiHost:"https://groww.in",clientKey:"sdk-production-G5hzhqMWonPN3S1q",baseUrl:"https://groww.in",isDebug:!1,onFetchSegmentSuccess:()=>{(0,n.s)(K.b7.Hoist,K.AZ.SegmentFetchSuccess)},onFetchSegmentFailed:e=>{(0,n.s)(K.b7.Hoist,K.AZ.SegmentFetchFailed,{error:e})},onFetchFeatureSuccess:()=>{(0,n.s)(K.b7.Hoist,K.AZ.FeatureFetchSuccess)},onFetchFeatureFailed:()=>{(0,n.s)(K.b7.Hoist,K.AZ.FeatureFetchFailed,{error:K.kL.GENERAL_ERROR})},attributes:{environment:"prod",platform:"web",version:V()}}),(0,G.a)(e)||H.updateUserSegments({Authorization:e})},$=H.getFeatureValue,Q=H.setAttributes,J=H.getAttributes,Z=H.updateUserSegments},54110:(e,t,r)=>{"use strict";r.d(t,{M:()=>n,W:()=>i});var n=function(e){return e.LIFETIME="LIFETIME",e.ACTIVE="ACTIVE",e}({}),i=function(e){return e.PVM_POP_UP="PVM_POP_UP",e}({})},56316:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M12 22q-.825 0-1.412-.587A1.93 1.93 0 0 1 10 20h4q0 .824-.588 1.413A1.93 1.93 0 0 1 12 22m-3-3a.97.97 0 0 1-.713-.288A.97.97 0 0 1 8 18q0-.424.287-.712A.97.97 0 0 1 9 17h6q.424 0 .713.288.287.287.287.712 0 .424-.287.712A.97.97 0 0 1 15 19zm-.75-3a7.66 7.66 0 0 1-2.737-2.75A7.3 7.3 0 0 1 4.5 9.5q0-3.125 2.188-5.312Q8.875 2 12 2t5.313 2.188T19.5 9.5q0 2.025-1.012 3.75A7.66 7.66 0 0 1 15.75 16zm.6-2h6.3a
15.55 5.55 0 0 0 1.737-1.975A5.4 5.4 0 0 0 17.5 9.5q0-2.3-1.6-3.9T12 4 8.1 5.6 6.5 9.5q0 1.35.612 2.525A5.55 5.55 0 0 0 8.85 14"}))})},63357:(e,t,r)=>{"use strict";e.exports=r(392161)},64006:(e,t,r)=>{"use strict";r.d(t,{He:()=>f,LB:()=>A,Te:()=>l,WT:()=>u,Xj:()=>g,Yq:()=>c,ZD:()=>s,bv:()=>_,eO:()=>S,f$:()=>v,gE:()=>o,hL:()=>p,r0:()=>h,rf:()=>d,vB:()=>E,wi:()=>m});var n=r(789991),i=r(12040),a=r(73809);let o=e=>{if("string"==typeof e&&(e=parseInt(e,10)),e>3&&e<21)return"".concat(e,"th");switch(e%10){case 1:return"".concat(e,"st");case 2:return"".concat(e,"nd");case 3:return"".concat(e,"rd");default:return"".concat(e,"th")}},s=(e,t,r)=>{"string"==typeof t&&(t=parseInt(t,10));let n=String(e.getFullYear()).slice(-2),i=e.toLocaleString("default",{month:null!=r?r:"long"}),a=e.getDate();return t?"".concat(t," ").concat(i," â").concat(n):"".concat(a," ").concat(i," â").concat(n)},l=(e,t)=>{"string"==typeof t&&(t=parseInt(t,10));let r=String(e.getFullYear()).slice(-2),n=e.toLocaleString("default",{month:"short"}),i=e.getDate();return t?"".concat(t," ").concat(n," ").concat(r):"".concat(i," ").concat(n," â").concat(r)},c=e=>{let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(r,"-").concat(n)},u=()=>{switch(new Date().getDay()){case 0:return 3;case 1:return 4;case 2:return 5;case 3:case 4:case 5:default:return 1;case 6:return 2}},d=e=>{if(!e)return"";let t=e.length,r=e.slice(t-4);return"â¢".repeat(4)+r},f=e=>{let t=new Date,r=t.getDate(),n=t.getMonth(),i=t.getFullYear(),a="";return e<r+3?11===n?s(new Date(i+1,0),e):s(new Date(i,n+1),e):s(new Date,e)},h=e=>{let t=new Date,r=t.getDate(),n=t.getMonth(),i=t.getFullYear();if(e<r+3)if(11===n)return"Jan";else return new Date(i,n+1).toLocaleString("default",{month:"short"});return t.toLocaleString("default",{month:"short"})},p=e=>e.toLowerCase().replace(/\b\w/g,e=>e.toUpperCase()),E=(e,t,r,i,a)=>{let o=e*t,s=o*a.quantityBuffer/100,{gstCharges:l,individualBrokerageCharge:c,individualExchangeTransactionCharges:u,individualSebiTurnoverCharges:d,individualSttCharges:f,ipfCharges:h,stampDutyCharge:p}=g(r,o,i),E=c+u+l+h+d+p+f,_=o+E+s;return{approxInitialOrderValue:(0,n.a)(o,{isCurrency:!0,toFixedValue:2}),approxBrokerage:(0,n.a)(E,{isCurrency:!0,toFixedValue:2}),approxTotalSipAmount:(0,n.a)(_,{isCurrency:!0,toFixedValue:2}),bufferAmount:(0,n.a)(s,{isCurrency:!0,toFixedValue:2}),absoluteSipAmount:_}},_=(e,t,r,n)=>{let{brokerageAbs:i,sebiTurnOverCharge:o,stampDuty:s,exchangeTransactionNse:l,exchangeTransactionBse:c,stt:u,gst:d,ipf:f}=r,h=1+d,p=(h*(t===a.W.NSE?l:c)+h*o+u+s+f)/100;return Math.floor((n.maxOrderValue-h*i)/((1+p)*e))},g=(e,t,r)=>{let n=0,{brokerage:o,brokerageAbs:s,sebiTurnOverCharge:l,stampDuty:c,exchangeTransactionNse:u,exchangeTransactionBse:d,stt:f,gst:h,ipf:p,borkerageLowerAbs:E}=r,_=Math.min(s,o*t/100);_=(0,i.Y8)(_,t,E);let g=f*t/100,S=(e===a.W.NSE?u:d)*t/100,m=l*t/100,A=p*t/100;e===a.W.NSE&&(n+=A);let v=(_+S+m)*h;return{individualBrokerageCharge:_,individualSttCharges:g,individualExchangeTransactionCharges:S,individualSebiTurnoverCharges:m,gstCharges:v,stampDutyCharge:c*t/100,ipfCharges:n}};var S=function(e){return e.Monthly="MONTHLY",e.Weekly="WEEKLY",e}({});let m=["MONTHLY","WEEKLY"];var A=function(e){return e.Amount="AMOUNT",e.Quantity="QUANTITY",e}({});let v=["AMOUNT","QUANTITY"]},67380:e=>{e.exports={popup:"riskCompliancePopup_popup__t2htd"}},68101:(e,t)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(r,!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],i in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}t.A=function(e,t,n,a){a.debug;var o=i({},n);return e&&"object"===r(e)&&Object.keys(e).forEach(function(a){if
1("_persist"!==a&&t[a]===n[a]){var s;if(null!==(s=n[a])&&!Array.isArray(s)&&"object"===r(s)){o[a]=i({},o[a],{},e[a]);return}o[a]=e[a]}}),o}},70515:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,I:()=>a,S:()=>i}),function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var n={LEFT:"Left",RIGHT:"Right"},i={XSMALL:"XSmall",SMALL:"Small",BASE:"Base",LARGE:"Large",XLARGE:"XLarge"},a={LEADING:"Leading",TRAILING:"Trailing"}},72080:(e,t,r)=>{"use strict";r.d(t,{F_:()=>p,Lv:()=>_,Ox:()=>g,cC:()=>E,rH:()=>A,ux:()=>m});var n=r(647005),i=r(132978),a=r(951402),o=r(299168),s=r(126479),l=r(136398),c=r(744620),u=r(866607),d=r(166778),f=r(253857),h=r(47360);function p(){void 0!==window.isNewUser&&delete window.isNewUser}function E(){return void 0!==window.isNewUser}function _(){try{if(!(0,a.a)(window.userUtmData))return{storedInLS:!1,utmData:window.userUtmData}}catch(e){console.error("Error in getting user UTM data: ",e)}}function g(e,t){try{{let r=(0,s.AZ)();if(r){(0,s.RW)();let t=r.pinRedirectionUrl?r.pinRedirectionUrl:"";(t||""===t)&&((null==r?void 0:r.storedInLS)?window.location.href="https://groww.in"+t:e.push(t))}else t()}}catch(e){console.error("Error while redirecting to previous page: ",e)}}function S(){return new Promise(function(e,t){(0,f.Fd)().then(t=>{(0,d.Xo)(t.data),e(t.data)}).catch(e=>{t(e)})})}function m(e){let t=(0,o.u0)();if((0,a.a)(t))return new Promise(function(e){e(null)});if(e)return S();{let e=n.c7(n.ZE.LOCAL_STORAGE,l.aH.FAMILY_ACCOUNTS_DATA);return(0,a.a)(e)?S():new Promise(function(t){t(e)})}}let A=async e=>{if(c.LI.has(e))try{await (0,f.ES)()}catch(o){let{response:t}=o||{},{status:r,data:n}=t||{};(400===r||422===r)&&(null==n?void 0:n.global_msg_board_enabled)&&((0,a.C)(c.yV.GROWW_LITE_GLOBAL_MSG_BOARD,{data:n}),(0,i.s)(u.A.Login,h.A.GrowwLiteGlobalMessageBoard,{url:e,errorStatus:r,isGlobalMessageBoardEnabled:null==n?void 0:n.global_msg_board_enabled}))}}},73809:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});let n={BSE:"BSE",NSE:"NSE"}},77320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useReportWebVitals",{enumerable:!0,get:function(){return a}});let n=r(407178),i=r(86143);function a(e){(0,n.useEffect)(()=>{(0,i.onCLS)(e),(0,i.onFID)(e),(0,i.onLCP)(e),(0,i.onINP)(e),(0,i.onFCP)(e),(0,i.onTTFB)(e)},[e])}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80339:(e,t,r)=>{"use strict";r.d(t,{E1:()=>h,Ef:()=>a,Ft:()=>l,Fy:()=>_,JD:()=>s,Lc:()=>E,Le:()=>f,Sn:()=>u,fs:()=>c,i_:()=>n,jG:()=>p,sy:()=>i,uT:()=>o,xc:()=>d});let n="sentry.source",i="sentry.sample_rate",a="sentry.previous_trace_sample_rate",o="sentry.op",s="sentry.origin",l="sentry.status.message",c="sentry.idle_span_finish_reason",u="sentry.measurement_unit",d="sentry.measurement_value",f="sentry.custom_span_name",h="sentry.profile_id",p="sentry.exclusive_time",E="sentry.link.type",_="gen_ai.conversation.id"},81801:(e,t,r)=>{"use strict";r.d(t,{$k:()=>c,EN:()=>s,HF:()=>i,Hw:()=>o,TE:()=>a,Vw:()=>n,kO:()=>l});let n="CHANGE_OC_SCREEN",i="OPEN_ORDER_CARD",a="CLOSE_ORDER_CARD",o="CHANGE_BS_VALUE",s="CHANGE_MS_VALUE",l="CHANGE_CS_VALUE",c="CHANGE_COS_VALUE"},82570:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_191)"},n.createElement("path",{fill:"currentColor",d:"M10.845 22q-.675 0-1.163-.45-.487-.45-.587-1.1L8.87 18.8a4 4 0 0 1-.612-.3 8 8 0 0 1-.563-.375l-1.55.65q-.625.275-1.25.05a1.84 1.84 0 0 1-.975-.8l-1.175-2.05a1.59 1.59 0 0 1-.2-1.225q.15-.65.675-1.075l1.325-1a2.4 2.4 0 0 1-.025-.338v-.675q0-.162.025-.337l-1.325-1a1.9 1.9 0 0 1-.675-1.075q-.15-.65.2-1.225l1.175-2.05q.35-.575.975-.8t1.25.05l1.55.65q.275-.2.575-.375t.6-.3l.225-1.65q.1-.65.587-1.1Q10.17 2 10.846 2h2.35q.675 0 1.162.45t.588 1.1l.225 1.65q.324.125.613.3.287.175.562.375l1.55-.65q.625-.275 1.25-.05.626.225.975.8l1.175 2.05q.35.575.2 1.225t-.675 1.075l-1.325 1q.025.176.025.338v.675q0 .162-.05.337l1.325 1q.525.425.675 1.075t-.2 1.225l-1.2 2.05q-.35.575-.975.8t-1.25-.
105l-1.5-.65a7 7 0 0 1-.575.375q-.3.175-.6.3l-.225 1.65q-.1.65-.588 1.1-.487.45-1.162.45zm.175-2h1.975l.35-2.65q.775-.2 1.438-.588t1.212-.937l2.475 1.025.975-1.7-2.15-1.625q.125-.35.175-.738a6.2 6.2 0 0 0 0-1.575 3.5 3.5 0 0 0-.175-.737l2.15-1.625-.975-1.7-2.475 1.05a5.6 5.6 0 0 0-1.212-.962 5.6 5.6 0 0 0-1.438-.588L13.02 4h-1.975l-.35 2.65q-.776.2-1.437.587-.663.388-1.213.938L5.57 7.15l-.975 1.7 2.15 1.6q-.125.375-.175.75t-.05.8q0 .4.05.775t.175.75l-2.15 1.625.975 1.7 2.475-1.05q.55.575 1.213.962.662.388 1.437.588zm1.05-4.5q1.45 0 2.475-1.025A3.37 3.37 0 0 0 15.57 12q0-1.45-1.025-2.475A3.37 3.37 0 0 0 12.07 8.5q-1.474 0-2.488 1.025A3.4 3.4 0 0 0 8.57 12q0 1.45 1.012 2.475T12.07 15.5"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_191"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},86143:e=>{!function(){"use strict";var t={};t.d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//");var r={};t.r(r),t.d(r,{CLSThresholds:function(){return C},FCPThresholds:function(){return O},FIDThresholds:function(){return ee},INPThresholds:function(){return H},LCPThresholds:function(){return j},TTFBThresholds:function(){return W},onCLS:function(){return I},onFCP:function(){return w},onFID:function(){return et},onINP:function(){return G},onLCP:function(){return K},onTTFB:function(){return q}});var n,i,a,o,s,l=-1,c=function(e){addEventListener("pageshow",function(t){t.persisted&&(l=t.timeStamp,e(t))},!0)},u=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},d=function(){var e=u();return e&&e.activationStart||0},f=function(e,t){var r=u(),n="navigate";return l>=0?n="back-forward-cache":r&&(document.prerendering||d()>0?n="prerender":document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(0x82f79cd8fff*Math.random())+1e12),navigationType:n}},h=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},p=function(e,t,r,n){var i,a;return function(o){var s;t.value>=0&&(o||n)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,s=t.value,t.rating=s>r[1]?"poor":s>r[0]?"needs-improvement":"good",e(t))}},E=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},_=function(e){document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&e()})},g=function(e){var t=!1;return function(){t||(e(),t=!0)}},S=-1,m=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},A=function(e){"hidden"===document.visibilityState&&S>-1&&(S="visibilitychange"===e.type?e.timeStamp:0,b())},v=function(){addEventListener("visibilitychange",A,!0),addEventListener("prerenderingchange",A,!0)},b=function(){removeEventListener("visibilitychange",A,!0),removeEventListener("prerenderingchange",A,!0)},T=function(){return S<0&&(S=m(),v(),c(function(){setTimeout(function(){S=m(),v()},0)})),{get firstHiddenTime(){return S}}},y=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},O=[1800,3e3],w=function(e,t){t=t||{},y(function(){var r,n=T(),i=f("FCP"),a=h("paint",function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(a.disconnect(),e.startTime<n.firstHiddenTime&&(i.value=Math.max(e.startTime-d(),0),i.entries.push(e),r(!0)))})});a&&(r=p(e,i,O,t.reportAllChanges),c(function(n){r=p(e,i=f("FCP"),O,t.reportAllChanges),E(function(){i.value=performance.now()-n.timeStamp,r(!0)})}))})},C=[.1,.25],I=function(e,t){t=t||{},w(g(function(){var r,n=f("CLS",0),i=0,a=[],o=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=a[0],r=a[a.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,a.push(e)):(i=e.value,a=[e])}}),i>n.value&&(n.value=i,n.entries=a,r())},s=h("layout-shift",o);s&&(r=p(e,n,C,t.reportAllChanges),_(function(){o(s.takeRecords()),r(!0)}),c(function(){i=0,r=p(e,n=f("CLS",0),C,t.reportAllChanges),E(function(){return r()})}),setTimeout(r,0))}))},R=0,N=1/0,D=0,P=function(e){e.forEach(function(e){e.interactionId&&(N=Math.min(N,e.interactionId),R=(D=Math.max(D,e.interactionId))?(D-N)/7+1:0)})},L=function(){"interactionCount"in performance||n||(n=h("event",P,{type:"event",buffered:!0,durationThreshold:0}))}
1,k=[],M=new Map,F=0,x=[],U=function(e){if(x.forEach(function(t){return t(e)}),e.interactionId||"first-input"===e.entryType){var t=k[k.length-1],r=M.get(e.interactionId);if(r||k.length<10||e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};M.set(n.id,n),k.push(n)}k.sort(function(e,t){return t.latency-e.latency}),k.length>10&&k.splice(10).forEach(function(e){return M.delete(e.id)})}}},B=function(e){var t=self.requestIdleCallback||self.setTimeout,r=-1;return e=g(e),"hidden"===document.visibilityState?e():(r=t(e),_(e)),r},H=[200,500],G=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},y(function(){L();var r,i,a=f("INP"),o=function(e){B(function(){e.forEach(U);var t,r=(t=Math.min(k.length-1,Math.floor(((n?R:performance.interactionCount||0)-F)/50)),k[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,i())})},s=h("event",o,{durationThreshold:null!==(r=t.durationThreshold)&&void 0!==r?r:40});i=p(e,a,H,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),_(function(){o(s.takeRecords()),i(!0)}),c(function(){F=0,k.length=0,M.clear(),i=p(e,a=f("INP"),H,t.reportAllChanges)}))}))},j=[2500,4e3],V={},K=function(e,t){t=t||{},y(function(){var r,n=T(),i=f("LCP"),a=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach(function(e){e.startTime<n.firstHiddenTime&&(i.value=Math.max(e.startTime-d(),0),i.entries=[e],r())})},o=h("largest-contentful-paint",a);if(o){r=p(e,i,j,t.reportAllChanges);var s=g(function(){V[i.id]||(a(o.takeRecords()),o.disconnect(),V[i.id]=!0,r(!0))});["keydown","click"].forEach(function(e){addEventListener(e,function(){return B(s)},!0)}),_(s),c(function(n){r=p(e,i=f("LCP"),j,t.reportAllChanges),E(function(){i.value=performance.now()-n.timeStamp,V[i.id]=!0,r(!0)})})}})},W=[800,1800],Y=function e(t){document.prerendering?y(function(){return e(t)}):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},q=function(e,t){t=t||{};var r=f("TTFB"),n=p(e,r,W,t.reportAllChanges);Y(function(){var i=u();i&&(r.value=Math.max(i.responseStart-d(),0),r.entries=[i],n(!0),c(function(){(n=p(e,r=f("TTFB",0),W,t.reportAllChanges))(!0)}))})},z={passive:!0,capture:!0},X=new Date,$=function(e,t){i||(i=t,a=e,o=new Date,Z(removeEventListener),Q())},Q=function(){if(a>=0&&a<o-X){var e={entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+a};s.forEach(function(t){t(e)}),s=[]}},J=function(e){if(e.cancelable){var t,r,n,i=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){$(i,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,z),removeEventListener("pointercancel",r,z)},addEventListener("pointerup",t,z),addEventListener("pointercancel",r,z)):$(i,e)}},Z=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,J,z)})},ee=[100,300],et=function(e,t){t=t||{},y(function(){var r,n=T(),o=f("FID"),l=function(e){e.startTime<n.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),r(!0))},u=function(e){e.forEach(l)},d=h("first-input",u);r=p(e,o,ee,t.reportAllChanges),d&&(_(g(function(){u(d.takeRecords()),d.disconnect()})),c(function(){r=p(e,o=f("FID"),ee,t.reportAllChanges),s=[],a=-1,i=null,Z(addEventListener),s.push(l),Q()}))})};e.exports=r}()},87834:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/u.24a09b42.svg",height:135,width:135,blurWidth:0,blurHeight:0}},89558:()=>{},91434:(e,t,r)=>{"use strict";var n=r(813312),i=r(40705),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var a=0|p(n,i),l=o(a),c=l.write(n,i);return c!==a&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e)){var u=e;if(R(u,Uint8Array)){var E=new Uint8Array(u);return f(E.buffer,E.byteOffset,E.byteLength)}return d(u)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(R(e,ArrayBuffer)||e&&R(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(R(e,SharedArrayBuffer)||e&&R(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var _=e.valueOf&&e.valueOf();if(null!=_&&_!==e)return s.from(_,t,r);var g=function(e){if(s.isBuffer(e)){var t=0|h(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(g)return g;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 17,095 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),o(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||R(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return w(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(e).length;default:if(i)return n?-1:w(e).length;t=(""+t).toLowerCase(),i=!0}}function E(e,t,r){var i,a,o,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=N[e[a]];return i}(this,t,r);case"utf8":case"utf-8":return m(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,a=t,o=r,0===a&&o===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(a,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function _(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(a=r*=1)!=a&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:S(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return S(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function S(e,t,r,n,i){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else -1!==u&&(a-=a-u),u=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(c(e,a+f)!==c(t,f)){d=!1;break}if(d)return a}return -1}function m(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}var f=n,h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var p="",E=0;E<h;)p+=String.fromCharCode.apply(String,f.slice(E,E+=4096));return p}function A(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function v(e,t,r,n,i,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function b(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function T(e,t,r,n,a){return t*=1,r>>>=0,a||b(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function y(e,t,r,n,a){return t*=1,r>>>=0,a||b(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(c(e),e<=0)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(R(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),R(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(R(a,Uint8Array))i+a.length>n.length?s.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else if(s.isBuffer(a))a.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=a.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)_(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)_(this,t,t+3),_(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)_(this,t,t+7),_(this,t+1,t+6),_(this,t+2,t+5),_(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?m(this,0,e):E.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(R(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,l=Math.min(a,o),c=this.slice(n,i),u=e.slice(t,r),d=0;d<l;++d)if(c[d]!==u[d]){a=c[d],o=u[d];break}return a<o?-1:+(o<a)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,l,c,u,d,f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s,l=parseInt(t.substr(2*o,2),16);if((s=l)!=s)break;e[r+o]=l}return o}(this,e,t,r);case"utf8":case"utf-8":return i=t,a=r,I(w(e,this.length-i),this,i,a);case"ascii":case"latin1":case"binary":return o=t,s=r,I(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,o,s);case"base64":return l=t,c=r,I(C(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,d=r,I(function(e,t){for(var r,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(e,this.length-u),this,u,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||A(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||A(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||A(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||A(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||A(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||A(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readInt8=function(e,t){return(e>>>=0,t||A(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||A(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||A(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||A(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||A(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||A(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||A(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||A(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;v(this,e,t,r,i,0)}var a=1,o=0;for(this[t]=255&e;++o<r&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;v(this,e,t,r,i,0)}var a=r-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);v(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);v(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return T(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return T(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return y(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return y(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=s.isBuffer(e)?e:s.from(e,n),l=o.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%l]}return this};var O=/[^+/0-9A-Za-z-_]/g;function w(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function C(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function R(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var N=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},92023:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];let r=e.indexOf(t);return -1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},93758:()=>{},94976:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"m12 19-4.2 1.8q-1 .426-1.9-.163-.9-.587-.9-1.662V6q0-.824.588-1.412A1.93 1.93 0 0 1 7 4h10q.824 0 1.413.588Q19 5.175 19 6v12.975q0 1.075-.9 1.662-.9.588-1.9.163zm0-2.2 5 2.15V6H7v12.95z"}))})},95954:function(e,t,r){var n;n=r(170742),function(e){var t=n.lib,r=t.WordArray,i=t.Hasher,a=n.algo,o=[],s=[];function l(e){return(e-(0|e))*0x100000000|0}for(var c=2,u=0;u<64;)(function(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0})(c)&&(u<8&&(o[u]=l(e.pow(c,.5))),s[u]=l(e.pow(c,1/3)),u++),c++;var d=[],f=a.SHA256=i.extend({_doReset:function(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],o=r[3],l=r[4],c=r[5],u=r[6],f=r[7],h=0;h<64;h++){if(h<16)d[h]=0|e[t+h];else{var p=d[h-15],E=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,_=d[h-2],g=(_<<15|_>>>17)^(_<<13|_>>>19)^_>>>10;d[h]=E+d[h-7]+g+d[h-16]}var S=l&c^~l&u,m=n&i^n&a^i&a,A=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),v=f+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+S+s[h]+d[h],b=A+m;f=u,u=c,c=l,l=o+v|0,o=a,a=i,i=n,n=v+b|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[(i+64>>>9<<4)+14]=e.floor(n/0x100000000),r[(i+64>>>9<<4)+15]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(f),n.HmacSHA256=i._createHmacHelper(f)}(Math),e.exports=n.SHA256},96690:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});var n=function(e){return e.GET_LIST_DATA="mf/GET_NFO_LIST_DATA",e}({})},101808:e=>{e.exports={profileDropdown:"settingDropdown_profileDropdown__gQAjR",profileDropdownHeader:"settingDropdown_profileDropdownHeader__vgHbO",iconButton:"settingDropdown_iconButton__1zw6Q",iconButtonSmall:"settingDropdown_iconButtonSmall__rFNZV",profileDropdownList:"settingDropdown_profileDropdownList__VFTiD",profileDropdownFooter:"settingDropdown_profileDropdownFooter__aiABI"}},103692:()=>{},107353:(e,t,r)=>{"use strict";r.d(t,{AH:()=>u,DK:()=>c,Et:()=>E,Gz:()=>i,H:()=>s,KS:()=>_,OS:()=>p,O_:()=>n,PF:()=>o,RT:()=>g,Uq:()=>d,_T:()=>f,dp:()=>a,lc:()=>h,mx:()=>l});let n="GET_STOCKS_DASHBOARD",i="GET_FNO_DASHBOARD",a="GET_STOCKS_GTT_ORDERS",o="GET_FNO_GTT_ORDERS",s="GET_FNO_OCO_ORDERS",l="UPDATE_LIVE_PRICE_HOLDINGS",c="GET_STOCKS_DASHBOARD_OPEN_ORDERS",u="GET_STOCKS_POSITIONS",d="GET_FNO_POSITIONS",f="GET_FNO_OPEN_ORDERS",h="GET_FNO_TODAY_ORDERS",p="GET_STOCK_TODAY_ORDERS",E="GET_HOLDING_DETAILS_BY_ISIN",_="GET_MTF_DETAILS",g="UPDATE_INTRADAY_POSITION"},108579:(e,t,r)=>{"use strict";e.exports=a;var n=r(228216);(a.prototype=Object.create(n.prototype)).constructor=a;var i=r(841111);function a(e){n.call(this,e)}a._configure=function(){i.Buffer&&(a.prototype._slice=i.Buffer.prototype.slice)},a.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},a._configure()},113334:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M2.7 17.625a.93.93 0 0 1-.287-.712.98.98 0 0 1 .287-.688l5.275-5.35Q8.55 10.3 9.4 10.3t1.425.575l2.575 2.6 5.2-5.15H17a.97.97 0 0 1-.712-.288.97.97 0 0 1-.288-.712q0-.424.288-.713A.97.97 0 0 1 17 6.325h4q.424 0 .713.287.287.288.287.713v4q0 .424-.287.713a.97.97 0 0 1-.713.287.97.97 0 0 1-.712-.287.97.97 0 0 1-.288-.713v-1.6L14.825 14.9q-.575.575-1.425.575t-1.425-.575L9.4 12.325l-5.3 5.3a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275"}))})},113589:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M21 13h-2a.97.97 0 0 1-.712-.288A.97.97 0 0 1 18 12q0-.424.288-.713A.97.97 0 0 1 19 11h2q.424 0 .712.287.288.288.288.713 0 .424-.288.712A.97.97 0 0 1 21 13m-4.4 3.8a.9
11.91 0 0 1 .65-.4q.4-.05.75.2l1.6 1.2a.91.91 0 0 1 .4.65q.05.4-.2.75a.91.91 0 0 1-.65.4 1.03 1.03 0 0 1-.75-.2l-1.6-1.2a.91.91 0 0 1-.4-.65 1.03 1.03 0 0 1 .2-.75m3-10.6L18 7.4a1.03 1.03 0 0 1-.75.2.91.91 0 0 1-.65-.4 1.03 1.03 0 0 1-.2-.75.91.91 0 0 1 .4-.65l1.6-1.2q.35-.25.75-.2a.91.91 0 0 1 .65.4q.25.35.2.75a.91.91 0 0 1-.4.65M5 15H4q-.824 0-1.412-.588A1.93 1.93 0 0 1 2 13v-2q0-.824.587-1.413A1.93 1.93 0 0 1 4 9h4l3.475-2.1q.499-.3 1.013 0 .512.3.512.875v8.45q0 .575-.512.875-.513.3-1.013 0L8 15H7v3q0 .424-.287.712A.97.97 0 0 1 6 19a.97.97 0 0 1-.713-.288A.97.97 0 0 1 5 18zm6-.55v-4.9L8.55 11H4v2h4.55zm3 .9v-6.7q.675.6 1.088 1.462.412.863.412 1.888t-.412 1.887A4.6 4.6 0 0 1 14 15.35"}))})},113710:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,u:()=>c});var n=r(642803),i=r(782456),a=r(577268);let o=(e,t,r)=>{var n;let{data:i}=null!==(n=null==r?void 0:r.data)&&void 0!==n?n:{},{watchlist:a}=null!=i?i:[];return t?[...null==e?void 0:e.watchlistData,...a]:a},s=e=>{var t;let{data:r}=null!==(t=null==e?void 0:e.data)&&void 0!==t?t:{},{watchlist:n}=null!=r?r:[];return(null==n?void 0:n.length)===10},l=(e,t)=>
1{let{watchlistData:r}=null!=e?e:{};return r.filter(e=>(null==e?void 0:e.scheme_code)!==(null==t?void 0:t.data))},c={watchlistMap:{},watchlistLoader:!0,watchlistFailed:!1,watchlistData:[],watchlistPage:0,watchlistFetched:!1,hasMoreWatchlistData:!1,toggleTableConfig:{columnName:"none",order:i.bLx.HIGH_TO_LOW},mfPageRightSideSection:{action:i.qPc.EMPTY_STATE,selectedScheme:{}}};function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case a.V.GET_MF_WATCHLIST_HASH_MAP:var u=e,d=t;let{payload:f}=null!=d?d:{};return(0,n.handle)(u,d,{success:e=>{var t,r;return{...e,watchlistMap:null!==(r=null==f?void 0:null===(t=f.data)||void 0===t?void 0:t.data)&&void 0!==r?r:{}}}});case a.V.ADD_SCHEME_TO_WATCHLIST:var h=e,p=t;let{payload:E}=null!=p?p:{},_={...h.watchlistMap,[E.data]:E.data};return{...h,watchlistMap:_};case a.V.REMOVE_SCHEME_FROM_WATCHLIST:var g=e,S=t;let{payload:m}=null!=S?S:{},A={...g.watchlistMap};return delete A[m.data],{...g,watchlistMap:A};case a.V.DELETE_SCHEME_FROM_WATCHLIST:var v=e,b=t;let{payload:T}=null!=b?b:{};return{...v,watchlistData:l(v,T)};case a.V.WATCHLIST_RIGHT_SIDE_ACTION:var y=e,O=t;let{payload:w}=null!=O?O:{};return{...y,mfPageRightSideSection:null==w?void 0:w.data};case a.V.GET_WATCHLIST_DATA:var C=e,I=t;let{payload:R,meta:N}=I,{page:D}=null!=N?N:{};return(0,n.handle)(C,I,{start:e=>({...e,watchlistLoader:!0,watchlistFailed:!1,watchlistFetched:!1,hasMoreWatchlistData:!1}),success:e=>({...e,watchlistLoader:!1,watchlistFailed:!1,watchlistFetched:!0,watchlistPage:D,watchlistData:o(e,D,R),hasMoreWatchlistData:s(R)}),failure:e=>({...e,watchlistLoader:!1,watchlistFailed:!0,watchlistFetched:!0,watchlistData:[],hasMoreWatchlistData:!1})});case a.V.SORT_WATCHLIST_SCHEMES:var P=e,L=t;let{toggleTableConfig:k}=P,{payload:M}=L,F=k.order===i.bLx.HIGH_TO_LOW?i.bLx.LOW_TO_HIGH:i.bLx.HIGH_TO_LOW;return{...P,toggleTableConfig:{columnName:null==M?void 0:M.data,order:F}};case a.V.SET_MF_WATCHLIST_CLICK:var x=e,U=t;let{isClicked:B}=null!=U?U:{};return{...x,isWatchlistIconClicked:B};default:return e}}},115462:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>c,ue:()=>l});var n=r(642803),i=r(782456),a=r(54110),o=r(926595),s=r(840497);let l={openOrders:{...i.e8I,data:{},isRefreshing:!1},openOrdersV2:{...i.e8I,data:[],isRefreshing:!1},dashboardData:{...i.e8I,data:{},isRefreshing:!1},importExternalFundsStatus:{...i.e8I,data:{},isRefreshing:!1},systematicStats:{...i.e8I,data:{},isRefreshing:!1},toggleConfigMsite:{sortBy:i.Huj.CURRENT_VALUE.key,toggleBy:i.zf6[0]},toggleConfig:{selectedXirrType:a.M.LIFETIME,columnName:"currentValue",order:i.xxX.HIGH_TO_LOW},investmentsState:{rightSideAction:{action:i.MKi.EMPTY_STATE,selectedScheme:{}},externalFundPopup:{showDeleteSchemePopup:!1,schemeToDelete:{}},payNowAction:{action:i.H5L.PAY}},userHoldings:{...i.e8I,data:[],schemeCode:""},lastFetchedTimestamps:{[i.Pyp.DASHBOARD_API]:0},switchSchemeInfo:{selectedSwitchSourceScheme:{},selectedSwitchDestinationScheme:{},redemptionSchemeDetails:{},allSwitchSourceScheme:[],allSwitchDestinationScheme:[],switchScheme:{switchableAmount:0,switchableUnits:0,exitLoad:0}}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case s.lx.GET_PENDING_ORDERS:var a=e,c=t;let{meta:u,payload:d}=null!=c?c:{};return(0,n.handle)(a,c,{start:e=>({...e,openOrders:{...e.openOrders,hasError:!1,hasLoading:!(null==u?void 0:u.isSecondCall),isRefreshing:!0}}),success:e=>{var t;let r=null!==(t=null==d?void 0:d.data)&&void 0!==t?t:{},n=(Array.isArray(r.orderList)?r.orderList:[]).map(e=>({...e,preferredExchange:(0,i.TvS)(e.exchange)}));return{...e,openOrders:{data:{...r,orderList:n},hasError:!1,hasLoading:!1,isRefreshing:!1}}},failure:e=>({...e,openOrders:{...e.openOrders,hasError:!0,hasLoading:!1,isRefreshing:!1}})});case s.lx.GET_PENDING_ORDERS_V2:var f=e,h=t;let{meta:p,payload:E}=null!=h?h:{};return(0,n.handle)(f,h,{start:e=>({...e,openOrdersV2:{...e.openOrdersV2,hasError:!1,hasLoading:!(null==p?void 0:p.isSecondCall),isRefreshing:!0}}),success:e=>{let t=(Array.isArray(null==E?void 0:E.data)?E.data:[]).map(e=>({...e,preferredExchange:(0,i.TvS)(e.exchange)}));return{...e,openOrdersV2:{data:t,hasError:!1,hasLoading:!1,isRefreshing:!1}}},failure:e=>({...e,openOrdersV2:{...e.openOrdersV2,hasError:!0,hasLoading:!1,isRefreshing:!1}})});case s.lx.GET_MF_DASHBOARD_TABLE_DATA:var _=e,g=t;let{payload:S,meta:m}=g;return(0,n.handle)(_,g,{start:e=>({...e,dashboardData:{...e.dashboardData,hasError:!1,hasLoading:!(null==m?void 0:m.isSecondCall),isRefreshing:!0}}),success:e=>({...e,dashboardData:{data:(0,o.o)(null==S?void 0:S.data),hasError:!1,hasLoading:!1,isRefreshing:!1},lastFetchedTimestamps:{[i.Pyp.DASHBOARD_API]:new Date().getTime()}}),failure:e=>({...e,dashboardData:{...e.dashboardData,hasError:!0,hasLoading:!1,isRefreshing:!1}})});case s.lx.CLEAR_TIMESTAMP_CACHE_KEY:var A=e,v=t;let{payload:b}=v;return{...A,lastFetchedTimestamps:{[null==b?void 0:b.data]:0}};case s.lx.GET_EXTERNAL_FUNDS_TRACK_STATUS:var T=e,y=t;let{meta:O,payload:w}=null!=y?y:{};return(0,n.handle)(T,y,{start:e=>({...e,importExternalFundsStatus:{...e.importExternalFundsStatus,hasError:!1,hasLoading:!(null==O?void 0:O.isSecondCall),isRefreshing:!0}}),success:e=>{var t;return{...e,importExternalFundsStatus:{data:null!==(t=null==w?void 0:w.data)&&void 0!==t?t:{},hasError:!1,hasLoading:!1,isRefreshing:!1}}},failure:e=>({...e,importExternalFundsStatus:{...e.importExternalFundsStatus,hasError:!0,hasLoading:!1,isRefreshing:!1}})});case s.lx.GET_SYSTEMATIC_ORDERS_STATS:var C=e,I=t;let{meta:R,payload:N}=null!=I?I:{};return(0,n.handle)(C,I,{start:e=>({...e,systematicStats:{...e.systematicStats,hasError:!1,hasLoading:!(null==R?void 0:R.isSecondCall),isRefreshing:!0}}),success:e=>{var t;return{...e,systematicStats:{data:null!==(t=null==N?void 0:N.data)&&void 0!==t?t:{},hasError:!1,hasLoading:!1,isRefreshing:!1}}},failure:e=>({...e,systematicStats:{...e.systematicStats,hasError:!0,hasLoading:!1,isRefreshing:!1}})});case s.rY.TOGGLE_INVESTMENT_PARAMETER:var D=e,P=t;let{payload:L}=P;return{...D,toggleConfigMsite:{...D.toggleConfigMsite,...L.data}};case s.rY.SORT_MF_SCHEMES:var k=e,M=t;let{payload:F}=M,x=k.toggleConfig.columnName===F.data,U="schemeName"===F.data,B=i.xxX.HIGH_TO_LOW;return x&&k.toggleConfig.order===i.xxX.HIGH_TO_LOW?B=i.xxX.LOW_TO_HIGH:U&&!x&&(B=i.xxX.LOW_TO_HIGH),{...k,toggleConfig:{...k.toggleConfig,columnName:F.data,order:B}};case s.EB.GET_USER_HOLDING_BY_SCHEME_CODE:var H=e,G=t;let{meta:j,payload:V}
1=G;return(0,n.handle)(H,G,{start:e=>{var t;return{...e,userHoldings:{hasLoading:!0,hasError:!1,schemeCode:null==j?void 0:j.schemeCode,data:null!==(t=null==V?void 0:V.data)&&void 0!==t?t:[]}}},success:e=>{var t;return{...e,userHoldings:{hasLoading:!1,hasError:!1,schemeCode:null==j?void 0:j.schemeCode,data:null!==(t=null==V?void 0:V.data)&&void 0!==t?t:[]}}},failure:e=>({...e,userHoldings:{hasLoading:!1,hasError:!0,schemeCode:null==j?void 0:j.schemeCode,data:[]}})});case s.Ng.UPDATE_RIGHT_SIDE_ACTION:var K=e,W=t;let{payload:Y}=W;return{...K,investmentsState:{...K.investmentsState,rightSideAction:null==Y?void 0:Y.data}};case s.Ng.UPDATE_PAY_NOW_ACTION:var q=e,z=t;let{payload:X}=z;return{...q,investmentsState:{...q.investmentsState,payNowAction:null==X?void 0:X.data}};case s.Ng.TOGGLE_DELETE_POPUP_STATE:var $=e,Q=t;let{payload:J}=Q;return{...$,investmentsState:{...$.investmentsState,externalFundPopup:{showDeleteSchemePopup:!$.investmentsState.externalFundPopup.showDeleteSchemePopup,schemeToDelete:J.data}}};case s.Ng.SET_SELECTED_XIRR_TYPE:var Z=e,ee=t;let{payload:et}=ee;return{...Z,toggleConfig:{...Z.toggleConfig,selectedXirrType:et.data}};case s.aj.SET_MF_ALL_SOURCE_SCHEME:var er=e,en=t;let{payload:ei}=en;return{...er,switchSchemeInfo:{...er.switchSchemeInfo,allSwitchSourceScheme:null==ei?void 0:ei.data}};case s.aj.SET_MF_ALL_DEST_SCHEME:var ea=e,eo=t;let{payload:es}=eo;return{...ea,switchSchemeInfo:{...ea.switchSchemeInfo,allSwitchDestinationScheme:null==es?void 0:es.data}};case s.aj.SET_MF_SWITCH_SOURCE_SCHEME:var el=e,ec=t;let{payload:eu}=ec;return{...el,switchSchemeInfo:{...el.switchSchemeInfo,selectedSwitchSourceScheme:null==eu?void 0:eu.data}};case s.aj.SET_MF_SWITCH_DEST_SCHEME:var ed=e,ef=t;let{payload:eh}=ef;return{...ed,switchSchemeInfo:{...ed.switchSchemeInfo,selectedSwitchDestinationScheme:null==eh?void 0:eh.data}};case s.aj.SET_SCHEME_REDEMPTION_DETAILS:var ep=e,eE=t;let{payload:e_}=eE;return{...ep,switchSchemeInfo:{...ep.switchSchemeInfo,redemptionSchemeDetails:null==e_?void 0:e_.data}};case s.aj.SET_MF_SWITCH_DETAIL:var eg=e,eS=t;let{payload:em}=eS;return{...eg,switchSchemeInfo:{...eg.switchSchemeInfo,switchScheme:null==em?void 0:em.data}};case s.aj.RESET_MF_SWITCH_SCHEME:var eA=e,ev=t;let{payload:eb}=ev;return{...eA,switchSchemeInfo:{...null==eb?void 0:eb.data}};default:return e}}},116819:(e,t,r)=>{"use strict";let n,i,a,o;r.d(t,{li:()=>A,mG:()=>m});var s=r(738739),l=r(730884),c=r(779126),u=r(198328),d=r(279600),f=r(166794),h=r(718043),p=r(320900),E=r(381305),_=r(262400),g=r(122677),S=r(365);function m(e,t,r,m,A,v){var b,T;let{normalizeDepth:y=3,normalizeMaxBreadth:O=1e3}=e,w={...t,event_id:t.event_id||r.event_id||(0,p.eJ)(),timestamp:t.timestamp||(0,S.lu)()},C=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:n,dist:i,maxValueLength:a}=t;e.environment=e.environment||r||s.U,!e.release&&n&&(e.release=n),!e.dist&&i&&(e.dist=i);let o=e.request;o?.url&&a&&(o.url=(0,g.xv)(o.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&(e.value=g.xv(e.value,a))})})(w,e),b=w,(T=C).length>0&&(b.sdk=b.sdk||{},b.sdk.integrations=[...b.sdk.integrations||[],...T]),A&&A.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let r=function(e){let t=h.O._sentryDebugIds,r=h.O._debugIds;if(!t&&!r)return{};let s=t?Object.keys(t):[],l=r?Object.keys(r):[];if(o&&s.length===i&&l.length===a)return o;i=s.length,a=l.length,o={},n||(n={});let c=(t,r)=>{for(let i of t){let t=r[i],a=n?.[i];if(a&&o&&t)o[a[0]]=t,n&&(n[i]=[a[0],t]);else if(t){let r=e(i);for(let e=r.length-1;e>=0;e--){let a=r[e],s=a?.filename;if(s&&o&&n){o[s]=t,n[i]=[s,t];break}}}}};return t&&c(s,t),r&&c(l,r),o}(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}(w,e.stackParser);let I=function(e,t){if(!t)return e;let r=e?e.clone():new f.H;return r.update(t),r}(m,r.captureContext);r.mechanism&&(0,p.M6)(w,r.mechanism);let R=A?A.getEventProcessors():[],N=(0,_.Om)(v,I),D=[...r.attachments||[],...N.attachments];D.length&&(r.attachments=D),(0,_.e2)(w,N);let P=[...R,...N.eventProcessors];return(r.data&&!0===r.data.__sentry__?(0,d.XW)(w):function(e,t,r,n=0){try{let i=function e(t,r,n,i){let a=n[i];if(!t||!a)return t;let o=a({...t},r);return(l.T&&null===o&&c.Yz.log(`Event processor "${a.id||"?"}" dropped event`),(0,u.Qg)(o))?o.then(t=>e(t,r,n,i+1)):e(o,r,n,i+1)}(t,r,e,n);return(0,u.Qg)(i)?i:(0,d.XW)(i)}catch(e){return(0,d.xg)(e)}}(P,w,r)).then(e=>(e&&function(e){let t={};
1if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof y&&y>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,E.S8)(e.data,t,r)}}))},...e.user&&{user:(0,E.S8)(e.user,t,r)},...e.contexts&&{contexts:(0,E.S8)(e.contexts,t,r)},...e.extra&&{extra:(0,E.S8)(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,E.S8)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,E.S8)(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,E.S8)(e.contexts.flags,3,r)),n}(e,y,O):e)}function A(e){if(e){var t;return(t=e)instanceof f.H||"function"==typeof t||Object.keys(e).some(e=>v.includes(e))?{captureContext:e}:e}}let v=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},118404:(e,t,r)=>{"use strict";r.d(t,{U:()=>s,y:()=>o});var n=r(326798),i=r(64006),a=r(978265),o=function(e){return e.CREATED="CREATED",e.REJECTED="REJECTED",e.APPROVED="APPROVED",e}({});let s={isin:"",gsin:"",companyName:"",code:"",exchange:"",searchId:"",screen:"",prevScreen:"",isEditMode:!1,amount:null,monthDate:(0,a.K3)(),sipType:i.LB.Amount,frequency:i.eO.Weekly,startDate:(0,i.Yq)(new Date),equityType:"",quantity:null,endDate:(0,i.Yq)(new Date),weekDay:n.pW[(0,i.WT)()-1],btnLoading:!1,date:new Date().getDate(),intermidiateScreenState:{steps:[]},sipMandate:{isFetching:!1,data:null,isError:!1},inputValidation:{isValid:!0,message:null},mandateData:null,sipCount:{count:0,isFetching:!1,isError:!1},activeSips:{sips:[],isFetching:!1,isError:!1},nseTradingSymbol:"",bseTradingSymbol:""}},118850:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v2.5h-2V5H5v14h14v-2.5h2V19q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm8-4q-.825 0-1.412-.587A1.93 1.93 0 0 1 11 15V9q0-.825.588-1.412A1.93 1.93 0 0 1 13 7h7q.824 0 1.413.588Q22 8.175 22 9v6q0 .824-.587 1.413A1.93 1.93 0 0 1 20 17zm7-2V9h-
17v6zm-4-1.5q.625 0 1.063-.437.437-.438.437-1.063t-.437-1.062A1.45 1.45 0 0 0 16 10.5q-.625 0-1.062.438A1.45 1.45 0 0 0 14.5 12q0 .624.438 1.063.437.437 1.062.437"}))})},119498:(e,t,r)=>{"use strict";r.d(t,{$r:()=>p,ue:()=>E,Ff:()=>A});var n=r(642803),i=r(744620),a=r(950854),o=r(366929),s=r(283926),l=r(481966);let c=(e,t,r)=>{let n={...e};return n[t]=r,n};var u=r(240034),d=r(603183),f=r(281457);let h={key:"fno",whitelist:["basketOrderContractsData","lastUsedFnoQty"],version:3,timeout:500,transforms:[(0,u.e)({secretKey:"groww-web-redux-encrypt",onError:console.error})],storage:{getItem:async e=>{try{let t=await (0,d.KK)(f.o["REDUX-PERSIST"],f.T["REDUX-PERSIST"].FNO,300);if(!t)return null;let r=await t.get(e);if(!r)return null;return JSON.stringify(r.value)}catch(e){return console.error(e),null}},setItem:async(e,t)=>{try{let r=await (0,d.KK)(f.o["REDUX-PERSIST"],f.T["REDUX-PERSIST"].FNO,300);if(!r)return;await r.put({key:e,value:JSON.parse(t)})}catch(e){console.error(e)}},removeItem:async e=>{try{let t=await (0,d.KK)(f.o["REDUX-PERSIST"],f.T["REDUX-PERSIST"].FNO,300);if(!t)return;await t.delete(e)}catch(e){console.error(e)}}}},p={screen:"INFO",prevScreen:null,safeExitVal:"",validity:"DAY",smartExitOrderType:"LOSS_LIMIT",isUserActionApiInProgress:!1,userActionStatus:{status:"",message:""},safeExitV2Type:"LOSS"},E={fnoExploreChartData:{},fnoContractData:{},fnoContractDataLoading:!0,fnoContractDataError:null,fnoContractPageDataMap:{},optionChainPageData:null,contractPrices:{},fnoSparkLineData:{},sparkLineError:!1,safeExitData:{},safeExitCardData:p,blockingService:{isLoading:!1,isFailure:!1,data:null},basketOrderContractsData:{DEFAULT:{selectedBasketContracts:{},isSameQtyChecked:!0,combinedQtyCounterVal:0,contractsData:{}}},contractExpiries:{},commoditiesOrderConfig:{},lastUsedFnoQty:{}},_={optionChainData:{},optionChainLoader:!1,optionChainError:null,fnoContractData:{},fnoContractDataLoading:!1,fnoContractDataError:null,fnoContractPageDataMap:{},optionChainPageData:null,contractPrices:{},fnoExploreList:[],fnoExploreLoader:{},fnoExploreError:!1},g={fnoContractDataLoading:!1,fnoContractDataError:!1,optionChainPageData:null,contractPrices:{},fnoOrderConfig:{},commoditiesOrderConfig:{},safeExitData:{},safeExitCardData:p,blockingService:{isLoading:!1,isFailure:!1,data:null},basketOrderContractsData:{DEFAULT:{selectedBasketContracts:{},isSameQtyChecked:!0,combinedQtyCounterVal:0,contractsData:{}}},contractExpiries:{},lastUsedFnoQty:{}},S=(0,a.A)(h,function(){var e,t,r,i,a,u,d;let f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,h=arguments.length>1?arguments[1]:void 0,p={},{type:_,payload:g}=h,S=null;switch(_){case l.Pu:return{...f,fnoExploreChartData:{...f.fnoExploreChartData,...g}};case l.Le:return{...f,safeExitData:{...f.safeExitData,...g}};case l.Mx:return{...f,safeExitData:{}};case l.m7:return{...f,safeExitCardData:{...f.safeExitCardData,...g}};case l.o5:return{...f,commoditiesOrderConfig:g};case l.lI:return(0,n.handle)(f,h,{start:e=>({...e,fnoContractDataLoading:!0,fnoContractDataError:null}),success:e=>(p[S=g.data.contractDetails.growwContractId]=g.data.livePrice,{...e,fnoContractDataLoading:!1,fnoContractDataError:null,fnoContractData:g.data,fnoContractPageDataMap:c(e.fnoContractPageDataMap,S,g.data),contractPrices:{...f.contractPrices,...p}}),failure:e=>{var t;return{...e,fnoContractDataLoading:!1,fnoContractDataError:null==g?void 0:null===(t=g.response)||void 0===t?void 0:t.status}}});case l.VA:return{...f,fnoContractDataLoading:!1,fnoContractDataError:null,fnoContractPageDataMap:c(f.fnoContractPageDataMap,g.data.growwContractId,g.data),fnoContractData:g.data};case l.cg:return{...f,fnoContractDataLoading:!1,fnoContractDataError:null,fnoContractData:f.fnoContractPageDataMap[g.growwContractId]};case l.eq:return{...f,fnoContractData:null};case(0,o.V)(l.RY).success:{let e=(0,s.W2)()?performance.now():0;if(f.contractPrices[g.symbol]&&f.contractPrices[g.symbol].tsInMillis&&f.contractPrices[g.symbol].tsInMillis>g.data.tsInMillis)return e&&(0,s.pE)("reducer",performance.now()-e),f;return p[g.symbol]={...f.contractPrices[g.symbol],...g.data},e&&(0,s.pE)("reducer",performance.now()-e),{...f,contractPrices:{...f.contractPrices,...p}}}case(0,o.V)(l.zU).inProgress:if(p[g.symbol]=g.data,f.contractPrices[g.symbol])return f;return{...f,contractPrices:{...f.contractPrices,...p}};case(0,o.V)(l.zU).success:if(p[g.symbol]=g.data,f.contractPrices[g.symbol])return f.contractPrices[g.symbol]={...f.contractPrices[g.symbol],...g.data},{...f,contractPrices:{...f.contractPrices}};return{...f,contractPrices:{...f.contractPrices,...p}};case(0,o.V)(l.n2).success:return{...f,contractPrices:{...f.contractPrices,...g}};case(0,o.V)(l.ow).success:try{let e={},t=new Date;return Object.keys(g.data).map(r=>{let n=g.data[r],i=[];
1n.forEach(e=>{i.push([e.tsInMillis,e.ltp])}),e[r]={data:i,fetchedAt:t}}),{...f,fnoSparkLineData:{...f.fnoSparkLineData,...e},sparkLineError:!1}}catch(e){return console.error(e),{...f,sparkLineError:!0}}case(0,o.V)(l.CP).inProgress:return{...f,blockingService:{...f.blockingService,isLoading:!0,isFailure:!1}};case(0,o.V)(l.CP).success:return{...f,blockingService:{isLoading:!1,isFailure:!1,data:g.data}};case(0,o.V)(l.CP).failure:return{...f,blockingService:{...f.blockingService,isLoading:!1,isFailure:!0,data:null}};case l.GJ:return{...f,basketOrderContractsData:{...f.basketOrderContractsData,[g.underlyingId]:{...null!==(e=f.basketOrderContractsData[g.underlyingId])&&void 0!==e?e:{},selectedBasketContracts:g.data}}};case l.rK:return{...f,basketOrderContractsData:{...f.basketOrderContractsData,[g.underlyingId]:{...null!==(r=f.basketOrderContractsData[g.underlyingId])&&void 0!==r?r:{},selectedBasketContracts:{...null!==(i=null===(t=f.basketOrderContractsData[g.underlyingId])||void 0===t?void 0:t.selectedBasketContracts)&&void 0!==i?i:{},[g.data.growwContractId]:g.data}}}};case l.UI:let m={...f.basketOrderContractsData[g.underlyingId].selectedBasketContracts};return delete m[g.contractId],{...f,basketOrderContractsData:{...f.basketOrderContractsData,[g.underlyingId]:{...f.basketOrderContractsData[g.underlyingId],selectedBasketContracts:m}}};case l.kW:return{...f,basketOrderContractsData:{...f.basketOrderContractsData,[g.underlyingId]:{...null!==(a=f.basketOrderContractsData[g.underlyingId])&&void 0!==a?a:{},isSameQtyChecked:g.isSameQtyChecked}}};case l.HM:return{...f,basketOrderContractsData:{...f.basketOrderContractsData,[g.underlyingId]:{...null!==(u=f.basketOrderContractsData[g.underlyingId])&&void 0!==u?u:{},combinedQtyCounterVal:g.combinedQtyCounterVal}}};case l.sZ:return{...f,basketOrderContractsData:{...f.basketOrderContractsData,[g.underlyingId]:{...null!==(d=f.basketOrderContractsData[g.underlyingId])&&void 0!==d?d:{},contractsData:g.data}}};case l.AW:return{...f,contractExpiries:g};case l.LH:return{...f,lastUsedFnoQty:{...f.lastUsedFnoQty,[g.key]:{numberOfLots:g.numberOfLots,growwContractId:g.growwContractId,updatedAt:g.updatedAt}}};default:return f}}),m=(0,a.A)(h,function(){var e,t,r,i,a,c,u;let d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,f=arguments.length>1?arguments[1]:void 0,h={},{type:p,payload:E}=f;switch(p){case l.Le:return{...d,safeExitData:{...d.safeExitData,...E}};case l.Mx:return{...d,safeExitData:{}};case l.m7:return{...d,safeExitCardData:{...d.safeExitCardData,...E}};case l.lI:return(0,n.handle)(d,f,{start:e=>({...e,fnoContractDataLoading:!0,fnoContractDataError:!1}),success:e=>({...e,fnoContractDataLoading:!1,fnoContractDataError:!1,fnoContractData:E.data}),failure:e=>({...e,fnoContractDataLoading:!1,fnoContractDataError:E.toString()})});case l.eq:return{...d,fnoContractData:null};case l.q:return{...d,fnoOrderConfig:E};case l.o5:return{...d,commoditiesOrderConfig:E};case(0,o.V)(l.RY).success:{let e=(0,s.W2)()?performance.now():0;if(d.contractPrices[E.symbol]&&d.contractPrices[E.symbol].tsInMillis&&d.contractPrices[E.symbol].tsInMillis>E.data.tsInMillis)return e&&(0,s.pE)("reducer",performance.now()-e),d;return h[E.symbol]={...d.contractPrices[E.symbol],...E.data},e&&(0,s.pE)("reducer",performance.now()-e),{...d,contractPrices:{...d.contractPrices,...h}}}case(0,o.V)(l.zU).inProgress:if(h[E.symbol]=E.data,d.contractPrices[E.symbol])return d;return{...d,contractPrices:{...d.contractPrices,...h}};case(0,o.V)(l.zU).success:if(h[E.symbol]=E.data,d.contractPrices[E.symbol])return d.contractPrices[E.symbol]={...d.contractPrices[E.symbol],...E.data},{...d,contractPrices:{...d.contractPrices}};return{...d,contractPrices:{...d.contractPrices,...h}};case(0,o.V)(l.n2).success:return{...d,contractPrices:{...d.contractPrices,...E}};case(0,o.V)(l.CP).inProgress:return{...d,blockingService:{...d.blockingService,isLoading:!0,isFailure:!1}};case(0,o.V)(l.CP).success:return{...d,blockingService:{isLoading:!1,isFailure:!1,data:E.data}};case(0,o.V)(l.CP).failure:return{...d,blockingService:{...d.blockingService,isLoading:!1,isFailure:!0,data:null}};case l.GJ:return{...d,basketOrderContractsData:{...d.basketOrderContractsData,[E.underlyingId]:{...null!==(e=d.basketOrderContractsData[E.underlyingId])&&void 0!==e?e:{},selectedBasketContracts:E.data}}};case l.rK:return{...d,basketOrderContractsData:{...d.basketOrderContractsData,[E.underlyingId]:{...null!==(r=d.basketOrderContractsData[E.underlyingId])&&void 0!==r?r:{},selectedBasketContracts:{...null!==(i=null===(t=d.basketOrderContractsData[E.underlyingId])||void 0===t?void 0:t.selectedBasketContracts)&&void 0!==i?i:{},[E.data.growwContractId]:E.data}}}};case l.UI:let _={...d.basketOrderContractsData[E.underlyingId].selectedBasketContracts};return delete _[E.contractId],{...d,basketOrderContractsData:{...d.basketOrderContractsData,[E.underlyingId]:{...d.basketOrderContractsData[E.underlyingId],selectedBasketContracts:_}}};case l.kW:return{...d,basketOrderContractsData:{...d.basketOrderContractsData,[E.underlyingId]:{...null!==(a=d.basketOrderContractsData[E.underlyingId])&&void 0!==a?a:{},isSameQtyChecked:E.isSameQtyChecked}}};case l.HM:return{...d,basketOrderContractsData:{...d.basketOrderContractsData,[E.underlyingId]:{...null!==(c=d.basketOrderContractsData[E.underlyingId])&&void 0!==c?c:{},combinedQtyCounterVal:E.combinedQtyCounterVal}}};case l.sZ:return{...d,basketOrderContractsData:{...d.basketOrderContractsData,[E.underlyingId]:{...null!==(u=d.basketOrderContractsData[E.underlyingId])&&void 0!==u?u:{},contractsData:E.data}}};case l.AW:return{...d,contractExpiries:E};case l.LH:return{...d,lastUsedFnoQty:{...d.lastUsedFnoQty,[E.key]:{numberOfLots:E.numberOfLots,growwContractId:E.growwContractId,updatedAt:E.updatedAt}}};default:return d}}),A="desktop"===i.Eg.CHARTS?m:"desktop"===i.Eg.MSITE?function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:i}=t;switch(r){case l.sv:return(0,n.handle)(e,t,{start:e=>({...e,optionChainLoader:!0,optionChainError:null}),success:e=>({...e,optionChainLoader:!1,optionChainError:null,optionChainData:i.data}),failure:e=>({...e,optionChainError:i.toString(),optionChainLoader:!1})});case l.lI:return(0,n.handle)(e,t,{start:e=>({...e,fnoContractDataLoading:!0,fnoContractDataError:null}),success:e=>{let t=i.data.contractDetails.growwContractId;return{...e,fnoContractDataLoading:!1,fnoContractDataError:null,fnoContractData:i.data,fnoContractPageDataMap:c(e.fnoContractPageDataMap,t,i.data)}},failure:()=>{var e;return{fnoContractDataLoading:!1,fnoContractDataError:null==i?void 0:null===(e=i.response)||void 0===e?void 0:e.status}}});case l.cg:return{...e,fnoContractDataLoading:!1,fnoContractDataError:null,fnoContractData:e.fnoContractPageDataMap[i.growwContractId]};case l.eq:return{...e,fnoContractData:null};case(0,o.V)(l.Q6).success:{let t={},r={};return i.data.map(e=>{t[null==e?void 0:e.instrumentType]=null==e?void 0:e.derivatives,r[null==e?void 0:e.instrumentType]=!1}),{...e,fnoExploreLoader:r,fnoExploreList:{...e.fnoExploreList,...t}}}case l.n2:return(0,n.handle)(e,t,{success:t=>{let{data:r={}}=i;return{...t,contractPrices:{...e.contractPrices,...r}}}});default:return e}}:S},119855:(e,t,r)=>{"use strict";r.d(t,{JK:()=>i,Nt:()=>a,kc:()=>n});let n="GET_STOCK_MARKET_STATUS",i="UPDATE_STOCK_MARKET_STATUS",a="UPDATE_PRE_MARKET_OPEN_STATUS"},122677:(e,t,r)=>{"use strict";r.d(t,{Xr:()=>l,_c:()=>s,gt:()=>o,xv:()=>a});var n=r(198328),i=r(381305);function a(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function o(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let a=e[t];(0,n.sO)(a)?r.push(String(a)):a instanceof Error?r.push(a.message?`${a.name}: ${a.message}`:a.name):r.push((0,i.ng)(void 0,a))}return r.join(t)}function s(e,t,r=!1){return!!(0,n.Kg)(e)&&((0,n.gd)(t)?t.test(e):(0,n.Kg)(t)?r?e===t:e.includes(t):"function"==typeof t&&t(e))}function l(e,t=[],r=!1){for(let n of t)if(s(e,n,r))return!0;return!1}},125517:e=>{"use strict";e.exports=function(e,t){for(var r=Array(arguments.length-1),n=0,i=2,a=!0;i<arguments.length;)r[n++]=arguments[i++];return new Promise(function(i,o){r[n]=function(e){if(a)if(a=!1,e)o(e);else{for(var t=Array(arguments.length-1),r=0;r<t.length;)t[r++]=arguments[r];i.apply(null,t)}};try{e.apply(t||null,r)}catch(e){a&&(a=!1,o(e))}})}},125885:(e,t,r)=>{"use strict";e.exports=a;var n=r(524498);(a.prototype=Object.create(n.prototype)).constructor=a;var i=r(965537);function a(e){n.call(this,e)}a._configure=function(){i.Buffer&&(a.prototype._slice=i.Buffer.prototype.slice)},a.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},a._configure()},126479:(e,t,r)=>{"use strict";r.d(t,{TX:()=>q,f5:()=>z,PX:()=>D,Yy:()=>K,nD:()=>W,T7:()=>L,RW:()=>I,ph:()=>P,$:()=>w,Ee:()=>U,j1:()=>T,H8:()=>X,Y5:()=>Z,x3:()=>j,AZ:()=>R,TH:()=>M,rC:()=>C,rP:()=>k,OS:()=>y,Vf:()=>B,sl:()=>O,Cx:()=>H,ol:()=>F,cL:()=>A,ac:()=>x,sn:()=>N,nF:()=>V,rf:()=>G,M2:()=>Y});var n=r(380007),i=r(205302);let a=function(e){if(!(0,i.A)(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/0x10000000000&25
15,r[11]=t/0x100000000&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};function o(e,t){return e<<t|e>>>32-t}var s=function(e,t,r){function i(e,t,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof t&&(t=a(t)),16!==t.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+e.length);if(s.set(t),s.set(e,t.length),(s=r(s))[6]=15&s[6]|80,s[8]=63&s[8]|128,i){o=o||0;for(var l=0;l<16;++l)i[o+l]=s[l];return i}return(0,n.A)(s)}try{i.name="v5"}catch(e){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}(0,0,function(e){var t=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6],r=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i<n.length;++i)e.push(n.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var a=Math.ceil((e.length/4+2)/16),s=Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];s[l]=c}s[a-1][14]=(e.length-1)*8/0x100000000,s[a-1][14]=Math.floor(s[a-1][14]),s[a-1][15]=(e.length-1)*8&0xffffffff;for(var d=0;d<a;++d){for(var f=new Uint32Array(80),h=0;h<16;++h)f[h]=s[d][h];for(var p=16;p<80;++p)f[p]=o(f[p-3]^f[p-8]^f[p-14]^f[p-16],1);for(var E=r[0],_=r[1],g=r[2],S=r[3],m=r[4],A=0;A<80;++A){var v=Math.floor(A/20),b=o(E,5)+function(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:case 3:return t^r^n;case 2:return t&r^t&n^r&n}}(v,_,g,S)+m+t[v]+f[A]>>>0;m=S,S=g,g=o(_,30)>>>0,_=E,E=b}r[0]=r[0]+E>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+g>>>0,r[3]=r[3]+S>>>0,r[4]=r[4]+m>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}),l=r(598494),c=r(870507),u=r(951402),d=r(744620),f=r(454532),h=r(419938),p=r(299168),E=r(238460),_=r(507987);let g={trackPageView:!0,scrollPageToTop:!0},S=(0,c.Ay)(),m={Stocks:"stocks",Index:"indices",ETF:"etfs"};function A(e){if("undefined"!=typeof document&&b(e)){let r=document.documentElement.getAttribute("data-theme"),n=(0,p.wS)();try{if(S.isActive){var t;let r=null===(t=S.getParams())||void 0===t?void 0:t.theme;r&&b(r)?v(r):n&&b(n)?v(n):v(e)}else(n!==e||r!==e)&&v(e)}catch(e){console.error("Error in setting theme: ",e)}}}function v(e){let t=document.documentElement;(0,E.N)()&&(0,p.WB)(e),t.setAttribute("data-theme",e),t.style.colorScheme=e,t.dispatchEvent(new CustomEvent(d.yV.THEME_CHANGE))}function b(e){return Object.values(d.zG).includes(e)}async function T(){var e;return(0,E.N)()&&null!==(e=(0,p.wS)())&&void 0!==e?e:d.zG.LIGHT}function y(e){let t={...g};"object"==typeof e&&(t={...e}),t.scrollPageToTop&&(0,u.E)()}function O(e){return/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%.*?&]{8,}$/.test(e)&&e.length>=8}function w(e){if(!(!(0,u.a)(e)&&String(e).length>=4&&String(e).length<=11))return d.oT+"/banking-assets/img/bank_default.png";{let t=e.substring(0,4).toUpperCase();return"https://app-assets.groww.in/img/appimages/bankicons/".concat(t,".png")}}function C(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.charAt(0).toLowerCase(),n=null;return/^[a-z]{1}/.test(t)?r(953236)("./".concat(t,".svg")).default:r(799738).A}function I(){delete window.pinRedirectionUrl,(0,p.qQ)()}function R(){try{if(void 0!==window.pinRedirectionUrl)return{storedInLS:!1,pinRedirectionUrl:window.pinRedirectionUrl};{let e=(0,p.TM)();if(e)return{storedInLS:!0,pinRedirectionUrl:e};return null}}catch(e){console.error("Error in getting redirection URL: ",e)}}function N(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];try{if(function(e){try{return(0,window.location.pathname).startsWith(f.bw.LOGIN)}catch(e){return console.error("Error in checking auth page: ",e),!1}}())return;e?window.pinRedirectionUrl=window.location.href.replace(window.location.href,e):window.pinRedirectionUrl=window.location.href.replace(window.location.origin,""),t&&(0,p.ZN)(window.pinRedirectionUrl)}catch(e){console.error("Error in setting redirection URL: ",e)}}function D(){try{{let e=new URLSearchParams(window.location.search),t=e.get("authref"),r=e.get("redirect_url");t&&r&&(0,_.W)(r)&&(0,p.Ui)(t,r)}}catch(e){console.error("Error in capturing authref from URL: ",e)}}function P(){try{let e=(0,p._1)();if(null==e?void 0:e.redirectUrl)return e.redirectUrl;return null}catch(e){return console.error("Error in getting authref redirect URL: ",e),null}}function L(){try{(0,p.hu)()}catch(e){console.error("Error in clearing authref: ",e)}}let k=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop"!==d.Eg.DESKTOP;"desktop"===d.Eg.DESKTOP&&(r?window.location.href="https://groww.in"+t:e.push(t)),"desktop"===d.Eg.CHARTS&&(r?window.location.href="https://groww.in"+t:e.push(t))},M=function(){let{search_id:e,underlying_search_id:t,entity_type:r,id:n,sub_entity_type:i,exchange:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{search_id:"",underlying_search_id:"",entity_type:"",id:"",sub_entity_type:""},o=arguments.length>1?arguments[1]:void 0;if(o===f.bw.ADVANCE_CHARTS&&r)return"https://groww.in"+f.bw.ADVANCE_CHARTS+f.bw.SLASH+(null==m?void 0:m[r])+f.bw.SLASH+n;switch(r){case d.MH.Stocks:return f.bw.STOCK+f.bw.SLASH+e;case d.MH.IPO:return f.bw.IPO+f.bw.SLASH+e;case d.MH.ETF:if(i===d.BV.Nfo)return f.bw.ETF_NFO+f.bw.SLASH+e;return f.bw.ETF+f.bw.SLASH+e;case d.MH.US_STOCKS:return f.bw.US_STOCKS+f.bw.SLASH+e;case d.MH.US_ETF:return f.bw.US_ETF+f.bw.SLASH+e;case d.MH.Index:return f.bw.INDEX+f.bw.SLASH+e;
1case d.MH.Scheme:return f.bw.MF+f.bw.SLASH+e;case d.MH.Deposit:return f.bw.FD+f.bw.SLASH+e;case d.MH.Question:return f.bw.QUESTION+f.bw.SLASH+e;case d.MH.Nfo:return f.bw.NFO+f.bw.SLASH+e;case d.MH.Future:if(i===d.BV.Commodity)return f.bw.COMMODITIES+f.bw.FUTURE+f.bw.SLASH+t+f.bw.SLASH+e;return f.bw.FUTURE+f.bw.SLASH+t+f.bw.SLASH+n;case d.MH.Option:if(i===d.BV.Commodity)return f.bw.COMMODITIES+f.bw.OPTION+f.bw.SLASH+t+f.bw.SLASH+e;return f.bw.OPTION+f.bw.SLASH+t+f.bw.SLASH+n;case d.MH.OPTION_CHAIN:if(i===d.BV.Commodity)return f.bw.COMMODITIES+f.bw.OPTION+f.bw.SLASH+e+"?exchange=".concat(a);return f.bw.OPTION+f.bw.SLASH+e;case d.MH.Underlying:return f.bw.COMMODITIES+f.bw.SLASH+e;case d.MH.Buyback:return f.bw.BUY_BACK+f.bw.SLASH+e;case d.MH.Help:return f.bw.HELP_AND_SUPPORT+n;default:return""}};function F(){if((0,h.KJ)())x();else try{let e=S.isActive?(0,p.Hx)():(0,p.Gn)();if((0,u.a)(e)){let e=s("https://groww.in",(0,l.A)());(0,u.a)(e)||(0,p.oA)(e)}}catch(e){console.error("Error occured while setting device ID ",e)}}function x(){try{let e=(0,p.Ms)();if((0,u.a)(e)){let e=s("https://groww.in",(0,l.A)());(0,u.a)(e)||(0,p.Me)(e)}}catch(e){console.error("Error occured while setting onix device ID ",e)}}function U(){return f.bw.STOCK+f.bw.USER+f.bw.EXPLORE}let B=()=>{{let e=!1;return function(t){(d.Dy.test(t)||d.rV.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),e}},H=()=>{(0,u.C)(d.yV.OPEN_PIN_POPUP)},G=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=!1;return function(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];r||(e(...i),r=!0,setTimeout(()=>{r=!1},t))}};function j(e){return e.split("/")[1]}let V=(e,t)=>{let r=!1;return function(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];let o=this;r||(setTimeout(()=>{e.apply(o,i),r=!1},t),r=!0)}},K=e=>{if((0,u.a)(e))return!1;let t=new Date,r=t.getDate(),n=t.getMonth()+1,i=t.getFullYear();return"".concat(i,"-").concat(n.toString().padStart(2,"0"),"-").concat(r.toString().padStart(2,"0"))===e},W=()=>{let{href:e}=window.location;return!!e.includes(f.bw.ADVANCE_CHARTS)};function Y(e){try{let t=new URL(e),r=t.hostname.replace(/^www\./,"");if(!_.i.has(r))return e;return t.hostname="915.groww.in",t.searchParams.set("utm_source","groww"),t.toString()}catch(t){return e}}let q="undefined"!=typeof navigator&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.userAgent),z=(e,t,r)=>{let n,i;return t<=r?(n=1,i=t):e<=3?(n=1,i=r):e>=t-2?(n=t-r+1,i=t):(n=e-2,i=e+2),{start:n,end:i}},X=e=>(null==e?void 0:e.account_type)===d.HR.MINOR,$=e=>e===d.HR.NRI||e===d.HR.OCI,Q=e=>(null==e?void 0:e.trim().replace(/^\+/,""))||d.r4,J=e=>{let t=Q(null==e?void 0:e.country_code),r=$(null==e?void 0:e.account_type)||t!==d.r4;return{countryCode:t,countryCodeWithPrefix:"+".concat(t),channel:r?d.YC.WHATSAPP:d.YC.SMS,isInternational:r}},Z=e=>{let t=null==e?void 0:e.mobile_number;if(!t)return"";let{countryCodeWithPrefix:r,channel:n}=J(e);return"".concat(r," ").concat(t," on ").concat(n)}},131407:(e,t,r)=>{"use strict";function n(){t.util._configure(),t.Writer._configure(t.BufferWriter),t.Reader._configure(t.BufferReader)}t.build="minimal",t.Writer=r(957900),t.BufferWriter=r(177143),t.Reader=r(228216),t.BufferReader=r(108579),t.util=r(841111),t.rpc=r(801902),t.roots=r(463500),t.configure=n,n()},132978:(e,t,r)=>{"use strict";r.d(t,{s:()=>E});var n=r(190386),i=r(870507),a=r(702777),o=r(225615);let s={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Writer.create();return""!==e.name&&t.uint32(10).string(e.name),Object.entries(e.DpEventDataStrMap).forEach(e=>{let[r,n]=e;l.encode({key:r,value:n},t.uint32(18).fork()).ldelim()}),Object.entries(e.DpEventDataLongMap).forEach(e=>{let[r,n]=e;c.encode({key:r,value:n},t.uint32(26).fork()).ldelim()}),Object.entries(e.DpEventDataBooleanMap).forEach(e=>{let[r,n]=e;u.encode({key:r,value:n},t.uint32(34).fork()).ldelim()}),Object.entries(e.DpEventDataFloatMap).forEach(e=>{let[r,n]=e;d.encode({key:r,value:n},t.uint32(42).fork()).ldelim()}),t},decode(e,t){let r=e instanceof o.Reader?e:o.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={name:"",DpEventDataStrMap:{},DpEventDataLongMap:{},DpEventDataBooleanMap:{},DpEventDataFloatMap:{}};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.name=r.string();continue;case 2:if(18!==e)break;let t=l.decode(r,r.uint32());void 0!==t.value&&(i.DpEventDataStrMap[t.key]=t.value);continue;case 3:if(26!==e)break;let n=c.decode(r,r.uint32());void 0!==n.value&&(i.DpEventDataLongMap[n.key]=n.value);continue;case 4:if(34!==e)break;let a=u.decode(r,r.uint32());void 0!==a.value&&(i.DpEventDataBooleanMap[a.key]=a.value);continue;case 5:if(42!==e)break;let o=d.decode(r,r.uint32());void 0!==o.value&&(i.DpEventDataFloatMap[o.key]=o.value);continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}},l={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Writer.create();return""!==e.key&&t.uint32(10).string(e.key),""!==e.value&&t.uint32(18).string(e.value),t},decode(e,t){let r=e instanceof o.Reader?e:o.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={key:"",value:""};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.key=r.string();continue;case 2:if(18!==e)break;i.value=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}},c={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Writer.create();return""!==e.key&&t.uint32(10).string(e.key),0!==e.value&&t.uint32(16).int64(e.value),t},decode(e,t){let r=e instanceof o.Reader?e:o.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={key:"",value:0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.key=r.string();continue;case 2:if(16!==e)break;i.value=function(e){if(e.gt(globalThis.Number.MAX_SAFE_INTEGER))throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");if(e.lt(globalThis.Number.MIN_SAFE_INTEGER))throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");return e.toNumber()}(r.int64());continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}},u={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Writer.create();return""!==e.key&&t.uint32(10).string(e.key),!1!==e.value&&t.uint32(16).bool(e.value),t},decode(e,t){let r=e instanceof o.Reader?e:o.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={key:"",value:!1};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.key=r.string();continue;case 2:if(16!==e)break;i.value=r.bool();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}},d={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Writer.create();return""!==e.key&&t.uint32(10).string(e.key),0!==e.value&&t.uint32(21).float(e.value),t},decode(e,t){let r=e instanceof o.Reader?e:o.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={key:"",value:0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.key=r.string();continue;case 2:if(21!==e)break;i.value=r.float();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}};o.util.Long!==a.A&&(o.util.Long=a.A,o.configure());let f=(0,i.Ay)(),h=()=>void 0!==window.dataLayer,p=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;
1if(h())try{let n=null!==r&&"object"==typeof r?r:{value:r};window.dataLayer.push({event:"event",eventCategory:e,eventAction:t,eventLabel:JSON.stringify(n)})}catch(n){console.error("Failed to send GTM event:",{category:e,eventName:t,properties:r,error:n})}else n<2?setTimeout(()=>p(e,t,r,n+1),1e3):console.error("GTM not loaded after maximum retries:",{category:e,eventName:t,properties:r})};function E(e,t,r){if("object"==typeof t)(0,n.sx)(e,t,r),p("EMS",e,r);else{let i={name:t,DpEventDataStrMap:{},DpEventDataLongMap:{},DpEventDataBooleanMap:{},DpEventDataFloatMap:{}};if(r&&"object"==typeof r){if(f.isActive){let e=f.getMetaData();r={...r,...e}}Object.entries(r).forEach(e=>{let[t,r]=e;"string"==typeof r?i.DpEventDataStrMap[t]=r:"number"==typeof r?Number.isInteger(r)?i.DpEventDataLongMap[t]=r:i.DpEventDataFloatMap[t]=r:"boolean"==typeof r?i.DpEventDataBooleanMap[t]=r:"object"==typeof r?i.DpEventDataStrMap[t]=JSON.stringify(r):i.DpEventDataStrMap[t]=String(r)})}(0,n.sx)("GobblerWebengageEvent",s,i,{v2Override:{name:t,payload:r&&"object"==typeof r?r:{}}}),p(e,t,r)}}},135956:(e,t,r)=>{"use strict";r.d(t,{WI:()=>c,dj:()=>u,g7:()=>E,ki:()=>S,sX:()=>f});var n=r(21905),i=r(238460),a=r(753762);let o=()=>{let{userData:e}=a.f.getState();return{...(null==e?void 0:e.email_verified)!==void 0?{email_verified:e.email_verified}:{},...(null==e?void 0:e.mobile_verified)!==void 0?{mobile_verified:e.mobile_verified}:{}}},s=e=>({...e,...o()}),l=e=>{if(a.f.getState().userData){a.f.setState({isUserDataLoading:!1});return}h(e)},c=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null==e?void 0:e.emailVerified,i=null!==(t=null==e?void 0:e.mobileVerified)&&void 0!==t?t:!r&&void 0,o=null==e?void 0:e.emailId,s=a.f.getState().userData,{isMaskedDataStored:l}=a.f.getState(),c={...s||{},...o?{email_id:o}:{},...void 0!==n?{email_verified:n}:{},...void 0!==i?{mobile_verified:i}:{}};a.f.setState({userData:c,isUserDataLoading:!1,isUserDataError:!1,userDataError:null,isMaskedDataStored:!s||l,lastApiTriggerTimeStamp:new Date().getTime()})},u=e=>{let t=a.f.getState().userData;a.f.setState({userData:{...t||{},...e},isUserDataLoading:!1,isUserDataError:!1,userDataError:null,lastApiTriggerTimeStamp:new Date().getTime()})},d=()=>{a.f.setState({isUserDataLoading:!0,isUserDataError:!1,userDataError:null})},f=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;a.f.setState({userData:e,userAttributes:r,isUserDataLoading:!1,isUserDataError:!1,userDataError:null,isMaskedDataStored:t,lastApiTriggerTimeStamp:new Date().getTime()})},h=e=>{a.f.setState({isUserDataLoading:!1,isUserDataError:!0,userDataError:e,lastApiTriggerTimeStamp:new Date().getTime()})},p=null,E=async()=>p||(p=(async()=>{let e=(0,i.N)(!0),t=(0,i.N)();return e?g():t?_():void 0})().finally(()=>{p=null})),_=async()=>{if(!a.f.getState().isUserDataLoading)try{d();let e=await (0,n.OA)();f(s(e.data),!0)}catch(e){l(e)}},g=async()=>{if(!a.f.getState().isUserDataLoading)try{var e;d();let t=await (0,n.mN)(),{user:r,attributes:i}=(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.data)||{};f(s(r),!1,i)}catch(e){l(e)}},S=()=>{a.f.setState(a.u),a.f.persist.clearStorage()}},136398:(e,t,r)=>{"use strict";r.d(t,{XQ:()=>a,aH:()=>n,dW:()=>i});let n={...r(647005).aH,AUTH_SESSION_ID:"AUTH_SESSION_ID",USER_NAME:"USER_NAME",AUTHORIZATION:"lhtndhgfd",REFRESH_TOKEN:"alnuyoasdasloppes",USER_EMAIL:"USER_EMAIL",USER_PREF_THEME_API_STATUS:"sc1sd3fd6gdf",USER_SEARCH_ID:"USER_SEARCH_ID",USER_PROFILE_PIC:"USER_PROFILE_PIC",MOST_POPULAR_MF:"dse67tf67t6467edf",MF_GROWW_FUNDS:"MF_GROWW_FUNDS",DASHBOARD_INV:"sdghasfjgdsfjhgajhfs",UTM_KEYS:"UTM_KEYS",RECENTLY_VIEWED:"zhtdkpsjff",ONE_TAP_SHOWN:"uv2hq0alns2272h",CART_DATA:"hyfnhmfgnro",UPI_VPA:"sdasdasdsad",SWITCHABLE_SCHEMES:"sssddjdedjfj",PIN_TOKEN:"arkeyt473rfh7834cd",TWO_FACTOR_PIN_ALREADY_SET:"fsdyuyurewdfi896k7g",ONBOARDING_OTP:"sdfkjsdffd",STP_ORDERS:"ss4445hgss",SWP_ORDERS:"ss3332jkii",PREVIOUS_MOBILE:"sspr43334k",REDIRECTION_URL:"sdifgdsuiycfswe76hjer3",HNS_SEARCH_RESULTS:"asdaeyufhefe",STOCKS_ORDER_SEARCH_RESULTS:"feuygncbuywebw",US_STOCKS_ORDER_SEARCH_RESULTS:"feuygncbuywebwUS",NFO_LIST:"ssdeeueeu4454",FAMILY_ACCOUNTS_DATA:"fadacdmctioa",TRENDING_SEARCHES:"tsafdsfesaf3adas",ESIGN_DOC_TYPE:"ESIGN_DOC_TYPE",SCREENER_FILTER_DTO:"alsfdalsjflasdfjsal",AMC_LIST:"ghfndkdfef",INTERPUNCT:"\xb7",PRICING_PAGE_TAB:"asdfPARdfsasd",LAST_STOCK_CHART_STATE:"aasdafradf",IPO_DISCOVERY:"hdshfvhdsfvjsdbfj",IPO_UPI:"ipoadbaupiasde",US_STOCK_O
1NBOARDING_STATUS:"us44stk334s2s",INTRADAY_INFO_CARD_STATE:"qererqewrqrrw",STOCK_ORDER_PREFERENCE:"sopsopsopsop",USER_STOCKS_PREFERENCE:"sdsdfbshdbvh",STOCK_AMO_ORDER_PREFERENCE:"amoamoamoamo",FNO_ORDER_PREFERENCE:"asmdosahudhjahjhwkuhdajsadgsahdv",STOCK_EXPLORE_POPUP:"isStockExplorePopupClosed",ORIENTATION:"webW32view67orientation",COMMON_PARAMS:"cc22commonptt43",CACHED_SEARCH_DATA:"dsfdokvndfojgerqw98u6ee2f4iun",CACHED_SEARCH_DATA_STOCKS:"dsfdokvndfojgerqw98u6ee2f4iun_stocks",CACHED_SEARCH_DATA_SCHEME:"dsfdokvndfojgerqw98u6ee2f4iun_scheme",CACHED_SEARCH_DATA_FNO:"dsfdokvndfojgerqw98u6ee2f4iun_fno",CACHED_SEARCH_DATA_ETF:"dsfdokvndfojgerqw98u6ee2f4iun_etf",CACHED_SEARCH_DATA_HELP:"dsfdokvndfojgerqw98u6ee2f4iun_help",PLATFORM_TYPE:"hgdgghfdfhg252423gdsfsd",IS_WEBVIEW_ACTIVE:"IS_WEBVIEW_ACTIVE",SERVER_TIME_DATA:"beufabbacaebvfbaefaqwr",USER_CHART_LAYOUT_DATA:"USER_CHART_LAYOUT_DATA",USER_CHART_DRAWING_DATA:"USER_CHART_DRAWING_DATA",USER_MARKET_CAP_FILTER_PREFERENCE:"USER_MARKET_CAP_FILTER_PREFERENCE",USER_TRADING_PANEL_PREFERENCE:"USER_TRADING_PANEL_PREFERENCE",USER_INDICES_PREFERENCE:"USER_INDICES_PREFERENCE",TV_MIGRATION_WEB:"TV_MIGRATION_WEB",PANELS_ORDER:"PANELS_ORDER",GMF_DATA:"GMF_DATA",FD_DASHBOARD_INV:"sdghasfjgdsfewwebajhas",SEARCH_EXPIRY_TIME_IN_MIN:1,THIRTY_DAYS_IN_MINS:43200,USERS_ON_GROWW_IN_LACS:400,USERS_ON_GROWW_IN_MILLIONS:50,ACTIVE_USERS_ON_GROWW_IN_MILLIONS:10,TEAM_MEMBERS_IN_GROWW:1e3,GROWW_CURRENT_RATING:4.5,CURRENT_YEAR:new Date().getFullYear().toString(),FIREBASE_TOKEN:"hldtnvcjjoz2455bcsqruk6438",TRENDING_SEARCHES_FOR_SEARCH_PAGE:"tWOffs3eiaf3Nc4x",IPO_AND_SGB_DISCOVERY:"fgnksljdfsfdsfs",SELECTED_PRODUCT_AND_CATEGORY:"sdfseyuwefdsdf7",HNS_MAIN_DATA:"dfjkhgdsewykjdfb",HNS_CDN_MAIN_DATA:"duifiihdxcseiurh",HNS_PAYMENTS_TRANSACTIONS:"fgdshjweyhjdbssfkt",HNS_MF_ORDERS:"fgdshjweyhdsadbssfkt",HNS_STOCKS_ORDERS:"fgdsetiyfadsadbssfkt",HNS_CATEGORY_TO_QUESTIONLIST_DATA:"fdjhsgfskdffsdfruyfr",AB_SEGMENTS:"ewrkjerwjkereadsf",LAST_DASH_VISITED:"dashLastVisited1",STOCK_DASHBOARD_STATE:"sdsasdsdasdsaa3ads",INDIA_MOBILE_COUNTRY_CODE:"+91",ONIX_AUTHORIZATION:"adsflasdfls",RECENTLY_VIEWED_STOCK_PRODUCT_PAGE:"kjsdkjsdkjfsdfjdssfjsdfjkdfs",RECENTLY_VIEWED_MF_PRODUCT_PAGE:"lsdfasdfsafdsafdsadfasdfweeh",RECENTLY_VIEWED_US_STOCK_PRODUCT_PAGE:"lrusljfksd122435jsfsdf1kkrg",RECENTLY_VIEWED_US_STOCKS_V2_PRODUCT_PAGE:"usstv2rvprod8k3m9q2n",RECENTLY_VIEWED_US_ETF_PRODUCT_PAGE:"lruqejnercsnsdfwwuhgv",RECENTLY_SEARCHED_ACADEMY_EPISODES:"iwbfpdsdjhbsdkcujdhksb",USER_ATTRIBUTES:"adsfasdflasdjflasdfla",FD_TOP_PRODUCTS_DATA:"sdghasfjgdsfjhgtresb",US_STOCK_DEFAULT_FILTERS:"123US_STOCK_DEFAULT_FILTERS123",ACADEMY_FEEDBACK_STATUS:"acadvrkj6b45564herkjgdslk",MB_ANNOUNCEMENT:"sdghasfjgdsfjhgtabgr",FNO_FEEDBACK_REQUEST:"asdflejlaasfjarequest",USER_LOGGED_IN_TIME:"asfoasdaereanadostirnad",MF_FILTERS_DATA:"yogyisdoyfcbiuasfsisabd",SGB_CMS_DATA:"sjfbksnfuygeryie5",MF_SORT_PARAMETER:"MF_SORT_PARAMETER",BANK_LIST_V2:"bddanks23dsf234sdfsd3fseds",CORPORATE_ACTIONS_FILTERS:"fjaebbivaenmbmbaiugaebk",FD_HIGHEST_INTEREST_RATE:"sdghasfjgdsfjyqweoxl",MF_SIP_CALCULATOR_TAB:"qwertyuiosdfghjkssv",HNS_QUESTION_PREFERRED_LANGUAGE:"pqowroqpwrjkasdqwoeqpqwe",FD_TOP_PRODUCTS_LIST:"kajsdwidhwoqndasndonsd",FLASHBACK_CURRENT_PAGE:"FB_LAST_VIEWED_STORY",IS_FLASHBACK_VISITED:"alskdjpwondpqndkslndasbojd",HOLDING_SORT_PREFERENCE:"asdfoadflwejijvaweq",PAYMENT_GATEWAY:"dssgsdfsdgsffafdfgfdggdhfg",MARKET_TRENDS_FILTERS:"bfeuabmancgaaiveacae",RECENT_POSTS:"nmsdgfjhgsdfjnbvasbnsdvf",BLOGS_BY_CATEGORY:"jkfdhgjkgvjbsdjfjsdbfmnsd",ALL_CATEGORIES_BLOGS:"sdmnfbdsnvfhjbdsjfbksjkdsh",ALL_BLOGS:"dsjhgfjhsdbfnvdsnbfvbn",DAILY_DIGEST:"fdkjgkdfnkgjndkfjgdfjnh",PREVIOUS_DAILY_DIGEST:"fdkjgkdfnkgjndkfjgdfjnh_PREVIOUS",WEEKLY_DIGEST:"kjbjhegbvhgvcksbhkv",PREVIOUS_WEEKLY_DIGEST:"kjbjhegbvhgvcksbhkv_PREVIOUS",SIDEBAR_LINKS:"djkghkjdfoiervnm23k",WALLET_BALANCE_CACHE:"qrueiwajdskvnamvdkjsk",STOCKS_WALLET_BALANCE_CACHE:"qscgyjnmkotefrghzs",SYSTEMATIC_STATS:"swhieugywfdhidg2784762eythvchvw",MAIN_SEARCH_LS_ID:"search",OLD_STOCKS_SEARCH_LS_ID:"stk",COMPARE_MF_SEARCH_LS_ID:"compare",NOTIFICATION_SEARCH_LS_ID:"notifications",MF_ORDERS_LS_ID:"mfOrders",RECENTLY_VIEWED_STOCKS:"RECENTLY_VIEWED_STOCKS",FD_PARTNER_BANKS:"sdghasfjgdsfjhgtresqw",ALL_SIPS:"fdgdsfewdscsegervdfdvdffd",ALL_SIPS_V3:"hjkdsfgwqeruivbnxczmqwe",EDIT_SIP_DETAILS:"EDIT_SIP_DETAILS",HNS_OPEN_CHAT_DATA:"asadiondfvdiubdkgbqlwofhrdbiud",HNS_PRIMARY_LANGUAGE:"HNS_PRIMARY_LANGUAGE",HNS_SECONDARY_LANGUAGE:"HNS_SECONDARY_LANGUAGE",FB_LAST_VIEWED_STORY:"FB_LA
1ST_VIEWED_STORY",HAS_USER_VISITED_DASHBOARD:"HAS_USER_VISITED_DASHBOARD",TOTAL_FLASHBACKS:"TOTAL_FLASHBACKS",WEBVIEW_APP_VERSION:"fajdklfjlefnslekfjsd",WEBVIEW_PLATFORM:"pladdspalcpfedewdr",WEBVIEW_PLATFORM_TYPE:"platform-type",USER_UUID_LSCACHE_KEY:"lscache-dsocsweuvhapdubdpotsgbsobhb",TRADING_VIEW_PREFERENCE_LSCACHE_KEY:"lscache-TRADING_VIEW_PREFERENCE",LSCACHE_BASE:"lscache-",IS_LSCACHE_CLEARED:"isLsCacheCleared",FD_AMOUNT_FOR_WEBVIEW:"FD_AMOUNT_FOR_WEBVIEW",FD_PENDING_ORDER_LIST:"sdghasfjgdsfewwebajgds",CALL_ME_BACK_TIME:"acmsdjknaekinewjfn",TRADING_VIEW_PREFERENCE:"TRADING_VIEW_PREFERENCE",TRADING_VIEW_INTERVAL_PREFERENCE:"TRADING_VIEW_INTERVAL_PREFERENCE",FNO_PAUSE_REDIRECTION:"FNO_PAUSE_REDIRECTION",USER_UUID:"dsocsweuvhapdubdpotsgbsobhb",ONIX_USER_UUID:"onixsdjjhsdfdjiuemwkvkvsnuuid",AC_USER_SELECTED_CHARTS_KEY:"AC_USER_SELECTED_CHARTS_KEY",SHOW_MUHURUT_WIDGET:"SHOW_MUHURUT_WIDGET",USER_SELECTED_EXPIRY_DATE:"USER_SELECTED_EXPIRY_DATE",SHOW_AUDIO_TICKET_POPUP:"SHOW_AUDIO_TICKET_POPUP",N_KEY_SEED:"N_KEY_SEED",SOCKET_TOKEN:"SOCKET_TOKEN",FNO_RISK_SCREEN:"FNO_RISK_SCREEN",US_STOCKS_RISK_SCREEN:"US_STOCKS_RISK_SCREEN",CF_USER_EMAIL_LIST:"CF_USER_EMAIL_LIST",CF_STORE_LIST:"CF_STORE_LIST",CF_CURRENT_STORE:"CF_CURRENT_STORE",CF_PRODUCT_LIST:"CF_PRODUCT_LIST",CF_ONBOARDING_STEPS:"CF_ONBOARDING_STEPS",CF_CURRENT_PRODUCT:"CF_CURRENT_PRODUCT",CF_CURRENT_USER_ID:"CF_CURRENT_USER_ID",CF_CURRENT_USER_DETAILS:"CF_CURRENT_USER_DETAILS",CF_POST_LOAN_DASHBOARD:"CF_POST_LOAN_DASHBOARD",CF_PRE_LOAN_DASHBOARD:"CF_PRE_LOAN_DASHBOARD",CF_COMPLETED_LOAN_DASHBOARD:"CF_COMPLETED_LOAN_DASHBOARD",CF_BROWSER_TAB_ID:"CF_BROWSER_TAB_ID",CF_ENTERED_AMOUNT:"CF_ENTERED_AMOUNT",TRADING_VIEW_THEME:"tradingview.current_theme.name",SIDE_NAV_OPEN_PREFERENCE:"SIDE_NAV_OPEN_PREFERENCE",WEBVIEW_DEVICE_ID:"habsdhkasbdhjkbaskh",ONE_TIME_AUTH_CLEAR_FLAG:"ONE_TIME_AUTH_CLEAR_FLAG",ALL_WEB_STORIES:"sfsdfwebstoriesasfasfdasdf",ALL_WEB_STORIES_CATEGORY:"hasopdlfhaswebstoriescategorysdfasfasf",WEB_STORIES_CATEGORY:"afsdfafasfasdwebstoriescategorykljhdfdlds",WEB_STORY_BY_CATEGORY:"kjhkwebstoriescategorysdfasfasf",IPV_CURRENT_AGENT:"IPV_CURRENT_AGENT",CELL_REDIRECTION_HEADER:"CELL_REDIRECTION_HEADER",FNO_EXPLORE_TOP_TRADED_PILL:"FNO_EXPLORE_TOP_TRADED_PILL",BONDS_ACTIVE_COUNT:"BONDS_ACTIVE_COUNT",MF_USER_SUBSCRIPTION:"sdfghjklmnbvcxzqwertyuiop",AUTH_REF:"authref_key_915",AUTH_REF_REDIRECT_URL:"authref_redirect_url_key"},i="sdfsdusersdfdatasdfstore",a={PENDING:"PENDING",IN_PROGRESS:"IN_PROGRESS",SUCCESSFUL:"SUCCESSFUL",FAILED:"FAILED"}},137900:(e,t,r)=>{"use strict";var n=r(358719);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
1;return r.PropTypes=r,r}},138239:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});let n=100},140109:(e,t,r)=>{"use strict";r.d(t,{eU:()=>a,td:()=>o});var n=r(655969);let i={visible:!1,message:"",highlight:void 0,variant:"success",action:void 0,duration:3e3,target:"global"},a=(0,n.vt)(e=>({...i,show:t=>e({...i,...t,visible:!0}),hide:()=>e(i)})),o=e=>{a.getState().show(e)}},141508:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});let n="GET_SPARKLINE_DATA"},141814:(e,t,r)=>{"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(403816),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},144080:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n=function(e){return e.MF_NSE_CONFIG="mf_nse_config_web",e.MF_SIP_CANCEL_CONFIG="mf_sip_cancel_config_web",e.MF_CANCEL_SIP_ON_SKIP_COMPLIANCE="mf_cancel_sip_on_skip_compliance",e.MF_KRA_VERIFICATION_CONFIG_WEB="mf_allowed_kra_status_list_web",e.MF_AADHAAR_PAN_LINK_CHECK_WEB="mf_aadhaar_pan_link_check_web",e.MF_KRA_STATUS_CHECK_WEB="mf_kra_status_check_web",e.MF_PVM_CONFIG_WEB="mf_pvm_config_web",e.MF_REDEEM_CARD_V2="mf_redeem_card_v2_web",e.MF_INVESTMENT_SUMMARY_CARD_V2_WEB="mf_investment_summary_card_v2_web",e.MF_PARTIAL_SWITCH_WEB="mf_partial_switch_web",e.MF_EXPLORE_CONFIG_WEB="mf_explore_config_web",e.MF_EXPLORE_COLLECTION_CONFIG_WEB="mf_explore_collection_config_web",e.MF_EXPLORE_QUICK_ACCESS_CONFIG_WEB="mf_explore_quick_access_config_web",e.MF_PRIME_ONBOARDING_WEB="mf_prime_onboarding",e.MF_SCHEME_SEARCH_V6_ENABLED="mf_is_v6_scheme_search_enabled",e.MF_PRIME_COLLECTION_CONFIG_WEB="mf_prime_collections_config_web",e.MF_PRIME_QUICK_ACCESS_CONFIG_WEB="mf_prime_product_tools_config_web",e.MF_PRIME_SMART_INVEST="mf_prime_smart_invest_web",e.MF_ALL_ORDERS_REVAMP_WEB="mf_all_orders_revamp_web",e.MF_ORDER_CARD_VALIDATOR_WEB="mf_order_validator_web",e.MF_SIP_REVAMP_AND_MIGRATION="mf_sip_revamp_and_migration",e.MF_SIP_FREQUENCY_CONFIG="mf_sip_frequency_config_web",e.MF_USE_BASE_EXPENSE_RATIO="mf_use_base_expense_ratio",e.STOCKS_EXPLORE_TOOLS="stocks_explore_tools",e.STOCKS_EXPLORE_TOOLS_V2_WEB="stocks_explore_tools_v2_web",e.STOCKS_INTRADAY_SPLIT_POSITIONS="stocks_intraday_split_positions_web",e.STOCKS_GROWW_CLEARTAX_CONFIG="stocks_groww_cleartax_config_web",e.SAFE_EXIT="safe_exit_web",e.MOST_BOUGHT_ON_GROWW_DISCOVERY_ENABLED="most_bought_on_groww_discovery_enabled",e.DDPI_WEB="ddpi_web",e.FNO_ALL_ORDERS_V3="fno_all_orders_v3_web",e.STOCK_SOCKET_ORDER_UPDATE_INVESTMENTS="stocks_socket_order_update_investments",e.SOCKET_ORDER_UPDATES_KILL_SWITCH="socket_order_updates_kill_switch",e.STOCKS_SOCKET_POSITION_UPDATES_KILL_SWITCH="stocks_socket_position_updates_kill_switch",e.STOCKS_FNO_OC_CHARGES="stocks_fno_oc_charges",e.STOCKS_OC_PRICE_VALIDATION_FOR_FNO_ENABLED="stocks_oc_price_validation_for_fno_enabled",e.STOCKS_SPECIAL_TRADING_SESSION="stocks_special_trading_session",e.STOCKS_MUHURAT_DATES_CONFIG="stocks_muhurat_dates_config",e.STOCKS_MUHURAT_COPY="stocks_muhurat_copy",e.STOCKS_ICEBERG_ENABLED="stocks_iceberg_enabled",e.STOCKS_BEST_PRICE_EXECUTION_MIS_ENABLED="stocks_best_price_execution_mis_enabled",e.STOCKS_BEST_PRICE_EXECUTION_CNC_ENABLED="stocks_best_price_execution_cnc_enabled",e.STOCKS_INTRADAY_OCO_ENABLE="stocks_intraday_oco_enable",e.STOCKS_INTRADAY_OCO_EST_PNL_ENABLED="stocks_intraday_oco_est_pnl_enabled",e.STOCKS_INTRADAY_OCO_ORDER_DETAILS_PREFIX="stocks_intraday_oco_order_details_prefix",e.STOCKS_AMO_ENABLED="stocks_amo_enabled",e.STOCKS_INTRADAY_RISK_SQUARE_OFF_WARNING="stocks_intraday_risk_sqoff_web",e.STOCKS_EXPLORE_V2="stocks_explore_v2_web",e.STOCKS_HOLDINGS_V2_ENABLED="stocks_holdings_details_v2_web",e.STOCKS_TRADING_SCREENS="stocks_trading_screens_web",e.STOCKS_EXPLORE_SECTIONS="stocks_explore_sections_web",e.STOCKS_EXPLORE_RIGHT_SECTIONS="stocks_explore_right_sections_web",e.STOCKS_EXPLORE_BONDS_TOP_CONFIG="stocks_explore_bonds_top_config_web",e.STOCKS_INTRADAY_FAST_EXIT_ENABLE="stocks_intraday_fast_exit_enable",e.STOCKS_NEW_PQR_API_ENABLED="stocks_new_pqr_api_enabled",e.REPORTS_TAX_CARD_ENABLED_WEB="reports_tax_card_enabled_web",e.STOCKS_ORDER_CARD_CHARGES_V2="stocks_order_card_charges_v2",e.STOCKS_DDPI_CNC_SELL="stocks_ddpi_cnc_sell_web",e.STOCKS_DDPI_GTT_SELL="stocks_ddpi_gtt_sell_web",e.STOCKS_DDPI_MTF_SELL="stocks_ddpi_mtf_sell_web",e.STOCKS_PRECISION_LOSS_CALCULATION_ENABLED="stocks_precision_loss_calculation_enabled",e.STOCKS_TRAILING_STOP_LOSS_ENABLED="stocks_trailing_stop_loss_enabled",e.STOCKS_ADVANCED_ORDER_SOCKET_WEB="stocks_advanced_order_socket_web",e.STOCKS_TRAILING_STOPLOSS_VALIDATION_CONFIG="stocks_trailing_stoploss_validation_config_v2",e.STOCKS_TRIGGER_ORDERS_CONFIG="stocks_trigger_orders_config",e.PILLS_AMOUNT_CONFIG="pills_amount_config",e.STOCKS_SIP_PENDING_PAYMENT_HANDLING_CONFIG="stocks_sip_pending_payment_handling_config_web",e.STOCKS_SIP_EDIT="stocks_sip_edit_web",e.CNC_ORDER_CARD_QTY_PILLS_WEB="cnc_order_card_qty_pills_web",e.MTF_ORDER_CARD_QTY_PILLS_WEB="mtf_order_card_qty_pills_web",e.MIS_ORDER_CARD_QTY_PILLS_WEB="mis_order_card_qty_pills_web",e.STOCKS_ORDER_CARD_UNMOUNT_ENABLED="stocks_order_card_unmount_enabled",e.STOCKS_CAS_ENABLED="stocks_cas_enabled",e.STOCKS_PAS_CONFIG="stocks_pas_config_web",e.STOCKS_WEB_CAS_INDICATIVE_PRICE="stocks_web_cas_indicative_price",e.STOCKS_WEB_NRI_ENABLED="stocks_web_nri_enabled",e.STOCKS_WEB_USE_PQR_ORDER_TYPE_DEFAULT="stocks_web_use_pqr_order_type_default",e.PNL_REPORT_WEB="stocks_pnl_report_web",e.STOCKS_CORPORATE_ACTIONS_V2_ENABLED="stocks_corporate_actions_v2_enabled",e.STOCKS_MINI_PORTFOLIO_ENABLED="stocks_mini_portfolio_enabled_web",e.STOCKS_MORE_STOCKS_FOR_YOU="stocks_more_stocks_for_you_web",e.STOCKS_MOST_BOUGHT_BY_TURNOVER="stocks_most_bought_by_turnover",e.OFS_CLOSE_TIME_DELTA="ofs_close_time",e.BONDS_PAYOUT_SCHEDULE_ENABLED="bonds_payout_schedule_enabled",e.BONDS_RFQ_PRODUCT_ENABLED="enable_feature_bonds_rfq",e.BONDS_ONBOARDING_POPUP_ENABLED="bonds_onboarding_popup_enabled",e.BONDS_EXCHANGE_PRODUCT_PAGE_ENABLED="bonds_exchange_product_page_enabled",e.BONDS_HOLDING_DETAILS_ENABLED="bonds_holding_details_enabled",e.BONDS_PRELOAD_QTY_ENABLED="payout_slider_preload",e.BONDS_HOLDING_SUMMARY_ENABLED="bond_holding_summary_enabled",e.MTF_ONBOARDING_POPUP_V2_CONFIG="mtf_onboarding_popup_v2_config",e.MTF_SHORTFALL="mtf_shortfall_web",e.POPULAR_STOCKS_MOST_BOUGHT_MTF="stocks_most_bought_in_mtf",e.MTF_SAC_ENABLED="mtf_sac_enabled",e.MTF_PART_OF_HOLDINGS="mtf_change_mgmt_dashboard",e.MTF_POSITION_REVAMP_ENABLED="mtf_position_revamp_web",e.MTF_POSITION_DETAILS_ONE_DAY_RETURNS="mtf_position_details_one_day_returns",e.MTF_BSE_ENABLE="web_mtf_bse_enable",e.MTF_OCO_ENABLED="web_mtf_oco_enabled",e.MTF_MANDATORY_DDPI_OCO="web_mtf_mandatory_ddpi_oco",e.MTF_CANCEL_AND_EXIT_ENABLED="web_mtf_cancel_and_exit_enabled",e.MIS_CANCEL_AND_EXIT_ENABLED="web_mis_cancel_and_exit_enabled",e.INTRADAY_TO_MTF_CONVERSION="web_intraday_to_mtf_conversion",e.MTF_CF_DEBIT_CHECK_ENABLED="mtf_buy_block_on_cf_sell",e.MTF_PNL_REPORT="mtf_pnl_report",e.MTF_PARTIAL_POSITION_CONVERSION_ENABLED="mtf_partial_position_conversion_enabled",e.MTF_PERSONALISED_WIDGET="previously_bought_mtf_stocks_widget",e.ETF_NFO_DEFAULT_ORDER_INPUT="stocks_etf_nfo_default_order_values",e.STOCKS_ETF_NFO_DISCOVERY_ENABLED="stocks_etf_nfo_discovery_enabled",e.ETF_EXPLORE_SECTIONS="etf_explore_sections_web",e.ETF_EXPLORE_RIGHT_SECTIONS="etf_explore_right_sections_web",e.HARD_BLOCK_ON_OPTION_BUY="fno_hard_block_on_option_buy",e.FNO_SOFT_BLOCK_DOC_UPLOAD_DTO="fno_soft_block_doc_upload_dto",e.FNO_OC_POSITION_CLICK_QTY_FILL="fno_oc_position_click_qty_fill",e.FNO_SORT_OPTION_CHAIN="fno_sort_option_chain",e.FNO_SHOW_MARKET_PROTECTED_ORDER="fno_show_market_protected_order",e.FNO_SHOW_OI_BUILDUP="fno_show_oi_buildup",e.FNO_SHOW_ILLIQUIDITY_MARKER="fno_show_illiquidity_marker",e.FNO_TOP_MOVER_SHOW_15M_FILTER="fno_top_mover_show_15m_filter",e.FNO_NEW_MARGIN_API="fno_new_margin_api",e.FNO_ILLIQUID_LIMIT_PRICE_RANGE="fno_illiquid_limit_price_range",e.FNO_COLORED_NAME_CONFIG="fno_colored_name_config",e.FNO_SHOW_PRO_OPTION_CHAIN="fno_show_pro_option_chain",e.FNO_ALLOW_PRE_MARKET_ORDERS="fn
1o_allow_pre_market_orders",e.FNO_OC_SOCKET_ORDER_UPDATE="fno_oc_socket_order_update",e.FNO_CONTRACT_EXPIRY_TAG="fno_contract_expiry_tag",e.FNO_MULTI_PAYOFF="fno_multi_payoff",e.FNO_CLOCK_SYNC_NUDGE="fno_clock_sync_nudge",e.FNO_POSITION_ANALYSIS="fno_position_analysis",e.FNO_SAFE_EXIT_V2="safe_exit_v2",e.FNO_BASKET_CROSS_EXPIRY="fno_basket_cross_expiry",e.FNO_MARKET_STATUS="fno_market_status",e.FNO_MKT_PROTECTION_MODIFY_FLOW="fno_mkt_protection_modify_flow",e.FNO_SHOW_FAST_EXIT="fno_show_fast_exit",e.FNO_SHOW_FAST_EXIT_TERMINAL="fno_show_fast_exit_terminal",e.FNO_OC_PAYOFF="fno_oc_payoff",e.FNO_USE_NEW_API_FOR_BULK_ORDER="fno_use_new_api_for_bulk_order",e.FNO_OCO_V2_ENABLED="fno_oco_v2_enabled",e.FNO_BULK_OCO_ENABLED="fno_bulk_oco_enabled",e.FNO_BRACKET_ORDER_ENABLED="fno_bracket_order_enabled",e.FNO_BACKEND_CANCEL_AND_EXIT="fno_backend_cancel_and_exit",e.FNO_GMV_ENABLED="fno-gmv-enabled",e.FNO_ENABLE_PRICE_TICK_MONITORING="fno_enable_price_tick_monitoring",e.FNO_CHARTING_TOPIC_LAG_MONITORING="fno_charting_topic_lag_monitoring",e.FNO_MARKET_STATUS_V2="market_timings_indicator_v2",e.FNO_NEW_MKT_TIMING_API_ENABLED="fno_new_mkt_timing_api_enabled",e.FNO_ADVANCED_PAYOFF="fno_advanced_payoff",e.FNO_AGGREGATED_OPEN_ORDERS_API="fno_aggregated_open_orders_api",e.FNO_TSL_STEP_CONFIG="fno-tsl-step-config",e.FNO_TRADING_PREFERENCES="fno_trading_preferences_config",e.FNO_LOT_DEFAULT_VALUES="fno_lot_default_values",e.TERMINAL_TRADE_ON_CHARTS_CONFIG="terminal_trade_on_charts_config",e.USE_P1_MARGIN_API_WEB="use_p1_margin_api_web",e.PLEDGE_UNPLEDGE_24x7_AND_CANCEL="unpledge_24_hrs_and_cancel_web",e.CANCEL_UNPLEDGE_BLOCKING_REASON="cancel_unpledge_blocking_reason_web",e.PAYMENT_CONFIG_STALE_CACHE="payment_config_stale_cache_web",e.POOLED_UPI_FLOW_QR_PAYMENT_ENABLED="pooled_upi_flow_qr_payment_enabled_web",e.POOLED_UPI_FLOW_QR_PAYMENT_TERMINAL_ENABLED="pooled_upi_flow_qr_payment_terminal_enabled_web",e.PAYMENT_GB_V2_POPUP_INFO="payment_gb_v2_popup_info",e.PAYMENT_GB_V2_NEGATIIVE_CASH="payment_gb_v2_negative_cash",e.ASBA_GB_BALANCE_CONFIG="asba_gb_balance_config_web",e.IS_ASBA_GB_ENABLED="is_asba_gb_enabled_web",e.WITHDRAW_LIMIT="web_withdraw_amount_limits",e.INR_WALLET_RE_ARCH_ENABLED="inr_wallet_re_arch_enabled",e.MF_PAYMENT_SDK_ENABLED="web-mf-payment-sdk-enabled",e.ETF_NFO_PAYMENT_SDK_ENABLED="etf-nfo-payment-sdk-enabled",e.STOCKS_SIP_AUTO_PAYMENT_SDK_ENABLED="stocks_sip_payment_sdk_enabled",e.FNO_APPROX_REQUIRED_V2="fno_approx_required_v2",e.EQUITY_MARGIN_V2="equity_margin_v2",e.USE_P0_MARGIN_API_WEB="use_p0_margin_api_web",e.IPO_OPEN_TABLE_APPLIED_STATUS_WEB="ipo_open_table_applied_status_web",e.US_STOCKS_V2_OC_CHARGES="us_stocks_v2_oc_charges",e.US_STOCKS_V2_ENABLED="us-stocks-v2-enabled",e.US_STOCKS_V2_PAYMENT_AMOUNT_LIMITS="us_stocks_v2_payment_amount_limits",e}({})},145658:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});let n={onboardingStatus:"",fnoOnboardingStatus:"",onboardingLoading:!1,onboardingError:null}},150126:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={gb:{mtfMarginContent:{usedForMtf:"Used for MTF",changeInHaircut:"Uncollected haircut for MTF",mtfUnrealizedLoss:"Unrealised MTF loss",mtfUnrealizedProfit:"Unrealized MTF loss recovered",netMtfIntradayPnl:"MTF Intraday Loss"},stockEquityOnHold:{text:"Delivery sell balance blocked",popupHeader:"Why is my sell amount blocked ?",popupText:"As per regulations, 20% of the demat sell amount will be released tonight & the rest 80% will be released in 30 mins except for BTST & pledge sell."},toBeCredited:{BLOCK_TEXT_80:{PRIMARY_TEXT:"80% block for delivery sell",SECONDARY_TEXT:"Available in 30 mins after transaction"},BLOCK_TEXT_20:{PRIMARY_TEXT:"20% block for delivery sell",SECONDARY_TEXT:"Available by end of the day"},BLOCK_TEXT_MTF:{PRIMARY_TEXT:"To be received from MTF",SECONDARY_TEXT:"Available by end of the day"},PLEDGE_BT_ST:{PRIMARY_TEXT:"Pledge or BTST sell",SECONDARY_TEXT:"Available by end of the day"},POPOVER_CONTENT:{PRIMARY_TEXT:"BTST or Buy Today Sell Tomorrow is when you sell any stock you have bought on the previous trading/settlement day."}}},stocks:{cncPercentage:.0022,asbaCncPercentage:.013,misPercentage:.0013,mtfPercentage:.002,amoMarketProtection:.045,amoLimitProtection:.02,prefferedExchange:"NSE",cancelAndExitScreenTimeout:2e3,isExchangeToggleDisabled:!1,isSquareOffModeDisabled:!1,isFnoSquareOffModeDisabled:!1,isExpiryDaySquareOffModeDisabled:!1,exitAllOrderValidity:"DAY",multiOrderRequestMaxOrdersLimit:20,fnoNrmlPositionDropdownStoplossOption:"GTT_OCO_ORDER",showFnoRiskCompl
1iancePopup:!0,shouldBlockOcoWithoutPosition:!0,defaultFnoProduct:"NRML",safeExitMarkupPercentage:2,safeExitMinLossLimit:100,showPrevSafeExitValOnLaunch:!1,lppCheckHardBlocker:!1,cashMaxSingleOrderAmountInRupees:2e7,allowSocketOrderUpdates:!0,isPreOpenAllowed:!0,bseFnoOrderFeaturesStatus:{isBseFnoGttEnabled:!0,isBseFnoOcoEnabled:!0,isBseFnoIcebergEnabled:!0,isBseFnoIntradayEnabled:!0},stockMarketOrderProtection:{isNseEnabled:!1,isBseEnabled:!0,nseStoplossPercentage:4.5,bseStoplossPercentage:4.5,regularAmoOrderPercentage:4.5},defaultFnoValues:{BANKNIFTY:{lotSize:15,freezeQty:900},NIFTY:{lotSize:25,freezeQty:1800},FINNIFTY:{lotSize:40,freezeQty:1800},1:{lotSize:10,freezeQty:1e3},14:{lotSize:15,freezeQty:900},NIFTYMIDSELECT:{lotSize:75,freezeQty:2775},DEFAULT:{lotSize:1,freezeQty:2e4}},basketOrder:{BANKNIFTY:{isAllowed:!0,allowedRangePercentage:100},NIFTY:{isAllowed:!0,allowedRangePercentage:100},FINNIFTY:{isAllowed:!0,allowedRangePercentage:100},NIFTYMIDSELECT:{isAllowed:!0,allowedRangePercentage:100},1:{isAllowed:!0,allowedRangePercentage:100},14:{isAllowed:!0,allowedRangePercentage:100},STOCKS:{isAllowed:!0,allowedRangePercentage:100}},marketOptionBuy:{minIndexOI:-1,minIndexVolume:-1,indexStrikeRange:.1,minStockOI:-1,minStockVolume:-1,stockStrikeRange:.2},amoDefaultOrderType:"Limit",gttTriggerPriceBuffers:{BUFFER_LIMIT_FACTOR:.0025,BUFFER_LIMIT_VAL:.2},gttFnoTriggerPriceBuffers:{BUFFER_LIMIT_FACTOR:.0025,BUFFER_LIMIT_VAL:.2},gttOcoFnoTriggerPriceBuffers:{BUFFER_LIMIT_FACTOR:.0025,BUFFER_LIMIT_VAL:.25},pledge:{timings:{start:"07:00:00",close:"19:00:00"},validation:{pledge:"Apply between 7AM to 7PM on working days",unpledge:"Apply during market hours"}},ipo:{order:{upiRejectedErrorText:"UPI ID looks wrong, please check",toUseVpaListApi:!0,toUseValidationVpaApi:!0},noCancellationSymbols:["RIIT","ANANTAM","CITIUSINVT","BAGMANE","CUBEINVIT"]}
1,mtf:{isMtfEnabled:!0,reVerify:{reVerifyStartTime:15,reVerifyEndTime:20,text:"Change in quantity. Verify by 08:00 PM today to avoid auto square-off."},activationPopup:{videoUrl:{English:"https://www.youtube.com/embed/WSkmKa2dJsI",Hindi:"https://www.youtube.com/embed/i01BxmGVtdE"},content:"MTF allows you to buy stocks with partial funding from Groww, with a daily interest charged on the funded amount",tncUrl:"https://groww.in/terms-and-conditions"}},t2tMessage:"This stock will be available to sell after delivery",t2tMessageInfo:"This stock has been listed as a trade-to-trade stock by the exchange. It will be available to sell after demat delivery i.e. 1 trading day after purchase.",t2tMessageHeader:"Trade-to-trade stock",underLockIn:"Lockin due to settlement holiday"},usStocks:{promotions:{showICICIBankOffer:!1},tcs:{saveTcs:!0,showExploreTcsbanner:!0}},mf:{nomineeDobComplianceEnabled:!1,nfo:{available:!0,exclusive:{blogLink:"https://groww.in/p/exclusive-funds",funds:[{fundName:"Motilal Oswal Asset Allocation Passive FOF - Aggressive",pros:["Indian Equity","International Equity","Debt","Gold"],appLink:"https://groww.in/nfo/motilal-oswal-asset-allocation-passive-fund-of-fund-aggressive",searchId:"motilal-oswal-asset-allocation-passive-fund-of-fund-aggressive",closeOn:"05 March 2021"},{fundName:"Motilal Oswal Asset Allocation Passive FOF - Conservative",pros:["Indian Equity","International Equity","Debt","Gold"],appLink:"https://groww.in/nfo/motilal-oswal-asset-allocation-passive-fund-of-fund-conservative",searchId:"motilal-oswal-asset-allocation-passive-fund-of-fund-conservative",closeOn:"05 March 2021"}]}},track:{CAMS_URL:"https://www.camsonline.com/Investors/Statements/Consolidated-Account-Statement"},sip:{editSipFeaturesEnabled:!0,sipNavDeductionInfoEnabled:!1},stpErrorValidationEnabled:!0,isSmartSaveEnabled:!0,isNomineeFlowEnabled:!0,mfBlockKycPendingOrders:!0,mfAllowedKraStatusMap:["MODIFICATION_UNDER_PROCESS","MODIFICATION_REGISTERED","MODIFICATION_ON_HOLD","MODIFICATION_REJECTED","NOT_INITIATED","REGISTERED","VALIDATED"],mfOrderStatusMap:{INITIATED_WITH_USER_ACTION:{statusText:"Action pending",iconColorClass:"contentWarning",icon:"clock-time-four"},INITIATED_WITH_NO_USER_ACTION:{statusText:"Initiated",iconColorClass:"contentPositive",icon:"clock-time-four"},IN_PROGRESS:{statusText:"In progress",iconColorClass:"contentPositive",icon:"clock-time-four"},FAILED:{statusText:"Failed",iconColorClass:"contentNegative",icon:"alert-circle"},REJECTED:{statusText:"Rejected",iconColorClass:"contentNegative",icon:"alert-circle"},COMPLETED:{statusText:"Completed",iconColorClass:"contentPositive",icon:"check-circle"}}},gold:{isBuyActionBlocked:!0,isSellActionBlocked:!1,buyBlockedErrorMsg:"Investment in digital gold has been stopped for now",sellBlockedErrorMsg:"",minWithdrawAmount:10},growth:{iifLandingPage:{eventAgendas:{stage1:[],stage2:[],stage3:[]},tagStyles:{},speakers:[{name:"Sankaran Naren",company:"CIO, ICICI Prudential AMC",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Sankaran_Naren.png"},{name:"Raamdeo Agrawal",company:"Co-Founder & Chairman, Motilal Oswal Financial Services",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Raamdeo_Agrawal.png"},{name:"Rajeev Thakkar",company:"CIO & Director, PPFAS Asset Management",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Rajeev_Thakkar.png"},{name:"Vikas Khemani",company:"Founder, Carnelian Asset Management & Advisors",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Vikas_Khemani.png"},{name:"Sunil Singhania",company:"Founder & Asset Manager, Abakkus",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Sunil_Singhania.png"},{name:"Neelkanth Mishra",company:"Chief Economist, Axis Bank",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Neelkanth_Mishra.png"},{name:"Madhusudan Kela",company:"Founder & MD, MK Ventures",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Madhusudan_Kela.png"},{name:"Pankaj Tibrewal",company:"Founder, CIO & Asset Manager, IKIGAI",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Pankaj_Tibrewal.png"},{name:"Aadit Palicha",company:"Co-Founder & CEO, Zepto",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Aadit_Palicha.png"},{name:"Kunal Shah",company:"Founder, CRED",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Kunal_Shah.png"},{name:"Sajjid Z. Chinoy",company:"Managing Director & Chief India Economist, J.P. Morgan",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Sajjid_Z_Chinoy.png"},{name:"Nilesh Shah",company:"Managing Director, Kotak Mahindra Asset Management Company",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Nilesh_Shah.png"},{name:"Kalpen Parekh",company:"Managing Director & CEO, DSP Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Kalpen_Parekh.png"},{name:"Navneet Munot",company:"MD & CEO, HDFC Asset Management Company",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Navneet_Mu
1not.png"},{name:"Ramesh Damani",company:"Managing Director, Ramesh S Damani Finance Pvt. Ltd.",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Ramesh_Damani.png"},{name:"Ronnie Screwvala",company:"Co-Founder, upGrad",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Ronnie_Screwvala.png"},{name:"Ajay Tyagi",company:"Head of Equities, UTI Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Ajay_Tyagi.png"},{name:"Anupam Tiwari",company:"Head of Equities, Groww Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Anupam_Tiwari.png"},{name:"Venugopal Manghat",company:"CIO Equities, HSBC Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Venugopal_Manghat.png"},{name:"Radhika Gupta",company:"MD & CEO, Edelweiss Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/Radhika_Gupta.png"},{name:"B. Gopkumar",company:"Managing Director & CEO, Axis Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/B_Gopkumar.png"},{name:"A. Balasubramanian",company:"Managing Director & Chief Executive Officer, Aditya Birla Sun Life Mutual Fund",imageSrc:"https://resources.groww.in/web-assets/img/growth/iif/A_Balasubramanian.png"}]},commodities360Masterclass:r(881924).h,showMuhuratFeature:!1,muhuratCards:[{msg:"Get ready for Muhurat trading",subMsg:"The 1-hour trading window opens on 12 Nov, 6:15 PM. Orders placed now will be executed on 12 Nov, 6:15 PM.",showTimer:!1,image:"preDiwali",openCardTimeISO:16996107e5,closeCardTimeISO:16997067e5},{msg:" Muhurat trading: Countdown begins",subMsg:"Trading starts in",showTimer:!0,image:"preDiwali",openCardTimeISO:16997067e5,closeCardTimeISO:16997931e5},{msg:"Muhurat trading: Now live",subMsg:"Make the most of this auspicious hour. Trading closes in",showTimer:!0,image:"duringDiwali",openCardTimeISO:16997931e5,closeCardTimeISO:16997967e5},{msg:"Wishing you a delightful Diwali!",subMsg:"May the excitement of Muhurat trading hour set the tone for a prosperous evening ahead.",showTimer:!1,image:"postDiwali",openCardTimeISO:16997967e5,closeCardTimeISO:16998129e5}]},investorRelation:{homePageDesktopHeading:"Groww files RHP<br/>for IPO",homePageMsiteHeading:"Groww files RHP for IPO"},hns:{hnsSearchLoginCheck:!1,messageBoardCheck:!1},logo:{isLogoFromRemote:!0,LOGO_URL_DARK_MODE:"https://resources.groww.in/web-assets/img/website-logo/groww-logo-dark-logged-out.webp",LOGO_URL_LIGHT_MODE:"https://resources.groww.in/web-assets/img/website-logo/groww_logo.webp"},terminal:{isLogoFromRemote:!0,LOGO_URL_LIGHT_MODE:"https://resources.groww.in/web-assets/img/website-logo/groww_terminal_light.svg",LOGO_URL_DARK_MODE:"https://resources.groww.in/web-assets/img/website-logo/groww_terminal_dark.svg"},loggedInLogo:{isLogoFromRemote:!0,LOGO_URL_DARK_MODE:"https://resources.groww.in/web-assets/img/website-logo/groww-logo-270.webp",LOGO_URL_LIGHT_MODE:"https://resources.groww.in/web-assets/img/website-logo/groww-logo-270.webp"},externalLinks:{AADHAAR_PAN_LINK_URL:"https://eportal.incometax.gov.in/iec/foservices/#/pre-login/bl-link-aadhaar",AADHAAR_PAN_BLOG_URL:"https://www.youtube.com/watch?v=oQ_lqyyu-8Y"},onboarding:{nomineePendingRequestConfig:{header:"Nominee update",title:"Request Submitted",message:"Your nominee declaration request has been submitted. It takes up to 2 working days to get updated by the exchanges and CDSL.",ctaText:"OKAY",ctaActionUrl:"/"}},nbtOnboarding:{kraVerificationData:{title:"Contact verification pending",updateBtnLink:"https://groww.in/user/profile/basic-details",verifyBtnLinks:{cvl:"https://groww.in/kra/verify/cvl",CVLKRA:"https://groww.in/kra/verify/cvl",cams:"https://camskra.com/PanDetailsUpdate.aspx",CAMS:"https://camskra.com/PanDetailsUpdate.aspx",ndml:"https://kra.ndml.in/ClientInitiatedKYC-webApp",NDML:"https://kra.ndml.in/ClientInitiatedKYC-webApp",karvy:"https://www.karvykra.com/KYC_Validation/Default.aspx",KARVY:"https://www.karvykra.com/KYC_Validation/Default.aspx",dotex:"https://www.nsekra.com/",DOTEX:"https://www.nsekra.com/"},descriptionText:{email:"Verify your email id below if it is correct. If it is incorrect, update your email id.",mob:"Verify your mobile number below if it is correct. If it is incorrect, update your mobile number.",both:"Verify your contact details if the details below are correct. If it is incorrect, update your contact details."}}},platform:{appLens:{enableAppLensHttpMetrics:!0,enableAppLensNavigationInstrumentation:!0,enableAppLensTransactionInstrumentation:!0}}}},154899:(e,t,r)=>{var n=r(91434).hp,i=r(985735);!function(){var t={992:function(e){e.exports=function(e,r,n){if(e.filter)return e.filter(r,n);if(null==e||"function"!=typeof r)throw TypeError();for(var i=[],a=0;a<e.length;a++)if(t.call(e,a)){var o=e[a];r.call(n,o,a,e)&&i.push(o)}return i};var t=Object.prototype.hasOwnProperty},256:function(e,t,r){"use strict";var n=r(192),i=r(139),a=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?i(r):r}},139:function(e,t,r){"use strict";var n=r(212),i=r(192),a=i("%Function.prototype.apply%"),o=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||n.call(o,a),l=i("%Object.getOwnPropertyDescriptor%",!0),c=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(c)try{c({},"a",{value:1})}catch(e){c=null}e.exports=function(e){var t=s(n,o,arguments);return l&&c&&l(t,"length").configurable&&c(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var d=function(){return s(n,a,arguments)};c?c(e.exports,"apply",{value:d}):e.exports.apply=d},181:function(e){"use strict";e.exports=EvalError},545:function(e){"use strict";e.exports=Error},22:function(e){"use strict";e.exports=RangeError},803:function(e){"use strict";e.exports=ReferenceError},182:function(e){"use strict";e.exports=SyntaxError},202:function(e){"use strict";e.exports=TypeError},284:function(e){"use strict";e.exports=URIError},144:function(e){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,n,i){if("[object Function]"!==r.call(n))throw TypeError("iterator must be a function");var a=e.length;if(a===+a)for(var o=0;o<a;o++)n.call(i,e[o],o,e);else for(var s in e)t.call(e,s)&&n.call(i,e[s],s,e)}},136:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},a=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var o,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);
1for(var l=i(arguments,1),c=r(0,s.length-l.length),u=[],d=0;d<c;d++)u[d]="$"+d;if(o=Function("binder","return function ("+a(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var f=function(){};f.prototype=s.prototype,o.prototype=new f,f.prototype=null}return o}},212:function(e,t,r){"use strict";var n=r(136);e.exports=Function.prototype.bind||n},192:function(e,t,r){"use strict";var n,i=r(545),a=r(181),o=r(22),s=r(803),l=r(182),c=r(202),u=r(284),d=Function,f=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(e){}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(e){h=null}var p=function(){throw new c},E=h?function(){try{return arguments.callee,p}catch(e){try{return h(arguments,"callee").get}catch(e){return p}}}():p,_=r(115)(),g=r(14)(),S=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),m={},A="undefined"!=typeof Uint8Array&&S?S(Uint8Array):n,v={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":_&&S?S([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":m,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":_&&S?S(S([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&_&&S?S((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&_&&S?S((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&S?S(""[Symbol.iterator]()):n,"%Symbol%":_?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":E,"%TypedArray%":A,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(S)try{null.error}catch(e){var b=S(S(e));v["%Error.prototype%"]=b}var T=function e(t){var r;if("%AsyncFunction%"===t)r=f("async function () {}");else if("%GeneratorFunction%"===t)r=f("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=f("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&S&&(r=S(i.prototype))}return v[t]=r,r},y={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},O=r(212),w=r(270),C=O.call(Function.call,Array.prototype.concat),I=O.call(Function.apply,Array.prototype.splice),R=O.call(Function.call,String.prototype.replace),N=O.call(Function.call,String.prototype.slice),D=O.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,k=function(e){var t=N(e,0,1),r=N(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return R(e,P,function(e,t,r,i){n[n.length]=r?R(i,L,"$1"):t||e}),n},M=function(e,t){var r,n=e;
1if(w(y,n)&&(n="%"+(r=y[n])[0]+"%"),w(v,n)){var i=v[n];if(i===m&&(i=T(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=k(e),n=r.length>0?r[0]:"",i=M("%"+n+"%",t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(n=u[0],I(r,C([0,1],u)));for(var d=1,f=!0;d<r.length;d+=1){var p=r[d],E=N(p,0,1),_=N(p,-1);if(('"'===E||"'"===E||"`"===E||'"'===_||"'"===_||"`"===_)&&E!==_)throw new l("property names with quotes must have matching quotes");if("constructor"!==p&&f||(s=!0),n+="."+p,w(v,a="%"+n+"%"))o=v[a];else if(null!=o){if(!(p in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(h&&d+1>=r.length){var g=h(o,p);o=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:o[p]}else f=w(o,p),o=o[p];f&&!s&&(v[a]=o)}}return o}},14:function(e){"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof r)}},942:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(773);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},773:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},115:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(832);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},832:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},270:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=r(212).call(n,i)},782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},157:function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Object.prototype.toString,n=function(e){return(!t||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r.call(e)},i=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r.call(e)&&"[object Function]"===r.call(e.callee)},a=function(){return n(arguments)}();n.isLegacyArguments=i,e.exports=a?n:i},391:function(e){"use strict";var t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,a=Object.getPrototypeOf,o=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}(),s=o?a(o):{};e.exports=function(e){return"function"==typeof e&&(!!n.test(r.call(e))||(i?a(e)===s:"[object GeneratorFunction]"===t.call(e)))}},994:function(e,t,n){"use strict";var i=n(144),a=n(349),o=n(256),s=o("Object.prototype.toString"),l=n(942)()&&"symbol"==typeof Symbol.toStringTag,c=a(),u=o("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return -1},d=o("String.prototype.slice"),f={},h=n(24),p=Object.getPrototypeOf;l&&h&&p&&i(c,function(e){var t=new r.g[e];
1if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=p(t),i=h(n,Symbol.toStringTag);i||(i=h(p(n),Symbol.toStringTag)),f[e]=i.get});var E=function(e){var t=!1;return i(f,function(r,n){if(!t)try{t=r.call(e)===n}catch(e){}}),t};e.exports=function(e){return!!e&&"object"==typeof e&&(l?!!h&&E(e):u(c,d(s(e),8,-1))>-1)}},369:function(e){e.exports=function(e){return e instanceof n}},584:function(e,t,r){"use strict";var n=r(157),i=r(391),a=r(490),o=r(994);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,u=s(Object.prototype.toString),d=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(l)var p=s(BigInt.prototype.valueOf);if(c)var E=s(Symbol.prototype.valueOf);function _(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===u(e)}function S(e){return"[object Set]"===u(e)}function m(e){return"[object WeakMap]"===u(e)}function A(e){return"[object WeakSet]"===u(e)}function v(e){return"[object ArrayBuffer]"===u(e)}function b(e){return"undefined"!=typeof ArrayBuffer&&(v.working?v(e):e instanceof ArrayBuffer)}function T(e){return"[object DataView]"===u(e)}function y(e){return"undefined"!=typeof DataView&&(T.working?T(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=o,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):o(e)||y(e)},t.isUint8Array=function(e){return"Uint8Array"===a(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===a(e)},t.isUint16Array=function(e){return"Uint16Array"===a(e)},t.isUint32Array=function(e){return"Uint32Array"===a(e)},t.isInt8Array=function(e){return"Int8Array"===a(e)},t.isInt16Array=function(e){return"Int16Array"===a(e)},t.isInt32Array=function(e){return"Int32Array"===a(e)},t.isFloat32Array=function(e){return"Float32Array"===a(e)},t.isFloat64Array=function(e){return"Float64Array"===a(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===a(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===a(e)},g.working="undefined"!=typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},S.working="undefined"!=typeof Set&&S(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(S.working?S(e):e instanceof Set)},m.working="undefined"!=typeof WeakMap&&m(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(m.working?m(e):e instanceof WeakMap)},A.working="undefined"!=typeof WeakSet&&A(new WeakSet),t.isWeakSet=function(e){return A(e)},v.working="undefined"!=typeof ArrayBuffer&&v(new ArrayBuffer),t.isArrayBuffer=b,T.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&T(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=y;var O="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function w(e){return"[object SharedArrayBuffer]"===u(e)}function C(e){return void 0!==O&&(void 0===w.working&&(w.working=w(new O)),w.working?w(e):e instanceof O)}function I(e){return _(e,d)}function R(e){return _(e,f)}function N(e){return _(e,h)}function D(e){return l&&_(e,p)}function P(e){return c&&_(e,E)}t.isSharedArrayBuffer=C,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===u(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===u(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===u(e)},t.isGeneratorObject=function(e){return"[object Generator]"===u(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===u(e)},t.isNumberObject=I,t.isStringObject=R,t.isBooleanObject=N,t.isBigIntObject=D,t.isSymbolObject=P,t.isBoxedPrimitive=function(e){return I(e)||R(e)||N(e)||D(e)||P(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(b(e)||C(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},177:function(e,t,r){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},a=/%[sdj%]/g;t.format=function(e){if(!m(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,o=String(e).replace(a,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r<i;s=n[++r])g(s)||!b(s)?o+=" "+s:o+=" "+c(s);return o},t.deprecate=function(e,r){if(void 0!==i&&!0===i.noDeprecation)return e;if(void 0===i)return function(){return t.deprecate(e,r).apply(this,arguments)};var n=!1;
1return function(){if(!n){if(i.throwDeprecation)throw Error(r);i.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}};var o={},s=/^$/;if(i.env.NODE_DEBUG){var l=i.env.NODE_DEBUG;s=RegExp("^"+(l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function c(e,r){var n={seen:[],stylize:d};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),_(r)?n.showHidden=r:r&&t._extend(n,r),A(n.showHidden)&&(n.showHidden=!1),A(n.depth)&&(n.depth=2),A(n.colors)&&(n.colors=!1),A(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),f(n,e,n.depth)}function u(e,t){var r=c.styles[t];return r?"\x1b["+c.colors[r][0]+"m"+e+"\x1b["+c.colors[r][1]+"m":e}function d(e,t){return e}function f(e,r,n){if(e.customInspect&&r&&O(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,a,o,s,l,c,u=r.inspect(n,e);return m(u)||(u=f(e,u,n)),u}var d=function(e,t){if(A(t))return e.stylize("undefined","undefined");if(m(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return S(t)?e.stylize(""+t,"number"):_(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}(e,r);if(d)return d;var b=Object.keys(r),w=(l={},b.forEach(function(e,t){l[e]=!0}),l);if(e.showHidden&&(b=Object.getOwnPropertyNames(r)),y(r)&&(b.indexOf("message")>=0||b.indexOf("description")>=0))return h(r);if(0===b.length){if(O(r)){var C=r.name?": "+r.name:"";return e.stylize("[Function"+C+"]","special")}if(v(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(T(r))return e.stylize(Date.prototype.toString.call(r),"date");if(y(r))return h(r)}var I="",N=!1,D=["{","}"];if(E(r)&&(N=!0,D=["[","]"]),O(r)&&(I=" [Function"+(r.name?": "+r.name:"")+"]"),v(r)&&(I=" "+RegExp.prototype.toString.call(r)),T(r)&&(I=" "+Date.prototype.toUTCString.call(r)),y(r)&&(I=" "+h(r)),0===b.length&&(!N||0==r.length))return D[0]+I+D[1];if(n<0)if(v(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");else return e.stylize("[Object]","special");return e.seen.push(r),c=N?function(e,t,r,n,i){for(var a=[],o=0,s=t.length;o<s;++o)R(t,String(o))?a.push(p(e,t,r,n,String(o),!0)):a.push("");return i.forEach(function(i){i.match(/^\d+$/)||a.push(p(e,t,r,n,i,!0))}),a}(e,r,n,w,b):b.map(function(t){return p(e,r,n,w,t,N)}),e.seen.pop(),i=c,a=I,o=D,s=0,i.reduce(function(e,t){return s++,t.indexOf("\n")>=0&&s++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===a?"":a+"\n ")+" "+i.join(",\n ")+" "+o[1]:o[0]+a+" "+i.join(", ")+" "+o[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,r,n,i,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),R(n,i)||(o="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=g(r)?f(e,l.value,null):f(e,l.value,r-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),A(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function E(e){return Array.isArray(e)}function _(e){return"boolean"==typeof e}function g(e){return null===e}function S(e){return"number"==typeof e}function m(e){return"string"==typeof e}function A(e){return void 0===e}function v(e){return b(e)&&"[object RegExp]"===w(e)}function b(e){return"object"==typeof e&&null!==e}function T(e){return b(e)&&"[object Date]"===w(e)}function y(e){return b(e)&&("[object Error]"===w(e)||e instanceof Error)}function O(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!o[e=e.toUpperCase()])if(s.test(e)){var r=i.pid;o[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else o[e]=function(){};return o[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(584),t.isArray=E,t.isBoolean=_,t.isNull=g,t.isNullOrUndefined=function(e){return null==e}
1,t.isNumber=S,t.isString=m,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=A,t.isRegExp=v,t.types.isRegExp=v,t.isObject=b,t.isDate=T,t.types.isDate=T,t.isError=y,t.types.isNativeError=y,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(369);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function R(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[C((e=new Date).getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":"),[e.getDate(),I[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(782),t._extend=function(e,t){if(!t||!b(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t=e[N];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),N&&Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=N,t.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw TypeError("The last argument must be of type Function");var a=this,o=function(){return n.apply(a,arguments)};e.apply(this,t).then(function(e){i.nextTick(o.bind(null,null,e))},function(e){i.nextTick(D.bind(null,e,o))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,n(e)),t}},490:function(e,t,n){"use strict";var i=n(144),a=n(349),o=n(256),s=o("Object.prototype.toString"),l=n(942)()&&"symbol"==typeof Symbol.toStringTag,c=a(),u=o("String.prototype.slice"),d={},f=n(24),h=Object.getPrototypeOf;l&&f&&h&&i(c,function(e){if("function"==typeof r.g[e]){var t=new r.g[e];if(!(Symbol.toStringTag in t))throw EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var n=h(t),i=f(n,Symbol.toStringTag);i||(i=f(h(n),Symbol.toStringTag)),d[e]=i.get}});var p=function(e){var t=!1;return i(d,function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}}),t},E=n(994);e.exports=function(e){return!!E(e)&&(l?p(e):u(s(e),8,-1))}},349:function(e,t,n){"use strict";var i=n(992);e.exports=function(){return i(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],function(e){return"function"==typeof r.g[e]})}},24:function(e,t,r){"use strict";var n=r(192)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n}},a={};function o(e){var r=a[e];if(void 0!==r)return r.exports;var n=a[e]={exports:{}},i=!0;try{t[e](n,n.exports,o),i=!1}finally{i&&delete a[e]}return n.exports}o.ab="//",e.exports=o(177)}()},155673:(e,t,r)=>{"use strict";r.d(t,{$o:()=>a,B4:()=>f,Ct:()=>p,GI:()=>c,Pk:()=>E,QG:()=>A,Ru:()=>d,TP:()=>_,Vm:()=>b,Xk:()=>O,Z9:()=>T,bv:()=>S,fp:()=>w,ge:()=>s,iS:()=>u,kk:()=>o,m1:()=>C,mk:()=>i,mn:()=>m,pO:()=>h,ql:()=>l,qn:()=>n,sN:()=>g,un:()=>v,vQ:()=>y});let n="GET_US_STOCK_DATA",i="GET_US_MARKET_STATUS",a="GET_US_BANK",o="CLEAR_US_ADDED_BANKS",s="CLEAR_US_STOCK_LIVE_DATA",l="UPDATE_US_LIVE_PRICE",c="GET_SCREENER_DATA",u="SET_SELECTED_STOCK",d="GET_US_ONBD_STATUS",f="GET_US_LIVE_PRICE_DATA_BATCH",h="GET_US_STOCK_SCREENER_FILTERS",p="GET_US_STOCK_SCREENER_DATA",E="SET_SCREENER_FILTER_DATA",_="CLEAR_US_STOCK_SCREENER_DATA",g="US/GET_US_ALL_BANKS",S="US/GET_US_COMPANY_FINANCIALS",m="GET_US_STOCK_HOLDING_DATA",A="GET_SIMILAR_STOCKS_DATA",v="GET_US_BANK_SWIFT_DETAILS",b="GET_USER_US_ONBD_STATUS",T="GET_MY_ORDERS_LIST",y="CLEAR_US_STOCK_DATA",O="GET_SCREENER_DATA_MSITE",w="GET_US_STOCK_SCREENER_DATA_MSITE",C="CLEAR_US_STOCK_SCREENER_DATA_MSITE"},159966:(e,t,r)=>{"use strict";r.d(t,{l1:()=>C,rL:()=>m,GM:()=>w});var n="persist:",i="persist/FLUSH",a="persist/REHYDRATE",o="persist/PAUSE",s="persist/PERSIST",l="persist/PURGE",c="persist/REGISTER";function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e,t,r,n){n.debug;var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?d(r,!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],i in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},r);return e&&"object"===u(e)&&Object.keys(e).forEach(function(n){"_persist"!==n&&t[n]===r[n]&&(i[n]=e[n])}),i}function h(e){return JSON.stringify(e)}function p(e){var t,r=e.transforms||[],i="".concat(void 0!==e.keyPrefix?e.keyPrefix:n).concat(e.key),a=e.storage;return e.debug,t=!1===e.deserialize?function(e){return e}:"function"==typeof e.deserialize?e.deserialize:E,a.getItem(i).then(function(e){if(e)try{var n={},i=t(e);return Object.keys(i).forEach(function(e){n[e]=r.reduceRight(function(t,r){return r.out(t,e,i)},t(i[e]))}),n}catch(e){throw e}})}function E(e){return JSON.parse(e)}function _(e){}function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(r,!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],i in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t){var r=void 0!==e.version?e.version:-1;e.debug;var c=void 0===e.stateReconciler?f:e.stateReconciler,u=e.getStoredState||p,d=void 0!==e.timeout?e.timeout:5e3,E=null,g=!1,m=!0,A=function(e){return e._persist.rehydrated&&E&&!m&&E.update(e),e};return function(f,p){var v,b,T=f||{},y=T._persist,O=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(T,["_persist"]);if(p.type===s){var w=!1,C=function(t,r){w||(p.rehydrate(e.key,t,r),w=!0)};if(d&&setTimeout(function(){w||C(void 0,Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))},d),m=!1,E||(E=function(e){var t,r=e.blacklist||null,i=e.whitelist||null,a=e.transforms||[],o=e.throttle||0,s="".concat(void 0!==e.ke
1yPrefix?e.keyPrefix:n).concat(e.key),l=e.storage;t=!1===e.serialize?function(e){return e}:"function"==typeof e.serialize?e.serialize:h;var c=e.writeFailHandler||null,u={},d={},f=[],p=null,E=null;function _(){if(0===f.length){p&&clearInterval(p),p=null;return}var e=f.shift(),r=a.reduce(function(t,r){return r.in(t,e,u)},u[e]);if(void 0!==r)try{d[e]=t(r)}catch(e){console.error("redux-persist/createPersistoid: error serializing state",e)}else delete d[e];0===f.length&&(Object.keys(d).forEach(function(e){void 0===u[e]&&delete d[e]}),E=l.setItem(s,t(d)).catch(S))}function g(e){return(!i||-1!==i.indexOf(e)||"_persist"===e)&&(!r||-1===r.indexOf(e))}function S(e){c&&c(e)}return{update:function(e){Object.keys(e).forEach(function(t){g(t)&&u[t]!==e[t]&&-1===f.indexOf(t)&&f.push(t)}),Object.keys(u).forEach(function(t){void 0===e[t]&&g(t)&&-1===f.indexOf(t)&&void 0!==u[t]&&f.push(t)}),null===p&&(p=setInterval(_,o)),u=e},flush:function(){for(;0!==f.length;)_();return E||Promise.resolve()}}}(e)),y)return S({},t(O,p),{_persist:y});if("function"!=typeof p.rehydrate||"function"!=typeof p.register)throw Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return p.register(e.key),u(e).then(function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,r).then(function(e){C(e)},function(e){C(void 0,e)})},function(e){C(void 0,e)}),S({},t(O,p),{_persist:{version:r,rehydrated:!1}})}if(p.type===l)return g=!0,p.result((v=e.storage,b="".concat(void 0!==e.ke
1yPrefix?e.keyPrefix:n).concat(e.key),v.removeItem(b,_))),S({},t(O,p),{_persist:y});if(p.type===i)return p.result(E&&E.flush()),S({},t(O,p),{_persist:y});if(p.type===o)m=!0;else if(p.type===a){if(g)return S({},O,{_persist:S({},y,{rehydrated:!0})});if(p.key===e.key){var I=t(O,p),R=p.payload;return A(S({},!1!==c&&void 0!==R?c(R,f,I,e):I,{_persist:S({},y,{rehydrated:!0})}))}}if(!y)return t(f,p);var N=t(O,p);return N===O?f:A(S({},N,{_persist:y}))}}var A=r(659022);function v(e){return function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(r,!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],i in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(r).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var y={registry:[],bootstrapped:!1},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c:return T({},e,{registry:[].concat(v(e.registry),[t.key])});case a:var r=e.registry.indexOf(t.key),n=v(e.registry);return n.splice(r,1),T({},e,{registry:n,bootstrapped:0===n.length});default:return e}};function w(e,t,r){var n=r||!1,u=(0,A.y$)(O,y,t&&t.enhancer?t.enhancer:void 0),d=function(e){u.dispatch({type:c,key:e})},f=function(t,r,i){var o={type:a,payload:r,err:i,key:t};e.dispatch(o),u.dispatch(o),n&&h.getState().bootstrapped&&(n(),n=!1)},h=T({},u,{purge:function(){var t=[];return e.dispatch({type:l,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:i,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:o})},persist:function(){e.dispatch({type:s,register:d,rehydrate:f})}});return t&&t.manualPersist||h.persist(),h}function C(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.whitelist||null,i=r.blacklist||null;function a(e){return!!n&&-1===n.indexOf(e)||!!i&&-1!==i.indexOf(e)}return{in:function(t,r,n){return!a(r)&&e?e(t,r,n):t},out:function(e,r,n){return!a(r)&&t?t(e,r,n):e}}}},160074:(e,t,r)=>{"use strict";let n,i,a,o,s,l,c,u,d,f,h,p,E;var _=r(718043),g=r(779126),S=r(456232);function m(e,t,r=[t],n="npm"){let i=(e._metadata=e._metadata||{}).sdk=e._metadata.sdk||{};i.name||(i.name=`sentry.javascript.${t}`,i.packages=r.map(e=>({name:`${n}:@sentry/${e}`,version:S.M})),i.version=S.M)}var A=r(7501),v=r(730884);let b=[];function T(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function y(e,t,r){if(r[t.name]){v.T&&g.Yz.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,b.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),b.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}["processSpan","processSegmentSpan"].forEach(r=>{let n=t[r];"function"==typeof n&&e.on(r,r=>n.call(t,r,e))}),v.T&&g.Yz.log(`Integration installed: ${t.name}`)}function O(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}var w=r(320900),C=r(122677);let I=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,/can't redefine non-configurable property "solana"/,/vv\(\)\.getRestrictions is not a function/,/Can't find variable: _AutofillCallbackHandler/,/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,/Java exception was raised during method invocation$/,/Java object is gone$/],R=(e={})=>{let t;return{name:"EventFilters",setup(r){t=D(e,r.getOptions())},processEvent:(r,n,i)=>(t||(t=D(e,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&(0,C.Xr)(r,t)}(e,t.ignoreTransactions))return v.T&&g.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. 2Event: ${(0,w.$X)(e)}`),!0}else{var r,n,i;if(r=e,n=t.ignoreErrors,n?.length&&O(r).some(e=>(0,C.Xr)(e,n)))return v.T&&g.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option. 3Event: ${(0,w.$X)(e)}`),!0;if(i=e,i.exception?.values?.length&&!i.message&&!i.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return v.T&&g.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace. 4Event: ${(0,w.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=P(e);return!!r&&(0,C.Xr)(r,t)}(e,t.denyUrls))return v.T&&g.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option. 5Event: ${(0,w.$X)(e)}. 6Url: ${P(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=P(e);return!r||(0,C.Xr)(r,t)}(e,t.allowUrls))return v.T&&g.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option. 7Event: ${(0,w.$X)(e)}. 8Url: ${P(e)}`),!0}return!1}(r,t)?r:null)}},N=(e={})=>({...R(e),name:"InboundFilters"});function D(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:I],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function P(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return v.T&&g.Yz.error(`Cannot extract url for event ${(0,w.$X)(e)}`),null}}var L=r(574830),k=r(533427);let M=new WeakMap,F=()=>({name:"FunctionToString",setupOnce(){let e=Function.prototype.toString;try{Function.prototype.toString=function(...t){let r,n=(0,k.sp)(this);try{M.has((0,L.KU)())&&void 0!==n&&(r=n)}catch{}return e.apply(r??this,t)}}catch{}},setup(e){M.set(e,!0)}});var x=r(80339),U=r(925129);let B=()=>({name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=(0,L.o5)().getScopeData(),r=(0,L.rm)().getScopeData(),n=t.conversationId||r.conversationId;if(n){let{op:t,data:r,description:i}=(0,U.et)(e);if(!t?.startsWith("gen_ai.")&&!r["ai.operationId"]&&!i?.startsWith("ai."))return;e.setAttribute(x.Fy,n)}})}});var H=r(313);let G=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{var r,n;if(r=t,(n=e)&&(function(e,t){let r=e.message,n=t.message;return!!((r||n)&&(!r||n)&&(r||!n)&&r===n&&V(e,t)&&j(e,t))}(r,n)||function(e,t){let r=K(t),n=K(e);return!!(r&&n&&r.type===n.type&&r.value===n.value&&V(e,t)&&j(e,t))}(r,n)))return v.T&&g.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}};function j(e,t){let r=(0,H.RV)(e),n=(0,H.RV)(t);if(!r&&!n)return!0;
8if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function V(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return r.join("")===n.join("")}catch{return!1}}function K(e){return e.exception?.values?.[0]}var W=r(381305),Y=r(738739),q=r(765826),z=r(269618),X=r(625697),$=r(397500),Q=r(985735);function J(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==Q?Q:0))||function(){let e=_.O.process;return e?.type==="renderer"}())}function Z(e,t){var r;let n=t??(r=e,ee().get(r))??[];if(0===n.length)return;let i=e.getOptions(),a=function(e,t,r,n,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(a.dsn=(0,X.SB)(n)),(0,$.h4)(a,[function(e,t){let r=t?"auto":"never";return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...J()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}(e,i)])}(n,i._metadata,i.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);ee().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(a)}function ee(){return(0,z.BY)("clientToLogBufferMap",()=>new WeakMap)}function et(e,t){var r;let n=t??(r=e,er().get(r))??[];if(0===n.length)return;let i=e.getOptions(),a=function(e,t,r,n,i){let a={};return t?.sdk&&(a.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(a.dsn=(0,X.SB)(n)),(0,$.h4)(a,[function(e,t){let r=t?"auto":"never";return[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...J()&&{ingest_settings:{infer_ip:r,infer_user_agent:r}},items:e}]}(e,i)])}(n,i._metadata,i.tunnel,e.getDsn(),e.getDataCollectionOptions().userInfo);er().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(a)}function er(){return(0,z.BY)("clientToMetricBufferMap",()=>new WeakMap)}var en=r(261762),ei=r(248934),ea=r(904002),eo=r(887176),es=r(279600);function el(e){return"object"==typeof e&&"function"==typeof e.unref&&e.unref(),e}let ec=Symbol.for("SentryBufferFullError");function eu(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return(0,es.xg)(ec);let n=r();return t.add(n),n.then(()=>{t.delete(n)},()=>{t.delete(n)}),n},drain:function(e){if(!t.size)return(0,es.XW)(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>el(setTimeout(()=>t(!1),e)))]):r}}}var ed=r(306101),ef=r(365),eh=r(198328),ep=r(483764),eE=r(422695),e_=r(116819),eg=r(474043);let eS=["forwarded","-ip","remote-","via","-user"],em={userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0},databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:5},eA="Not capturing exception because it's already been captured.",ev="Discarded session because of missing or non-string release",eb=Symbol.for("SentryInternalError"),eT=Symbol.for("SentryDoNotSendEventError");function ey(e){return{message:e,[eb]:!0}}function eO(e){return{message:e,[eT]:!0}}function ew(e){return(0,eh.Z4)(e)&&eb in e}function eC(e){return(0,eh.Z4)(e)&&eT in e}function eI(e,t,r,n,i){let a,o=0,s=!1;e.on(r,()=>{o=0,clearTimeout(a),s=!1}),e.on(t,t=>{if((o+=n(t))>=8e5)i(e);else if(!s){let t=e.getOptions()._flushInterval??5e3;t>0&&(s=!0,a=el(setTimeout(()=>{i(e)},t)))}}),e.on("flush",()=>{i(e)})}class eR{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=eu(e.transportOptions?.bufferSize??64),this._dataCollection=function(e){let t=null!=e.dataCollection?em:!0===e.sendDefaultPii?{userInfo:!0,cookies:!0,httpHeaders:{request:!0,response:!0},httpBodies:["incomingRequest","outgoingRequest","incomingResponse","outgoingResponse"],urlQueryParams:!0,graphQL:{document:!0,variables:!0},genAI:{inputs:!0,outputs:!0}
8,databaseQueryData:!0,stackFrameVariables:!0,frameContextLines:7}:{userInfo:!1,cookies:{deny:eS},httpHeaders:{request:{deny:eS},response:{deny:eS}},httpBodies:[],urlQueryParams:{deny:eS},graphQL:{document:!0,variables:!0},genAI:{inputs:!1,outputs:!1},databaseQueryData:!1,stackFrameVariables:!0,frameContextLines:7},r=e.dataCollection??{};return{userInfo:r.userInfo??t.userInfo,cookies:r.cookies??t.cookies,httpHeaders:{request:r.httpHeaders?.request??t.httpHeaders.request,response:r.httpHeaders?.response??t.httpHeaders.response},httpBodies:r.httpBodies??t.httpBodies,urlQueryParams:r.urlQueryParams??r.queryParams??t.urlQueryParams,graphQL:{document:r.graphQL?.document??t.graphQL.document,variables:r.graphQL?.variables??t.graphQL.variables},genAI:{inputs:r.genAI?.inputs??t.genAI.inputs,outputs:r.genAI?.outputs??t.genAI.outputs},databaseQueryData:r.databaseQueryData??t.databaseQueryData,stackFrameVariables:r.stackFrameVariables??t.stackFrameVariables,frameContextLines:r.frameContextLines??t.frameContextLines}}(e),e.dsn?this._dsn=(0,X.AD)(e.dsn):v.T&&g.Yz.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,r){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(e,r)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs??!0,this._options.enableLogs&&eI(this,"afterCaptureLog","flushLogs",ek,Z),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&eI(this,"afterCaptureMetric","flushMetrics",eL,et)}captureException(e,t,r){let n=(0,w.eJ)();if((0,w.GR)(e))return v.T&&g.Yz.log(eA),n;let i={event_id:n,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,r)).then(e=>e),"error"),i.event_id}captureMessage(e,t,r,n){let i={event_id:(0,w.eJ)(),...r},a=(0,eh.NF)(e)?e:String(e),o=(0,eh.sO)(e),s=o?this.eventFromMessage(a,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,n)),o?"unknown":"error"),i.event_id}captureEvent(e,t,r){let n=(0,w.eJ)();if(t?.originalException&&(0,w.GR)(t.originalException))return v.T&&g.Yz.log(eA),n;let i={event_id:n,...t},a=e.sdkProcessingMetadata||{},o=a.capturedSpanScope,s=a.capturedSpanIsolationScope,l=eN(e.type);return this._process(()=>this._captureEvent(e,i,o||r,s),l),i.event_id}captureSession(e){this.sendSession(e),(0,en.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getDataCollectionOptions(){return this._dataCollection}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(this.emit("flush"),!t)return!0;let r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}getIntegrationNames(){return Object.keys(this._integrations)}addIntegration(e){let t=this._integrations[e.name];!t&&e.beforeSetup&&e.beforeSetup(this),y(this,e,this._integrations),t||T(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=function(e,t){if("transaction"!==e.type||!e.spans?.length||!e.sdkProcessingMetadata?.hasGenAiSpans||!1===t.getOptions().streamGenAiSpans||(0,eo.K)(t))return;let r=[],n=[];for(let t of e.spans)t.op?.startsWith("gen_ai.")?r.push(function(e){let t={trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,name:e.description||"",start_timestamp:e.start_timestamp,end_timestamp:e.timestamp||e.start_timestamp,status:e.status&&"ok"!==e.status&&"cancelled"!==e.status?"error":"ok",is_segment:!1,attributes:{...e.data},links:e.links};return(0,U.PL)(t)}(t)):n.push(t);if(0===r.length)return;e.spans=n;let i=t.getDataCollectionOptions().userInfo?"auto":"never";return[{type:"span",item_count:r.length,content_type:"application/vnd.sentry.items.span.v2+json"},{version:2,...J()&&{ingest_settings:{infer_ip:i,infer_user_agent:i}},items:r}]}(e,this),n=(0,q.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])n=(0,$.W3)(n,(0,$.bm)(e));r&&(n=(0,$.W3)(n,r)),this.sendEnvelope(n).then(t=>
8this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=Y.U}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){v.T&&g.Yz.warn(ev);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){v.T&&g.Yz.warn(ev);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let n=(0,q.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;v.T&&g.Yz.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return v.T&&g.Yz.error("Error while sending envelope:",e),{}}return v.T&&g.Yz.error("Transport disabled"),{}}registerCleanup(e){}dispose(){}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t?.beforeSetup&&t.beforeSetup(e)}),t.forEach(t=>{t&&y(e,t,r)}),r}(this,e),T(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,i=t.exception?.values;if(i){for(let e of(n=!0,r=!1,i))if(e.mechanism?.handled===!1){r=!0;break}}let a="ok"===e.status;(a&&0===e.errors||a&&r)&&((0,en.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){let i=this.getOptions(),a=this.getIntegrationNames();return!t.integrations&&a.length&&(t.integrations=a),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,e_.mG)(i,e,t,r,this,n).then(e=>
8(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:{...e.contexts?.trace,...(0,L.vn)(r)},...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,ei.ao)(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r=(0,L.o5)(),n=(0,L.rm)()){return v.T&&eD(e)&&g.Yz.log(`Captured error event \`${O(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{v.T&&(eC(e)?g.Yz.log(e.message):ew(e)?g.Yz.warn(e.message):g.Yz.warn(e))})}_processEvent(e,t,r,n){let i=this.getOptions(),{sampleRate:a}=i,o=eP(e),s=eD(e),l=e.type||"error",c=`before send for type \`${l}\``,u=void 0===a?void 0:(0,eE.i)(a),d=eN(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),eO("An event processor returned `null`, will not send event.");return t.data?.__sentry__===!0?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,eh.Qg)(e))return e.then(e=>{if(!(0,eh.Qd)(e)&&null!==e)throw ey(r);return e},e=>{throw ey(`${t} rejected with ${e}`)});if(!(0,eh.Qd)(e)&&null!==e)throw ey(r);return e}(function(e,t,r,n){let{beforeSend:i,beforeSendTransaction:a,ignoreSpans:o}=t,s=!(0,ea.S)(t.beforeSendSpan)&&t.beforeSendSpan,l=r;if(eD(l)&&i)return i(l,n);if(eP(l)){if(s||o){let t=function(e){let{trace_id:t,parent_span_id:r,span_id:n,status:i,origin:a,data:o,op:s}=e.contexts?.trace??{};return{data:o??{},description:e.transaction,op:s,parent_span_id:r,span_id:n??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:a,profile_id:o?.[x.E1],exclusive_time:o?.[x.jG],measurements:e.measurements,is_segment:!0}}(l);if(o?.length&&(0,eg.e)({description:t.description,op:t.op,attributes:t.data},o))return null;if(s){let e=s(t);if(e)l=(0,ep.h)(r,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[x.E1]:e.profile_id},...e.exclusive_time&&{[x.jG]:e.exclusive_time}}}},measurements:e.measurements});else(0,U.xl)()}if(l.spans){let t=[],r=l.spans;for(let e of r){if(o?.length&&(0,eg.e)({description:e.description,op:e.op,attributes:e.data},o)){(0,eg.R)(r,e);continue}if(s){let r=s(e);r?t.push(r):((0,U.xl)(),t.push(e))}else t.push(e)}let n=l.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),l.spans=t}}if(a){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return a(l,n)}}return l}(this,i,e,t),c)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",d),o){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw eO(`${c} returned \`null\`, will not send event.`)}let l=r.getSession()||n.getSession();if(s&&l&&this._updateSessionFromEvent(l,i),s&&"number"==typeof u&&(0,ed.hY)()>u)throw this.recordDroppedEvent("sample_rate","error"),eO(`Discarding event because it's not included in the random sample (sampling rate = ${a})`);if(o){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let f=i.transaction_info;return o&&f&&i.transaction!==e.transaction&&(i.transaction_info={...f,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(eC(e)||ew(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),ey(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. 9Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===ec&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){v.T&&g.Yz.log("Flushing outcomes...");let e=this._clearOutcomes();if(0===e.length){v.T&&g.Yz.log("No outcomes to send");return}if(!this._dsn){v.T&&g.Yz.log("No dsn provided, will not send outcomes");return}v.T&&g.Yz.log("Sending outcomes:",e);let t=function(e,t,r){let n=[{type:"client_report"},{timestamp:(0,ef.lu)(),discarded_events:e}];return(0,$.h4)(t?{dsn:t}:{},[n])}(e,this._options.tunnel&&(0,X.SB)(this._dsn));this.sendEnvelope(t)}}function eN(e){return"replay_event"===e?"replay":e||"error"}function eD(e){return void 0===e.type}function eP(e){return"transaction"===e.type}function eL(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+eM(e.attributes)}function ek(e){let t=0;return e.message&&(t+=2*e.message.length),t+eM(e.attributes)}function eM(e){if(!e)return 0;let t=0;
9return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*eF(e[0]):(0,eh.sO)(e)?t+=eF(e):t+=100}),t}function eF(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function ex(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function eU(e){return(0,eh.bJ)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function eB(e,t){let r=eG(e,t),n={type:function(e){let t=e?.name;return!t&&eV(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return eV(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?eU(t.error):eU(e):"No error message"}(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function eH(e,t){return{exception:{values:[eB(e,t)]}}}function eG(e,t){var r,n;let i=t.stacktrace||t.stack||"",a=(r=t)&&ej.test(r.message)?1:0,o="number"==typeof(n=t).framesToPop?n.framesToPop:0;try{return e(i,a,o)}catch{}return[]}let ej=/Minified React error #\d+;/i;function eV(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function eK(e,t,r,n,i){let a;if((0,eh.T2)(t)&&t.error)return eH(e,t.error);if((0,eh.BD)(t)||(0,eh.W6)(t)){if("stack"in t){a=eH(e,t);let i=a.exception?.values?.[0];if(n&&r&&i&&!i.stacktrace){let t=eG(e,r);t.length&&(i.stacktrace={frames:t},(0,w.M6)(a,{synthetic:!0}))}}else{let i=t.name||((0,eh.BD)(t)?"DOMError":"DOMException"),o=t.message?`${i}: ${t.message}`:i;a=eW(e,o,r,n),(0,w.gO)(a,o)}return"code"in t&&(a.tags={...a.tags,"DOMException.code":`${t.code}`}),a}return(0,eh.bJ)(t)?eH(e,t):((0,eh.Qd)(t)||(0,eh.xH)(t)?a=function(e,t,r,n){let i=(0,L.KU)(),a=i?.getOptions().normalizeDepth,o=Object.values(t).find(eh.bJ),s={__serialized__:(0,W.cd)(t,a)};if(o)return{exception:{values:[eB(e,o)]},extra:s};let l={exception:{values:[{type:(0,eh.xH)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,k.HF)(e),n=t?"promise rejection":"exception";if((0,eh.T2)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,eh.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=eG(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,i):(a=eW(e,t,r,n),(0,w.gO)(a,`${t}`,void 0)),(0,w.M6)(a,{synthetic:!0}),a)}function eW(e,t,r,n){let i={};if(n&&r){let n=eG(e,r);n.length&&(i.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,w.M6)(i,{synthetic:!0})}if((0,eh.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return i.logentry={message:e,params:r},i}return i.message=t,i}let eY=_.O;function eq(){try{return eY.document.location.href}catch{return""}}function ez(e,t=5){if(!eY.HTMLElement)return null;let r=e;for(let e=0;e<t&&r;e++){if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}let eX=_.O,e$=0;function eQ(e,t={}){if("function"!=typeof e)return e;try{if(Object.prototype.hasOwnProperty.call(e,"__sentry_wrapped__")){let t=e.__sentry_wrapped__;if("function"==typeof t)return t;return e}if((0,k.sp)(e))return e}catch{return e}let r=function(...r){_.O._sentryWrappedDepth=(_.O._sentryWrappedDepth||0)+1;try{let n=r.map(e=>eQ(e,t));return e.apply(this,n)}catch(e){throw e$++,setTimeout(()=>{e$--}),(0,L.v4)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,w.gO)(e,void 0,void 0),(0,w.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,A.Cp)(e)}),e}finally{_.O._sentryWrappedDepth=(_.O._sentryWrappedDepth||0)-1}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,k.pO)(r,e),(0,k.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function eJ(){let e=eq(),{referrer:t}=eX.document||{},{userAgent:r}=eX.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}class eZ extends eR{constructor(e){var t;let r=(t=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:eX.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t});m(r,"browser",["browser"],eX.SENTRY_SDK_SOURCE||"npm"),super(r);let{userInfo:n}=this.getDataCollectionOptions();r._metadata?.sdk&&(r._metadata.sdk.settings={infer_ip:n?"auto":"never",...r._metadata.sdk.settings});let{sendClientReports:i}=this._options;eX.document&&eX.document.addEventListener("visibilitychange",()=>{"hidden"===eX.document.visibilityState&&(i&&this._flushOutcomes(),queueMicrotask(()=>{this.flush()}))}),n&&this.on("beforeSendSession",ex)}eventFromException(e,t){return function(e,t,r,n){let i=eK(e,t,r?.syntheticException||void 0,n);return(0,w.M6)(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),(0,es.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return function(e,t,r="info",n,i){let a=eW(e,t,n?.syntheticException||void 0,i);return a.level=r,n?.event_id&&(a.event_id=n.event_id),(0,es.XW)(a)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}let e0={},e1={};function e2(e,t){return e0[e]=e0[e]||[],e0[e].push(t),()=>{let r=e0[e];if(r){let e=r.indexOf(t);-1!==e&&r.splice(e,1)}}}function e5(e,t){if(!e1[e]){e1[e]=!0;try{t()}catch(t){v.T&&g.Yz.error(`Error while instrumenting ${e}`,t)}}}function e3(e,t){let r=e&&e0[e];if(r)for(let n of r)try{n(t)}catch(t){v.T&&g.Yz.error(`Error while triggering instrumentation handler. 10Type: ${e} 11Name: ${(0,H.qQ)(n)} 12Error:`,t)}}let e4=new Set([]),e6=new Set;
12function e7(){"console"in _.O&&g.Ow.forEach(function(e){!e6.has(e)&&e in _.O.console&&(e6.add(e),(0,k.GS)(_.O.console,e,function(t){return g.Z9[e]=t,function(...t){let r=t[0],n=g.Z9[e],i=e4.size&&"string"==typeof r&&(0,C.Xr)(r,e4);i||e3("console",{args:t,level:e}),(!i||v.T&&g.Yz.isEnabled())&&n?.apply(_.O.console,t)}}))})}let e8=_.O;function e9(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function te(e,t){let r="fetch",n=e2(r,e);return e5(r,()=>tt(void 0,t)),n}function tt(e,t=!1){(!t||function(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in e8))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(e9(e8.fetch))return!0;let e=!1,t=e8.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=e9(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){v.T&&g.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}())&&(0,k.GS)(_.O,"fetch",function(t){return function(...r){let n=Error(),{method:i,url:a}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:ta(t),method:ti(r,"method")?String(r.method).toUpperCase():(0,eh.ks)(t)&&ti(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:ta(t),method:ti(t,"method")?String(t.method).toUpperCase():"GET"}}(r),o={args:r,fetchData:{method:i,url:a},startTimestamp:1e3*(0,ef.zf)(),virtualError:n,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,eh.ks)(t))return new Headers(t.headers)}catch{}}(r)};return e||e3("fetch",{...o}),t.apply(_.O,r).then(async t=>(e?e(t):e3("fetch",{...o,endTimestamp:1e3*(0,ef.zf)(),response:t}),t),e=>{e3("fetch",{...o,endTimestamp:1e3*(0,ef.zf)(),error:e}),(0,eh.bJ)(e)&&void 0===e.stack&&(e.stack=n.stack,(0,k.my)(e,"framesToPop",1));let t=(0,L.KU)(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&(0,eh.bJ)(e)&&"TypeError"===e.name&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(o.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:(0,k.my)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function tr(e,t){if(e?.body){let r=e.body,n=r.getReader(),i=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),a=!0;for(;a;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:i}=await n.read();clearTimeout(e),i&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(e)}}clearTimeout(i),n.releaseLock(),r.cancel().then(null,()=>{})}}function tn(e){let t;try{t=e.clone()}catch{return}tr(t,()=>{e3("fetch-body-resolved",{endTimestamp:1e3*(0,ef.zf)(),response:e})})}function ti(e,t){return(0,eh.Z4)(e)&&!!e[t]}function ta(e){return"string"==typeof e?e:e?ti(e,"url")?e.url:e.toString?e.toString():"":""}function to(e,t){let r=(0,L.KU)(),n=(0,L.rm)();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=100}=r.getOptions();if(a<=0)return;let o={timestamp:(0,ef.lu)(),...e},s=i?(0,g.pq)(()=>i(o,t)):o;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,a))}function ts(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function tl(e){return"isRelative"in e}function tc(e,t){let r=0>=e.indexOf("://")&&0!==e.indexOf("//"),n=t??(r?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function tu(e){if(tl(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}function td(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function tf(e){return e.split(/[?#]/,1)[0]}function th(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),n=r?r[1]:"text/plain",i=e.includes(";base64,"),a=e.indexOf(","),o="";if(t&&-1!==a){let t=e.slice(a+1);o=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${i?",base64":""}${o?`,${o}`:""}`}return e}let tp=_.O;function tE(){if(!tp.document)return;let e=e3.bind(null,"dom"),t=t_(e,!0);tp.document.addEventListener("click",t,!1),tp.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=tp[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,k.GS)(r,"addEventListener",function(t){return function(r,n,i){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},a=n[r]=n[r]||{refCount:0};if(!a.handler){let n=t_(e);a.handler=n,t.call(this,r,n,i)}a.refCount++}catch{}return t.call(this,r,n,i)}}),(0,k.GS)(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},i=r[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,n),i.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}}))})}function t_(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;let o=function(e){try{return e.target}catch{return null}}(r);if("keypress"===r.type&&(!o?.tagName||"INPUT"!==o.tagName&&"TEXTAREA"!==o.tagName&&!o.isContentEditable))return;(0,k.my)(r,"_sentryCaptured",!0),o&&!o._sentryId&&(0,k.my)(o,"_sentryId",(0,w.eJ)());let s="keypress"===r.type?"input":r.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch{}return!0}(r)&&(e({event:r,name:s,global:t}),i=r.type,a=o?o._sentryId:void 0),clearTimeout(n),n=tp.setTimeout(()=>{a=void 0,i=void 0},1e3)}}let tg="__sentry_xhr_v3__";function tS(e){e2("xhr",e),e5("xhr",tm)}function tm(){if(!tp.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let n=Error(),i=1e3*(0,ef.zf)(),a=(0,eh.Kg)(r[0])?r[0].toUpperCase():void 0,o=function(e){if((0,eh.Kg)(e))return e;try{return e.toString()}catch{}}(r[1]);if(!a||!o)return e.apply(t,r);t[tg]={method:a,url:o,request_headers:{}}
12,"POST"===a&&o.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[tg];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}e3("xhr",{endTimestamp:1e3*(0,ef.zf)(),startTimestamp:i,xhr:t,virtualError:n}),t.removeEventListener("readystatechange",s)}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(s(),e.apply(t,r))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,i]=r,a=t[tg];return a&&(0,eh.Kg)(n)&&(0,eh.Kg)(i)&&(a.request_headers[n.toLowerCase()]=i),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let n=t[tg];return n&&(void 0!==r[0]&&(n.body=r[0]),e3("xhr",{startTimestamp:1e3*(0,ef.zf)(),xhr:t})),e.apply(t,r)}})}function tA(e){let t="history";e2(t,e),e5(t,tv)}function tv(){function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let n=o,i=function(e){try{return new URL(e,tp.location.origin).toString()}catch{return e}}(String(r));if(o=i,n===i)return e.apply(this,t);e3("history",{from:n,to:i})}return e.apply(this,t)}}tp.addEventListener("popstate",()=>{let e=tp.location.href,t=o;o=e,t!==e&&e3("history",{from:t,to:e})}),"history"in e8&&e8.history&&((0,k.GS)(tp.history,"pushState",e),(0,k.GS)(tp.history,"replaceState",e))}let tb={};try{"undefined"!=typeof Node&&(tb.parentNode=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode").get),"undefined"!=typeof Element&&(tb.tagName=Object.getOwnPropertyDescriptor(Element.prototype,"tagName").get,tb.id=Object.getOwnPropertyDescriptor(Element.prototype,"id").get,tb.className=Object.getOwnPropertyDescriptor(Element.prototype,"className").get,tb.getAttribute=Element.prototype.getAttribute),"undefined"!=typeof HTMLElement&&(tb.dataset=Object.getOwnPropertyDescriptor(HTMLElement.prototype,"dataset").get)}catch{}function tT(e,t,r){let n=tb[t];if(n)try{return n.call(e,r)}catch{}let i=e[t];return"function"==typeof i?i.call(e,r):i}function ty(e,t={}){if(!e)return"<unknown>";try{let r,n=e,i=[],a=0,o=0,s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||80;for(;n&&a++<5&&(r=function(e,t){let r=[],n=tT(e,"tagName");if(!n)return"";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement){let t=tT(e,"dataset");if(t){if(t.sentryComponent)return t.sentryComponent;if(t.sentryElement)return t.sentryElement}}r.push(n.toLowerCase());let i=t?.length?t.filter(t=>tT(e,"getAttribute",t)).map(t=>[t,tT(e,"getAttribute",t)]):null;if(i?.length)i.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{let t=tT(e,"id");t&&r.push(`#${t}`);let n=tT(e,"className");if(n&&(0,eh.Kg)(n))for(let e of n.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=tT(e,"getAttribute",t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(n,s),"html"!==r&&(!(a>1)||!(o+3*i.length+r.length>=l)));)i.push(r),o+=r.length,n=tT(n,"parentNode");return i.reverse().join(" > ")}catch{return"<unknown>"}}let tO=(e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r,n,i,a,o,s,l;if(t.console&&function(e){let t="console";e2(t,e),e5(t,e7)}((r=e,function(e){var t;if((0,L.KU)()!==r)return;let n={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(t=e.level)?"warning":["fatal","error","warning","log","info","debug"].includes(t)?t:"log",message:(0,C.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else n.message=`Assertion failed: ${(0,C.gt)(e.args.slice(1)," ")||"console.assert"}`,n.data.arguments=e.args.slice(1);to(n,{input:e.args,level:e.level})})),t.dom){e2("dom",(n=e,i=t.dom,function(e){let t,r;if((0,L.KU)()!==n)return;let a="object"==typeof i?i.serializeAttribute:void 0,o="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;o&&o>1024&&(o=1024),"string"==typeof a&&(a=[a]);try{var s;let n=e.event,i=(s=n)&&s.target?n.target:n;t=ty(i,{keyAttrs:a,maxStringLength:o}),r=ez(i)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};r&&(l.data={"ui.component_name":r}),to(l,{event:e.event,name:e.name,global:e.global})})),e5("dom",tE)}t.xhr&&tS((a=e,function(e){if((0,L.KU)()!==a)return;let{startTimestamp:t,endTimestamp:r}=e,n=e.xhr[tg];if(!t||!r||!n)return;let{method:i,url:o,status_code:s,body:l}=n,c={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:r},u={category:"xhr",data:{method:i,url:o,status_code:s},type:"http",level:ts(s)};a.emit("beforeOutgoingRequestBreadcrumb",u,c),to(u,c)})),t.fetch&&te((o=e,function(e){if((0,L.KU)()!==o)return;let{startTimestamp:t,endTimestamp:r}=e;
12if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.error){let n={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r},i={category:"fetch",data:e.fetchData,level:"error",type:"http"};o.emit("beforeOutgoingRequestBreadcrumb",i,n),to(i,n)}else{let n=e.response,i={...e.fetchData,status_code:n?.status},a={input:e.args,response:n,startTimestamp:t,endTimestamp:r},s={category:"fetch",data:i,type:"http",level:ts(i.status_code)};o.emit("beforeOutgoingRequestBreadcrumb",s,a),to(s,a)}})),t.history&&tA((s=e,function(e){if((0,L.KU)()!==s)return;let t=e.from,r=e.to,n=td(eX.location.href),i=t?td(t):void 0,a=td(r);i?.path||(i=n),n.protocol===a.protocol&&n.host===a.host&&(r=a.relative),n.protocol===i.protocol&&n.host===i.host&&(t=i.relative),to({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,L.KU)()===l&&to({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,w.$X)(e)},{event:e})}))}}},tw="EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","),tC=(e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,k.GS)(eX,"setTimeout",tI),t.setInterval&&(0,k.GS)(eX,"setInterval",tI),t.requestAnimationFrame&&(0,k.GS)(eX,"requestAnimationFrame",tR),t.XMLHttpRequest&&"XMLHttpRequest"in eX&&(0,k.GS)(XMLHttpRequest.prototype,"send",tN);let e=t.eventTarget;e&&(Array.isArray(e)?e:tw).forEach(e=>(function(e,t){let r=eX[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,k.GS)(r,"addEventListener",function(r){return function(n,i,a){var o,s,l,c;try{o=i,"function"==typeof o.handleEvent&&(i.handleEvent=eQ(i.handleEvent,{mechanism:{data:{handler:(0,H.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&(s=this,l=n,c=i,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,c)),r.apply(this,[n,eQ(i,{mechanism:{data:{handler:(0,H.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),a])}}),(0,k.GS)(r,"removeEventListener",function(e){return function(t,r,n){try{if(Object.prototype.hasOwnProperty.call(r,"__sentry_wrapped__")){let i=r.__sentry_wrapped__;i&&e.call(this,t,i,n)}}catch{}return e.call(this,t,r,n)}}))})(e,t))}}};function tI(e){return function(...t){let r=t[0];return t[0]=eQ(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,H.qQ)(e)}`}}),e.apply(this,t)}}function tR(e){return function(t){return e.apply(this,[eQ(t,{mechanism:{data:{handler:(0,H.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tN(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,k.GS)(r,e,function(t){let r={mechanism:{data:{handler:(0,H.qQ)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},n=(0,k.sp)(t);return n&&(r.mechanism.data.handler=(0,H.qQ)(n)),eQ(t,r)})}),e.apply(this,t)}}function tD(e,t,r){tp.document&&tp.addEventListener(e,t,r)}function tP(e,t,r){tp.document&&tp.removeEventListener(e,t,r)}let tL=e=>{let t=!1;return()=>{t||(e(),t=!0)}},tk=e=>{let t=tp.requestIdleCallback||tp.setTimeout;tp.document?.visibilityState==="hidden"?e():(tD("visibilitychange",e=tL(e),{once:!0,capture:!0}),tD("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),tP("visibilitychange",e,{capture:!0}),tP("pagehide",e,{capture:!0})}))},tM=(e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===eX.document)return;(0,A.J0)({ignoreDuration:!0});let e=!1;tk(()=>{e||((0,A.J5)(),e=!0)});let r=(0,L.rm)(),n=r.getUser();r.addScopeListener(t=>{let r=t.getUser();(n?.id!==r?.id||n?.ip_address!==r?.ip_address)&&(n=r,e&&(0,A.J5)())}),"route"===t&&tA(({from:t,to:r})=>{t!==r&&((0,A.J0)({ignoreDuration:!0}),(0,A.J5)(),e=!0)})}}};function tF(e,t){let r=e.attributes??(e.attributes={});Object.entries(t).forEach(([e,t])=>{null==t||e in r||(r[e]=t)})}let tx=()=>({name:"CultureContext",preprocessEvent(e){let t=tU();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})},processSegmentSpan(e){let t=tU();t&&tF(e,{"culture.locale":t.locale,"culture.timezone":t.timezone,"culture.calendar":t.calendar})}});function tU(){try{let e=eX.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}let tB=null;function tH(e){let t="error";e2(t,e),e5(t,tG)}function tG(){tB=_.O.onerror,_.O.onerror=function(e,t,r,n,i){return e3("error",{column:n,error:i,line:r,msg:e,url:t}),!!tB&&tB.apply(this,arguments)},_.O.onerror.__SENTRY_INSTRUMENTED__=!0}let tj=null;function tV(e){let t="unhandledrejection";e2(t,e),e5(t,tK)}function tK(){tj=_.O.onunhandledrejection,_.O.onunhandledrejection=function(e){return e3("unhandledrejection",e),!tj||tj.apply(this,arguments)},_.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let tW=(e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var r,n;t.onerror&&(r=e,tH(e=>{let{stackParser:t,attachStacktrace:n}=tq();if((0,L.KU)()!==r||e$>0)return;let{msg:i,url:a,line:o,column:s,error:l}=e,c=function(e,t,r,n){let i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[];return 0===l.length&&l.push({colno:n,lineno:r,filename:function(e){if((0,eh.Kg)(e)&&0!==e.length)return e.startsWith("data:")?`<${th(e,!1)}>`:e}(t)??eq(),function:H.yF,in_app:!0}),e}(eK(t,l||i,void 0,n,!1),a,o,s);c.level="error",(0,A.r)(c,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})),t.onunhandledrejection&&(n=e,tV(e=>{var t;let{stackParser:r,attachStacktrace:i}=tq();if((0,L.KU)()!==n||e$>0)return;let a=function(e){if((0,eh.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(e),o=(0,eh.sO)(a)?(t=a,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):eK(r,a,void 0,i,!0);o.level="error",(0,A.r)(o,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}))}}};function tY(e){}function tq(){let e=(0,L.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tz="http.url",tX="sentry.segment.name",t$="sentry.transaction",tQ="url.full",tJ="url.path",tZ="url.template",t0=()=>({name:"HttpContext",preprocessEvent(e){if(!eX.navigator&&!eX.location&&!eX.document)return;let t=eJ(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}},processSpan(e){if(!eX.navigator&&!eX.location&&!eX.document)return;let t=eJ();tF(e,{"user_agent.original":t.headers["User-Agent"],...e.is_segment&&{[tQ]:e.attributes?.["sentry.op"]!=="http.client"?t.url:void 0,"http.request.header.referer":t.headers.Referer}})}});function t1(e){return Array.isArray(e.errors)}function t2(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...t1(r)&&{is_exception_group:!0}
12,...e.mechanism,exception_id:t}}function t5(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}let t3=(e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,i){!function(e,t,r,n,i,a){if(!i.exception?.values||!a||!(0,eh.bJ)(a.originalException))return;let o=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;o&&(i.exception.values=function e(t,r,n,i,a,o,s,l){if(o.length>=n+1)return o;let c=[...o];if((0,eh.bJ)(i[a])){t2(s,l,i);let o=t(r,i[a]),u=c.length;t5(o,a,u,l),c=e(t,r,n,i[a],a,[o,...c],o,u)}return t1(i)&&i.errors.forEach((o,u)=>{if((0,eh.bJ)(o)){t2(s,l,i);let d=t(r,o),f=c.length;t5(d,`errors[${u}]`,f,l),c=e(t,r,n,o,a,[d,...c],d,f)}}),c}(e,t,n,a.originalException,r,i.exception.values,o,0))}(eB,i.getOptions().stackParser,r,t,e,n)}}};function t4(e,t,r,n){let i={filename:e,function:"<anonymous>"===t?H.yF:t,in_app:!0};return void 0!==r&&(i.lineno=r),void 0!==n&&(i.colno=n),i}let t6=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,t7=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,t8=/\((\S*)(?::(\d+))(?::(\d+))\)/,t9=/at (.+?) ?\(data:(.+?),/,re=[30,e=>{let t=e.match(t9);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=t6.exec(e);if(r){let[,e,t,n]=r;return t4(e,H.yF,+t,+n)}let n=t7.exec(e);if(n){if(n[2]?.indexOf("eval")===0){let e=t8.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=ra(n[1]||H.yF,n[2]);return t4(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],rt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,rr=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,rn=[50,e=>{let t=rt.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=rr.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||H.yF;return[r,e]=ra(r,e),t4(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],ri=(0,H.gd)(re,rn),ra=(e,t)=>{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:H.yF,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},ro={};function rs(e,t=function(e){let t=ro[e];if(t)return t;let r=tp[e];if(e9(r))return ro[e]=r.bind(tp);let n=tp.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(r=i[e]),n.head.removeChild(t)}catch(e){}return r?ro[e]=r.bind(tp):r}("fetch")){let r=0,n=0;async function i(i){let a=i.body.length;r+=a,n++;let o={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};try{let r=await t(e.url,o);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw ro.fetch=void 0,e}finally{r-=a,n--}}return function(e,t,r=eu(e.bufferSize||64)){let n={};return{send:function(i){let a=[];if((0,$.yH)(i,(t,r)=>{let i=(0,$.zk)(r);(function(e,t,r=(0,ed.Wk)()){return(e[t]||e.all||0)>r})(n,i)?e.recordDroppedEvent("ratelimit_backoff",i):a.push(t)}),0===a.length)return Promise.resolve({});let o=(0,$.h4)(i[0],a),s=t=>{if((0,$.hP)(o,["client_report"])){v.T&&g.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}(0,$.yH)(o,(r,n)=>{e.recordDroppedEvent(t,(0,$.zk)(n))})};return r.add(()=>t({body:(0,$.bN)(o)}).then(e=>(413===e.statusCode?(v.T&&g.Yz.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."),s("send_error")):(v.T&&void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&g.Yz.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=function(e,{statusCode:t,headers:r},n=(0,ed.Wk)()){let i={...e},a=r?.["x-sentry-rate-limits"],o=r?.["retry-after"];if(a)for(let e of a.trim().split(",")){let[t,r,,,a]=e.split(":",5),o=parseInt(t,10),s=(isNaN(o)?60:o)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!a||a.split(";").includes("custom"))&&(i[e]=n+s):i[e]=n+s;else i.all=n+s}else o?i.all=n+function(e,t=(0,ed.Wk)()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?6e4:n-t}(o,n):429===t&&(i.all=n+6e4);return i}(n,e)),e),e=>{throw s("network_error"),v.T&&g.Yz.error("Encountered error running transport request:",e),e})).then(e=>e,e=>
12{if(e===ec)return v.T&&g.Yz.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}(e,i,eu(e.bufferSize||40))}let rl=/^HTML(\w*)Element$/;function rc(e){if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(function(e){if("undefined"==typeof Element)return!1;try{return e instanceof Element}catch{return!1}}(e)){let t=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(e);if(rl.test(t))return`[HTMLElement: ${ty(e)}]`}}function ru(e){return[N(),F(),B(),tC(),tO(),tW(),t3(),G(),t0(),tx(),tM()]}var rd=r(407178);function rf(e){return(0,eh.Qd)(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e?"[SyntheticEvent]":rc(e)}var rh=r(571335),rp=r(985735),rE=r(936114),r_=r(699347),rg=r(458732),rS=r(38314),rm=r(438315),rA=r(910523),rv=r(535902);let rb={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function rT(e,t={}){let r,n,i=new Map,a=!1,o="externalFinish",s=!t.disableAutoFinish,l=[],{idleTimeout:c=rb.idleTimeout,finalTimeout:u=rb.finalTimeout,childSpanTimeout:d=rb.childSpanTimeout,beforeSpanEnd:f,trimIdleSpanEndTimestamp:h=!0}=t,p=(0,L.KU)(),E=(0,L.o5)();if(!p||!(0,rE.f)()){let e=new rg.w({traceId:E.getPropagationContext().traceId});return(0,rv.d_)(e,E,(0,L.rm)()),e}let _=(0,U.Bk)(),S=function(e){let t=(0,rA.Uk)(e);return(0,r_.r)((0,L.o5)(),t),v.T&&g.Yz.log("[Tracing] Started span is an idle span"),t}(e);function m(){r&&(clearTimeout(r),r=void 0)}function A(){n&&(clearTimeout(n),n=void 0)}function b(e){m(),r=setTimeout(()=>{!a&&0===i.size&&s&&(o="idleTimeout",S.end(e))},c)}function T(e){A(),n=setTimeout(()=>{!a&&s&&(o="heartbeatFailed",S.end(e))},d)}function y(e){a=!0,i.clear(),l.forEach(e=>e()),(0,r_.r)(E,_);let t=(0,U.et)(S),{start_timestamp:r}=t;if(!r)return;t.data[x.fs]||S.setAttribute(x.fs,o);let n=t.status;n&&"unknown"!==n||S.setStatus({code:rm.F3}),g.Yz.log(`[Tracing] Idle span "${t.op}" finished`);let s=(0,U.xO)(S).filter(e=>e!==S),d=0;s.forEach(t=>{t.isRecording()&&(t.setStatus({code:rm.TJ,message:"cancelled"}),t.end(e),v.T&&g.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,U.et)(t),i=n<=e,a=r-n<=(u+c)/1e3;if(v.T){let e=JSON.stringify(t,void 0,2);i?a||g.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):g.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!a||!i)&&((0,U.VS)(S,t),d++)}),d>0&&S.setAttribute("sentry.idle_span_discarded_spans",d)}return S.end=new Proxy(S.end,{apply(e,t,r){if(f&&f(S),(0,rg.h)(t))return;let[n,...i]=r,a=n||(0,ef.zf)(),o=(0,U.cI)(a),s=(0,U.xO)(S).filter(e=>e!==S),l=(0,U.et)(S);if(!s.length||!h)return y(o),Reflect.apply(e,t,[o,...i]);let c=p.getOptions().ignoreSpans,d=s?.reduce((e,t)=>{let r=U.et(t);return!r.timestamp||c&&eg.e({description:r.description,op:r.op,attributes:r.data},c)?e:e?Math.max(e,r.timestamp):r.timestamp},void 0),E=l.start_timestamp,_=Math.min(E?E+u/1e3:1/0,Math.max(E||-1/0,Math.min(o,d||1/0)));return y(_),Reflect.apply(e,t,[_,...i])}}),l.push(p.on("spanStart",e=>{if(!(a||e===S||(0,U.et)(e).timestamp||e instanceof rS.W&&e.isStandaloneSpan())&&(0,U.xO)(S).includes(e)){var t;t=e.spanContext().spanId,m(),i.set(t,!0),T((0,ef.zf)()+d/1e3)}})),l.push(p.on("spanEnd",e=>{if(!a){var t;t=e.spanContext().spanId,i.has(t)&&i.delete(t),0===i.size&&(b((0,ef.zf)()+c/1e3),A())}})),l.push(p.on("idleSpanEnableAutoFinish",e=>{e===S&&(s=!0,b(),i.size&&T())})),t.disableAutoFinish||b(),setTimeout(()=>{a||(S.setStatus({code:rm.TJ,message:"deadline_exceeded"}),o="finalTimeout",S.end())},u),S}let ry=!1;var rO=r(950565),rw=r(17954),rC=r(975427);let rI=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",rR=(e,t,r,n)=>{let i,a;return o=>{t.value>=0&&(o||n)&&((a=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=rI(t.value,r),e(t))}},rN=(e=!0)=>{let t=tp.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},rD=()=>{let e=rN();return e?.activationStart??0},rP=-1,rL=new Set,rk=()=>tp.document?.visibilityState!=="hidden"||tp.document?.prerendering?1/0:0,rM=e=>{if(("pagehide"===e.type||tp.document?.visibilityState==="hidden")&&rP>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of rL)e();isFinite(rP)||(rP="visibilitychange"===e.type?e.timeStamp:0,tP("prerenderingchange",rM,!0))}},rF=()=>
12{if(tp.document&&rP<0){let e=rD();rP=(tp.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??rk(),tD("visibilitychange",rM,!0),tD("pagehide",rM,!0),tD("prerenderingchange",rM,!0)}return{get firstHiddenTime(){return rP},onHidden(e){rL.add(e)}}},rx=()=>`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,rU=(e,t=-1)=>{let r=rN(),n="navigate";return r&&(tp.document?.prerendering||rD()>0?n="prerender":tp.document?.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:rx(),navigationType:n}},rB=new WeakMap;function rH(e,t){try{return rB.get(e)||rB.set(e,new t),rB.get(e)}catch(e){return new t}}class rG{constructor(){this._sessionValue=0,this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let rj=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}},rV=e=>{tp.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},rK=[1800,3e3],rW=(e,t={})=>{rV(()=>{let r,n=rF(),i=rU("FCP"),a=rj("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(a.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-rD(),0),i.entries.push(t),r(!0)))});a&&(r=rR(e,i,rK,t.reportAllChanges))})},rY=[.1,.25],rq=(e,t={})=>{rW(tL(()=>{let r,n=rU("CLS",0),i=rF(),a=rH(t,rG),o=e=>{for(let t of e)a._processEntry(t);a._sessionValue>n.value&&(n.value=a._sessionValue,n.entries=a._sessionEntries,r())},s=rj("layout-shift",o);s&&(r=rR(e,n,rY,t.reportAllChanges),i.onHidden(()=>{o(s.takeRecords()),r(!0)}),tp?.setTimeout?.(r))}))},rz=0,rX=1/0,r$=0,rQ=e=>{e.forEach(e=>{e.interactionId&&(rX=Math.min(rX,e.interactionId),rz=(r$=Math.max(r$,e.interactionId))?(r$-rX)/7+1:0)})},rJ=()=>s?rz:performance.interactionCount||0,rZ=()=>{"interactionCount"in performance||s||(s=rj("event",rQ,{type:"event",buffered:!0,durationThreshold:0}))},r0=0,r1=()=>rJ()-r0;class r2{constructor(){this._longestInteractionList=[],this._longestInteractionMap=new Map}_resetInteractions(){r0=rJ(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor(r1()/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(r)}}}let r5=[200,500],r3=(e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=rF();rV(()=>{let n;rZ();let i=rU("INP"),a=rH(t,r2),o=e=>{tk(()=>{for(let t of e)a._processEntry(t);let t=a._estimateP98LongestInteraction();t&&t._latency!==i.value&&(i.value=t._latency,i.entries=t.entries,n())})},s=rj("event",o,{durationThreshold:t.durationThreshold??40});n=rR(e,i,r5,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{o(s.takeRecords()),n(!0)}))})};class r4{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let r6=[2500,4e3],r7=(e,t={})=>{rV(()=>{let r,n=rF(),i=rU("LCP"),a=rH(t,r4),o=e=>{for(let o of(t.reportAllChanges||(e=e.slice(-1)),e))a._processEntry(o),o.startTime<n.firstHiddenTime&&(i.value=Math.max(o.startTime-rD(),0),i.entries=[o],r())},s=rj("largest-contentful-paint",o);if(s){r=rR(e,i,r6,t.reportAllChanges);let n=tL(()=>{o(s.takeRecords()),s.disconnect(),r(!0)}),a=e=>{e.isTrusted&&(tk(n),tP(e.type,a,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])tD(e,a,{capture:!0})}})},r8=[800,1800],r9=e=>{tp.document?.prerendering?rV(()=>r9(e)):tp.document?.readyState!=="complete"?addEventListener("load",()=>r9(e),!0):setTimeout(e)},ne=(e,t={})=>{let r=rU("TTFB"),n=rR(e,r,r8,t.reportAllChanges);r9(()=>{let e=rN();e&&(r.value=Math.max(e.responseStart-rD(),0),r.entries=[e],n(!0))})},nt={},nr={};function nn(e,t=!1){return nf("cls",e,nl,l,t)}function ni(e,t=!1){return nf("lcp",e,nc,c,t)}function na(e){return nf("inp",e,nd,d)}function no(e,t){return nh(e,t),nr[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),rj(e,t=>{ns(e,{entries:t})},t)}(e),nr[e]=!0),np(e,t)}function ns(e,t){let r=nt[e];if(r?.length)for(let e of r)try{e(t)}catch(e){}}function nl(){return rq(e=>{ns("cls",{metric:e}),l=e},{reportAllChanges:!0})}function nc(){return r7(e=>{ns("lcp",{metric:e}),c=e},{reportAllChanges:!0})}function nu(){return ne(e=>{ns("ttfb",{metric:e}),u=e})}
12function nd(){return r3(e=>{ns("inp",{metric:e}),d=e})}function nf(e,t,r,n,i=!1){let a;return nh(e,t),nr[e]||(a=r(),nr[e]=!0),n&&t({metric:n}),np(e,t,i?a:void 0)}function nh(e,t){nt[e]=nt[e]||[],nt[e].push(t)}function np(e,t,r){return()=>{r&&r();let n=nt[e];if(!n)return;let i=n.indexOf(t);-1!==i&&n.splice(i,1)}}let nE=e=>{let t=t=>{("pagehide"===t.type||tp.document?.visibilityState==="hidden")&&e(t)};tD("visibilitychange",t,{capture:!0,once:!0}),tD("pagehide",t,{capture:!0,once:!0})};function n_(e){return"number"==typeof e&&isFinite(e)}function ng(e,t,r,{...n}){let i=(0,U.et)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),(0,rA.hb)(e,()=>{let e=(0,rA.Uk)({startTime:t,...n});return e&&e.end(r),e})}function nS(e){let t,r=(0,L.KU)();if(!r)return;let{name:n,transaction:i,attributes:a,startTime:o}=e,{release:s,environment:l}=r.getOptions(),{userInfo:c}=r.getDataCollectionOptions(),u=r.getIntegrationByName("Replay"),d=u?.getReplayId(),f=(0,L.o5)(),h=f.getUser(),p=void 0!==h?h.email||h.id||h.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}let E={release:s,environment:l,user:p||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:i,"user_agent.original":tp.navigator?.userAgent,"client.address":c?"{{auto}}":void 0,...a};return(0,rA.Uk)({name:n,attributes:E,startTime:o,experimental:{standalone:!0}})}function nm(){return tp.addEventListener&&tp.performance}function nA(e){return e/1e3}function nv(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function nb(e,t){let r,n=!1;function i(e){!n&&r&&t(e,r.spanContext().spanId,r),n=!0}nE(()=>{i("pagehide")});let a=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),a(),o())}),o=e.on("afterStartPageLoadSpan",e=>{r=e,o()})}function nT(e){return null!=e&&e>0&&e<=6e4}function ny(e){return e?(((0,ef.k3)()||performance.timeOrigin)+e)/1e3:e}function nO(e){let t={};if(void 0!=e.nextHopProtocol){let{name:r,version:n}=function(e){let t="unknown",r="unknown",n="";for(let i of e){if("/"===i){[t,r]=e.split("/");break}if(!isNaN(Number(i))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=i}return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return(0,ef.k3)()||nm()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":ny(e.redirectStart),"http.request.redirect_end":ny(e.redirectEnd),"http.request.worker_start":ny(e.workerStart),"http.request.fetch_start":ny(e.fetchStart),"http.request.domain_lookup_start":ny(e.domainLookupStart),"http.request.domain_lookup_end":ny(e.domainLookupEnd),"http.request.connect_start":ny(e.connectStart),"http.request.secure_connection_start":ny(e.secureConnectionStart),"http.request.connection_end":ny(e.connectEnd),"http.request.request_start":ny(e.requestStart),"http.request.response_start":ny(e.responseStart),"http.request.response_end":ny(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let nw=0,nC={};function nI(){f=void 0,h=void 0,nC={}}function nR(e,t,r,n,i=r){var a;let o=t["secureConnection"===(a=r)?"connectEnd":"fetch"===a?"domainLookupStart":`${a}End`],s=t[`${r}Start`];s&&o&&ng(e,n+nA(s),n+nA(o),{op:`browser.${i}`,name:t.name,attributes:{[x.JD]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}let nN=new WeakMap,nD=new WeakMap,nP=["text/event-stream","application/x-ndjson","application/stream+json"],nL=()=>({name:"FetchStreamPerformance",setup(){(function(e){let t="fetch-body-resolved";e2(t,e),e5(t,()=>tt(tn))})(e=>{if(e.response){let t=nN.get(e.response);if(t&&e.endTimestamp){t.end(e.endTimestamp);let r=nD.get(e.response);r&&clearTimeout(r)}}}),te(e=>{if(e.endTimestamp&&e.response){let t=e.response.headers?.get("content-type")||"";if(e.response.headers?.get("content-length")||!nP.some(e=>t.startsWith(e)))return;let r=e.fetchData?.url||"",n=e.fetchData?.method||"GET",i=tc(r),a=r.startsWith("data:")?th(r):i?tu(i):r,o=(0,rA.Uk)({name:`${n} ${a}`,startTime:e.endTimestamp,attributes:{url:th(r),"http.method":n,type:"fetch",[x.uT]:"http.client.stream",[x.JD]:"auto.http.browser.stream"}});nN.set(e.response,o);let s=setTimeout(()=>{o.isRecording()&&o.end()},9e4);nD.set(e.response,s)}})}}),nk=[],nM=new Map,nF=new Map,nx={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},nU=({metric:e})=>
12{if(void 0==e.value)return;let t=nA(e.value);if(t>60)return;let r=e.entries.find(t=>t.duration===e.value&&nx[t.name]);if(!r)return;let{interactionId:n}=r,i=nx[r.name],a=nA((0,ef.k3)()+r.startTime),o=(0,U.Bk)(),s=o?(0,U.zU)(o):void 0,l=null!=n?nM.get(n):void 0,c=l?.span||s,u=c?(0,U.et)(c).description:(0,L.o5)().getScopeData().transactionName,d=nS({name:l?.elementName||ty(r.target),transaction:u,attributes:{[x.JD]:"auto.http.browser.inp",[x.uT]:`ui.interaction.${i}`,[x.jG]:r.duration},startTime:a});d&&(d.addEvent("inp",{[x.Sn]:"millisecond",[x.xc]:e.value}),d.end(a+t))};function nB(e){let{name:t,op:r,origin:n,metricName:i,value:a,attributes:o,parentSpan:s,reportEvent:l,startTime:c,endTime:u}=e,d=(0,L.o5)().getScopeData().transactionName,f={[x.JD]:n,[x.uT]:r,[x.jG]:0,[`browser.web_vital.${i}.value`]:a,[t$]:d,[tX]:d,"user_agent.original":tp.navigator?.userAgent,...o};s&&U.RD(s).attributes?.[x.uT]==="pageload"&&(f["sentry.pageload.span_id"]=s.spanContext().spanId),l&&(f[`browser.web_vital.${i}.report_event`]=l);let h=(0,rA.Uk)({name:t,attributes:f,startTime:c,parentSpan:s});h&&h.end(u??c)}let nH="WebVitals",nG=(e={})=>{let t=new Set(e.ignore??[]);return{name:nH,setup(r){let n=(0,eo.K)(r),{enableStandaloneClsSpans:i,enableStandaloneLcpSpans:a}=e._experiments??{},o=n||t.has("cls")?void 0:i||!1,s=n||t.has("lcp")?void 0:a||!1,l=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let n=nm();if(n&&(0,ef.k3)()){n.mark&&tp.performance.mark("sentry-tracing-init");let i=t?function(e){let t,r=0;if(!nv("largest-contentful-paint"))return;let n=ni(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&nT(e.value)&&(r=e.value,t=n)},!0);nb(e,(e,i)=>{(function(e,t,r,n){if(!nT(e))return;let i=nA(((0,ef.k3)()||0)+(t?.startTime||0)),a=(0,L.o5)().getScopeData().transactionName,o=t?ty(t.element):"Largest contentful paint",s={[x.JD]:"auto.http.browser.lcp",[x.uT]:"ui.webvital.lcp",[x.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t&&(t.element&&(s["lcp.element"]=ty(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));let l=nS({name:o,transaction:a,attributes:s,startTime:i});l&&(l.addEvent("lcp",{[x.Sn]:"millisecond",[x.xc]:e}),l.end(i))})(r,t,i,e),n()})}(r):!1===t?ni(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&nT(e.value)&&(nC.lcp={value:e.value,unit:"millisecond"},f=t)},!0):void 0,a=e?function(e){let t,r=0;if(!nv("layout-shift"))return;let n=nn(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);nb(e,(e,i)=>{(function(e,t,r,n){let i=t?nA(((0,ef.k3)()||0)+t.startTime):(0,ef.zf)(),a=(0,L.o5)().getScopeData().transactionName,o=t?ty(t.sources[0]?.node):"Layout shift",s={[x.JD]:"auto.http.browser.cls",[x.uT]:"ui.webvital.cls",[x.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=ty(e.node)});let l=nS({name:o,transaction:a,attributes:s,startTime:i});l&&(l.addEvent("cls",{[x.Sn]:"",[x.xc]:e}),l.end(i))})(r,t,i,e),n()})}(r):!1===e?nn(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(nC.cls={value:e.value,unit:""},h=t)},!0):void 0,o=nf("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(nC.ttfb={value:e.value,unit:"millisecond"})},nu,u),s=no("paint",({entries:e})=>{let t=rF();for(let r of e){let e=r.startTime<t.firstHiddenTime;"first-paint"===r.name&&e&&(nC.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&e&&(nC.fcp={value:r.startTime,unit:"millisecond"})}});return()=>{o(),s(),i?.(),a?.()}}return()=>void 0}({recordClsStandaloneSpans:o,recordLcpStandaloneSpans:s,client:r}),c=new WeakSet;r.on("afterStartPageLoadSpan",e=>{c.add(e)}),r.on("spanEnd",e=>{c.delete(e)&&(l(),function(e,t){let r=(0,ef.k3)();if(!nm()?.getEntries||!r){nI();return}let{spanStreamingEnabled:n,recordClsOnPageloadSpan:i,recordLcpOnPageloadSpan:a}=t,o=nA(r);if("pageload"===(0,U.et)(e).op){if(function(e){let t=rN(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(nC),n){let t=(t,r,n)=>{let i=n??`browser.web_vital.${t}.value`;e.setAttribute(i,r)};
12["ttfb","fp","fcp"].forEach(e=>{nC[e]&&t(e,nC[e].value)}),nC["ttfb.requestTime"]&&t("ttfb.requestTime",nC["ttfb.requestTime"].value,"browser.web_vital.ttfb.request_time")}else{var s,l;i||delete nC.cls,a||delete nC.lcp,Object.entries(nC).forEach(([t,r])=>{(0,rC.X)(t,r.value,r.unit,e)}),s=e,l=t,f&&l.recordLcpOnPageloadSpan&&(f.element&&s.setAttribute("lcp.element",ty(f.element)),f.id&&s.setAttribute("lcp.id",f.id),f.url&&s.setAttribute("lcp.url",f.url.trim().slice(0,200)),null!=f.loadTime&&s.setAttribute("lcp.loadTime",f.loadTime),null!=f.renderTime&&s.setAttribute("lcp.renderTime",f.renderTime),s.setAttribute("lcp.size",f.size)),h?.sources&&l.recordClsOnPageloadSpan&&h.sources.forEach((e,t)=>s.setAttribute(`cls.source.${t+1}`,ty(e.node)))}e.setAttribute(n?"browser.performance.time_origin":"performance.timeOrigin",o),e.setAttribute(n?"browser.performance.navigation.activation_start":"performance.activationStart",rD())}nI()}(e,{recordClsOnPageloadSpan:!1===o,recordLcpOnPageloadSpan:!1===s,spanStreamingEnabled:n}))}),n?(t.has("lcp")||function(e){let t,r=0;if(!nv("largest-contentful-paint"))return;let n=ni(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&nT(e.value)&&(r=e.value,t=n)},!0);nb(e,(e,i,a)=>{(function(e,t,r,n){if(!nT(e))return;let i=(0,ef.k3)()||0,a=nA(i),o=nA(i+(t?.startTime||0)),s=t?ty(t.element):"Largest contentful paint",l={};t?.element&&(l["browser.web_vital.lcp.element"]=ty(t.element)),t?.id&&(l["browser.web_vital.lcp.id"]=t.id),t?.url&&(l["browser.web_vital.lcp.url"]=t.url),t?.loadTime!=null&&(l["browser.web_vital.lcp.load_time"]=t.loadTime),t?.renderTime!=null&&(l["browser.web_vital.lcp.render_time"]=t.renderTime),t?.size!=null&&(l["browser.web_vital.lcp.size"]=t.size),nB({name:s,op:"ui.webvital.lcp",origin:"auto.http.browser.lcp",metricName:"lcp",value:e,attributes:l,parentSpan:r,reportEvent:n,startTime:a,endTime:o})})(r,t,a,e),n()})}(r),t.has("cls")||function(e){let t,r=0;if(!nv("layout-shift"))return;let n=nn(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);nb(e,(e,i,a)=>{(function(e,t,r,n){let i=t?nA(((0,ef.k3)()||0)+t.startTime):(0,ef.zf)(),a=t?ty(t.sources[0]?.node):"Layout shift",o={};t?.sources&&t.sources.forEach((e,t)=>{o[`browser.web_vital.cls.source.${t+1}`]=ty(e.node)}),nB({name:a,op:"ui.webvital.cls",origin:"auto.http.browser.cls",metricName:"cls",value:e,attributes:o,parentSpan:r,reportEvent:n,startTime:i})})(r,t,a,e),n()})}(r),t.has("inp")||nm()&&(0,ef.k3)()&&na(({metric:e})=>{if(null==e.value||nA(e.value)>60)return;let t=e.entries.find(t=>t.duration===e.value&&nx[t.name]);t&&function(e,t){var r;let n=nA((0,ef.k3)()+t.startTime),i=nA(e),a=nx[t.name],o=null!=(r=t.interactionId)?nM.get(r):void 0,s=(0,U.Bk)(),l=s?(0,U.zU)(s):void 0,c=o?.span||l,u=c?(0,U.RD)(c).name:(0,L.o5)().getScopeData().transactionName;nB({name:o?.elementName||ty(t.target),op:`ui.interaction.${a}`,origin:"auto.http.browser.inp",metricName:"inp",value:e,attributes:{[x.jG]:t.duration,[t$]:u,[tX]:u},startTime:n,endTime:n+i,parentSpan:c})}(e.value,t)})):t.has("inp")||function(){if(nm()&&(0,ef.k3)()){let e=na(nU);()=>{e()}}}()},afterAllSetup(){if(!t.has("inp")){let t=Object.keys(nx);function e(e){let t=e.target;if(!t)return;let r=ty(t),n=Math.round(e.timeStamp);if(nF.set(n,r),nF.size>50){let e=nF.keys().next().value;void 0!==e&&nF.delete(e)}}J()&&t.forEach(t=>{tp.addEventListener(t,e,{capture:!0,passive:!0})});let r=({entries:e})=>{let t=(0,U.Bk)(),r=t&&(0,U.zU)(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||nM.has(t))return;let n=e.target?ty(e.target):function(e){let t=Math.round(e.startTime),r=nF.get(t);if(!r)for(let e=-5;e<=5;e++){let n=nF.get(t+e);if(n){r=n;break}}return r||"<unknown>"}(e);if(nk.length>10){let e=nk.shift();nM.delete(e)}nk.push(t),nM.set(t,{span:r,elementName:n})})};no("event",r),no("first-input",r)}}}},nj="sentry_previous_trace";function nV(e){return 1===e.traceFlags}var nK=r(660690),nW=r(824577);function nY(e){return"string"==typeof e&&e.split(",").some(e=>e.trim().startsWith(nK.sv))}function nq(e,t,r,n){let i={url:th(e),type:"fetch","http.method":r,[x.JD]:n,[x.uT]:"http.client"};return t&&(tl(t)||(i[tz]=th(t.href),i[tQ]=th(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}function nz(e){try{return new URL(e,eX.location.origin).href}catch{return}}function nX(e){try{return new Headers(e)}catch{return}}let n$={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function nQ(e,t){let{url:r}=(0,U.et)(e).data;if(!r||"string"!=typeof r)return;let n=()=>void setTimeout(i);if((0,eo.K)(t)){let t=e.end.bind(e);e.end=e=>{let r=e??(0,ef.zf)(),a=!1,o=()=>{a||(a=!0,setTimeout(i),t(r),clearTimeout(s))};n=o;let s=setTimeout(o,300)}}let i=no("resource",({entries:t})=>{t.forEach(t=>{"resource"===t.entryType&&"initiatorType"in t&&"string"==typeof t.nextHopProtocol&&("fetch"===t.initiatorType||"xmlhttprequest"===t.initiatorType)&&t.name.endsWith(r)&&(e.setAttributes(nO(t)),n())})})}let nJ=/Googlebot|Google-InspectionTool|Storebot-Google|Bingbot|Slurp|DuckDuckBot|Baiduspider|YandexBot|Facebot|facebookexternalhit|LinkedInBot|Twitterbot|Applebot/i;function nZ(){let e=eX.navigator;return!!e?.userAgent&&nJ.test(e.userAgent)}let n0={...rb,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroun
12dSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...n$},n1=(e={})=>{let t,r;"enableElementTiming"in e&&(0,g.pq)(()=>{console.warn("[Sentry] `enableElementTiming` is deprecated and no longer has any effect. Use the standalone `elementTimingIntegration` instead.")});let n={name:void 0,source:void 0},i=eX.document,{enableInp:a,enableLongTask:o,enableLongAnimationFrame:s,_experiments:{enableInteractions:l,enableStandaloneClsSpans:c,enableStandaloneLcpSpans:u},beforeStartSpan:d,idleTimeout:f,finalTimeout:h,childSpanTimeout:p,markBackgroundSpan:E,traceFetch:S,traceXHR:m,trackFetchStreamPerformance:A,shouldCreateSpanForRequest:b,enableHTTPTimings:T,ignoreResourceSpans:y,ignorePerformanceApiSpans:O,instrumentPageLoad:w,instrumentNavigation:I,detectRedirects:R,linkPreviousTrace:N,consistentTraceSampling:D,enableReportPageLoaded:P,onRequestSpanStart:M,onRequestSpanEnd:F}={...n0,...e},B=nZ();function H(e,t,a=!0,o){var s,l;let c="pageload"===t.op,u=t.name,E=d?d(t):t,_=tc(o||eq()),g={..._?.pathname&&{[tJ]:_.pathname},..._&&!tl(_)&&{[tQ]:_.href},...E.attributes};if(u!==E.name&&(g[x.i_]="custom"),E.attributes=g,!a){let e=(0,ef.lu)();(0,rA.Uk)({...E,startTime:e}).end(e);return}n.name=E.name,n.source=g[x.i_];let S=rT(E,{idleTimeout:f,finalTimeout:h,childSpanTimeout:p,disableAutoFinish:c,beforeSpanEnd:t=>{var n,i;(function(e,t){let r=nm(),n=(0,ef.k3)();if(!r?.getEntries||!n)return;let{spanStreamingEnabled:i,ignorePerformanceApiSpans:a,ignoreResourceSpans:o}=t,s=nA(n),l=r.getEntries(),{op:c,start_timestamp:u}=(0,U.et)(e);l.slice(nw).forEach(t=>{let r=nA(t.startTime),n=nA(Math.max(0,t.duration));if("navigation"!==c||!u||!(s+r<u))switch(t.entryType){case"navigation":var i,l,d;i=e,l=t,d=s,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{nR(i,l,e,d)}),nR(i,l,"secureConnection",d,"TLS/SSL"),nR(i,l,"fetch",d,"cache"),nR(i,l,"domainLookup",d,"DNS"),function(e,t,r){let n=r+nA(t.requestStart),i=r+nA(t.responseEnd),a=r+nA(t.responseStart);t.responseEnd&&(ng(e,n,i,{op:"browser.request",name:t.name,attributes:{[x.JD]:"auto.ui.browser.metrics"}}),ng(e,a,i,{op:"browser.response",name:t.name,attributes:{[x.JD]:"auto.ui.browser.metrics"}}))}(i,l,d);break;case"mark":case"paint":case"measure":(function(e,t,r,n,i,a){if(function(e){if(e?.entryType==="measure")try{return"Components â"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&(0,C.Xr)(t.name,a))return;let o=rN(!1),s=i+Math.max(r,nA(o?o.requestStart:0)),l=i+r,c=l+n,u={[x.JD]:"auto.resource.browser.metrics"};s!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=s),function(e,t){try{let r=t.detail;if(!r)return;if("object"==typeof r){for(let[t,n]of Object.entries(r))if(n&&(0,eh.sO)(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if((0,eh.sO)(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}(u,t),s<=c&&ng(e,s,c,{name:t.name,op:t.entryType,attributes:u})})(e,t,r,n,s,a);break;case"resource":(function(e,t,r,n,i,a,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let s=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(o?.includes(s))return;let l={[x.JD]:"auto.resource.browser.metrics"},c=td(r);c.protocol&&(l["url.scheme"]=c.protocol.split(":").pop()),c.host&&(l["server.address"]=c.host),l["url.same_origin"]=r.includes(tp.location.origin),l[tQ]=r,function(e,t,r){r.forEach(([r,n])=>{let i=e[r];null!=i&&("number"==typeof i&&i<0x7fffffff||"string"==typeof i)&&(t[n]=i)})}(t,l,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]]);let u={...l,...nO(t)},d=a+n;ng(e,d,d+i,{name:r.replace(tp.location.origin,""),op:s,attributes:u})})(e,t,t.name,r,n,s,o)}}),nw=Math.max(l.length-1,0),function(e,t){let r=tp.navigator;if(!r)return;let n=r.connection;n&&(n.effectiveType&&e.setAttribute(t?"network.connection.effective_type":"effectiveConnectionType",n.effectiveType),n.type&&e.setAttribute(t?"network.connection.type":"connectionType",n.type),n_(n.rtt)&&(t?e.setAttribute("network.connection.rtt",n.rtt):"pageload"===(0,U.et)(e).op&&(0,rC.X)("connection.rtt",n.rtt,"millisecond"))),n_(r.deviceMemory)&&(t?e.setAttribute("device.memory.estimated_capacity",r.deviceMemory):e.setAttribute("deviceMemory",`${r.deviceMemory} GB`)),n_(r.hardwareConcurrency)&&(t?e.setAttribute("device.processor_count",r.hardwareConcurrency):e.setAttribute("hardwareConcurrency",String(r.hardwareConcurrency)))}(e,i)})(t,{ignoreResourceSpans:y,ignorePerformanceApiSpans:O,spanStreamingEnabled:(0,eo.K)(e)}),n=e,i=void 0,(0,k.my)(n,n6,i);let a=(0,L.o5)(),o=a.getPropagationContext();a.setPropagationContext({...o,traceId:S.spanContext().traceId,sampled:(0,U.pK)(S),dsc:(0,ei.k1)(t)}),c&&(r=void 0)},trimIdleSpanEndTimestamp:!P});function m(){i&&["interactive","complete"].includes(i.readyState)&&(e.emit("idleSpanEnableAutoFinish",S),i.removeEventListener("readystatechange",m))}c&&P&&(r=S),s=e,l=S,(0,k.my)(s,n6,l),c&&!P&&i&&(i.addEventListener("readystatechange",m),m())}return{name:"BrowserTracing",setup(e){if(!B){if(ry||(ry=!0,tH(n),tV(n)),s&&_.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes?.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,U.Bk)();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=nA((0,ef.k3)()+r.startTime),{start_timestamp:n,op:i}=(0,U.et)(t);if("navigation"===i&&n&&e<n)continue;let a=nA(r.duration),o={[x.JD]:"auto.ui.browser.metrics"}
12,{invoker:s,invokerType:l,sourceURL:c,sourceFunctionName:u,sourceCharPosition:d}=r.scripts[0];o["browser.script.invoker"]=s,o["browser.script.invoker_type"]=l,c&&(o["code.filepath"]=c),u&&(o["code.function"]=u),-1!==d&&(o["browser.script.source_char_position"]=d),ng(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:o})}}).observe({type:"long-animation-frame",buffered:!0}):o&&no("longtask",({entries:e})=>{let t=(0,U.Bk)();if(!t)return;let{op:r,start_timestamp:n}=(0,U.et)(t);for(let i of e){let e=nA((0,ef.k3)()+i.startTime),a=nA(i.duration);"navigation"===r&&n&&e<n||ng(t,e,e+a,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[x.JD]:"auto.ui.browser.metrics"}})}}),l&&no("event",({entries:e})=>{let t=(0,U.Bk)();if(t){for(let r of e)if("click"===r.name){let e=nA((0,ef.k3)()+r.startTime),n=nA(r.duration),i={name:ty(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[x.JD]:"auto.ui.browser.metrics"}},a=ez(r.target);a&&(i.attributes["ui.component_name"]=a),ng(t,e,e+n,i)}}}),R&&i){let e=()=>{t=(0,ef.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}e.on("startNavigationSpan",(r,n)=>{if((0,L.KU)()!==e)return;if(n?.isRedirect){H(e,{op:"navigation.redirect",...r},!1,n.url);return}t=void 0,a();let i=(0,L.o5)();i.setPropagationContext({traceId:(0,rO.e)(),sampleRand:Math.random(),propagationSpanId:(0,rE.f)()?void 0:(0,rO.Z)()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),H(e,{op:"navigation",...r,parentSpan:null,forceTransaction:!0},!0,n?.url)}),e.on("startPageLoadSpan",(t,r={})=>{if((0,L.KU)()!==e)return;a();let n=r.sentryTrace||n3("sentry-trace")||n4("sentry-trace"),i=r.baggage||n3("baggage")||n4("baggage"),o=(0,rw.kM)(n,i),s=(0,L.o5)();s.setPropagationContext(o),(0,rE.f)()||(s.getPropagationContext().propagationSpanId=(0,rO.Z)()),s.setSDKProcessingMetadata({normalizedRequest:eJ()}),H(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{P&&r&&(r.setAttribute(x.fs,"reportPageLoaded"),r.end())})}function n(){let e=(0,U.Bk)(),t=e&&(0,U.zU)(e);if(t){let e="internal_error";v.T&&g.Yz.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:rm.TJ,message:e})}}function a(){let t=e[n6];t&&!(0,U.et)(t).timestamp&&(t.setAttribute(x.fs,"cancelled"),t.end())}},afterAllSetup(e){var r,i,o,s,d;let _;if(B)return;e.addIntegration&&!e.getIntegrationByName?.(nH)&&e.addIntegration(nG({ignore:a?[]:["inp"],_experiments:{enableStandaloneClsSpans:c,enableStandaloneLcpSpans:u}}));let g=eq();if("off"!==N&&function(e,{linkPreviousTrace:t,consistentTraceSampling:r}){let n="session-storage"===t,i=n?function(){try{let e=eX.sessionStorage?.getItem(nj);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,U.zU)(e)!==e)return;let t=(0,L.o5)().getPropagationContext();i=function(e,t,r){let n=(0,U.et)(t),i={spanContext:t.spanContext(),startTimestamp:n.start_timestamp,sampleRate:function(){try{let e=Number(n.data?.[x.sy]??r.dsc?.sample_rate);return Number.isNaN(e)?0:e}catch{return 0}}(),sampleRand:r.sampleRand};if(!e)return i;let a=e.spanContext;return a.traceId===n.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(t.addLink({context:a,attributes:{[x.Lc]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${a.traceId}-${a.spanId}-${+!!nV(a)}`)),i)}(i,e,t),n&&function(e){try{eX.sessionStorage.setItem(nj,JSON.stringify(e))}catch(e){}}(i)});let a=!0;r&&e.on("beforeSampling",e=>{if(!i)return;let t=(0,L.o5)(),r=t.getPropagationContext();if(a&&r.parentSpanId){a=!1;return}t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(i.sampleRate),sampled:String(nV(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=nV(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[x.Ef]:i.sampleRate}})}(e,{linkPreviousTrace:N,consistentTraceSampling:D}),eX.location){if(w){let t=(0,ef.k3)();n2(e,{name:eX.location.pathname,startTime:t?t/1e3:void 0,attributes:{[x.i_]:"url",[x.JD]:"auto.pageload.browser"}})}I&&tA(({to:r,from:n})=>{if(void 0===n&&g?.indexOf(r)!==-1){g=void 0;return}g=void 0;let i=tc(r),a=e[n6],o=a&&R&&function(e,t){let r=(0,U.et)(e),n=(0,ef.lu)();return!(n-r.start_timestamp>1.5)&&(!t||!(n-t<=1.5))}(a,t);n5(e,{name:i?.pathname||eX.location.pathname,attributes:{[x.i_]:"url",[x.JD]:"auto.navigation.browser"}},{url:r,isRedirect:o})})}E&&eX.document&&eX.document.addEventListener("visibilitychange",()=>{let e=(0,U.Bk)();if(!e)return;let t=(0,U.zU)(e);if(eX.document.hidden&&t){let{op:e,status:r}=(0,U.et)(t);r||t.setStatus({code:rm.TJ,message:"cancelled"}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}),l&&(r=e,i=f,o=h,s=p,d=n,eX.document&&addEventListener("click",()=>{let e=function(e){return e[n6]}(r);if(!(e&&["navigation","pageload"].includes((0,U.et)(e).op)))_&&(_.setAttribute(x.fs,"interactionInterrupted"),_.end(),_=void 0),d.name&&(_=rT({name:d.name,op:"ui.action.click",attributes:{[x.i_]:d.source||"url"}},{idleTimeout:i,finalTimeout:o,childSpanTimeout:s}
12))},{capture:!0})),function(e,t){let{traceFetch:r,traceXHR:n,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o,onRequestSpanStart:s,onRequestSpanEnd:l}={...n$,...t},c="function"==typeof i?i:e=>!0,u=e=>(function(e,t){let r=eq();if(r){let n,i;try{n=new URL(e,r),i=new URL(r).origin}catch{return!1}let a=n.origin===i;return t?(0,C.Xr)(n.toString(),t)||a&&(0,C.Xr)(n.pathname,t):a}{let r=!!e.match(/^\/(?!\/)/);return t?(0,C.Xr)(e,t):r}})(e,o),d={},f=e.getOptions().propagateTraceparent;r&&te(t=>{let r=function(e,t,r,n,i){if(!e.fetchData)return;let{method:a,url:o}=e.fetchData,s=(0,rE.f)()&&t(o);if(e.endTimestamp){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(s&&(function(e,t){if(t.response){(0,rm.N8)(e,t.response.status);let r=t.response?.headers?.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:rm.TJ,message:"internal_error"});e.end()}(r,e),function(e,t,r){let n="object"==typeof r&&null!==r?r.onRequestSpanEnd:void 0;n?.(e,{headers:t.response?.headers,error:t.error})}(r,e,i)),delete n[t]);return}let{spanOrigin:l="auto.http.browser",propagateTraceparent:c=!1}="object"==typeof i?i:{spanOrigin:i},u=(0,L.KU)(),d=!!(0,U.Bk)(),f=d||!!u&&(0,eo.K)(u),h=s&&f?(0,rA.Uk)(function(e,t,r){if(e.startsWith("data:")){let n=th(e);return{name:`${t} ${n}`,attributes:nq(e,void 0,t,r)}}let n=tc(e),i=n?tu(n):e;return{name:`${t} ${i}`,attributes:nq(e,n,t,r)}}(o,a,l)):new rg.w,p=(0,rA.r7)(h)&&d?void 0:h;if(s&&!f&&u?.recordDroppedEvent("no_parent_span","span"),e.fetchData.__span=h.spanContext().spanId,n[h.spanContext().spanId]=h,r(e.fetchData.url)){let t=e.args[0],r={...e.args[1]||{}},n=function(e,t,r,n){var i,a;let o=(0,nW.i)({span:r,propagateTraceparent:n}),s=o["sentry-trace"],l=o.baggage,c=o.traceparent;if(!s)return;let u=t.headers||((0,eh.ks)(e)?e.headers:void 0);if(!u)return{"sentry-trace":s,...l&&{baggage:l},...c&&{traceparent:c}};if(i=u,"undefined"!=typeof Headers&&(0,eh.tH)(i,Headers)){let e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",s),n&&c&&!e.get("traceparent")&&e.set("traceparent",c),l){let t=e.get("baggage");t?nY(t)||e.set("baggage",`${t},${l}`):e.set("baggage",l)}return e}if(Array.isArray(a=u)&&a.every(e=>Array.isArray(e)&&2===e.length&&"string"==typeof e[0])){let e=[...u];e.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",s]),n&&c&&!e.find(e=>"traceparent"===e[0])&&e.push(["traceparent",c]);let t=u.find(e=>"baggage"===e[0]&&"string"==typeof e[1]&&nY(e[1]));return l&&!t&&e.push(["baggage",l]),e}{let e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,r="baggage"in u?u.baggage:void 0,i=r?Array.isArray(r)?[...r]:[r]:[],a=r&&(Array.isArray(r)?r.find(e=>nY(e)):nY(r));l&&!a&&i.push(l);let o=Object.assign({},u,{"sentry-trace":e??s,...i.length>0&&{baggage:i.join(",")}});return n&&c&&!t&&(o.traceparent=c),o}}(t,r,(0,rE.f)()&&f?p:void 0,c);n&&(e.args[1]=r,r.headers=n)}if(u){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};u.emit("beforeOutgoingRequestSpan",h,t)}return h}(t,c,u,d,{propagateTraceparent:f,onRequestSpanEnd:l});if(r){let n=nz(t.fetchData.url),i=n?td(n).host:void 0,o=n?th(n):void 0;r.setAttributes({[tz]:o,[tQ]:o,"server.address":i}),a&&nQ(r,e),s?.(r,{headers:t.headers})}}),n&&tS(t=>{let r=function(e,t,r,n,i,a){let o=e.xhr,s=o?.[tg];if(!o||o.__sentry_own_request__||!s)return;let{url:l,method:c}=s,u=(0,rE.f)()&&t(l);if(e.endTimestamp){let t=o.__sentry_xhr_span_id__;if(!t)return;let r=n[t];r&&(u&&void 0!==s.status_code&&((0,rm.N8)(r,s.status_code),r.end(),a?.(r,{headers:nX(function(e){let t;try{t=e.getAllResponseHeaders()}catch(e){return{}}return t?t.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}(o)),error:e.error})),delete n[t]);return}let d=nz(l),f=d?td(d):td(l),h=d?th(d):void 0,p=th(tf(l)),E=(0,L.KU)(),_=!!(0,U.Bk)(),g=_||!!E&&(0,eo.K)(E),S=u&&g?(0,rA.Uk)({name:`${c} ${p}`,attributes:{url:th(l),type:"xhr","http.method":c,"http.url":h,[tQ]:h,"server.address":f?.host,[x.JD]:"auto.http.browser",[x.uT]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new rg.w,m=(0,rA.r7)(S)&&_?void 0:S;return u&&!g&&E?.recordDroppedEvent("no_parent_span","span"),o.__sentry_xhr_span_id__=S.spanContext().spanId,n[o.__sentry_xhr_span_id__]=S,r(l)&&function(e,t,r){let{"sentry-trace":n,baggage:i,traceparent:a}=(0,nW.i)({span:t,propagateTraceparent:r});n&&function(e,t,r,n){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),n&&!i?.traceparent&&e.setRequestHeader("traceparent",n),r){let t=i?.baggage;(!t||!t.split(",").some(e=>e.trim().startsWith("sentry-")))&&e.setRequestHeader("baggage",r)}}catch{}}(e,n,i,a)}(o,(0,rE.f)()&&g?m:void 0,i),E&&E.emit("beforeOutgoingRequestSpan",S,e),S}(t,c,u,d,f,l);r&&(a&&nQ(r,e),s?.(r,{headers:nX(t.xhr.__sentry_xhr_v3__?.request_headers)}))})}(e,{traceFetch:S,traceXHR:m,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:b,enableHTTPTimings:T,onRequestSpanStart:M,onRequestSpanEnd:F}),A&&e.addIntegration(nL())}}};function n2(e,t,r){e.emit("startPageLoadSpan",t,r),(0,L.o5)().setTransactionName(t.name);let n=e[n6];return n&&e.emit("afterStartPageLoadSpan",n),n}function n5(e,t,r){let{url:n,isRedirect:i}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i,url:n}),e.emit("startNavigationSpan",t,{isRedirect:i,url:n});let a=(0,L.o5)();return a.setTransactionName(t.name),n&&!i&&a.setSDKProcessingMetadata({normalizedRequest:{...eJ(),url:n}}),e[n6]}function n3(e){let t=eX.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}function n4(e){let t=eX.performance?.getEntriesByType?.("navigation")[0],r=t?.serverTiming?.find(t=>t.name===e);return r?.description}let n6="_sentry_idleSpan";function n7(e){try{return new URL(e,tp.location.origin).toString()}catch{return e}}let n8=_.O,n9=null,ie=new Map,it=new Map;
12function ir(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function ii(e){if(ie.has(e))return ie.get(e)??null;try{let t=new RegExp(e);return ie.set(e,t),t}catch(t){return rh.T&&g.Yz.warn("Could not compile regex",{regexString:e,error:t}),null}}function ia(){if(!n8?._sentryRouteManifest||"string"!=typeof n8._sentryRouteManifest)return null;let e=n8._sentryRouteManifest;if(n9&&p===e)return n9;ie.clear(),it.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return n9=t,p=e,t}catch{return rh.T&&g.Yz.warn("Could not extract route manifest"),null}}let io=e=>{let t=ia();if(!t)return;let r=e.length>1&&e.endsWith("/")?e.slice(0,-1):e;if(it.has(r))return it.get(r);let{staticRoutes:n,dynamicRoutes:i}=t;if(!Array.isArray(n)||!Array.isArray(i))return;let a=(function(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=ii(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,i=ii(t.regex);i?.test(r)&&n.push(t.path)}}return n})(r,n,i).sort((e,t)=>ir(e)-ir(t))[0];return it.set(r,a),a};var is=r(985735);function il(e){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}function ic(e,t,r){e.setAttributes({[tJ]:t,[tQ]:n7(r)})}let iu="incomplete-app-router-transaction",id="router-patch",ih={current:void 0},ip=_.O,iE=_.O;function i_(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let ig=new WeakSet;function iS(e,t,r){ig.has(t)||(ig.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,i,a){if("router-patch"!==id)return t.apply(i,a);let o=iu,s={[x.uT]:"navigation",[x.JD]:"auto.navigation.nextjs.app_router_instrumentation",[x.i_]:"url"},l=a[0],c=is.env._sentryBasePath??iE._sentryBasePath,u=c&&"string"==typeof l&&!l.startsWith(c)?`${c}${l}`:l;"push"===n?(o=il(i_(u)),s["navigation.type"]="router.push"):"replace"===n?(o=il(i_(u)),s["navigation.type"]="router.replace"):"back"===n?s["navigation.type"]="router.back":"forward"===n&&(s["navigation.type"]="router.forward");let d=io(o),f="back"===n||"forward"===n?void 0:n7(u);return r.current=n5(e,{name:d??o,attributes:{...s,[x.i_]:d?"route":"url",...d&&{[tZ]:d}}},f?{url:f}:void 0),t.apply(i,a)}}))}))}var im=r(366516);let iA=im.events?im:im.default;var iv=r(985735);let ib=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function iT(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:"/";i&&(t=`${i}/${t}`,r="/"===i.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function iy(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}let iO=(e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in _.O&&!!_.O.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let i=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),a=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(i||a){let e,a=i?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,o=t?function(e,t){e=iT(e).slice(1),t=iT(t).slice(1);let r=iy(e.split("/")),n=iy(t.split("/")),i=Math.min(r.length,n.length),a=i;for(let e=0;e<i;e++)if(r[e]!==n[e]){a=e;break}let o=[];for(let e=a;e<r.length;e++)o.push("..");return(o=o.concat(n.slice(a))).join("/")}(t,a):e=function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=ib.exec(t);return r?r.slice(1):[]}(a)[2]||"";n.filename=`${r}${o}`}return n}}({isBrowser:n,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>i(e))}}}})}}}catch{return e}}(t)),t}}},iw=/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js(:\d+)*$/,iC=({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...iO({iteratee:i=>{if(n){let r="undefined"!=typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(r)&&!i.filename.endsWith(".js"))return i;if(e)i.filename?.startsWith(e)&&(i.filename=i.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(i.filename);e===r&&(i.filename=i.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(i.filename);i.filename=i.filename?.replace(e,"app://").replace(r,"")}catch{}return n?i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)):i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(iw)&&(i.in_app=!1),i}}),name:"NextjsClientStackFrameNormalization"});class iI{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}let iR=new iI(100);var iN=r(985735);let iD=_.O;var iP=r(985735);let iL=!1,ik=_.O;var iM=r(237347),iF=r(753762),ix=r(985735);let iU="production",iB="true"===ix.env.NEXT_PUBLIC_SENTRY_DEBUG,iH=["TIMEOUT","DISCONNECT","No error message","Authorization Violation","Authentication Timeout"],iG=/\/executors\/\d+\.js|frame_ant|userscript/i,ij=["https://www.googletagmanager.com/gtm.js"],iV=e=>{var t,r,n,i;let a=null===(i=e.exception)||void 0===i?void 0:null===(n=i.values)||void 0===n?void 0:null===(r=n[0])||void 0===r?void 0:null===(t=r.stacktrace)||void 0===t?void 0:t.frames;return!!(null==a?void 0:a.some(e=>{var t;return ij.includes(null!==(t=null==e?void 0:e.filename)&&void 0!==t?t:"")}))};if(globalThis._sentryRewritesTunnelPath=void 0,globalThis.SENTRY_RELEASE={id:"8.0.2_groww-web-prod"},globalThis._sentryBasePath=void 0,globalThis._sentryNextJsVersion="15.2.9",globalThis._sentryRewriteFramesAssetPrefixPath="/web-assets/billion_groww_desktop/prod",globalThis._sentryAssetPrefix="//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod",globalThis._sentryExperimentalThirdPartyOriginStackFrames=void 0,globalThis._sentryRouteManifest='{"isrRoutes":[],"dynamicRoutes":[],"staticRoutes":[]}',iU){!function(e){if(iL&&(0,g.pq)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),iL=!0,!rh.T&&e.debug&&(0,g.pq)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),"undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__){eX.document&&function(e){let t=io(e)||e,r=iR.get(t);if(void 0!==r)return r;let n=ia();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return iR.set(t,!1),!1;let i=n.isrRoutes.includes(t);return iR.set(t,i),i}(eX.location.pathname)&&(t("sentry-trace"),t("baggage"));function t(e){try{let t=eX.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}let r={environment:e.environment||iP.env.SENTRY_ENVIRONMENT||function(e){let t=e?rp.env.NEXT_PUBLIC_VERCEL_ENV:rp.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=ru(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=n1({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){!nZ()&&(n&&function(e){if(eX.document.getElementById("__NEXT_DATA__"))"false"!==iv.env._sentryHasPagesRouter&&iA.events.on("routeChangeStart",t=>{let r,n,i=tf(t),a=function(e){let t=eX.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(i);a?(r=a,n="route"):(r=i,n="url"),n5(e,{name:r,attributes:{[x.uT]:"navigation",[x.JD]:"auto.navigation.nextjs.pages_router_instrumentation",[x.i_]:n,..."route"===n&&{[tZ]:r}}},{url:n7(t)})});else{(t,r)=>{let n=is.env._sentryBasePath??iE._sentryBasePath,i=n&&!t.startsWith(n)?`${n}${t}`:t,a=il(new URL(i,eX.location.href).pathname),o=io(a),s=o??a;"router-patch"===id&&(id="transition-start-hook");let l=ih.current;l?(l.updateName(s),l.setAttributes({"navigation.type":`router.${r}`,[x.i_]:o?"route":"url",...o&&{[tZ]:o}}),ic(l,a,i),ih.current=void 0):n5(e,{name:s,attributes:{[x.uT]:"navigation",[x.JD]:"auto.navigation.nextjs.app_router_instrumentation",[x.i_]:o?"route":"url","navigation.type":`router.${r}`,...o&&{[tZ]:o}}},{url:n7(i)})},eX.addEventListener("popstate",()=>{let t=il(eX.location.pathname),r=io(t);ih.current?.isRecording()?(ih.current.updateName(r??t),ih.current.setAttribute(x.i_,r?"route":"url"),r&&ih.current.setAttribute(tZ,r),ic(ih.current,t,eX.location.href)):ih.current=n5(e,{name:r??t,attributes:{[x.JD]:"auto.navigation.nextjs.app_router_instrumentation",[x.i_]:r?"route":"url","navigation.type":"browser.popstate",...r&&{[tZ]:r}}},{url:n7(t)})});let t=!1,r=0,n=setInterval(()=>{r++;let i=ip?.next?.router??ip?.nd?.router;t||r>500?clearInterval(n):i&&(clearInterval(n),t=!0,iS(e,i,ih),["nd","next"].forEach(t=>{let r=ip[t];r&&(ip[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&iS(e,n,ih),t[r]=n,!0)}))}))},20)}}(e),t.afterAllSetup(e),r&&function(e){if(eX.document.getElementById("__NEXT_DATA__")){let{route:t,params:r,sentryTrace:n,baggage:i}=function(){let e,t=eX.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{rh.T&&g.Yz.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:i,props:a}=e;return r.route=n,r.params=i,a?.pageProps&&(r.sentryTrace=a.pageProps._sentryTraceData,r.baggage=a.pageProps._sentryBaggage),r}(),a=(0,nK.D0)(i),o=t||eX.location.pathname;a?.["sentry-transaction"]&&"/_error"===o&&(o=(o=a["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=(0,ef.k3)();n2(e,{name:o,startTime:s?s/1e3:void 0,attributes:{[x.uT]:"pageload",[x.JD]:"auto.pageload.nextjs.pages_router_instrumentation",[x.i_]:t?"route":"url",...t&&{[tZ]:t},...r&&{...r}}},{sentryTrace:n,baggage:i})}else{let t=il(eX.location.pathname),r=io(t),n=(0,ef.k3)();n2(e,{name:r??t,startTime:n?n/1e3:void 0,attributes:{[x.uT]:"pageload",[x.JD]:"auto.pageload.nextjs.app_router_instrumentation",[x.i_]:r?"route":"url",...r&&{[tZ]:r}}})}}(e))}}}());let r=iP.env._sentryBasePath||ik._sentryBasePath,n="true"===iP.env._experimentalThirdPartyOriginStackFrames||"true"===ik._experimentalThirdPartyOriginStackFrames;return t.push(iC({assetPrefix:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod",basePath:r,rewriteFramesAssetPrefixPath:"/web-assets/billion_groww_desktop/prod",experimentalThirdPartyOriginStackFrames:n})),t}(e),release:"8.0.2_groww-web-prod",...e};(function(e){let t=iN.env._sentryRewritesTunnelPath||iD._sentryRewritesTunnelPath;if(t&&e.dsn){let r=(0,X.hH)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let i=n[1],a=n[2],o=`${t}?o=${i}&p=${r.projectId}`;a&&(o+=`&r=${a}`),e.tunnel=o,rh.T&&g.Yz.log(`Tunneling events to "${o}"`)}else rh.T&&g.Yz.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}})(r),m(r,"nextjs",["nextjs","react"]),r.ignoreSpans=[...r.ignoreSpans||[],/^\/404$/,RegExp(`^${iu}$`)],function(e){let t={...e};
12m(t,"react"),(0,A.o)("react",{version:rd.version});let r=function(e={}){var t;let r=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===eX.window||eX.nw)return!1;let e=eX.chrome||eX.browser;if(!e?.runtime?.id)return!1;let t=eq();return!(eX===eX.top&&/^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(t))}(),n=null==e.defaultIntegrations?ru():e.defaultIntegrations,i={...e,enabled:!r&&e.enabled,stackParser:(0,H.vk)(e.stackParser||ri),integrations:function(e){let t,r=e.defaultIntegrations||[],n=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))t=[...r,...n];else if("function"==typeof n){let e=n(r);t=Array.isArray(e)?e:[e]}else t=r;let i={};return t.forEach(e=>{let{name:t}=e,r=i[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(i[t]=e)}),Object.values(i)}({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||rs};(0,W.Ip)(rc),!0===i.debug&&(v.T?g.Yz.enable():(0,g.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,L.o5)().update(i.initialScope);let a=new eZ(i);return t=a,(0,L.o5)().setClient(t),a.init(),a}(t);(0,W.Ip)(rf)}(r);let n=(e,t)=>{var r;return(r=t?.originalException,(0,eh.bJ)(r)&&"string"==typeof r.digest&&r.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};n.id="NextRedirectErrorFilter",(0,A.SA)(n)}({environment:iU,debug:iB,dsn:"https://[email protected]/6308048",release:"".concat((0,iM.i)(),"_groww-web-").concat("prod"),integrations:e=>e.filter(e=>"BrowserTracing"!==e.name),ignoreErrors:["Cannot read properties of undefined (reading 'componentStack')","Cannot read property 'componentStack' of undefined","Cannot read properties of null (reading 'postMessage')","Non-Error exception captured with keys: details, error","NotAllowedError: Write permission denied.","Network Error","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.","Failed to execute 'pushState' on 'History'","Non-Error exception captured with keys: currentTarget, isTrusted, target, type","Cannot read properties of undefined (reading 'startTime')","Cannot read property 'getInitialProps' of undefined","undefined is not an object (evaluating 'window.webkit.messageHandlers')","Cannot read properties of undefined (reading 'x')","Failed to connect to MetaMask","shouldSetPelagusForCurrentProvider is not a function","func sseError not found","Object Not Found Matching Id","signal is aborted without reason","Request aborted","ResizeObserver loop completed with undelivered notifications","WebGL is not supported in this browser"],denyUrls:[/extensions\//i,/^chrome:\/\//i,/^(chrome|moz|safari(-web)?)-extension:\/\//i,/www\.googletagmanager\.com/i,/faro-web-tracing/i],tracesSampleRate:.01,sampleRate:.75,beforeSend:(e,t)=>{var r,n,i,a,o,s,l;let c=t.originalException,u=null!==(o=null==c?void 0:c.message)&&void 0!==o?o:"";if(/Request failed with status code 404/i.test(u)&&(null===(s=e.breadcrumbs)||void 0===s?void 0:s.some(e=>{var t,r;return(null==e?void 0:e.category)==="xhr"&&(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.status_code)===404&&(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.url)==="https://groww.in/v1/api/user/v1/login/previous_mobile"}))||/Invariant: attempted to hard navigate to the same URL (\/help\/gethelp|\/user\/help\/chat)/i.test(u))return null;let d=null===(n=e.exception)||void 0===n?void 0:null===(r=n.values)||void 0===r?void 0:r[0],f=null==d?void 0:d.type,h=null!==(l=null==d?void 0:d.value)&&void 0!==l?l:"";return"NatsError"===f&&iH.some(e=>h.includes(e))||"UnhandledRejection"===f&&h.includes("Non-Error promise rejection captured with value: NATS connection failed")||"TypeError"===f&&h.includes("window.webkit.messageHandlers")||"Event"===f&&"Event"===h||(null==d?void 0:null===(a=d.stacktrace)||void 0===a?void 0:null===(i=a.frames)||void 0===i?void 0:i.some(e=>{var t;return iG.test(null!==(t=null==e?void 0:e.filename)&&void 0!==t?t:"")}))||iV(e)?null:e}});let e=e=>{var t;let r=null==e?void 0:null===(t=e.userData)||void 0===t?void 0:t.third_party_id;(0,A.gV)(r?{id:r}:null)};e(iF.f.getState()),iF.f.subscribe(e)}},160560:(e,t,r)=>{"use strict";var n=r(407178),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,o=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,u=n[1];return s(function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})},[e,r,t]),o(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},163244:(e,t)=>{"use strict";let r;
12Object.defineProperty(t,"__esModule",{value:!0}),t.getEd25519Helper=t.setEd25519Helper=void 0,t.setEd25519Helper=function(e){r=e},t.getEd25519Helper=function(){return r}},163702:(e,t,r)=>{"use strict";r.d(t,{$w:()=>i,Vh:()=>a,jZ:()=>o,oR:()=>s});var n=r(418302);let i=e=>({type:n.Z_,payload:e}),a=e=>({type:n.I8,payload:e}),o=e=>({type:n.HE,payload:e}),s=e=>({type:n.IK,payload:e})},166624:e=>{e.exports={headerContainer:"header2025_headerContainer__WqMf9"}},166778:(e,t,r)=>{"use strict";r.d(t,{Xo:()=>a,eU:()=>o});var n=r(647005);let i={...n.aH,FAMILY_ACCOUNTS_DATA:"fadacdmctioa",USER_STOCKS_PREFERENCE:"sdsdfbshdbvh",SEARCH_EXPIRY_TIME_IN_MIN:1,FIREBASE_TOKEN:"hldtnvcjjoz2455bcsqruk6438",LAST_DASH_VISITED:"dashLastVisited1",STOCK_DASHBOARD_STATE:"sdsasdsdasdsaa3ads",MB_ANNOUNCEMENT:"sdghasfjgdsfjhgtabgr",USER_LOGGED_IN_TIME:"asfoasdaereanadostirnad",SHOW_MUHURUT_WIDGET:"SHOW_MUHURUT_WIDGET",WEB_BALANCE_FTUX:"WEB_BALANCE_FTUX"};function a(e){n.cT(n.ZE.LOCAL_STORAGE,i.FAMILY_ACCOUNTS_DATA,e,!0)}function o(){n.cT(n.ZE.LOCAL_STORAGE,i.USER_LOGGED_IN_TIME,new Date().getTime(),!1)}},166794:(e,t,r)=>{"use strict";r.d(t,{H:()=>p});var n=r(730884),i=r(261762),a=r(779126),o=r(198328),s=r(483764),l=r(320900),c=r(950565),u=r(306101),d=r(699347),f=r(122677),h=r(365);class p{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:(0,c.e)(),sampleRand:(0,u.hY)()}}clone(){let e=new p;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,(0,d.r)(e,(0,d.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,i.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:n,extra:i,user:a,contexts:s,level:l,fingerprint:c=[],propagationContext:u,conversationId:d}=(t instanceof p?t.getScopeData():(0,o.Qd)(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...n},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},a&&Object.keys(a).length&&(this._user=a),l&&(this._level=l),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,(0,d.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,c.e)(),sampleRand:(0,u.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:(0,h.lu)(),...e,message:e.message?(0,f.xv)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,d.f)(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,s.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}
12captureException(e,t){let r=t?.event_id||(0,l.eJ)();if(!this._client)return n.T&&a.Yz.warn("No client configured on scope - will not capture exception!"),r;let i=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureMessage(e,t,r){let i=r?.event_id||(0,l.eJ)();if(!this._client)return n.T&&a.Yz.warn("No client configured on scope - will not capture message!"),i;let o=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...r,event_id:i},this),i}captureEvent(e,t){let r=e.event_id||t?.event_id||(0,l.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):n.T&&a.Yz.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},170742:function(e,t,r){var n;e.exports=n||function(e,t){if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(771922)}catch(e){}var n,i=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),o={},s=o.lib={},l=s.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=l.extend({init:function(e,r){e=this.words=e||[],t!=r?this.sigBytes=r:this.sigBytes=4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a<i;a++){var o=r[a>>>2]>>>24-a%4*8&255;t[n+a>>>2]|=o<<24-(n+a)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=0xffffffff<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new c.init(t,e)}}),u=o.enc={},d=u.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var a=t[i>>>2]>>>24-i%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},f=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var a=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(f.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return f.parse(unescape(encodeURIComponent(e)))}},p=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,a=n.sigBytes,o=this.blockSize,s=a/(4*o),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,u=e.min(4*l,a);if(l){for(var d=0;d<l;d+=o)this._doProcessBlock(i,d);r=i.splice(0,l),n.sigBytes-=u}return new c.init(r,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=p.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new E.HMAC.init(e,r).finalize(t)}}});var E=o.algo={};return o}(Math)},176366:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_225)"},n.createElement("path",{fill:"currentColor",d:"M14.95 12q0 .2-.062.375a.9.9 0 0 1-.213.325l-4.6 4.6a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275.95.95 0 0 1-.275-.7q0-.425.275-.7l3.9-3.9-3.9-3.9a.95.95 0 0 1-.275-.7q0-.425.275-.7a.95.95 0 0 1 .7-.275q.425 0 .7.27
125l4.6 4.6q.15.15.212.325.063.175.063.375"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_225"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},177094:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/q.c0b8703f.svg",height:135,width:135,blurWidth:0,blurHeight:0}},177143:(e,t,r)=>{"use strict";e.exports=a;var n=r(957900);(a.prototype=Object.create(n.prototype)).constructor=a;var i=r(841111);function a(){n.call(this)}function o(e,t,r){e.length<40?i.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}a._configure=function(){a.alloc=i._Buffer_allocUnsafe,a.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n<e.length;)t[r++]=e[n++]}},a.prototype.bytes=function(e){i.isString(e)&&(e=i._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a.writeBytesBuffer,t,e),this},a.prototype.string=function(e){var t=i.Buffer.byteLength(e);return this.uint32(t),t&&this._push(o,t,e),this},a._configure()},181109:(e,t,r)=>{var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(e){return e&&e.__esModule?e:{default:e}}(r(570970)),a=r(31134);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){if(e&&e[t]&&"function"==typeof e[t])try{for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];e[t].apply(e,n)}catch(e){console.error(e)}}e.exports=function(e){return function(t){return function(r){var l,c,u,d,f,h,p,E,_;return null==r?null:(l=r.promise)&&"function"==typeof l.then?(c=e.dispatch,u=e.getState,f=r.promise,h=r.type,p=r.payload,E=r.meta,_=i.default.v4(),c({type:h,payload:p,meta:n({},E,(o(d={},a.KEY.LIFECYCLE,a.LIFECYCLE.START),o(d,a.KEY.TRANSACTION,_),d))}),s(E,"onStart",p,u),f.then(function(e){var t;return c({type:h,payload:e,meta:n({},E,(o(t={startPayload:p},a.KEY.LIFECYCLE,a.LIFECYCLE.SUCCESS),o(t,a.KEY.TRANSACTION,_),t))}),s(E,"onSuccess",e,u),s(E,"onFinish",!0,u),{payload:e}},function(e){var t;return c({type:h,payload:e,error:!0,meta:n({},E,(o(t={startPayload:p},a.KEY.LIFECYCLE,a.LIFECYCLE.FAILURE),o(t,a.KEY.TRANSACTION,_),t))}),s(E,"onFailure",e,u),s(E,"onFinish",!1,u),{error:!0,payload:e}})):t(r)}}}},183618:(e,t,r)=>{"use strict";r.d(t,{O:()=>i});var n=r(713885);let i=()=>{let e=null;return{getSignal:()=>(e&&e.abort(),(e=new AbortController).signal),cancel:()=>{e&&(e.abort(),e=null)},isAbortError:e=>n.A.isCancel(e)}}},185005:e=>{e.exports={overlay:"Snackbar_overlay__GPR0X",slideIn:"Snackbar_slideIn__bEzkD",inline:"Snackbar_inline___lSFF",container:"Snackbar_container__B3xze",content:"Snackbar_content__BlshF",action:"Snackbar_action__nVB4g",fadeOut:"Snackbar_fadeOut__cZr3N"}},185055:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(986594),i=r(407178),a=r(951402);let o=e=>{let[t,o]=(0,i.useState)(null),{width:s,height:l,status:c}=e;return((0,i.useEffect)(()=>{let e=!0;return Promise.all([r.e(44986),r.e(73173),r.e(1338)]).then(r.bind(r,401338)).then(t=>{e&&o(t)}).catch(e=>{console.error("error is",e)}),()=>{e=!1}},[]),(0,a.a)(t))?(0,n.jsx)("div",{style:{width:s,height:l,margin:"0 auto"},children:c}):(0,n.jsx)(t.default,{...e})},s=o;o.defaultProps={width:100,height:100,status:"",loop:!1,autoplay:!0,animation:"",playOnHover:!1,isPlaying:!1}},186815:(e,t,r)=>{"use strict";var n=r(63357),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=u(r);
12d&&(o=o.concat(d(r)));for(var s=l(t),E=l(r),_=0;_<o.length;++_){var g=o[_];if(!a[g]&&!(n&&n[g])&&!(E&&E[g])&&!(s&&s[g])){var S=f(r,g);try{c(t,g,S)}catch(e){}}}}return t}},187852:(e,t,r)=>{"use strict";t.Service=r(242852)},188595:(e,t,r)=>{"use strict";r.d(t,{Be:()=>U,DH:()=>L,GH:()=>x,I:()=>b,NG:()=>C,PY:()=>B,Qe:()=>m,R:()=>k,RE:()=>P,S4:()=>F,SG:()=>w,Ui:()=>v,Vx:()=>R,_h:()=>y,cJ:()=>I,gB:()=>D,gL:()=>g,hz:()=>N,jT:()=>M,kQ:()=>A,nt:()=>T,tI:()=>H,wG:()=>S,xv:()=>O});var n=r(320876),i=r(132978),a=r(801398),o=r(202817),s=r(951402),l=r(299168),c=r(744620),u=r(270230),d=r(866607),f=r(135956),h=r(47360),p=r(907266);let E=()=>{var e;return{uuid:(0,l.Gn)(),userAgent:"undefined"!=typeof navigator?null===(e=navigator)||void 0===e?void 0:e.userAgent:{}}};function _(){let e=(0,n.createUser)(),t=e.getSeed(),r=(0,n.encode)(t);return(0,l.$q)(r),e.getPublicKey()}function g(e,t,r,n,i){let a=(0,o.C4)(),s={create_groww_account:!0,email_id:e,first_name:t,mobile_number:null,otp:n,password:r,password_repeat:r,role:"USER",utm_medium:i?i.utm_medium:"",utm_source:i?i.utm_source:"",utm_campaign:i?i.utm_campaign:"",utm_ref_code:i?i.utm_ref_code:"",user_attributes:{...a,...E()}};return u.SP.post("/v1/api/user/v2/register",s)}function S(e){return u.SP.post("/v1/api/user/v1/register/email_otp/send",{emailId:e})}function m(e,t){return u.SP.post("/v1/api/user/v1/register/email_otp/validate",{emailId:e,otp:t})}function A(e){return u.SP.post("/v1/api/user/v1/register/email/init",{emailId:e})}function v(e,t){return u.SP.post("/v1/api/user/v1/register/email/validate",{emailId:e,otp:t})}function b(e){return u.SP.post("/v1/api/user/v1/login/reset/otp",{login_with_mobile_no:!1,login_with_otp:!1,otp:null,password:"",user_id:e})}function T(e,t,r){return u.SP.post("/v1/api/user/v1/login/change_pwd",{login_with_mobile_no:!0,login_with_otp:!0,otp:t,password:e,user_id:r||null})}function y(e,t){let r={gmailLogin:!1,emailId:e,password:t,userAttributes:{...(0,o.C4)(),...E()}};return u.SP.post("/v1/api/user/core/auth/login/email",r).then(t=>{let{data:r}=t,n=new Date,a=n.getHours()+":"+n.getMinutes()+":"+n.getSeconds(),o={responseData:JSON.stringify(r),email:e,fromGmail:!1,time:a};return r||(0,i.s)(d.A.Login,h.A.ResponseDataEmpty,o),""===r.authToken?(0,i.s)(d.A.Login,h.A.AuthTokenEmpty,o):(null===r.authToken||void 0===r.authToken)&&(0,i.s)(d.A.Login,h.A.AuthTokenUndefined,o),t})}function O(e){return u.SP.post("/v1/api/user/v2/login/check_email",{emailId:e})}function w(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=(0,o.C4)(),s={gmailLogin:!0,userId:n,idToken:e,accessToken:t,utmMedium:null!=r?r.utm_medium:"",utmSource:null!=r?r.utm_source:"",utmCampaign:null!=r?r.utm_campaign:"",utmRefCode:null!=r?r.utm_ref_code:"",userAttributes:{...a,...E()}};return new Promise((e,t)=>{u.SP.post("/v1/api/user/core/auth/login/gmail",s).then(t=>{let{data:r}=t,a=new Date,o=a.getHours()+":"+a.getMinutes()+":"+a.getSeconds(),s={responseData:JSON.stringify(r),email:n,fromGmail:!0,time:o};(null==r||void 0===r)&&(0,i.s)(d.A.Login,h.A.ResponseDataEmpty,s),""===r.authToken?(0,i.s)(d.A.Login,h.A.AuthTokenEmpty,s):(null===r.authToken||void 0===r.authToken)&&(0,i.s)(d.A.Login,h.A.AuthTokenUndefined,s),e(t)}).catch(e=>{t(e)})})}function C(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=(0,o.C4)(),i={gmailLogin:!0,emailId:r,idToken:e,utmMedium:(0,s.a)(t)?"":t.utm_medium,utmSource:(0,s.a)(t)?"":t.utm_source,utmCampaign:(0,s.a)(t)?"":t.utm_campaign,utmRefCode:(0,s.a)(t)?"":t.utm_ref_code,userAttributes:{...n,...E()}};return u.SP.post("/v1/api/user/auth/signup/gmail",i)}function I(e){return u.SP.post("/v1/api/user/v1/auth/pin/create",e,{headers:{"X-USER-NKEY":_()}})}function R(e,t){let r="/v1/api/user/v2/auth/pin/send_otp?resendFlag=".concat((0,s.J)(String(e)));return u.SP.post(r,{passCode:t},{metadata:{urlTemplate:"/v1/api/user/v2/auth/pin/send_otp"}})}function N(e){return u.SP.post("/v1/api/user/v1/auth/pin/update",e,{headers:{"X-USER-NKEY":_()}})}function D(e){if((0,a.$v)())return p.gB();let t="/v1/api/user/v2/auth/pin_status";return"desktop"===c.Eg.CHARTS?u.SP.get(t):(0,u.RB)(t,e)}function P(){return(0,a.$v)()?p.RE():u.SP.post("/v1/api/user/v1/register/device/otp/send")}function L(e){return(0,a.$v)()?p.DH(e):u.SP.post("/v1/api/user/v1/register/device/otp/validate",e)}function k(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return u.SP.post("/v1/api/user/v1/register/new/mobile_number",{mobileNumber:e,link:t,countryCode:"91"})}function M(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a="/v1/api/user/v3/register/validate/new_mobile?link=".concat(t,"&resendFlag=").concat(r,"&unblockLogin=").concat(n,"&callResend=").concat(i);return u.SP.post(a,e,{metadata:{urlTemplate:"/v1/api/user/v3/register/validate/new_mobile"}})}function F(){return new Promise(e=>{((0,a.KJ)()?p.pf():((0,f.ki)(),u.SP.post("/v1/api/user/v1/auth/logout"))).then(()=>{(0,i.s)(d.A.Login,h.A.LogoutSuccess),e(!0)}).catch(t=>{(0,i.s)(d.A.Login,h.A.LogoutFailed),console.error("Error in logging out user: ",t),e(!0)})})}function x(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t?p.GH(e):u.SP.post("/v1/api/user/v2/auth/pin/validate",e,{headers:{"X-USER-NKEY":_()}})}function U(e){let t={refreshToken:e?(0,l.ve)():"Bearer ".concat((0,l.ve)())};return u.SP.post("/v1/api/user/v1/auth/token/refresh",t)}function B(e){return u.SP.get("/v1/api/apex/oauth2/v1/authorize",{params:e})}function H(e){return u.SP.get("/v1/api/apex/oauth2/v1/consent/page/".concat(e),{metadata:{urlTemplate:"/v1/api/apex/oauth2/v1/consent/page/{clientId}"}})}},188635:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>h,d8:()=>u,mj:()=>d,om:()=>l,qF:()=>c,rx:()=>f});var n=r(986594),i=r(407178),a=r(743544),o=r.n(a);class s extends i.PureComponent{render(){let{addCls:e}=this.props;return(0,n.jsx)("div",{className:"".concat(e," ph-item backgroundPrimary"),children:this.props.children})}}s.propTypes={addCls:o().string},s.defaultProps={addCls:"col s12"};let l=e=>{let{children:t,addCls:r,colNo:i}=e;return(0,n.jsx)("div",{className:"".concat(r," ph-col-").concat(i),children:t})};l.propTypes={addCls:o().string,colNo:o().oneOfType([o().string,o().number])},l.defaultProps={addCls:"",colNo:12};let c=e=>{let{children:t,addCls:r,styleObj:i}=e;return(0,n.jsx)("div",{className:"".concat(r," ph-row"),style:i,children:t})};
12c.propTypes={addCls:o().string,styleObj:o().object},c.defaultProps={addCls:"",styleObj:null};let u=e=>{let{width:t,height:r,borderRadius:i,margin:a,type:o}=e,s=i,l=r;return"circle"===o&&(s="50%",l=t),(0,n.jsx)("div",{className:"ph-picture",style:{width:t,height:l,borderRadius:s,margin:a}},o)};u.propTypes={width:o().oneOfType([o().string,o().number]),height:o().oneOfType([o().string,o().number]),borderRadius:o().oneOfType([o().string,o().number]),margin:o().string,type:o().string},u.defaultProps={width:30,height:30,borderRadius:5,margin:"0px",type:"rect"};let d=e=>{let{diameter:t,margin:r,parentClass:i}=e;return(0,n.jsx)(s,{addCls:i,children:(0,n.jsx)(l,{children:(0,n.jsx)(c,{children:(0,n.jsx)(u,{width:t,height:t,type:"circle",margin:r})})})})};d.propTypes={diameter:o().number.isRequired,margin:o().string,parentClass:o().string},d.defaultProps={margin:"0px",parentClass:""};let f=e=>{let{height:t,width:r,borderRadius:i,margin:a,parentClass:o}=e;return(0,n.jsx)(s,{addCls:o,children:(0,n.jsx)(l,{children:(0,n.jsx)(c,{children:(0,n.jsx)(u,{width:r,height:t,type:"rect",margin:a,borderRadius:i})})})})};f.propTypes={height:o().oneOfType([o().string,o().number]).isRequired,width:o().oneOfType([o().string,o().number]).isRequired,borderRadius:o().number,margin:o().string,parentClass:o().string},f.defaultProps={borderRadius:5,margin:"0",parentClass:""};let h=s},189189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.crc16=void 0;let r=new Uint16Array([0,4129,8258,12387,16516,20645,24774,28903,33032,37161,41290,45419,49548,53677,57806,61935,4657,528,12915,8786,21173,17044,29431,25302,37689,33560,45947,41818,54205,50076,62463,58334,9314,13379,1056,5121,25830,29895,17572,21637,42346,46411,34088,38153,58862,62927,50604,54669,13907,9842,5649,1584,30423,26358,22165,18100,46939,42874,38681,34616,63455,59390,55197,51132,18628,22757,26758,30887,2112,6241,10242,14371,51660,55789,59790,63919,35144,39273,43274,47403,23285,19156,31415,27286,6769,2640,14899,10770,56317,52188,64447,60318,39801,35672,47931,43802,27814,31879,19684,23749,11298,15363,3168,7233,60846,64911,52716,56781,44330,48395,36200,40265,32407,28342,24277,20212,15891,11826,7761,3696,65439,61374,57309,53244,48923,44858,40793,36728,37256,33193,45514,41451,53516,49453,61774,57711,4224,161,12482,8419,20484,16421,28742,24679,33721,37784,41979,46042,49981,54044,58239,62302,689,4752,8947,13010,16949,21012,25207,29270,46570,42443,38312,34185,62830,58703,54572,50445,13538,9411,5280,1153,29798,25671,21540,17413,42971,47098,34713,38840,59231,63358,50973,55100,9939,14066,1681,5808,26199,30326,17941,22068,55628,51565,63758,59695,39368,35305,47498,43435,22596,18533,30726,26663,6336,2273,14466,10403,52093,56156,60223,64286,35833,39896,43963,48026,19061,23124,27191,31254,2801,6864,10931,14994,64814,60687,56684,52557,48554,44427,40424,36297,31782,27655,23652,19525,15522,11395,7392,3265,61215,65342,53085,57212,44955,49082,36825,40952,28183,32310,20053,24180,11923,16050,3793,7920]);class n{static checksum(e){let t=0;for(let n=0;n<e.byteLength;n++)t=t<<8&65535^r[(t>>8^e[n])&255];return t}static validate(e,t){return n.checksum(e)==t}}t.crc16=n},189532:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var n=r(407178),i=r(132978),a=r(12865),o=r(493973),s=r(251355),l=r(777971),c=r(801398),u=r(238460),d=r(135956),f=r(866607),h=r(166778),p=r(47360);function E(){let e=(0,n.useCallback)(()=>{(0,o.Lj)(a.pC.NEVER),(0,u.N)()&&(0,s.MU)()&&(0,s._9)()},[]),t=(0,n.useCallback)(()=>{(0,i.s)(f.A.Dev,p.A.PopupDismissClick,{url:window.location.href}),e()},[e]),r=(0,n.useCallback)(()=>{(0,i.s)(f.A.PostSignup,p.A.ContinueWithOtherEmail),(0,o.Lj)(a.pC.LOGIN)},[]),E=(0,n.useCallback)(()=>{let e=(0,u.N)(!1),t=(0,u.N)(!0);e&&!t?(0,o.mU)(!0):e||r()},[r]),_=(0,n.useCallback)(()=>{(0,h.eU)(),(0,l.k)(),(0,o.zK)(!0),(0,c.KJ)()||(0,d.g7)()},[]),g=(0,n.useCallback)(e=>{(0,o.PF)(!0),e?(0,o.mU)():r()},[r]),S=(0,n.useCallback)(e=>{let t=(0,u.N)();e?g(t):t?_():r()},[r,g,_]),m=(0,n.useCallback)(e=>{(0,i.s)(f.A.ChangePassword,p.A.ForgotPassword,{isOnix:(0,c.KJ)(),source:"login popup"}),(0,o.WJ)(e,a.pC.FORGOT_PASSWORD)},[]),A=(0,n.useCallback)(()=>{(0,o.Lj)(a.pC.TWOFA_FORGOT_PIN)},[]),v=(0,n.useCallback)(e=>{(0,o.pb)(e,a.pC.TWOFA_ENTER_OTP)},[]),b=(0,n.useCallback)(()=>{(0,o.Lj)(a.pC.TWOFA_CONGRATS),setTimeout(()=>{e(),(0,s._9)()},2e3)},[]);return{handleAllLoginPopupClose:e,handleLoginInPopupClose:t,handleLoginButtonClick:E,openLoginPinPopup:S,onLoginSuccessFromHooks:_,onLoginClick:r,onF
12orgotPasswordClick:m,onForgotPinClick:A,onPinSetCallback:v,onEnterOtpCallback:b,onDeviceRegisterOtpCallback:(0,n.useCallback)(()=>{(0,o.Ku)(!0),(0,o.Lj)(a.pC.TWOFA_ENTER_PIN)},[])}}},189988:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_271)"},n.createElement("path",{fill:"currentColor",d:"M12 21q-3.15 0-5.575-1.913Q4 17.176 3.275 14.2a.74.74 0 0 1 .15-.687.97.97 0 0 1 .675-.363q.4-.05.725.15t.45.6q.6 2.25 2.475 3.675T12 19q2.925 0 4.962-2.038T19 12t-2.038-4.962T12 5a6.75 6.75 0 0 0-3.225.8A7.4 7.4 0 0 0 6.25 8H8q.424 0 .713.287Q9 8.576 9 9q0 .424-.287.713A.97.97 0 0 1 8 10H4a.97.97 0 0 1-.712-.287A.97.97 0 0 1 3 9V5q0-.424.288-.713A.97.97 0 0 1 4 4q.424 0 .713.287Q5 4.576 5 5v1.35a8.7 8.7 0 0 1 3.113-2.475A8.9 8.9 0 0 1 12 3q1.874 0 3.512.712a9.2 9.2 0 0 1 2.85 1.926 9.2 9.2 0 0 1 1.926 2.85A8.7 8.7 0 0 1 21 12q0 1.874-.712 3.512a9.2 9.2 0 0 1-1.925 2.85 9.2 9.2 0 0 1-2.85 1.926A8.7 8.7 0 0 1 12 21m1-9.4 2.5 2.5a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275l-2.8-2.8a1 1 0 0 1-.225-.337 1 1 0 0 1-.075-.388V8q0-.424.287-.713A.97.97 0 0 1 12 7q.424 0 .713.287Q13 7.576 13 8z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_271"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},190386:(e,t,r)=>{"use strict";r.d(t,{sx:()=>n.sx});var n=r(231010)},194536:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,u:()=>a});var n=r(642803),i=r(428103);let a={schemeDetailsError:!1,schemeDetailsLoading:!0,schemeDetails:{},sipDatesError:!1,sipDatesLoading:!0,sipDates:{}};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case i.P.GET_SCHEME_DETAILS:var o=e,s=t;let{payload:l}=s,{data:c,error:u}=null!=l?l:{};return(0,n.handle)(o,s,{success:e=>({...e,schemeDetailsLoading:!1,schemeDetails:c}),failure:e=>({...e,schemeDetailsLoading:!1,schemeDetailsError:u})});case i.P.GET_SIP_DATES:var d=e,f=t;let{payload:h}=f,{data:p,error:E}=null!=h?h:{};return(0,n.handle)(d,f,{success:e=>({...e,sipDatesLoading:!1,sipDates:p}),failure:e=>({...e,sipDatesLoading:!1,sipDatesError:E})});default:return e}}},198328:(e,t,r)=>{"use strict";r.d(t,{BD:()=>s,Kg:()=>c,NF:()=>u,Qd:()=>f,Qg:()=>_,T2:()=>o,W6:()=>l,Z4:()=>h,bJ:()=>i,gd:()=>E,ks:()=>S,sO:()=>d,tH:()=>g,xH:()=>p});let n=Object.prototype.toString;function i(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return g(e,Error)}}function a(e,t){return n.call(e)===`[object ${t}]`}function o(e){return a(e,"ErrorEvent")}function s(e){return a(e,"DOMError")}function l(e){return a(e,"DOMException")}function c(e){return a(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return a(e,"Object")}function h(e){return"object"==typeof e&&null!==e}function p(e){return"undefined"!=typeof Event&&g(e,Event)}function E(e){return a(e,"RegExp")}function _(e){return!!(e?.then&&"function"==typeof e.then)}function g(e,t){try{return e instanceof t}catch{return!1}}function S(e){return"undefined"!=typeof Request&&g(e,Request)}},199765:(e,t,r)=>{"use strict";r.d(t,{$l:()=>l,No:()=>s,R9:()=>i,_K:()=>a,mX:()=>c,p1:()=>o});var n=r(454532);(0,n.un)(n.bw.ONBOARDING+n.bw.NOMINEE);let i=(0,n.un)(n.bw.ONBOARDING+n.bw.FNO),a=(0,n.un)(n.bw.ONBOARDING+n.bw.REKYC+"?context=FD_DATA_COLLECTION");(0,n.un)(n.bw.ONBOARDING+n.bw.US_STOCKS),(0,n.un)(n.bw.ONBOARDING+n.bw.UPDATE_KYC);let o=(0,n.un)(n.bw.ONBOARDING);(0,n.un)(n.bw.ONBOARDING+n.bw.REKYC),(0,n.un)(n.bw.CLOSE_DEMAT_ACCOUNT),(0,n.un)(n.bw.ONBOARDING+n.bw.REDIRECT_TO_APP_ONBOARDING),(0,n.un)(n.bw.ONBOARDING+n.bw.FD),(0,n.un)(n.bw.ONBOARDING+n.bw.GOLD),(0,n.un)(n.bw.ONBOARDING+n.bw.REKYC+"?context=FD_DATA_COLLECTION"),(0,n.un)(n.bw.ONBOARDING+n.bw.ONBOARDING_SCREEN),(0,n.un)(n.bw.ONBOARDING+n.bw.REKYC);let s=(0,n.un)(n.bw.ACCOUNT_AGGREGATOR);(0,n.un)(n.bw.USER+n.bw.DEMAT_CLOSURE),(0,n.un)(n.bw.USER+n.bw.DEMAT_CLOSURE+n.bw.DEMAT_CLOSURE_REASON),(0,n.un)(n.bw.USER+n.bw.DEMAT_CLOSURE+n.bw.DEMAT_CLOSURE_REQUEST),(0,n.un)(n.bw.USER+n.bw.DEMAT_CLOSURE+n.bw.DEMAT_CLOSURE_ELIBIBLITY);let l=(0,n.un)(n.bw.USER+n.bw.MY_PROFILE+n.bw.MF_NOMINEE_DETAILS);(0,n.un)(n.bw.DASHBOARD+n.bw.EXPLORE+n.bw.STOCK),(0,n.un)(n.bw.EXPLORE+n.bw.MF),(0,n.un)(n.bw.WEB_ONBOARDING+n.bw.DEMAT_CLOSURE);let c=(0,n.un)(n.bw.ONBOARDING+n.bw.COSMOS)},202450:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});var n=function(e){return e.GET_CATEGORY_DISTRIBUTION_DATA="mf/GET_CATEGORY_DISTRIBUTION_DATA",e.GET_EQUITY_DISTRIBUTION_DATA="mf/GET_EQUITY_DISTRIBUTION_DATA",e.GET_ELSS_FUNDS_DATA="mf/GET_ELSS_FUNDS_DATA",e.GET_CAPITAL_GAINS_DATA="mf/GET_CAPITAL_GAINS_DATA",e.SORT_SCHEMES="mf/SORT_PORTFOLIO_PAGE_SCHEMES",e.UPDATE_RIGHT_SIDE_ACTION="mf/UPDATE_RIGHT_SIDE_ACTION",e.TAB_SWITCH="mf/TAB_SWITCH",e}({})},202817:(e,t,r)=>{"use strict";r.d(t,{T:()=>S,C4:()=>g,Lv:()=>_,YY:()=>m,$g:()=>A,LB:()=>v,J7:()=>E}
12);var n=r(132978);r(647005);var i=r(54102);r(188595);var a=r(801398),o=r(951402),s=r(126479),l=r(299168),c=r(866607),u=r(135956),d=r(47360),f=r(344710);let h={MSITE:"MSite",DESKTOP:"Desktop",MIPAY:"MiPay"},p={MIPAY:"mipay"};function E(){try{let e=(0,s.AZ)(),t=null==e?void 0:e.storedInLS,r=null==e?void 0:e.pinRedirectionUrl;t?(0,s.sn)(r,!0):(0,s.sn)(r),(0,n.s)(c.A.Dev,d.A.SignupCampaignSuccess,{redirectionUrl:r})}catch(e){console.error("Error in logging campaign signup: ",e)}}function _(){try{if(!(0,o.a)(window.userUtmData))return{storedInLS:!1,utmData:window.userUtmData}}catch(e){console.error("Error in getting user UTM data: ",e)}}let g=()=>{if(null!=navigator){var e;let t=(0,o.x)(),r=(0,o.v)(),n=null,i=_(),a=(null==i?void 0:null===(e=i.utmData)||void 0===e?void 0:e.utm_source)||null,s=navigator.userAgent;return{browser:t,OS:r,origin:a===p.MIPAY?h.MIPAY:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile|mobile|CriOS/i.test(s)?h.MSITE:h.DESKTOP}}},S=e=>(0,a.KJ)()?(0,f.n)():e,m=e=>{let t=e||"";return t.length>=8&&/[0-9]/.test(t)&&/[a-z]/.test(t)&&/[A-Z]/.test(t)&&/[!"#$%&'()*+,\-.\\/:;<=>?@[\]^_`{|}~]/.test(t)&&/^\S+$/.test(t)&&t.length>0},A=(e,t)=>{let r=(null==e?void 0:e.length)>=6&&t,n=!t&&m(e);return r||n},v=function(e,t){var r,o,s;let f=arguments.length>2&&void 0!==arguments[2]&&arguments[2],h=null==e?void 0:e.data,p=(0,a.KJ)(),E=null!==(r=null==h?void 0:h.emailId)&&void 0!==r?r:"",_=window.location.href;if(p){let e=null!==(o=null==h?void 0:h.externalAuthToken)&&void 0!==o?o:"";(0,l.gf)(e)}else{let{authToken:e="",refreshToken:t=""}=null!=h?h:{};(0,l.Nq)(e),(0,i.eD)((0,l.u0)()),(0,i.uS)({Authorization:(0,l.u0)()}),(0,l.fE)(t)}if((0,l.Kg)(E),(0,u.WI)(h,f),(0,u.g7)(),f){let e=E.substring(0,E.indexOf("@"));(0,l.ht)(e),window.isNewUser=!0;try{null===(s=window.dataLayer)||void 0===s||s.push("event","sign-up")}catch(e){console.error(e)}(0,n.s)(c.A.Login,d.A.SignUpSuccess,{source:t,from:t,emailId:E,name:e,url:_})}else(0,n.s)(c.A.Login,d.A.LoginSuccess,{from:t,emailId:E,url:_,isOnix:p})}},203511:(e,t,r)=>{"use strict";r.d(t,{L:()=>l,a:()=>s});var n=r(449204),i=r(407178),a=r(761711),o=r.n(a);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var s={CIRCULAR:"circular",CIRCULAR_BOLT:"circularBolt",CANDLE_STICK:"candleStick",LINEAR:"linear"},l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.getCircularLoaderUI=function(){var e=t.props.borderWidth,r=t.getContainerClassName(),n=t.getLoaderClassName("loader14Circular");return i.createElement("div",{className:r},i.createElement("div",{className:n,style:{borderWidth:e}},i.createElement("div",null)))},t.getCirularBoltLoaderUI=function(){var e=t.props.borderWidth,r=t.getContainerClassName(),n=t.getLoaderClassName("loader14CircularBolt");return i.createElement("div",{className:r},i.createElement("div",{className:n},i.createElement("div",{style:{borderWidth:e}}),i.createElement("div",null)))},t.getCandleStickLoaderUI=function(){var e=t.getContainerClassName(),r=t.getLoaderClassName("loader14CandleStick");return i.createElement("div",{className:e},i.createElement("div",{className:r},i.createElement("div",null),i.createElement("div",null),i.createElement("div",null),i.createElement("div",null)))},t.getLinearLoaderUI=function(){var e=t.getContainerClassName("loader14Linear backgroundAccentSubtle");return i.createElement("div",{className:e},i.createElement("div",{className:"loader14Indeterminate"}))},t.getContainerClassName=function(e){void 0===e&&(e="");var r=t.props.active;return o()({loader14Active:r,loader14Hidden:!r},e)},t.getLoaderClassName=function(e){void 0===e&&(e="");var r,n=t.props,i=n.dimension,a=n.loaderClassName;return o()(((r={})["loader14".concat(i)]=!!i,r),["loader14Inner",e,a])},t}return(0,n.a)(t,e),t.prototype.render=function(){var e=this.props.loaderType;return e===s.CIRCULAR_BOLT?this.getCirularBoltLoaderUI():e===s.CANDLE_STICK?this.getCandleStickLoaderUI():e===s.LINEAR?this.getLinearLoaderUI():this.getCircularLoaderUI()},t}(i.PureComponent);l.defaultProps={loaderType:"circular",loaderClassName:"",active:!0,dimension:"BoltDefault",borderWidth:"2px"}},204008:function(e){e.exports=function(e,t,r){t.prototype.isBetween=function(e,t,n,i){var a=r(e),o=r(t),s="("===(i=i||"()")[0],l=")"===i[1];return(s?this.isAfter(a,n):!this.isBefore(a,n))&&(l?this.isBefore(o,n):!this.isAfter(o,n))||(s?this.isBefore(a,n):!this.isAfter(a,n))&&(l?this.isAfter(o,n):!this.isBefore(o,n))}}},204032:(e,t,r)=>{"use strict";r.d(t,{f7:()=>S,Ay:()=>A,nH:()=>g});var n=r(407178),i=r(870507),a=r(132978),o=r(951402),s=r(325988),l=r(866607),c=r(270230);let u=()=>c.SP.post("/v1/api/apex/v1/token/s2s/vendor/cleartax/redirect",{sessionName:"
12cleartax-".concat(Date.now())});var d=r(739672),f=r(555846);let h=(0,i.Ay)(),p=new Set([f.lu.MF_PRODUCT_AND_TOOLS]),E=e=>{h.isActive?h.isAndroid?(0,o.Q)({action:"OPEN_CUSTOM_TAB",params:{deeplinkUrl:e}}):(0,o.Q)({action:"DEEPLINK",params:{deeplinkUrl:e}}):window.open(e,"_blank","noopener,noreferrer")};var _=function(e){return e.SUCCESS="success",e.FAILURE="failure",e}(_||{});let g=e=>p.has(e)?l.A.MutualFund:l.A.Stocks,S={FileTaxPageLoad:"FileTaxPageLoad",FileTaxPageContinueClick:"FileTaxPageContinueClick"},m=(e,t)=>{(0,a.s)(g(e),S.FileTaxPageContinueClick,{source:e,redirectionStatus:t})},A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,r]=(0,n.useState)(!1);return{isLoading:t,handleContinue:async()=>{r(!0);try{let{data:t}=await u();(null==t?void 0:t.redirectUrl)?(m(e,"success"),E(t.redirectUrl),(0,d.o)()):(m(e,"failure"),s.t.error({title:"Request Failed",description:"Something went wrong !!"}))}catch(t){m(e,"failure"),s.t.error({title:"Request Failed",description:"Something went wrong !!"})}finally{r(!1)}}}}},205302:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,i=function(e){return"string"==typeof e&&n.test(e)}},205364:(e,t,r)=>{"use strict";r.d(t,{g:()=>n,s:()=>i});let n={RECENT:"RECENT",TRENDING:"TRENDING",SEARCH:"SEARCH",DID_YOU_MEAN:"DID_YOU_MEAN",TRY_SEARCHING_FOR:"TRY_SEARCHING_FOR"},i={HANDLED:"HANDLED",OPEN_POPUP:"OPEN_POPUP",NOOP:"NOOP"}},211505:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicKey=void 0;let n=r(395682),i=r(978414),a=r(163244);class o{constructor(e){this.publicKey=e}getPublicKey(){if(!this.publicKey)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);return new TextDecoder().decode(this.publicKey)}getPrivateKey(){if(!this.publicKey)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);throw new i.NKeysError(i.NKeysErrorCode.PublicKeyOnly)}getSeed(){if(!this.publicKey)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);throw new i.NKeysError(i.NKeysErrorCode.PublicKeyOnly)}sign(e){if(!this.publicKey)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);throw new i.NKeysError(i.NKeysErrorCode.CannotSign)}verify(e,t){if(!this.publicKey)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);let r=n.Codec._decode(this.publicKey);return(0,a.getEd25519Helper)().verify(e,t,r.slice(1))}clear(){this.publicKey&&(this.publicKey.fill(0),this.publicKey=void 0)}}t.PublicKey=o},212169:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_697)"},n.createElement("path",{fill:"currentColor",d:"M7.452 17.919q-2.287 0-3.87-1.583Q2 14.755 2 12.467q0-2.286 1.582-3.877T7.452 7h3.115a.97.97 0 0 1 .734.31q.294.308.294.744 0 .434-.294.737a.98.98 0 0 1-.734.302H7.452q-1.43 0-2.401.977-.972.977-.972 2.39t.972 2.396 2.401.983h3.115q.44 0 .734.302.294.303.294.738 0 .434-.294.737a.98.98 0 0 1-.734.303zm1.741-4.567a.87.87 0 0 1-.896-.893q0-.399.241-.637.242-.238.655-.238h6.58q.36 0 .616.243t.256.64q0 .385-.242.635a.84.84 0 0 1-.63.25zm5.22 4.567q-.478 0-.772-.307a1.03 1.03 0 0 1-.294-.742q0-.436.294-.733.294-.298.772-.298h3.076q1.43 0 2.402-.977.97-.975.97-2.39 0-1.412-.97-2.396-.971-.983-2.402-.983h-3.076q-.478 0-.772-.306a1.03 1.03 0 0 1-.294-.742q0-.435.294-.74T14.413 7h3.076q2.287 0 3.877 1.59 1.59 1.588 1.59 3.875t-1.59 3.87q-1.59 1.584-3.877 1.584z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_697"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},212358:(e,t,r)=>{"use strict";r.d(t,{_7:()=>l,nv:()=>o});var n=r(237347);let i=null,a=!1,o=()=>i,s=()=>{var e,t;let r=navigator,n=null==r?void 0:r.userAgentData,i=null==r?void 0:r.connection,a=null==n?void 0:null===(e=n.brands)||void 0===e?void 0:e[n.brands.length-1];return{"device.type":(null!==(t=null==n?void 0:n.mobile)&&void 0!==t?t:/Mobi|Android/i.test(r.userAgent))?"mobile":"desktop","device.ram":r.deviceMemory,"device.cpu_cores":r.hardwareConcurrency,"device.screen":"".concat(screen.width,"x").concat(screen.height),"device.dpr":window.devicePixelRatio,"os.name":null==n?void 0:n.platform,"browser.name":null==a?void 0:a.brand,"browser.version":null==a?void 0:a.version,"browser.language":r.language,"network.effective_type":null==i?void 0:i.effectiveType,"network.downlink_mbps":null==i?void 0:i.downlink,"network.rtt_ms":null==i?void 0:i.rtt,"network.save_data":null==i?void 0:i.saveData}},l=async e=>{try{if(i||a)return;let t=s();0;let o="https://secured-app-telemetry.growwinfra.in";if(!o)return;a=!0;let{AppLens:l,createAppLensApiClient:c,SEMATTRS_APP_PLATFORM:u,SEMATTRS_APP_
12VERSION:d,SEMATTRS_APP_NAME:f}=await Promise.all([r.e(37373),r.e(50585)]).then(r.bind(r,455398));i=l.getInstance();let h=(0,n.i)(),p=c(o,"ew9ShpvrrgvUny0dIooTPHdVhb8y2wSTn6iW5MBK3wo="),E={[u]:"web",[f]:e,[d]:h},_={...E,...t};i.init({enabled:!0,serviceName:null!=e?e:"unknown",debug:!1,exporterApiService:p,traces:{enabled:!0,exporterEndPoint:"/v1/app/traces",samplingRate:100,globalAttributes:_},logs:{enabled:!1,exporterEndPoint:""},metrics:{enabled:!0,exporterEndPoint:"/app-monitor/metrics/v1",exportIntervalMillis:1e4,globalAttributes:E},enableNavigationInstrumentation:{enabled:!0},enableSocketInstrumentation:{enabled:!1},enableNetworkInstrumentation:{enabled:!0,propagateTraceHeaderUrls:[/\/\/groww\.in\/v[123]\/api\//],ignoreUrls:[/^(?!.*\/\/groww\.in\/v[123]\/api\/).*/]}})}catch(e){console.error("[AppLens] Failed to initialize:",e)}finally{a=!1}}},214418:(e,t,r)=>{"use strict";t.A=void 0,t.A=(0,function(e){return e&&e.__esModule?e:{default:e}}(r(642389)).default)("session")},215938:e=>{e.exports={rightSideContainer:"rightSide_rightSideContainer__2nfY9",grobotNotificationContainer:"rightSide_grobotNotificationContainer__O6pgY"}},216296:(e,t,r)=>{"use strict";r.d(t,{$s:()=>l,Iy:()=>n,VG:()=>c,_K:()=>i,mC:()=>a,pC:()=>s,tI:()=>o});let n="paymentEcosystem/SET_CURRENT_SCREEN",i="paymentEcosystem/SET_WAITING_SCREEN_MESSAGE",a="paymentEcosystem/RESET_PAYMENT_ECOSYSTEM_STATE",o="paymentEcosystem/SET_SEL_BANKID_UPI",s="paymentEcosystem/SET_PRE_INVOKE_LOADING",l="paymentEcosystem/SET_PAYMENT_METHOD_DETAILS",c="paymentEcosystem/SET_PVM_RESPONSE"},222736:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={AutoReadOTPSuccess:"AutoReadOTPSuccess",AutoReadOTPError:"AutoReadOTPError",HSStartInvestingClick:"HSStartInvestingClick",HSExploreProductClick:"HSExploreProductClick",LandingPageCtaClick:"LandingPageCtaClick",FirebaseSigninFailed:"FirebaseSigninFailed",FirebaseGetTokenApiFailed:"FirebaseGetTokenApiFailed",FirebaseDocUploadError:"FirebaseDocUploadError",FirebaseDocUploaded:"FirebaseDocUploaded",GooglePlayClicked:"GooglePlayClicked",AppStoreIconClicked:"AppStoreIconClicked",StartInvestingNow:"StartInvestingNowClick",ShareButtonClick:"ShareButtonClick",ShareVia:"ShareVia",AmountEntered:"AmountEntered",FirstInvestmentDone:"FirstInvestmentDone",InvestMoreClick:"InvestMoreClick",BottomNavigationClicked:"BottomNavigationClicked",DashboardPage:"DashboardPage",RedeemTwoFaFailed:"RedeemTwoFaFailed",SearchedInput:"SearchedInput",SearchSuggestionClick:"SearchSuggestionClick",SearchIconClick:"SearchIconClick",SearchFilterClick:"SearchFilterClick",HSNullSearch:"HSNullSearch",SearchNoResults:"SearchNoResults",WatchlistAddItemClick:"WatchlistAddItemClick",SendFeedbackClick:"SendFeedbackClick",DeleteAllClick:"DeleteAllClick",SIPCalculatorAmountEntered:"SIPCalculatorAmountEntered",SIPCalculatorDurationChanged:"SipCalculatorDurationChanged",HandpickedCollectionsClick:"HandpickedCollectionsClick",TopFundClick:"TopFundClick",ProfileIconClick:"ProfileIconClick",CartEmptyAddMoreClick:"CartEmptyAddMoreClick",ProceedToPayClick:"ProceedToPayClick",CartFundRemove:"CartFundRemove",InvestmentCartClick:"InvestmentCartClick",OrderFailed:"OrderFailed",OrderPending:"OrderPending",OrderSuccess:"OrderSuccess",OrderStatusFetched:"OrderStatusFetched",InvestmentCompleted:"InvestmentCompleted",PaymentInvokePg:"PaymentInvokePg",PaymentOptionClick:"PaymentOptionClick",AddMoneyClick:"AddMoneyClick",WithdrawClick:"WithdrawClick",WithdrawSuccess:"WithdrawSuccess",WithdrawFailed:"WithdrawFailed",WithdrawFullAmountChecked:"WithdrawFullAmountChecked",GMOneClickPaySuccess:"GMOneClickPaySuccess",GMOneClickPayFailed:"GMOneClickPayFailed",EditIfscAndWithdrawClicked:"EditIfscAndWithdrawClicked",InvestNowClickFromCompare:"InvestNowClickFromCompare",FundAddedToCompare:"FundAddedToCompare",FundRemovedFromCompare:"FundRemovedFromCompare",NotifClick:"NotifClick",NotifCTAClick:"NotifCTAClick",SeeAllMf:"SeeAllMf",ExploreVideoClick:"ExploreVideoClick",FeatureSuiteClick:"FeatureSuiteClick",FeatureSuiteCta:"FeatureSuiteCta",ValidatePINFailed:"ValidatePINFailed",ForgotGrowwPin:"ForgotGrowwPin",UpdatePINSuccess:"UpdatePINSuccess",UpdatePinFailed:"UpdatePinFailed",OrderTrackClick:"OrderTrackClick",CompanyFinancialsClick:"CompanyFinancialsClick",StocksPageIClick:"StocksPageIClick",ShareHoldingPatternClick:"ShareHoldingPatternClick",StockClick:"StockClick",OCPinPassed:"OCPinPassed",PreAddMoneyClick:"PreAddMoneyClick",NseBseSwitch:"NseBseSwitch",NewsDetail
12sClick:"NewsDetailsClick",ScreenerIndex:"ScreenerIndex",ScreenerSortBy:"ScreenerSortBy",StocksHideHoldings:"StocksHideHoldings",OPCopyOrderId:"OPCopyOrderId",WLItemAdded:"WLItemAdded",WLItemDeleted:"WLItemDeleted",BankPrimaryPopupConfirmClick:"BankPrimaryPopupConfirmClick",BankDeletePopupConfirmClick:"BankDeletePopupConfirmClick",BankMakePrimarySuccess:"BankMakePrimarySuccess",BankDeleteSuccess:"BankDeleteSuccess",BankDeleteFailed:"BankDeleteFailed",BankMakePrimaryFailed:"BankMakePrimaryFailed",AutopayDeletePopupConfirmClick:"AutopayDeletePopupConfirmClick",AutopayDeleteFailed:"AutopayDeleteFailed",AutopayDeleteSuccess:"AutopayDeleteSuccess",AutopayMakePrimaryPopupConfirmClick:"AutopayMakePrimaryPopupConfirmClick",AutopayMakePrimarySuccess:"AutopayMakePrimarySuccess",AutopayMakePrimaryFailed:"AutopayMakePrimaryFailed",NFOLinkClick:"NFOLinkClick",NMProductClick:"NMProductClick",NMChannelToggle:"NMChannelToggle",NMFrequencyButton:"NMFrequencyButton",NMUpdateClick:"NMUpdateClick",NMProduct404:"NMProduct404",PCTagAmountAdded:"PCTagAmountAdded",PCDateSelectorOpened:"PCDateSelectorOpened",PCAddToCartClick:"PCAddToCartClick",PCInputError:"PCInputError",PCCheckoutSuccess:"PCCheckoutSuccess",PCCheckoutFailed:"PCCheckoutFailed",PCInvestmentDetailsApiFailed:"PCInvestmentDetailsApiFailed",PCSipDateConfigApiFailed:"PCSipDateConfigApiFailed",PCAmountEntered:"PCAmountEntered",PCFundAddedToCart:"PCFundAddedToCart",NPFPaymentsContext:"NPFPaymentsContext",NPFInstrumentSelected:"NPFInstrumentSelected",NPFChangeBankSelected:"NPFChangeBankSelected",NPFBankListApiFailed:"NPFBankListApiFailed",NPFInstrumentPayClicked:"NPFInstrumentPayClicked",NPFPaymentOrderCreated:"NPFPaymentOrderCreated",NPFPaymentOrderCreatedFailed:"NPFPaymentOrderCreatedFailed",NPFTxnUpdatedInDb:"NPFTxnUpdatedInDb",NPFTxnUpdatedInDbFailed:"NPFTxnUpdatedInDbFailed",NPFPaymentGatewayInvoked:"NPFPaymentGatewayInvoked",NPFPaymentGatewayInvokedFailed:"NPFPaymentGatewayInvokedFailed",NPFUpiWaitScreenOpened:"NPFUpiWaitScreenOpened",NPFNetBankingWaitScreenOpenend:"NPFNetBankingWaitScreenOpenend",NPFNetBankingWaitWindowClosed:"NPFNetBankingWaitWindowClosed",NPFUpiCancelPayment:"NPFUpiCancelPayment",NPFCheckStatusApi:"NPFCheckStatusApi",NPFCheckStatusApiFailed:"NPFCheckStatusApiFailed",NPFFinalTxnCallback:"NPFFinalTxnCallback",NPFVpaSaved:"NPFVpaSaved",GoldBuyProceedClick:"GoldBuyProceedClick",GoldSellProceedClick:"GoldSellProceedClick",BuyMoreClick:"BuyMoreClick",GoToDashboardClick:"GoToDashboardClick",GoldBuyFailed:"GoldBuyFailed",GoldBuySuccess:"GoldBuySuccess",GoldSellSuccess:"GoldSellSuccess",GoldBuyPending:"GoldBuyPending",GoldSellPending:"GoldSellPending",GOCPinPassed:"GOCPinPassed",GoldBuyExploreClick:"GoldBuyExploreClick",GoldSellExploreClick:"GoldSellExploreClick",ImageError:"ImageError",FooterLinksClicked:"FooterLinksClicked",FooterTabChange:"FooterTabChange",ReportSectionClick:"ReportSectionClick",ReportDownloadClick:"ReportDownloadClick",ReportDownloadFailure:"ReportDownloadFailure",ReportEmailClick:"ReportEmailClick",FinancialYearClick:"FinancialYearClick",FinancialDateClick:"FinancialDateClick",FinancialMonthClick:"FinancialMonthClick",ReportActionClick:"ReportActionClick",SBSViewPnLViewClick:"SBSViewPnLViewClick",SBSStocksPnLDownloadClick:"SBSStocksPnLDownloadClick",SBSStocksPnLChargesClick:"SBSStocksPnLChargesClick",SBSStocksPnLChargesHelpClick:"SBSStocksPnLChargesHelpClick",SBSStocksPnLSortClick:"SBSStocksPnLSortClick",SBSStocksPnLOpenLineItem:"SBSStocksPnLOpenLineItem",SBSStocksPnLSelectDurationClick:"SBSStocksPnLSelectDurationClick",StocksPnLReportClick:"StocksPnLReportClick",StocksPnLAllSelect:"StocksPnLAllSelect",StocksPnLMTFSelect:"StocksPnLMTFSelect",StocksPnLGraphLoaded:"StocksPnLGraphLoaded",StocksPnLLISINLoaded:"StocksPnLLISINLoaded",CashPnlViewCtaClick:"CashPnlViewCtaClick",StocksPnLChargesClick:"StocksPnLChargesClick",StocksPnLRealisedClick:"StocksPnLRealisedClick",MBPrimaryCTAClick:"MBPrimaryCTAClick",MBSecondaryCTAClick:"MBSecondaryCTAClick",MBDismissClick:"MBDismissClick",MBDismissSuccess:"MBDismissSuccess",MBDismissClickApiFail:"MBDismissClickApiFail",LoggedInNotFoundPage:"LoggedInNotFoundPage",NotLoggedInNotFoundPage:"NotLoggedInNotFoundPage",LoggedInErrorPage:"LoggedInErrorPage",NotLoggedInErrorPage:"NotLoggedInErrorPage",MoreProductsSectionClick:"MoreProductsSectionClick",ExploreTabClicked:"ExploreTabClicked",InvestmentsTabClicked:"InvestmentsTabClicked",TradingPreferencePageView:"TradingPreferencePageView",TradingPreferenceCheckboxClick:"TradingPreferenceCheckboxClick",TradingControlsShown:"TradingControlsShown",AccountRelatedFormsClick:"AccountRelatedFormsClick",AccountRelatedFormsPageView:"AccountRelatedFormsPageView",AccountRelatedFormsApiSuccess:"AccountRelatedFormsFetchSuccess",AccountRelatedFormsApiFailed:"AccountRelatedFormsApiFailed",AccountRelatedFormsApiResponseEmpty:"AccountRelatedFormsApiResponseEmpty",AccountRelatedFormDownloadAttempt:"AccountRelatedFormDownloadAttempt",AccountRelatedFormDownloadSuccess:"AccountRelatedFormDownloadSuccess",AccountRelatedFormDownloadFailed:"AccountRelatedFormDownloadFailed",CareersPageFirstApplyButtonClick:"CareersPageFirstApplyButtonClick",CareersPageScrolledTillPlaySection:"CareersPageScrolledTillPlaySection",EditClickMNCF:"EditClickMNCF",EmailEditClick:"EmailEditClick",InvalidEmail:"InvalidEmail",OldEmailNotMatched:"OldEmailNotMatched",HSSearchClick:"HSSearchClick",OtpRequestApiFailed:"OtpRequestApiFailed",MobileAlreadyRegistered:"MobileAlreadyRegistered",InvestButtonClick:"InvestButtonClick",AmountClicked:"Amou
12ntClicked",ContinueToPayment:"ContinueToPayment",BillerInstructionsClick:"BillerInstructionsClick",BankChangeClick:"BankChangeClick",AddRetryPrimaryClick:"PaymentPriRetryClick",AddRetrySecondaryClick:"PaymentSecRetryClick",TransactionAutopayOTPRedirect:"TransactionAutopayOTPRedirect",TransactionAutopayBillerRedirect:"TransactionAutopayBillerRedirect",TransactionAutopayFormRedirect:"TransactionAutopayFormRedirect",RiskClicked:"RiskClicked",FundSizeClicked:"FundSizeClicked",SortClicked:"SortClicked",FilterAMC:"FilterAMC",FilterInvest:"FilterInvest",FilterClearAll:"FilterClearAll",ViewTransactions:"ViewTransactions",InsightRedirectClick:"InsightRedirectClick",SortAndOrder:"SortAndOrder",PendingOrderClick:"PendingOrderClick",MySipAutopayFormRedirect:"MySipAutopayFormRedirect",MySipAutopayOTPUrlExist:"MySipAutopayOTPUrlExist",MySipAutopayOTPRedirect:"MySipAutopayOTPRedirect",MySipAutopayBillerRedirect:"MySipAutopayBillerRedirect",PLSearchSuggestionClick:"PLSearchSuggestionClick",WLSearchSuggestionClick:"WLSearchSuggestionClick",SearchSuggestionClickCtrl:"SearchSuggestionClickCtrl",SearchMoreResultsClick:"SearchMoreResultsClick",GraphYearButtonClick:"GraphDurationClick",MfpageView:"MfpageView",AmcSignUpCtaClick:"AmcSignUpCtaClick",AboveFooterCtaClick:"AboveFooterCtaClick",CartAddMoreFund:"CartAddMoreFund",FetchMandateStatusFailed:"FetchMandateStatusFailed",AutomateSipClick:"AutomateSipClick",GBBubbleClick:"GBBubbleClick",PreWithdrawClick:"PreWithdrawClick",ChangeBankGB:"ChangeBankGB",OTMSuccessDone:"OTMSuccessDone",DocUploadFailed:"DocUploadFailed",RedirectToCompareFromProduct:"RedirectToCompareFromProduct",CompareCardClick:"CompareCardClick",NMCommunication404:"NMCommunication404",RightSideDashRedirect:"RightSideDashRedirect",MfLoggedInExploreTabClick:"MfLoggedInExploreTabClick",MfLoggedInDashboardTabClick:"MfLoggedInDashboardTabClick",DashboardSwitchFundClick:"DashboardSwitchFundClick",SchemeSwitchFundClick:"SchemeSwitchFundClick",ConfirmSwitchFundClick:"ConfirmSwitchFundClick",SwitchSuccess:"SwitchSuccess",SwitchFailed:"SwitchFailed",CtaClick:"CtaClick",SchemeSTPClick:"SchemeSTPClick",SchemeSWPClick:"SchemeSWPClick",DashboardSTPClick:"DashboardSTPClick",DashboardSWPClick:"DashboardSWPClick",SWPAmountEntered:"SWPAmountEntered",STPAmountEntered:"STPAmountEntered",InstallmentSTPClick:"InstallmentSTPClick",InstallmentSWPClick:"InstallmentSWPClick",SWPDateClick:"SWPDateClick",STPDateClick:"STPDateClick",ConfirmSWPClick:"ConfirmSWPClick",ConfirmSTPClick:"ConfirmSTPClick",SearchSTPFundClick:"SearchSTPFundClick",StopSTPFailed:"StopSTPFailed",StopSTPSuccess:"StopSTPSuccess",VerifyHoldingsClick:"VerifyHoldingsClick",StocksComingSoonBtnClick:"StocksComingSoonBtnClick",NudgeInvestingClick:"NudgeInvestingClick",StocksSendToOnboarding:"StocksSendToOnboarding",StocksDashClick:"StocksDashClick",HoldingsClick:"HoldingsClick",OCMarketDepth:"OCMarketDepth",OCBuyClick:"OCBuyClick",OCBuyClickOrder:"OCBuyClickOrder",IntradayInfoClick:"IntradayInfoClick",OCSellClick:"OCSellClick",OCSellClickOrder:"OCSellClickOrder",OCForgotPin:"OCForgotPin",OptionChainClick:"OptionChainClick",OpenOrders3DotClick:"OpenOrders3DotClick",Holdings3DotClick:"Holdings3DotClick",DeliveryPositions3DotClick:"DeliveryPositions3DotClick",IntradayPosition3DotClick:"IntradayPosition3DotClick",HoldingsPopUp:"HoldingsPopUp",DeliveryPositionsClick:"DeliveryPositionsClick",StockScreenerClick:"StockScreenerClick",ScreenerSector:"ScreenerSector",ScreenerMarketCap:"ScreenerMarketCap",ScreenerClosingPrice:"ScreenerClosingPrice",ScreenerNoResult:"ScreenerNoResult",ScreenerClearAll:"ScreenerClearAll",RedirectToStocksPage:"RedirectToStocksPage",StocksLoggedInExploreTabClick:"StocksLoggedInExploreTabClick",FnoLoggedInExploreTabClick:"FnoLoggedInExploreTabClick",UsStocksLoggedInExploreTabClick:"UsStocksLoggedInExploreTabClick",StocksLoggedInDashboardTabClick:"StocksLoggedInDashboardTabClick",FnoLoggedInDashboardTabClick:"FnoLoggedInDashboardTabClick",UsStocksLoggedInDashboardTabClick:"UsStocksLoggedInDashboardTabClick",TrendLineClick:"TrendLineClick",GraphTypeSelect:"GraphTypeSelect",VolumeToggle:"VolumeToggle",OCModifyOrderClick:"OCModifyOrderClick",OCCancelOrderClick:"OCCancelOrderClick",IntradayPositionPopUp:"IntradayPositionPopUp",OCModifyConfirmOrderClick:"OCModifyConfirmOrderClick",OCCancelConfirmOrderClick:"OCCancelConfirmOrderClick",IndexCardClick:"IndexCardClick",IndexCardHover:"IndexCardHover",IndexClick:"IndexClick",OpenOrdersCollapse:"OpenOrdersCollapse",DashboardSort:"DashboardSort",OCAOClick:"OCAOClick",OCAOSelect:"OCAOSelect",IndexMFClick:"IndexMFClick",SearchOrder:"SearchOrder",EDISVerifyClick:"EDISVerifyClick",EDISVerifyClickStatus:"EDISVerifyClickStatus",EDISgenerateNewPinClick:"EDISgenerateNewPinClick",EDISgenerateNewPinClickStatus:"EDISgenerateNewPinClickStatus",EDISPinEnterStatus:"EDISPinEnterStatus",MarketNewsClick:"MarketNewsClick",OCBuyClickOrderFailed:"OCBuyClickOrderFailed",OCSellClickOrderFailed:"OCSellClickOrderFailed",OCCancelConfirmOrderClickFailed:"OCCancelConfirmOrderClickFailed",OCModifyConfirmOrderClickFailed:"OCModifyConfirmOrderClickFailed",AllIndicesClick:"AllIndicesClick",GlobalIndexTabClick:"GlobalIndexTabClick",GlobalFuturesTabClick:"GlobalFuturesTabClick",MtfPositionDetail
12sPage:"MtfPositionDetailsPage",OPBuySellFilter:"OPBuySellFilter",OPOrderStatusFilter:"OPOrderStatusFilter",OPSearchFilter:"OPSearchFilter",OPDateFilter:"OPDateFilter",OPClearAllFilter:"OPClearAllFilter",WLViewAll:"WatchlistViewAllClicked",WLItemClick:"WLItemClick",BankVerifyAgainClick:"BankVerifyAgainClick",UserAttributeApiFailed:"UserAttributeApiFailed",UserSectionSelect:"UserSectionSelect",UpdatePasswordSendOtpFailed:"UpdatePasswordSendOtpFailed",UpdatePasswordSendOtpSuccess:"UpdatePasswordSendOtpSuccess",UpdatePasswordSuccess:"UpdatePasswordSuccess",UpdatePasswordFailed:"UpdatePasswordSuccess",UpdatePasswordResendOtpSuccess:"UpdatePasswordResendOtpSuccess",UpdatePasswordResendOtpFailed:"UpdatePasswordResendOtpFailed",UpdatePinResendOtpSuccess:"UpdatePinResendOtpSuccess",UpdatePinResendOtpFailed:"UpdatePinResendOtpFailed",UpdatePinSendOtpFailed:"UpdatePinSendOtpFailed",UpdatePinSendOtpSuccess:"UpdatePinSendOtpSuccess",AutopayRefreshClick:"AutopayRefreshClick",AutopayRefreshFailed:"AutopayRefreshFailed",AutopayRefreshSuccess:"AutopayRefreshSuccess",BankDetailsAutopayOTPRedirect:"BankDetailsAutopayOTPRedirect",BankDetailsAutopayBillerRedirect:"BankDetailsAutopayBillerRedirect",BankDetailsAutopayFormRedirect:"BankDetailsAutopayFormRedirect",GrowwMandateContinueClick:"GrowwMandateContinueClick",GrowwMandateUrlExist:"GrowwMandateUrlExist",GrowwMandateInitiate:"GrowwMandateInitiate",GrowwMandateInitiateSuccess:"GrowwMandateInitiateSuccess",GrowwMandateInitiateFailed:"GrowwMandateInitiateFailed",GrowwMandateAlreadyExist:"GrowwMandateAlreadyExist",GrowwMandateDontHaveNBDB:"GrowwMandateDontHaveNBDB",GrowwMandateStatus:"GrowwMandateStatus",GrowwMandateStatusUpdated:"GrowwMandateStatusUpdated",GrowwMandateRetryClick:"GrowwMandateRetryClick",GrowwMandateStatusUpdateFailed:"GrowwMandateStatusUpdateFailed",AutopaySignedFormUploaded:"AutopaySignedFormUploaded",AutopayOtmDownloadFormSuccess:"AutopayOtmDownloadFormSuccess",AutopayOtmDownloadFormFailed:"AutopayOtmDownloadFormFailed",AutopayOtmContinueClick:"AutopayOtmContinueClick",AutopayOtmCreationSuccess:"AutopayOtmCreationSuccess",AutopayOtmAlreadyExist:"AutopayOtmAlreadyExist",AutopayOtmCreationFailed:"AutopayOtmCreationFailed",AutopayBillerContinueClick:"AutopayBillerContinueClick",AutopayBillerAlreadyExist:"AutopayBillerAlreadyExist",AutopayBillerSuccess:"AutopayBillerSuccess",AutopayBillerFailed:"AutopayBillerFailed",AutopayBillerOpenNetBanking:"AutopayBillerOpenNetBanking",MyOrdersClickMf:"MyOrdersClickMf",MyOrdersClickStocks:"MyOrdersClickStocks",MyOrdersClickBonds:"MyOrdersClickBonds",MyOrdersClickFno:"MyOrdersClickFno",OrderDetailsApiFailed:"OrderDetailsApiFailed",NFOAddToCart:"NFOAddToCart",GoldBackToEditClick:"GoldBackToEditClick",ConfirmAndProceedClick:"ConfirmAndProceedClick",FetchLivePriceSuccess:"FetchLivePriceSuccess",FetchLivePriceFailed:"FetchLivePriceFailed",FetchHoldingSuccess:"FetchHoldingSuccess",FetchHoldingFailed:"FetchHoldingFailed",GoldLoggedInExploreTabClick:"GoldLoggedInExploreTabClick",GoldLoggedInDashboardTabClick:"GoldLoggedInDashboardTabClick",GOCForgotPin:"GOCForgotPin",PCContext:"PCContext",PCTabSwitch:"PCTabSwitch",PCDateUpdated:"PCDateUpdated",PCStartSipClick:"PCStartSipClick",PCInvestNowClicked:"PCInvestNowClicked",PCPaymentsOpenend:"PCPaymentsOpenend",PCInvestmentDetailsApiSuccess:"PCInvestmentDetailsApiSuccess",FlashbackCloseBtnClick:"FlashbackCloseBtnClick",FlashbackStoryClick:"FlashbacStoryClick",NPFChangeBankClick:"NPFChangeBankClick",NPFPayViaGrowwBalance:"NPFPayViaGrowwBalance",FdLoggedInDashboardTabClick:"FdLoggedInDashboardTabClick",MyOrdersClickFd:"MyOrdersClickFd",TCClick:"TCClick",FilterClick:"FilterClick",OrderTrackCTAClick:"OrderTrackCTAClick",CareersPageSecondApplyButtonClick:"CareersPageSecondApplyButtonClick",ACStockSearch:"ACStockSearch",ACShare:"ACShare",ACTrackLog:"ACTrackLog",ACIndexCard:"ACIndexCard",ACEmptyStateRefresh:"ACEmptyStateRefresh",ACPositionHoverBuy:"ACPositionHoverBuy",ACPositionHoverSell:"ACPositionHoverSell",ACIntradayPositionHoverBuy:"ACIntradayPositionHoverBuy",ACIntradayPositionHoverSell:"ACIntradayPositionHoverSell",ChainClickAC:"ChainClickAC",ChainBuyHoverSell:"ChainBuyHoverSell",OIToggleAC:"OIToggleAC",ItemClickPositionsAC:"ItemClickPositionsAC",TVRotate:"TVRotate",TVBack:"TVBack",TVMultiChartLayoutChanged:"TVMultiChartLayoutChanged",PreOrderApiStatus:"PreOrderApiStatus",PreOrderRequest:"PreOrderRequest",BackClickAP:"BackClickAP",NeedHelpClickAP:"NeedHelpClickAP",LinkNowClickAP:"LinkNowClickAP",APVideoWatched:"APVideoWatched",MfAPLinkingNotDone:"MfAPLinkingNotDone",FooterHelpClicked:"FooterHelpClicked",ContactUsClicked:"ContactUsClicked",PreActivateDDPI:"PreActivateDDPI",TabVisibilityChange:"TabVisibilityChange",AttachPageVisibilityApiListener:"AttachPageVisibilityApiListener",AttachLegacyVisibilityListener:"AttachLegacyVisibilityListener",LegacyTabVisibilityChange:"LegacyTabVisibilityChange",NewHeaderStocksClick:"NewHeaderStocksClick",NewHeaderFNOClick:"NewHeaderFNOClick",NewHeaderMFClick:"NewHeaderMFClick",NewHeaderUSStocksClick:"NewHeaderUSStocksClick",NewHeaderGoldClick:"NewHeaderGoldClick",NewHeaderFdClick:"NewHeaderFdClick",CmdKKeyEventKeyboardShortcut:"CmdKKeyEventFired",TabChangeArrowKeyboardShortcut:"TabChangeArrowKeyboardShortcut",TerminalButtonClick:"TerminalButtonClick",CartButtonClick:"CartButtonClick",KeyboardShortcutTerminal:"KeyboardShortcutTerminal",KeyboardShortcutOptionChain:"KeyboardShortcutOptionChain",KeyboardShortcutCart:"KeyboardShortcutCart",KeyboardShortcutStocksExplore:"KeyboardShortcutStocksExplore",KeyboardShortcutStocksHoldings:"KeyboardShortcutStocksHoldings",KeyboardShortcutStocksPositions:"KeyboardShortcutStocksPositions",KeyboardShortcutStocksWatchlist:"KeyboardShortcutStocksWatchlist",KeyboardShortcutStocksOrders:"KeyboardShortcutStocksOrders",KeyboardShortcutFnOExplore:"KeyboardShortcutFnOExplore",KeyboardShortcutFnOPositions:"KeyboardShortcutFnOPositions",KeyboardShortcutFnOOrders:"KeyboardShortcutFnOOrders",KeyboardShortcutMutualFundsExplore:"KeyboardShortcutMutualFundsExplore",KeyboardShortcutMutualFundsDashboard:"KeyboardShortcutMutualFundsDashboard",KeyboardShortcutMutualFundsWatchlist:"KeyboardShortcutMutualFundsWatchlist",KeyboardShortcutMutualFundsSIPs:"KeyboardShortcutMutualFundsSIPs"}},224880:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n={companyList:[],loader:{TOP_GAINERS:!0,TOP_LOSERS:!0,MOST_VALUABLE:!0,STOCKS_IN_NEWS:!0,POPULAR_STOCKS_MOST_BOUGHT:!0,POPULAR_STOCKS_INTRADAY_VOLUME:!0,POPULAR_STOCKS_MOST_BOUGHT_MTF:!1},dataError:!1}},225615:(e,t,r)=>{"use strict";e.exports=r(131407)},226713:(e,t,r)=>{"use strict";r.d(t,{dz:()=>L,$2:()=>N,v3:()=>D,wq:()=>P,SE:()=>w,F_:()=>C,mO:()=>I,$p:()=>R});var n=r(873435),i=r(598494),a=r(517274),o=r(190386),s=r(54102),l=r(870507),c=r(296588),u=r(951402),d=r(744620),f=r(454532),h=r(126479),p=r(306519),E=r(299168),_=r(136398),g=r(858594),S=r(188595),m=r(270230),A=r(391533),v=r(837509);let b=(0,l.Ay)(),T=0,y=e=>{let t=Date.now();t-T>=1e4&&(T=t,(0,o.sx)("GobblerCellChangeForUser",c.GobblerCellChangeForUser,e))},O=e=>{let t=null==e?void 0:e["x-primary-target"],r=null==e?void 0:e["x-secondary-target"],n=null==e?void 0:e["x-target-version"];return t&&r&&n?{xPrimaryTarget:t,xSecondaryTarget:r,xTargetVersion:n}:null},w=e=>{if(e.headers){e.headers.Authorization=(0,E.u0)(),e.headers["X-USER-CAMPAIGN"]=(0,E.LQ)();{let t=window.location.pathname.includes(f.bw.ADVANCE_CHARTS);b.isActive&&!t&&(e.headers.Authorization=(0,E.xN)())}let t=b.isActive?(0,E.Hx)():(0,E.Gn)();(0,u.a)(t)||(e.headers["X-DEVICE-ID"]=t,e.headers["X-DEVICE-ID-V2"]=t);let r=(0,v.vK)(e),n=(0,v.eA)(e),o=(0,i.A)();e.url&&(e.headers["X-REQUEST-CHECKSUM"]=(0,a.v)(decodeURIComponent(e.url)+n,r,o)),e.headers["X-REQUEST-ID"]=o}try{(0,v.z3)(e)}catch(e){console.log(e)}return e},C=e=>Promise.reject(e),I=e=>{let t=O(e.headers);t&&!(0,u.a)(t)&&(0,g.LB)(t);try{(0,v.Q8)(e.config,e.status,!1)}catch(e){console.log(e)}return e},R=async e=>{var t,r,n,i,a,o,c,f;try{(0,v.Q8)(null==e?void 0:e.config,null!==(r=null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status)&&void 0!==r?r:0,!0,null==e?void 0:e.message)}catch(e){console.log(e)}let A=e.config;if(void 0!==e.response&&401===e.response.status&&401===e.response.data.errorCode&&!A._retry){let t=!1,r=[],c=null,d=(0,l.Ay)(),f=e.config;if(t)return new Promise(e=>{r.push(t=>{f.headers.Authorization="Bearer ".concat(t),e((0,m.SP)(f))})});if(!(0,E.ve)()){(0,v.y4)();return}try{let e=(0,E.u0)();if(!c){t=!0;let r=await (0,S.Be)(d.isActive),l=(null==r?void 0:null===(i=r.data)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.authToken)||"",f=(null==r?void 0:null===(o=r.data)||void 0===o?void 0:null===(a=o.data)||void 0===a?void 0:a.refreshToken)||"";if(e=l,d.isActive){let e={action:m.RO.AT_RT_UPDATE,params:{at:l,rt:f}};document.cookie="".concat(_.aH.AUTHORIZATION,"=; Domain=.").concat(window.location.host,"; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"),document.cookie="".concat(_.aH.REFRESH_TOKEN,"=; Domain=.").concat(window.location.host,"; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"),(0,E.pM)(f),(0,E.Fn)(l),(0,u.Q)(e)}else(0,E.fE)(f),(0,E.Nq)(l);(0,s.uS)({Authorization:(0,E.u0)()}),c=f,t=!1,setTimeout(()=>{c=null},6e5)}return f._retry=!0,r.length>0&&(r.forEach(t=>t(e)),r=[]),f.headers.Authorization="Bearer ".concat(e),(0,m.SP)(f)}catch(t){return(0,v.y4)(),Promise.reject(e)}}if(void 0!==e.response&&401===e.response.status&&463===e.response.data.errorCode&&(0,v.y4)(),void 0!==e.response&&403===e.response.status)if((0,h.sn)(null,!0),(0,E.e0)(),(0,E.PS)(),b.isActive){let e={action:m.RO.TWO_FACTOR_EXPIRE,params:null};(0,u.Q)(e)}else window.location.href="https://groww.in"+(0,p.aY)();if("desktop"===d.Eg.DESKTOP&&!b.isActiveFromUserAgent&&void 0!==e.response&&e.response.status>=500&&(0,v.Fd)(e),e.response&&317===e.response.status){let t=O(null==e?void 0:e.response.headers);if(t&&!(0,u.a)(t)&&((0,g.LB)(t),y({apiEndPoint:null!==(f=null==e?void 0:null===(c=e.config)||void 0===c?void 0:c.url)&&void 0!==f?f:"",...t})),e.config._retryCount=e.config._retryCount||0,e.config._retryCount<1)return e.config._retryCount+=1,(0,m.SP)(e.config)}return Promise.reject(e)},N=e=>{let t=null,r="",o=b.isActive?(0,E.Hx)():(0,E.Gn)();if(!(0,u.a)(o)&&e.headers&&(e.headers["X-DEVICE-ID"]=o,e.headers["X-DEVICE-ID-V2"]=o),(0,A.nP)(e.data)&&(t=JSON.stringify(e.data)),(0,A.nP)(e.params)){let t=n.stringify(e.params,{arrayFormat:"comma",encode:!1});r=t?"?"+t:""}let s=(0,i.A)();if(e.headers){var l;e.headers["X-REQUEST-CHECKSUM"]=(0,a.v)(decodeURIComponent(null!==(l=e.url)&&void 0!==l?l:"")+r,t,s),e.headers["X-REQUEST-ID"]=s}try{(0,v.z3)(e)}catch(e){console.log(e)}return e},D=e=>{try{(0,v.Q8)(e.config,e.status,!1)}catch(e){console.log(e)}return e},P=e=>{try{var t,r;(0,v.Q8)(null==e?void 0:e.config,null!==(r=null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status)&&void 0!==r?r:0,!0,null==e?void 0:e.message)}catch(e){console.log(e)}return Promise.reject(e)},L=async e=>{if(e.headers)try{let t=(0,g._F)();t&&!(0,u.a)(t)?(e.headers["x-primary-target"]=t.xPrimaryTarget,e.headers["x-secondary-target"]=t.xSecondaryTarget,e.headers["x-target-version"]=t.xTargetVersion):e.headers["x-target-version"]="0"}catch(e){console.error("Failed to get cell headers:",e)}return e}},228216:(e,t,r)=>{"use strict";e.exports=l;var n,i=r(841111),a=i.LongBits,o=i.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function l(e){this.buf=e,this.pos=0,this.len=e.length}var c="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new l(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new l(e);throw Error("illegal buffer")},u=function(){return i.Buffer?function(e){return(l.create=function(e){return i.Buffer.isBuffer(e)?new n(e):c(e)})(e)}:c};function d(){var e=new a(0,0),t=0;if(this.len-this.pos>4){for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;t=0}else{for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}if(this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function f(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function h(){if(this.pos+8>this.len)throw s(this,8);return new a(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4))}l.create=u(),l.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,l.prototype.uint32=function(){var e=0xffffffff;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return e}}(),l.prototype.int32=function(){return 0|this.uint32()},l.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},l.prototype.bool=function(){return 0!==this.uint32()},l.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return f(this.buf,this.pos+=4)},l.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|f(this.buf,this.pos+=4)},l.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},l.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},l.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw s(this,e);return(this.pos+=e,Array.isArray(this.buf))?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},l.prototype.string=function(){var e=this.bytes();return o.read(e,0,e.length)},l.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do if(this.pos>=this.len)throw s(this);while(128&this.buf[this.pos++]);return this},l.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},l._configure=function(e){n=e,l.create=u(),n._configure();var t=i.Long?"toLong":"toNumber";i.merge(l.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return h.call(this)[t](!0)},sfixed64:function(){return h.call(this)[t](!1)}})}},231010:(e,t,r)=>{"use strict";r.d(t,{EZ:()=>K,Fh:()=>W,sx:()=>Y});var n=r(702777),i=r(225615);let a={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Writer.create();return""!==e.eventName&&t.uint32(10).string(e.eventName),0!==e.eventTs&&t.uint32(16).int64(e.eventTs),void 0!==e.userContext&&o.encode(e.userContext,t.uint32(26).fork()).ldelim(),void 0!==e.deviceContext&&s.encode(e.deviceContext,t.uint32(34).fork()).ldelim(),0!==e.eventBytes.length&&t.uint32(42).bytes(e.eventBytes),void 0!==e.eventId&&t.uint32(50).string(e.eventId),void 0!==e.flushAppState&&t.uint32(58).string(e.flushAppState),void 0!==e.beforeSdkReady&&t.uint32(64).bool(e.beforeSdkReady),void 0!==e.eventContext&&l.encode(e.eventContext,t.uint32(74).fork()).ldelim(),t},decode(e,t){let r=e instanceof i.Reader?e:i.Reader.create(e),n=void 0===t?r.len:r.pos+t,a={eventName:"",eventTs:0,userContext:void 0,deviceContext:void 0,eventBytes:new Uint8Array(0),eventId:void 0,flushAppState:void 0,beforeSdkReady:void 0,eventContext:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;a.eventName=r.string();continue;case 2:if(16!==e)break;a.eventTs=c(r.int64());continue;case 3:if(26!==e)break;a.userContext=o.decode(r,r.uint32()
12);continue;case 4:if(34!==e)break;a.deviceContext=s.decode(r,r.uint32());continue;case 5:if(42!==e)break;a.eventBytes=r.bytes();continue;case 6:if(50!==e)break;a.eventId=r.string();continue;case 7:if(58!==e)break;a.flushAppState=r.string();continue;case 8:if(64!==e)break;a.beforeSdkReady=r.bool();continue;case 9:if(74!==e)break;a.eventContext=l.decode(r,r.uint32());continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return a}},o={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Writer.create();return""!==e.userName&&t.uint32(10).string(e.userName),""!==e.emailId&&t.uint32(18).string(e.emailId),""!==e.userAccountId&&t.uint32(26).string(e.userAccountId),void 0!==e.country&&t.uint32(34).string(e.country),void 0!==e.cuid&&t.uint32(42).string(e.cuid),void 0!==e.dpLatitude&&t.uint32(50).string(e.dpLatitude),void 0!==e.dpLongitude&&t.uint32(58).string(e.dpLongitude),t},decode(e,t){let r=e instanceof i.Reader?e:i.Reader.create(e),n=void 0===t?r.len:r.pos+t,a={userName:"",emailId:"",userAccountId:"",country:void 0,cuid:void 0,dpLatitude:void 0,dpLongitude:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;a.userName=r.string();continue;case 2:if(18!==e)break;a.emailId=r.string();continue;case 3:if(26!==e)break;a.userAccountId=r.string();continue;case 4:if(34!==e)break;a.country=r.string();continue;case 5:if(42!==e)break;a.cuid=r.string();continue;case 6:if(50!==e)break;a.dpLatitude=r.string();continue;case 7:if(58!==e)break;a.dpLongitude=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return a}},s={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Writer.create();return""!==e.deviceId&&t.uint32(10).string(e.deviceId),""!==e.osName&&t.uint32(18).string(e.osName),""!==e.osVersion&&t.uint32(26).string(e.osVersion),""!==e.manufacturer&&t.uint32(34).string(e.manufacturer),""!==e.model&&t.uint32(42).string(e.model),""!==e.carrier&&t.uint32(50).string(e.carrier),""!==e.networkType&&t.uint32(58).string(e.networkType),""!==e.sdkVersion&&t.uint32(66).string(e.sdkVersion),""!==e.appVersionName&&t.uint32(74).string(e.appVersionName),0!==e.appVersionCode&&t.uint32(80).int64(e.appVersionCode),void 0!==e.ip&&t.uint32(90).string(e.ip),void 0!==e.deviceIdV1&&t.uint32(98).string(e.deviceIdV1),void 0!==e.launchTs&&t.uint32(112).int64(e.launchTs),void 0!==e.appPackageName&&t.uint32(122).string(e.appPackageName),void 0!==e.carrierType&&t.uint32(130).string(e.carrierType),void 0!==e.browserName&&t.uint32(138).string(e.browserName),void 0!==e.browserVersion&&t.uint32(146).string(e.browserVersion),t},decode(e,t){let r=e instanceof i.Reader?e:i.Reader.create(e),n=void 0===t?r.len:r.pos+t,a={deviceId:"",osName:"",osVersion:"",manufacturer:"",model:"",carrier:"",networkType:"",sdkVersion:"",appVersionName:"",appVersionCode:0,ip:void 0,deviceIdV1:void 0,launchTs:void 0,appPackageName:void 0,carrierType:void 0,browserName:void 0,browserVersion:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;a.deviceId=r.string();continue;case 2:if(18!==e)break;a.osName=r.string();continue;case 3:if(26!==e)break;a.osVersion=r.string();continue;case 4:if(34!==e)break;a.manufacturer=r.string();continue;case 5:if(42!==e)break;a.model=r.string();continue;case 6:if(50!==e)break;a.carrier=r.string();continue;case 7:if(58!==e)break;a.networkType=r.string();continue;case 8:if(66!==e)break;a.sdkVersion=r.string();continue;case 9:if(74!==e)break;a.appVersionName=r.string();continue;case 10:if(80!==e)break;a.appVersionCode=c(r.int64());continue;case 11:if(90!==e)break;a.ip=r.string();continue;case 12:if(98!==e)break;a.deviceIdV1=r.string();continue;case 14:if(112!==e)break;a.launchTs=c(r.int64());continue;case 15:if(122!==e)break;a.appPackageName=r.string();continue;case 16:if(130!==e)break;a.carrierType=r.string();continue;case 17:if(138!==e)break;a.browserName=r.string();continue;case 18:if(146!==e)break;a.browserVersion=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return a}},l={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Writer.create();return void 0!==e.dpCampaignId&&t.uint32(10).string(e.dpCampaignId),void 0!==e.campaignMedium&&t.uint32(18).string(e.campaignMedium),void 0!==e.campaignSource&&t.uint32(26).string(e.campaignSource),void 0!==e.campaignRefCode&&t.uint32(34).string(e.campaignRefCode),void 0!==e.dpLandingPage&&t.uint32(42).string(e.dpLandingPage),void 0!==e.pageTitle&&t.uint32(50).string(e.pageTitle),void 0!==e.referrer&&t.uint32(58).string(e.referrer),void 0!==e.referrerType&&t.uint32(66).string(e.referrerType),void 0!==e.referrerUrl&&t.uint32(74).string(e.referrerUrl),void 0!==e.referrerNetwork&&t.uint32(82).string(e.referrerNetwork),void 0!==e.pageUrl&&t.uint32(90).string(e.pageUrl),void 0!==e.referrerHost&&t.uint32(98).string(e.referrerHost),t},decode(e,t){let r=e instanceof i.Reader?e:i.Reader.create(e),n=void 0===t?r.len:r.pos+t,a={dpCampaignId:void 0,campaignMedium:void 0,campaignSource:void 0,campaignRefCode:void 0,dpLandingPage:void 0,pageTitle:void 0,referrer:void 0,referrerType:void 0,referrerUrl:void 0,referrerNetwork:void 0,pageUrl:void 0,referrerHost:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;a.dpCampaignId=r.string();continue;case 2:if(18!==e)break;a.campaignMedium=r.string();continue;case 3:if(26!==e)break;a.campaignSource=r.string();continue;case 4:if(34!==e)break;a.campaignRefCode=r.string();continue;case 5:if(42!==e)break;a.dpLandingPage=r.string();continue;case 6:if(50!==e)break;a.pageTitle=r.string();continue;case 7:if(58!==e)break;a.referrer=r.string();continue;case 8:if(66!==e)break;a.referrerType=r.string();continue;case 9:if(74!==e)break;a.referrerUrl=r.string();continue;case 10:if(82!==e)break;a.referrerNetwork=r.string();continue;case 11:if(90!==e)break;a.pageUrl=r.string();continue;case 12:if(98!==e)break;a.referrerHost=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return a}};function c(e){if(e.gt(globalThis.Number.MAX_SAFE_INTEGER))throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");if(e.lt(globalThis.Number.MIN_SAFE_INTEGER))throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");return e.toNumber()}i.util.Long!==n.A&&(i.util.Long=n.A,i.configure());var u=r(598494);function d(e,t,r,n,i,a,o){try{var s=e[a](o),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function f(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function o(e){d(a,n,i,o,s,"next",e)}function s(e){d(a,n,i,o,s,"throw",e)}o(void 0)})}}function h(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){var l=[a,s];if(r)throw TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&l[0]?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,n=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){o.label=l[1];break}if(6===l[0]&&o.label<i[1]){o.label=i[1],i=l;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(l);break}i[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(e){l=[6,e],n=0}finally{r=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}var p=function(){var e;function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");this.apiKey=e.apikey,this.baseUrl=e.baseUrl,this.EventRequestV2=e.eventRequestV2}return e=[{key:"setUserContext",value:function(e){this.user=e}},{key:"setDeviceContext",value:function(e){this.deviceContext=e}},{key:"getUserContext",value:function(){return this.user}},{key:"getDeviceContext",value:function(){return this.deviceContext}},{key:"track",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;return f(function(){var i,a,o,s,l,c,d;return h(this,function(f){switch(f.label){case 0:i={eventName:e,eventTs:Date.now(),userContext:n.user,deviceContext:n.deviceContext,eventBytes:t,eventContext:r},f.label=1;case 1:return f.trys.push([1,3,,4]),a=n.EventRequestV2.encode({reqId:(0,u.A)(),sentTs:Date.now(),events:[i]}).finish(),[4,n.postEvent(a)];case 2:return f.sent(),[3,4];case 3:throw{statusCode:null!==(l=null===(s=o=f.sent())||void 0===s?void 0:s.statusCode)&&void 0!==l?l:"",errorMessage:null!==(d=null!==(c=o.errorMessage)&&void 0!==c?c:o.message)&&void 0!==d?d:""};case 4:return[2]}})})()}},{key:"postEvent",value:function(e){var t=this;return f(function(){var r,n,i,a,o,s,l,c;return h(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,fetch(t.baseUrl,{method:"POST",body:e,headers:{"Content-type":"application/json; charset=UTF-8","X-API-KEY":t.apiKey}})];case 1:if(!(n=u.sent()).ok)throw{statusCode:null!==(i=null===(r=n)||void 0===r?void 0:r.status)&&void 0!==i?i:""};return[2,n.json()];case 2:throw{statusCode:null!==(l=null===(o=a=u.sent())||void 0===o?void 0:o.statusCode)&&void 0!==l?l:"",errorMessage:null!==(c=null===(s=a)||void 0===s?void 0:s.message)&&void 0!==c?c:""};case 3:return[2]}})})()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}(),E=r(326241),_=r.n(E),g=Object.defineProperty,S=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,v=(e,t,r)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,b=(e,t)=>{for(var r in t||(t={}))m.call(t,r)&&v(e,r,t[r]);if(S)for(var r of S(t))A.call(t,r)&&v(e,r,t[r]);return e},T=(e,t)=>
12{var r={};for(var n in e)m.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&S)for(var n of S(e))0>t.indexOf(n)&&A.call(e,n)&&(r[n]=e[n]);return r};function y(e,t,r,n="gb-batch"){let i=_().Writer.create();for(let n of(e.length>0&&i.uint32(10).string(e),t&&i.uint32(16).int64(t),r))i.uint32(26).bytes(n);return n.length>0&&i.uint32(34).string(n),i.finish()}function O(e,t){var r,n,i,a,o,s,l,c,u,d,f,h,p,E,g,S,m,A,v,b,T,y,O,w,C,I,R,N,D,P,L,k,M,F,x,U,B;let H,G=function(e){let t=_().Writer.create();for(let[r,n]of(e.name.length>0&&t.uint32(10).string(e.name),Object.entries(e.DpEventDataStrMap)))t.uint32(18).fork(),t.uint32(10).string(r),t.uint32(18).string(n),t.ldelim();for(let[r,n]of Object.entries(e.DpEventDataLongMap))t.uint32(26).fork(),t.uint32(10).string(r),t.uint32(16).int64(n),t.ldelim();for(let[r,n]of Object.entries(e.DpEventDataBooleanMap))t.uint32(34).fork(),t.uint32(10).string(r),t.uint32(16).bool(n),t.ldelim();for(let[r,n]of Object.entries(e.DpEventDataFloatMap))t.uint32(42).fork(),t.uint32(10).string(r),t.uint32(21).float(n),t.ldelim();return t.finish()}(function(e,t){let r={name:e,DpEventDataStrMap:{},DpEventDataLongMap:{},DpEventDataBooleanMap:{},DpEventDataFloatMap:{}};for(let[e,n]of Object.entries(t))null!=n&&("string"==typeof n?r.DpEventDataStrMap[e]=n:"boolean"==typeof n?r.DpEventDataBooleanMap[e]=n:"number"==typeof n?Number.isInteger(n)?r.DpEventDataLongMap[e]=n:r.DpEventDataFloatMap[e]=n:"object"==typeof n?r.DpEventDataStrMap[e]=JSON.stringify(n):r.DpEventDataStrMap[e]=String(n));return r}(e.eventName,t)),j=((H=_().Writer.create()).uint32(10).string("GobblerWebengageEvent"),void 0!==e.eventTs&&H.uint32(16).int64(e.eventTs),e.userContext&&(H.uint32(26).fork(),null!=(n=(r=e.userContext).userName)&&n.length&&H.uint32(10).string(r.userName),null!=(i=r.emailId)&&i.length&&H.uint32(18).string(r.emailId),null!=(a=r.userAccountId)&&a.length&&H.uint32(26).string(r.userAccountId),null!=(o=r.country)&&o.length&&H.uint32(34).string(r.country),null!=(s=r.cuid)&&s.length&&H.uint32(42).string(r.cuid),null!=(l=r.dpLatitude)&&l.length&&H.uint32(50).string(r.dpLatitude),null!=(c=r.dpLongitude)&&c.length&&H.uint32(58).string(r.dpLongitude),H.ldelim()),e.deviceContext&&(H.uint32(34).fork(),null!=(d=(u=e.deviceContext).deviceId)&&d.length&&H.uint32(10).string(u.deviceId),null!=(f=u.osName)&&f.length&&H.uint32(18).string(u.osName),null!=(h=u.osVersion)&&h.length&&H.uint32(26).string(u.osVersion),null!=(p=u.manufacturer)&&p.length&&H.uint32(34).string(u.manufacturer),null!=(E=u.model)&&E.length&&H.uint32(42).string(u.model),null!=(g=u.carrier)&&g.length&&H.uint32(50).string(u.carrier),null!=(S=u.networkType)&&S.length&&H.uint32(58).string(u.networkType),null!=(m=u.sdkVersion)&&m.length&&H.uint32(66).string(u.sdkVersion),null!=(A=u.appVersionName)&&A.length&&H.uint32(74).string(u.appVersionName),u.appVersionCode&&H.uint32(80).int64(u.appVersionCode),null!=(v=u.ip)&&v.length&&H.uint32(90).string(u.ip),null!=(b=u.deviceIdV1)&&b.length&&H.uint32(98).string(u.deviceIdV1),u.launchTs&&H.uint32(112).int64(u.launchTs),null!=(T=u.appPackageName)&&T.length&&H.uint32(122).string(u.appPackageName),null!=(y=u.carrierType)&&y.length&&H.uint32(130).string(u.carrierType),null!=(O=u.browserName)&&O.length&&H.uint32(138).string(u.browserName),null!=(w=u.browserVersion)&&w.length&&H.uint32(146).string(u.browserVersion),H.ldelim()),G.length>0&&H.uint32(42).bytes(G),e.eventId&&H.uint32(50).string(e.eventId),e.eventContext&&(H.uint32(74).fork(),null!=(I=(C=e.eventContext).dpCampaignId)&&I.length&&H.uint32(10).string(C.dpCampaignId),null!=(R=C.campaignMedium)&&R.length&&H.uint32(18).string(C.campaignMedium),null!=(N=C.campaignSource)&&N.length&&H.uint32(26).string(C.campaignSource),null!=(D=C.campaignRefCode)&&D.length&&H.uint32(34).string(C.campaignRefCode),null!=(P=C.dpLandingPage)&&P.length&&H.uint32(42).string(C.dpLandingPage),null!=(L=C.pageTitle)&&L.length&&H.uint32(50).string(C.pageTitle),null!=(k=C.referrer)&&k.length&&H.uint32(58).string(C.referrer),null!=(M=C.referrerType)&&M.length&&H.uint32(66).string(C.referrerType),null!=(F=C.referrerUrl)&&F.length&&H.uint32(74).string(C.referrerUrl),null!=(x=C.referrerNetwork)&&x.length&&H.uint32(82).string(C.referrerNetwork),null!=(U=C.pageUrl)&&U.length&&H.uint32(90).string(C.pageUrl),null!=(B=C.referrerHost)&&B.length&&H.uint32(98).string(C.referrerHost),H.ldelim()),H.finish());if(j.byteLength>65536)throw Error(`[Gobbler] Event "${e.eventName}" too large: ${j.byteLength} bytes (max 65536)`);return j}var w=!1,C={log:(...e)=>{w&&console.log(...e)},warn:(...e)=>{w&&console.warn(...e)}},I=class{constructor(e,t,r,n=5){this.apiKey=e,this.baseUrl=t,this.store=null!=r?r:null,this.maxEventRetries=n}async sendEvent(e,t,r,n,i){let a=Date.now(),o=(0,u.A)(),s;try{s=O({eventName:e,eventTs:a,eventId:o,userContext:r,deviceContext:n,eventContext:i},t)}catch(t){C.warn("[Gobbler] Fallback: failed to encode event, dropping:",e,t);return}return this.sendEntry({eventName:e,eventBytes:s,eventTs:a,eventId:o})}async sendEntry(e){if(!e.eventBytes||0===e.eventBytes.byteLength){C.warn("[Gobbler] Fallback: entry missing eventBytes, dropping",e.eventName);return}let t=y((0,u.A)(),Date.now(),[e.eventBytes]);await this.sendWithRetry(t)}async flushOrphanedEvents(){var e;if(!this.store)return;let t=!0;for(;t;){let r=await this.store.readEvents(30);if(0===r.length){t=!1;break}let n=[],i=[],a=[];for(let e of r)void 0!==e.id&&e.eventBytes&&e.eventBytes.byteLength>0?(n.push(e.eventBytes),a.push(e.id)):void 0!==e.id&&i.push(e.id);if(i.length>0&&await this.store.deleteEvents(i),0===n.length){r.length<30&&(t=!1);continue}let o=y((0,u.A)(),Date.now(),n);if(await this.sendWithRetry(o))await this.store.deleteEvents(a);else{await this.store.incrementRetryCount(a);let n=[];for(let t of r)a.includes(t.id)&&(null!=(e=t.retryCount)?e:0)+1>this.maxEventRetries&&n.push(t.id);n.length>0&&(await this.store.deleteEvents(n),C.warn("[Gobbler] Fallback: deleted",n.length,"events exceeding max retry limit of",this.maxEventRetries)),t=!1}r.length<30&&(t=!1)}}async sendWithRetry(e){for(let t=1;t<=2;t++){try{let t=await fetch(this.baseUrl,{method:"POST",body:e,headers:{"Content-Type":"application/x-protobuf","X-API-KEY":this.apiKey},keepalive:!0});if(t.ok)return!0;
12if(429!==t.status&&408!==t.status&&t.status>=400&&t.status<500)return C.warn("[Gobbler] Fallback: client error (4xx), not retrying"),!1}catch(e){}if(t<2){let e=1e3*Math.pow(2,t-1);await new Promise(t=>setTimeout(t,e))}}return C.warn("[Gobbler] Fallback: max retries exceeded"),!1}};function R(e,t){if(0===e.length)return;let r=e.filter(e=>e.eventBytes&&e.eventBytes.byteLength>0);if(0===r.length)return;let n=y((0,u.A)(),Date.now(),r.map(e=>e.eventBytes));fetch(t.baseUrl,{method:"POST",body:n,keepalive:!0,headers:{"Content-Type":"application/x-protobuf","X-API-KEY":t.apiKey}}).catch(()=>{})}var N=class{constructor(e){this.config=e,this.buffer=[],this.timer=null,this.isFlushing=!1,this.boundHandleUnload=this.handleUnload.bind(this),this.boundHandleVisibility=this.handleVisibility.bind(this)}init(){this.timer=setInterval(()=>this.flush(),this.config.flushIntervalMs),window.addEventListener("pagehide",this.boundHandleUnload),window.addEventListener("visibilitychange",this.boundHandleVisibility)}push(e){this.buffer.length>=5*this.config.maxBufferSize&&this.buffer.shift(),this.buffer.push(e),!this.isFlushing&&this.buffer.length>=this.config.maxBufferSize&&this.flush()}flush(){if(this.isFlushing||0===this.buffer.length)return;this.isFlushing=!0;let e=this.buffer.splice(0),t=[];for(let r=0;r<e.length;r+=this.config.maxBufferSize)t.push(e.slice(r,r+this.config.maxBufferSize));Promise.all(t.map(e=>this.sendBatch(e))).finally(()=>{this.isFlushing=!1,this.buffer.length>=this.config.maxBufferSize&&this.flush()})}destroy(){this.timer&&(clearInterval(this.timer),this.timer=null),window.removeEventListener("pagehide",this.boundHandleUnload),window.removeEventListener("visibilitychange",this.boundHandleVisibility)}handleUnload(){this.buffer.length>0&&(R(this.buffer,this.config),this.buffer=[])}handleVisibility(){document.hidden&&this.buffer.length>0&&R(this.buffer.splice(0),this.config)}async sendBatch(e,t=0){let r=e.filter(e=>e.eventBytes&&e.eventBytes.byteLength>0).map(e=>e.eventBytes);if(0===r.length)return;let n=y((0,u.A)(),Date.now(),r);try{let e=new AbortController,t=setTimeout(()=>e.abort(),1e4),r=await fetch(this.config.baseUrl,{method:"POST",body:n,signal:e.signal,headers:{"Content-Type":"application/x-protobuf","X-API-KEY":this.config.apiKey}});if(clearTimeout(t),!r.ok)throw Error(`HTTP ${r.status}`)}catch(r){if(t<this.config.maxRetries){let r=this.config.retryBackoffMs*2**t;return await new Promise(e=>setTimeout(e,r)),this.sendBatch(e,t+1)}C.warn("[Gobbler] In-memory flush failed, dropping batch:",r)}}},D=class{constructor(){this.registration=null,this.isReady=!1,this.apiKey="",this.baseUrl="",this.boundControllerChange=null,this.boundMessageHandler=null,this.initialSetupComplete=!1,this.controllerReadyResolve=null,this.controllerReadyTimeout=null}async register(e,t){if("undefined"==typeof navigator||!("serviceWorker"in navigator))return C.warn("[Gobbler] Service Worker not supported in this browser"),!1;this.apiKey=t.apiKey,this.baseUrl=t.baseUrl,this.maxBatchSize=t.maxBatchSize,this.maxEventRetries=t.maxEventRetries;try{return C.log("[Gobbler] Registering Service Worker at:",e),this.registration=await navigator.serviceWorker.register(e,{scope:"/"}),C.log("[Gobbler] Service Worker registered, waiting for controller..."),this.setupControllerChangeListener(),this.setupMessageListeners(),await this.waitForController(),C.log("[Gobbler] Service Worker controller ready"),this.sendInit(),this.initialSetupComplete=!0,this.isReady=!0,!0}catch(e){return C.warn("[Gobbler] Service Worker registration failed:",e),!1}}isAvailable(){var e;return this.isReady&&"undefined"!=typeof navigator&&!!(null!=(e=navigator.serviceWorker)&&e.controller)}requestFlush(){this.postToSW({type:"FLUSH"})}registerSync(){try{this.registration&&"sync"in this.registration&&this.registration.sync.register("gobbler-flush").catch(()=>{})}catch(e){}}destroy(){this.isReady=!1,this.initialSetupComplete=!1,this.registration=null,this.controllerReadyResolve=null,this.controllerReadyTimeout&&(clearTimeout(this.controllerReadyTimeout),this.controllerReadyTimeout=null),"undefined"!=typeof navigator&&navigator.serviceWorker&&(this.boundControllerChange&&(navigator.serviceWorker.removeEventListener("controllerchange",this.boundControllerChange),this.boundControllerChange=null),this.boundMessageHandler&&(navigator.serviceWorker.removeEventListener("message",this.boundMessageHandler),this.boundMessageHandler=null))}sendInit(){let e={apiKey:this.apiKey,baseUrl:this.baseUrl};null!=this.maxBatchSize&&(e.maxBatchSize=this.maxBatchSize),null!=this.maxEventRetries&&(e.maxEventRetries=this.maxEventRetries),this.postToSW({type:"INIT",config:e})}postToSW(e){var t,r;"undefined"!=typeof navigator&&(null==(r=null==(t=navigator.serviceWorker)?void 0:t.controller)||r.postMessage(e))}setupControllerChangeListener(){"undefined"!=typeof navigator&&(this.boundControllerChange=()=>{navigator.serviceWorker.controller?(this.controllerReadyResolve&&(this.controllerReadyResolve(),this.controllerReadyResolve=null,this.controllerReadyTimeout&&(clearTimeout(this.controllerReadyTimeout),this.controllerReadyTimeout=null)),this.initialSetupComplete&&(this.isReady=!0,this.sendInit())):this.isReady=!1},navigator.serviceWorker.addEventListener("controllerchange",this.boundControllerChange))}setupMessageListeners(){"undefined"!=typeof navigator&&(this.boundMessageHandler=e=>{let t=e.data;if(!(!t||"string"!=typeof t.type))switch(t.type){case"EVENTS_SENT":break;case"EVENTS_FAILED":C.warn("[Gobbler] SW reported event delivery failure:",t.error)}},navigator.serviceWorker.addEventListener("message",this.boundMessageHandler))}async waitForController(){if(navigator.serviceWorker.controller){C.log("[Gobbler] Controller already exists");return}return C.log("[Gobbler] Waiting for controller to become available..."),new Promise((e,t)=>
12{this.controllerReadyResolve=e,this.controllerReadyTimeout=setTimeout(()=>{this.controllerReadyResolve=null,this.controllerReadyTimeout=null,C.warn("[Gobbler] Timeout waiting for Service Worker controller"),t(Error("Timeout waiting for Service Worker controller"))},1e4)})}},P=class{constructor(e,t,r,n){this.buffer=[],this.flushTimer=null,this.isFlushing=!1,this.store=e,this.config=t,this.onEventsWritten=r,this.pagehideSender=n,this.boundPageHide=this.handlePageHide.bind(this),this.boundVisibilityChange=this.handleVisibilityChange.bind(this)}addEvent(e,t,r){let n=Date.now(),i=(0,u.A)(),a=this.userContext?b({},this.userContext):void 0,o=this.deviceContext?b({},this.deviceContext):void 0,s=r?b({},r):void 0,l;try{l=O({eventName:e,eventTs:n,eventId:i,userContext:a,deviceContext:o,eventContext:s},t)}catch(t){C.warn("[Gobbler WAL] Failed to encode event, dropping:",e,t);return}this.addEntry({eventName:e,eventBytes:l,userContext:a,deviceContext:o,eventContext:s,eventTs:n,eventId:i,retryCount:0})}addEntry(e){if(this.buffer.push(e),C.log("[Gobbler WAL] Event added to buffer:",e.eventName,"| Buffer size:",this.buffer.length),this.buffer.length>=this.config.maxBufferSize){C.log("[Gobbler WAL] Buffer full, flushing..."),this.flush();return}this.flushTimer||(C.log("[Gobbler WAL] Starting flush timer (",this.config.walFlushIntervalMs,"ms)"),this.flushTimer=setTimeout(()=>{this.flushTimer=null,this.flush()},this.config.walFlushIntervalMs))}async flush(){if(this.isFlushing||0===this.buffer.length){C.log("[Gobbler WAL] Flush skipped (flushing:",this.isFlushing,", buffer:",this.buffer.length,")");return}this.isFlushing=!0,C.log("[Gobbler WAL] Flushing",this.buffer.length,"events to IndexedDB...");let e=this.buffer.slice();this.buffer=[],this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null);try{await this.store.writeEvents(e),C.log("[Gobbler WAL] Successfully wrote",e.length,"events to IndexedDB"),this.onEventsWritten(e.length)}catch(t){C.warn("[Gobbler WAL] â Flush failed, re-buffering events:",t),this.buffer=e.concat(this.buffer)}finally{this.isFlushing=!1}}forceFlush(){if(0===this.buffer.length)return;let e=this.buffer.slice();this.buffer=[],this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),this.pagehideSender?this.pagehideSender(e):this.store.writeEvents(e).then(()=>{this.onEventsWritten(e.length)}).catch(e=>{C.warn("[Gobbler] Force flush IDB write failed:",e)})}registerLifecycleHandlers(){"undefined"!=typeof window&&(window.addEventListener("pagehide",this.boundPageHide),document.addEventListener("visibilitychange",this.boundVisibilityChange))}unregisterLifecycleHandlers(){"undefined"!=typeof window&&(window.removeEventListener("pagehide",this.boundPageHide),document.removeEventListener("visibilitychange",this.boundVisibilityChange))}setUserContext(e){this.userContext=e}setDeviceContext(e){this.deviceContext=e}destroy(){this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=null),this.unregisterLifecycleHandlers(),this.buffer=[]}handlePageHide(){this.forceFlush()}handleVisibilityChange(){"undefined"!=typeof document&&document.hidden&&this.flush()}},L="events",k=class{constructor(){this.db=null}async open(){if(!this.db)return new Promise((e,t)=>{let r=indexedDB.open("gobbler-events-db",2);r.onupgradeneeded=e=>{let t=r.result;e.oldVersion<2&&t.objectStoreNames.contains(L)&&(console.warn("[Gobbler] IDB schema v2 migration: dropping stale v1 events"),t.deleteObjectStore(L)),t.objectStoreNames.contains(L)||t.createObjectStore(L,{keyPath:"id",autoIncrement:!0}).createIndex("eventTs","eventTs",{unique:!1})},r.onsuccess=()=>{this.db=r.result,e()},r.onerror=()=>{t(r.error)}})}async writeEvents(e){let t=this.getDB();try{await this.writeEventsInternal(t,e)}catch(r){if(this.isQuotaError(r))await this.evictOldest(t),await this.writeEventsInternal(t,e);else throw r}}async readEvents(e,t=0){let r=this.getDB();return new Promise((n,i)=>{let a=r.transaction(L,"readonly"),o=a.objectStore(L).index("eventTs"),s=[],l=0,c=o.openCursor();c.onsuccess=()=>{let r=c.result;if(!r||s.length>=e){n(s);return}if(l<t){l++,r.continue();return}s.push(r.value),r.continue()},c.onerror=()=>i(c.error),a.onerror=()=>i(a.error)})}async deleteEvents(e){if(0===e.length)return;let t=this.getDB();return new Promise((r,n)=>{let i=t.transaction(L,"readwrite"),a=i.objectStore(L);for(let t of e)a.delete(t);i.oncomplete=()=>r(),i.onerror=()=>n(i.error)})}async incrementRetryCount(e){if(0===e.length)return;let t=this.getDB();return new Promise((r,n)=>{let i=t.transaction(L,"readwrite"),a=i.objectStore(L);for(let t of e){let e=a.get(t);e.onsuccess=()=>{var t;let r=e.result;r&&(r.retryCount=(null!=(t=r.retryCount)?t:0)+1,a.put(r))}}i.oncomplete=()=>r(),i.onerror=()=>n(i.error)})}
12async getEventCount(){let e=this.getDB();return new Promise((t,r)=>{let n=e.transaction(L,"readonly").objectStore(L).count();n.onsuccess=()=>t(n.result),n.onerror=()=>r(n.error)})}async truncateToLimit(e){let t=await this.getEventCount();if(t<=e)return;let r=this.getDB(),n=t-e;return new Promise((e,t)=>{let i=r.transaction(L,"readwrite"),a=i.objectStore(L).index("eventTs"),o=0,s=a.openCursor();s.onsuccess=()=>{let t=s.result;if(!t||o>=n){e();return}t.delete(),o++,t.continue()},s.onerror=()=>t(s.error),i.onerror=()=>t(i.error)})}async clearAll(){let e=this.getDB();return new Promise((t,r)=>{let n=e.transaction(L,"readwrite"),i=n.objectStore(L).clear();i.onsuccess=()=>t(),i.onerror=()=>r(i.error),n.onerror=()=>r(n.error)})}async close(){this.db&&(this.db.close(),this.db=null)}getDB(){if(!this.db)throw Error("[Gobbler] IndexedDB not opened. Call open() first.");return this.db}writeEventsInternal(e,t){return new Promise((r,n)=>{let i=e.transaction(L,"readwrite"),a=i.objectStore(L);for(let e of t){let{id:t}=e,r=T(e,["id"]);a.put(r)}i.oncomplete=()=>r(),i.onerror=()=>n(i.error)})}async evictOldest(e){let t=Math.ceil(await this.getEventCount()/2);if(0!==t)return new Promise((r,n)=>{let i=e.transaction(L,"readwrite"),a=i.objectStore(L).index("eventTs"),o=0,s=a.openCursor();s.onsuccess=()=>{let e=s.result;if(!e||o>=t){r();return}e.delete(),o++,e.continue()},s.onerror=()=>n(s.error),i.onerror=()=>n(i.error)})}isQuotaError(e){return e instanceof DOMException&&("QuotaExceededError"===e.name||22===e.code)}},M={walFlushIntervalMs:100,swFlushIntervalMs:1e4,maxBatchSize:30,maxRetries:3,retryBackoffMs:1e3,maxIDBEvents:1e3,maxBufferSize:100,swUrl:"/gobbler-sw.js",storageBackend:"in-memory",maxEventRetries:5,inMemoryFlushIntervalMs:5e3},F=class{constructor(e){var t;this.store=null,this.wal=null,this.swBridge=null,this.fallback=null,this.inMemoryBatcher=null,this.initialized=!1,this.swAvailable=!1,this.storeReady=!1,this.initStarted=!1,this.preStoreQueue=[],this.inFlightIDBWrites=new Set,this.boundPageHideSync=null,this.boundPreStorePageHide=null,this.pendingIDBEventCount=0,this.swFlushTimer=null,this.apiKey=e.apikey,this.baseUrl=e.baseUrl,this.config=b(b
12({},M),this.pickBatchConfig(e)),w=null!=(t=e.debug)&&t}async init(){var e,t,r;if(this.initialized){C.warn("[Gobbler] Already initialized. Call destroy() first to re-initialize.");return}if("undefined"==typeof window){C.warn("[Gobbler] init() must be called in a browser environment.");return}if("in-memory"===this.config.storageBackend){this.inMemoryBatcher=new N({maxBufferSize:this.config.maxBufferSize,flushIntervalMs:null!=(e=this.config.inMemoryFlushIntervalMs)?e:5e3,apiKey:this.apiKey,baseUrl:this.baseUrl,maxRetries:this.config.maxRetries,retryBackoffMs:this.config.retryBackoffMs}),this.inMemoryBatcher.init(),this.initialized=!0;return}this.initStarted=!0,this.registerPreStorePageHide();try{try{this.store=(this.config,new k),await this.store.open(),this.storeReady=!0,await this.drainPreStoreQueue()}catch(e){C.warn("[Gobbler] IndexedDB unavailable, using direct HTTP fallback:",e),this.store=null}if(this.store&&(this.swBridge=new D,this.swAvailable=await this.swBridge.register(this.config.swUrl,{apiKey:this.apiKey,baseUrl:this.baseUrl,maxBatchSize:this.config.maxBatchSize,maxEventRetries:this.config.maxEventRetries})),this.swAvailable&&this.store)this.wal=new P(this.store,this.config,e=>this.onWALEventsWritten(e),this.createPagehideSender()),this.user&&this.wal.setUserContext(this.user),this.deviceContext&&this.wal.setDeviceContext(this.deviceContext),this.wal.registerLifecycleHandlers(),this.registerPageHideSync(),this.swBridge.requestFlush();else{this.fallback=new I(this.apiKey,this.baseUrl,this.store,this.config.maxEventRetries);try{await this.fallback.flushOrphanedEvents()}catch(e){C.warn("[Gobbler] Orphan flush failed:",e)}}if(this.store)try{await this.store.truncateToLimit(this.config.maxIDBEvents)}catch(e){C.warn("[Gobbler] IDB truncation failed:",e)}}catch(e){C.warn("[Gobbler] init() failed, falling back to unbatched HTTP:",e),this.swAvailable=!1,this.swBridge&&(this.swBridge.destroy(),this.swBridge=null),this.wal&&(this.wal.destroy(),this.wal=null),this.unregisterPageHideSync(),this.fallback||(this.fallback=new I(this.apiKey,this.baseUrl,this.store,this.config.maxEventRetries))}this.initialized=!0;try{await this.drainPreStoreQueue()}catch(e){C.warn("[Gobbler] Failed to drain pre-store queue:",e)}null==(t=this.swBridge)||t.requestFlush(),this.attachDebugUtils()}track(e,t,r){var n;if(this.inMemoryBatcher){let n=this.buildEntry(e,t,r);n&&this.inMemoryBatcher.push(n);return}if(!this.storeReady&&!this.initialized){if(!this.initStarted){C.warn("[Gobbler] Not initialized. Call init() first.");return}let n=this.buildEntry(e,t,r);n&&this.preStoreQueue.push(n);return}if(this.storeReady&&!this.initialized&&this.store){let n=this.buildEntry(e,t,r);if(!n)return;this.inFlightIDBWrites.add(n),this.store.writeEvents([n]).then(()=>{this.inFlightIDBWrites.delete(n)}).catch(e=>{this.inFlightIDBWrites.delete(n),C.warn("[Gobbler] Direct IDB write failed:",e),this.swAvailable&&this.wal?this.wal.addEntry(n):this.fallback?this.fallback.sendEntry(n):this.initialized?C.warn("[Gobbler] Phase 2 write failed â event dropped, no recovery path"):this.preStoreQueue.push(n)});return}if(!this.initialized){C.warn("[Gobbler] Not initialized. Call init() first.");return}if(this.swAvailable&&this.wal)if(!(null!=(n=this.swBridge)&&n.isAvailable()))return this.transitionToFallback().then(()=>{var n;return null==(n=this.fallback)?void 0:n.sendEvent(e,t,this.user,this.deviceContext,r)});else this.wal.addEvent(e,t,r);else if(this.fallback)return this.fallback.sendEvent(e,t,this.user,this.deviceContext,r)}setUserContext(e){this.user=e,this.wal&&this.wal.setUserContext(e)}setDeviceContext(e){this.deviceContext=e,this.wal&&this.wal.setDeviceContext(e)}getUserContext(){return this.user}getDeviceContext(){return this.deviceContext}getStore(){return this.store}getSWBridge(){return this.swBridge}getWAL(){return this.wal}isServiceWorkerAvailable(){return this.swAvailable}async destroy(){this.unregisterPageHideSync(),this.unregisterPreStorePageHide(),this.inMemoryBatcher&&(this.inMemoryBatcher.destroy(),this.inMemoryBatcher=null),this.swFlushTimer&&(clearTimeout(this.swFlushTimer),this.swFlushTimer=null),this.pendingIDBEventCount=0,this.wal&&(this.wal.destroy(),this.wal=null),this.swBridge&&(this.swBridge.destroy(),this.swBridge=null),this.store&&(
12await this.store.close(),this.store=null),this.fallback=null,this.swAvailable=!1,this.initialized=!1,this.storeReady=!1,this.initStarted=!1,this.preStoreQueue=[],this.inFlightIDBWrites.clear()}onWALEventsWritten(e){if(this.pendingIDBEventCount+=e,C.log("[Gobbler] IDB events pending:",this.pendingIDBEventCount,"/ maxBatchSize:",this.config.maxBatchSize),this.pendingIDBEventCount>=this.config.maxBatchSize){C.log("[Gobbler] Batch size reached, flushing to SW immediately"),this.flushToSW();return}this.swFlushTimer||(C.log("[Gobbler] Starting SW flush timer (",this.config.swFlushIntervalMs,"ms)"),this.swFlushTimer=setTimeout(()=>{this.swFlushTimer=null,this.flushToSW(),C.log("[Gobbler] SW flush timer fired, flushed to SW")},this.config.swFlushIntervalMs))}flushToSW(){var e;this.swFlushTimer&&(clearTimeout(this.swFlushTimer),this.swFlushTimer=null),this.pendingIDBEventCount=0,null==(e=this.swBridge)||e.requestFlush()}async drainPreStoreQueue(){if(0===this.preStoreQueue.length)return;let e=this.preStoreQueue;for(let t of(this.preStoreQueue=[],e))this.inFlightIDBWrites.add(t);if(this.storeReady&&this.store)try{for(let t of(await this.store.writeEvents(e),e))this.inFlightIDBWrites.delete(t)}catch(t){for(let t of e)this.inFlightIDBWrites.delete(t);if(C.warn("[Gobbler] drainPreStoreQueue IDB write failed:",t),this.fallback)for(let t of e)this.fallback.sendEntry(t);else this.preStoreQueue=e.concat(this.preStoreQueue)}else if(this.fallback)for(let t of e)this.inFlightIDBWrites.delete(t),this.fallback.sendEntry(t);else{for(let t of e)this.inFlightIDBWrites.delete(t);C.warn(`[Gobbler] ${e.length} events dropped \u2014 no store or fallback available`)}}buildEntry(e,t,r){let n=Date.now(),i=(0,u.A)(),a=this.user?b({},this.user):void 0,o=this.deviceContext?b({},this.deviceContext):void 0,s=r?b({},r):void 0;try{let r=O({eventName:e,eventTs:n,eventId:i,userContext:a,deviceContext:o,eventContext:s},t);return{eventName:e,eventBytes:r,userContext:a,deviceContext:o,eventContext:s,eventTs:n,eventId:i,retryCount:0}}catch(t){return C.warn("[Gobbler] Failed to encode event, dropping:",e,t),null}}registerPageHideSync(){"undefined"!=typeof window&&(this.boundPageHideSync=()=>{var e;this.pendingIDBEventCount>0&&this.flushToSW(),null==(e=this.swBridge)||e.registerSync()},window.addEventListener("pagehide",this.boundPageHideSync))}unregisterPageHideSync(){"undefined"!=typeof window&&this.boundPageHideSync&&(window.removeEventListener("pagehide",this.boundPageHideSync),this.boundPageHideSync=null)}registerPreStorePageHide(){if("undefined"==typeof window||this.boundPreStorePageHide)return;let e=this.createPagehideSender();this.boundPreStorePageHide=()=>{if(0===this.preStoreQueue.length&&0===this.inFlightIDBWrites.size)return;let t=[...this.preStoreQueue,...this.inFlightIDBWrites];this.preStoreQueue=[],this.inFlightIDBWrites.clear(),e(t)},window.addEventListener("pagehide",this.boundPreStorePageHide)}unregisterPreStorePageHide(){"undefined"!=typeof window&&this.boundPreStorePageHide&&(window.removeEventListener("pagehide",this.boundPreStorePageHide),this.boundPreStorePageHide=null)}async transitionToFallback(){C.warn("[Gobbler] SW controller lost, transitioning to fallback mode"),this.swAvailable=!1,this.swFlushTimer&&(clearTimeout(this.swFlushTimer),this.swFlushTimer=null),this.pendingIDBEventCount=0,this.swBridge&&(this.swBridge.destroy(),this.swBridge=null),this.wal&&(await this.wal.flush(),this.wal.destroy(),this.wal=null),this.unregisterPageHideSync(),this.store&&!this.fallback&&(this.fallback=new I(this.apiKey,this.baseUrl,this.store,this.config.maxEventRetries),await this.fallback.flushOrphanedEvents().catch(e=>{C.warn("[Gobbler] Fallback orphan flush failed:",e)}))}attachDebugUtils(){var e;if("undefined"==typeof window)return;try{let t=globalThis;if(!t.process||(null==(e=t.process.env)?void 0:e.NODE_ENV)!=="development")return}catch(e){return}let t=this.store,r=this.wal,n=this.swBridge;window.gobblerDebug={getQueuedEventCount:()=>{var e;return null!=(e=null==t?void 0:t.getEventCount())?e:Promise.resolve(0)},forceFlush:async()=>{r&&r.forceFlush(),n&&await n.requestFlush()},clearEventQueue:()=>{var e;return null!=(e=null==t?void 0:t.clearAll())?e:Promise.resolve()},getSwStatus:async()=>{var e,r,i;return{registered:!!n,active:null!=(e=null==n?void 0:n.isAvailable())&&e,controlling:"undefined"!=typeof navigator&&!!(null!=(r=navigator.serviceWorker)&&r.controller),pendingCount:null!=(i=await (null==t?void 0:t.getEventC
12ount()))?i:0}},getPendingEvents:()=>{var e;return null!=(e=null==t?void 0:t.readEvents(1e3))?e:Promise.resolve([])}}}pickBatchConfig(e){let t={};for(let r of["walFlushIntervalMs","swFlushIntervalMs","maxBatchSize","maxRetries","retryBackoffMs","maxIDBEvents","maxBufferSize","swUrl","storageBackend","maxEventRetries","inMemoryFlushIntervalMs"])r in e&&void 0!==e[r]&&(t[r]=e[r]);return t}createPagehideSender(){return e=>{try{let t=[];for(let r of e)r.eventBytes&&r.eventBytes.byteLength>0?t.push(r.eventBytes):C.warn("[Gobbler] Pagehide: entry missing eventBytes, dropping",r.eventName);if(0===t.length)return;let r=(0,u.A)(),n=y(r,Date.now(),t);fetch(this.baseUrl,{method:"POST",body:n,headers:{"Content-Type":"application/x-protobuf","X-API-KEY":this.apiKey},keepalive:!0}).catch(e=>{C.warn("[Gobbler] Pagehide fetch failed:",e)})}catch(e){C.warn("[Gobbler] Pagehide sender failed:",e)}}}},x=r(951402),U=r(237347);let B=new p({apikey:"ede91b8e93308c51aa0f",baseUrl:"https://client-pixel.groww.in/E0yAWnKHt",eventRequestV2:{encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.Writer.create();for(let r of(""!==e.reqId&&t.uint32(10).string(e.reqId),0!==e.sentTs&&t.uint32(16).int64(e.sentTs),e.events))a.encode(r,t.uint32(26).fork()).ldelim();return void 0!==e.job&&t.uint32(34).string(e.job),void 0!==e.dpReqSerial&&t.uint32(40).int64(e.dpReqSerial),void 0!==e.triggerAppState&&t.uint32(50).string(e.triggerAppState),t},decode(e,t){let r=e instanceof i.Reader?e:i.Reader.create(e),n=void 0===t?r.len:r.pos+t,o={reqId:"",sentTs:0,events:[],job:void 0,dpReqSerial:void 0,triggerAppState:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;o.reqId=r.string();continue;case 2:if(16!==e)break;o.sentTs=c(r.int64());continue;case 3:if(26!==e)break;o.events.push(a.decode(r,r.uint32()));continue;case 4:if(34!==e)break;o.job=r.string();continue;case 5:if(40!==e)break;o.dpReqSerial=c(r.int64());continue;case 6:if(50!==e)break;o.triggerAppState=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return o}}}),H=new F({apikey:"ede91b8e93308c51bb0f",baseUrl:"https://client-pixel.groww.in/webevents-batch",debug:!1,maxBatchSize:30,swFlushIntervalMs:1e4,maxRetries:3,retryBackoffMs:1e3,maxIDBEvents:1e3,maxBufferSize:100,maxEventRetries:5,walFlushIntervalMs:100,swUrl:"/gobbler-web-sw.js",inMemoryFlushIntervalMs:1e3,storageBackend:"in-memory"}),G=null;async function j(){return G||(G=H.init().catch(e=>{console.warn("[GobblerV2] init() rejected:",e),G=null}))}function V(){var e;let t=(0,x.z)();return{appVersionCode:0,appVersionName:null!==(e=(0,U.i)())&&void 0!==e?e:"",appPackageName:"com.nextbillion.groww.web",carrier:"",manufacturer:t.manufacturer,model:t.model,networkType:(0,x.A)(),osName:(0,x.v)(),osVersion:(0,x.w)(),sdkVersion:""}}function K(e){let t={...V(),deviceId:null!=e?e:""};B.setDeviceContext(t),H.setDeviceContext(t)}function W(e){B.setUserContext(e),H.setUserContext(e)}!function(){let e={...V(),deviceId:""};B.setDeviceContext(e),H.setDeviceContext(e)}(),j();let Y=async(e,t,r,n)=>{try{let l=t.encode(r).finish(),c={...function(){var e,t;return{pageUrl:null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href}}(),...null==n?void 0:n.context};try{var i,a,o,s;let t=null!==(o=null==n?void 0:null===(i=n.v2Override)||void 0===i?void 0:i.name)&&void 0!==o?o:e,l=null!==(s=null==n?void 0:null===(a=n.v2Override)||void 0===a?void 0:a.payload)&&void 0!==s?s:r;H.track(t,l,c)}catch(e){console.error("[GobblerV2] Failed to send event",e)}let u=0,d=!1;for(;u<=2&&!d;)try{await B.track(e,l,c),d=!0}catch(e){if(++u>2)break;u<=2&&await new Promise(e=>setTimeout(e,1e3*u))}}catch(e){console.error(e)}}},235045:(e,t)=>{"use strict";t.length=function(e){var t=e.length;if(!t)return 0;for(var r=0;--t%4>1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var r=Array(64),n=Array(123),i=0;i<64;)n[r[i]=i<26?i+65:i<52?i+71:i<62?i-4:i-59|43]=i++;t.encode=function(e,t,n){for(var i,a=null,o=[],s=0,l=0;t<n;){var c=e[t++];switch(l){case 0:o[s++]=r[c>>2],i=(3&c)<<4,l=1;break;case 1:o[s++]=r[i|c>>4],i=(15&c)<<2,l=2;break;case 2:o[s++]=r[i|c>>6],o[s++]=r[63&c],l=0}s>8191&&((a||(a=[])).push(String.fromCharCode.apply(String,o)),s=0)}return(l&&(o[s++]=r[i],o[s++]=61,1===l&&(o[s++]=61)),a)?(s&&a.push(String.fromCharCode.apply(String,o.slice(0,s))),a.join("")):String.fromCharCode.apply(String,o.slice(0,s))};var a="invalid encoding";t.decode=function(e,t,r){for(var i,o=r,s=0,l=0;l<e.length;){var c=e.charCodeAt(l++);if(61===c&&s>1)break;if(void 0===(c=n[c]))throw Error(a);switch(s){case 0:i=c,s=1;break;case 1:t[r++]=i<<2|(48&c)>>4,i=c,s=2;break;case 2:t[r++]=(15&i)<<4|(60&c)>>2,i=c,s=3;break;case 3:t[r++]=(3&i)<<6|c,s=0}}if(1===s)throw Error(a);return r-o},t.test=function(e){return/^(?:[A-Za-z0-9+/]{4}
12)*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},236044:(e,t,r)=>{"use strict";r.d(t,{Cg:()=>i,D4:()=>o,DW:()=>c,Ej:()=>E,FJ:()=>p,Xp:()=>n,Zn:()=>l,Zy:()=>d,_3:()=>a,e1:()=>h,gD:()=>f,kF:()=>s,lr:()=>u});let n="OPEN_SIP_CARD",i="CHANGE_ORDER_VALUE",a="CHANGE_SCREEN",o="SET_SIP_INTERMEDIATE_STEP",s="UPDATE_SIP_INTERMEDIATE_STEP",l="GET_SIP_MANDATE",c="RESET_SIP_CREATE_CARD",u="UPDATE_INPUT_VALIDATION",d="SET_MANDATE_DATA",f="GET_SIP_COUNT_PER_GSIN",h="GET_ACTIVE_SIPS_PER_GSIN",p="RESET_ACTIVE_SIPS_PER_GSIN",E="RESET_MANDATE_DATA"},237347:(e,t,r)=>{"use strict";r.d(t,{i:()=>i});let n=r(778928);function i(){return n}},238460:(e,t,r)=>{"use strict";r.d(t,{N:()=>c,wD:()=>u,_q:()=>f});var n=r(647005);r(870507);var i=r(132978),a=r(951402),o=r(299168),s=r(136398),l=r(603183);function c(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!n.BV()){let t=(0,o.u0)(),r=(0,o.LQ)();if(e){if(!(0,a.a)(t)&&!(0,a.a)(r))return!0}else if(!(0,a.a)(t))return!0}return(0,l.NW)(),!1}function u(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!n.BV()){let t=(0,o.xN)(),r=(0,o.Ec)();if(e){if(!(0,a.a)(t)&&!(0,a.a)(r))return!0}else if(!(0,a.a)(t))return!0}return(0,l.NW)(),!1}let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;if("string"!=typeof e)return"";let r=e.trim();return(r=r.replace(/[<>]/g,"")).length>t&&(r=r.substring(0,t)),r};function f(e,t,r){if((0,a.a)(r)){let r=n.c7(n.ZE.LOCAL_STORAGE,s.aH.GMF_DATA,!0);(0,a.a)(r)||(0,i.s)(e,t,r)}else{let{gmf_gclid:a,gmf_utm_source:o,gmf_utm_medium:l,gmf_utm_campaign:c}=r;if(a||o||l||c){let r={gclid:d(a),utm_source:d(o),utm_medium:d(l),utm_campaign:d(c)};n.cT(n.ZE.LOCAL_STORAGE,s.aH.GMF_DATA,r,!0,s.aH.ONE_DAY_IN_MINS),(0,i.s)(e,t,r)}}}},238985:()=>{},240034:(e,t,r)=>{"use strict";r.d(t,{e:()=>c});var n=r(576132),i=r.n(n),a=r(170742),o=r.n(a),s=r(159966);let l=e=>Error("redux-persist-transform-encrypt: ".concat(e)),c=(e,t)=>{if(void 0===e)throw l("No configuration provided.");let{secretKey:r}=e;if(!r)throw l("No secret key provided.");let n="function"==typeof e.onError?e.onError:console.warn;return(0,s.l1)((e,t)=>i().encrypt(JSON.stringify(e),r).toString(),(e,t)=>{if("string"!=typeof e)return n(l("Expected outbound state to be a string."));try{let t=i().decrypt(e,r).toString(o().enc.Utf8);if(!t)throw Error("Decrypted string is empty.");try{return JSON.parse(t)}catch(e){return n(l("Failed to parse state as JSON."))}}catch(e){return n(l("Could not decrypt state. Please verify that you are using the correct secret key."))}},t)}},241617:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_123)"},n.createElement("path",{fill:"currentColor",d:"M8 13h8q.424 0 .712-.287A.97.97 0 0 0 17 12a.97.97 0 0 0-.288-.713A.97.97 0 0 0 16 11H8a.97.97 0 0 0-.713.287A.97.97 0 0 0 7 12q0 .424.287.713Q7.576 13 8 13m4 9a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_123"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},242852:(e,t,r)=>{"use strict";e.exports=i;var n=r(965537);function i(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=!!t,this.responseDelimited=!!r}(i.prototype=Object.create(n.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function e(t,r,i,a,o){if(!a)throw TypeError("request must be specified");var s=this;if(!o)return n.asPromise(e,s,t,r,i,a);if(!s.rpcImpl){setTimeout(function(){o(Error("already ended"))},0);return}try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](a).finish(),function(e,r){if(e)return s.emit("error",e,t),o(e);if(null===r){s.end(!0);return}if(!(r instanceof i))try{r=i[s.responseDelimited?"decodeDelimited":"decode"](r)}
12catch(e){return s.emit("error",e,t),o(e)}return s.emit("data",r,t),o(null,r)})}catch(e){s.emit("error",e,t),setTimeout(function(){o(e)},0);return}},i.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},243259:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});let n="GET_SGB_DATA"},244001:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/v.0ea75a4f.svg",height:135,width:135,blurWidth:0,blurHeight:0}},245379:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return 1!==e&&(t+="s"),e+" "+t+" "+r},function(e){if(!e||!e.__esModule){var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e}}(r(407178))},247812:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(810059),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),n.createElement("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}))})},248934:(e,t,r)=>{"use strict";r.d(t,{LZ:()=>p,ao:()=>_,k1:()=>g});var n=r(738739),i=r(574830),a=r(80339),o=r(660690),s=r(625697),l=r(936114),c=r(533427),u=r(925129),d=r(458732),f=r(535902);let h="_frozenDsc";function p(e,t){(0,c.my)(e,h,t)}function E(e,t){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},a={environment:r.environment||n.U,release:r.release,public_key:i,trace_id:e,org_id:(0,s.ul)(t)};return t.emit("createDsc",a),a}function _(e,t){let r=t.getPropagationContext();return r.dsc||E(r.traceId,e)}function g(e){let t=(0,i.KU)();if(!t)return{};let r=(0,u.zU)(e),n=(0,u.et)(r),s=n.data,c=r.spanContext().traceState,p=c?.get("sentry.sample_rate")??s[a.sy]??s[a.Ef];function g(e){return("number"==typeof p||"string"==typeof p)&&(e.sample_rate=`${p}`),e}let S=r[h];if(S)return g(S);let m=(0,d.h)(r),A=m&&"ignored"===r.dropReason;if(m&&(!(0,l.f)(t.getOptions())||A)){let e=(0,f.Lb)(r).scope;if(e){let r={..._(t,e)};return A&&(r.sampled="false"),g(r)}}let v=c?.get("sentry.dsc"),b=v&&(0,o.yD)(v);if(b)return g(b);let T=E(e.spanContext().traceId,t),y=s[a.i_]??s["sentry.segment.name.source"],O=n.description;return"url"!==y&&O&&(T.transaction=O),(0,l.f)()&&(T.sampled=String((0,u.pK)(r)),T.sample_rand=c?.get("sentry.sample_rand")??f.Lb(r).scope?.getPropagationContext().sampleRand.toString()),g(T),t.emit("createDsc",T,r),T}},251355:(e,t,r)=>{"use strict";r.d(t,{Fo:()=>E,MU:()=>A,XQ:()=>g,_9:()=>p,tB:()=>b,tf:()=>S,u1:()=>v,xt:()=>m});var n=r(12865),i=r(366516),a=r.n(i),o=r(951402),s=r(744620),l=r(454532),c=r(126479),u=r(507987),d=r(753762),f=r(435564),h=r(72080);function p(){let e=(0,c.ph)();if(e&&((0,c.T7)(),(0,u.W)(e))){window.location.href=e;return}(0,h.Ox)(a(),()=>a().push(l.bw.STOCK+l.bw.USER+l.bw.EXPLORE))}function E(e){(0,o.a)(e)?a().push(l.bw.ONBOARDING):a().push("".concat(l.bw.ONBOARDING,"?utm_source=").concat(e))}let _=e=>{let t=null==e?void 0:e.aof_status;return!!t&&t!==s.iO.COMPLETED};function g(e){let{userData:t}=d.f.getState();if(_(t)){E({});return}e?e():p()}function S(e){let{result:t,loading:r,error:n}=e;return{result:t,loading:r,error:n}}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.pC.NEVER;return e===n.pC.TWOFA_ENTER_PIN||e===n.pC.TWOFA_SET_PIN||e===n.pC.TWOFA_FORGOT_PIN||e===n.pC.TWOFA_ENTER_OTP||e===n.pC.TWOFA_CONGRATS}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.pC.NEVER;return e===n.pC.REGISTER_MOBILE||e===n.pC.UPDATE_MOBILE||e===n.pC.DEVICE_REGISTER}let v=e=>{var t,r,n,i,a,o,s,l;let c=null!==(l=null===(t=e.response)||void 0===t?void 0:t.status)&&void 0!==l?l:500,u=(null===(i=e.response)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:null===(r=n.errorMessage)||void 0===r?void 0:r.message)||(null==e?void 0:null===(s=e.response)||void 0===s?void 0:null===(o=s.data)||void 0===o?void 0:null===(a=o.error)||void 0===a?void 0:a.errorMessage);
12return c<500&&u?u:f.kL.GENERAL_ERROR},b=e=>{if((null==e?void 0:e.length)!==4)return f.v1.PIN_LENGTH_ERROR}},253857:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,Dz:()=>h,ES:()=>C,Eh:()=>I,Fd:()=>p,HA:()=>T,J2:()=>w,JQ:()=>y,JR:()=>L,Kn:()=>m,Qt:()=>g,Ss:()=>c,W9:()=>E,ad:()=>D,h9:()=>N,j0:()=>d,jt:()=>l,nU:()=>O,qC:()=>R,qq:()=>b,qv:()=>v,u3:()=>_,xE:()=>u,yM:()=>P,yY:()=>S,zO:()=>A});var n=r(951402),i=r(136398),a=r(744620),o=r(270230),s=r(135956);let l="/v1/api/search/v3/query/global/st_query";function c(e,t){let r=new Date().getTime();return o.SP.get("/v1/api/api/cc/v1/groww/notification/user",{params:{page:e,size:t,cd:r}})}function u(){let e={expiresInMin:i.aH.SEARCH_EXPIRY_TIME_IN_MIN};return(0,o.RB)("/v1/api/user/v1/preference/product_list",e)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={useEncryption:!0,expiresInMin:i.aH.SEARCH_EXPIRY_TIME_IN_MIN,hardRefresh:t,key:e};return(0,o.RB)("/v1/api/user/v1/preference/product_types",r,{preference_type:e})}function f(e){return o.SP.post("/v1/api/user/v1/preference/update_preference_parameters",e)}function h(e){return o.SP.get("/v1/api/api/cc/v1/groww/notification/user/viewed",{params:{ids:e}})}function p(){return o.SP.get("/v1/api/user/v1/family_account")}function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.zG.LIGHT;return o.SP.post("/v1/api/preference/v1/set_preference",{DARK_MODE:{theme:e}})}function _(){return o.SP.get("/v1/api/preference/v1/get_preference?keys=segments ")}function g(e,t,r,n,i){let a={query:e,page:t,size:r,web:!0,is_us_stocks:1};return n&&(a.entity_type=n),o.vO.get("/v1/api/search/v3/query/global/st_p_query",{params:a,signal:i})}function S(e,t,r,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5?arguments[5]:void 0,c=arguments.length>6?arguments[6]:void 0,u={query:e,from:t,size:r,web:!0,is_us_stocks:1};return i&&(u.entity_type=i,"scheme"===i&&a&&(u.is_prime_user=1)),(0,n.a)(i)&&a&&(u.is_prime_user=1),o.SP.get(null!=c?c:l,{params:u,signal:s})}function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r={q:e};return t&&(r.seg=t),o.SP.get("/v1/api/search/v3/query/feature_search/st_fs",{params:r})}function A(e){return o.SP.get("/v1/api/user/v2/login/masked_email",{params:{mobile_number:e}})}function v(){return o.SP.get("/v1/api/user/v1/register/email/verification")}function b(e,t){let r="/v1/api/user/v1/email/verification/link/".concat((0,n.J)(e),"/").concat((0,n.J)(t));return o.SP.get(r)}function T(){return o.SP.get("/v1/api/user/v1/auth/logged_in_sessions")}function y(e){return(0,s.ki)(),o.SP.post("/v1/api/user/v1/auth/logout/session",{sessionId:e})}let O=e=>o.SP.post("/v1/api/user/v1/auth/pin/validate_auth_id",{passCode:e,productType:"ACCOUNT_FREEZE"}),w=e=>o.SP.post("/v1/api/user/v2/freeze",null,{headers:{"X-AUTH-ID":"ACCOUNT_FREEZE|".concat(e)}}),C=()=>o.vO.get("/v1/global_msg_board_discovery"),I=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return o.SP.get("/bff/watchlist/gql/items",e?{headers:{"cache-control":"no-cache"}}:{})},R=()=>o.SP.get("/v1/api/selection/v2/watchlist/all/items_mapping",{params:{include_index_fno:!0}}),N=e=>o.SP.get("/v1/api/data/mf/v1/watchlist/user/watch",{params:{watch_item_id:e,watch_item_type:"SCHEME"}}),D=e=>o.SP.get("/v1/api/data/mf/v1/watchlist/user/remove",{params:{watch_item_id:e,watch_item_type:"SCHEME"}}),P=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3?arguments[3]:void 0,i={itemId:e,addToWatchlists:t,removeFromWatchlists:r};return n&&(i.watchlistItemType=n),o.SP.put("/v1/api/selection/v2/watchlist/item",i)},L=e=>o.SP.post("/v1/api/selection/v2/watchlist",{watchlistName:e})},261208:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(986594),i=r(407178),a=r(951402);let o=e=>{let[t,o]=(0,i.useState)(null);return((0,i.useEffect)(()=>{let e=!0;return Promise.all([r.e(34793),r.e(61054),r.e(88869)]).then(r.bind(r,588869)).then(t=>{e&&o(t)}).catch(e=>{console.error("error is",e)}),()=>{e=!1}},[]),(0,a.a)(t))?null:(0,n.jsx)(t.default,{...e})}},261762:(e,t,r)=>{"use strict";r.d(t,{Vu:()=>s,fj:()=>a,qO:()=>o});var n=r(320900),i=r(365);function a(e){let t=(0,i.zf)(),r={sid:(0,n.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&o(r,e),r}function o(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,n.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),o(e,r)}},262400:(e,t,r)=>{"use strict";r.d(t,{Om:()=>u,e2:()=>s});var n=r(574830),i=r(248934),a=r(483764),o=r(925129);function s(e,t){var r,n,a,s;let{fingerprint:l,span:c,breadcrumbs:u,sdkProcessingMetadata:d}=t;(function(e,t){let{extra:r,tags:n,user:i,contexts:a,level:o,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(a).length&&(e.contexts={...a,...e.contexts}),o&&(e.level=o),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),c&&function(e,t){e.contexts={trace:(0,o.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,i.k1)(t),...e.sdkProcessingMetadata};let r=(0,o.zU)(t),n=(0,o.et)(r).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}
12(e,c),r=e,n=l,r.fingerprint=r.fingerprint?Array.isArray(r.fingerprint)?r.fingerprint:[r.fingerprint]:[],n&&(r.fingerprint=r.fingerprint.concat(n)),r.fingerprint.length||delete r.fingerprint,function(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,u),a=e,s=d,a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...s}}function l(e,t){let{extra:r,tags:n,attributes:i,user:o,contexts:s,level:l,sdkProcessingMetadata:u,breadcrumbs:d,fingerprint:f,eventProcessors:h,attachments:p,propagationContext:E,transactionName:_,span:g}=t;c(e,"extra",r),c(e,"tags",n),c(e,"attributes",i),c(e,"user",o),c(e,"contexts",s),e.sdkProcessingMetadata=(0,a.h)(e.sdkProcessingMetadata,u,2),l&&(e.level=l),_&&(e.transactionName=_),g&&(e.span=g),d.length&&(e.breadcrumbs=[...e.breadcrumbs,...d]),f.length&&(e.fingerprint=[...e.fingerprint,...f]),h.length&&(e.eventProcessors=[...e.eventProcessors,...h]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...E}}function c(e,t,r){e[t]=(0,a.h)(e[t],r,1)}function u(e,t){let r=(0,n.m6)().getScopeData();return e&&l(r,e.getScopeData()),t&&l(r,t.getScopeData()),r}},264494:(e,t,r)=>{"use strict";r.d(t,{X:()=>i,Z:()=>n});var n=function(e){return e.LOW_TO_HIGH="asc",e.HIGH_TO_LOW="des",e}({}),i=function(e){return e.INVEST="INVEST",e.EMPTY_STATE="EMPTY_STATE",e}({})},268254:(e,t,r)=>{"use strict";r.d(t,{BW:()=>a,CC:()=>i,EF:()=>_,Fl:()=>l,G1:()=>c,IO:()=>d,IV:()=>s,JD:()=>f,K4:()=>h,RO:()=>u,Xu:()=>o,Y1:()=>p,nE:()=>E,sY:()=>n});let n="FD/GET_FD_ORDER_DATA",i="FD/GET_FD_INVESTMENT_AND_PENDING_ORDERS",a="FD/SORT_INVESTMENT_ORDERS",o="FD/TOGGLE_INVESTMENT_PARAMETER",s="fd/GET_FD_DATA_START",l="fd/GET_FD_DATA_SUCCESS",c="fd/GET_FD_DATA_FAILURE",u="fd/GET_FD_BANK_DATA_START",d="fd/GET_FD_BANK_DATA_SUCCESS",f="fd/GET_FD_BANK_DATA_FAILURE",h="fd/GET_FD_INFORMATION_DATA",p="fd/GET_RD_INFORMATION_DATA",E="fd/SELECTED_SEARCH_ID",_="fd/GET_FD_TXN_DATA"},269618:(e,t,r)=>{"use strict";r.d(t,{BY:()=>s,EU:()=>a,Se:()=>o});var n=r(456232),i=r(718043);function a(){return o(i.O),i.O}function o(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.M,t[n.M]=t[n.M]||{}}function s(e,t,r=i.O){let a=r.__SENTRY__=r.__SENTRY__||{},o=a[n.M]=a[n.M]||{};return o[e]||(o[e]=t())}},270230:(e,t,r)=>{"use strict";r.d(t,{Np:()=>v,RB:()=>m,RO:()=>d,SP:()=>h,iI:()=>b,kl:()=>S,tJ:()=>g,tP:()=>_,vO:()=>p});var n=r(713885),i=r(873435),a=r(870507),o=r(647005),s=r(951402),l=r(299168),c=r(136398),u=r(226713);let d={SESSION_EXPIRED:"SESSION_EXPIRED",TWO_FACTOR_EXPIRE:"TWO_FACTOR_EXPIRE",AT_RT_UPDATE:"AT_RT_UPDATE"},f=(0,a.Ay)(),h=(()=>{let e=n.A.create({baseURL:"https://groww.in",headers:{Authorization:(0,l.u0)(),"X-USER-CAMPAIGN":(0,l.LQ)(),"x-platform":"web","X-APP-ID":"growwWeb","x-device-type":"desktop"},paramsSerializer:e=>i.stringify(e,{arrayFormat:"comma"})});return e.interceptors.request.use(u.SE,u.F_),e.interceptors.request.use(u.dz,u.F_),e.interceptors.response.use(u.mO,u.$p),e})(),p=(()=>{let e=n.A.create({baseURL:"https://groww.in",headers:{"x-platform":"web","X-APP-ID":"growwWeb","x-device-type":"desktop"},paramsSerializer:e=>i.stringify(e,{arrayFormat:"comma"})});return e.interceptors.request.use(u.$2,u.F_),e.interceptors.response.use(u.v3,u.wq),e})(),E=null;function _(){return(E=new AbortController).signal}function g(e){return n.A.isCancel(e)}function S(){E&&(E.abort(),E=null),window.cancelVar&&window.cancelVar()}window.cancelVar=null;let m=function(e,t){let r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:h,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:p,u=5,d=!1,f=!1,E=!1;if(t&&(t.expiresInMin&&(u=t.expiresInMin),t.useEncryption&&(d=t.useEncryption),t.hardRefresh&&(f=t.hardRefresh),t.noSession&&(E=t.noSession)),r=t&&t.key?t.key:(0,s.a)(n)?b(e).toString():b(e+JSON.stringify(n)).toString(),t&&f)return A(e,r,u,d,n,E,i,a,l,c);let _=o.c7(o.ZE.LOCAL_STORAGE,r,d);return(0,s.a)(_)?A(e,r,u,d,n,E,i,a,l,c):Promise.resolve({data:_})},A=function(e,t,r,n,i,a){let s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:h,d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:p,E=f.getAppHeaders();return new Promise(a?function(a,u){d.get(e,{params:i,headers:s?E:{}}).then(e=>{t===c.aH.HNS_MAIN_DATA&&(e.data.isWebviewActive=s,e.data.clientSideCall=l),o.cT(o.ZE.LOCAL_STORAGE,t,e.data,n,r),a(e)}).catch(e=>{u(e)})}:function(a,d){u.get(e,{params:i,headers:s?E:{}}).then(e=>{let i={...e};t===c.aH.HNS_MAIN_DATA&&(i.data.isWebviewActive=s,i.data.clientSideCall=l),o.cT(o.ZE.LOCAL_STORAGE,t,i.data,n,r),a(i)}).catch(e=>{d(e)})})},v=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;try{let n=await r.get(e);return n.stale=!1,t.set(n),Promise.resolve(n)}catch(r){let e=t.get();if(e)return e.stale=!0,Promise.resolve(e);return Promise.reject(r)}},b=e=>{let t=0;if(0===e.length)return t;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}},271192:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});let n="GET_STOCKS_EXPLORE_COMPANY_LIST"},272913:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n="GET_MARKET_TRENDS_LIST_DATA"},275063:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>l,vA:()=>V.unstable_batchedUpdates,Ng:()=>F,wA:()=>H,d4:()=>j,Pj:()=>B});var n=r(407178);r(743544);var i=n.createContext(null),a=function(e){e()},o={notify:function(){}},s=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=o,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return!!this.unsubscribe},t.trySubscribe=function(){if(!this.unsubscribe){var e,t,r;this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=a,t=null,r=null,{clear:function(){t=null,r=null},notify:function(){e(function(){for(var e=t;e;)e.callback(),e=e.next})},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}})}},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=o)},e}();let l=function(e){var t=e.store,r=e.context,a=e.children,o=(0,n.useMemo)(function(){var e=new s(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),l=(0,n.useMemo)(function(){return t.getState()},[t]);(0,n.useEffect)(function(){var e=o.subscription;return e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[o,l]);var c=r||i;return n.createElement(c.Provider,{value:o},a)};var c=r(583507),u=r(782252),d=r(186815),f=r.n(d),h=r(63357),p="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,E=[],_=[null,null];function g(e,t){var r=e[1];return[t.payload,r+1]}function S(e,t,r){p(function(){return e.apply(void 0,t)},r)}function m(e,t,r,n,i,a,o){e.current=n,t.current=i,r.current=!1,a.current&&(a.current=null,o())}function A(e,t,r,n,i,a,o,s,l,c){if(e){var u=!1,d=null,f=function(){if(!u){var e,r,f=t.getState();try{e=n(f,i.current)}catch(e){r=e,d=e}r||(d=null),e===a.current?o.current||l():(a.current=e,s.current=e,o.current=!0,
12c({type:"STORE_UPDATED",payload:{error:r}}))}};return r.onStateChange=f,r.trySubscribe(),f(),function(){if(u=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}}var v=function(){return[null,0]};function b(e,t){void 0===t&&(t={});var r=t,a=r.getDisplayName,o=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,l=r.methodName,d=void 0===l?"connectAdvanced":l,p=r.renderCountProp,b=void 0===p?void 0:p,T=r.shouldHandleStateChanges,y=void 0===T||T,O=r.storeKey,w=void 0===O?"store":O,C=(r.withRef,r.forwardRef),I=void 0!==C&&C,R=r.context,N=void 0===R?i:R,D=(0,u.A)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);return function(t){var r=t.displayName||t.name||"Component",i=o(r),a=(0,c.A)({},D,{getDisplayName:o,methodName:d,renderCountProp:b,shouldHandleStateChanges:y,storeKey:w,displayName:i,wrappedComponentName:r,WrappedComponent:t}),l=D.pure,p=l?n.useMemo:function(e){return e()};function T(r){var i=(0,n.useMemo)(function(){var e=r.reactReduxForwardedRef,t=(0,u.A)(r,["reactReduxForwardedRef"]);return[r.context,e,t]},[r]),o=i[0],l=i[1],d=i[2],f=(0,n.useMemo)(function(){return o&&o.Consumer&&(0,h.isContextConsumer)(n.createElement(o.Consumer,null))?o:N},[o,N]),b=(0,n.useContext)(f),T=!!r.store&&!!r.store.getState&&!!r.store.dispatch;b&&b.store;var O=T?r.store:b.store,w=(0,n.useMemo)(function(){return e(O.dispatch,a)},[O]),C=(0,n.useMemo)(function(){if(!y)return _;var e=new s(O,T?null:b.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[O,T,b]),I=C[0],R=C[1],D=(0,n.useMemo)(function(){return T?b:(0,c.A)({},b,{subscription:I})},[T,b,I]),P=(0,n.useReducer)(g,E,v),L=P[0][0],k=P[1];if(L&&L.error)throw L.error;var M=(0,n.useRef)(),F=(0,n.useRef)(d),x=(0,n.useRef)(),U=(0,n.useRef)(!1),B=p(function(){return x.current&&d===F.current?x.current:w(O.getState(),d)},[O,L,d]);S(m,[F,M,U,d,B,x,R]),S(A,[y,O,I,w,F,M,U,x,R,k],[O,I,w]);var H=(0,n.useMemo)(function(){return n.createElement(t,(0,c.A)({},B,{ref:l}))},[l,t,B]);return(0,n.useMemo)(function(){return y?n.createElement(f.Provider,{value:D},H):H},[f,H,D])}var O=l?n.memo(T):T;if(O.WrappedComponent=t,O.displayName=i,I){var C=n.forwardRef(function(e,t){return n.createElement(O,(0,c.A)({},e,{reactReduxForwardedRef:t}))});return C.displayName=i,C.WrappedComponent=t,f()(C,t)}return f()(O,t)}}function T(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function y(e,t){if(T(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!T(e[r[i]],t[r[i]]))return!1;return!0}var O=r(659022);function w(e){return function(t,r){var n=e(t,r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function C(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function I(e,t){return function(t,r){r.displayName;var n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e)};return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=C(e);var i=n(t,r);return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=C(i),i=n(t,r)),i},n}}let R=[function(e){return"function"==typeof e?I(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:w(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?w(function(t){return(0,O.zH)(e,t)}):void 0}],N=[function(e){return"function"==typeof e?I(e,"mapStateToProps"):void 0},function(e){return e?void 0:w(function(){return{}})}];function D(e,t,r){return(0,c.A)({},r,{},e,{},t)}let P=[function(e){return"function"==typeof e?function(t,r){r.displayName;var n,i=r.pure,a=r.areMergedPropsEqual,o=!1;return function(t,r,s){var l=e(t,r,s);return o?i&&a(l,n)||(n=l):(o=!0,n=l),n}}:void 0},function(e){return e?void 0:function(){return D}}];function L(e,t){var r=t.initMapStateToProps,n=t.initMapDispatchToProps,i=t.initMergeProps,a=(0,u.A)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),o=r(e,a),s=n(e,a),l=i(e,a);return(a.pure?function(e,t,r,n,i){var a,o,s,l,c,u=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,h=!1;return function(i,p){var E,_,g,S,m,A;return h?(E=i,m=!d(_=p,o),A=!u(E,a),(a=E,o=_,m&&A)?(s=e(a,o),t.depen
12dsOnOwnProps&&(l=t(n,o)),c=r(s,l,o)):m?(e.dependsOnOwnProps&&(s=e(a,o)),t.dependsOnOwnProps&&(l=t(n,o)),c=r(s,l,o)):A?(S=!f(g=e(a,o),s),s=g,S&&(c=r(s,l,o)),c):c):(s=e(a=i,o=p),l=t(n,o),c=r(s,l,o),h=!0,c)}}:function(e,t,r,n){return function(i,a){return r(e(i,a),t(n,a),a)}})(o,s,l,e,a)}function k(e,t,r){for(var n=t.length-1;n>=0;n--){var i=t[n](e);if(i)return i}return function(t,n){throw Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function M(e,t){return e===t}let F=function(e){var t={},r=t.connectHOC,n=void 0===r?b:r,i=t.mapStateToPropsFactories,a=void 0===i?N:i,o=t.mapDispatchToPropsFactories,s=void 0===o?R:o,l=t.mergePropsFactories,d=void 0===l?P:l,f=t.selectorFactory,h=void 0===f?L:f;return function(e,t,r,i){void 0===i&&(i={});var o=i,l=o.pure,f=o.areStatesEqual,p=o.areOwnPropsEqual,E=void 0===p?y:p,_=o.areStatePropsEqual,g=void 0===_?y:_,S=o.areMergedPropsEqual,m=void 0===S?y:S,A=(0,u.A)(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),v=k(e,a,"mapStateToProps"),b=k(t,s,"mapDispatchToProps"),T=k(r,d,"mergeProps");return n(h,(0,c.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:!!e,initMapStateToProps:v,initMapDispatchToProps:b,initMergeProps:T,pure:void 0===l||l,areStatesEqual:void 0===f?M:f,areOwnPropsEqual:E,areStatePropsEqual:g,areMergedPropsEqual:m},A))}}();function x(){return(0,n.useContext)(i)}function U(e){void 0===e&&(e=i);var t=e===i?x:function(){return(0,n.useContext)(e)};return function(){return t().store}}var B=U(),H=function(e){void 0===e&&(e=i);var t=e===i?B:U(e);return function(){return t().dispatch}}(),G=function(e,t){return e===t},j=function(e){void 0===e&&(e=i);var t=e===i?x:function(){return(0,n.useContext)(e)};return function(e,r){void 0===r&&(r=G);var i=t(),a=function(e,t,r,i){var a,o=(0,n.useReducer)(function(e){return e+1},0)[1],l=(0,n.useMemo)(function(){return new s(r,i)},[r,i]),c=(0,n.useRef)(),u=(0,n.useRef)(),d=(0,n.useRef)(),f=(0,n.useRef)(),h=r.getState();try{a=e!==u.current||h!==d.current||c.current?e(h):f.current}catch(e){throw c.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),e}return p(function(){u.current=e,d.current=h,f.current=a,c.current=void 0}),p(function(){function e(){try{var e=u.current(r.getState());if(t(e,f.current))return;f.current=e}catch(e){c.current=e}o()}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}},[r,l]),a}(e,r,i.store,i.subscription);return(0,n.useDebugValue)(a),a}}(),V=r(81693);a=V.unstable_batchedUpdates},277245:(e,t,r)=>{"use strict";r.d(t,{lH:()=>s,lt:()=>c,rh:()=>l,ul:()=>u});var n=r(960136),i=r(975427);let a=null,o=!1,s=e=>{try{if(o||"undefined"==typeof performance)return;o=!0;let t=()=>{try{let t=performance.getEntriesByType("navigation");if(!t||0===t.length)return;let r=t[0];if(0===r.loadEventEnd)return;let a=parseFloat((r.loadEventEnd-r.startTime).toFixed(2)),o=parseFloat((r.responseStart-r.startTime).toFixed(2)),s=a/1e3,l=Date.now()/1e3,c=(0,n.Uk)({name:e,op:"pageload",forceTransaction:!0,startTime:l-s,attributes:{"page.loadTime":a,"page.ttfb":o,customSpan:!0}});c&&(c.setAttributes({"page.loadTime_ms":a,"page.ttfb_ms":o}),(0,i.X)("page.load_time",a,"millisecond",c),(0,i.X)("page.ttfb",o,"millisecond",c),c.end(l))}catch(e){}};"complete"===document.readyState?t():window.addEventListener("load",()=>{setTimeout(t,0)},{once:!0})}catch(e){}},l=()=>a,c=()=>{try{"undefined"!=typeof performance&&(a=performance.now())}catch(e){}},u=e=>{try{if(null===a||"undefined"==typeof performance)return;let t=parseFloat((performance.now()-a).toFixed(2)),r=t/1e3,o=Date.now()/1e3,s=(0,n.Uk)({name:e,op:"navigation",forceTransaction:!0,startTime:o-r,attributes:{"navigation.duration":t,customSpan:!0}});s&&(s.setAttribute("navigation.duration_ms",t),(0,i.X)("navigation.duration",t,"millisecond",s),s.end(o))}catch(e){}}},279600:(e,t,r)=>{"use strict";r.d(t,{XW:()=>i,xg:()=>a});var n=r(198328);function i(e){return new o(t=>{t(e)})}function a(e){return new o((t,r)=>{r(e)})}class o{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new o((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new o((t,r)=>{let n,i;return this.then(t=>{i=!1,n=t,e&&e()},t=>{i=!0,n=t,e&&e()}).then(()=>
12{if(i){r(n);return}t(n)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if((0,n.Qg)(t)){t.then(r,i);return}this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(1,e)},i=e=>{t(2,e)};try{e(r,i)}catch(e){i(e)}}}},280759:(e,t,r)=>{"use strict";r.d(t,{$X:()=>v,A7:()=>S,B$:()=>I,BD:()=>Q,Cf:()=>j,DK:()=>q,DN:()=>u,D_:()=>d,EG:()=>o,EM:()=>i,Ei:()=>$,Ew:()=>en,Gb:()=>C,IH:()=>Y,JM:()=>y,KN:()=>U,KO:()=>G,LK:()=>W,LX:()=>L,OO:()=>X,OP:()=>z,Q3:()=>B,Q9:()=>m,RC:()=>f,Ry:()=>K,S9:()=>O,Y:()=>H,ZA:()=>k,_6:()=>b,as:()=>R,b2:()=>T,cC:()=>ei,fj:()=>ee,g9:()=>Z,h3:()=>P,i:()=>J,kn:()=>N,m3:()=>_,oE:()=>c,oY:()=>a,pq:()=>M,q1:()=>s,qm:()=>E,qy:()=>er,sM:()=>et,sm:()=>ea,sp:()=>p,vf:()=>F,vy:()=>x,wY:()=>l,x1:()=>A,xH:()=>w,xM:()=>eo,xw:()=>V,y1:()=>g,z$:()=>D,zw:()=>h});var n=r(454532);let i=(0,n.un)(n.bw.DIGEST);(0,n.un)(n.bw.DIGEST+n.bw.DAILY_DIGEST),(0,n.un)(n.bw.DIGEST+n.bw.WEEKLY_DIGEST),(0,n.un)(n.bw.DIGEST+n.bw.DAILY_DIGEST+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.DIGEST+n.bw.WEEKLY_DIGEST+n.bw.SLASH+n.bw.SEARCH_ID);let a=(0,n.un)(n.bw.BLOG);(0,n.un)(n.bw.BLOG+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.BLOG+n.bw.CATEGORY+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.HINDI+n.bw.BLOG+n.bw.SLASH+n.bw.SEARCH_ID);let o=(0,n.un)(n.bw.GLOSSARY),s=(0,n.un)(n.bw.GLOSSARY+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.GLOSSARY+n.bw.SLASH+n.bw.GLOSSARY_SECONDARY_SEARCHID+n.bw.SLASH+n.bw.SEARCH_ID);let l=(0,n.un)(n.bw.CALCULATOR),c=(0,n.un)(n.bw.CALCULATOR+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.CALCULATOR+n.bw.BROKERAGE_CALCULATOR);let u=(0,n.un)(n.bw.GLOSSARY+n.bw.PAN_CARD),d=(0,n.un)(n.bw.GLOSSARY+n.bw.PAN_CARD+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.GLOSSARY+n.bw.SAVING_SCHEMES),(0,n.un)(n.bw.GLOSSARY+n.bw.SAVING_SCHEMES+n.bw.SLASH+n.bw.SEARCH_ID);let f=(0,n.un)(n.bw.GLOSSARY+n.bw.TAX),h=(0,n.un)(n.bw.GLOSSARY+n.bw.TAX+n.bw.SLASH+n.bw.SEARCH_ID),p=(0,n.un)(n.bw.GLOSSARY+n.bw.AADHAAR_CARD),E=(0,n.un)(n.bw.GLOSSARY+n.bw.AADHAAR_CARD+n.bw.SLASH+n.bw.SEARCH_ID),_=(0,n.un)(n.bw.BANKING),g=(0,n.un)(n.bw.BANKING+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.LOANS),(0,n.un)(n.bw.LOANS+n.bw.SLASH+n.bw.SEARCH_ID);let S=(0,n.un)(n.bw.INSURANCE),m=(0,n.un)(n.bw.INSURANCE+n.bw.SLASH+n.bw.SEARCH_ID),A=(0,n.un)(n.bw.RTO),v=(0,n.un)(n.bw.RTO+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.RTO+n.bw.SLASH+n.bw.RTO_STATE_SEARCH_ID+n.bw.SLASH+n.bw.RTO_CITY_SEARCH_ID),(0,n.un)(n.bw.CREDIT_CARD),(0,n.un)(n.bw.CREDIT_CARD+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.SAVINGS_ACCOUNT),(0,n.un)(n.bw.SAVINGS_ACCOUNT+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.GLOSSARY+n.bw.FIND_CUSTOMER_ID),(0,n.un)(n.bw.GLOSSARY+n.bw.BASICS_INVESTING);let b=(0,n.un)(n.bw.MARKET_NEWS+n.bw.STOCK);(0,n.un)(n.bw.IFSC_CODE+n.bw.SLASH+n.bw.BANK_SEARCH_ID+n.bw.SLASH+n.bw.STATE_SEARCH_ID+n.bw.SLASH+n.bw.CITY_SEARCH_ID+n.bw.SLASH+n.bw.BRANCH_SEARCH_ID);let T=(0,n.un)(n.bw.FII_DII);(0,n.un)(n.bw.ACADEMY),(0,n.un)(n.bw.ACADEMY+n.bw.SEARCH),(0,n.un)(n.bw.ACADEMY+n.bw.EXPLORE),(0,n.un)(n.bw.ACADEMY+n.bw.ACADEMY_SERIES+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.ACADEMY+n.bw.ACADEMY_EPISODE+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.THRIVE_LANDING),(0,n.un)(n.bw.REFERRAL_OPT_OUT),(0,n.un)(n.bw.GROWW_FLASHBACK),(0,n.un)(n.bw.EBOOKS),(0,n.un)(n.bw.DOWNLOAD_FORMS),(0,n.un)(n.bw.REGULATORY_INFO);let y=(0,n.un)(n.bw.UPDATES),O=(0,n.un)(n.bw.UPDATES+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.INVESTOR_CHARTER_GRIEVANCE);let w=(0,n.un)(n.bw.TERMS_AND_CONDITIONS);(0,n.un)(n.bw.PRIVACY_POLICY),(0,n.un)(n.bw.AIKI_LANDING),(0,n.un)(n.bw.AIKI_LANDING+n.bw.SLASH+n.bw.SEARCH_ID);let C=(0,n.un)(n.bw.AIKG_LANDING);(0,n.un)(n.bw.AIKG_LANDING+n.bw.SLASH+n.bw.SEARCH_ID);let I=(0,n.un)(n.bw.INSIGHTS+n.bw.TRADERS_CORNER),R=(0,n.un)(n.bw.INDEX+n.bw.GLOBAL_INDICES+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.SHARED_PORTFOLIO+n.bw.SEARCH_ID),(0,n.un)(n.bw.SHARED_PORTFOLIO+n.bw.SHARED_PORTFOLIO_REQUEST+n.bw.SHARED_PORTFOLIO_REQUEST_ID),(0,n.un)(n.bw.SHARED_PORTFOLIO_SHARING);let N=(0,n.un)(n.bw.IPO),D=(0,n.un)(n.bw.MARKETS),P=(0,n.un)(n.bw.ADVANCE_CHARTS),L=(0,n.un)(n.bw.STOCK),k=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.EXPLORE),M=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.EXPLORE),F=(0,n.un)(n.bw.MF+n.bw.FILTER),x=(0,n.un)(n.bw.MF+n.bw.AMC);(0,n.un)(n.bw.WEB_STORIES);let U=(0,n.un)(n.bw.PLEDGE_LIST);(0,n.un)(n.bw.TRADE_API);let B=(0,n.un)(n.bw.STOCK+n.bw.STOCKS_SIP),H=(0,n.un)(n.bw.HEADSTART),G=(0,n.un)(n.bw.INVESTOR_RELATIONS),j=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.PERFORMANCE),V=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.PERFORMANCE+n.bw.QUARTERLY_RESULTS),K=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.PERFORMANCE+n.bw.COMPANY),W=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.PERFORMANCE+n.bw.SUBSIDIARIES),Y=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.PERFORMANCE+n.bw.GROUP_COMPANY),q=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.COMMITTEE),z=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.POLICIES),X=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE),$=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.BOARD_OF_DIRECTORS),Q=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.BOARD_OF_DIRECTORS+n.bw.SLASH+n.bw.SEARCH_ID),J=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.ANNOUNCEMENTS),Z=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.OFFER_DOCUMENTS),ee=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.OUR_STORY),et=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.IMPACT),er=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.SHARE_HOLDING_PATTERN),en=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.SLASH+n.bw.SEARCH_ID),ei=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.DISCLOSURES),ea=(0,n.un)(n.bw.INVESTOR_RELATIONS+n.bw.GOVERNANCE+n.bw.CORPORATE_GOVERNANCE_REPORTS),eo=(0,n.un)(n.bw.INVEST_IN_ETFS);(0,n.un)(n.bw.GOLD),(0,n.un)(n.bw.SILVER)},280845:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});let n={data:{},isLoading:!1,error:null}},281457:(e,t,r)=>{"use strict";r.d(t,{T:()=>i,o:()=>n});var n=function(e){return e["REDUX-PERSIST"]="Redux-Persist",e["ZUSTAND-PERSIST"]="Zustand-Persist",e.STOCKS="Stocks",e["US-STOCKS"]="US-Stocks",e.PRIMARY="Primary",e["MUTUAL-FUNDS"]="Mutual-Funds",e}({});let i={"REDUX-PERSIST":{FUNDS:"Funds",STOCKS:"Stocks",FNO:"FNO"},"ZUSTAND-PERSIST":{INTRADAY_FILTERS:"Intraday Filters"},STOCKS:{PORTFOLIO:"Portfolio",HOLDINGS:"Holdings",HOLDINGS_DETAIL:"Holdings Detail"},PRIMARY:{BONDS_PAYOUT_SCHEDULE:"Bonds Payout Schedule",BONDS_RFQ_LISTING:"Bonds RFQ Listing",BONDS_HOLDINGS:"Bonds Holdings"},MUTUAL_FUNDS:{PORTFOLIO_CACHE:"PortfolioCache"},"US-STOCKS":{HOLDINGS:"Holdings"}}},283647:(e,t,r)=>{var n,i,a=r(32278),o=r(975599),s=0,l=0;e.exports=function(e,t,r){var c=t&&r||0,u=t||[],d=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==f){var h=a();null==d&&(d=n=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==f&&(f=i=(h[6]<<8|h[7])&16383)}var p=void 0!==e.msecs?e.msecs:new Date().getTime(),E=void 0!==e.nsecs?e.nsecs:l+1,_=p-s+(E-l)/1e4;if(_<0&&void 0===e.clockseq&&(f=f+1&16383),(_<0||p>s)&&void 0===e.nsecs&&(E=0),E>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");s=p,l=E,i=f;var g=((0xfffffff&(p+=122192928e5))*1e4+E)%0x100000000;u[c++]=g>>>24&255,u[c++]=g>>>16&255,u[c++]=g>>>8&255,u[c++]=255&g;var S=p/0x100000000*1e4&0xfffffff;u[c++]=S>>>8&255,u[c++]=255&S,u[c++]=S>>>24&15|16,u[c++]=S>>>16&255,u[c++]=f>>>8|128,u[c++]=255&f;for(var m=0;m<6;++m)u[c+m]=d[m];return t||o(u)}},283926:(e,t,r)=>{"use strict";r.d(t,{W2:()=>o,pE:()=>s});
12class n{add(e){this.buffer[this.writeIndex]=e,this.writeIndex=(this.writeIndex+1)%this.size,this.count<this.size&&this.count++}getAll(){return this.count<this.size?this.buffer.slice(0,this.count):[...this.buffer.slice(this.writeIndex),...this.buffer.slice(0,this.writeIndex)]}clear(){this.writeIndex=0,this.count=0}getCount(){return this.count}constructor(e){this.writeIndex=0,this.count=0,this.size=e,this.buffer=Array(e)}}function i(){return{count:0,sum:0,min:1/0,max:0}}let a={reducer:i(),selector:i(),hook:i(),render:i(),paint:i(),endToEnd:i(),latencyBuffer:new n(100),windowStartTime:Date.now(),lastUpdateTime:Date.now()};function o(){return!1}function s(e,t){!0}},288836:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(810059),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),n.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}))})},289879:(e,t,r)=>{"use strict";r.d(t,{Q:()=>o});var n=r(407178),i=r(54102);let a=e=>e.reduce((e,t)=>{let{hoistKey:r,defaultValue:n}=t;return{...e,[r]:n}},{});function o(e){let t=Array.isArray(e),[r,o]=(0,n.useState)({isHoistLoading:!0,hoistValue:t?a(e):null==e?void 0:e.defaultValue}),s=(0,i.gu)(),{userId:l}=null!=s?s:{};(0,n.useEffect)(()=>{t?c():u()},[l]);let c=async()=>{try{let t=e.map(async e=>{let{hoistKey:t,defaultValue:r}=e,n=await (0,i.gZ)(t,r);return{[t]:n}}),r=(await Promise.all(t)).reduce((e,t)=>({...e,...t}),{});o({isHoistLoading:!1,hoistValue:r})}catch(t){o({isHoistLoading:!1,hoistValue:a(e)})}},u=async()=>{let{hoistKey:t,defaultValue:r}=null!=e?e:{};try{let e=await (0,i.gZ)(t,r);o({isHoistLoading:!1,hoistValue:e})}catch(e){o({isHoistLoading:!1,hoistValue:r})}};return r}},293462:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});let n=r(697480),i=r(986594),a=n._(r(407178)),o=r(848548),s=r(908782),l=r(955415),c=r(712185),u=r(121026),d=r(884547),f=r(662309),h=r(141814),p=r(216067),E=r(996760),_=new Set;function g(e,t,r,n){if((0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(_.has(i))return;_.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function S(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let m=a.default.forwardRef(function(e,t){let r,n,{href:l,as:_,children:m,prefetch:A=null,passHref:v,replace:b,shallow:T,scroll:y,locale:O,onClick:w,onMouseEnter:C,onTouchStart:I,legacyBehavior:R=!1,...N}=e;r=m,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let D=a.default.useContext(d.RouterContext),P=!1!==A,{href:L,as:k}=a.default.useMemo(()=>{if(!D){let e=S(l);return{href:e,as:_?S(_):e}}let[e,t]=(0,o.resolveHref)(D,l,!0);return{href:e,as:_?(0,o.resolveHref)(D,_):t||e}},[D,l,_]),M=a.default.useRef(L),F=a.default.useRef(k);R&&(n=a.default.Children.only(r));let x=R?n&&"object"==typeof n&&n.ref:t,[U,B,H]=(0,f.useIntersection)({rootMargin:"200px"}),G=a.default.useCallback(e=>{(F.current!==k||M.current!==L)&&(H(),F.current=k,M.current=L),U(e)},[k,L,H,U]),j=(0,E.useMergedRef)(G,x);a.default.useEffect(()=>{D&&B&&P&&g(D,L,k,{locale:O})},[k,L,B,O,P,null==D?void 0:D.locale,D]);let V={ref:j,onClick(e){R||"function"!=typeof w||w(e),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),D&&(e.defaultPrevented||function(e,t,r,n,i,a,o,l){let{nodeName:c}=e.currentTarget;if("A"===c.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!(0,s.isLocalURL)(r)))return;e.preventDefault();let u=null==o||o;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:l,scroll:u}):t[i?"replace":"push"](n||r,{scroll:u})}(e,D,L,k,b,T,y,O))},onMouseEnter(e){R||"function"!=typeof C||C(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),D&&g(D,L,k,{locale:O,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){R||"function"!=typeof I||I(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),D&&g(D,L,k,{locale:O,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(k))V.href=k;else if(!R||v||"a"===n.type&&!("href"in n.props)){let e=void 0!==O?O:null==D?void 0:D.locale;V.href=(null==D?void 0:D.isLocaleDomain)&&(0,h.getDomainLocale)(k,e,null==D?void 0:D.locales,null==D?void 0:D.domainLocales)||
12(0,p.addBasePath)((0,u.addLocale)(k,e,null==D?void 0:D.defaultLocale))}return R?a.default.cloneElement(n,V):(0,i.jsx)("a",{...N,...V,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},296588:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{GobblerCellChangeForUser:()=>h,protobufPackage:()=>f}),e.exports=c(i({},"__esModule",{value:!0}),u);var d=((e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(225615));let f="com.groww.ems",h={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.Writer.create();return""!==e.apiEndPoint&&t.uint32(10).string(e.apiEndPoint),""!==e.xPrimaryTarget&&t.uint32(18).string(e.xPrimaryTarget),""!==e.xSecondaryTarget&&t.uint32(26).string(e.xSecondaryTarget),""!==e.xTargetVersion&&t.uint32(34).string(e.xTargetVersion),t},decode(e,t){let r=e instanceof d.default.Reader?e:d.default.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={apiEndPoint:"",xPrimaryTarget:"",xSecondaryTarget:"",xTargetVersion:""};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.apiEndPoint=r.string();continue;case 2:if(18!==e)break;i.xPrimaryTarget=r.string();continue;case 3:if(26!==e)break;i.xSecondaryTarget=r.string();continue;case 4:if(34!==e)break;i.xTargetVersion=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}}},299168:(e,t,r)=>{"use strict";r.d(t,{$q:()=>eo,Au:()=>ep,BK:()=>Y,D:()=>B,Ec:()=>g,F8:()=>l,FE:()=>el,FP:()=>en,Fn:()=>E,GL:()=>c,Gn:()=>J,Gx:()=>v,HR:()=>eT,Hi:()=>j,Hx:()=>Z,J3:()=>P,JZ:()=>D,Kg:()=>C,LQ:()=>_,Me:()=>er,Ms:()=>et,NR:()=>ew,Nq:()=>p,PS:()=>ec,Pq:()=>es,QY:()=>eg,Qs:()=>eE,Ro:()=>eb,T8:()=>V,TM:()=>k,Ui:()=>F,WB:()=>y,Xc:()=>S,Yn:()=>ev,Z:()=>eA,ZN:()=>L,_1:()=>x,b7:()=>R,cj:()=>q,e0:()=>m,fE:()=>eu,gB:()=>b,gf:()=>G,gy:()=>T,ht:()=>w,hu:()=>U,iB:()=>X,lh:()=>eO,ln:()=>I,ly:()=>ea,n8:()=>eC,no:()=>K,oA:()=>ee,oY:()=>W,of:()=>Q,pM:()=>ed,qQ:()=>M,qo:()=>N,rv:()=>H,u0:()=>f,uD:()=>e_,uX:()=>eS,vI:()=>ey,ve:()=>ef,vm:()=>d,w1:()=>z,wS:()=>O,wu:()=>eh,xN:()=>h,ym:()=>$,zr:()=>u,zu:()=>ei});var n=r(647005),i=r(951402),a=r(744620),o=r(136398),s=r(753762);function l(){let e=n.c7(n.ZE.LOCAL_STORAGE,o.aH.IS_LSCACHE_CLEARED,!1);if((0,i.a)(e)&&"undefined"!=typeof localStorage)try{Object.keys(localStorage).forEach(function(e){e.includes(o.aH.LSCACHE_BASE)&&localStorage.removeItem(e)}),n.cT(n.ZE.LOCAL_STORAGE,o.aH.IS_LSCACHE_CLEARED,!0,!1)}catch(e){console.error("Unable to clear LS Cache")}}function c(){if(!n.BV()){var e;let{userData:t}=s.f.getState()||{};if(t&&a.D2.includes(null!==(e=null==t?void 0:t.stocks_status)&&void 0!==e?e:""))return!0}return!1}function u(){if(!n.BV()){var e;let{userData:t}=s.f.getState()||{};if(t&&a.EK.includes(null!==(e=null==t?void 0:t.stocks_status)&&void 0!==e?e:""))return!0}return!1}function d(){if(n.BV())return!1;let{userData:e}=s.f.getState()||{};if((0,i.a)(e))return!1;let{aof_status:t="",stocks_status:r=""}=null!=e?e:{},o=t===a.iO.INACTIVE&&r===a.vs.INACTIVE,l=t===a.iO.COMPLETED&&a.Vc.includes(r);return!!o||!!l}function f(){if(!n.BV()){let e=n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.AUTHORIZATION);if(e&&null!=e&&""!==e)return e}return""}function h(){if(!n.BV()){let e=n.c7(n.ZE.COOKIE,o.aH.AUTHORIZATION);if(e&&null!=e&&""!==e)return e}return""}function p(e){let t=o.aH.THIRTY_DAYS_IN_MINS-o.aH.TEN_MINUTES;n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.AUTHORIZATION,"Bearer ".concat(e),!0,t)}function E(e){let t=o.aH.THIRTY_DAYS_IN_MINS-o.aH.TEN_MINUTES;n.lM(n.ZE.COOKIE,o.aH.AUTHORIZATION,"Bearer ".concat(e),!1,t)}function _(){if(!n.BV()){let e=n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.PIN_TOKEN);if(e&&null!=e&&""!==e)return e}return""}function g(){if(!n.BV()){let e=n.c7(n.ZE.COOKIE,o.aH.PIN_TOKEN);if(e&&null!=e&&""!==e)return e}return""}function S(e){let t=o.aH.TWO_DAYS_IN_MINS-5;n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.PIN_TOKEN,"Bearer ".concat(e),!0,t)}function m(){n.j9(n.ZE.LOCAL_STORAGE,o.aH.PIN_TOKEN),n.j9(n.ZE.COOKIE,o.aH.PIN_TOKEN),A()}let A=()=>{eE(!1)};function v(){if(!n.BV()){let e=n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.AUTH_SESSION_ID);if(e&&null!=e&&""!==e)return e}return""}function b(){if(!n.BV()){let e=n.c7(n.ZE.COOKIE,o.aH.AUTH_SESSION_ID);if(e&&null!=e&&""!==e)return e}return""}function T(e){n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.AUTH_SESSION_ID,e,!0)}function y(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.UI_THEME,e,!1)}function O(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.UI_THEME,!1)}function w(e){let t=o.aH.THIRTY_DAYS_IN_MINS-o.aH.TEN_MINUTES;n.cT(n.ZE.LOCAL_STORAGE,o.aH.USER_NAME,e,!0,t)}function C(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.USER_EMAIL,e,!0)}function I(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.USER_PROFILE_PIC,e,!0)}function R(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.USER_SEARCH_ID,e,!0)}function N(){return n.BV()?"":n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.USER_EMAIL)}function D(){return n.BV()?"":n.c7(n.ZE.LOCAL_STORAGE,o.aH.USER_PROFILE_PIC)}function P(){if("undefined"!=typeof localStorage){let e=n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.USER_NAME);if(!(0,i.a)(e))return e}return"User"}function L(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.REDIRECTION_URL,e,!0)}function k(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.REDIRECTION_URL,!0)}function M(){n.j9(n.ZE.LOCAL_STORAGE,o.aH.REDIRECTION_URL)}function F(e,t){void 0!==window&&(window[o.aH.AUTH_REF]=e,window[o.aH.AUTH_REF_REDIRECT_URL]=t)}function x(){if(void 0!==window){let e=window[o.aH.AUTH_REF],t=window[o.aH.AUTH_REF_REDIRECT_URL];if(e&&t)return{authRef:e,redirectUrl:t}}return null}function U(){void 0!==window&&(delete window[o.aH.AUTH_REF],delete window[o.aH.AUTH_REF_REDIRECT_URL])}function B(){if(!n.BV()){let{userData:e}=s.f.getState();if(e&&a.Q2.includes(null==e?void 0:e.fno_status))return!0}return!1}function H(){if(!n.BV()){let e=n.c7(n.ZE.LOCAL_STORAGE,o.aH.ONIX_AUTHORIZATION);if(e&&null!=e&&""!==e)return e}return""}function G(e){let t=o.aH.SEVEN_DAYS_IN_MINS-10;n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.ONIX_AUTHORIZATION,"Bearer ".concat(e),!0,t)}function j(e,t){return n.cT(n.ZE.LOCAL_STORAGE,o.aH.USER_MARKET_CAP_FILTER_PREFERENCE+e,null!=t?t:0,!1,o.aH.DEFAULT_EXPIRY_1_MONTH)}function V(e){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.USER_MARKET_CAP_FILTER_PREFERENCE+e,!1)}function K(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.FLASHBACK_CURRENT_PAGE,!1)}function W(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.IS_FLASHBACK_VISITED,!1)}function Y(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.TOTAL_FLASHBACKS,!1)}function q(e){return n.cT(n.ZE.LOCAL_STORAGE,o.aH.HNS_PRIMARY_LANGUAGE,e,!1)}function z(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.HNS_PRIMARY_LANGUAGE,!1)}function X(e){return n.cT(n.ZE.LOCAL_STORAGE,o.aH.HNS_SECONDARY_LANGUAGE,e,!1)}function $(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.TRADING_VIEW_PREFERENCE,e,!1,o.aH.THIRTY_DAYS_IN_MINS)}function Q(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.TRADING_VIEW_PREFERENCE,!1)}function J(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.USER_UUID,!0)}function Z(){return n.c7(n.ZE.COOKIE,o.aH.WEBVIEW_DEVICE_ID,!1)}function ee(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.aH.EXPIRY_1_YEAR;n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.USER_UUID,e,!0,t)}function et(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.ONIX_USER_UUID,!0)}function er(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.aH.EXPIRY_1_YEAR;n.cT(n.ZE.LOCAL_STORAGE,o.aH.ONIX_USER_UUID,e,!0,t)}function en(e){n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.SOCKET_TOKEN,e,!0)}function ei(){let e=n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.SOCKET_TOKEN,!0);return(0,i.a)(e)?"":e}function ea(){let e=n.c7(n.ZE.COOKIE,o.aH.SOCKET_TOKEN,!0);return(0,i.a)(e)?"":e}function eo(e){n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.N_KEY_SEED,e,!0)}function es(){return n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.N_KEY_SEED,!0)}function el(){return n.c7(n.ZE.COOKIE,o.aH.N_KEY_SEED)}function ec(){n.j9(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.N_KEY_SEED),n.j9(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.SOCKET_TOKEN)}function eu(e){let t=o.aH.THIRTY_DAYS_IN_MINS-10;n.lM(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.REFRESH_TOKEN,e,!0,t)}function ed(e){let t=o.aH.THIRTY_DAYS_IN_MINS-10;n.lM(n.ZE.COOKIE,o.aH.REFRESH_TOKEN,"Bearer ".concat(e),!1,t)}function ef(){return n.c7(n.ZE.LOCAL_COOKIE_STORAGE,o.aH.REFRESH_TOKEN)}function eh(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.FIREBASE_TOKEN,e,!0,o.aH.THIRTY_MINUTES)}function ep(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.FIREBASE_TOKEN,!0)}function eE(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];n.cT(n.ZE.LOCAL_STORAGE,o.aH.FNO_RISK_SCREEN,e,!1)}function e_(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.FNO_RISK_SCREEN,!1)}function eg(){n.cT(n.ZE.LOCAL_STORAGE,o.aH.US_STOCKS_RISK_SCREEN,!0,!1)}function eS(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.US_STOCKS_RISK_SCREEN,!1)}let em=()=>{if(!storage.getStorage(storage.TYPE.SESSION_STORAGE,CONSTANTS.CF_BROWSER_TAB_ID,!1)){let e=uuidv4();storage.setStorage(storage.TYPE.SESSION_STORAGE,CONSTANTS.CF_BROWSER_TAB_ID,e,!1)}};function eA(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.FNO_PAUSE_REDIRECTION,!1)}function ev(){n.j9(n.ZE.LOCAL_STORAGE,o.aH.FNO_PAUSE_REDIRECTION)}let eb=e=>n.BV()?{}:n.c7(n.ZE.LOCAL_STORAGE,e,!1),eT=(e,t)=>
12n.cT(n.ZE.LOCAL_STORAGE,e,t,!1,o.aH.DEFAULT_EXPIRY_1_MONTH),ey=()=>n.BV()?0:n.c7(n.ZE.LOCAL_STORAGE,o.aH.FNO_EXPLORE_TOP_TRADED_PILL,!1),eO=e=>n.cT(n.ZE.LOCAL_STORAGE,o.aH.FNO_EXPLORE_TOP_TRADED_PILL,e,!1,o.aH.DEFAULT_EXPIRY_1_MONTH);function ew(e){n.cT(n.ZE.LOCAL_STORAGE,o.aH.MF_USER_SUBSCRIPTION,e,!1)}function eC(){return n.c7(n.ZE.LOCAL_STORAGE,o.aH.MF_USER_SUBSCRIPTION,!1)}},299988:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,e:()=>s});var n=r(275063),i=r(366516),a=r(965508),o=r(666159);function s(){try{return new URL(window.location.href).search}catch(e){return""}}let l=function(){let e=(0,i.useRouter)(),t=(0,n.wA)(),r=(0,n.d4)(o.pL);return new Proxy(e,{get:(n,i)=>"location"===i?{pathname:e.pathname,search:s(),state:r.state}:"push"===i?(r,n,i)=>{if("object"==typeof r){var o,s;let{state:l,...c}=r,u=null!==(o=c.search)&&void 0!==o?o:"",d=u;u.length>0&&(d=u.startsWith("?")?u:"?".concat(u));let f=(null!==(s=r.pathname)&&void 0!==s?s:"").concat(d);return l&&t((0,a.H4)(f,l)),e.push(c,n,i)}return e.push(r,n,i)}:"replace"===i?(r,n,i)=>{if("object"==typeof r){var o,s;let{state:l,...c}=r,u=null!==(o=c.search)&&void 0!==o?o:"",d=u;u.length>0&&(d=u.startsWith("?")?u:"?".concat(u));let f=(null!==(s=r.pathname)&&void 0!==s?s:"").concat(d);return l&&t((0,a.H4)(f,l)),e.replace(c,n,i)}return e.replace(r,n,i)}:"state"===i?e.asPath===r.path?r.state:null:Reflect.get(n,i)})}},302476:e=>{e.exports={profileIcon:"profilePic_profileIcon__ajy0P",warningSign445:"profilePic_warningSign445__y7FSK"}},305150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,r=/(scroll|auto)/,n=e;n;){if(!n.parentNode)return e.ownerDocument||document.documentElement;var i=window.getComputedStyle(n),a=i.position,o=i.overflow,s=i["overflow-x"],l=i["overflow-y"];if("static"===a&&t){n=n.parentNode;continue}if(r.test(o)&&r.test(s)&&r.test(l))return n;n=n.parentNode}return e.ownerDocument||e.documentElement||document.documentElement}},305309:(e,t,r)=>{"use strict";function n(){t.util._configure(),t.Writer._configure(t.BufferWriter),t.Reader._configure(t.BufferReader)}t.build="minimal",t.Writer=r(649058),t.BufferWriter=r(405389),t.Reader=r(524498),t.BufferReader=r(125885),t.util=r(965537),t.rpc=r(187852),t.roots=r(393930),t.configure=n,n()},306025:(e,t,r)=>{"use strict";r.d(t,{C:()=>o,b:()=>a});var n=r(3822);let i=e=>{var t;return null==e?void 0:null===(t=e.fund)||void 0===t?void 0:t.cart},a=()=>(0,n.Mz)([i],e=>e.getCartItems.data.length||0),o=()=>(0,n.Mz)([i],e=>{let{error:t=null,loading:r=!1}=e.getCartItems;return{loading:r,error:t,isFetched:e.isFetched||!1}})},306101:(e,t,r)=>{"use strict";let n;r.d(t,{Qw:()=>a,Wk:()=>s,hY:()=>o});var i=r(718043);function a(e){if(void 0!==n)return n?n(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=i.O;return t in r&&"function"==typeof r[t]?(n=r[t])(e):(n=null,e())}function o(){return a(()=>Math.random())}function s(){return a(()=>Date.now())}},306519:(e,t,r)=>{"use strict";r.d(t,{Ae:()=>h,Bq:()=>g,DD:()=>l,F:()=>c,Ji:()=>
12i,Rm:()=>s,aY:()=>a,fG:()=>u,kH:()=>f,l8:()=>d,mN:()=>E,rx:()=>p,sM:()=>S,sn:()=>o,wV:()=>_});var n=r(454532);let i=(0,n.un)(n.bw.LOGIN+n.bw.SLASH),a=(0,n.un)(n.bw.LOGIN+n.bw.TWO_FACTOR_AUTH_ENTER),o=(0,n.un)(n.bw.LOGIN+n.bw.TWO_FACTOR_AUTH_FORGOT),s=(0,n.un)(n.bw.PRICING),l=(0,n.un)(n.bw.EXPLORE);(0,n.un)(n.bw.EXPLORE+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.DASH+n.bw.EXPLORE+n.bw.SLASH+n.bw.SEARCH_ID);let c=(0,n.un)(n.bw.FNO+n.bw.USER+n.bw.EXPLORE);(0,n.un)(n.bw.SLASH+n.bw.SEARCH_ID+n.bw.USER+n.bw.EXPLORE),(0,n.un)(n.bw.DASH+n.bw.INVESTMENT+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.SLASH+n.bw.SEARCH_ID+n.bw.USER+n.bw.INVESTMENT),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH),(0,n.un)(n.bw.USER+n.bw.NOTIFICATION),(0,n.un)(n.bw.USER+n.bw.NOTIFICATION+n.bw.NOTIFICATION_MANAGER),(0,n.un)(n.bw.EMAIL+n.bw.VERIFY),(0,n.un)(n.bw.USER+n.bw.WATCHLIST+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.WATCHLIST+n.bw.SLASH),(0,n.un)(n.bw.INVITE),(0,n.un)(n.bw.DIRECT+n.bw.INVITE),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.SLASH+n.bw.PROFILE_SEARCH_ID);let u=(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.SLASH);(0,n.un)(n.bw.USER+n.bw.EMAIL_VERIFICATION),(0,n.un)(n.bw.EMAIL+n.bw.SEND_EMAIL),(0,n.un)(n.bw.TEMPLATE),(0,n.un)(n.bw.ABOUT+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.SEARCH);let d=(0,n.un)(n.bw.FEATURE);(0,n.un)(n.bw.PRODUCT_SITEMAP),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.NOMINEE_DETAILS),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.ACCOUNT_RELATED_FORMS),(0,n.un)(n.bw.DOWNLOAD_APP),(0,n.un)(n.bw.LOANS_LANDING_PAGE),(0,n.un)(n.bw.CREDIT_FB_LANDING);let f=(0,n.un)(n.bw.HOME);(0,n.un)(n.bw.ABOUT_US),(0,n.un)(n.bw.PRESS),(0,n.un)(n.bw.TESTIMONIALS),(0,n.un)(n.bw.CAREERS),(0,n.un)(n.bw.APP_LOADING),(0,n.un)(n.bw.QUESTION),(0,n.un)(n.bw.QUESTION+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.EMAIL+n.bw.VERIFY),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.PERSONAL_DETAILS),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.TRADING_PREFERENCE);let h=(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.TRADING_CONTROLS),p=(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.TRADING_CONTROLS+n.bw.TRADING_BALANCE_MODE),E=(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.TRADING_CONTROLS+n.bw.FNO_ORDER_PREFERENCES),_=(0,n.un)(n.bw.LOGIN);(0,n.un)(n.bw.LOGIN+n.bw.SLASH+n.bw.OPTIONAL_SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.OPTIONAL_SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.REPORT),(0,n.un)(n.bw.INVITE),(0,n.un)(n.bw.DIRECT+n.bw.INVITE),(0,n.un)(n.bw.OTHER_PRODUCTS),(0,n.un)(n.bw.DASHBOARD+n.bw.PROFILE),(0,n.un)(n.bw.DASHBOARD+n.bw.PROFILE+n.bw.PERSONAL_SETTINGS),(0,n.un)(n.bw.USER+n.bw.NOTIFICATION+n.bw.NOTIFICATION_MANAGER+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.NOTIFICATION+n.bw.NOTIFICATION_MANAGER+n.bw.SLASH+n.bw.PRODUCT_ID+n.bw.PRODUCT_CATEGORY_ID),(0,n.un)(n.bw.DASHBOARD+n.bw.INVESTMENT+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.DASHBOARD+n.bw.EXPLORE+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.EXPLORE+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.EDIT_EMAIL),(0,n.un)(n.bw.USER+n.bw.EDIT_MOBILE),(0,n.un)(n.bw.USER+n.bw.PROFILE+n.bw.ACTIVE_DEVICES),(0,n.un)(n.bw.USER+n.bw.AADHAAR_PAN_LINK);let g=(0,n.un)(n.bw.COMMODITIES_LANDING_PAGE),S=(0,n.un)(n.bw.COMMODITIES_LANDING_PAGE+n.bw.ALL_COMMODITIES)},306739:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/h.c726147c.svg",height:135,width:135,blurWidth:0,blurHeight:0}},307879:e=>{e.exports={footer:"CleartaxFooterContent_footer__plucr",disclaimer:"CleartaxFooterContent_disclaimer__qRO6F"}},308343:(e,t,r)=>{"use strict";r.d(t,{RH:()=>g,zL:()=>v,C1:()=>d});var n=r(986594),i=r(761711),a=r.n(i),o=r(759969),s=r(744620),l=r(855046),c=r(482848),u=r.n(c);let d=e=>{let{growwLogoHeight:t,className:r,crossClassName:i,useLazyLoad:c=!1}=e;return(0,n.jsxs)("div",{className:a()(u().partnerHeader,"valign-wrapper halign-wrapper",r),children:[(0,n.jsx)(l.A,{src:s.uy,srcDark:s.K8,alt:"Groww",height:t,useLazyLoad:c}),(0,n.jsx)("div",{className:a()("valign-wrapper halign-wrapper",i),children:(0,n.jsx)(o.A,{size:16,className:"contentTertiary"})}),(0,n.jsx)(l.A,{src:s.ug,srcDark:s.A9,alt:"Cleartax",height:17,width:"auto",useLazyLoad:c})]})};var f=r(689940),h=r(144080),p=r(555846),E=r(878599),_=r.n(E);let g=e=>{var t;let{fullWidth:r=!1}
12=e,{hoistValue:i}=(0,f.Qt)({hoistKey:h.H.STOCKS_GROWW_CLEARTAX_CONFIG,defaultValue:p.KR}),o=null!==(t=null==i?void 0:i.descBullet)&&void 0!==t?t:[];return(0,n.jsx)("div",{className:a()(_().benefitsCard,"backgroundPrimary borderPrimary",r&&"fullWidth"),children:null==o?void 0:o.map((e,t)=>{let{title:i,description:o}=e,s=p.hu[t].Icon;return(0,n.jsxs)("div",{className:a()(_().benefitItem,"flex",r&&"fullWidth"),children:[(0,n.jsx)("div",{className:a()(_().iconWrapper,"halign-wrapper"),children:(0,n.jsx)(s,{size:20,className:"contentPrimary"})}),(0,n.jsxs)("div",{className:a()(_().benefitText,"flex flex-column"),children:[(0,n.jsx)("p",{className:"bodyLargeHeavy contentPrimary",children:i}),(0,n.jsx)("p",{className:"bodyBase contentSecondary",children:o})]})]},i)})})};var S=r(578124),m=r(307879),A=r.n(m);let v=e=>{let{isLoading:t,onContinue:r,className:i}=e,{hoistValue:o}=(0,f.Qt)({hoistKey:h.H.STOCKS_GROWW_CLEARTAX_CONFIG,defaultValue:p.KR}),s=o.ctaText,l=o.consentText;return(0,n.jsxs)("div",{className:a()(A().footer,"flex flex-column valign-wrapper",i),children:[(0,n.jsx)("p",{className:a()(A().disclaimer,"bodySmall contentSecondary center-align"),children:l}),(0,n.jsx)(S.B,{buttonText:s,isFullWidth:!0,isLoading:t,onClick:r,size:S.a.LARGE})]})}},310846:(e,t,r)=>{"use strict";e.exports=i;var n=r(841111);function i(e,t){this.lo=e>>>0,this.hi=t>>>0}var a=i.zero=new i(0,0);a.toNumber=function(){return 0},a.zzEncode=a.zzDecode=function(){return this},a.length=function(){return 1};var o=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(e){if(0===e)return a;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/0x100000000>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>0xffffffff&&(r=0,++n>0xffffffff&&(n=0))),new i(r,n)},i.from=function(e){if("number"==typeof e)return i.fromNumber(e);if(n.isString(e))if(!n.Long)return i.fromNumber(parseInt(e,10));else e=n.Long.fromString(e);return e.low||e.high?new i(e.low>>>0,e.high>>>0):a},i.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+0x100000000*r)}return this.lo+0x100000000*this.hi},i.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,!!e):{low:0|this.lo,high:0|this.hi,unsigned:!!e}};var s=String.prototype.charCodeAt;i.fromHash=function(e){return e===o?a:new i((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},i.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},i.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},313286:(e,t,r)=>{"use strict";r.d(t,{$X:()=>u,Pl:()=>i,Wd:()=>o,cF:()=>s,cO:()=>n,cY:()=>l,qg:()=>d,rK:()=>c,vC:()=>a,xd:()=>f});let n="onboarding/GET_ONB_PROGRESS_DATA",i="onboarding/UPDATE_ONB_PROGRESS_LIST",a="onboarding/UPDATE_ONB_PROGRESS_CONFIG",o="onboarding/UPDATE_REKYC_DATA",s="onboarding/GET_KYC_UPDATE_DATA",l="onboarding/GET_EMUDRA_INIT_DATA",c="onboarding/UPDATE_EMUDRA_INIT_DATA",u="onboarding/BACK_NAVIGATION",d="onboarding/BACK_NAVIGATION_FOR_REKYC",f="GET_ACCOUNT_RELATED_FORMS"},315848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/s.101c91e7.svg",height:135,width:135,blurWidth:0,blurHeight:0}},316110:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(407178),i=r(951402),a=r(744620),o=r(299168);function s(){let[e,t]=(0,n.useState)(o.wS),r=e=>{var r,n;t((null==e?void 0:null===(n=e.target)||void 0===n?void 0:null===(r=n.dataset)||void 0===r?void 0:r.theme)||a.zG.LIGHT)};return(0,n.useEffect)(()=>((0,i.B)(a.yV.THEME_CHANGE,r),()=>{(0,i.D)(a.yV.THEME_CHANGE,r)}),[]),e}},318019:function(e,t,r){var n;n=r(170742),function(e){for(var t=n.lib,r=t.WordArray,i=t.Hasher,a=n.algo,o=[],s=0;s<64;s++)o[s]=0x100000000*e.abs(e.sin(s+1))|0;var l=a.MD5=i.extend({_doReset:function(){this._hash=new r.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=(i<<8|i>>>
1224)&0xff00ff|(i<<24|i>>>8)&0xff00ff00}var a=this._hash.words,s=e[t+0],l=e[t+1],h=e[t+2],p=e[t+3],E=e[t+4],_=e[t+5],g=e[t+6],S=e[t+7],m=e[t+8],A=e[t+9],v=e[t+10],b=e[t+11],T=e[t+12],y=e[t+13],O=e[t+14],w=e[t+15],C=a[0],I=a[1],R=a[2],N=a[3];C=c(C,I,R,N,s,7,o[0]),N=c(N,C,I,R,l,12,o[1]),R=c(R,N,C,I,h,17,o[2]),I=c(I,R,N,C,p,22,o[3]),C=c(C,I,R,N,E,7,o[4]),N=c(N,C,I,R,_,12,o[5]),R=c(R,N,C,I,g,17,o[6]),I=c(I,R,N,C,S,22,o[7]),C=c(C,I,R,N,m,7,o[8]),N=c(N,C,I,R,A,12,o[9]),R=c(R,N,C,I,v,17,o[10]),I=c(I,R,N,C,b,22,o[11]),C=c(C,I,R,N,T,7,o[12]),N=c(N,C,I,R,y,12,o[13]),R=c(R,N,C,I,O,17,o[14]),I=c(I,R,N,C,w,22,o[15]),C=u(C,I,R,N,l,5,o[16]),N=u(N,C,I,R,g,9,o[17]),R=u(R,N,C,I,b,14,o[18]),I=u(I,R,N,C,s,20,o[19]),C=u(C,I,R,N,_,5,o[20]),N=u(N,C,I,R,v,9,o[21]),R=u(R,N,C,I,w,14,o[22]),I=u(I,R,N,C,E,20,o[23]),C=u(C,I,R,N,A,5,o[24]),N=u(N,C,I,R,O,9,o[25]),R=u(R,N,C,I,p,14,o[26]),I=u(I,R,N,C,m,20,o[27]),C=u(C,I,R,N,y,5,o[28]),N=u(N,C,I,R,h,9,o[29]),R=u(R,N,C,I,S,14,o[30]),I=u(I,R,N,C,T,20,o[31]),C=d(C,I,R,N,_,4,o[32]),N=d(N,C,I,R,m,11,o[33]),R=d(R,N,C,I,b,16,o[34]),I=d(I,R,N,C,O,23,o[35]),C=d(C,I,R,N,l,4,o[36]),N=d(N,C,I,R,E,11,o[37]),R=d(R,N,C,I,S,16,o[38]),I=d(I,R,N,C,v,23,o[39]),C=d(C,I,R,N,y,4,o[40]),N=d(N,C,I,R,s,11,o[41]),R=d(R,N,C,I,p,16,o[42]),I=d(I,R,N,C,g,23,o[43]),C=d(C,I,R,N,A,4,o[44]),N=d(N,C,I,R,T,11,o[45]),R=d(R,N,C,I,w,16,o[46]),I=d(I,R,N,C,h,23,o[47]),C=f(C,I,R,N,s,6,o[48]),N=f(N,C,I,R,S,10,o[49]),R=f(R,N,C,I,O,15,o[50]),I=f(I,R,N,C,_,21,o[51]),C=f(C,I,R,N,T,6,o[52]),N=f(N,C,I,R,p,10,o[53]),R=f(R,N,C,I,v,15,o[54]),I=f(I,R,N,C,l,21,o[55]),C=f(C,I,R,N,m,6,o[56]),N=f(N,C,I,R,w,10,o[57]),R=f(R,N,C,I,g,15,o[58]),I=f(I,R,N,C,y,21,o[59]),C=f(C,I,R,N,E,6,o[60]),N=f(N,C,I,R,b,10,o[61]),R=f(R,N,C,I,h,15,o[62]),I=f(I,R,N,C,A,21,o[63]),a[0]=a[0]+C|0,a[1]=a[1]+I|0,a[2]=a[2]+R|0,a[3]=a[3]+N|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var a=e.floor(n/0x100000000);r[(i+64>>>9<<4)+15]=(a<<8|a>>>24)&0xff00ff|(a<<24|a>>>8)&0xff00ff00,r[(i+64>>>9<<4)+14]=(n<<8|n>>>24)&0xff00ff|(n<<24|n>>>8)&0xff00ff00,t.sigBytes=(r.length+1)*4,this._process();for(var o=this._hash,s=o.words,l=0;l<4;l++){var c=s[l];s[l]=(c<<8|c>>>24)&0xff00ff|(c<<24|c>>>8)&0xff00ff00}return o},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,i,a,o){var s=e+(t&r|~t&n)+i+o;return(s<<a|s>>>32-a)+t}function u(e,t,r,n,i,a,o){var s=e+(t&n|r&~n)+i+o;return(s<<a|s>>>32-a)+t}function d(e,t,r,n,i,a,o){var s=e+(t^r^n)+i+o;return(s<<a|s>>>32-a)+t}function f(e,t,r,n,i,a,o){var s=e+(r^(t|~n))+i+o;return(s<<a|s>>>32-a)+t}n.MD5=i._createHelper(l),n.HmacMD5=i._createHmacHelper(l)}(Math),e.exports=n.MD5},320876:function(e,t,r){"use strict";var n=r(91434).hp,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0});let o=r(790896),s={randomBytes:o.randomBytes,verify:o.sign.detached.verify,fromSeed:o.sign.keyPair.fromSeed,sign:o.sign.detached};if("undefined"==typeof TextEncoder){let e=r(154899);r.g.TextEncoder=e.TextEncoder,r.g.TextDecoder=e.TextDecoder}"undefined"==typeof atob&&(r.g.atob=e=>n.from(e,"base64").toString("binary"),r.g.btoa=e=>n.from(e,"binary").toString("base64"));let{setEd25519Helper:l}=r(163244);l(s),a(r(497676),t)},320900:(e,t,r)=>{"use strict";let n;r.d(t,{$X:()=>c,GR:()=>f,M6:()=>d,eJ:()=>s,gO:()=>u});var i=r(533427),a=r(306101),o=r(718043);function s(e=function(){let e=o.O;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return(0,a.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*(0,a.hY)())>>e/4).toString(16))}function l(e){return e.exception?.values?.[0]}function c(e){let{message:t,event_id:r}=e;if(t)return t;let n=l(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function u(e,t,r){let n=e.exception=e.exception||{},i=n.values=n.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=r||"Error")}function d(e,t){let r=l(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}}function f(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,i.my)(e,"__sentry_captured__",!0)}catch{}return!1}},323175:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(744620);let i={stockDashboard:{holdings:[],orders:[],intradayOcoOpenOrders:[],intradayOcoExecutedOrders:{primaryOrders:[],ocoOrders:[]},positions:[],mtfPositions:[],isFetching:!1,isFailure:!1,holdingFetchFailed:!1,isRefreshed:!0,isFetchingLivePriceForHoldings:!0,isLivePriceFetchFailure:!1,isFetchingPosition:!1,isFetchingHoldings:!0,mtfCorporateActions:{mtfCaDetailsMap:{}},mtfShortfallDetails:{isUserInShortfall:!1,data:{}}
12,mtfConversionDetails:{},mtfHaircutDetails:{},mtfOneDayReturnDetails:{}},fnoDashboard:{fnoPositions:[],fnoOpenOrders:[],fnoPositionsMap:{ACTIVE:{NRML:{},MIS:{}},CLOSED:{NRML:{},MIS:{}}},isFnoFetching:!1,isFnoFailure:!1,isFetchingFnoPosition:!1,isFetchingFnoOpenOrders:!1},..."desktop"===n.Eg.DESKTOP||"desktop"===n.Eg.CHARTS?{holdingsByIsin:{},gtt:{stocks:{orders:[],isStocksGttOrdersFetching:!1,isStocksGttOrdersFailure:!1},fno:{orders:[],isFnoGttOrdersFetching:!1,isFnoGttOrdersFailure:!1}},oco:{fno:{orders:[],isFnoOcoOrdersFetching:!1,isFnoOcoOrdersFailure:!1}},todayOrders:{fno:{orders:[],totalOpenOrdersCount:0,isFnoTodayOrdersFetching:!1,isFnoTodayOrdersFailure:!1},stocks:{orders:[],totalOpenOrdersCount:0,isStocksTodayOrdersFetching:!1,isStocksTodayOrdersFailure:!1}}}:{}}},325988:(e,t,r)=>{"use strict";r.d(t,{T:()=>g,t:()=>p});var n=r(449204),i=r(407178),a=r(81693),o=r(900261);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var s=i.memo(function(e){let t=(0,o.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("g",{clipPath:"url(#clip0_1_116)"},i.createElement("path",{fill:"currentColor",d:"m12 13.4 2.9 2.9a.95.95 0 0 0 .7.275.95.95 0 0 0 .7-.275.95.95 0 0 0 .275-.7.95.95 0 0 0-.275-.7L13.4 12l2.9-2.9a.95.95 0 0 0 .275-.7.95.95 0 0 0-.275-.7.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275L12 10.6 9.1 7.7a.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275.95.95 0 0 0-.275.7q0 .425.275.7l2.9 2.9-2.9 2.9a.95.95 0 0 0-.275.7q0 .425.275.7a.95.95 0 0 0 .7.275.95.95 0 0 0 .7-.275zm0 8.6a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_1_116"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),l=i.memo(function(e){let t=(0,o.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("g",{clipPath:"url(#clip0_1_551)"},i.createElement("path",{fill:"currentColor",d:"M12 17q.424 0 .713-.288A.97.97 0 0 0 13 16a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 15a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 16q0 .424.287.712.288.288.713.288m0-4q.424 0 .713-.287A.97.97 0 0 0 13 12V8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 8v4q0 .424.287.713.288.287.713.287m0 9a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_1_551"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),c=r(516679);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var u=i.memo(function(e){let t=(0,o.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("g",{clipPath:"url(#clip0_1_103)"},i.createElement("path",{fill:"currentColor",d:"m10.6 13.8-2.15-2.15a.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275.95.95 0 0 0-.275.7q0 .425.275.7L9.9 15.9q.3.3.7.3t.7-.3l5.65-5.65a.95.95 0 0 0 .275-.7.95.95 0 0 0-.275-.7.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275zM12 22a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_1_103"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),d=i.memo(function(e){let t=(0,o.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("g",{clipPath:"url(#clip0_1_536)"},i.createElement("path",{fill:"currentColor",d:"M12 17q.424 0 .713-.288A.97.97 0 0 0 13 16v-4a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 11a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 12v4q0 .424.287.712.288.288.713.288m0-8q.424 0 .713-.287A.97.97 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 8q0 .424.287.713Q11.576 9 12 9m0 13a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_1_536"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),f=1,h=new function(){var e=this;this.subscribe=function(t){return e.subscribers.push(t),function(){var r=e.subscribers.indexOf(t);e.subscribers.splice(r,1)}}
12,this.publish=function(t){e.subscribers.forEach(function(e){return e(t)})},this.addToast=function(t){e.publish(t),e.toasts=(0,n.c)((0,n.c)([],e.toasts,!0),[t],!1)},this.create=function(t){var r,i,a="number"==typeof(null==t?void 0:t.id)||(null!==(i=null===(r=null==t?void 0:t.id)||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0?t.id:f++,o=e.toasts.find(function(e){return e.id===a}),s=void 0===t.dismissible||t.dismissible;return o?e.toasts=e.toasts.map(function(r){return r.id===a?(e.publish((0,n._)((0,n._)((0,n._)({},r),t),{id:a})),(0,n._)((0,n._)((0,n._)({},r),t),{id:a,dismissible:s})):r}):e.addToast((0,n._)((0,n._)({},t),{dismissible:s,id:a||"",position:t.position||"top-right"})),a},this.dismiss=function(t){return t||e.toasts.forEach(function(t){e.subscribers.forEach(function(e){return e({id:t.id,dismiss:!0})})}),e.subscribers.forEach(function(e){return e({id:t,dismiss:!0})}),t},this.error=function(t){return e.create((0,n._)((0,n._)({},t),{type:"error"}))},this.success=function(t){return e.create((0,n._)((0,n._)({},t),{type:"success"}))},this.info=function(t){return e.create((0,n._)((0,n._)({},t),{type:"info"}))},this.warning=function(t){return e.create((0,n._)((0,n._)({},t),{type:"warning"}))},this.custom=function(t){var r=(null==t?void 0:t.id)||f++;return e.create((0,n._)({id:r},t)),r},this.subscribers=[],this.toasts=[]},p=Object.assign(function(e){var t=(null==e?void 0:e.id)||f++;return h.addToast((0,n._)((0,n._)({},e),{id:t})),t},{success:h.success,info:h.info,warning:h.warning,error:h.error,custom:h.custom},{getHistory:function(){return h.toasts}}),E=function(e){var t,r,a,o,f=e.toast,h=e.interacting,p=e.setHeights,E=e.visibleToasts,_=e.heights,g=e.index,S=e.toasts,m=e.expanded,A=e.removeToast,v=e.position,b=e.gap,T=void 0===b?14:b,y=e.expandByDefault,O=e.pauseWhenPageIsHidden,w=(0,i.useState)(!1),C=w[0],I=w[1],R=(0,i.useState)(!1),N=R[0],D=R[1],P=(0,i.useState)(0),L=P[0],k=P[1],M=(0,i.useState)(0),F=M[0],x=M[1],U=(0,i.useRef)(null),B=(0,i.useRef)(0),H=(0,i.useRef)(0),G=(0,i.useRef)(0),j=0===g,V=g+1<=E,K=f.type||"default",W=!1!==f.dismissible,Y=null===(o=f.closeButton)||void 0===o||o,q=f.duration||5e3,z=v.split("-"),X=z[0],$=z[1],Q=(r=(t=(0,i.useState)(document.hidden))[0],a=t[1],(0,i.useEffect)(function(){var e=function(){a(document.hidden)};return document.addEventListener("visibilitychange",e),function(){return document.removeEventListener("visibilitychange",e)}},[]),r),J=(0,i.useMemo)(function(){return _.findIndex(function(e){return e.toastId===f.id})||0},[_,f.id]),Z=(0,i.useMemo)(function(){return _.reduce(function(e,t,r){return r>=J?e:e+t.height},0)},[_,J]);G.current=(0,i.useMemo)(function(){return J*T+Z},[J,Z]),(0,i.useEffect)(function(){I(!0)},[]),(0,i.useLayoutEffect)(function(){if(C){var e=U.current;if(e){var t=e.style.height;e.style.height="auto";var r=e.getBoundingClientRect().height;e.style.height=t,x(r),p(function(e){return e.find(function(e){return e.toastId===f.id})?e.map(function(e){return e.toastId===f.id?(0,n._)((0,n._)({},e),{height:r}):e}):(0,n.c)([{toastId:f.id,height:r,position:f.position}],e,!0)})}}},[C,f.title,f.description,p,f.id]);var ee=(0,i.useCallback)(function(){D(!0),k(G.current),p(function(e){return e.filter(function(e){return e.toastId!==f.id})}),setTimeout(function(){A(f)},50)},[f,A,p,G]);return(0,i.useEffect)(function(){if(f.duration!==1/0){var e,t=q;return m||h||O&&Q?function(){if(H.current<B.current){var e=(new Date).getTime()-B.current;t-=e}H.current=(new Date).getTime()}():t!==1/0&&(B.current=(new Date).getTime(),e=setTimeout(function(){var e;null===(e=f.onAutoClose)||void 0===e||e.call(f,f),ee()},t)),function(){return clearTimeout(e)}}},[m,h,y,f,q,ee,K,O,Q]),(0,i.useEffect)(function(){var e=U.current;if(e){var t=e.getBoundingClientRect().height;return x(t),p(function(e){return(0,n.c)([{toastId:f.id,height:t,position:f.position}],e,!0)}),function(){return p(function(e){return e.filter(function(e){return e.toastId!==f.id})})}}},[p,f.id]),(0,i.useEffect)(function(){f.delete&&ee()},[ee,f.delete]),i.createElement("li",{"aria-live":f.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:U,className:"borderPrimary backgroundPrimary","data-sonner-toast":!0,"data-styled":!f.jsx,"data-mounted":C,"data-removed":N,"data-visible":V,"data-y-position":X,"data-x-position":$,"data-index":g,"data-front":j,"data-dismissible":W,"data-type":K,"data-expanded":!!(m||y&&C),style:{"--index":g,"--toasts-before":g,"--z-index":S.length-g,"--offset":"".concat(N?L:G.current,"px"),"--initial-height":y?"auto":"".concat(F,"px")}},Y&&!f.jsx?i.createElement("button",{"aria-label":"Close toast","data-close-button":!0,onClick:W?function(){var e;ee(),null===(e=f.onDismiss)||void 0===e||e.call(f,f)}:function(){},className:"borderPrimary contentPrimary"},i.createElement(c.p,{size:12})):null,f.jsx||i.createElement(i.Fragment,null,K?i.createElement("div",{"data-icon":K,className:K},function(e){switch(e){case"success":return i.createElement(u,{size:22});case"info":return i.createElement(d,{size:22});case"warning":return i.createElement(l,{size:22});case"error":return i.createElement(s,{size:22});default:return null}}(K)):null,i.createElement("div",{"data-content":!0},f.title?i.createElement("div",{className:" bodyLargeHeavy"},f.title):null,f.description?i.createElement("div",{className:"bodyBase"},f.description):null)))},_="28px",g=function(e){var t=e.position,r=e.hotkey,o=void 0===r?["altKey","KeyT"]:r,s=e.expand,l=void 0!==s&&s,c=e.offset,u=e.visibleToasts,d=void 0===u?251:u,f=e.ga
12p,p=void 0===f?14:f,g=e.containerAriaLabel,S=e.pauseWhenPageIsHidden,m=void 0===S||S,A=(0,i.useState)([]),v=A[0],b=A[1],T=(0,i.useState)([]),y=T[0],O=T[1],w=(0,i.useState)(!1),C=w[0],I=w[1],R=(0,i.useState)(!1),N=R[0],D=R[1],P=(0,i.useRef)(null),L=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),k=(0,i.useMemo)(function(){var e=v.filter(function(e){return void 0!==e.position}).map(function(e){return e.position});return Array.from(new Set((0,n.c)([],e,!0)))},[v,void 0===t?"top-right":t]),M=(0,i.useCallback)(function(e){b(function(t){var r;return(null===(r=t.find(function(t){return t.id===e.id}))||void 0===r?void 0:r.delete)||h.dismiss(e.id),t.filter(function(t){return t.id!==e.id})})},[]);(0,i.useEffect)(function(){return h.subscribe(function(e){e.dismiss?b(function(t){return t.map(function(t){return t.id===e.id?(0,n._)((0,n._)({},t),{delete:!0}):t})}):setTimeout(function(){a.flushSync(function(){b(function(t){var r=t.findIndex(function(t){return t.id===e.id});return -1!==r?(0,n.c)((0,n.c)((0,n.c)([],t.slice(0,r),!0),[(0,n._)((0,n._)({},t[r]),e)],!1),t.slice(r+1),!0):(0,n.c)([e],t,!0)})})})})},[]),(0,i.useEffect)(function(){v.length<=1&&I(!1)},[v]),(0,i.useEffect)(function(){var e=function(e){var t,r;o.every(function(t){return e[t]||e.code===t})&&(I(!0),null===(t=P.current)||void 0===t||t.focus()),"Escape"===e.code&&(document.activeElement===P.current||(null===(r=P.current)||void 0===r?void 0:r.contains(document.activeElement)))&&I(!1)};return document.addEventListener("keydown",e),function(){return document.removeEventListener("keydown",e)}},[o]);var F=(0,i.useCallback)(function(){var e=y.filter(function(e){return"top-right"===e.position}),t=e.reduce(function(e,t){return e+t.height},0);return"number"==typeof(t+=(e.length-1)*p)?Math.ceil(t):t},[y,p]),x=C?{height:"".concat(F(),"px"),overflow:"scroll",backdropFilter:"blur(4px)"}:{},U=function(){h.dismiss()};return v.length?i.createElement("section",{"aria-label":"".concat(void 0===g?"Notifications":g," ").concat(L),tabIndex:-1},k.map(function(e,t){var r,a=e.split("-"),o=a[0],s=a[1];return i.createElement(i.Fragment,{key:e+t},function(e){var t=v.filter(function(e){return"top-right"===e.position});if("top-right"!==e||t.length<=1)return null;var r=e.split("-"),n=r[0],a=r[1];return i.createElement("div",{className:"backgroundSecondary borderPrimary clear-all","data-toaster-clear-all":!0,onClick:U,"data-y-position":n,"data-x-position":a,onMouseEnter:function(){return I(!0)},onMouseLeave:function(){return I(!1)},style:{"--offset":_,"--width":"".concat(356,"px"),zIndex:0x5f5e0ff}},"Clear all")}(e),i.createElement("ol",{tabIndex:-1,ref:P,"data-sonner-toaster":!0,"data-y-position":o,"data-x-position":s,style:(0,n._)({"--front-toast-height":"".concat((null===(r=y[0])||void 0===r?void 0:r.height)||0,"px"),"--offset":"number"==typeof c?"".concat(c,"px"):c||_,"--width":"".concat(356,"px"),"--gap":"".concat(p,"px"),maxHeight:"95vh",borderRadius:8},x),onMouseEnter:function(){return I(!0)},onMouseLeave:function(){return!N&&I(!1)},onPointerDown:function(e){e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||D(!0)},onPointerUp:function(){return D(!1)}},v.filter(function(r){return!r.position&&0===t||r.position===e}).map(function(t,r){return i.createElement(E,{key:t.id,index:r,toast:t,visibleToasts:C?d:3,interacting:N,position:e,removeToast:M,toasts:v.filter(function(e){return e.position===t.position}),heights:y.filter(function(e){return e.position===t.position}),setHeights:O,expandByDefault:l,gap:p,expanded:C,pauseWhenPageIsHidden:m})})))})):null}},326241:(e,t,r)=>{"use strict";e.exports=r(305309)},326798:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>o,_e:()=>s,ej:()=>a,iW:()=>u,pW:()=>i,up:()=>c,xp:()=>l,zo:()=>n});let n={CREATE_SIP:"CREATE_SIP",SIP_SCHEDULE:"SIP_SCHEDULE",INTERMEDIATE_SCREEN:"INTERMEDIATE_SCREEN",AUTOPAY_SETUP:"AUTOPAY_SETUP",SIP_AUTOPAY_PAYMENT_SUCCESS:"SIP_AUTOPAY_PAYMENT_SUCCESS",SIP_AUTOPAY_PAYMENT_FAILED:"SIP_AUTOPAY_PAYMENT_FAILED",ACTIVE_SIP:"ACTIVE_SIP",SIP_CREATE_SUCCESS:"SIP_CREATE_SUCCESS",SIP_CREATE_FAILED:"SIP_CREATE_FAILED",SURVEILLANCE_SCREEN:"SURVEILLANCE_SCREEN",SKIP_AUTO_PAY_CONFIRM:"SKIP_AUTO_PAY_CONFIRM"}
12,i=["Monday","Tuesday","Wednesday","Thursday","Friday"],a=Array.from({length:28},(e,t)=>t+1),o={UPPER_LIMIT:"SIP amount cannot exceed 40L",LOWER_LIMIT:"SIP amount should be greater than ",INVALID_QUANTITY:"Please enter valid quantity",SIP_DISABLED:"SIP is disabled for this stock"},s=["Monthly","Weekly"].map(e=>({node:e})),l=["Amount","Quantity"].map(e=>({node:e})),c=200,u=1.1},329225:(e,t,r)=>{"use strict";e.exports=r(756535)},334517:(e,t)=>{"use strict";t.length=function(e){for(var t=0,r=0,n=0;n<e.length;++n)(r=e.charCodeAt(n))<128?t+=1:r<2048?t+=2:(64512&r)==55296&&(64512&e.charCodeAt(n+1))==56320?(++n,t+=4):t+=3;return t},t.read=function(e,t,r){if(r-t<1)return"";for(var n,i,a,o,s=null,l=[],c=0;t<r;)(n=e[t++])<=127?l[c++]=n:n>=192&&n<224?(a=(31&n)<<6|63&e[t++],l[c++]=a>=128?a:65533):n>=224&&n<240?(o=(15&n)<<12|(63&e[t++])<<6|63&e[t++],l[c++]=o>=2048?o:65533):n>=240&&((i=(7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])<65536||i>1114111?l[c++]=65533:(i-=65536,l[c++]=55296+(i>>10),l[c++]=56320+(1023&i))),c>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,l.slice(0,c))),c=0);return s?(c&&s.push(String.fromCharCode.apply(String,l.slice(0,c))),s.join("")):String.fromCharCode.apply(String,l.slice(0,c))},t.write=function(e,t,r){for(var n,i,a=r,o=0;o<e.length;++o)(n=e.charCodeAt(o))<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:((64512&n)==55296&&(64512&(i=e.charCodeAt(o+1)))==56320?(n=65536+((1023&n)<<10)+(1023&i),++o,t[r++]=n>>18|240,t[r++]=n>>12&63|128):t[r++]=n>>12|224,t[r++]=n>>6&63|128),t[r++]=63&n|128);return r-a}},335122:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=335122,e.exports=t},335184:(e,t,r)=>{"use strict";r.d(t,{L:()=>s,a:()=>o});var n=r(655969),i=r(767219),a=r(519201);let o=(0,n.vt)()((0,i.lt)(()=>({margins:null,isLoading:!1,isError:!1}),{name:"tradingMarginsStore"})),s=(0,a.L)(o)},336121:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/n.09137440.svg",height:135,width:135,blurWidth:0,blurHeight:0}},338727:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/l.ce8c20b2.svg",height:135,width:135,blurWidth:0,blurHeight:0}},339820:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});let n=6e4},342327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KP=void 0;let n=r(395682),i=r(978414),a=r(163244);class o{constructor(e){this.seed=e}getRawSeed(){if(!this.seed)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);return n.Codec.decodeSeed(this.seed).buf}getSeed(){if(!this.seed)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);return this.seed}getPublicKey(){if(!this.seed)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);let e=n.Codec.decodeSeed(this.seed),t=(0,a.getEd25519Helper)().fromSeed(this.getRawSeed()),r=n.Codec.encode(e.prefix,t.publicKey);return new TextDecoder().decode(r)}getPrivateKey(){if(!this.seed)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);let e=(0,a.getEd25519Helper)().fromSeed(this.getRawSeed());return n.Codec.encode(i.Prefix.Private,e.secretKey)}sign(e){if(!this.seed)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);let t=(0,a.getEd25519Helper)().fromSeed(this.getRawSeed());return(0,a.getEd25519Helper)().sign(e,t.secretKey)}verify(e,t){if(!this.seed)throw new i.NKeysError(i.NKeysErrorCode.ClearedPair);let r=(0,a.getEd25519Helper)().fromSeed(this.getRawSeed());return(0,a.getEd25519Helper)().verify(e,t,r.publicKey)}clear(){this.seed&&(this.seed.fill(0),this.seed=void 0)}}t.KP=o},344696:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,ue:()=>s});var n=r(642803),i=r(782456),a=r(264494),o=r(420503);let s={collectionsSchemesData:{...i.e8I,statusResponseCode:null,collectionsDataMap:{}},toggleCollectionsConfig:{columnName:"none",order:a.Z.HIGH_TO_LOW},toggleCollectionsMsiteBy:i.KBt[1],collectionsRightSideAction:{action:a.X.EMPTY_STATE,selectedScheme:{}}};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case o.pY.GET_COLLECTIONS_SCHEME_DATA:var i,l=e,c=t;let{meta:u,payload:d}=null!=c?c:{},{status:f}=null!==(i=null==d?void 0:d.response)&&void 0!==i?i:{};return(0,n.handle)(l,c,{start:e=>({...e,collectionsSchemesData:{...e.collectionsSchemesData,hasError:!1,hasLoading:!!(null==u?void 0:u.searchId)}}),success:e=>{var t,r;return{...e,collectionsSchemesData:{...e.collectionsSchemesData,hasError:!1,hasLoading:!1,collectionsDataMap:{...null==e?void 0:null===(t=e.collectionsSchemesData)||void 0===t?void 0:t.collectionsDataMap,[null==u?void 0:u.searchId]:null!==(r=null==d?void 0:d.data)&&void 0!==r?r:{}}}}},failure:e=>({...e,collectionsSchemesData:{...e.collectionsSchemesData,hasError:!0,hasLoading:!1,statusResponseCode:null!=f?f:500}})});case o.rY.SORT_COLLECTIONS_SCHEMES:var h=e,p=t;let{payload:E}=p,{toggleCollectionsConfig:_}=h,g=_.columnName===E.data&&_.order===a.Z.HIGH_TO_LOW?a.Z.LOW_TO_HIGH:a.Z.HIGH_TO_LOW;return{...h,toggleCollectionsConfig:{columnName:E.data,order:g}};case o.PK.UPDATE_RIGHT_SIDE_ACTION:var S=e,m=t;let{payload:A}=m;return{...S,collectionsRightSideAction:null==A?void 0:A.data};case o.rY.TOGGLE_COLLECTIONS_PARAMETER:var v=e,b=t;let{payload:T}=b;return{...v,toggleCollectionsMsiteBy:null==T?void 0:T.data};default:return e}}},344710:(e,t,r)=>{"use strict";r.d(t,{D:()=>u,n:()=>d});var n=r(873435),i=r(547176),a=r(647005),o=r(136398),s=r(422264),l=r(984991),c=r(818142);let u=async(e,t,r)=>{let u=window.location.search?"".concat(window.location.search,"&"):"?",d=n.parse(window.location.search);if(c.x.includes(null==d?void 0:d.referrer)||a.j9(a.ZE.LOCAL_COOKIE_STORAGE,o.aH.ONIX_AUTHORIZATION),r){window.location.href=r+"".concat(u,"request_token=").concat(e,"&session_id=").concat(t);return}let f="https://quantman.in/auth/groww/callback";try{f=await (0,i.gZ)(l.H.FNO_QUANTMAN_REDIRECTION_URL,"https://quantman.in/auth/groww/callback")}catch(e){console.error("Error in fetching hoist value",e)}switch(null==d?void 0:d.referrer){case"935b22d86bb843078abde6cf814a6def":window.location.href="".concat(s.AN.QUICKO_LOGIN).concat(u,"request_token=").concat(e,"&session_id=").concat(t);break;case"8df52ad0d49c4029bc5dce425c6e3ac1":window.location.href="".concat(s.AN.CLEARTAX_LOGIN).concat(u,"request_token=").concat(e,"&session_id=").concat(t);break;case"6c55e1ff8b244adc89bd35c3be3a4df1":f&&(window.location.href="".concat(f).concat(u,"request_token=").concat(e,"&session_id=").concat(t));break;
12case"e04ad561ba6a4e0cb962d1cab90ee77c":window.location.href="".concat(s.AN.TP_ALGO_TEST_URL).concat(u,"request_token=").concat(e,"&session_id=").concat(t);break;case"ede65291c32a4222b5f2cc017655735b":window.location.href="https://groww.in/apex-auth-token";break;default:window.location.href="".concat(s.AN.SMALLCASE_BROKER_LOGIN).concat(u,"request_token=").concat(e,"&session_id=").concat(t)}},d=()=>{var e;let t=n.parse(window.location.search),r=null!==(e=Array.isArray(null==t?void 0:t.referrer)?null==t?void 0:t.referrer[0]:null==t?void 0:t.referrer)&&void 0!==e?e:"";if(c.x.includes(r))switch(r){case"935b22d86bb843078abde6cf814a6def":return"Login to Quicko";case"8df52ad0d49c4029bc5dce425c6e3ac1":return"Login to ClearTax";case"d74c98cffd7948ca9ffca352294b0226":return"Login to Smallcase";default:return"Welcome to Groww"}else if(r)return"Login with Groww";else return"Welcome to Groww"}},345890:()=>{},346044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/g.e44bae09.svg",height:135,width:135,blurWidth:0,blurHeight:0}},351079:e=>{"use strict";e.exports=function(e,t,r){var n=r||8192,i=n>>>1,a=null,o=n;return function(r){if(r<1||r>i)return e(r);o+r>n&&(a=e(n),o=0);var s=t.call(a,o,o+=r);return 7&o&&(o=(7|o)+1),s}}},351873:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,u:()=>a});var n=r(642803),i=r(96690);let a={nfoListData:{isLoading:!0,isError:!1,data:{}}};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;return r===i.d.GET_LIST_DATA?function(e,t){let{payload:r}=t;return(0,n.handle)(e,t,{start:e=>({...e,nfoListData:{...e.nfoListData,isLoading:!0,isError:!1}}),success:e=>({...e,nfoListData:{...e.nfoListData,isLoading:!1,isError:!1,data:r.data}}),failure:e=>({...e,nfoListData:{...e.nfoListData,data:{},isLoading:!1,isError:!0}})})}(e,t):e}},353925:()=>{},355790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(697480)._(r(407178)),i=r(540336),a=[],o=[],s=!1;function l(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function l(){if(!a){let t=new c(e,r);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!s){let e=r.webpack?r.webpack():r.modules;e&&o.push(t=>{for(let r of e)if(t.includes(r))return l()})}function u(e,t){l();let o=n.default.useContext(i.LoadableContext);o&&Array.isArray(r.modules)&&r.modules.forEach(e=>{o(e)});let s=n.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),n.default.useMemo(()=>{var t;return s.loading||s.error?n.default.createElement(r.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:a.retry}):s.loaded?n.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return u.preload=()=>l(),u.displayName="LoadableComponent",n.default.forwardRef(u)}(l,e)}function d(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>
12{if(e.length)return d(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{d(a).then(e,t)}),u.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(s=!0,t());d(o,e).then(r,r)})),window.__NEXT_PRELOADREADY=u.preloadReady;let f=u},358719:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},359012:(e,t,r)=>{"use strict";r.d(t,{Hw:()=>o,I8:()=>i,fd:()=>a,x6:()=>n}),r(907141);let n=e=>e.isOpen,i=e=>e.currentScreen,a=e=>e.data,o=e=>e.status},364355:(e,t)=>{"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(){}t.__esModule=!0,t.default=function(e){var t="".concat(e,"Storage");return!function(e){if(("undefined"==typeof self?"undefined":r(self))!=="object"||!(e in self))return!1;try{var t=self[e],n="redux-persist ".concat(e," test");t.setItem(n,"test"),t.getItem(n),t.removeItem(n)}catch(e){return!1}return!0}(t)?i:self[t]};var i={getItem:n,setItem:n,removeItem:n}},366516:(e,t,r)=>{e.exports=r(26427)},366929:(e,t,r)=>{"use strict";function n(e){if("string"!=typeof e)throw Error("actionName must be a string");let t=e.toUpperCase();return{inProgress:"FETCHING_".concat(t),success:"FETCH_".concat(t,"_SUCCESS"),failure:"FETCH_".concat(t,"_ERRORED"),clear:"CLEAR_".concat(t)}}function i(e,t,r,i,a,o){e({type:n(r).inProgress,payload:a}),t().then(e=>{i(e)}).catch(t=>{e({type:n(r).failure,error:t,payload:a}),"function"==typeof o&&o(t)})}r.d(t,{C:()=>i,V:()=>n})},368414:(e,t,r)=>{"use strict";r.d(t,{$8:()=>u,OP:()=>l,Yr:()=>a,bw:()=>o,my:()=>f,xo:()=>s});var n=r(951402);let i={BSE:{indexSparklineMap:{},priceSparklineMap:{}},NSE:{indexSparklineMap:{},priceSparklineMap:{}}},a=e=>{var t,r;if((0,n.a)(e))return{};e.BSE=null!==(t=null==e?void 0:e.BSE)&&void 0!==t?t:i.BSE,e.NSE=null!==(r=null==e?void 0:e.NSE)&&void 0!==r?r:i.NSE;let a={},o=new Date,{BSE:{indexSparklineMap:s,priceSparklineMap:l},NSE:{indexSparklineMap:c,priceSparklineMap:u}}=e;return[s,l,c,u].forEach(e=>{Object.keys(e).forEach(t=>{var r;let i=(0,n.a)(null===(r=e[t])||void 0===r?void 0:r.points)?[]:e[t].points;a[t]={data:i,fetchedAt:o}})}),a},o=e=>{let{symbolList:t,getSymbolsFromExistingData:r}=e,n=new Date;return t.filter(e=>{let t=r(e);return!t||n-t.fetchedAt>=18e4})},s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of t)if(!(0,n.a)(e))return!1;return!0},l=e=>!(0,n.a)(e)&&!!Array.isArray(e),c=e=>e.filter(e=>null!=e&&"string"==typeof e),u=e=>{let{nsePriceSymbolList:t,bsePriceSymbolList:r,nseIndexSymbolList:n,bseIndexSymbolList:i}=e;return{nsePriceSymbolList:c(t),bsePriceSymbolList:c(r),nseIndexSymbolList:c(n),bseIndexSymbolList:c(i)}},d=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((e,t)=>e+=t.length,0)},f=e=>{let{nsePriceSymbolList:t,bsePriceSymbolList:r,nseIndexSymbolList:n,bseIndexSymbolList:i}=e,a=0,o=d(t,r,n,i),s=t.splice(0,10),l=r.splice(0,10),c=n.splice(0,10),u=i.splice(0,10),f=[];f[a]=[s,l,c,u];let p=d(...f[a]);for(;p<=h&&0!==o;){let e=d(...f[a],t.slice(0,10),r.slice(0,10),n.slice(0,10),i.slice(0,10));e<=h&&(f[a][0]=[...f[a][0],...t.splice(0,10)],f[a][1]=[...f[a][1],...r.splice(0,10)],f[a][2]=[...f[a][2],...n.splice(0,10)],f[a][3]=[...f[a][3],...i.splice(0,10)],p=d(...f[a]),o=d(t,r,n,i)),e>=h&&(f[++a]=[[],[],[],[]],p=0)}return f.map(e=>({nsePriceSymbolList:e[0],bsePriceSymbolList:e[1],nseIndexSymbolList:e[2],bseIndexSymbolList:e[3]}))},h=40},372697:(e,t)=>{"use strict";function r(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=new Date(e);if(!Number.isNaN(t.valueOf()))return t;var n=String(e).match(/\d+/g);if(null==n||n.length<=2)return t;var i,a=Array.isArray(i=n.map(function(e){return parseInt(e)}))?i:Array.from(i),o=[a[0],a[1]-1].concat(r(a.slice(2)));return new Date(Date.UTC.apply(Date,r(o)))}},378612:(e,t,r)=>{"use strict";e.exports=i;var n=r(965537);function i(e,t){this.lo=e>>>0,this.hi=t>>>0}var a=i.zero=new i(0,0);a.toNumber=function(){return 0},a.zzEncode=a.zzDecode=function(){return this},a.length=function(){return 1};var o=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(e){if(0===e)return a;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/0x100000000>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>0xffffffff&&(r=0,++n>0xffffffff&&(n=0))),new i(r,n)},i.from=function(e){if("number"==typeof e)return i.fromNumber(e);if(n.isString(e))if(!n.Long)return i.fromNumber(parseInt(e,10));else e=n.Long.fromString(e);return e.low||e.high?new i(e.low>>>0,e.high>>>0):a},i.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+0x100000000*r)}return this.lo+0x100000000*this.hi},i.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,!!e):{low:0|this.lo,high:0|this.hi,unsigned:!!e}};var s=String.prototype.charCodeAt;i.fromHash=function(e){return e===o?a:new i((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>
120,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},i.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},i.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},380007:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});for(var n=r(205302),i=[],a=0;a<256;++a)i.push((a+256).toString(16).substr(1));let o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,n.A)(r))throw TypeError("Stringified UUID is invalid");return r}},381305:(e,t,r)=>{"use strict";let n;r.d(t,{S8:()=>c,cd:()=>function e(t,r=3,n=102400){let i=c(t,r);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>n?e(t,r-1,n):i},Ip:()=>l,ng:()=>u});let i=Symbol.for("sentry.skipNormalization"),a=Symbol.for("sentry.overrideNormalizationDepth");var o=r(533427),s=r(313);function l(e){n=e}function c(e,t=100,r=1/0){try{return function e(t,r,n=1/0,s=1/0,l=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[c,d]=l;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let f=u(t,r);if(!f.startsWith("[object "))return f;if(r[i])return r;let h=function(e){let t=e[a];return"number"==typeof t?t:void 0}(r),p=void 0!==h?h:n;if(0===p)return f.replace("object ","");if(c(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,p-1,s,l)}catch{}let E=Array.isArray(r)?[]:{},_=0,g=(0,o.W4)(r);for(let t in g){if(!Object.prototype.hasOwnProperty.call(g,t))continue;if(_>=s){E[t]="[MaxProperties ~]";break}let r=g[t];E[t]=e(t,r,p-1,s,l),_++}return d(r),E}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function u(e,t){try{if(n){let e=n(t);if(e)return e}if("undefined"!=typeof global&&t===global)return"[Global]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,s.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let e=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);return`[object ${e}]`}catch(e){return`**non-serializable** (${e})`}}},381843:(e,t,r)=>{"use strict";r.d(t,{I:()=>n});let n={}},386894:(e,t,r)=>{"use strict";r.d(t,{j:()=>n});let n="GET_STOCK_ONBOARDING_STATUS"},391382:(e,t,r)=>{"use strict";r.d(t,{a:()=>s,b:()=>l,c:()=>c,d:()=>u,e:()=>d,f:()=>f,g:()=>h,h:()=>p});var n=r(407178),i=function(e){var t=JSON.stringify(e.schemaData);return n.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:t}})},a=r(951402),o=r(818681);function s(){var e={"@context":"https://schema.org","@type":"Organization",name:"Groww",description:"Start Online Investing in Stocks and Direct Mutual Funds with India's Leading Investment and Trading Platform - Groww. Equity Trading, US Stocks, Direct Mutual Funds with Zero-commission.",url:o.a.PROD_HOST,logo:o.a.DEFAULT_GROWW_LOGO_270,address:{"@type":"PostalAddress",streetAddress:"No.11, 2nd floor, 80 FT Road, 4th Block, S.T Bed, Koramangala",addressLocality:"Bengaluru",addressRegion:"Karnataka",addressCountry:"IN",postalCode:"560034"},contactPoint:{"@type":"ContactPoint",telephone:"+91 9108800000",email:"[email protected]"},sameAs:[o.a.FACEBOOK_PAGE,o.a.TWITTER_PAGE,o.a.YOUTUBE_MAIN_CHANNEL,o.a.LINKEDIN_PAGE,o.a.INSTAGRAM_PAGE]};return n.createElement(i,{schemaData:e})}var l=function(e,t){var r=e.desc;r=r.length>315?r.substring(0,315)+" ...":r;var a={"@context":"https://schema.org","@type":"WebPage",name:e.title,de
12scription:r,url:t+e.routeName,publisher:{"@type":"Organization",name:"Groww",url:t,logo:{"@type":"ImageObject",contentUrl:o.a.DEFAULT_GROWW_LOGO_270}}};return n.createElement(i,{schemaData:a})};function c(e,t){var r=e.inLanguage?e.inLanguage:"en",a=e.image?e.image:o.a.DEFAULT_GROWW_LOGO_270,s={"@context":"https://schema.org","@type":"NewsArticle",headline:[e.headline],image:[a],inLanguage:r,datePublished:e.datePublished,dateModified:e.dateModified,author:[{"@type":"Person",name:"Groww Team",url:t}]};return n.createElement(i,{schemaData:s})}function u(e,t){var r=e.desc;r=r.length>315?r.substring(0,315)+" ...":r;var a=null,s=e.logoUrl?e.logoUrl:o.a.DEFAULT_GROWW_LOGO_270;return a={"@context":"https://schema.org","@type":"Product",name:e.schemeName,description:r,url:t+e.routeName,image:s,brand:{"@type":"Organization",name:e.fundHouse},review:{"@type":"Review",reviewRating:{"@type":"Rating",ratingValue:e.rating,bestRating:5},author:{"@type":"Organization",name:"Groww"}}},n.createElement(i,{schemaData:a})}function d(e){for(var t=null,r=[],a=0;a<e.length;a++)r.push({"@type":"Question",name:e[a].question,acceptedAnswer:{"@type":"Answer",text:e[a].answer}});return t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:r},n.createElement(i,{schemaData:t})}var f=function(e,t){for(var r=[],a=0;a<e.length;a++)r.push({"@type":"ListItem",position:a+1,item:{"@id":t+e[a].url,name:e[a].name}});return n.createElement(i,{schemaData:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:r}})},h=function(){var e={"@context":"https://schema.org","@type":"WebSite",url:o.a.PROD_HOST,potentialAction:{"@type":"SearchAction",target:[{"@type":"EntryPoint",urlTemplate:"".concat(o.a.PROD_HOST,"/search?q={searchTerms}")}],"query-input":"required name=searchTerms"}};return n.createElement(i,{schemaData:e})};function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"bold";try{t=t.replace(/[^\w\s]/gi,"");var l=e.split(RegExp("(".concat(t,")"),"gi"));return n.createElement("div",{key:"".concat(e).concat(r),style:i},l.map(function(e,r){return n.createElement("span",{key:r,style:e.toLowerCase()===t.toLowerCase()?{fontWeight:s||"bold"}:{}},e)}))}catch(e){return console.error("Error in getting highlighted text: ",e),(0,a.C)(o.c.TRACK_LOG,{function:"getHighlightedText",error:e}),null}}},391533:(e,t,r)=>{"use strict";r.d(t,{nP:()=>i});var n=r(951402);let i=e=>void 0!==e&&!(0,n.a)(e)},392161:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,E=r?Symbol.for("react.memo"):60115,_=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,S=r?Symbol.for("react.fundamental"):60117,m=r?Symbol.for("react.responder"):60118,A=r?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case _:case E:case l:return e;default:return t}}case i:return t}}}function b(e){return v(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=_,t.Memo=E,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return b(e)||v(e)===u},t.isConcurrentMode=b,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===f},t.isFragment=function(e){return v(e)===a},t.isLazy=function(e){return v(e)===_},t.isMemo=function(e){return v(e)===E},t.isPortal=function(e){return v(e)===i},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===o},t.isSuspense=function(e){return v(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===E||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===S||e.$$typeof===m||e.$$typeof===A||e.$$typeof===g)},t.typeOf=v},393930:e=>{"use strict";e.exports={}},393984:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/k.19adfbed.svg",height:135,width:135,blurWidth:0,blurHeight:0}},395682:(e,t,r)=>{"use strict";
12Object.defineProperty(t,"__esModule",{value:!0}),t.Codec=void 0;let n=r(189189),i=r(978414),a=r(51912);class o{static encode(e,t){if(!t||!(t instanceof Uint8Array))throw new i.NKeysError(i.NKeysErrorCode.SerializationError);if(!i.Prefixes.isValidPrefix(e))throw new i.NKeysError(i.NKeysErrorCode.InvalidPrefixByte);return o._encode(!1,e,t)}static encodeSeed(e,t){if(!t)throw new i.NKeysError(i.NKeysErrorCode.ApiError);if(!i.Prefixes.isValidPublicPrefix(e))throw new i.NKeysError(i.NKeysErrorCode.InvalidPrefixByte);if(32!==t.byteLength)throw new i.NKeysError(i.NKeysErrorCode.InvalidSeedLen);return o._encode(!0,e,t)}static decode(e,t){if(!i.Prefixes.isValidPrefix(e))throw new i.NKeysError(i.NKeysErrorCode.InvalidPrefixByte);let r=o._decode(t);if(r[0]!==e)throw new i.NKeysError(i.NKeysErrorCode.InvalidPrefixByte);return r.slice(1)}static decodeSeed(e){let t=o._decode(e),r=o._decodePrefix(t);if(r[0]!=i.Prefix.Seed)throw new i.NKeysError(i.NKeysErrorCode.InvalidSeed);if(!i.Prefixes.isValidPublicPrefix(r[1]))throw new i.NKeysError(i.NKeysErrorCode.InvalidPrefixByte);return{buf:t.slice(2),prefix:r[1]}}static _encode(e,t,r){let s=e?2:1,l=r.byteLength,c=s+l,u=new Uint8Array(s+l+2);if(e){let e=o._encodePrefix(i.Prefix.Seed,t);u.set(e)}else u[0]=t;u.set(r,s);let d=n.crc16.checksum(u.slice(0,c));return new DataView(u.buffer).setUint16(c,d,!0),a.base32.encode(u)}static _decode(e){let t;if(e.byteLength<4)throw new i.NKeysError(i.NKeysErrorCode.InvalidEncoding);try{t=a.base32.decode(e)}catch(e){throw new i.NKeysError(i.NKeysErrorCode.InvalidEncoding,e)}let r=t.byteLength-2,o=new DataView(t.buffer).getUint16(r,!0),s=t.slice(0,r);if(!n.crc16.validate(s,o))throw new i.NKeysError(i.NKeysErrorCode.InvalidChecksum);return s}static _encodePrefix(e,t){return new Uint8Array([e|t>>5,(31&t)<<3])}static _decodePrefix(e){return new Uint8Array([248&e[0],(7&e[0])<<5|(248&e[1])>>3])}}t.Codec=o},397500:(e,t,r)=>{"use strict";r.d(t,{Cj:()=>S,W3:()=>c,bN:()=>h,bm:()=>E,h4:()=>l,hP:()=>d,n2:()=>m,y5:()=>p,yH:()=>u,zk:()=>g});var n=r(269618),i=r(625697),a=r(381305),o=r(306101),s=r(718043);function l(e,t=[]){return[e,t]}function c(e,t){let[r,n]=e;return[r,[...n,t]]}function u(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function d(e,t){return u(e,(e,r)=>t.includes(r))}function f(e){let t=(0,n.Se)(s.O);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function h(e){let[t,r]=e,n=JSON.stringify(t);function i(e){"string"==typeof n?n="string"==typeof e?n+e:[f(n),e]:n.push("string"==typeof e?f(e):e)}for(let e of r){let[t,r]=e;if(i(` 13${JSON.stringify(t)} 14`),"string"==typeof r||r instanceof Uint8Array)i(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify((0,a.S8)(r))}i(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}function p(e){return[{type:"span"},e]}function E(e){let t="string"==typeof e.data?f(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}let _={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};function g(e){return e in _?_[e]:e}function S(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function m(e,t,r,n){let a=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date((0,o.Wk)()).toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,i.SB)(n)},...a&&{trace:a}}}},405389:(e,t,r)=>{"use strict";e.exports=a;var n=r(649058);(a.prototype=Object.create(n.prototype)).constructor=a;var i=r(965537);function a(){n.call(this)}function o(e,t,r){e.length<40?i.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}a._configure=function(){a.alloc=i._Buffer_allocUnsafe,a.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n<e.length;)t[r++]=e[n++]}},a.prototype.bytes=function(e){i.isString(e)&&(e=i._Buffer_from(e,"base64"));var t=e.length>>>0;return this.uint32(t),t&&this._push(a.writeBytesBuffer,t,e),this},a.prototype.string=function(e){var t=i.Buffer.byteLength(e);return this.uint32(t),t&&this._push(o,t,e),this},a._configure()},406145:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});let n={SIP:"sip-calculator",LUMPSUM:"lumpsum-calculator",SWP:"swp-calculator",MF_RETURNS:"mutual-fund-returns-calculator",SSY:"sukanya-samriddhi-yojana-calculator",PPF:"ppf-calculator",EPF:"epf-calculator",FD:"fd-calculator",RD:"rd-calculator",NPS:"nps-calculator",HRA:"hra-calculator",RETIREMENT:"retirement-calculator",EMI:"emi-calculator",CAR_LOAN_EMI:"car-loan-emi-calculator",HOME_LOAN_EMI:"home-loan-emi-calculator",SIMPLE_INTEREST:"simple-interest-calculator",COMPOUND_INTEREST:"compound-interest-calculator",NSC:"nsc-calculator",STEP_UP_SIP:"step-up-sip-calculator",INCOME_TAX:"income-tax-calculator",GRATUITY:"gratuity-calculator",APY:"apy-calculator",CAGR:"cagr-calculator",GST:"gst-calculator",FLAT_VS_REDUCING:"flat-vs-reducing-rate-calculator",BROKERAGE:"brokerage-calculator",MARGIN:"margin-calculator",TDS:"tds-calculator",SALARY:"salary-calculator",INFLATION:"inflation-calculator",POST_OFFICE_MIS:"post-office-monthly-income-scheme-calculator",SCSS:"scss-calculator",STOCKS_AVERAGE:"stock-average-calculator",XIRR:"xirr-calculator",ROI:"roi-calculator"}},408855:(e,t,r)=>{e.exports=r(633518)},410075:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/p.6b22a3bc.svg",height:135,width:135,blurWidth:0,blurHeight:0}},412873:(e,t,r)=>{"use strict";r.d(t,{AM:()=>i,EP:()=>a,MH:()=>c,Ou:()=>u,Yg:()=>n,eW:()=>o});var n=function(e){return e.WARNING="WARNING",e.INFO="INFO",e.FAILURE="FAILURE",e}({}),i=function(e){return e.AMOUNT="AMOUNT",e.QUANTITY="QUANTITY",e}({}),a=function(e){return e.WEEKLY="WEEKLY",e.MONTHLY="MONTHLY",e}({}),o=function(e){return e.PENDING="PENDING",e.EXECUTED="EXECUTED",e.FAILURE="FAILURE",e.REJECTED="REJECTED",e.CANCELLED="CANCELLED",e}({}),s=function(e){return e.BSE="BSE",e.NSE="NSE",e}(s||{}),l=function(e){return e.MONDAY="MONDAY",e.TUESDAY="TUESDAY",e.WEDNESDAY="WEDNESDAY",e.THURSDAY="THURSDAY",e.FRIDAY="FRIDAY",e.SATURDAY="SATURDAY",e.SUNDAY="SUNDAY",e}(l||{}),c=function(e){return e.MANDATE="MANDATE",e.ADD_MONEY="ADD_MONEY",e}({}),u=function(e){return e.FAILED="FAILED",e.PENDING="PENDING",e.NOT_AVAILABLE="NOT_AVAILABLE",e}({})},413382:e=>{e.exports={stopAnimation:"SearchSkeleton_stopAnimation__0DseK",chipRow:"SearchSkeleton_chipRow__QT75f",listRow:"SearchSkeleton_listRow__3Zv__"}},414889:(e,t,r)=>{"use strict";r.d(t,{X0:()=>o});var n=r(986594);r(407178);
14var i=r(408855),a=r.n(i);function o(e,t){var r;let i=null==e?void 0:e.title,o=null==e?void 0:e.desc;o=(null==o?void 0:o.length)>315?o.substring(0,315)+" ...":o;let l=(null==e?void 0:e.featuredImage)?e.featuredImage:s.DEFAULT_GROWW_LOGO_270,c="noindex";t.includes(s.PROD_HOST)&&(c="index",e.isMaxImagePreviewLarge&&(c+=", max-image-preview:large")),e.noIndex&&(c="noindex");let u=t+e.routeName,d=e.canonicalUrl?e.canonicalUrl:u;return d=null==d?void 0:null===(r=d.split("?"))||void 0===r?void 0:r[0],(0,n.jsxs)(a(),{children:[(0,n.jsx)("title",{children:i}),(0,n.jsx)("meta",{name:"description",content:o}),(0,n.jsx)("meta",{name:"robots",content:c}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:image",content:l}),(0,n.jsx)("meta",{name:"twitter:description",content:o}),(0,n.jsx)("meta",{name:"twitter:title",content:i}),(0,n.jsx)("meta",{name:"twitter:site",content:"_@groww"}),(0,n.jsx)("meta",{name:"twitter:creator",content:"_@groww"}),(0,n.jsx)("meta",{itemProp:"name",content:i}),(0,n.jsx)("meta",{itemProp:"description",content:o}),(0,n.jsx)("meta",{itemProp:"image",content:l}),(0,n.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:title",content:i}),(0,n.jsx)("meta",{property:"og:image",content:l}),(0,n.jsx)("meta",{property:"og:description",content:o}),(0,n.jsx)("meta",{property:"og:url",content:u}),(0,n.jsx)("meta",{property:"og:site_name",content:"Groww"}),(0,n.jsx)("link",{rel:"publisher",href:"https://plus.google.com/b/112795119140865328446/+GrowwIn?"}),(0,n.jsx)("link",{rel:"canonical",href:d})]})}r(897754);let s={PROD_HOST:"https://groww.in",DEFAULT_GROWW_LOGO_270:"https://groww.in/groww-logo-270.png"}},418302:(e,t,r)=>{"use strict";r.d(t,{HE:()=>o,I8:()=>l,IK:()=>u,J$:()=>a,U:()=>n,Uv:()=>c,Z_:()=>s,j_:()=>d,vV:()=>i});let n="generalFlow/GET_NOMINEE_DETAILS",i="SET_REMOTE_CONFIG",a="generalFlow/GET_COMM_MSG_DATA",o="headerState/TOGGLE_DARK_MODE",s="headerState/TOGGLE_SHOW_MANAGE_PROFILE_OPTION",l="headerState/TOGGLE_OPEN_FAMILY_ACCOUNTS",c="headerState/GET_CART_ITEM_NUMBER",u="headerState/growwLiteGlobalMessageBoard",d="routerState/SET_ROUTER_STATE"},419938:(e,t,r)=>{"use strict";r.d(t,{HW:()=>E,KJ:()=>_,W7:()=>p});var n=r(713885),i=r(873435),a=r(598494),o=r(647005),s=r(517274),l=r(951402),c=r(126479),u=r(299168),d=r(391533),f=r(801398);let h="";h=new URLSearchParams(window.location.search).get("referrer");let p=n.A.create({baseURL:"https://groww.in",headers:{Authorization:(0,u.rv)(),"X-USER-CAMPAIGN":(0,u.LQ)(),"X-PLATFORM":"web","X-APP-ID":"growwWeb","X-API-KEY":h,"X-IP-ADDRESS":"199.120.12.12"},paramsSerializer:e=>i.stringify(e,{arrayFormat:"comma"})});p.interceptors.request.use(function(e){let t=(0,u.Ms)();(0,l.a)(t)&&((0,c.ac)(),t=(0,u.Ms)()),(0,l.a)(t)||(e.headers["X-DEVICE-ID"]=t,e.headers["X-DEVICE-ID-V2"]=t),e.headers.Authorization=(0,u.rv)(),e.headers["X-USER-CAMPAIGN"]=(0,u.rv)();let r="",n="";if((0,d.nP)(e.data)&&(r=JSON.stringify(e.data)),(0,d.nP)(e.params)){let t=i.stringify(e.params,{arrayFormat:"comma",encode:!1});n=t?"?"+t:""}let o=(0,a.A)();return e.headers["X-REQUEST-CHECKSUM"]=(0,s.v)(decodeURIComponent(e.url)+n,r,o,!1),e.headers["X-REQUEST-ID"]=o,e},function(e){return Promise.reject(e)}),p.interceptors.response.use(function(e){return e},function(e){return void 0!==e.response&&401===e.response.status&&(o.N1(o.ZE.LOCAL_COOKIE_STORAGE),(0,c.sn)(),window.location.href="https://groww.in"+(0,f.wV)()),void 0!==e.response&&403===e.response.status&&((0,c.sn)(),(0,u.e0)(),window.location.href="https://groww.in"+(0,f.aY)()),Promise.reject(e)});let E=()=>{{let e=i.parse(window.location.search);return void 0!==(null==e?void 0:e.referrer)&&window.location.href.includes("/onix")}},_=()=>{var e;return null===(e=window)||void 0===e?void 0:e.location.href.includes("onix")}},420503:(e,t,r)=>{"use strict";r.d(t,{PK:()=>a,pY:()=>n,rY:()=>i});var n=function(e){return e.GET_COLLECTIONS_SCHEME_DATA="mf/GET_COLLECTIONS_SCHEME_DATA",e.SET_SELECTED_COLLECTIONS_SCHEME="mf/SET_COLLECTIONS_SCHEME",e}({}),i=function(e){return e.TOGGLE_COLLECTIONS_PARAMETER="mf/TOGGLE_COLLECTIONS_PARAMETER",e.SORT_COLLECTIONS_SCHEMES="mf/SORT_COLLECTIONS_SCHEMES",e}({}),a=function(e){return e.UPDATE_RIGHT_SIDE_ACTION="UPDATE_RIGHT_SIDE_ACTION",e}({})},422264:(e,t,r)=>{"use strict";r.d(t,{AN:()=>o,E4:()=>c,GQ:()=>l,L_:()=>d,hP:()=>s,n4:()=>a,sn:()=>i,t7:()=>u});var n=r(744620);
14let i={PRESS:"https://groww.in/p/press/",TERMS_AND_CONDITIONS:"https://groww.in/terms-and-conditions/",RUNNING_AUTH_BLOG:"https://groww.in/blog/running-account-authorization-how-does-it-work/",PIN_BASED_AUTH_FOR_STOCKS:"https://groww.in/blog/pin-based-authorization-for-selling-stocks/",BLOG:"https://groww.in/blog/",CONTACT_US:"https://groww.in/p/contact-us/",ETF_BLOG:"https://groww.in/p/exchange-traded-funds/",BEGINNER_GUIDE_BLOG:"https://groww.in/beginners-guide-mutual-funds/",GLOSSARY:"https://groww.in/p/",SECURITY:"https://groww.in/p/security/",DOWNLOAD_FORMS:"https://groww.in/p/download-forms/",LEARN_STOCK_MARKET:"https://groww.in/blog/how-to-invest-in-share-market/",POLICIES_AND_PROCEDURES:"https://groww.in/p/policies/",REGULATORY_AND_INFORMATION:"https://groww.in/p/regulatory-and-other-information/",PRIVACY_POLICY:"https://groww.in/privacy-policy/",DISCLOSURE:"https://groww.in/p/disclosure/",CUSTOMER_ID:"https://groww.in/p/find-your-customer-id/",FD_CAMPAIGN_TERMS:"https://groww.in/p/fd-campaign-terms-and-conditions/",STOCKS_IN_NEWS:"https://groww.in/p/stocks-in-news/",TESTIMONIALS:"https://groww.in/p/testimonials/",INFO_ON_AVAILABLE_TO_SELL:"https://groww.in/blog/why-shares-are-different-than-holdings/",PHYSICAL_DELIVERY_MARGIN_INFO:"https://groww.in/help/stocks/sx-fno/what-is-groww-s-policy-on-delivery-margins-for-delivery-settlement-in-equity-derivatives--82",REFERAL_PAGE:"https://groww.in/blog/what-is-groww-referral/",GROWWPAY_TERMS_AND_CONDITIONS:"https://groww.in/p/growwpay-terms-and-conditions/",GOLD_TERMS_AND_CONDITIONS:n.oT+"/wp-assets/terms-and-conditions-gold.pdf",REFERRAL_BLOG:"https://groww.in/blog/what-is-groww-referral/",US_PRICING_BLOG:"https://groww.in/blog/tax-implications-of-investing-in-us-stocks",GOLD_OFFER_TANDC:"https://groww.in/p/gold-campaign-terms-and-conditions/",HNS_CHAT:"https://groww.in/help/chat",PLEDGE_LEARN_MORE_BLOG:"/blog/new-feature-alert-pledging",PLEDGE_TERMS_CONDITIONS:"/p/pledge-terms-and-conditions",INFORMATION_SECURITY_PRACTICES:"/p/security"},a={REMOTE_CONFIG_TEST:n.oT+"/web-assets/test.js",REMOTE_CONFIG_UAT:n.oT+"/web-assets/rc-u.js",REMOTE_CONFIG_PROD:n.oT+"/web-assets/rc-p.js",STOCKS_BY_LETTERS_JSON:n.oT+"/web-assets/json/growth/stocksByLettersData.json"},o={FACEBOOK_PAGE:"https://www.facebook.com/growwapp",TWITTER_PAGE:"https://twitter.com/_groww",YOUTUBE_PAGE:"http://bit.ly/2rjkBHu",YOUTUBE_KANNAD_PAGE:"https://www.youtube.com/@GrowwKannada",INSTAGRAM_PAGE:"https://www.instagram.com/groww_official/",LINKEDIN_PAGE:"https://in.linkedin.com/company/groww.in",TELEGRAM_PAGE:"http://t.me/GrowwHQ",YOURSTORY_NEWS:"https://yourstory.com/smbstory/groww-unicorn-investment-platform-business/amp",TECHCRUNCH_NEWS:"https://techcrunch.com/2021/04/07/investment-app-for-millennials-groww-raises-83-million-at-over-1-billion-valuation/",LIVEMINT_NEWS:"https://www.livemint.com/companies/news/groww-looks-to-expand-offerings-11620581862097.html",CNBC_NEWS:"https://www.cnbctv18.com/personal-finance/seen-over-1-lakh-active-investors-since-launch-of-stock-investing-says-groww-6402121.htm",IPO_TERMS_PAGE:n.oT+"/wp-assets/terms-and-conditions/ipo.pdf",BONDS_TERMS_PAGE:"https://groww.in/pages/terms-and-conditions-for-online-bond-platform",GOLD_STORAGE:"https://sequelglobal.com/",SMALLCASE_BROKER_LOGIN:"https://smallcases.groww.in/brokerLogin",SMALLCASE_CDSL_SUCCESS:"https://smallcases.groww.in/consentAuth?action=cdslCallback",YOUTUBE_MAIN_CHANNEL:"https://www.youtube.com/channel/UCw5TLrz3qADabwezTEcOmgQ",YOUTUBE_MTF_VIDEO:"https://youtu.be/i01BxmGVtdE?feature=shared",MTF_BLOG:"https://groww.in/blog/margin-trading-facility",NSE_SURVEILLANCE_MEASURE:"https://www.nseindia.com/regulations/additional-surveillance-measure",NSE_UNSOLICITED_SMS:"https://www.nseindia.com/regulations/unsolicited-messages-report",NSE_GSM_MEASURE:"https://www.nseindia.com/regulations/graded-surveillance-measure",PCAS:"https://www.nseindia.com/products-services/equity-market-periodic-call-auction",CLEARTAX_LOGIN:"https://cleartax.in/entity/InitiateGrowwDataImport",QUICKO_LOGIN:"https://navigate.quicko.com/groww",GOLD_AUGMONT:"https://www.bullionindia.in/",EDIS_CUSTOM_TPIN_URL:"https://edis.cdslindia.com/HOME/ChangePin",TP_ALGO_TEST_URL:"https://algotest.xyz/sso-login-groww","915_TRADE_LANDING_URL":"https://915.groww.in",YOUTUBE_STOCKS_SIP_VIDEO:"https://youtu.be/lV48ymiAvm4?feature=shared",STOCKS_SIP_THUMBNAIL:"https://groww.in/p/sip-systematic-investment-plan"},s={CALCULATORS:"https://groww.in/calculators/",BROKERAGE_CALCULATOR:"https://groww.in/calculators/brokerage-calculator/",SIP_CALCULATOR:"https://groww.in/calculators/sip-calculator/",SWP_CALCULATOR:"https://groww.in/calculators/swp-calculator/",SUKANYA_SAMRIDDHI_CALCULATOR:"https://groww.in/calculators/sukanya-samriddhi-yojana-calculator/",MF_RETURNS_CALCULATOR:"https://groww.in/calculators/mutual-fund-returns-calculator/",FD_CALCULATOR:"https://groww.in/calculators/fd-calculator/",RD_CALCULATOR:"https://groww.in/calculators/rd-calculator/",EMI_CALCULATOR:"https://groww.in/calculators/emi-calculator/",PPF_CALCULATOR:"https://groww.in/calculators/ppf-calculator/",EPF_CALCULATOR:"https://groww.in/calculators/epf-calculator/",NPS_CALCULATOR:"https://groww.in/calculators/nps-calculator/",GRATUITY_CALCULATOR:"https://groww.in/calculators/gratuity-calculator/"}
14,l={TERMS_AND_CONDITION:"https://groww.in/p/terms-and-conditions-us-stocks",SERVICES_AND_DISCLOSURE:n.oT+"/web-assets/us-partner-services-and-disclosure.pdf",FEEDBACK_TYPEFORM:"https://trygroww.typeform.com/to/pXqDKcbD",EARLY_JOINING_TYPEFORM:"https://trygroww.typeform.com/to/AQQzzZbX",CASHFREE_TNC:"https://groww.in/p/terms-and-conditions-cashfree-engagement/",ICICI_FUNDING_BLOG:"https://groww.in/p/steps-for-icici-online-remittance",HDFC_FUNDING_BLOG:"https://groww.in/p/steps-for-hdfc-online-remittance",PRICING_READ_MORE:"https://groww.in/blog/tax-implications-of-investing-in-us-stocks"},c={DIRECT_PLAY_STORE:"https://play.google.com/store/apps/details?id=com.nextbillion.groww",IOS_APP_LINK:"https://apps.apple.com/in/app/groww-stocks-mutual-funds-app/id1404871703?ls=1&mt=8",DL_DASHBOARD:"https://groww.app.link/i1DYaTKVqU",APP_MARKETING_LINK:"https://app.groww.in/v3cO/4a6424fe",APP_EXPLORE_FUNDS:"https://app.groww.in/v3cO/usgipyb3"},u={MARKET_PROTECTION:"https://groww.in/help/stocks/sx-fno/what-is-market-protection--33",STOCK_TRANSFER:"https://groww.in/help/stocks/sx-dashboard/where-can-i-find-the-average-buy-price-date-of-my-shares--53",AMO_NO_MARKET_PROTECTION:"https://groww.in/help/stocks/sx-dashboard/how-does-market-amos-after-market-order--for-delivery-and-mtf-margin-trading-facility--work--98?superCategory=STOCKS&category=SX_DASHBOARD&subCategory=&source=hns&supportLanguages=EN+HI",SL_SLIPPAGE:"https://groww.in/help/stocks/searchable/why-is-my-stoploss-execution-price-different-from-my-trigger-price--81"},d={LANDING_PAGE:"https://credit.groww.in",TNC:"https://credit.groww.in/pages/groww-credit-terms-of-service",PRIVACY_POLICY:"https://credit.groww.in/pages/groww-credit-privacy-policy",BLOG:"https://credit.groww.in/blog",OTHER_DISCLOSURES:"https://credit.groww.in/pages/other-disclosures"}},422346:(e,t,r)=>{"use strict";function n(e){return{...e.custom?{}:{viewBox:"0 0 24 24",fill:"currentColor",height:24,width:24},...e.size?{height:e.size,width:e.size}:{},...e,size:void 0,custom:void 0}}r.d(t,{C:()=>n})},422695:(e,t,r)=>{"use strict";function n(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}r.d(t,{i:()=>n})},424766:(e,t,r)=>{"use strict";r.d(t,{a:()=>i,b:()=>a,c:()=>o,d:()=>s,e:()=>l,f:()=>c,g:()=>u,h:()=>d,i:()=>f,j:()=>h,k:()=>p,m:()=>E,n:()=>_});var n=r(640521),i={fallback:n.d,absoluteValue:!0},a={isCurrency:!0,fallback:n.c},o={fallback:0},s={fallback:"0.00"},l={plainNumber:!0},c={addCommas:!1},u={isCurrency:!0,absoluteValue:!0,toFixedValue:0},d={isCurrency:!0},f={toFixedValue:0},h={formatToLakhCrore:!0},p={isCurrency:!0,currency:n.a.USD},E={isCurrency:!0,formatPaisaToRupee:!0},_={withSign:!0,spaceBetweenSignValue:!0}},428103:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});var n=function(e){return e.GET_SCHEME_DETAILS="mf/GET_SCHEME_DETAILS",e.GET_SIP_DATES="mf/GET_SIP_DATES",e}({})},428235:(e,t,r)=>{"use strict";r.d(t,{Q2:()=>w,BJ:()=>R,X9:()=>N,Ze:()=>A,_X:()=>_,aw:()=>S,f3:()=>G,uS:()=>C,MF:()=>I,Wv:()=>p,d4:()=>B,j1:()=>V,WQ:()=>m,Wf:()=>O,uw:()=>T,Sl:()=>v,zR:()=>Y,Ob:()=>g,UX:()=>y,oz:()=>b,ab:()=>W,NM:()=>k,KI:()=>P,dh:()=>L,lO:()=>M,DG:()=>D,qm:()=>j,Ul:()=>F,yH:()=>K,xR:()=>H,zq:()=>E,U$:()=>U,DY:()=>x});var n=r(454532),i=r(744620),a=r(583010),o=r(986594);r(407178);var s=r(761711),l=r.n(s),c=r(781103),u=r(796769),d=r(709252),f=r(432381),h=r.n(f);let p={DEFAULT:(0,o.jsxs)("div",{className:l()("flex flex-column absolute-center width100 backgroundPrimary",h().emptyStateContainer),children:[(0,o.jsx)(d.A,{darkNode:(0,o.jsx)(c.A,{width:96,custom:!0,height:96}),lightNode:(0,o.jsx)(u.A,{width:96,custom:!0,height:96})}),(0,o.jsx)("p",{className:l()("contentSecondary bodyBase center-align",h().emptyStateText),children:"Data will be available soon"})]})},E="desktop"===i.Eg.MSITE,_={HNI:"HNI",POL:"Policy Holder",EMP:"Employee",SHA:"Share Holder",IND:"Regular"},g={IND_SME:"Individual investor",POL_SME:"Policy holder",EMP_SME:"Employee",SHA_SME:"Share holder"},S={REGULAR:"IND",SME:"IND_SME"},m={APPLY_NUDGE_SCREEN:"APPLY_NUDGE_SCREEN",BUY_SCREEN:"BUY_SCREEN",NO_ACTIVE_IPO:"NO_ACTIVE_IPO",STATUS_SCREEN:"STATUS_SCREEN",CANCEL_SCREEN:"CANCEL_SCREEN",NO_OPEN_IPO:"NO_OPEN_IPO",SME_IPO:"SME_IPO",LOGGED_OUT:"LOGGED_OUT",MID_STATUS_SCREEN:"MID_STATUS_SCREEN"},A={PRE_APPLY:"PRE-APPLY",APPLY:"APPLY",STATUS:"STATUS"},v={LISTING_PAGE:"IPO_LISTING_PAGE",PRODUCT_PAGE:"IPO_PRODUCT_PAGE",STATUS_PAGE:"IPO_STATUS_PAGE"},b={NEW:"NEW",PAYMENT_PENDING:"PAYMENT_PENDING",IN_PROGRESS:"IN_PROGRESS",COMPLETED:"COMPLETED",APPROVED:"APPROVED",REJECTED:"REJECTED",FAILED:"FAILED",CANCELLATION_REQUESTED:"CANCELLATION_REQUESTED",CANCELLED:"CANCELLED",NOT_ALLOTED:"NOT_ALLOTED",ALLOTMENT_DONE:"ALLOTMENT_DONE",UNKNOWN:"UNKNOWN",REQUEST_SENT_TO_TPAP:"REQUEST_SENT_TO_TPAP",GUPI_MANDATE_ACCEPTED:"GUPI_MANDATE_ACCEPTED",GUPI_MANDATE_SUCCESSFUL:"GUPI_MANDATE_SUCCESSFUL",GUPI_MANDATE_REVOKED:"GUPI_MANDATE_REVOKED",GUPI_MANDATE_FAILED:"GUPI_MANDATE_FAILED",GUPI_MANDATE_DECLINED:"GUPI_MANDATE_DECLINED",ORDER_PLACEMENT_IN_PROGRESS:"ORDER_PLACEMENT_IN_PROGRESS"},T={SELECT_BID_SCREEN:"SELECT_BID_SCREEN",BUY_SCREEN:"BUY_SCREEN",PLACE_BI
14D_SCREEN:"PLACE_BID_SCREEN",PAY_CONFIRM_SCREEN:"PAY_CONFIRM_SCREEN",BID_SUCCESS_SCREEN:"BID_SUCCESS_SCREEN",CANCEL_SCREEN:"CANCEL_SCREEN"};var y=function(e){return e.UPCOMING="UPCOMING",e.ACTIVE="ACTIVE",e.APPLIED="APPLIED",e.CLOSED="CLOSED",e.OPEN="OPEN",e.PAST="PAST",e.LISTED="LISTED",e.ALLOTMENT="ALLOTMENT",e.GMP="GMP",e.SUBSCRIPTION="SUBSCRIPTION",e}({});let O={WAIT_UPI:"IPO_WAIT_UPI",PAYMENT_PENDING:"IPO_PAYMENT_PENDING",APPROVED:"IPO_APPROVED",ALLOTMENT_DONE:"IPO_ALLOTMENT_DONE",NOT_ALLOTED:"IPO_NOT_ALLOTED",CANCELLED:"IPO_CANCELLED",REJECTED:"IPO_REJECTED"},w={SUCCESS:"SUCCESS",FAILURE:"FAILED"},C="D MMM âYY",I="You cannot apply for IPO as your demat account has been closed upon your request.",R="Error placing IPO. Please try again",N="HNI applications can not be cancelled.",D=5e5,P=2e5,L=999999,k=9999999,M={title:"SME IPOs can be risky",text:"Companies launching SME IPOs offer limited information, experience low trading volumes, face high price volatility, focus on small markets and more regulatory scrutiny"},F=[{label:"Open",value:"OPEN"},{label:"Closed",value:"CLOSED"},{label:"Upcoming",value:"UPCOMING"}],x=[{label:"Subscription",value:"SUBSCRIPTION"},{label:"Allotment",value:"ALLOTMENT"}],U=[{label:"Applied",value:"APPLIED"}];var B=function(e){return e.MAINBOARD="Mainboard",e.SME="SME",e}({});let H=[{label:"Mainboard",isChecked:!0,value:"Mainboard"},{label:"SME - Small & Medium Enterprise",isChecked:!0,value:"SME"}],G={DASHBOARD:"dashboard",OPEN:"open",CLOSED:"closed",UPCOMING:"upcoming",MAINBOARD:"mainboard",SME:"sme",ALLOTMENT:"allotment",GMP:"gmp",SUBSCRIPTION:"subscription"},j=Object.values(G),V={SME:"sme",MAINBOARD:"mainboard"};Object.values(V);let K=[{url:n.bw.HOME,text:"Home"},{url:n.bw.IPO,text:"IPO"}];var W=function(e){return e.HNI="HNI",e.EMP="EMP",e.IND="IND",e.POL="POL",e.SHA="SHA",e}({});let Y=[{url:(0,a.FLx)(),label:"All IPOs"},{url:(0,a.xJ$)(),label:"Open IPOs"},{url:(0,a.NUS)(),label:"Upcoming IPOs"},{url:(0,a.T6T)(),label:"Closed IPOs"},{url:(0,a.ALh)(),label:"IPO Subscription"},{url:(0,a.RYG)(),label:"IPO Allotment Status"}]},428316:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"m2.75 19.25 5.325-5.325q.575-.575 1.425-.575t1.425.575L13.5 16.5l6.4-7.225a.89.89 0 0 1 .713-.325q.437 0 .737.3.276.275.287.662a.94.94 0 0 1-.262.688L14.9 17.9a1.95 1.95 0 0 1-1.425.688q-.85.037-1.475-.588l-2.5-2.5-5.25 5.25a1.03 1.03 0 0 1-.75.325 1.03
141.03 0 0 1-.75-.325 1.03 1.03 0 0 1-.325-.75q0-.425.325-.75m0-6 5.325-5.325Q8.65 7.35 9.5 7.35t1.425.575L13.5 10.5l6.4-7.225a.89.89 0 0 1 .713-.325q.437 0 .737.3.276.275.287.662a.94.94 0 0 1-.262.688L14.9 11.9a1.95 1.95 0 0 1-1.425.688q-.85.038-1.475-.588L9.5 9.5l-5.25 5.25a1.03 1.03 0 0 1-.75.325 1.03 1.03 0 0 1-.75-.325 1.03 1.03 0 0 1-.325-.75q0-.424.325-.75"}))})},428618:(e,t,r)=>{"use strict";r.d(t,{N:()=>a,Q:()=>o});var n=r(655969),i=r(519201);let a=(0,n.vt)(()=>({isModalOpen:!1,source:""})),o=(0,i.L)(a)},429018:(e,t,r)=>{"use strict";e.exports=i;var n=r(841111);function i(e,t,r){if("function"!=typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=!!t,this.responseDelimited=!!r}(i.prototype=Object.create(n.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function e(t,r,i,a,o){if(!a)throw TypeError("request must be specified");var s=this;if(!o)return n.asPromise(e,s,t,r,i,a);if(!s.rpcImpl){setTimeout(function(){o(Error("already ended"))},0);return}try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](a).finish(),function(e,r){if(e)return s.emit("error",e,t),o(e);if(null===r){s.end(!0);return}if(!(r instanceof i))try{r=i[s.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return s.emit("error",e,t),o(e)}return s.emit("data",r,t),o(null,r)})}catch(e){s.emit("error",e,t),setTimeout(function(){o(e)},0);return}},i.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},431205:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i,q:()=>a});var n=r(718043);function i(e){try{let t=n.O.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}function a(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}},431929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},noSSR:function(){return o}});let n=r(697480);r(986594),r(407178);let i=n._(r(355790));function a(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let s=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=s?s().then(a):Promise.resolve(a(()=>null))}):(delete n.webpack,delete n.modules,o(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},432381:e=>{e.exports={emptyStateContainer:"emptyStates_emptyStateContainer__qgQFo",emptyStateText:"emptyStates_emptyStateText__P53zd"}},435564:(e,t,r)=>{"use strict";r.d(t,{ct:()=>a,g4:()=>o,kL:()=>n,v1:()=>i});let n={GENERAL_ERROR:"Something went wrong. Please try again.",GENERAL_LONG_MESSAGE:"Something went wrong. We are working on it. Please try again later."},i={PIN_LENGTH_ERROR:"Enter a 4 digit numeric PIN",OTP_ERROR:"Something went wrong. Please retry with new OTP.",RESEND_OTP:"Something went wrong. Please resend the OTP after 30 seconds.",INCORRECT_OTP:"Please enter correct OTP",SIGNUP_OTP_INFO:"Enter a 6 digit OTP sent to this email ID",OTP_LENGTH:"Please enter a 6 digit OTP",INVALID_EMAIL_ID:"Please enter a valid email address",INVALID_MOBILE_NUMBER:"Please enter a valid mobile number",UPDATE_MOBILE_MATCH_ERROR:"Updated number should not be same as current number",INCORRECT_PASSWORD:"Please enter correct password.",MIN_PASSWORD_ERROR:"Minimum 8 alph
14anumeric characters required",PASSWORD_MATCH_ERROR:"Both password fields must be same.",GMAIL_SIGNIN_ERROR:"Some error has occured while logging into your account. Please try again after sometime.",ONE_TAP_BLOCK_ERROR:"Error in initializing onetap",CALL_REQUEST_ERROR:"Call request could not be placed. Please try after some time.",CALLBACK_REQUEST_ERROR:"Call back request could not be placed. Please try after some time.",EMAIL_ALREADY_VERIFIED:"Your Email Id is already verified",CONTINUOUS_SERIES_ERROR:"Your PIN should not contain a continuous series of numbers. Kindly set a stronger PIN.",SAME_DIGIT_PIN_ERROR:"Your PIN should not have the same number more than two times. Kindly set another PIN.",PASSWORD_WEAK_ERROR:"Password must be min. 8 characters, with uppercase, lowercase, number & special characters (@$!%*?&)"},a={OTP_SENT_SUCCESS:"OTP is successfully sent.",EMAIL_SENT_SUCCESS:"Email is successfully Sent",PASSWORD_CHANGE_SUCCESSFUL:"Your password is changed successfully.",PIN_CHANGE_SUCCESSFUL:"Your pin is changed successfully.",EMAIL_VERIFICATION_LINK_SENT:"Email Verification Link sent",ACCOUNT_IN_ACTIVATION_TITLE:"Account Activation",ACCOUNT_IN_ACTIVATION_SUBTEXT:"Your account activation is in progress.\nIt will take atleast 2 working days.\nPlease contact us at 91088-00604 if you have any questions.",ACCOUNT_ACTIVATION:"Your account activation is in progress. It will take atleast 2 working days. Please contact us at 91088-00604 if you have any questions."},o={LOCKED_PREFERENCES_MSG:"These include payment, order status and wallet transaction notifications that are critical and are sent to you instantly.",AVAILABLE:"AVAILABLE",TURN_OFF:"TURN_OFF",CHANNEL_ON:"ON",CHANNEL_OFF:"OFF",CHANNEL_LIST_LABEL:"Where should we send these",FREQUENCY_LIST_LABEL:"How often?",NEVER:"Never"}},438315:(e,t,r)=>{"use strict";r.d(t,{F3:()=>i,N8:()=>o,TJ:()=>a,a3:()=>n});let n=0,i=1,a=2;function o(e,t){e.setAttribute("http.response.status_code",t);let r=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:a,message:"unauthenticated"};case 403:return{code:a,message:"permission_denied"};case 404:return{code:a,message:"not_found"};case 409:return{code:a,message:"already_exists"};case 413:return{code:a,message:"failed_precondition"};case 429:return{code:a,message:"resource_exhausted"};case 499:return{code:a,message:"cancelled"};default:return{code:a,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:a,message:"unimplemented"};case 503:return{code:a,message:"unavailable"};case 504:return{code:a,message:"deadline_exceeded"}}return{code:a,message:"internal_error"}}(t);"unknown_error"!==r.message&&e.setStatus(r)}},439046:e=>{e.exports={secondaryHeaderContainer:"secondaryHeader_secondaryHeaderContainer__1KSe4",leftSide:"secondaryHeader_leftSide__sj64r",pointerDisabled:"secondaryHeader_pointerDisabled__FaL3W",pointerEnabled:"secondaryHeader_pointerEnabled__1fax_",visible:"secondaryHeader_visible__QJWtc",tabContainer:"secondaryHeader_tabContainer__fV3a6",rightSideContainer:"secondaryHeader_rightSideContainer__ugEAA",secondaryHeader:"secondaryHeader_secondaryHeader__upEJe",headerIndicesContainer:"secondaryHeader_headerIndicesContainer__b3Qmf",mainHeaderContainer:"secondaryHeader_mainHeaderContainer__Hbjjb",hiddenHeader:"secondaryHeader_hiddenHeader__OUvr2",grobotNotificationContainer:"secondaryHeader_grobotNotificationContainer___5_qr",searchIcon:"secondaryHeader_searchIcon__2CV3O"}},439755:(e,t,r)=>{"use strict";function n(e){return!1}r.d(t,{A:()=>n})},443239:(e,t,r)=>{"use strict";function n(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[r,n]of e)if(!Object.is(n,t.get(r)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=0;n<r.length;n++)if(!Object.prototype.hasOwnProperty.call(t,r[n])||!Object.is(e[r[n]],t[r[n]]))return!1;return!0}r.d(t,{x:()=>n})},445762:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(810059),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),n.createElement("path",{d:"M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}))})},449204:(e,t,r)=>{"use strict";r.d(t,{_:()=>a,a:()=>i,b:()=>o,c:()=>s}),function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);
14var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},451336:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",i="[object Arguments]",a="[object Boolean]",o="[object Date]",s="[object Function]",l="[object GeneratorFunction]",c="[object Map]",u="[object Number]",d="[object Object]",f="[object Promise]",h="[object RegExp]",p="[object Set]",E="[object String]",_="[object Symbol]",g="[object WeakMap]",S="[object ArrayBuffer]",m="[object DataView]",A="[object Float32Array]",v="[object Float64Array]",b="[object Int8Array]",T="[object Int16Array]",y="[object Int32Array]",O="[object Uint8Array]",w="[object Uint8ClampedArray]",C="[object Uint16Array]",I="[object Uint32Array]",R=/\w*$/,N=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,P={};P[i]=P["[object Array]"]=P[S]=P[m]=P[a]=P[o]=P[A]=P[v]=P[b]=P[T]=P[y]=P[c]=P[u]=P[d]=P[h]=P[p]=P[E]=P[_]=P[O]=P[w]=P[C]=P[I]=!0,P["[object Error]"]=P[s]=P[g]=!1;var L="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,k="object"==typeof self&&self&&self.Object===Object&&self,M=L||k||Function("return this")(),F=t&&!t.nodeType&&t,x=F&&e&&!e.nodeType&&e,U=x&&x.exports===F;function B(e,t){return e.set(t[0],t[1]),e}function H(e,t){return e.add(t),e}function G(e,t,r,n){var i=-1,a=e?e.length:0;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function j(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function V(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function K(e,t){return function(r){return e(t(r))}}function W(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var Y=Array.prototype,q=Function.prototype,z=Object.prototype,X=M["__core-js_shared__"],$=function(){var e=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Q=q.toString,J=z.hasOwnProperty,Z=z.toString,ee=RegExp("^"+Q.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),et=U?M.Buffer:void 0,er=M.Symbol,en=M.Uint8Array,ei=K(Object.getPrototypeOf,Object),ea=Object.create,eo=z.propertyIsEnumerable,es=Y.splice,el=Object.getOwnPropertySymbols,ec=et?et.isBuffer:void 0,eu=K(Object.keys,Object),ed=eL(M,"DataView"),ef=eL(M,"Map"),eh=eL(M,"Promise"),ep=eL(M,"Set"),eE=eL(M,"WeakMap"),e_=eL(Object,"create"),eg=ex(ed),eS=ex(ef),em=ex(eh),eA=ex(ep),ev=ex(eE),eb=er?er.prototype:void 0,eT=eb?eb.valueOf:void 0;function ey(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eO(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ew(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eC(e){this.__data__=new eO(e)}function eI(e,t,r){var n=e[t];J.call(e,t)&&eU(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function eR(e,t){for(var r=e.length;r--;)if(eU(e[r][0],t))return r;return -1}function eN(e){var t=new e.constructor(e.byteLength);return new en(t).set(new en(e)),t}function eD(e,t,r,n){r||(r={});for(var i=-1,a=t.length;++i<a;){var o=t[i],s=n?n(r[o],e[o],o,r,e):void 0;eI(r,o,void 0===s?e[o]:s)}return r}function eP(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function eL(e,t){var r,n=null==e?void 0:e[t];return!(!eV(n)||(r=n,$&&$ in r))&&(ej(n)||j(n)?ee:N).test(ex(n))?n:void 0}ey.prototype.clear=function(){this.__data__=e_?e_(null):{}},ey.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ey.prototype.get=function(e){var t=this.__data__;if(e_){var r=t[e];return r===n?void 0:r}return J.call(t,e)?t[e]:void 0},ey.prototype.has=function(e){var t=this.__data__;return e_?void 0!==t[e]:J.call(t,e)},ey.prototype.set=function(e,t){return this.__data__[e]=e_&&void 0===t?n:t,this},eO.prototype.clear=function(){this.__data__=[]},eO.prototype.delete=function(e){var t=this.__data__,r=eR(t,e);return!(r<0)&&(r==t.length-1?t.pop():es.call(t,r,1),!0)},eO.prototype.get=function(e){var t=this.__data__,r=eR(t,e);return r<0?void 0:t[r][1]},eO.prototype.has=function(e){return eR(this.__data__,e)>-1},eO.prototype.set=function(e,t){var r=this.__data__,n=eR(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},ew.prototype.clear=function(){this.__data__={hash:new ey,map:new(ef||eO),string:new ey}},ew.prototype.delete=function(e){return eP(this,e).delete(e)},ew.prototype.get=function(e){return eP(this,e).get(e)},ew.prototype.has=function(e){return eP(this,e).has(e)},ew.prototype.set=function(e,t){return eP(this,e).set(e,t),this},eC.prototype.clear=function(){this.__data__=new eO},eC.prototype.delete=function(e){return this.__data__.delete(e)},eC.prototype.get=function(e){return this.__data__.get(e)},eC.prototype.has=function(e){return this.__data__.has(e)},eC.prototype.set=function(e,t){var r=this.__data__;if(r instanceof eO){var n=r.__data__;if(!ef||n.length<199)return n.push([e,t]),this;r=this.__data__=new ew(n)}return r.set(e,t),this};var ek=el?K(el,Object):function(){return[]},eM=function(e){return Z.call(e)};function eF(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||z)}function ex(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eU(e,t){return e===t||e!=e&&t!=t}(ed&&eM(new ed(new ArrayBuffer(1)))!=m||ef&&eM(new ef)!=c||eh&&eM(eh.resolve())!=f||ep&&eM(new ep)!=p||eE&&eM(new eE)!=g)&&(eM=function(e){var t=Z.call(e),r=t==d?e.constructor:void 0,n=r?ex(r):void 0;if(n)switch(n){case eg:return m;case eS:return c;case em:return f;case eA:return p;case ev:return g}return t});var eB=Array.isArray;function eH(e){var t;return null!=e&&"number"==typeof(t=e.length)&&t>-1&&t%1==0&&t<=0x1fffffffffffff&&!ej(e)}var eG=ec||function(){return!1};function ej(e){var t=eV(e)?Z.call(e):"";return t==s||t==l}function eV(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eK(e){return eH(e)?function(e,t){var r,n,a,o,s,l=eB(e)||(a=n=r=e)&&"object"==typeof a&&eH(n)&&J.call(r,"callee")&&(!eo.call(r,"callee")||Z.call(r)==i)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],c=l.length,u=!!c;for(var d in e){J.call(e,d)&&!(u&&("length"==d||(o=d,(s=null==(s=c)?0x1fffffffffffff:s)&&("number"==typeof o||D.test(o))&&o>-1&&o%1==0&&o<s)))&&l.push(d)}return l}(e):function(e){if(!eF(e))return eu(e);var t=[];for(var r in Object(e))J.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return function e(t,r,n,f,g,N,D){if(f&&(L=N?f(t,g,N,D):f(t)),void 0!==L)return L;if(!eV(t))return t;var L,k=eB(t);
14if(k){if(F=(M=t).length,x=M.constructor(F),F&&"string"==typeof M[0]&&J.call(M,"index")&&(x.index=M.index,x.input=M.input),L=x,!r){var M,F,x,U=t,K=L,Y=-1,q=U.length;for(K||(K=Array(q));++Y<q;)K[Y]=U[Y];return K}}else{var z,X,$,Q,Z,ee=eM(t),et=ee==s||ee==l;if(eG(t)){var er=t,en=r;if(en)return er.slice();var eo=new er.constructor(er.length);return er.copy(eo),eo}if(ee==d||ee==i||et&&!N){if(j(t))return N?t:{};if(L="function"!=typeof(z=et?{}:t).constructor||eF(z)?{}:eV(X=ei(z))?ea(X):{},!r){return $=t,Q=(Z=L)&&eD(t,eK(t),Z),eD($,ek($),Q)}}else{if(!P[ee])return N?t:{};L=function(e,t,r,n){var i,s,l,d=e.constructor;switch(t){case S:return eN(e);case a:case o:return new d(+e);case m:return i=n?eN(e.buffer):e.buffer,new e.constructor(i,e.byteOffset,e.byteLength);case A:case v:case b:case T:case y:case O:case w:case C:case I:return s=n?eN(e.buffer):e.buffer,new e.constructor(s,e.byteOffset,e.length);case c:return G(n?r(V(e),!0):V(e),B,new e.constructor);case u:case E:return new d(e);case h:return(l=new e.constructor(e.source,R.exec(e))).lastIndex=e.lastIndex,l;case p:return G(n?r(W(e),!0):W(e),H,new e.constructor);case _:return eT?Object(eT.call(e)):{}}}(t,ee,e,r)}}D||(D=new eC);var es=D.get(t);if(es)return es;if(D.set(t,L),!k)var el=n?function(e){var t;return t=eK(e),eB(e)?t:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(t,ek(e))}(t):eK(t);return function(e,t){for(var r=-1,n=e?e.length:0;++r<n&&!1!==t(e[r],r,e););}(el||t,function(i,a){el&&(i=t[a=i]),eI(L,a,e(i,r,n,f,a,t,D))}),L}(e,!0,!0)}},453391:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});let n={GET_BALANCE:"GET_BALANCE",GET_LEDGER_ENTRIES:"GET_LEDGER_ENTRIES",SET_SELECTED_LEDGER:"SET_SELECTED_LEDGER",SET_CASHFREE_DATA:"SET_CASHFREE_DATA",HANDLE_BALANCE_LOADING:"HANDLE_BALANCE_LOADING",INITIATE_WITHDRAW:"INITIATE_WITHDRAW"}},453757:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(407178);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.45,[t,r]=(0,n.useState)(!1),i=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let n=new IntersectionObserver(e=>{let[a]=e;!t&&a.isIntersecting&&(r(e=>!e),i.current&&n.unobserve(i.current))},{threshold:e});return i.current&&n.observe(i.current),()=>{i.current&&n.unobserve(i.current)}},[t]),{isAnimationPresent:t,containerRef:i}}},454532:(e,t,r)=>{"use strict";r.d(t,{bw:()=>n,gg:()=>i,un:()=>s});let n={HOME:"/",SLASH:"/",SEARCH:"/search",NOTIFICATION:"/notifications",PRODUCT_CATEGORY_ID:":productCategoryId",PRODUCT_ID:":product/",NOTIFICATION_MANAGER:"/manage",WEBVIEW:"/webview",START_SIP:"/start-sip",MF_SEARCH_ID:"mutual-funds",STOCKS_SEARCH_ID:"stocks",BOND_PRODUCT_SEARCH_ID:"bonds",GOLD_SEARCH_ID:"gold",US_STOCKS_SEARCH_ID:"us-stocks",FNO_SEARCH_ID:"futures-and-options",FNO_TYPE:":fnoType",DEPOSITS_SEARCH_ID:"deposits",STATUS:"/status",ADD_MONEY_SEARCH_ID:"add-money",WITHDRAW_MONEY_SEARCH_ID:"withdraw-money",NIFTY_SEARCH_ID:"nifty",MF_CDSL_AUTH:"/mf-cdslauth",MF_DEMAT_OPT_OUT:"/demat-opt-out",MF_SIP_DEMAT_MIGRATION:"/sip/demat-migration",MF_DASHBOARD:"/mf-dashboard",INVESTMENT_DETAILS:"/investment-details",MY_PROFILE:"/my-profile",MF_NOMINEE_DETAILS:"/mf-nominee-details",EMBED_TRANSACTIONS:"embed-transactions",ONBOARDING:"/onboarding",WEB_ONBOARDING:"/web-onboarding",ONBOARDING_SCREEN:"/:screenReference?",UPDATE_KYC:"/update",HUF:"/huf",REDIRECT_TO_APP_ONBOARDING:"/redirect-to-app-onboarding",GUIDED_EXPERIENCE:"/guided-experience",DEMAT_CLOSURE:"/demat-closure",DEMAT_CLOSURE_REASON:"/reason",DEMAT_CLOSURE_REQUEST:"/request",DEMAT_CLOSURE_ELIBIBLITY:"/eligiblity",PLEDGE:"/pledge",PLEDGE_STATUS:"/pledge-status",PLEDGE_REQUESTS:"/allrequests",PLEDGE_LIST:"/available-for-pledge",HISTORY:"/history",EDIT_PLEDGE:"/edit-pledge",UNPLEDGE:"/unpledge",CALENDAR:"/calendar",GROWW_CHARTS:"/groww-charts",MF:"/mutual-funds",GROWW_AMC_MF:"/groww-amc-mf",GROWW_GOLD_ETF:"/groww-gold-etf",GROWW_GOLD_ETF_FOF_DIRECT_GROWTH:"/groww-gold-etf-fof-direct-growth",MF_CATEGORY:"/:category",MF_COMPARE:"/compare",REDEEM_NOMINEE:"/redeem-nominee",OTP:"/otp",STOCK:"/stocks",SCREENS:"/screens",SCREENER:"/screener",COMPANY_FINANCIAL:"/company-financial",COMPANY_FINANCIAL_TAB_ID:"/:financialTabId",COMPANY_RESULTS:"/results",COMPANY_RESULTS_PERIOD:"/:resultsTime",CORPORATE_ACTIONS:"/corporate-actions",SHAREHOLDING_PATTERN:"/share-holding",PEER_COMPARISON:"/peer-comparison",SECTORS:"/sectors",DOWNLOAD_FORMS:"/download-forms",EBOOKS:"/ebooks",STOCKS_IN_NEWS:"/stocks-in-news",REGULATORY_INFO:"/regulatory-and-other-information",BASICS_INVESTING:"/investment-basics",INTRADAY:"/intraday",RSI_GREATER_THAN_70:"/rsi-greater-than-70",RSI_LESS_THAN_30:"/rsi-lesser-than-30",MACD_BULLISH:"/macd-above-signal-line",NEAR_BREAKOUT_R1:"/near-breakout-r1",FNO:"/futures-and-options",TNS:"/trust-and-safety",DEMAT_LANDING:"/open-demat-account",NRI_LANDING:"/open-nri-demat-account",CREDIT_LANDING:"/credit",CREDIT_FB_LANDING:"/credit-fb",ADVANCE_CHARTS:"/charts",EXT_CHARTS:"/ext",STOCKS_SIP:"/sip",ALL:"/all",STOCKS_SIP_ALL:"/user/stocks/sip/all",STOCK_SIP_DETAILS:"/user/stocks/sip/details/",AMOUNT_CHARGES_LEARN_MORE:"/help/gethelp?c=DISCOVERABLE&sc=STOCK_SIP_CHARGES_POPUP_AMOUNT&super=stock",QUANITITY_CHARGES_LEARN_MORE:"/help/gethelp?c=DISCOVERABLE&sc=STOCK_SIP_CHARGES_POPUP_QUANTITY&super=stocks",US_STOCK_OLD:"/us",US_STOCK:"/us-stocks",FD:"/deposits",FIXED_DEPOSITS:"/fi
14xed-deposits",US_ETF:"/us-etfs",RECURRING_DEPOSIT:"/recurring-deposit",EXPLORE:"/explore",INVESTMENT:"/investments",DASHBOARD:"/dashboard",VIEW_ORDER:"/order",CATEGORY:"/category",AMC:"/amc",INVITE:"/invite",DIRECT:"/direct",SEO_DURATION:"-duration-mutual-funds",SEO_RISK:"-risk-mutual-funds",BEST:"best-",TOP_FUNDS:"/top/",SEO_LAST_MF:"-mutual-funds",ONIX:"/onix",WEB_REDIRECT:"/web-redirect",ONIX_FUNDS:"/funds",ONIX_FUNDS_ADD:"/add",LOGIN:"/login",ACTIVE_DEVICES:"/active-devices",FREEZE_ACCOUNT:"/freeze-account",CALLBACK_GOOGLE:"/callback-google",GMAIL:"/gmail",FORGOT_PASSWORD:"/forgotpassword",TWO_FACTOR_AUTH:"/pin",TWO_FACTOR_AUTH_ENTER:"/enter",TWO_FACTOR_AUTH_SET:"/set",TWO_FACTOR_AUTH_FORGOT:"/forgot-pin",TWO_FACTOR_AUTH_OTP:"/otp-enter",TWO_FACTOR_AUTH_CONGRATS:"/success",DEVICE_REGISTER:"/device-register",OAUTH:"/oauth",AUTHORIZE:"/authorize",REGISTER:"/register",UPDATE_NUMBER:"/update-number",EDIT_NUMBER:"/edit-number",TEMPLATE:"/template",ABOUT_US:"/about-us",PRESS:"/press",TESTIMONIALS:"/testimonials",PRICING:"/pricing",CAREERS:"/careers",INVESTOR_RELATIONS:"/investor-relations",PERFORMANCE:"/performance",COMPANY:"/company",SUBSIDIARIES:"/subsidiaries",GROUP_COMPANY:"/group-company",COMMITTEE:"/committee",GOVERNANCE:"/governance",BOARD_OF_DIRECTORS:"/board-of-directors",ANNOUNCEMENTS:"/announcements",OFFER_DOCUMENTS:"/offer-documents",OUR_STORY:"/our-story",IMPACT:"/impact",SHARE_HOLDING_PATTERN:"/shareholding-pattern",QUARTERLY_RESULTS:"/quarterly-results",DISCLOSURES:"/disclosures",CORPORATE_GOVERNANCE_REPORTS:"/corporate-governance-reports",SWITCH:"/switch",TRACK:"/track",PORTFOLIO:"/portfolio",PORTFOLIOS:"/portfolios",USER:"/user",EDIT_EMAIL:"/edit-email",EDIT_MOBILE:"/edit-mobile",EDIT_TRANSACTIONS:"/edit-transactions",TRANSACTIONS:"/transactions",TRANSACTION_FILTER:"/filter",QUESTION:"/questions",BROKER_ID:":brokerId",SEARCH_ID:":searchId",SCHEME_CODE:":schemeCode",OPTIONAL_SEARCH_ID:":searchId?",COLLECTION:"/collections",COLLECTION_BEST_HIGH_RETURNS:"best-high-return",COLLECTION_TAX_SAVING:"best-tax-saving",COLLECTION_SMALL_CAP:"best-small-cap",COLLECTION_BEST_BALANCE_RETURNS:"best-balance-returns-risk",COLLECTION_MID_CAP:"best-mid-cap",COLLECTION_LARGE_CAP:"best-large-cap",COLLECTION_SIP_WITH_AMOUNT:"best-sip-with-500",WATCHLIST:"/watchlist",INDEX:"/indices",INDEX_COMPANIES:"/index-companies",INDEX_MUTUAL_FUNDS:"/index-mutual-funds",APP_LOADING:"/app/loader",PROFILE:"/profile",CHANGE_PASSWORD:"/change-password",CHANGE_PIN:"/change-pin",SMARTSAVE:"/smart-save",SMART_INVEST:"/smart-invest",SMART_INVEST_RECOMMENDATIONS:"/mutual-funds/smart-invest/recommendations",SMART_INVEST_PRIME_RISK_PROFILE:"/mutual-funds/smart-invest/prime-risk-profile",CART:"/cart",HNS_TICKETS:"/tickets",HELP_AND_SUPPORT:"/help",LOADER:"/loader",HNS_RECENT_ACTIVITIES:"/recent-activities",HNS_GET_HELP:"/getHelp",HNS_CHAT:"/chat",TICKET_ID:":ticketId?",CREATE_TICKET:"create",REPLY_TICKET:"reply",TICKET_STATUS:"status",CREDIT:"credit",TRUST_AND_SAFETY:"/trust-and-safety",CATEGORY_NAME_ID:"/:categoryName?",QUESTION_ID:"/:questionId?",SEARCH_QUESTION_ID:"/:searchQuestionId?",HNS_SUPERCATEGORY_ID:"/:hnsSuperCategoryId?",HNS_CATEGORY_ID:"/:hnsCategoryId?",HNS_QUESTION_ID:"/:hnsQuestionId",HNS_QUERIES:"/queries",HNS_ALL_QUERIES:"/all",HNS_TICKET_QUERIES:"/tickets",HNS_CALL_QUERIES:"/calls",HNS_CHAT_QUERIES:"/chats",HNS_COMPLETE_SETUP:"/complete-setup",CASES:"/cases",SIP:"/sip",STEP_UP_SIP:"/step-up-sip",CANCELLED_SIP:"/cancelled-sip",REPORT:"/report",ISIN_ID:"/:isinId",REDEEM:"/redeem",PAYMENTS:"/payments",NEFT:"/bank-transfer",TXN_STATUS_RESPONSE:"/transaction-response",TXN_STATUS_SERVER_FETCH:"/transaction-status",PAYMENT_GATEWAY:"/payment-gateway",TXN_INFO:"/transaction",WALLET:"/balance",NETBANKING:"/netbanking",NB_OTP:"/otp",USD_BALANCE:"usd",ADD_MONEY:"/add-money",INR_BALANCE:"/inr",MTF:"/mtf",MTF_SHORTFALL_HNS_SEARCH_ID:"what-is-an-mtf-margin-shortfall--83",LIST:"/list",POSITIONS:"/positions",MTF_MARGIN:"/mtf-margin",MTF_LEDGER:"/mtf-ledger",MOST_TRADED_MTF:"/most-traded",TO_BE_CREDITED:"/to-be-credited",STOCK_MARGIN:"/stock-margin",TRANSACTION_DETAIL:"/transaction-detail
14s",WITHDRAW_CLARITY:"/withdraw-clarity",BANK_LIST:"/bank-autopay",BANK:"/bank",BANK_DETAILS:"/bank-details",IFSC_EDIT:"/edit-ifsc",IFSC_VERIFY:"/verify",POST_TRADE_CDSL_AUTH:"/post-trade-cdslauth",CDSL_AUTH:"/cdslauth",CDSL_CANCELLATION_AUTH:"/cancel-cdslauth",CDSL_AUTH_STATUS:"/cdslauthstatus",PHYSICAL_SETTLEMENT:"/physical-settlement",SGB:"/sovereign-gold-bonds",SGB_TRACK:"/track",SGB_ORDER:"/order",SGB_ALL_APPLICATIONS:"/all-applications",INVEST:"/invest",CONFIRMATION:"/confirmation",RUNNING_ACCOUNT_AUTH:"/running-account-authorisation",PERSONAL_DETAILS:"/basic-details",NOMINEE_DETAILS:"/nominee-details",TRADING_PREFERENCE:"/trading-preference",TRADING_CONTROLS:"/trading-controls",TRADING_BALANCE_MODE:"/trading-balance-mode",FNO_ORDER_PREFERENCES:"/fno-order-preferences",ACCOUNT_RELATED_FORMS:"/account-related-forms",COSMOS:"/cosmos",REKYC:"/rekyc",DIGILOCKER:"/digilocker",ESIGN:"/esign",PERSONAL_SETTINGS:"/settings",NFO:"/nfo",PAYMENT:"/payment",SAVE_TAX:"/save-tax",EMAIL:"/email",VERIFY:"/verify",SEND_EMAIL:"/send-email",GOLD:"/gold",GOLD_RATES:"/gold-rates",GOLD_RATES_SEARCHID:"/:searchId?",SILVER_RATES:"/silver-rates",SILVER_RATES_SEARCHID:"/:searchId",BUY:"/buy",SELL:"/sell",TOOLS:"/tools",CALCULATOR:"/calculators",MARGIN_CALCULATOR:"/margin-calculator",SIP_CALCULATOR:"/sip-calculator",FLAT_VS_REDUCING_RATE_CALCULATOR:"/flat-vs-reducing-rate-calculator",MARKET_NEWS:"/market-news",STOCKS_TECHNICALS:"/technicals",ORDER_ID:"/:orderId",MARKETS:"/markets",TOP_GAINERS:"top-gainers",TOP_LOSERS:"top-losers",FIFTY_TWO_WEEK_HIGH:"52-week-high",FIFTY_TWO_WEEK_LOW:"52-week-low",TOP_VOLUME:"top-volume",TOP_TRADED:"top-traded",VOLUME_SHOCKERS:"volume-shockers",MOST_BOUGHT_STOCKS:"most-bought-stocks-on-groww",MOST_TRADED_STOCKS:"most-traded-stocks-on-groww",ABOUT:"/about",SECTORS_TRENDING:"/sectors-trending",SECTOR_NAME:"/:sectorName",IPO:"/ipo",IPO_SME:"/sme",IPO_MAINBOARD:"/mainboard",IPO_UPCOMING:"/upcoming",IPO_CLOSED:"/closed",IPO_OPEN:"/open",IPO_APPLIED:"/applied",IPO_ALLOTMENT:"/allotment",IPO_GMP:"/gmp",IPO_SUBSCRIPTION:"/subscription",IPO_ORDER:"/order",IPO_TRACK:"/track",IPO_STATUS:"/status/",IPO_NAME_ID:"/:ipoName",IPO_ORDER_ID:":ipoOrderId",OPTIONAL_SECONDARY_ID:":optionalSearchId?",BONDS:"/bonds",BONDS_IPO:"/bonds/ipo",CORPORATE_BONDS:"/bonds/corporate-bonds",BONDS_APPLIED:"/applied",PAST:"/past",BONDS_SEARCH_ID:"/:bondSearchId",BONDS_ORDER_ID:"/:bondOrderId",PAYOUT_SCHEDULE:"/payout-schedule",ETF:"/etfs",ETF_HOLDINGS:"/holdings",ETF_NFO:"/etf-nfo",INTERNATIONAL:"/international",DEBT:"/debt",EQUITY:"/equity",SILVER:"/silver",NIFTY_50:"/nifty-50",NIFTY_NEXT_50:"/nifty-next-50",SENSEX:"/sensex",MIDCAP:"/midcap",BANK_NIFTY:"/bank-nifty",NIFTY_METAL:"/nifty-metal",BANKING_ETF:"/banking",HEALTHCARE:"/healthcare",DEFENCE:"/defence",LIQUID:"/liquid",NIFTY_IT:"/nifty-it",NIFTY_AUTO:"/nifty-auto",GROWW:"/groww-etfs",OFS:"/ofs",OFS_ORDER_PAGE:"/order",NOMINEE:"/add-nominee",TAX_LOSS_HARVESTING:"/tax-loss-harvesting",OPTION:"/options",FUTURE:"/futures",CONTRACT_ID:"/:contractId",OPTIONAL_CONTRACT_ID:"/:contractId?",EXCLUSIVE:"/exclusive",FILTER:"/filter",BANK_AND_MANDATE:"/bank-autopay",PROFIT_LOSS:"/profit-loss",DIGEST:"/digest",DAILY_DIGEST:"/daily",WEEKLY_DIGEST:"/weekly",THRIVE_LANDING:"/thrive",IIF_LANDING:"/iif-2026",AIKI_LANDING:"/ab-india-karega-invest",C360_MASTERCLASS:"/c360-masterclass",AIKG_LANDING:"/ab-india-karega-groww",FIND_CUSTOMER_ID:"/find-your-customer-id",ACADEMY:"/academy",ACADEMY_SERIES:"/series",ACADEMY_EPISODE:"/episode",TRADERS_CORNER:"/traders-corner",CAMPAIGNS:"/campaigns",PAGES:"/pages",PAGE:"/page",PAGE_ONE:"/1",INVALID_REFERRAL_LINK:"/invalid-referral",REFERRAL_OPT_OUT:"/referral-opt-out",UNSUBSCRIBE:"/unsubscribe",DOWNLOAD_APP:"/download-app",GET_APP:"/get-app",GROWW_APP:"/groww-app",STOCKS_APP:"/stocks-app",TRADING_APP:"/trading-app",MUTUAL_FUNDS_APP:"/mutual-funds-app",FIXED_DEPOSIT:"/fixed-deposit",OTHER_PRODUCTS:"/other-products",BROKERAGE_CALCULATOR:"/brokerage-calculator",FEATURE:"/products",LOANS_LANDING_PAGE:"/loans",PERSONAL_LOAN_LANDING_PAGE:"/personal-loan",COMMODITIES_LANDING_PAGE:"/commodities",HUF_LANDING_PAGE:"/open-huf-demat-account",
14SHARED_PORTFOLIO:"/portfolio/",SHARED_PORTFOLIO_REQUEST:"request_id/",SHARED_PORTFOLIO_REQUEST_ID:":requestId",SHARED_PORTFOLIO_SHARING:"/portfolio-sharing",INSIGHTS:"/insights",ANALYSE:"/analyse",CAPITAL_GAINS:"/capital-gains",ACTIVE_PASSIVE_SPLIT:"/active-passive-split",PRIME_VERDICT:"/prime-verdict",HOLDING_SPLIT:"/holding-split",TAX_SPLIT:"/tax-split",CATEGORY_DISTRIBUTION:"/category-distribution",SHORT_TERM_FUNDS:"/short-term-funds",LONG_TERM_FUNDS:"/long-term-funds",SUMMARY_TYPE:"/:summaryType",DIVIDEND:"/dividend",INVESTOR_CHARTER_GRIEVANCE:"/investor-charters-and-grievance",IFSC_CODE:"/ifsc-code",BANK_SEARCH_ID:":bankSearchId",STATE_SEARCH_ID:":stateSearchId",CITY_SEARCH_ID:":citySearchId",BRANCH_SEARCH_ID:":branchSearchId",GLOSSARY:"/p",GLOSSARY_SECONDARY_SEARCHID:":glossarySecondaryId",BLOG:"/blog",HINDI:"/hi",BLOG_HINDI:"/blog-hindi",BEGINNERS_GUIDE_MF_BLOG:"/beginners-guide-mutual-funds",BEGINNERS_GUIDE_MF_BLOG_HINDI:"/beginners-guide-mutual-funds-hindi",PAN_CARD:"/pan-card",AADHAAR_CARD:"/aadhaar-card",SAVING_SCHEMES:"/savings-schemes",TAX:"/tax",BANKING:"/banking",LOANS:"/loans",SAVINGS_ACCOUNT:"/savings-account",CREDIT_CARD:"/credit-card",INSURANCE:"/insurance",AADHAAR_PAN_LINK:"/link-aadhaar-pan",RTO:"/rto",RTO_STATE_SEARCH_ID:"/:stateSearchId",RTO_CITY_SEARCH_ID:"/:citySearchId",EDIT:"/edit",EDIT_SIP:"/edit-sip",FD_WEBVIEW:"/fd-webview",PRODUCT_SITEMAP:"/sitemap",INCOME_TAX_CAL:"/calculators/income-tax-calculator",TERMS_AND_CONDITIONS:"/terms-and-conditions",PRIVACY_POLICY:"/privacy-policy",DISCLOSURE:"/disclosure",POLICIES:"/policies",SECURITY:"/security",UPDATES:"/updates",GROWW_JOBS:"/jobs",CLOSE_DEMAT_ACCOUNT:"/close-demat-account",ACCOUNT_AGGREGATOR:"/account-aggregator",BUY_BACK:"/buy-back",AUTHOR_ID:":authorSearchId",SCHEME_CODE_ID:":schemeCode",DASH:"/dashboard",INSIGHT:"/insight",GROUP:"/groups",AUTOPAY_BENEFITS:"/benefits",VIEW_ORDERS:"/orders",UPLOAD:"/upload",ARN:"arn-111686/",INVEST_MORE:"/invest-more",SWITCH_SCREEN_ID:":screen?",SWITCH_INITIAL:"/start",SWITCH_CONFIRM:"/confirm",SWITCH_SUCCESS:"/success",NOT_FOUND:"/not-found",LIVE_PRICE_DASHBOARD:"/live-price-dashboard",HOLDINGS:"/holdings",ADD_TRANSACTION:"/add-transaction",ADD_BILLER:"/addbiller",GROWW_MANDATE:"/groww-mandate",GENERATE_OTM:"/generate-otm",MANDATE_ID:"/:mandateId/",BANK_ID:":bankId",UPLOAD_OTM:"/upload-otm",ALL_ETFS:"/all-etfs",US_STOCKS:"/us-stocks",TRACK_REQUEST:"/request",TRACK_REPORT:"/report",DETAILS:"/details",SWITCH_TO_DIRECT:"/switch-to-direct",SWITCH_FUNDS_EXPLORE:"/switch-funds-explore",SWITCH_FUNDS_DASHBOARD:"/switch-funds",SWITCH_FUNDS_SCHEME:"/switch-funds-scheme",SWITCH_FUNDS_DETAILS:"/switch-funds-details",SYSTEMATIC_WITHDRAW:"/systematic-withdrawal",SYSTEMATIC_TRANSFER:"/systematic-transfer",EMAIL_VERIFICATION:"/email-verification",PROFILE_SEARCH_ID:":searchId",PAYMENTS_SCREEN_ID:"/:paymentsScreen?",TRANSACTION_ID:"/:txnId?",LEDGER_TRANSACTION_ID:"/:txnId",GROWW_FLASHBACK:"/flashback",LINK_AADHAAR_PAN:"/link-aadhaar-pan",EDIS_SERVER:"/edisTransaction",FUND_INVESTMENT:"/fund-investment",ENTITY_TYPE:"/:entityType/",TRADINGVIEW:"/tv",CHARTING_LIBRARY:"/charting_library",ALERTS:"/alerts",KRA_VERIFICATION_PAGE:"/kra-verification",GLOBAL_INDICES:"/global-indices",INDIAN_INDICES:"/indian-indices",GLOBAL_FUTURES:"/global-futures",CDSL_REDIRECT_URL:"/web-redirect/cdslauthstatus",REDIRECT:"/redirect",WEB_STORIES:"/web-stories",APP_STORIES:"/stories",ANNOUNCE:"/announce",COMMODITIES:"/commodities",ALL_COMMODITIES:"/filter",UNDERLYINGS:"/underlyings",EXPIRY_CALENDAR:"/calendar",STOCK_FEED:"/stock-feed",SHARE_MARKET_TODAY:"/share-market-today",TRADE_API:"/trade-api",TRADING_API:"/trading-apis",STRATEGIES:"/strategeis",FII_DII:"/fii-dii-data",MUTUAL_FUND_LIST:"/fund-list",STOCKS_LIST:"/stocks-list",HEADSTART:"/headstart",INVEST_IN_ETFS:"/invest-in-etfs",PMS_LANDING:"/pms",PMS_SCREENER:"/pms/filter"},i={DAILY_DIGEST:"daily",WEEKLY_DIGEST:"weekly",HELP_AND_SUPPORT:"help",EXPLORE:"explore",DASHBOARD:"dashboard",NOMINEE:"nominee",INVESTMENTS:"investments",AUGMONT_DIGITAL_GOLD:"augmont-digital-gold",OTHER_PRODUCTS_SEARCH_ID:"other-products",FIXED_DEPOSIT:"fds",FD_NOMINEE:"nominee",RECURRING_DEPOSIT:"recurring-deposit",PAN_CARD:"pan-card",AADHAAR_CARD:"aadhaar-card",TAX:"tax",SAVINGS_SCHEMES:"savings-schemes",BANKING:"banking",LOANS:"loans",PERSONAL_LOAN:"personal-loan",BUG_BOUNTY:"bug-bounty",SAVINGS_ACCOUNT:"savings-account",CREDIT_CARD:"credit-card",BROKERAGE_CALCULATOR:"brokerage-calculator",INSURANCE:"insurance",RTO:"rto",WEB_STORIES:"web-stories",DISCLAIMER:"disclaimer",INCOME_TAX_CALCULATOR:"income-tax-calculator",FNO:"fno",IPO:"ipo"},a=/:\w+/,o=/:\w+/g,s=e=>("string"!=typeof e&&console.warn(e),function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=e;for(let t of(l(e,r),r))i=i.replace(a,t);return i}),l=(e,t)=>
14{if(c(e)<t.length)throw Error("more parameter passed")},c=e=>{var t;return null===(t=e||"".match(o)||[])||void 0===t?void 0:t.length}},456232:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});let n="10.74.0"},458562:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var n=r(986594);r(407178);var i=r(689940),a=r(462261),o=r(659108),s=r(578124),l=r(855046),c=r(984991),u=r(34331),d=r(750644);let f={TITLE:"Risk disclosure for futures & options",POINTS:["9 out of 10 individual traders in equity Futures and Options segment, incurred net losses.","On an average, loss makers registered net trading loss close to â¹50,000.","Over and above the net trading losses incurred, loss makers expended an additional 28% of net trading losses as transaction costs.","Those making net trading profits, incurred between 15% to 50% of such profits as transaction cost."],INFO:"This is a mandatory step by SEBI"};var h=r(874950),p=r.n(h),E=r(890465);let _=e=>{let{buttonText:t="Okay, I understand",onCtaClick:r,isCtaLoading:h,onRiskPopupCheckboxClick:_,commodityCheckboxValue:g,equityCheckboxValue:S}=e,{hoistValue:m}=(0,i.Qt)({hoistKey:c.H.INTEGRATED_FNO_COMMODITY_ONBOARDING,defaultValue:!1}),{userData:A}=(0,u.Ss)(),{fno_status:v,commodity_status:b}=A||{},T=v===d.rv.NOT_COMPLETED||v===d.rv.REJECTED;return(0,n.jsxs)("div",{className:"".concat(p().popupUi," flex vspace-between flex-column"),children:[(0,n.jsxs)("div",{className:"width100",children:[(0,n.jsx)("div",{className:"width100 absolute-center",children:(0,n.jsx)(l.A,{src:E.A,alt:"riskClock",useLazyLoad:!1,addClass:p().riskClock,width:64,height:64})}),(0,n.jsx)("div",{className:"".concat(p().heading," absolute-center headingLarge"),children:f.TITLE}),(0,n.jsx)("div",{className:"left-align bodyBase contentSecondary",children:(0,n.jsx)("ul",{className:"".concat(p().listItemParent," flex flex-column"),children:f.POINTS.map((e,t)=>(0,n.jsx)("li",{className:p().listItem,children:e},t))})})]}),m&&T&&("NOT_COMPLETED"===b||"REJECTED"===b)?(0,n.jsxs)("div",{className:"".concat(p().commodityOptIn," flex"),children:[(0,n.jsx)("div",{className:"contentSecondary",children:"Activate:"}),(0,n.jsxs)("div",{className:"flex ".concat(p().commodityOptInCheckBoxes),children:[(0,n.jsx)(o.C,{handleOnClick:(e,t)=>null==_?void 0:_(t,"equity"),label:(0,n.jsx)("span",{className:"contentSecondary",children:"F&O Equity"}),isChecked:S}),(0,n.jsx)(o.C,{handleOnClick:(e,t)=>null==_?void 0:_(t,"commodity"),label:(0,n.jsx)("span",{className:"contentSecondary",children:"Commodities"}),isChecked:g})]})]}):(0,n.jsxs)("div",{className:"".concat(p().infoContainer," center-align width100"),children:[(0,n.jsx)("span",{className:"pos-rel ".concat(p().infoIcon),children:(0,n.jsx)(a.A,{width:16,height:16,color:"var(--content-accent)"})}),(0,n.jsx)("span",{className:"bodySmall",children:f.INFO})]}),(0,n.jsx)("div",{className:"".concat(p().footer," pos-rel center-align"),children:(0,n.jsx)(s.B,{buttonText:t,onClick:r,isFullWidth:!0,isLoading:h})})]})}},458732:(e,t,r)=>{"use strict";r.d(t,{h:()=>l,w:()=>s});var n=r(533427),i=r(950565),a=r(925129);let o=Symbol.for("sentry.nonRecordingSpan");class s{constructor(e={}){this._traceId=e.traceId||(0,i.e)(),this._spanId=e.spanId||(0,i.Z)(),this.dropReason=e.dropReason,(0,n.my)(this,o,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:a.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function l(e){return!!e&&!0===e[o]}},459213:(e,t,r)=>{"use strict";r.d(t,{W:()=>n.W});var n=r(739629)},460318:(e,t,r)=>{"use strict";r.d(t,{U:()=>s,z:()=>o});var n=r(730884),i=r(779126),a=r(925129);function o(e){if(!n.T)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:o}=(0,a.et)(e),{spanId:s}=e.spanContext(),l=(0,a.pK)(e),c=(0,a.zU)(e),u=c===e,d=`[Tracing] Starting ${l?"sampled":"unsampled"} ${u?"root ":""}span`,f=[`op: ${r}`,`name: ${t}`,`ID: ${s}`];if(o&&f.push(`parent ID: ${o}`),!u){let{op:e,description:t}=(0,a.et)(c);f.push(`root ID: ${c.spanContext().spanId}
14`),e&&f.push(`root op: ${e}`),t&&f.push(`root description: ${t}`)}i.Yz.log(`${d} 15 ${f.join("\n ")}`)}function s(e){if(!n.T)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,a.et)(e),{spanId:o}=e.spanContext(),s=(0,a.zU)(e)===e,l=`[Tracing] Finishing "${r}" ${s?"root ":""}span "${t}" with ID ${o}`;i.Yz.log(l)}},462261:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(810059),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),n.createElement("path",{d:"M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm-2 16-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9z"}))})},463500:e=>{"use strict";e.exports={}},464502:e=>{"use strict";function t(e){if("undefined"!=typeof Float32Array)!function(){var t=new Float32Array([-0]),r=new Uint8Array(t.buffer),n=128===r[3];function i(e,n,i){t[0]=e,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3]}function a(e,n,i){t[0]=e,n[i]=r[3],n[i+1]=r[2],n[i+2]=r[1],n[i+3]=r[0]}function o(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],t[0]}function s(e,n){return r[3]=e[n],r[2]=e[n+1],r[1]=e[n+2],r[0]=e[n+3],t[0]}e.writeFloatLE=n?i:a,e.writeFloatBE=n?a:i,e.readFloatLE=n?o:s,e.readFloatBE=n?s:o}();else{function t(e,t,r,n){var i=+(t<0);if(i&&(t=-t),0===t)e(1/t>0?0:0x80000000,r,n);else if(isNaN(t))e(0x7fc00000,r,n);else if(t>34028234663852886e22)e((i<<31|0x7f800000)>>>0,r,n);else if(t<11754943508222875e-54)e((i<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var a=Math.floor(Math.log(t)/Math.LN2),o=8388607&Math.round(t*Math.pow(2,-a)*8388608);e((i<<31|a+127<<23|o)>>>0,r,n)}}function o(e,t,r){var n=e(t,r),i=(n>>31)*2+1,a=n>>>23&255,o=8388607&n;return 255===a?o?NaN:1/0*i:0===a?1401298464324817e-60*i*o:i*Math.pow(2,a-150)*(o+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=o.bind(null,i),e.readFloatBE=o.bind(null,a)}if("undefined"!=typeof Float64Array)!function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function i(e,n,i){t[0]=e,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3],n[i+4]=r[4],n[i+5]=r[5],n[i+6]=r[6],n[i+7]=r[7]}function a(e,n,i){t[0]=e,n[i]=r[7],n[i+1]=r[6],n[i+2]=r[5],n[i+3]=r[4],n[i+4]=r[3],n[i+5]=r[2],n[i+6]=r[1],n[i+7]=r[0]}function o(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function s(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?i:a,e.writeDoubleBE=n?a:i,e.readDoubleLE=n?o:s,e.readDoubleBE=n?s:o}();else{function s(e,t,r,n,i,a){var o,s=+(n<0);if(s&&(n=-n),0===n)e(0,i,a+t),e(1/n>0?0:0x80000000,i,a+r);else if(isNaN(n))e(0,i,a+t),e(0x7ff80000,i,a+r);else if(n>17976931348623157e292)e(0,i,a+t),e((s<<31|0x7ff00000)>>>0,i,a+r);else if(n<22250738585072014e-324)e((o=n/5e-324)>>>0,i,a+t),e((s<<31|o/0x100000000)>>>0,i,a+r);else{var l=Math.floor(Math.log(n)/Math.LN2);1024===l&&(l=1023),e(0x10000000000000*(o=n*Math.pow(2,-l))>>>0,i,a+t),e((s<<31|l+1023<<20|1048576*o&1048575)>>>0,i,a+r)}}function l(e,t,r,n,i){var a=e(n,i+t),o=e(n,i+r),s=(o>>31)*2+1,l=o>>>20&2047,c=0x100000000*(1048575&o)+a;return 2047===l?c?NaN:1/0*s:0===l?5e-324*s*c:s*Math.pow(2,l-1075)*(c+0x10000000000000)}e.writeDoubleLE=s.bind(null,r,0,4),e.writeDoubleBE=s.bind(null,n,4,0),e.readDoubleLE=l.bind(null,i,0,4),e.readDoubleBE=l.bind(null,a,4,0)}return e}function r(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function n(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function i(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function a(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},464726:(e,t,r)=>{"use strict";function n(e){return{...e.custom?{}:{viewBox:"0 0 24 24",fill:"currentColor",height:24,width:24},...e.size?{height:e.size,width:e.size}:{},...e,size:void 0,custom:void 0}}r.d(t,{C:()=>n})},474043:(e,t,r)=>{"use strict";r.d(t,{R:()=>l,e:()=>s});var n=r(730884),i=r(779126),a=r(122677);function o(e){i.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function s(e,t){if(!t?.length)return!1;for(let i of t){var r;
15if("string"==typeof(r=i)||r instanceof RegExp){if(e.description&&(0,a._c)(e.description,i))return n.T&&o(e),!0;continue}let t=!!i.attributes&&Object.keys(i.attributes).length>0;if(!i.name&&!i.op&&!t)continue;let s=!i.name||e.description&&(0,a._c)(e.description,i.name),l=!i.op||e.op&&(0,a._c)(e.op,i.op),c=!i.attributes||Object.entries(i.attributes).every(([t,r])=>(function(e,t){return"string"==typeof e&&("string"==typeof t||t instanceof RegExp)?(0,a._c)(e,t):Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every((e,r)=>e===t[r]):e===t})(e.attributes?.[t],r));if(s&&l&&c)return n.T&&o(e),!0}return!1}function l(e,t){let r=t.parent_span_id,n=t.span_id;if(r)for(let t of e)t.parent_span_id===n&&(t.parent_span_id=r)}},481966:(e,t,r)=>{"use strict";r.d(t,{AW:()=>O,CP:()=>S,GJ:()=>m,HM:()=>T,LH:()=>w,Le:()=>E,Mx:()=>_,Pu:()=>C,Q6:()=>n,RY:()=>l,UI:()=>v,VA:()=>o,cg:()=>s,eq:()=>u,kW:()=>b,lI:()=>a,m7:()=>g,n2:()=>f,o5:()=>p,ow:()=>d,q:()=>h,rK:()=>A,sZ:()=>y,sv:()=>i,zU:()=>c});let n="GET_TOP_EXPLORE_LIST",i="GET_OPTION_CHAIN_DATA",a="GET_FNO_CONTRACT_DATA",o="SET_FNO_CONTRACT_DATA",s="UPDATE_FNO_CONTRACT_DATA",l="UPDATE_CONTRACT_PRICE",c="GET_CONTRACT_LIVE_PRICE",u="CLEAR_FNO_CONTRACT_DATA",d="GET_FNO_SPARKLINE_DATA",f="GET_FNO_BATCH_LIVE_PRICE",h="FORCE_UPDATE_FNO_ORDER_SELECTION",p="FORCE_UPDATE_COMMODITIES_ORDER_SELECTION",E="SET_SAFE_EXIT_DATA",_="CLEAR_SAFE_EXIT_DATA",g="SET_SAFE_EXIT_CARD_DATA",S="GET_BLOCKING_SERVICE_STATUS",m="SET_BASKET_ORDER_CONTRACTS_DATA",A="ADD_BASKET_ORDER_CONTRACT",v="REMOVE_BASKET_ORDER_CONTRACT",b="UPDATE_BASKET_IS_SAME_QTY_CHECKED",T="UPDATE_BASKET_COMBINED_QTY_COUNTER_VAL",y="UPDATE_BASKET_CONTRACTS_DATA",O="GET_FNO_CONTRACT_EXPIRIES",w="SET_LAST_USED_FNO_QTY",C="SET_FNO_EXPLORE_CHART_DATA"},482124:(e,t,r)=>{"use strict";r.d(t,{BI:()=>o,Bd:()=>u,Fh:()=>s,In:()=>A,J:()=>a,Ls:()=>h,Od:()=>S,SC:()=>g,T9:()=>_,UC:()=>f,Wi:()=>p,Yf:()=>l,eF:()=>c,eH:()=>b,fs:()=>d,sp:()=>v,tk:()=>i,u:()=>n,wP:()=>m,zc:()=>E});let n="ADD_BID",i="EDIT_BID",a="REMOVE_BID",o="BID_TAB_SWITCH",s="TOGGLE_CUTOFF",l="TOGGLE_MAX_LOT",c="TOGGLE_CATRGORY_POPUP",u="TOGGLE_BLOCKED_POPUP",d="ADD_ROUTE_PROPS",f="BID_ERROR_DATA",h="CHANGE_FLOW_SCREEN",p="UPDATE_UPI_LIST",E="UPDATE_VPA_LIST",_="SET_VPA",g="VPA_VERIFICATION",S="CHANGE_CATEGORY",m="AUTO_SWITCH_CATEGORY",A="DEMAT_INACTIVE",v="CATEGORY_CONFIG",b="RESET_STATE"},482132:(e,t,r)=>{"use strict";r.d(t,{BH:()=>o,XI:()=>l,qr:()=>s});var n=r(253857),i=r(366929),a=r(952686);let o=(e,t)=>r=>{(0,i.C)(r,()=>(0,n.Ss)(e,t),a.CE,e=>{r({type:(0,i.V)(a.CE).success,payload:e.data})})},s=()=>e=>{(0,i.C)(e,()=>(0,n.xE)(),a.k7,t=>{e({type:(0,i.V)(a.k7).success,payload:t.data})})},l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r=>{(0,i.C)(r,()=>(0,n.j0)(e,t),a.ad,e=>{r({type:(0,i.V)(a.ad).success,payload:e.data})})}}},482801:(e,t,r)=>{"use strict";r.d(t,{$c:()=>p,Jd:()=>S,QU:()=>A,T7:()=>g,_5:()=>v,bF:()=>_,f9:()=>y,hq:()=>T,iI:()=>E,m0:()=>m,y7:()=>b});var n=r(647005),i=r(951402),a=r(930645);let o=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/,s=e=>/^\d+$/.test(e),l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return{major:e,minor:t,patch:r,preRelease:n,buildMetadata:i}},c=e=>{var t,r,n,i,a,c;let u=e.match(o);if(u){let e=parseInt(null!==(t=u[1])&&void 0!==t?t:"0");return l(e,parseInt(null!==(r=u[2])&&void 0!==r?r:"0"),parseInt(null!==(n=u[3])&&void 0!==n?n:"0"),u[4],u[5])}let d=e.split(".").map(e=>""===e?"0":e),f=null!==(i=d[0])&&void 0!==i?i:"0",h=null!==(a=d[1])&&void 0!==a?a:"0",p=null!==(c=d[2])&&void 0!==c?c:"0";return s(f)&&s(h)&&s(p)?l(parseInt(f),parseInt(h),parseInt(p)):l(0,0,0)},u=(e,t)=>{for(let r of["major","minor","patch"])if(e[r]<t[r])return -1;else if(e[r]>t[r])return 1;return 0},d=(e,t)=>-1===u(e,t),f=(e,t)=>1===u(e,t),h=(e,t)=>0===u(e,t);function p(){let e=n.c7(n.ZE.LOCAL_COOKIE_STORAGE,a.a.WEBVIEW_APP_VERSION,!0);return"number"==typeof e?"".concat(e,".0"):"string"==typeof e?e:"0.0.0"}function E(){return n.c7(n.ZE.LOCAL_COOKIE_STORAGE,a.a.IS_WEBVIEW_ACTIVE,!1)}function _(){return n.c7(n.ZE.LOCAL_COOKIE_STORAGE,a.a.WEBVIEW_PLATFORM,!1)||n.c7(n.ZE.LOCAL_COOKIE_STORAGE,a.a.WEBVIEW_PLATFORM_TYPE,!1)}function g(){let e=p();return{..._()===a.W.IOS?{"x-platform":"ios","X-APP-ID":"growwIOS"}:{"x-platform":"android","X-APP-ID":"growwAndroid"},...e?{"x-platform-version":e}:{}}}function S(){let e=E(),t=p(),r=_();return{...e?{isWebView:"MWeb"}:{},...t?{webviewAppVersion:t}:{},...r?{webviewPlatform:r}:{}}}function m(){var e,t;let r=null===(t=window)||void 0===t?void 0:null===(e=t.navigator)||void 0===e?void 0:e.userAgent;if((0,i.a)(r))return!1;let n=/Android.*?(?=.*\bVersion\b)(?=.*\bwv\b)/i.test(r),a=/^(?=.*\b(iPad|iPhone)\b)(?!.*\bSafari\b)/i.test(r);return n||a}let A=()=>n.c7(n.ZE.COOKIE,a.a.WEBVIEW_APP_NAME,!1),v=(e,t)=>
15u(c(e),c(t)),b=(e,t)=>d(c(e),c(t)),T=(e,t)=>f(c(e),c(t)),y=(e,t)=>h(c(e),c(t))},482848:e=>{e.exports={partnerHeader:"CleartaxPartnerHeader_partnerHeader__fKrKI"}},483764:(e,t,r)=>{"use strict";r.d(t,{h:()=>function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&0===Object.keys(r).length)return t;let i={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=e(i[t],r[t],n-1));return i}})},487478:(e,t,r)=>{"use strict";r.d(t,{T:()=>_});var n=r(449204),i=r(407178),a=r(947687);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var o=i.memo(function(e){let t=(0,a.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},i.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),i.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}))}),s=i.memo(function(e){let t=(0,a.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},i.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),i.createElement("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}))}),l=i.memo(function(e){let t=(0,a.h)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},i.createElement("path",{fill:"none",d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"}),i.createElement("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46A11.8 11.8 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}))}),c=["bodySmall","bodySmallHeavy","bodyBase","bodyBaseHeavy","bodyLarge","bodyLargeHeavy","bodyXLarge","bodyXLargeHeavy","headingXSmall","headingSmall","headingBase","headingLarge"],u=i.forwardRef(function(e,t){var r=e.onKeyDown,a=e.onKeyUp,o=e.onCopy,s=e.onPaste,l=e.error,u=e.variant,f=void 0===u?"default":u,h=e.size,p=e.label,E=e.inputDataTestId,_=void 0===E?"":E,g=e.errorDataTestId,S=void 0===g?"":g,m=e.PrefixComponent,A=e.SuffixComponent,v=e.className,b=void 0===v?"":v,T=(0,n.b)(e,["onKeyDown","onKeyUp","onCopy","onPaste","error","variant","size","label","inputDataTestId","errorDataTestId","PrefixComponent","SuffixComponent","className"]),y=c.some(function(e){return b.includes(e)})?"":d(void 0===h?"medium":h);return i.createElement(i.Fragment,null,p&&i.createElement("div",{className:"text-input-v1-label bodyBase"},p),i.createElement("div",{className:"text-input-v1-container ".concat(f)},i.createElement("div",{className:"text-input-v1-wrapper ".concat(f)},m&&i.createElement("span",{className:"text-input-v1-trailing-vis ".concat(f)},m()),i.createElement("input",(0,n._)({ref:t,"data-test-id":_.length?_:null,className:"text-input-v1-primary-input ".concat(y," ").concat(b," ").concat(f),onCopy:void 0===o?function(){}:o,onPaste:void 0===s?function(){}:s,onKeyUp:void 0===a?function(){}:a,onKeyDown:void 0===r?function(){}:r},T)),A&&i.createElement("span",{className:"text-input-v1-leading-vis ".concat(f)},A()))),l&&"unstyled"===f&&i.createElement("div",{className:"text-input-v1-error-label bodyBase ".concat(l?"error":""),"data-test-id":S.length?S:null},l),"unstyled"!==f&&i.createElement("div",{className:"text-input-v1-error-label bodyBase ".concat(l?"error":""),"data-test-id":S.length?S:null},l))}),d=function(e){switch(e){case"small":return"bodyBase";case"medium":default:return"bodyLarge";case"large":return"headingLarge"}},f=i.forwardRef(function(e,t){var r=e.type,a=(0,i.useState)(r),o=a[0],s=a[1],l=function(){s("password"===o?"text":"password")};return i.createElement(u,(0,n._)({},e,{type:o,SuffixComponent:function(){return h({type:o,setType:l})}}))}),h=function(e){var t=e.type,r=e.setType;return"password"===t?i.createElement(s,{onClick:r,"data-test-id":"visibility-icon",size:18}):i.createElement(l,{onClick:r,"data-test-id":"visibility-off-icon",size:18})},p=i.forwardRef(function(e,t){var r=e.value,a=e.onChange;return i.createElement(u,(0,n._)({ref:t},e,{SuffixComponent:function(){return E({value:r,onChange:a})}}))}),E=function(e){var t=e.value,r=e.onChange,n={target:{value:""}};return t?i.createElement(o,{onClick:function(){r(n)},size:18}):null},_=i.forwardRef(function(e,t){var r=e.type,a=e.clearable;return"password"===r?i.createElement(f,(0,n._)({},e,{ref:t})):a?i.createElement(p,(0,n._)({ref:t},e)):i.createElement(u,(0,n._)({},e,{ref:t}))})},488948:(e,t,r)=>{"use strict";r.d(t,{h:()=>E}
15);var n=r(269618),i=r(166794);let a=e=>e instanceof Promise&&!e[o],o=Symbol("chained PromiseLike"),s=(e,t,r)=>{let n=e.then(e=>(t(e),e),e=>{throw r(e),e});return a(n)&&a(e)?n:l(e,n)},l=(e,t)=>{if(!t)return e;let r=!1;for(let n in e){if(n in t)continue;r=!0;let i=e[n];"function"==typeof i?Object.defineProperty(t,n,{value:(...t)=>i.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[n]=i}return r&&Object.assign(t,{[o]:!0}),t};var c=r(198328);class u{constructor(e,t){let r,n;r=e||new i.H,n=t||new i.H,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,c.Qg)(t)?s(t,()=>this._popScope(),()=>this._popScope()):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function d(){let e=(0,n.EU)(),t=(0,n.Se)(e);return t.stack=t.stack||new u((0,n.BY)("defaultCurrentScope",()=>new i.H),(0,n.BY)("defaultIsolationScope",()=>new i.H))}function f(e){return d().withScope(e)}function h(e,t){let r=d();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function p(e){return d().withScope(()=>e(d().getIsolationScope()))}function E(e){let t=(0,n.Se)(e);return t.acs?t.acs:{withIsolationScope:p,withScope:f,withSetScope:h,withSetIsolationScope:(e,t)=>p(t),getCurrentScope:()=>d().getScope(),getIsolationScope:()=>d().getIsolationScope()}}},490364:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={GrowwStoryClick:"GrowwStoryClick",GrowwStoryNextTap:"GrowwStoryNextTap",GrowwStoryBackTap:"GrowwStoryBackTap",GrowwStoryLongPress:"GrowwStoryLongPress",GrowwStoryShareClick:"GrowwStoryShareClick",InvalidPageCTAClick:"InvalidPageCTAClick",CalculatorCta:"CalculatorCta",BlogCta:"BlogCta",BankingPageSidebarCta:"BankingPageSidebarCta",LoansPageSidebarCta:"LoansPageSidebarCta",CreditCardPageSidebarCta:"CreditCardPageSidebarCta",SavingsAccountPageSidebarCta:"SavingsAccountPageSidebarCta",InsurancePageSidebarCta:"InsurancePageSidebarCta",RtoPageSidebarCta:"RtoPageSidebarCta",StockWidgetItemClick:"StockWidgetItemClick",MfExploreFundsCta:"MfExploreFundsCta",BlogAudioPlayClick:"BlogAudioPlayClick",BlogAudioPlayed:"BlogAudioPlayed",MtfLandingPageCtaClick:"MtfLandingPageCtaClick",EtfLandingPageCtaClick:"EtfLandingPageCtaClick",MfLandingPageAmcClick:"MfLandingPageAmcClick",MfLandingPageScreenerClick:"MfLandingPageScreenerClick",MtfLandingPageSeeStocksClick:"MtfLandingPageSeeStocksClick",MtfLandingPageRiskClick:"MtfLandingPageRiskClick",MtfLandingPageChargesClick:"MtfLandingPageChargesClick",GoldRatesInvestClick:"GoldRatesInvestClick",SilverRatesInvestClick:"SilverRatesInvestClick",BlogPageSidebarCta:"BlogPageSidebarCta",GlossaryPageSidebarCta:"GlossaryPageSidebarCta",FdRdSidebarCta:"FdRdSidebarCta",IfscPageSidebarCta:"IfscPageSidebarCta",CreditCardPageCta:"CreditCardPageCta",PortfolioView:"PortfolioView",ProductClick:"ProductClick",BuyClick:"BuyClick",ProductPageEntry:"ProductPageEntry",TabClick:"TabClick",PortfolioDenied:"PortfolioDenied",PortfolioSignUp:"PortfolioSignUp",AmmortizationCalculated:"AmmortizationCalculated",AikiRegistration:"AikiRegistrationClick",TrackEntered:"TrackEntered",TradersCornerGlobalIndexClick:"TradersCornerGlobalIndexClick",TradersCornerOptionChainClick:"TradersCornerOptionChainClick",TradersCornerStockClick:"TradersCornerStockClick",TradersCornerIndianIndexClick:"TradersCornerIndianIndexClick",BlogBankingCta:"BlogBankingCta",BlogFnoCta:"BlogFnoCta",BlogIpoCta:"BlogIpoCta",BlogLearnCta:"BlogLearnCta",BlogMarketsCta:"BlogMarketsCta",BlogMfCta:"BlogMfCta",BlogNfoCta:"BlogNfoCta",BlogStocksCta:"BlogStocksCta",BlogTaxCta:"BlogTaxCta",BlogPersonalFinanceCta:"BlogPersonalFinanceCta",BlogGoldCta:"BlogGoldCta",BlogInsuranceCta:"BlogInsuranceCta",BlogDefaultCta:"BlogDefaultCta",BlogIPOWidgetItemClick:"BlogIPOWidgetItemClick",BlogIPOWidgetViewAllClick:"BlogIPOWidgetViewAllClick",OpenQrPopup:"OpenQrPopup",SendAppDownloadLinkBtnClick:"SendAppDownloadLinkBtnClick",FeedPostLiked:"FeedPostLiked",FeedPostUnliked:"FeedPostUnliked",FeedPageView:"FeedPageView",FeedPageEntry:"FeedPageEntry",FeedPageExit:"FeedPageExit",FeedPublisherClick:"FeedPublisherClick",FeedPostCtaClick:"FeedPostCtaClick",FeedPostInteraction:"FeedPostInteraction",FeedLoginSignupEntry:"FeedLoginSignupEntry",FIIDIINetActivityChartToggle:"NetActivityChartToggle",FIIDIINetActivityFiltersClick:"NetActivityFiltersClick",HufDematAccountSetupCtaClick:"HufLandingPageButtonClick",HufVideoClicked:"HufVideoClicked",NriDematAccountSetupCtaClick:"NriLandingPageButtonClick",DematEntityTypeTileClick:"DematEntityTypeTileClick",WebStoryOpened:"ExploreWebStoryOpened",WebStoryClosed:"ExploreWebStoryClosed"}},491803:(e,t,r)=>{"use strict";r.d(t,{u:()=>s,y:()=>l});var n=r(655969),i=r(767219),a=r(758075),o=r(907141);let s={isOpen:!1,currentScreen:o.o.PERSONAL_DETAILS,data:{},status:o.s.NOT_STARTED},l=(0,n.vt)()((0,i.Zr)(()=>({...s}),{name:a.AQ,storage:(0,i.KU)(()=>sessionStorage),partialize:e=>({currentScreen:e.currentScreen,data:e.data,status:e.status})}))},493973:(e,t,r)=>{"use strict";r.d(t,{HB:()=>h,Ku:()=>p,Lj:()=>s,Mo:()=>_,PF:()=>l,WJ:()=>u,WN:()=>E,mU:()=>g,pb:()=>d,qu:()=>f,zK:()=>c});var n=r(188595),i=r(12865),a=r(136398),o=r(495701);let s=e=>o.m.setState(()=>({loginPopupScreen:e})),l=e=>o.m.setState(()=>({isForgotPinRequested:e})),c=e=>o.m.setState(()=>({isLoginHandlingFlag:e})),u=(e,t)=>
15o.m.setState(()=>({emailId:e,loginPopupScreen:t})),d=(e,t)=>o.m.setState(()=>({pin:e,loginPopupScreen:t})),f=e=>o.m.setState(()=>({...e})),h=e=>o.m.setState(()=>({otpError:e})),p=e=>o.m.setState(t=>{var r;return{checkPinStatusData:{...t.checkPinStatusData,data:{...null===(r=t.checkPinStatusData)||void 0===r?void 0:r.data,device_reg:e}}}}),E=(e,t,r,n,i,a)=>f(Object.assign({screen:e,emailId:t,isEmailAlreadyExist:r,otp:n,otpError:i,warningMessage:a},n?{otp:n}:{},i?{otpError:i}:{})),_=e=>{E(i.kv.ENTER_EMAIL_OTP_SCREEN,e,!0)},g=async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=a.aH.ONE_HOUR_IN_MINS;o.m.setState(()=>({checkPinStatusLoader:!0,checkPinStatusError:null}));try{let{data:r}=await (0,n.gB)({hardRefresh:e,expiresInMin:t,useEncryption:!0,key:a.aH.TWO_FACTOR_PIN_ALREADY_SET});o.m.setState(()=>({checkPinStatusData:r,checkPinStatusLoader:!1,checkPinStatusError:null}))}catch(e){console.error(e),o.m.setState(()=>({checkPinStatusLoader:!1,checkPinStatusError:(null==e?void 0:e.message)||"We're unable to verify your two-factor authentication details at this time. Please try again later."}))}}},495701:(e,t,r)=>{"use strict";r.d(t,{m:()=>s});var n=r(655969),i=(r(767219),r(12865)),a=r(238460);let o={isAuthenticated:(0,a.N)(),is2FAAuthenticated:(0,a.N)(!0),loginPopupScreen:i.pC.NEVER,pin:"",mobileNumber:"",emailId:"",isForgotPinRequested:!1,isLoginHandlingFlag:!1,otp:"",otpError:"",isEmailAlreadyExist:!1,checkPinStatusData:{},checkPinStatusLoader:!1,checkPinStatusError:null,screen:i.kv.INITIAL_LOGIN_SCREEN,warningMessage:""},s=(0,n.vt)()(()=>o)},495907:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_658)"},n.createElement("path",{fill:"currentColor",d:"M9 18h6q.424 0 .713-.288A.97.97 0 0 0 16 17a.97.97 0 0 0-.287-.712A.97.97 0 0 0 15 16H9a.97.97 0 0 0-.713.288A.97.97 0 0 0 8 17q0 .424.287.712Q8.576 18 9 18m0-4h6q.424 0 .713-.287A.97.97 0 0 0 16 13a.97.97 0 0 0-.287-.713A.97.97 0 0 0 15 12H9a.97.97 0 0 0-.713.287A.97.97 0 0 0 8 13q0 .424.287.713Q8.576 14 9 14m-3 8q-.824 0-1.412-.587A1.93 1.93 0 0 1 4 20V4q0-.824.588-1.412A1.93 1.93 0 0 1 6 2h7.175a1.98 1.98 0 0 1 1.4.575l4.85 4.85q.275.275.425.638.15.361.15.762V20q0 .824-.587 1.413A1.93 1.93 0 0 1 18 22zm7-14V4H6v16h12V9h-4a.97.97 0 0 1-.713-.287A.97.97 0 0 1 13 8"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_658"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},497676:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encode=t.decode=t.Prefix=t.NKeysErrorCode=t.NKeysError=t.fromSeed=t.fromPublic=t.createUser=t.createPair=t.createOperator=t.createAccount=void 0;var n=r(978414);Object.defineProperty(t,"createAccount",{enumerable:!0,get:function(){return n.createAccount}}),Object.defineProperty(t,"createOperator",{enumerable:!0,get:function(){return n.createOperator}}),Object.defineProperty(t,"createPair",{enumerable:!0,get:function(){return n.createPair}}),Object.defineProperty(t,"createUser",{enumerable:!0,get:function(){return n.createUser}}),Object.defineProperty(t,"fromPublic",{enumerable:!0,get:function(){return n.fromPublic}}),Object.defineProperty(t,"fromSeed",{enumerable:!0,get:function(){return n.fromSeed}}),Object.defineProperty(t,"NKeysError",{enumerable:!0,get:function(){return n.NKeysError}}),Object.defineProperty(t,"NKeysErrorCode",{enumerable:!0,get:function(){return n.NKeysErrorCode}}),Object.defineProperty(t,"Prefix",{enumerable:!0,get:function(){return n.Prefix}});var i=r(995964);Object.defineProperty(t,"decode",{enumerable:!0,get:function(){return i.decode}}),Object.defineProperty(t,"encode",{enumerable:!0,get:function(){return i.encode}})},503435:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(655969),i=r(767219);let a=(0,n.vt)()((0,i.Zr)((e,t)=>({productContext:"",setProductContext:t=>{e({productContext:t})},clearProductContext:()=>{e({productContext:""})},getProductContext:()=>
15t().productContext}),{name:"product-context-storage"}))},504978:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var n=r(986594),i=r(407178),a=r(275063),o=r(761711),s=r.n(o),l=r(366516),c=r(445762),u=r(987540),d=r(306025),f=r(454532),h=r(126479),p=r(729623),E=r(806473),_=r(754714),g=r(571870),S=r(34798),m=r(531269),A=r(652076),v=r(608667);r(598610);var b=r(439046),T=r.n(b);let y=e=>m.lz.includes(e)?"".concat(f.bw.SLASH).concat(e).concat(f.bw.USER).concat(f.bw.EXPLORE):"",O=e=>{let{userData:t,NavigationComponent:r,showProductName:o,HeaderIndices:b}=e,[O,w]=(0,i.useState)(!1),[C,I]=(0,i.useState)(!1),R=(0,a.d4)((0,d.b)()),N=(0,l.useRouter)();(0,i.useEffect)(()=>{let e=document.createElement("div");e.classList.add(m.X6),document.body.appendChild(e);let t=new IntersectionObserver(e=>{let[t]=e;w(!t.isIntersecting),t.isIntersecting?setTimeout(()=>{I(!0)},200):I(!1)},{threshold:m.Pe});return t.observe(e),()=>{t.disconnect(),document.body.removeChild(e)}},[]);let D=N.asPath,P=(0,h.x3)(D),L=m.m4[P]||"";return(0,n.jsxs)("div",{className:s()(T().secondaryHeaderContainer,{[T().visible]:O,[T().hiddenHeader]:C,[T().pointerDisabled]:!O},"flex","vspace-between flex-column"),children:[(0,n.jsx)("div",{style:m.fL,children:(0,n.jsxs)("div",{className:s()(T().mainHeaderContainer,"flex vspace-between"),children:[(0,n.jsxs)("div",{className:s()(T().leftSide,"flex"),children:[(0,n.jsxs)("div",{className:"valign-wrapper",children:[(0,n.jsx)(E.A,{showShouldStories:!1}),o&&(0,n.jsx)("div",{className:s()("headingBase cur-po contentPrimary",T().secondaryHeader),onClick:()=>{let e=y(P);e&&N.push(e)},children:L})]}),r]}),(0,n.jsxs)("div",{className:s()(T().rightSideContainer,"absolute-center"),children:[(0,n.jsx)("div",{className:"absolute-center",children:(0,i.useMemo)(()=>P===f.bw.MF_SEARCH_ID?(0,n.jsx)(S.A,{url:(0,p.pR)(),buttonText:"Cart",IconType:"CART",...R>0&&{trailingIcon:()=>(0,n.jsx)(u.A,{value:R})}}):(0,n.jsx)(S.A,{IconType:"TERMINAL",url:f.bw.ADVANCE_CHARTS+f.bw.INDEX+f.bw.SLASH+f.bw.NIFTY_SEARCH_ID,buttonText:"Terminal"}),[P,R])}),(0,n.jsxs)("div",{className:s()("valign-wrapper",T().grobotNotificationContainer),children:[(0,n.jsx)("div",{className:s()("cur-po absolute-center",T().searchIcon),onClick:A.RW,children:(0,n.jsx)(()=>N.asPath.includes(f.bw.SEARCH)?(0,n.jsx)(n.Fragment,{}):(0,n.jsx)(c.A,{}),{})}),(0,n.jsx)(v.A,{source:"HEADER"}),(0,n.jsx)(_.A,{userData:t})]}),(0,n.jsx)(g.A,{userData:t})]})]})}),b&&P!==f.bw.MF_SEARCH_ID&&(0,n.jsx)("div",{style:m.fL,children:(0,n.jsx)("div",{className:s()(T().headerIndicesContainer,"absolute-center"),children:b})})]})}},507298:(e,t,r)=>{"use strict";r.d(t,{BH:()=>p,EP:()=>g,UW:()=>E,Ud:()=>m,YV:()=>_,qG:()=>A,qd:()=>h,xG:()=>S});var n=r(986594);r(407178);var i=r(190386),a=r(391382),o=r(976837),s=r(56316),l=r(176366),c=r(4392),u=r(744620),d=r(205364),f=r(999711);let h=e=>(null==e?void 0:e.length)>1,p=e=>{if(!e)return"Search Groww....";let t=f.Fu[e].label;return"Search for ".concat(t)},E=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.A;return r!==d.g.SEARCH?n:f.Du[e]?f.Du[e]:e===f._H.Option&&t&&f.wG[t]?f.wG[t]:n},_=(e,t,r)=>{if(r===d.g.SEARCH&&e===u.MH.US_STOCKS)return"0 0 20 20"},g=e=>{let{sub_entity_type:t,entity_type:r,search_id:n,symbol:i,nse_scrip_code:a,bse_scrip_code:o}=e||{};return r===u.MH.US_STOCKS?n:t===u.BV.Commodity?i:a||o},S=(e,t)=>{let{feature_name:r,title:i}=e||{},o={Icon:s.A,className:"gsc23IconCircleWithBackground",iconColor:"contentPositive",backgroundColor:"backgroundPositiveSubtle"};return(0,n.jsxs)("div",{className:"contentPrimary valign-wrapper gsc23SuggestionRow gsc23FeatureRow bodyBase",id:"suggestions"+r,children:[(0,n.jsx)("div",{className:"".concat(o.className," ").concat(o.backgroundColor," circle absolute-center"),children:(0,n.jsx)(o.Icon,{size:16,className:"".concat(o.iconColor," absolute-center")})}),(0,n.jsxs)("div",{className:"valign-wrapper vspace-between width100 gsc23SuggestionContent",children:[(0,n.jsx)("div",{className:"gsc23SuggestionText bodyBase",children:(0,n.jsx)("div",{className:"bodyBase",children:(0,a.h)(i||"",t,0,f.n6,f.K3)})}
15),(0,n.jsx)("div",{className:"gsc23SuggestionCTA valign-wrapper",children:(0,n.jsx)(l.A,{size:20,className:"contentTertiary absolute-center"})})]})]},r)},m=(e,t)=>e.map(e=>({...e,key:e.search_id,value:null==e?void 0:e.title,suggestionState:t})),A=(e,t)=>{(0,i.sx)("GobblerSearchEvent",c.GobblerSearchEvent,{...t,eventType:e,source:window.location.href})}},507987:(e,t,r)=>{"use strict";r.d(t,{W:()=>a,i:()=>n});let n=new Set(["915.groww.in","next-915.groww.in","uat-915.groww.in"]),i="groww.in";function a(e){let t;if(!e||"string"!=typeof e)return!1;try{t=new URL(e)}catch(e){return!1}if("https:"!==t.protocol||t.username||t.password||t.port)return!1;let r=t.hostname.endsWith(".")?t.hostname.slice(0,-1):t.hostname;return r===i||r.endsWith(".".concat(i))}},508013:e=>{e.exports={grobotIconContainer:"grobotButton_grobotIconContainer__nq32a",slideInFromLeft:"grobotButton_slideInFromLeft__wIWds"}},510388:(e,t,r)=>{"use strict";r.d(t,{Qg:()=>i,b2:()=>a,vC:()=>n});let n="FETCH_ORDER_BLOCKING_DATA",i="FETCH_PRIMARIES_ORDER_BLOCKING_DATA",a="ETF_NFO_ORDER_BLOCKING_DATA"},516558:e=>{e.exports={dropdownContainer:"dropdownUI_dropdownContainer___FvdC",dropdownSection1:"dropdownUI_dropdownSection1__Gql_w",dropdownImage:"dropdownUI_dropdownImage__FMfcq",dropdownHeading:"dropdownUI_dropdownHeading__i9Nxv",dropdownSection2:"dropdownUI_dropdownSection2__C0CDh",dropdownDivider:"dropdownUI_dropdownDivider__TJ2iA",dropdownSubHeading:"dropdownUI_dropdownSubHeading__w7vpz",dropdownSection2Item:"dropdownUI_dropdownSection2Item__HAq3_",highlightedText:"dropdownUI_highlightedText__WrUFN",section2MoreContainerWidth:"dropdownUI_section2MoreContainerWidth__6wgKy",dropdownMinHeight:"dropdownUI_dropdownMinHeight__P5uZe"}},516679:(e,t,r)=>{"use strict";r.d(t,{p:()=>a});var n=r(407178),i=r(900261);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var a=n.memo(function(e){let t=(0,i.h)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_133)"},n.createElement("path",{fill:"currentColor",d:"m12 13.4-4.9 4.9a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275.95.95 0 0 1-.275-.7q0-.425.275-.7l4.9-4.9-4.9-4.9a.95.95 0 0 1-.275-.7q0-.425.275-.7a.95.95 0 0 1 .7-.275q.425 0 .7.275l4.9 4.9 4.9-4.9a.95.95 0 0 1 .7-.275q.425 0 .7.275a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7L13.4 12l4.9 4.9a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_133"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},517274:(e,t,r)=>{"use strict";r.d(t,{v:()=>h});var n=r(873435),i=r(95954),a=r.n(i),o=r(649989),s=r.n(o),l=r(849832),c=r(536171),u=r.n(c),d=r(886837),f=r.n(d);function h(e,t,r){let n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=n?"adepto007$22":_(),o=function(e,t,r){var n,i;let o,s=e;t&&(s+=t);let l=(n=s,a()(n).toString());return i=r,(o=a()(i).toString()).length<13&&(o+="0000000000000"),o.substring(0,13)+"###"+l}(e,t,r),c=Math.random().toString(36).substring(7);return function(e,t,r){let n=E(p(a()(t).toString()).concat(Array(16).fill(0)).slice(0,16)),i=s().parse(n);var o=r+"###"+(0,l.iX)(e,i,{iv:i,padding:u()}).data;let c=s().parse(o);return f().stringify(c)}(o,function(e,t){e.length<16&&(e+="0000000000000000"),t.length<16&&(t+="0000000000000000"),e=e.substring(0,16),t=t.substring(0,16);let r=p(e),n=p(t),i=[];for(let e=0;e<16;++e)i[2*e]=r[e],i[2*e+1]=n[e];return E(i)}(i,c),c)}function p(e){let t=[];for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);t=t.concat([n])}return t}function E(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}let _=()=>{let e=n.parse(window.location.search);switch(null==e?void 0:e.referrer){case"8df52ad0d49c4029bc5dce425c6e3ac1":return"G-KaPdSgVkYp2";case"935b22d86bb843078abde6cf814a6def":return"hWmZq4t6w9z$C";case"6c55e1ff8b244adc89bd35c3be3a4df1":case"e04ad561ba6a4e0cb962d1cab90ee77c":return"sDR163Kq4CCQX";default:return"mQ1PlRa94q2Vp"}}},517744:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});var n=function(e){return e.GET_MF_COMPARE_GRAPH_DATA="mf/GET_MF_COMPARE_GRAPH_DATA",e}({})},519201:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});let n=e=>{for(let t of(e.use={},Object.keys(e.getState())))e.use[t]=()=>e(e=>e[t]);return e}},519859:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/mfp-gem.979c9e9d.svg",height:26,width:26,blurWidth:0,blurHeight:0}},520084:()=>{},522714:(e,t,r)=>{"use strict";r.d(t,{P:()=>h,R:()=>f});var n=r(449204),i=r(407178),a=r(761711),o=r.n(a),s=r(516679);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var l=function(e){var t=("enter"===e.animationType?e.enterAnimation:e.leaveAnimation)||e.animation,r="rodal-dialog rodal-".concat(t,"-").concat(e.animationType),a=e.width,o=e.height,s=e.duration,l=e.customStyles,c=(0,n._)((0,n._)({},{width:a,height:o,animationDuration:s+"ms",WebkitAnimationDuration:s+"ms"}),l);return i.createElement("div",{style:c,className:r},e.children)},c=window.navigator.userAgent.toLowerCase(),u=c&&c.indexOf("msie 9.0")>0,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.el=null,t.scrollLockState=null,t.state={isShow:!1,animationType:"leave"}
15,t.onKeyUp=function(e){t.props.closeOnEsc&&27===e.keyCode&&t.props.onClose(e)},t.animationEnd=function(e){if(e.target===t.el){var r=t.state.animationType,n=t.props.onAnimationEnd;"leave"===r&&(t.unlockBodyScroll(),t.setState({isShow:!1})),n&&n()}},t}return(0,n.a)(t,e),t.prototype.componentDidMount=function(){this.props.visible&&this.enter()},t.prototype.componentDidUpdate=function(e){this.props.visible&&!e.visible&&this.enter(),!this.props.visible&&e.visible&&this.leave()},t.prototype.componentWillUnmount=function(){this.unlockBodyScroll()},t.prototype.lockBodyScroll=function(){var e;if(document.body&&!this.scrollLockState){var t=document.body;this.scrollLockState={bodyOverflow:null!==(e=t.style.overflow)&&void 0!==e?e:""},t.style.overflow="hidden"}},t.prototype.unlockBodyScroll=function(){document.body&&this.scrollLockState&&(document.body.style.overflow=this.scrollLockState.bodyOverflow,this.scrollLockState=null)},t.prototype.enter=function(){var e=this;this.lockBodyScroll(),this.setState({isShow:!0,animationType:"enter"},function(){var t;null===(t=e.el)||void 0===t||t.focus()})},t.prototype.leave=function(){u?(this.unlockBodyScroll(),this.setState({isShow:!1})):this.setState({animationType:"leave"})},t.prototype.render=function(){var e=this,t=this.props,r=t.closeMaskOnClick,a=t.onClose,c=t.customMaskStyles,u=t.showMask,d=t.duration,f=t.className,h=t.children,p=t.showCloseButton,E=t.popupClass,_=p?i.createElement(s.p,{"data-test-id":"rodal-close-icon",className:"rodal-close",size:16,onClick:a}):null,g=this.state,S=g.isShow,m=g.animationType,A=u?i.createElement("div",{className:"rodal-mask backgroundOverlaySecondary",style:c,onClick:r?a:void 0}):null;return i.createElement("div",{style:{display:S?"":"none",animationDuration:d+"ms",WebkitAnimationDuration:d+"ms"},className:o()("rodal","rodal-fade-".concat(m),f,"backgroundOverlaySecondary"),onAnimationEnd:this.animationEnd,tabIndex:-1,ref:function(t){e.el=t},onKeyUp:this.onKeyUp},A,i.createElement(l,(0,n._)({},this.props,{animationType:m}),i.createElement("div",{className:"child-wrapper backgroundPrimary ".concat(E)},h,_)))},t}(i.Component);d.defaultProps={width:400,height:240,visible:!1,showMask:!0,closeOnEsc:!1,closeMaskOnClick:!0,showCloseButton:!0,animation:"zoom",duration:300,className:"",customStyles:{},customMaskStyles:{},popupClass:"popup-border",enterAnimation:"",leaveAnimation:"",onAnimationEnd:function(){}};var f={display:"block",background:"var(--dangerouslySetPrimaryBg)",borderTopLeftRadius:"7px",borderTopRightRadius:"7px",marginBottom:"0px",width:"100%",height:"fit-content",padding:15},h=function(e){function t(t){var r=e.call(this,t)||this;return r.onClose=function(){r.props.onClose&&r.props.onClose()},t.onLoad&&t.onLoad(),r}return(0,n.a)(t,e),t.prototype.componentWillUnmount=function(){this.props.onUnLoad&&this.props.onUnLoad()},t.prototype.render=function(){var e=this.props,t=e.visible,r=e.width,n=e.height,a=e.customStyles,o=e.closeMaskOnClick,s=e.closeOnEsc,l=e.showCloseButton,c=e.children,u=e.popupClass,f=e.animation;return i.createElement(d,{visible:t,onClose:this.onClose,width:r,height:n,customStyles:a,closeMaskOnClick:o,closeOnEsc:s,showCloseButton:l,popupClass:u,animation:f},c)},t}(i.PureComponent);h.defaultProps={width:400,closeMaskOnClick:!0,closeOnEsc:!0,customStyles:{},animation:"zoom",showCloseButton:!0,popupClass:"popup-border",onLoad:function(){},onUnLoad:function(){},onClose:function(){}}},524498:(e,t,r)=>{"use strict";e.exports=l;var n,i=r(965537),a=i.LongBits,o=i.utf8;function s(e,t){return RangeError("index out of range: "+e.pos+" + "+(t||1)+" > "+e.len)}function l(e){this.buf=e,this.pos=0,this.len=e.length}var c="undefined"!=typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new l(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new l(e);throw Error("illegal buffer")},u=function(){return i.Buffer?function(e){return(l.create=function(e){return i.Buffer.isBuffer(e)?new n(e):c(e)})(e)}:c};function d(){var e=new a(0,0),t=0;if(this.len-this.pos>4){for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;t=0}else{for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}if(this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function f(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function h(){if(this.pos+8>this.len)throw s(this,8);return new a(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4))}l.create=u(),l.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,l.prototype.uint32=function(){var e=0xffffffff;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128||(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)||(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)||(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)||(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128))return e;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return e}}(),l.prototype.int32=function(){return 0|this.uint32()},l.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},l.prototype.bool=function(){return 0!==this.uint32()},l.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return f(this.buf,this.pos+=4)},l.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|f(this.buf,this.pos+=4)},l.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},l.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},l.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw s(this,e);if(this.pos+=e,Array.isArray(this.buf))return this.buf.slice(t,r);
15if(t===r){var n=i.Buffer;return n?n.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,t,r)},l.prototype.string=function(){var e=this.bytes();return o.read(e,0,e.length)},l.prototype.skip=function(e){if("number"==typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do if(this.pos>=this.len)throw s(this);while(128&this.buf[this.pos++]);return this},l.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},l._configure=function(e){n=e,l.create=u(),n._configure();var t=i.Long?"toLong":"toNumber";i.merge(l.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return h.call(this)[t](!0)},sfixed64:function(){return h.call(this)[t](!1)}})}},528321:(e,t,r)=>{"use strict";r.d(t,{Iw:()=>i,US:()=>n});let n=e=>(null==e?void 0:e.category)==="HNI",i=e=>(null==e?void 0:e.category)==="IND"},531269:(e,t,r)=>{"use strict";r.d(t,{qR:()=>h,fL:()=>d,E3:()=>p,Pe:()=>l,HJ:()=>E,zU:()=>_,mv:()=>m,E6:()=>S,TD:()=>g,cp:()=>T,JN:()=>O,m4:()=>c,ce:()=>A,X6:()=>s,uk:()=>f,SZ:()=>y,lz:()=>u,eq:()=>b,Q1:()=>v});var n=r(454532),i=r(583010),a=r(573958),o=function(e){return e.Stocks="stocks",e.Fno="fno",e.Mf="mf",e.Deposits="deposits",e.UsStocks="usStocks",e.Gold="gold",e}({});let s="sentinelScroll1205",l=0,c={[n.bw.STOCKS_SEARCH_ID]:"Stocks",[n.bw.MF_SEARCH_ID]:"Mutual Funds",[n.bw.FNO_SEARCH_ID]:"F&O",[n.bw.GOLD_SEARCH_ID]:"Gold",[n.bw.US_STOCKS_SEARCH_ID]:"US Stocks",[n.bw.FD]:"FD"},u=[n.bw.STOCKS_SEARCH_ID,n.bw.MF_SEARCH_ID,n.bw.FNO_SEARCH_ID,n.bw.GOLD_SEARCH_ID,n.bw.US_STOCKS_SEARCH_ID,n.bw.FD,n.bw.COMMODITIES],d={borderBottom:"1px solid var(--border-primary)"},f=[i.Z4F,a.hI],h={GOLD:"isGoldEnabled",FD:"isFdEnabled",US_STOCKS:"isUSSEnabled"},p=200,E=3,_=4,g=[{id:n.bw.STOCKS_SEARCH_ID,label:"Stocks",key:"stocks",accessControlKey:null},{id:n.bw.FNO_SEARCH_ID,label:"F&O",key:"fno",accessControlKey:null},{id:n.bw.MF_SEARCH_ID,label:"Mutual Funds",key:"mf",accessControlKey:null},{id:n.bw.US_STOCKS_SEARCH_ID,label:"Stocks",key:"usStocks",accessControlKey:h.US_STOCKS},{id:n.bw.GOLD_SEARCH_ID,label:"Gold",key:"gold",accessControlKey:h.GOLD},{id:n.bw.DEPOSITS_SEARCH_ID,label:"Fixed Deposits",key:"fd",accessControlKey:h.FD}],S={DEFAULT:"Explore Mutual Funds - Groww",MF:"Mutual Funds Online: Explore/Invest in Direct Mutual Funds on Groww",GOLD:"Digital Gold Online: Explore/Invest in E-Gold on Groww",STOCKS:"Invest in Stocks: Explore LIVE NSE/BSE on Groww",FNO:"Trade in Futures and Options (FNO): Explore LIVE NSE/BSE on Groww",US_STOCKS:"Explore/Invest in US Stocks on Groww",DEPOSITS:"Fixed Deposit Online: Explore/Invest in FD on Groww"},m={DEFAULT:"Explore from a vast choices of mutual funds on Groww and invest in handpicked collections of popular mutual funds based on the parameters like high return, low risk tax saving and much more.",GOLD:"Invest and sell in digital gold with Groww. Groww provides the extensive guide to E-Gold investments, best Digital Gold of 99.90% purity that you can purchase, sell, and accumulate anytime at the live market rate.",STOCKS:"Stock Market Live: Explore and invest in stocks, LIVE NSE/BSE with Groww. Check out the list of Top gainers, top losers most active and top stocks by market cap.",FNO:"Stock Market Live: Explore and trade in futures and options, LIVE NSE/BSE with Groww.",US_STOCKS:"US Stock Market Live: Explore and invest in US stocks with Groww. Check out the list of Top gainers, top losers most active and top stocks by market cap.",DEPOSITS:"Invest in Bank fixed deposits at Groww and grow your wealth. Visit now and explore FDs at affordable interest Rates."},A={[n.bw.STOCK]:o.Stocks,[n.bw.FNO]:o.Fno,[n.bw.MF]:o.Mf,[n.bw.US_STOCKS]:o.UsStocks,[n.bw.GOLD]:o.Gold,[n.bw.FD]:o.Deposits},v={[n.bw.MF_SEARCH_ID]:S.MF,[n.bw.GOLD_SEARCH_ID]:S.GOLD,[n.bw.STOCKS_SEARCH_ID]:S.STOCKS,[n.bw.FNO_SEARCH_ID]:S.FNO,[n.bw.US_STOCKS_SEARCH_ID]:S.US_STOCKS,[n.bw.DEPOSITS_SEARCH_ID]:S.DEPOSITS},b={[n.bw.MF_SEARCH_ID]:m.DEFAULT,[n.bw.GOLD_SEARCH_ID]:m.GOLD,[n.bw.STOCKS_SEARCH_ID]:m.STOCKS,[n.bw.FNO_SEARCH_ID]:m.FNO,[n.bw.US_STOCKS_SEARCH_ID]:m.US_STOCKS,[n.bw.DEPOSITS_SEARCH_ID]:m.DEPOSITS};n.bw.STOCK,n.bw.USER,n.bw.EXPLORE,n.bw.FNO,n.bw.USER,n.bw.EXPLORE,n.bw.MF,n.bw.USER,n.bw.EXPLORE,n.bw.US_STOCKS,n.bw.USER,n.bw.EXPLORE,n.bw.GOLD,n.bw.USER,n.bw.EXPLORE,n.bw.SLASH,n.bw.FD,n.bw.USER,n.bw.EXPLORE;let T={stocks:{explore:n.bw.STOCK+n.bw.USER+n.bw.EXPLORE,holdings:n.bw.STOCK+n.bw.USER+n.bw.ETF_HOLDINGS,positions:n.bw.STOCK+n.bw.USER+n.bw.POSITIONS,orders:n.bw.STOCK+n.bw.USER+n.bw.VIEW_ORDERS,watchlist:n.bw.STOCK+n.bw.USER+n.bw.WATCHLIST},fno:{explore:n.bw.FNO+n.bw.USER+n.bw.EXPLORE,positions:n.bw.FNO+n.bw.USER+n.bw.INVESTMENT,orders:n.bw.FNO+n.bw.USER+n.bw.VIEW_ORDERS},mf:{explore:n.bw.MF+n.bw.USER+n.bw.EXPLORE,dashboard:n.bw.MF+n.bw.USER+n.bw.DASHBOARD,sips:n.bw.MF+n.bw.USER+n.bw.STOCKS_SIP,watchlist:n.bw.MF+n.bw.USER+n.bw.WATCHLIST},usStocks:{explore:n.bw.STOCK+n.bw.USER+n.bw.EXPLORE,holdings:n.bw.STOCK+n.bw.USER+n.bw.ETF_HOLDINGS,positions:n.bw.STOCK+n.bw.USER+n.bw.POSITIONS,orders:n.bw.STOCK+n.bw.USER+n.bw.VIEW_ORDERS,watchlist:n.bw.STOCK+n.bw.USER+n.bw.WATCHLIST},fd:{explore:n.bw.FD+n.bw.USER+n.bw.EXPLORE,investments:n.bw.FD+n.bw.USER+n.bw.INVESTMENT},gold:{explore:n.bw.GOLD+n.bw.USER+n.bw.EXPLORE,investments:n.bw.GOLD+n.bw.USER+n.bw.INVESTMENT}},y={"/stocks":"stocks","/etfs":"stocks","/etf":"stocks","/bonds":"stocks","/etf-nfo":"stocks","/dashboard/stocks":"stocks","/market-news/stocks":"stocks","/markets":"stocks","/futures-and-options":"fno","/futures":"fno","/options":"fno","/indices":"fno","/commodities":"fno","/mutual-funds":"mf","/nfo":"mf","/track":"mf","/user/switch-funds":"mf","/stp":"mf","user/systematic-withdrawal":"mf","user/systematic-transfer":"mf","/calculators/sip-calculator":"mf","/mutual-funds/filter":"mf","/us-stocks":"usStocks","/us-etfs":"usStocks","/gold":"gold","/deposits":"fd"},O=Object.values(T).flatMap(e=>Object.values(e))},531614:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});let n={}},533427:(e,t,r)=>{"use strict";r.d(t,{GS:()=>o,HF:()=>f,W4:()=>u,my:()=>s,pO:()=>l,sp:()=>c});var n=r(730884),i=r(779126),a=r(198328);function o(e,t,r){if(!(t in e))return;let a=e[t];if("function"!=typeof a)return;
15let o=r(a);"function"==typeof o&&l(o,a);try{e[t]=o}catch{n.T&&i.Yz.log(`Failed to replace method "${t}" in object`,e)}}function s(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n.T&&i.Yz.log(`Failed to add non-enumerable property "${String(t)}" to object`,e)}}function l(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,s(e,"__sentry_original__",t)}catch{}}function c(e){return e.__sentry_original__}function u(e){if((0,a.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...d(e)};if((0,a.xH)(e)){let{type:t,target:r,currentTarget:n,detail:i}=e;return{type:t,target:r,currentTarget:n,...i?{detail:i}:{},...d(e)}}return e}function d(e){return(0,a.Z4)(e)?Object.fromEntries(Object.entries(e)):{}}function f(e){let t=Object.keys(u(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}},534776:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M5 16.75v-5q0-.424.287-.713A.97.97 0 0 1 6 10.75q.424 0 .713.287.287.288.287.713v5q0 .424-.287.712A.97.97 0 0 1 6 17.75a.97.97 0 0 1-.713-.288A.97.97 0 0 1 5 16.75m6 0v-5q0-.424.287-.713A.97.97 0 0 1 12 10.75q.424 0 .713.287.287.288.287.713v5q0 .424-.287.712a.97.97 0 0 1-.713.288.97.97 0 0 1-.713-.288.97.97 0 0 1-.287-.712m-8 5a.97.97 0 0 1-.712-.288A.97.97 0 0 1 2 20.75q0-.424.288-.712A.97.97 0 0 1 3 19.75h18q.424 0 .712.288.288.287.288.712 0 .424-.288.712a.97.97 0 0 1-.712.288zm14-5v-5q0-.424.288-.713A.97.97 0 0 1 18 10.75q.424 0 .712.287.288.288.288.713v5q0 .424-.288.712a.97.97 0 0 1-.712.288.97.97 0 0 1-.712-.288.97.97 0 0 1-.288-.712m4-8H2.9a.87.87 0 0 1-.637-.262A.87.87 0 0 1 2 7.85V7.3q0-.275.138-.475.137-.2.362-.325l8.6-4.3q.425-.2.9-.2t.9.2l8.55 4.275q.274.125.413.375.137.25.137.525v.375q0 .424-.288.713A.97.97 0 0 1 21 8.75m-14.55-2h11.1L12 4z"}))})},534800:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{fill:"currentColor",clipPath:"url(#clip0_1_554)"},n.createElement("path",{d:"M11.95 18q.525 0 .888-.363.362-.362.362-.887t-.362-.887a1.2 1.2 0 0 0-.888-.363q-.525 0-.887.363a1.2 1.2 0 0 0-.363.887q0 .525.363.887.362.363.887.363m.05 4a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20m.1-12.3q.626 0 1.088.4t.462 1q0 .55-.338.975-.337.425-.762.8-.574.5-1.013 1.1-.437.6-.437 1.35 0 .35.263.588.262.237.612.237a.9.9 0 0 0 .638-.25q.262-.25.337-.625.1-.525.45-.937t.75-.788q.575-.55.987-1.2a2.65 2.65 0 0 0 .413-1.45q0-1.275-1.038-2.088Q13.476 6 12.1 6q-.95 0-1.812.4a2.8 2.8 0 0 0-1.313 1.225.9.9 0 0 0-.112.637.74.74 0 0 0 .337.513q.35.2.725.125a1 1 0 0 0 .625-.425q.274-.375.688-.575.412-.2.862-.2"}),n.createElement("path",{d:"M11.95 18q.525 0 .888-.363.362-.362.362-.887t-.362-.887a1.2 1.2 0 0 0-.888-.363q-.525 0-.887.363a1.2 1.2 0 0 0-.363.887q0 .525.363.887.362.363.887.363m.05 4a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20m.1-12.3q.626 0 1.088.4t.462 1q0 .55-.338.975-.337.425-.762.8-.574.5-1.013 1.1-.437.6-.437 1.35 0 .35.263.588.262.237.612.237a.9.9 0 0 0 .638-.25q.262-.25.337-.625.1-.525.45-.937t.75-.788q.575-.55.987-1.2a2.65 2.65 0 0 0 .413-1.45q0-1.275-1.038-2.088Q13.476 6 12.1 6q-.95 0-1.812.4a2.8 2.8 0 0 0-1.313
151.225.9.9 0 0 0-.112.637.74.74 0 0 0 .337.513q.35.2.725.125a1 1 0 0 0 .625-.425q.274-.375.688-.575.412-.2.862-.2"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_554"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},535902:(e,t,r)=>{"use strict";r.d(t,{Lb:()=>d,ZO:()=>f,d_:()=>u,jF:()=>h,rh:()=>p});var n=r(533427),i=r(431205);let a="_sentryScope",o="_sentryIsolationScope",s=Symbol.for("sentry.otelSourceInference"),l=Symbol.for("sentry.otelSourceExplicitlySet"),c=Symbol.for("sentry.tracerProviderSpan");function u(e,t,r){e&&((0,n.my)(e,o,(0,i.Z)(r)),(0,n.my)(e,a,t))}function d(e){return{scope:e[a],isolationScope:(0,i.q)(e[o])}}function f(e){return!0===e[s]}function h(e){(0,n.my)(e,l,!0)}function p(e){return!0===e[c]}},536171:function(e,t,r){var n;n=r(170742),r(813474),n.pad.NoPadding={pad:function(){},unpad:function(){}},e.exports=n.pad.NoPadding},538187:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n=function(e){return e.GET_CART_ITEMS="GET_CART_ITEMS",e.ADD_CART_ITEM="ADD_CART_ITEM",e.REMOVE_CART_ITEM="REMOVE_CART_ITEM",e.CLEAR_CART="CLEAR_CART",e.UPDATE_CART_ITEM="UPDATE_CART_ITEM",e.REMOVE_LAST_ITEM="REMOVE_LAST_ITEM",e.ADD_CART_ITEM_IN_STATE="ADD_CART_ITEM_IN_STATE",e}({})},538500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=void 0,i=void 0,a=void 0,o=void 0,s=void 0,l=function l(){var c=+new Date-o;c<t&&c>=0?n=setTimeout(l,t-c):(n=null,r||(s=e.apply(a,i),n||(a=null,i=null)))};return function(){a=this,i=arguments,o=+new Date;var c=r&&!n;return n||(n=setTimeout(l,t)),c&&(s=e.apply(a,i),a=null,i=null),s}}},540336:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(697480)._(r(407178)).default.createContext(null)},544791:e=>{"use strict";e.exports=function(e,t,r,n,i,a,o,s){if(!e){var l;if(void 0===t)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,i,a,o,s],u=0;(l=Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},546442:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/e.17dc55e5.svg",height:135,width:135,blurWidth:0,blurHeight:0}},547176:(e,t,r)=>{"use strict";r.d(t,{gZ:()=>n.gZ});var n=r(54102)},553300:(e,t,r)=>{"use strict";r.d(t,{X2:()=>y});var n,i=r(985735);function a(e){return e||(e=0),new Promise(function(t){return setTimeout(t,e)})}function o(){return Math.random().toString(36).substring(2)}var s=0,l=0;function c(){var e=new Date().getTime();return e===s?1e3*e+ ++l:(s=e,l=0,1e3*e)}var u="[object process]"===Object.prototype.toString.call(void 0!==i?i:0);function d(){return new Date().getTime()}let f=function(e){var t=new Set,r=new Map;this.has=t.has.bind(t),this.add=function(n){r.set(n,d()),t.add(n),function(){for(var n=d()-e,i=t[Symbol.iterator]();;){var a=i.next().value;if(!a||!(r.get(a)<n))return;r.delete(a),t.delete(a)}}()},this.clear=function(){t.clear(),r.clear()}};function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var p="messages";function E(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function _(e){var t,r,n,i;return e.closed||!e.messagesCallback?Promise.resolve():(t=e.db,r=e.lastCursorId,n=t.transaction(p).objectStore(p),i=[],new Promise(function(e){(function(){try{var e=IDBKeyRange.bound(r+1,1/0);return n.openCursor(e)}catch(e){return n.openCursor()}})().onsuccess=function(t){var n=t.target.result;n?n.value.id<r+1?n.continue(r+1):(i.push(n.value),n.continue()):e(i)}})).then(function(t){return t.filter(function(e){return!!e}).map(function(t){return t.id>e.lastCursorId&&(e.lastCursorId=t.id),t}).filter(function(t){return!(t.uuid===e.uuid||e.eMIs.has(t.id))&&!(t.data.time<e.messagesCallbackTime)}).sort(function(e,t){return e.time-t.time}
15).forEach(function(t){e.messagesCallback&&(e.eMIs.add(t.id),e.messagesCallback(t.data))}),Promise.resolve()})}function g(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function S(e){return"pubkey.broadcastChannel-"+e}function m(){if(u)return!1;var e=g();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch(e){return!1}return!0}var A=new Set;let v={create:function(e){var t={name:e,messagesCallback:null};return A.add(t),t},close:function(e){A.delete(e)},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){return new Promise(function(r){return setTimeout(function(){Array.from(A).filter(function(t){return t.name===e.name}).filter(function(t){return t!==e}).filter(function(e){return!!e.messagesCallback}).forEach(function(e){return e.messagesCallback(t)}),r()},5)})},canBeUsed:function(){return!0},type:"simulate",averageResponseTime:function(){return 5},microSeconds:c};var b=[{create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),Promise.resolve()}catch(e){return Promise.reject(e)}},canBeUsed:function(){if(u&&"undefined"==typeof window||"function"!=typeof BroadcastChannel)return!1;if(BroadcastChannel._pubkey)throw Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0},type:"native",averageResponseTime:function(){return 150},microSeconds:c},{create:function(e,t){var r;return t=h(t),((r=E().open("pubkey.broadcast-channel-0-"+e,1)).onupgradeneeded=function(e){e.target.result.createObjectStore(p,{keyPath:"id",autoIncrement:!0})},new Promise(function(e,t){r.onerror=function(e){return t(e)},r.onsuccess=function(){e(r.result)}})).then(function(r){var n={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:o(),eMIs:new f(2*t.idb.ttl),writeBlockPromise:Promise.resolve(),messagesCallback:null,readQueuePromises:[],db:r};return r.onclose=function(){n.closed=!0,t.idb.onclose&&t.idb.onclose()},function e(t){t.closed||_(t).then(function(){return a(t.options.idb.fallbackInterval)}).then(function(){return e(t)})}(n),n})},close:function(e){e.closed=!0,e.db.close()},onMessage:function(e,t,r){e.messagesCallbackTime=r,e.messagesCallback=t,_(e)},postMessage:function(e,t){return e.writeBlockPromise=e.writeBlockPromise.then(function(){var r,n,i;return r=e.db,n={uuid:e.uuid,time:new Date().getTime(),data:t},i=r.transaction([p],"readwrite"),new Promise(function(e,t){i.oncomplete=function(){return e()},i.onerror=function(e){return t(e)},i.objectStore(p).add(n)})}).then(function(){var t,r,n,i,a;0===Math.floor(11*Math.random()+0)&&(t=e.db,r=e.options.idb.ttl,(n=new Date().getTime()-r,i=t.transaction(p).objectStore(p),a=[],new Promise(function(e){i.openCursor().onsuccess=function(t){var r=t.target.result;if(r){var i=r.value;if(i.time<n)a.push(i),r.continue();else{e(a);return}}else e(a)}})).then(function(e){return Promise.all(e.map(function(e){var r,n;return r=e.id,n=t.transaction([p],"readwrite").objectStore(p).delete(r),new Promise(function(e){n.onsuccess=function(){return e()}})}))}))}),e.writeBlockPromise},canBeUsed:function(){return!u&&!!E()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:c},{create:function(e,t){if(t=h(t),!m())throw Error("BroadcastChannel: localstorage cannot be used");var r,n,i,a=o(),s=new f(t.localstorage.removeTimeout),l={channelName:e,uuid:a,eMIs:s};return r=function(e){!(!l.messagesCallback||e.uuid===a||!e.token||s.has(e.token))&&(e.data.time&&e.data.time<l.messagesCallbackTime||(s.add(e.token),l.messagesCallback(e.data)))},n=S(e),i=function(e){e.key===n&&r(JSON.parse(e.newValue))},window.addEventListener("storage",i),l.listener=i,l},close:function(e){var t;t=e.listener,window.removeEventListener("storage",t)},onMessage:function(e,t,r){e.messagesCallbackTime=r,e.messagesCallback=t},postMessage:function(e,t){return new Promise(function(r){a().then(function(){var n=S(e.channelName),i=JSON.stringify({token:o(),time:new Date().getTime(),data:t,uuid:e.uuid});g().setItem(n,i);var a=document.createEvent("Event");a.initEvent("storage",!0,!0),a.key=n,a.newValue=i,window.dispatchEvent(a),r()})})},canBeUsed:m,type:"localstorage",averageResponseTime:function(){var e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?240:120},microSeconds:c}];if(u){var T=r(353925);"function"==typeof T.canBeUsed&&b.push(T)}var y=function(e,t){this.name=e,n&&(t=n),this.options=h(t),this.method=function(e){var t=[].concat(e.methods,b).filter(
15Boolean);if(e.type){if("simulate"===e.type)return v;var r=t.find(function(t){return t.type===e.type});if(r)return r;throw Error("method-type "+e.type+" not found")}e.webWorkerSupport||u||(t=t.filter(function(e){return"idb"!==e.type}));var n=t.find(function(e){return e.canBeUsed()});if(n)return n;throw Error("No useable methode found:"+JSON.stringify(b.map(function(e){return e.type})))}(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,function(e){var t=e.method.create(e.name,e.options);(t&&"function"==typeof t.then?0:1)?e._state=t:(e._prepP=t,t.then(function(t){e._state=t}))}(this)};function O(e,t,r){var n={time:e.method.microSeconds(),type:t,data:r};return(e._prepP?e._prepP:Promise.resolve()).then(function(){var t=e.method.postMessage(e._state,n);return e._uMP.add(t),t.catch().then(function(){return e._uMP.delete(t)}),t})}function w(e){return!!(e._addEL.message.length>0)||!!(e._addEL.internal.length>0)}function C(e,t,r){e._addEL[t].push(r),function(e){if(!e._iL&&w(e)){var t=function(t){e._addEL[t.type].forEach(function(e){t.time>=e.time&&e.fn(t.data)})},r=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,r)}):(e._iL=!0,e.method.onMessage(e._state,t,r))}}(e)}function I(e,t,r){e._addEL[t]=e._addEL[t].filter(function(e){return e!==r}),function(e){if(e._iL&&!w(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}y._pubkey=!0,y.prototype={postMessage:function(e){if(this.closed)throw Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed");return O(this,"message",e)},postInternal:function(e){return O(this,"internal",e)},set onmessage(fn){var R={time:this.method.microSeconds(),fn:fn};I(this,"message",this._onML),fn&&"function"==typeof fn?(this._onML=R,C(this,"message",R)):this._onML=null},addEventListener:function(e,t){C(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){var r=this._addEL[e].find(function(e){return e.fn===t});I(this,e,r)},close:function(){var e=this;if(!this.closed){this.closed=!0;var t=this._prepP?this._prepP:Promise.resolve();return this._onML=null,this._addEL.message=[],t.then(function(){return Promise.all(Array.from(e._uMP))}).then(function(){return Promise.all(e._befC.map(function(e){return e()}))}).then(function(){return e.method.close(e._state)})}},get type(){return this.method.type}}},555725:(e,t,r)=>{"use strict";r.d(t,{DT:()=>h,Wv:()=>f,xX:()=>p});var n=r(275063),i=r(3822),a=r(655969),o=r(767219),s=r(689940),l=r(666159),c=r(454532),u=r(366516);let d=(0,a.vt)((0,o.lt)(()=>({stories:[],hasUnviewedStories:!1,isLoading:!1,isError:!1}),{name:"storyStore"})),f=d,h={setStories(e){let t=e.some(e=>!e.isViewed);d.setState({stories:e,hasUnviewedStories:t,isLoading:!1,isError:!1})},markStoryAsViewed(e){d.setState(t=>{let r=t.stories.map(t=>t.storyId===e?{...t,isViewed:!0}:t),n=r.some(e=>!e.isViewed);return{...t,stories:r,hasUnviewedStories:n}})},setLoading(e){d.setState({isLoading:e})},setError(e){d.setState({isError:e,isLoading:!1})},resetStore(){d.setState({stories:[],hasUnviewedStories:!1,isLoading:!1,isError:!1})}},p=e=>{var t,r,a,o,d,h,p;let{showShouldStories:E}=e,_=f(e=>e.stories),g=f(e=>e.hasUnviewedStories),S=(0,u.useRouter)(),{hoistValue:m,isHoistLoading:A}=(0,s.Qt)({hoistKey:"stories_config_web",defaultValue:{isEnabled:!1,platformUrl:"https://groww.in/stories/explore",deviceType:"android",deviceVersion:"17.92"}}),v=(0,n.d4)((0,i.j8)({storyLogo:(0,l.Bu)("storyLogo"),logo:(0,l.Bu)("loggedInLogo")})),b=null!==(p=null==m?void 0:m.isEnabled)&&void 0!==p&&p,T=null==m?void 0:m.platformUrl,y=null==m?void 0:m.deviceType,O=null==m?void 0:m.deviceVersion,w=_.length>0,C=S.pathname===c.bw.STOCK+c.bw.USER+c.bw.EXPLORE,I=b&&w&&C&&E,R=I?{height:40,width:40}:{height:32,width:32},N=I?{isLogoFromRemote:!0,LOGO_URL_DARK_MODE:g?null===(t=v.storyLogo)||void 0===t?void 0:t.unviewedDark:null===(r=v.storyLogo)||void 0===r?void 0:r.allViewedDark,LOGO_URL_LIGHT_MODE:g?null===(a=v.storyLogo)||void 0===a?void 0:a.unviewedLight:null===(o=v.storyLogo)||void 0===o?void 0:o.allViewedLight}:{isLogoFromRemote:!0,LOGO_URL_DARK_MODE:null===(d=v.logo)||void 0===d?void 0:d.LOGO_URL_DARK_MODE,LOGO_URL_LIGHT_MODE:null===(h=v.logo)||void 0===h?void 0:h.LOGO_URL_LIGHT_MODE};return{shouldShowStories:I,isLoading:A,storyLogoObj:N,logoHeight:R.height,logoWidth:R.width,configEnabled:b,platformUrl:T,deviceType:y,deviceVersion:O}}},555846:(e,t,r)=>{"use strict";r.d(t,{KR:()=>s,hu:()=>o,lu:()=>a});var n=r(495907),i=r(640942),a=function(e){return e.PRODUCT_AND_TOOLS="PnT",e.MF_PRODUCT_AND_TOOLS="MfPnT",e.PROFILE="Profile",e.REPORTS="ReportSection",e}({});let o=[{Icon:n.A,title:"Auto-filled investment data",description:"No statements to download, no files to upload"},{Icon:i.A,title:"Exclusive discount for Groww users",description:"Discount applied automatically at checkout"}],s={isEnabled:!1,title:"Effortless tax filing with Cleartax",ctaText:"Continue with Cleartax",consentText:"By continuing, you agree to share your Groww data with Cleartax.",descBullet:[...o]}},564763:e=>{e.exports={container:"grobotLottie_container__ERbVe",staticLayer:"grobotLottie_staticLayer__ssJ5_",animatedLayer:"grobotLottie_animatedLayer__toyzU"}},565326:(e,t,r)=>{e.exports=r(431929)},569443:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",i="week",a="month",o="quarter",s="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
15|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h="en",p={};p[h]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")};var E=function(e){return e instanceof m},_=function(e,t,r){var n;if(!e)return h;if("string"==typeof e)p[e]&&(n=e),t&&(p[e]=t,n=e);else{var i=e.name;p[i]=e,n=i}return!r&&n&&(h=n),n||!r&&h},g=function(e,t){if(E(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new m(r)},S={s:f,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+f(Math.floor(r/60),2,"0")+":"+f(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,a),o=r-i<0,s=t.clone().add(n+(o?-1:1),a);return+(-(n+(r-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:a,y:s,w:i,d:"day",D:l,h:n,m:r,s:t,ms:e,Q:o})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};S.l=_,S.i=E,S.w=function(e,t){return g(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var m=function(){function f(e){this.$L=_(e.locale,null,!0),this.parse(e)}var h=f.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(u);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return S},h.isValid=function(){return this.$d.toString()!==c},h.isSame=function(e,t){var r=g(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return g(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<g(e)},h.$g=function(e,t,r){return S.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,o){var c=this,u=!!S.u(o)||o,d=S.p(e),f=function(e,t){var r=S.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?r:r.endOf("day")},h=function(e,t){return S.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},p=this.$W,E=this.$M,_=this.$D,g="set"+(this.$u?"UTC":"");switch(d){case s:return u?f(1,0):f(31,11);case a:return u?f(1,E):f(0,E+1);case i:var m=this.$locale().weekStart||0,A=(p<m?p+7:p)-m;return f(u?_-A:_+(6-A),E);case"day":case l:return h(g+"Hours",0);case n:return h(g+"Minutes",1);case r:return h(g+"Seconds",2);case t:return h(g+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(i,o){var c,u=S.p(i),d="set"+(this.$u?"UTC":""),f=((c={}).day=d+"Date",c[l]=d+"Date",c[a]=d+"Month",c[s]=d+"FullYear",c[n]=d+"Hours",c[r]=d+"Minutes",c[t]=d+"Seconds",c[e]=d+"Milliseconds",c)[u],h="day"===u?this.$D+(o-this.$W):o;if(u===a||u===s){var p=this.clone().set(l,1);p.$d[f](h),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[S.p(e)]()},h.add=function(e,o){var l,c=this;e=Number(e);var u=S.p(o),d=function(t){var r=g(c);return S.w(r.date(r.date()+Math.round(t*e)),c)};if(u===a)return this.set(a,this.$M+e);if(u===s)return this.set(s,this.$y+e);if("day"===u)return d(1);if(u===i)return d(7);var f=((l={})[r]=6e4,l[n]=36e5,l[t]=1e3,l)[u]||1,h=this.$d.getTime()+e*f;return S.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=S.z(this),a=this.$H,o=this.$m,s=this.$M,l=r.weekdays,u=r.months,f=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].substr(0,a)},h=function(e){return S.s(a%12||12,e,"0")}
15,p=r.meridiem||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n},E={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:S.s(s+1,2,"0"),MMM:f(r.monthsShort,s,u,3),MMMM:f(u,s),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:f(r.weekdaysMin,this.$W,l,2),ddd:f(r.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(a),HH:S.s(a,2,"0"),h:h(1),hh:h(2),a:p(a,o,!0),A:p(a,o,!1),m:String(o),mm:S.s(o,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:i};return n.replace(d,function(e,t){return t||E[e]||i.replace(":","")})},h.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},h.diff=function(e,l,c){var u,d=S.p(l),f=g(e),h=(f.utcOffset()-this.utcOffset())*6e4,p=this-f,E=S.m(this,f);return E=((u={})[s]=E/12,u[a]=E,u[o]=E/3,u[i]=(p-h)/6048e5,u.day=(p-h)/864e5,u[n]=p/36e5,u[r]=p/6e4,u[t]=p/1e3,u)[d]||p,c?E:S.a(E)},h.daysInMonth=function(){return this.endOf(a).$D},h.$locale=function(){return p[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=_(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return S.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f}(),A=m.prototype;return g.prototype=A,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",a],["$y",s],["$D",l]].forEach(function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),g.extend=function(e,t){return e.$i||(e(t,m,g),e.$i=!0),g},g.locale=_,g.isDayjs=E,g.unix=function(e){return g(1e3*e)},g.en=p[h],g.Ls=p,g.p={},g}()},570970:(e,t,r)=>{var n=r(283647),i=r(987928);i.v1=n,i.v4=i,e.exports=i},571335:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n=!1},571870:(e,t,r)=>{"use strict";r.d(t,{A:()=>eC});var n=r(986594),i=r(407178),a=r(761711),o=r.n(a),s=r(366516),l=r.n(s),c=r(689940),u=r(813247),d=r(144080),f=r(951402),h=r(288836),p=r(855046),E=r(126479),_=r(299168),g=r(302476),S=r.n(g);let m={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/profile.8692709f.png",height:64,width:64,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAALVBMVEXHy93FyNrIyt3Hy91MaXHIyt3HydvIy93DyNd////GydvHx9nFyNv////U2OqJrvJjAAAADnRSTlPyLf6yAMihvmICejfrAbn2AUwAAAAJcEhZcwAADdcAAA3XAUIom3gAAAA4SURBVHicBcGHAcAwDMMwyjOr/v/cAoTczBUIW8sQPrl3joNN1Rhgfo4bdMb3RTZ6dW89EWpoxQ8p6AFBQi8NhQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},A=i.memo(e=>{let{userData:t,imageSize:r,showNotifIcon:i,fetchMarginDetailsController:a}=e,s=(0,_.JZ)();return(0,f.a)(s)&&!(0,f.a)(t)&&(s=null==t?void 0:t.image_url),s||(s=(null==t?void 0:t.first_name)?(0,E.rC)(t.first_name):m),(0,n.jsxs)("div",{className:"valign-wrapper",onClick:a,children:[!i||(null==t?void 0:t.email_verified)?null:(0,n.jsx)("div",{className:S().warningSign445,children:(0,n.jsx)(h.A,{size:20,className:o()("contentSecondary",S().warningSign,S().profileIcon),style:{marginLeft:20,color:"var(--content-negative)"}})}),(0,n.jsx)(p.A,{useLazyLoad:!1,handleBrokenImage:m,addClass:"circle",height:r,width:r,src:s,alt:"Profile Avatar"})]})});var v=r(275063),b=r(132978),T=r(459213),y=r(892751),O=r(934666),w=r(82570),C=r(578124),I=r(185055);let R=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.7","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":29,"w":190,"h":190,"nm":"light to dark 3","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Layer 1/moon Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":2,"s":[0]},{"t":9,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":4,"s":[0]},{"t":19,"s":[360]}],"ix":10},"p":{"a":0,"k":[94.823,94.898,0],"ix":2},"a":{"a":0,"k":[69.74,69.85,0],"ix":1},"s":{"a":0,"k":[68,68,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-15.075,0],[-9.161,6.39],[-4.187,10.276],[2.639,-0.417],[2.639,0],[11.162,11.178],[0,15.893],[-0.417,2.639],[-0.695,2.778],[6.389,-9.157],[0,-11.511],[-10.657,-10.625]],"o":[[11.516,
150],[9.163,-6.389],[-2.777,0.694],[-2.639,0.416],[-15.871,0],[-11.161,-11.178],[0,-2.585],[0.417,-2.639],[-10.278,4.167],[-6.389,9.157],[0,15.175],[10.657,10.625]],"v":[[0.053,54.85],[31.069,45.265],[51.094,20.267],[42.969,21.934],[35.053,22.559],[-5.497,5.792],[-22.239,-34.814],[-21.614,-42.65],[-19.947,-50.775],[-44.947,-30.789],[-54.531,0.213],[-38.545,38.913]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[17.778,0],[13.611,13.611],[0,19.449],[-11.667,13.194],[-17.792,2.238],[-1.32,-0.833],[-0.705,-1.25],[-0.06,-1.666],[0.973,-1.528],[1.042,-3.68],[0,-3.75],[-8.125,-8.125],[-11.806,0],[-3.684,1.042],[-3.194,1.944],[-1.597,-0.139],[-1.185,-0.694],[-0.834,-1.32],[0.278,-1.667],[13.264,-11.597]],"o":[[-19.444,0],[-13.611,-13.611],[0,-17.774],[11.667,-13.194],[1.652,-0.262],[1.319,0.834],[0.704,1.25],[0.058,1.667],[-1.944,3.194],[-1.041,3.681],[0,11.806],[8.125,8.125],[3.744,0],[3.683,-1.042],[1.528,-0.972],[1.597,0.139],[1.315,0.694],[0.833,1.319],[-1.944,17.778],[-13.263,11.598]],"v":[[0.261,69.85],[-49.322,49.434],[-69.739,-0.156],[-52.239,-46.608],[-8.051,-69.756],[-3.593,-68.9],[-0.556,-65.775],[0.59,-61.4],[-0.781,-56.608],[-5.26,-46.296],[-6.822,-35.15],[5.365,-5.254],[35.261,6.934],[46.403,5.371],[56.719,0.892],[61.407,-0.358],[65.58,0.892],[68.803,3.913],[69.636,8.392],[46.823,52.454]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"mm","mm":4,"nm":"Merge Paths 2","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":1,"k":[{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":2,"s":[0.266666666667,0.278431372549,0.356862745098,1]},{"t":19,"s":[1,1,1,1]}],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[69.739,69.85],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":153,"st":140,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"circel/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":3,"s":[100]},{"t":16,"s":[0]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[94.802,94.802,0],"ix":2},"a":{"a":0,"k":[78.302,78.302,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,23.225],[23.225,0],[0,-23.225],[-23.225,0]],"o":[[0,-23.225],[-23.225,0],[0,23.225],[23.225,0]],"v":[[42.052,0],[0,-42.052],[-42.052,0],[0,42.052]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":13.5,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[78.302,78.302],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":21,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"8/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":16,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,96,0],"ix":2},"a":{"a":0,"k":[67.25,68.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-5.641,-5.61],[5.641,5.61]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[13.64,13.61],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"7/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":16.5498046875,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,95.021,0],"ix":2}
15,"a":{"a":0,"k":[91.5,8.021,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-7.956,0.021],[7.956,-0.021]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[15.955,8.021],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"6/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":17.291015625,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[67.25,-38.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[5.61,-5.641],[-5.61,5.641]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[13.61,13.64],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"5/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":18.033203125,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95.021,95,0],"ix":2},"a":{"a":0,"k":[8.021,-59,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.021,7.956],[-0.021,-7.956]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[8.021,15.955],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"4/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":18.7744140625,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[-39.25,-38.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-5.641,-5.61],[5.641,5.61]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false}
15,{"ty":"tr","p":{"a":0,"k":[13.641,13.61],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"3/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":19.5166015625,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[-59,8,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-7.956,0.021],[7.956,-0.021]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[15.955,8.021],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"2/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":20.2578125,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[-39.75,68,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[5.61,-5.641],[-5.61,5.641]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[13.61,13.641],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"1/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[100]},{"t":21,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":0,"s":[0]},{"t":20,"s":[90]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[8,91,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.021,7.956],[-0.021,-7.956]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.266666666667,0.278431372549,0.356862745098,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[8.021,15.955],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0}],"markers":[]}'),N=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.5.7","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":29,"w":190,"h":190,"nm":"dark to light 3","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":2,"ty":4,"nm":"Layer 1
15/moon Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[100]},{"t":18,"s":[0]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[0]},{"t":18,"s":[-360]}],"ix":10},"p":{"a":0,"k":[94.823,94.898,0],"ix":2},"a":{"a":0,"k":[69.74,69.85,0],"ix":1},"s":{"a":0,"k":[68,68,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-15.075,0],[-9.161,6.39],[-4.187,10.276],[2.639,-0.417],[2.639,0],[11.162,11.178],[0,15.893],[-0.417,2.639],[-0.695,2.778],[6.389,-9.157],[0,-11.511],[-10.657,-10.625]],"o":[[11.516,0],[9.163,-6.389],[-2.777,0.694],[-2.639,0.416],[-15.871,0],[-11.161,-11.178],[0,-2.585],[0.417,-2.639],[-10.278,4.167],[-6.389,9.157],[0,15.175],[10.657,10.625]],"v":[[0.053,54.85],[31.069,45.265],[51.094,20.267],[42.969,21.934],[35.053,22.559],[-5.497,5.792],[-22.239,-34.814],[-21.614,-42.65],[-19.947,-50.775],[-44.947,-30.789],[-54.531,0.213],[-38.545,38.913]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[17.778,0],[13.611,13.611],[0,19.449],[-11.667,13.194],[-17.792,2.238],[-1.32,-0.833],[-0.705,-1.25],[-0.06,-1.666],[0.973,-1.528],[1.042,-3.68],[0,-3.75],[-8.125,-8.125],[-11.806,0],[-3.684,1.042],[-3.194,1.944],[-1.597,-0.139],[-1.185,-0.694],[-0.834,-1.32],[0.278,-1.667],[13.264,-11.597]],"o":[[-19.444,0],[-13.611,-13.611],[0,-17.774],[11.667,-13.194],[1.652,-0.262],[1.319,0.834],[0.704,1.25],[0.058,1.667],[-1.944,3.194],[-1.041,3.681],[0,11.806],[8.125,8.125],[3.744,0],[3.683,-1.042],[1.528,-0.972],[1.597,0.139],[1.315,0.694],[0.833,1.319],[-1.944,17.778],[-13.263,11.598]],"v":[[0.261,69.85],[-49.322,49.434],[-69.739,-0.156],[-52.239,-46.608],[-8.051,-69.756],[-3.593,-68.9],[-0.556,-65.775],[0.59,-61.4],[-0.781,-56.608],[-5.26,-46.296],[-6.822,-35.15],[5.365,-5.254],[35.261,6.934],[46.403,5.371],[56.719,0.892],[61.407,-0.358],[65.58,0.892],[68.803,3.913],[69.636,8.392],[46.823,52.454]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"mm","mm":4,"nm":"Merge Paths 2","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[69.739,69.85],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":5,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":159,"st":-2,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"circel/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":3,"s":[0]},{"t":7,"s":[100]}],"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[94.802,94.802,0],"ix":2},"a":{"a":0,"k":[78.302,78.302,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,23.225],[23.225,0],[0,-23.225],[-23.225,0]],"o":[[0,-23.225],[-23.225,0],[0,23.225],[23.225,0]],"v":[[42.052,0],[0,-42.052],[-42.052,0],[0,42.052]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.349019616842,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":13.5,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[78.302,78.302],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":29,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"8/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.167],"y":[0.167]},"t":11.368,"s":[0]},{"t":18,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,96,0],"ix":2}
15,"a":{"a":0,"k":[67.25,68.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-5.641,-5.61],[5.641,5.61]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.345098048449,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[13.64,13.61],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"7/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":10.646,"s":[0]},{"t":17.142578125,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,95.021,0],"ix":2},"a":{"a":0,"k":[91.5,8.021,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-7.956,0.021],[7.956,-0.021]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.341176480055,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[15.955,8.021],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"6/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":9.925,"s":[0]},{"t":16.28515625,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[67.25,-38.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[5.61,-5.641],[-5.61,5.641]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.341176480055,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[13.61,13.64],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":7,"ty":4,"nm":"5/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":9.204,"s":[0]},{"t":15.427734375,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95.021,95,0],"ix":2},"a":{"a":0,"k":[8.021,-59,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.021,7.956],[-0.021,-7.956]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.337254911661,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[8.021,15.955],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"4/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":8.48,"s":[0]},{"t":14.572265625,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[-39.25,-38.5,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-5.641,-5.61],[5.641,5.61]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.337254911661,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false}
15,{"ty":"tr","p":{"a":0,"k":[13.641,13.61],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":4,"nm":"3/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":7.76,"s":[0]},{"t":13.71484375,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[-59,8,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-7.956,0.021],[7.956,-0.021]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.333333343267,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[15.955,8.021],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"2/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":7.037,"s":[0]},{"t":12.857421875,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[-39.75,68,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[5.61,-5.641],[-5.61,5.641]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.329411774874,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[13.61,13.641],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":4,"nm":"1/sun Outlines","sr":1,"ks":{"o":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[0]},{"t":12,"s":[100]}],"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":6,"s":[90]},{"t":18,"s":[0]}],"ix":10},"p":{"a":0,"k":[95,95,0],"ix":2},"a":{"a":0,"k":[8,91,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0.021,7.956],[-0.021,-7.956]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":1,"k":[{"i":{"x":[0.667],"y":[1]},"o":{"x":[0.333],"y":[0]},"t":1,"s":[1,1,1,1]},{"t":14,"s":[0.270588248968,0.278431385756,0.32549020648,1]}],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":16,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[8.021,15.955],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1529,"st":0,"bm":0}],"markers":[]}');r(990387);let D=e=>{let{width:t,height:r,loop:i,autoplay:a,isDarkTheme:o,onToggleTheme:s}=e;return(0,n.jsx)("button",{type:"button",className:"icon-button icon-button-small backgroundPrimary cur-po",onClick:s,children:(0,n.jsx)("div",{className:"theme-button-container",children:(0,n.jsx)(I.A,{animation:o?R:N,loop:i,width:t,height:r,auto
15play:a})})})};D.defaultProps={onToggleTheme:()=>{},width:24,height:24,loop:!1,autoPlay:!0,isDarkTheme:!1};let P=(0,i.memo)(D);var L=r(163702),k=r(744620),M=r(454532),F=r(866607),x=r(135956),U=r(984991);M.bw.STOCK,M.bw.USER,M.bw.INVESTMENT,M.bw.FNO,M.bw.USER,M.bw.INVESTMENT,M.bw.GOLD,M.bw.USER,M.bw.INVESTMENT,M.bw.MF,M.bw.USER,M.bw.DASHBOARD,M.bw.US_STOCKS,M.bw.USER,M.bw.INVESTMENT,M.bw.FD,M.bw.USER,M.bw.INVESTMENT,M.bw.STOCK,M.bw.USER,M.bw.EXPLORE,M.bw.FNO,M.bw.USER,M.bw.EXPLORE,M.bw.GOLD,M.bw.USER,M.bw.EXPLORE,M.bw.MF,M.bw.USER,M.bw.EXPLORE,M.bw.US_STOCKS,M.bw.USER,M.bw.EXPLORE,M.bw.FD,M.bw.USER,M.bw.EXPLORE;let B=M.bw.MF_SEARCH_ID,H=M.bw.STOCKS_SEARCH_ID,G=M.bw.US_STOCKS_SEARCH_ID,j=(e,t)=>V(e)?G:K(e)?H:Y(e)?M.bw.DEPOSITS_SEARCH_ID:W(e)?M.bw.GOLD_SEARCH_ID:["stocks","mutual-funds","gold","fno"].includes(t)?t:q(e)?B:e.includes(M.bw.OPTION)||e.includes(M.bw.FUTURE)?M.bw.FNO_SEARCH_ID:H,V=e=>e.includes(M.bw.US_STOCKS)||e.includes(M.bw.US_ETF)||e.includes(M.bw.USD_BALANCE),K=e=>e.includes(M.bw.STOCK)||e.includes(M.bw.ETF)||e.includes(M.bw.INDEX+M.bw.SLASH)||e.includes(M.bw.IPO)||e.includes(M.bw.SGB),W=e=>e.includes("gold"),Y=e=>e.includes("deposits"),q=e=>e.includes(M.bw.MF_SEARCH_ID)||e.includes(M.bw.SYSTEMATIC_WITHDRAW)||e.includes(M.bw.SYSTEMATIC_TRANSFER)||e.includes(M.bw.SWITCH)||e.includes(M.bw.SMARTSAVE)||e.includes(M.bw.CONFIRMATION)||e.includes(M.bw.SIP)||e.includes(M.bw.NFO)||e.includes(M.bw.TRACK);var z=r(971100),X=r(253857),$=r(47360),Q=r(976827),J=r(118850),Z=r(605404),ee=r(902823),et=r(534776),er=r(422346),en=i.memo(function(e){let t=(0,er.C)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("g",{clipPath:"url(#clip0_2392_48)"},i.createElement("path",{fill:"currentColor",d:"M12 21a.97.97 0 0 1-.713-.288A.97.97 0 0 1 11 20q0-.424.287-.712A.97.97 0 0 1 12 19h7v-7.1q0-2.925-2.038-4.962T12 4.9 7.038 6.937 5 11.9V17q0 .424-.287.712A.97.97 0 0 1 4 18q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 16v-2q0-.525.263-.988.262-.462.737-.737l.075-1.325a8.7 8.7 0 0 1 .987-3.15 9.5 9.5 0 0 1 1.975-2.525A8.8 8.8 0 0 1 8.763 3.6Q10.3 3 12 3t3.225.6 2.725 1.663a9 9 0 0 1 1.975 2.512q.775 1.45 1 3.15l.075 1.3q.475.225.738.675.262.45.262.95v2.3q0 .5-.262.95t-.738.675V19q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm-3-7a.97.97 0 0 1-.713-.287A.97.97 0 0 1 8 13q0-.424.287-.713A.97.97 0 0 1 9 12q.424 0 .713.287.287.288.287.713 0 .424-.287.713A.97.97 0 0 1 9 14m6 0a.97.97 0 0 1-.713-.287A.97.97 0 0 1 14 13q0-.424.287-.713A.97.97 0 0 1 15 12q.424 0 .713.287.287.288.287.713 0 .424-.287.713A.97.97 0 0 1 15 14m-8.975-1.55Q5.85 9.8 7.625 7.9 9.399 6 12.05 6q2.224 0 3.912 1.412Q17.65 8.826 18 11.026A7.9 7.9 0 0 1 13.813 9.8a7.97 7.97 0 0 1-2.938-3.25 8 8 0 0 1-1.687 3.563 8 8 0 0 1-3.163 2.337"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_2392_48"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),ei=r(495907),ea=i.memo(function(e){let t=(0,er.C)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("path",{fill:"currentColor",d:"M17 15q-1.05 0-1.775-.725T14.5 12.5t.725-1.775T17 10t1.775.725.725 1.775-.725 1.775T17 15m-5 4v-.4q0-.6.313-1.113a1.76 1.76 0 0 1 .887-.737q.9-.375 1.863-.562a10.1 10.1 0 0 1 3.874 0 9.6 9.6 0 0 1 1.863.562q.575.225.887.738Q22 18 22 18.6v.4q0 .424-.288.712A.97.97 0 0 1 21 20h-8a.97.97 0 0 1-.713-.288A.97.97 0 0 1 12 19m-2-7q-1.65 0-2.825-1.175T6 8t1.175-2.825T10 4t2.825 1.175T14 8t-1.175 2.825T10 12m-8 5.2q0-.85.425-1.562A2.8 2.8 0 0 1 3.6 14.55q1.5-.75 3.113-1.15Q8.324 13 10 13q.875 0 1.75.15t1.75.35l-1.7 1.7a5 5 0 0 0-.9-.162Q10.45 15 10 15q-1.45 0-2.838.35-1.387.35-2.662 1a.85.85 0 0 0-.375.35Q4 16.925 4 17.2v.8h6v.975q0 .325.125.587.125.263.35.438H4q-.824 0-1.412-.587A1.93 1.93 0 0 1 2 18zm8-7.2q.825 0 1.412-.588Q12 8.826 12 8q0-.824-.588-1.412A1.93 1.93 0 0 0 10 6q-.825 0-1.412.588A1.93 1.93 0 0 0 8 8q0 .825.588 1.412Q9.175 10 10 10"}))});let eo={BALANCE:"balance",USD_BALANCE:"usdBalance",ORDERS:"orders",BANK_DETAILS:"bankDetails",HELP_SUPPORT:"helpSupport",REPORTS:"reports",MANAGE_PROFILES:"manageProfiles"},es=[{key:eo.BALANCE,icon:J.A,label:"Balance",order:0},{key:eo.USD_BALANCE,icon:Z.A,label:"US Stocks balance",order:1,iconViewBox:"0 0 20 20"},{key:eo.ORDERS,icon:ee.A,label:"All Orders",order:2},{key:eo.BANK_DETAILS,icon:et.A,label:"Bank Details",order:3},{key:eo.HELP_SUPPORT,icon:en,label:"24 x 7 Customer Support",order:4},{key:eo.REPORTS,icon:ei.A,label:"Reports",order:5},{key:eo.MANAGE_PROFILES,icon:ea,label:"Manage Profiles",order:6}];var el=r(974188),ec=r(789991),eu=r(424766),ed=r(176366),ef=r(325988),eh=r(739672),ep=r(555846),eE=r(22209),e_=r(738558),eg=r.n(e_);let eS={[eo.BALANCE]:e=>{var t,r;let{inrBalance:i}=e;return(0,n.jsxs)("div",{className:"flex flex-column",children:[i&&(0,n.jsx)("span",{className:"bodyBaseHeavy",children:(0,ec.a)(null!==(t=Number(i))&&void 0!==t?t:0,{isCurrency:!0,withSign:(null!==(r=Number(i))&&void 0!==r?r:0)<0})}),!i&&(0,n.jsx)("div",{children:"--"}),(0,n.jsx)("span",{className:"bodySmall contentSecondary",children:"Stocks, F&O balance"})]})},[eo.USD_BALANCE]:e=>{var t,r;let{label:i}=e,{balance:a}=(0,eE.I)();return(0,n.jsxs)("div",{className:"flex flex-column",children:[Number.isFinite(a)?(0,n.jsx)("span",{className:"bodyBaseHeavy",children:(0,ec.a)(null!==(t=Number(a))&&void 0!==t?t:0,{withSign:(null!==(r=Number(a))&&void 0!==r?r:0)<0,...eu.k})}):(0,n.jsx)("div",{children:"--"}),(0,n.jsx)("span",{className:"bodySmall contentSecondary",children:i})]})},[eo.REPORTS]:e=>{var t;let{label:r,hideSettingsDropdown:i}
15=e,{hoistValue:a}=(0,c.Qt)({hoistKey:d.H.STOCKS_GROWW_CLEARTAX_CONFIG,defaultValue:ep.KR}),s=null!==(t=null==a?void 0:a.isEnabled)&&void 0!==t&&t;return(0,n.jsxs)("div",{className:o()("valign-wrapper",eg().reportsContent),children:[r,s&&(0,n.jsx)(C.B,{variant:"Secondary",isAccent:!0,size:"Small",buttonText:"File tax",onClick:e=>{e.stopPropagation(),i(),(0,eh.o)()}})]})}},em={[eo.USD_BALANCE]:e=>{let{hideSettingsDropdown:t}=e,{isUsStocksOnboardedUser:r,isUsStocksOnboardingPending:i,isUsStocksOnboardingEnabled:a,openOnboarding:o}=(0,Q.i)();return r||i?(0,n.jsx)(ed.A,{className:"contentTertiary",size:20}):(0,n.jsx)(C.B,{variant:"Secondary",isAccent:!0,size:"Small",buttonText:"Activate",onClick:e=>{if(e.stopPropagation(),!a){ef.t.warning({title:"US Stocks activation is paused",description:"We'll let you know when there's an update"}),t();return}t(),o()}})}},eA=e=>{var t;let{itemKey:r,inrBalance:i,hideSettingsDropdown:a}=e,s=es.find(e=>e.key===r),l=null==s?void 0:s.icon,c=null==s?void 0:s.iconViewBox,u=null!==(t=null==s?void 0:s.label)&&void 0!==t?t:"",d={inrBalance:i,label:u,hideSettingsDropdown:a},f=eS[r],h=em[r],p=f?(0,n.jsx)(f,{...d}):u,E=h?(0,n.jsx)(h,{...d}):(0,n.jsx)(ed.A,{className:"contentTertiary",size:20});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:o()(eg().profileDropdownListItemIcon,"valign-wrapper"),children:l&&(0,n.jsx)(l,{size:20,className:"contentSecondary",...c?{viewBox:c}:{}})}),(0,n.jsxs)("div",{className:o()(eg().profileDropdownListItemBody,"valign-wrapper"),children:[(0,n.jsx)("div",{className:o()(eg().profileDropdownListItemContent,"valign-wrapper contentPrimary bodyBaseHeavy"),children:p}),(0,n.jsx)("div",{className:o()(eg().profileDropdownListItemCta,"valign-wrapper"),children:E})]})]})};var ev=r(101808),eb=r.n(ev);let eT=e=>![k.iO.NOT_CREATED].includes(e),ey=i.memo(e=>{let[t,r]=(0,i.useState)(!1),{price:a,userData:u,hideSettingsDropdown:d}=e,h=(0,v.wA)(),p=(0,s.useRouter)(),{searchId:_}=(0,s.useRouter)().query,g=(0,f.a)(null==u?void 0:u.first_name)?"User":null==u?void 0:u.first_name,S=(0,v.d4)(e=>{let{core:t}=e;return t.headerState}),[m,A]=(0,i.useState)(S.isDarkModeEnabled),{signout:I}=(0,T.W)(),{isUsStocksOnboardedOrPending:R}=(0,Q.i)(),{hoistValue:N,isHoistLoading:D}=(0,c.Qt)([{hoistKey:U.H.US_STOCKS_V2_ENABLED,defaultValue:!1}]),B=!D&&N[U.H.US_STOCKS_V2_ENABLED];(0,i.useEffect)(()=>{A(S.isDarkModeEnabled)},[S.isDarkModeEnabled]);let H=(0,i.useMemo)(()=>es.filter(e=>{let{key:t}=e;return!!((t!==eo.USD_BALANCE||B)&&(t!==eo.BANK_DETAILS||eT((null==u?void 0:u.aof_status)||"")))&&(t!==eo.MANAGE_PROFILES||null!=S&&!!S.showManageProfileOption)}).sort((e,t)=>e.order-t.order),[null==u?void 0:u.onboarding_status,null==S?void 0:S.showManageProfileOption,B]),G=e=>{try{(0,X.W9)(e)}catch(e){console.error(e)}},V=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{(0,el.n)()?window.open(e,"_blank"):l().push(e)}catch(e){console.error("Couldn't redirect",e)}},K=async e=>{e.stopPropagation(),(0,b.s)(F.A.Profile,$.A.ProfileSignOutClick),await I(),window.location.assign(M.bw.HOME),(0,f.C)(k.yV.UPDATE_HEADER)},W=e=>{let t=j(p.pathname,_);switch(d(),e){case"usdBalance":if(!R)break;let r=M.bw.USER+M.bw.WALLET+M.bw.SLASH+M.bw.USD_BALANCE;(0,b.s)(F.A.Profile,$.A.WalletClick,{source:"Profile"}),V(r);break;case"balance":let n=M.bw.USER+M.bw.WALLET+M.bw.SLASH+M.bw.INR_BALANCE;(0,b.s)(F.A.Profile,$.A.WalletClick,{source:"Profile"}),V(n);break;case"orders":let i=M.bw.USER+M.bw.VIEW_ORDER+M.bw.SLASH+t;(0,b.s)(F.A.Profile,$.A.MyOrdersClick,{source:"Profile"}),V(i);break;
15case"bankDetails":(0,b.s)(F.A.Profile,$.A.ProfileBankAndAutopayClick),V(M.bw.USER+M.bw.BANK_AND_MANDATE);break;case"helpSupport":(0,b.s)(F.A.Profile,$.A.ProfileHelpClick),V(M.bw.HELP_AND_SUPPORT);break;case"reports":(0,b.s)(F.A.Profile,$.A.ReportSectionClick,{source:"Profile"}),V(M.bw.USER+M.bw.PROFILE+M.bw.TRACK_REPORT);break;case"manageProfiles":(0,b.s)(F.A.FamilyAccount,$.A.ProfilePicClick),(0,b.s)(F.A.FamilyAccount,$.A.ManageProfileClick),h((0,L.Vh)(!0));break;default:V(M.bw.DASH)}},Y=()=>{(0,x.g7)()};return(0,n.jsxs)("div",{className:o()("borderPrimary backgroundPrimary",eb().profileDropdown),children:[(0,n.jsxs)("div",{className:o()(eb().profileDropdownHeader,"valign-wrapper"),children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(y.A,{addAnchorClass:"contentPrimary bodyXLargeHeavy",onClick:e=>{e.stopPropagation(),d(),(0,b.s)(F.A.Profile,$.A.ProfileMyProfileClick,{click:"name"}),V(M.bw.USER+M.bw.PROFILE+M.bw.SLASH+"basic-details")},url:M.bw.USER+M.bw.PROFILE+M.bw.SLASH+"basic-details",target:(0,el.n)()?"_blank":void 0,children:g}),(0,n.jsxs)("div",{children:[(0,n.jsx)("span",{className:"truncate contentSecondary bodyBase",children:null==u?void 0:u.email_id}),(null==u?void 0:u.email_verified)?null:t?(0,n.jsx)("div",{className:"contentAccent bodySmallHeavy",children:"An email has been sent"}):(0,n.jsx)("div",{className:"contentNegative bodySmallHeavy cur-po",onClick:e=>{e.stopPropagation(),(0,b.s)(F.A.PostSignup,$.A.EmailVerifyClick),(0,X.qv)().then(e=>{("SUCCESS"===e.data.response||"success"===e.data.response)&&((0,b.s)(F.A.PostSignup,$.A.EmailApiSuccess),r(!0)),"VERIFIED"===e.data.response&&Y()}).catch(()=>{(0,b.s)(F.A.PostSignup,$.A.EmailApiFailed)})},children:"Verify ?"})]})]}),(0,n.jsx)("div",{className:"valign-wrapper",children:(0,n.jsx)("button",{type:"button",className:o()(eb().iconButton,eb().iconButtonSmall," borderPrimary contentSecondary cur-po"),onClick:e=>{e.stopPropagation(),d(),(0,b.s)(F.A.Profile,$.A.ProfileSettingsClick),V(M.bw.USER+M.bw.PROFILE+M.bw.SLASH+"basic-details")},children:(0,n.jsx)(w.A,{size:20})})})]}),(0,n.jsx)("div",{className:eb().profileDropDropdown,children:(0,n.jsx)("div",{className:o()("cur-po",eb().profileDropdownList),children:H.map(e=>{let{key:t}=e;return t!==eo.USD_BALANCE||R?(0,n.jsx)(O.A,{addParentClass:o()(eg().profileDropdownListItem,"valign-wrapper"),id:t,onClick:()=>W(t),delayOnClick:!0,duration:1e3,children:(0,n.jsx)(eA,{itemKey:t,inrBalance:a,hideSettingsDropdown:d})},t):(0,n.jsx)("div",{className:o()(eg().profileDropdownListItem,eg().nonInteractive,"valign-wrapper"),children:(0,n.jsx)(eA,{itemKey:t,inrBalance:a,hideSettingsDropdown:d})},t)})})}),(0,n.jsxs)("div",{className:o()(eb().profileDropdownFooter,"valign-wrapper backgroundSecondary"),children:[(0,n.jsx)(P,{onToggleTheme:()=>{let e=S.isDarkModeEnabled?k.zG.LIGHT:k.zG.DARK;A(!S.isDarkModeEnabled);let t=setTimeout(()=>{G(e),(0,E.cL)(e),z.v.postMessage("THEME_CHANGE"),clearTimeout(t)},350)},isDarkTheme:m,width:24,height:24}),(0,n.jsx)(C.B,{variant:"Tertiary",isAccent:!1,buttonText:"Log out",onClick:K})]})]})});var eO=r(653710),ew=r.n(eO);let eC=e=>{let{userData:t}=e,a=(0,i.useRef)(null),l=(0,i.useRef)(null),[f,h]=(0,i.useState)(null),{events:p}=(0,s.useRouter)(),{hoistValue:E}=(0,c.Qt)([{hoistKey:d.H.USE_P0_MARGIN_API_WEB,defaultValue:!1}]),_=!!E[d.H.USE_P0_MARGIN_API_WEB],g=()=>{var e;null===(e=a.current)||void 0===e||e.hide()};return(0,i.useEffect)(()=>{let e=e=>{l.current&&!l.current.contains(e.target)&&g()};return document.addEventListener("click",e,!0),p.on("routeChangeStart",g),()=>{document.removeEventListener("click",e,!0),p.off("routeChangeStart",g)}},[p]),(0,n.jsx)("div",{ref:l,children:(0,n.jsxs)(u.D,{ref:a,className:ew().loggedinNavProfile,children:[(0,n.jsx)(u.b,{children:(0,n.jsx)("div",{className:o()(ew().loggedinNavProfileBody,"valign-wrapper","cur-po"),children:(0,n.jsx)(A,{userData:t,imageSize:32,showNotifIcon:!0,fetchMarginDetailsController:()=>{if(_){r.e(55299).then(r.bind(r,755299)).then(e=>{let{fetchP0MarginDetails:t}=e;return t()}).then(e=>{var t;let r=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.derivativeFnoOptionBuyMarginBalance;h(null!=r?String(r/100):"")}).catch(()=>h(""));return}Promise.all([r.e(15716),r.e(81609)]).then(r.bind(r,681609)).then(e=>
15{let{fetchMarginDetailsV2:t}=e;return t()}).then(e=>{var t,r;h(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(t=r.TOTAL_BALANCE)||void 0===t?void 0:t.value)}).catch(e=>{console.error("Failed to fetch margin details:",e),h("")})}})})}),(0,n.jsx)(u.a,{children:(0,n.jsx)(ey,{price:f,userData:t,hideSettingsDropdown:g})})]})})}},573477:(e,t,r)=>{"use strict";function n(e,t){return t?(e-t)/t*100:0}r.d(t,{F:()=>n})},573958:(e,t,r)=>{"use strict";r.d(t,{hI:()=>i,n0:()=>o,nn:()=>a,qr:()=>s});var n=r(454532);(0,n.un)(n.bw.US_STOCKS+n.bw.ADD_MONEY),(0,n.un)(n.bw.US_STOCKS+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.COMPANY_FINANCIAL),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.US_STOCKS+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.DASH+n.bw.US_STOCKS+n.bw.HOLDINGS+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.US_STOCK+n.bw.USER+n.bw.SLASH+n.bw.SEARCH_ID);let i=(0,n.un)(n.bw.US_STOCK);(0,n.un)(n.bw.US_ETF),(0,n.un)(n.bw.US_STOCK+n.bw.FILTER),(0,n.un)(n.bw.US_STOCK+n.bw.SLASH+n.bw.ADD_MONEY_SEARCH_ID),(0,n.un)(n.bw.US_STOCK+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.US_ETF+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.US_STOCK+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.US_STOCKS);let a=(0,n.un)(n.bw.USER+n.bw.WALLET+n.bw.SLASH+n.bw.USD_BALANCE+n.bw.TRANSACTIONS),o=(0,n.un)(n.bw.USER+n.bw.WALLET+n.bw.SLASH+n.bw.USD_BALANCE+n.bw.TRANSACTION_DETAIL);(0,n.un)(n.bw.HELP_AND_SUPPORT+n.bw.US_STOCK);let s=(0,n.un)(n.bw.USER+n.bw.WALLET+n.bw.SLASH+n.bw.USD_BALANCE);(0,n.un)(n.bw.US_STOCK+n.bw.USER+n.bw.EXPLORE)},574830:(e,t,r)=>{"use strict";let n;r.d(t,{Bi:()=>l,KU:()=>h,m6:()=>d,o5:()=>c,rm:()=>u,v4:()=>f,vn:()=>p});
15var i=r(488948),a=r(269618),o=r(166794),s=r(950565);function l(){return void 0!==n}function c(){let e=(0,a.EU)();return(0,i.h)(e).getCurrentScope()}function u(){let e=(0,a.EU)();return(0,i.h)(e).getIsolationScope()}function d(){return(0,a.BY)("globalScope",()=>new o.H)}function f(...e){let t=(0,a.EU)(),r=(0,i.h)(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function h(){return c().getClient()}function p(e){let t=n?.();if(t)return{trace_id:t.traceId,span_id:t.spanId};let{traceId:r,parentSpanId:i,propagationSpanId:a}=e.getPropagationContext(),o={trace_id:r,span_id:a||(0,s.Z)()};return i&&(o.parent_span_id=i),o}},576132:function(e,t,r){var n,i,a,o,s,l,c,u,d,f,h,p,E,_,g;n=r(170742),r(886837),r(318019),r(684685),r(813474),i=n.lib.BlockCipher,a=n.algo,o=[],s=[],l=[],c=[],u=[],d=[],f=[],h=[],p=[],E=[],function(){for(var e=[],t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var r=0,n=0,t=0;t<256;t++){var i=n^n<<1^n<<2^n<<3^n<<4;i=i>>>8^255&i^99,o[r]=i,s[i]=r;var a=e[r],_=e[a],g=e[_],S=257*e[i]^0x1010100*i;l[r]=S<<24|S>>>8,c[r]=S<<16|S>>>16,u[r]=S<<8|S>>>24,d[r]=S;var S=0x1010101*g^65537*_^257*a^0x1010100*r;f[i]=S<<24|S>>>8,h[i]=S<<16|S>>>16,p[i]=S<<8|S>>>24,E[i]=S,r?(r=a^e[e[e[g^a]]],n^=e[e[n]]):r=n=1}}(),_=[0,1,2,4,8,16,32,64,128,27,54],g=a.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e,t=this._keyPriorReset=this._key,r=t.words,n=t.sigBytes/4,i=((this._nRounds=n+6)+1)*4,a=this._keySchedule=[],s=0;s<i;s++)s<n?a[s]=r[s]:(e=a[s-1],s%n?n>6&&s%n==4&&(e=o[e>>>24]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e]):e=(o[(e=e<<8|e>>>24)>>>24]<<24|o[e>>>16&255]<<16|o[e>>>8&255]<<8|o[255&e])^_[s/n|0]<<24,a[s]=a[s-n]^e);for(var l=this._invKeySchedule=[],c=0;c<i;c++){var s=i-c;if(c%4)var e=a[s];else var e=a[s-4];c<4||s<=4?l[c]=e:l[c]=f[o[e>>>24]]^h[o[e>>>16&255]]^p[o[e>>>8&255]]^E[o[255&e]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,l,c,u,d,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,f,h,p,E,s);var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,a,o,s){for(var l=this._nRounds,c=e[t]^r[0],u=e[t+1]^r[1],d=e[t+2]^r[2],f=e[t+3]^r[3],h=4,p=1;p<l;p++){var E=n[c>>>24]^i[u>>>16&255]^a[d>>>8&255]^o[255&f]^r[h++],_=n[u>>>24]^i[d>>>16&255]^a[f>>>8&255]^o[255&c]^r[h++],g=n[d>>>24]^i[f>>>16&255]^a[c>>>8&255]^o[255&u]^r[h++],S=n[f>>>24]^i[c>>>16&255]^a[u>>>8&255]^o[255&d]^r[h++];c=E,u=_,d=g,f=S}var E=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&f])^r[h++],_=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[f>>>8&255]<<8|s[255&c])^r[h++],g=(s[d>>>24]<<24|s[f>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^r[h++],S=(s[f>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^r[h++];e[t]=E,e[t+1]=_,e[t+2]=g,e[t+3]=S},keySize:8}),n.AES=i._createHelper(g),e.exports=n.AES},577268:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});var n=function(e){return e.GET_MF_WATCHLIST_HASH_MAP="mf/GET_MF_WATCHLIST_HASH_MAP",e.ADD_SCHEME_TO_WATCHLIST="mf/ADD_SCHEME_TO_WATCHLIST",e.REMOVE_SCHEME_FROM_WATCHLIST="mf/REMOVE_SCHEME_FROM_WATCHLIST",e.GET_WATCHLIST_DATA="mf/GET_WATCHLIST_DATA",e.SET_MF_WATCHLIST_CLICK="mf/SET_MF_WATCHLIST_CLICK",e.SORT_WATCHLIST_SCHEMES="mf/SORT_WATCHLIST_SCHEMES",e.DELETE_SCHEME_FROM_WATCHLIST="mf/DELETE_SCHEME_FROM_WATCHLIST",e.WATCHLIST_RIGHT_SIDE_ACTION="mf/WATCHLIST_RIGHT_SIDE_ACTION",e}({})},578124:(e,t,r)=>{"use strict";r.d(t,{B:()=>h,V:()=>u,a:()=>d});var n=r(449204),i=r(407178),a=r(761711),o=r.n(a),s=r(70515),l=r(35271),c=r(203511);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var u={PRIMARY:"Primary",SECONDARY:"Secondary",TERTIARY:"Tertiary",POSITIVE:"Positive",NEGATIVE:"Negative",GRADIENT:"Gradient"},d={SMALL:"Small",BASE:"Base",LARGE:"Large"},f="button",h=function(e){var t,r=e.size,a=e.buttonText,h=e.variant,p=e.isAccent,E=e.isCompact,_=e.isDisabled,g=e.leadingIcon,S=e.trailingIcon,m=e.isLoading,A=e.isFullWidth,v=e.dataTestId,b=e.isFixToBottom,T=e.role,y=e.href,O=e.type,w=e.rel,C=e.target,I=e.gradientClass,R=e.onClick,N=o()("mint-btn-primary",{contentOnColour:!m&&!_,backgroundAccent:!_||m&&_}),D=o()("mint-btn-secondary",{"mint-btn-secondary-default":!p,"mint-btn-secondary-accent backgroundAccentSubtle":p&&!_||p&&_&&m,"mint-btn-secondary-default-border":!p&&!_}),P=o()("mint-btn-tertiary",{"mint-btn-tertiary-accent":p&&!_&&!m,"mint-btn-tertiary-default":!p&&!_,"mint-btn-tertiary-disabled":_&&!m}),L=o()("mint-btn-primary",{backgroundPositive:!_||m&&_,contentOnColour:!m&&!_}),k=o()("mint-btn-negative",{backgroundNegative:!_||m&&_,contentOnColour:!m&&!_}),M=o()({bodySmallHeavy:r===d.SMALL,bodyBaseHeavy:r===d.BASE,bodyLargeHeavy:r===d.LARGE,contentDisabled:_,contentPrimary:!p&&!_&&!m,contentAccent:p&&!_&&!m}),F=o()("mint-btn-default absolute-center backgroundTransparent pos-rel",M,{"cur-po":!m&&!_,"mint-btn-cursor-default":m,"mint-btn-small":r===d.SMALL,"mint-btn-medium":r===d.BASE,"mint-btn-large":r===d.LARGE,"mint-btn-full-width":A,"mint-btn-loader":m,"mint-btn-compact":h===u.TERTIARY&&E,"mint-btn-disabled backgroundDisabled":_&&!m}),x=o()("mint-btn-loader-item",{"mint-btn-loader-item-border-white":h===u.PRIMARY||h===u.POSITIVE||h===u.NEGATIVE,"mint-btn-loader-item-border-gray":(h===u.SECONDARY||h===u.TERTIARY)&&!p}),U=o()({"mint-btn-fixed-bottom":b,borderPrimary:b,backgroundPrimary:b}),B=o()({"mint-btn-tertiary-label-border":h===u.TERTIARY&&!p,borderNeutral:h===u.TERTIARY&&!_&&!m&&!p,borderDisabled:h===u.TERTIARY&&_&&!m&&!p}),H=o()(((t={contentOnColour:!m&&!_})[I]=!_||m&&_,t.borderPrimary=_&&!m&&!p,t)),G=function(){switch(h){case u.PRIMARY:return o()(F,N);case u.SECONDARY:return o()(F,D);case u.TERTIARY:return o()(F,P);case u.POSITIVE:return o()(F,L);case u.NEGATIVE:return o()(F,k);case u.GRADIENT:return o()(F,H);default:return o()(F,N)}},j=function(e){var t={fill:"currentColor",size:r===d.SMALL?16:r===d.BASE?20:r===d.LARGE?24:void 0};return e===s.I.LEADING?(null==g?void 0:g(t))||null:e===s.I.TRAILING?(null==S?void 0:S(t))||null:void 0},V=function(e){_||m?e.stopPropagation():null==R||R(e)},K=function(e,t){return i.createElement(e,(0,n._)({className:G(),"data-test-id":(null==v?void 0:v.length)?v:null,onClick:V,tabIndex:0},t),W())},W=function(){return i.createElement(i.Fragment,null,m&&i.createElement("div",{className:"absolute-center mint-btn-loader-wrapper"},i.createElement(c.L,{loaderType:c.a.CIRCULAR,loaderClassName:x})),i.createElement(i.Fragment,null,g&&j(s.I.LEADING),i.createElement("span",{className:o()("truncate",B)},a),S&&j(s.I.TRAILING)))},Y=function(){return"link"!==T||(0,l.i)(y)||"#"===y||"javascript:void(0)"===y?K("button",{type:null!=O?O:f,disabled:_}):K("a",(0,n._)((0,n._)((0,n._)({role:f},!_&&!m&&{href:y}),w&&{rel:w}),C&&{target:C}))};return b?i.createElement("div",{className:U},Y()):Y()};h.defaultProps={size:d.BASE,variant:u.PRIMARY,role:f,isLoading:!1,isAccent:!1,isCompact:!1,isFixToBottom:!1,isFullWidth:!1,isDisabled:!1,leadingIcon:null,trailingIcon:null,dataTestId:"",gradientClass:""}},578204:e=>{e.exports={popupOverride:"desktop_popupOverride__6iluj",modalContent:"desktop_modalContent__jnfqE",content:"desktop_content__J6KgB",header:"desktop_header__p8H3q",headline:"desktop_headline__lDq0S",benefitsList:"desktop_benefitsList__whalF",footer
15:"desktop_footer__tOzG5"}},583010:(e,t,r)=>{"use strict";r.d(t,{$Ok:()=>eT,$SW:()=>eJ,$b8:()=>eS,ALh:()=>c,ANd:()=>T,AuT:()=>eI,BgA:()=>th,C5Y:()=>tt,CY2:()=>O,Cr6:()=>tc,DAC:()=>tg,DYm:()=>F,EIc:()=>e4,ETA:()=>eE,EpM:()=>eN,F7e:()=>H,FLx:()=>i,G2t:()=>ts,H2p:()=>Q,HNm:()=>x,Id7:()=>e1,KEU:()=>eu,L6y:()=>eB,LX5:()=>R,M0g:()=>tb,M6s:()=>tn,M8c:()=>ec,MNK:()=>b,NQb:()=>u,NUS:()=>o,Ni0:()=>ew,NxC:()=>ef,OKz:()=>to,P8A:()=>Z,PUu:()=>C,PXJ:()=>el,QYi:()=>e9,RR9:()=>z,RYG:()=>l,RYJ:()=>tm,S2K:()=>eA,SEu:()=>d,T6T:()=>s,T7r:()=>eF,Tfy:()=>eg,Tp3:()=>D,U2s:()=>I,U6E:()=>ex,USz:()=>h,VLw:()=>ep,VQd:()=>eH,WKN:()=>P,W_1:()=>ed,W_w:()=>f,Yfx:()=>td,Ygk:()=>J,Z4F:()=>j,ZA2:()=>eV,Zzg:()=>Y,Zzv:()=>ta,_Zm:()=>eK,as2:()=>e$,b7P:()=>p,bPQ:()=>G,bZp:()=>eW,bjh:()=>tf,bzt:()=>ti,cGV:()=>U,d$4:()=>e0,dDx:()=>te,dRC:()=>eP,did:()=>e3,eI2:()=>eh,eNm:()=>B,eZ$:()=>tv,epb:()=>A,ewE:()=>X,fCv:()=>ei,fWS:()=>E,fxv:()=>eC,g2q:()=>eb,gBp:()=>eZ,h3B:()=>N,hDP:()=>eM,hoo:()=>e6,iHS:()=>W,iSm:()=>tr,iWK:()=>k,iy6:()=>ee,j9c:()=>eQ,jBx:()=>eG,kGH:()=>em,kIx:()=>tA,koe:()=>m,lFp:()=>V,lmy:()=>ek,m72:()=>tS,mP9:()=>eq,mWk:()=>g,mWm:()=>eR,mbv:()=>en,mjb:()=>tl,mlr:()=>tu,ngF:()=>v,ngW:()=>ey,o5c:()=>es,odw:()=>tE,ofi:()=>t_,ppZ:()=>_,q$x:()=>L,rXw:()=>eD,rZh:()=>er,sEv:()=>eO,smQ:()=>eo,srS:()=>ez,ssD:()=>tp,tie:()=>M,u8N:()=>et,unF:()=>S,vTn:()=>K,v_X:()=>w,x2q:()=>e5,xJ$:()=>a,xY6:()=>$,xaO:()=>ev,xc_:()=>eL,xf4:()=>eY,xvU:()=>ej,y0J:()=>e8,ycH:()=>eU,ycj:()=>e_,z$E:()=>y,z70:()=>e2,z9X:()=>ea,zGf:()=>eX,zI9:()=>q,zRU:()=>e7});var n=r(454532);let i=(0,n.un)(n.bw.IPO),a=(0,n.un)(n.bw.IPO+n.bw.IPO_OPEN),o=(0,n.un)(n.bw.IPO+n.bw.IPO_UPCOMING),s=(0,n.un)(n.bw.IPO+n.bw.IPO_CLOSED),l=(0,n.un)(n.bw.IPO+n.bw.IPO_ALLOTMENT),c=(0,n.un)(n.bw.IPO+n.bw.IPO_SUBSCRIPTION),u=(0,n.un)(n.bw.IPO+n.bw.IPO_GMP),d=(0,n.un)(n.bw.IPO+n.bw.IPO_SME),f=(0,n.un)(n.bw.IPO+n.bw.IPO_MAINBOARD),h=(0,n.un)(n.bw.IPO+n.bw.IPO_APPLIED),p=(0,n.un)(n.bw.BONDS_IPO+n.bw.PAST),E=(0,n.un)(n.bw.IPO+n.bw.IPO_NAME_ID+n.bw.IPO_STATUS+n.bw.IPO_ORDER_ID),_=(0,n.un)(n.bw.BONDS_IPO),g=(0,n.un)(n.bw.BONDS),S=(0,n.un)(n.bw.BONDS_IPO+n.bw.BONDS_SEARCH_ID),m=(0,n.un)(n.bw.CORPORATE_BONDS),A=(0,n.un)(n.bw.CORPORATE_BONDS+n.bw.BONDS_SEARCH_ID),v=(0,n.un)(n.bw.BONDS_IPO+n.bw.BONDS_SEARCH_ID+n.bw.STATUS+n.bw.BONDS_ORDER_ID),b=(0,n.un)(n.bw.CORPORATE_BONDS+n.bw.BONDS_SEARCH_ID+n.bw.STATUS+n.bw.BONDS_ORDER_ID),T=(0,n.un)(n.bw.BONDS_IPO+n.bw.BONDS_APPLIED),y=(0,n.un)(n.bw.BONDS_IPO+n.bw.IPO_CLOSED),O=(0,n.un)(n.bw.DASH+n.bw.BONDS+n.bw.HOLDINGS+n.bw.ISIN_ID),w=(0,n.un)(n.bw.DASH+n.bw.BONDS+n.bw.HOLDINGS+n.bw.ISIN_ID+n.bw.ADD_TRANSACTION),C=(0,n.un)(n.bw.DASH+n.bw.BONDS+n.bw.PAYOUT_SCHEDULE+n.bw.ISIN_ID),I=(0,n.un)(n.bw.DASH+n.bw.BONDS+n.bw.PAYOUT_SCHEDULE),R=(0,n.un)(n.bw.STOCK),N=(0,n.un)(n.bw.ADVANCE_CHARTS),D=(0,n.un)(n.bw.ADVANCE_CHARTS+n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID),P=(0,n.un)(n.bw.ADVANCE_CHARTS+n.bw.INDEX+n.bw.SLASH+n.bw.SEARCH_ID),L=(0,n.un)(n.bw.ADVANCE_CHARTS+n.bw.FUTURE+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.CONTRACT_ID),k=(0,n.un)(n.bw.ADVANCE_CHARTS+n.bw.OPTION+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.CONTRACT_ID),M=(0,n.un)(n.bw.ADVANCE_CHARTS+n.bw.FNO_TYPE+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.CONTRACT_ID),F=(0,n.un)(n.bw.DEMAT_LANDING),x=(0,n.un)(n.bw.STOCK+n.bw.FILTER);(0,n.un)(n.bw.STOCK+n.bw.SECTORS),(0,n.un)(n.bw.STOCK+n.bw.SECTORS+n.bw.SLASH+n.bw.OPTIONAL_SEARCH_ID);let U=(0,n.un)(n.bw.HOLDINGS+n.bw.PLEDGE);(0,n.un)(n.bw.HOLDINGS+n.bw.PLEDGE_STATUS);let B=(0,n.un)(n.bw.BUY_BACK),H=(0,n.un)(n.bw.BUY_BACK+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.BUY_BACK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.VIEW_ORDER),(0,n.un)(n.bw.BUY_BACK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.STATUS),(0,n.un)(n.bw.STOCK+n.bw.CORPORATE_ACTIONS);let G=(0,n.un)(n.bw.ETF),j=(0,n.un)(n.bw.ETF+n.bw.USER+n.bw.EXPLORE),V=(0,n.un)(n.bw.STOCK+n.bw.INTRADAY),K=(0,n.un)(n.bw.STOCK+n.bw.SCREENS+n.bw.RSI_GREATER_THAN_70),W=(0,n.un)(n.bw.STOCK+n.bw.SCREENS+n.bw.RSI_LESS_THAN_30),Y=(0,n.un)(n.bw.STOCK+n.bw.SCREENS+n.bw.MACD_BULLISH),q=(0,n.un)(n.bw.STOCK+n.bw.SCREENS+n.bw.NEAR_BREAKOUT_R1),z=(0,n.un)(n.bw.STOCK+n.bw.SECTORS_TRENDING),X=(0,n.un)(n.bw.STOCK+n.bw.SECTORS_TRENDING+n.bw.SECTOR_NAME),$=(0,n.un)(n.bw.STOCK+n.bw.POSITIONS+n.bw.INTRADAY+n.bw.SLASH+n.bw.SEARCH_ID),Q=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.POSITIONS),J=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.FNO),Z=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.CORPORATE_ACTIONS),ee=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.MARKET_NEWS),et=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.STOCKS_TECHNICALS);(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.TOP_GAINERS),(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.TOP_LOSERS),(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.FIFTY_TWO_WEEK_HIGH),(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.FIFTY_TWO_WEEK_LOW),(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.TOP_VOLUME),(0,n.un)(n.bw.MARKETS),(0,n.un)(n.bw.IPO);let er=(0,n.un)(n.bw.MARKETS+n.bw.SLASH+n.bw.TOP_GAINERS),en=(0,n.un)(n.bw.MARKETS+n.bw.SLASH+n.bw.TOP_LOSERS),ei=(0,n.un)(n.bw.MARKETS+n.bw.SLASH+n.bw.FIFTY_TWO_WEEK_HIGH),ea=(0,n.un)(n.bw.MARKETS+n.bw.SLASH+n.bw.FIFTY_TWO_WEEK_LOW),eo=(0,n.un)(n.bw.MARKETS+n.bw.SLASH+n.bw.TOP_VOLUME),es=(0,n.un)(n.bw.MARKETS),el=(0,n.un)(n.bw.MARKETS+n.bw.SLASH+n.bw.VOLUME_SHOCKERS);(0,n.un)(n.bw.STOCK+n.bw.LIVE_PRICE_DASHBOARD);let ec=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID),eu=(0,n.un)(n.bw.ETF+n.bw.SLASH+n.bw.SEARCH_ID),ed=(0,n.un)(n.bw.ETF+n.bw.SEARCH_ID);(0,n.un)(n.bw.CDSL_AUTH_STATUS),(0,n.un)(n.bw.WEB_REDIRECT+n.bw.CDSL_AUTH_STATUS),(0,n.un)(n.bw.CDSL_AUTH);let ef=(0,n.un)(n.bw.POST_TRADE_CDSL_AUTH),eh=(0,n.un)(n.bw.CDSL_CANCELLATION_AUTH);(0,n.un)(n.bw.ONIX+n.bw.CDSL_AUTH);let ep=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.INVESTMENT),eE=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.HOLDINGS),e_=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.VIEW_ORDERS);(0,n.un)(n.bw.PHYSICAL_SETTLEMENT);let eg=(0,n.un)(n.bw.CDSL_AUTH+n.bw.STATUS),eS=(0,n.un)(n.bw.DASH+n.bw.STOCK+n.bw.HOLDINGS+n.bw.SLASH+n.bw.SEARCH_ID),em=(0,n.un)(n.bw.DASH+n.bw.STOCK+n.bw.HOLDINGS),eA=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID),ev=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.STOCKS_SEARCH_ID),eb=(0,n.un)(n.bw.DASH+n.bw.STOCK+n.bw.MTF+n.bw.POSITIONS+n.bw.SLASH+n.bw.SEARCH_ID),eT=(0,n.un)(n.bw.HELP_AND_SUPPORT+n.bw.STOCK+n.bw.MTF+n.bw.SLASH+n.bw.MTF_SHORTFALL_HNS_SEARCH_ID),ey=(0,n.un)(n.bw.INDEX+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.CALCULATOR+n.bw.MARGIN_CALCULATOR);let eO=(0,n.un)(n.bw.IPO+n.bw.SLASH+n.bw.SEARCH_ID),ew=(0,n.un)(n.bw.MARKET_NEWS+n.bw.STOCK),eC=(0,n.un)(n.bw.SGB+n.bw.SGB_ALL_APPLICATIONS);(0,n.un)(n.bw.HOLDINGS+n.bw.PLEDGE+n.bw.PLEDGE_REQUESTS),(0,n.un)(n.bw.HOLDINGS+n.bw.CDSL_AUTH);let eI=(0,n.un)(n.bw.USER+n.bw.WATCHLIST+n.bw.STOCK),eR=(0,n.un)(n.bw.STOCK+n.bw.ALERTS);(0,n.un)(n.bw.INDEX+n.bw.INDIAN_INDICES);let eN=(0,n.un)(n.bw.INDEX),eD=(0,n.un)(n.bw.ETF+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.SLASH+n.bw.SEARCH_ID);let eP=(0,n.un)(n.bw.IPO+n.bw.IPO_ORDER+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.OFS+n.bw.OFS_ORDER_PAGE);let eL=(0,n.un)(n.bw.OFS),ek=(0,n.un)(n.bw.INDEX+n.bw.SLASH+n.bw.SEARCH_ID),eM=(0,n.un)(n.bw.IPO+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.IPO_STATUS+n.bw.IPO_ORDER_ID),eF=(0,n.un)(n.bw.STOCK+n.bw.FILTER),ex=(0,n.un)(n.bw.STOCK+n.bw.SCREENS),eU=(0,n.un)(n.bw.STOCK+n.bw.SCREENS+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.STOCK+n.bw.SECTORS),(0,n.un)(n.bw.STOCK+n.bw.SECTORS+n.bw.SLASH+n.bw.OPTIONAL_SEARCH_ID),(0,n.un)(n.bw.IPO+n.bw.SLASH+n.bw.SEARCH_ID);let eB=(0,n.un)(n.bw.IPO+n.bw.SLASH+n.bw.IPO_UPCOMING),eH=(0,n.un)(n.bw.FNO);(0,n.un)(n.bw.TNS);let eG=(0,n.un)(n.bw.STOCK+n.bw.MTF),ej=(0,n.un)(n.bw.STOCK+n.bw.MTF+n.bw.LIST);(0,n.un)(n.bw.STOCK+n.bw.CORPORATE_ACTIONS),(0,n.un)(n.bw.INDEX+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.INDEX_COMPANIES),(0,n.un)(n.bw.POST_TRADE_CDSL_AUTH),(0,n.un)(n.bw.ONIX+n.bw.CDSL_AUTH),(0,n.un)(n.bw.TOOLS+n.bw.MARGIN_CALCULATOR+n.bw.SLASH),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID);let eV=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.EXPLORE),eK=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.COMPANY_FINANCIAL+n.bw.COMPANY_FINANCIAL_TAB_ID),eW=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.COMPANY_RESULTS+n.bw.COMPANY_RESULTS_PERIOD),eY=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.SHAREHOLDING_PATTERN),eq=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.PEER_COMPARISON);(0,n.un)(n.bw.ETF+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.ETF_HOLDINGS),(0,n.un)(n.bw.CDSL_CANCELLATION_AUTH),(0,n.un)(n.bw.SGB),(0,n.un)(n.bw.SGB+n.bw.SGB_TRACK+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.SGB+n.bw.SGB_ORDER+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.SGB+n.bw.SGB_ALL_APPLICATIONS);let ez=(0,n.un)(n.bw.ETF);(0,n.un)(n.bw.HOLDINGS+n.bw.CDSL_AUTH);let eX=(0,n.un)(n.bw.INDEX+n.bw.GLOBAL_INDICES);(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.FNO_SEARCH_ID+n.bw.SLASH+n.bw.SEARCH_ID);let e$=(0,n.un)(n.bw.INDEX+n.bw.GLOBAL_INDICES+n.bw.SLASH+n.bw.SEARCH_ID),eQ=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.HOLDINGS),eJ=(0,n.un)(n.bw.STOCK+n.bw.CALENDAR),eZ=(0,n.un)(n.bw.STOCK+n.bw.MTF+n.bw.LIST),e0=(0,n.un)(n.bw.ETF_NFO),e1=(0,n.un)(n.bw.ETF_NFO+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.ETF_NFO+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.VIEW_ORDER);let e2=(0,n.un)(n.bw.ETF_NFO+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.VIEW_ORDER+n.bw.ORDER_ID),e5=(0,n.un)(n.bw.ETF_NFO);(0,n.un)(n.bw.ONBOARDING+n.bw.REDIRECT_TO_APP_ONBOARDING);let e3=(0,n.un)(n.bw.AMOUNT_CHARGES_LEARN_MORE),e4=(0,n.un)(n.bw.QUANITITY_CHARGES_LEARN_MORE),e6=(0,n.un)(n.bw.USER+n.bw.STOCK+n.bw.STOCKS_SIP+n.bw.ALL),e7=(0,n.un)(n.bw.REPORT+n.bw.PROFIT_LOSS+n.bw.STOCK),e8=(0,n.un)(n.bw.REPORT+n.bw.PROFIT_LOSS+n.bw.STOCK+n.bw.ISIN_ID),e9=(0,n.un)(n.bw.REPORT+n.bw.PROFIT_LOSS+n.bw.STOCK+n.bw.MTF),te=(0,n.un)(n.bw.REPORT+n.bw.PROFIT_LOSS+n.bw.STOCK+n.bw.MTF+n.bw.ISIN_ID),tt=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.MOST_BOUGHT_STOCKS),tr=(0,n.un)(n.bw.STOCK+n.bw.SLASH+n.bw.MOST_TRADED_STOCKS),tn=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS),ti=(0,n.un)(n.bw.MARKET_NEWS+n.bw.STOCK+n.bw.PORTFOLIO),ta=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS+n.bw.SUMMARY_TYPE),to=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS+n.bw.DIVI
15DEND),ts=(0,n.un)(n.bw.TRADE_API),tl=(0,n.un)(n.bw.STOCK+n.bw.MTF+n.bw.MOST_TRADED_MTF),tc=(0,n.un)(n.bw.HOLDINGS+n.bw.PLEDGE),tu=(0,n.un)(n.bw.USER+n.bw.WALLET+n.bw.INR_BALANCE+n.bw.MTF_LEDGER),td=(0,n.un)(n.bw.USER+n.bw.WALLET+n.bw.INR_BALANCE+n.bw.MTF_LEDGER+n.bw.SLASH+n.bw.SEARCH_ID),tf=(0,n.un)(n.bw.STOCK+n.bw.TRACK),th=(0,n.un)(n.bw.DASH+n.bw.STOCK+n.bw.SLASH+n.bw.BROKER_ID+n.bw.HOLDINGS+n.bw.SLASH+n.bw.SEARCH_ID),tp=(0,n.un)(n.bw.DASH+n.bw.STOCK+n.bw.SLASH+n.bw.BROKER_ID+n.bw.HOLDINGS+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.EDIT_TRANSACTIONS),tE=(0,n.un)(n.bw.TAX_LOSS_HARVESTING),t_=(0,n.un)(n.bw.STOCK+n.bw.USER+n.bw.PORTFOLIOS),tg=(0,n.un)(n.bw.ONBOARDING+n.bw.MTF),tS=(0,n.un)(n.bw.APP_STORIES+n.bw.ANNOUNCE),tm=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.BOND_PRODUCT_SEARCH_ID),tA=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.MF_SEARCH_ID),tv=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.FNO_SEARCH_ID),tb=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.US_STOCKS_SEARCH_ID)},583507:(e,t,r)=>{"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,{A:()=>n})},584178:(e,t,r)=>{e.exports=r(556397)},592799:(e,t,r)=>{"use strict";let n;r.r(t),r.d(t,{default:()=>rh,toggleThemeChannel:()=>n});var i=r(986594),a=r(407178),o=r(275063),s=r(684676),l=r.n(s),c=r(366516),u=r.n(c),d=r(565326),f=r.n(d),h=r(408855),p=r.n(h),E=r(7501),_=r(231010);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(){var e;if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var r,n,i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=(e=(r=S(t)).call.apply(r,[this].concat(a)))&&("object"===g(e)||"function"==typeof e)?e:m(this),v(m(n),"state",{bootstrapped:!1}),v(m(n),"_unsubscribe",void 0),v(m(n),"handlePersistorState",function(){n.props.persistor.getState().bootstrapped&&(n.props.onBeforeLift?Promise.resolve(n.props.onBeforeLift()).finally(function(){return n.setState({bootstrapped:!0})}):n.setState({bootstrapped:!0}),n._unsubscribe&&n._unsubscribe())}),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A(t,e),function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"==typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}]),t}(a.PureComponent);v(b,"defaultProps",{children:null,loading:null});var T=r(159966);r(864774);let y=()=>(0,i.jsx)("div",{className:"lne123Loader"});var O=r(54102),w=r(647005),C=r(325988);r(103692),r(89558),r(520084);var I=r(126479),R=r(299168),N=r(973656),D=r(237347),P=r(132978),L=r(673931);let k="",M=()=>{var e,t;let r=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.href;r!==k&&((0,P.s)("GobblerAbsolutePageView",L.GobblerAbsolutePageView,{pageUrl:r}),(0,P.s)("AbsolutePageView","AbsolutePageView",{pageUrl:r}),k=r)};var F=r(212358),x=r(277245),U=r(454532);let B=[U.bw.INVESTOR_RELATIONS,U.bw.CORPORATE_BONDS,"/us-stocks/[searchId]"];var H=r(641075);let G=()=>((0,H.useReportWebVitals)(e=>{let t=(0,F.nv)();t&&Promise.all([r.e(37373),r.e(50585)]).then(r.bind(r,455398)).then(r=>{let n={TTFB:r.WEB_VITALS_TTFB_METRIC_NAME,FCP:r.WEB_VITALS_FCP_METRIC_NAME,LCP:r.WEB_VITALS_LCP_METRIC_NAME,FID:r.WEB_VITALS_FID_METRIC_NAME,CLS:r.WEB_VITALS_CLS_METRIC_NAME,INP:r.WEB_VITALS_INP_METRIC_NAME}[e.name];n&&t.recordHistogram({histName:n,value:e.value})}).catch(()=>{})}),null);var j=r(852391),V=r(189532),K=r(493973),W=r(951402),Y=r(306025),q=r(163702),z=r(135956),X=r(744620);let $=["/blog*","/calculators*","/fii-dii-data","/stock-feed/*","/digest*","/mutual-funds$","/ipo$","/stocks$","/nfo$","/trust-and-safety$","/pricing$","/about-us$","/p/*","/pages/*","/banking/*","/gold-rates","/gold-rates/*","/silver-rates","/loans/*","/insurance/*","/fixed-deposit/*","/fixed-deposits/*","/recurring-deposit/*","/rto/*","/savings-account/*","/updates/*","/help/*","/campaigns/future-and-options","/commodities","/credit-card","/download-forms","/ebooks","/futures-and-options","/investor-charters-and-grievance","/products","/questions","/referral-opt-out","/regulatory-and-other-information","/share-market-today","/sitemap","/stock-feed","/terms-and-conditions","/testimonials","/
15headstart","/groww-charts","/unsubscribe"];var Q=r(866607),J=r(238460),Z=r(280759),ee=r(482132),et=r(47360),er=r(72080),en=r(674410),ei=r(3822),ea=r(578124),eo=r(678399),es=r(261208),el=r(666159),ec=r(306519),eu=r(453757),ed=r(222736),ef=r(316110),eh=r(630431),ep=r(761324),eE=r(503435),e_=r(81693),eg=r(43026),eS=r(241617),em=r(739461),eA=r(140109),ev=r(185005),eb=r.n(ev);let eT={success:{Icon:eg.A,className:"contentPositive"},error:{Icon:eS.A,className:"contentNegative"},info:{Icon:em.A,className:"contentSecondary"},removed:{Icon:eS.A,className:"contentSecondary"}},ey=a.memo(e=>{let{inline:t=!1,target:r="global",className:n=""}=e,o=(0,eA.eU)(e=>e.visible),s=(0,eA.eU)(e=>e.target)||"global",l=(0,eA.eU)(e=>e.message),c=(0,eA.eU)(e=>e.highlight),u=(0,eA.eU)(e=>e.variant)||"success",d=(0,eA.eU)(e=>e.action),f=(0,eA.eU)(e=>e.duration)||3e3,h=(0,eA.eU)(e=>e.hide),[p,E]=(0,a.useState)(!1),_=(0,a.useCallback)(()=>{E(!0),setTimeout(()=>{E(!1),h()},200)},[h]);if((0,a.useEffect)(()=>{if(!o||s!==r)return;let e=setTimeout(_,f);return()=>clearTimeout(e)},[o,s,r,f,_]),(0,a.useEffect)(()=>()=>{eA.eU.getState().target===r&&h()},[h,r]),!o||s!==r)return null;let{Icon:g,className:S}=eT[u],m=(0,i.jsx)("div",{className:"".concat(eb().overlay," ").concat(t?eb().inline:""," ").concat(p?eb().fadeOut:""," ").concat(n),children:(0,i.jsxs)("div",{className:"".concat(eb().container," backgroundInversePrimary"),children:[(0,i.jsx)(g,{size:18,className:S}),(0,i.jsxs)("div",{className:"".concat(eb().content," bodyBase contentInversePrimary"),children:[(0,i.jsx)("span",{children:l}),c&&(0,i.jsxs)("span",{className:"bodyBaseHeavy",children:["\xa0",c]})]}),d&&(0,i.jsx)("span",{className:"".concat(eb().action," contentPositive bodyBaseHeavy"),onClick:d.onClick,children:d.label})]})});return t?m:e_.createPortal(m,document.body)});var eO=r(999711),ew=r(507298),eC=r(205364),eI=r(986524),eR=r(976837);r(870898);let eN=a.memo(e=>{let{placeholder:t,onClick:r}=e;return(0,i.jsx)("div",{className:"absolute-center pos-rel gsc23SearchDiv",children:(0,i.jsx)("div",{className:"gsc23SearchWidth",children:(0,i.jsx)("div",{className:"search-trigger",onClick:r,children:(0,i.jsxs)("div",{className:"valign-wrapper gsc23TriggerBar backgroundPrimary card borderPrimary bodyLarge",children:[(0,i.jsx)("div",{className:"stiIconWrapper absolute-center",children:(0,i.jsx)(eR.A,{className:"contentSecondary",size:20})}),(0,i.jsx)("div",{className:"search-placeholder contentSecondary",children:t}),I.TX?(0,i.jsxs)("div",{className:"contentSecondary bodyBase",children:[(0,i.jsx)("span",{children:"â"}),(0,i.jsx)("span",{children:"K"})]}):(0,i.jsx)("div",{className:"contentSecondary bodySmall",children:(0,i.jsx)("span",{children:"Ctrl+K"})})]})})})})}),eD=e=>{var t;let{isPrimeUser:r=!1,isItemBookmarked:n,onItemBookmarkClick:o,shouldShowItemBookmark:s,onSearchOpen:l,isOverlayVisible:c=!1,onOverlayDismiss:d,renderOverlay:f}=e,[h,p]=(0,a.useState)(!1),[E,_]=(0,a.useState)(""),g=(0,a.useRef)(null),S=(0,ef.A)(),{suggestions:m,suggestionStateLabels:A,isLoading:v,featureSuggestion:b,activeFilterIndex:T,highlightedIndex:y,autoHighlightIndex:O,searchedQuery:w,handleSearchInput:C,debouncedSearchInput:I,handleSuggestionSelect:R,navigateSuggestions:N,setActiveFilter:D,setHighlightedIndex:P,loadInitialData:L,loadCachedSuggestions:k,resetSearch:M}=(0,ep.S)({isPrimeUser:r,limits:{search:6,trending:7}}),{clearProductContext:F}=(0,eE.T)(),x=null!=y?y:O;(0,eh.K)(h),(0,a.useEffect)(()=>{L()},[L]);let U=(null===(t=m[0])||void 0===t?void 0:t.suggestionState)===eC.g.TRENDING,B=(0,a.useMemo)(()=>U&&(0,ew.qd)(w),[U,w]),H=(0,a.useMemo)(()=>{var e;return null!==y&&y>=0&&(null===(e=m[y])||void 0===e?void 0:e.value)?m[y].value:-1===y&&!(0,W.a)(b)&&(null==b?void 0:b.title)?b.title:E},[E,y,m,b]),G=(0,a.useCallback)(()=>{p(!0),requestAnimationFrame(()=>{var e;null===(e=g.current)||void 0===e||e.focus()}),null==l||l(),(0,ew.qG)(ed.A.SearchIconClick,{}),(0,ew.qd)(E)||k()},[E,k,l]),j=(0,a.useCallback)(()=>{p(!1),_(""),M(),null==d||d()},[M,d]),V=(0,a.useCallback)(()=>{h?j():G()},[h,j,G]);(0,a.useEffect)(()=>{let e=e=>{(e.metaKey||e.ctrlKey)&&"k"===e.key?(e.preventDefault(),V(),(0,ew.qG)(ed.A.CmdKKeyEventKeyboardShortcut,{shortcut:"Ctrl+K"})):"Escape"===e.key&&h&&(c?null==d||d():j(),(0,ew.qG)(ed.A.CmdKKeyEventKeyboardShortcut,{shortcut:"Escape"}))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[h,c,V,j,d]);let K=(0,a.useCallback)(e=>{_(e),P(null),I(e)},[P,I]),Y=(0,a.useCallback)(()=>{(0,ew.qG)(ed.A.DeleteAllClick,{searchquery:E,searchTextLength:E.length}),_(""),P(null),C(""),requestAnimationFrame(()=>{var e;null===(e=g.current)||void 0===e||e.focus()})},[E,P,C]),q=(0,a.useCallback)((e,t,r)=>{let n=R(e,t,r);F(),j(),!r&&n&&u().push(n)},[R,F,j]),z=(0,a.useCallback)(()=>
15{if((null===x||-1===x)&&(null==b?void 0:b.deeplink)){F(),j(),window.location.href=b.deeplink;return}null!==x&&x>=0&&m[x]&&q(m[x],x,!1)},[x,b,m,F,j,q]),$=(0,a.useCallback)(e=>{"ArrowDown"===e.key||"ArrowUp"===e.key?(e.preventDefault(),N("ArrowDown"===e.key?"down":"up")):"Enter"===e.key&&z()},[N,z]),Q=(0,ew.BH)(T),J=Array.isArray(m)&&m.length<6,Z=(0,ew.qd)(w)&&!B&&!J,ee=(0,a.useCallback)(e=>{(0,ew.qG)(ed.A.WatchlistAddItemClick,{entityType:null==e?void 0:e.entity_type,searchId:null==e?void 0:e.search_id,searchSection:"My Watchlist"}),null==o||o(e)},[o]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eN,{placeholder:Q,onClick:V}),h&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"width100 gsc23SearchMask ".concat(S===X.zG.DARK?"backgroundOverlayPrimary":"backgroundOverlaySecondary"),onClick:j}),(0,i.jsx)("div",{className:"search-modal-container halign-wrapper",children:(0,i.jsxs)("div",{className:"pos-rel searchModalUICantainer",children:[(0,i.jsxs)("div",{className:"gsc23SearchWidth",children:[(0,i.jsxs)("div",{className:"pos-rel","aria-busy":v,children:[(0,i.jsx)(eI.UA,{value:null!=H?H:"",onChange:K,onKeyDown:$,placeholder:Q,inputId:eO.qm,onClear:Y,inputRef:g,className:"stiGlobalBorder"}),v&&(0,i.jsx)(eI.hZ,{className:"gsc23LinearProgress","aria-label":"Loading search results"})]}),(0,i.jsxs)("div",{className:"contentPrimary gsc23SuggestionsContainer backgroundPrimary borderPrimary",children:[(0,W.a)(m)?(0,i.jsx)(eI.U0,{rows:6,chipCount:5}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"se28GetDivAboveSuggestion",children:[(0,i.jsx)(eI.OM,{filters:eO.Fu,activeSearchFilterIndex:T,onFilterChange:D}),B&&(0,i.jsx)(eI.oN,{searchInputVal:w}),w.length>=eO.MJ&&!U&&(0,i.jsx)(eI.Tl,{searchInputVal:w,featureSuggestion:b,isHighlighted:null===y||-1===y})]}),(0,i.jsx)("div",{id:"".concat(eO.qm,"-suggestions"),className:"se28Suggestions",children:(0,i.jsx)(eI.s6,{suggestions:m,highlightedIndex:x,onSelect:q,suggestionStateLabels:A,searchText:w,isItemBookmarked:n,onItemBookmarkClick:o?ee:void 0,shouldShowItemBookmark:s})}),Z&&(0,i.jsx)(eI.Up,{searchInputVal:w,onMoreResultsClick:j})]}),(0,i.jsx)(ey,{inline:!0,target:"global-search"})]})]}),c&&f&&(0,i.jsx)("div",{className:"gs23WatchlistOverlay backgroundPrimary borderPrimary",children:f()})]})})]})]})};var eP=r(892751),eL=r(247812),ek=r(855046),eM=r(516558),eF=r.n(eM);let ex=e=>{let{item:t,handleItemClick:r}=e,n=null==t?void 0:t.ICON;return(0,i.jsxs)(eP.A,{url:null==t?void 0:t.URL,onClick:()=>r(null==t?void 0:t.URL),className:"bodyLargeHeavy contentPrimary backgroundTransparentHover absolute-center ".concat(eF().dropdownSection2Item),children:[(0,i.jsx)("span",{className:"absolute-center contentSecondary",children:n&&(0,i.jsx)(n,{})}),(0,i.jsxs)("div",{className:"flex flex-column",children:[(0,i.jsx)("div",{className:"bodyLargeHeavy contentPrimary ".concat(eF().dropdownHeading),children:null==t?void 0:t.HEADING}),(null==t?void 0:t.SUBHEADING)&&(0,i.jsx)("div",{className:"bodyBase contentSecondary ".concat(eF().dropdownSubHeading),children:null==t?void 0:t.SUBHEADING})]})]})},eU=e=>{var t,r,n,a,o,s,l,c,u,d,f,h;let{data:p,handleNavigation:E,dropdownKey:_}=e;return(0,i.jsxs)("div",{className:"".concat(eF().dropdownContainer," flex"),children:[(null==p?void 0:p.SECTION1)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(eP.A,{url:null==p?void 0:null===(t=p.SECTION1)||void 0===t?void 0:t.URL,onClick:()=>E(_),className:"".concat(eF().dropdownSection1," width100 absolute-center flex-column"),children:[(0,i.jsx)("div",{className:"absolute-center ".concat(eF().dropdownMinHeight),children:(0,i.jsx)(ek.A,{src:null==p?void 0:null===(n=p.SECTION1)||void 0===n?void 0:null===(r=n.IMAGE)||void 0===r?void 0:r.SRC,alt:"stocks",width:null==p?void 0:null===(o=p.SECTION1)||void 0===o?void 0:null===(a=o.IMAGE)||void 0===a?void 0:a.WIDTH,height:null==p?void 0:null===(l=p.SECTION1)||void 0===l?void 0:null===(s=l.IMAGE)||void 0===s?void 0:s.HEIGHT,addClass:"".concat(eF().dropdownImage)})}),(0,i.jsxs)("div",{className:"flex flex-column",children:[(0,i.jsxs)("div",{className:"bodyLargeHeavy contentPrimary absolute-center ".concat(eF().dropdownHeading),children:[null==p?void 0:null===(c=p.SECTION1)||void 0===c?void 0:c.HEADING,(0,i.jsx)(eL.A,{size:22})]}),(0,i.jsx)("div",{className:"bodyBase contentSecondary ".concat(eF().dropdownSubHeading),children:null==p?void 0:null===(u=p.SECTION1)||void 0===u?void 0:u.SUBHEADING})]})]}),(0,i.jsx)("div",{className:"".concat(eF().dropdownDivider," absolute-center borderPrimary")})]}),(0,i.jsx)("div",{className:"".concat(eF().dropdownSection2," ").concat("MORE"===_&&eF().section2MoreContainerWidth," flex flex-column"),children:null==p?void 0:null===(d=p.SECTION2)||void 0===d?void 0:d.map(e=>
15(0,i.jsx)(ex,{item:e,handleItemClick:()=>E(_)},null==e?void 0:e.HEADING))}),(null==p?void 0:p.SECTION3)&&(0,i.jsx)("div",{className:"".concat(eF().dropdownDivider," absolute-center borderPrimary")}),(0,i.jsx)("div",{className:"".concat(eF().dropdownSection2," flex flex-column"),children:null==p?void 0:null===(f=p.SECTION3)||void 0===f?void 0:f.map(e=>(0,i.jsx)(ex,{item:e,handleItemClick:()=>E(_)},null==e?void 0:e.HEADING))}),"MORE"===_&&(null==p?void 0:p.SECTION4)&&(null==p?void 0:p.SECTION4.length)>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"".concat(eF().dropdownDivider," absolute-center borderPrimary")}),(0,i.jsx)("div",{className:"".concat(eF().dropdownSection2," flex flex-column"),children:null==p?void 0:null===(h=p.SECTION4)||void 0===h?void 0:h.map(e=>(0,i.jsx)(ex,{item:e,handleItemClick:()=>E(_)},null==e?void 0:e.HEADING))})]})]})};var eB=r(729623),eH=r(583010),eG=r(422264),ej=r(406145);let eV=(0,U.un)(U.bw.MF+U.bw.AMC+U.bw.SLASH+"groww-mutual-funds"),eK=(0,U.un)(U.bw.OPTION+U.bw.SLASH+U.bw.NIFTY_SEARCH_ID),eW={SECTION1:{HEADING:"Invest in Stocks",SUBHEADING:"Invest in stocks, ETFs, IPOs with fast orders. Track returns on your stock holdings and view real-time P&L on your positions.",URL:(0,eH.LX5)(),IMAGE:{SRC:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/stocks.ca70f42c.webp",height:824,width:625,blurDataURL:"data:image/webp;base64,UklGRrAAAABXRUJQVlA4WAoAAAAQAAAABQAABwAAQUxQSDEAAAAAAAAfugkAAACi/2EAAArI/3EAGeD//9MyOv/////EPf/////n1f////uIfNOSuy4AAFZQOCBYAAAA0AEAnQEqBgAIAAJAOCUAToAiyhs9LQAAzj60O/+K3skSdyG7e+n/V0TU75lt3IoqhAr44SzkGl1RjFIwCG8JHl37DxKZ8TEOZ/VmhsLu9lWuKdtjdCAAAA==",blurWidth:6,blurHeight:8},WIDTH:156,HEIGHT:205}},SECTION2:[{HEADING:"Intraday",SUBHEADING:"Monitor top intraday performers in real time",URL:(0,eH.lFp)()},{HEADING:"ETF Screener",SUBHEADING:"Get the best of Mutual Funds and flexibility of Stocks",URL:(0,eH.bPQ)()},{HEADING:"IPO",SUBHEADING:"Track upcoming and ongoing IPOs",URL:(0,eH.FLx)()},{HEADING:"MTFs",SUBHEADING:"Buy now, pay later",URL:(0,eH.jBx)()}],SECTION3:[{HEADING:"Stock Screener",SUBHEADING:"Filter based on RSI, PE ratio and more",URL:(0,eH.T7r)()},{HEADING:"Stock Events",SUBHEADING:"Dividends, bonus, buybacks and more",URL:(0,eH.$SW)()},{HEADING:"Demat Account",SUBHEADING:"Begin your stock market journey",URL:(0,eH.DYm)()},{HEADING:"Share Market Today",SUBHEADING:"Live news updates from stock market",URL:(0,U.un)(U.bw.SHARE_MARKET_TODAY)()}]},eY={SECTION1:{HEADING:"Trade in Futures & Options",SUBHEADING:"Trade in F&O using the terminal. View charts, indicators, track your orders , P&L and watchlists in a single space",URL:(0,eH.VQd)(),IMAGE:{SRC:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/f&o.bb450b70.webp",height:626,width:849,blurDataURL:"data:image/webp;base64,UklGRrYAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSDEAAAAAAA+MshUAAABm7f//9XkEAJb//////9E/fff//////+8AI7P////8UwAAAEvbwS8AAFZQOCBeAAAAMAIAnQEqCAAGAAJAOCWoAnQGkAQCkq0oe8AA4n/67+OrMXkdvQR+P8Zg/xffa52f9F+Hlci9Pn6YM6+yIaEfvTHScnTUM965ZCk58kEFJ7HjiaT3syv7zQabpAAAAA==",blurWidth:8,blurHeight:6},WIDTH:242.8,HEIGHT:163.8}},SECTION2:[{HEADING:"Indices",SUBHEADING:"Track markets across the globe",URL:(0,eH.EpM)()},{HEADING:"Terminal",SUBHEADING:"Track charts, orders, positions, watchlists in one place",URL:(0,eH.h3B)()},{HEADING:"Option chain",SUBHEADING:"Analyse chains, view payoffs, create baskets",URL:eK()}],SECTION3:[{HEADING:"Pledge",SUBHEADING:"Get extra balance for trading",URL:(0,Z.KN)()},{HEADING:"Commodities",SUBHEADING:"Trade in Crude Oil, Gold, Silver and more",URL:(0,ec.Bq)()},{HEADING:"API trading",SUBHEADING:"Set up and execute trades through our API",URL:(0,eH.G2t)()}]},eq={STOCKS:{TITLE:"Stocks",DATA:eW},FNO:{TITLE:"F&O",DATA:eY},MUTUAL_FUNDS:{TITLE:"Mutual Funds",DATA:{SECTION1:{HEADING:"Invest in Mutual Funds",SUBHEADING:"Invest in direct mutual funds at zero charges via lump sump investments or SIPs",URL:(0,eB.Tf)(),IMAGE:{SRC:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/mutual_funds.9c9cff91.webp",height:687,width:857,blurDataURL:"data:image/webp;base64,UklGRqwAAABXRUJQVlA4WAoAAAAQAAAABwAABQAAQUxQSDEAAAAAAAp6w9amKQAAmv/////ToAXL/////
15//ydv////////Zb////////zQBOtufv0ocRAFZQOCBUAAAA8AEAnQEqCAAGAAJAOCWQAnQBFKS9vDq4AP4L7q8urjT6df+IwJOdAvBHx2Q8LoxqYrvyG0IPMFYacD/Lekddo6Twy5EyHdA0Hp7s3bFl4YEwTbgA",blurWidth:8,blurHeight:6},WIDTH:233.2,HEIGHT:180.6}},SECTION2:[{HEADING:"Mutual Fund Houses",SUBHEADING:"Know about AMCs, funds, fund managers",URL:(0,eB.vy)()},{HEADING:"NFOâs",SUBHEADING:"Track all active NFOs in one place",URL:(0,eB.rn)()},{HEADING:"Mutual Funds by Groww",SUBHEADING:"Mutual funds by Groww designed for your investment goals",URL:eV()},{HEADING:"Start SIP",SUBHEADING:"Build long-term wealth through disciplined monthly investing.",URL:(0,eB.zh)()}],SECTION3:[{HEADING:"Mutual Funds screener",SUBHEADING:"Filter funds based on risk, fund size and more",URL:(0,eB.w4)()},{HEADING:"Track Funds",SUBHEADING:"Import funds and track all investments in a single place",URL:(0,eB._9)()},{HEADING:"Compare Funds",URL:(0,eB.dk)()}]}},MORE:{TITLE:"More",DATA:{SECTION2:[{HEADING:"SIP calculator",SUBHEADING:"Estimate returns on a SIP",URL:(0,Z.oE)(ej.S.SIP)},{HEADING:"Brokerage calculator",SUBHEADING:"Estimate charges for your trade/investment",URL:(0,Z.oE)(ej.S.BROKERAGE)},{HEADING:"Margin calculator",SUBHEADING:"Estimate balance needed to buy/sell a stock",URL:(0,Z.oE)(ej.S.MARGIN)}],SECTION3:[{HEADING:"SWP calculator",SUBHEADING:"Returns on your systematic withdrawal plan",URL:(0,Z.oE)(ej.S.SWP)},{HEADING:"Pricing",SUBHEADING:"Brokerage and charges on Groww",URL:(0,ec.Rm)()},{HEADING:"Blog",URL:(0,Z.oY)()}],SECTION4:[{HEADING:"Credit",SUBHEADING:"Loan against securities and Personal loan",URL:eG.L_.LANDING_PAGE}]}}};var ez=r(724965),eX=r.n(ez);let e$=a.memo(e=>{let{setIsDropdownVisible:t}=e,r=(0,a.useRef)({}),n=(0,o.d4)(e=>{let{core:t}=e;return t.headerState.isDarkModeEnabled}),s=(0,o.d4)((0,ei.j8)({logo:(0,el.Bu)("logo")})),l=null==s?void 0:s.logo,c=(e,t)=>{r.current[e]=t},u=e=>{var t;let n=null==r?void 0:null===(t=r.current)||void 0===t?void 0:t[e];n&&(n.style.visibility="hidden"),d()},d=()=>{Object.keys((null==r?void 0:r.current)||{}).forEach(e=>{if(null==e?void 0:e.includes("Title"))return;let t=r.current[e],n=r.current["".concat(e,"Title")];t&&t.style.setProperty("visibility","hidden","important"),n&&n.classList.remove("contentPrimary")}),t(!1)},f=e=>{Object.keys((null==r?void 0:r.current)||{}).forEach(t=>{let n=r.current[t],i=r.current["".concat(t,"Title")];(null==t||!t.includes("Title"))&&(t===e?(n&&n.style.setProperty("visibility","visible","important"),i&&i.classList.add("contentPrimary")):(n&&n.style.setProperty("visibility","hidden","important"),i&&i.classList.remove("contentPrimary")))}),t(!0)};return(0,i.jsxs)("div",{className:"absolute-center ".concat(eX().leftContainer),children:[(0,i.jsx)("div",{className:"".concat(eX().marginBottom4," cur-po"),children:(0,i.jsx)(es.A,{logoObj:l,logoType:n?eo.A.GROWW_DARK:eo.A.GROWW_LIGHT,height:33,width:122,minHeight:33,minWidth:122,url:(0,ec.kH)(),isDarkModeEnabled:n})}),(0,i.jsx)("div",{className:"absolute-center",onMouseLeave:d,children:Object.keys(eq).map((e,t)=>{var r;let n=Object.keys(eq).length;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"bodyLargeHeavy contentSecondary flex absolute-center",children:[t===n-1&&(0,i.jsx)("div",{className:"".concat(eX().navDivider," absolute-center borderPrimary")}),(0,i.jsx)("div",{className:"absolute-center ".concat(eX().navItem," ").concat(t>n-2?eX().navItemLast:t>n-3?eX().navItemSecondLast:""),ref:t=>c("".concat(e,"Title"),t),children:(0,i.jsx)("span",{onMouseEnter:()=>f(e),className:"cur-po",children:null==eq?void 0:eq[e].TITLE})}),(0,i.jsx)("div",{className:"".concat(eX().hoverDiv," borderPrimary"),ref:t=>c(e,t),children:(0,i.jsx)(eU,{data:null==eq?void 0:null===(r=eq[e])||void 0===r?void 0:r.DATA,handleNavigation:u,dropdownKey:e})})]},e)})})})]})}),eQ=e=>{let{onLoginButtonClick:t,headerConfig:r}=e;return(0,i.jsxs)("div",{className:"flex absolute-center ".concat(eX().rightContainer),children:[(0,i.jsx)("div",{className:eX().searchContainer,children:!(null==r?void 0:r.hideGlobalSearch)&&(0,i.jsx)(eD,{})}),(0,i.jsx)(ea.B,{buttonText:"Login/Sign up",size:"Base",onClick:()=>t("Login")})]})},eJ=a.memo(e=>{let{showBorder:t,loginPopupNode:r,onLoginButtonClick:n,headerConfig:o}=e,[s,l]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1),{isAnimationPresent:d,containerRef:f}=(0,eu.A)();return(0,a.useEffect)(()=>{let e=()=>{let e=window.scrollY>0;l(t=>t!==e?e:t)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,i.jsxs)("div",{className:"row mainDiv width100",ref:f,style:{borderBottom:(t||s)&&!c?"1px solid var(--border-primary)":"none"},children:[r,(0,i.jsxs)("div",{className:"".concat(eX().navContainer," absolute-center vspace-between web-align ").concat(d&&eX().visibilityVisible),children:[(0,i.jsx)(e$,{setIsDropdownVisible:u}),(0,i.jsx)(eQ,{onLoginButtonClick:n,headerConfig:o})]})]})});var eZ=r(689940),e0=r(761711),e1=r.n(e0),e2=r(445762),e5=r(522714),e3=r(458562);let e4={Fnodisclosure:"fnodisclosure",Fnodisclosureload:"fnodisclosureload"};
15var e6=r(67380),e7=r.n(e6);let e8=e=>{let{showPopup:t,onConsentGivenClick:r}=e,n=(0,a.useCallback)(()=>{r(),(0,P.s)(Q.A.FNO,e4.Fnodisclosure)},[r]),o=(0,a.useCallback)(e=>{if(!e.key||"string"!=typeof e.key)return;let t=e.key.toLowerCase();("enter"===t||"escape"===t)&&n()},[n]);return(0,a.useEffect)(()=>{if(t)return document.addEventListener("keyup",o,{capture:!0}),()=>{document.removeEventListener("keyup",o,{capture:!0})}},[t,o]),(0,i.jsx)(e5.P,{visible:t,closeOnEsc:!0,closeMaskOnClick:!1,showCloseButton:!1,popupClass:e7().popup,width:"max(555px, min(50vw, 650px))",height:450,children:(0,i.jsx)(e3.A,{onCtaClick:n,isCtaLoading:!1})})};var e9=r(34331),te=r(199765);let tt=[U.bw.FUTURE,U.bw.INDEX,U.bw.OPTION,(0,eH.AuT)(),(0,te.R9)()],tr=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=(0,R.uD)();return(0,J.N)()&&e&&!r&&(!t||(0,R.D)())},tn=e=>{let[t,r]=(0,a.useState)(!1),{pathname:n}=(0,c.useRouter)(),{userData:i}=(0,e9.Ss)(),s=(0,I.H8)(i),l=(0,o.d4)((0,el.Bu)("stocks")),u=(0,a.useMemo)(()=>{var e;return null!==(e=null==l?void 0:l.showFnoRiskCompliancePopup)&&void 0!==e&&e},[l]),{shouldCheckIfUserAlreadyOnboarded:d}=e,f=!s&&tr(u,d),h=(0,a.useMemo)(()=>tt.some(e=>n.startsWith(e)),[n]);return(0,a.useEffect)(()=>{f&&h&&(r(!0),(0,P.s)(Q.A.FNO,e4.Fnodisclosureload))},[f,h]),{showRiskCompliancePopup:t,onRiskConsentClick:()=>{(0,R.Qs)(),r(!1)}}};var ti=r(39975),ta=r(984991),to=r(414889),ts=r(439755),tl=r(655969),tc=r(767219);let tu={bookmarkMap:{},isBookmarkLoaded:!1,watchlistMetadata:null,isMetadataLoaded:!1},td=(0,tl.vt)((0,tc.lt)(e=>({...tu,setBookmarkData:t=>e({bookmarkMap:t,isBookmarkLoaded:!0},!1,"setBookmarkData"),setWatchlistMetadata:t=>e({watchlistMetadata:t,isMetadataLoaded:!0},!1,"setWatchlistMetadata"),addItem:(t,r)=>e(e=>{var n,i;let a=e.bookmarkMap[t]||[];if(a.includes(r))return e;let o={bookmarkMap:{...e.bookmarkMap,[t]:[...a,r]}},s=null===(i=e.watchlistMetadata)||void 0===i?void 0:null===(n=i.watchlistIdItemsMapping)||void 0===n?void 0:n[r];return e.watchlistMetadata&&s&&!s.itemList.includes(t)&&(o.watchlistMetadata={...e.watchlistMetadata,watchlistIdItemsMapping:{...e.watchlistMetadata.watchlistIdItemsMapping,[r]:{...s,itemList:[...s.itemList,t]}}}),o},!1,"addItem"),removeItem:(t,r)=>e(e=>{var n,i;let a=(e.bookmarkMap[t]||[]).filter(e=>e!==r),o={};if(0===a.length){let{[t]:r,...n}=e.bookmarkMap;o.bookmarkMap=n}else o.bookmarkMap={...e.bookmarkMap,[t]:a};let s=null===(i=e.watchlistMetadata)||void 0===i?void 0:null===(n=i.watchlistIdItemsMapping)||void 0===n?void 0:n[r];return e.watchlistMetadata&&s&&(o.watchlistMetadata={...e.watchlistMetadata,watchlistIdItemsMapping:{...e.watchlistMetadata.watchlistIdItemsMapping,[r]:{...s,itemList:s.itemList.filter(e=>e!==t)}}}),o},!1,"removeItem"),addNewWatchlistToMetadata:t=>e(e=>e.watchlistMetadata?{watchlistMetadata:{...e.watchlistMetadata,watchlistIdItemsMapping:{...e.watchlistMetadata.watchlistIdItemsMapping,[t.watchlistId]:t}}}:e,!1,"addNewWatchlistToMetadata"),reset:()=>e(tu,!1,"reset")}),{name:"watchlistBookmarkStore"})),tf=new Set(["OPTION_CHAIN","Help"]),th=e=>!tf.has(e.entity_type)&&("Scheme"===e.entity_type?!!e.scheme_code:!!e.groww_contract_id);var tp=r(860754);let tE="MF Watchlist",t_={REMOVED_SUCCESS:"Removed from Watchlist",REMOVE_FAILED:"Failed to remove from Watchlist",ADDED_SUCCESS:"Added to Watchlist",ADD_FAILED:"Failed to add to Watchlist",GENERIC_ERROR:"Something went wrong. Please try again."},tg=()=>{let e=td(e=>e.bookmarkMap),t=td(e=>e.isBookmarkLoaded),r=td(e=>e.watchlistMetadata),n=td(e=>e.isMetadataLoaded),i=td(e=>e.setBookmarkData),o=td(e=>e.setWatchlistMetadata),s=td(e=>e.addItem),l=td(e=>e.removeItem),c=td(e=>e.addNewWatchlistToMetadata),u=(0,a.useCallback)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(0,J.N)()&&(!t||e)&&i(await (0,tp.Cl)())},[t,i]),d=(0,a.useCallback)(e=>e.entity_type===X.MH.Scheme?e.scheme_code||null:e.groww_contract_id||null,[]),f=(0,a.useCallback)(t=>{let r=d(t);return!!r&&r in e},[e,d]),h=(0,a.useCallback)(e=>!!(0,J.N)()&&th(e),[]),p=(0,a.useCallback)(t=>{let r=d(t);return r&&e[r]||[]},[e,d]),E=(0,a.useCallback)(async()=>
15{if(n&&r)return r;let e=await (0,tp.L6)();return e&&o(e),e},[n,r,o]),_=(0,a.useCallback)(async e=>{let t=e.scheme_code;return t?f(e)?await (0,tp.dq)(t)?(l(t,tE),{type:eC.s.HANDLED,message:t_.REMOVED_SUCCESS,isRemoved:!0}):{type:eC.s.HANDLED,message:t_.REMOVE_FAILED,variant:"error"}:await (0,tp.Rg)(t)?(s(t,tE),{type:eC.s.HANDLED,message:t_.ADDED_SUCCESS}):{type:eC.s.HANDLED,message:t_.ADD_FAILED}:{type:eC.s.NOOP}},[f,s,l]),g=(0,a.useCallback)(async e=>{let t=d(e);if(!t)return{type:eC.s.NOOP};let r=await E();if(!r)return{type:eC.s.HANDLED,message:t_.GENERIC_ERROR};if(f(e))return{type:eC.s.OPEN_POPUP,item:e,watchlistIds:p(e)};let{lastUsedWatchlist:n,watchlistIdItemsMapping:i,maxWatchlistItemSize:a}=r,o=n?i[n]:null,l=o&&o.itemList.length<a;if(o&&l&&n){let r=e.sub_entity_type===X.BV.Commodity?X.BV.Commodity:void 0;return await (0,tp.u7)(t,[n],r)?(s(t,n),{type:eC.s.HANDLED,message:"Added to ".concat(o.watchlistName),item:e,watchlistIds:[n],isStockAdd:!0}):{type:eC.s.HANDLED,message:t_.ADD_FAILED}}return{type:eC.s.OPEN_POPUP,item:e,watchlistIds:[]}},[d,f,p,E,s]),S=(0,a.useCallback)(async e=>h(e)?e.entity_type===X.MH.Scheme?_(e):g(e):{type:eC.s.NOOP},[h,_,g]);return{loadBookmarks:u,isBookmarked:f,shouldShowBookmark:h,getWatchlistIds:p,loadMetadataIfNeeded:E,watchlistMetadata:r,handleBookmarkClick:S,updateBookmarkAfterSave:(0,a.useCallback)((e,t,r)=>{t.forEach(t=>s(e,t)),r.forEach(t=>l(e,t))},[s,l]),addNewWatchlistToMetadata:c,isLoaded:t}},tS=f()(()=>Promise.all([r.e(6727),r.e(56441)]).then(r.bind(r,256441)),{loadableGenerated:{webpack:()=>[256441]},ssr:!1}),tm={visible:!1,item:null,watchlistIds:[]},tA=()=>{let{loadBookmarks:e,isBookmarked:t,shouldShowBookmark:r,handleBookmarkClick:n,watchlistMetadata:o,updateBookmarkAfterSave:s,addNewWatchlistToMetadata:l}=tg(),[c,u]=(0,a.useState)(tm),d=(0,a.useCallback)(()=>{e(!0)},[e]),f=(0,a.useCallback)((e,t)=>{u({visible:!0,item:e,watchlistIds:t})},[]),h=(0,a.useCallback)(async e=>{let t=await n(e);if(t.type===eC.s.HANDLED)if(t.isStockAdd&&t.item&&t.watchlistIds){let e=t.item,r=t.watchlistIds;(0,eA.td)({message:t.message,target:"global-search",action:{label:"Edit",onClick:()=>f(e,r)}})}else(0,eA.td)({message:t.message,target:"global-search",variant:t.isRemoved?"removed":"success"});t.type===eC.s.OPEN_POPUP&&f(t.item,t.watchlistIds)},[n,f]),p=(0,a.useCallback)(e=>r(e)&&t(e),[r,t]),E=(0,a.useCallback)(()=>{u(tm)},[]),_=(0,a.useCallback)(e=>{s(e.itemId,e.addedToIds,e.removedFromIds)},[s]),g=(0,a.useCallback)(e=>{l(e)},[l]),S=(0,a.useCallback)(()=>o&&c.visible?(0,i.jsx)(tS,{visible:c.visible,onClose:E,onBack:E,item:c.item,selectedWatchlistIds:c.watchlistIds,watchlistMetadata:o,onSaveSuccess:_,onWatchlistCreated:g}):null,[o,c,E,_,g]),m=(0,a.useCallback)(e=>e.suggestionState===eC.g.SEARCH&&r(e),[r]);return{globalSearchProps:(0,a.useMemo)(()=>({isItemBookmarked:p,onItemBookmarkClick:h,shouldShowItemBookmark:m,onSearchOpen:d,isOverlayVisible:c.visible,onOverlayDismiss:E,renderOverlay:S}),[p,h,m,d,c.visible,E,S])}};var tv=r(806473),tb=r(608667),tT=r(144080),ty=r(428618),tO=r(739672),tw=r(555846),tC=r(204032),tI=r(308343),tR=r(578204),tN=r.n(tR);let tD=()=>{let e=ty.Q.use.isModalOpen(),t=ty.Q.use.source(),{isLoading:r,handleContinue:n}=(0,tC.Ay)(t),{hoistValue:o}=(0,eZ.Qt)({hoistKey:tT.H.STOCKS_GROWW_CLEARTAX_CONFIG,defaultValue:tw.KR}),s=null==o?void 0:o.title;return(0,a.useEffect)(()=>{e&&(0,P.s)((0,tC.nH)(t),tC.f7.FileTaxPageLoad,{source:t})},[e,t]),(0,i.jsx)(e5.P,{visible:e,onClose:tO.o,width:400,showCloseButton:!0,closeMaskOnClick:!0,closeOnEsc:!0,popupClass:tN().popupOverride,children:(0,i.jsxs)("div",{className:e1()(tN().modalContent,"flex flex-column valign-wrapper borderPrimary backgroundPrimary"),children:[(0,i.jsxs)("div",{className:e1()(tN().content,"flex flex-column valign-wrapper width100"),children:[(0,i.jsxs)("div",{className:e1()(tN().header,"flex flex-column valign-wrapper"),children:[(0,i.jsx)(tI.C1,{growwLogoHeight:32,useLazyLoad:!1}),(0,i.jsx)("h2",{className:e1()(tN().headline,"displayBase contentPrimary center-align"),children:s})]}),(0,i.jsx)("div",{className:tN().benefitsList,children:(0,i.jsx)(tI.RH,{})})]}),(0,i.jsx)(tI.zL,{isLoading:r,onContinue:n,className:e1()("backgroundPrimary width100",tN().footer)})]})})};var tP=r(976827),tL=r(907141),tk=r(754714),tM=r(571870),tF=r(215938),tx=r.n(tF);let tU=f()(()=>Promise.all([r.e(34198),r.e(43952)]).then(r.bind(r,243952)),{loadableGenerated:{webpack:()=>[243952]},ssr:!1}),tB=e=>{let{userData:t}=e,{onboardingStatus:r,resetUsStocksOnboardingStore:n}=(0,tP.i)();return(0,a.useEffect)(()=>{r===tL.s.ERROR&&(C.t.error({title:"Something went wrong. Please try again."}),n())},[r]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:e1()(tx().rightSideContainer,"valign-wrapper"),children:[(0,i.jsxs)("div",{className:e1()("valign-wrapper",tx().grobotNotificationContainer),children:[(0,i.jsx)(tb.A,{source:"HEADER"}),(0,i.jsx)(tk.A,{userData:t})]}),(0,i.jsx)(tM.A,{userData:t})]}),(0,i.jsx)(tD,{}),(0,i.jsx)(tU,{})]})};
15var tH=r(34798),tG=r(806727),tj=r(531269),tV=r(974188),tK=r(655909),tW=r.n(tK);let tY=e=>{let{visibleNavItems:t,currSearchId:r,handleNavLinkClick:n,dropdownItems:a,openDropdown:o,closeDropdown:s,isMoreHighlighted:l,showDropdown:c}=e;return(0,i.jsxs)("nav",{className:e1()(tW().navLinks,"absolute-center"),children:[t.map(e=>(0,i.jsx)("span",{className:e1()("headingBase cur-po",r===e.id?"contentPrimary":"contentSecondary"),onClick:()=>{n(e.key)},children:e.label},e.id)),a.length>0&&(0,i.jsxs)("div",{className:tW().navDropdownContainer,onMouseEnter:o,onMouseLeave:s,children:[(0,i.jsx)("span",{className:e1()("headingBase cur-po",l?"contentPrimary":"contentSecondary",tW().navDropdownToggle),children:"More"}),c&&(0,i.jsx)("div",{className:e1()(tW().navDropdownMenu,"contentPrimary"),onMouseEnter:o,onMouseLeave:s,children:a.map(e=>(0,i.jsx)("div",{className:e1()(tW().navDropdownItem,"bodyBase",r===e.id?"contentPrimary":""),onClick:()=>{n(e.key)},children:e.label},e.id))})]})]})},tq={explore:"Explore",holdings:"Holdings",positions:"Positions",watchlist:"Watchlist",orders:"Orders",dashboard:"Dashboard",sips:"SIPs",investments:"Investments"},tz=e=>{let{routes:t,currSearchId:r,handleNavLinkClick:n,productName:o,contextKey:s}=e,l=(0,c.useRouter)(),{productContext:u,setProductContext:d}=(0,eE.T)();(0,a.useEffect)(()=>{u||d(s)},[s,d]);let f=(0,a.useMemo)(()=>Object.entries(t||{}).map(e=>{var t;let[r,n]=e,i=null!==(t=tq[r])&&void 0!==t?t:r;return{key:r,id:n,label:i}}),[t]);return(0,i.jsxs)("nav",{className:e1()(tW().navLinks,"absolute-center"),children:[(0,i.jsx)("div",{className:"headingBase cur-po contentPrimary",onClick:()=>l.push(f[0].id),children:o}),f.map(e=>(0,i.jsx)("span",{className:e1()("headingSmall cur-po",r===e.id?"contentPrimary":"contentSecondary"),onClick:()=>n(e.key),children:e.label},e.id))]})},tX=e=>{let{handleNavLinkClick:t,currSearchId:r,getGoldDiscoveryStatus:n,getFdDiscoveryStatus:o,showDiscoveryOfUSStocks:s}=e,[l,u]=(0,a.useState)(tj.TD.slice(0,tj.HJ)),[d,f]=(0,a.useState)([]),[h,p]=(0,a.useState)(!1),E=(0,a.useRef)(null),[_,g]=(0,a.useState)(!1),S=(0,c.useRouter)(),{productContext:m,clearProductContext:A,setProductContext:v}=(0,eE.T)(),b=S.asPath.split("?")[0];"/"!==b&&b.endsWith("/")&&(b=b.slice(0,-1)),(0,a.useEffect)(()=>{let e={[tj.qR.GOLD]:n,[tj.qR.FD]:o,[tj.qR.US_STOCKS]:s},t={},r=tj.TD.filter(r=>{if(!r.accessControlKey)return!0;let n=e[r.accessControlKey];return!n||n(t)});if(0===r.length)u(tj.TD.slice(0,tj.HJ)),f([]);else{let e=4===r.length?tj.zU:tj.HJ;u(r.slice(0,e)),f(r.slice(e))}},[n,o,s,r]),(0,a.useEffect)(()=>{g(d.some(e=>e.id===r))},[d,r]),(0,a.useEffect)(()=>{let e=Object.keys(tj.SZ).find(e=>b===e||b.startsWith("".concat(e,"/")));if(e){let t=tj.SZ[e];tj.JN.includes(b)&&v(t)}else A()},[b,A,v]);let T=()=>{E.current&&(window.clearTimeout(E.current),E.current=null),p(!0)},y=()=>{E.current=window.setTimeout(()=>{p(!1)},tj.E3)};if(tj.JN.includes(b))return(0,i.jsx)(tY,{currSearchId:r,handleNavLinkClick:t,visibleNavItems:l,dropdownItems:d,showDropdown:h,openDropdown:T,closeDropdown:y,isMoreHighlighted:_});let O=Object.keys(tj.SZ).find(e=>b===e||b.startsWith("".concat(e,"/")));if(O){var w,C;let e=tj.SZ[O],t=m||e,r=t===e?tj.cp[e]:(0,tV.O)(t),n=null!==(C=null===(w=tj.TD.find(e=>e.key===t))||void 0===w?void 0:w.label)&&void 0!==C?C:"",a=b.includes("options")?tj.cp.fno:r,o=b.includes("options")?"F&O":n;return(0,i.jsx)(tz,{routes:a,currSearchId:b,handleNavLinkClick:e=>{let t=a[e];t&&S.push(t)},productName:o,contextKey:t})}return(0,i.jsx)(tY,{currSearchId:b,handleNavLinkClick:t,visibleNavItems:l,dropdownItems:d,showDropdown:h,openDropdown:T,closeDropdown:y,isMoreHighlighted:_})};var t$=r(504978),tQ=r(652076);let tJ=Object.entries(tQ.pU).reduce((e,t)=>{let[r,n]=t;return e[r]=n.explore,e},{}),tZ=(0,tl.vt)((e,t)=>({history:tJ,captureRoute(t){let r=Object.keys(tQ.pU).find(e=>Object.values(tQ.pU[e]).some(e=>e===t));r&&e(e=>({history:{...e.history,[r]:t}}))},getProductRoute(e){var r;return null!==(r=t().history[e])&&void 0!==r?r:tQ.pU[e].explore}})),t0=()=>({captureRoute:tZ(e=>e.captureRoute),getProductRoute:tZ(e=>e.getProductRoute)}),t1=e=>{let{url:t}=e,r=(0,a.useMemo)(()=>(0,i.jsx)(tH.A,{IconType:"TERMINAL",url:t,buttonText:"Terminal",setPreference:!0}),[t]);return(0,i.jsx)(i.Fragment,{children:r})},t2=(0,a.memo)(e=>{let{loginPopupNode:t,headerConfig:r}
15=e,{showRiskCompliancePopup:n,onRiskConsentClick:o}=tn({shouldCheckIfUserAlreadyOnboarded:!0}),s=(0,c.useRouter)(),l=ti.d.use.isPrimeUser(),{captureRoute:u,getProductRoute:d}=t0(),{hoistValue:f,isHoistLoading:h}=(0,eZ.Qt)([{hoistKey:ta.H.GOLD_DISCOVERY,defaultValue:!1},{hoistKey:ta.H.FD_DISCOVERY,defaultValue:!1}]),p=!h&&f[ta.H.GOLD_DISCOVERY],E=!h&&f[ta.H.FD_DISCOVERY];(0,a.useEffect)(()=>{u(s.asPath)},[s.asPath,u]);let _=(0,a.useMemo)(()=>(0,I.x3)(null==s?void 0:s.asPath),[null==s?void 0:s.asPath]),g=(0,a.useMemo)(()=>{let e=(s.asPath||"").split("?")[0].split("#")[0].split("/").filter(Boolean);return"options"===e[0]&&2===e.length?{show:!0,url:U.bw.ADVANCE_CHARTS+U.bw.INDEX+U.bw.SLASH+e[1]}:"commodities"===e[0]&&"options"===e[1]&&3===e.length?{show:!0,url:U.bw.ADVANCE_CHARTS+U.bw.COMMODITIES+U.bw.SLASH+e[2]}:{show:!1,url:""}},[s.asPath]),S=(0,a.useMemo)(()=>({EXPLORE:U.bw.EXPLORE,ORDER:U.bw.VIEW_ORDERS,INVESTMENTS:U.bw.INVESTMENT,HOLDINGS:U.bw.HOLDINGS}),[]),m=(0,a.useMemo)(()=>{if(tj.uk.some(e=>s.asPath.startsWith(e())))return!0;let e=s.asPath.split("/").filter(Boolean),t=e[e.length-1]||"";return!Object.values(S).some(e=>e.split("/").pop()===t)},[s.asPath,S]),A=(0,a.useMemo)(()=>{let e=(0,I.x3)(s.asPath);return tj.Q1[e]||tj.E6.DEFAULT},[s.asPath]),v=(0,a.useMemo)(()=>{let e=(0,I.x3)(s.asPath);return tj.eq[e]||tj.mv.DEFAULT},[s.asPath]),b=(0,a.useMemo)(()=>(0,to.X0)({title:A,desc:v,noIndex:!0,routeName:s.asPath},"https://groww.in"),[A,v,s.asPath]),{globalSearchProps:T}=tA(),y=(0,a.useMemo)(()=>!(null==r?void 0:r.hideGlobalSearch)&&!s.asPath.includes(U.bw.SEARCH)&&(0,i.jsx)(eD,{isPrimeUser:l,...T}),[s.asPath,l,T,r]),O=(0,a.useCallback)(e=>{if((0,I.x3)(s.asPath)===tj.ce[e])return;let t=d(e);switch(e){case"stocks":(0,P.s)(e,ed.A.NewHeaderStocksClick);break;case"fno":(0,P.s)(e,ed.A.NewHeaderFNOClick);break;case"mf":(0,P.s)(e,ed.A.NewHeaderMFClick);break;case"usStocks":(0,P.s)(e,ed.A.NewHeaderUSStocksClick);break;case"gold":(0,P.s)(e,ed.A.NewHeaderGoldClick);break;case"fd":(0,P.s)(e,ed.A.NewHeaderFdClick)}s.push(t)},[s,d]),{userData:w}=(0,e9.Ss)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:e1()("valign-wrapper","vspace-between",tW().headerContainer),children:[t,(0,i.jsxs)("div",{className:"valign-wrapper",children:[(0,i.jsx)(tG.A,{children:(0,i.jsx)(tv.A,{showShouldStories:!0})}),(0,i.jsx)(tX,{handleNavLinkClick:e=>O(e),currSearchId:_,getGoldDiscoveryStatus:()=>p,getFdDiscoveryStatus:()=>E,showDiscoveryOfUSStocks:ts.A})]}),(0,i.jsxs)("div",{className:"valign-wrapper",children:[g.show?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:e1()(tW().rightSideContainer,"absolute-center"),children:[(0,i.jsx)("div",{className:tW().hiddenSearchUI,children:y}),(0,i.jsx)("div",{className:"absolute-center",children:(0,i.jsx)(t1,{url:g.url})}),(0,i.jsx)("div",{className:"cur-po absolute-center",onClick:tQ.RW,children:(0,i.jsx)(()=>s.asPath.includes(U.bw.SEARCH)?(0,i.jsx)(i.Fragment,{}):(0,i.jsx)(e2.A,{}),{})})]})}):(0,i.jsx)("div",{className:tW().searchContainer,children:y}),(0,i.jsx)(tB,{userData:w})]})]}),m&&(0,i.jsx)(t$.A,{userData:w,NavigationComponent:(0,i.jsx)(tX,{handleNavLinkClick:e=>O(e),currSearchId:_,getGoldDiscoveryStatus:()=>p,getFdDiscoveryStatus:()=>E,showDiscoveryOfUSStocks:ts.A})}),n&&(0,i.jsx)(e8,{showPopup:n,onConsentGivenClick:o}),b]})});var t5=r(166624),t3=r.n(t5);let t4=null,t6=null,t7=0,t8=()=>{},t9=(0,a.memo)(e=>{let{showBorder:t,onSuccessEvents:n,showHeader:s,headerClassName:l}=e,[c,d]=(0,a.useState)((0,J.N)()),[h,p]=(0,a.useState)(!1),E=(0,o.wA)(),{isFetched:_}=(0,o.d4)((0,Y.C)()),{handleLoginButtonClick:g,handleAllLoginPopupClose:S,openLoginPinPopup:m}=(0,V.A)();(0,a.useEffect)(()=>{let e=e=>{var t,r;E((0,q.oR)(null!==(r=null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.data)&&void 0!==r?r:{}))};return(0,W.B)(X.yV.GROWW_LITE_GLOBAL_MSG_BOARD,e),(0,K.qu)({isAuthenticated:(0,J.N)(),is2FAAuthenticated:(0,J.N)(!0)}),()=>{(0,W.D)(X.yV.GROWW_LITE_GLOBAL_MSG_BOARD,e)}},[]),(0,en.A)(()=>{new RegExp($.join("|")).test(window.location.href)&&c||(0,J.N)(!0)||t4||(t4=f()(()=>Promise.all([r.e(26820),r.e(51239),r.e(96989),r.e(5125),r.e(25317)]).then(r.bind(r,89506)),{loadableGenerated:{webpack:()=>[89506]},loading:()=>null})),c||t6||(t6=f()(()=>Promise.all([r.e(51239),r.e(57056)]).then(r.bind(r,356948)),{loadableGenerated:{webpack:()=>[356948]},loading:()=>null}))},[c]),(0,en.A)(()=>{let e=(0,R.wS)()===X.zG.DARK;return(0,W.B)(X.yV.OPEN_LOGIN_POPUP,y),(0,W.B)(X.yV.UPDATE_HEADER,A),(0,W.B)(X.yV.OPEN_PIN_POPUP,b),(0,W.B)(X.yV.THEME_CHANGE,v),E((0,q.jZ)(e)),()=>{(0,W.D)(X.yV.OPEN_LOGIN_POPUP,y),(0,W.D)(X.yV.UPDATE_HEADER,A),(0,W.D)(X.yV.OPEN_PIN_POPUP,b),(0,W.D)(X.yV.THEME_CHANGE,v)}},[_]),(0,a.useEffect)(()=>{t4&&p(!0)},[t4]),(0,a.useEffect)(()=>{let e=(0,J.N)();c!==e&&d(e)}),(0,a.useEffect)(()=>A(),[s,c]);let A=(0,a.useCallback)(()=>{let e=(0,J.N)();e&&s&&(O(),(0,z.g7)(),E((0,ee.BH)(0,5)),_||Promise.all([r.e(57264),r.e(95039)]).then(r.bind(r,130627)).then(e=>{let{getCartItemsV2:t}=e;return E(t())}).catch(()=>{})),c||E((0,q.jZ)(!1)),d(e)},[s,E,_]),v=e=>{var t,r;if(!(0,J.N)())return;let n=(null==e?void 0:null===(r=e.target)||void 0===r?void 0:null===(t=r.dataset)||void 0===t?void 0:t.theme)===X.zG.DARK;E((0,q.jZ)(n))},b=e=>{var t;let r=null===(t=e.detail)||void 0===t?void 0:t.isForgotPin;t4&&m(r)},T=(0,a.useCallback)(()=>{A(),n.is2FAEvent&&(0,W.C)(X.yV.TWO_FA_SUCCESS)},[A,n.is2FAEvent]),y=e=>{"Login"===e?(0,P.s)(Q.A.PostSignup,et.A.SignInClick):"Register"===e&&(0,P.s)(Q.A.PostSignup,et.A.SignUpClick),t4?g():t7<10&&setTimeout(function(){t7++,y(e)},1e3)},O=()=>{(0,er.ux)().then(e=>{var t;let r=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.users;Array.isArray(r)&&r.length>1&&E((0,q.$w)(!0))}).catch(e=>{console.error(e)})},w=(0,a.useCallback)(()=>{let{isLoggedInEvent:e}=n;if(t4&&S(),A(),e)(0,W.C)(X.yV.LOGIN_SUCCESS);else{var t;(null===(t=window)||void 0===t?void 0:t.isNewUser)?(u().push(U.bw.ONBOARDING),delete window.isNewUser):(0,er.Ox)(u(),()=>u().push((0,Z.ZA)()))}},[t4,A,u(),S]),C=(0,a.useMemo)(()=>h?(0,i.jsx)(t4,{updateHeader:A,onLoginSuccess:w,alreadyLoggedIn:t8,on2FASuccessCallback:T}):null,[A,w,t8,T,h]);return s?c?(0,i.jsx)("div",{className:l,children:(0,i.jsx)(t2,{loginPopupNode:C})}):(0,i.jsxs)("div",{className:"".concat(l," ").concat(t3().headerContainer," bgHeader"),children:[(0,i.jsx)(eJ,{showBorder:t,loginPopupNode:C,onLoginButtonClick:y}
15),t6&&(0,i.jsx)(t6,{onLoginSuccess:w})]}):null});var re=r(789991),rt=r(965508);let rr="groww-remote-config-script",rn=()=>{let e=(0,o.wA)(),t=()=>{webRemoteData&&e((0,rt.YO)(webRemoteData))},r=()=>{e((0,rt.Xq)())},n=()=>{let e=eG.n4.REMOTE_CONFIG_UAT;return eG.n4.REMOTE_CONFIG_PROD},i=()=>{try{if("undefined"==typeof document||document.getElementById(rr))return;let e=n();if(e){let n=(0,re.h)(1,1e8),i=document.createElement("script");i.id=rr,i.type="application/javascript",i.async=!0,i.defer=!0,i.src=e+"?v=".concat(n),i.onload=t,i.onerror=r,document.body.appendChild(i)}}catch(e){console.error("Failed loading rc",e)}};return(0,en.A)(()=>{i()},[]),null};var ri=r(971100);let ra=()=>{let{userData:e}=(0,e9.Ss)(),{user_account_id:t,email_id:r,first_name:n}=e||{},a=()=>{try{(0,W.a)(e)||((0,_.Fh)({emailId:null!=r?r:"",userAccountId:null!=t?t:"",userName:null!=n?n:""}),setTimeout(()=>{(0,O.pT)({userId:null!=t?t:""})},500))}catch(e){console.error(e)}};return(0,en.A)(()=>{a()},[t,r,n]),(0,i.jsx)(i.Fragment,{})};var ro=r(990104);r(741272);let rs=f()(()=>Promise.all([r.e(67014),r.e(87241),r.e(30957)]).then(r.bind(r,30957)),{loadableGenerated:{webpack:()=>[30957]},ssr:!1});Promise.all([r.e(37373),r.e(50585)]).then(r.bind(r,455398)).catch(()=>{});let rl=(0,D.i)(),rc={showHeader:!0,showBorder:!0,headerClassName:"",onSuccessEvents:{isLoggedInEvent:!1,is2FAEvent:!0}},ru=(0,j.Fz)({}),rd=(0,T.GM)(ru);class rf extends l(){componentDidMount(){this.setState({isClient:!0}),ri.v.initialiseThemeBroadcastChannel(this.checkThemeOnVisibilityChange),(0,R.F8)(),this.toggleToCurrentTheme(),this.logVersion(),this.setRefreshPageTimerInternal(),(0,_.EZ)((0,R.Gn)()),(0,O.eD)((0,R.u0)()),M(),u().events.on("routeChangeComplete",M),(0,F._7)("web-desktop"),(0,x.lH)(this.props.router.pathname),u().events.on("routeChangeStart",x.lt),u().events.on("routeChangeComplete",this.handleRouteChangeComplete)}componentDidUpdate(){this.toggleToCurrentTheme()}componentDidCatch(e){(0,E.Cp)(e)}componentWillUnmount(){ri.v.detachFromThemeBroadcastChannel(this.checkThemeOnVisibilityChange),u().events.off("routeChangeComplete",M),u().events.off("routeChangeStart",x.lt),u().events.off("routeChangeComplete",this.handleRouteChangeComplete)}renderWrapper(){let{Component:e,pageProps:t}=this.props,r=this.getHeaderConfig();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(G,{}),(0,i.jsx)(ra,{}),(0,i.jsx)(rn,{}),e.disableRouteLoader?null:(0,i.jsx)(y,{}),e.enableWebStories?(0,i.jsx)(N.e,{Component:e,props:t}):(0,i.jsxs)("div",{id:"root",children:[(0,i.jsx)(t9,{...r}),(0,i.jsx)(N.e,{Component:e,props:t}),(0,i.jsx)(rs,{})]}),(0,i.jsx)(C.T,{})]})}renderHeadTags(){return(0,i.jsxs)(p(),{children:[(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1"}),(0,i.jsx)("link",{rel:"icon",href:"/favicon32x32-groww.ico"})]})}render(){let{router:e}=this.props,t=(null==e?void 0:e.pathname)&&B.some(t=>e.pathname.startsWith(t)),r=this.renderWrapper();return(0,i.jsxs)(i.Fragment,{children:[this.renderHeadTags(),(0,i.jsx)(o.Kq,{store:ru,children:this.state.isClient&&!t?(0,i.jsx)(b,{loading:r,persistor:rd,children:r}):r})]})}constructor(e){super(e),this.state={isClient:!1},this.getHeaderConfig=()=>{var e;let{Component:t}=this.props,r=null!==(e=t.headerConfig)&&void 0!==e?e:{};return{...rc,...{...r,onSuccessEvents:{...rc.onSuccessEvents,...r.onSuccessEvents}}}},this.toggleToCurrentTheme=async()=>{let e=await (0,I.j1)();(0,I.cL)(e)},this.handleRouteChangeComplete=()=>{(0,x.ul)(this.props.router.pathname)},this.checkThemeOnVisibilityChange=()=>{let e=(0,R.wS)();(0,I.cL)(e)},this.setRefreshPageTimerInternal=()=>{setInterval(function(){window.location.reload()},288e5)},this.logVersion=()=>{console.log("%c ".concat(" ..:---====---:..\n :-==================-:\n .-========================-.\n .-============================-.\n :================================:\n -================================-:.\n :===============================-:....\n.==============================-:...:::\n-============================-:...:::::.\n==========-:--=============-:...::::::::\n=======-:......::--======-:...::::::---:\n-==--:.....::::.....:::-:...::::::-----:\n.-:.....::::::::::::......::::::-------.\n ....:::::::::::::::::::::::::--------:\n .::::::::----:::::::::::::---------:\n .::::------------::::::----------:\n :-----------------------------.\n .:------------------------:.\n .:------------------:.\n .::--------::.\n"),"font-size: 10px; line-height: 0.4;"),console.info("%c Desktop Version : ".concat(rl),"font-size: 12px;font-family: monospace;background: white;display: inline-block;color: black;padding: 8px 19px;border: 1px dashed;")},(0,I.ol)(),(0,w.nB)()}}let rh=e=>((0,ro.L)(),(0,i.jsx)(rf,{...e}))},594978:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});let n={isError:!1,isFetching:!1,isRefreshingSipValue:!1,sipDetail:null,sipDetailPreviousOrders:{pastOrders:[],lastFetchedOrderId:"",isFetching:!0,isFetchError:!1,hasMoreOrders:!1,count:0,page:0,isMoreOrdersFetching:!1,isMoreOrdersFetchError:!1}}},598494:(e,t,r)=>{"use strict";r.d(t,{A:()=>
15o});var n,i=new Uint8Array(16),a=r(380007);let o=function(e,t,r){var o=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0;for(var s=0;s<16;++s)t[r+s]=o[s];return t}return(0,a.A)(o)}},598610:()=>{},603183:(e,t,r)=>{"use strict";r.d(t,{NW:()=>u,KK:()=>s});class n{closeDB(){var e;null===(e=this.db)||void 0===e||e.close()}async set(e){return this.runRequest("readwrite",t=>t.add(e))}async get(e){return this.runRequest("readonly",t=>t.get(e))}async put(e){return this.runRequest("readwrite",t=>t.put(e))}async getAll(){return this.runRequest("readonly",e=>e.getAll())}async delete(e){return this.runRequest("readwrite",t=>t.delete(e),e=>e.readyState)}async clear(){await this.runRequest("readwrite",e=>e.clear())}async runRequest(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e.result,n=await this.openDatabaseWithStore();return new Promise((i,a)=>{let o,s=!1,l=e=>{s||(s=!0,n.close(),e())};try{let s=n.transaction([this.storeName],e),c=t(s.objectStore(this.storeName));c.onsuccess=()=>{o=r(c)},c.onerror=()=>{l(()=>{var e;return a(null!==(e=c.error)&&void 0!==e?e:c.result)})},s.oncomplete=()=>{l(()=>i(o))},s.onerror=()=>{l(()=>{var e;return a(null!==(e=s.error)&&void 0!==e?e:c.error)})},s.onabort=()=>{l(()=>{var e;return a(null!==(e=s.error)&&void 0!==e?e:c.error)})}}catch(e){l(()=>a(e))}})}async openDatabaseWithStore(){let e=await this.openDatabase();if(e.objectStoreNames.contains(this.storeName)||(e=await this.createMissingStore(e)),!e.objectStoreNames.contains(this.storeName))throw e.close(),Error("Object store ".concat(this.storeName," does not exist"));return e}openDatabase(){return this.closeDB(),new Promise((e,t)=>{if(!window.indexedDB){t(Error("IndexedDB not found in Browser."));return}let r=window.indexedDB.open(this.dbName);r.onsuccess=t=>{this.db=t.target.result,e(this.db)},r.onerror=()=>{var e;t(null!==(e=r.error)&&void 0!==e?e:Error("Error opening database"))}})}createMissingStore(e){let t=e.version;return e.close(),new Promise((e,r)=>{let n=window.indexedDB.open(this.dbName,t+1);n.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName,{keyPath:this.keyPath})},n.onsuccess=t=>{this.db=t.target.result,e(this.db)},n.onerror=()=>{var e;r(null!==(e=n.error)&&void 0!==e?e:Error("Error creating object store"))},n.onblocked=()=>{r(Error("Object store ".concat(this.storeName," upgrade is blocked")))}})}constructor(e,t,r="key"){this.db=e,this.dbName=e.name,this.storeName=t,this.keyPath=r}}class i{getIndexedDBOpenRequest(e){let t=window.indexedDB;return t?t.open(e):null}async getStore(e,t){return new Promise((r,i)=>{let a=this.dbName,o=this.getIndexedDBOpenRequest(a);if(!o){i("IndexedDB not found in Browser.");return}o.onerror=function(e){i(e)},o.onsuccess=function(o){let s=o.target.result;if(s.objectStoreNames.contains(e)){r(new n(s,e,t));return}let l=s.version;s.close();let c=indexedDB.open(a,l+1);c.onupgradeneeded=function(r){let n=r.target.result;n.objectStoreNames.contains(e)||n.createObjectStore(e,{keyPath:t})},c.onsuccess=function(i){let a=i.target.result;a.close(),r(new n(a,e,t))},c.onerror=function(e){i(e)}}})}async clearAllStores(){return new Promise((e,t)=>{let r=this.dbName,n=this.getIndexedDBOpenRequest(r);if(!n){t("IndexedDB not found in Browser.");return}n.onerror=function(){t("Error while opening the indexedDB.")},n.onsuccess=function(t){let r=t.target.result;for(let e=0;e<r.objectStoreNames.length;e++){let t=r.objectStoreNames[e];r.transaction([t],"readwrite").objectStore(t).clear()}r.close(),e(!0)}})}async deleteStore(e){return new Promise((t,r)=>{let n=this.dbName,i=this.getIndexedDBOpenRequest(n);if(!i){r("IndexedDB not found in Browser.");return}i.onerror=function(e){r(e)},i.onsuccess=function(i){let a=i.target.result;if(a.objectStoreNames.contains(e)){let i=a.version;a.close();let o=indexedDB.open(n,i+1);o.onupgradeneeded=function(t){let r=t.target.result;r.objectStoreNames.contains(e)&&r.deleteObjectStore(e)},o.onsuccess=function(e){e.target.result.close(),t(!0)},o.onerror=function(e){r(e)}}}})}async deleteDB(){let e=window.indexedDB;e&&e.deleteDatabase(this.dbName)}async closeDb(){var e;null===this||void 0===this||null===(e=this.db)||void 0===e||e.close(),this.db=null}constructor(e){this.dbName=e}}var a=r(281457);let o=e=>new Promise(t=>setTimeout(t,e,null)),s=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;try{let n=new i(e);if(!r)return await n.getStore(t,"key");return await Promise.race([n.getStore(t,"key"),o(r)])}catch(e){return l()&&console.error(e),null}},l=()=>!0,c=e=>
15new Promise((t,r)=>{if(!l()||!("indexedDB"in window)){t();return}let n=window.indexedDB.deleteDatabase(e);n.onsuccess=()=>{t()},n.onerror=e=>{r(e.target.error)},n.onblocked=()=>{t()}}),u=async()=>{let e=Object.values(a.o).map(e=>c(e));await Promise.allSettled(e)}},605404:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",...t},n.createElement("path",{fill:"currentColor",d:"M10.001 1.042a8.958 8.958 0 1 1 0 17.916 8.958 8.958 0 0 1 0-17.916m0 1.25a7.708 7.708 0 1 0 0 15.416 7.708 7.708 0 0 0 0-15.416m0 2.5c.345 0 .625.28.625.625v.679c.516.09.99.29 1.372.578.533.402.92 1.005.92 1.721a.625.625 0 1 1-1.25 0c0-.238-.127-.5-.423-.723-.296-.224-.734-.38-1.244-.38s-.948.156-1.244.38c-.296.223-.423.485-.423.723 0 .323.094.476.251.584.207.143.625.272 1.416.272.87 0 1.648.124 2.222.507.627.418.903 1.069.903 1.847 0 .845-.403 1.474-1.03 1.86-.426.26-.937.402-1.47.46v.658a.625.625 0 0 1-1.25 0v-.671a3.6 3.6 0 0 1-1.498-.57c-.567-.393-1.002-.997-1.002-1.737a.625.625 0 0 1 1.25 0c0 .214.125.474.463.708.335.232.833.395 1.412.395.631 0 1.126-.115 1.44-.308.277-.17.435-.407.435-.795 0-.457-.14-.67-.347-.808-.26-.173-.732-.296-1.528-.296-.875 0-1.604-.133-2.126-.492-.572-.394-.79-.982-.79-1.614 0-.716.386-1.319.919-1.72a3.2 3.2 0 0 1 1.372-.58v-.678c0-.345.28-.625.625-.625"}))})},605566:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{GobblerCellPlacementUpdateEvent:()=>p,protobufPackage:()=>h}),e.exports=c(i({},"__esModule",{value:!0}),u);var d=((e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(225615)),f=r(916595);let h="com.groww.ems",p={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.Writer.create();return void 0!==e.clientAction&&t.uint32(10).string(e.clientAction),void 0!==e.xSecondaryTarget&&t.uint32(18).string(e.xSecondaryTarget),void 0!==e.cellUpdateEventPayload&&f.cellUpdateEventPayload.encode(e.cellUpdateEventPayload,t.uint32(26).fork()).ldelim(),void 0!==e.xTargetVersion&&t.uint32(34).string(e.xTargetVersion),void 0!==e.xPrimaryTarget&&t.uint32(42).string(e.xPrimaryTarget),t},decode(e,t){let r=e instanceof d.default.Reader?e:d.default.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={clientAction:void 0,xSecondaryTarget:void 0,cellUpdateEventPayload:void 0,xTargetVersion:void 0,xPrimaryTarget:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.clientAction=r.string();continue;case 2:if(18!==e)break;i.xSecondaryTarget=r.string();continue;case 3:if(26!==e)break;i.cellUpdateEventPayload=f.cellUpdateEventPayload.decode(r,r.uint32());continue;case 4:if(34!==e)break;i.xTargetVersion=r.string();continue;case 5:if(42!==e)break;i.xPrimaryTarget=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}}},608667:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var n=r(986594),i=r(407178),a=r(132978),o=r(689940),s=r(647005),l=r(761711),c=r.n(l),u=r(185055),d=r(316110),f=r(744620),h=r(564763),p=r.n(h);let E=new Map,_=new Map,g=e=>{let{lottieUrlLight:t,lottieUrlDark:r,shouldAnimate:a,size:o=24}=e,[s,l]=(0,i.useState)(null),[h,g]=(0,i.useState)(null),S=(0,d.A)(),m=async(e,t)=>{if(!e)return;if(E.has(e)){t(E.get(e));return}if(_.has(e)){t(await _.get(e));return}let r=fetch(e).then(e=>{if(!e.ok)throw Error("Failed to fetch lottie: ".concat(e.status));return e.json()}).then(t=>(E.set(e,t),_.delete(e),t)).catch(t=>(console.error("Error loading lottie:",t),_.delete(e),null));_.set(e,r);try{let e=await r;e&&t(e)}catch(e){}};(0,i.useEffect)(()=>{let e=!1;return t&&m(t,t=>{e||l(t)}),()=>{e=!0}},[t]),(0,i.useEffect)(()=>{let e=!1;return r&&m(r,t=>{e||g(t)}),()=>{e=!0}},[r]);let A=(0,i.useMemo)(()=>
15S===f.zG.DARK?h:s,[S,h,s]);return A?(0,n.jsxs)("div",{className:c()("valign-wrapper",p().container),style:{width:o,height:o},children:[(0,n.jsx)("div",{className:p().staticLayer,style:{opacity:+!a},children:(0,n.jsx)(u.A,{animation:A,autoplay:!1,loop:!1,width:o,height:o},"".concat(S,"-static"))}),(0,n.jsx)("div",{className:p().animatedLayer,style:{opacity:+!!a},children:(0,n.jsx)(u.A,{animation:A,autoplay:!0,loop:!0,width:o,height:o},"".concat(S,"-animated"))})]}):null};var S=r(508013),m=r.n(S);let A=s.aH.GROBOT_HAS_INTERACTED,v=e=>{let{source:t}=e,[r,l]=(0,i.useState)(!0),[u,d]=(0,i.useState)(!1),{hoistValue:f,isHoistLoading:h}=(0,o.Qt)([{hoistKey:"grobot-web-nav",defaultValue:{title:"",srclight:"",srcdark:"",enabled:!1,url:"",lottieUrlLight:"",lottieUrlDark:""}}]);(0,i.useEffect)(()=>{l("true"===(0,s.c7)(s.ZE.LOCAL_STORAGE,A,!1))},[]);let p=(0,i.useCallback)(()=>{let e=null==f?void 0:f["grobot-web-nav"];(null==e?void 0:e.url)&&(l(!0),(0,s.cT)(s.ZE.LOCAL_STORAGE,A,"true",!1),window.open((null==e?void 0:e.url)||""),(0,a.s)("GrobotDiscoveryClick",t))},[f,t]);if(h)return null;let E=null==f?void 0:f["grobot-web-nav"];return(null==E?void 0:E.enabled)?(0,n.jsx)("div",{className:c()("valign-wrapper cur-po",m().grobotIconContainer),onClick:p,onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1),title:E.title,children:(0,n.jsx)(g,{lottieUrlLight:E.lottieUrlLight,lottieUrlDark:E.lottieUrlDark,shouldAnimate:u||!r})}):null}},608680:e=>{e.exports=function(e){var t=void 0;t="string"==typeof e?[e]:e.raw;for(var r=[],n=0;n<t.length;n++)r.push(t[n].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`")),n<(arguments.length<=1?0:arguments.length-1)&&r.push(arguments.length<=n+1?void 0:arguments[n+1]);var i=r.join("").trim().split("\n");return i.reduce(function(e,t,r){var n=t.trim();return e.length>0&&""===n&&"\n"===e[e.length]||(""===n?(e.push(e.pop().slice(0,-1)),e.push("\n")):e.push(""+String(n)+(r!==i.length-1?" ":""))),e}
15,[]).join("").trim().replace(/\\n/g,"\n")}},613118:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/i.036cf0ad.svg",height:135,width:135,blurWidth:0,blurHeight:0}},614844:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});let n={data:{},error:!1}},616758:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/a.ace99ac4.svg",height:135,width:135,blurWidth:0,blurHeight:0}},618504:(e,t,r)=>{"use strict";function n(e,t){var r,n;let{NSE:i,BSE:a}=(null==e?void 0:null===(r=e.positionInfo)||void 0===r?void 0:r.exchangePosition)||{},{NSE:o,BSE:s}=(null==t?void 0:null===(n=t.positionInfo)||void 0===n?void 0:n.exchangePosition)||{},l=((null==i?void 0:i.updatedAt)||0)>((null==a?void 0:a.updatedAt)||0)?(null==i?void 0:i.updatedAt)||0:(null==a?void 0:a.updatedAt)||0;return(((null==o?void 0:o.updatedAt)||0)>((null==s?void 0:s.updatedAt)||0)?(null==o?void 0:o.updatedAt)||0:(null==s?void 0:s.updatedAt)||0)-l}r.d(t,{w:()=>i});let i=e=>{let t=e.filter(e=>0===e.positionInfo.netQuantity).sort(n);return[...e.filter(e=>0!==e.positionInfo.netQuantity).sort(n),...t]}},620513:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s});var n=r(642803),i=r(782456),a=r(202450);let o={equityDistribution:{...i.e8I,data:{}},categoryDistribution:{...i.e8I,data:[]},elssFunds:{...i.e8I,data:{}},capitalGains:{...i.e8I,data:{}},toggleCategoryDistConfig:{columnName:"none",order:i.bLx.HIGH_TO_LOW},categoryDistRightSideAction:{action:i.qPc.EMPTY_STATE,selectedScheme:{}},selectedPageTab:0};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case a.L.SORT_SCHEMES:var s=e,l=t;let{payload:c}=l,{toggleCategoryDistConfig:u}=s;return{...s,toggleCategoryDistConfig:{columnName:c.data,order:u.order===i.bLx.HIGH_TO_LOW?i.bLx.LOW_TO_HIGH:i.bLx.HIGH_TO_LOW}};case a.L.UPDATE_RIGHT_SIDE_ACTION:var d=e,f=t;let{payload:h}=f;return{...d,categoryDistRightSideAction:null==h?void 0:h.data};case a.L.GET_CATEGORY_DISTRIBUTION_DATA:var p=e,E=t;let{payload:_}=E;return(0,n.handle)(p,E,{start:e=>({...e,categoryDistribution:{...e.categoryDistribution,hasError:!1,hasLoading:!0}}),success:e=>{var t;return{...e,categoryDistribution:{data:null!==(t=null==_?void 0:_.data)&&void 0!==t?t:{},hasError:!1,hasLoading:!1}}},failure:e=>({...e,categoryDistribution:{...e.categoryDistribution,hasError:!0,hasLoading:!1}})});case a.L.GET_EQUITY_DISTRIBUTION_DATA:var g=e,S=t;let{payload:m}=S;return(0,n.handle)(g,S,{start:e=>({...e,equityDistribution:{...e.equityDistribution,hasError:!1,hasLoading:!0}}),success:e=>{var t;return{...e,equityDistribution:{data:null!==(t=null==m?void 0:m.data)&&void 0!==t?t:{},hasError:!1,hasLoading:!1}}},failure:e=>({...e,equityDistribution:{...e.equityDistribution,hasError:!0,hasLoading:!1}})});case a.L.GET_ELSS_FUNDS_DATA:var A=e,v=t;let{payload:b}=v;return(0,n.handle)(A,v,{start:e=>({...e,elssFunds:{...e.elssFunds,hasError:!1,hasLoading:!0}}),success:e=>{var t;return{...e,elssFunds:{data:null!==(t=null==b?void 0:b.data)&&void 0!==t?t:{},hasError:!1,hasLoading:!1}}},failure:e=>({...e,elssFunds:{...e.elssFunds,hasError:!0,hasLoading:!1}})});case a.L.GET_CAPITAL_GAINS_DATA:var T=e,y=t;let{payload:O}=y;return(0,n.handle)(T,y,{start:e=>({...e,capitalGains:{...e.capitalGains,hasError:!1,hasLoading:!0}}),success:e=>{var t;return{...e,capitalGains:{data:null!==(t=null==O?void 0:O.data)&&void 0!==t?t:{},hasError:!1,hasLoading:!1}}},failure:e=>({...e,capitalGains:{...e.capitalGains,hasError:!0,hasLoading:!1}})});case a.L.TAB_SWITCH:var w=e,C=t;let{payload:I}=C;return{...w,selectedPageTab:null==I?void 0:I.data};default:return e}}},621023:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/d.19cb47bf.svg",height:135,width:135,blurWidth:0,blurHeight:0}},625185:(e,t,r)=>{"use strict";r.d(t,{$k:()=>H,DQ:()=>Y,EW:()=>d,Ed:()=>j,G3:()=>f,Gf:()=>M,Gn:()=>o,H1:()=>m,H9:()=>c,Hi:()=>v,IO:()=>k,JM:()=>C,K_:()=>P,M6:()=>y,Nf:()=>F,O7:()=>T,Qj:()=>_,RM:()=>N,W7:()=>S,Xc:()=>V,Zj:()=>G,_p:()=>B,aN:()=>R,ak:()=>D,ay:()=>u,cX:()=>W,dy:()=>E,e1:()=>x,gT:()=>A,gj:()=>O,hJ:()=>a,il:()=>i,j8:()=>s,kO:()=>I,ky:()=>L,mF:()=>h,nl:()=>p,oM:()=>K,q3:()=>w,qX:()=>g,rA:()=>q,t2:()=>U,wt:()=>l,y:()=>b});var n=r(454532);let i={INDIVIDUAL:"INDIVIDUAL",HUF:"HUF",MINOR:"MINOR",NRI:"NRI",OCI:"OCI"},a={VPA:"VPA",UPI:"UPI",NB:"NB",NEFT:"NEFT",OCP:"OCP",PVM:"PAY_VIA_MANDATE"},o={UPI:"UPI",UPI_AUTOPAY:"UPI_AUTOPAY",NB:"NET_BANKING",NEFT:"BANK_TRANSFER",PVM:"PAY_VIA_MANDATE",QR:"QR"},s={INIT:"INITIATED",SUCC:"COMPLETED",FAIL:"FAILED",CANCEL:"CANCELLED",PENDING:"PENDING",SUCCESS:"SUCCESS"},l={TXN_STATUS_CHANNEL_SUBSCRIBED:"TXN_STATUS_CHANNEL_SUBSCRIBED",TXN_COMPLETE:"TXN_COMPLETE",WINDOW_CLOSED:"WINDOW_CLOSED",API_FAILED:"API_FAILED",ORDER_API_FAILED:"ORDER_API_FAILED",WAIT_CHANNEL_SUBSCRIBED:"WAIT_CHANNEL_SUBSCRIBED"},c={CART:"CART",STOCKS:"STOCKS",PRODUCT:"PRODUCT",WALLET:"WALLET",FIXED_DEPOSIT:"FIXED_DEPOSIT",GOLD:"GOLD",MUTUAL_FUND:"MUTUAL_FUND",ONBOARDING:"ONBOARDING",MUTUAL_FUNDS:"MUTUAL_FUND"},u={INR:"INR",DOLLAR:"DOLLAR"};n.bw.USER,n.bw.PAYMENTS,n.bw.TXN_INFO,n.bw.USER,n.bw.PAYMENTS,n.bw.TXN_INFO;let d={RAZORPAY:"RAZORPAY",PAYU:"PAYU",AXISBANK:"AXISBANK",ICICIBANK:"ICICIBANK",SBIBANK:"SBIBANK",HDFCBANK:"HDFCBANK"};d.PAYU,d.AXISBANK,d.SBIBANK,d.ICICIBANK,d.HDFCBANK;let f={CONFIRMED:"Confirmed",INITIATED:"Initiated",COMPLETED:"Complete",PENDING:"Pending",FAILED:"Failed",HOLD:"Hold"},h={CONFIRMED:"CONFIRMED",INITIATED:"INITIATED",COMPLETED:"COMPLETED",PENDING:"PENDING",FAILED:"FAILED",HOLD:"HOLD"},p={CREDIT:"Credit",DEBIT:"Debit",HOLD:"Hold"},E={CREDIT:"CREDIT",DEBIT:"DEBIT",HOLD:"HOLD"},_="DD MMM YYYY, hh:mm A",g={DIGIO_API:"DIGIO_API",DIGIO_PHYSICAL:"DIGIO_PHYSICAL",X:"X",I:"I",N:"N",UPI_AUTOPAY:"UPI_AUTOPAY"},S={APPROVED:"APPROVED",CREATED:"CREATED",REJECTED:"REJECTED",REGIST
15ER_BY_MEMBER:"REGISTERED BY MEMBER",RECEIVED_BY_EXCHANGE:"RECEIVED BY EXCHANGE",UNDER_PROCESS:"UNDER_PROCESS",SENT_TO_BANK:"SENT_TO_BANK"},m={INITIATED:"INITIATED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},A={PENNYDROP_AUTO:"PENNYDROP_AUTO",DOCUMENT:"DOCUMENT"},v=8,b={G_PAY:["@okaxis","@okhdfcbank","@okicici","@oksbi"],PHONE_PE:["@ybl","@ibl","@axl"],PAYTM:["@paytm","@ptsbi","@ptyes","@pthdfc","@ptyes","@ptaxis"],GROWW:["@yesg"]},T={G_PAY:"https://resources.groww.in/web-assets/img/payment/google_pay.png",PHONE_PE:"https://resources.groww.in/web-assets/img/payment/phonePe.png",PAYTM:"https://resources.groww.in/web-assets/img/payment/paytm.png",GROWW:"https://resources.groww.in/web-assets/img/payment/groww_upi.png"},y={WAITING:"WAITING",FAILURE:"FAILURE"},O={WAITING:"Connecting to Payment Gateway..",FAILURE:"Oops! There was an issue while initiating payment"},w={WAITING:"Please wait while your payment is being initiated.",FAILURE:"You will be redirected back to where it all started within a few seconds."},C=1e5,I={PRE_INVOKE_VERIFICATION:"PRE_INVOKE_VERIFICATION"},R={ONBOARDING:"ONBOARDING",WITHDRAW:"WITHDRAW"},N={ALL_MANDATES:"ALL_MANDATES",APPROVED_MANDATES:"APPROVED_MANDATES",BSE_MANDATES:"BSE_MANDATES",GROWW_MANDATES:"ALL_GROWW_MANDATES",STB_GROWW_MANDATES:"STB_MANDATES",CREATED_GROWW_MANDATES:"CREATED_MANDATES",APPROVED_GROWW_MANDATE:"APPROVED_MANDATE",STB_MANDATES:"STB_MANDATES",APPROVED_BSE:"APPROVED_BSE",STB_BSE:"STB_BSE",UPI_MANDATE:"UPI_MANDATE"},D={Deposit:"DEPOSIT",Withdraw:"WITHDRAW",Stocks:"STOCKS_SETTLEMENT",FnO:"FNO_SETTLEMENT",Others:"OTHERS"},P={Deposit:"DEPOSIT",Withdraw:"WITHDRAW",Stocks:"STOCKS_SETTLEMENT",Others:"OTHERS"},L={DEPOSIT:"Add Money",WITHDRAW:"Release Money",STOCKS_SETTLEMENT:"Stocks",OTHERS:"Other"};new Date().getTime();let k={ledgerFilterOptions:[],transactionState:"COMPLETED"},M={ledgerFilterOptions:[],transactionStates:[h.PENDING,h.COMPLETED]},F={GB:"GB",ASBA:"ASBA"},x={ASBA:"UPI mandate",GB:"Groww balance"},U="IFSC_EDIT",B=["STOCKS_DP_CHARGES","GENERIC_EXPENSE_STOCKS_MIS","GENERIC_EXPENSE_STOCKS_SMALLCASE","RECEIPT","EXPENSE","HOLD"];c.GOLD,c.MUTUAL_FUNDS,c.FIXED_DEPOSIT;let H={PAYMENT:"PAYMENT"},G={HNS:"HNS",PAYMENTS:"PAYMENTS"},j={INR:"INR",USD:"USD"};n.bw.USER,n.bw.WALLET,n.bw.INR_BALANCE,n.bw.TO_BE_CREDITED;let V={GROWW:T.GROWW,GPAY:T.G_PAY,PHONE_PE:T.PHONE_PE},K={fnoMarginUsed:0,spanMargin:0,exposureMargin:0,physicalDeliveryMargin:0,optionPremiumPaid:0,optionPremiumReceived:0,futureBalanceAvl:0,optionBuyBalanceAvl:0,optionSellBalanceAvl:0,commodityMcxOptionBuyBalanceAvl:0,commodityNseOptionBuyBalanceAvl:0,commodityOptionSellBalanceAvl:0,commodityFutureBalanceAvl:0},W={STOCKS:"STOCKS"},Y={ORDER:"ORDER",GB:"GB",PAYOUT:"PAYOUT"},q={min_amount:100,max_amount:9e6}},625697:(e,t,r)=>{"use strict";r.d(t,{AD:()=>d,SB:()=>s,hH:()=>l,ul:()=>u});var n=r(730884),i=r(779126);let a=/^o(\d+)\./,o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e,t=!1){let{host:r,path:n,pass:i,port:a,projectId:o,protocol:l,publicKey:c}=e;return`${l}://${c}${t&&i?`:${i}`:""}@${r}${a?`:${a}`:""}/${n?`${n}/`:n}${o}`}function l(e){let t=o.exec(e);if(!t){(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[r,n,a="",s="",l="",u=""]=t.slice(1),d="",f=u,h=f.split("/");if(h.length>1&&(d=h.slice(0,-1).join("/"),f=h.pop()),f){let e=f.match(/^\d+/);e&&(f=e[0])}return c({host:s,pass:a,path:d,projectId:f,port:l,protocol:r,publicKey:n})}function c(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function u(e){let t,r=e.getOptions(),{host:n}=e.getDsn()||{};return r.orgId?t=String(r.orgId):n&&(t=function(e){let t=e.match(a);return t?.[1]}(n)),t}function d(e){let t="string"==typeof e?l(e):c(e);if(t&&function(e){if(!n.T)return!0;let{port:t,projectId:r,protocol:a}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.Yz.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==a&&"https"!==a?(i.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):!(t&&isNaN(parseInt(t,10)))||(i.Yz.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},629935:(e,t)=>{"use strict";
15Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n,i;return t||(t=250),function(){var a=r||this,o=+new Date,s=arguments;n&&o<n+t?(clearTimeout(i),i=setTimeout(function(){n=o,e.apply(a,s)},t)):(n=o,e.apply(a,s))}}},630431:(e,t,r)=>{"use strict";r.d(t,{K:()=>i});var n=r(407178);let i=e=>{(0,n.useEffect)(()=>{let t=document.body.style.overflow;return e?document.body.style.overflow="hidden":document.body.style.overflow=t,()=>{document.body.style.overflow=t}},[e])}},630784:(e,t,r)=>{"use strict";r.d(t,{DB:()=>s,Et:()=>h,Fs:()=>v,Gf:()=>n,HD:()=>E,IJ:()=>d,K7:()=>g,L0:()=>m,NJ:()=>f,P3:()=>i,Q_:()=>u,Sx:()=>T,XQ:()=>_,Y2:()=>A,cm:()=>b,fh:()=>S,kF:()=>a,q:()=>l,qB:()=>c,zk:()=>o,zy:()=>p});let n="FETCH_AVAILABLE_TO_SELL",i="RESET_AVAILABLE_TO_SELL",a="INITIALISE_ORDER_DETAILS",o="GET_ORDER_STATUS",s="GET_GTT_ORDER_STATUS",l="FORCE_UPDATE_FNO_ORDER_SELECTION",c="GET_PRICE_AND_QTY_RANGE",u="GET_RAW_NEW_PRICE_AND_QTY_RANGE",d="UPDATE_NEW_PRICE_AND_QTY_RANGE",f="CLEAR_PRICE_AND_QTY_RANGE",h="PLACE_BASKET_ORDER",p="CLEAR_ORDER_STATUS_HOLDER",E="GET_MULTI_ORDER_STATUS",_="SET_ORDER_STATUS_POLLING",g="FNO_CANCEL_AND_EXIT_FLOW_IN_EXIT_ALL",S="CONVERT_TO_MARKET",m="UPDATE_ORDER_STATUS",A="BLOCK_SOCKET_UPDATE_SOURCE",v="UNBLOCK_SOCKET_UPDATE_SOURCE",b="GET_BULK_ORDER_STATUS",T="CLEAR_PRICE_AND_QTY_RANGE_CONFIG"},631870:e=>{e.exports={loggedinNavActions:"notificationUI_loggedinNavActions__d5cjW",loggedinNavActionsItem:"notificationUI_loggedinNavActionsItem__1xw_F",notificationAvailable:"notificationUI_notificationAvailable__npKqs",bellshake:"notificationUI_bellshake__Uh3po",loggedinNavActionsItemBadge:"notificationUI_loggedinNavActionsItemBadge__63_wf"}},634816:e=>{"use strict";function t(){this._listeners=Object.create(null)}e.exports=t,t.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners=Object.create(null);else if(void 0===t)this._listeners[e]=[];else{var r=this._listeners[e];if(!r)return this;for(var n=0;n<r.length;)r[n].fn===t?r.splice(n,1):++n}return this},t.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var r=[],n=1;n<arguments.length;)r.push(arguments[n++]);for(n=0;n<t.length;)t[n].fn.apply(t[n++].ctx,r)}return this}},635662:(e,t,r)=>{"use strict";r.d(t,{H:()=>o,L:()=>a});var n=r(569443),i=r.n(n);let a=(e,t,r)=>i()(r).startOf("day").add(e,"hours").add(t,"minutes").format("HH:mm:ss");function o(e,t){function r(e){let[t,r,n]=e.split(":").map(Number);return 3600*t+60*r+n}let n=r(e),i=Math.abs(r(t)-n);return isNaN(i)?null:i}},640521:(e,t,r)=>{"use strict";r.d(t,{a:()=>n,b:()=>i,c:()=>a,d:()=>o});var n={INR:"INR",USD:"USD"},i={INR:"â¹",DOLLAR:"$"},a=i.INR+"0",o="0.00"},640942:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",...t},n.createElement("g",{fill:"currentColor",clipPath:"url(#A)"},n.createElement("path",{d:"M12 22q-2.075 0-3.9-.788c-1.825-.788-2.275-1.237-3.175-2.137S3.313 17.117 2.788 15.9 2 13.383 2 12s.263-2.683.788-3.9 1.238-2.275 2.137-3.175S6.883 3.313 8.1 2.788 10.617 2 12 2s2.683.263 3.9.788 2.275 1.238 3.175 2.137 1.613 1.958 2.137 3.175S22 10.617 22 12s-.262 2.683-.788 3.9-1.237 2.275-2.137 3.175-1.958 1.613-3.175 2.137S13.383 22 12 22m0-2q3.35 0 5.675-2.325C20 15.35 20 14.233 20 12s-.775-4.125-2.325-5.675S14.233 4 12 4s-4.125.775-5.675 2.325S4 9.767 4 12s.775 4.125 2.325 5.675S9.767 20 12 20"}),n.createElement("path",{d:"M14.349 18h-1.194a.38.38 0 0 1-.251-.079.6.6 0 0 1-.142-.22l-2.074-4.054H8.409a.37.37 0 0 1-.251-.094.36.36 0 0 1-.11-.267v-.66q0-.158.11-.267c.11-.109.157-.11.251-.11h2.703q.424 0 .802-.141a1.54 1.54 0 0 0 .644-.471q.267-.33.33-.817h-4.51a.36.36 0 0 1-.267-.11.37.37 0 0 1-.094-.252v-.471q0-.141.094-.251a.36.36 0 0 1 .267-.11h4.51q-.078-.534-.346-.849a1.33 1.33 0 0 0-.628-.44 2.3 2.3 0 0 0-.802-.141h-2.75a.4.4 0 0 1-.267-.094A.4.4 0 0 1 8 7.833v-.456q0-.157.094-.267A.36.36 0 0 1 8.361 7h7.386q.11 0 .204.094a.24.24 0 0 1 .11.204v.597a.28.28 0 0 1-.11.22.32.32 0 0 1-.204.079h-1.948a2 2 0 0 1 .487.613q.189.361.267.817h1.194q.11 0 .204.094a.24.24 0 0 1 .11.204v.597a.28.28 0 0 1-.11.22.32.32 0 0 1-.204.079h-1.131q-.063.974-.581 1.697c-.518.723-.875.828-1.587 1.037l2.043 3.866.079.173a.35.35 0 0 1 .031.157q0 .252-.251.251z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"A"},n.createElement("path",{fill:"currentColor",d:"M0 0h24v24H0z"}))))})},641075:(e,t,r)=>{e.exports=r(77320)},642389:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=function(e){var t=(0,n.default)(e);return{getItem:function(e){return new Promise(function(r,n){r(t.getItem(e))})},setItem:function(e,r){return new Promise(function(n,i){n(t.setItem(e,r))})},removeItem:function(e){return new Promise(function(r,n){r(t.removeItem(e))})}}};
15var n=function(e){return e&&e.__esModule?e:{default:e}}(r(364355))},642803:(e,t,r)=>{var n=r(31134),i=o(r(181109)),a=o(r(807135));function o(e){return e&&e.__esModule?e:{default:e}}e.exports={middleware:i.default,handle:a.default,KEY:n.KEY,LIFECYCLE:n.LIFECYCLE}},647005:(e,t,r)=>{"use strict";r.d(t,{aH:()=>G.a,ZE:()=>W,j9:()=>ee,N1:()=>Z,BV:()=>I,c7:()=>Y,nB:()=>en,cT:()=>q,lM:()=>X});var n={PERSISTED:"PERSISTED",AUTH:"AUTH",OTHERS:"OTHERS"},i={LOCAL_STORAGE:"LOCAL_STORAGE",SESSION_STORAGE:"SESSION_STORAGE",COOKIE:"COOKIE",LOCAL_COOKIE_STORAGE:"LOCAL_COOKIE_STORAGE"},a="$$%&",o=r(712470),s=r.n(o);function l(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var c,u,d=function(e,t){return t+a+e},f=function(){return("undefined"==typeof localStorage?"undefined":l(localStorage))>"u"||null==localStorage||("undefined"==typeof sessionStorage?"undefined":l(sessionStorage))>"u"||null==sessionStorage||(void 0===s()?"undefined":l(s()))>"u"||null==s()};function h(){var e="__sessionStorageInstanceTest__";if(void 0!==u)return u;try{if(!sessionStorage)return!1}catch(e){return!1}try{E(e,e),_(e),u=!0}catch(e){u=!1}return u}function p(){return void 0===c&&(c=null!=window.JSON),c}function E(e,t){sessionStorage.removeItem(e),sessionStorage.setItem(e,t)}function _(e){sessionStorage.removeItem(e)}var g={set:function(e,t){if(!h()||!p())return!1;try{t=JSON.stringify(t)}catch(e){return!1}try{E(e,t)}catch(t){var r;return r="Could not add item with key '"+e+"'",!1}return!0},get:function(e){if(!h())return null;var t=sessionStorage.getItem(e);if(!t||!p())return t;try{return JSON.parse(t)}catch(e){return t}},remove:function(e){h()&&_(e)},clear:function(){h()&&sessionStorage.clear()}},S=r(951402);function m(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.OTHERS;if(f()||!B.supported())return null;var a=d(e,r);if(t===i.LOCAL_STORAGE)return B.get(a);if(t===i.SESSION_STORAGE)return g.get(e);if(t===i.COOKIE)return s().get(e)||"";if(t===i.LOCAL_COOKIE_STORAGE){var o=B.get(a);return(0,S.a)(o)&&(o=s().get(e)),o}return null}function A(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10080,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.OTHERS;if(f()||!B.supported())return"";a>20160&&o===n.OTHERS&&(a=20160);var l=d(e,o),c=a/60/24;i.COOKIE===r?s().set(e,t,{expires:c,path:"/",secure:!0}):i.SESSION_STORAGE===r?g.set(e,t):i.LOCAL_COOKIE_STORAGE===r?(B.set(l,t,a),s().set(e,t,{expires:c,path:"/",secure:!0})):B.set(l,t,a)}function v(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10080,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:n.OTHERS;if(f()||!B.supported())return"";a>20160&&o===n.OTHERS&&(a=20160);var l=d(e,o),c=a/60/24;i.COOKIE===r?s().set(e,t,{expires:c,path:"/",secure:!0,sameSite:"Strict"}):i.SESSION_STORAGE===r?g.set(e,t):i.LOCAL_COOKIE_STORAGE===r?(B.set(l,t,a),s().set(e,t,{expires:c,path:"/",secure:!0,sameSite:"Strict"})):B.set(l,t,a)}function b(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.OTHERS,a=d(e,r);t===i.COOKIE?s().remove(e,{path:"/"}):t===i.SESSION_STORAGE?g.remove(e):(t===i.LOCAL_COOKIE_STORAGE&&s().remove(e,{path:"/"}),B.remove(a))}function T(){O(n.AUTH),O(n.OTHERS),function(){for(var e=localStorage.length,t=e-1;t>=0;t--){var r=localStorage.key(t)||"";r.includes(a)||localStorage.removeItem(r)}}()}function y(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++)b(e[t].split("=")[0].trim(),i.COOKIE)}function O(e){for(var t=[],r=0;r<localStorage.length;r++){var n=localStorage.key(r)||"",o=n.includes(a)?n.split(a)[1]:n;(n.includes(a)?n.split(a)[0]:"No Bucket Associated!")!==e||o.includes("-exptime")||t.push(o)}t.forEach(function(t){b(t,i.LOCAL_STORAGE,e)})}var w,C,I=f,R="-exptime",N=!1;function D(){var e="__localStorageInstanceTest__";if(void 0!==C)return C;try{if(!localStorage)return!1}catch(e){return!1}try{F(e,e),x(e),C=!0}catch(e){C=!!P(e)&&!!localStorage.length}return C}function P(e){return e&&(22===e.code||1014===e.code||"QUOTA_EXCEEDED_ERR"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name||"QuotaExceededError"===e.name)}function L(){return void 0===w&&(w=null!=window.JSON),w}function k(){return Math.floor(new Date().getTime()/6e4)}function M(e){return localStorage.getItem(e)}function F(e,t){localStorage.removeItem(e),localStorage.setItem(e,t)}function x(e){localStorage.removeItem(e)}function U(e,t){!N||"console"in window&&"function"==typeof window.console.warn&&(t&&window.console.warn("localStorageInstance - The error was: "+t.message),window.console.warn("localStorageInstance - "+e))}var B={set:function(e,t,r){if(!D()||!L())return!1;try{t=JSON.stringify(t)}catch(e){return!1}try{F(e,t)}catch(r){if(!P(r)||!(localStorage.length>0))return U("Could not add item with key '"+e+"'",r),!1;O(n.OTHERS);try{F(e,t)}catch(t){return U("Item size larger then LS '"+e+"'",r),!1}}return r?F(e+R,(k()+r).toString(10)):x(e+R),!0},get:function(e){if(!D()||function(e){var t=e+R,r=M(t);if(r){var n=parseInt(r,10);if(k()>=n)return x(e),x(t),!0}}(e))return null;var t=M(e);if(!t||!L())return t;try{return JSON.parse(t)}catch(e){return t}},remove:function(e){var t;D()&&(x(t=e),x(t+R))},supported:function(){return D()}},H=r(849832),G=r(648968);let j=e=>{let t;switch(e){case G.a.USER_UUID:case G.a.TRADING_VIEW_PREFERENCE:case G.a.USER_INDICES_ORDER:case G.a.UI_THEME:t=n.PERSISTED;break;case G.a.AUTH_SESSION_ID:case G.a.AUTHORIZATION:case G.a.PIN_TOKEN:case G.a.N_KEY_SEED:case G.a.SOCKET_TOKEN:case G.a.TWO_FACTOR_PIN_ALREADY_SET:t=n.AUTH;break;default:t=n.OTHERS}return t},V="asdjbweh8jeh38hwdhii32ue9dekd93uueindi3ue923ueidhnw3eue";function K(e,t,r){(void 0===r||null==r)&&(r=!0);let n=m(t,e,j(t));return r?H.zv(String(n),V).data:n}let W={LOCAL_STORAGE:i.LOCAL_STORAGE,SESSION_STORAGE:i.SESSION_STORAGE,COOKIE:i.COOKIE,LOCAL_COOKIE_STORAGE:i.LOCAL_COOKIE_STORAGE};function Y(e,t,r){if(!function(){let e=m(G.a.IS_WEBVIEW_ACTIVE,W.LOCAL_STORAGE,j(G.a.IS_WEBVIEW_ACTIVE));return e||m(G.a.IS_WEBVIEW_ACTIVE,W.COOKIE,j(G.a.IS_WEBVIEW_ACTIVE))}())return K(e,t,r);if(e===W.COOKIE)return K(e,t,!1);if(e===W.LOCAL_COOKIE_STORAGE){let e=K(W.LOCAL_STORAGE,t,r);return(0,S.a)(e)?K(W.COOKIE,t,!1):e}return K(e,t,r)}function q(e,t,r,n,i){if(n){let n=H.XT(r,V);null!==n.data?A(t,n.data,e,i,j(t)):A(t,r,e,i,j(t))}else A(t,r,e,i,j(t))}function z(e,t,r){if("undefined"==typeof document)return;let n=J();document.cookie="".concat(e,"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT").concat(n);let i=Q(),a="".concat(e,"=").concat(encodeURIComponent(t),"; Path=/");if(i&&(a+="; Domain=".concat(i)),a+=J(),r){let e=new Date;e.setTime(e.getTime()+60*r*1e3),a+="; Expires=".concat(e.toUTCString())}document.cookie=a}function X(e,t,r,n,i){if(e===W.COOKIE||e===W.LOCAL_COOKIE_STORAGE){let a=r;if(n){let e=H.XT(r,V);null!==e.data&&(a=e.data)}z(t,String(a),i),e===W.LOCAL_COOKIE_STORAGE&&v(t,a,W.LOCAL_STORAGE,i,j(t));return}if(n){let n=H.XT(r,V);null!==n.data?v(t,n.data,e,i,j(t)):v(t,r,e,i,j(t))}else v(t,r,e,i,j(t))}function $(e){return"localhost"===e||/^\d+\.\d+\.\d+\.\d+$/.test(e)}function Q(){return".groww.in"}function J(){return"https:"===window.location.protocol?"; SameSite=Lax; Secure":"; SameSite=Lax"}function Z(e,t){(e===W.COOKIE||e===W.LOCAL_COOKIE_STORAGE)&&function(){if("undefined"==typeof document)return;let e=Q(),t="Thu, 01 Jan 1970 00:00:01 GMT",r=J();document.cookie.split(";").forEach(n=>{let i=n.split("=")[0].trim();if(i&&(e&&(document.cookie="".concat(i,"=; Domain=").concat(e,"; Path=/; Expires=").concat(t).concat(r)),document.cookie="".concat(i,"=; Path=/; Expires=").concat(t).concat(r),window.location.hostname)){let e=window.location.hostname;$(e)||(document.cookie="".concat(i,"=; Domain=.").concat(e,"; Path=/; Expires=").concat(t).concat(r))}})}(),e===i.SESSION_STORAGE?g.clear():e===i.COOKIE?y():e===i.LOCAL_COOKIE_STORAGE?(T(),y()):T()}function ee(e,t){(e===W.COOKIE||e===W.LOCAL_COOKIE_STORAGE)&&function(e){if("undefined"==typeof document)return;let t=Q(),r="Thu, 01 Jan 1970 00:00:01 GMT",n=J();if(t&&(document.cookie="".concat(e,"=; Domain=").concat(t,"; Path=/; Expires=").concat(r).concat(n)),document.cookie="".concat(e,"=; Path=/; Expires=").concat(r).concat(n),window.location.hostname){let t=window.location.hostname;$(t)||(document.cookie="".concat(e,"=; Domain=.").concat(t,"; Path=/; Expires=").concat(r).concat(n))}}(t),b(t,e,j(t))}let et="CROSS_DOMAIN_COOKIE_MIGRATED_V2",er=[G.a.AUTH_SESSION_ID,G.a.AUTHORIZATION,G.a.PIN_TOKEN,G.a.TWO_FACTOR_PIN_ALREADY_SET,G.a.N_KEY_SEED,G.a.SOCKET_TOKEN];function en(){if("undefined"!=typeof document&&"undefined"!=typeof localStorage){try{if(localStorage.getItem(et))return}catch(e){return}
15er.forEach(e=>{let t=function(e){if("undefined"==typeof document)return null;for(let t of document.cookie.split(";")){let[r,...n]=t.split("=");if((null==r?void 0:r.trim())===e){let e=n.join("=").trim();try{return decodeURIComponent(e)}catch(t){return e}}}return null}(e);t&&z(e,t)});try{localStorage.setItem(et,"true")}catch(e){}}}},648968:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});let n={EXPIRY_1_YEAR:525600,DEFAULT_EXPIRY_1_MONTH:40320,USERS_ON_GROWW_IN_LACS:400,USERS_ON_GROWW_IN_MILLIONS:40,TEAM_MEMBERS_IN_GROWW:1e3,GROWW_CURRENT_RATING:4.5,SEARCH_EXPIRY_TIME_IN_MIN:1,CURRENT_YEAR:new Date().getFullYear().toString(),TWENTY_HOURS_EXPIRY_TIME:1200,SEVEN_DAYS_IN_MINS:10080,TWO_DAYS_IN_MINS:2880,ONE_DAY_IN_MINS:1440,ONE_HOUR_IN_MINUTES:60,TWO_HOUR_IN_MINS:120,SIX_HOUR_IN_MINS:360,THIRTY_MINUTES:30,FIVE_MINUTES:5,EXPIRY_15_MINUTES:15,EXPIRY_10_MINUTES:10,ONE_MINUTE:1,TWENTY_HOURS_IN_MINS:1200,ONE_HOUR_IN_MINS:60,FIFTEEN_MINUTES:15,TEN_MINUTES:10,THIRTY_DAYS_IN_MINS:43200,THREE_DAYS_IN_MINS:4320,THREE_HOUR_IN_MINS:180,USER_UUID:"dsocsweuvhapdubdpotsgbsobhb",TRADING_VIEW_PREFERENCE:"TRADING_VIEW_PREFERENCE",USER_INDICES_ORDER:"USER_INDICES_ORDER",UI_THEME:"bfdskfds",AUTH_SESSION_ID:"AUTH_SESSION_ID",AUTHORIZATION:"lhtndhgfd",REFRESH_TOKEN:"alnuyoasdasloppes",PIN_TOKEN:"arkeyt473rfh7834cd",TWO_FACTOR_PIN_ALREADY_SET:"fsdyuyurewdfi896k7g",N_KEY_SEED:"N_KEY_SEED",SOCKET_TOKEN:"SOCKET_TOKEN",IS_WEBVIEW_ACTIVE:"IS_WEBVIEW_ACTIVE",GROBOT_HAS_INTERACTED:"grobot_has_interacted"}},649058:(e,t,r)=>{"use strict";e.exports=d;var n,i=r(965537),a=i.LongBits,o=i.base64,s=i.utf8;function l(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function c(){}function u(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function d(){this.len=0,this.head=new l(c,0,0),this.tail=this.head,this.states=null}var f=function(){return i.Buffer?function(){return(d.create=function(){return new n})()}:function(){return new d}};function h(e,t,r){t[r]=255&e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function E(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function _(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}d.create=f(),d.alloc=function(e){return new i.Array(e)},i.Array!==Array&&(d.alloc=i.pool(d.alloc,i.Array.prototype.subarray)),d.prototype._push=function(e,t,r){return this.tail=this.tail.next=new l(e,t,r),this.len+=t,this},p.prototype=Object.create(l.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},d.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<0x10000000?4:5,e)).len,this},d.prototype.int32=function(e){return e<0?this._push(E,10,a.fromNumber(e)):this.uint32(e)},d.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},d.prototype.uint64=function(e){var t=a.from(e);return this._push(E,t.length(),t)},d.prototype.int64=d.prototype.uint64,d.prototype.sint64=function(e){var t=a.from(e).zzEncode();return this._push(E,t.length(),t)},d.prototype.bool=function(e){return this._push(h,1,+!!e)},d.prototype.fixed32=function(e){return this._push(_,4,e>>>0)},d.prototype.sfixed32=d.prototype.fixed32,d.prototype.fixed64=function(e){var t=a.from(e);return this._push(_,4,t.lo)._push(_,4,t.hi)},d.prototype.sfixed64=d.prototype.fixed64,d.prototype.float=function(e){return this._push(i.float.writeFloatLE,4,e)},d.prototype.double=function(e){return this._push(i.float.writeDoubleLE,8,e)};var g=i.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n<e.length;++n)t[r+n]=e[n]};d.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(h,1,0);if(i.isString(e)){var r=d.alloc(t=o.length(e));o.decode(e,r,0),e=r}return this.uint32(t)._push(g,t,e)},d.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(h,1,0)},d.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new l(c,0,0),this.len=0,this},d.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(c,0,0),this.len=0),this},d.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},d.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},d._configure=function(e){n=e,d.create=f(),n._configure()}},649989:function(e,t,r){e.exports=r(170742).enc.Utf8},651471:(e,t,r)=>{"use strict";r.d(t,{$5:()=>O,BZ:()=>h,Cq:()=>j,DL:()=>V,Db:()=>_,FZ:()=>s,Gt:()=>L,I7:()=>p,IN:()=>I,Jq:()=>i,K6:()=>G,KJ:()=>b,KL:()=>n,L2:()=>C,LC:()=>k,LJ:()=>B,Oj:()=>u,QE:()=>o,Sy:()=>v,T8:()=>m,TW:()=>K,Tu:()=>H,W5:()=>R,Wg:()=>g,Xs:()=>E,_X:()=>S,bN:()=>c,bs:()=>d,d8:()=>x,eq:()=>f,ft:()=>A,j_:()=>
15F,km:()=>a,lp:()=>T,o$:()=>y,rJ:()=>N,ri:()=>l,tY:()=>U,tz:()=>P,wZ:()=>D,x0:()=>w,xJ:()=>M});let n="payments/GET_WALLET_DATA",i="payment/RESET_WALLET_DATA",a="payment/RESET_LEDGER_TXNS",o="payment/RESET_ASBA_LEDGER_TXNS",s="payment/CREATE_USER_WALLET",l="payment/GET_WALLET_DATA_WITH_USER_ATTR",c="payment/GET_LEDGER_TXNS",u="payment/GET_LEDGER_TXNS_LOAD_MORE",d="payment/GET_ASBA_LEDGER_TXNS",f="payment/GET_ASBA_LEDGER_TXNS_LOAD_MORE",h="payment/GET_FAILED_LEDGER_TXNS",p="payment/GET_FAILED_LEDGER_TXNS_LOAD_MORE",E="payment/TOGGLE_FAILED_TXNS",_="payment/SET_SELECTED_TXN_DETAILS",g="payment/SET_SELECTED_TXN_ID",S="payment/GET_STOCK_TXN_ORDERS_LOAD_MORE",m="payment/GET_FNO_TXN_ORDERS_LOAD_MORE",A="payment/GET_STOCK_TXN_ORDERS",v="payment/GET_FNO_TXN_ORDERS",b="payment/CHANGE_USER_SELECTED_BANK_ACCOUNT",T="payment/FETCH_MARGIN_DETAILS",y="payment/FETCH_MARGIN_DETAILS_V2",O="payment/FETCH_OLD_MARGIN_DETAILS",w="payment/FETCH_FNO_MARGIN_DETAILS",C="payment/FETCH_EQUITY_MARGIN_DETAILS",I="payment/SET_PREINVOKE_PG_WINDOW",R="payment/GET_TXN_ORDERS",N="payment/GET_TXN_ORDERS_LOAD_MORE",D="payment/GET_STOCK_CHARGES",P="payment/GET_TXN_DETAILS",L="payment/GET_EXPECTED_TAT",k="payment/RESET_EXPECTED_TAT",M="payment/SET_SELECTED_LEDGER_FILTERS",F="payment/SET_DEFAULT_LEDGER_FILTERS",x="payment/SET_SELECTED_ASBA_LEDGER_FILTERS",U="payment/SET_DEFAULT_ASBA_LEDGER_FILTERS",B="payment/SET_IS_PAYMENT_IN_PROGRESS",H="payment/UPDATE_RECOMMENDED_INSTRUMENT_BOOLEAN",G="payment/SET_LEDGER_TXN_TAB",j="payment/SET_IS_PAYMENT_MOUNTED_FOR_STOCKS",V="paymentEcosystem/ADD_ITEM_TO_CART",K="paymentEcosystem/RESET_CART_OBJECT"},652076:(e,t,r)=>{"use strict";r.d(t,{RW:()=>
15o,pU:()=>a});var n=r(454532),i=r(222736);let a={stocks:{explore:n.bw.STOCK+n.bw.USER+n.bw.EXPLORE,holdings:n.bw.STOCK+n.bw.USER+n.bw.ETF_HOLDINGS,positions:n.bw.STOCK+n.bw.USER+n.bw.POSITIONS,watchlist:n.bw.STOCK+n.bw.USER+n.bw.WATCHLIST,orders:n.bw.STOCK+n.bw.USER+n.bw.VIEW_ORDERS},fno:{explore:n.bw.FNO+n.bw.USER+n.bw.EXPLORE,positions:n.bw.FNO+n.bw.USER+n.bw.INVESTMENT,orders:n.bw.FNO+n.bw.USER+n.bw.VIEW_ORDERS},mf:{explore:n.bw.MF+n.bw.USER+n.bw.EXPLORE,dashboard:n.bw.MF+n.bw.USER+n.bw.DASHBOARD,watchlist:n.bw.MF+n.bw.USER+n.bw.WATCHLIST,sips:n.bw.MF+n.bw.USER+n.bw.STOCKS_SIP},usStocks:{explore:n.bw.US_STOCK+n.bw.USER+n.bw.EXPLORE,investments:n.bw.US_STOCK+n.bw.USER+n.bw.INVESTMENT},fd:{explore:n.bw.FD+n.bw.USER+n.bw.EXPLORE,investments:n.bw.FD+n.bw.USER+n.bw.INVESTMENT},gold:{explore:n.bw.GOLD+n.bw.USER+n.bw.EXPLORE,investments:n.bw.GOLD+n.bw.USER+n.bw.INVESTMENT}};n.bw.ADVANCE_CHARTS,n.bw.INDEX,n.bw.NIFTY_SEARCH_ID,i.A.KeyboardShortcutTerminal,n.bw.STOCKS_SEARCH_ID,n.bw.FNO_SEARCH_ID,n.bw.MF_SEARCH_ID,n.bw.US_STOCKS_SEARCH_ID,n.bw.DEPOSITS_SEARCH_ID,n.bw.GOLD_SEARCH_ID;let o=()=>{let e=/(Mac|iPhone|iPod|iPad)/i.test(navigator.userAgent),t=new KeyboardEvent("keydown",{key:"k",metaKey:e,ctrlKey:!e});document.dispatchEvent(t)}},653710:e=>{e.exports={loggedinNavProfile:"profileUI_loggedinNavProfile__G2X8o",loggedinNavProfileBody:"profileUI_loggedinNavProfileBody__cVY3J"}},655909:e=>{e.exports={headerContainer:"loggedIn_headerContainer__YHun1",logoContainer:"loggedIn_logoContainer__HjMPM",navLinks:"loggedIn_navLinks__69gPs",searchContainer:"loggedIn_searchContainer__WIAMG",infoContainer:"loggedIn_infoContainer__v_TOR",navDropdownContainer:"loggedIn_navDropdownContainer__LT6j3",navDropdownToggle:"loggedIn_navDropdownToggle__aN_32",navDropdownArrow:"loggedIn_navDropdownArrow__u1Dse",navDropdownMenu:"loggedIn_navDropdownMenu__o5L7e",navDropdownItem:"loggedIn_navDropdownItem__c_Eo4",hiddenSearchUI:"loggedIn_hiddenSearchUI__m2_kU",rightSideContainer:"loggedIn_rightSideContainer__hH3sW"}},655969:(e,t,r)=>{"use strict";r.d(t,{vt:()=>c,Ay:()=>u,Pj:()=>s});let n=e=>{let t,r=new Set,n=(e,n)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=n?n:"object"!=typeof i)?i:Object.assign({},t,i),r.forEach(r=>r(t,e))}},i=()=>t,a={setState:n,getState:i,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}};return t=e(n,i,a),a},i=e=>e?n(e):n;var a=r(407178);let{useSyncExternalStoreWithSelector:o}=r(329225);function s(e,t=e.getState,r){let n=o(e.subscribe,e.getState,e.getServerState||e.getState,t,r);return(0,a.useDebugValue)(n),n}let l=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?i(e):e,r=(e,r)=>s(t,e,r);return Object.assign(r,t),r},c=e=>e?l(e):l;var u=e=>(console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`."),c(e))},659022:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}r.d(t,{Tw:()=>p,zH:()=>f,HY:()=>u,Zz:()=>h,y$:()=>c});var o="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function c(e,t,r){if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw Error(a(0));if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw Error(a(1));return r(c)(e,t)}if("function"!=typeof e)throw Error(a(2));var n,i=e,s=t,u=[],d=u,f=!1;function h(){d===u&&(d=u.slice())}function p(){if(f)throw Error(a(3));return s}function E(e){if("function"!=typeof e)throw Error(a(4));if(f)throw Error(a(5));var t=!0;return h(),d.push(e),function(){if(t){if(f)throw Error(a(6));t=!1,h();var r=d.indexOf(e);d.splice(r,1),u=null}}}function _(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw Error(a(7));if(void 0===e.type)throw Error(a(8));if(f)throw Error(a(9));try{f=!0,s=i(s,e)}finally{f=!1}for(var t=u=d,r=0;r<t.length;r++)(0,t[r])();return e}return _({type:l.INIT}),(n={dispatch:_,subscribe:E,getState:p,replaceReducer:function(e){if("function"!=typeof e)throw Error(a(10));i=e,_({type:l.REPLACE})}})[o]=function(){var e;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw Error(a(11));function t(){e.next&&e.next(p())}return t(),{unsubscribe:E(t)}}})[o]=function(){return this},e},n}function u(e){for(var t,r=Object.keys(e),n={},i=0;i<r.length;i++){var o=r[i];"function"==typeof e[o]&&(n[o]=e[o])}var s=Object.keys(n);try{!function(e){Object.keys(e).forEach(function(t){var r=e[t];if(void 0===r(void 0,{type:l.INIT}))throw Error(a(12));if(void 0===r(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw Error(a(13))})}(n)}catch(e){t=e}return function(e,r){if(void 0===e&&(e={}),t)throw t;for(var i=!1,o={},l=0;l<s.length;l++){var c=s[l],u=n[c],d=e[c],f=u(d,r);if(void 0===f)throw r&&r.type,Error(a(14));o[c]=f,i=i||f!==d}return(i=i||s.length!==Object.keys(e).length)?o:e}}function d(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return d(e,t);if("object"!=typeof e||null===e)throw Error(a(16));var r={};for(var n in e){var i=e[n];"function"==typeof i&&(r[n]=d(i,t))}return r}function h(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}function p(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw Error(a(15))},o={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},s=t.map(function(e){return e(o)});return n=h.apply(void 0,s)(r.dispatch),i(i({},r),{},{dispatch:n})}}}},659108:(e,t,r)=>{"use strict";r.d(t,{C:()=>s});var n=r(407178),i=r(761711),a=r.n(i),o=r(70515);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var s=function(e){var t=e.size,r=e.label,i=e.isChecked,s=e.handleOnClick,l=e.value,c=e.isDisabled,u=e.checkBoxDirection,d=e.dataTestId,f=c?"var(--content-disabled)":"var(--content-accent)",h=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 14 14"},n.createElement("path",{fill:"transparent",fillRule:"evenodd",stroke:c?"var(--content-disabled)":"var(--content-secondary)",d:"M2.564.5c-.737 0-1.017.054-1.305.208a1.317 1.317 0 0 0-.551.551C.554 1.547.5 1.827.5 2.564v8.872c0 .737.054 1.017.208 1.305.128.239.312.423.551.551.288.154.568.208 1.305.208h8.872c.737 0 1.017-.054 1.305-.208.239-.128.423-.312.551-.551.154-.288.208-.568.208-1.305V2.564c0-.737-.054-1.017-.208-1.305a1.317 1.317 0 0 0-.551-.551C12.453.554 12.173.5 11.436.5H2.564z"})),p=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 14 14"},n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:f,stroke:f,d:"M2.564.5c-.737 0-1.017.054-1.305.208a1.317 1.317 0 0 0-.551.551C.554 1.547.5 1.827.5 2.564v8.872c0 .737.054 1.017.208 1.305.128.239.312.423.551.551.288.154.568.208 1.305.208h8.872c.737 0 1.017-.054 1.305-.208.239-.128.423-.312.551-.551.154-.288.208-.568.208-1.305V2.564c0-.737-.054-1.017-.208-1.305a1.317 1.317 0 0 0-.551-.551C12.453.554 12.173.5 11.436.5H2.564z"}),n.createElement("path",{fill:"white",fillRule:"nonzero",d:"M9.69 5.173a.591.591 0 1 1 .837.836L6.98 9.556a.591.591 0 0 1-.836 0l-1.97-1.97a.591.591 0 0 1 .835-.836l1.553 1.552L9.69 5.173z"}))),E=a()("c11Default valign-wrapper c11Pointer",{"c11checkOnRight vspace-between":u===o.D.RIGHT}),_=a()(c?"contentDisabled":"contentPrimary",{bodySmall:t===o.S.SMALL||t===o.S.XSMALL,bodyBase:t===o.S.BASE,bodyLarge:t===o.S.LARGE,bodyXLarge:t===o.S.XLARGE});return n.createElement("div",{onClick:function(e){c?e.stopPropagation():s(l,!i,e)},"data-test-id":d.length?d:null,className:E},n.createElement("div",{className:"valign-wrapper"},i?p:h),r&&n.createElement("div",{className:_},r))};s.defaultProps={size:o.S.BASE,label:"",value:"",isChecked:!1,isDisabled:!1,checkBoxDirection:o.D.LEFT,dataTestId:""}},660690:(e,t,r)=>{"use strict";r.d(t,{D0:()=>c,De:()=>l,sv:()=>o,yD:()=>s});var n=r(730884),i=r(779126),a=r(198328);let o="sentry-";function s(e){let t=c(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.startsWith(o)&&(e[t.slice(o.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function l(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,r],a)=>{let o=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===a?o:`${e},${o}`;return s.length>8192?(n.T&&i.Yz.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${o}${t}`]=r),e),{}))}function c(e){if(e&&((0,a.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>
15(Object.entries(u(t)).forEach(([t,r])=>{e[t]=r}),e),{}):u(e)}function u(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}},662309:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(407178),i=r(121800),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,c=l||!a,[u,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(c||u)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:a}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),o.set(r,t),t}(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!u){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,r,t,u,f.current]),[h,u,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},664465:(e,t,r)=>{"use strict";r.d(t,{AZ:()=>i,b7:()=>n,kL:()=>a});let n={Hoist:"Hoist"},i={FeatureFetchSuccess:"FeatureFetchSuccess",FeatureFetchFailed:"FeatureFetchFailed",SegmentFetchSuccess:"SegmentFetchSuccess",SegmentFetchFailed:"SegmentFetchFailed"},a={GENERAL_ERROR:"Something went wrong. Please try again."}},666159:(e,t,r)=>{"use strict";r.d(t,{Bu:()=>s,DX:()=>l,LO:()=>i,pL:()=>o});var n=r(3822);let i=e=>{var t;return null==e?void 0:null===(t=e.core)||void 0===t?void 0:t.remoteConfig},a=e=>{var t;return null==e?void 0:null===(t=e.core)||void 0===t?void 0:t.generalFlowData},o=e=>{var t;return null==e?void 0:null===(t=e.core)||void 0===t?void 0:t.routerState},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,n.Mz)([i],t=>t[e])},l=()=>(0,n.Mz)([a],e=>({userCommData:null==e?void 0:e.userCommData,userCommDataLoader:null==e?void 0:e.userCommDataLoader,userCommDataError:null==e?void 0:e.userCommDataError}))},671304:e=>{e.exports={container:"LinearProgress_container__mDFDl",bar:"LinearProgress_bar__8IEWC",loading:"LinearProgress_loading__60muG"}},673931:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{GobblerAbsolutePageView:()=>h,protobufPackage:()=>f}),e.exports=c(i({},"__esModule",{value:!0}),u);var d=((e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(225615));let f="com.groww.ems",h={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.Writer.create();return""!==e.pageUrl&&t.uint32(10).string(e.pageUrl),t},decode(e,t){let r=e instanceof d.default.Reader?e:d.default.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={pageUrl:""};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.pageUrl=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}}},674410:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(407178).useLayoutEffect},675669:(e,t,r)=>{"use strict";r.d(t,{GE:()=>d,GK:()=>h,Gw:()=>s,Gy:()=>g,NK:()=>p,PH:()=>S,RI:()=>u,Sx:()=>f,TX:()=>l,VQ:()=>i,Vp:()=>a,eZ:()=>E,mJ:()=>
15o,ns:()=>_,t2:()=>c});var n=r(454532);let i=(0,n.un)(n.bw.FNO),a=(0,n.un)(n.bw.FNO+n.bw.SLASH+n.bw.TOP_GAINERS),o=(0,n.un)(n.bw.FNO+n.bw.SLASH+n.bw.TOP_TRADED),s=(0,n.un)(n.bw.FNO+n.bw.SLASH+n.bw.TOP_LOSERS),l=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.FNO+n.bw.SLASH+n.bw.SEARCH_ID),c=(0,n.un)(n.bw.OPTION+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.FUTURE+n.bw.SLASH+n.bw.SEARCH_ID);let u=(0,n.un)(n.bw.FUTURE+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.CONTRACT_ID),d=(0,n.un)(n.bw.OPTION+n.bw.SLASH+n.bw.SEARCH_ID+n.bw.CONTRACT_ID),f=(0,n.un)(n.bw.REPORT+n.bw.PROFIT_LOSS+n.bw.FNO),h=(0,n.un)(n.bw.REPORT+n.bw.PROFIT_LOSS+n.bw.FNO+n.bw.CONTRACT_ID),p=(0,n.un)(n.bw.FNO+n.bw.USER+n.bw.EXPLORE),E=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.FNO),_=(0,n.un)(n.bw.FNO+n.bw.USER+n.bw.VIEW_ORDERS),g=(0,n.un)(n.bw.FNO+n.bw.USER+n.bw.INVESTMENT);(0,n.un)(n.bw.FUTURE+n.bw.SLASH+n.bw.SEARCH_ID);let S=(0,n.un)(n.bw.OPTION+n.bw.SLASH+n.bw.NIFTY_SEARCH_ID)},676693:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/z.7779baac.svg",height:135,width:135,blurWidth:0,blurHeight:0}},677128:(e,t,r)=>{"use strict";r.d(t,{cQ:()=>S,ob:()=>g,H5:()=>A,Jj:()=>b,iG:()=>m,Lx:()=>v});var n=r(753762),i=r(758075);let a={PRIVATE_SECTOR_SERVICE:"Employed",PUBLIC_SECTOR_SERVICE:"Employed",GOVERNMENT_SERVICE:"Employed",HOUSEWIFE:"Unemployed",STUDENT:"Student",SELF_EMPLOYED:"Employed",BUSINESS:"Employed",PROFESSIONAL:"Employed",RETIRED:"Retired",FARMER:"Employed",SERVICE:"Employed",AGRICULTURIST:"Employed"},o={PRIVATE_SECTOR_SERVICE:"Employment income",PUBLIC_SECTOR_SERVICE:"Employment income",GOVERNMENT_SERVICE:"Employment income",HOUSEWIFE:"Others",STUDENT:"Others",SELF_EMPLOYED:"Employment income",BUSINESS:"Employment income",PROFESSIONAL:"Employment income",RETIRED:"Others",FARMER:"Employment income",SERVICE:"Employment income",AGRICULTURIST:"Employment income"},s={"Below 1 Lac":"Upto 1 Lakh","1-5 Lacs":"1-5 Lakhs","5-10 Lac":"5-10 Lakhs","5-10 Lacs":"5-10 Lakhs","10-25 Lacs":"10-25 Lakhs","25-50 Lacs":"25-50 Lakhs",">25 lacs":"25-50 Lakhs","50 Lacs-1 crore":"50 Lakhs - 1 Crore","1-5 crore":"1-5 Crores",">5 crore":"More than 5 Crores"},l=e=>{var t;return e&&null!==(t=a[String(e).toUpperCase()])&&void 0!==t?t:null},c=e=>{if(!e)return null;let t=o[String(e).toUpperCase()];return t?[t]:null},u=e=>{var t;return e&&null!==(t=s[String(e).trim()])&&void 0!==t?t:null},d=e=>{var t;let r=i.zz.indexOf(e);return r<0?null:null!==(t=i.zz[0===r?0:r-1])&&void 0!==t?t:null},f=e=>{if(!e)return{};let t={},r=l(e.occupation);r&&(t.employmentStatus=r);let n=c(e.occupation);n&&(t.fundingSource=n);let i=u(e.annual_income);if(i){t.annualIncomeRange=i;let e=d(i);e&&(t.liquidNetWorthRange=e)}return t};var h=r(907141),p=r(491803);let E=()=>{let{data:e}=p.y.getState();if(e[h.o.PERSONAL_DETAILS])return;let t=f(n.f.getState().userAttributes);0!==Object.keys(t).length&&p.y.setState(e=>({data:{...e.data,[h.o.PERSONAL_DETAILS]:{...i.g1[h.o.PERSONAL_DETAILS],...t}}}))},_=()=>{let{data:e}=p.y.getState(),t={};e[h.o.DISCLAIMER]||(t[h.o.DISCLAIMER]=i.g1[h.o.DISCLAIMER]),e[h.o.CERTIFICATION]||(t[h.o.CERTIFICATION]=i.g1[h.o.CERTIFICATION]),e[h.o.AGREEMENT]||(t[h.o.AGREEMENT]=i.g1[h.o.AGREEMENT]),Object.keys(t).length&&p.y.setState(e=>({data:{...e.data,...t}}))},g=()=>{E(),_(),p.y.setState({isOpen:!0})},S=()=>p.y.setState({isOpen:!1}),m=e=>p.y.setState({currentScreen:e}),A=(e,t)=>{p.y.setState(r=>{let n=r.data[e],a={...null!=n?n:i.g1[e],...t};return{data:{...r.data,[e]:a},status:r.status===h.s.NOT_STARTED?h.s.DRAFT:r.status}})},v=e=>p.y.setState({status:e}),b=()=>p.y.setState({...p.u})},678059:e=>{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),a=0;a<n.length;a++){var o=n[a],s=e[o];(i?-1!==t.indexOf(o):t(o,s,e))&&(r[o]=s)}return r}},678399:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={DIWALI_DARK:"DIWALI_DARK",DIWALI_LIGHT:"DIWALI_LIGHT",GROWW_LIGHT:"GROWW_LIGHT",GROWW_DARK:"GROWW_DARK",XMAS_DARK:"XMAS_DARK",XMAS_LIGHT:"XMAS_LIGHT",FLASHBACK_LIGHT:"FLASHBACK_LIGHT",FLASHBACK_DARK:"FLASHBACK_DARK",INDEPENDENCE_DAY_LIGHT:"INDEPENDENCE_DAY_LIGHT",INDEPENDENCE_DAY_DARK:"INDEPENDENCE_DAY_DARK"}},684549:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/j.ed445e29.svg",height:135,width:135,blurWidth:0,blurHeight:0}},684676:(e,t,r)=>{e.exports=r(589219)},684685:function(e,t,r){var n,i,a,o,s,l,c;n=r(170742),r(850004),r(919202),a=(i=n.lib).Base,o=i.WordArray,l=(s=n.algo).MD5,c=s.EvpKDF=a.extend({cfg:a.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,i=n.hasher.create(),a=o.create(),s=a.words,l=n.keySize,c=n.iterations;s.length<l;){r&&i.update(r),r=i.update(e).finalize(t),i.reset();for(var u=1;u<c;u++)r=i.finalize(r),i.reset();a.concat(r)}return a.sigBytes=4*l,a}}),n.EvpKDF=function(e,t,r){return c.create(r).compute(e,t)},e.exports=n.EvpKDF},685426:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/m.340e8472.svg",height:135,width:135,blurWidth:0,blurHeight:0}},685549:(e,t,r)=>{"use strict";r.d(t,{Eg:()=>i,yR:()=>n});let n={RUPEE:"â¹",DOLLAR:"$"},i={MSITE:"msite",DESKTOP:"desktop",CHARTS:"charts"}},689940:(e,t,r)=>{"use strict";r.d(t,{Qt:()=>n.Qt});var n=r(54102)},694055:e=>{e.exports={userNotifications:"notification_userNotifications__S1wnV",loaderDiv:"notification_loaderDiv__Tu2IT",emptyNotifImage:"notification_emptyNotifImage__qEHdM",notificationPageNotification:"notification_notificationPageNotification__kvYiu",notificationPageContent:"notification_notificationPageContent__K9AyD",emptyNotificationsPageDiv:"notification_emptyNotificationsPageDiv__UwtHE",emptyNotifPageText:"notification_emptyNotifPageText__gTOkg",ntf33notificationsMainDiv:"notification_ntf33notificationsMainDiv__ya7zH",ntf33emptyNotificationsDiv:"notification_ntf33emptyNotificationsDiv__vdbIJ",notificationsDiv:"notification_notificationsDiv__4ERiX",ntf33emptyHeadNotifImg:"notification_ntf33emptyHeadNotifImg__CYuPQ",notificationStatus:"notification_notificationStatus__fTC3w",ntf33emptyNotifText:"notification_ntf33emptyNotifText__pryf5",notification:"notification_notification__44AGt",notificationBox:"notification_notificationBox__JncJ1",notificationAction:"notification_notificationAction__rclYe",notificationsBox:"notification_notificationsBox__jPlya",ntf33scrollingContents:"notification_ntf33scrollingContents__5boMZ",ntf33NotificationContent:"notification_ntf33NotificationContent__NqeeO",notificationTitle:"notification_notificationTitle__dcD8s",notificationTime:"notification_notificationTime__n0B_d",notificationHead:"notification_notificationHead__v3fML",notificationIcon:"notification_notificationIcon__4pv1S",ntf33viewAllNotifications:"notification_ntf33viewAllNotifications__zRojG",ntf33viewAllNotificationsChild:"notification_ntf33viewAllNotificationsChild__V6tui"}},694911:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});let n={isError:{},isLoading:{},data:null}},696169:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});var n=function(e){return e.GET_REDEEM_INPUT_DATA="mf/GET_REDEEM_DATA",e.GET_EXIT_LOAD_DATA="mf/GET_EXIT_LOAD_DATA",e.PLACE_REDEEM_ORDER="mf/PLACE_REDEEM_ORDER",e.UPDATE_REDEEM_SCREEN="mf/UPDATE_REDEEM_SCREEN",e.GET_REDEEM_SUCCESS_DATA="mf/GET_REDEEM_SUCCESS_DATA",e.UPDATE_REDEEM_INPUT_DATA="mf/UPDATE_REDEEM_INPUT_DATA",e.RESET_REDEEM_DATA="mf/RESET_REDEEM_DATA",e}({})},699347:(e,t,r)=>{"use strict";r.d(t,{f:()=>s,r:()=>o});var n=r(533427),i=r(431205);let a="_sentrySpan";function o(e,t){t?(0,n.my)(e,a,(0,i.Z)(t)):delete e[a]}function s(e){return(0,i.q)(e[a])}},701570:(e,t,r)=>{"use strict";r.d(t,{O:()=>n,f:()=>i});let n="GET_MARKET_DEPTH",i="UPDATE_MARKET_DEPTH"},702016:(e,t,r)=>{"use strict";r.d(t,{o:()=>i,v:()=>n});let n="GET_US_STOCK_DATA",i="UPDATE_CURRENT_DATA"},702777:(e,t,r)=>{"use strict";r.d(t,{A:()=>I});var n=null;try{n=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function i(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function a(e){return!0===(e&&e.__isLong__)}function o(e){var t=Math.clz32(e&-e);return e?31-t:t}i.prototype.__isLong__,Object.defineProperty(i.prototype,"__isLong__",{value:!0}),i.isLong=a;var s={},l={};function c(e,t){var r,n,i;return t?(e>>>=0,(i=0<=e&&e<256)&&(n=l[e]))?n:(r=d(e,0,!0),i&&(l[e]=r),r):(e|=0,(i=-128<=e&&e<128)&&(n=s[e]))?n:(r=d(e,e<0?-1:0,!1),i&&(s[e]=r),r)}function u(e,t){if(isNaN(e))return t?A:m;if(t){if(e<0)return A;if(e>=_)return O}else{if(e<=-g)return w;if(e+1>=g)return y}return e<0?u(-e,t).neg():d(e%E|0,e/E|0,t)}function d(e,t,r){return new i(e,t,r)}i.fromInt=c,i.fromNumber=u,i.fromBits=d;var f=Math.pow;function h(e,t,r){if(0===e.length)throw Error("empty string");if("number"==typeof t?(r=t,t=!1):t=!!t,"NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return t?A:m;if((r=r||10)<2||36<r)throw RangeError("radix");if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return h(e.substring(1),t,r).neg();for(var n,i=u(f(r,8)),a=m,o=0;o<e.length;o+=8){var s=Math.min(8,e.length-o),l=parseInt(e.substring(o,o+s),r);if(s<8){var c=u(f(r,s));a=a.mul(c).add(u(l))}else a=(a=a.mul(i)).add(u(l))}return a.unsigned=t,a}function p(e,t){return"number"==typeof e?u(e,t):"string"==typeof e?h(e,t):d(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}i.fromString=h,i.fromValue=p;var E=0x100000000,_=0xffffffffffffffff,g=0x8000000000000000,S=c(0x1000000),m=c(0);i.ZERO=m;var A=c(0,!0);i.UZERO=A;var v=c(1);i.ONE=v;var b=c(1,!0);i.UONE=b;var T=c(-1);i.NEG_ONE=T;var y=d(-1,0x7fffffff,!1);i.MAX_VALUE=y;var O=d(-1,-1,!0);i.MAX_UNSIGNED_VALUE=O;var w=d(0,-0x80000000,!1);i.MIN_VALUE=w;var C=i.prototype;C.toInt=function(){return this.unsigned?this.low>>>0:this.low},C.toNumber=function(){return this.unsigned?(this.high>>>0)*E+(this.low>>>0):this.high*E+(this.low>>>0)},C.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(!this.eq(w))return"-"+this.neg().toString(e);else{var t=u(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}for(var i=u(f(e,6),this.unsigned),a=this,o="";;){var s=a.div(i),l=(a.sub(s.mul(i)).toInt()>>>0).toString(e);if((a=s).isZero())return l+o;for(;l.length<6;)l="0"+l;o=""+l+o}},C.getHighBits=function(){return this.high},C.getHighBitsUnsigned=function(){return this.high>>>0},C.getLowBits=function(){return this.low},C.getLowBitsUnsigned=function(){return this.low>>>0},C.getNumBitsAbs=function(){if(this.isNegative())return this.eq(w)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&(e&1<<t)==0;t--);return 0!=this.high?t+33:t+1},C.isSafeInteger=function(){var e=this.high>>21;return!e||!this.unsigned&&-1===e&&(0!==this.low||-2097152!==this.high)},C.isZero=function(){return 0===this.high&&0===this.low},C.eqz=C.isZero,C.isNegative=function(){return!this.unsigned&&this.high<0},C.isPositive=function(){return this.unsigned||this.high>=0},C.isOdd=function(){return(1&this.low)==1},C.isEven=function(){return(1&this.low)==0},C.equals=function(e){return a(e)||(e=p(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low},C.eq=C.equals,C.notEquals=function(e){return!this.eq(e)},C.neq=C.notEquals,C.ne=C.notEquals,C.lessThan=function(e){return 0>this.comp(e)},C.lt=C.lessThan,C.lessThanOrEqual=function(e){return 0>=this.comp(e)},C.lte=C.lessThanOrEqual,C.le=C.lessThanOrEqual,C.greaterThan=function(e){return this.comp(e)>0}
15,C.gt=C.greaterThan,C.greaterThanOrEqual=function(e){return this.comp(e)>=0},C.gte=C.greaterThanOrEqual,C.ge=C.greaterThanOrEqual,C.compare=function(e){if(a(e)||(e=p(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},C.comp=C.compare,C.negate=function(){return!this.unsigned&&this.eq(w)?w:this.not().add(v)},C.neg=C.negate,C.add=function(e){a(e)||(e=p(e));var t,r,n=this.high>>>16,i=65535&this.high,o=this.low>>>16,s=65535&this.low,l=e.high>>>16,c=65535&e.high,u=e.low>>>16,f=65535&e.low,h=0,E=0;return t=0+((r=0+(s+f))>>>16),r&=65535,t+=o+u,E+=t>>>16,t&=65535,E+=i+c,h+=E>>>16,E&=65535,h+=n+l,d(t<<16|r,(h&=65535)<<16|E,this.unsigned)},C.subtract=function(e){return a(e)||(e=p(e)),this.add(e.neg())},C.sub=C.subtract,C.multiply=function(e){if(this.isZero())return this;if(a(e)||(e=p(e)),n)return d(n.mul(this.low,this.high,e.low,e.high),n.get_high(),this.unsigned);if(e.isZero())return this.unsigned?A:m;if(this.eq(w))return e.isOdd()?w:m;if(e.eq(w))return this.isOdd()?w:m;if(this.isNegative())if(e.isNegative())return this.neg().mul(e.neg());else return this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(S)&&e.lt(S))return u(this.toNumber()*e.toNumber(),this.unsigned);var t,r,i=this.high>>>16,o=65535&this.high,s=this.low>>>16,l=65535&this.low,c=e.high>>>16,f=65535&e.high,h=e.low>>>16,E=65535&e.low,_=0,g=0;return t=0+((r=0+l*E)>>>16),r&=65535,t+=s*E,g+=t>>>16,t&=65535,t+=l*h,g+=t>>>16,t&=65535,g+=o*E,_+=g>>>16,g&=65535,g+=s*h,_+=g>>>16,g&=65535,g+=l*f,_+=g>>>16,g&=65535,_+=i*E+o*h+s*f+l*c,d(t<<16|r,(_&=65535)<<16|g,this.unsigned)},C.mul=C.multiply,C.divide=function(e){if(a(e)||(e=p(e)),e.isZero())throw Error("division by zero");if(n){var t,r,i;return this.unsigned||-0x80000000!==this.high||-1!==e.low||-1!==e.high?d((this.unsigned?n.div_u:n.div_s)(this.low,this.high,e.low,e.high),n.get_high(),this.unsigned):this}if(this.isZero())return this.unsigned?A:m;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return A;if(e.gt(this.shru(1)))return b;i=A}else{if(this.eq(w))if(e.eq(v)||e.eq(T))return w;else return e.eq(w)?v:(t=this.shr(1).div(e).shl(1)).eq(m)?e.isNegative()?v:T:(r=this.sub(e.mul(t)),i=t.add(r.div(e)));if(e.eq(w))return this.unsigned?A:m;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();i=m}for(r=this;r.gte(e);){for(var o=Math.ceil(Math.log(t=Math.max(1,Math.floor(r.toNumber()/e.toNumber())))/Math.LN2),s=o<=48?1:f(2,o-48),l=u(t),c=l.mul(e);c.isNegative()||c.gt(r);)t-=s,c=(l=u(t,this.unsigned)).mul(e);l.isZero()&&(l=v),i=i.add(l),r=r.sub(c)}return i},C.div=C.divide,C.modulo=function(e){return(a(e)||(e=p(e)),n)?d((this.unsigned?n.rem_u:n.rem_s)(this.low,this.high,e.low,e.high),n.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},C.mod=C.modulo,C.rem=C.modulo,C.not=function(){return d(~this.low,~this.high,this.unsigned)},C.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},C.clz=C.countLeadingZeros,C.countTrailingZeros=function(){return this.low?o(this.low):o(this.high)+32},C.ctz=C.countTrailingZeros,C.and=function(e){return a(e)||(e=p(e)),d(this.low&e.low,this.high&e.high,this.unsigned)},C.or=function(e){return a(e)||(e=p(e)),d(this.low|e.low,this.high|e.high,this.unsigned)},C.xor=function(e){return a(e)||(e=p(e)),d(this.low^e.low,this.high^e.high,this.unsigned)},C.shiftLeft=function(e){return(a(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?d(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):d(0,this.low<<e-32,this.unsigned)},C.shl=C.shiftLeft,C.shiftRight=function(e){return(a(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?d(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):d(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},C.shr=C.shiftRight,C.shiftRightUnsigned=function(e){return(a(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?d(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):32===e?d(this.high,0,this.unsigned):d(this.high>>>e-32,0,this.unsigned)},C.shru=C.shiftRightUnsigned,C.shr_u=C.shiftRightUnsigned,C.rotateLeft=function(e){var t;return(a(e)&&(e=e.toInt()),0==(e&=63))?this:32===e?d(this.high,this.low,this.unsigned):e<32?(t=32-e,d(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned)):(e-=32,t=32-e,d(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned))},C.rotl=C.rotateLeft,C.rotateRight=function(e){var t;return(a(e)&&(e=e.toInt()),0==(e&=63))?this:32===e?d(this.high,this.low,this.unsigned):e<32?(t=32-e,d(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned)):(e-=32,t=32-e,d(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned))},C.rotr=C.rotateRight,C.toSigned=function(){return this.unsigned?d(this.low,this.high,!1):this},C.toUnsigned=function(){return this.unsigned?this:d(this.low,this.high,!0)},C.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},C.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},C.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},i.fromBytes=function(e,t,r){return r?i.fromBytesLE(e,t):i.fromBytesBE(e,t)},i.fromBytesLE=function(e,t){return new i(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},i.fromBytesBE=function(e,t){return new i(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)},"function"==typeof BigInt&&(i.fromBigInt=function(e,t){return d(Number(BigInt.asIntN(32,e)),Number(BigInt.asIntN(32,e>>BigInt(32))),t)},i.fromValue=function(e,t){return"bigint"==typeof e?i.fromBigInt(e,t):p(e,t)},C.toBigInt=function(){var e=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|e});let I=i},709252:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(316110),i=r(744620);let a=function(e){let{darkNode:t,lightNode:r}=e;return(0,n.A)()===i.zG.DARK?t:r}},712470:(e,t,r)=>{var n,i;!function(a){var o;void 0!==(i="function"==typeof(n=a)?n.call(t,r,t,e):n)&&(e.exports=i),e.exports=a()}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
15)+/g,decodeURIComponent)}return function r(n){function i(){}function a(t,r,a){if("undefined"!=typeof document){"number"==typeof(a=e({path:"/"},i.defaults,a)).expires&&(a.expires=new Date(new Date*1+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var o=JSON.stringify(r);/^[\{\[]/.test(o)&&(r=o)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in a)a[l]&&(s+="; "+l,!0!==a[l]&&(s+="="+a[l].split(";")[0]));return document.cookie=t+"="+r+s}}function o(e,r){if("undefined"!=typeof document){for(var i={},a=document.cookie?document.cookie.split("; "):[],o=0;o<a.length;o++){var s=a[o].split("="),l=s.slice(1).join("=");r||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var c=t(s[0]);if(l=(n.read||n)(l,c)||t(l),r)try{l=JSON.parse(l)}catch(e){}if(i[c]=l,e===c)break}catch(e){}}return e?i[e]:i}}return i.set=a,i.get=function(e){return o(e,!1)},i.getJSON=function(e){return o(e,!0)},i.remove=function(t,r){a(t,"",e(r,{expires:-1}))},i.defaults={},i.withConverter=r,i}(function(){})})},713885:(e,t,r)=>{"use strict";r.d(t,{A:()=>tc});var n,i,a={};function o(e,t){return function(){return e.apply(t,arguments)}}r.r(a),r.d(a,{hasBrowserEnv:()=>ef,hasStandardBrowserEnv:()=>ep,hasStandardBrowserWebWorkerEnv:()=>eE,navigator:()=>eh,origin:()=>e_});var s=r(985735);let{toString:l}=Object.prototype,{getPrototypeOf:c}=Object,{iterator:u,toStringTag:d}=Symbol,f=(e=>t=>{let r=l.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),h=e=>(e=e.toLowerCase(),t=>f(t)===e),p=e=>t=>typeof t===e,{isArray:E}=Array,_=p("undefined");function g(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let S=h("ArrayBuffer"),m=p("string"),A=p("function"),v=p("number"),b=e=>null!==e&&"object"==typeof e,T=e=>{if("object"!==f(e))return!1;let t=c(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(d in e)&&!(u in e)},y=h("Date"),O=h("File"),w=h("Blob"),C=h("FileList"),I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},R=void 0!==I.FormData?I.FormData:void 0,N=h("URLSearchParams"),[D,P,L,k]=["ReadableStream","Request","Response","Headers"].map(h);function M(e,t,{allOwnKeys:r=!1}={}){let n,i;if(null!=e)if("object"!=typeof e&&(e=[e]),E(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{let i;if(g(e))return;let a=r?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;for(n=0;n<o;n++)i=a[n],t.call(null,e[i],i,e)}}function F(e,t){let r;if(g(e))return null;t=t.toLowerCase();let n=Object.keys(e),i=n.length;for(;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}let x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,U=e=>!_(e)&&e!==x,B=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&c(Uint8Array)),H=h("HTMLFormElement"),G=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),j=h("RegExp"),V=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};M(r,(r,i)=>{let a;!1!==(a=t(r,i,e))&&(n[i]=a||r)}),Object.defineProperties(e,n)},K=h("AsyncFunction"),W=(n="function"==typeof setImmediate,i=A(x.postMessage),n?setImmediate:i?((e,t)=>(x.addEventListener("message",({source:r,data:n})=>{r===x&&n===e&&t.length&&t.shift()()},!1),r=>{t.push(r),x.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e)),Y="undefined"!=typeof queueMicrotask?queueMicrotask.bind(x):void 0!==s&&s.nextTick||W,q={isArray:E,isArrayBuffer:S,isBuffer:g,isFormData:e=>{let t;return e&&(R&&e instanceof R||A(e.append)&&("formdata"===(t=f(e))||"object"===t&&A(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&S(e.buffer)},isString:m,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:T,isEmptyObject:e=>{if(!b(e)||g(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}}
15,isReadableStream:D,isRequest:P,isResponse:L,isHeaders:k,isUndefined:_,isDate:y,isFile:O,isReactNativeBlob:e=>!!(e&&void 0!==e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:w,isRegExp:j,isFunction:A,isStream:e=>b(e)&&A(e.pipe),isURLSearchParams:N,isTypedArray:B,isFileList:C,forEach:M,merge:function e(){let{caseless:t,skipUndefined:r}=U(this)&&this||{},n={},i=(i,a)=>{if("__proto__"===a||"constructor"===a||"prototype"===a)return;let o=t&&F(n,a)||a;T(n[o])&&T(i)?n[o]=e(n[o],i):T(i)?n[o]=e({},i):E(i)?n[o]=i.slice():r&&_(i)||(n[o]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],i);return n},extend:(e,t,r,{allOwnKeys:n}={})=>(M(t,(t,n)=>{r&&A(t)?Object.defineProperty(e,n,{value:o(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,a,o,s={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)o=i[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=!1!==r&&c(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:f,kindOfTest:h,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(E(e))return e;let t=e.length;if(!v(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[u]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:H,hasOwnProperty:G,hasOwnProp:G,reduceDescriptors:V,freezeMethods:e=>{V(e,(t,r)=>{if(A(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;if(A(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(e=>{e.forEach(e=>{r[e]=!0})})(E(e)?e:String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:F,global:x,isContextDefined:U,isSpecCompliantForm:function(e){return!!(e&&A(e.append)&&"FormData"===e[d]&&e[u])},toJSONObject:e=>{let t=Array(10),r=(e,n)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(g(e))return e;if(!("toJSON"in e)){t[n]=e;let i=E(e)?[]:{};return M(e,(e,t)=>{let a=r(e,n+1);_(a)||(i[t]=a)}),t[n]=void 0,i}}return e};return r(e,0)},isAsyncFn:K,isThenable:e=>e&&(b(e)||A(e))&&A(e.then)&&A(e.catch),setImmediate:W,asap:Y,isIterable:e=>null!=e&&A(e[u])};class z extends Error{static from(e,t,r,n,i,a){let o=new z(e.message,t||e.code,r,n,i);return o.cause=e,o.name=e.name,null!=e.status&&null==o.status&&(o.status=e.status),a&&Object.assign(o,a),o}constructor(e,t,r,n,i){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}}z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",z.ERR_BAD_OPTION="ERR_BAD_OPTION",z.ECONNABORTED="ECONNABORTED",z.ETIMEDOUT="ETIMEDOUT",z.ERR_NETWORK="ERR_NETWORK",z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",z.ERR_DEPRECATED="ERR_DEPRECATED",z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",z.ERR_BAD_REQUEST="ERR_BAD_REQUEST",z.ERR_CANCELED="ERR_CANCELED",z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",z.ERR_INVALID_URL="ERR_INVALID_URL";let X=z;var $=r(91434).hp;function Q(e){return q.isPlainObject(e)||q.isArray(e)}function J(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function Z(e,t,r){return e?e.concat(t).map(function(e,t){return e=J(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let ee=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)}),et=function(e,t,r){if(!q.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let n=(r=q.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!q.isUndefined(t[e])})).metaTokens,i=r.visitor||c,a=r.dots,o=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(q.isBoolean(e))return e.toString();if(!s&&q.isBlob(e))throw new X("Blob is not supported. Use a Buffer instead.");
15return q.isArrayBuffer(e)||q.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):$.from(e):e}function c(e,r,i){let s=e;if(q.isReactNative(t)&&q.isReactNativeBlob(e))return t.append(Z(i,r,a),l(e)),!1;if(e&&!i&&"object"==typeof e)if(q.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else{var c;if(q.isArray(e)&&(c=e,q.isArray(c)&&!c.some(Q))||(q.isFileList(e)||q.endsWith(r,"[]"))&&(s=q.toArray(e)))return r=J(r),s.forEach(function(e,n){q.isUndefined(e)||null===e||t.append(!0===o?Z([r],n,a):null===o?r:r+"[]",l(e))}),!1}return!!Q(e)||(t.append(Z(i,r,a),l(e)),!1)}let u=[],d=Object.assign(ee,{defaultVisitor:c,convertValue:l,isVisitable:Q});if(!q.isObject(e))throw TypeError("data must be an object");return function e(r,n){if(!q.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),q.forEach(r,function(r,a){!0===(!(q.isUndefined(r)||null===r)&&i.call(t,r,q.isString(a)?a.trim():a,n,d))&&e(r,n?n.concat(a):[a])}),u.pop()}}(e),t};function er(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function en(e,t){this._pairs=[],e&&et(e,this,t)}let ei=en.prototype;function ea(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eo(e,t,r){let n;if(!t)return e;let i=r&&r.encode||ea,a=q.isFunction(r)?{serialize:r}:r,o=a&&a.serialize;if(n=o?o(t,a):q.isURLSearchParams(t)?t.toString():new en(t,a).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}ei.append=function(e,t){this._pairs.push([e,t])},ei.toString=function(e){let t=e?function(t){return e.call(this,t,er)}:er;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class es{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(t){null!==t&&e(t)})}}let el={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},ec="undefined"!=typeof URLSearchParams?URLSearchParams:en,eu="undefined"!=typeof FormData?FormData:null,ed="undefined"!=typeof Blob?Blob:null,ef="undefined"!=typeof window&&"undefined"!=typeof document,eh="object"==typeof navigator&&navigator||void 0,ep=ef&&(!eh||0>["ReactNative","NativeScript","NS"].indexOf(eh.product)),eE="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,e_=ef&&window.location.href||"http://localhost",eg={...a,isBrowser:!0,classes:{URLSearchParams:ec,FormData:eu,Blob:ed},protocols:["http","https","file","blob","url","data"]},eS=function(e){if(q.isFormData(e)&&q.isFunction(e.entries)){let t={};return q.forEachEntry(e,(e,r)=>{!function e(t,r,n,i){let a=t[i++];if("__proto__"===a)return!0;let o=Number.isFinite(+a),s=i>=t.length;return(a=!a&&q.isArray(n)?n.length:a,s)?q.hasOwnProp(n,a)?n[a]=[n[a],r]:n[a]=r:(n[a]&&q.isObject(n[a])||(n[a]=[]),e(t,r,n[a],i)&&q.isArray(n[a])&&(n[a]=function(e){let t,r,n={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)n[r=i[t]]=e[r];return n}(n[a]))),!o}(q.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),r,t,0)}),t}return null},em={transitional:el,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=q.isObject(e);if(a&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return i?JSON.stringify(eS(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1){var o,s;return(o=e,s=this.formSerializer,et(o,new eg.classes.URLSearchParams,{visitor:function(e,t,r,n){return eg.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...s})).toString()}if((r=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return et(r?{"files[]":e}
15:e,t&&new t,this.formSerializer)}}if(a||i){t.setContentType("application/json",!1);var l=e;if(q.isString(l))try{return(0,JSON.parse)(l),q.trim(l)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(l)}return e}],transformResponse:[function(e){let t=this.transitional||em.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(r&&!this.responseType||n)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,this.parseReviver)}catch(e){if(!r&&n){if("SyntaxError"===e.name)throw X.from(e,X.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eg.classes.FormData,Blob:eg.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{em.headers[e]={}});let eA=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ev=e=>{let t,r,n,i={};return e&&e.split("\n").forEach(function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&eA[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)}),i},eb=Symbol("internals"),eT=e=>!/[\r\n]/.test(e);function ey(e){return e&&String(e).trim().toLowerCase()}function eO(e){return!1===e||null==e?e:q.isArray(e)?e.map(eO):function(e){let t=e.length;for(;t>0;){let r=e.charCodeAt(t-1);if(10!==r&&13!==r)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}let ew=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eC(e,t,r,n,i){if(q.isFunction(n))return n.call(this,t,r);if(i&&(t=r),q.isString(t)){if(q.isString(n))return -1!==t.indexOf(n);if(q.isRegExp(n))return n.test(t)}}class eI{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function i(e,t,r){let i=ey(t);if(!i)throw Error("header name must be a non-empty string");let a=q.findKey(n,i);a&&void 0!==n[a]&&!0!==r&&(void 0!==r||!1===n[a])||(function e(t,r){if(!1!==t&&null!=t){if(q.isArray(t)){t.forEach(t=>e(t,r));return}if(!eT(String(t)))throw Error(`Invalid character in header content ["${r}"]`)}}(e,t),n[a||t]=eO(e))}let a=(e,t)=>q.forEach(e,(e,r)=>i(e,r,t));if(q.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(q.isString(e)&&(e=e.trim())&&!ew(e))a(ev(e),t);else if(q.isObject(e)&&q.isIterable(e)){let r={},n,i;for(let t of e){if(!q.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[i=t[0]]=(n=r[i])?q.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(r,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=ey(e)){let r=q.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
15for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(q.isFunction(t))return t.call(this,e,r);if(q.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ey(e)){let r=q.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||eC(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function i(e){if(e=ey(e)){let i=q.findKey(r,e);i&&(!t||eC(r,r[i],i,t))&&(delete r[i],n=!0)}}return q.isArray(e)?e.forEach(i):i(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let i=t[r];(!e||eC(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){let t=this,r={};return q.forEach(this,(n,i)=>{let a=q.findKey(r,i);if(a){t[a]=eO(n),delete t[i];return}let o=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(i).trim();o!==i&&delete t[i],t[o]=eO(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return q.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&q.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[eb]=this[eb]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=ey(e);if(!t[n]){let i=q.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(r,t+i,{value:function(r,n,i){return this[t].call(this,e,r,n,i)},configurable:!0})}),t[n]=!0}}return q.isArray(e)?e.forEach(n):n(e),this}}function eR(e,t){let r=this||em,n=t||r,i=eI.from(n.headers),a=n.data;return q.forEach(e,function(e){a=e.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function eN(e){return!!(e&&e.__CANCEL__)}eI.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(eI.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),q.freezeMethods(eI);class eD extends X{constructor(e,t,r){super(null==e?"canceled":e,X.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}}function eP(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new X("Request failed with status code "+r.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}let eL=function(e,t){let r,n=Array(e=e||10),i=Array(e),a=0,o=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),c=i[o];r||(r=l),n[a]=s,i[a]=l;let u=o,d=0;for(;u!==a;)d+=n[u++],u%=e;if((a=(a+1)%e)===o&&(o=(o+1)%e),l-r<t)return;let f=c&&l-c;return f?Math.round(1e3*d/f):void 0}},ek=function(e,t){let r,n,i=0,a=1e3/t,o=(t,a=Date.now())=>{i=a,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=a?o(e,t):(r=e,n||(n=setTimeout(()=>{n=null,o(r)},a-s)))},()=>r&&o(r)]},eM=(e,t,r=3)=>{let n=0,i=eL(50,250);return ek(r=>{let a=r.loaded,o=r.lengthComputable?r.total:void 0,s=a-n,l=i(s);n=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&a<=o?(o-a)/l:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})},r)},eF=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ex=e=>(...t)=>q.asap(()=>e(...t)),eU=eg.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,eg.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(eg.origin),eg.navigator&&/(msie|trident)/i.test(eg.navigator.userAgent)):()=>!0,eB=eg.hasStandardBrowserEnv?{write(e,t,r,n,i,a,o){if("undefined"==typeof document)return;let s=[`${e}=${encodeURIComponent(t)}`];q.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),q.isString(n)&&s.push(`path=${n}`),q.isString(i)&&s.push(`domain=${i}`),!0===a&&s.push("secure"),q.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function eH(e,t,r){let n=!("string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t));return e&&(n||!1==r)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eG=e=>e instanceof eI?{...e}:e;
15function ej(e,t){t=t||{};let r={};function n(e,t,r,n){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:n},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function i(e,t,r,i){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e,r,i):n(e,t,r,i)}function a(e,t){if(!q.isUndefined(t))return n(void 0,t)}function o(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,i,a){return a in t?n(r,i):a in e?n(void 0,r):void 0}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,r)=>i(eG(e),eG(t),r,!0)};return q.forEach(Object.keys({...e,...t}),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;let a=q.hasOwnProp(l,n)?l[n]:i,o=a(e[n],t[n],n);q.isUndefined(o)&&a!==s||(r[n]=o)}),r}let eV=e=>{let t=ej({},e),{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=eI.from(o),t.url=eo(eH(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),q.isFormData(r)){if(eg.hasStandardBrowserEnv||eg.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(q.isFunction(r.getHeaders)){let e=r.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,r])=>{t.includes(e.toLowerCase())&&o.set(e,r)})}}if(eg.hasStandardBrowserEnv&&(n&&q.isFunction(n)&&(n=n(t)),n||!1!==n&&eU(t.url))){let e=i&&a&&eB.read(a);e&&o.set(i,e)}return t},eK="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,i,a,o,s,l=eV(e),c=l.data,u=eI.from(l.headers).normalize(),{responseType:d,onUploadProgress:f,onDownloadProgress:h}=l;function p(){o&&o(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(n),l.signal&&l.signal.removeEventListener("abort",n)}let E=new XMLHttpRequest;function _(){if(!E)return;let n=eI.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders());eP(function(e){t(e),p()},function(e){r(e),p()},{data:d&&"text"!==d&&"json"!==d?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:n,config:e,request:E}),E=null}E.open(l.method.toUpperCase(),l.url,!0),E.timeout=l.timeout,"onloadend"in E?E.onloadend=_:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&0===E.responseURL.indexOf("file:"))&&setTimeout(_)},E.onabort=function(){E&&(r(new X("Request aborted",X.ECONNABORTED,e,E)),E=null)},E.onerror=function(t){let n=new X(t&&t.message?t.message:"Network Error",X.ERR_NETWORK,e,E);n.event=t||null,r(n),E=null},E.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",n=l.transitional||el;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),r(new X(t,n.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,E)),E=null},void 0===c&&u.setContentType(null),"setRequestHeader"in E&&q.forEach(u.toJSON(),function(e,t){E.setRequestHeader(t,e)}),q.isUndefined(l.withCredentials)||(E.withCredentials=!!l.withCredentials),d&&"json"!==d&&(E.responseType=l.responseType),h&&([a,s]=eM(h,!0),E.addEventListener("progress",a)),f&&E.upload&&([i,o]=eM(f),E.upload.addEventListener("progress",i),E.upload.addEventListener("loadend",o)),(l.cancelToken||l.signal)&&(n=t=>{E&&(r(!t||t.type?new eD(null,e,E):t),E.abort(),E=null)},l.cancelToken&&l.cancelToken.subscribe(n),l.signal&&(l.signal.aborted?n():l.signal.addEventListener("abort",n)));let g=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(g&&-1===eg.protocols.indexOf(g)){r(new X("Unsupported protocol "+g+":",X.ERR_BAD_REQUEST,e));return}E.send(c||null)})},eW=(e,t)=>{let{length:r}=e=e?e.filter(Boolean):[];if(t||r){let r,n=new AbortController,i=function(e){if(!r){r=!0,o();let t=e instanceof Error?e:this.reason;n.abort(t instanceof X?t:new eD(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new X(`timeout of ${t}ms exceeded`,X.ETIMEDOUT))},t),o=()=>
15{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=n;return s.unsubscribe=()=>q.asap(o),s}},eY=function*(e,t){let r,n=e.byteLength;if(!t||n<t){yield e;return}let i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},eq=async function*(e,t){for await(let r of ez(e))yield*eY(r,t)},ez=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},eX=(e,t,r,n)=>{let i,a=eq(e,t),o=0,s=e=>{!i&&(i=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await a.next();if(t){s(),e.close();return}let i=n.byteLength;if(r){let e=o+=i;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},{isFunction:e$}=q,eQ=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:eJ,TextEncoder:eZ}=q.global,e0=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e1=e=>{let t,{fetch:r,Request:n,Response:i}=e=q.merge.call({skipUndefined:!0},eQ,e),a=r?e$(r):"function"==typeof fetch,o=e$(n),s=e$(i);if(!a)return!1;let l=a&&e$(eJ),c=a&&("function"==typeof eZ?(t=new eZ,e=>t.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer())),u=o&&l&&e0(()=>{let e=!1,t=new eJ,r=new n(eg.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!r}),d=s&&l&&e0(()=>q.isReadableStream(new i("").body)),f={stream:d&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{f[e]||(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new X(`Response type '${e}' is not supported`,X.ERR_NOT_SUPPORT,r)})});let h=async e=>{if(null==e)return 0;if(q.isBlob(e))return e.size;if(q.isSpecCompliantForm(e)){let t=new n(eg.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return q.isArrayBufferView(e)||q.isArrayBuffer(e)?e.byteLength:(q.isURLSearchParams(e)&&(e+=""),q.isString(e))?(await c(e)).byteLength:void 0},p=async(e,t)=>{let r=q.toFiniteNumber(e.getContentLength());return null==r?h(t):r};return async e=>{let t,{url:a,method:s,data:l,signal:c,cancelToken:h,timeout:E,onDownloadProgress:_,onUploadProgress:g,responseType:S,headers:m,withCredentials:A="same-origin",fetchOptions:v}=eV(e),b=r||fetch;S=S?(S+"").toLowerCase():"text";let T=eW([c,h&&h.toAbortSignal()],E),y=null,O=T&&T.unsubscribe&&(()=>{T.unsubscribe()});try{if(g&&u&&"get"!==s&&"head"!==s&&0!==(t=await p(m,l))){let e,r=new n(a,{method:"POST",body:l,duplex:"half"});if(q.isFormData(l)&&(e=r.headers.get("content-type"))&&m.setContentType(e),r.body){let[e,n]=eF(t,eM(ex(g)));l=eX(r.body,65536,e,n)}}q.isString(A)||(A=A?"include":"omit");let r=o&&"credentials"in n.prototype,c={...v,signal:T,method:s.toUpperCase(),headers:m.normalize().toJSON(),body:l,duplex:"half",credentials:r?A:void 0};y=o&&new n(a,c);let h=await (o?b(y,v):b(a,c)),E=d&&("stream"===S||"response"===S);if(d&&(_||E&&O)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=h[t]});let t=q.toFiniteNumber(h.headers.get("content-length")),[r,n]=_&&eF(t,eM(ex(_),!0))||[];h=new i(eX(h.body,65536,r,()=>{n&&n(),O&&O()}),e)}S=S||"text";let w=await f[q.findKey(f,S)||"text"](h,e);return!E&&O&&O(),await new Promise((t,r)=>{eP(t,r,{data:w,headers:eI.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:y})})}catch(t){if(O&&O(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new X("Network Error",X.ERR_NETWORK,e,y,t&&t.response),{cause:t.cause||t});throw X.from(t,t&&t.code,e,y,t&&t.response)}}},e2=new Map,e5=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:i}=t,a=[n,i,r],o=a.length,s,l,c=e2;for(;o--;)s=a[o],void 0===(l=c.get(s))&&c.set(s,l=o?new Map:e1(t)),c=l;return l};e5();let e3={http:null,xhr:eK,fetch:{get:e5}};q.forEach(e3,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let e4=e=>`- ${e}`,e6=e=>
15q.isFunction(e)||null===e||!1===e,e7={getAdapter:function(e,t){let r,n,{length:i}=e=q.isArray(e)?e:[e],a={};for(let o=0;o<i;o++){let i;if(n=r=e[o],!e6(r)&&void 0===(n=e3[(i=String(r)).toLowerCase()]))throw new X(`Unknown adapter '${i}'`);if(n&&(q.isFunction(n)||(n=n.get(t))))break;a[i||"#"+o]=n}if(!n){let e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new X("There is no suitable adapter to dispatch the request "+(i?e.length>1?"since :\n"+e.map(e4).join("\n"):" "+e4(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function e8(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eD(null,e)}function e9(e){return e8(e),e.headers=eI.from(e.headers),e.data=eR.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),e7.getAdapter(e.adapter||em.adapter,e)(e).then(function(t){return e8(e),t.data=eR.call(e,e.transformResponse,t),t.headers=eI.from(t.headers),t},function(t){return!eN(t)&&(e8(e),t&&t.response&&(t.response.data=eR.call(e,e.transformResponse,t.response),t.response.headers=eI.from(t.response.headers))),Promise.reject(t)})}let te="1.15.0",tt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{tt[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let tr={};tt.transitional=function(e,t,r){function n(e,t){return"[Axios v"+te+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,a)=>{if(!1===e)throw new X(n(i," has been removed"+(t?" in "+t:"")),X.ERR_DEPRECATED);return t&&!tr[i]&&(tr[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,a)}},tt.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};let tn={assertOptions:function(e,t,r){if("object"!=typeof e)throw new X("options must be an object",X.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),i=n.length;for(;i-- >0;){let a=n[i],o=t[a];if(o){let t=e[a],r=void 0===t||o(t,a,e);if(!0!==r)throw new X("option "+a+" must be "+r,X.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new X("Unknown option "+a,X.ERR_BAD_OPTION)}},validators:tt},ti=tn.validators;class ta{constructor(e){this.defaults=e||{},this.interceptors={request:new es,response:new es}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=(()=>{if(!t.stack)return"";let e=t.stack.indexOf("\n");return -1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){let t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),i=-1===n?"":r.slice(n+1);String(e.stack).endsWith(i)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:a,headers:o}=t=ej(this.defaults,t);void 0!==i&&tn.assertOptions(i,{silentJSONParsing:ti.transitional(ti.boolean),forcedJSONParsing:ti.transitional(ti.boolean),clarifyTimeoutError:ti.transitional(ti.boolean),legacyInterceptorReqResOrdering:ti.transitional(ti.boolean)},!1),null!=a&&(q.isFunction(a)?t.paramsSerializer={serialize:a}:tn.assertOptions(a,{encode:ti.function,serialize:ti.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),tn.assertOptions(t,{baseUrl:ti.spelling("baseURL"),withXsrfToken:ti.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=eI.concat(s,o);let l=[],c=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;c=c&&e.synchronous;let r=t.transitional||el;r&&r.legacyInterceptorReqResOrdering?l.unshift(e.fulfilled,e.rejected):l.push(e.fulfilled,e.rejected)});let u=[];this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let d=0;if(!c){let e=[e9.bind(this),void 0];for(e.unshift(...l),e.push(...u),n=e.length,r=Promise.resolve(t);d<n;)r=r.then(e[d++],e[d++]);return r}n=l.length;let f=t;for(;d<n;){let e=l[d++],t=l[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{r=e9.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,n=u.length;d<n;)r=r.then(u[d++],u[d++]);return r}getUri(e){return eo(eH((e=ej(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}q.forEach(["delete","get","head","options"],function(e){ta.prototype[e]=function(t,r){return this.request(ej(r||{},{method:e,url:t,data:(r||{}).data}))}}),q.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,i){return this.request(ej(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ta.prototype[e]=t(),ta.prototype[e+"Form"]=t(!0)});class to{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new eD(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
15subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new to(function(t){e=t}),cancel:e}}}let ts={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ts).forEach(([e,t])=>{ts[t]=e});let tl=function e(t){let r=new ta(t),n=o(ta.prototype.request,r);return q.extend(n,ta.prototype,r,{allOwnKeys:!0}),q.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(ej(t,r))},n}(em);tl.Axios=ta,tl.CanceledError=eD,tl.CancelToken=to,tl.isCancel=eN,tl.VERSION=te,tl.toFormData=et,tl.AxiosError=X,tl.Cancel=tl.CanceledError,tl.all=function(e){return Promise.all(e)},tl.spread=function(e){return function(t){return e.apply(null,t)}},tl.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},tl.mergeConfig=ej,tl.AxiosHeaders=eI,tl.formToJSON=e=>eS(q.isHTMLForm(e)?new FormData(e):e),tl.getAdapter=e7.getAdapter,tl.HttpStatusCode=ts,tl.default=tl;let tc=tl},716877:(e,t,r)=>{"use strict";r.d(t,{D7:()=>i,Dz:()=>o,Je:()=>E,Jr:()=>a,Mt:()=>h,TQ:()=>u,Ze:()=>f,i9:()=>n,nE:()=>s,uH:()=>p,vS:()=>c,w8:()=>d,zp:()=>l});let n={OTP:"OTP",EDIS:"EDIS",INFO:"INFO",INPUT:"INPUT",TWO_FA:"TWO_FA",STATUS:"STATUS",CONFIRM:"CONFIRM",BANK_CHANGE:"BANK_CHANGE"},i={UNITS:"UNITS",AMOUNT:"AMOUNT",REDEEM_ALL:"ALL_REDEEM"},a={amount:"",units:"",errorText:"",hasError:!1,redeemAll:!1,redeemBy:i.AMOUNT,isRedeemAllCheckedOnce:!1},o={OKAY:"Okay",DONE:"Done",REDEEM:"Redeem",PROCEED:"Proceed",CONFIRM:"Confirm",FAILED:"Try again",OKAY_PROCEED:"Okay, proceed",DECLARE_NOMINEE:"Declare nominee",ORDER_DETAILS:"Order Details",VERIFY_AND_REDEEM:"Verify and redeem",REACTIVATE_ACCOUNT:"Reactivate account",CONTINUE_TO_REDEEM:"Continue to redeem",CHANGE_BANK_LINKED_TO_FOLIO:"Change bank linked to folio",CHANGE_BANK_TO_ENABLE_REDEEM:"Change bank to enable redeem"},s={TOTAL:"Total amount",LOCK_IN:"ELSS Lock in",IN_PROGRESS:"Order(s) in progress",PLEDGED:"Pledged amount",LIEN:"Amount in lien",AVAILABLE:"Available amount"},l={TOTAL:"Total units",LOCK_IN:"Lock in",IN_PROGRESS:"Order(s) in progress",PLEDGED:"Pledged units",LIEN:"Units in lien",AVAILABLE:"Available units"};var c=function(e){return e.DEMAT="D",e.PHYSICAL="P",e}({}),u=function(e){return e.GROWW_OTP="GROWW_OTP",e.EDIS="EDIS",e.EXCHANGE_OTP="EXCHANGE_OTP",e}({}),d=function(e){return e.SUCCESS="SUCCESS",e.FAILED="FAILED",e}({});let f={MdsIcCalendar:"MdsIcCalendar",DateRange:"DateRange"},h={isEnabled:!0,availableAmountConfig:{question:"How is my available amount calculated?",answer:"The available amount is calculated based on the latest applicable NAV of {date}.",amountHeading:"Why is my available amount less?",unitsHeading:"Why are my available units less?"},noExitLoad:"No exit load will be charged by the fund house",exitLoadInfo:"Exit load of approx {exitLoad}
15 will be charged by fund house",redeemAmountInfo:["The redeem order is placed in terms of units. Hence a redeem order for {redeemUnits} units will be placed.","The actual amount you will get may differ after the fund house declares the NAV of {navDate} and the applicable exit load."],exitLoadDisclaimer:"*Exit load is based on NAV which is yet to be declared by fund house",amountDisclaimer:"*All values are based on NAV which is yet to be declared by fund house",redeemAllAmount:"The actual amount you get will be determined after the fund house declares the NAV.",redeemAllInfo:"*All units in this scheme & folio will be redeemed (both internal and external)",applicableNavConfig:[{icon:f.MdsIcCalendar,question:"Why am I getting NAV of {navDate} instead of {currentDate}?",answer:"Since you are placing the order {orderPlacedTime}, the applicable nav will be of next working day, which is {navDate}"},{icon:f.DateRange,question:"What will be the applicable NAV?",answer:"The applicable NAV is of {navDate}. It will be declared by the fund house after 10 PM."}]},p={heading:"Verification",subHeading:"Verify with TPIN to redeem",cdslHeadContent:"Before your first redeem order of the day, TPIN verification is required by CDSL. You will find your TPIN in your email and SMS.",btnText:"Verify using TPIN"},E={heading:"Verification",subHeading:"Holdings verified successfully",cdslHeadContent:"You can now sell your holdings on Groww"}},718043:(e,t,r)=>{"use strict";r.d(t,{O:()=>n});let n=globalThis},722769:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/f.deaf70e1.svg",height:135,width:135,blurWidth:0,blurHeight:0}},723293:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});let n={hasMoreScreenerData:!1,screenerData:{isLoading:!1,isError:!1,data:{totalRecords:0,records:[]}},defaultFilters:{isLoading:!1,isError:!1,filters:{}},selectedFilters:{}}},724965:e=>{e.exports={navContainer:"loggedOut_navContainer__h99vu",leftContainer:"loggedOut_leftContainer__qKr3O",marginBottom4:"loggedOut_marginBottom4__EmG4W",rightContainer:"loggedOut_rightContainer__HcT8S",searchContainer:"loggedOut_searchContainer__fv5co",navItem:"loggedOut_navItem__gjbia",navItemLast:"loggedOut_navItemLast__f0Otu",navItemSecondLast:"loggedOut_navItemSecondLast__dBn7a",navDivider:"loggedOut_navDivider__ZxwFK",hoverDiv:"loggedOut_hoverDiv__aVsCI",visibilityVisible:"loggedOut_visibilityVisible__vE14P"}},725882:()=>{},729623:(e,t,r)=>{"use strict";r.d(t,{$k:()=>f,A6:()=>N,A8:()=>u,Bk:()=>J,DE:()=>p,DS:()=>l,EH:()=>Z,EJ:()=>O,EL:()=>V,Eh:()=>v,F1:()=>et,F_:()=>y,KY:()=>j,LO:()=>S,L_:()=>_,Lp:()=>T,MP:()=>x,Oc:()=>d,S2:()=>m,S5:()=>G,TZ:()=>K,Tf:()=>I,Tg:()=>q,UK:()=>C,_9:()=>B,_M:()=>A,cB:()=>P,cy:()=>i,dC:()=>D,dk:()=>L,dt:()=>Q,eq:()=>w,hj:()=>U,iL:()=>k,kJ:()=>z,kt:()=>W,nW:()=>E,ni:()=>g,o9:()=>ee,p1:()=>$,pR:()=>h,pq:()=>H,qT:()=>X,rn:()=>b,sN:()=>Y,vf:()=>a,vy:()=>R,w4:()=>M,wy:()=>o,yN:()=>c,zh:()=>F});var n=r(454532);let i=(0,n.un)(n.bw.MF+n.bw.MF_COMPARE+n.bw.SLASH+n.bw.SEARCH_ID),a=(0,n.un)(n.bw.MF+n.bw.FILTER);(0,n.un)(n.bw.DASH+n.bw.INSIGHT),(0,n.un)(n.bw.USER+n.bw.SIP+n.bw.AUTOPAY_BENEFITS);let o=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.SIP),s=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.MF_SIP_DEMAT_MIGRATION),l=()=>s(),c=()=>"".concat(s(),"?view=status"),u=(0,n.un)(n.bw.USER+n.bw.STEP_UP_SIP+n.bw.SLASH+n.bw.SEARCH_ID),d=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.MF),f=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.MF+n.bw.SLASH+n.bw.SEARCH_ID),h=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.CART),p=(0,n.un)(n.bw.VIEW_ORDER+n.bw.GROWW_MANDATE+n.bw.STATUS);(0,n.un)(n.bw.DASH+n.bw.INVEST_MORE),(0,n.un)(n.bw.GENERATE_OTM),(0,n.un)(n.bw.GROWW_MANDATE+n.bw.STATUS),(0,n.un)(n.bw.GROWW_MANDATE),(0,n.un)(n.bw.UPLOAD_OTM);let E=(0,n.un)(n.bw.USER+n.bw.BANK_AND_MANDATE),_=(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.MF+n.bw.SWITCH+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.USER+n.bw.SWITCH+n.bw.SLASH+n.bw.SWITCH_SCREEN_ID),(0,n.un)(n.bw.USER+n.bw.SWITCH_TO_DIRECT);let g=(0,n.un)(n.bw.USER+n.bw.SYSTEMATIC_WITHDRAW),S=(0,n.un)(n.bw.USER+n.bw.SYSTEMATIC_WITHDRAW+n.bw.VIEW_ORDERS),m=(0,n.un)(n.bw.USER+n.bw.SYSTEMATIC_TRANSFER),A=(0,n.un)(n.bw.USER+n.bw.SYSTEMATIC_TRANSFER+n.bw.VIEW_ORDERS),v=(0,n.un)(n.bw.USER+n.bw.SWITCH_FUNDS_DASHBOARD),b=(0,n.un)(n.bw.NFO);(0,n.un)(n.bw.NFO+n.bw.EXCLUSIVE);let T=(0,n.un)(n.bw.NFO+n.bw.SLASH+n.bw.SEARCH_ID),y=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.WATCHLIST),O=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.DASHBOARD),w=(0,n.un)(n.bw.MF+n.bw.TRACK+n.bw.TRACK_REQUEST),C=(0,n.un)(n.bw.USER+n.bw.LINK_AADHAAR_PAN);(0,n.un)(n.bw.MF+n.bw.TOP_FUNDS),(0,n.un)(n.bw.MF+n.bw.USER+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.DASHBOARD+n.bw.TRANSACTIONS+n.bw.SLASH+n.bw.SEARCH_ID);let I=(0,n.un)(n.bw.MF),R=(0,n.un)(n.bw.MF+n.bw.AMC),N=(0,n.un)(n.bw.MF+n.bw.CATEGORY),D=(0,n.un)(n.bw.MF+n.bw.AMC+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.MF+n.bw.TOP_FUNDS+n.bw.SEARCH_ID),(0,n.un)(n.bw.MF+n.bw.TOP_FUNDS+n.bw.BEST+n.bw.SEARCH_ID+n.bw.SEO_LAST_MF);let P=(0,n.un)(n.bw.MF+n.bw.CATEGORY+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.MF+n.bw.MF_COMPARE+n.bw.SLASH+n.bw.SEARCH_ID);let L=(0,n.un)(n.bw.MF+n.bw.MF_COMPARE),k=(0,n.un)(n.bw.MF+n.bw.COLLECTION+n.bw.SLASH+n.bw.SEARCH_ID),M=(0,n.un)(n.bw.MF+n.bw.FILTER),F=(0,n.un)(n.bw.MF+n.bw.START_SIP),x=(0,n.un)(n.bw.MF+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.NFO+n.bw.SLASH+n.bw.SEARCH_ID),(0,n.un)(n.bw.SAVE_TAX),(0,n.un)(n.bw.USER+n.bw.MF+n.bw.REDEEM),(0,n.un)(n.bw.MF+n.bw.REDEEM+n.bw.VERIFY),(0,n.un)(n.bw.USER+n.bw.MF+n.bw.INVESTMENT);let U=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.SIP+n.bw.SLASH+n.bw.SEARCH_ID);(0,n.un)(n.bw.USER+n.bw.MF+n.bw.STEP_UP_SIP),(0,n.un)(n.bw.USER+n.bw.MF+n.bw.EDIT_SIP),(0,n.un)(n.bw.PAYMENT+n.bw.CONFIRMATION),(0,n.un)(n.bw.SMARTSAVE),(0,n.un)(n.bw.USER+n.bw.VIEW_ORDER+n.bw.MF+n.bw.EDIT+n.bw.SLASH),(0,n.un)(n.bw.SWITCH),(0,n.un)(n.bw.USER+n.bw.SWITCH);let B=(0,n.un)(n.bw.TRACK),H=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.EXPLORE),G=(0,n.un)(n.bw.MF+n.bw.REDEEM_NOMINEE),j=(0,n.un)(n.bw.MF+n.bw.REDEEM_NOMINEE+n.bw.VIEW_ORDER),V=(0,n.un)(n.bw.MF+n.bw.MF_CATEGORY+n.bw.SLASH+n.bw.SEARCH_ID),K=(0,n.un)(n.bw.MF+n.bw.SLASH+n.bw.SEARCH_ID),W=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS),Y=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS+n.bw.ACTIVE_PASSIVE_SPLIT),q=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS+n.bw.PRIME_VERDICT),z=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS+n.bw.HOLDING_SPLIT),X=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.INVESTMENT+n.bw.INSIGHTS+n.bw.TAX_SPLIT);(0,n.un)(n.bw.ONBOARDING+n.bw.UPDATE_KYC);let $=(0,n.un)(n.bw.ONBOARDING),Q=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.SIP+n.bw.CANCELLED_SIP),J=(0,n.un)(n.bw.ONBOARDING+n.bw.REDIRECT_TO_APP_ONBOARDING),Z=(0,n.un)(n.bw.MF+n.bw.COLLECTION+n.bw.GROWW_AMC_MF),ee=(0,n.un)(n.bw.MF_CDSL_AUTH+n.bw.STATUS),et=(0,n.un)(n.bw.MF+n.bw.USER+n.bw.INVESTMENT_DETAILS+n.bw.SLASH+n.bw.SCHEME_CODE)},730884:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n=!1},738558:e=>{e.exports={profileDropdownListItem:"profileMenuOptionContent_profileDropdownListItem__dRnbF",nonInteractive:"profileMenuOptionContent_nonInteractive__jdKwL",profileDropdownListItemIcon:"profileMenuOptionContent_profileDropdownListItemIcon__4Vo_7",profileDropdownListItemBody:"profileMenuOptionContent_profileDropdownListItemBody__rE8Rk",profileDropdownListItemContent:"profileMenuOptionContent_profileDropdownListItemContent__T5Ona",reportsContent:"profileMenuOptionContent_reportsContent__fX0SN",profileDropdownListItemCta:"profileMenuOptionContent_profileDropdownListItemCta__uh2a7"}},738739:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n="production"},739461:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_539)"},n.createElement("path",{fill:"currentColor",d:"M12 17q.424 0 .713-.288A.97.97 0 0 0 13 16v-4a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 11a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 12v4q0 .424.287.712.288.288.713.288m0-8q.424 0 .713-.287A.97.97 0 0 0 13 8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 8q0 .424.287.713Q11.576 9 12 9m0 13a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22m
150-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_539"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},739629:(e,t,r)=>{"use strict";r.d(t,{W:()=>S});var n=r(43430),i=r(647005),a=r(188595),o=r(299168),s=r(136398),l=r(126479),c=r(675669),u=r(280759),d=r(454532),f=r(729623),h=r(603183);let p=[d.bw.FNO_SEARCH_ID,d.bw.FNO,d.bw.OPTION,d.bw.FUTURE],E=[d.bw.MF_SEARCH_ID,d.bw.MF,d.bw.MF_COMPARE,d.bw.NFO,d.bw.WATCHLIST+d.bw.MF,(0,f.pR)(),d.bw.USER+d.bw.CART,d.bw.MF+d.bw.USER+d.bw.SIP];function _(e){var t,r;let n=null===(r=window)||void 0===r?void 0:null===(t=r.location)||void 0===t?void 0:t.href;for(let t of e)if(n.includes(t))return!0;return!1}let g=()=>_(p)?(0,c.NK)():_(E)?(0,u.pq)():(0,u.ZA)();function S(e){let t=(0,n.V$)(a.S4,{onSuccess:()=>(function(e){let t=(0,o.Gn)(),r=(0,o.of)();(0,l.RW)(),(0,i.N1)(i.ZE.LOCAL_COOKIE_STORAGE);try{(0,h.NW)()}catch(e){console.error(e)}(0,o.oA)(t,s.aH.EXPIRY_1_YEAR),(0,o.ym)(r),(0,l.sn)(g()),window.fcWidget&&window.fcWidget.destroy(),e?window.location.assign(e):window.location.assign(d.bw.HOME)})(e)});return{signout:()=>t.execute()}}},739672:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var n=r(428618);let i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n.N.setState(t=>{let r=!t.isModalOpen;return{isModalOpen:r,source:r?e:""}})}},741272:()=>{},743544:(e,t,r)=>{e.exports=r(137900)()},744620:(e,t,r)=>{"use strict";r.d(t,{A9:()=>K,BV:()=>_,D2:()=>k,Dy:()=>C,E4:()=>c,EK:()=>L,Ed:()=>s,Eg:()=>i,HR:()=>$,JI:()=>u,K8:()=>j,Kj:()=>F,LI:()=>Y,M6:()=>U,MH:()=>E,Q2:()=>D,Tc:()=>B,Tw:()=>o,Uc:()=>v,Vc:()=>M,X0:()=>z,YC:()=>Z,Zj:()=>p,_m:()=>g,au:()=>O,cX:()=>W,eC:()=>f,g2:()=>X,gG:()=>N,iI:()=>x,iO:()=>S,ir:()=>h,l8:()=>R,lV:()=>T,oT:()=>m,pQ:()=>d,qu:()=>y,r4:()=>J,rV:()=>I,sJ:()=>b,ug:()=>V,uy:()=>G,vs:()=>P,xI:()=>q,xf:()=>w,yV:()=>A,zF:()=>Q,zG:()=>l});var n=r(454532);let i={MSITE:"msite",DESKTOP:"desktop",CHARTS:"charts"};n.gg.EXPLORE,n.bw.USER,n.bw.VIEW_ORDER,n.bw.SLASH,n.bw.STOCKS_SEARCH_ID,n.gg.INVESTMENTS,n.bw.USER,n.bw.VIEW_ORDER,n.bw.SLASH,n.bw.MF_SEARCH_ID;let a={"mutual-funds":n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.MF_SEARCH_ID,deposits:n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.DEPOSITS_SEARCH_ID,gold:n.bw.USER+n.bw.VIEW_ORDER+n.bw.SLASH+n.bw.GOLD_SEARCH_ID};n.bw.MF_SEARCH_ID,a.gold,n.bw.MF,n.bw.USER,n.bw.EXPLORE,n.bw.MF,n.bw.USER,n.bw.DASHBOARD,n.bw.USER,n.bw.VIEW_ORDER,n.bw.SLASH,n.bw.MF_SEARCH_ID;let o={INR:"â¹",DOLLAR:"$"},s={INR:"INR",USD:"USD"},l={LIGHT:"light",DARK:"dark"},c={DIRECT_PLAY_STORE:"https://app.groww.in/v3cO/icub3jte",IOS_APP_LINK:"https://app.groww.in/v3cO/icub3jte",APP_MARKETING_LINK:"https://app.groww.in/v3cO/4a6424fe",HOMEPAGE_APP_INSTALL_LINK:"https://app.groww.in/v3cO/03yzonb8",DL_DASHBOARD:"https://groww.app.link/i1DYaTKVqU",SWITCH_PAGE:"https://groww.app.link/user/switch",EXPLORE_FUNDS:"https://groww.in/explore/mutual-funds",TRACK_PAGE:"https://groww.app.link/track/request",HELP_AND_SUPPORT_PAGE:"https://groww.app.link/M25OelwEL1",CREDIT_FB_LINK:"https://app.groww.in/v3cO/creditlp",CREDIT_APP_LINK:"https://groww-credit.onelink.me/pmPW/vhdlo1wa"},u={APPLE:"AppleStore",GOOGLE:"GooglePlayStore"},d={IOS:"iOS",ANDROID:"Android",MAC_OS:"Mac OS",WINDOWS:"Windows",LINUX:"Linux"},f=["image/jpeg","image/jpg","image/png","image/webp","image/bmp","image/heic"],h={STOCKS:"STOCKS",MF:"MUTUAL_FUND",GOLD:"GOLD",USSTOCKS:"USSTOCKS",FD:"FD"},p={HNS:"HNS",PAYMENTS:"PAYMENTS"},E={Stocks:"Stocks",IPO:"IPO",ETF:"ETF",US_STOCKS:"US_STOCKS",US_ETF:"US_ETF",Index:"Index",Scheme:"Scheme",Deposit:"Deposit",Question:"Question",Nfo:"Nfo",Future:"Future",Option:"Option",OPTION_CHAIN:"OPTION_CHAIN",Underlying:"Underlying",Buyback:"Buyback",Help:"Help"},_={Nfo:"Nfo",Commodity:"COMMODITY"},g=["nse_gold","nse_goldm","nse_silver","nse_copper","nse_silverm","nse_crudeoil","nse_silvermic","nse_naturalgas","nse_crudeoilm","nse_natgasmini","nse_goldguinea","nse_aluminium","nse_alumini","nse_zinc","nse_zincmini"],S={NOT_CREATED:"NOT_CREATED",VERIFIED:"VERIFIED",CREATED:"CREATED",IN_PROGRESS:"IN_PROGRESS",COMPLETED:"COMPLETED",INACTIVE:"INACTIVE"},m="https://resources.groww.in",A={THEME_CHANGE:"themeChange",RC_LOADED:"rcLoaded",FIREBASE_AUTHENTICATE:"firebaseAuth",OPEN_LOGIN_POPUP:"openLoginPopup",UPDATE_HEADER:"updateHeader",LOGIN_SUCCESS:"loginSuccess",TWO_FA_SUCCESS:"twoFASuccess",OPEN_PIN_POPUP:"openPinPopup",TABLE_CLOSE:"tableClose",TRACK_LOG:"trackLog",LIVEPRICE_CHANGED:"livePriceChanged",TOGGLE_EXCHANGE:"toggleExchange",RESET_TV_CHART_DATA:"resetTvChartData",AUTO_ROTATE:"autoRotate",TRADING_VIEW_CLICK_GROWW:"tradingViewClickGroww",GROWW_LITE_GLOBAL_MSG_BOARD:"growwLiteGlobalMessageBoard",CHART_BUY_SELL:"chartBuySell"}
15,v="https://api.whatsapp.com/send?text=Check out this ",b="https://www.facebook.com/sharer/sharer.php?u=",T="https://twitter.com/intent/tweet?text=Check out this ",y={default:{appName:"[DEFAULT]",prod:"gs://grow-user-docs-only",uat:"growwoptimizer.appspot.com"},hns:{appName:"[hns]",prod:"gs://bgv-freshdesk-groww",uat:"gs://primary-asia-south1-bgv-stage-freshdesk-docs"}},O={ArrowUp:"ArrowUp",ArrowDown:"ArrowDown"},w={AADHAAR_PAN_LINK_URL:"https://eportal.incometax.gov.in/iec/foservices/#/pre-login/bl-link-aadhaar",AADHAAR_PAN_BLOG_URL:"https://www.youtube.com/watch?v=oQ_lqyyu-8Y"},C=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,I=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;var R=function(e){return e.IN_PROGRESS="IN_PROGRESS",e.FAILURE="FAILURE",e.SUCCESS="SUCCESS",e}({});let N={STOCKS:"ProductPage",ETF:"EtfPage",INDEX:"IndexPage",FNO:"FnoPage",FD:"FdBankPage"},D=["BLOCKED","COMPLETED"],P={BLOCKED:"BLOCKED",NSE_DONE_BSE_PENDING:"NSE_DONE_BSE_PENDING",BSE_DONE_NSE_PENDING:"BSE_DONE_NSE_PENDING",COMPLETED:"COMPLETED",PENDING:"PENDING",NOT_COMPLETED:"NOT_COMPLETED",INACTIVE:"INACTIVE",CLOSED:"CLOSED"},L=[P.BSE_DONE_NSE_PENDING,P.COMPLETED,P.NSE_DONE_BSE_PENDING],k=[...L,P.BLOCKED,P.INACTIVE],M=[...k,P.PENDING],F={PENDING:"PENDING",NOT_COMPLETED:"NOT_COMPLETED",COMPLETED:"COMPLETED",REJECTED:"REJECTED"},x={PAYMENTS:"payments",STOCKS:"stocks",MUTUAL_FUNDS:"mutual-funds",MY_ACCOUNT:"my-account",FDS:"fds",US_STOCKS:"us-stocks",GOLD:"gold"},U={SEARCHABLE:"searchable",IPO:"sx-ipo",FNO:"sx-fno",DISCOVERABLE:"discoverable",MF_DASHBOARD:"mf-dashboard",MF_SIFS:"sifs"},B={FNO_MARKET_PROTECTION:"what-is-market-protection--33",SAFE_EXIT_FNO_FAQ:"safe_exit_fno_faq",CHANGE_BANK_IN_FOLIOS:"how-to-change-bank-account-in-mutual-fund-folios--64",CORPORATE_EMPANELMENT:"what-is-corporate-empanelment--34",MF_DEMAT_OPT_OUT:"how-to-opt-out-of-demat-based-mutual-fund-investments--17",MF_XIRR_HELP:"what-s-the-difference-between-active-and-lifetime-xirr--86"},H={QUANT_SMALL_CAP_FUND:"quant-small-cap-fund-direct-plan-growth",ICICI_PRUDENTIAL_COMMODITIES_FUND:"icici-prudential-commodities-fund-direct-growth",NIPPON_INDIA_SMALL_CAP_FUND:"nippon-india-small-cap-fund-direct-growth",PARAG_PARIKH_FLEXI_CAP_FUND:"parag-parikh-long-term-value-fund-direct-growth",SBI_SMALL_MIDCAP_FUND:"sbi-small-midcap-fund-direct-growth",TATA_DIGITAL_INDIA_FUND:"tata-digital-india-fund-direct-growth",AXIS_SMALL_CAP_FUND:"axis-small-cap-fund-direct-growth",ICICI_PRUDENTIAL_TECHNOLOGY_FUND:"icici-prudential-technology-fund-direct-growth",HDFC_INDEX_FUND_SENSEX_PLAN:"hdfc-index-fund-sensex-plan-direct",HDFC_SMALL_CAP_FUND:"hdfc-small-cap-fund-direct-growth",AXIS_EQUITY_FUND:"axis-equity-fund-direct-growth",CANARA_ROBECO_SMALL_CAP_FUND:"canara-robeco-small-cap-fund-direct-growth",TATA_SMALL_CAP_FUND:"tata-small-cap-fund-direct-growth",UTI_NIFTY_FUND:"uti-nifty-fund-direct-growth",GROWW_NIFTY_TOTAL_MARKET_INDEX_FUND:"groww-nifty-total-market-index-fund-direct-growth"};n.bw.MF,n.bw.SLASH,H.QUANT_SMALL_CAP_FUND,n.bw.MF,n.bw.SLASH,H.ICICI_PRUDENTIAL_COMMODITIES_FUND,n.bw.MF,n.bw.SLASH,H.NIPPON_INDIA_SMALL_CAP_FUND,n.bw.MF,n.bw.SLASH,H.PARAG_PARIKH_FLEXI_CAP_FUND,n.bw.MF,n.bw.SLASH,H.GROWW_NIFTY_TOTAL_MARKET_INDEX_FUND,n.bw.MF,n.bw.SLASH,H.SBI_SMALL_MIDCAP_FUND,n.bw.MF,n.bw.SLASH,H.TATA_DIGITAL_INDIA_FUND,n.bw.MF,n.bw.SLASH,H.AXIS_SMALL_CAP_FUND,n.bw.MF,n.bw.SLASH,H.ICICI_PRUDENTIAL_TECHNOLOGY_FUND,n.bw.MF,n.bw.SLASH,H.HDFC_INDEX_FUND_SENSEX_PLAN,n.bw.MF,n.bw.SLASH,H.HDFC_SMALL_CAP_FUND,n.bw.MF,n.bw.SLASH,H.AXIS_EQUITY_FUND,n.bw.MF,n.bw.SLASH,H.CANARA_ROBECO_SMALL_CAP_FUND,n.bw.MF,n.bw.SLASH,H.TATA_SMALL_CAP_FUND,n.bw.MF,n.bw.SLASH,H.UTI_NIFTY_FUND;let G="https://resources.groww.in/web-assets/img/website-logo/groww-logo-light.svg",j="https://resources.groww.in/web-assets/img/website-logo/groww-logo-dark.svg",V="https://resources.groww.in/web-assets/clearTaxLogoLight.png",K="https://resources.groww.in/web-assets/clearTaxLogoDark.png",W={HOW_TO_UNFREEZE:"https://groww.in/help/my-account/ma-account-details/how-do-i-unfreeze-my-groww-account--49?superCategory=MY_ACCOUNT&category=MA_ACCOUNT_DETAILS&subCategory=&source=hns&supportLanguages=EN+HI",LEARN_MORE:"https://groww.in/help/my-account/ma-account-details"},Y=new Set(["/v1/api/user/v2/login/check_email","/v1/api/user/core/auth/login/email","/v1/api/user/core/auth/login/gmail","/v1/api/user/v1/login/reset/otp","/v1/api/user/v1/login/change_pwd","/v1/api/user/v2/auth/pin_status","/v1/api/user/v2/auth/pin/validate","/v1/api/user/v2/auth/pin/send_otp","/v1/api/user/v1/auth/pin/create","/v1/api/user/v1/register/device/otp/send","/v1/api/user/v1/register/device/otp/validate","/v1/api/user/v2/auth/pin/send_otp?resendFlag=false","/v1/api/user/v2/auth/pin/send_otp?resendFlag=true","/v1/api/user/v1/auth/pin/send_otp?resendFlag=false","/v1/api/user/v1/auth/pin/send_otp?resendFlag=true"]),q=[{name:"NIFTY",code:"NIFTY",searchId:"nifty",exchange:"NSE"},{name:"SENSEX",code:"1",searchId:"sp-bse-sensex",exchange:"BSE"},{name:"BANKNIFTY",code:"BANKNIFTY",searchId:"nifty-bank",exchange:"NSE"},{name:"MIDCPNIFTY",code:"NIFTYMIDSELECT",searchId:"nifty-midcap-select",exchange:"NSE"},{name:"FINNIFTY",code:"FINNIFTY",searchId:"nifty-financial-services",exchange:"NSE"},{name:"BANKEX",code:"14",searchId:"sp-bse-bankex",exchange:"BSE"}],z={Email:"Email",Gmail:"Gmail",OneTap:"OneTap"},X={MF_PRODUCT_PAGE_VIEW:"MfProductPageView",ETF_PRODUCT_PAGE_VIEW:"EtfProductPageView",ETF_NFO_PRODUCT_PAGE_VIEW:"EtfNfoProductPageView",MF_NFO_PAGE_VIEW:"MfNfoPageView",MF_COLLECTIONS_PAGE_VIEW:"MfCollectionsPageView",START_SIP_CLICK:"StartSipClick",INVEST_NOW_CLICK:"InvestNowClick",ORDER_SUCCESS:"OrderSuccess"},$={HUF:"HUF",INDIVIDUAL:"INDIVIDUAL",MINOR:"MINOR",NRI:"NRI",OCI:"OCI"},Q="Minor accounts are not eligible for F&O",J="91",Z={SMS:"SMS",WHATSAPP:"WhatsApp"}},750644:(e,t,r)=>{"use strict";r.d(t,{$P:()=>P,Ep:()=>A,F5:()=>R,Ff:()=>w,Fm:()=>X,GN:()=>s,JA:()=>d,Jk:()=>U,K$:()=>g,L9:()=>o,LI:()=>V,OQ:()=>Z,PA:()=>p,PY:()=>S,Pv:()=>k,Qu:()=>H,Ry:()=>q,SN:()=>C,ST:()=>v,T5:()=>B,Uk:()=>c,Us:()=>M,W0:()=>j,WI:()=>b,We:()=>O,Xd:()=>y,ZO:()=>a,_M:()=>L,_j:()=>E,bO:()=>m,bw:()=>G,ce:()=>Y,eC:()=>Q,f8:()=>W,gL:()=>_,i:()=>z,im:()=>u,k9:()=>
15F,kL:()=>I,kO:()=>i,kT:()=>f,mA:()=>h,mr:()=>J,or:()=>x,rv:()=>K,uy:()=>T,xL:()=>D,xn:()=>l,yV:()=>$});var n=r(454532);let i={PRE_INVOKE_VERIFICATION:"PRE_INVOKE_VERIFICATION"},a={PENDING:"PENDING",COMPLETED:"COMPLETED"},o={PENDING:"PENDING",COMPLETED:"COMPLETED",NOT_COMPLETED:"NOT_COMPLETED",REJECTED:"REJECTED"},s={NOT_SUBMITTED:"NOT_SUBMITTED",REJECTED:"REJECTED",FAILED:"FAILED",ACCEPTED:"ACCEPTED",SUBMITTED:"SUBMITTED",SKIPPED:"SKIPPED",COMPLETED:"COMPLETED",REVIEW_PENDING:"REVIEW_PENDING",FAILURE:"FAILURE"},l={user:"USER",digilocker:"DIGILOCKER",cvl:"CVL"},c={KYC:"KYC",KYC_STOCKS:"KYC_STOCKS",STOCKS:"STOCKS",KYC_MODIFICATION:"KYC_MODIFICATION",REKYC:"REKYC",DEMAT_CLOSURE:"DEMAT_CLOSURE",NOMINEE_UPDATE:"NOMINEE_UPDATE"},u={OTHER:{label:"Other",value:"NA"},MALE:{label:"Male",value:"male"},FEMALE:{label:"Female",value:"female"}},d=[s.NOT_SUBMITTED,s.REJECTED,s.FAILED],f={cursor:"pointer",width:394,textAlign:"center",height:264,position:"relative",borderRadius:16,border:"2px solid var(--border-primary)"},h={ONBOARDING:"ONBOARDING",BANK_AND_AUTOPAY:"BANK_AND_AUTOPAY",REKYC:"REKYC"},p={PAN_VERIFICATION:"verify-pan-number",BANK_VERIFICATION:"verify-bank-details"},E={PENDING:"PENDING",INITIATED:"INITIATED",FAILED:"FAILED",VERIFIED:"VERIFIED",REJECTED:"REJECTED",VERIFICATION_PENDING:"VERIFICATION_PENDING",ENCRYPTED_RETRY:"ENCRYPTED_RETRY",DECRYPTION_FAILED:"DECRYPTION_FAILED",SKIPPED:"SKIPPED"},_={BASIC_INFORMATION2:"BASIC_INFORMATION2",DIGILOCKER:"DIGILOCKER",UPLOAD_DOCUMENTS:"UPLOAD_DOCUMENTS",TRACKPAD_SIGNATURE:"TRACKPAD_SIGNATURE",TRADING_EXPERIENCE:"TRADING_EXPERIENCE",DOB_INPUT:"DOB_INPUT",ESIGN:"ESIGN",FNO_OTP:"FNO_OTP",INCOME_PROOF:"INCOME_PROOF",HOLDING_STATEMENT:"HOLDING_STATEMENT",FD_ADDITIONAL_DETAILS:"FD_ADDITIONAL_DETAILS",FD_NOMINEE:"FD_NOMINEE",REVIEW_KYC:"REVIEW_KYC",NO_MODIFICATION_IN_PROGRESS:"NO_MODIFICATION_IN_PROGRESS",MODIFICATION_IN_PENDING_STATE:"MODIFICATION_IN_PENDING_STATE",UPDATE_OTHER_DETAILS:"UPDATE_OTHER_DETAILS",ADDRESS_UPLOAD:"ADDRESS_UPLOAD",EMAIL_VERIFICATION:"EMAIL_VERIFICATION",MOBILE_VERIFICATION:"MOBILE_VERIFICATION",PAN_VERIFICATION:"PAN_VERIFICATION",BASIC_INFORMATION:"BASIC_INFORMATION",MARITAL_STATUS:"MARITAL_STATUS",GENDER:"GENDER",OCCUPATION:"OCCUPATION",INCOME:"INCOME",PARENTS_NAME:"PARENTS_NAME",NOMINEE:"NOMINEE",BANK_VERIFICATION:"BANK_VERIFICATION",SELFIE_UPLOAD:"SELFIE_UPLOAD",IPV_UPLOAD:"IPV_UPLOAD",PAN_UPLOAD:"PAN_UPLOAD",TRADINGEXP:"TRADINGEXP",FLOW_NAVIGATOR:"FLOW_NAVIGATOR",CONGRATULATIONS:"CONGRATULATIONS",FD_COMMUNICATION_ADDRESS:"FD_COMMUNICATION_ADDRESS",BANK_PROOF:"BANK_PROOF",GROWW_NOMINEE:"GROWW_NOMINEE",OTP:"OTP",EMAIL_OTP:"EMAIL_OTP",MOBILE_OTP:"MOBILE_OTP",EMAIL_INPUT:"EMAIL_INPUT",MOBILE_INPUT:"MOBILE_INPUT",SUCCESS_SCREEN:"SUCCESS_SCREEN",UPLOAD_BANK_PROOF:"UPLOAD_BANK_PROOF",INITIAL_BLANK_SCREEN:"INITIAL_BLANK_SCREEN",HUF:"HUF"},g=[{value:"WIFE",label:"Wife"},{value:"HUSBAND",label:"Husband"},{value:"DAUGHTER",label:"Daughter"},{value:"SON",label:"Son"},{value:"BROTHER",label:"Brother"},{value:"SISTER",label:"Sister"},{value:"MOTHER",label:"Mother"},{value:"FATHER",label:"Father"},{value:"GRAND SON",label:"Grand Son"},{value:"GRAND DAUGHTER",label:"Grand Daughter"}],S=[{value:"PRIVATE_SECTOR_SERVICE",label:"Private Sector Service"},{value:"PUBLIC_SECTOR_SERVICE",label:"Public Sector Service"},{value:"GOVERNMENT_SERVICE",label:"Government Service"},{value:"HOUSEWIFE",label:"Housewife"},{value:"STUDENT",label:"Student"},{value:"SELF_EMPLOYED",label:"Self Employed"},{value:"BUSINESS",label:"Business"},{value:"PROFESSIONAL",label:"Professional"},{value:"RETIRED",label:"Retired"},{value:"FARMER",label:"Farmer"},{value:"SERVICE",label:"Service"},{value:"AGRICULTURIST",label:"Agriculturist"}],m=[{value:"A",label:"Upto â¹1 Lakh"},{value:"B",label:"â¹ 1 Lakh - â¹ 5 Lakh"},{value:"C",label:"â¹ 5 Lakh - â¹ 10 Lakh"},{value:"D",label:"â¹ 10 Lakh - â¹ 25 Lakh"},{value:"E",label:"â¹ 25 Lakh - â¹ 50 Lakh"},{value:"F",label:"â¹ 50 Lakh - â¹ 1 Crore"},{value:"G",label:"â¹ 1 Crore - â¹ 5 Crores"},{value:"H",label:"More than â¹ 5 Crores"}],A={title:"Income",description:"Select one of the options"},v={PAN:"PAN",CHEQUE:"CHEQUE",SIGNATURE:"SIGNATURE",ADDRESS_PROOF:"ADDRESS_PROOF",ADDRESS_PROOF_2:"ADDRESS_PROOF_2",IPV:"IPV",SELFIE:"SELFIE",BANK:"BANK_PROOF",MANDATE_UPLOADED:"MANDATE_UPLOADED",INTL_ADDRESS_PROOF_FRONT:"INTL_ADDRESS_PROOF_FRONT",INTL_ADDRESS_PROOF_BACK:"INTL_ADDRESS_PROOF_BACK",INTL_IDENTITY_PROOF:"INTL_IDENTITY_PROOF",INCOME_PROOF:"INCOME_PROOF",AOF_OFFLINE_FORM:"AOF_OFFLINE_FORM",STOCKS_AOF_SIGNED:"STOCKS_AOF_SIGNED",INCOME_PROOF_DOC:"INCOME_PROOF_DOC"},b={REKYC:"https://groww.in"+n.bw.ONBOARDING+n.bw.REKYC+n.bw.ESIGN},T={REQUESTED:"REQUESTED",SUCCESS:"SUCCESS",CREATED:"CREATED",FAILED:"FAILED",REJECTED:"REJECTED",PENDING:"PENDING",INITIATED:"INITIATED",COMPLETED:"COMPLETED",PARTIALLY_COMPLETED:"PARTIALLY_COMPLETED"},y={REKYC:"https://groww.in"+n.bw.ONBOARDING+n.bw.REKYC+n.bw.DIGILOCKER}
15,O={PROOF_SELECT:0,FRONT_UPLOAD:1,BACK_UPLOAD:2},w=[{label:"Single",value:"SINGLE"},{label:"Married",value:"MARRIED"}];_.GENDER,_.MARITAL_STATUS,_.OCCUPATION,_.INCOME,_.TRADINGEXP,_.PARENTS_NAME;let C={DEPOSITS:"DEPOSITS",FNO_ONBOARDING:"FNO_ONBOARDING",REKYC:"REKYC",STOCKS:"STOCKS",US_STOCKS:"US_STOCKS",UPDATE_KYC:"UPDATE_KYC",GOLD:"GOLD",ONBOARDING:"ONBOARDING"},I={SNACKBAR_FAILURE_GREETING:"Oops!",GENERAL_ERROR:"Something went wrong. Please try again.",GENERAL_LONG_MESSAGE:"Something went wrong. We are working on it. Please try again later.",NETWORK_FAILURE_MESSAGE:"Your internet is slow or disconnected. Please try connecting again."},R={REQUESTED:"REQUESTED",SUCCESS:"SUCCESS",CREATED:"CREATED",FAILED:"FAILED",INITIATED:"INITIATED",COMPLETED:"COMPLETED",PARTIALLY_COMPLETED:"PARTIALLY_COMPLETED",PENDING:"PENDING",VERIFIED:"VERIFIED"},N={AADHAAR:"AADHAAR",PAN:"PAN",DL:"DL"};N.AADHAAR,N.DL,N.AADHAAR,N.PAN,N.DL;let D={data:{userProgressList:[{data_ref_id:null,type:"INCOME",status:"NOT_SUBMITTED",reason:null,source:null,doc_type:null}],config:{doc_upload_config:{digilocker:{available:!0},manual:{available:!0}},esign_config:{pan:null,aadhar:null,offline:null}}}},P={CKYC_DATA_COLLECTION:"CKYC_DATA_COLLECTION",AUDIT_DATA_COLLECTION:"AUDIT_DATA_COLLECTION",FD_DATA_COLLECTION:"FD_DATA_COLLECTION",NOMINEE_DATA_COLLECTION:"NOMINEE_DATA_COLLECTION",INCOME_RANGE_DATA_COLLECTION:"INCOME_RANGE_DATA_COLLECTION",MOBILE_CHANGE:"MOBILE_CHANGE",EMAIL_CHANGE:"EMAIL_CHANGE"},L=[P.CKYC_DATA_COLLECTION,P.AUDIT_DATA_COLLECTION],k={SUCCESS:"SUCCESS",FAILED:"FAILED",NOT_VERIFIED:"BANK_NOT_VERIFIED",PENDING:"PENDING",CREATED:"CREATED",COMPLETED:"COMPLETED",PARTIALLY_COMPLETED:"PARTIALLY_COMPLETED",REJECTED:"REJECTED"},M=[k.SUCCESS,k.CREATED,k.COMPLETED],F=[k.FAILED,k.REJECTED],x=[{type:"PAN",status:s.SUBMITTED},{type:"POA1",status:s.SUBMITTED},{type:"POA2",status:s.SUBMITTED},{type:"ADDRESS_TEXT",status:s.SUBMITTED},{type:"IPV",status:s.SUBMITTED}],U=[T.SUCCESS,T.COMPLETED,T.PARTIALLY_COMPLETED],B={SCRIPT_ID:"hyperverge",SCRIPT_PATH:"https://hv-camera-web-sg.s3-ap-southeast-1.amazonaws.com/[email protected]/src/sdk.min.js"},H={VERIFY:"VERIFY",LOOKS_GOOD:"LOOKS GOOD",RE_UPLOAD:"RE-UPLOAD",UPLOAD_PHOTO:"UPLOAD PHOTO",VERIFY_USING_UPI_ID:"Verify using UPI ID",VERIFY_BANK:"VERIFY BANK",CLICK_TO_ACTIVATE:"CLICK TO ACTIVATE",UPLOAD_INCOME_PROOF:"UPLOAD INCOME PROOF",SUBMIT_INCOME_PROOF:"SUBMIT INCOME PROOF",LETS_GO:"LET'S GO"},G={STOCKS_ONBOARDING:"STOCKS_ONBOARDING",BANK_AND_AUTOPAY:"BANK_AND_AUTOPAY",REKYC:"REKYC",GOLD_ONBOARDING:"GOLD_ONBOARDING",FNO:"FNO"},j={EMAIL:"EMAIL",MOBILE:"MOBILE",EMAIL_AND_MOBILE:"EMAIL_AND_MOBILE"},V={SUCCESS:"SUCCESS",FAILED:"FAILED"},K={COMPLETED:"COMPLETED",NOT_COMPLETED:"NOT_COMPLETED",PENDING:"PENDING",REJECTED:"REJECTED"},W={PENDING:"PENDING",FAILED:"FAILED",COMPLETED:"COMPLETED",INITIATED:"INITIATED",CONTINUE:"CONTINUE",SUCCESS:"SUCCESS"},Y={EMAIL:"EMAIL",MOBILE:"MOBILE",FATHERS_NAME:"FATHERS_NAME",MARITAL_STATUS:"MARITAL_STATUS",INCOME_RANGE:"INCOME_RANGE",OCCUPATION:"OCCUPATION",ADDRESS:"ADDRESS",DOB:"DOB",GENDER:"GENDER",FULL_NAME:"FULL_NAME"},q={BANK_SELECTION:"BANK_SELECTION",BRANCH_SELECTION:"BRANCH_SELECTION",ACCOUNT_NUMBER_VERIFICATION:"ACCOUNT_NUMBER_VERIFICATION",BANK_DOCUMENT_UPLOAD:"BANK_DOCUMENT_UPLOAD"},z={SELECT_PROOF_TYPE:"SELECT_PROOF_TYPE",UPLOAD_PROOF:"UPLOAD_PROOF"},X={header:"Nominee update",title:"Request submitted",message:"Your nominee declaration request has been submitted. It takes up to 2 working days to get updated by the exchanges and CDSL.",ctaText:"OKAY",ctaActionUrl:n.bw.HOME},$={THEME_CHANGE:"themeChange",RC_LOADED:"rcLoaded",FIREBASE_AUTHENTICATE:"firebaseAuth",OPEN_LOGIN_POPUP:"openLoginPopup",UPDATE_HEADER:"updateHeader",LOGIN_SUCCESS:"loginSuccess",TWO_FA_SUCCESS:"twoFASuccess",OPEN_PIN_POPUP:"openPinPopup",TABLE_CLOSE:"tableClose",TRACK_LOG:"trackLog",LIVEPRICE_CHANGED:"livePriceChanged",TOGGLE_EXCHANGE:"toggleExchange",RESET_TV_CHART_DATA:"resetTvChartData"},Q=["image/jpeg","image/jpg","image/png","image/webp","image/bmp","image/heic"],J=["application/pdf"],Z={ALREADY_EXISTS:"ALREADY_EXISTS"}},753090:(e,t,r)=>{"use strict";
15t.A=void 0,t.A=(0,function(e){return e&&e.__esModule?e:{default:e}}(r(642389)).default)("local")},753762:(e,t,r)=>{"use strict";r.d(t,{f:()=>u,u:()=>s});var n=r(655969),i=r(767219),a=r(647005),o=r(136398);let s={userData:null,userAttributes:null,isUserDataLoading:!1,isUserDataError:!1,userDataError:null,isStoreHydrating:!0,isMaskedDataStored:!1,lastApiTriggerTimeStamp:null},l=a.aH.THIRTY_DAYS_IN_MINS-a.aH.TEN_MINUTES,c={getItem:e=>{try{return a.c7(a.ZE.LOCAL_STORAGE,e,!0)}catch(e){return console.error("â Error reading from localStorage",e),null}},setItem:(e,t)=>{try{if("string"==typeof t){let r=JSON.parse(t),{userData:n,isUserDataLoading:i,isUserDataError:o}=null==r?void 0:r.state;!n||i||o||a.cT(a.ZE.LOCAL_STORAGE,e,t,!0,l)}}catch(e){console.error("â Error writing to localStorage",e)}},removeItem:e=>{try{a.j9(a.ZE.LOCAL_STORAGE,e)}catch(e){console.error("â Error removing from localStorage",e)}}},u=(0,n.vt)()((0,i.Zr)(e=>({...s,setIsHydrating:t=>e({isStoreHydrating:t})}),{name:o.dW,version:.1,storage:(0,i.KU)(()=>c),onRehydrateStorage:()=>e=>{null==e||e.setIsHydrating(!1)}}))},754130:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(412873);let i=Array.from({length:3},e=>({gsin:"",displayName:"",frequency:n.EP.MONTHLY,dateDay:"",sipType:n.AM.AMOUNT,sipValue:"",nextDueDate:"",remark:null,nextSipSkipped:!1,nseScriptCode:"",bseScriptCode:"",logoUrl:"",searchId:"",isin:""})),a={dashboard:{isError:!1,page:0,pageSize:10,isFetching:!0,isFetchingMore:!1,isFetchingMoreError:!1,activeStockSips:[...Array.from({length:10},(e,t)=>({sipId:"sipId_".concat(t),items:i}))],activeStockSipsCount:{count:0,isFetching:!0,isError:!1},messageBoard:{data:null,isFetching:!0,isError:!1}}}},754714:(e,t,r)=>{"use strict";r.d(t,{A:()=>M});var n=r(986594),i=r(407178),a=r(275063),o=r(761711),s=r.n(o),l=r(951402),c=r(422346),u=i.memo(function(e){let t=(0,c.C)(e);return i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},i.createElement("g",{clipPath:"url(#clip0_1_576)"},i.createElement("path",{fill:"currentColor",d:"M5 19a.97.97 0 0 1-.713-.288A.97.97 0 0 1 4 18q0-.424.287-.712A.97.97 0 0 1 5 17h1v-7q0-2.074 1.25-3.687T10.5 4.2v-.7q0-.625.438-1.062A1.45 1.45 0 0 1 12 2q.624 0 1.063.438.437.436.437 1.062v.7q2 .5 3.25 2.113T18 10v7h1q.424 0 .712.288.288.287.288.712 0 .424-.288.712A.97.97 0 0 1 19 19zm7 3q-.825 0-1.412-.587A1.93 1.93 0 0 1 10 20h4q0 .824-.588 1.413A1.93 1.93 0 0 1 12 22m-4-5h8v-7q0-1.65-1.175-2.825T12 6 9.175 7.175 8 10z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"clip0_1_576"},i.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),d=r(813247),f=r(866607),h=r(482132),p=r(253857),E=r(47360),_=r(132978),g=r(366516),S=r.n(g),m=r(855046),A=r(454532),v=r(974188),b=r(958090),T=r(853215),y=r(222736),O=r(694055),w=r.n(O);r(238985);let C={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/notificationDarkImage.2ff4f129.svg",height:26,width:26,blurWidth:0,blurHeight:0},I=e=>{let{notification:t,id:r,isNotificationsPage:i}=e,a=(t,r)=>{(0,_.s)(f.A.NotificationsPage,t.button_url?y.A.NotifCTAClick:y.A.NotifClick,{id:t.nid,name:t.notification_name,cta_name:t.button_title?t.button_title:"",message:t.message,deeplink:t.button_url?t.button_url:t.cta_url?t.cta_url:"",is_viewed:t.is_viewed?"yes":"no",sort_number:r+1}),e.notificationClick&&e.notificationClick(r),r>=5&&!t.is_viewed?e.setNotificationsViewed(t.nid,void 0,()=>{o(t)}):o(t)},o=e=>{e.button_url?"https://groww.in/faq/"===e.button_url?S().push(A.bw.HELP_AND_SUPPORT):l(e.button_url):e.web_cta_url?l(e.web_cta_url):e.cta_url&&l(e.cta_url)},l=e=>{(0,v.n)()?window.open(e,"_blank"):window.location.href=e};return(0,n.jsx)("div",{id:"notificationCard",className:s()(i?w().notificationPageNotification:w().notification,t.is_viewed?"backgroundPrimary":"backgroundAccentSubtle"),style:{cursor:t.cta_url?"pointer":"default",borderBottom:i?"":"1px solid var(--border-primary)"},onClick:()=>a(t,r),children:(0,n.jsxs)("div",{className:w().notificationBox,style:{paddingBottom:t.button_url?"10px":"20px"},children:[(0,n.jsxs)("div",{className:w().notificationHead,children:[(0,n.jsxs)("div",{className:w().notificationIcon,children:[(0,n.jsx)(m.A,{useLazyLoad:!1,addClass:"circle notificationImage",srcDark:C,src:t.image_url,height:"auto",width:"auto",alt:""}),t.notification_url&&(0,n.jsx)(m.A,{useLazyLoad:!1,addClass:s()("circle",w().notificationStatus),src:t.notification_url,height:"auto",width:"auto",alt:""})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:s()(w().notificationTitle,"bodyLargeHeavy"),children:t.notification_name?(0,T.e)(t.notification_name):""}),(0,n.jsx)("div",{className:s()(i?w().notificationPageContent:w().ntf33NotificationContent,"contentSecondary",i?"bodyBase":"bodySmall"),children:t.message})]}),(0,n.jsx)("div",{className:w().notificationPageTimeParent,children:(0,n.jsx)("div",{className:s()(w().notificationTime,"bodySmall"),children:(0,n.jsx)(b.A,{date:1e3*t.created_date,live:!1})})})]}),t.button_url&&(0,n.jsx)("div",{className:s()(w().notificationAction,"contentAccent","bodyBaseHeavy"),style:{cursor:t.button_url?"pointer":"default"},children:t.button_title?"CHAT"===t.button_title.toUpperCase()?"NEED HELP":t.button_title.toUpperCase():""})]})},r)};I.defaultProps={notificationClick:()=>{}};let R={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/empty-notifications.f19d07ab.svg",height:315,width:402,blurWidth:0,blurHeight:0},N=i.memo(e=>{let{userNotifications:t,hideNotificationDropdown:r,onNotificationsView:i,getInitialViewedNotifications:a}=e,o=e=>{e.stopPropagation(),(0,_.s)(f.A.NotificationsPage,E.A.ViewAllNotifClick),r();let t=a(),n=(0,v.n)();t&&(n?i(t,"",()=>window.open(A.bw.USER+A.bw.NOTIFICATION,"_blank")):i(t,"",()=>S().push(A.bw.USER+A.bw.NOTIFICATION))),n?window.open(A.bw.USER+A.bw.NOTIFICATION,"_blank"):S().push(A.bw.USER+A.bw.NOTIFICATION)};return t&&t.length?(0,n.jsx)("div",{className:s()(w().ntf33notificationsMainDiv,"borderPrimary backgroundPrimary borderPrimary"),children:(0,n.jsxs)("div",{className:w().notificationsBox,children:[(0,n.jsx)("div",{className:w().ntf33scrollingContents,children:null==t?void 0:t.map((e,t)=>(0,n.jsx)(I,{notification:e,id:t,setNotificationsViewed:i,isNotificationsPage:!1},e.nid))}),(0,n.jsx)("div",{className:s()(w().ntf33viewAllNotifications,"contentAccentSecondary bodyBaseHeavy backgroundPrimary"),onClick:e=>o(e),children:(0,n.jsx)("div",{className:w().ntf33viewAllNotificationsChild,children:"VIEW ALL"})})]})}):(0,n.jsx)("div",{className:s()(w().ntf33emptyNotificationsDiv,"borderPrimary backgroundPrimary borderPrimary"),onClick:e=>o(e),children:(0,n.jsxs)("div",{className:w().notificationsDiv,children:[(0,n.jsx)(m.A,{useLazyLoad:!1,src:R,height:24,width:24,alt:"notifications",addClass:s()("circle",w().ntf33emptyHeadNotifImg)}),(0,n.jsx)("div",{className:s()(w().ntf33emptyNotifText,"contentPrimary bodyLargeHeavy"),children:"You're All Caught Up"})]})})});var D=r(631870),P=r.n(D);let L=e=>e&&e.length?e.filter(e=>!e.is_viewed).length:0,k=e=>()=>
15{(0,_.s)(f.A.NotificationsPage,E.A.NotificationIconClick,{notificationsCount:e})},M=e=>{let{userData:t}=e,r=(0,i.useRef)(null),o=(0,a.wA)(),c=(0,a.d4)(e=>{let{coreV2:t}=e;return t.notificationManagerFlowData.userNotifications.data}),f=()=>{let e=[];if(c&&c.length&&c.map(t=>{t.is_viewed||e.push(t.nid)}),e.length)return e.join("%2C")},E=(e,t,r)=>{(0,p.Dz)(e).then(()=>{r&&r(t)}).catch(e=>{console.error("Error in setting notifications as viewed-",e)})},_=L(c);return(0,l.a)(t)?null:(0,n.jsx)("div",{className:s()(P().loggedinNavActions,"valign-wrapper","cur-po"),children:(0,n.jsx)(d.D,{ref:r,onHide:()=>{let e=f();e&&E(e,"",()=>{o((0,h.BH)(0,5))})},children:(0,n.jsxs)(d.b,{children:[(0,n.jsx)("div",{className:s()("valign-wrapper cur-po pos-rel",P().loggedinNavActionsItem,_&&P().notificationAvailable),onClick:k(_),children:(0,n.jsxs)("div",{className:"valign-wrapper",children:[(0,n.jsx)(u,{}),_?(0,n.jsx)("div",{className:s()(P().loggedinNavActionsItemBadge,"absolute-center backgroundNegative"),children:(0,n.jsx)("span",{className:"bodySmall contentInversePrimary truncate",children:_})}):null]})}),(0,n.jsx)(d.a,{children:(0,n.jsx)("div",{className:"pos-rel",children:(0,n.jsx)(N,{userNotifications:c,onNotificationsView:E,getInitialViewedNotifications:f,hideNotificationDropdown:()=>{var e;null===(e=r.current)||void 0===e||e.hide()}})})})]})})})}},756535:(e,t,r)=>{"use strict";var n=r(407178),i=r(935459),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,s=n.useRef,l=n.useEffect,c=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var d=s(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;var h=o(e,(d=c(function(){function e(e){if(!l){if(l=!0,o=e,e=n(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,a(o,e))return t;var r=n(e);return void 0!==i&&i(t,r)?t:(o=e,s=r)}var o,s,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,i]))[0],d[1]);return l(function(){f.hasValue=!0,f.value=h},[h]),u(h),h}},758075:(e,t,r)=>{"use strict";r.d(t,{$n:()=>d,AQ:()=>m,Bh:()=>a,DW:()=>g,GO:()=>c,GP:()=>p,GZ:()=>s,K_:()=>A,Qv:()=>E,TY:()=>S,W5:()=>o,Xl:()=>v,fI:()=>u,g1:()=>y,mW:()=>b,ol:()=>h,ww:()=>l,xW:()=>T,z2:()=>_,zz:()=>f});var n=r(986594),i=r(907141);let a={[i.o.PERSONAL_DETAILS]:{title:"Personal details",subtitle:"Ensure your details are up to date",ctaLabel:"Continue"},[i.o.DISCLAIMER]:{title:"Do any of these scenarios apply to you?",ctaLabel:"Continue"},[i.o.CERTIFICATION]:{title:"W-8BEN Certification",subtitle:"Standard terms that will govern your investments in US Stocks",ctaLabel:"Agree and continue"},[i.o.AGREEMENT]:{title:"General agreements",subtitle:"",ctaLabel:"Agree and continue"}},o=[i.o.PERSONAL_DETAILS,i.o.DISCLAIMER,i.o.CERTIFICATION,i.o.AGREEMENT],s=o[0],l=o[o.length-1],c="Under penalties of perjury, I declare that I have examined the information on this form and to the best of my knowledge and belief it is true, correct, and complete. I further certify under penalties of perjury that:",u=["I am the individual that is the beneficial owner (or am authorized to sign for the individual that is the beneficial owner) of all the income to which this form relates or am using this form to document myself as an individual that is an owner or account holder of a foreign financial institution.","I am not a US citizen.","The income to which this form relates is not effectively connected with the conduct of a trade or business in the United States or is effectively connected but is not subject to tax under an applicable income tax treaty.","The person named on line 1 of this form is a resident of the treaty country listed on line 9 of the form (if any) within the meaning of the income tax treaty between the United States and that country.","For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions."],d="Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which I am the beneficial owner or any withholding agent that can disburse or make payments of the income of which I am the beneficial owner. I agree that I will submit a new form within 30 days if any certification made on this form becomes incorrect.",f=["Upto 1 Lakh","1-5 Lakhs","5-10 Lakhs","10-25 Lakhs","25-50 Lakhs","50 Lakhs - 1 Crore","1-5 Crores","More than 5 Crores"],h=[{key:"employmentStatus",label:"Employment status",placeholder:"Select employment status",options:["Employed","Unemployed","Student","Retired"],isMulti:!1},{key:"annualIncomeRange",label:"Annual income",placeholder:"Select annual income",options:f,isMulti:!1},{key:"liquidNetWorthRange",label:"Liquid net worth",placeholder:"Select liquid net worth",options:f,isMulti:!1},{key:"fundingSource",label:"Primary source of funds",placeholder:"Select primary source of funds",options:["Employment income","Investments","Inheritance","Others"],isMulti:!0}],p=[{key:"isAffiliatedFinra",label:"I am affiliated with or employed by a stock exchange, regulatory body, member firm of an exchange, FINRA, or a municipal securities broker-dealer in the US."},{key:"isControlPerson",label:"I am a director, senior officer, or 10%+ shareholder of a company listed publicly in the US."},{key:"isPoliticallyExposed",label:"I am (or a close family member is) a Politically Exposed Person (PEP)"}],E="None of the above",_="Based on your disclosed affiliations or status, US stocks trading is currently unavailable for your account",g=[{key:"GROWW_IFSC_AGREEMENT",label:"Groww IFSC Agreement",url:"https://groww.in/pages/groww-ifsc-private-limited-terms-of-use"},{key:"ALPACA_CUSTOMER_AGREEMENT",label:"Alpaca Customer Agreement",url:"https://files.alpaca.markets/disclosures/library/AcctAppMarginAndCustAgmt.pdf"}],S=[{key:"accountTerms",label:(0,n.jsxs)(n.Fragment,{children:["I have read, understood, and agree to be bound by Alpaca Securities LLC (US broking partner, member FINRA/SIPC) and Groww IFSC"," ",(0,n.jsx)("a",{href:"https://groww.in/pages/ifsc",target:"_blank",rel:"noopener noreferrer",className:"contentPrimary bodyBaseHeavy",onClick:e=>e.stopPropagation(),children:"account terms, and all other terms"}),", disclosures and disclaimers applicable to me, as referenced in the Alpaca Customer Agreement."]})},{key:"arbitrationClause",label:"I also acknowledge that the Alpaca Customer Agreement contains a pre-dispute arbitration clause in Section 44."},{key:"electronicSignature",label:"I understand I am signing this agreement electronically, and that my electronic signature will have the same effect as physically signing and returning the Application Agreement."}],m="us-stocks-onboarding-storage",A={PRODUCT_PAGE:"US_STOCKS_PRODUCT_PAGE",PERSONAL_DETAILS:"PersonalDetails",DISCLAIMER:"AffiliationConfirmation",CERTIFICATION:"W8Ben",AGREEMENT:"Agreement"},v={ACTIVATE:"Init",PERSONAL_DETAILS_SUBMITTED:"PersonalDetailsSubmitted",AFFILIATION_CONFIRMATION:"AffiliationConfirmation",W8BEN_ACCEPTED:"W8BenAccepted",AGREEMENT_ACCEPTED:"AgreementAccepted",FINISH_SUCCESS:"FinishSuccess",ONBOARDING_FAILED:"OnboardingFailed"},b={[i.o.PERSONAL_DETAILS]:A.PERSONAL_DETAILS,[i.o.DISCLAIMER]:A.DISCLAIMER,[i.o.CERTIFICATION]:A.CERTIFICATION,[i.o.AGREEMENT]:A.AGREEMENT},T={[i.o.PERSONAL_DETAILS]:v.PERSONAL_DETAILS_SUBMITTED,[i.o.DISCLAIMER]:v.AFFILIATION_CONFIRMATION,[i.o.CERTIFICATION]:v.W8BEN_ACCEPTED,[i.o.AGREEMENT]:v.AGREEMENT_ACCEPTED},y={[i.o.PERSONAL_DETAILS]:{employmentStatus:null,annualIncomeRange:null,liquidNetWorthRange:null,fundingSource:[]},[i.o.DISCLAIMER]:{isControlPerson:!1,isPoliticallyExposed:!1,immediateFamilyExposed:!1,isAffiliatedFinra:!1},[i.o.CERTIFICATION]:{accepted:!0},[i.o.AGREEMENT]:{accountTerms:!0,arbitrationClause:!0,electronicSignature:!0}}},758913:(e,t,r)=>{"use strict";r.d(t,{GT:()=>a,KI:()=>o,PL:()=>f,Qb:()=>l,VW:()=>u,cI:()=>c,ct:()=>p,kL:()=>h,qX:()=>d,sQ:()=>i,v1:()=>E,xT:()=>n,zN:()=>s});
15let n={MANDATE_DELETE_ERROR:"There was a problem while deleting your mandate",PRIMARY_MANDATE_UPDATE_ERROR:"There was a problem while updating your primary mandate",MANDATE_STATUS_ERROR:"There was a problem while refreshing mandate status.",DOWNLOAD_MANDATE_ERROR:"There was an error while downloading the form.",DELETE_BANK_ERROR:"There was a problem while deleting your bank.",UPDATE_PRIMARY_BANK_ERROR:"There was a problem while updating your primary bank.",AUTOPAY_REDIRECT_ERROR:"There was a problem while setting up AutoPay."},i={MANDATE_REFRESH_SUCCESS:"Mandate status refreshed successfully.",PRIMARY_MANDATE_UPDATE_SUCCESS:"Primary mandate updated successfully",MANDATE_DELETE_SUCCESS:"Mandate deleted successfully",BANK_DELETE_SUCCESS:"Bank deleted successfully",PRIMARY_BANK_UPDATE_SUCCESS:"Primary bank updated successfully",DOCUMENT_UPLOAD_SUCCESS:"Document uploaded. The bank is yet to be verified.",AUTOPAY_UPDATE_SUCCESS:"AutoPay is successfully updated",OTM_DOWNLOAD_SUCCESS:"Form downloaded"},a={netDeliveryMarginReceived:"Received for Delivery",netDeliveryMarginUsed:"Used for Delivery",intradayMargin:"Used for Intraday",brokerage:"Brokerage",regulatoryCharges:"Charges (approx.)",sameDayBuySellLosses:"Realised loss (Intraday, F&O)",m2m:"Unrealised loss (Intraday, F&O)",cncRealisedM2M:"Realised Loss (Intraday, FNO) ",sellBlockedAmount:"20% delivery (sell)",balanceOnHoldMargin:"Balance on hold",spanMargin:"SPAN",exposureMargin:"Exposure",physicalDeliveryMargin:"Physical delivery margin",optionPremium:"Net option premium (paid)",sameDayBuySellProfitsT1Day:"Last session profit blocked",fnoMargin:"F&O Margin",brokerageAndCharges:"Brokerage & charges",fno:"F&O",profitLoss:"Profit / Loss",stocks:"Stocks",totalBrokerage:"Brokerage and regulatory charges (approx)"},o={usedForMtf:"Used for MTF",mtfUnrealizedLoss:"Unrealised MTF loss",mtfUnrealizedProfit:"Unrealised MTF loss recovered",netMtfIntradayPnl:"MTF Intraday loss",changeInHaircut:"Uncollected haircut for MTF"},s={sellBlockedAmount:"Available soon",sameDayBuySellProfitsT1Day:"Available by end of T+1",sameDayBuySellProfitsTDay:"Available by end of T+1",sameDayBuySellProfits:"Available by end of T+1",physicalDeliveryMargin:"For F&O nearing expiry"},l={DESCRIPTION:"Exchange charges the delivery margin on contracts 4 days prior to their expiry in the following manner :",FOUR_LABEL:"Expiry - 4 Days",FOUR_VAL:"10%",THREE_LABEL:"Expiry - 3 Days",THREE_VAL:"25%",TWO_LABEL:"Expiry - 2 Days",TWO_VAL:"45%",ONE_LABEL:"Expiry - 1 Day",ONE_VAL:"70%",ZERO_LABEL:"Expiry Day",ZERO_VAL:"100%"},c={UPI_VALIDATION_ERROR:"Invalid UPI ID. Please enter a valid UPI ID."},u={CHANGE_BANK:"Your bank's IFSC code has changed. To withdraw money, choose another bank or update the current bank's IFSC code.",CHANGE_IFSC:"Your bank's IFSC code has changed. To withdraw money, add another bank or update the current bank's IFSC code."},d={WITHDRAW_CANCELATION_SUCESS:"Successfully cancelled the withdraw request",WITHDRAW_ALREADY_SENT_FOR_PROCESSING:"Withdraw request already sent for processing to bank",WITHDRAW_CANCELATION_FAILED:"Withdraw cancellation request failed"},f={CLIPBOARD_COPY:"Copied to clipboard",FILE_DOWNLOADED:"File successfully downloaded",SNACKBAR_SUCCESS_GREETING:"Yay!",SNACKBAR_WELCOME_GREETING:"Welcome",SNACKBAR_WELCOME_GREETING_2:"Welcome back",SNACKBAR_SUCCESS_GREETING_2:"Success",SNACKBAR_SUCCESS_DESCRIPTION_1:"We are happy to see you",SNACKBAR_SUCCESS_DESCRIPTION_2:"We are happy to see you again",ONBOARD_MESSAGE:"We're super excited to have you on board!"},h={SNACKBAR_FAILURE_GREETING:"Oops!",GENERAL_ERROR:"Something went wrong. Please try again.",GENERAL_LONG_MESSAGE:"Something went wrong. We are working on it. Please try again later.",NETWORK_FAILURE_MESSAGE:"Your internet is slow or disconnected. Please try connecting again."},p={OTP_SENT_SUCCESS:"OTP is successfully sent.",EMAIL_SENT_SUCCESS:"Email is successfully Sent",PASSWORD_CHANGE_SUCCESSFUL:"Your password is changed successfully.",PIN_CHANGE_SUCCESSFUL:"Your pin is changed successfully.",MOBILE_VERIFICATION_SUCCESS:"Mobile number verified successfully",EMAIL_VERIFICATION_LINK_SENT:"Email Verification Link sent",ACCOUNT_IN_ACTIVATION_TITLE:"Account Activation",ACCOUNT_IN_ACTIVATION_SUBTEXT:"Your account activation is in progress.\nIt will take atleast 2 working days.\nPlease contact us at 91088-00604 if you have any questions.",GMAIL_SIGNUP_SUCCESS:"We're super excited to have you on board!",ACCOUNT_ACTIVATION:"Your account activation is in progress. It will take atleast 2 working days. Please contact us at 91088-00604 if you have any questions."},E={INCORRECT_PIN:"Incorrect PIN. Please try again.",PIN_LENGTH_ERROR:"Enter a 4 digit numeric PIN",OTP_ERROR:"Something went wrong. Please retry with new OTP.",RESEND_OTP:"Something went wrong. Please resend the OTP after 30 seconds.",INCORRECT_OTP:"Please enter correct OTP",SIGNUP_OTP_INFO:"Enter a 6 digit OTP sent to this email ID",OTP_LENGTH:"Please enter a 6 digit OTP",INVALID_EMAIL_ID:"Please enter a valid email address",EMAIL_VERIFICATION_ERROR:"Email is not verified yet. Pleace click on the given link in email.",INVALID_MOBILE_NUMBER:"Please enter a valid mobile number",UPDATE_MOBILE_MATCH_ERROR:"Updated number should not be same as current number",MOBILE_NUMBER_ALREADY_REGISTERED:"This mobile number is already registered",INCORRECT_PASSWORD:"Please enter correct password.",MIN_PASSWORD_ERROR:"Minimum 8 alph
15anumeric characters required",PASSWORD_MATCH_ERROR:"Both password fields must be same.",GMAIL_SIGNIN_ERROR:"Some error has occured while logging into your account. Please try again after sometime.",SNACKBAR_NRI_GREETING:"NRI",SNACKBAR_NRI_DESCRIPTION:"Currently, We don't support NRI investments",ONE_TAP_BLOCK_ERROR:"Error in initializing onetap",SEND_OTP_ERROR:"Some Problem In Sending OTP. Please Try Again",CALL_REQUEST_ERROR:"Call request could not be placed. Please try after some time.",CALLBACK_REQUEST_ERROR:"Call back request could not be placed. Please try after some time.",EMAIL_ALREADY_VERIFIED:"Your Email Id is already verified",NRI_NOT_SUPPORTED:"Currently, We don't support NRI investments.",INCORRECT_ADDRESS:"Please fill a valid address",INCORRECT_PINCODE:"Please enter a valid pincode",FORGOT_OTP_WAIT:"Please wait for OTP timer to complete",WEAK_PIN_ERROR:"You have set a weak PIN, please set a strong PIN",BANK_VERIFICATION_ERROR:"We were not able to verify your bank account.",BANK_FETCH_ERROR:"We were unable to fetch your bank accounts. Please try again later.",INVALID_ACCOUNT_NUMBER:"Please enter a valid account number",INVALID_TEXT_INPUT:"Contains unexpected text",EXISTING_EMAIL_MISMATCH:"Please enter your currently registered email id",NEW_AND_OLD_EMAIL_SAME_ERROR:"Your new email must be different than old email",TOAST_NRI_GREETING:"NRI",TOAST_NRI_DESCRIPTION:"Currently, We don't support NRI investments",CALL_BACK_REQUEST_ERROR:"Call back request could not be placed. Please try after some time.",CONTINUOUS_SERIES_ERROR:"Your PIN should not contain a continuous series of numbers. Kindly set a stronger PIN.",SAME_DIGIT_PIN_ERROR:"Your PIN should not have the same number more than two times. Kindly set another PIN.",PASSWORD_WEAK_ERROR:"Password must be at least 8 characters and contain upper, lowercase, numbers & special characters (@$!%*?&)."}},759969:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_133)"},n.createElement("path",{fill:"currentColor",d:"m12 13.4-4.9 4.9a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275.95.95 0 0 1-.275-.7q0-.425.275-.7l4.9-4.9-4.9-4.9a.95.95 0 0 1-.275-.7q0-.425.275-.7a.95.95 0 0 1 .7-.275q.425 0 .7.275l4.9 4.9 4.9-4.9a.95.95 0 0 1 .7-.275q.425 0 .7.275a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7L13.4 12l4.9 4.9a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_133"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},761324:(e,t,r)=>{"use strict";r.d(t,{S:()=>g});var n=r(407178),i=r(951402),a=r(222736),o=r(126479),s=r(744620),l=r(47360),c=r(655969),u=r(767219);let d={searchSuggestions:[],trendingSuggestions:[],recentSuggestions:[],featureSuggestion:{},userSegments:null,isSearchLoading:!1,isTrendingLoading:!1,trySearchingForSuggestions:[]},f=(0,c.vt)((0,u.lt)(e=>({...d,setSearchSuggestions:t=>e({searchSuggestions:t},!1,"setSearchSuggestions"),setTrendingSuggestions:t=>e({trendingSuggestions:t},!1,"setTrendingSuggestions"),setRecentSuggestions:t=>e({recentSuggestions:t},!1,"setRecentSuggestions"),setFeatureSuggestion:t=>e({featureSuggestion:t},!1,"setFeatureSuggestion"),setUserSegments:t=>e({userSegments:t},!1,"setUserSegments"),setIsSearchLoading:t=>e({isSearchLoading:t},!1,"setIsSearchLoading"),setIsTrendingLoading:t=>e({isTrendingLoading:t},!1,"setIsTrendingLoading"),setTrySearchingForSuggestions:t=>e({trySearchingForSuggestions:t},!1,"setTrySearchingForSuggestions"),reset:()=>e(d,!1,"reset")}),{name:"searchStore"}));var h=r(205364),p=r(999711),E=r(507298),_=r(860754);let g=function(){let{isPrimeUser:e=!1,limits:t,initialQuery:r,enableTrySearchingFor:c=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=null==t?void 0:t.search,d=null==t?void 0:t.trending,g=f(e=>e.searchSuggestions),S=f(e=>e.trendingSuggestions),m=f(e=>e.recentSuggestions),A=f(e=>e.featureSuggestion),v=f(e=>e.userSegments),b=f(e=>e.isSearchLoading),T=f(e=>e.isTrendingLoading),y=f(e=>e.trySearchingForSuggestions),O=f(e=>e.setSearchSuggestions),w=f(e=>e.setTrendingSuggestions),C=f(e=>e.setRecentSuggestions),I=f(e=>e.setFeatureSuggestion),R=f(e=>e.setUserSegments),N=f(e=>e.setIsSearchLoading),D=f(e=>e.setIsTrendingLoading),P=f(e=>e.setTrySearchingForSuggestions),L=f(e=>
15e.reset),[k,M]=(0,n.useState)(0),[F,x]=(0,n.useState)(null),[U,B]=(0,n.useState)(""),[H,G]=(0,n.useState)(!1),j=(0,n.useRef)(""),V=(0,n.useRef)(!0),K=(0,n.useMemo)(()=>(0,E.qd)(U)&&g.length>0?g:(0,E.qd)(U)&&S.length>0?S:[...m,...S],[U,g,S,m]),W=(0,n.useMemo)(()=>{if((0,E.qd)(U)&&g.length>0)return{};if((0,E.qd)(U)&&S.length>0)return{0:{label:p.Y7}};let e=m.length;return e>0&&S.length>0?{[e]:{label:p.Y7}}:S.length>0?{0:{label:p.Y7}}:{}},[U,g,S,m]),Y=(0,n.useMemo)(()=>null!==F&&-1!==F||(0,i.a)(A)?{}:A,[F,A]),q=(0,n.useMemo)(()=>(0,i.a)(A)&&(0,E.qd)(j.current)&&K.length>0?0:null,[A,K]),z=(0,n.useCallback)(async()=>{let e=await (0,_.ci)();e&&R(e)},[R]),X=(0,n.useCallback)(async()=>{let t=p.Fu[k].entityType;D(!0);let r=await (0,_.nE)(t,e,d);Array.isArray(r)&&r.length>0&&w((0,E.Ud)(r,h.g.TRENDING)),D(!1)},[k,e,d,w,D]),$=(0,n.useCallback)(()=>{var e;let t=null===(e=p.Fu[k])||void 0===e?void 0:e.entityType,r=(0,_.oj)(t);(0,i.a)(r)?C([]):C((0,E.Ud)(r,h.g.RECENT))},[k,C]),Q=(0,n.useCallback)(async()=>{if(!c)return;let e=await (0,_.uu)("",v);Array.isArray(e)&&e.length>0?P((0,E.Ud)(e,h.g.TRY_SEARCHING_FOR)):P([])},[c,v,P]),J=(0,n.useCallback)(()=>{$(),X(),Q()},[$,X,Q]),Z=(0,n.useCallback)(t=>{j.current=t,G(!1);let r=p.Fu[k].entityType;if(!(0,E.qd)(t)){B(t),O([]),I({}),J();return}N(!0),(0,_._E)(t,r,e,u).then(async e=>{let{data:r,isNullResult:n}=e;if(n&&(null==t?void 0:t.length)>1&&(0,E.qG)(a.A.SearchNoResults,{searchquery:t}),Array.isArray(r)&&!(0,i.a)(r)){let e=h.g.SEARCH;O((0,E.Ud)(r,e))}else O([]),X();B(t),N(!1)}).catch(e=>{(0,_.NA)(e)||(B(t),N(!1),G(!0))}),t.length>=p.MJ?(0,_.r_)(t,v).then(e=>{I(e)}).catch(()=>{I({})}):I({})},[k,e,u,v,N,O,I,J,X]),ee=(0,n.useCallback)((e,t,r)=>{var n;(0,_.Tw)(e);let i=j.current,l={searchquery:i,searchTextLength:i.length,searchType:null==e?void 0:e.suggestionState,rank:t,name:null==e?void 0:e.title,entityType:null==e?void 0:e.entity_type,growwSchemeCode:null!==(n=null==e?void 0:e.isin)&&void 0!==n?n:null==e?void 0:e.groww_contract_id,suggestionSource:null==e?void 0:e.analytics_label,searchId:(null==e?void 0:e.entity_type)===s.MH.OPTION_CHAIN?null==e?void 0:e.underlying_search_id:null==e?void 0:e.search_id,deeplink:null==e?void 0:e.deeplink};(0,E.qG)(a.A.SearchSuggestionClick,l);let c=(0,o.TH)(e);return r&&(window.open(c,"_blank"),(0,E.qG)(a.A.SearchSuggestionClickCtrl,l)),c},[]),et=(0,n.useCallback)(e=>{let t=K.length;0!==t&&x(r=>{var n;let i=null!==(n=null!=r?r:q)&&void 0!==n?n:-1;return"down"===e?i>=t-1?-1:i+1:i<=-1?t-1:i-1})},[K.length,q]),er=(0,n.useRef)(Z);er.current=Z;let en=(0,n.useCallback)((0,i.j)(e=>er.current(e),p.V9),[]),ei=(0,n.useCallback)(e=>{(0,E.qG)(l.A.SearchFilterClick,{searchquery:j.current,filterName:p.Fu[e].filterType}),M(e)},[]);(0,n.useEffect)(()=>{if(V.current){V.current=!1;return}Z(j.current)},[k]),(0,n.useEffect)(()=>{r&&(j.current=r,Z(r))},[r]);let ea=(0,E.qd)(U)&&0===g.length,eo=(0,n.useCallback)(()=>{(0,_.re)(),L(),M(0),x(null),B(""),G(!1),j.current=""},[L]);return{suggestions:K,suggestionStateLabels:W,isLoading:b||T,featureSuggestion:A,activeFilterIndex:k,highlightedIndex:F,autoHighlightIndex:q,searchedQuery:U,highlightedFeature:Y,handleSearchInput:Z,debouncedSearchInput:en,handleSuggestionSelect:ee,navigateSuggestions:et,setActiveFilter:ei,setHighlightedIndex:x,loadInitialData:z,loadCachedSuggestions:J,resetSearch:eo,searchSuggestions:g,trendingSuggestions:S,recentSuggestions:m,isTrendingLoading:T,noSearchResult:ea,trySearchingForSuggestions:y,hasError:H}}},761711:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)){if(r.length){var o=i.apply(null,r);o&&e.push(o)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0!==(r=(function(){return i}).apply(t,[]))&&(e.exports=r)}()},761896:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});let n="UPDATE_SOCKET_CONNECTED_STATUS"},765826:(e,t,r)=>{"use strict";r.d(t,{LE:()=>u,V7:()=>d,lu:()=>f});var n=r(248934),i=r(904002),a=r(625697),o=r(397500),s=r(306101),l=r(474043),c=r(925129);function u(e,t,r,n){let i=(0,o.Cj)(r),l={sent_at:new Date((0,s.Wk)()).toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:(0,a.SB)(t)}},c="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,o.h4)(l,[c])}function d(e,t,r,n){let i=(0,o.Cj)(r),a=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let r=e.sdk||{};e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,r?.sdk);let s=(0,o.n2)(e,i,n,t);delete e.sdkProcessingMetadata;let l=[{type:a},e];return(0,o.h4)(s,[l])}function f(e,t){let r=(0,n.k1)(e[0]),u=t?.getDsn(),d=t?.getOptions().tunnel,f={sent_at:new Date((0,s.Wk)()).toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!d&&u&&{dsn:(0,a.SB)(u)}},{beforeSendSpan:h,ignoreSpans:p}=t?.getOptions()||{},E=p?.length?e.filter(e=>{let t=(0,c.et)(e);return!(0,l.e)({description:t.description,op:t.op,attributes:t.data},p)}):e,_=e.length-E.length;_&&t?.recordDroppedEvent("before_send","span",_);let g=h?e=>{let t=(0,c.et)(e),r=(0,i.S)(h)?t:h(t);return r||((0,c.xl)(),t)}:c.et,S=[];for(let e of E){let t=g(e);t&&S.push((0,o.y5)(t))}return(0,o.h4)(f,S)}},767219:(e,t,r)=>{"use strict";r.d(t,{KU:()=>c,Zr:()=>h,eh:()=>l,lt:()=>o});let n=new Map,i=e=>{let t=n.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([e,t])=>[e,t.getState()])):{}},a=(e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};let i=n.get(r.name);if(i)return{type:"tracked",store:e,...i};let a={connection:t.connect(r),stores:{}};return n.set(r.name,a),{type:"tracked",store:e,...a}},o=(e,t={})=>(r,n,o)=>{let l,{enabled:c,anonymousActionType:u,store:d,...f}=t;try{l=(null==c||c)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!l)return c&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,n,o);
15let{connection:h,...p}=a(d,l,f),E=!0;o.setState=(e,t,a)=>{let s=r(e,t);if(!E)return s;let l=void 0===a?{type:u||"anonymous"}:"string"==typeof a?{type:a}:a;return void 0===d?null==h||h.send(l,n()):null==h||h.send({...l,type:`${d}/${l.type}`},{...i(f.name),[d]:o.getState()}),s};let _=(...e)=>{let t=E;E=!1,r(...e),E=t},g=e(o.setState,n,o);if("untracked"===p.type?null==h||h.init(g):(p.stores[p.store]=o,null==h||h.init(Object.fromEntries(Object.entries(p.stores).map(([e,t])=>[e,e===p.store?g:t.getState()])))),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1,t=o.dispatch;o.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return h.subscribe(e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload){console.error("[zustand devtools middleware] Unsupported action format");return}return s(e.payload,e=>{if("__setState"===e.type){if(void 0===d){_(e.state);return}1!==Object.keys(e.state).length&&console.error(` 16 [zustand devtools middleware] Unsupported __setState action format. 17 When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), 18 and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } 19 `);let t=e.state[d];if(null==t)return;JSON.stringify(o.getState())!==JSON.stringify(t)&&_(t);return}o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e)});case"DISPATCH":switch(e.payload.type){case"RESET":if(_(g),void 0===d)return null==h?void 0:h.init(o.getState());return null==h?void 0:h.init(i(f.name));case"COMMIT":if(void 0===d){null==h||h.init(o.getState());break}return null==h?void 0:h.init(i(f.name));case"ROLLBACK":return s(e.state,e=>{if(void 0===d){_(e),null==h||h.init(o.getState());return}_(e[d]),null==h||h.init(i(f.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return s(e.state,e=>{if(void 0===d){_(e);return}JSON.stringify(o.getState())!==JSON.stringify(e[d])&&_(e[d])});case"IMPORT_STATE":{let{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;void 0===d?_(n):_(n[d]),null==h||h.send(null,r);break}case"PAUSE_RECORDING":return E=!E}return}}),g},s=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)},l=e=>(t,r,n)=>{let i=n.subscribe;return n.subscribe=(e,t,r)=>{let a=e;if(t){let i=(null==r?void 0:r.equalityFn)||Object.is,o=e(n.getState());a=r=>{let n=e(r);if(!i(o,n)){let e=o;t(o=n,e)}},(null==r?void 0:r.fireImmediately)&&t(o,o)}return i(a)},e(t,r,n)};function c(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let i=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),a=null!=(n=r.getItem(e))?n:null;return a instanceof Promise?a.then(i):i(a)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}let u=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>u(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>u(t)(e)}}},d=(e,t)=>(r,n,i)=>{let a,o,s={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,c=new Set,d=new Set;try{a=s.getStorage()}catch(e){}if(!a)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${s.name}', the given storage is currently unavailable.`),r(...e)},n,i);let f=u(s.serialize),h=()=>{let e,t=f({state:s.partialize({...n()}),version:s.version}).then(e=>a.setItem(s.name,e)).catch(t=>{e=t});if(e)throw e;return t},p=i.setState;i.setState=(e,t)=>{p(e,t),h()};let E=e((...e)=>{r(...e),h()},n,i),_=()=>{var e;if(!a)return;l=!1,c.forEach(e=>e(n()));let t=(null==(e=s.onRehydrateStorage)?void 0:e.call(s,n()))||void 0;return u(a.getItem.bind(a))(s.name).then(e=>{if(e)return s.deserialize(e)}).then(e=>
19{if(e)if("number"!=typeof e.version||e.version===s.version)return e.state;else{if(s.migrate)return s.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(o=s.merge(e,null!=(t=n())?t:E),!0),h()}).then(()=>{null==t||t(o,void 0),l=!0,d.forEach(e=>e(o))}).catch(e=>{null==t||t(void 0,e)})};return i.persist={setOptions:e=>{s={...s,...e},e.getStorage&&(a=e.getStorage())},clearStorage:()=>{null==a||a.removeItem(s.name)},getOptions:()=>s,rehydrate:()=>_(),hasHydrated:()=>l,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},_(),o||E},f=(e,t)=>(r,n,i)=>{let a,o={storage:c(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1,l=new Set,d=new Set,f=o.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),r(...e)},n,i);let h=()=>{let e=o.partialize({...n()});return f.setItem(o.name,{state:e,version:o.version})},p=i.setState;i.setState=(e,t)=>{p(e,t),h()};let E=e((...e)=>{r(...e),h()},n,i),_=()=>{var e,t;if(!f)return;s=!1,l.forEach(e=>{var t;return e(null!=(t=n())?t:E)});let i=(null==(t=o.onRehydrateStorage)?void 0:t.call(o,null!=(e=n())?e:E))||void 0;return u(f.getItem.bind(f))(o.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===o.version)return e.state;else{if(o.migrate)return o.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}}).then(e=>{var t;return r(a=o.merge(e,null!=(t=n())?t:E),!0),h()}).then(()=>{null==i||i(a,void 0),a=n(),s=!0,d.forEach(e=>e(a))}).catch(e=>{null==i||i(void 0,e)})};return i.persist={setOptions:e=>{o={...o,...e},e.storage&&(f=e.storage)},clearStorage:()=>{null==f||f.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>_(),hasHydrated:()=>s,onHydrate:e=>(l.add(e),()=>{l.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},o.skipHydration||_(),a||E},h=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),d(e,t)):f(e,t)},769316:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/o.518f9e51.svg",height:135,width:135,blurWidth:0,blurHeight:0}},771922:()=>{},773745:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(893953);let i={isMarketStatusLoading:!1,hasMarketStatusFetched:!1,isStockMarketOpen:(0,n.Ve)(),nextOpenDateTime:null,nextCloseDateTime:null,nextPreOpenStartDateTime:null,nextPreOpenEndDateTime:null,isTradingDay:!1,todaysMarketConfig:(0,n.nP)()}},776470:(e,t,r)=>{"use strict";r.d(t,{BT:()=>n,In:()=>s,J6:()=>o,Od:()=>c,m9:()=>a,nM:()=>l,qi:()=>i});let n="GET_SIP_DETAIL",i="GET_STOCK_SIP_PREVIOUS_ORDER",a="GET_MORE_STOCK_SIP_PREVIOUS_ORDER",o="STOCK_SIP_SKIP_TOGGLE",s="CLEAR_STOCK_SIP_DETAIL",l="GET_PAST_ORDER_COUNT",c="UPDATE_STOCK_SIP_DETAIL"},777971:(e,t,r)=>{"use strict";function n(){void 0!==window.google&&window.google.accounts.id.cancel()}r.d(t,{k:()=>n})},778928:e=>{"use strict";e.exports="8.0.2"},779126:(e,t,r)=>{"use strict";r.d(t,{Ow:()=>o,Yz:()=>f,Z9:()=>s,pq:()=>l});var n=r(269618),i=r(730884),a=r(718043);let o=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in a.O))return e();let t=a.O.console,r={},n=Object.keys(s);n.forEach(e=>{let n=s[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function c(){return d().enabled}function u(e,...t){i.T&&c()&&l(()=>{a.O.console[e](`Sentry Logger [${e}]:`,...t)})}function d(){return i.T?(0,n.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let f={enable:function(){d().enabled=!0},disable:function(){d().enabled=!1},isEnabled:c,log:function(...e){u("log",...e)},warn:function(...e){u("warn",...e)},error:function(...e){u("error",...e)}}},781103:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(464726),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 43 48",...t},n.createElement("path",{fill:"#0ABB92",d:"m35.909.263 6.263 30.517-29.647 17.217-6.263-30.739z"}),n.createElement("path",{fill:"#fff",d:"m12.748 44.693-5.56-27.014L36.101 1.194l5.586 27.217z"}),n.createElement("path",{fill:"#0B5E49",d:"m34.13 15.62-4.912 2.832-1.272-5.321 5.01-2.88zM26.418 20.114l-4.913 2.831-1.266-5.327 5.003-2.873zM18.701 24.606l-4.913 2.826-1.266-5.321 5.003-2.88zM29.455 29.657l-4.913 2.831-1.266-5.32 5.003-2.88zM37.55 24.597l-4.912 2.831-1.266-5.32 5.003-2.88zM21.35 34.48l-4.914 2.832-1.265-5.322 5.003-2.88z"}),n.createElement("path",{fill:"#0ABB92",d:"M6.262 17.261 12.525 48l-6.269-5.423L0 40.765z"}),n.createElement("path",{fill:"#0B5E49",d:"m.09 40.795-.09-.03 6.263-23.504L9.91 35.168zM6.154 42.547l4.71-2.7L12.525 48l-6.269-5.423z"}),n.createElement("path",{fill:"#0B5E49",d:"M6.262 17.261 12.525 48l-6.269-5.423L0 40.771l6.262-23.504zm.078 25.16 5.921 5.123-6.017-29.539L.21 40.651zM8.743 18.211l1.601-.917.222 1.08-1.601.917zM12.745 15.922l1.602-.918.216 1.08-1.596.918zM16.743 13.63l1.601-.918.222 1.074-1.601.918zM20.733 11.332l
191.602-.918.222 1.08-1.602.918zM24.737 9.04l1.602-.917.222 1.08-1.602.917zM28.733 6.75l1.602-.918.222 1.074-1.602.918zM32.735 4.451l1.596-.918.222 1.08-1.602.918z"}),n.createElement("path",{fill:"#0ABB92",d:"M6.657 13.923c.438-.252.996-.21 1.572.12 1.068.618 1.908 2.063 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.213-1.566-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.821c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.653.24-1.157.672-1.41zM10.657 11.634c.438-.252.996-.21 1.572.126 1.068.617 1.908 2.063 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.214-1.566-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.821c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.653.24-1.157.672-1.41zM14.655 9.335c.438-.252.996-.21 1.572.12 1.068.618 1.908 2.064 1.908 3.288 0 .54-.162.978-.474 1.26-.21.191-.468.293-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.214-1.566-2.7-.354-.204-.678-.246-.894-.126s-.336.42-.336.822c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.654.24-1.158.672-1.41zM18.655 7.044c.438-.252.996-.21 1.572.12 1.068.618 1.908 2.063 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.213-1.566-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.822c0 .45.15.965.42 1.463l-.594.33c-.33-.594-.51-1.23-.51-1.787 0-.654.24-1.158.672-1.41zM22.651 4.752c.438-.252.996-.21 1.572.12 1.068.618 1.908 2.063 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.213-1.566-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.822c0 .45.15.965.42 1.463l-.594.33c-.33-.594-.51-1.23-.51-1.787 0-.654.24-1.158.672-1.41zM26.644 2.454c.438-.252.996-.21 1.571.12 1.068.618 1.908 2.064 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.971-.72-2.213-1.566-2.7-.354-.203-.678-.245-.893-.125-.216.12-.336.42-.336.822 0 .45.15.966.42 1.463l-.594.33c-.33-.593-.51-1.23-.51-1.787 0-.654.24-1.158.672-1.41zM30.646.162c.438-.252.995-.21 1.571.12 1.068.618 1.908 2.064 1.908 3.288 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.214-1.566-2.7-.354-.204-.678-.246-.893-.126-.216.12-.336.42-.336.822 0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.654.24-1.158.672-1.41z"}))})},782252:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{A:()=>n})},782456:(e,t,r)=>{"use strict";r.d(t,{eC3:()=>E,mrv:()=>S,Ihv:()=>ts,zY2:()=>ed,Sh:()=>e9,Eb1:()=>tO,aVc:()=>tT,mJn:()=>tR,WHG:()=>v,rM:()=>X,UQi:()=>t_,C_C:()=>tI,HAL:()=>_,q4v:()=>p,bwq:()=>d,aLR:()=>f,q1m:()=>h,RyT:()=>u,j0m:()=>eS,TsQ:()=>t5,uCn:()=>t0,sgV:()=>tZ,uHT:()=>tY,ivO:()=>Z,wXm:()=>em,KBt:()=>eP,PgD:()=>ev,QVg:()=>eb,Gfm:()=>c,Ygo:()=>td,PB9:()=>eZ,yV4:()=>e0,e8I:()=>ei,iSW:()=>tx,tnD:()=>L,ST1:()=>A,BwT:()=>te,EH5:()=>tP,rJv:()=>D,wxx:()=>N,WaJ:()=>eW,YpO:()=>tl,vSK:()=>tQ,hBq:()=>e3,G99:()=>ez,mkH:()=>e4,Xwq:()=>eF,aOX:()=>ef,MKi:()=>H,zf6:()=>Y,Pyp:()=>er,tyT:()=>J,HPR:()=>Q,kKg:()=>tj,SKe:()=>q,$xA:()=>z,Qce:()=>eN,lo0:()=>tA,wkk:()=>tV,X3D:()=>eO,CPP:()=>O,zrW:()=>ek,ZrZ:()=>eG,FaO:()=>ty,XFk:()=>tb,Ty:()=>P,xxX:()=>F,LsN:()=>tK,wnA:()=>eR,t_r:()=>T,WnJ:()=>y,qPc:()=>eH,plx:()=>tJ,p4$:()=>t3,TBC:()=>x,gGy:()=>tW,IDc:()=>ej,bLx:()=>eB,noE:()=>eV,vGX:()=>tM,JQ4:()=>t4,Yd4:()=>tz,onP:()=>e6,FsZ:()=>U,AJO:()=>tm,EwT:()=>tS,GET:()=>tq,SN5:()=>g,Quz:()=>e8,NN7:()=>ti,Tyv:()=>tn,j_o:()=>tt,MFw:()=>tr,OZB:()=>tC,w8E:()=>b,f5g:()=>tc,W4W:()=>w,fz3:()=>$,B4X:()=>tw,DEg:()=>eJ,QLV:()=>eX,JZw:()=>tv,H5L:()=>G,y6P:()=>j,v0X:()=>C,oTB:()=>en,dPO:()=>et,utg:()=>eK,Ebp:()=>eA,t$K:()=>eC,i38:()=>t$,pB6:()=>tX,eTf:()=>el,Ofv:()=>eq,Vaq:()=>eT,uRH:()=>ey,fyK:()=>ew,FHx:()=>ec,hT0:()=>eo,HHA:()=>eu,vnO:()=>tf,e7t:()=>th,yR3:()=>es,cI4:()=>tg,TwZ:()=>tN,_kH:()=>ee,Pbs:()=>eM,v7S:()=>e2,Zpk:()=>I,pFO:()=>t1,$g9:()=>e7,jee:()=>tk,vS2:()=>tD,gn8:()=>tG,i5Y:()=>tB,GbU:()=>tL,krw:()=>eg,m2R:()=>eL,Mon:()=>R,smK:()=>e$,Huj:()=>W,qPZ:()=>ex,FPh:()=>eU,IjM:()=>e_,RZC:()=>e5,X8o:()=>eE,XZx:()=>tp,eLh:()=>K,MUr:()=>tE,Mv8:()=>V,Nqg:()=>ea,OBX:()=>k,vAt:()=>M,iaV:()=>m,U4G:()=>eQ,Sc4:()=>tu,o5m:()=>ta,epr:()=>to,hCM:()=>eI,aRO:()=>e1,WDM:()=>eh,zgw:()=>t2,gJV:()=>B,w4k:()=>tU,e1Z:()=>tF,T1O:()=>tH,TvS:()=>eY}),r(407178),r(464726);var n=r(454532),i=r(930252),a=r(306519),o=r(729623),s=r(519859);let l={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/mfpPoor.1e13fcf6.svg",height:18,width:16,blurWidth:0,blurHeight:0},c={HIGH_RETURNS:"best-high-return",SIP_WITH_500:"best-sip-with-500",TAX_SAVING:"best-tax-saving",LARGE_CAP:"best-large-cap",MID_CAP:"best-mid-cap",SMALL_CAP:"best-small-cap"},u={BANK_SELECTION:"BANK_SELECTION",BRANCH_SELECTION:"BRANCH_SELECTION",ACCOUNT_NUMBER_VERIFICATION:"ACCOUNT_NUMBER_VERIFICATION",BANK_DOCUMENT_UPLOAD:"BANK_DOCUMENT_UPLOAD"},d={STOCKS_ONBOARDING:"STOCKS_ONBOARDING",BANK_AND_AUTOPAY:"BANK_AND_AUTOPAY",REKYC:"REKYC",GOLD_ONBOARDING:"GOLD_ONBOARDING"},f=["IFSC_PAN","UPLOAD_PROOF","VPA_PAN"],h={DEFAULT:"Your bank verification has failed",UPLOAD_PROOF:"Your bank verification has failed, please upload any bank proof.",PENNY_DROP:"We are depositing â¹1 in your bank account to verify it",PAN_BASED_VERIFICATION:"Trying another method Please wait...",VERIFICATION_REQUEST_SUBMITTED:"Verification request submitted",BANK_ACCOUNT_VERIFIED:"Bank account is verified!",VERIFICATION_FAILED:"Your bank account could not be verified. Please try using another bank account."},p={CHEQUE:{label:"Cancelled cheque",value:"CHEQUE",image:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/cheque_sample.ada8fbd0.svg",height:136,width:328,blurWidth:0,blurHeight:0}},PASSBOOK:{label:"First page of passbook",value:"PASSBOOK",image:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/passbook_sample.52d8fef2.svg",height:136,width:328,blurWidth:0,blurHeight:0}},BANK_STATEMENT:{label:"Bank statement",value:"BANK_STATEMENT",image:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/bank_statement_sample.39916bba.jpg",height:272,width:648,blurDataURL:"data:image/jpeg;
19base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAADAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAACrg//EABkQAQACAwAAAAAAAAAAAAAAAAIAAQMRUf/aAAgBAQABPwDE1Seuz//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Af//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Af//Z",blurWidth:8,blurHeight:3}}},E=["image/jpeg","image/jpg","image/png","image/webp","image/bmp","image/heic"],_=[p.CHEQUE,p.PASSBOOK,p.BANK_STATEMENT],g={DEPOSITS:"DEPOSITS",FNO_ONBOARDING:"FNO_ONBOARDING",REKYC:"REKYC",STOCKS:"STOCKS",US_STOCKS:"US_STOCKS",UPDATE_KYC:"UPDATE_KYC",ONBOARDING:"ONBOARDING"},S=["application/pdf"],m={SELECT_PROOF_TYPE:"SELECT_PROOF_TYPE",UPLOAD_PROOF:"UPLOAD_PROOF"},A={PAN:"PAN",CHEQUE:"CHEQUE",SIGNATURE:"SIGNATURE",ADDRESS_PROOF:"ADDRESS_PROOF",ADDRESS_PROOF_2:"ADDRESS_PROOF_2",IPV:"IPV",SELFIE:"SELFIE",BANK:"BANK_PROOF",MANDATE_UPLOADED:"MANDATE_UPLOADED",INTL_ADDRESS_PROOF_FRONT:"INTL_ADDRESS_PROOF_FRONT",INTL_ADDRESS_PROOF_BACK:"INTL_ADDRESS_PROOF_BACK",INTL_IDENTITY_PROOF:"INTL_IDENTITY_PROOF",INCOME_PROOF:"INCOME_PROOF",AOF_OFFLINE_FORM:"AOF_OFFLINE_FORM",STOCKS_AOF_SIGNED:"STOCKS_AOF_SIGNED",INCOME_PROOF_DOC:"INCOME_PROOF_DOC"};c.HIGH_RETURNS,c.SIP_WITH_500,c.TAX_SAVING,c.LARGE_CAP,c.MID_CAP,c.SMALL_CAP;let v=200,b={SUCCESSFUL:"Successful",UNSUCCESSFUL:"Unsuccessful",OPEN:"Open",CANCELLED:"Cancelled",COMPLETED:"COMPLETED",PENDING:"PENDING",FAILED:"FAILED",SUCCESS:"SUCCESS",IN_PROGRESS:"IN_PROGRESS",APPROVED:"APPROVED",NEW:"NEW",REJECTED:"REJECTED",PAYMENT_FAILED:"PAYMENT_FAILED",PAYMENT_INITIATED:"PAYMENT_INITIATED",PAYMENT_PENDING:"PAYMENT_PENDING"},T=[b.SUCCESS,b.FAILED,b.PENDING],y=[b.SUCCESS,b.FAILED],O={NEW:"NEW",COMPLETED:"COMPLETED",FAILED:"FAILED",INITIATED:"INITIATED"},w={SIP:"SIP",XSP:"XSP",ISP:"ISP",STP:"STP",SWP:"SWP",SI:"SI",SO:"SO",NRM:"NRM",INSTA:"INSTA",REDEEM_BANK:"BANK",GROWW_BALANCE:"GROWW_BALANCE",LUMP_SUM:"LUMP_SUM",REDEEM:"R",PURCHASE:"P",NEW:"NEW",SIP_CHILD:"SIP_CHILD",SWITCH:"SWITCH"};w.REDEEM,w.INSTA,w.REDEEM_BANK,w.GROWW_BALANCE,w.SI,w.SO,w.NRM;let C={REGULAR:"Regular",DIRECT:"Direct"},I={GROWTH:"Growth",SIF:"SIF"},R={CANCELLATION_REQUESTED:"CANCELLATION_REQUESTED",APPROVED:"APPROVED"},N={PAUSE:"PAUSE",EDIT_DAY:"EDIT_DAY",EDIT_AMOUNT:"EDIT_AMOUNT"},D={COMPLETED:"COMPLETED",PENDING:"PENDING",FAILED:"FAILED",CANCELLED:"CANCELLED",PAUSED:"PAUSED"},P={ONE_MONTH:{month:1,buttonId:"1M",valueKey:"return1m"},SIX_MONTHS:{month:6,buttonId:"6M",valueKey:"return6m"},ONE_YEAR:{month:12,buttonId:"1Y",valueKey:"return1y"},THREE_YEAR:{month:36,buttonId:"3Y",valueKey:"return3y"},FIVE_YEAR:{month:60,buttonId:"5Y",valueKey:"return5y"},ALL:{month:1e3,buttonId:"ALL",valueKey:"return_since_created"}},L={...P.THREE_YEAR},k={SUCCESS:"success",FAILED:"failed"},M={COMPLETED_TRACK:"COMPLETED"};var F=function(e){return e.LOW_TO_HIGH="asc",e.HIGH_TO_LOW="des",e}({}),x=function(e){return e.MAIN_DATA="MAIN_DATA",e.SIMILAR_FUNDS="SIMILAR_FUNDS",e.HOLDING_ANALYSIS="HOLDING_ANALYSIS",e.ORDER_TREND="ORDER_TREND",e.VARIANT_DATA="VARIANT_DATA",e.CUSTOM_MF_DATA="CUSTOM_MF_DATA",e.NEWS_DATA="NEWS_DATA",e}({}),U=function(e){return e.NFO_MAIN_DATA="NFO_MAIN_DATA",e.NFO_CUSTOM_MF_DATA="NFO_CUSTOM_MF_DATA",e.NFO_SIMILAR_FUNDS="NFO_SIMILAR_FUNDS",e}({});let B={SCHEME:"SCHEME"};var H=function(e){return e.INVEST="INVEST",e.REDEEM="REDEEM",e.EMPTY_STATE="EMPTY_STATE",e.ADD_MONEY="ADD MONEY",e.FEEDBACK="FEEDBACK",e.SIP_INSTALLMENT="SIP_INSTALLMENT",e.PAYMENT_PROCESSING="PAYMENT_PROCESSING",e.ORDER_STATUS="ORDER_STATUS",e}({}),G=function(e){return e.PAY="PAY",e.PAYMENT_PROCESSING="PAYMENT_PROCESSING",e.ORDER_STATUS="ORDER_STATUS",e}({});let j={SET_FINAL_TRANSACTION_DATA:"setFinalTransactionData",SET_ORDER_STATUS_DATA:"setOrderStatusData",SET_PAYMENT_SUCCESS:"setIsPaymentSuccess",SET_PAYMENT_FAILED:"setIsPaymentFailed",SET_ACTION:"setAction",SET_SHOW_AUTOPAY:"setShowAutopay",SET_IS_MANDATE_FETCHED:"setIsMandateFetched",RESET_STATE:"resetState"};var V=function(e){return e.STP="STP",e.SWP="SWP",e}({});let K={CANCELLED:"CANCELLED",APPROVED:"APPROVED"},W={CURRENT_VALUE:{title:"Current (Invested)",popupTitle:"Current (Invested)",key:"CURRENT_VALUE"},RETURNS:{title:"Returns (%)",popupTitle:"Returns %",key:"RETURNS"},DAY_CHANGE:{title:"Day Change (%)",popupTitle:"Day Change %",key:"DAY_CHANGE"},XIRR:{title:"XIRR (%)",popupTitle:"XIRR %",key:"XIRR"},ALPHABETICAL:{title:"",popupTitle:"Alphabetical",key:"ALPHABETICAL"}},Y=[W.DAY_CHANGE.key,W.XIRR.key,W.CURRENT_VALUE.key,W.RETURNS.key],q={EKYC:"1"},z={KYC_IN_GROWW:"KYC_IN_GROWW",VERIFIED:"VERIFIED",PENDING:"PENDING"},X={NONE:"NONE",SWITCH:"SWITCH",SETUP:"SETUP",UPGRADE:"UPGRADE"},$={NRM:"NRM",STP:"STP",SIP:"SIP",ISP:"ISP",XSP:"XSP",XSIP:"XSIP",ISIP:"ISIP",SI:"SI",SO:"SO",AST:"AST",SWP:"SWP"},Q={SIP:"SIP",ONE_TIME:"ONE-TIME",SIP_INSTALMENT:"SIP INSTALMENT",SWITCH_IN:"SWITCH IN",SWITCH_OUT:"SWITCH OUT",STP:"STP"},J={SIP:"SIP",ONE_TIME_INVESTMENT:"Onetime investment"},Z={RETRY:"RETRY",ORDER:"ORDER",CART:"CART"};var ee=function(e){return e.INVEST_MORE="INVEST_MORE",e.STP="STP",e.SWP="SWP",e.REDEMPTION="REDEMPTION",e.SIP="SIP",e.LUMPSUM="LUMPSUM",e.REGULAR_TO_DIRECT_SWITCH_ALLOWED="REGULAR_TO_DIRECT_SWITCH_ALLOWED",e.DELETE="DELETE",e.SWITCH="SWITCH",e.SCHEME_REDI
19RECTION="SCHEME_REDIRECTION",e}({}),et=function(e){return e.REDEMPTION="REDEMPTION",e.SWITCH="SWITCH",e.DELETE="DELETE",e.STP="STP",e.SWP="SWP",e}({}),er=function(e){return e.DASHBOARD_API="DASHBOARD_API",e.SYSTEMATIC_API="SYSTEMATIC_API",e}({});let en={DIRECT:"Direct",REGULAR:"Regular"},ei={hasLoading:!0,hasError:!1},ea=["140241","135781","120147","133386","119060","120079","118803","134045","135654","135601","123637","132756","120715","118473","119773","119723","119661","118620","118540","120847","119307","119351","139781","138394","119242","120270","120503","119549","119544","120592","118285","120416","119417","119486","119489","120494","104707","104772","135784","103339","104636","111710","111722","133385","105628","104331","131736","101979","135655","103196","111638","100998","123638","111569","135598","100821","100865","111549","112323","100338","100354","107745","112538","116051","101815","100526","101853","100480","100474","118047","139783","138391","107288","113463","100156","100175","136090","100068","140238","134044","132757","104706","104773","135783","103338","104635","140239","111708","108402","133383","131737","100614","101980","135652","103164","103197","111639","123636","100997","135599","111570","100820","100864","111550","112322","100337","100353","100593","112537","116052","100525","103883","118048","139780","138392","107287","113464","100174","100067","108231","107901","108145","141862","141810"],eo={AMOUNT:"AMOUNT",UNITS:"UNITS"},es={GROWW_BALANCE:"GROWW_BALANCE",BANK:"BANK",INSTANT:"INSTANT"};var el=function(e){return e.OTP="OTP",e.NONE="NONE",e.TWO_FA="TWOFACTORAUTH",e}({}),ec=function(e){return e.APP="APP",e.GROWW_OTP="GROWW_OTP",e.EXCHANGE_OTP="EXCHANGE_OTP",e.NONE="NONE",e}({});let eu={SUCCESS_DESKTOP:"DONE",SUCCESS_MSITE:"DASHBOARD",FAILED:"TRY AGAIN",HELP_BANK_CHANGE:"How to change bank details?"},ed={"IDFC Mutual Fund":"idfc_groww.png","Canara Robeco Mutual Fund":"canara_groww.png","Essel Mutual Fund":"peerless_groww.png","Navi Mutual Fund":"peerless_groww.png","Mahindra Mutual Fund":"mahindra_groww.png","Reliance Mutual Fund":"reliance_groww.png","Nippon India Mutual Fund":"reliance_groww.png","Samco Mutual Fund":"samco_groww.png","Trust Mutual Fund":"trust_groww.png","NJ Mutual Fund":"nj_groww.png","WhiteOak Capital Mutual Fund":"whiteoak_groww.png","Bajaj Finserv Mutual Fund":"bajaj_groww.png","TRUST Mutual Fund":"trust_groww.png"},ef={ASSET_NETSTORAGE:"https://assets-netstorage.groww.in/mf-assets/logos/",HOST:"https://groww.in/images/partners/"},eh={NRM:"NRM",SIP:"SIP"},ep={USER_INVESTMENTS:"investments",SCHEME_INFO:"scheme_info",RETURNS_CALCULATOR:"return_calculator",RETURNS_RANKING:"returns_and_ranking",PEER_COMPARISON:"peer_comparison",HOLDINGS:"holdings",HOLDINGS_ANALYSIS:"holding analysis",PROS_AND_CONS:"pros_and_cons",EXPENSE_RATIO_AND_EXIT_LOAD:"expense_ratio_exit_load",MIN_INVESTMENT:"min_investment_amount",FUND_MANAGEMENT:"fund_management",OTHER_PLANS:"other_plans",INVESTMENT_OBJECTIVE:"amc_info_investment_objective",FUND_DETAILS:"fund_details",COMPARE_FUNDS:"compare_funds",NEWS:"news",PRIME_VERDICT:"prime_verdict",ABOUT_SIF:"about-sif"};ep.USER_INVESTMENTS,ep.PRIME_VERDICT,ep.SCHEME_INFO,ep.ABOUT_SIF,ep.RETURNS_CALCULATOR,ep.HOLDINGS,ep.HOLDINGS_ANALYSIS,ep.MIN_INVESTMENT,ep.RETURNS_RANKING,ep.PEER_COMPARISON,ep.EXPENSE_RATIO_AND_EXIT_LOAD,ep.FUND_MANAGEMENT,ep.INVESTMENT_OBJECTIVE,ep.FUND_DETAILS,ep.OTHER_PLANS,ep.PROS_AND_CONS,ep.COMPARE_FUNDS,ep.NEWS;var eE=function(e){return e.SUCCESS="SUCCESS",e.FAILED="FAILED",e.INPUT="INPUT",e}({}),e_=function(e){return e.YEARS="YEARS",e.MONTHS="MONTHS",e}({}),eg=function(e){return e.AMOUNT="Amount",e.PERCENTAGE="Percentage",e}({});let eS="best-picks-by-prime-aggressive-5-plus",em=[{heading:"High return",description:"Funds with high returns in the last 3-5 years",image_url:"high_return.svg",image_url_dark:"high_return.svg",deep_link:"https://groww.in/mutual-funds/collections/best-high-return",event_attribute:"high_return"},{heading:"SIP with 100",description:"Funds with min investment of just 100 every month",image_url:"SIP_with_500.svg",image_url_dark:"SIP_with_500.svg",deep_link:"https://groww.in/mutual-funds/collections/best-sip-with-500",event_attribute:"sip_with_500"},{heading:"Gold Funds",description:"Alternative to buying physical gold/silver as it replicates the price of gold/silver on a daily basis",image_url:"gold_funds.svg",image_url_dark:"gold_funds.svg",deep_link:"https://groww.in/mutual-funds/collections/gold-silver",event_attribute:"gold_silver_funds"},{heading:"Large Cap",description:"Funds with majority investments in large cap companies",image_url:"large_cap.svg",image_url_dark:"large_cap.svg",deep_link:"https://groww.in/mutual-funds/collections/best-large-cap",event_attribute:"large_cap"},{heading:"Mid Cap",description:"Funds with majority investments in mid cap companies",image_url:"mid_cap.svg",image_url_dark:"mid_cap.svg",deep_link:"https://groww.in/mutual-funds/collections/best-mid-cap",event_attribute:"mid_cap"},{heading:"Small Cap",description:"Funds with majority investments in small cap companies",image_url:"small_cap.svg",image_url_dark:"small_cap.svg",deep_link:"https://groww.in/mutual-funds/collections/best-small-cap",event_attribute:"small_cap"}],eA=[{heading:"High return",description:"Funds with high returns in the last 3-5 years",image_url:"mf_prime_high_return.svg",image_url_dark:"mf_prime_high_return.svg",deep_link:"https://groww.in/mutual-funds/collections/best-high-return",event_attribute:"prime_high_return"},{heading:"Best SIP funds",description:"Most popular and easy-to-invest mutual funds for SIPs",image_url:"mf_prime_SIP_with_500.svg",image_url_dark:"mf_prime_SIP_with_500.svg",deep_link:"https://groww.in/mutual-funds/collections/best-sip-with-500",event_attribute:"prime_sip_with_500"},{heading:"Gold Funds",description:"Alternative to buying physical gold as it replicates the price of gold on a daily basis",image_url:"mf_prime_tax_saving.svg",image_url_dark:"mf_prime_tax_saving.svg",deep_link:"https://groww.in/mutual-funds/collections/gold-funds",event_attribute:"prime_gold_funds"},{heading:"Large Cap",description:"Funds with majority investments in large cap companies",image_url:"mf_prime_large_cap.svg",image_url_dark:"mf_prime_large_cap.svg",deep_link:"https://groww.in/mutual-funds/collections/best-large-cap",event_attribute:"prime_large_cap"},{heading:"Mid Cap",description:"Funds with majority investments in mid cap companies",image_url:"mf_prime_mid_cap.svg",image_url_dark:"mf_prime_mid_cap.svg",deep_link:"https://groww.in/mutual-funds/collections/best-mid-cap",event_attribute:"prime_mid_cap"},{heading:"Small Cap",description:"Funds with majority investments in small cap companies",image_url:"mf_prime_small_cap.svg",image_url_dark:"mf_prime_small_cap.svg",deep_link:"https://groww.in/mutual-funds/collections/best-small-cap",event_attribute:"prime_small_cap"}],ev="https://resources.groww.in/mf-assets/web/collection/light/",eb="https://resources.groww.in/mf-assets/web/collection/dark/",eT="https://resources.groww.in/mf-assets/web/quick_access/light/",ey="https://resources.groww.in/mf-assets/web/quick_access/dark/",eO="".concat(i.W.RESOURCE,"/web-assets/img/mutual-funds/category/"),ew=[{heading:"NFO Live",description:"Invest in New Fund Offerings",image_url:"Nfo_light.svg",image_url_dark:"nfo.svg",deep_link:"/nfo",event_attribute:"nfo_event"},{heading:"Import funds",description:"Manage all external funds on Groww",image_url:"import_funds.svg",image_url_dark:"import_funds.svg",deep_link:"/mutual-funds/track/request",event_attribute:"import_external_event"},{heading:"File tax",description:"File your taxes easily with Cleartax",image_url:"file_tax_icon_light.svg",image_url_dark:"file_tax_icon_dark.svg",deep_link:"",event_attribute:"file_tax_event"},{heading:"Compare funds",description:"Compare different funds together",image_url:"compare_funds.svg",image_url_dark:"compare_funds.svg",deep_link:"/mutual-funds/compare",event_attribute:"compare_event"},{heading:"SIP Calculator",description:"Calculate returns for SIP investments",image_url:"sip_calculator.svg",image_url_dark:"sip_calculator.svg",deep_link:"/calculators/sip-calculator",event_attribute:"sip_calculator"},{heading:"Mutual funds screener",description:"Find the best mutual funds for your investment",image_url:"screener.svg",image_url_dark:"screener.svg",deep_link:"/mutual-funds/filter",event_attribute:"screener"}],eC=[{heading:"Import funds",description:"Manage all external funds on Groww",image_url:"mf_prime_import_funds.svg",image_url_dark:"mf_prime_import_funds.svg",deep_link:"/mutual-funds/track/request",event_attribute:"import_external_event"},{heading:"SIP calculator",description:"Calculate returns for SIP investments",image_url:"mf_prime_sip_calculator.svg",image_url_dark:"mf_prime_sip_calculator.svg",deep_link:"/calculators/sip-calculator",event_attribute:"sip_calculator"},{heading:"Mutual funds screener",description:"Find the best mutual funds for your investment",image_url:"mf_prime_screener.svg",image_url_dark:"mf_prime_screener.svg",deep_link:"/mutual-funds/filter",event_attribute:"screener"}],eI={NONE:"NONE",CANCEL_SIP:"CANCEL_SIP",SWITCH_AUTOPAY:"SWITCH_AUTOPAY",EDIT:"EDIT",SKIP:"SKIP",UNDO:"UNDO",SETUP:"SETUP",UPGRADE:"UPGRADE",STEP_UP_SIP:"STEP_UP_SIP"},eR={SUCCESS:"SUCCESS",FAILURE:"FAILURE"}
19,eN={MF:"MF",GENERIC:"GENERIC"},eD={return1y:{key:"return1y",name:"1Y returns"},return3y:{key:"return3y",name:"3Y returns"},return5y:{key:"return5y",name:"5Y returns"}},eP=[eD.return1y.key,eD.return3y.key,eD.return5y.key],eL={BILLER:"BILLER",OTM:"OTM",GROWW_MANDATE:"GROWW_MANDATE"},ek=[{url:n.bw.HOME,text:"Home"},{url:n.bw.MF,text:"Mutual Funds Explore"}],eM={SWITCH_FUNDS_EXPLORE:"switch-funds-explore",SWITCH_FUNDS_DASHBOARD:"switch-funds-dashboard",SWITCH_SCHEME_SELECTED:"switch-scheme-selected",SWITCH_SCHEME_DETAILS:"switch-scheme-details"},eF="SWITCH_TO_DIRECT",ex=[{label:"Returns - High To Low",value:0},{label:"Ratings - High To Low",value:1}],eU=["1Y","3Y","5Y"];var eB=function(e){return e.LOW_TO_HIGH="asc",e.HIGH_TO_LOW="des",e}({}),eH=function(e){return e.INVEST="INVEST",e.EMPTY_STATE="EMPTY_STATE",e}({});let eG=[{title:"Popular Funds",type:"MF"},{title:"Collections",type:"CL_V2"},{title:"Quick Access",type:"QUICK"},{title:"SIP FIRST JOURNEY",type:"SIP_FIRST_JOURNEY"},{title:"Cart",type:"CART"},{title:"All Mutual Funds",type:"ALL_MF"},{title:"Watchlist",type:"WATCHLIST"},{title:"MF Nudge",type:"NUDGE"}],ej={INVESTMENT_PAGE:"INVESTMENT_PAGE",SCHEME_TRANSACTION_PAGE:"SCHEME_TRANSACTION_PAGE"},eV={CATEGORY_PAGE:"seoAmcMain0",AMC_MAIN_PAGE:"mfCategory0",CATEGORY_AMC_PAGE:"seoCategoryAmc0",DURATION_PAGE:"seoDuration0",RISK_PAGE:"seoRisk0"},eK={REDEEM:"REDEEM",SWITCH:"SWITCH",STP:"STP",SWP:"SWP"},eW={NSE:"NSE",BSE:"BSE"},eY=e=>{let t=String(null!=e?e:"").toUpperCase();return t===eW.NSE?eW.NSE:t===eW.BSE?eW.BSE:null},eq={STP:"STP",SIP:"SIP",SWP:"SWP",CART:"CART",SWITCH:"SWITCH",REDEEM:"REDEEM",STEP_UP:"STEP_UP",LUMPSUM:"LUMP_SUM",EDIT_SIP:"EDIT_SIP",EDIT_SIP_V2:"EDIT_SIP_V2",SIP_CHILD:"SIP_CHILD",UPCOMING_SIP:"UPCOMING_SIP",STEP_UP_BULK:"STEP_UP_BULK",UPGRADE_MANDATE:"UPGRADE_MANDATE",FRESH:"FRESH"},ez=[{type:"HELP"}],eX=30,e$=["STEP_UP","EDIT_SIP","STEP_UP_BULK","UPGRADE_MANDATE"];var eQ=function(e){return e.STEP_UP_BULK="STEP-UP-BULK",e}({});let eJ="OTP is Sent on registered email Address and Mobile No.",eZ={CONFIRM:"Confirm",GO_BACK:"Go back",GO_TO_DASHBOARD:"Go to Dashboard",EDIT_STEP_UP:"Edit step-up",PROCEED:"Proceed",CONTINUE:"Continue",AUTHORISE_NOW:"Authorise now",DONE:"Done",DECLARE_NOMINEE:"Declare nominee",SETUP_AUTOPAY:"Setup autopay",DO_IT_LATER:"Do it later",UPGRADE_AUTOPAY_LIMIT:"Upgrade autopay limit",GO_TO_BANK_AND_AUTOPAY:"Go to bank and autopay",DONT_CANCEL:"Don't cancel",YES_CANCEL:"Yes, cancel",CANCEL:"Cancel",REACTIVATE_ACCOUNT:"Reactivate account",CANCEL_STEP_UP:"Cancel step-up",ONE_TIME:"One-time",MONTHLY_SIP:"Monthly SIP",EXPLORE_MUTUAL_FUNDS:"Explore mutual funds",EXPLORE_FUNDS:"Explore funds",BACK:"Back",NO:"No",YES:"Yes",OKAY:"Okay",YES_DELETE:"Yes, delete",REMOVE:"Remove",CANCEL_SIP:"Cancel SIP",PROCEED_TO_BANK:"Proceed to bank",SETUP_GROWW_AUTOPAY:"Setup Groww autopay",ADD_MORE_FUNDS:"Add more funds",PROCEED_TO_PAY:"Proceed to pay",OKAY_GOT_IT:"Okay, got it",PAY_NOW:"Pay now",FINISH_NOMINEE_ADDITION:"Finish nominee addition",DONT_ADD_NOMINEE:"Don't add nominee",ADD_NOMINEE:"Add nominee",CONFIRM_NOMINEE_DECLARATION:"Confirm nominee declaration",LOGIN_REGISTER:"Login / Register",LOGIN_REGISTER_CAPS:"Login / Register",START_DEPOSITING:"Start depositing",APPLY_NOW:"Apply now",INVEST_MORE:"Invest more",UNDO_EDIT_REQUEST:"Undo edit request",UNDO:"Undo",EDIT_SIP:"Edit SIP",EDIT_SIP_AMOUNT_ONLY:"Change amount",SAVE_CHANGES:"Save changes",NEXT:"Next",DOWNLOAD_APP:"Download app",CONFIRM_SWITCH:"Confirm switch",OPEN_DASHBOARD:"Open dashboard",SWITCH_NOW:"Switch now",TRACK_NOW:"Track now",PROCEED_TO_UPLOAD_PROOF:"Proceed to upload proof",USE_ANOTHER_BANK_ACCOUNT:"Use another bank account",UPLOAD_BANK_PROOF:"Upload bank proof",VERIFY_BANK:"Verify bank",DOWNLOAD_PHYSICAL_FORM:"Download physical form",CONFIRM_BILLING_DATE:"Confirm billing date",CONFIRM_DATE:"Confirm date",VIEW_INVESTMENTS:"View investments",TRY_AGAIN:"Try again",CHANGE:"Change",RESEND_OTP:"Resend OTP",VERIFY_OTP:"Verify OTP",BACK_TO_HOME:"Back to Home page",PROCEED_TO_UPLOAD:"Proceed to upload",RE_UPLOAD_FILE:"Re-upload file",SUBMIT:"Submit",GOT_IT:"Got it",UPLOAD_FILE:"Upload file",START_INVESTING:"Start investing",GIVE_FEEDBACK:"Give feedback",INVEST:"Invest",ADD_MONEY:"Add money",DASHBOARD:"Dashboard",APPLY:"Apply",APPLY_FOR_NFO:"Apply for NFO",INVEST_IN_ELSS_FUND:"Invest in ELSS fund",NO_CANCEL:"No, cancel",YES_SKIP:"Yes, skip",REMOVE_STEP_UP:"Remove step-up",EDIT_DETAILS:"Edit details",YES_CONFIRM:"Yes, confirm",START_NEW_SIP:"Start new SIP",INVEST_NOW:"Invest Now",TAKE_AGAIN:"Take again",LOOKS_GOOD:"Looks good",CLICK_TO_UPLOAD:"Click to upload",SIGN_UP:"Sign Up",UPDATE:"Update",ORDER_DETAILS:"Order Details",SELECT_DATE:"Select Date",RESET_FILTERS:"Reset filters",ANALYSE:"Analyse",IMPORT_MUTUAL_FUNDS:"Import mutual funds",FINISH_BILLER_SETUP:"Finish biller setup",VISIT_BANK_TO_ADD_BILLER:"Visit bank to add biller",CONTINUE_TO_OPT_OUT:"Continue to opt out",CLEAR_ALL:"Clear all"},e0={THEME_CHANGE:"themeChange",RC_LOADED:"rcLoaded",FIREBASE_AUTHENTICATE:"firebaseAuth",OPEN_LOGIN_POPUP:"openLoginPopup",UPDATE_HEADER:"updateHeader",LOGIN_SUCCESS:"loginSuccess",TWO_FA_SUCCESS:"twoFASuccess",OPEN_PIN_POPUP:"openPinPopup",TABLE_CLOSE:"tableClose",TRACK_LOG:"trackLog",LIVEPRICE_CHANGED:"livePriceChanged",TOGGLE_EXCHANGE:"toggleExchange",RESET_TV_CHART_DATA:"resetTvChartData"},e1={MIPAY:"mipay",trackLanding:"track_landing"};
19var e2=function(e){return e.EXTERNAL="External",e.REGULAR="Regular",e.SIP="SIP",e.XIRR="XIRR",e}({});let e5="Frequency can't be changed for an active step-up",e3={PAYMENTS:"PAYMENTS",ORDER_MF:"order-mf",ORDER:"ORDER",ORDER_STOCKS:"order-stocks",SIP:"SIP",AUTO_PAY:"AUTO_PAY",TRACK_AND_SWITCH:"TRACK_AND_SWITCH",ONBOARDING:"ONBOARDING",OTHERS:"OTHERS",STOCKS:"STOCKS",GENERAL_QUESTIONS:"general-questions",SEARCH:"search",FAQ:"FAQ",FAQ_MF:"faq-mf",FAQ_STOCKS:"faq-stocks",TICKETS:"tickets",US_STOCKS:"US_STOCKS",DISCOVERABLE:"DISCOVERABLE"},e4={AADHAAR_PAN_NOT_LINKED:"AADHAAR_PAN_NOT_LINKED",SIP_OTP_PAGE:"SIP_OTP_PAGE",LUMP_OTP_PAGE:"LUMPSUM_OTP_PAGE",STEP_UP_OTP_PAGE:"STEP_UP_OTP_PAGE",EDIT_SIP_OTP_PAGE:"EDIT_SIP_OTP_PAGE",CART_OTP_PAGE:"CART_OTP_PAGE",REDEEM_OTP_PAGE:"REDEEM_OTP_PAGE",FOLIO_SELECTION_PAGE:"FOLIO_SELECTION_PAGE",REDEEM_NOMINEE_DECL:"REDEEM_NOMINEE_DECL"},e6={NEED_HELP:"need-help",RECENT_ACTIVITIES:"recent-activities",HNS:"hns",OTHERS:"others"},e7={PAN_CARD:"pan-card",BANKING:"banking",RD:"recurring-deposit",FD:"fixed-deposit",US_STOCKS:"us-stocks",GOLD:"gold",CAPITAL_GAINS:"capital-gains",STOCKS:"stocks",MUTUAL_FUNDS:"mutual-funds",AADHAAR_CARD:"aadhaar-card",SAVING_SCHEMES:"savings-schemes",TAX:"tax",CREDIT_CARD:"credit-card",SAVINGS_ACCOUNT:"savings-account",IFSC_CODE:"ifsc-code",EMI_CALCULATORS:"emi-calculators",PPF_CALCULATORS:"ppf-calculators",FD_CALCULATORS:"fd-calculators",RD_CALCULATORS:"rd-calculators",MF_CALCULATORS:"mf-calculators",CALCULATORS:"calculators",GOLD_RATES:"gold-rates"},e8={VERIFY:"VERIFY",LOOKS_GOOD:"LOOKS GOOD",RE_UPLOAD:"RE-UPLOAD",UPLOAD_PHOTO:"UPLOAD PHOTO",VERIFY_USING_UPI_ID:"Verify using UPI ID",VERIFY_BANK:"VERIFY BANK",CLICK_TO_ACTIVATE:"CLICK TO ACTIVATE",UPLOAD_INCOME_PROOF:"UPLOAD INCOME PROOF",SUBMIT_INCOME_PROOF:"SUBMIT INCOME PROOF"},e9=["asset_360_one_groww.png","amcFallback.svg"];var te=function(e){return e.STP="STP",e.SWP="SWP",e.REGULAR_TO_DIRECT_SWITCH_ALLOWED="REGULAR_TO_DIRECT_SWITCH_ALLOWED",e.SWITCH="SWITCH",e.REDEMPTION="REDEMPTION",e.INVEST="INVEST",e.VIEW_TRANSACTION="VIEW_TRANSACTION",e.DELETE_SCHEME="DELETE",e}({}),tt=function(e){return e.SWITCH_FUNDS="Switch funds",e.EXPLORE_FUNDS="Explore funds",e.ADD_TO_CART="Add to cart",e.GO_TO_CART="Go to cart",e.SWITCH_TO_DIRECT="Switch to direct",e.START_SIP="Start SIP",e.INVEST_NOW="Invest now",e.CANCEL_SIP="Cancel SIP",e.REMOVE_SIP="Remove SIP",e.REDEEM="Redeem",e.PAY_ONE_TIME="Pay one-time",e.NOT_AVAILABLE="Not available",e.CANCEL_ORDER="Cancel order",e.REPEAT_ORDER="Repeat order",e}({}),tr=function(e){return e.REGULAR_FUNDS="in regular funds",e.FUND_ADDED_TO_CART="Fund added to cart",e.INVEST_MORE_NOT_ALLOWED="Invest more not allowed",e.INVESTMENT_NOT_ALLOWED="Investments not allowed",e.RESTRICTED_SIP_ONETIME="The fund house has restricted SIP and ONE-TIME investments in this fund right now.",e}({}),tn=function(e){return e.SEE_MORE="See more",e.SEE_LESS="See less",e}({}),ti=function(e){return e.PENDING_ORDERS="PENDING_ORDERS",e.PAYMENT_PENDING_ORDERS="PAYMENT_PENDING_ORDERS",e}({});let ta={INITIATED_WITH_USER_ACTION:"INITIATED_WITH_USER_ACTION",INITIATED_WITH_NO_USER_ACTION:"INITIATED_WITH_NO_USER_ACTION",IN_PROGRESS:"IN_PROGRESS",FAILED:"FAILED",REJECTED:"REJECTED",COMPLETED:"COMPLETED",DEFAULT:"DEFAULT"},to={INITIATED:"Initiated",ACTION_PENDING:"Action pending",IN_PROGRESS:"In progress",COMPLETED:"Completed",FAILED:"Failed",REJECTED:"Rejected"},ts={INVESTEMENT_ORDERS:"Investment orders",REDEEM_ORDERS:"Redeem orders",SWITCH_ORDERS:"Switch orders",ORDERS_IN_PROGRESS:"Orders in progress",SUCCESSFUL_ORDERS:"Successful orders",UNSUCCESSFUL_ORDERS:"Unsuccessful orders"},tl={PURCHASE:"PURCHASE",REDEEM:"REDEEM",SWITCH:"SWITCH"},tc={INITIATED_WITH_USER_ACTION:{statusText:"Action pending",iconColorClass:"contentWarning",icon:"clock-time-four"},INITIATED_WITH_NO_USER_ACTION:{statusText:"Initiated",iconColorClass:"contentPositive",icon:"clock-time-four"},IN_PROGRESS:{statusText:"In progress",iconColorClass:"contentPositive",icon:"clock-time-four"},FAILED:{statusText:"Failed",iconColorClass:"contentNegative",icon:"alert-circle"},REJECTED:{statusText:"Rejected",iconColorClass:"contentNegative",icon:"alert-circle"},COMPLETED:{statusText:"Completed",iconColorClass:"contentPositive",icon:"check-circle"}},tu={PAY_NOW:"PAY_NOW",RETRY_ORDER:"RETRY_ORDER",INVEST:"INVEST",REPEAT:"REPEAT",TPV_INVALID:"TPV_INVALID"},td={FLASH:"FLASH",GREY_CLOCK:"GREY_CLOCK"},tf="redeem-nominee",th=3;var tp=function(e){return e.ORDER_FAILED="Your switch order could not be processed",e}({}),tE=function(e){return e.SWP_FAILED="Your SWP could not be processed",e.STP_FAILED="Your STP could not be processed",e.ELSS_SCHEME_AMOUNT_MESSAGE="ELSS Scheme: Redeemable Amou
19nt is Zero",e.STP_AMOUNT_INVALID="Current value is less than minimum investment amount",e}({}),t_=function(e){return e.SUCCESS_TITLE="SIP setup successful",e.FAILURE_TITLE="SIP started without AutoPay",e.SUCCESS_DESC="AutoPay activated for future instalments",e.FAILURE_DESC="Complete AutoPay setup to automate monthly SIP payments",e.SUCCESS_DESC_WITH_UPI_MANDATE="AutoPay limit upgraded for future instalments",e.FAILURE_DESC_WITH_UPI_MANDATE="Upgrade AutoPay limit to continue auto-investing in SIPs with amount higher than â¹15,000",e}({}),tg=function(e){return e.BANK_MANDATE="Bank and Mandate",e.ALL_SIPS="All Sips",e.SIP_DETAILS="Sip Details",e.SIP_PAYMENTS="Sip Payments",e}({}),tS=function(e){return e.SUCCESS="SUCCESS",e.FAILED="FAILED",e}({}),tm=function(e){return e.OPT_IN="OPT_IN",e.OPT_OUT="OPT_OUT",e}({});let tA={E_NACH_API:"E_NACH_API",E_NACH_PHYSICAL:"E_NACH_PHYSICAL",UPI_AUTOPAY:"UPI_AUTOPAY"},tv={UPI:"UPI",UPI_AUTOPAY:"UPI_AUTOPAY",PVM:"PAY_VIA_MANDATE"},tb=[{url:(0,a.kH)(),name:"Home"},{url:(0,o.vf)(),name:"Mutual Funds"}],tT=[...tb,{url:(0,o.vy)(),name:"AMC"}],ty=[{url:(0,a.kH)(),text:"Home"},{url:(0,o.vf)(),text:"Mutual Funds"}],tO=[...ty,{url:(0,o.vy)(),text:"AMC"}],tw={PURCHASE:"PURCHASE",REDEEM:"REDEEM",SWITCH:"SWITCH",STP:"STP",SWP:"SWP"},tC={ORDER_CARD:"ORDER_CARD",STATUS:"STATUS",PAY_NOW:"PAY_NOW",PVM_POP_UP:"PVM_POP_UP"};var tI=function(e){return e.ERROR="Error",e.WARNING="Warning",e.NEUTRAL="Neutral",e}({}),tR=function(e){return e.SUCCESS="success",e.FAILED="failed",e}({});let tN={NORMAL:"NORMAL",NFO:"NFO"},tD=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28],tP={EDIT_AMOUNT_DAY:"EDIT_AMOUNT_DAY",PAUSE:"PAUSE"},tL={MONTHLY:"MONTHLY",WEEKLY:"WEEKLY",DAILY:"DAILY"},tk={DAY_OF_MONTH:"DAY_OF_MONTH",DAY_OF_WEEK:"DAY_OF_WEEK",DAILY:"DAILY"},tM={classicEnabled:!1,primeEnabled:!1},tF={THIS_WEEK:"Starting this week",NEXT_WEEK:"Starting next week"},tx=tF.THIS_WEEK,tU=["1","2","3","4","5"],tB="Your 1st SIP instalment will be initiated now.",tH=e=>"All future SIP instalments will be paid on ".concat(e," of every month. Dates may vary in case of holidays."),tG={AMOUNT:"AMOUNT",AMOUNT_DAY:"AMOUNT_DAY",AMOUNT_DATE:"AMOUNT_DATE"},tj={COMMON:["MODIFICATION_UNDER_PROCESS","MODIFICATION_REGISTERED","MODIFICATION_ON_HOLD","MODIFICATION_REJECTED","NOT_INITIATED","REGISTERED","VALIDATED"],REDEEM:[],SWITCH:[],PURCHASE:[],STP:[]},tV={REDEEM:!0,SWITCH:!0,PURCHASE:!0,STP:!0},tK={notAllowedKraStatus:{COMMON:["MODIFICATION_REGISTERED","REGISTERED"],REDEEM:[],SWITCH:[],PURCHASE:[],STP:[]}},tW={isEnabled:!0,PVM_POP_UP:[{title:"Why did my money not get deducted on {date}?",subtitle:"Payments made via AutoPay take 2-3 working days to complete, so your 1st SIP payment will be automatically deducted on {date}."},{title:"Why is the next SIP date {actualSIPdate} instead of {expectedSIPdate}?",subtitle:"There needs to be a gap of at least 30 days between your 1st and 2nd SIP instalments.\n Your first SIP payment date is initiated today, so your 2nd SIP date will be {actualSIPdate}."}]},tY={heading:"Verification",subHeading:"Verify with TPIN to sell",cdslHeadContent:"Before your first redeem/switch order of the day, TPIN verification is required by CDSL. You will find your TPIN in your email and SMS.",btnText:"Verify with TPIN"},tq={notLoggedInHeading:"Looking to invest in mutual funds?",notLoggedInPara:"Explore diversified funds designed for every investor",notLoggedInButtonText:"Invest Now"},tz="Mutual Fund investments are subject to market risks, read all scheme related documents carefully. Past performance of the schemes is neither an indicator nor a guarantee of future performance. Groww doesnât guarantee any returns or profits on the recommendation provided.";var tX=function(e){return e.TOP_BUY="TOP_BUY",e.BUY="BUY",e.HOLD="HOLD",e.SELL="SELL",e.STRONG_SELL="STRONG_SELL",e.UNKNOWN="UNKNOWN",e}({});let t$={TOP_BUY:{icon:s.A,value:5,displayText:"Best Pick",classNames:"backgroundAccentSubtle contentOnAccentSubtle",description:"Strongly recommended based on overall strength across all parameters."},BUY:{icon:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/mfpGood.36af8a44.svg",height:16,width:16,blurWidth:0,blurHeight:0},value:4,displayText:"Good",classNames:"backgroundPositiveSubtle contentPositive",description:"Performing well and good to invest now."},HOLD:{icon:{src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/mfpAverage.b6ea2ac4.svg",height:16,width:16,blurWidth:0,blurHeight:0},value:3,displayText:"Average",classNames:"backgroundWarningSubtle contentOnWarningSubtle",description:"Stable, but avoid investing or adding more now."},SELL:{icon:l,value:2,displayText:"Poor",classNames:"backgroundNegativeSubtle contentOnNegativeSubtle",description:"Not performing well, better to exit or avoid."},STRONG_SELL:{icon:l,value:1,displayText:"Poor",classNames:"backgroundNegativeSubtle contentOnNegativeSubtle",description:"Not performing well, better to exit or avoid."},UNKNOWN:{icon:null,value:0,displayText:"No verdict",classNames:"backgroundTertiary contentTertiary",description:"Not enough info yet"}};
19var tQ=function(e){return e.P="Physical",e.D="Demat",e.E="External",e}({});let tJ="mf",tZ=["Debt","Commodities","Hybrid","Equity","Others"],t0=["Commodities","Others"],t1={CATEGORY:"category",SUB_CATEGORY:"sub_category",FUND_HOUSE:"fund_house",RISK:"risk"},t2=Object.values(t1);var t5=function(e){return e.ADD_TO_CART="ADD_TO_CART",e.CHECKOUT="CHECKOUT",e}({});let t3={NONE:"NONE",FORK:"FORK",UPGRADE:"UPGRADE"},t4={ANALYSE_NUDGE:"MF_ANALYSE_NUDGE"}},783150:function(e,t){var r,n,i;"undefined"!=typeof globalThis||"undefined"!=typeof self&&self,i=function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=null;try{t=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function r(e,t,r){this.low=0|e,this.high=0|t,this.unsigned=!!r}function n(e){return!0===(e&&e.__isLong__)}function i(e){var t=Math.clz32(e&-e);return e?31-t:t}r.prototype.__isLong__,Object.defineProperty(r.prototype,"__isLong__",{value:!0}),r.isLong=n;var a={},o={};function s(e,t){var r,n,i;return t?(e>>>=0,(i=0<=e&&e<256)&&(n=o[e]))?n:(r=c(e,0,!0),i&&(o[e]=r),r):(e|=0,(i=-128<=e&&e<128)&&(n=a[e]))?n:(r=c(e,e<0?-1:0,!1),i&&(a[e]=r),r)}function l(e,t){if(isNaN(e))return t?S:g;if(t){if(e<0)return S;if(e>=p)return T}else{if(e<=-E)return y;if(e+1>=E)return b}return e<0?l(-e,t).neg():c(e%h|0,e/h|0,t)}function c(e,t,n){return new r(e,t,n)}r.fromInt=s,r.fromNumber=l,r.fromBits=c;var u=Math.pow;function d(e,t,r){if(0===e.length)throw Error("empty string");if("number"==typeof t?(r=t,t=!1):t=!!t,"NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return t?S:g;if((r=r||10)<2||36<r)throw RangeError("radix");if((n=e.indexOf("-"))>0)throw Error("interior hyphen");if(0===n)return d(e.substring(1),t,r).neg();for(var n,i=l(u(r,8)),a=g,o=0;o<e.length;o+=8){var s=Math.min(8,e.length-o),c=parseInt(e.substring(o,o+s),r);if(s<8){var f=l(u(r,s));a=a.mul(f).add(l(c))}else a=(a=a.mul(i)).add(l(c))}return a.unsigned=t,a}function f(e,t){return"number"==typeof e?l(e,t):"string"==typeof e?d(e,t):c(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}r.fromString=d,r.fromValue=f;var h=0x100000000,p=0xffffffffffffffff,E=0x8000000000000000,_=s(0x1000000),g=s(0);r.ZERO=g;var S=s(0,!0);r.UZERO=S;var m=s(1);r.ONE=m;var A=s(1,!0);r.UONE=A;var v=s(-1);r.NEG_ONE=v;var b=c(-1,0x7fffffff,!1);r.MAX_VALUE=b;var T=c(-1,-1,!0);r.MAX_UNSIGNED_VALUE=T;var y=c(0,-0x80000000,!1);r.MIN_VALUE=y;var O=r.prototype;O.toInt=function(){return this.unsigned?this.low>>>0:this.low},O.toNumber=function(){return this.unsigned?(this.high>>>0)*h+(this.low>>>0):this.high*h+(this.low>>>0)},O.toString=function(e){if((e=e||10)<2||36<e)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(!this.eq(y))return"-"+this.neg().toString(e);else{var t=l(e),r=this.div(t),n=r.mul(t).sub(this);return r.toString(e)+n.toInt().toString(e)}for(var i=l(u(e,6),this.unsigned),a=this,o="";;){var s=a.div(i),c=(a.sub(s.mul(i)).toInt()>>>0).toString(e);if((a=s).isZero())return c+o;for(;c.length<6;)c="0"+c;o=""+c+o}},O.getHighBits=function(){return this.high},O.getHighBitsUnsigned=function(){return this.high>>>0},O.getLowBits=function(){return this.low},O.getLowBitsUnsigned=function(){return this.low>>>0},O.getNumBitsAbs=function(){if(this.isNegative())return this.eq(y)?64:this.neg().getNumBitsAbs();for(var e=0!=this.high?this.high:this.low,t=31;t>0&&(e&1<<t)==0;t--);return 0!=this.high?t+33:t+1},O.isSafeInteger=function(){var e=this.high>>21;return!e||!this.unsigned&&-1===e&&(0!==this.low||-2097152!==this.high)},O.isZero=function(){return 0===this.high&&0===this.low},O.eqz=O.isZero,O.isNegative=function(){return!this.unsigned&&this.high<0},O.isPositive=function(){return this.unsigned||this.high>=0},O.isOdd=function(){return(1&this.low)==1},O.isEven=function(){return(1&this.low)==0},O.equals=function(e){return n(e)||(e=f(e)),(this.unsigned===e.unsigned||this.high>>>31!=1||e.high>>>31!=1)&&this.high===e.high&&this.low===e.low}
19,O.eq=O.equals,O.notEquals=function(e){return!this.eq(e)},O.neq=O.notEquals,O.ne=O.notEquals,O.lessThan=function(e){return 0>this.comp(e)},O.lt=O.lessThan,O.lessThanOrEqual=function(e){return 0>=this.comp(e)},O.lte=O.lessThanOrEqual,O.le=O.lessThanOrEqual,O.greaterThan=function(e){return this.comp(e)>0},O.gt=O.greaterThan,O.greaterThanOrEqual=function(e){return this.comp(e)>=0},O.gte=O.greaterThanOrEqual,O.ge=O.greaterThanOrEqual,O.compare=function(e){if(n(e)||(e=f(e)),this.eq(e))return 0;var t=this.isNegative(),r=e.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?e.high>>>0>this.high>>>0||e.high===this.high&&e.low>>>0>this.low>>>0?-1:1:this.sub(e).isNegative()?-1:1},O.comp=O.compare,O.negate=function(){return!this.unsigned&&this.eq(y)?y:this.not().add(m)},O.neg=O.negate,O.add=function(e){n(e)||(e=f(e));var t,r,i=this.high>>>16,a=65535&this.high,o=this.low>>>16,s=65535&this.low,l=e.high>>>16,u=65535&e.high,d=e.low>>>16,h=65535&e.low,p=0,E=0;return t=0+((r=0+(s+h))>>>16),r&=65535,t+=o+d,E+=t>>>16,t&=65535,E+=a+u,p+=E>>>16,E&=65535,p+=i+l,c(t<<16|r,(p&=65535)<<16|E,this.unsigned)},O.subtract=function(e){return n(e)||(e=f(e)),this.add(e.neg())},O.sub=O.subtract,O.multiply=function(e){if(this.isZero())return this;if(n(e)||(e=f(e)),t)return c(t.mul(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned);if(e.isZero())return this.unsigned?S:g;if(this.eq(y))return e.isOdd()?y:g;if(e.eq(y))return this.isOdd()?y:g;if(this.isNegative())if(e.isNegative())return this.neg().mul(e.neg());else return this.neg().mul(e).neg();if(e.isNegative())return this.mul(e.neg()).neg();if(this.lt(_)&&e.lt(_))return l(this.toNumber()*e.toNumber(),this.unsigned);var r,i,a=this.high>>>16,o=65535&this.high,s=this.low>>>16,u=65535&this.low,d=e.high>>>16,h=65535&e.high,p=e.low>>>16,E=65535&e.low,m=0,A=0;return r=0+((i=0+u*E)>>>16),i&=65535,r+=s*E,A+=r>>>16,r&=65535,r+=u*p,A+=r>>>16,r&=65535,A+=o*E,m+=A>>>16,A&=65535,A+=s*p,m+=A>>>16,A&=65535,A+=u*h,m+=A>>>16,A&=65535,m+=a*E+o*p+s*h+u*d,c(r<<16|i,(m&=65535)<<16|A,this.unsigned)},O.mul=O.multiply,O.divide=function(e){if(n(e)||(e=f(e)),e.isZero())throw Error("division by zero");if(t){var r,i,a;return this.unsigned||-0x80000000!==this.high||-1!==e.low||-1!==e.high?c((this.unsigned?t.div_u:t.div_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this}if(this.isZero())return this.unsigned?S:g;if(this.unsigned){if(e.unsigned||(e=e.toUnsigned()),e.gt(this))return S;if(e.gt(this.shru(1)))return A;a=S}else{if(this.eq(y))if(e.eq(m)||e.eq(v))return y;else return e.eq(y)?m:(r=this.shr(1).div(e).shl(1)).eq(g)?e.isNegative()?m:v:(i=this.sub(e.mul(r)),a=r.add(i.div(e)));if(e.eq(y))return this.unsigned?S:g;if(this.isNegative())return e.isNegative()?this.neg().div(e.neg()):this.neg().div(e).neg();if(e.isNegative())return this.div(e.neg()).neg();a=g}for(i=this;i.gte(e);){for(var o=Math.ceil(Math.log(r=Math.max(1,Math.floor(i.toNumber()/e.toNumber())))/Math.LN2),s=o<=48?1:u(2,o-48),d=l(r),h=d.mul(e);h.isNegative()||h.gt(i);)r-=s,h=(d=l(r,this.unsigned)).mul(e);d.isZero()&&(d=m),a=a.add(d),i=i.sub(h)}return a},O.div=O.divide,O.modulo=function(e){return(n(e)||(e=f(e)),t)?c((this.unsigned?t.rem_u:t.rem_s)(this.low,this.high,e.low,e.high),t.get_high(),this.unsigned):this.sub(this.div(e).mul(e))},O.mod=O.modulo,O.rem=O.modulo,O.not=function(){return c(~this.low,~this.high,this.unsigned)},O.countLeadingZeros=function(){return this.high?Math.clz32(this.high):Math.clz32(this.low)+32},O.clz=O.countLeadingZeros,O.countTrailingZeros=function(){return this.low?i(this.low):i(this.high)+32},O.ctz=O.countTrailingZeros,O.and=function(e){return n(e)||(e=f(e)),c(this.low&e.low,this.high&e.high,this.unsigned)},O.or=function(e){return n(e)||(e=f(e)),c(this.low|e.low,this.high|e.high,this.unsigned)},O.xor=function(e){return n(e)||(e=f(e)),c(this.low^e.low,this.high^e.high,this.unsigned)},O.shiftLeft=function(e){return(n(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?c(this.low<<e,this.high<<e|this.low>>>32-e,this.unsigned):c(0,this.low<<e-32,this.unsigned)},O.shl=O.shiftLeft,O.shiftRight=function(e){return(n(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?c(this.low>>>e|this.high<<32-e,this.high>>e,this.unsigned):c(this.high>>e-32,this.high>=0?0:-1,this.unsigned)},O.shr=O.shiftRight,O.shiftRightUnsigned=function(e){return(n(e)&&(e=e.toInt()),0==(e&=63))?this:e<32?c(this.low>>>e|this.high<<32-e,this.high>>>e,this.unsigned):32===e?c(this.high,0,this.unsigned):c(this.high>>>e-32,0,this.unsigned)},O.shru=O.shiftRightUnsigned,O.shr_u=O.shiftRightUnsigned,O.rotateLeft=function(e){var t;return(n(e)&&(e=e.toInt()),0==(e&=63))?this:32===e?c(this.high,this.low,this.unsigned):e<32?(t=32-e,c(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned)):(e-=32,t=32-e,c(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned))},O.rotl=O.rotateLeft,O.rotateRight=function(e){var t;return(n(e)&&(e=e.toInt()),0==(e&=63))?this:32===e?c(this.high,this.low,this.unsigned):e<32?(t=32-e,c(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned)):(e-=32,t=32-e,c(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned))},O.rotr=O.rotateRight,O.toSigned=function(){return this.unsigned?c(this.low,this.high,!1):this},O.toUnsigned=function(){return this.unsigned?this:c(this.low,this.high,!0)},O.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},O.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},O.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},r.fromBytes=function(e,t,n){return n?r.fromBytesLE(e,t):r.fromBytesBE(e,t)},r.fromBytesLE=function(e,t){return new r(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)},r.fromBytesBE=function(e,t){return new r(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)},"function"==typeof BigInt&&(r.fromBigInt=function(e,t){return c(Number(BigInt.asIntN(32,e)),Number(BigInt.asIntN(32,e>>BigInt(32))),t)},r.fromValue=function(e,t){return"bigint"==typeof e?r.fromBigInt(e,t):f(e,t)},O.toBigInt=function(){var e=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|e}),e.default=r},void 0!==(r=(function(){var e={};return i(e),e.default||e}).apply(t,[]))&&(e.exports=r)},789991:(e,t,r)=>{"use strict";r.d(t,{a:()=>S,b:()=>a,c:()=>o,d:()=>s,e:()=>l,f:()=>c,g:()=>u,h:()=>d,i:()=>f,k:()=>h,l:()=>p,m:()=>E,n:()=>_});var n=r(951402),i=r(640521);function a(e){if((0,n.a)(e)||isNaN(e))return console.error("Unable to insert commas to the number -",e),"";var t=!1;"-"===(e=e.toString()).charAt(0)&&(e=e.substring(1),t=!0);var r="";e.indexOf(".")>0&&(r=e.substring(e.indexOf("."),e.length));var i=(e=(e=Math.floor(e)).toString()).substring(e.length-3),a=e.substring(0,e.length-3);""!==a&&(i=","+i);var o=a.replace(/\B(?=(\d{2})+(?!\d))/g,",")+i+r;return t?"-"+o:o}function o(e){return!isNaN(e)&&/^\d{10}$/.test(e)}function s(e){return parseFloat(e)/100}function l(e){return 100*parseFloat(e)}function c(e){var t=e%10,r=e%100;return 1===t&&11!==r?e+"st":2===t&&12!==r?e+"nd":3===t&&13!==r?e+"rd":e+"th"}function u(e){try{var t=e.toString().split(".");return t[0].replace(/\B(?=(\d{3})+(?!\d))/g,",")+(t[1]?"."+t[1]:"")}catch(t){return console.error("Error in adding commas in millions: ",t),e}}function d(e,t){return Math.floor(Math.random()*(t-e+1))+e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;try{if((0,n.a)(e)||isNaN(e))return console.error("Unable to convert number in lakhs and crores"),e;var r=Math.sign(Number(e)),i=Math.abs(+(Number(e)/1e5));if(isNaN(i))return console.error("NaN error "),e;var a=String(e),o=i*r;return i>=1&&i<=99?a="".concat(o.toFixed(t),"L"):i>=100&&(a="".concat((o/100).toFixed(t),"Cr")),a}catch(t){return console.error("Error in formatting number in lakhs and crore : ",t),e}}function h(e){try{var t=Number(e),r=Math.sign(t);return 1===r?"+":-1===r?"-":""}catch(e){return console.error(e),""}}function p(e,t){try{if(!e)return e;var r=e.toString(),n=r.indexOf(".");return -1===n||t<0?r:r.slice(0,n+(t+1))}catch(t){return console.error("Error in rounding off number ",t),e}}function E(e){return isFinite(e)?Number(e):0}var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=1/t;return Math.round(e*r)/r},g={addCommas:!0,millionCommas:!1,fallback:"NA",toFixedValue:2,formatToLakhCrore:!1,formatToBillionTrillion:!1,decimals:2,isCurrency:!1,currency:i.a.INR,absoluteValue:!1,roundValue:!1,withSign:!1,spaceBetweenSignValue:!1,formatPaisaToRupee:!1,formatRupeeToPaisa:!1,plainNumber:!1};function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
19))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},g,t),o=r.fallback,c=r.toFixedValue,d=r.formatToLakhCrore,p=r.addCommas,E=r.decimals,_=r.isCurrency,S=r.currency,A=r.absoluteValue,v=r.roundValue,b=r.millionCommas,T=r.formatToBillionTrillion,y=r.withSign,O=r.spaceBetweenSignValue,w=r.formatPaisaToRupee,C=r.formatRupeeToPaisa,I=r.plainNumber,R=Number(e);if((0,n.a)(e)||isNaN(R)||!isFinite(R))return y?m("",o,O):o;var N=h(R);R=A||y?Math.abs(R):R,R=v?Math.round(R):R,R=w?s(R):R,R=C?l(R):R;var D=null;if(I&&(D=Number(R)),T&&(D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;try{if((0,n.a)(e)||isNaN(e))return console.error("Unable to convert number in billion trillon Intl format"),e;var r=Number(e),i=["K","M","B","T"],a=r.toLocaleString("en-US"),o=a.split(","),s=o.length;if(s<=1)return e;var l=s-2<i.length?i[s-2]:"";if((0,n.a)(l))return Number(a).toFixed(t);var c=Number(o[0]),u=o[1];if(t<=0)return c+l;var d=u.slice(0,t);return"".concat(c,".").concat(d).concat(l)}catch(t){return console.error("Error in formatting number in billion trillon Intl format : ",t),e}}(R,c)||o),d&&(D=f(R,E)),_&&(D=function(e,t,r){var n=t===i.a.USD?"en-US":"en-IN";try{var o=Intl.NumberFormat(n,{style:"currency",currency:t,minimumFractionDigits:r,maximumFractionDigits:r}).format(e);try{return o.split("").filter(function(e){return e.trim().length>0}).join("")}catch(e){return console.warn(e),o}return}catch(n){console.warn(n);var s=e.toFixed(r);if(t===i.a.INR)return"".concat(i.b.INR).concat(a(s));if(t===i.a.USD)return"".concat(i.b.DOLLAR).concat(u(s))}}(R,S,c)),b&&(D=u(R.toFixed(c))),!(0,n.a)(D))return y?m(N,D,O):D;if(p){var P=a(R.toFixed(c));return y?m(N,P,O):P}var L=Number(R).toFixed(c);return y?m(N,L,O):L}function m(e,t,r){try{return(0,n.a)(e)?t:r?e+" "+t:e+t}catch(e){return console.error(e),t}}},790896:(e,t,r)=>{!function(e){"use strict";var t,n=function(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;t++)r[t]=e[t];return r},i=function(){throw Error("no PRNG")},a=new Uint8Array(16),o=new Uint8Array(32);o[0]=9;var s=n(),l=n([1]),c=n([56129,1]),u=n([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),d=n([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),f=n([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),h=n([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),p=n([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function E(e,t,r,n){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r,e[t+4]=n>>24&255,e[t+5]=n>>16&255,e[t+6]=n>>8&255,e[t+7]=255&n}function _(e,t,r,n,i){var a,o=0;for(a=0;a<i;a++)o|=e[t+a]^r[n+a];return(1&o-1>>>8)-1}function g(e,t,r,n){return _(e,t,r,n,16)}function S(e,t,r,n){return _(e,t,r,n,32)}function m(e,t,r,n){!function(e,t,r,n){for(var i,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,c=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,u=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,E=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,_=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,S=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,m=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,A=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=a,b=o,T=s,y=l,O=c,w=u,C=d,I=f,R=h,N=p,D=E,P=_,L=g,k=S,M=m,F=A,x=0;x<20;x+=2)O^=(i=v+L|0)<<7|i>>>25,R^=(i=O+v|0)<<9|i>>>23,L^=(i=R+O|0)<<13|i>>>19,v^=(i=L+R|0)<<18|i>>>14,N^=(i=w+b|0)<<7|i>>>25,k^=(i=N+w|0)<<9|i>>>23,b^=(i=k+N|0)<<13|i>>>19,w^=(i=b+k|0)<<18|i>>>14,M^=(i=D+C|0)<<7|i>>>25,T^=(i=M+D|0)<<9|i>>>23,C^=(i=T+M|0)<<13|i>>>19,D^=(i=C+T|0)<<18|i>>>14,y^=(i=F+P|0)<<7|i>>>25,I^=(i=y+F|0)<<9|i>>>23,P^=(i=I+y|0)<<13|i>>>19,F^=(i=P+I|0)<<18|i>>>14,b^=(i=v+y|0)<<7|i>>>25,T^=(i=b+v|0)<<9|i>>>23,y^=(i=T+b|0)<<13|i>>>19,v^=(i=y+T|0)<<18|i>>>14,C^=(i=w+O|0)<<7|i>>>25,I^=(i=C+w|0)<<9|i>>>23,O^=(i=I+C|0)<<13|i>>>19,w^=(i=O+I|0)<<18|i>>>14,P^=(i=D+N|0)<<7|i>>>25,R^=(i=P+D|0)<<9|i>>>23,N^=(i=R+P|0)<<13|i>>>19,D^=(i=N+R|0)<<18|i>>>14,L^=(i=F+M|0)<<7|i>>>25,k^=(i=L+F|0)<<9|i>>>23,M^=(i=k+L|0)<<13|i>>>19,F^=(i=M+k|0)<<18|i>>>14;v=v+a|0,b=b+o|0,T=T+s|0,y=y+l|0,O=O+c|0,w=w+u|0,C=C+d|0,I=I+f|0,R=R+h|0,N=N+p|0,D=D+E|0,P=P+_|0,L=L+g|0,k=k+S|0,M=M+m|0,F=F+A|0,e[0]=v>>>0&255,e[1]=v>>>8&255,e[2]=v>>>16&255,e[3]=v>>>24&255,e[4]=b>>>0&255,e[5]=b>>>8&255,e[6]=b>>>16&255,e[7]=b>>>24&255,e[8]=T>>>0&255,e[9]=T>>>8&255,e[10]=T>>>16&255,e[11]=T>>>24&255,e[12]=y>>>0&255,e[13]=y>>>8&255,e[14]=y>>>16&255,e[15]=y>>>24&255,e[16]=O>>>0&255,e[17]=O>>>8&255,e[18]=O>>>16&255,e[19]=O>>>24&255,e[20]=w>>>0&255,e[21]=w>>>8&255,e[22]=w>>>16&255,e[23]=w>>>24&255,e[24]=C>>>0&255,e[25]=C>>>8&255,e[26]=C>>>16&255,e[27]=C>>>24&255,e[28]=I>>>0&255,e[29]=I>>>8&255,e[30]=I>>>16&255,e[31]=I>>>24&255,e[32]=R>>>0&255,e[33]=R>>>8&255,e[34]=R>>>16&255,e[35]=R>>>24&255,e[36]=N>>>0&255,e[37]=N>>>8&255,e[38]=N>>>16&255,e[39]=N>>>24&255,e[40]=D>>>0&255,e[41]=D>>>8&255,e[42]=D>>>16&255,e[43]=D>>>24&255,e[44]=P>>>0&255,e[45]=P>>>8&255,e[46]=P>>>16&255,e[47]=P>>>24&255,e[48]=L>>>0&255,e[49]=L>>>8&255,e[50]=L>>>16&255,e[51]=L>>>24&255,e[52]=k>>>0&255,e[53]=k>>>8&255,e[54]=k>>>16&255,e[55]=k>>>24&255,e[56]=M>>>0&255,e[57]=M>>>8&255,e[58]=M>>>16&255,e[59]=M>>>24&255,e[60]=F>>>0&255,e[61]=F>>>8&255,e[62]=F>>>16&255,e[63]=F>>>24&255}(e,t,r,n)}function A(e,t,r,n){!function(e,t,r,n){for(var i,a=255&n[0]|(255&n[1])<<8|(255&n[2])<<16|(255&n[3])<<24,o=255&r[0]|(255&r[1])<<8|(255&r[2])<<16|(255&r[3])<<24,s=255&r[4]|(255&r[5])<<8|(255&r[6])<<16|(255&r[7])<<24,l=255&r[8]|(255&r[9])<<8|(255&r[10])<<16|(255&r[11])<<24,c=255&r[12]|(255&r[13])<<8|(255&r[14])<<16|(255&r[15])<<24,u=255&n[4]|(255&n[5])<<8|(255&n[6])<<16|(255&n[7])<<24,d=255&t[0]|(255&t[1])<<8|(255&t[2])<<16|(255&t[3])<<24,f=255&t[4]|(255&t[5])<<8|(255&t[6])<<16|(255&t[7])<<24,h=255&t[8]|(255&t[9])<<8|(255&t[10])<<16|(255&t[11])<<24,p=255&t[12]|(255&t[13])<<8|(255&t[14])<<16|(255&t[15])<<24,E=255&n[8]|(255&n[9])<<8|(255&n[10])<<16|(255&n[11])<<24,_=255&r[16]|(255&r[17])<<8|(255&r[18])<<16|(255&r[19])<<24,g=255&r[20]|(255&r[21])<<8|(255&r[22])<<16|(255&r[23])<<24,S=255&r[24]|(255&r[25])<<8|(255&r[26])<<16|(255&r[27])<<24,m=255&r[28]|(255&r[29])<<8|(255&r[30])<<16|(255&r[31])<<24,A=255&n[12]|(255&n[13])<<8|(255&n[14])<<16|(255&n[15])<<24,v=a,b=o,T=s,y=l,O=c,w=u,C=d,I=f,R=h,N=p,D=E,P=_,L=g,k=S,M=m,F=A,x=0;x<20;x+=2)O^=(i=v+L|0)<<7|i>>>25,R^=(i=O+v|0)<<9|i>>>
1923,L^=(i=R+O|0)<<13|i>>>19,v^=(i=L+R|0)<<18|i>>>14,N^=(i=w+b|0)<<7|i>>>25,k^=(i=N+w|0)<<9|i>>>23,b^=(i=k+N|0)<<13|i>>>19,w^=(i=b+k|0)<<18|i>>>14,M^=(i=D+C|0)<<7|i>>>25,T^=(i=M+D|0)<<9|i>>>23,C^=(i=T+M|0)<<13|i>>>19,D^=(i=C+T|0)<<18|i>>>14,y^=(i=F+P|0)<<7|i>>>25,I^=(i=y+F|0)<<9|i>>>23,P^=(i=I+y|0)<<13|i>>>19,F^=(i=P+I|0)<<18|i>>>14,b^=(i=v+y|0)<<7|i>>>25,T^=(i=b+v|0)<<9|i>>>23,y^=(i=T+b|0)<<13|i>>>19,v^=(i=y+T|0)<<18|i>>>14,C^=(i=w+O|0)<<7|i>>>25,I^=(i=C+w|0)<<9|i>>>23,O^=(i=I+C|0)<<13|i>>>19,w^=(i=O+I|0)<<18|i>>>14,P^=(i=D+N|0)<<7|i>>>25,R^=(i=P+D|0)<<9|i>>>23,N^=(i=R+P|0)<<13|i>>>19,D^=(i=N+R|0)<<18|i>>>14,L^=(i=F+M|0)<<7|i>>>25,k^=(i=L+F|0)<<9|i>>>23,M^=(i=k+L|0)<<13|i>>>19,F^=(i=M+k|0)<<18|i>>>14;e[0]=v>>>0&255,e[1]=v>>>8&255,e[2]=v>>>16&255,e[3]=v>>>24&255,e[4]=w>>>0&255,e[5]=w>>>8&255,e[6]=w>>>16&255,e[7]=w>>>24&255,e[8]=D>>>0&255,e[9]=D>>>8&255,e[10]=D>>>16&255,e[11]=D>>>24&255,e[12]=F>>>0&255,e[13]=F>>>8&255,e[14]=F>>>16&255,e[15]=F>>>24&255,e[16]=C>>>0&255,e[17]=C>>>8&255,e[18]=C>>>16&255,e[19]=C>>>24&255,e[20]=I>>>0&255,e[21]=I>>>8&255,e[22]=I>>>16&255,e[23]=I>>>24&255,e[24]=R>>>0&255,e[25]=R>>>8&255,e[26]=R>>>16&255,e[27]=R>>>24&255,e[28]=N>>>0&255,e[29]=N>>>8&255,e[30]=N>>>16&255,e[31]=N>>>24&255}(e,t,r,n)}var v=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function b(e,t,r,n,i,a,o){var s,l,c=new Uint8Array(16),u=new Uint8Array(64);for(l=0;l<16;l++)c[l]=0;for(l=0;l<8;l++)c[l]=a[l];for(;i>=64;){for(m(u,c,o,v),l=0;l<64;l++)e[t+l]=r[n+l]^u[l];for(l=8,s=1;l<16;l++)s=s+(255&c[l])|0,c[l]=255&s,s>>>=8;i-=64,t+=64,n+=64}if(i>0)for(m(u,c,o,v),l=0;l<i;l++)e[t+l]=r[n+l]^u[l];return 0}function T(e,t,r,n,i){var a,o,s=new Uint8Array(16),l=new Uint8Array(64);for(o=0;o<16;o++)s[o]=0;for(o=0;o<8;o++)s[o]=n[o];for(;r>=64;){for(m(l,s,i,v),o=0;o<64;o++)e[t+o]=l[o];for(o=8,a=1;o<16;o++)a=a+(255&s[o])|0,s[o]=255&a,a>>>=8;r-=64,t+=64}if(r>0)for(m(l,s,i,v),o=0;o<r;o++)e[t+o]=l[o];return 0}function y(e,t,r,n,i){var a=new Uint8Array(32);A(a,n,i,v);for(var o=new Uint8Array(8),s=0;s<8;s++)o[s]=n[s+16];return T(e,t,r,o,a)}function O(e,t,r,n,i,a,o){var s=new Uint8Array(32);A(s,a,o,v);for(var l=new Uint8Array(8),c=0;c<8;c++)l[c]=a[c+16];return b(e,t,r,n,i,l,s)}var w=function(e){var t,r,n,i,a,o,s,l;this.buffer=new Uint8Array(16),this.r=new Uint16Array(10),this.h=new Uint16Array(10),this.pad=new Uint16Array(8),this.leftover=0,this.fin=0,t=255&e[0]|(255&e[1])<<8,this.r[0]=8191&t,r=255&e[2]|(255&e[3])<<8,this.r[1]=(t>>>13|r<<3)&8191,n=255&e[4]|(255&e[5])<<8,this.r[2]=(r>>>10|n<<6)&7939,i=255&e[6]|(255&e[7])<<8,this.r[3]=(n>>>7|i<<9)&8191,a=255&e[8]|(255&e[9])<<8,this.r[4]=(i>>>4|a<<12)&255,this.r[5]=a>>>1&8190,o=255&e[10]|(255&e[11])<<8,this.r[6]=(a>>>14|o<<2)&8191,s=255&e[12]|(255&e[13])<<8,this.r[7]=(o>>>11|s<<5)&8065,l=255&e[14]|(255&e[15])<<8,this.r[8]=(s>>>8|l<<8)&8191,this.r[9]=l>>>5&127,this.pad[0]=255&e[16]|(255&e[17])<<8,this.pad[1]=255&e[18]|(255&e[19])<<8,this.pad[2]=255&e[20]|(255&e[21])<<8,this.pad[3]=255&e[22]|(255&e[23])<<8,this.pad[4]=255&e[24]|(255&e[25])<<8,this.pad[5]=255&e[26]|(255&e[27])<<8,this.pad[6]=255&e[28]|(255&e[29])<<8,this.pad[7]=255&e[30]|(255&e[31])<<8};function C(e,t,r,n,i,a){var o=new w(a);return o.update(r,n,i),o.finish(e,t),0}function I(e,t,r,n,i,a){var o=new Uint8Array(16);return C(o,0,r,n,i,a),g(e,t,o,0)}function R(e,t,r,n,i){var a;if(r<32)return -1;for(O(e,0,t,0,r,n,i),C(e,16,e,32,r-32,e),a=0;a<16;a++)e[a]=0;return 0}function N(e,t,r,n,i){var a,o=new Uint8Array(32);if(r<32||(y(o,0,32,n,i),0!==I(t,16,t,32,r-32,o)))return -1;for(O(e,0,t,0,r,n,i),a=0;a<32;a++)e[a]=0;return 0}function D(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function P(e){var t,r,n=1;for(t=0;t<16;t++)n=Math.floor((r=e[t]+n+65535)/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function L(e,t,r){for(var n,i=~(r-1),a=0;a<16;a++)n=i&(e[a]^t[a]),e[a]^=n,t[a]^=n}function k(e,t){var r,i,a,o=n(),s=n();for(r=0;r<16;r++)s[r]=t[r];for(P(s),P(s),P(s),i=0;i<2;i++){for(r=1,o[0]=s[0]-65517;r<15;r++)o[r]=s[r]-65535-(o[r-1]>>16&1),o[r-1]&=65535;o[15]=s[15]-32767-(o[14]>>16&1),a=o[15]>>16&1,o[14]&=65535,L(s,o,1-a)}for(r=0;r<16;r++)e[2*r]=255&s[r],e[2*r+1]=s[r]>>8}
19function M(e,t){var r=new Uint8Array(32),n=new Uint8Array(32);return k(r,e),k(n,t),S(r,0,n,0)}function F(e){var t=new Uint8Array(32);return k(t,e),1&t[0]}function x(e,t){var r;for(r=0;r<16;r++)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}function U(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]+r[n]}function B(e,t,r){for(var n=0;n<16;n++)e[n]=t[n]-r[n]}function H(e,t,r){var n,i,a=0,o=0,s=0,l=0,c=0,u=0,d=0,f=0,h=0,p=0,E=0,_=0,g=0,S=0,m=0,A=0,v=0,b=0,T=0,y=0,O=0,w=0,C=0,I=0,R=0,N=0,D=0,P=0,L=0,k=0,M=0,F=r[0],x=r[1],U=r[2],B=r[3],H=r[4],G=r[5],j=r[6],V=r[7],K=r[8],W=r[9],Y=r[10],q=r[11],z=r[12],X=r[13],$=r[14],Q=r[15];a+=(n=t[0])*F,o+=n*x,s+=n*U,l+=n*B,c+=n*H,u+=n*G,d+=n*j,f+=n*V,h+=n*K,p+=n*W,E+=n*Y,_+=n*q,g+=n*z,S+=n*X,m+=n*$,A+=n*Q,o+=(n=t[1])*F,s+=n*x,l+=n*U,c+=n*B,u+=n*H,d+=n*G,f+=n*j,h+=n*V,p+=n*K,E+=n*W,_+=n*Y,g+=n*q,S+=n*z,m+=n*X,A+=n*$,v+=n*Q,s+=(n=t[2])*F,l+=n*x,c+=n*U,u+=n*B,d+=n*H,f+=n*G,h+=n*j,p+=n*V,E+=n*K,_+=n*W,g+=n*Y,S+=n*q,m+=n*z,A+=n*X,v+=n*$,b+=n*Q,l+=(n=t[3])*F,c+=n*x,u+=n*U,d+=n*B,f+=n*H,h+=n*G,p+=n*j,E+=n*V,_+=n*K,g+=n*W,S+=n*Y,m+=n*q,A+=n*z,v+=n*X,b+=n*$,T+=n*Q,c+=(n=t[4])*F,u+=n*x,d+=n*U,f+=n*B,h+=n*H,p+=n*G,E+=n*j,_+=n*V,g+=n*K,S+=n*W,m+=n*Y,A+=n*q,v+=n*z,b+=n*X,T+=n*$,y+=n*Q,u+=(n=t[5])*F,d+=n*x,f+=n*U,h+=n*B,p+=n*H,E+=n*G,_+=n*j,g+=n*V,S+=n*K,m+=n*W,A+=n*Y,v+=n*q,b+=n*z,T+=n*X,y+=n*$,O+=n*Q,d+=(n=t[6])*F,f+=n*x,h+=n*U,p+=n*B,E+=n*H,_+=n*G,g+=n*j,S+=n*V,m+=n*K,A+=n*W,v+=n*Y,b+=n*q,T+=n*z,y+=n*X,O+=n*$,w+=n*Q,f+=(n=t[7])*F,h+=n*x,p+=n*U,E+=n*B,_+=n*H,g+=n*G,S+=n*j,m+=n*V,A+=n*K,v+=n*W,b+=n*Y,T+=n*q,y+=n*z,O+=n*X,w+=n*$,C+=n*Q,h+=(n=t[8])*F,p+=n*x,E+=n*U,_+=n*B,g+=n*H,S+=n*G,m+=n*j,A+=n*V,v+=n*K,b+=n*W,T+=n*Y,y+=n*q,O+=n*z,w+=n*X,C+=n*$,I+=n*Q,p+=(n=t[9])*F,E+=n*x,_+=n*U,g+=n*B,S+=n*H,m+=n*G,A+=n*j,v+=n*V,b+=n*K,T+=n*W,y+=n*Y,O+=n*q,w+=n*z,C+=n*X,I+=n*$,R+=n*Q,E+=(n=t[10])*F,_+=n*x,g+=n*U,S+=n*B,m+=n*H,A+=n*G,v+=n*j,b+=n*V,T+=n*K,y+=n*W,O+=n*Y,w+=n*q,C+=n*z,I+=n*X,R+=n*$,N+=n*Q,_+=(n=t[11])*F,g+=n*x,S+=n*U,m+=n*B,A+=n*H,v+=n*G,b+=n*j,T+=n*V,y+=n*K,O+=n*W,w+=n*Y,C+=n*q,I+=n*z,R+=n*X,N+=n*$,D+=n*Q,g+=(n=t[12])*F,S+=n*x,m+=n*U,A+=n*B,v+=n*H,b+=n*G,T+=n*j,y+=n*V,O+=n*K,w+=n*W,C+=n*Y,I+=n*q,R+=n*z,N+=n*X,D+=n*$,P+=n*Q,S+=(n=t[13])*F,m+=n*x,A+=n*U,v+=n*B,b+=n*H,T+=n*G,y+=n*j,O+=n*V,w+=n*K,C+=n*W,I+=n*Y,R+=n*q,N+=n*z,D+=n*X,P+=n*$,L+=n*Q,m+=(n=t[14])*F,A+=n*x,v+=n*U,b+=n*B,T+=n*H,y+=n*G,O+=n*j,w+=n*V,C+=n*K,I+=n*W,R+=n*Y,N+=n*q,D+=n*z,P+=n*X,L+=n*$,k+=n*Q,A+=(n=t[15])*F,v+=n*x,b+=n*U,T+=n*B,y+=n*H,O+=n*G,w+=n*j,C+=n*V,I+=n*K,R+=n*W,N+=n*Y,D+=n*q,P+=n*z,L+=n*X,k+=n*$,M+=n*Q,a+=38*v,o+=38*b,s+=38*T,l+=38*y,c+=38*O,u+=38*w,d+=38*C,f+=38*I,h+=38*R,p+=38*N,E+=38*D,_+=38*P,g+=38*L,S+=38*k,m+=38*M,i=Math.floor((n=a+(i=1)+65535)/65536),a=n-65536*i,i=Math.floor((n=o+i+65535)/65536),o=n-65536*i,i=Math.floor((n=s+i+65535)/65536),s=n-65536*i,i=Math.floor((n=l+i+65535)/65536),l=n-65536*i,i=Math.floor((n=c+i+65535)/65536),c=n-65536*i,i=Math.floor((n=u+i+65535)/65536),u=n-65536*i,i=Math.floor((n=d+i+65535)/65536),d=n-65536*i,i=Math.floor((n=f+i+65535)/65536),f=n-65536*i,i=Math.floor((n=h+i+65535)/65536),h=n-65536*i,i=Math.floor((n=p+i+65535)/65536),p=n-65536*i,i=Math.floor((n=E+i+65535)/65536),E=n-65536*i,i=Math.floor((n=_+i+65535)/65536),_=n-65536*i,i=Math.floor((n=g+i+65535)/65536),g=n-65536*i,i=Math.floor((n=S+i+65535)/65536),S=n-65536*i,i=Math.floor((n=m+i+65535)/65536),m=n-65536*i,i=Math.floor((n=A+i+65535)/65536),A=n-65536*i,a+=i-1+37*(i-1),i=Math.floor((n=a+(i=1)+65535)/65536),a=n-65536*i,i=Math.floor((n=o+i+65535)/65536),o=n-65536*i,i=Math.floor((n=s+i+65535)/65536),s=n-65536*i,i=Math.floor((n=l+i+65535)/65536),l=n-65536*i,i=Math.floor((n=c+i+65535)/65536),c=n-65536*i,i=Math.floor((n=u+i+65535)/65536),u=n-65536*i,i=Math.floor((n=d+i+65535)/65536),d=n-65536*i,i=Math.floor((n=f+i+65535)/65536),f=n-65536*i,i=Math.floor((n=h+i+65535)/65536),h=n-65536*i,i=Math.floor((n=p+i+65535)/65536),p=n-65536*i,i=Math.floor((n=E+i+65535)/65536),E=n-65536*i,i=Math.floor((n=_+i+65535)/65536),_=n-65536*i,i=Math.floor((n=g+i+65535)/65536),g=n-65536*i,i=Math.floor((n=S+i+65535)/65536),S=n-65536*i,i=Math.floor((n=m+i+65535)/65536),m=n-65536*i,i=Math.floor((n=A+i+65535)/65536),A=n-65536*i,a+=i-1+37*(i-1),e[0]=a,e[1]=o,e[2]=s,e[3]=l,e[4]=c,e[5]=u,e[6]=d,e[7]=f,e[8]=h,e[9]=p,e[10]=E,e[11]=_,e[12]=g,e[13]=S,e[14]=m,e[15]=A}function G(e,t){H(e,t,t)}function j(e,t){var r,i=n();for(r=0;r<16;r++)i[r]=t[r];for(r=253;r>=0;r--)G(i,i),2!==r&&4!==r&&H(i,i,t);for(r=0;r<16;r++)e[r]=i[r]}function V(e,t){var r,i=n();for(r=0;r<16;r++)i[r]=t[r];for(r=250;r>=0;r--)G(i,i),1!==r&&H(i,i,t);for(r=0;r<16;r++)e[r]=i[r]}function K(e,t,r){var i,a,o=new Uint8Array(32),s=new Float64Array(80),l=n(),u=n(),d=n(),f=n(),h=n(),p=n();for(a=0;a<31;a++)o[a]=t[a];for(o[31]=127&t[31]|64,o[0]&=248,x(s,r),a=0;a<16;a++)u[a]=s[a],f[a]=l[a]=d[a]=0;for(a=254,l[0]=f[0]=1;a>=0;--a)L(l,u,i=o[a>>>3]>>>(7&a)&1),L(d,f,i),U(h,l,d),B(l,l,d),U(d,u,f),B(u,u,f),G(f,h),G(p,l),H(l,d,l),H(d,u,h),U(h,l,d),B(l,l,d),G(u,l),B(d,f,p),H(l,d,c),U(l,l,f),H(d,d,l),H(l,f,p),H(f,u,s),G(u,h),L(l,u,i),L(d,f,i);for(a=0;a<16;a++)s[a+16]=l[a],s[a+32]=d[a],s[a+48]=u[a],s[a+64]=f[a];var E=s.subarray(32),_=s.subarray(16);return j(E,E),H(_,_,E),k(e,_),0}function W(e,t){return K(e,t,o)}function Y(e,t){return i(t,32),W(e,t)}function q(e,t,r){var n=new Uint8Array(32);return K(n,r,t),A(e,a,n,v)}w.prototype.blocks=function(e,t,r){for(var n,i,a,o,s,l,c,u,d,f,h,p,E,_,g,S,m,A,v,b=2048*!this.fin,T=this.h[0],y=this.h[1],O=this.h[2],w=this.h[3],C=this.h[4],I=this.h[5],R=this.h[6],N=this.h[7],D=this.h[8],P=this.h[9],L=this.r[0],k=this.r[1],M=this.r[2],F=this.r[3],x=this.r[4],U=this.r[5],B=this.r[6],H=this.r[7],G=this.r[8],j=this.r[9];r>=16;)T+=8191&(n=255&e[t+0]|(255&e[t+1])<<8),y+=(n>>>13|(i=255&e[t+2]|(255&e[t+3])<<8)<<3)&8191,O+=(i>>>10|(a=255&e[t+4]|(255&e[t+5])<<8)<<6)&8191,w+=(a>>>7|(o=255&e[t+6]|(255&e[t+7])<<8)<<9)&8191,C+=(o>>>4|(s=255&e[t+8]|(255&e[t+9])<<8)<<12)&8191,I+=s>>>1&8191,R+=(s>>>14|(l=255&e[t+10]|(255&e[t+11])<<8)<<2)&8191,N+=(l>>>11|(c=255&e[t+12]|(255&e[t+13])<<8)<<5)&8191,D+=(c>>>8|(u=255&e[t+14]|(255&e[t+15])<<8)<<8)&8191,P+=u>>>5|b,d=(f=(d=0)+T*L+5*j*y+5*G*O+5*H*w+5*B*C)>>>
1913,f&=8191,f+=5*U*I,f+=5*x*R,f+=5*F*N,f+=5*M*D,f+=5*k*P,d+=f>>>13,f&=8191,d=(h=d+T*k+y*L+5*j*O+5*G*w+5*H*C)>>>13,h&=8191,h+=5*B*I,h+=5*U*R,h+=5*x*N,h+=5*F*D,h+=5*M*P,d+=h>>>13,h&=8191,d=(p=d+T*M+y*k+O*L+5*j*w+5*G*C)>>>13,p&=8191,p+=5*H*I,p+=5*B*R,p+=5*U*N,p+=5*x*D,p+=5*F*P,d+=p>>>13,p&=8191,d=(E=d+T*F+y*M+O*k+w*L+5*j*C)>>>13,E&=8191,E+=5*G*I,E+=5*H*R,E+=5*B*N,E+=5*U*D,E+=5*x*P,d+=E>>>13,E&=8191,d=(_=d+T*x+y*F+O*M+w*k+C*L)>>>13,_&=8191,_+=5*j*I,_+=5*G*R,_+=5*H*N,_+=5*B*D,_+=5*U*P,d+=_>>>13,_&=8191,d=(g=d+T*U+y*x+O*F+w*M+C*k)>>>13,g&=8191,g+=I*L,g+=5*j*R,g+=5*G*N,g+=5*H*D,g+=5*B*P,d+=g>>>13,g&=8191,d=(S=d+T*B+y*U+O*x+w*F+C*M)>>>13,S&=8191,S+=I*k,S+=R*L,S+=5*j*N,S+=5*G*D,S+=5*H*P,d+=S>>>13,S&=8191,d=(m=d+T*H+y*B+O*U+w*x+C*F)>>>13,m&=8191,m+=I*M,m+=R*k,m+=N*L,m+=5*j*D,m+=5*G*P,d+=m>>>13,m&=8191,d=(A=d+T*G+y*H+O*B+w*U+C*x)>>>13,A&=8191,A+=I*F,A+=R*M,A+=N*k,A+=D*L,A+=5*j*P,d+=A>>>13,A&=8191,d=(v=d+T*j+y*G+O*H+w*B+C*U)>>>13,v&=8191,v+=I*x,v+=R*F,v+=N*M,v+=D*k,v+=P*L,d+=v>>>13,v&=8191,f=8191&(d=(d=(d<<2)+d|0)+f|0),d>>>=13,h+=d,T=f,y=h,O=p,w=E,C=_,I=g,R=S,N=m,D=A,P=v,t+=16,r-=16;this.h[0]=T,this.h[1]=y,this.h[2]=O,this.h[3]=w,this.h[4]=C,this.h[5]=I,this.h[6]=R,this.h[7]=N,this.h[8]=D,this.h[9]=P},w.prototype.finish=function(e,t){var r,n,i,a,o=new Uint16Array(10);if(this.leftover){for(a=this.leftover,this.buffer[a++]=1;a<16;a++)this.buffer[a]=0;this.fin=1,this.blocks(this.buffer,0,16)}for(r=this.h[1]>>>13,this.h[1]&=8191,a=2;a<10;a++)this.h[a]+=r,r=this.h[a]>>>13,this.h[a]&=8191;for(this.h[0]+=5*r,r=this.h[0]>>>13,this.h[0]&=8191,this.h[1]+=r,r=this.h[1]>>>13,this.h[1]&=8191,this.h[2]+=r,o[0]=this.h[0]+5,r=o[0]>>>13,o[0]&=8191,a=1;a<10;a++)o[a]=this.h[a]+r,r=o[a]>>>13,o[a]&=8191;for(o[9]-=8192,n=(1^r)-1,a=0;a<10;a++)o[a]&=n;for(a=0,n=~n;a<10;a++)this.h[a]=this.h[a]&n|o[a];for(a=1,this.h[0]=(this.h[0]|this.h[1]<<13)&65535,this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535,this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535,this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535,this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535,this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535,this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535,this.h[7]=(this.h[8]>
19>>8|this.h[9]<<5)&65535,i=this.h[0]+this.pad[0],this.h[0]=65535&i;a<8;a++)i=(this.h[a]+this.pad[a]|0)+(i>>>16)|0,this.h[a]=65535&i;e[t+0]=this.h[0]>>>0&255,e[t+1]=this.h[0]>>>8&255,e[t+2]=this.h[1]>>>0&255,e[t+3]=this.h[1]>>>8&255,e[t+4]=this.h[2]>>>0&255,e[t+5]=this.h[2]>>>8&255,e[t+6]=this.h[3]>>>0&255,e[t+7]=this.h[3]>>>8&255,e[t+8]=this.h[4]>>>0&255,e[t+9]=this.h[4]>>>8&255,e[t+10]=this.h[5]>>>0&255,e[t+11]=this.h[5]>>>8&255,e[t+12]=this.h[6]>>>0&255,e[t+13]=this.h[6]>>>8&255,e[t+14]=this.h[7]>>>0&255,e[t+15]=this.h[7]>>>8&255},w.prototype.update=function(e,t,r){var n,i;if(this.leftover){for((i=16-this.leftover)>r&&(i=r),n=0;n<i;n++)this.buffer[this.leftover+n]=e[t+n];if(r-=i,t+=i,this.leftover+=i,this.leftover<16)return;this.blocks(this.buffer,0,16),this.leftover=0}if(r>=16&&(i=r-r%16,this.blocks(e,t,i),t+=i,r-=i),r){for(n=0;n<r;n++)this.buffer[this.leftover+n]=e[t+n];this.leftover+=r}};var z=[0x428a2f98,0xd728ae22,0x71374491,0x23ef65cd,0xb5c0fbcf,0xec4d3b2f,0xe9b5dba5,0x8189dbbc,0x3956c25b,0xf348b538,0x59f111f1,0xb605d019,0x923f82a4,0xaf194f9b,0xab1c5ed5,0xda6d8118,0xd807aa98,0xa3030242,0x12835b01,0x45706fbe,0x243185be,0x4ee4b28c,0x550c7dc3,0xd5ffb4e2,0x72be5d74,0xf27b896f,0x80deb1fe,0x3b1696b1,0x9bdc06a7,0x25c71235,0xc19bf174,0xcf692694,0xe49b69c1,0x9ef14ad2,0xefbe4786,0x384f25e3,0xfc19dc6,0x8b8cd5b5,0x240ca1cc,0x77ac9c65,0x2de92c6f,0x592b0275,0x4a7484aa,0x6ea6e483,0x5cb0a9dc,0xbd41fbd4,0x76f988da,0x831153b5,0x983e5152,0xee66dfab,0xa831c66d,0x2db43210,0xb00327c8,0x98fb213f,0xbf597fc7,0xbeef0ee4,0xc6e00bf3,0x3da88fc2,0xd5a79147,0x930aa725,0x6ca6351,0xe003826f,0x14292967,0xa0e6e70,0x27b70a85,0x46d22ffc,0x2e1b2138,0x5c26c926,0x4d2c6dfc,0x5ac42aed,0x53380d13,0x9d95b3df,0x650a7354,0x8baf63de,0x766a0abb,0x3c77b2a8,0x81c2c92e,0x47edaee6,0x92722c85,0x1482353b,0xa2bfe8a1,0x4cf10364,0xa81a664b,0xbc423001,0xc24b8b70,0xd0f89791,0xc76c51a3,0x654be30,0xd192e819,0xd6ef5218,0xd6990624,0x5565a910,0xf40e3585,0x5771202a,0x106aa070,0x32bbd1b8,0x19a4c116,0xb8d2d0c8,0x1e376c08,0x5141ab53,0x2748774c,0xdf8eeb99,0x34b0bcb5,0xe19b48a8,0x391c0cb3,0xc5c95a63,0x4ed8aa4a,0xe3418acb,0x5b9cca4f,0x7763e373,0x682e6ff3,0xd6b2b8a3,0x748f82ee,0x5defb2fc,0x78a5636f,0x43172f60,0x84c87814,0xa1f0ab72,0x8cc70208,0x1a6439ec,0x90befffa,0x23631e28,0xa4506ceb,0xde82bde9,0xbef9a3f7,0xb2c67915,0xc67178f2,0xe372532b,0xca273ece,0xea26619c,0xd186b8c7,0x21c0c207,0xeada7dd6,0xcde0eb1e,0xf57d4f7f,0xee6ed178,0x6f067aa,0x72176fba,0xa637dc5,0xa2c898a6,0x113f9804,0xbef90dae,0x1b710b35,0x131c471b,0x28db77f5,0x23047d84,0x32caab7b,0x40c72493,0x3c9ebe0a,0x15c9bebc,0x431d67c4,0x9c100d4c,0x4cc5d4be,0xcb3e42b6,0x597f299c,0xfc657e2a,0x5fcb6fab,0x3ad6faec,0x6c44198c,0x4a475817];function X(e,t,r,n){for(var i,a,o,s,l,c,u,d,f,h,p,E,_,g,S,m,A,v,b,T,y,O,w,C,I,R,N=new Int32Array(16),D=new Int32Array(16),P=e[0],L=e[1],k=e[2],M=e[3],F=e[4],x=e[5],U=e[6],B=e[7],H=t[0],G=t[1],j=t[2],V=t[3],K=t[4],W=t[5],Y=t[6],q=t[7],X=0;n>=128;){for(b=0;b<16;b++)T=8*b+X,N[b]=r[T+0]<<24|r[T+1]<<16|r[T+2]<<8|r[T+3],D[b]=r[T+4]<<24|r[T+5]<<16|r[T+6]<<8|r[T+7];for(b=0;b<80;b++)if(i=P,a=L,o=k,s=M,l=F,c=x,u=U,d=B,f=H,h=G,p=j,E=V,_=K,g=W,S=Y,m=q,y=B,w=65535&(O=q),C=O>>>16,I=65535&y,R=y>>>16,y=(F>>>14|K<<18)^(F>>>18|K<<14)^(K>>>9|F<<23),w+=65535&(O=(K>>>14|F<<18)^(K>>>18|F<<14)^(F>>>9|K<<23)),C+=O>>>16,I+=65535&y,R+=y>>>16,y=F&x^~F&U,w+=65535&(O=K&W^~K&Y),C+=O>>>16,I+=65535&y,R+=y>>>16,y=z[2*b],w+=65535&(O=z[2*b+1]),C+=O>>>16,I+=65535&y,R+=y>>>16,y=N[b%16],w+=65535&(O=D[b%16]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,A=65535&I|R<<16,v=65535&w|C<<16,y=A,w=65535&(O=v),C=O>>>16,I=65535&y,R=y>>>16,y=(P>>>28|H<<4)^(H>>>2|P<<30)^(H>>>7|P<<25),w+=65535&(O=(H>>>28|P<<4)^(P>>>2|H<<30)^(P>>>7|H<<25)),C+=O>>>16,I+=65535&y,R+=y>>>16,y=P&L^P&k^L&k,w+=65535&(O=H&G^H&j^G&j),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,d=65535&I|R<<16,m=65535&w|C<<16,y=s,w=65535&(O=E),C=O>>>16,I=65535&y,R=y>>>16,y=A,w+=65535&(O=v),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,s=65535&I|R<<16,E=65535&w|C<<16,L=i,k=a,M=o,F=s,x=l,U=c,B=u,P=d,G=f,j=h,V=p,K=E,W=_,Y=g,q=S,H=m,b%16==15)for(T=0;T<16;T++)y=N[T],w=65535&(O=D[T]),C=O>>>16,I=65535&y,R=y>>>16,y=N[(T+9)%16],w+=65535&(O=D[(T+9)%16]),C+=O>>>16,I+=65535&y,R+=y>>>16,y=((A=N[(T+1)%16])>>>1|(v=D[(T+1)%16])<<31)^(A>>>8|v<<24)^A>>>7,w+=65535&(O=(v>>>1|A<<31)^(v>>>8|A<<24)^(v>>>7|A<<25)),C+=O>>>16,I+=65535&y,R+=y>>>16,y=((A=N[(T+14)%16])>>>19|(v=D[(T+14)%16])<<13)^(v>>>29|A<<3)^A>>>6,w+=65535&(O=(v>>>19|A<<13)^(A>>>29|v<<3)^(v>>>6|A<<26)),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,N[T]=65535&I|R<<16,D[T]=65535&w|C<<16;y=P,w=65535&(O=H),C=O>>>16,I=65535&y,R=y>>>16,y=e[0],w+=65535&(O=t[0]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[0]=P=65535&I|R<<16,t[0]=H=65535&w|C<<16,y=L,w=65535&(O=G),C=O>>>16,I=65535&y,R=y>>>16,y=e[1],w+=65535&(O=t[1]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[1]=L=65535&I|R<<16,t[1]=G=65535&w|C<<16,y=k,w=65535&(O=j),C=O>>>16,I=65535&y,R=y>>>16,y=e[2],w+=65535&(O=t[2]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[2]=k=65535&I|R<<16,t[2]=j=65535&w|C<<16,y=M,w=65535&(O=V),C=O>>>16,I=65535&y,R=y>>>16,y=e[3],w+=65535&(O=t[3]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[3]=M=65535&I|R<<16,t[3]=V=65535&w|C<<16,y=F,w=65535&(O=K),C=O>>>16,I=65535&y,R=y>>>16,y=e[4],w+=65535&(O=t[4]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[4]=F=65535&I|R<<16,t[4]=K=65535&w|C<<16,y=x,w=65535&(O=W),C=O>>>16,I=65535&y,R=y>>>16,y=e[5],w+=65535&(O=t[5]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[5]=x=65535&I|R<<16,t[5]=W=65535&w|C<<16,y=U,w=65535&(O=Y),C=O>>>16,I=65535&y,R=y>>>16,y=e[6],w+=65535&(O=t[6]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[6]=U=65535&I|R<<16,t[6]=Y=65535&w|C<<16,y=B,w=65535&(O=q),C=O>>>16,I=65535&y,R=y>>>16,y=e[7],w+=65535&(O=t[7]),C+=O>>>16,I+=65535&y,R+=y>>>16,C+=w>>>16,I+=C>>>16,R+=I>>>16,e[7]=B=65535&I|R<<16,t[7]=q=65535&w|C<<16,X+=128,n-=128}return n}function $(e,t,r){var n,i=new Int32Array(8),a=new Int32Array(8),o=new Uint8Array(256),s=r;
19for(i[0]=0x6a09e667,i[1]=0xbb67ae85,i[2]=0x3c6ef372,i[3]=0xa54ff53a,i[4]=0x510e527f,i[5]=0x9b05688c,i[6]=0x1f83d9ab,i[7]=0x5be0cd19,a[0]=0xf3bcc908,a[1]=0x84caa73b,a[2]=0xfe94f82b,a[3]=0x5f1d36f1,a[4]=0xade682d1,a[5]=0x2b3e6c1f,a[6]=0xfb41bd6b,a[7]=0x137e2179,X(i,a,t,r),r%=128,n=0;n<r;n++)o[n]=t[s-r+n];for(o[r]=128,o[(r=256-128*+(r<112))-9]=0,E(o,r-8,s/0x20000000|0,s<<3),X(i,a,o,r),n=0;n<8;n++)E(e,8*n,i[n],a[n]);return 0}function Q(e,t){var r=n(),i=n(),a=n(),o=n(),s=n(),l=n(),c=n(),u=n(),f=n();B(r,e[1],e[0]),B(f,t[1],t[0]),H(r,r,f),U(i,e[0],e[1]),U(f,t[0],t[1]),H(i,i,f),H(a,e[3],t[3]),H(a,a,d),H(o,e[2],t[2]),U(o,o,o),B(s,i,r),B(l,o,a),U(c,o,a),U(u,i,r),H(e[0],s,l),H(e[1],u,c),H(e[2],c,l),H(e[3],s,u)}function J(e,t,r){var n;for(n=0;n<4;n++)L(e[n],t[n],r)}function Z(e,t){var r=n(),i=n(),a=n();j(a,t[2]),H(r,t[0],a),H(i,t[1],a),k(e,i),e[31]^=F(r)<<7}function ee(e,t,r){var n,i;for(D(e[0],s),D(e[1],l),D(e[2],l),D(e[3],s),i=255;i>=0;--i)J(e,t,n=r[i/8|0]>>(7&i)&1),Q(t,e),Q(e,e),J(e,t,n)}function et(e,t){var r=[n(),n(),n(),n()];D(r[0],f),D(r[1],h),D(r[2],l),H(r[3],f,h),ee(e,r,t)}function er(e,t,r){var a,o=new Uint8Array(64),s=[n(),n(),n(),n()];for(r||i(t,32),$(o,t,32),o[0]&=248,o[31]&=127,o[31]|=64,et(s,o),Z(e,s),a=0;a<32;a++)t[a+32]=e[a];return 0}var en=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function ei(e,t){var r,n,i,a;for(n=63;n>=32;--n){for(r=0,i=n-32,a=n-12;i<a;++i)t[i]+=r-16*t[n]*en[i-(n-32)],r=Math.floor((t[i]+128)/256),t[i]-=256*r;t[i]+=r,t[n]=0}for(i=0,r=0;i<32;i++)t[i]+=r-(t[31]>>4)*en[i],r=t[i]>>8,t[i]&=255;for(i=0;i<32;i++)t[i]-=r*en[i];for(n=0;n<32;n++)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function ea(e){var t,r=new Float64Array(64);for(t=0;t<64;t++)r[t]=e[t];for(t=0;t<64;t++)e[t]=0;ei(e,r)}function eo(e,t,r,i){var a,o,s=new Uint8Array(64),l=new Uint8Array(64),c=new Uint8Array(64),u=new Float64Array(64),d=[n(),n(),n(),n()];for($(s,i,32),s[0]&=248,s[31]&=127,s[31]|=64,a=0;a<r;a++)e[64+a]=t[a];for(a=0;a<32;a++)e[32+a]=s[32+a];for($(c,e.subarray(32),r+32),ea(c),et(d,c),Z(e,d),a=32;a<64;a++)e[a]=i[a];for($(l,e,r+64),ea(l),a=0;a<64;a++)u[a]=0;for(a=0;a<32;a++)u[a]=c[a];for(a=0;a<32;a++)for(o=0;o<32;o++)u[a+o]+=l[a]*s[o];return ei(e.subarray(32),u),r+64}function es(e,t,r,i){var a,o,c,d,f,h,E,_,g=new Uint8Array(32),m=new Uint8Array(64),A=[n(),n(),n(),n()],v=[n(),n(),n(),n()];if(r<64||(a=n(),o=n(),c=n(),d=n(),f=n(),h=n(),E=n(),(D(v[2],l),x(v[1],i),G(c,v[1]),H(d,c,u),B(c,c,v[2]),U(d,v[2],d),G(f,d),G(h,f),H(E,h,f),H(a,E,c),H(a,a,d),V(a,a),H(a,a,c),H(a,a,d),H(a,a,d),H(v[0],a,d),G(o,v[0]),H(o,o,d),M(o,c)&&H(v[0],v[0],p),G(o,v[0]),H(o,o,d),M(o,c))?-1:(F(v[0])===i[31]>>7&&B(v[0],s,v[0]),H(v[3],v[0],v[1]),0)))return -1;for(_=0;_<r;_++)e[_]=t[_];for(_=0;_<32;_++)e[_+32]=i[_];if($(m,e,r),ea(m),ee(A,v,m),et(v,t.subarray(32)),Q(A,v),Z(g,A),r-=64,S(t,0,g,0)){for(_=0;_<r;_++)e[_]=0;return -1}for(_=0;_<r;_++)e[_]=t[_+64];return r}function el(e,t){if(32!==e.length)throw Error("bad key size");if(24!==t.length)throw Error("bad nonce size")}function ec(){for(var e=0;e<arguments.length;e++)if(!(arguments[e]instanceof Uint8Array))throw TypeError("unexpected type, use Uint8Array")}function eu(e){for(var t=0;t<e.length;t++)e[t]=0}e.lowlevel={crypto_core_hsalsa20:A,crypto_stream_xor:O,crypto_stream:y,crypto_stream_salsa20_xor:b,crypto_stream_salsa20:T,crypto_onetimeauth:C,crypto_onetimeauth_verify:I,crypto_verify_16:g,crypto_verify_32:S,crypto_secretbox:R,crypto_secretbox_open:N,crypto_scalarmult:K,crypto_scalarmult_base:W,crypto_box_beforenm:q,crypto_box_afternm:R,crypto_box:function(e,t,r,n,i,a){var o=new Uint8Array(32);return q(o,i,a),R(e,t,r,n,o)},crypto_box_open:function(e,t,r,n,i,a){var o=new Uint8Array(32);return q(o,i,a),N(e,t,r,n,o)},crypto_box_keypair:Y,crypto_hash:$,crypto_sign:eo,crypto_sign_keypair:er,crypto_sign_open:es,crypto_secretbox_KEYBYTES:32,crypto_secretbox_NONCEBYTES:24,crypto_secretbox_ZEROBYTES:32,crypto_secretbox_BOXZEROBYTES:16,crypto_scalarmult_BYTES:32,crypto_scalarmult_SCALARBYTES:32,crypto_box_PUBLICKEYBYTES:32,crypto_box_SECRETKEYBYTES:32,crypto_box_BEFORENMBYTES:32,crypto_box_NONCEBYTES:24,crypto_box_ZEROBYTES:32,crypto_box_BOXZEROBYTES:16,crypto_sign_BYTES:64,crypto_sign_PUBLICKEYBYTES:32,crypto_sign_SECRETKEYBYTES:64,crypto_sign_SEEDBYTES:32,crypto_hash_BYTES:64,gf:n,D:u,L:en,pack25519:k,unpack25519:x,M:H,A:U,S:G,Z:B,pow2523:V,add:
19Q,set25519:D,modL:ei,scalarmult:ee,scalarbase:et},e.randomBytes=function(e){var t=new Uint8Array(e);return i(t,e),t},e.secretbox=function(e,t,r){ec(e,t,r),el(r,t);for(var n=new Uint8Array(32+e.length),i=new Uint8Array(n.length),a=0;a<e.length;a++)n[a+32]=e[a];return R(i,n,n.length,t,r),i.subarray(16)},e.secretbox.open=function(e,t,r){ec(e,t,r),el(r,t);for(var n=new Uint8Array(16+e.length),i=new Uint8Array(n.length),a=0;a<e.length;a++)n[a+16]=e[a];return n.length<32||0!==N(i,n,n.length,t,r)?null:i.subarray(32)},e.secretbox.keyLength=32,e.secretbox.nonceLength=24,e.secretbox.overheadLength=16,e.scalarMult=function(e,t){if(ec(e,t),32!==e.length)throw Error("bad n size");if(32!==t.length)throw Error("bad p size");var r=new Uint8Array(32);return K(r,e,t),r},e.scalarMult.base=function(e){if(ec(e),32!==e.length)throw Error("bad n size");var t=new Uint8Array(32);return W(t,e),t},e.scalarMult.scalarLength=32,e.scalarMult.groupElementLength=32,e.box=function(t,r,n,i){var a=e.box.before(n,i);return e.secretbox(t,r,a)},e.box.before=function(e,t){ec(e,t);if(32!==e.length)throw Error("bad public key size");if(32!==t.length)throw Error("bad secret key size");var r=new Uint8Array(32);return q(r,e,t),r},e.box.after=e.secretbox,e.box.open=function(t,r,n,i){var a=e.box.before(n,i);return e.secretbox.open(t,r,a)},e.box.open.after=e.secretbox.open,e.box.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(32);return Y(e,t),{publicKey:e,secretKey:t}},e.box.keyPair.fromSecretKey=function(e){if(ec(e),32!==e.length)throw Error("bad secret key size");var t=new Uint8Array(32);return W(t,e),{publicKey:t,secretKey:new Uint8Array(e)}},e.box.publicKeyLength=32,e.box.secretKeyLength=32,e.box.sharedKeyLength=32,e.box.nonceLength=24,e.box.overheadLength=e.secretbox.overheadLength,e.sign=function(e,t){if(ec(e,t),64!==t.length)throw Error("bad secret key size");var r=new Uint8Array(64+e.length);return eo(r,e,e.length,t),r},e.sign.open=function(e,t){if(ec(e,t),32!==t.length)throw Error("bad public key size");var r=new Uint8Array(e.length),n=es(r,e,e.length,t);if(n<0)return null;for(var i=new Uint8Array(n),a=0;a<i.length;a++)i[a]=r[a];return i},e.sign.detached=function(t,r){for(var n=e.sign(t,r),i=new Uint8Array(64),a=0;a<i.length;a++)i[a]=n[a];return i},e.sign.detached.verify=function(e,t,r){if(ec(e,t,r),64!==t.length)throw Error("bad signature size");if(32!==r.length)throw Error("bad public key size");var n,i=new Uint8Array(64+e.length),a=new Uint8Array(64+e.length);for(n=0;n<64;n++)i[n]=t[n];for(n=0;n<e.length;n++)i[n+64]=e[n];return es(a,i,i.length,r)>=0},e.sign.keyPair=function(){var e=new Uint8Array(32),t=new Uint8Array(64);return er(e,t),{publicKey:e,secretKey:t}},e.sign.keyPair.fromSecretKey=function(e){if(ec(e),64!==e.length)throw Error("bad secret key size");for(var t=new Uint8Array(32),r=0;r<t.length;r++)t[r]=e[32+r];return{publicKey:t,secretKey:new Uint8Array(e)}},e.sign.keyPair.fromSeed=function(e){if(ec(e),32!==e.length)throw Error("bad seed size");for(var t=new Uint8Array(32),r=new Uint8Array(64),n=0;n<32;n++)r[n]=e[n];return er(t,r,!0),{publicKey:t,secretKey:r}},e.sign.publicKeyLength=32,e.sign.secretKeyLength=64,e.sign.seedLength=32,e.sign.signatureLength=64,e.hash=function(e){ec(e);var t=new Uint8Array(64);return $(t,e,e.length),t},e.hash.hashLength=64,e.verify=function(e,t){return ec(e,t),0!==e.length&&0!==t.length&&e.length===t.length&&0===_(e,0,t,0,e.length)},e.setPRNG=function(e){i=e},(t="undefined"!=typeof self?self.crypto||self.msCrypto:null)&&t.getRandomValues?e.setPRNG(function(e,r){var n,i=new Uint8Array(r);for(n=0;n<r;n+=65536)t.getRandomValues(i.subarray(n,n+Math.min(r-n,65536)));for(n=0;n<r;n++)e[n]=i[n];eu(i)}):(t=r(93758))&&t.randomBytes&&e.setPRNG(function(e,r){var n,i=t.randomBytes(r);for(n=0;n<r;n++)e[n]=i[n];eu(i)})}(e.exports?e.exports:self.nacl=self.nacl||{})},792006:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(647005),i=r(951402);class a{constructor(e,t=5){this.getStorageObj=e=>{if(!e)return console.error("multi-pod/utils/storage Object must be there with LRU cache"),null;null==e||e.isStorageRequired;let t=(null==e?void 0:e.typeOfStorage)||n.ZE.LOCAL_STORAGE;return{typeOfStorage:t,key:e.key,isEncrypted:(null==e?void 0:e.isEncrypted)||!1}},this.checkInStorage=e=>{let t=this.getValueFromCache();if((0,i.a)(t))this.reset();else{let{data:e,headValue:r,tailValue:n,dataAddressMap:i,cacheSize:a}=t;this.data=e,this.dataAddressMap=i,this.headValue=r,this.tailValue=n,this.cacheSize=a}},this.addToCache=(e,t)=>{let r=Object.keys(this.data).length;if((0,i.a)(e)||(0,i.a)(t))return null;if((0,i.a)(this.data[e])?r===this.cacheSize&&this.removeFromCache(this.headValue):this.removeFromCache(e),this.data[e]=t,null===this.headValue)this.headValue=e,this.tailValue=e,this.dataAddressMap[e]={prev:null,next:null,value:t};else{this.dataAddressMap[e]={prev:null,next:null,value:t};let r=this.dataAddressMap[this.tailValue];r.next=e,this.dataAddressMap[e].prev=this.tailValue,this.tailValue=r.next}this.setDataToStorage()},this.removeFromCache=e=>{if(!(0,i.a)(this.data[e])){if(1===Object.keys(this.data).length)this.reset();else if(this.headValue===e){let e=this.dataAddressMap[this.headValue].next,t=this.dataAddressMap[e];delete this.data[this.headValue],delete this.dataAddressMap[this.headValue],this.headValue=e,t.prev=null}else if(this.tailValue===e){let e=this.dataAddressMap[this.tailValue].prev,t=this.dataAddressMap[e];delete this.data[this.tailValue],delete this.dataAddressMap[this.tailValue],this.tailValue=e,t.next=null}else{let t=this.dataAddressMap[e],r=this.dataAddressMap[t.next];
19this.dataAddressMap[t.prev].next=t.next,r.prev=t.prev,delete this.data[e],delete this.dataAddressMap[e]}this.setDataToStorage()}},this.setDataToStorage=()=>{if((0,i.a)(this.storageObj))return;let{typeOfStorage:e,key:t,isEncrypted:r}=this.storageObj;!function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n.cT(e,t,r,i)}(e,t,{data:this.data,dataAddressMap:this.dataAddressMap,headValue:this.headValue,tailValue:this.tailValue,cacheSize:this.cacheSize},r)},this.getValueFromCache=()=>{let{typeOfStorage:e,key:t,isEncrypted:r}=this.storageObj;return function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n.c7(e,t,r)}(e,t,r)},this.reset=()=>{this.data={},this.dataAddressMap={},this.headValue=null,this.tailValue=null,this.setDataToStorage()},this.get=e=>{let t=this.data[e];return(0,i.a)(t)?-1:(this.removeFromCache(e),this.addToCache(e,t),this.data[e])},this.remove=e=>{this.removeFromCache(e)},this.set=(e,t)=>{try{let r=this.data[e];(0,i.a)(r)?this.addToCache(e,t):(this.get(e),this.data[e]=t,this.dataAddressMap[e].value=t,this.setDataToStorage())}catch(e){console.error(e)}},this.hasKey=e=>{let t=this.data[e];return!(0,i.a)(t)},this.getAllKeys=()=>{try{let e=[],t=this.tailValue;for(;null!==t;)e.push(t),t=this.dataAddressMap[t].prev;return e}catch(e){console.error(e)}},this.getAllValues=()=>{try{return this.getAllKeys().map(e=>this.data[e])}catch(e){console.error(e)}},this.getAllKeyValue=()=>{try{return this.getAllKeys().map(e=>({itemKey:e,value:this.data[e]}))}catch(e){console.error(e)}},this.setCacheSize=e=>{this.cacheSize=e,this.setDataToStorage()},this.getCacheSize=()=>this.cacheSize,this.getSize=()=>Object.keys(this.data).length,this.cacheSize=t,this.storageObj=this.getStorageObj(e),(0,i.a)(this.storageObj)?this.reset():this.checkInStorage(this.storageObj)}}},793392:(e,t,r)=>{"use strict";r.d(t,{x:()=>n});let n={PRODUCT:{CNC:"Delivery",MIS:"Intraday",MTF:"MTF"},ORDER:{MARKET:"Market",LIMIT:"Limit"},TRADING:{BUY:"BUY",SELL:"SELL"},VALIDITY:{IOC:"IOC",DAY:"DAY",YEAR:"YEAR"},EXCHANGE:{NSE:"NSE",BSE:"BSE"},IS_STOPLOSS:!1}},796769:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(464726),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 43 48",...t},n.createElement("path",{fill:"#66E3C4",d:"m36.31.263 6.262 30.517-29.647 17.217-6.263-30.739z"}),n.createElement("path",{fill:"#fff",d:"M13.149 44.693 7.588 17.679 36.503 1.194l5.585 27.217z"}),n.createElement("path",{fill:"#0ABB92",d:"m34.531 15.62-4.913 2.832-1.272-5.321 5.01-2.88zM26.818 20.114l-4.913 2.831-1.266-5.327 5.004-2.873zM19.102 24.606l-4.914 2.826-1.265-5.321 5.003-2.88zM29.856 29.657l-4.914 2.831-1.265-5.32 5.003-2.88zM37.951 24.597l-4.913 2.831-1.266-5.32 5.003-2.88zM21.75 34.48l-4.913 2.832-1.266-5.322 5.003-2.88z"}),n.createElement("path",{fill:"#66E3C4",d:"M6.663 17.261 12.926 48l-6.27-5.423L.4 40.765z"}),n.createElement("path",{fill:"#0ABB92",d:"m.49 40.795-.09-.03 6.263-23.504 3.647 17.907zM6.555 42.547l4.71-2.7L12.924 48l-6.268-5.423z"}),n.createElement("path",{fill:"#0ABB92",d:"M6.663 17.261 12.926 48l-6.27-5.423L.4 40.771l6.263-23.504zm.078 25.16 5.92 5.123-6.016-29.539L.61 40.651zM9.143 18.211l1.602-.917.222 1.08-1.602.917zM13.145 15.922l1.602-.918.216 1.08-1.596.918zM17.143 13.63l1.602-.918.222 1.074-1.602.918zM21.133 11.332l1.602-.918.222 1.08-1.602.918zM25.137 9.04l1.602-.917.222 1.08-1.602.917zM29.133 6.75l1.602-.918.222 1.074-1.602.918zM33.135 4.451l1.596-.918.222 1.08-1.602.918z"}),n.createElement("path",{fill:"#66E3C4",d:"M7.058 13.923c.438-.252.996-.21 1.571.12 1.068.618 1.908 2.063 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.213-1.566-2.7-.353-.203-.677-.245-.893-.125s-.336.42-.336.821c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.653.24-1.157.672-1.41zM11.058 11.634c.438-.252.995-.21 1.571.126 1.068.617 1.908 2.063 1.908 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.214-1.565-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.821c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.653.24-1.157.672-1.41zM15.056 9.335c.438-.252.996-.21 1.572.12 1.067.618 1.907 2.064 1.907 3.288 0 .54-.162.978-.474 1.26-.21.191-.468.293-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.214-1.565-2.7-.354-.204-.678-.246-.894-.126s-.336.42-.336.822c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.654.24-1.158.672-1.41zM19.056 7.044c.438-.252.996-.21 1.572.12 1.067.618 1.907 2.063 1.907 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.756.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.213-1.565-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.822c0 .45.15.965.42 1.463l-.594.33c-.33-.594-.51-1.23-.51-1.787 0-.654.24-1.158.672-1.41zM23.052 4.752c.438-.252.996-.21 1.572.12 1.067.618 1.907 2.063 1.907 3.287 0 .54-.162.978-.474 1.26-.21.192-.468.294-.755.306l-.139-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.213-1.565-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.822c0 .45.15.965.42 1.463l-.594.33c-.33-.594-.51-1.23-.51-1.787 0-.654.24-1.158.672-1.41zM27.044 2.454c.438-.252.996-.21 1.572.12 1.068.618 1.907 2.064 1.907 3.287 0 .54-.162.978-.474 1.26-.21.192-.467.294-.755.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.971-.72-2.213-1.566-2.7-.354-.203-.678-.245-.894-.125s-.336.42-.336.822c0 .45.15.966.42 1.463l-.594.33c-.33-.593-.51-1.23-.51-1.787 0-.654.24-1.158.672-1.41zM31.046.162c.438-.252.996-.21 1.572.12 1.067.618 1.907 2.064 1.907 3.288 0 .54-.162.978-.474 1.26-.21.192-.468.294-.755.306l-.138-.678c.18.018.324-.03.438-.132.162-.144.252-.414.252-.756 0-.972-.72-2.214-1.566-2.7-.354-.204-.678-.246-.894-.126s-.336.42-.336.822c0 .45.15.966.42 1.464l-.594.33c-.33-.594-.51-1.23-.51-1.788 0-.654.24-1.158.672-1.41z"}))})},799738:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/profile.8692709f.png",height:64,width:64,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAALVBMVEXHy93FyNrIyt3Hy91MaXHIyt3HydvIy93DyNd////GydvHx9nFyNv////U2OqJrvJjAAAADnRSTlPyLf6yAMihvmICejfrAbn2AUwAAAAJcEhZcwAADdcAAA3XAUIom3gAAAA4SURBVHicBcGHAcAwDMMwyjOr/v/cAoTczBUIW8sQPrl3joNN1Rhgfo4bdMb3RTZ6dW89EWpoxQ8p6AFBQi8NhQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},801398:(e,t,r)=>{"use strict";r.d(t,{$v:()=>c,KJ:()=>l,O$:()=>g,Wv:()=>A,Zz:()=>m,aY:()=>b,g8:()=>p,sn:()=>_,vB:()=>S,wV:()=>v,xZ:()=>T,zM:()=>E}
19);var n=r(647005),i=r(873435),a=r(951402),o=r(454532),s=r(299168);let l=()=>{var e;return null===(e=window)||void 0===e?void 0:e.location.href.includes("onix")},c=()=>{var e;if(!n.BV()&&(null===(e=window)||void 0===e?void 0:e.location.href.includes("/onix"))){let e=(0,s.rv)();return!(0,a.a)(e)}return!1},u=o.bw.ONIX,d=o.bw.LOGIN+o.bw.TWO_FACTOR_AUTH_ENTER,f=o.bw.LOGIN+o.bw.DEVICE_REGISTER,h=()=>{var e,t;let r=null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.search;return r?"?"+i.stringify(i.parse(r),{arrayFormat:"comma"}):""},p=o.bw.LOGIN,E=(0,o.un)(o.bw.LOGIN+o.bw.FORGOT_PASSWORD),_=(0,o.un)(o.bw.LOGIN+o.bw.TWO_FACTOR_AUTH_FORGOT),g=(0,o.un)(o.bw.LOGIN+o.bw.TWO_FACTOR_AUTH_SET),S=(0,o.un)(o.bw.LOGIN+o.bw.TWO_FACTOR_AUTH_OTP),m=(0,o.un)(o.bw.LOGIN+o.bw.TWO_FACTOR_AUTH_CONGRATS),A=(0,o.un)(o.bw.LOGIN+o.bw.REGISTER),v=()=>l()?u+o.bw.LOGIN+h():o.bw.LOGIN,b=()=>c()?u+d+h():d,T=()=>c()?u+f+h():f},801902:(e,t,r)=>{"use strict";t.Service=r(429018)},802053:(e,t,r)=>{e.exports=r(293462)},805562:()=>{},806473:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(986594);r(407178);var i=r(275063),a=r(366516),o=r(678399),s=r(261208),l=(r(454532),r(280759)),c=r(555725);let u=e=>{let{height:t=40,width:r=40,showShouldStories:u}=e,d=(0,i.d4)(e=>{let{core:t}=e;return t.headerState.isDarkModeEnabled}),{storyLogoObj:f,logoHeight:h,logoWidth:p}=(0,c.xX)({showShouldStories:u}),E=(0,a.useRouter)();return(0,n.jsx)("div",{className:"flex absolute-center",style:{height:t,width:r},children:(0,n.jsx)(s.A,{onLogoClick:()=>{E.push((0,l.ZA)())},height:h,width:p,logoObj:f,logoType:d?o.A.GROWW_DARK:o.A.GROWW_LIGHT,isDarkModeEnabled:d,isFlashbackActive:!1,url:(0,l.ZA)(),minHeight:h,minWidth:p})})}},806727:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(986594),i=r(407178),a=r(190386),o=r(647005),s=r(761711),l=r.n(s),c=r(685549),u=r(366516),d=r(974263),f=r(522714),h=r(34331),p=r(270230),E=r(454532),_=r(238460),g=r(555725),S=r(490364),m=r(630431),A=r(53453),v=r.n(A);let b="groww_viewed_stories",T=e=>[E.bw.STOCK+E.bw.USER+E.bw.EXPLORE].some(t=>e===t),y=()=>{try{let e=o.c7(o.ZE.LOCAL_STORAGE,b,!1);if(e){let t=Array.isArray(e)?e:JSON.parse(e);return new Set(t)}return new Set}catch(e){return console.error("Error reading viewed stories from cache:",e),new Set}},O=e=>{try{let t=y();t.add(e),o.cT(o.ZE.LOCAL_STORAGE,b,Array.from(t),!1)}catch(e){console.error("Error saving viewed story to cache:",e)}},w=e=>{try{let t=y(),r=new Set(e),n=Array.from(t).filter(e=>r.has(e));o.cT(o.ZE.LOCAL_STORAGE,b,n,!1)}catch(e){console.error("Error cleaning up viewed stories cache:",e)}},C=e=>{let{children:t}=e,r=(0,u.useRouter)(),[o,s]=(0,i.useState)(!1),[E,A]=(0,i.useState)(!1),[b,C]=(0,i.useState)(!1),{userData:I}=(0,h.Ss)(),R=(0,_.N)(!0),{shouldShowStories:N,configEnabled:D,platformUrl:P,deviceType:L,deviceVersion:k}=(0,g.xX)({showShouldStories:!0});(0,m.K)(o);let M=(null==I?void 0:I.user_account_id)||"",F=(0,g.Wv)(e=>e.stories),x=(0,i.useRef)(null),U=(0,i.useCallback)(e=>{try{let t=F.find(t=>t.storyId===e);t&&t.ctaUrl?(s(!1),r.push(t.ctaUrl)):console.warn("Story not found or ctaUrl not available for story ID:",e)}catch(e){console.error("Error handling CTA click:",e)}},[F,r]),B=(0,i.useCallback)(async()=>{g.DT.setLoading(!0);try{let e=await p.SP.get("/v3/api/stories?section=explore",{headers:{"X-USER-ID":M,"x-platform":L,"x-platform-version":k}});if(e.data&&e.data.stories){let t=y(),r=e.data.stories.map(e=>({...e,isViewed:t.has(e.storyId)})),n=e.data.stories.map(e=>e.storyId);w(n),g.DT.setStories(r)}}catch(e){console.error("Error fetching stories:",e),g.DT.setError(!0)}},[]);(0,i.useEffect)(()=>{D&&R&&B()},[B,D,R]);let H=(0,i.useMemo)(()=>({webview_injected_data:JSON.stringify({apiResponse:JSON.stringify(F)})}),[F]),G=(0,i.useCallback)(()=>{if(x.current&&x.current.contentWindow)try{x.current.contentWindow.postMessage({type:"INJECT_DATA",data:H},"*")}catch(e){console.error("Error injecting data into iframe:",e)}},[H]),j=(0,i.useCallback)(()=>{if(o&&x.current&&x.current.contentWindow)try{x.current.contentWindow.postMessage("WebViewResume","*")}catch(e){console.error("Error sending resume message to iframe:",e)}},[o]);(0,i.useEffect)(()=>
19{if(o&&E){let e=setTimeout(()=>{j()},500);return()=>clearTimeout(e)}},[o,E,j]),(0,i.useEffect)(()=>{let e=e=>{try{let a=e.data;if("string"==typeof a&&(a=JSON.parse(a)),a&&"LISTEN_FOR_INJECT_DATA"===a.action&&C(!0),a&&"STORIES_ANALYTIC_EVENT"===a.action){var t,r,n,i;let e=a;(null===(t=e.params)||void 0===t?void 0:t.event_name)==="StoryViewed"&&(null===(r=e.params)||void 0===r?void 0:r.story_id)&&(O(e.params.story_id),g.DT.markStoryAsViewed(e.params.story_id)),(null===(n=e.params)||void 0===n?void 0:n.event_name)==="CTAClick"&&(null===(i=e.params)||void 0===i?void 0:i.story_id)&&U(e.params.story_id)}a&&"BACK"===a.action&&W()}catch(t){console.log("Non-JSON message received:",e.data)}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[U]),(0,i.useEffect)(()=>{b&&o&&G()},[b,o,G]);let V=(0,i.useCallback)(()=>{T(r.pathname)&&A(!0)},[r.pathname]),K=(0,i.useCallback)(()=>{T(r.pathname)&&(A(!0),s(!0),(0,a.sx)("GobblerStoriesEvent",d.GobblerStoriesEvent,{eventName:S.A.WebStoryOpened}))},[r.pathname]),W=(0,i.useCallback)(()=>{s(!1),(0,a.sx)("GobblerStoriesEvent",d.GobblerStoriesEvent,{eventName:S.A.WebStoryClosed})},[]),Y="desktop"===c.Eg.MSITE;if(!N)return(0,n.jsx)(n.Fragment,{children:t});let q="90vh";return(0,n.jsxs)("div",{className:v().storiesWrapper,children:[(0,n.jsx)("div",{onMouseEnter:V,onClick:K,style:{cursor:"pointer"},className:v().storyLogoWrapper,children:t}),(0,n.jsx)(f.P,{width:Y?void 0:500,closeOnEsc:!0,closeMaskOnClick:!0,showCloseButton:!1,visible:o,animation:"zoom",onClose:W,popupClass:l()("overflow-hidden",v().popupBG,{"popup-border":!Y}),customStyles:Y?{...f.R,height:"100dvh",width:"100vw",padding:0}:{height:q},children:E&&(0,n.jsx)("iframe",{ref:x,src:P,title:"Groww Stories",width:"100%",height:Y?"100%":q,style:{border:"none",height:Y?"100dvh":q},className:"popup-border"})})]})}},807135:(e,t,r)=>{u(["\n The handler for action "," had a "," property defined, but this is not \n a valid key for a redux-pack handler. Valid keys are: ","\n "],["\n The handler for action "," had a "," property defined, but this is not \n a valid key for a redux-pack handler. Valid keys are: ","\n "]);var n=u(["\n The "," handler for action "," is expected to return a new state object.\n "],["\n The "," handler for action "," is expected to return a new state object.\n "]),i=u(["\n The "," handler for action "," is expected to be a function, \n but found "," instead.\n "],["\n The "," handler for action "," is expected to be a function, \n but found "," instead.\n "]),a=u(["\n You used redux-pack's `handle(...)` function on the action ",", however, it\n doesn't appear to be an action that was dispatched by redux-pack. This is likely an error.\n "],["\n You used redux-pack's \\`handle(...)\\` function on the action ",", however, it\n doesn't appear to be an action that was dispatched by redux-pack. This is likely an error.\n "]),o=c(r(608680)),s=c(r(544791)),l=r(31134);function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function d(e,t,r,a){switch(typeof t){case"function":var l=t(e,r);return(0,s.default)(void 0!==l,(0,o.default)(n,a,r.type)),l;case"undefined":return e;default:return(0,s.default)(!1,(0,o.default)(i,a,r.type,typeof t)),e}}e.exports=function(e,t,r){var n=t.meta,i=n?n[l.KEY.LIFECYCLE]:null;if(null==i)return(0,s.default)(!1,(0,o.default)(a,t.type)),e;var c=e;switch(i){case l.LIFECYCLE.START:c=d(c,r.start,t,"start");break;case l.LIFECYCLE.SUCCESS:c=d(c,r.success,t,"success"),c=d(c,r.finish,t,"finish");break;case l.LIFECYCLE.FAILURE:c=d(c,r.failure,t,"failure"),c=d(c,r.finish,t,"finish")}return d(c,r.always,t,"always")}},808248:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/c.3c68de95.svg",height:135,width:135,blurWidth:0,blurHeight:0}},810059:(e,t,r)=>{"use strict";function n(e){return{...e.custom?{}
19:{viewBox:"0 0 24 24",fill:"currentColor",height:24,width:24},...e.size?{height:e.size,width:e.size}:{},...e,size:void 0,custom:void 0}}r.d(t,{C:()=>n})},812910:()=>{},813247:(e,t,r)=>{"use strict";r.d(t,{D:()=>c,a:()=>l,b:()=>s});var n=r(449204),i=r(407178),a=r(761711),o=r.n(a);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var s=function(e){var t=e.children,r=e.className,a=(0,n.b)(e,["children","className"]);return i.createElement("div",(0,n._)({className:"dropdown__trigger ".concat(r)},a),t)};s.displayName="DropdownTrigger",s.defaultProps={className:""};var l=function(e){var t=e.children,r=e.className,a=e.animate,s=(0,n.b)(e,["children","className","animate"]);return i.createElement("div",(0,n._)({className:o()("dropdown__content",r,{dropdown__fadein:a})},s),t)};l.displayName="DropdownContent",l.defaultProps={className:"",animate:!0};var c=function(e){function t(t){var r=e.call(this,t)||this;return r.dropdownRef=(0,i.createRef)(),r.isActive=function(){return"boolean"==typeof r.props.active?r.props.active:r.state.active},r.hide=function(){r.setState({active:!1},function(){r.props.onHide&&r.props.onHide()})},r.show=function(){r.setState({active:!0},function(){r.props.onShow&&r.props.onShow()})},r._onWindowClick=function(e){var t=r.dropdownRef.current;e.target!==t&&!(null==t?void 0:t.contains(e.target))&&r.isActive()&&r.hide()},r._onToggleClick=function(e){e.preventDefault(),r.isActive()?r.hide():r.show()},r._onKeyDownHandler=function(e){"Escape"===e.key&&r.isActive()&&r.hide()},r.state={active:!1},r}return(0,n.a)(t,e),t.prototype.componentDidMount=function(){document.addEventListener("click",this._onWindowClick),document.addEventListener("touchstart",this._onWindowClick),document.addEventListener("keydown",this._onKeyDownHandler)},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this._onWindowClick),document.removeEventListener("touchstart",this._onWindowClick),document.removeEventListener("keydown",this._onKeyDownHandler)},t.prototype.render=function(){var e=this,t=this.props,r=t.children,a=t.className,c=t.disabled,u=t.removeElement,d=this.isActive(),f=o()({dropdown:!0,"dropdown--active":d,"dropdown--disabled":c}),h=i.Children.map(r,function(t){if(!i.isValidElement(t))return t;if(t.type===s){var r=t.props.onClick;t=(0,i.cloneElement)(t,{onClick:function(n){c||(e._onToggleClick(n),r&&r.apply(t,r.arguments))}})}else t.type===l&&u&&!d&&(t=i.createElement(i.Fragment,null));return t}),p=(0,n._)({},this.props);return delete p.active,delete p.onShow,delete p.onHide,delete p.removeElement,i.createElement("div",(0,n._)({},p,{ref:this.dropdownRef,className:"".concat(f," ").concat(a)}),h)},t}(i.PureComponent);c.defaultProps={className:""}},813312:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=l(e),o=a[0],s=a[1],c=new i((o+s)*3/4-s),u=0,d=s>0?o-4:o;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,s=n-i;o<s;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},813474:function(e,t,r){var n,i,a,o,s,l,c,u,d,f,h,p,E,_,g,S,m,A;n=r(170742),r(684685),e.exports=void(n.lib.Cipher||(a=(i=n.lib).Base,o=i.WordArray,s=i.BufferedBlockAlgorithm,(l=n.enc).Utf8,c=l.Base64,u=n.algo.EvpKDF,d=i.Cipher=s.extend({cfg:a.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?A:S}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt
19(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),i.StreamCipher=d.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),f=n.mode={},h=i.BlockCipherMode=a.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=f.CBC=function(){var e=h.extend();function t(e,t,r){var n,i=this._iv;i?(n=i,this._iv=void 0):n=this._prevBlock;for(var a=0;a<r;a++)e[t+a]^=n[a]}return e.Encryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize;t.call(this,e,r,i),n.encryptBlock(e,r),this._prevBlock=e.slice(r,r+i)}}),e.Decryptor=e.extend({processBlock:function(e,r){var n=this._cipher,i=n.blockSize,a=e.slice(r,r+i);n.decryptBlock(e,r),t.call(this,e,r,i),this._prevBlock=a}}),e}(),E=(n.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,n=r-e.sigBytes%r,i=n<<24|n<<16|n<<8|n,a=[],s=0;s<n;s+=4)a.push(i);var l=o.create(a,n);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},i.BlockCipher=d.extend({cfg:d.cfg.extend({mode:p,padding:E}),reset:function(){d.reset.call(this);var e,t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),_=i.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),g=(n.format={}).OpenSSL={stringify:function(e){var t,r=e.ciphertext,n=e.salt;return(n?o.create([0x53616c74,0x65645f5f]).concat(n).concat(r):r).toString(c)},parse:function(e){var t,r=c.parse(e),n=r.words;return 0x53616c74==n[0]&&0x65645f5f==n[1]&&(t=o.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),_.create({ciphertext:r,salt:t})}},S=i.SerializableCipher=a.extend({cfg:a.extend({format:g}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),a=i.finalize(t),o=i.cfg;return _.create({ciphertext:a,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),m=(n.kdf={}).OpenSSL={execute:function(e,t,r,n,i){if(n||(n=o.random(8)),i)var a=u.create({keySize:t+r,hasher:i}).compute(e,n);else var a=u.create({keySize:t+r}).compute(e,n);var s=o.create(a.words.slice(t),4*r);return a.sigBytes=4*t,_.create({key:a,iv:s,salt:n})}},A=i.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:m}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize,n.salt,n.hasher);n.iv=i.iv;var a=S.encrypt.call(this,e,t,i.key,n);return a.mixIn(i),a},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt,n.hasher);return n.iv=i.iv,S.decrypt.call(this,e,t,i.key,n)}})))},818142:(e,t,r)=>{"use strict";r.d(t,{L:()=>o,x:()=>i});var n=r(873435);let i=["d74c98cffd7948ca9ffca352294b0226","935b22d86bb843078abde6cf814a6def","8df52ad0d49c4029bc5dce425c6e3ac1"],a=()=>{{var e;let t=n.parse(window.location.search),r=null!==(e=Array.isArray(null==t?void 0:t.referrer)?null==t?void 0:t.referrer[0]:null==t?void 0:t.referrer)&&void 0!==e?e:"";return!i.includes(r)}},o=()=>a()?"/v1/api/apex":"/onix"},818179:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},818681:(e,t,r)=>{"use strict";r.d(t,{a:()=>n,b:()=>i,c:()=>a});var n={PROD_HOST:"https://groww.in",DEFAULT_GROWW_LOGO_270:"https://groww.in/groww-logo-270.png",FACEBOOK_PAGE:"https://www.facebook.com/growwapp",TWITTER_PAGE:"https://twitter.com/_groww",YOUTUBE_PAGE:"http://bit.ly/2rjkBHu",INSTAGRAM_PAGE:"https://www.instagram.com/groww_official/",LINKEDIN_PAGE:"https://in.linkedin.com/company/groww.in",YOUTUBE_MAIN_CHANNEL:"https://www.youtube.com/channel/UCw5TLrz3qADabwezTEcOmgQ"},i={IOS:"iOS",ANDROID:"Android",MAC_OS:"Mac OS",WINDOWS:"Windows",LINUX:"Linux"},a={THEME_CHANGE:"themeChange",RC_LOADED:"rcLoaded",FIREBASE_AUTHENTICATE:"firebaseAuth",TABLE_CLOSE:"tableClose",TRACK_LOG:"trackLog"}},824577:(e,t,r)=>{"use strict";r.d(t,{i:()=>p});var n=r(488948),i=r(269618),a=r(574830),o=r(7501),s=r(779126),l=r(925129),c=r(936114),u=r(458732),d=r(248934),f=r(660690),h=r(17954);function p(e={}){let t=e.client||(0,a.KU)();if(!(0,o.Ol)()||!t)return{};let r=(0,i.EU)(),E=(0,n.h)(r);if(E.getTraceData)return E.getTraceData(e);let _=e.scope||(0,a.o5)(),g=e.span||(0,l.Bk)(),S=(0,u.h)(g)&&!(0,c.f)(t.getOptions());if(!g&&(0,a.Bi)())return{};let m=g&&!S?(0,l.Qh)(g):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,h.TC)(t,n,r)}(_),A=g?(0,d.k1)(g):(0,d.ao)(t,_),v=(0,f.De)(A);if(!h.MI.test(m))return s.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let b={"sentry-trace":m,baggage:v};return e.propagateTraceparent&&(b.traceparent=g&&!S?(0,l.G_)(g):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();
19return(0,h.Iy)(t,n,r)}(_)),b}},829656:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n=function(e){return e.GET_MF_ORDER_DATA="mf/GET_MF_ORDER_DATA",e.RESET_MF_ORDER_DATA="mf/RESET_MF_ORDER_DATA",e.SET_NOMINEE_STATUS_DATA="mf/SET_NOMINEE_STATUS_DATA",e.SET_NOMINEE_SCHEME_DETAILS="mf/SET_NOMINEE_SCHEME_DETAILS",e.GET_NOMINEE_PROCESS_DETAILS="mf/GET_NOMINEE_PROCESS_DETAILS",e.GET_ORDER_DETAILS="mf/GET_ORDER_DETAILS",e}({})},831182:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/y.0f6712d4.svg",height:135,width:135,blurWidth:0,blurHeight:0}},837509:(e,t,r)=>{"use strict";r.d(t,{Q8:()=>k,vK:()=>b,eA:()=>T,y4:()=>y,Fd:()=>O,z3:()=>N,z0:()=>B,YP:()=>U});var n=r(407178),i=r(873435),a=r(647005),o=r(870507),s=r(960136),l=r(438315),c=r(951402),u=r(212358),d=r(744620),f=r(454532),h=r(126479),p=r(299168),E=r(603183),_=r(136398),g=r(72080),S=r(270230),m=r(391533),A=r(277245);async function v(){let{SEMATTRS_HTTP_RES_STATUS_CODE:e,SEMATTRS_SPAN_OUTCOME:t,SEMATTRS_HTTP_METHOD_ROUTE:n,NAVIGATION_METRIC_NAME:i}=await Promise.all([r.e(37373),r.e(50585)]).then(r.bind(r,455398));return{SEMATTRS_HTTP_RES_STATUS_CODE:e,SEMATTRS_SPAN_OUTCOME:t,SEMATTRS_HTTP_METHOD_ROUTE:n,NAVIGATION_METRIC_NAME:i}}let b=e=>{let t="";return(0,m.nP)(e.data)&&(t="object"==typeof e.data?JSON.stringify(e.data):e.data),t},T=e=>{let t="";if((0,m.nP)(e.params)){let r=i.stringify(e.params,{arrayFormat:"comma",encode:!1});t=r?"?"+r:""}return t},y=()=>{let e=(0,p.Gn)(),t=(0,o.Ay)();if(a.N1(a.ZE.LOCAL_COOKIE_STORAGE),(0,p.oA)(e,_.aH.EXPIRY_1_YEAR),(0,h.sn)(null,!0),(0,E.NW)(),t.isActive){let e={action:S.RO.SESSION_EXPIRED,params:null};(0,c.Q)(e)}else(0,h.nD)()?(0,c.C)(d.yV.OPEN_LOGIN_POPUP):window.location.pathname.includes(f.bw.LOGIN)||(window.location.href="https://groww.in"+f.bw.LOGIN)},O=async e=>{var t,r;let{response:n}=null!=e?e:{},i=null!==(r=null==n?void 0:null===(t=n.config)||void 0===t?void 0:t.url)&&void 0!==r?r:"";(0,g.rH)(i)},w={OK:"ok",AUTH:"auth_error",BAD_REQUEST:"bad_request_error",NOT_FOUND:"not_found_error",API:"api_error",REQUEST:"request_error",NETWORK:"network_error"},C=e=>{switch(e){case 401:case 403:return w.AUTH;case 400:case 422:return w.BAD_REQUEST;case 404:return w.NOT_FOUND;case 429:return w.API;default:return w.REQUEST}},I=e=>0===e?w.NETWORK:e>=200&&e<400?w.OK:e>=400&&e<500?C(e):e>=500?w.API:w.REQUEST,R=()=>{try{var e,t;if("undefined"==typeof navigator)return{};let r=null!==(t=null!==(e=navigator.connection)&&void 0!==e?e:navigator.mozConnection)&&void 0!==t?t:navigator.webkitConnection;if(!r)return{};return{"net.effective_type":r.effectiveType,"net.downlink_mbps":r.downlink,"net.round_trip_time_ms":r.rtt,"net.save_data":r.saveData,"net.connection_type":r.type}}catch(e){return{}}},N=e=>{try{var t,r,n,i,a,o,l;if(!e)return;let c=null!==(i=null===(t=e.method)||void 0===t?void 0:t.toUpperCase())&&void 0!==i?i:"UNKNOWN",u=null!==(o=null!==(a=null==e?void 0:null===(r=e.metadata)||void 0===r?void 0:r.urlTemplate)&&void 0!==a?a:e.url)&&void 0!==o?o:"",d="".concat(c," ").concat(u),f=parseFloat((Date.now()/1e3).toFixed(4)),h=null!==(l=null===(n=e.headers)||void 0===n?void 0:n["X-REQUEST-ID"])&&void 0!==l?l:"";e._requestStartTs=f,"undefined"!=typeof performance&&(e._spanStartTime=performance.now());let p=(0,s.Uk)({name:d,op:"http.client",forceTransaction:!0,attributes:{"http.method":c,"http.url":u,"http.request_id":h,"spanTimeData.start_ts":f,newSpans:!0,...R()}});p&&(e._sentrySpan=p,e._requestStartTs=f,"undefined"!=typeof performance&&(e._spanStartTime=performance.now()))}catch(e){}},D=new Map,P=new Set;function L(e){let t=e.search(/[?#]/);return -1===t?e:e.slice(0,t)}if("undefined"!=typeof PerformanceObserver)try{new PerformanceObserver(e=>{!function(e){for(let t=0;t<e.length;t++){let r=e[t].nextHopProtocol;if(!r)continue;let n=L(e[t].name);D.has(n)&&D.delete(n),D.set(n,r)}for(;D.size>500;){let e=D.keys().next().value;if(void 0===e)break;D.delete(e)}}(e.getEntries())}).observe({type:"resource",buffered:!0})}catch(e){}let k=(e,t,r,n)=>{try{var i,a,o,s,c,d,f,h,p;if(!e)return;let E=parseFloat((Date.now()/1e3).toFixed(4)),_=null==e?void 0:e._spanStartTime,g="number"==typeof _&&"undefined"!=typeof performance?parseFloat((performance.now()-_).toFixed(2)):null,S=R(),m=null==e?void 0:e._sentrySpan;if(m&&(m.setAttribute("http.status_code",t),m.setAttribute("http.request_id",null!==(c=null==e?void 0:null===(s=e.headers)||void 0===s?void 0:s["X-REQUEST-ID"])&&void 0!==c?c:""),m.setAttribute("spanTimeData.start_ts",null==e?void 0:e._requestStartTs),m.setAttribute("spanTimeData.finish_ts",E),null!==g&&m.setAttribute("http.apiTiming",g),r&&n&&m.setAttribute("error.message",n),m.setAttributes(S),(0,l.N8)(m,t),m.end()),"undefined"!=typeof webRemoteData&&(null===(o=webRemoteData)||void 0===o?void 0:null===(a=o.platform)||void 0===a?void 0:null===(i=a.appLens)||void 0===i?void 0:i.enableAppLensHttpMetrics)===!0&&null!==g){let r=null!==(p=null!==(h=null==e?void 0:null===(d=e.metadata)||void 0===d?void 0:d.urlTemplate)&&void 0!==h?h:null==e?void 0:e.url)&&void 0!==p?p:"unknown",n=(null==e?void 0:null===(f=e.method)||void 0===f?void 0:f.toUpperCase())||"UNKNOWN",i=r.split("?")[0],a=I(t),o=(0,u.nv)();if(!o)return;v().then(r=>{let s=function(e,t){try{if("undefined"==typeof performance)return"unknown";let r=null==e?void 0:e.url;if(!r)return"unknown";let n=/^https?:\/\//i.test(r)?void 0:(null==e?void 0:e.baseURL)||window.location.origin,i=new URL(r,n),a=i.origin+i.pathname,o=D.get(a);if(o)return o;let s="number"==typeof t?t-2:0,l=performance.getEntriesByType("resource"),c=null,u="";for(let e=0;e<l.length;e++){let t=l[e],r=t.name;if(L(r)!==a||t.startTime<s)continue;let n="".concat(r,"#").concat(t.startTime);!P.has(n)&&(null===c||t.startTime<c.startTime)&&(c=t,u=n)}if(c)return P.size>=500&&P.clear(),P.add(u),c.nextHopProtocol||"unknown";
19for(let e=l.length-1;e>=0;e--)if(L(l[e].name)===a)return l[e].nextHopProtocol||"unknown";return"unknown"}catch(e){return"unknown"}}(e,_);o.recordHistogram({histName:"http.response.milliseconds",value:g,localAttributes:{[r.SEMATTRS_HTTP_RES_STATUS_CODE]:t,[r.SEMATTRS_SPAN_OUTCOME]:a,[r.SEMATTRS_HTTP_METHOD_ROUTE]:"".concat(n," ").concat(i),protocol:s}})}).catch(()=>{})}delete e._sentrySpan,delete e._spanStartTime,delete e._requestStartTs}catch(e){}},M=null,F="consumed";function x(){let e=(0,A.rh)();return null===e?null:e===M?F:(M=e,e)}function U(e,t,r){(0,n.useEffect)(()=>{function n(n){if(!Number.isFinite(n)||n<0)return;let i=(0,u.nv)();i&&v().then(a=>{i.recordHistogram({histName:a.NAVIGATION_METRIC_NAME,value:n,featureTag:{product:e,feature:t,flow:null!=r?r:""}})}).catch(()=>{})}function i(){try{let e=x();if(e===F)return;if(null!==e){let t=performance.now()-e;n(t);return}!function(){try{let e=performance.getEntriesByType("navigation")[0];if(!e||0===e.loadEventEnd)return;n(e.domContentLoadedEventEnd-e.fetchStart)}catch(e){}}()}catch(e){}}if("complete"===document.readyState){i();return}let a=()=>{setTimeout(i,0)};return window.addEventListener("load",a,{once:!0}),()=>{window.removeEventListener("load",a)}},[])}function B(e,t,r){try{if("undefined"==typeof performance)return;let a=null!=r?r:"";function n(r){if(!Number.isFinite(r)||r<0)return;let n=(0,u.nv)();n&&v().then(i=>{n.recordHistogram({histName:i.NAVIGATION_METRIC_NAME,value:r,featureTag:{product:e,feature:t,flow:a}})}).catch(()=>{})}function i(){try{let e=x();if(e===F)return;if(null!==e){let t=performance.now()-e;n(t);return}!function(){try{let e=performance.getEntriesByType("navigation")[0];if(!e||0===e.loadEventEnd)return;n(e.domContentLoadedEventEnd-e.fetchStart)}catch(e){}}()}catch(e){}}if("complete"===document.readyState){i();return}window.addEventListener("load",()=>{setTimeout(i,0)},{once:!0})}catch(e){}}},840497:(e,t,r)=>{"use strict";r.d(t,{EB:()=>a,Ng:()=>o,aj:()=>s,lx:()=>n,rY:()=>i});var n=function(e){return e.GET_PENDING_ORDERS="mf/GET_PENDING_ORDERS",e.GET_PENDING_ORDERS_V2="mf/GET_PENDING_ORDERS_V2",e.GET_MF_DASHBOARD_TABLE_DATA="mf/GET_MF_DASHBOARD_TABLE_DATA",e.CLEAR_TIMESTAMP_CACHE_KEY="mf/CLEAR_TIMESTAMP_CACHE_KEY",e.GET_EXTERNAL_FUNDS_TRACK_STATUS="mf/GET_EXTERNAL_FUNDS_TRACK_STATUS",e.GET_SYSTEMATIC_ORDERS_STATS="mf/GET_SYSTEMATIC_ORDERS_STATS",e}({}),i=function(e){return e.TOGGLE_INVESTMENT_PARAMETER="mf/TOGGLE_INVESTMENT_PARAMETER",e.SORT_MF_SCHEMES="mf/SORT_MF_SCHEMES",e}({}),a=function(e){return e.GET_USER_HOLDING_BY_SCHEME_CODE="mf/GET_USER_HOLDING_BY_SCHEME_CODE",e}({}),o=function(e){return e.UPDATE_RIGHT_SIDE_ACTION="UPDATE_RIGHT_SIDE_ACTION",e.TOGGLE_DELETE_POPUP_STATE="TOGGLE_DELETE_POPUP_STATE",e.UPDATE_PAY_NOW_ACTION="UPDATE_PAY_NOW_ACTION",e.SET_SELECTED_XIRR_TYPE="SET_SELECTED_XIRR_TYPE",e}({}),s=function(e){return e.SET_SCHEME_REDEMPTION_DETAILS="SET_SCHEME_REDEMPTION_DETAILS",e.SET_MF_ALL_SOURCE_SCHEME="SET_MF_ALL_SOURCE_SCHEME",e.SET_MF_ALL_DEST_SCHEME="SET_MF_ALL_DEST_SCHEME",e.SET_MF_SWITCH_SOURCE_SCHEME="SET_MF_SWITCH_SOURCE_SCHEME",e.SET_MF_SWITCH_DEST_SCHEME="SET_MF_SWITCH_DEST_SCHEME",e.SET_MF_SWITCH_DETAIL="SET_MF_SWITCH_DETAIL",e.RESET_MF_SWITCH_SCHEME="RESET_MF_SWITCH_SCHEME",e}({})},841111:function(e,t,r){"use strict";function n(e,t,r){for(var n=Object.keys(t),i=0;i<n.length;++i)void 0!==e[n[i]]&&r||(e[n[i]]=t[n[i]]);return e}function i(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack||""}),r&&n(this,r)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return e},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}t.asPromise=r(125517),t.base64=r(235045),t.EventEmitter=r(634816),t.float=r(464502),t.inquire=r(868957),t.utf8=r(334517),t.pool=r(351079),t.LongBits=r(310846),t.isNode=!!(void 0!==r.g&&r.g&&r.g.process&&r.g.process.versions&&r.g.process.versions.node),t.global=t.isNode&&r.g||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,t.emptyArray=Object.freeze?Object.freeze([]):[],t.emptyObject=Object.freeze?Object.freeze({}):{},t.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},t.isString=function(e){return"string"==typeof e||e instanceof String},t.isObject=function(e){return e&&"object"==typeof e},t.isset=t.isSet=function(e,t){var r=e[t];return!!(null!=r&&e.hasOwnProperty(t))&&("object"!=typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},t.Buffer=function(){try{var e=t.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),t._Buffer_from=null,t._Buffer_allocUnsafe=null,t.newBuffer=function(e){return"number"==typeof e?t.Buffer?t._Buffer_allocUnsafe(e):new t.Array(e):t.Buffer?t._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},t.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,t.Long=t.global.dcodeIO&&t.global.dcodeIO.Long||t.global.Long||t.inquire("long"),t.key2Re=/^true|false|0|1$/,t.key32Re=/^-?(?:0|[1-9][0-9]*)$/,t.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,t.longToHash=function(e){return e?t.LongBits.from(e).toHash():t.LongBits.zeroHash},t.longFromHash=function(e,r){var n=t.LongBits.fromHash(e);return t.Long?t.Long.fromBits(n.lo,n.hi,r):n.toNumber(!!r)},t.merge=n,t.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},t.newError=i,t.ProtocolError=i("ProtocolError"),t.oneOfGetter=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=1;return function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},t.oneOfSetter=function(e){return function(t){for(var r=0;r<e.length;++r)e[r]!==t&&delete this[e[r]]}},t.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},t._configure=function(){var e=t.Buffer;if(!e){t._Buffer_from=t._Buffer_allocUnsafe=null;return}t._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,r){return new e(t,r)},t._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}},842627:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/x.f1a4af10.svg",height:135,width:135,blurWidth:0,blurHeight:0}},844940:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/w.d902e766.svg",height:135,width:135,blurWidth:0,blurHeight:0}},848846:(e,t,r)=>{"use strict";r.d(t,{C:()=>i,d:()=>a});var n=r(335184);let i=async()=>{let{isLoading:e}=n.a.getState();if(!e){n.a.setState({isLoading:!0});try{let{getTradingMargins:e}=await r.e(80807).then(r.bind(r,880807)),t=await e();n.a.setState({margins:t,isError:!1})}catch(e){n.a.setState({isError:!0})}finally{n.a.setState({isLoading:!1})}}},a=async()=>{n.a.setState({isLoading:!0});try{let{getTradingMargins:e}=await r.e(80807).then(r.bind(r,880807)),t=await e();n.a.setState({margins:t,isError:!1})}catch(e){n.a.setState({isError:!0})}finally{n.a.setState({isLoading:!1})}}},849832:(e,t,r)=>{"use strict";r.d(t,{XT:()=>c,iX:()=>u,zv:()=>d});var n=r(576132),i=r.n(n),a=r(649989),o=r.n(a),s=r(886837),l=r.n(s);r(536171),r(95954);var c=function(e,t){var r={data:null,error:null};
19try{return r.data=i().encrypt(JSON.stringify(e),t).toString(),r}catch(e){return r.error=e.message,r}},u=function(e,t,r){var n={data:null,error:null};try{return n.data=i().encrypt(e,t,r).ciphertext.toString(l()),n}catch(e){return n.error=e.message,n}},d=function(e,t){var r={data:null,error:null};try{if(null===e)return r.error="Cannot decrypt null object",r;var n=i().decrypt(e.toString(),t);return r.data=JSON.parse(n.toString(o())),r}catch(e){return r.error=e.message,r}}},850004:function(e,t,r){var n,i,a,o,s,l,c;a=(i=(n=r(170742)).lib).WordArray,o=i.Hasher,s=n.algo,l=[],c=s.SHA1=o.extend({_doReset:function(){this._hash=new a.init([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var u=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=u<<1|u>>>31}var d=(n<<5|n>>>27)+s+l[c];c<20?d+=(i&a|~i&o)+0x5a827999:c<40?d+=(i^a^o)+0x6ed9eba1:c<60?d+=(i&a|i&o|a&o)-0x70e44324:d+=(i^a^o)-0x359d3e2a,s=o,o=a,a=i<<30|i>>>2,i=n,n=d}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(r/0x100000000),t[(n+64>>>9<<4)+15]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=o._createHelper(c),n.HmacSHA1=o._createHmacHelper(c),e.exports=n.SHA1},852391:(e,t,r)=>{"use strict";r.d(t,{Fz:()=>t8,p6:()=>t9});var n=r(659022),i=r(642803);function a(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"==typeof i?i(r,n,e):t(i)}}}}var o=a();o.withExtraArgument=a;var s=r(366929),l=r(744620),c=r(952686);let u={NOTIFICATION_MANAGER_FLOW:"notificationmanagerflow"},d={notificationManagerFlowData:{userNotifications:{data:[],loader:!1,error:null},productPreferenceData:{mfData:{},mfDataFetched:!1,stocksData:{},stocksDataFetched:!1,goldData:{},goldDataFetched:!1},productPreferenceLoader:!1,productPreferenceError:null,availableProductList:{data:{},fetched:!1},availableProductListLoader:!1,availableProductListError:null,submitProductPreferenceError:null},accRelatedForms:{}};var f=r(898546),h=r(268254),p=r(951402);let E=e=>({fdData:e}),_={fdInvestmentsLoader:!0,fdInvestmentsFailed:null,depositsList:[],pendingOrderList:[],totalMaturityAmount:0,totalInvestedAmount:0,totalCurrentValues:[],currentValuesTimeStamp:new Date().toISOString(),selectedFdSearchId:"",currentInvestmentParameter:f.m_.MATURITY_VALUE.key,investmentSortBy:"",fdData:{},fdDataLoading:!0,fdDataError:null,fdOrderListData:{fdOrderData:[],fdOrderListLoader:!0,hasMore:!0,fdOrderListError:!1,page:-1},fdInformationData:{data:{},loading:!1,notFound:!1,error:!1,peerData:[]},rdInformationData:{data:{},loading:!1,notFound:!1,error:!1},depositTxnData:null};var g=r(119498);let S={isLandscape:!1,params:null,availableToSellDto:{}};var m=r(216296);let A={currentScreen:"INSTRUMENTS",waitingScreenMessage:"PLEASE_WAIT",selectedBankIdUpi:"",isPreInvokeLoading:!1,pvmTransactionInfo:{},paymentMethodDetails:{}};var v=r(873435),b=r(2249),T=r(625185),y=r(758913),O=r(651471);let w={inrWalletData:{},inrWalletDataLoading:!0,inrWalletDataError:!1,inrWalletDataFetched:!1,ledgerTransactionTab:"",inrLedgerTransactions:{ledger:[],pendingLedger:[],failedLedger:[],lastRowKey:null},asbaLedgerTransactions:{ledger:[],pendingLedger:[],offset:null},expectedTAT:[],expectedTATLoading:!1,expectedTATError:!1,inrLedgerSelectedFilters:{},inrLedgerDefaultFilters:{},asbaLedgerSelectedFilters:{},asbaLedgerDefaultFilters:{},inrLedgerTransactionsLoading:!0,inrLedgerTransactionsError:!1,inrLedgerTransactionsFetched:!1,inrLedgerTransactionsPage:0,inrLedgerTransactionsHasMore:!0,inrLedgerTransactionsLoadingMore:!1,asbaLedgerTransactionsLoading:!0,asbaLedgerTransactionsError:!1,asbaLedgerTransactionsFetched:!1,asbaLedgerTransactionsPage:0,asbaLedgerTransactionsHasMore:!0,asbaLedgerTransactionsLoadingMore:!1,inrLedgerFailedTransactionsLoading:!0,inrLedgerFailedTransactionsError:!1,inrLedgerFailedTransactionsFetched:!1,inrLedgerFailedTransactionsPage:0,inrLedgerFailedTransactionsHasMore:!0,inrLedgerFailedTransactionsLoadingMore:!1,inrLedgerTransactionsShowFailed:!1,inrLedgerTransactionsStockOrders:{},inrLedgerTransactionsStockOrdersLoading:!0,inrLedgerTransactionsStockOrdersError:!1,inrLedgerTransactionsStockOrdersFetched:!1,inrLedgerTransactionsStockOrdersHasMore:!0,inrLedgerTransactionsStockOrdersLoadingMore:!1,inrLedgerTransactionsFnoOrders:{},inrLedgerTransactionsFnoOrdersLoading:!0,inrLedgerTransactionsFnoOrdersError:!1,inrLedgerTransactionsFnoOrdersFetched:!1,inrLedgerTransactionsFnoOrdersHasMore:!0,inrLedgerTransactionsFnoOrdersLoadingMore:!1,inrLedgerTransactionsStockCharges:{},inrLedgerTransactionsStockChargesLoading:!0,inrLedgerTransactionsStockChargesError:!1,inrLedgerTxnOrders:{},inrLedgerTxnOrdersLoading:!0,inrLedgerTxnOrdersLoadingMore:!1,inrLedgerTxnOrdersError:!1,inrLedgerSelectedTransactionDetail
19s:{},inrLedgerSelectedTransactionDetailsLoading:!0,inrLedgerSelectedTransactionDetailsError:!1,inrLedgerSelectedTransactionId:null,userSelectedBankAccount:{},userName:null,isUserAofEnabled:!1,isUserWalletBlocked:!1,isUserRaaAuthorised:!0,userAttributesFetched:!1,userAttributesError:!1,isMarginDataFetching:!1,isMarginDataFailure:!1,marginDetailsDto:{},isMarginDataV2Fetching:!1,isMarginDataV2Failure:!1,marginDetailsV2Dto:null,isFnoMarginDataFetching:!1,isFnoMarginDataFailure:!1,fnoMarginDetailsDto:null,isEquityMarginDataFetching:!1,isEquityMarginDataFailure:!1,equityMarginDetailsDto:null,preinvokePgWindow:null,inrWalletDataStale:!1,userNumOfBanks:0,isPaymentInProgress:!1,recommendedInstrumentAvailable:!1,isPaymentEcosystemMountedForStocks:!1,cartItemObject:{cartId:"",error:"",isRequired:!1}};var C=r(155673);let I=e=>({usStockData:e}),R=e=>({usMarketInfo:e}),N=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=r;return Array.isArray(n)&&n.length&&(i=n),{usStockBank:{isLoading:e,isFailure:t,data:i}}},D=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=[];return Array.isArray(r)&&r.length&&(n=r),{usStockAllBanks:{isLoading:e,isFailure:t,data:n.filter(e=>{var t;return null==e?void 0:null===(t=e.options)||void 0===t?void 0:t.isEnabled}).sort((e,t)=>{var r,n,i,a;return(null!==(i=null==e?void 0:null===(r=e.options)||void 0===r?void 0:r.priority)&&void 0!==i?i:1e5)-(null!==(a=null==t?void 0:null===(n=t.options)||void 0===n?void 0:n.priority)&&void 0!==a?a:1e5)})}}},P=e=>({usOnboardingInfo:e}),L=(e,t)=>{let{isETF:r,pageSize:n,sortOrderType:i,sortCategory:a,totalRecords:o}=t,s=t.pageNo?+t.pageNo:0;return{isETF:r,pageSize:n,sortCategory:a,sortOrderType:i,totalRecords:o,records:0===s?[...t.records]:[...e.ETFScreenerData.records,...t.records],pageNo:s,isFetching:!1,isLoadingTableRecords:!1,isFailure:!1,hasMore:!(t.records.length<n)}},k=(e,t)=>{let{isETF:r,pageSize:n,sortOrderType:i,sortCategory:a,totalRecords:o}=t,s=t.pageNo?+t.pageNo:0,l=[];return{isETF:r,pageSize:n,sortCategory:a,sortOrderType:i,totalRecords:o,records:(null==e?void 0:e.records)?0===s?[...t.records]:[...e.records,...t.records]:[...t.records],pageNo:s,hasMore:!(t.records.length<n)}},M={isLoading:!1,isFailure:!1,data:{}},F={usStockOnboarding:{isLoading:!0,isSecondaryLoader:!1,isFailure:!1},usOnboardingInfo:{},usOnboardingStatusError:!1,loadingOnbdStatus:!0,usStockData:{},usStockDataLoading:!1,usStockDataError:null,usStockBank:{isLoading:!0,isFailure:!1,data:[]},usStockAllBanks:{isLoading:!0,isFailure:!1,data:[]},myOrderListDto:{data:[],isLoading:!1,hasFailed:!1,hasMore:!1,pageNo:0},usStockHoldingData:{...M},similarStocks:{...M},usCompanyFinancials:{...M},usBankSwiftDetails:{...M},liveData:{},loadingUsMarketInfo:!1,usMarketInfo:{},selectedStock:{},etfScreenerData:{isFailure:!1,screenerDataError:null,isFetching:!0,isLoadingTableRecords:!1,isETF:!0,pageNo:0,pageSize:10,sortCategory:"NAME",sortOrderType:"ASC",totalRecords:0,sectors:"",records:[]},ETFScreenerData:{isFailure:!1,screenerDataError:null,isFetching:!0,isLoadingTableRecords:!1,hasMore:!0,isETF:!0,pageNo:0,pageSize:15,sortCategory:"NAME",sortOrderType:"ASC",totalRecords:0,sectors:"",records:[]},stockScreener:{screenerData:{isLoading:!1,isError:!1,data:{}},defaultFilters:{isLoading:!1,isError:!1,filters:{}},selectedFilters:{}}};var x=r(856704);let U="inProgress",B="success",H="isFailure",G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(!(null==e?void 0:e.length))return{...t};let i=(null==t?void 0:t.explorePageStocks)?{...t.explorePageStocks[e]}:{};if(r===U){let e=i.data||[];i.isLoading=!e.length,i.isFailure=!1}return r===B&&(i.data=n||[],i.isLoading=!1,i.isFailure=!1),r===H&&(i.isLoading=!1,i.isFailure=!0,i.data=[]),t.explorePageStocks[e]=i,{...t}},j={isLoading:!1,isFailure:!1,data:[]},V={explorePageStocks:{popularStocks:{...j},etfs:{...j}
19,etfIndexes:{...j}}};var K=r(702016);let W={productPageData:{},isLoading:!0,isFailure:null,currentStockData:{}};var Y=r(453391);let q=(e,t,r)=>{let{pageNo:n,pageSize:i}=r;return{pageSize:i,pageNo:+n+1,entries:[...e.usdLedger.entries,...t.entries],hasMore:!(t.entries.length<i)}},z={usdBalance:{isLoading:!0,hasFailed:!1,data:{}},usdLedger:{isLoading:!0,hasFailed:!1,hasMore:!0,pageNo:0,pageSize:10,entries:[],isLoadingRowRecords:!1},usdSelectedLedgerEntry:{},cashfree:{inrAmount:0,usdAmount:0,orderFxRate:0,paymentMethod:"upi",upiId:"",growwPaymentId:"",orderStatus:"PENDING",redirectionUrl:"",isPlacingOrder:!1,cashfreeDocStatus:[]},usdWithdrawResponse:{isLoading:!1,isFailure:!1,data:{}}},X=(0,n.HY)({productPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case K.v:var n=e,a=t;let{payload:o,meta:s}=a,{searchId:l}=null!=s?s:{};return(0,i.handle)(n,a,{start:e=>({...e,isLoading:!0,isFailure:null}),success:e=>({...e,currentStockData:o.data,productPageData:{...e.productPageData,[null==l?void 0:l.toUpperCase()]:o.data},isLoading:!1}),failure:e=>{var t;return{...e,isFailure:null===(t=o.response)||void 0===t?void 0:t.status,isLoading:!1}}});case K.o:var c=e,u=t;let{payload:d}=u;return{...c,currentStockData:d,isFailure:!1,isLoading:!1};default:return e}},usPayments:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0,{type:r}=t,n={state:e,action:t};switch(r){case Y.S.GET_BALANCE:return function(e){let{state:t,action:r}=e,{payload:n}=r;return(0,i.handle)(t,r,{start:e=>({...e,usdBalance:{isLoading:!0,hasFailed:!1,data:{}}}),success:e=>({...e,usdBalance:{isLoading:!1,hasFailed:!1,data:n.data}}),failure:e=>({...e,usdBalance:{isLoading:!1,data:{},hasFailed:!0}})})}(n);case Y.S.HANDLE_BALANCE_LOADING:return function(e){let{state:t,action:r}=e,{payload:n}=r;return{...t,usdBalance:{...t.usdBalance,isLoading:n}}}(n);case Y.S.GET_LEDGER_ENTRIES:return function(e){let{state:t,action:r}=e,{meta:n,payload:a}=r;return(0,i.handle)(t,r,{start:e=>{let{isLoadingRowRecords:t,pageNo:r}=n.extra;return{...e,usdLedger:{...e.usdLedger,entries:0===r?[]:[...e.usdLedger.entries],isLoading:!t,hasFailed:!1,isLoadingRowRecords:t}}},success:e=>({...e,usdLedger:{isLoading:!1,hasFailed:!1,isLoadingRowRecords:!1,...q(e,a.data,n.extra)}}),failure:e=>({...e,usdLedger:{entries:[],isLoading:!1,isLoadingRowRecords:!1,hasFailed:!0}})})}(n);case Y.S.SET_SELECTED_LEDGER:return function(e){let{state:t,action:r}=e,{payload:n}=r;return n&&(t.usdSelectedLedgerEntry=n),{...t}}(n);case Y.S.SET_CASHFREE_DATA:return function(e){let{state:t,action:r}=e,{payload:n}=r;return{...t,cashfree:{...t.cashfree,...n}}}(n);case Y.S.INITIATE_WITHDRAW:return function(e){let{state:t,action:r}=e,{payload:n}=r;return(0,i.handle)(t,r,{start:e=>({...e,usdWithdrawResponse:{isLoading:!0,isFailure:!1,data:{}}}),success:e=>({...e,usdWithdrawResponse:{isLoading:!1,isFailure:!1,data:n.data}}),failure:e=>({...e,usdWithdrawResponse:{isLoading:!1,isFailure:!0,data:{}}})})}(n);default:return e}},explorePage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:i}=t;switch(r){case(0,s.V)(x.h).inProgress:return{...G(n.section,e,U)};case(0,s.V)(x.h).success:return{...G(i.section,e,B,n)};case(0,s.V)(x.h).failure:return{...G(n.section,e,H)};default:return e}}}),$="gold/GET_GOLD_ORDER__DATA",Q=e=>({goldGraphData:e}),J={physicalGoldRateData:{isLoading:!1,error:null,data:{}},goldOrderListData:{goldOrderData:[],goldOrderListLoader:!0,hasMore:!0,goldOrderListError:!1,page:-1},goldGraphData:[],goldGraphLoading:!0,goldGraphError:!1,goldHoldingsData:[],goldHoldingsLoading:!0,goldHoldingsError:!1,goldLivePriceData:[],goldLivePriceLoading:!0,goldLivePriceError:!1,goldDowntimeData:[]};var Z=r(313286),ee=r(750644);let et=(e,t)=>t.userProgressList.map(t=>{let r=e.find(e=>e.type===t.type);return r?{...t,...r}:t}),er=(e,t)=>{let r=t.userProgressList.findIndex(t=>t.type===e);return r&&-1!==r?et([{type:t.userProgressList[r-1].type,status:ee.GN.NOT_SUBMITTED}],t):t},en=(e,t)=>t.map(t=>{let r=e.find(e=>e.type===t.type);return r?{...t,...r}:t}),ei=(e,t)=>{let r=t.findIndex(t=>t.type===e);return r&&-1!==r?en([{type:t[r-1].type,status:ee.GN.NOT_SUBMITTED}],t):t};function ea(e){return null==e?void 0:e.filter(e=>null!==e)}let eo=(e,t)=>null==t?void 0:t.map(t=>{let r=e.findIndex(e=>e.type===t.type);return -1!==r?{...t,...e[r]}:t}),es=(e,t,r)=>{var n,i,a,o,s,l,c,u,d,f,h,p,E,_,g,S;switch(r){case ee.SN.DEPOSITS:return{onbProgressDataFD:{data:{userProgressList:ea(e.data.userProgressList),config:null!==(o=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.config)&&void 0!==o?o:null===(a=t.onbProgressDataFD)||void 0===a?void 0:null===(i=a.data)||void 0===i?void 0:i.config},isLoading:!1,isFailed:!1,isSynced:!0}};case ee.SN.FNO_ONBOARDING:return{onbProgressDataFNO:{data:{userProgressList:ea(e.data.userProgressList),config:null!==(u=null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.config)&&void 0!==u?u:null===(c=t.onbProgressDataFNO)||void 0===c?void 0:null===(l=c.data)||void 0===l?void 0:l.config},isLoading:!1,isFailed:!1,isSynced:!0}};case ee.SN.REKYC:return{onbProgressDataRekyc:{data:{userProgressList:ea(e.data.userProgressList),config:null!==(p=null==e?void 0:null===(d=e.data)||void 0===d?void 0:d.config)&&void 0!==p?p:null===(h=t.onbProgressDataRekyc)||void 0===h?void 0:null===(f=h.data)||void 0===f?void 0:f.config},isLoading:!1,isFailed:!1,isSynced:!0}};default:return{onbProgressData:{data:{userProgressList:ea(e.data.userProgressList),config:null!==(S=null==e?void 0:null===(E=e.data)||void 0===E?void 0:E.
19config)&&void 0!==S?S:null===(g=t.onbProgressData)||void 0===g?void 0:null===(_=g.data)||void 0===_?void 0:_.config},isLoading:!1,isFailed:!1,isSynced:!0}}}},el=(e,t,r)=>{var n,i,a,o,s,l,c,u;switch(r){case ee.SN.DEPOSITS:return{onbProgressDataFD:{...t.onbProgressDataFD,data:{userProgressList:et(e,t.onbProgressDataFD.data),config:null===(i=t.onbProgressDataFD)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.config},isSynced:!1}};case ee.SN.FNO_ONBOARDING:return{onbProgressDataFNO:{...t.onbProgressDataFNO,data:{userProgressList:et(e,t.onbProgressDataFNO.data),config:null===(o=t.onbProgressDataFNO)||void 0===o?void 0:null===(a=o.data)||void 0===a?void 0:a.config},isSynced:!1}};case ee.SN.REKYC:return{onbProgressDataRekyc:{...t.onbProgressDataRekyc,data:{userProgressList:et(e,t.onbProgressDataRekyc.data),config:null===(l=t.onbProgressDataRekyc)||void 0===l?void 0:null===(s=l.data)||void 0===s?void 0:s.config},isSynced:!1}};default:return{onbProgressData:{...t.onbProgressData,data:{userProgressList:et(e,t.onbProgressData.data),config:null===(u=t.onbProgressData)||void 0===u?void 0:null===(c=u.data)||void 0===c?void 0:c.config},isSynced:!1}}}},ec=(e,t,r)=>{switch(r){case ee.SN.DEPOSITS:return{onbProgressDataFD:{...t.onbProgressDataFD,data:{...t.onbProgressDataFD.data,config:e}}};case ee.SN.FNO_ONBOARDING:return{onbProgressDataFNO:{...t.onbProgressDataFNO,data:{...t.onbProgressDataFNO.data,config:e}}};case ee.SN.REKYC:return{onbProgressDataRekyc:{...t.onbProgressDataRekyc,data:{...t.onbProgressDataRekyc.data,config:e}}};default:return{onbProgressData:{...t.onbProgressData,data:{...t.onbProgressData.data,config:e}}}}},eu={onbProgressData:{data:{userProgressList:[],config:{}},isLoading:!1,isFailed:!1,isSynced:!1},onbProgressDataFD:{data:{userProgressList:[],config:{}},isLoading:!1,isFailed:!1,isSynced:!1},onbProgressDataFNO:{data:{userProgressList:[],config:{}},isLoading:!1,isFailed:!1,isSynced:!1},updateKycData:[],isUpdateKycLoading:!1,isUpdateKycFailed:!1,emudraFlowData:[],isEmudraDataLoading:!1,isEmudraDataFailed:!1,onbProgressDataRekyc:{data:{userProgressList:[],config:{}},isLoading:!1,isFailed:!1,isSynced:!1},accRelatedForms:void 0};var ed=r(214418),ef=r(950854),eh=r(150126),ep=r(418302);let eE={GENERAL_FLOW:"generalflow"},e_={generalFlowData:{userCommData:[],userCommDataLoader:!1,userCommDataError:null,nomineeDetails:{data:[],loader:!1,error:null}},remoteConfig:eh.A,isRemoteConfigLoaded:!1,isRemoteConfigError:!1,headerState:{isDarkModeEnabled:!1,openFamilyAccounts:!1,showManageProfileOption:!1,cartItemNumber:0,globalMessageBoard:{global_msg_board_enabled:!1,data:{}}},routerState:{path:null,state:null}},eg=(0,ef.A)({key:"core",version:3,timeout:500,whitelist:["routerState"],storage:ed.A},function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e_,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t,a=r.toLowerCase();if(a.includes(eE.GENERAL_FLOW)){let r=function(e,t){let{type:r,payload:n}=t;switch(r){case(0,s.V)(ep.J$).inProgress:return{...e,userCommDataLoader:!0};case(0,s.V)(ep.J$).success:return{...e,userCommDataLoader:!1,userCommData:n};case(0,s.V)(ep.J$).failure:return{...e,userCommDataLoader:!1,userCommDataError:n};case ep.U:return(0,i.handle)(e,t,{start:e=>({...e,nomineeDetails:{...e.nomineeDetails,loader:!0}}),success:e=>{var t;return{...e,nomineeDetails:{...e.nomineeDetails,data:null!==(t=null==n?void 0:n.data)&&void 0!==t?t:[],loader:!1}}},failure:e=>({...e,nomineeDetails:{...e.nomineeDetails,error:n,loader:!1}})});case(0,s.V)(ep.J$).clear:return{...e,userCommDataLoader:!1,userCommDataError:null,userCommData:[]};default:return e}}(e.generalFlowData,t);return{...e,generalFlowData:{...r}}}if(a.includes("headerstate")){let r=function(e,t){let{type:r,payload:n}=t;switch(r){case ep.HE:return{...e,isDarkModeEnabled:n};case ep.Z_:return{...e,showManageProfileOption:n};case ep.I8:return{...e,openFamilyAccounts:n};case ep.Uv:return(0,i.handle)(e,t,{success:e=>({...e,cartItemNumber:Array.isArray(n)?n.length:0})});case ep.IK:return{...e,globalMessageBoard:{...e.globalMessageBoard,global_msg_board_enabled:n.global_msg_board_enabled,data:n.data}}}}(e.headerState,t);return{...e,headerState:r}}return r===(0,s.V)(ep.vV).success?{...e,remoteConfig:{...e.remoteConfig,...n.data},isRemoteConfigLoaded:!0}:r===(0,s.V)(ep.vV).failure?{...e,isRemoteConfigLoaded:!0,isRemoteConfigError:!0}:r===ep.j_?{...e,routerState:n}:e});var eS=r(603183),em=r(281457),eA=r(240034),ev=r(351873),eb=r(41307),eT=r(716877),ey=r(696169);
19let eO={isError:!1,isLoading:!0,data:{redemptionDetails:{},userInput:{amount:"",units:"",redeemBy:eT.D7.AMOUNT,redeemAll:!1},calculatedDetails:{isLoading:!1,isError:!1,data:{}},redeemOrderStatusDetails:{},currentScreen:eT.i9.INPUT,orderStatus:""}},ew=(e,t)=>{let{payload:r}=t;return(0,i.handle)(e,t,{start:()=>({...eO,isLoading:!0,isError:!1}),success:()=>({isLoading:!1,isError:!1,data:{...e.data,redemptionDetails:r.data}}),failure:e=>({...e,isLoading:!1,isError:!0})})},eC=(e,t)=>{let{payload:r}=t,{data:n}=r;return{...e,data:{...e.data,userInput:n}}},eI=(e,t)=>{let{payload:r}=t,{screen:n}=r;return{...e,data:{...e.data,currentScreen:n}}},eR=(e,t)=>{let{payload:r}=t;return(0,i.handle)(e,t,{success:t=>({...t,data:{...e.data,calculatedDetails:{isLoading:!1,data:r.data,isError:!1}}}),failure:t=>({...t,data:{...e.data,calculatedDetails:{...e.data.calculatedDetails,isError:!0}}})})},eN=(e,t)=>{let{payload:r}=t,{data:n}=r;return(0,i.handle)(e,t,{start:()=>({...e,isLoading:!0,isError:!1}),success:()=>({isLoading:!1,isError:!1,data:{...e.data,redeemOrderStatusDetails:n,currentScreen:eT.i9.STATUS}}),failure:()=>({isLoading:!1,isError:!0,data:{...e.data,redeemOrderStatusDetails:{},currentScreen:eT.i9.STATUS}})})},eD=()=>({...eO});var eP=r(908018),eL=function(e){return e.GET_MF_FILTER_DATA="mf/GET_MF_FILTER_DATA",e.GET_MF_SCREENER_DATA="mf/GET_MF_SCREENER_DATA",e.GET_MF_SCREENER_DATA_MSITE="mf/GET_MF_SCREENER_DATA_MSITE",e}({});let ek={mfScreenerDataMsite:{screenerData:{isLoading:!1,isError:!1,hasMore:!0,content:[]}},mfScreenerData:{defaultFilters:{isLoading:!1,isError:!1,filters:{}}}};var eM=r(113710),eF=r(194536),ex=r(115462),eU=r(17500),eB=r(538187),eH=r(29901);let eG={loading:!1,error:null},ej={getCartItems:{...eG,data:[]},addCartItem:eG,removeCartItem:eG,updateCartItem:eG,isFetched:!1};var eV=r(620513),eK=r(344696);let eW={key:"fund-v1",blacklist:["userHoldings","investmentsState"],version:2,timeout:500,transforms:[(0,eA.e)({secretKey:"groww-web-redux-encrypt",onError:console.error})],storage:{getItem:async e=>{try{let t=await (0,eS.KK)(em.o["REDUX-PERSIST"],em.T["REDUX-PERSIST"].FUNDS,300);if(!t)return null;let r=await t.get(e);if(!r)return null;return JSON.stringify(r.value)}catch(e){return console.error("fund getItem -> Error in getting item from indexedDB: ",e),null}},setItem:async(e,t)=>{try{let r=await (0,eS.KK)(em.o["REDUX-PERSIST"],em.T["REDUX-PERSIST"].FUNDS,300);if(!r)return;await r.put({key:e,value:JSON.parse(t)})}catch(e){console.error("fund setItem -> Error in setting item in indexedDB: ",e)}},removeItem:async e=>{try{let t=await (0,eS.KK)(em.o["REDUX-PERSIST"],em.T["REDUX-PERSIST"].FUNDS,300);if(!t)return;await t.delete(e)}catch(e){console.error(e)}}}},eY=(0,ef.A)(eW,ex.Ay),eq=(0,n.HY)({nfo:ev.A,orders:eb.Ay,redeem:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eO,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case ey.K.GET_REDEEM_INPUT_DATA:return ew(e,t);case ey.K.UPDATE_REDEEM_INPUT_DATA:return eC(e,t);case ey.K.UPDATE_REDEEM_SCREEN:return eI(e,t);case ey.K.GET_EXIT_LOAD_DATA:return eR(e,t);case ey.K.PLACE_REDEEM_ORDER:return eN(e,t);case ey.K.RESET_REDEEM_DATA:return eD();default:return e}},compare:eP.Ay,screener:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ek,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case eL.GET_MF_FILTER_DATA:var n=e,a=t;let{payload:o}=a;return(0,i.handle)(n,a,{start:e=>({...e,mfScreenerData:{...e.mfScreenerData,defaultFilters:{filters:{},isLoading:!0,isError:!1}}}),success:e=>({...e,mfScreenerData:{...e.mfScreenerData,defaultFilters:{isLoading:!1,isError:!1,filters:o.data}}}),failure:e=>({...e,mfScreenerData:{...e.mfScreenerData,defaultFilters:{isLoading:!1,isError:!0,filters:{}}}})});case eL.GET_MF_SCREENER_DATA_MSITE:var s,l=e,c=t;let{payload:u,meta:d}=c,{content:f}=null!==(s=null==u?void 0:u.data)&&void 0!==s?s:{};return(0,i.handle)(l,c,{start:e=>({...e,mfScreenerDataMsite:{...e.mfScreenerDataMsite,screenerData:{...e.mfScreenerDataMsite.screenerData,isLoading:!0,isError:!1,hasMore:!1}}}),success:e=>{var t,r;let{clearReduxData:n}=d,i=!((null==f?void 0:f.length)<15);return{...e,mfScreenerDataMsite:{...e.mfScreenerDataMsite,screenerData:{isLoading:!1,isError:!1,hasMore:i,content:n?f:[...null===(r=e.mfScreenerDataMsite)||void 0===r?void 0:null===(t=r.screenerData)||void 0===t?void 0:t.content,...f]}}}},failure:e=>({...e,mfScreenerDataMsite:{...e.mfScreenerDataMsite,screenerData:{content:[],isLoading:!1,hasMore:!1,isError:!0}}})});default:return e}},watchlist:eM.A,sipDetails:eF.A,productPage:eU.A,portfolioInsights:eV.Ay,explorePageSections:eK.Ay,investments:eY,cart:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ej,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)(eB.r.GET_CART_ITEMS).inProgress:return{...e,getCartItems:{...e.getCartItems,loading:!0},isFetched:!0};case(0,s.V)(eB.r.GET_CART_ITEMS).success:return{...e,getCartItems:{...e.getCartItems,loading:!1,data:n},isFetched:!0};case(0,s.V)(eB.r.GET_CART_ITEMS).failure:return{...e,getCartItems:{...e.getCartItems,loading:!1,error:null==n||n},isFetched:!1};case(0,s.V)(eB.r.ADD_CART_ITEM).inProgress:return{...e,addCartItem:{...e.addCartItem,loading:!0}};case(0,s.V)(eB.r.ADD_CART_ITEM).success:return{...e,addCartItem:{...e.addCartItem,loading:!1},getCartItems:{...e.getCartItems,data:[...n,...e.getCartItems.data]}};case(0,s.V)(eB.r.REMOVE_CART_ITEM).inProgress:return{...e,removeCartItem:{...e.removeCartItem,loading:!0}};case(0,s.V)(eB.r.REMOVE_CART_ITEM).success:return{...e,removeCartItem:{...e.removeCartItem,loading:!1},getCartItems:{...e.getCartItems,data:(0,eH.hC)(e,n)}};case(0,s.V)(eB.r.REMOVE_CART_ITEM).failure:return{...e,removeCartItem:{...e.removeCartItem,loading:!1,error:n}};case(0,s.V)(eB.r.UPDATE_CART_ITEM).inProgress:return{...e,updateCartItem:{...e.updateCartItem,loading:!0}};case(0,s.V)(eB.r.UPDATE_CART_ITEM).success:return{...e,updateCartItem:{...e.updateCartItem,loading:!1},getCartItems:{...e.getCartItems,data:(0,eH.a0)(e,n)}};case(0,s.V)(eB.r.UPDATE_CART_ITEM).failure:return{...e,updateCartItem:{...e.updateCartItem,loading:!1,error:n}};case eB.r.ADD_CART_ITEM_IN_STATE:return{...e,getCartItems:{...e.getCartItems,data:[n,...e.getCartItems.data]}};case eB.r.CLEAR_CART:return{...e,...ej,isFetched:!0};case eB.r.REMOVE_LAST_ITEM:return{...e,getCartItems:{...e.getCartItems,data:e.getCartItems.data.slice(1)}};default:return e}}});var ez=r(138239),eX=r(911464),e$=r(630784),eQ=function(e){return e.REGULAR_ORDER="REGULAR_ORDER",e.STOPLOSS_ORDER="STOPLOSS_ORDER",e.COVER_ORDER="COVER_ORDER",e.GTT_ORDER="GTT_ORDER",e}({}),eJ=r(793392);let eZ={screen:"",prevScreen:"",companyName:"",searchId:"",isin:"",code:"",isFnoListedStock:!1,isinData:{},onOrderCompleteCB:()=>{},requiredAmount:0,buySell:{actionType:"",exchange:eJ.x.EXCHANGE.NSE,shareQty:"",orderType:"",limitPrice:"",product:"",triggerPrice:"",advanceOrderType:eQ.REGULAR_ORDER,duration:eJ.x.VALIDITY.DAY,btnLoading:!1,isSmartOrder:!1,showOrderChargesCard:!1,nseTradingSymbol:"",bseTradingSymbol:"",edisAuth:{status:"",remark:""},orderDetails:{}},modifyOrder:{btnLoading:!1,limitPrice:"",triggerPrice:"",shareQty:"",orderType:"",showOrderChargesCard:!1,orderDetails:{}},conversionOrder:{loading:!1,shareQty:"",orderDetails:{},errorType:"INFO",errorText:""},cancelOrder:{loading:!1,errorText:"",orderDetails:{}}},e0={availableToSellDto:{},orderStatusHolder:{},fnoOrderConfig:{},pqrHolder:{},pqrConfig:{symbolIsin:null,exchange:null},isPqrFetching:!1,isPqrError:!1,isInCancelAndExitFlow:!1,pollingStatus:{},basketOrderDto:{ordersResponses:[],isPlacingBasketOrder:!1}};function e1(e,t){for(let r in t)if(!e.hasOwnProperty(r)||e[r]!==t[r])return!1;return!0}({...e0,orderCardInitialState:eZ});var e2=r(81801);let e5=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eZ,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case e2.HF:if(e1(e,n))return{...e};return{...e,...n};case e2.TE:return{...eZ};case e2.Vw:return{...e,prevScreen:e.screen,screen:n};case e2.Hw:return{...e,buySell:{...e.buySell,...n}};case e2.EN:return{...e,modifyOrder:{...e.modifyOrder,...n}};case e2.$k:return{...e,conversionOrder:{...e.conversionOrder,...n}};case e2.kO:return{...e,cancelOrder:{...e.cancelOrder,...n}};default:return e}},e3=function(){var e,t,r;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e0,a=arguments.length>1?arguments[1]:void 0,{type:o,payload:l,meta:c}=a;switch(o){case e$.kF:return{...n,orderStatusHolder:{...n.orderStatusHolder,[l.growwOrderId]:l}};case(0,s.V)(e$.zk).success:return{...n,orderStatusHolder:{...n.orderStatusHolder,[l.growwOrderId]:{...n.orderStatusHolder[l.growwOrderId],...l.data}}};case e$.L0:return{...n,orderStatusHolder:{...n.orderStatusHolder,[l.growwOrderId]:{...null!==(e=n.orderStatusHolder[l.growwOrderId])&&void 0!==e?e:{},...l}}};case e$.Y2:return{...n,orderStatusHolder:{...n.orderStatusHolder,[l.growwOrderId]:{...null!==(t=n.orderStatusHolder[l.growwOrderId])&&void 0!==t?t:{},shouldConsumeSocketUpdate:!1}}};case e$.Fs:return{...n,orderStatusHolder:{...n.orderStatusHolder,[l.growwOrderId]:{...null!==(r=n.orderStatusHolder[l.growwOrderId])&&void 0!==r?r:{},shouldConsumeSocketUpdate:!0}}};case e$.DB:return(0,i.handle)(n,a,{start:e=>e,success:e=>({...e,orderStatusHolder:{...e.orderStatusHolder,[c.gttOrderId]:l.data.orderInfo}}),failure:e=>e});case e$.HD:return(0,i.handle)(n,a,{start:e=>e,success:e=>{let t={...e.orderStatusHolder};
19return l.data.orderSearchResponseDtoList.forEach(e=>{t[e.growwOrderId]=e}),{...e,orderStatusHolder:{...t}}},failure:e=>e});case e$.cm:return(0,i.handle)(n,a,{start:e=>e,success:e=>{let t={...e.orderStatusHolder};return l.data.placedOrders.forEach(e=>{t[null==e?void 0:e.growwOrderId]=e}),l.data.failedOrders.forEach(e=>{t[null==e?void 0:e.growwOrderId]=e}),{...e,orderStatusHolder:{...t}}},failure:e=>e});case(0,s.V)(e$.Gf).success:let{availableToSellDto:u,isin:d,exchange:f}=l;return{...n,availableToSellDto:{...n.availableToSellDto,[d+f]:u}};case(0,s.V)(e$.P3).success:return{...n,availableToSellDto:{}};case e$.q:return{...n,fnoOrderConfig:l};case e$.qB:return(0,i.handle)(n,a,{start:e=>{let{isOnlyCacheble:t}=c;return{...e,isPqrError:!1,isPqrFetching:!t||e.isPqrFetching}},success:e=>{var t,r;let n=e4(e,c,l),{symbolIsin:i,exchange:a}=c,o=null!==(r=null==e?void 0:null===(t=e.pqrHolder)||void 0===t?void 0:t[i])&&void 0!==r?r:{};return{...e,isPqrError:!1,isPqrFetching:!1,pqrConfig:{symbolIsin:i,exchange:a},pqrHolder:{...e.pqrHolder,[i]:{...o,...n}}}},failure:e=>{let{symbolIsin:t,exchange:r}=c;return{...e,isPqrError:!0,isPqrFetching:!1,pqrConfig:{symbolIsin:t,exchange:r},pqrHolder:{...e.pqrHolder,[t]:eX.GU}}}});case e$.Q_:return(0,i.handle)(n,a,{start:e=>{let{isOnlyContractInfoRequired:t}=c;return{...e,isPqrError:!1,isPqrFetching:!t||e.isPqrFetching}},success:e=>{var t,r;let{symbolIsin:n,exchange:i}=c,a=null!==(r=null==e?void 0:null===(t=e.pqrHolder)||void 0===t?void 0:t[n])&&void 0!==r?r:{};return{...e,isPqrError:!1,isPqrFetching:!1,pqrConfig:{symbolIsin:n,exchange:i},pqrHolderRaw:{[n]:{...a,...null!=l?l:{}}}}},failure:e=>{let{symbolIsin:t,exchange:r}=c;return{...e,isPqrError:!0,isPqrFetching:!1,pqrConfig:{symbolIsin:t,exchange:r},pqrHolderRaw:{[t]:eX.GU}}}});case e$.IJ:return(0,i.handle)(n,a,{success:e=>{var t,r;if(e.isPqrFetching)return e;let{symbolIsin:n}=c,i=null!==(r=null==e?void 0:null===(t=e.pqrHolder)||void 0===t?void 0:t[n])&&void 0!==r?r:{};return{...e,isPqrError:!1,isPqrFetching:!1,pqrHolder:{...e.pqrHolder,[n]:{...i,...null!=l?l:{}}}}}});case e$.NJ:{let{symbolIsin:e}=l;return{...n,isPqrError:!1,isPqrFetching:!1,pqrHolder:{...n.pqrHolder,[e]:null}}}case e$.Sx:return{...n,pqrConfig:{symbolIsin:null,exchange:null}};case e$.Et:return(0,i.handle)(n,a,{start:e=>({...e,basketOrderDto:{...e.basketOrderDto,ordersResponses:[],isPlacingBasketOrder:!0}}),success:e=>({...e,basketOrderDto:{...e.basketOrderDto,ordersResponses:l.ordersResponses,isPlacingBasketOrder:!1}}),failure:e=>({...e,basketOrderDto:{...e.basketOrderDto,ordersResponses:[],isPlacingBasketOrder:!1}})});case e$.zy:return{...n,orderStatusHolder:{}};case e$.XQ:return{...n,pollingStatus:{...n.pollingStatus,[c.pollingContext]:l}};case e$.K7:return{...n,isInCancelAndExitFlow:l};default:return n}},e4=(e,t,r)=>{var n,i;let a=null!==(n=r[0])&&void 0!==n?n:{},o=null!==(i=r[1])&&void 0!==i?i:{};return a.intradayPriceFactor||(a.intradayPriceFactor=ez.L),{...a,...o}},e6=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{...e0,orderCardState:eZ},t=arguments.length>1?arguments[1]:void 0;return{...e3(e,t),orderCardState:e5(e.orderCardState,t)}};function e7(e,t){let{minPrice:r,maxPrice:n,minBidQuantity:i,lotSize:a}=(null==t?void 0:t.category)?t:null!=e?e:{};return{minPrice:r,maxPrice:n,minBidQuantity:i,lotSize:a,tickSize:null==e?void 0:e.tickSize}}let e8=e=>{let t=null==e?void 0:e.findIndex(e=>null==e?void 0:e.isCategoryActive);return t>-1?e[t]:null},e9={BUY_SCREEN:"BUY_SCREEN"};var te=r(528321),tt=r(428235),tr=r(482124);let tn={isCutOff:!0,bidPrice:0,bidQty:0},ti={isDematActive:!0,resetToDefault:!1,showShareQtyError:!1,showBidPr
19iceError:!1,errorType:"",errorText:"",paymentInfo:{vpa:""},flowScreen:e9.BUY_SCREEN,currentSelectedBid:1,bids:{1:tn},upiHandlesList:[],showPopupBlocked:!1,isVerifyingVpa:!1,allPaymentVpas:[],isVpaRejectedErr:!1,isVpaVerified:!1,placeIpoOrderLoading:!1,isApplyPopupVisible:!1,selectedIpo:null,selectedCategory:null,source:"",isStateUpdatedWithRoute:!1,categoryConfig:[]};function ta(e,t){return 0===e||0===t?0:Math.floor(tt.DG/e/t)*t}let to=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ti,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;switch(r){case tr.u:return function(e){var t,r;let{state:n,action:i}=e,{maxPrice:a,minBidQuantity:o}=null!==(t=null==i?void 0:i.payload)&&void 0!==t?t:{},s=null!==(r=Object.keys(n.bids).length)&&void 0!==r?r:1;return s>=3?n:{...n,bids:{...n.bids,[s+1]:{...tn,bidPrice:a,bidQty:o}},currentSelectedBid:s+1,showShareQtyError:!1,showBidPriceError:!1,errorType:"",errorText:""}}({state:e,action:t});case tr.tk:return function(e){let{state:t,action:r}=e,{key:n,value:i}=null==r?void 0:r.payload,{currentSelectedBid:a,selectedCategory:o}=t;return{...t,bids:{...t.bids,[a]:{...t.bids[a],[n]:i,...(()=>{let{bidQty:e,bidPrice:r}=t.bids[a];return"bidPrice"===n&&(0,te.US)(o)?{bidPrice:i,bidQty:e}:"bidQty"===n&&(0,te.US)(o)?{bidPrice:r,bidQty:i,isMaxLot:!1}:"bidQty"===n&&(0,te.Iw)(o)?{bidPrice:r,bidQty:i,isMaxLot:!1}:{}})()}}}}({state:e,action:t});case tr.Fh:return function(e){let{state:t}=e,{currentSelectedBid:r,bids:n,selectedCategory:i,selectedIpo:a}=t,{company:o=null}=null!=a?a:{},{maxPrice:s,lotSize:l}=e7(o,i);return{...t,bids:{...n,[r]:{...n[r],isCutOff:!n[r].isCutOff,bidPrice:Number(s),...!n[r].isCutOff&&(0,te.US)(i)&&n[r].isMaxLot?{bidQty:ta(null!=s?s:0,null!=l?l:1)}:{}}}}}({state:e,action:t});case tr.Yf:return function(e){let{state:t}=e,{currentSelectedBid:r,bids:n,selectedCategory:i,selectedIpo:a}=t,{company:o=null}=null!=a?a:{},{lotSize:s,minBidQuantity:l}=e7(o,i),c=null!=s?s:NaN,{isMaxLot:u,bidPrice:d}=n[r],f={errorType:"",errorText:"",showShareQtyError:!1,showBidPr
19iceError:!1};return(0,te.US)(i)?{...t,...f,bids:{...n,[r]:{...n[r],isMaxLot:!u,bidQty:u?0===d||0===c?0:Math.ceil(tt.KI/d/c)*c:ta(d,c)}}}:(0,te.Iw)(i)?{...t,...f,bids:{...n,[r]:{...n[r],isMaxLot:!u,bidQty:u?null!=l?l:0:0===d||0===c?0:Math.floor(tt.KI/d/c)*c}}}:t}({state:e,action:t});case tr.eF:return function(e){let{state:t}=e,{isApplyPopupVisible:r}=t;return{...t,isApplyPopupVisible:!r}}({state:e,action:t});case tr.Bd:return function(e){let{state:t}=e,{showPopupBlocked:r}=t;return{...t,showPopupBlocked:!r}}({state:e,action:t});case tr.BI:return function(e){let{state:t,action:r}=e,{payload:n}=r,{currentSelectedBid:i}=n;return{...t,currentSelectedBid:Number(i)}}({state:e,action:t});case tr.J:return function(e){let{state:t}=e,{currentSelectedBid:r,bids:n}=t,i=r-1;if(void 0===n[r+1]&&i--,1===Object.keys(n).length)return t;let a=(0,p.n)(n,[r.toString()]);return a=function(e,t){for(let r=t+1;r<=3;r++){let n=e[r];if(n){let i={...n};delete e[r],e[t]=i,t++}}return e}(a,Number(r)),{...t,currentSelectedBid:Number(Object.keys(null!=a?a:{})[i]),bids:a,errorText:""}}({state:e,action:t});case tr.UC:return function(e){var t;let{state:r,action:n}=e,{payload:i}
19=n,{showShareQtyError:a=!1,showBidPriceError:o=!1,errorType:s="",errorText:l=""}=null!==(t=null==i?void 0:i.bidErrorData)&&void 0!==t?t:{};return{...r,showShareQtyError:a,showBidPriceError:o,errorType:s,errorText:l}}({state:e,action:t});case tr.fs:return function(e){var t,r;let{state:n,action:i}=e,{selectedIpo:a,source:o}=null!==(t=null==i?void 0:i.payload)&&void 0!==t?t:{},{company:s}=null!=a?a:{},l=e8(null!==(r=null==s?void 0:s.categories)&&void 0!==r?r:[]),{maxPrice:c,minBidQuantity:u}=e7(s,l);return{...n,selectedCategory:l,selectedIpo:a,source:o,isStateUpdatedWithRoute:!0,bids:{1:{...tn,bidPrice:c,bidQty:u}},flowScreen:e9.BUY_SCREEN,paymentInfo:{vpa:""},currentSelectedBid:1,showShareQtyError:!1,showBidPriceError:!1,errorType:"",errorText:"",isApplyPopupVisible:!1}}({state:e,action:t});case tr.Ls:return function(e){let{state:t,action:r}=e,{flowScreen:n}=null==r?void 0:r.payload;return{...t,flowScreen:n}}({state:e,action:t});case tr.Wi:return function(e){let{state:t,action:r}=e,{upiHandlesList:n}=null==r?void 0:r.payload;return{...t,upiHandlesList:n}}({state:e,action:t});case tr.zc:return function(e){let{state:t,action:r}=e,{allPaymentVpas:n}=null==r?void 0:r.payload;return{...t,allPaymentVpas:n}}({state:e,action:t});case tr.T9:return function(e){let{state:t,action:r}=e,{vpa:n}=null==r?void 0:r.payload;return{...t,paymentInfo:{vpa:n}}}({state:e,action:t});case tr.SC:return function(e){let{state:t,action:r}=e,{data:n}=null==r?void 0:r.payload;return{...t,...n}}({state:e,action:t});case tr.Od:return function(e){let{state:t,action:r}=e,{selectedCategory:n}=null==r?void 0:r.payload,{isApplyPopupVisible:i,selectedIpo:a}=t,{company:o=null}=null!=a?a:{},{maxPrice:s,minBidQuantity:l,lotSize:c}=e7(o,n);return{...t,selectedCategory:n,isApplyPopupVisible:!i,bids:{1:{...tn,bidPrice:s,...(0,te.US)(n)?{isMaxLot:!0,bidQty:ta(null!=s?s:1,null!=c?c:1)}:{bidQty:l}}}
19,currentSelectedBid:1,showShareQtyError:!1,showBidPriceError:!1,errorType:"",errorText:""}}({state:e,action:t});case tr.wP:return function(e){let{state:t,action:r}=e,{selectedCategory:n}=null==r?void 0:r.payload,{currentSelectedBid:i,bids:a}=t;return{...t,selectedCategory:n,showShareQtyError:!1,showBidPriceError:!1,errorType:"",errorText:"",bids:{...a,[i]:{...a[i],isMaxLot:!1}}}}({state:e,action:t});case tr.In:return function(e){let{state:t}=e;return{...t,isDematActive:!1}}({state:e,action:t});case tr.sp:return function(e){let{state:t,action:r}=e,{categoryConfig:n}=null==r?void 0:r.payload;return{...t,categoryConfig:n}}({state:e,action:t});case tr.eH:return function(e){let{state:t}=e,{resetToDefault:r}=t;return{...t,resetToDefault:!r}}({state:e,action:t});default:return e}};var ts=r(271192),tl=r(224880),tc=r(875685),tu=r(381843),td=r(283926),tf=r(701570),th=r(531614),tp=r(855620),tE=r.n(tp);let t_={MARKET_OPEN:"MARKET_OPEN"};var tg=r(119855),tS=r(773745),tm=r(272913),tA=r(694911),tv=r(386894),tb=r(145658),tT=r(243259),ty=r(280845);let tO=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ty.m,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;return r===tT.x?(0,i.handle)(e,t,{start:e=>({...e,isLoading:!0,error:null}),success:e=>{var t;return{...e,isLoading:!1,error:null,data:null===(t=n.data)||void 0===t?void 0:t.sgbDetailsMap}},failure:e=>({...e,isLoading:!1,error:n.toString()})}):e};var tw=r(141508),tC=r(368414),tI=r(614844),tR=r(723293);let tN=e=>{let{payload:t,prevRecords:r,clearPreviousScreenerData:n}=e;n=null==n||n;let i={},a=(null==r?void 0:r.length)>0?r:[];return n?t.data:{records:[...a,...t.data.records],totalRecords:t.data.totalRecords}},tD={mergeWith:(e,t)=>{let{desktop:r,msite:i,charts:a}=t;switch("desktop"){case l.Eg.DESKTOP:if(!(0,p.a)(r))return(0,n.HY)({...e,...r});return(0,n.HY)({...e});case l.Eg.MSITE:if(!(0,p.a)(i))return(0,n.HY)({...e,...i});return(0,n.HY)({...e});case l.Eg.CHARTS:if(!(0,p.a)(a))return(0,n.HY)({...e,...a});return(0,n.HY)({...e});default:return(0,n.HY)({...e})}},persist:(e,t)=>{let{desktop:r,msite:n,charts:i}=t;switch("desktop"){case l.Eg.DESKTOP:if(!(0,p.a)(r)){if((0,p.a)(null==r?void 0:r.config)||(0,p.a)(null==r?void 0:r.persist)||!(null==r?void 0:r.config)||!e)return e;return(0,ef.A)(r.config,e)}return e;case l.Eg.MSITE:if(!(0,p.a)(n)){if((0,p.a)(null==n?void 0:n.config)||(0,p.a)(null==n?void 0:n.persist)||!(null==n?void 0:n.config)||!e)return e;return(0,ef.A)(n.config,e)}return e;case l.Eg.CHARTS:if(!(0,p.a)(i)){if((0,p.a)(null==i?void 0:i.config)||(0,p.a)(null==i?void 0:i.persist)||!(null==i?void 0:i.config)||!e)return e;return(0,ef.A)(i.config,e)}return e;default:return e}}};var tP=r(107353),tL=r(323175),tk=r(618504);let tM=e=>{var t,r,n,i;if((0,p.a)(e))return{};let{cfCreditQty:a,cfDebitQty:o}=null!=e?e:{},s=Number(null!==(t=null==e?void 0:e.buyQty)&&void 0!==t?t:0),l=Number(null!==(r=null==e?void 0:e.sellQty)&&void 0!==r?r:0),c=Number(null!==(n=null==e?void 0:e.buyAmount)&&void 0!==n?n:0),u=Number(null!==(i=null==e?void 0:e.sellAmount)&&void 0!==i?i:0);return{creditQty:s,debitQty:l,creditPrice:c&&s?c/s:0,debitPrice:u&&l?u/l:0,totalCreditAmount:c,totalDebitAmount:u,cfCreditQty:Number(null!=a?a:0),cfDebitQty:Number(null!=o?o:0)}},tF=(e,t)=>{var r,n,i,a,o,s,l,c,u,d,f,h,E,_;let{position:g,updatedAt:S}=e,{symbolData:m}=t||{},{exchangePosition:A}=null!=g?g:{},{BSE:v,NSE:b}=null!==(r=t.positionInfo.exchangePosition)&&void 0!==r?r:{},T=Number(null!==(n=null==g?void 0:g.buyQty)&&void 0!==n?n:0),y=Number(null!==(i=null==g?void 0:g.sellQty)&&void 0!==i?i:0),O=Number(null!==(a=null==g?void 0:g.sellAmount)&&void 0!==a?a:0),w=Number(null!==(o=null==g?void 0:g.buyAmount)&&void 0!==o?o:0),C=T-y,I=function(e){let{averageBuyValue:t,averageSellValue:r,netQty:n}=e;return n?n>0?t:r:0}({averageBuyValue:w&&T?w/T:0,averageSellValue:O&&y?O/y:0,netQty:C}),R=tM(null==A?void 0:A.BSE),N=tM(null==A?void 0:A.NSE),{BSE:D,NSE:P}=null!=A?A:{},L=(0,p.a)(D),k=(0,p.a)(P),M="number"==typeof S?S:S.toNumber(),F=!v||null==v.updatedAt||v.updatedAt<=M,x=!b||null==b.updatedAt||b.updatedAt<=M,U=tx(F,L,v,R,M),B=tx(x,k,b,N,M);return{livePrice:{ltp:null,close:null},symbolData:m,positionInfo:{...t.positionInfo||{},netQuantity:C,netPriceValue:I,netOpenCreditQty:Number(null!==(s=null==g?void 0:g.netOpenCreditQty)&&void 0!==s?s:0),netOpenCreditAmount:Number(null!==(l=null==g?void 0:g.netOpenCreditAmount)&&void 0!==l?l:0),netOpenDebitQty:Number(null!==(c=null==g?void 0:g.netOpenDebitQty)&&void 0!==c?c:0),netOpenDebitAmount:Number(null!==(u=null==g?void 0:g.netOpenDebitAmount)&&void 0!==u?u:0),netClosedQty:Number(null!==(d=null==g?void 0:g.netClosedQty)&&void 0!==d?d:0),netClosedCreditAmount:Number(null!==(f=null==g?void 0:g.netClosedCreditAmount)&&void 0!==f?f:0),netClosedDebitAmount:Number(null!==(h=null==g?void 0:g.netClosedDebitAmount)&&void 0!==h?h:0),netCfCreditQuantity:Number(null!==(E=null==g?void 0:g.netCfCreditQuantity)&&void 0!==E?E:0),netCfCreditAmount:Number(null!==(_=null==g?void 0:g.netCfCreditAmount)&&void 0!==_?_:0),exchangePosition:{BSE:{...null!=v?v:{},...U},NSE:{...null!=b?b:{},...B}}}}},tx=(e,t,r,n,i)=>{var a,o,s,l;if(!e)return{};let c=t?r:n;return{creditQty:null!==(a=null==c?void 0:c.creditQty)&&void 0!==a?a:0,creditPrice:null!==(o=null==c?void 0:c.creditPrice)&&void 0!==o?o:0,debitQty:null!==(s=null==c?void 0:c.debitQty)&&void 0!==s?s:0,debitPrice:null!==(l=null==c?void 0:c.debitPrice)&&void 0!==l?l:0,updatedAt:t?r.updatedAt:i}},tU=(e,t)=>tF(e,t),tB=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tL.u.holdingsByIsin,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)(tP.O_).success:var i;return null===(i=n.holdings)||void 0===i?void 0:i.reduce((e,t)=>
19{var r;return{...e,[null==t?void 0:null===(r=t.symbolData)||void 0===r?void 0:r.symbolIsin]:t}},{});case(0,s.V)(tP.Et).success:{let{isin:t,data:r}=n;return{...e,[t]:r}}default:return e}},tH=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tL.u.gtt,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:a}=t;switch(r){case tP.dp:return(0,i.handle)(e,t,{start:e=>({...e,stocks:{...null==e?void 0:e.stocks,isStocksGttOrdersFailure:!1,isStocksGttOrdersFetching:!(null==a?void 0:a.secondCall)}}),success:e=>({...e,stocks:{isStocksGttOrdersFailure:!1,isStocksGttOrdersFetching:!1,orders:[...n.data.orderList]}}),failure:e=>({...e,stocks:{...null==e?void 0:e.stocks,isStocksGttOrdersFailure:!0,isStocksGttOrdersFetching:!1}})});case(0,s.V)(tP.PF).inProgress:return{...e,fno:{...e.fno,isFnoGttOrdersFailure:n.isCalledFromErrorState,isFnoGttOrdersFetching:!(null==n?void 0:n.secondCall)}};case(0,s.V)(tP.PF).success:return{...e,fno:{isFnoGttOrdersFailure:!1,isFnoGttOrdersFetching:!1,orders:[...n]}};case(0,s.V)(tP.PF).failure:return{...e,fno:{...e.fno,isFnoGttOrdersFailure:!0,isFnoGttOrdersFetching:!1}};default:return e}},tG=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tL.u.oco,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)(tP.H).inProgress:return{...e,fno:{...e.fno,isFnoOcoOrdersFailure:n.isCalledFromErrorState,isFnoOcoOrdersFetching:!(null==n?void 0:n.secondCall)}};case(0,s.V)(tP.H).success:return{...e,fno:{...e.fno,isFnoOcoOrdersFailure:!1,isFnoOcoOrdersFetching:!1,orders:[...n.orders],pendingPrimaryOrders:[...n.pendingPrimaryOrders]}};case(0,s.V)(tP.H).failure:return{...e,fno:{...e.fno,isFnoOcoOrdersFailure:!0,isFnoOcoOrdersFetching:!1}};default:return e}},tj=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tL.u.todayOrders,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:a}=t;switch(r){case tP.OS:return(0,i.handle)(e,t,{start:e=>({...e,stocks:{...null==e?void 0:e.stocks,isStocksTodayOrdersFailure:!1,isStocksTodayOrdersFetching:!a.secondCall}}),success:e=>{var t;return{...e,stocks:{isStocksTodayOrdersFailure:!1,isStocksTodayOrdersFetching:!1,orders:[...n.data.orderList],totalOpenOrdersCount:null!==(t=n.data.totalOpenOrdersCount)&&void 0!==t?t:n.data.orderList.length}}},failure:e=>({...e,stocks:{...null==e?void 0:e.stocks,isStocksTodayOrdersFailure:!0,isStocksTodayOrdersFetching:!1}})});case tP.lc:return(0,i.handle)(e,t,{start:e=>({...e,fno:{...null==e?void 0:e.fno,isFnoTodayOrdersFailure:a.isCalledFromErrorState,isFnoTodayOrdersFetching:!a.secondCall}}),success:e=>{var t;return{...e,fno:{isFnoTodayOrdersFailure:!1,isFnoTodayOrdersFetching:!1,orders:[...n.data.orderList],totalOpenOrdersCount:null!==(t=n.data.totalOpenOrdersCount)&&void 0!==t?t:n.data.orderList.length}}},failure:e=>({...e,fno:{...null==e?void 0:e.fno,isFnoTodayOrdersFailure:!0,isFnoTodayOrdersFetching:!1}})})}return e},tV=tD.mergeWith({stock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tL.u.stockDashboard,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)(tP.O_).inProgress:return{...e,isFetching:!t.payload.secondCall,isFetchingHoldings:!t.payload.secondCall,isFailure:!1,isRefreshed:!1};case(0,s.V)(tP.O_).success:return{...e,...n,isFetching:!1,isFailure:!1,isRefreshed:!0,isFetchingHoldings:!1};case(0,s.V)(tP.O_).failure:return{...e,isFetching:!1,isFailure:!0,isRefreshed:!0,isFetchingHoldings:!1};case(0,s.V)(tP.DK).success:return{...e,...n,isFetching:!1};case(0,s.V)(tP.DK).inProgress:return{...e,isFetching:!t.payload.secondCall,isFailure:!1};case(0,s.V)(tP.DK).failure:return{...e,isFetching:!1,isFailure:!0};case(0,s.V)(tP.AH).inProgress:return{...e,isFetching:!t.payload.secondCall,isFailure:t.payload.isCalledFromErrorState,isFetchingPositions:!0};case(0,s.V)(tP.AH).success:return{...e,...n,isFetching:!1,isFetchingPositions:!1,isFailure:!1};case(0,s.V)(tP.AH).failure:return{...e,isFetching:!1,isFailure:!0,isFetchingPositions:!1};case(0,s.V)(tP.mx).inProgress:return{...e,isFetchingLivePriceForHoldings:!0,isLivePriceFetchFailure:!1};case(0,s.V)(tP.mx).success:let a=[...e.holdings];for(let e=0;e<a.length;e++){let{bseScripCode:t,nseScripCode:r}=a[e].symbolData;(0,p.a)(r)?(0,p.a)(n[t])||(a[e].livePrice=n[t]):(0,p.a)(n[r])||(a[e].livePrice=n[r])}return{...e,holdings:a,isFetchingLivePriceForHoldings:!1};case(0,s.V)(tP.mx).failure:return{...e,isLivePriceFetchFailure:!0,isFetchingLivePriceForHoldings:!1};case tP.KS:return(0,i.handle)(e,t,{start:e=>({...e,mtfShortfallDetails:{...e.mtfShortfallDetails,isUserInShortfall:!1,data:{}}
19,mtfConversionDetails:{...e.mtfConversionDetails},mtfHaircutDetails:{...e.mtfHaircutDetails},mtfOneDayReturnDetails:{...e.mtfOneDayReturnDetails},mtfCorporateActions:{...e.mtfCorporateActions}}),success:e=>{var t,r,i,a,o,s,l,c,u,d,f,h,p,E;return{...e,mtfShortfallDetails:{...e.mtfShortfallDetails,isUserInShortfall:null==n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.shortfallDetail)||void 0===t?void 0:t.isUserShortfall,data:null!==(d=null==n?void 0:null===(a=n.data)||void 0===a?void 0:null===(i=a.shortfallDetail)||void 0===i?void 0:i.data)&&void 0!==d?d:{}},mtfConversionDetails:{...null!==(f=null==n?void 0:null===(o=n.data)||void 0===o?void 0:o.conversionDetails)&&void 0!==f?f:{}},mtfHaircutDetails:{...null!==(h=null==n?void 0:null===(s=n.data)||void 0===s?void 0:s.haircutDetails)&&void 0!==h?h:{}},mtfOneDayReturnDetails:{...null!==(p=null==n?void 0:null===(l=n.data)||void 0===l?void 0:l.oneDayReturnDetails)&&void 0!==p?p:{}},mtfCorporateActions:{mtfCaDetailsMap:{...null!==(E=null==n?void 0:null===(u=n.data)||void 0===u?void 0:null===(c=u.caDetails)||void 0===c?void 0:c.mtfCaDetailsMap)&&void 0!==E?E:{}}}}},failure:e=>({...e,mtfShortfallDetails:{...e.mtfShortfallDetails,isUserInShortfall:!1,data:{}},mtfConversionDetails:{...e.mtfConversionDetails},mtfHaircutDetails:{...e.mtfHaircutDetails},mtfOneDayReturnDetails:{...e.mtfOneDayReturnDetails},mtfCorporateActions:{...e.mtfCorporateActions}})});case tP.RT:{let t=n.position,r=[...e.positions].map(e=>{var r;return e.symbolData.symbolIsin===(null===(r=t.symbolData)||void 0===r?void 0:r.symbolIsin)?tU(t,e):e});return{...e,positions:(0,tk.w)(r)}}default:return e}},fno:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tL.u.fnoDashboard,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)(tP.Gz).inProgress:return{...e,isFnoFetching:!n.secondCall,isFnoFailure:n.isCalledFromErrorState};case(0,s.V)(tP.Gz).success:return{...e,...n,isFnoFetching:!1,isFnoFailure:!1};case(0,s.V)(tP.Gz).failure:return{...e,isFnoFetching:!1,isFnoFailure:!0};case(0,s.V)(tP._T).success:return{...e,...n,isFnoFetching:!1,isFnoFailure:!1,isFetchingFnoOpenOrders:!1};case(0,s.V)(tP._T).inProgress:return{...e,isFnoFetching:!n.secondCall,isFnoFailure:n.isCalledFromErrorState,isFetchingFnoOpenOrders:!n.secondCall};case(0,s.V)(tP._T).failure:return{...e,isFnoFetching:!1,isFnoFailure:!0,isFetchingFnoOpenOrders:!1};case(0,s.V)(tP.Uq).inProgress:return{...e,isFnoFetching:!n.secondCall,isFnoFailure:n.isCalledFromErrorState,isFnoPositionsFailure:n.isCalledFromErrorState,isFetchingFnoPosition:!n.secondCall};case(0,s.V)(tP.Uq).success:return{...e,...n,isFnoFetching:!1,isFetchingFnoPosition:!1,isFnoFailure:!1,isFnoPositionsFailure:!1};case(0,s.V)(tP.Uq).failure:return{...e,isFnoFetching:!1,isFnoFailure:!0,isFnoPositionsFailure:!0,isFetchingFnoPosition:!1};default:return e}}},{desktop:{holdingsByIsin:tB,gtt:tH,oco:tG,todayOrders:tj},charts:{holdingsByIsin:tB,gtt:tH,oco:tG,todayOrders:tj}});var tK=r(236044),tW=r(118404),tY=r(978265),tq=r(510388);let tz={loading:!1,data:null,primaryData:null,etfNfoData:null,error:!1};var tX=r(877894),t$=r(754130),tQ=r(776470),tJ=r(594978);let tZ={key:"stock-v1",whitelist:["investments","userPreference"],version:2,timeout:500,transforms:[(0,eA.e)({secretKey:"groww-web-redux-encrypt",onError:console.error})],storage:{getItem:async e=>{try{let t=await (0,eS.KK)(em.o["REDUX-PERSIST"],em.T["REDUX-PERSIST"].STOCKS,300);if(!t)return null;let r=await (null==t?void 0:t.get(e));if(!r)return null;return JSON.stringify(r.value)}catch(e){return console.error("getItem -> Error in getting item from indexedDB: ",e),null}},setItem:async(e,t)=>{try{let r=await (0,eS.KK)(em.o["REDUX-PERSIST"],em.T["REDUX-PERSIST"].STOCKS,300);if(!r)return;await r.put({key:e,value:JSON.parse(t)})}catch(e){console.error("setItem -> Error in setting item in indexedDB: ",e)}},removeItem:async e=>{try{let t=await (0,eS.KK)(em.o["REDUX-PERSIST"],em.T["REDUX-PERSIST"].STOCKS,300);if(!t)return;await t.delete(e)}catch(e){console.error("removeItem -> Error in removing item from indexedDB: ",e)}}}},t0=tD.mergeWith({investments:tV,exploreData:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tl.D,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)(ts.K).inProgress:{let t={};
19return n.discoveryTypes.forEach(e=>{t[e]=!0}),{...e,loader:t}}case(0,s.V)(ts.K).success:{let t={hasMore:!1},r={};return n.discoveryTypes.forEach(e=>{var i;(null===(i=n.data[e])||void 0===i?void 0:i.length)>0?(t.hasMore=!0,t[e]=n.data[e],r[e]=!1):t.hasMore=!1}),{...e,companyList:{...e.companyList,...t},loader:r}}case(0,s.V)(ts.K).failure:{let t={};return n.discoveryTypes.forEach(e=>{t[e]=!1}),{...e,dataError:!0,loader:t}}default:return e}},livePrices:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tu.I,t=arguments.length>1?arguments[1]:void 0,r=(0,td.W2)()?performance.now():0,n={},{type:i,payload:a}=t;switch(i){case(0,s.V)(tc.E3).success:if(n[a.symbol]=a.data,e[a.symbol])return e[a.symbol]={...e[a.symbol],...a.data},{...e};return{...e,...n};case(0,s.V)(tc.TB).success:let o={...a},l=Date.now(),c=performance.now();return Object.keys(a).forEach(e=>{"object"==typeof o[e]&&null!==o[e]&&(o[e].receivedAt=l,o[e].receivedAtPerfMark=c,o[e].tsInMillis=1e3*o[e].tsInMillis)}),{...e,...o};case(0,s.V)(tc.BC).success:var u,d,f;if(e[a.symbol]&&(null===(u=e[a.symbol])||void 0===u?void 0:u.tsInMillis)&&(null===(d=e[a.symbol])||void 0===d?void 0:d.tsInMillis)>(null===(f=a.data)||void 0===f?void 0:f.tsInMillis))return r&&(0,td.pE)("reducer",performance.now()-r),e;return n[a.symbol]={...e[a.symbol],...a.data},r&&(0,td.pE)("reducer",performance.now()-r),{...e,...n};default:return e}},marketDepth:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:th.z,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:a}=t;switch(r){case tf.O:return(0,i.handle)(e,t,{success:e=>(e[a.symbol]={...null==e?void 0:e[a.symbol],...n.data},{...e})});case(0,s.V)(tf.f).success:var o,l,c;let u=null==n?void 0:n.symbol,d=(null===(o=e[u])||void 0===o?void 0:o.buyBook)||{},f=(null===(l=e[u])||void 0===l?void 0:l.sellBook)||{};if((null==n?void 0:null===(c=n.livePoint)||void 0===c?void 0:c.tsInMillis)<e.tsInMillis)return e;let h={...e};if(n.livePoint){let e=n.livePoint.sellBook,t=n.livePoint.buyBook;(0,p.a)(e)||Object.keys(e).map(t=>{f[t]&&e[t].price&&(f[t].price=e[t].price),f[t]&&e[t].qty&&(f[t].qty=e[t].qty)}),(0,p.a)(t)||Object.keys(t).map(e=>{d[e]&&t[e].price&&(d[e].price=t[e].price),d[e]&&t[e].qty&&(d[e].qty=t[e].qty)})}return h[u]={...n.livePoint,buyBook:d,sellBook:f},{...e,...h};default:return e}},marketStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tS.E,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case tg.kc:return(0,i.handle)(e,t,{start:e=>({...e,isMarketStatusLoading:!0}),success:e=>tE()(e,n)?{...e,isMarketStatusLoading:!1}:{...e,isMarketStatusLoading:!1,hasMarketStatusFetched:!0,...n},failure:e=>({...e,isMarketStatusLoading:!1,hasMarketStatusFetched:!1})});case tg.JK:let{message:a}=n,o=a===t_.MARKET_OPEN;return{...e,isStockMarketOpen:o};case tg.Nt:let{preMarketOpen:s}=n;return{...e,todaysMarketConfig:{...e.todaysMarketConfig,preMarketOpen:s}};default:return e}},marketTrends:function(){let e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tA.i,n=arguments.length>1?arguments[1]:void 0,{type:i,payload:a}=n;switch(i){case(0,s.V)(tm.D).inProgress:return e={...r.isLoading},t={...r.isError},a.discoveryTypes.map(r=>{e[r]=!0,t[r]=!1}),{...r,isError:t,isLoading:e};case(0,s.V)(tm.D).success:let o={};e={...r.isLoading},t={...r.isError};let{discoveryTypes:l,categoryResponseMap:c}=null!=a?a:{};l.forEach(t=>{var r,n;(null===(n=c[t])||void 0===n?void 0:null===(r=n.items)||void 0===r?void 0:r.length)&&(o[t]=c[t]),e[t]=!1});let u={...r.data,...o};return{...r,isError:t,isLoading:e,data:u};case(0,s.V)(tm.D).failure:let d={...r.data};return e={...r.isLoading},t={...r.isError},a.discoveryTypes.map(r=>{e[r]=!1,t[r]=!0,d[r]={}}),{...r,isError:t,isLoading:e,data:d};default:return r}},onboardingStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tb.d,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;return r===tv.j?(0,i.handle)(e,t,{start:e=>({...e,onboardingLoading:!0,onboardingError:null}),success:e=>({...e,onboardingLoading:!1,onboardingStatus:null==n?void 0:n.stocks_status,fnoOnboardingStatus:null==n?void 0:n.fno_status}),failure:e=>({...e,onboardingLoading:!1,onboardingError:n.toString()})}):e},sparkLine:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tI.x,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;return r===tw.S?(0,i.handle)(e,t,{success:e=>{let{data:t}=n;return{...e,data:{...e.data,...(0,tC.Yr)(t.exchangeAggRespMap)},error:!1}},failure:e=>({...e,error:!0})}):e},stockSip:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t$.A,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case tX.TF:return(0,i.handle)(e,t,{start:e=>({...e,dashboard:{...e.dashboard,isFetching:!0,isError:!1}}),success:e=>({...e,dashboard:{...e.dashboard,isFetching:!1,isError:!1,page:e.dashboard.page+1,activeStockSips:[...n.data.activeSips]}}),failure:e=>({...e,dashboard:{...e.dashboard,isError:!0,isFetching:!1}})});
19case tX.xm:return(0,i.handle)(e,t,{start:e=>({...e,dashboard:{...e.dashboard,activeStockSipsCount:{...e.dashboard.activeStockSipsCount,isFetching:!0,isError:!1}}}),success:e=>{var t;return{...e,dashboard:{...e.dashboard,activeStockSipsCount:{count:null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.activeSipsCount,isFetching:!1,isError:!1}}}},failure:e=>({...e,dashboard:{...e.dashboard,activeStockSipsCount:{...e.dashboard.activeStockSipsCount,isFetching:!1,isError:!0}}})});case tX._4:return(0,i.handle)(e,t,{start:e=>({...e,dashboard:{...e.dashboard,isFetchingMore:!0,isFetchingMoreError:!1}}),success:e=>{let t=e.dashboard.activeStockSips;return{...e,dashboard:{...e.dashboard,isFetchingMore:!1,isFetchingMoreError:!1,page:e.dashboard.page+1,activeStockSips:[...t,...n.data.activeSips]}}},failure:e=>({...e,dashboard:{...e.dashboard,isFetchingMore:!1,isFetchingMoreError:!0}})});case tX.tw:return(0,i.handle)(e,t,{success:e=>{var t;return{...e,dashboard:{...e.dashboard,isError:!1,activeStockSips:[...null!==(t=n.data.activeSips)&&void 0!==t?t:[]]}}}});case tX.Fu:return(0,i.handle)(e,t,{start:e=>({...e,dashboard:{...e.dashboard,messageBoard:{...e.dashboard.messageBoard,isFetching:!0,isError:!1}}}),success:e=>({...e,dashboard:{...e.dashboard,messageBoard:{...e.dashboard.messageBoard,isFetching:!1,isError:!1,data:n.data}}}),failure:e=>({...e,dashboard:{...e.dashboard,messageBoard:{...e.dashboard.messageBoard,isFetching:!1,isError:!0}}})});case tX.v_:return{...e,dashboard:{...e.dashboard,activeStockSips:[],page:0,actionStockSipsCount:{count:0,isFetching:!1,isError:!1},messageBoard:{...e.dashboard.messageBoard,data:null}}};default:return e}},stockSipDetail:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tJ.L,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case tQ.BT:return(0,i.handle)(e,t,{start:e=>({...e,isError:!1,isFetching:!0,sipDetail:null}),success:e=>({...e,isFetching:!1,isError:!1,sipDetail:n.data}),failure:e=>({...e,isError:!0,isFetching:!1,sipDetail:null})});case tQ.qi:return(0,i.handle)(e,t,{start:e=>({...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,pastOrders:[],lastFetchedOrderId:"",isFetchError:!1,isFetching:!0}}),success:e=>{let{payload:r}=t,{data:n}=r,i=[...(null==n?void 0:n.orders)||[]],a=0===i.length;return{...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,pastOrders:i,lastFetchedOrderId:i.length?i[i.length-1].orderReferenceId:"",isFetchError:!1,isFetching:!1,hasMoreOrders:!a}}},failure:e=>({...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,pastOrders:[],lastFetchedOrderId:"",isFetchError:!0,isFetching:!1}})});case tQ.m9:return(0,i.handle)(e,t,{start:e=>({...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,isMoreOrdersFetchError:!1,isMoreOrdersFetching:!0}}),success:e=>{var r;let{payload:n}=t,{data:i}=n,{sipDetailPreviousOrders:a}=e,o=[...a.pastOrders,...(null==i?void 0:i.orders)||[]],s=!(null==i?void 0:null===(r=i.orders)||void 0===r?void 0:r.length);return{...e,sipDetailPreviousOrders:{...a,pastOrders:[...o],lastFetchedOrderId:o.length?o[o.length-1].orderReferenceId:"",hasMoreOrders:!s,isMoreOrdersFetchError:!1,isMoreOrdersFetching:!1,page:(null==a?void 0:a.page)+1}}},failure:e=>{let{sipDetailPreviousOrders:t}=e;return{...e,sipDetailPreviousOrders:{...t,isMoreOrdersFetchError:!0,isMoreOrdersFetching:!1}}}});case tQ.J6:var a;let{nextSipSkipped:o}=n;return{...e,sipDetail:{...e.sipDetail,items:null==e?void 0:null===(a=e.sipDetail)||void 0===a?void 0:a.items.map(e=>({...e,nextSipSkipped:o}))}};case tQ.In:return{...tJ.L};case tQ.nM:return(0,i.handle)(e,t,{start:e=>({...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,count:0}}),success:e=>{let{payload:r}=t,{data:n}=r;return{...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,count:n.count}}},failure:e=>({...e,sipDetailPreviousOrders:{...e.sipDetailPreviousOrders,count:0}})});case tQ.Od:return(0,i.handle)(e,t,{start:e=>({...e,isRefreshingSipValue:!0}),success:e=>({...e,isRefreshingSipValue:!1,sipDetail:n.data}),failure:e=>({...e,isRefreshingSipValue:!1})});default:return e}},orderBlocking:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tz,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case tq.vC:return(0,i.handle)(e,t,{start:e=>({...e,loading:!0,error:!1}),success:e=>({...e,data:null==t?void 0:t.payload,loading:!1,error:!1}),failure:e=>({...e,data:null,loading:!1,error:!0})});case tq.Qg:return(0,i.handle)(e,t,{start:e=>({...e,loading:!0,error:!1}),success:e=>({...e,primaryData:null==t?void 0:t.payload,loading:!1,error:!1}),failure:e=>({...e,primaryData:null,loading:!1,error:!0})});case tq.b2:return(0,i.handle)(e,t,{start:e=>({...e,loading:!0,error:!1}),success:e=>({...e,etfNfoData:null==t?void 0:t.payload,loading:!1,error:!1}),failure:e=>({...e,etfNfoData:null,loading:!1,error:!0})});default:return e}}},{desktop:{ipoOrderCard:to,orders:e6,sgb:tO,sips:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tW.U,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case tK.Xp:if(e1(e,n))return{...e};return{...e,...n};case tK.Cg:return{...e,...n};case tK._3:return{...e,prevScreen:e.screen,screen:n};case tK.D4:return{...e,intermidiateScreenState:{...e.intermidiateScreenState,steps:n}};case tK.kF:{let{key:t,value:r,activeIndex:i}=n;return{...e,intermidiateScreenState:{...e.intermidiateScreenState,steps:e.intermidiateScreenState.steps.map((e,n)=>n===i?{...e,[t]:r}:e)}}}case tK.Zn:return(0,i.handle)(e,t,{start:e=>({...e,sipMandate:{isFetching:!0,data:null,isError:!1}}),success:e=>{let{data:t}=n;if(t){let r=null==t?void 0:t.filter(e=>"STOCKS"===e.mandateProduct)[0];return r?{...e,sipMandate:{isFetching:!1,data:{bankId:null==r?void 0:r.bankId,bankName:null==r?void 0:r.bankName,mandateId:null==r?void 0:r.mandateId,mandateStatus:null==r?void 0:r.mandateStatus,mandateType:null==r?void 0:r.mandateType,maxLimit:null==r?void 0:r.maxLimit,startDate:null==r?void 0:r.startDate,endD
19ate:null==r?void 0:r.endDate,umrn:null==r?void 0:r.umrn,bankAccountNumber:null==r?void 0:r.bankAccountNumber,bankLogoUrl:null==r?void 0:r.bankLogoUrl,mandateCreationTime:null==r?void 0:r.mandateCreationTime,mandateProduct:null==r?void 0:r.mandateProduct},isError:!1}}:{...e,sipMandate:{isFetching:!1,data:null,isError:!1}}}return{...e,sipMandate:{isFetching:!1,data:null,isError:!0}}},failure:e=>({...e,sipMandate:{isFetching:!1,data:null,isError:!0}})});case tK.DW:return{...e,amount:null,quantity:null,startDate:(0,tY.Yq)(new Date),monthDate:(0,tY.K3)(),isEditMode:!1,weekDay:tY.pW[(0,tY.WT)()-1],inputValidation:{isValid:!0,message:null}};case tK.Ej:return{...e,sipMandate:{isFetching:!1,data:null,isError:!1}};case tK.lr:{let{isValid:t,message:r}=n;return{...e,inputValidation:{isValid:t,message:r}}}case tK.Zy:return{...e,mandateData:n};case tK.gD:return(0,i.handle)(e,t,{start:e=>({...e,sipCount:{count:0,isFetching:!0,isError:!1}}),success:e=>{var t;let r=0;return(null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.activeGsinWiseSipsCount)&&(null==e?void 0:e.gsin)&&(r=n.data.activeGsinWiseSipsCount[null==e?void 0:e.gsin]||0),{...e,sipCount:{count:r,isFetching:!1,isError:!1}}},failure:e=>({...e,sipCount:{count:0,isFetching:!1,isError:!0}})});case tK.e1:return(0,i.handle)(e,t,{start:e=>({...e,activeSips:{sips:[],isFetching:!0,isError:!1}}),success:e=>{let{data:t}=n;return{...e,activeSips:{sips:(null==t?void 0:t.activeSips)||[],isFetching:!1,isError:!1}}},failure:e=>({...e,activeSips:{sips:[],isFetching:!1,isError:!0}})});case tK.FJ:return{...e,activeSips:{sips:[],isFetching:!1,isError:!1}};default:return e}}},msite:{ipoOrderCard:to,screener:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tR.B,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:a}=t;switch(r){case"GET_SCREENER_FILTERS":return(0,i.handle)(e,t,{start:e=>({...e,defaultFilters:{filters:{},isLoading:!0,isError:!1}}),success:e=>({...e,defaultFilters:{filters:n.data,isLoading:!1,isError:!1}}),failure:e=>({...e,defaultFilters:{isLoading:!1,isError:!0,filters:{}}})});case"SET_SCREENER_DATA":return{...e,hasMoreScreenerData:t.payload.hasMore,screenerData:{...e.screenerData,isLoading:!1,isError:!1,data:t.payload.data},selectedFilters:t.payload.selectedFilters};case"GET_STOCK_SCREENER_DATA":return(0,i.handle)(e,t,{start:e=>({...e,hasMoreScreenerData:!1,screenerData:{...e.screenerData,isLoading:!0,isError:!1},selectedFilters:a.params}),success:e=>{var t,r;let{records:i}=e.screenerData.data,{clearPreviousScreenerData:o}=a.params,s=tN({payload:n,prevRecords:i,clearPreviousScreenerData:o});return{...e,hasMoreScreenerData:!((null===(r=n.data)||void 0===r?void 0:null===(t=r.records)||void 0===t?void 0:t.length)<15),screenerData:{isLoading:!1,isError:!1,data:s}}},failure:e=>({...e,screenerData:{data:{},isLoading:!1,isError:!0}})});case"CLEAR_STOCK_SCREENER_DATA":return{...e,screenerData:{data:{},isLoading:!0,isError:!1}};default:return e}},sgb:tO},charts:{orders:e6}}),t1=tD.persist(t0,{desktop:{persist:!0,config:tZ}});var t2=r(761896);let t5={isSocketConnected:!1},t3=(0,n.HY)({fund:eq,core:eg,coreV2:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;if(r.toLowerCase().includes(u.NOTIFICATION_MANAGER_FLOW)){let r=function(e,t){let{type:r,payload:n}=t;switch(r){case(0,s.V)(c.CE).inProgress:return{...e,userNotifications:{...e.userNotifications,loader:!0}};case(0,s.V)(c.CE).success:return{...e,userNotifications:{...e.userNotifications,loader:!1,data:n}};case(0,s.V)(c.CE).failure:return{...e,userNotifications:{...e.userNotifications,loader:!1,error:n}};case(0,s.V)(c.ad).inProgress:return{...e,productPreferenceLoader:!0,productPreferenceError:null};case(0,s.V)(c.ad).success:var i,a;if((null===(i=n[0])||void 0===i?void 0:i.preference_type)===l.ir.STOCKS)return{...e,productPreferenceLoader:!1,productPreferenceData:{...e.productPreferenceData,stocksDataFetched:!0,stocksData:n}};if((null===(a=n[0])||void 0===a?void 0:a.preference_type)===l.ir.GOLD)return{...e,productPreferenceLoader:!1,productPreferenceData:{...e.productPreferenceData,goldDataFetched:!0,goldData:n}};return{...e,productPreferenceLoader:!1,productPreferenceData:{...e.productPreferenceData,mfDataFetched:!0,mfData:n}};case(0,s.V)(c.ad).failure:return{...e,productPreferenceLoader:!1,productPreferenceError:n,productPreferenceData:{}};case(0,s.V)(c.k7).inProgress:return{...e,availableProductListLoader:!0};case(0,s.V)(c.k7).success:return{...e,availableProductListLoader:!1,availableProductList:{data:n,fetched:!0}};case(0,s.V)(c.k7).failure:return{...e,availableProductListLoader:!1,availableProductListError:n};case(0,s.V)(c.MM).inProgress:case(0,s.V)(c.MM).success:return{...e};case(0,s.V)(c.MM).failure:return{...e,submitProductPreferenceError:n};default:return e}}(e.notificationManagerFlowData,t);return{...e,notificationManagerFlowData:{...r}}}return r===c.xd?(0,i.handle)(e,t,{start:e=>({...e,accRelatedForms:{...e.accRelatedForms,loader:!0,error:null}}),success:e=>{var t,r;return{...e,accRelatedForms:{...e.accRelatedForms,data:null!==(r=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.userDocs)&&void 0!==r?r:[],loader:!1,error:null}}},failure:e=>({...e,accRelatedForms:{...e.accRelatedForms,error:n,loader:!1}})}):e},stock:t1,usStock:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:a}=t,o={};switch(r){case C.Ru:return(0,i.handle)(e,t,{start:e=>({...e,usStockOnboarding:{...e.usStockOnboarding,isLoading:!0,isSecondaryLoader:a.secondaryLoader,isFailure:!1}}),success:e=>({...e,usStockOnboarding:{...e.usStockOnboarding,...n,isLoading:!1,isSecondaryLoader:!1,isFailure:!1}}),failure:e=>({...e,usStockOnboarding:{...e.usStockOnboarding,isLoading:!1,isSecondaryLoader:!1,isFailure:!0}})});case C.$o:return(0,i.handle)(e,t,{start:e=>({...e,...N(!0,!1,...e.usStockBank.data)}),success:e=>({...e,...N(!1,!1,...e.usStockBank.data,n.data)}),failure:e=>({...e,...N(!1,!0,...e.usStockBank.data)})});case C.kk:return{...e,usStockBank:{isLoading:!0,isFailure:!1,data:[]}};case C.un:return(0,i.handle)(e,t,{start:e=>({...e,usBankSwiftDetails:{...e.usBankSwiftDetails,isLoading:!0,isFailure:!1}}),success:e=>({...e,usBankSwiftDetails:{...e.usBankSwiftDetails,data:{...e.usBankSwiftDetails.data,[a.bankId]:{...n.data}},isLoading:!1,isFailure:!1}}),failure:e=>({...e,usBankSwiftDetails:{...e.usBankSwiftDetails,isLoading:!1,isFailure:!0}})});case(0,s.V)(C.un).clear:return{...e,usBankSwiftDetails:{...e.usBankSwiftDetails,data:{...e.usBankSwiftDetails.data,[a.bankId]:{}},isLoading:!0,isFailure:!1}};case C.mk:return(0,i.handle)(e,t,{start:e=>({...e,loadingUsMarketInfo:(0,p.a)(e.usMarketInfo)}),success:e=>({...e,loadingUsMarketInfo:!1,...R(n.data)}),failure:e=>({...e,loadingUsMarketInfo:!1,usMarketInfo:{}})});case C.qn:return(0,i.handle)(e,t,{start:e=>({...e,usStockDataLoading:!0,usStockDataError:null}),success:e=>({...e,usStockDataLoading:!1,usStockDataError:null,...I(n.data)}),failure:e=>{var t;return{...e,usStockDataLoading:!1,usStockDataError:null===(t=n.response)||void 0===t?void 0:t.status}}});case(0,s.V)(C.qn).clear:return{...e,usStockData:{},usStockDataLoading:!1,usStockDataError:null};case(0,s.V)(C.ge).clear:return{...e,liveData:{}};case(0,s.V)(C.ql).success:if(e.liveData[n.symbol]&&e.liveData[n.symbol].tsInMillis&&e.liveData[n.symbol].tsInMillis>n.data.tsInMillis)return e;return o[n.symbol]={...e.liveData[n.symbol],...n.data},{...e,liveData:{...e.liveData,...o}};case C.mn:return(0,i.handle)(e,t,{start:e=>({...e,usStockHoldingData:{...e.usStockHoldingData,isLoading:!0}}),success:e=>({...e,usStockHoldingData:{...e.usStockHoldingData,data:{...e.usStockHoldingData.data,[a.symbol]:{...n.data}},isLoading:!1}}),failure:e=>({...e,usStockHoldingData:{...e.usStockHoldingData,isFailure:!0,isLoading:!1}})});case C.QG:return(0,i.handle)(e,t,{start:e=>({...e,similarStocks:{...e.similarStocks,isLoading:!0,isFailure:!1}}),success:e=>({...e,similarStocks:{...e.similarStocks,data:{...e.similarStocks.data,[a.searchId]:{...n.data}},isLoading:!1,isFailure:!1}}),failure:e=>({...e,similarStocks:{...e.similarStocks,isFailure:!0,isLoading:!1}})});case C.GI:return(0,i.handle)(e,t,{start:e=>({...e,etfScreenerData:{...e.etfScreenerData,isLoadingTableRecords:a.isLoadingTableRecords}}),success:e=>({...e,etfScreenerData:{...n.data,isFetching:!1,isLoadingTableRecords:!1}}),failure:e=>({...e,etfScreenerData:{...e.etfScreenerData,isFailure:!0,isFetching:!1,isLoadingTableRecords:!1}})});case C.iS:return{...e,selectedStock:n};case C.B4:return(0,i.handle)(e,t,{success:e=>{let t={...e.liveData,...n.data};return{...e,liveData:{...e.liveData,...t}}}});case C.pO:return(0,i.handle)(e,t,{start:e=>({...e,stockScreener:{...e.stockScreener,defaultFilters:{filters:{},isLoading:!0,isError:!1}}}),success:e=>({...e,stockScreener:{...e.stockScreener,defaultFilters:{isLoading:!1,isError:!1,filters:n.data}}}),failure:e=>({...e,stockScreener:{...e.stockScreener,defaultFilters:{isLoading:!1,isError:!0,filters:{}}}})});case C.Ct:return(0,i.handle)(e,t,{start:e=>({...e,stockScreener:{...e.stockScreener,screenerData:{...e.stockScreener.screenerData,isLoading:!0,isError:!1},selectedFilters:a.params}}),success:e=>({...e,stockScreener:{...e.stockScreener,screenerData:{isLoading:!1,isError:!1,data:n.data}}}),failure:e=>({...e,stockScreener:{...e.stockScreener,screenerData:{data:{},isLoading:!1,isError:!0}}})});case C.Pk:return{...e,stockScreener:{...e.stockScreener,selectedFilters:n}};case C.TP:return{...e,stockScreener:{...e.stockScreener,screenerData:{data:{},isLoading:!0,isError:!1}}};case C.sN:return(0,i.handle)(e,t,{start:e=>({...e,...D(!0,!1)}),success:e=>({...e,...D(!1,!1,n.data)}),failure:e=>({...e,...D(!1,!0)})});case C.bv:return(0,i.handle)(e,t,{start:e=>({...e,usCompanyFinancials:{isLoading:!0,isFailure:!1,data:{}}}),success:e=>({...e,usCompanyFinancials:{isLoading:!1,isFailure:!1,data:n.data}}),failure:e=>({...e,usCompanyFinancials:{isLoading:!1,isFailure:!0,data:{}}})});case(0,s.V)(C.bv).clear:return{...e,usCompanyFinancials:{...M}};case C.Vm:return(0,i.handle)(e,t,{start:e=>({...e,loadingOnbdStatus:!0}),success:e=>({...e,loadingOnbdStatus:!1,...P(n.data)}),failure:e=>({...e,usOnboardingStatusError:!0,loadingOnbdStatus:!1})});case(0,s.V)(C.Z9).inProgress:return{...e,myOrderListDto:{...e.myOrderListDto,isLoading:!0,pageNo:n.pageNo}};case(0,s.V)(C.Z9).success:return{...e,myOrderListDto:{...n,isLoading:!1,hasFailed:!1}};case(0,s.V)(C.Z9).failure:return{...e,myOrderListDto:{...e.myOrderListDto,isLoading:!1,hasFailed:!0,hasMore:!1}};case(0,s.V)(C.vQ).clear:return{...e,usStockData:{},usStockDataLoading:!1,usStockDataError:null};case C.Xk:return(0,i.handle)(e,t,{start:e=>
19({...e,ETFScreenerData:{...e.ETFScreenerData,isLoadingTableRecords:a.isLoadingTableRecords}}),success:e=>({...e,ETFScreenerData:{...L(e,n.data)}}),failure:e=>({...e,ETFScreenerData:{...e.ETFScreenerData,isFailure:!0,isFetching:!1,isLoadingTableRecords:!1}})});case C.fp:return(0,i.handle)(e,t,{start:e=>({...e,stockScreener:{...e.stockScreener,screenerData:{...e.stockScreener.screenerData,isLoading:!0,isError:!1},selectedFilters:a.params}}),success:e=>{let t=e.stockScreener.screenerData.data;return{...e,stockScreener:{...e.stockScreener,screenerData:{isLoading:!1,isError:!1,data:k(t,n.data)}}}},failure:e=>({...e,stockScreener:{...e.stockScreener,screenerData:{data:{},isLoading:!1,isError:!0}}})});case C.m1:return{...e,stockScreener:{...e.stockScreener,screenerData:{data:{},isLoading:!0,isError:!1},selectedFilters:{}}};case(0,s.V)(C.Z9).success:return{...e,myOrderListDto:{...n,isLoading:!1,hasFailed:!1}};case(0,s.V)(C.Z9).failure:return{...e,myOrderListDto:{...e.myOrderListDto,isLoading:!1,hasFailed:!0,hasMore:!1}};default:return e}},usStockV2:X,payments:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,meta:a}=t;switch(r){case O.KL:return(0,i.handle)(e,t,{success:e=>{var t;let r=n.data;return{...e,...b.G7(r),isUserRaaAuthorised:null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.runningAccountAuthorised,inrWalletDataLoading:!1,inrWalletDataError:!1,inrWalletDataFetched:!0,inrWalletDataStale:n.stale}},failure:e=>({...e,inrWalletDataError:!0,inrWalletDataLoading:!1,inrWalletDataFetched:!1,inrWalletDataStale:!0}),start:e=>({...e,inrWalletDataLoading:!0,inrWalletDataError:!1,inrWalletDataFetched:!1})});case O.ri:return(0,i.handle)(e,t,{success:e=>{var t,r,i,a,o,s,l,c,u,d,f,h,p;let[E,_,g]=n;if("rejected"===E.status||"rejected"===_.status)return{...e,inrWalletDataError:!0,userAttributesError:!0,inrWalletDataLoading:!1,inrWalletDataFetched:!1,userAttributesFetched:!1,inrWalletDataStale:!0};let S=null===(t=E.value)||void 0===t?void 0:t.data,m=null!==(h=null===(r=_.value)||void 0===r?void 0:r.data)&&void 0!==h?h:{},A=null===(i=g.value)||void 0===i?void 0:i.data;return{...e,...b.G7(m),isUserRaaAuthorised:m.runningAccountAuthorised,isUserAofEnabled:(null==S?void 0:null===(o=S.data)||void 0===o?void 0:null===(a=o.user)||void 0===a?void 0:a.aof_status)==="COMPLETED",isUserWalletBlocked:(null==S?void 0:null===(c=S.data)||void 0===c?void 0:null===(l=c.user)||void 0===l?void 0:null===(s=l.blocked_accounts_info)||void 0===s?void 0:s.wallet)||!1,userSelectedBankAccount:b.Uc(null!==(p=null==A?void 0:A.bank_list)&&void 0!==p?p:[]),userNumOfBanks:null==A?void 0:null===(u=A.bank_list)||void 0===u?void 0:u.length,userName:(null==S?void 0:null===(f=S.data)||void 0===f?void 0:null===(d=f.attributes)||void 0===d?void 0:d.name)||"",userAttributesFetched:!0,inrWalletDataLoading:!1,inrWalletDataError:!1,inrWalletDataFetched:!0,userAttributesError:!1,inrWalletDataStale:m.stale}},start:e=>({...e,inrWalletDataLoading:!0,inrWalletDataError:!1,inrWalletDataFetched:!1,userAttributesFetched:!1,userAttributesError:!1})});case O.bN:case O.Oj:return(0,i.handle)(e,t,{success:e=>{var t,r,i,a,o,s,l,c,u;let{lastRowKey:d=null}=null==n?void 0:n.data;d="TERMINAL"!==d&&d;let f=(null==n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.ledger)||void 0===t?void 0:t.length)===0,h=(null==n?void 0:null===(a=n.data)||void 0===a?void 0:null===(i=a.pendingLedger)||void 0===i?void 0:i.length)===0,p=[...e.inrLedgerTransactions.ledger],E=[...e.inrLedgerTransactions.pendingLedger];return f||(p=[...p,...(null==n?void 0:null===(c=n.data)||void 0===c?void 0:c.ledger)||[]]),h||(E=[...E,...(null==n?void 0:null===(u=n.data)||void 0===u?void 0:u.pendingLedger)||[]]),{...e,inrLedgerTransactions:{...e.inrLedgerTransactions,ledger:p,pendingLedger:E,lastRowKey:d},inrLedgerTransactionsLoading:!1,inrLedgerTransactionsError:!1,inrLedgerTransactionsFetched:!0,inrLedgerTransactionsHasMore:(null==n?void 0:null===(o=n.data)||void 0===o?void 0:o.reloadRequired)&&(null==n?void 0:null===(l=n.data)||void 0===l?void 0:null===(s=l.ledger)||void 0===s?void 0:s.length)>=15,inrLedgerTransactionsPage:e.inrLedgerTransactionsPage+1,inrLedgerTransactionsLoadingMore:!1}},failure:e=>({...e,inrLedgerTransactionsError:!0,inrLedgerTransactionsLoading:!1,inrLedgerTransactionsFetched:!1,inrLedgerTransactionsLoadingMore:!1}),start:e=>({...e,inrLedgerTransactionsLoading:r!==O.Oj,inrLedgerTransactionsError:!1,inrLedgerTransactionsFetched:r===O.Oj,inrLedgerTransactionsLoadingMore:r===O.Oj})});case O.bs:case O.eq:return(0,i.handle)(e,t,{success:e=>{var t,r,i,a,o;let{offset:s=null}=null==n?void 0:n.data;s="TERMINAL"!==s&&s;let l=(null==n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.ledger)||void 0===t?void 0:t.length)===0,c=[...e.asbaLedgerTransactions.ledger];return l||(c=[...c,...(null==n?void 0:null===(o=n.data)||void 0===o?void 0:o.ledger)||[]]),{...e,asbaLedgerTransactions:{...e.asbaLedgerTransactions,ledger:c,pendingLedger:null==n?void 0:null===(i=n.data)||void 0===i?void 0:i.pendingLedger,offset:s},asbaLedgerTransactionsLoading:!1,asbaLedgerTransactionsError:!1,asbaLedgerTransactionsFetched:!0,asbaLedgerTransactionsHasMore:!!(null==n?void 0:null===(a=n.data)||void 0===a?void 0:a.offset),asbaLedgerTransactionsPage:e.asbaLedgerTransactionsPage+1,asbaLedgerTransactionsLoadingMore:!1}},failure:e=>({...e,asbaLedgerTransactionsError:!0,asbaLedgerTransactionsLoading:!1,asbaLedgerTransactionsFetched:!1,asbaLedgerTransactionsLoadingMore:!1}),start:e=>({...e,asbaLedgerTransactionsLoading:r!==O.eq,asbaLedgerTransactionsError:!1,asbaLedgerTransactionsFetched:r===O.eq,asbaLedgerTransactionsLoadingMore:r===O.eq})});case O.Gt:return(0,i.handle)(e,t,{start:e=>({...e,expectedTATLoading:!0,expectedTATError:!1}),success:e=>({...e,expectedTAT:n.data.tatRules,expectedTATLoading:!1,expectedTATError:!1}),failure:e=>({...e,expectedTATLoading:!1,expectedTATError:!0})});case O.LC:return{...e,expectedTAT:[],expectedTATLoading:!1,expectedTATError:!1};case O.BZ:case O.I7:return(0,i.handle)(e,t,{success:e=>{var t,r;let i=(null==n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.ledger)||void 0===t?void 0:t.length)===0,a=[...e.inrLedgerTransactions.failedLedger];
19return i||(a=[...a,...n.data.ledger]),{...e,inrLedgerTransactions:{...e.inrLedgerTransactions,failedLedger:a},inrLedgerFailedTransactionsLoading:!1,inrLedgerFailedTransactionsError:!1,inrLedgerFailedTransactionsFetched:!0,inrLedgerFailedTransactionsHasMore:n.data.reloadRequired&&n.data.ledger.length>=15,inrLedgerFailedTransactionsPage:e.inrLedgerFailedTransactionsPage+1,inrLedgerFailedTransactionsLoadingMore:!1}},failure:e=>({...e,inrLedgerFailedTransactionsError:!0,inrLedgerFailedTransactionsLoading:!1,inrLedgerFailedTransactionsFetched:!1,inrLedgerFailedTransactionsLoadingMore:!1}),start:e=>({...e,inrLedgerFailedTransactionsLoading:r!==O.I7,inrLedgerFailedTransactionsError:!1,inrLedgerFailedTransactionsFetched:r===O.I7,inrLedgerFailedTransactionsLoadingMore:r===O.I7})});case O.ft:case O._X:return(0,i.handle)(e,t,{start:e=>({...e,inrLedgerTransactionsStockOrdersLoading:r!==O._X,inrLedgerTransactionsStockOrdersLoadingMore:r===O._X,inrLedgerTransactionsStockOrdersError:!1}),success:e=>{var t,r;let{page:i,transactionId:a}=JSON.parse(null==n?void 0:null===(t=n.config)||void 0===t?void 0:t.data),o=(null==n?void 0:n.data)||[],s={...null===(r=e.inrLedgerTransactionsStockOrders)||void 0===r?void 0:r[a],[i]:o},l={...e.inrLedgerTransactionsStockOrders,[a]:s};return{...e,inrLedgerTransactionsStockOrders:l,inrLedgerTransactionsStockOrdersLoading:!1,inrLedgerTransactionsStockOrdersLoadingMore:!1,inrLedgerTransactionsStockOrdersError:!1}},failure:e=>({...e,inrLedgerTransactionsStockOrdersError:!0,inrLedgerTransactionsStockOrdersLoading:!1,inrLedgerTransactionsStockOrdersLoadingMore:!1})});case O.Sy:case O.T8:return(0,i.handle)(e,t,{start:e=>({...e,inrLedgerTransactionsFnoOrdersLoading:r!==O.T8,inrLedgerTransactionsFnoOrdersLoadingMore:r===O.T8,inrLedgerTransactionsFnoOrdersError:!1}),success:e=>{var t,r;let{page:i,transactionId:a}=JSON.parse(null==n?void 0:null===(t=n.config)||void 0===t?void 0:t.data),o=(null==n?void 0:n.data)||[],s={...null===(r=e.inrLedgerTransactionsFnoOrders)||void 0===r?void 0:r[a],[i]:o},l={...e.inrLedgerTransactionsFnoOrders,[a]:s};return{...e,inrLedgerTransactionsFnoOrders:l,inrLedgerTransactionsFnoOrdersLoading:!1,inrLedgerTransactionsFnoOrdersLoadingMore:!1,inrLedgerTransactionsFnoOrdersError:!1}},failure:e=>({...e,inrLedgerTransactionsFnoOrdersError:!0,inrLedgerTransactionsFnoOrdersLoading:!1,inrLedgerTransactionsFnoOrdersLoadingMore:!1})});case O.wZ:return(0,i.handle)(e,t,{start:e=>({...e,inrLedgerTransactionsStockChargesLoading:!0,inrLedgerTransactionsStockChargesError:!1}),success:e=>{let t=v.parse(n.config.url),r={...e.inrLedgerTransactionsStockCharges,[Object.values(t)[0]]:n.data};return{...e,inrLedgerTransactionsStockChargesError:!1,inrLedgerTransactionsStockChargesLoading:!1,inrLedgerTransactionsStockCharges:r}},failure:e=>({...e,inrLedgerTransactionsStockChargesError:!0,inrLedgerTransactionsStockChargesLoading:!1})});case O.tz:return(0,i.handle)(e,t,{start:e=>({...e,inrLedgerSelectedTransactionDetailsLoading:!0,inrLedgerSelectedTransactionDetailsError:!1}),success:e=>({...e,inrLedgerSelectedTransactionDetailsError:!1,inrLedgerSelectedTransactionDetailsLoading:!1,inrLedgerSelectedTransactionDetails:null==n?void 0:n.data}),failure:e=>({...e,inrLedgerSelectedTransactionDetailsError:!0,inrLedgerSelectedTransactionDetailsLoading:!1})});case O.Db:return{...e,inrLedgerSelectedTransactionDetails:n,inrLedgerSelectedTransactionDetailsError:!1,inrLedgerSelectedTransactionDetailsLoading:!1};case O.W5:case O.rJ:return(0,i.handle)(e,t,{start:e=>({...e,inrLedgerTxnOrdersLoading:r!==O.rJ,inrLedgerTxnOrdersLoadingMore:r===O.rJ,inrLedgerTxnOrdersError:!1}),success:e=>{var t,r,i;let{page:a,refEntityId:o}=JSON.parse(null==n?void 0:null===(t=n.config)||void 0===t?void 0:t.data),s=(null==n?void 0:null===(r=n.data)||void 0===r?void 0:r.transactionDetails)||[],l={...null===(i=e.inrLedgerTxnOrders)||void 0===i?void 0:i[o],[a]:s},c={...e.inrLedgerTxnOrders,[o]:l};return{...e,inrLedgerTxnOrders:c,inrLedgerTxnOrdersLoading:!1,inrLedgerTxnOrdersLoadingMore:!1,inrLedgerTxnOrdersError:!1}},failure:e=>({...e,inrLedgerTxnOrdersError:!0,inrLedgerTxnOrdersLoading:!1,inrLedgerTxnOrdersLoadingMore:!1})});case O.Jq:return{...e,inrWalletData:{},inrWalletDataFetched:!1,inrWalletDataLoading:!0,inrWalletDataError:!1};case O.km:return{...e,inrLedgerTransactions:{ledger:[],pendingLedger:[],failedLedger:[],lastRowKey:null},inrLedgerTransactionsLoading:!0,inrLedgerTransactionsError:!1,inrLedgerTransactionsFetched:!1,inrLedgerTransactionsPage:0,inrLedgerTransactionsHasMore:!0,inrLedgerTransactionsLoadingMore:!1,inrLedgerFailedTransactionsLoading:!0,inrLedgerFailedTransactionsError:!1,inrLedgerFailedTransactionsFetched:!1,inrLedgerFailedTransactionsPage:0,inrLedgerFailedTransactionsHasMore:!0,inrLedgerFailedTransactionsLoadingMore:!1,inrLedgerTransactionsShowFailed:!1,inrLedgerSelectedFilters:T.IO};case O.QE:return{...e,asbaLedgerTransactions:{ledger:[],pendingLedger:[],offset:null},asbaLedgerTransactionsLoading:!0,asbaLedgerTransactionsError:!1,asbaLedgerTransactionsFetched:!1,asbaLedgerTransactionsPage:0,asbaLedgerTransactionsHasMore:!0,asbaLedgerTransactionsLoadingMore:!1,asbaLedgerSelectedFilters:T.Gf};case O.K6:return{...e,ledgerTransactionTab:n};case O.Xs:return{...e,inrLedgerTransactionsShowFailed:!e.inrLedgerTransactionsShowFailed};case O.Wg:return{...e,inrLedgerSelectedTransactionId:n};case O.xJ:return{...e,inrLedgerSelectedFilters:n};case O.j_:return{...e,inrLedgerDefaultFilters:n};case O.d8:return{...e,asbaLedgerSelectedFilters:n};case O.tY:return{...e,asbaLedgerDefaultFilters:n};case O.KJ:return{...e,userSelectedBankAccount:n};case O.$5:return(0,i.handle)(e,t,{start:e=>({...e,isMarginDataFetching:!0,isMarginDataFailure:!1}),success:e=>{let t=b.WY(n.data),r=n.stale;return{...e,isMarginDataFailure:r,isMarginDataFetching:!1,marginDetail
19sDto:t}},failure:e=>({...e,isMarginDataFailure:!0,isMarginDataFetching:!1})});case O.lp:return(0,i.handle)(e,t,{start:e=>({...e,isMarginDataFetching:!0,isMarginDataFailure:!1}),success:e=>{let t=n.stale;return{...e,isMarginDataFailure:t,isMarginDataFetching:!1,marginDetailsDto:n.data}},failure:e=>({...e,isMarginDataFailure:!0,isMarginDataFetching:!1})});case O.o$:return(0,i.handle)(e,t,{start:e=>({...e,isMarginDataV2Fetching:!0,isMarginDataV2Failure:!1}),success:e=>{let t=n.stale;return{...e,isMarginDataV2Failure:t,isMarginDataV2Fetching:!1,marginDetailsV2Dto:n.data}},failure:e=>({...e,isMarginDataV2Failure:!0,isMarginDataV2Fetching:!1})});case O.x0:return(0,i.handle)(e,t,{start:e=>({...e,isFnoMarginDataFetching:!0,isFnoMarginDataFailure:!1}),success:e=>({...e,isFnoMarginDataFetching:!1,isFnoMarginDataFailure:!1,fnoMarginDetailsDto:n.data}),failure:e=>({...e,isFnoMarginDataFetching:!1,isFnoMarginDataFailure:!0})});case O.L2:return(0,i.handle)(e,t,{start:e=>({...e,isEquityMarginDataFetching:!0,isEquityMarginDataFailure:!1}),success:e=>({...e,isEquityMarginDataFetching:!1,isEquityMarginDataFailure:!1,equityMarginDetailsDto:n.data}),failure:e=>({...e,isEquityMarginDataFetching:!1,isEquityMarginDataFailure:!0})});case O.IN:return{...e,preinvokePgWindow:n};case O.LJ:return{...e,isPaymentInProgress:n};case O.Tu:return{...e,recommendedInstrumentAvailable:n};case O.Cq:return{...e,isPaymentEcosystemMountedForStocks:n};case O.DL:return(0,i.handle)(e,t,{start:e=>({...e,cartItemObject:{...e.cartItemObject,isRequired:a}}),success:e=>{var t;return{...e,cartItemObject:{...e.cartItemObject,isRequired:a,cartId:null==n?void 0:null===(t=n.data[0])||void 0===t?void 0:t.cartId}}},failure:e=>{var t,r;return{...e,cartItemObject:{...e.cartItemObject,isRequired:a,error:null!==(r=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.errorMessage)&&void 0!==r?r:y.kL.GENERAL_ERROR}}}});case O.TW:return{...e,cartItemObject:n};default:return e}},paymentEcosystem:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case m.Iy:return{...e,currentScreen:n};case m._K:return{...e,waitingScreenMessage:n};case m.tI:return{...e,selectedBankIdUpi:n};case m.pC:return{...e,isPreInvokeLoading:n};case m.mC:return A;case m.$s:return{...e,paymentMethodDetails:n};case m.VG:return{...e,pvmTransactionInfo:n};default:return e}},fd:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case h.CC:return(0,i.handle)(e,t,{start:e=>({...e,fdInvestmentsLoader:!0,fdInvestmentsFailed:null}),success:e=>({...e,fdInvestmentsLoader:!1,fdInvestmentsFailed:null,...function(e){let t=(null==e?void 0:e[0])||{},r=(null==e?void 0:e[1])||{};return{pendingOrderList:(0,p.f)(r,"data.orderList",[]),totalMaturityAmount:(0,p.f)(t,"data.totalMaturityAmount",0),totalInvestedAmount:(0,p.f)(t,"data.totalInvestedAmount",0),depositsList:(0,p.f)(t,"data.deposits",[]),totalCurrentValues:(0,p.f)(t,"data.totalCurrentValues",[]),currentValuesTimeStamp:(0,p.f)(t,"data.currentValuesTimeStamp",new Date().toISOString())}}(n)}),failure:e=>({...e,fdInvestmentsLoader:!1,fdInvestmentsFailed:n})});case h.RO:return{...e,fdBankDataLoading:!0,fdBankDataError:null};case h.IO:return{...e,fdBankDataLoading:!1,fdBankDataError:null,fdBankData:n.data};case h.JD:return{...e,fdBankDataLoading:!1,fdBankDataError:n};case h.BW:return{...e,...function(e,t){let r=[...t];switch(e.key){case f.m_.MATURITY_VALUE.key:r.sort((e,t)=>((null==t?void 0:t.maturityAmount)||0)-((null==e?void 0:e.maturityAmount)||0));break;case f.m_.INTEREST.key:r.sort((e,t)=>{let r=((null==t?void 0:t.interestRate)||0)-((null==e?void 0:e.interestRate)||0);return 0===r?((null==t?void 0:t.maturityAmount)||0)-((null==e?void 0:e.maturityAmount)||0):r});break;case f.m_.DATE.key:r.sort((e,t)=>new Date((null==e?void 0:e.maturityDate)||"")>new Date((null==t?void 0:t.maturityDate)||"")?1:-1);break;case f.m_.ALPHABETICAL.key:r.sort((e,t)=>((null==e?void 0:e.productName)||"")>((null==t?void 0:t.productName)||"")?1:((null==e?void 0:e.productName)||"")<((null==t?void 0:t.productName)||"")?-1:0)}return{depositsList:r,investmentSortBy:e.key}}(t.sortBy,e.depositsList)};case h.Xu:return{...e,currentInvestmentParameter:t.currentInvestmentParameter};case h.IV:return{...e,fdDataLoading:!0,fdDataError:null};case h.Fl:return{...e,fdDataLoading:!1,fdDataError:null,...E(n.data)};case h.G1:return{...e,fdDataLoading:!1,fdDataError:n};case(0,s.V)(h.sY).inProgress:return{...e,fdOrderListData:{...e.fdOrderListData,fdOrderListLoader:!0,page:n.page,hasMore:!1}};case(0,s.V)(h.sY).success:return{...e,fdOrderListData:{...n,fdOrderListLoader:!1,fdOrderListError:!1}};case(0,s.V)(h.sY).failure:return{...e,fdOrderListData:{...e.fdOrderListData,fdOrderListLoader:!1,fdOrderListError:!0,hasMore:!1}};case h.K4:return(0,i.handle)(e,t,{start:e=>({...e,fdInformationData:{...e.fdInformationData,loading:!0}}),success:e=>({...e,fdInformationData:{...e.fdInformationData,loading:!1,data:n[0].data,peerData:n[1].data,error:!1,notFound:!1}}),failure:e=>{var t;return(null==n?void 0:null===(t=n.response)||void 0===t?void 0:t.status)===404?{...e,fdInformationData:{...e.fdInformationData,loading:!1,error:!0,notFound:!0}}:{...e,fdInformationData:{...e.fdInformationData,loading:!1,error:!0,notFound:!1}}}});case h.Y1:return(0,i.handle)(e,t,{start:e=>({...e,rdInformationData:{...e.rdInformationData,loading:!0}}),success:e=>({...e,rdInformationData:{...e.rdInformationData,loading:!1,data:n.data,error:!1,notFound:!1}}),failure:e=>{var t;return(null==n?void 0:null===(t=n.response)||void 0===t?void 0:t.status)===404?{...e,rdInformationData:{...e.rdInformationData,loading:!1,error:!0,notFound:!0}}:{...e,rdInformationData:{...e.rdInformationData,loading:!1,error:!0,notFound:!1}}}});case h.nE:return{...e,selectedFdSearchId:n};case h.EF:return{...e,depositTxnData:n};default:return e}},fno:g.Ff,onboarding:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eu,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n,onboardingFlow:a,config:o,submittedDataArray:s,kvinitKey:l,reKycKey:c,meta:u}=t;switch(r){case Z.cO:return(0,i.handle)(e,t,{start:e=>({...e,onbProgressData:{...e.onbProgressData,isLoading:!0,isFailed:!1},onbProgressDataFD:{...e.onbProgressDataFD,isLoading:!0,isFailed:!1},onbProgressDataFNO:{...e.onbProgressDataFNO,isLoading:!0,isFailed:!1},onbProgressDataRekyc:{...e.onbProgressDataRekyc,isLoading:!0,isFailed:!1}}),success:e=>{let{onboardingFlow:t}=u,r=es(n,e,t);return{...e,...r}},failure:e=>({...e,onbProgressData:{...e.onbProgressData,isLoading:!1,isFailed:!0},onbProgressDataFD:{...e.onbProgressDataFD,isLoading:!1,isFailed:!0},onbProgressDataFNO:{...e.onbProgressDataFNO,isLoading:!1,isFailed:!0},onbProgressDataRekyc:{...e.onbProgressDataRekyc,isLoading:!1,isFailed:!0}})});case Z.Pl:{let t=el(s,e,a);return{...e,...t}}case Z.vC:{let t=ec(o,e,a);return{...e,...t}}case Z.$X:var d;return{...e,onbProgressDataFD:er(l,null===(d=e.onbProgressDataFD)||void 0===d?void 0:d.data)};case Z.cF:return(0,i.handle)(e,t,{start:e=>({...e,isUpdateKycLoading:!0,isUpdateKycFailed:!1}),success:e=>{let t={updateKycData:ea(n.data)};return{...e,isUpdateKycLoading:!1,isUpdateKycFailed:!1,...t}},failure:e=>({...e,isUpdateKycLoading:!1,isUpdateKycFailed:!0})});case Z.Wd:let f={updateKycData:en(s,e.updateKycData)};return{...e,...f};case Z.qg:return{...e,updateKycData:ei(c,e.updateKycData)};case Z.cY:return(0,i.handle)(e,t,{start:e=>({...e,isEmudraDataLoading:!0,isEmudraDataFailed:!1}),success:e=>{let t={emudraFlowData:ea(n.data)};return{...e,isEmudraDataLoading:!1,isEmudraDataFailed:!1,...t}},failure:e=>({...e,isEmudraDataLoading:!1,isEmudraDataFailed:!0})});case Z.rK:let h={emudraFlowData:eo(s,e.emudraFlowData)};return{...e,...h};case Z.xd:return(0,i.handle)(e,t,{start:e=>({...e,accRelatedForms:{...e.accRelatedForms,loader:!0,error:null}}),success:e=>{var t,r;return{...e,accRelatedForms:{...e.accRelatedForms,data:null!==(r=null==n?void 0:null===(t=n.data)||void 0===t?void 0:t.userDocs)&&void 0!==r?r:[],loader:!1,error:null}}},failure:e=>({...e,accRelatedForms:{...e.accRelatedForms,error:n,loader:!1}})});default:return e}},gold:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case(0,s.V)($).inProgress:return{...e,goldOrderListData:{...e.goldOrderListData,goldOrderListLoader:!0,page:n.page,hasMore:!1}};case(0,s.V)($).success:return{...e,goldOrderListData:{...n,goldOrderListLoader:!1,goldOrderListError:!1}};case(0,s.V)($).failure:return{...e,goldOrderListData:{...e.goldOrderListData,goldOrderListLoader:!1,goldOrderListError:!0,hasMore:!1}};case"gold/GET_GOLD_GRAPH_DATA":return(0,i.handle)(e,t,{success:e=>({...e,goldGraphData:Q(n.data),goldGraphLoading:!1,goldGraphError:!1}),failure:e=>({...e,goldGraphError:!0,goldGraphLoading:!1}),start:e=>({...e,goldGraphLoading:!0,goldGraphError:!1})});case"gold/GET_GOLD_HOLDINGS_DATA":return(0,i.handle)(e,t,{success:e=>({...e,goldHoldingsData:n.data,goldHoldingsLoading:!1,goldHoldingsError:!1}),failure:e=>({...e,goldHoldingsError:!0,goldHoldingsLoading:!1}),start:e=>({...e,goldHoldingsLoading:!0,goldHoldingsError:!1})});case"gold/GET_GOLD_LIVE_PRICE_DATA":return(0,i.handle)(e,t,{success:e=>
19({...e,goldLivePriceData:n.data,goldLivePriceLoading:!1,goldLivePriceError:!1}),failure:e=>({...e,goldLivePriceError:!0,goldLivePriceLoading:!1}),start:e=>({...e,goldLivePriceLoading:!0,goldLivePriceError:!1})});case"gold/GET_PRODUCT_DOWNTIME_CHECK":return(0,i.handle)(e,t,{success:e=>({...e,goldDowntimeData:n.data,goldLivePriceLoading:!0,goldLivePriceError:!1}),failure:e=>({...e,goldLivePriceError:!1,goldLivePriceLoading:!1}),start:e=>({...e,goldLivePriceLoading:!0,goldLivePriceError:!1})});case"GET_PHYSICAL_GOLD_RATES":return(0,i.handle)(e,t,{start:e=>({...e,physicalGoldRateData:{...e.physicalGoldRateData,isLoading:!0,error:null}}),success:e=>({...e,physicalGoldRateData:{isLoading:!1,error:null,data:null==n?void 0:n.data}}),failure:e=>{var t;return{...e,physicalGoldRateData:{...e.physicalGoldRateData,isLoading:!1,error:null==n?void 0:null===(t=n.response)||void 0===t?void 0:t.status}}}});default:return e}},stockChartPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;switch(r){case"CHANGE_ORIENTATION":return{...e,isLandscape:!e.isLandscape};case"SET_WEBVIEW_ORIENTATION":return{...e,isLandscape:n.isLandscape};case"SET_QUERY_PARAMS":return{...e,params:n};case(0,s.V)("FETCH_AVAILABLE_TO_SELL").success:let{availableToSellDto:i,isin:a,exchange:o}=n;return{...e,availableToSellDto:{...e.availableToSellDto,[a+o]:i}};case(0,s.V)("RESET_AVAILABLE_TO_SELL").success:return{...e,availableToSellDto:{}};default:return e}},shared:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t5,t=arguments.length>1?arguments[1]:void 0,{type:r,payload:n}=t;return r===t2.R?{...e,isSocketConnected:n}:e}}),t4=[o.withExtraArgument({request:null}),i.middleware].filter(Boolean),t6=[(0,n.Tw)(...t4),!1].filter(Boolean),t7=(0,n.y$)(t3,(0,n.Zz)(...t6));function t8(e){return t7=(0,n.y$)(t3,e,(0,n.Zz)(...t6))}function t9(){return t7}},853215:(e,t,r)=>{"use strict";r.d(t,{a:()=>a,b:()=>o,c:()=>s,d:()=>l,e:()=>c,f:()=>u,g:()=>d,h:()=>f,i:()=>h,j:()=>p,m:()=>E});var n=r(951402),i=r(818681);function a(e){return e.match(/^\w+([\+\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w+)+$/)}function o(e){return null!=e?e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<br>/gi," ")).replace(/<br\s\/>/gi," ")).replace(/<br\/>
19/gi," ")).replace(/\\n/gi," ")).replace(/<(?:.|\n)*?>/gm,"")).replace(/<p.*>/gi," ")).replace(/<a.*href="(.*?)".*>(.*?)<\/a>/gi," $2 ($1)")).replace(/<script.*>[\w\W]{1,}(.*?)[\w\W]{1,}<\/script>/gi,"")).replace(/<style.*>[\w\W]{1,}(.*?)[\w\W]{1,}<\/style>/gi,"")).replace(/<(?:.|\s)*?>/g,"")).replace(/(?:(?:\r\n|\r|\n)\s*){2,}/gim,"")).replace(/ +(?= )/g,"")).replace(/&nbsp;/gi,"")).replace(/&quot;/gi,"")).replace(/&lt;/gi,"")).replace(/&gt;/gi,"")).replace(/&rsquo;/gi,"")).replace(/ /gi,"")).replace(/"/gi,"")).replace(/</gi,"")).replace(/>/gi,"")).replace(/’/gi,"")).replace(/&/gi,"")).replace(/\\n/gi,""):""}function s(e){return!!e&&!!(e=e.trim())&&/^[a-zA-Z ]*$/.test(e)&&e.length>=2}function l(e){var t="";try{var r=e.replace(/([A-Z])/g," $1");t=r.charAt(0).toUpperCase()+r.slice(1)}catch(r){console.log("Error in converting string, original string returned",r),t=e}return t}function c(e){try{return e.replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substring(1)})}catch(t){return console.error("capitalize letter",t),(0,n.C)(i.c.TRACK_LOG,{function:"capitalizeFirstLetter",error:t}),e}}function u(e){try{return e.replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()})}catch(t){return(0,n.C)(i.c.TRACK_LOG,{function:"toTitleCase",error:t}),console.error("title case error",t),e}}function d(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"X";if(!(0,n.a)(e)){var a=e.length;if(!(t>=0)||!(r>=0)||!(r<=a))return t>a&&r>=0?e:r>a&&!(0,n.a)(t)?Array(a+1).join(i):"";var o=e.slice(0,t),s=Array(r+1).join(i),l=e.slice(o.length+s.length,a);return(o+s+l).substr(0,a)}return e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:8;if(!(0,n.a)(e)){var i=e.length;if(!(t>=0)||!(r>=0)||!(r<=i))return t>i&&r>=0?e:(r>i&&(0,n.a)(t),"");var a=e.slice(0,t),o=e.slice(a.length+r,i);return(a+""+o).substr(0,i)}return""}function h(e){return/^[a-z0-9]+$/i.test(e)}function p(e){var t=e.toString();return/^\d+$/.test(t)&&6===t.length}function E(e,t){try{for(var r=Math.round(e).toString().length,a=Math.round(t).toString().length,o=Math.abs(a-r),s=Number(e).toFixed(2)+"";o>0;o--)s+=" ";return s}catch(r){return console.error("Error in normalizeTickerString: ",r),(0,n.C)(i.c.TRACK_LOG,{function:"normalizeTickerString",params:{latestPrice:e,lastPrice:t},error:r}),""}}},855046:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(986594),i=r(407178),a=r(132978),o=r(951402),s=r(222736),l=r(866607),c=r(299168),u=r(744620),d=r(957095);let f=e=>{let{handleBrokenImage:t,useLazyLoad:r,height:i,offset:a,activeClass:o,activeSrc:s,width:l,alt:c,onClick:u}=e,f="";return(f="string"==typeof s?s:s.src,r)?(0,n.jsx)(d.Ay,{height:i,once:!0,offset:a,children:(0,n.jsx)("img",{onError:t,className:o,src:f,width:l,height:i,alt:c,onClick:u,loading:"lazy"})}):(0,n.jsx)("img",{onError:t,className:o,src:f,width:l,height:i,alt:c,onClick:u})};f.defaultProps={offset:800,addClass:"",srcDark:"",addClassDark:"",handleBrokenImage:()=>{},useLazyLoad:!0,onClick:()=>{},style:{},alt:"",activeClass:"",activeSrc:""};let h=e=>{let{src:t,srcDark:r,offset:d,height:h,addClass:p,addClassDark:E,width:_,alt:g,useLazyLoad:S,onClick:m}=e,A=t,v=p,[b,T]=(0,i.useState)((0,c.wS)()),[y,O]=(0,i.useState)(!1);(0,i.useEffect)(()=>((0,o.B)(u.yV.THEME_CHANGE,w),()=>{(0,o.D)(u.yV.THEME_CHANGE,w)}),[]);let w=e=>{T((0,o.f)(e,"target.dataset.theme",u.zG.LIGHT))};return b===u.zG.DARK&&(A=r||t,v=E||p),(0,n.jsx)(f,{handleBrokenImage:t=>{if(e.handleBrokenImage&&!y){O(!0);try{(0,a.s)(l.A.Image,s.A.ImageError,{email:(0,c.qo)(),src:JSON.stringify(A)})}catch(e){console.error("handle broken event error",e)}"string"==typeof e.handleBrokenImage?t.target.src=e.handleBrokenImage:"object"==typeof e.handleBrokenImage&&"src"in e.handleBrokenImage&&(t.target.src=e.handleBrokenImage.src)}},useLazyLoad:S,height:h,offset:d,activeClass:v,activeSrc:A||e.handleBrokenImage,src:A||e.handleBrokenImage,width:_,alt:g,onClick:m})};h.defaultProps={offset:800,addClass:"",srcDark:"",addClassDark:"",handleBrokenImage:"",useLazyLoad:!0,onClick:()=>{},style:{},alt:""};let p=h},855620:(e,t,r)=>{e=r.nmd(e);var n,i,a="__lodash_hash_undefined__",o="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",E="[object Promise]",_="[object RegExp]",g="[object Set]",S="[object String]",m="[object WeakMap]",A="[object ArrayBuffer]",v="[object DataView]",b=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,y={};
19y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y[o]=y[s]=y[A]=y[l]=y[v]=y[c]=y[u]=y[d]=y[f]=y[h]=y[p]=y[_]=y[g]=y[S]=y[m]=!1;var O="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,w="object"==typeof self&&self&&self.Object===Object&&self,C=O||w||Function("return this")(),I=t&&!t.nodeType&&t,R=I&&e&&!e.nodeType&&e,N=R&&R.exports===I,D=N&&O.process,P=function(){try{return D&&D.binding&&D.binding("util")}catch(e){}}(),L=P&&P.isTypedArray;function k(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function M(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var F=Array.prototype,x=Function.prototype,U=Object.prototype,B=C["__core-js_shared__"],H=x.toString,G=U.hasOwnProperty,j=function(){var e=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),V=U.toString,K=RegExp("^"+H.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=N?C.Buffer:void 0,Y=C.Symbol,q=C.Uint8Array,z=U.propertyIsEnumerable,X=F.splice,$=Y?Y.toStringTag:void 0,Q=Object.getOwnPropertySymbols,J=W?W.isBuffer:void 0,Z=(n=Object.keys,i=Object,function(e){return n(i(e))}),ee=ey(C,"DataView"),et=ey(C,"Map"),er=ey(C,"Promise"),en=ey(C,"Set"),ei=ey(C,"WeakMap"),ea=ey(Object,"create"),eo=eC(ee),es=eC(et),el=eC(er),ec=eC(en),eu=eC(ei),ed=Y?Y.prototype:void 0,ef=ed?ed.valueOf:void 0;function eh(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ep(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eE(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function e_(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new eE;++t<r;)this.add(e[t])}function eg(e){var t=this.__data__=new ep(e);this.size=t.size}function eS(e,t){for(var r=e.length;r--;)if(eI(e[r][0],t))return r;return -1}function em(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=G.call(e,$),r=e[$];try{e[$]=void 0;var n=!0}catch(e){}var i=V.call(e);return n&&(t?e[$]=r:delete e[$]),i}(e):(t=e,V.call(t))}function eA(e){return eM(e)&&em(e)==o}function ev(e,t,r,n,i,a){var o=1&r,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var u=-1,d=!0,f=2&r?new e_:void 0;for(a.set(e,t),a.set(t,e);++u<s;){var h=e[u],p=t[u];if(n)var E=o?n(p,h,u,t,e,a):n(h,p,u,e,t,a);if(void 0!==E){if(E)continue;d=!1;break}if(f){if(!function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}(t,function(e,t){if(!f.has(t)&&(h===e||i(h,e,r,n,a)))return f.push(t)})){d=!1;break}}else if(!(h===p||i(h,p,r,n,a))){d=!1;break}}return a.delete(e),a.delete(t),d}function eb(e){var t;return t=ex(e),eN(e)?t:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(t,eO(e))}function eT(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function ey(e,t){var r,n=null==e?void 0:e[t];return!(!ek(n)||(r=n,j&&j in r))&&(eP(n)?K:b).test(eC(n))?n:void 0}eh.prototype.clear=function(){this.__data__=ea?ea(null):{},this.size=0},eh.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t},eh.prototype.get=function(e){var t=this.__data__;if(ea){var r=t[e];return r===a?void 0:r}return G.call(t,e)?t[e]:void 0},eh.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:G.call(t,e)},eh.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=ea&&void 0===t?a:t,this},ep.prototype.clear=function(){this.__data__=[],this.size=0},ep.prototype.delete=function(e){var t=this.__data__,r=eS(t,e);return!(r<0)&&(r==t.length-1?t.pop():X.call(t,r,1),--this.size,!0)},ep.prototype.get=function(e){var t=this.__data__,r=eS(t,e);return r<0?void 0:t[r][1]},ep.prototype.has=function(e){return eS(this.__data__,e)>-1},ep.prototype.set=function(e,t){var r=this.__data__,n=eS(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},eE.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(et||ep),string:new eh}},eE.prototype.delete=function(e){var t=eT(this,e).delete(e);return this.size-=+!!t,t},eE.prototype.get=function(e){return eT(this,e).get(e)},eE.prototype.has=function(e){return eT(this,e).has(e)},eE.prototype.set=function(e,t){var r=eT(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this},e_.prototype.add=e_.prototype.push=function(e){return this.__data__.set(e,a),this},e_.prototype.has=function(e){return this.__data__.has(e)},eg.prototype.clear=function(){this.__data__=new ep,this.size=0},eg.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},eg.prototype.get=function(e){return this.__data__.get(e)},eg.prototype.has=function(e){return this.__data__.has(e)},eg.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ep){var n=r.__data__;if(!et||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new eE(n)}return r.set(e,t),this.size=r.size,this};var eO=Q?function(e){return null==e?[]:function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}(Q(e=Object(e)),function(t){return z.call(e,t)})}:function(){return[]},ew=em;function eC(e){if(null!=e){try{return H.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eI(e,t){return e===t||e!=e&&t!=t}(ee&&ew(new ee(new ArrayBuffer(1)))!=v||et&&ew(new et)!=f||er&&ew(er.resolve())!=E||en&&ew(new en)!=g||ei&&ew(new ei)!=m)&&(ew=function(e){var t=em(e),r=t==p?e.constructor:void 0,n=r?eC(r):"";if(n)switch(n){case eo:return v;case es:return f;case el:return E;case ec:return g;case eu:return m}return t});var eR=eA(function(){return arguments}())?eA:function(e){return eM(e)&&G.call(e,"callee")&&!z.call(e,"callee")},eN=Array.isArray,eD=J||function(){return!1};function eP(e){if(!ek(e))return!1;var t=em(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eL(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function ek(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eM(e){return null!=e&&"object"==typeof e}var eF=L?function(e){return L(e)}:function(e){return eM(e)&&eL(e.length)&&!!y[em(e)]};function ex(e){return null!=e&&eL(e.length)&&!eP(e)?function(e,t){var r,n,i=eN(e),a=!i&&eR(e),o=!i&&!a&&eD(e),s=!i&&!a&&!o&&eF(e),l=i||a||o||s,c=l?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],u=c.length;for(var d in e){G.call(e,d)&&!(l&&("length"==d||o&&("offset"==d||"parent"==d)||s&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||(r=d,(n=null==(n=u)?0x1fffffffffffff:n)&&("number"==typeof r||T.test(r))&&r>-1&&r%1==0&&r<n)))&&c.push(d)}return c}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||U))return Z(e);var t,r,n=[];for(var i in Object(e))G.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e)}e.exports=function(e,t){return function e(t,r,n,i,a){return t===r||(null!=t&&null!=r&&(eM(t)||eM(r))?function(e,t,r,n,i,a){var d=eN(e),E=eN(t),m=d?s:ew(e),b=E?s:ew(t);m=m==o?p:m,b=b==o?p:b;var T=m==p,y=b==p,O=m==b;if(O&&eD(e)){if(!eD(t))return!1;d=!0,T=!1}if(O&&!T)return a||(a=new eg),d||eF(e)?ev(e,t,r,n,i,a):function(e,t,r,n,i,a,o){switch(r){case v:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case A:if(e.byteLength!=t.byteLength||!a(new q(e),new q(t)))break;return!0;case l:case c:case h:return eI(+e,+t);case u:return e.name==t.name&&e.message==t.message;case _:case S:return e==t+"";case f:var s=k;case g:var d=1&n;if(s||(s=M),e.size!=t.size&&!d)break;var p=o.get(e);if(p)return p==t;n|=2,o.set(e,t);var E=ev(s(e),s(t),n,i,a,o);return o.delete(e),E;case"[object Symbol]":if(ef)return ef.call(e)==ef.call(t)}return!1}(e,t,m,r,n,i,a);if(!(1&r)){var w=T&&G.call(e,"__wrapped__"),C=y&&G.call(t,"__wrapped__");
19if(w||C){var I=w?e.value():e,R=C?t.value():t;return a||(a=new eg),i(I,R,r,n,a)}}return!!O&&(a||(a=new eg),function(e,t,r,n,i,a){var o=1&r,s=eb(e),l=s.length;if(l!=eb(t).length&&!o)return!1;for(var c=l;c--;){var u=s[c];if(!(o?u in t:G.call(t,u)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var h=o;++c<l;){var p=e[u=s[c]],E=t[u];if(n)var _=o?n(E,p,u,t,e,a):n(p,E,u,e,t,a);if(!(void 0===_?p===E||i(p,E,r,n,a):_)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var g=e.constructor,S=t.constructor;g!=S&&"constructor"in e&&"constructor"in t&&!("function"==typeof g&&g instanceof g&&"function"==typeof S&&S instanceof S)&&(f=!1)}return a.delete(e),a.delete(t),f}(e,t,r,n,i,a))}(t,r,n,i,e,a):t!=t&&r!=r)}(e,t)}},856704:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});let n="GET_EXPLORE_PAGE_STOCKS"},858594:(e,t,r)=>{"use strict";r.d(t,{K9:()=>_,LB:()=>u,_F:()=>f,bq:()=>h,s2:()=>E});var n=r(647005),i=r(132978),a=r(605566),o=r(951402),s=r(136398),l=r(753762);let c={RECONNECT:"RECONNECT"},u=e=>{try{n.cT(n.ZE.LOCAL_STORAGE,s.aH.CELL_REDIRECTION_HEADER,JSON.stringify(e),!1)}catch(e){console.error("Failed to set cell headers in storage:",e)}},d=()=>{let e=n.c7(n.ZE.LOCAL_STORAGE,s.aH.CELL_REDIRECTION_HEADER,!1);if(!e)return null;try{return JSON.parse(e)}catch(e){return console.error("Failed to parse cell headers:",e),null}},f=()=>{let e=d(),t="undefined"!=typeof localStorage?localStorage.getItem("PLACEMENT_HEADERS"):null;if(t)try{let e=JSON.parse(t);if(e)return{xPrimaryTarget:e["x-primary-target"],xSecondaryTarget:e["x-secondary-target"],xTargetVersion:e["x-target-version"]}}catch(e){console.error("Failed to parse webview headers:",e)}else if(e&&!(0,o.a)(e))return e;return null},h=()=>{let e=f();return e||{xPrimaryTarget:"",xSecondaryTarget:"",xTargetVersion:"0"}},p=null,E=e=>{p=e},_=async e=>{let t="IgnoredEvent";try{var r,n,o;let i=null!==(o=null===l.f||void 0===l.f?void 0:null===(n=l.f.getState())||void 0===n?void 0:null===(r=n.userData)||void 0===r?void 0:r.user_account_id)&&void 0!==o?o:"";if((null==e?void 0:e.userIdRegex)&&(null==e?void 0:e.command)===c.RECONNECT&&new RegExp(e.userIdRegex).test(i)){t="NatsReconnect";try{p&&await p()}catch(e){console.error("Failed to trigger NATS reconnect:",e)}}}catch(e){console.error("Failed to process cell placement message:",e)}finally{let r=h();(0,i.s)("GobblerCellPlacementUpdateEvent",a.GobblerCellPlacementUpdateEvent,{cellUpdateEventPayload:{command:(null==e?void 0:e.command)||"",userIdRegex:(null==e?void 0:e.userIdRegex)||""},clientAction:t,xTargetVersion:(null==r?void 0:r.xTargetVersion)||"0",xPrimaryTarget:(null==r?void 0:r.xPrimaryTarget)||"",xSecondaryTarget:(null==r?void 0:r.xSecondaryTarget)||""})}}},860754:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>w,L6:()=>C,NA:()=>y,Rg:()=>I,Tw:()=>b,_E:()=>g,ci:()=>A,dq:()=>R,nE:()=>S,oj:()=>v,r_:()=>m,re:()=>T,u7:()=>N,uu:()=>O});var n=r(569443),i=r.n(n),a=r(547176),o=r(238460),s=r(136398),l=r(984991),c=r(792006),u=r(183618),d=r(253857),f=r(999711);let h=async()=>{try{let e=await (0,a.gZ)(l.H.SEARCH_BACKEND_STRATEGY,null);if((null==e?void 0:e.datasetId)&&(null==e?void 0:e.strategyId))return"/v1/api/search/v3/query/".concat(e.datasetId,"/").concat(e.strategyId);return d.jt}catch(e){return d.jt}},p=async(e,t,r,n,i,a)=>{let o=await h();return(0,d.yY)(e,t,r,n,i,a,o)},E={all:new c.A({key:s.aH.CACHED_SEARCH_DATA}),stocks:new c.A({key:s.aH.CACHED_SEARCH_DATA_STOCKS}),scheme:new c.A({key:s.aH.CACHED_SEARCH_DATA_SCHEME}),fno:new c.A({key:s.aH.CACHED_SEARCH_DATA_FNO}),etf:new c.A({key:s.aH.CACHED_SEARCH_DATA_ETF}),help:new c.A({key:s.aH.CACHED_SEARCH_DATA_HELP})},_=(0,u.O)(),g=async function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>
193&&void 0!==arguments[3]?arguments[3]:f.ze,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:f.xx,a=_.getSignal();try{var s,l,c,u;let f;if((0,o.N)()){let o=await p(e,i,n,t,r,a);f=null==o?void 0:null===(l=o.data)||void 0===l?void 0:null===(s=l.data)||void 0===s?void 0:s.content}else{let r=await (0,d.Qt)(e,i,n,t,a);f=null==r?void 0:null===(u=r.data)||void 0===u?void 0:null===(c=u.data)||void 0===c?void 0:c.content}let h=!f||0===f.length;return{data:f||[],isNullResult:h}}catch(e){throw e}},S=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.ze;try{var n,i,a,s;let l;if((0,o.N)()){let a=await p("",f.xx,r,e,t);l=null==a?void 0:null===(i=a.data)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:n.content}else{let t=await (0,d.Qt)("",f.xx,r,e);l=null==t?void 0:null===(s=t.data)||void 0===s?void 0:null===(a=s.data)||void 0===a?void 0:a.content}if(Array.isArray(l)&&l.length>0)return l;return[]}catch(e){return console.error("Failed to fetch trending data:",e),[]}},m=async(e,t)=>{if(!(0,o.N)())return{};try{var r,n,i;let a=await (0,d.Kn)(e,t);return(null==a?void 0:null===(i=a.data)||void 0===i?void 0:null===(n=i.data)||void 0===n?void 0:null===(r=n.results)||void 0===r?void 0:r[0])||{}}catch(e){return console.error("Failed to fetch feature suggestion:",e),{}}},A=async()=>{if(!(0,o.N)())return null;try{var e,t,r;let n=await (0,d.u3)();return null!==(r=null==n?void 0:null===(t=n.data)||void 0===t?void 0:null===(e=t.segments)||void 0===e?void 0:e.search)&&void 0!==r?r:null}catch(e){return console.error("Failed to fetch user segments:",e),null}},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=E[e||"all"]||E.all,r=(null==t?void 0:t.getAllValues())||[],n=i()(),a=[];return r.forEach(e=>{if(e.expiry&&i()(e.expiry).isBefore(n,"day")){var r;let n=null==e?void 0:null===(r=e.title)||void 0===r?void 0:r.replace(/ /g,"");t.remove(n)}else a.push(e)}),a.slice(0,5)},b=e=>{var t;let r=null==e?void 0:null===(t=e.title)||void 0===t?void 0:t.replace(/ /g,""),{bse_scrip_code:n,nse_scrip_code:i,entity_type:a,search_id:o,title:s,underlying_search_id:l,id:c,groww_contract_id:u,isin:d,sub_entity_type:h,exchange:p,symbol:_,expiry:g,scheme_code:S}=e||{},m={bse_scrip_code:n,nse_scrip_code:i,entity_type:a,search_id:o,title:s,underlying_search_id:l,id:c,groww_contract_id:u||d,sub_entity_type:h,exchange:p,symbol:_,expiry:g||null,scheme_code:S||null};E.all.set(r,m);let A=f.G_[null==e?void 0:e.entity_type];A&&E[A]&&E[A].set(r,m)},T=()=>{_.cancel()},y=e=>_.isAbortError(e),O=async(e,t)=>{try{var r,n;let i=await (0,d.Kn)(e,t);return(null==i?void 0:null===(n=i.data)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r.results)||[]}catch(e){return console.error("Failed to fetch try searching for suggestions:",e),[]}},w=async()=>{if(!(0,o.N)())return{};try{var e;let t=await (0,d.Eh)(!0);return((null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.watchlist)||[]).reduce((e,t)=>{let{watchlistItemId:r,watchlistId:n}=t;return e[r]||(e[r]=[]),e[r].push(n),e},{})}catch(e){return console.error("Failed to fetch watchlist items:",e),{}}},C=async()=>{if(!(0,o.N)())return null;try{let e=await (0,d.qC)(),{watchlistIdItemsMapping:t,lastUsedWatchlist:r,maxWatchlistSize:n,maxWatchlistItemSize:i}=(null==e?void 0:e.data)||{};return{watchlistIdItemsMapping:t||{},lastUsedWatchlist:r||null,maxWatchlistSize:n||10,maxWatchlistItemSize:i||100}}catch(e){return console.error("Failed to fetch watchlist metadata:",e),null}},I=async e=>{try{return await (0,d.h9)(e),!0}catch(e){return console.error("Failed to add MF to watchlist:",e),!1}},R=async e=>{try{return await (0,d.ad)(e),!0}catch(e){return console.error("Failed to remove MF from watchlist:",e),!1}},N=async(e,t,r)=>{try{return await (0,d.yM)(e,t,[],r),!0}catch(e){return console.error("Failed to add stock to watchlist:",e),!1}}},864774:()=>{},866607:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={Onboarding:"Onboarding",PreSignup:"PreSignup",PostSignup:"PostSignup",Login:"Login",ChangePassword:"ChangePassword",Transaction:"Transaction",Filter:"Filter",MyInvestments:"MyInvestments",MySip:"MySip",Search:"Search",MutualFund:"MutualFund",Cart:"Cart",Profile:"Profile",OneTapLogin:"OneTapLogin",AmcPage:"AmcPage",WalletPage:"WalletPage",PostPayment:"PostPayment",FamilyAccount:"FamilyAccount",Dev:"Dev",MfCompare:"MfCompare",Stocks:"Stocks",Bonds:"Bonds",Deposit:"Deposit",FNO:"FNO",UsStocks:"US Stocks",NotificationsPage:"NotificationsPage",NotificationManager:"NotificationManager",PortfolioInsight:"PortfolioInsight",TRACK:"Track",SWITCH:"Switch",MfExplore:"MfExplore",StockExplore:"StockExplore",TrackLanding:"TrackLanding",SwitchLanding:"SwitchLanding",SwitchDirect:"SwitchDirect",OrderStatusPage:"OrderStatusPage",HelpSupport:"HelpSupport",SWP:"SWP",STP:"STP",SmartSave:"SmartSave",TwoFa:"TwoFa",MobileChange:"MobileChange",EmailChange:"EmailChange",ShareButton:"ShareButton",MutualFunds:"MutualFunds",PricingPage:"PricingPage",BankAndAutopay:"BankAndAutopay",WatchList:"WatchList",UserProfilePage:"UserProfilePage",GrowwMandate:"GrowwMandate",AutopayOtm:"AutopayOtm",AutopayBiller:"AutopayBiller",Header:"Header",NFO:"NFO",Gold:"Gold",ProductCheckout:"ProductCheckout",Payments:"Payments",Image:"Image",BottomNavigation:"BottomNavigation",Footer:"Footer",DocUploadService:"DocUploadService",BrokerageCalculator:"BrokerageCalculator",MoreSection:"MoreSection",Explore:"Explore",Academy:"Academy",Flashback:"Flashback",Referral:"Referral",GrowwBalance:"GrowwBalance",GTT:"GTT",GTT_FNO:"GTT_FNO",PortfolioSharing:"PortfolioSharing",Stepup:"Stepup",ActiveDevices:"ActiveDevices",AadharPanNotLinked:"AadharPanNotLinked",Reports:"Reports",Redeem:"Redeem",MessageBoard:"MessageBoard",TabVisibility:"TabVisibility",FreezeAccount:"FreezeAccount"}},868957:(e,t,r)=>{"use strict";e.exports=function(e){try{var t=r(335122)(e);if(t&&(t.length||Object.keys(t).length))return t;return null}catch(e){return null}}},870507:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,iI:()=>o.iI});
19var n=r(873435),i=r(951402),a=r(930645),o=r(482801);function s(){let e=(0,o.bF)(),t=(0,o.iI)(),r="",s={},l={},c={},u=e===a.W.IOS&&t,d=e===a.W.ANDROID&&t,f=(0,o.m0)();return{platformType:e,isActive:t,getAppVersion:()=>r||(r=(0,o.$c)()),getAppHeaders:()=>(0,i.a)(s)?s=(0,o.T7)():s,getMetaData:()=>(0,i.a)(l)?l=(0,o.Jd)():l,getParams:()=>{var e,t;return(0,i.a)(c)?c=n.parse(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.search):c},sendMessage:function(e){t&&(0,i.Q)(e)},receiveMessage:function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"CUSTOM_MESSAGE";t&&(0,i.R)(e,r)},isIOS:u,isAndroid:d,ENUM_PLATFORM_TYPE:a.W,isActiveFromUserAgent:f,compareAppVersions:o._5,isAppVersionLessThan:o.y7,isAppVersionGreaterThan:o.hq,isAppVersionEqualTo:o.f9}}},870898:()=>{},873435:(e,t,r)=>{"use strict";let n=r(818179),i=r(952215),a=r(92023),o=r(678059),s=e=>null==e;function l(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function f(e){let t=(e=d(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function p(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);let r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t){n[e]=r;return}void 0===n[e]&&(n[e]={}),n[e][t[1]]=r};case"bracket":return(e,r,n)=>{if(t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!t){n[e]=r;return}if(void 0===n[e]){n[e]=[r];return}n[e]=[].concat(n[e],r)};case"comma":case"separator":return(t,r,n)=>{let i="string"==typeof r&&r.includes(e.arrayFormatSeparator),a="string"==typeof r&&!i&&u(r,e).includes(e.arrayFormatSeparator);r=a?u(r,e):r;let o=i||a?r.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===r?r:u(r,e);n[t]=o};default:return(e,t,r)=>{if(void 0===r[e]){r[e]=t;return}r[e]=[].concat(r[e],t)}}}(t),n=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return n;for(let i of e.split("&")){if(""===i)continue;let[e,o]=a(t.decode?i.replace(/\+/g," "):i,"=");o=void 0===o?null:["comma","separator"].includes(t.arrayFormat)?o:u(o,t),r(u(e,t),o,n)}for(let e of Object.keys(n)){let r=n[e];if("object"==typeof r&&null!==r)for(let e of Object.keys(r))r[e]=h(r[e],t);else n[e]=h(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((e,t)=>{let r=n[t];return r&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=f,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);let r=r=>t.skipNull&&s(e[r])||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let i=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",i,"]"].join("")]:[...r,[c(t,e),"[",c(i,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"comma":case"separator":return t=>(r,n)=>null==n||0===n.length?r:0===r.length?[[c(t,e),"=",c(n,e)].join("")]:[[r,c(n,e)].join(e.arrayFormatSeparator)];default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),i={};for(let t of Object.keys(e))r(t)||(i[t]=e[t]);let a=Object.keys(i);return!1!==t.sort&&a.sort(t.sort),a.map(r=>{let i=e[r];return void 0===i?"":null===i?c(r,t):Array.isArray(i)?i.reduce(n(r),[]).join("&"):c(r,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
19{t=Object.assign({decode:!0},t);let[r,n]=a(e,"#");return Object.assign({url:r.split("?")[0]||"",query:p(f(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:u(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0},r);let n=d(e.url).split("?")[0]||"",i=t.extract(e.url),a=Object.assign(t.parse(i,{sort:!1}),e.query),o=t.stringify(a,r);o&&(o=`?${o}`);let s=function(e){let t="",r=e.indexOf("#");return -1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(s=`#${c(e.fragmentIdentifier,r)}`),`${n}${o}${s}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0},n);let{url:i,query:a,fragmentIdentifier:s}=t.parseUrl(e,n);return t.stringifyUrl({url:i,query:o(a,r),fragmentIdentifier:s},n)},t.exclude=(e,r,n)=>{let i=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,i,n)}},874950:e=>{e.exports={popupUi:"riskComplianceInfo_popupUi__hFPIk",heading:"riskComplianceInfo_heading__mqyZo",listItemParent:"riskComplianceInfo_listItemParent__6q4Pm",footer:"riskComplianceInfo_footer__1X8yx",riskClock:"riskComplianceInfo_riskClock__2RXi4",commodityOptIn:"riskComplianceInfo_commodityOptIn__pbO5_",commodityOptInCheckBoxes:"riskComplianceInfo_commodityOptInCheckBoxes__cHuSh",infoContainer:"riskComplianceInfo_infoContainer__QYOfN",infoIcon:"riskComplianceInfo_infoIcon__CGmAl"}},875685:(e,t,r)=>{"use strict";r.d(t,{BC:()=>o,E3:()=>n,TB:()=>i,mx:()=>a});let n="GET_LIVE_PRICE",i="GET_BATCH_LIVE_PRICE",a="UPDATE_LIVE_PRICE_HOLDINGS",o="UPDATE_LIVE_PRICE"},877894:(e,t,r)=>{"use strict";r.d(t,{Fu:()=>l,TF:()=>n,_4:()=>o,tw:()=>s,v_:()=>a,xm:()=>i});let n="GET_STOCKS_ALL_SIPS",i="GET_ACTIVE_SIP_COUNT",a="CLEAR_SIP_DASHBOARD_DATA",o="GET_MORE_ACTIVE_SIPS",s="REFRESH_ACTIVE_SIPS",l="GET_MESSAGE_BOARD_DATA"},878599:e=>{e.exports={benefitsCard:"CleartaxBenefitsList_benefitsCard__irqh8",benefitItem:"CleartaxBenefitsList_benefitItem__Mfr2Z",iconWrapper:"CleartaxBenefitsList_iconWrapper__Wketz",benefitText:"CleartaxBenefitsList_benefitText__Emxae"}},880478:()=>{},881924:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});let n=JSON.parse('{"eventInfo":{"date":"14 August 2026","time":"2 PM - 4 PM","venue":"Jio World Convention Center, Mumbai"},"registerCta":{"label":"Secure your spot","spotsFullLabel":"Spots full","spotsFullPopupTitle":"All spots have been filled","spotsFullPopupMessage":"Thank you for the incredible response. Registrations for this edition are now closed.","url":"https://pages.razorpay.com/commodities360byGroww","isSpotsFull":false},"navLinks":[{"label":"Home","href":"#home"},{"label":"Speakers","href":"#speakers"},{"label":"Agenda","href":"#agenda"}],"hero":{"title":"Commodities","titleAccent":"360","subtitleBrand":"Groww","subtitleSuffix":"at MCX Global Commodity Conclave 2026","backgroundImageDesktop":"https://cms-resources.groww.in/uploads/desktop_hero_bg_7bf0dc78c0.svg","backgroundImageMobile":"https://cms-resources.groww.in/uploads/Mask_group_13ecb94978.svg","glowImage":"https://cms-resources.groww.in/uploads/glow_b78ccf6e8b.svg","detailIcons":{"calendar":"https://cms-resources.groww.in/uploads/calendar_2dfbac47fc.svg","clock":"https://cms-resources.groww.in/uploads/clock_4ee2ea538d.svg","mapPin":"https://cms-resources.groww.in/uploads/map_pin_7a149b11d4.svg"}},"benefits":{"headingPrefix":"Understand the markets","headingMiddle":"that","headingAccent":"move the world.","subheading":"Go beyond stocks and discover how experienced traders approach commodity markets through practical sessions, real strategies and actionable insights.","items":[{"id":1,"title":"Learn from experienced traders","description":"Hear directly from traders who actively participate in commodity markets.","iconUrl":"https://cms-resources.groww.in/uploads/user_round_check_ebe797af87.svg"},{"id":2,"title":"Practical trading strategies","description":"Explore trend following, commodity options, risk management and execution.","iconUrl":"https://cms-resources.groww.in/uploads/chart_candlestick_e24a9f1453.svg"},{"id":3,"title":"Real market insights","description":"Understand how global events, volatility and macroeconomic factors shape commodity prices.","iconUrl":"https://cms-resources.groww.in/uploads/globe_202499aef4.svg"}]},"speakers":{"headingPrefix":"Meet the","headingAccent":"speakers","items":[{"id":1,"name":"Arjun Tandon","title":"Founder,","title2":" Kailasa Capital","profileImage":"https://cms-resources.groww.in/uploads/desktop_speaker_1_8cdd38d49d.jpg"},{"id":2,"name":"Tanmay Kurtkoti","title":"Founder & CEO","title2":" QCAlpha","profileImage":"https://cms-resources.groww.in/uploads/desktop_speaker_2_2350d2b315.jpg"},{"id":3,"name":"Ashwin Raghavan","title":"Independent Trader","title2":"","profileImage":"https://cms-resources.groww.in/uploads/desktop_speaker_3_48c2fe9ee8.jpg"},{"id":4,"name":"Nikhil Khandelwal","title":"Founder,","title2":" Volarb","profileImage":"https://cms-resources.groww.in/uploads/desktop_speaker_4_fb75a04852.jpg"},{"id":5,"name":"Souvik Das","title":"Founder,","title2":" Volarb","profileImage":"https://cms-resources.groww.in/uploads/desktop_speaker_5_1fdd491059.jpg"},{"id":6,"name":"Yogesh Nanda","title":"Partner,","title2":" Scalium Investments","profileImage":"https://cms-resources.groww.in/uploads/desktop_speaker_6_e38c9088c0.jpg"}]},"agenda":{"headingBold":"Agenda","headingLight":"of the day","glowImage":"https://cms-resources.groww.in/uploads/glow_b78ccf6e8b.svg","items":[{"id":1,"time":"1:45 PM â 2:00 PM","title":"Welcome and Networking","description":"Connect with fellow attendees.","tag":"OPENING"},{"id":2,"time":"2:00 PM â 2:15 PM","title":"Commodity Market Challenge","description":"Interactive quiz and real-world market scenarios to test your understanding and win exciting prizes.","tag":"ACTIVITY"},{"id":3,"time":"2:15 PM â 3:15 PM","title":"Trend Following in Commodities","description":"Learn how experienced traders identify trends, manage risk, build systematic trading frameworks, and get your questions answered in a live Q&A.","tag":"PANEL","panelists":["ARJUN TANDON","TANMAY KURTKOTI","ASHWIN RAGHAVAN"]},{"id":4,"time":"3:15 PM â 4:00 PM","title":"Commodity Options Trading","description":"Understand pricing, volatility, liquidity and practical options strategies from experienced traders, and get your questions answered in a live Q&A","tag":"PANEL","panelists":["NIKHIL KHANDELWAL","SOUVIK DAS","YOGESH NANDA"]}]},"footer":{"valueProps":[{"id":1,"label":"Decode","label2":"market trends"},{"id":2,"label":"Practical","label2":"trading strategies"},{"id":3,"label":"Live","label2":"Q&A sessions"},{"id":4,"label":"Networking","label2":"opportunities"}],"footerImage":"https://cms-resources.groww.in/uploads/desktop_reinforcement_fold_271b9aecea.jpg"}}')},885409:(e,t)=>{"use strict";
19Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,r,n){n=n||!1,e.addEventListener?e.addEventListener(t,r,n):e.attachEvent&&e.attachEvent("on"+t,function(t){r.call(e,t||window.event)})},t.off=function(e,t,r,n){n=n||!1,e.removeEventListener?e.removeEventListener(t,r,n):e.detachEvent&&e.detachEvent("on"+t,r)}},886837:function(e,t,r){var n,i;i=(n=r(170742)).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],a=0;a<r;a+=3)for(var o=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<r;s++)i.push(n.charAt(o>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var a=0;a<r.length;a++)n[r.charCodeAt(a)]=a}var o=r.charAt(64);if(o){var s=e.indexOf(o);-1!==s&&(t=s)}for(var l=e,c=t,u=n,d=[],f=0,h=0;h<c;h++)if(h%4){var p=u[l.charCodeAt(h-1)]<<h%4*2|u[l.charCodeAt(h)]>>>6-h%4*2;d[f>>>2]|=p<<24-f%4*8,f++}return i.create(d,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.exports=n.enc.Base64},887176:(e,t,r)=>{"use strict";function n(e){return"stream"===e.getOptions().traceLifecycle}r.d(t,{K:()=>n})},890465:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/riskClock.fad2ccb8.svg",height:51,width:48,blurWidth:0,blurHeight:0}},892751:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(986594);r(407178);var i=r(802053),a=r.n(i);let o=e=>{let{isCsr:t,url:r,addAnchorClass:i,children:o,prefetch:s,...l}=e;return t?(0,n.jsx)(a(),{href:r,prefetch:!0===s&&void 0,legacyBehavior:!0,children:(0,n.jsx)("a",{onClick:l.onClick,className:i,...l,children:o})}):(0,n.jsx)("a",{href:r,className:i,...l,children:o})};o.defaultProps={isCsr:!0,addAnchorClass:"",prefetch:!0};let s=o},893953:(e,t,r)=>{"use strict";r.d(t,{FV:()=>u,RD:()=>l,Ve:()=>f,nP:()=>d});var n=r(569443),i=r.n(n),a=r(204008),o=r.n(a),s=r(635662);let l=3e3,c={startTime:{hour:9,minute:15},preOpenStart:{hour:9,minute:0},preOpenEnd:{hour:9,minute:7},endTime:{hour:15,minute:30}},u={date:"2024-11-01",startTime:{hour:18,minute:0},preOpenStart:{hour:17,minute:45},preOpenEnd:{hour:17,minute:52},endTime:{hour:19,minute:0}},d=()=>{let e,t=i()().startOf("day").isSame(i()(u.date).startOf("day"));t&&(e=u.date);let{preOpenStart:r,preOpenEnd:n,startTime:a,endTime:o}=t?u:c,l=(0,s.L)(a.hour,a.minute,e),d=(0,s.L)(r.hour,r.minute,e),f=(0,s.L)(n.hour,n.minute,e),h=(0,s.L)(o.hour,o.minute,e);return{marketPreOpenStartTime:d,marketPreOpenEndTime:f,marketOpenTime:l,marketCloseTime:h,preMarketOpen:i()().isBetween(i()(d,"HH:mm:ss"),i()(l,"HH:mm:ss")),marketTimeDifferenceInSeconds:(0,s.H)(h,l),createdAt:i()(e).format("YYYY-MM-DD")}},f=e=>{i().extend(o());let t=i()(),{startTime:r,endTime:n}=null!=e?e:c,a=i()().hour(r.hour).minute(r.minute),s=i()().hour(n.hour).minute(n.minute);return t.isBetween(a,s)}},897754:(e,t,r)=>{r(829793)},898546:(e,t,r)=>{"use strict";r.d(t,{B6:()=>l,bf:()=>o,Mc:()=>g,yV:()=>d,sJ:()=>h,D4:()=>a,m_:()=>c,ky:()=>u,GN:()=>E,w8:()=>s,$g:()=>_,lV:()=>p,Uc:()=>f});var n=r(407178),i=r(464726);let a=[{label:"100% secure",image:n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 38 38",...t},n.createElement("g",{clipPath:"url(#clip0)"},n.createElement("path",{fill:"#00B386",d:"M32.403 6.599C25.481 6.599 20.18.834 20.09.736a1.467 1.467 0 0 0-2.18-.001c-.052.058-5.367 5.864-12.313 5.864-.81 0-1.465.656-1.465 1.465 0 12.874 2.597 24.013 14.24 29.544.397.19.859.19 1.257 0 11.669-5.543 14.24-16.72 14.24-29.544 0-.81-.657-1.465-1.466-1.465M19 34.652C9.458 29.77 7.217 20.263 7.07 9.46c5.615-.525 9.987-3.908 11.93-5.687 1.943 1.78 6.315 5.162 11.93 5.687-.147 10.805-2.39 20.31-11.93 25.192m-1.504-14.225 5.962-5.962a1.465 1.465 0 1 1 2.071 2.072l-6.997 6.997c-.572.572-1.5.572-2.072 0l-3.989-3.989a1.465 1.465 0 1 1 2.072-2.071z"}),n.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M19.718 1.07a.967.967 0 0 0-1.436 0h-.001c-.043.048-1.416 1.546-3.666 3.036-2.247 1.487-5.409 2.993-9.018 2.993a.965.965 0 0 0-.965.965c0 12.834 2.59 23.694 13.954 29.093a.97.97 0 0 0 .828 0c11.39-5.411 13.954-16.31 13.954-29.093a.965.965 0 0 0-.965-.965c-3.597 0-6.75-1.496-8.994-2.978-2.248-1.484-3.627-2.982-3.688-3.049zm-.09 36.538c-.397.19-.859.19-1.257 0-11.642-5.53-14.24-16.67-14.24-29.544 0-.81.657-1.465 1.466-1.465 6.946 0 12.26-5.806 12.314-5.864a1.467 1.467 0 0 1 2.18 0C20.18.835 25.48 6.6 32.402 6.6c.81 0 1.465.656 1.465 1.465 0 12.824-2.57 24-14.24 29.544M19 35.214l-.228-.117C8.966 30.08 6.717 20.307 6.57 9.467l-.006-.462.46-.043c5.451-.51 9.722-3.804 11.638-5.558l.338-.31.338.31c1.916 1.754 6.187 5.049 11.638 5.558l.46.043-.006.461c-.147 10.843-2.397 20.615-12.202 25.631zm-1.504-14.08-3.307-3.307a.965.965 0 1 0-1.364 1.365l3.988 3.988a.966.966 0 0 0 1.365 0l6.997-6.997a.965.965 0 0 0-1.364-1.364zm-1.036 2.4c.572.572 1.5.572 2.072 0l6.997-6.997a1.465 1.465 0 0 0-2.072-2.072l-5.961 5.962-2.953-2.953a1.465 1.465 0 1 0-2.072 2.071zM19 3.773c-1.943 1.78-6.315 5.162-11.93 5.687C7.217 20.263 9.458 29.77 19 34.652c9.54-4.881 11.783-14.387 11.93-25.192-5.615-.525-9.987-3.908-11.93-5.687",clipRule:"evenodd"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0"},n.createElement("path",{fill:"#fff",d:"M.25.25h37.5v37.5H.25z"}))))}),desc:"Bank FDs are insured upto â¹5 lakhs by RBI"},{label:"High Interest Rates",image:n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",...t}
19,n.createElement("g",{fill:"#00B386",clipPath:"url(#clip0)"},n.createElement("path",{d:"M27.407 9.89a1.1 1.1 0 0 0-.739-.336l-6.148-.321a.686.686 0 1 0-.072 1.37l4.706.246-14.041 9.931a.685.685 0 1 0 .793 1.12L26.13 11.837l-.808 4.834a.686.686 0 0 0 1.353.226l1.015-6.07v-.001a1.1 1.1 0 0 0-.283-.936M11.052 32.54H7.85c-.634.002-1.141.509-1.144 1.142v3.2c.003.634.51 1.14 1.144 1.143h3.2a1.143 1.143 0 0 0 1.144-1.143v-3.2a1.144 1.144 0 0 0-1.143-1.142m-.229 4.114H8.08V33.91h2.744zM18.826 27.968h-3.2c-.635.003-1.141.51-1.144 1.143v7.771c.003.634.51 1.14 1.143 1.143h3.201a1.143 1.143 0 0 0 1.144-1.143v-7.77a1.144 1.144 0 0 0-1.144-1.144m-.228 8.686h-2.744V29.34h2.744zM26.6 22.94h-3.2c-.635.003-1.141.51-1.144 1.143v12.8c.003.633.51 1.14 1.143 1.142H26.6a1.144 1.144 0 0 0 1.144-1.143v-12.8A1.143 1.143 0 0 0 26.6 22.94m-.228 13.713h-2.744V24.311h2.744zM34.375 17.454h-3.201c-.634.003-1.14.51-1.143 1.143v18.285c.002.634.509 1.14 1.143 1.143h3.201a1.143 1.143 0 0 0 1.143-1.143V18.597a1.144 1.144 0 0 0-1.143-1.143m-.229 19.2h-2.744V24.31h2.744zm0-13.714h-2.744v-4.114h2.744zM42.15 9.683h-3.202c-.634.003-1.14.51-1.143 1.143v26.056c.002.634.51 1.14 1.143 1.143h3.201a1.143 1.143 0 0 0 1.144-1.143V10.826a1.144 1.144 0 0 0-1.144-1.143m-.23 26.97h-2.743V18.826h2.744zm0-19.199h-2.743v-6.4h2.744zM43.064 39.397H6.936a.686.686 0 0 0 0 1.37h36.128a.686.686 0 0 0 0-1.37"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0"},n.createElement("path",{fill:"#fff",d:"M6.25 6.25h37.5v37.5H6.25z"}))))}),desc:"We have tenures with the highest interest rates in the market"}],o={PURCHASE:"PURCHASE",REDEEM:"REDEEM"},s={COMPLETED:"COMPLETED",PENDING:"PENDING",FAILED:"FAILED",REJECTED:"REJECTED",CREATED:"CREATED",APPROVED:"APPROVED",INITIATED:"INITIATED",ORDER_SENT_TO_BANK:"ORDER_SENT_TO_BANK",CANCELLED:"CANCELLED",REJECTED_BY_BANK:"REJECTED_BY_BANK"},l={EQUITAS_BANK:"EQUITAS-BANK",AXIS_BANK:"AXIS-BANK",BFL_BANK:"BFL-BANK",INDUS_BANK:"INDUS-BANK"},c={MATURITY_VALUE:{title:"Maturity (Invested)",popupTitle:"Maturity (Invested)",key:"MATURITY_VALUE"},INTEREST:{title:"Interest",popupTitle:"Interest",key:"INTEREST"},ALPHABETICAL:{title:"",popupTitle:"Alphabetical",key:"ALPHABETICAL"},DATE:{title:"",popupTitle:"Date",key:"DATE"}};c.MATURITY_VALUE.key,c.INTEREST.key;let u={FD:"FD",RD:"RD"},d={THEME_CHANGE:"themeChange",RC_LOADED:"rcLoaded",FIREBASE_AUTHENTICATE:"firebaseAuth",OPEN_LOGIN_POPUP:"openLoginPopup",UPDATE_HEADER:"updateHeader",LOGIN_SUCCESS:"loginSuccess",TWO_FA_SUCCESS:"twoFASuccess",OPEN_PIN_POPUP:"openPinPopup",TABLE_CLOSE:"tableClose",TRACK_LOG:"trackLog",LIVEPRICE_CHANGED:"livePriceChanged",TOGGLE_EXCHANGE:"toggleExchange",RESET_TV_CHART_DATA:"resetTvChartData"},f="https://api.whatsapp.com/send?text=Check out this ",h="https://www.facebook.com/sharer/sharer.php?u=",p="https://twitter.com/intent/tweet?text=Check out this ",E={NOT_SUBMITTED:"NOT_SUBMITTED",REJECTED:"REJECTED",FAILED:"FAILED",ACCEPTED:"ACCEPTED",SUBMITTED:"SUBMITTED",SKIPPED:"SKIPPED",COMPLETED:"COMPLETED",REVIEW_PENDING:"REVIEW_PENDING",FAILURE:"FAILURE"},_={PAN_CARD:"pan-card",BANKING:"banking",RD:"recurring-deposit",FD:"fixed-deposit",US_STOCKS:"us-stocks",GOLD:"gold",CAPITAL_GAINS:"capital-gains",STOCKS:"stocks",MUTUAL_FUNDS:"mutual-funds",AADHAAR_CARD:"aadhaar-card",SAVING_SCHEMES:"savings-schemes",TAX:"tax",CREDIT_CARD:"credit-card",SAVINGS_ACCOUNT:"savings-account",IFSC_CODE:"ifsc-code",EMI_CALCULATORS:"emi-calculators",PPF_CALCULATORS:"ppf-calculators",FD_CALCULATORS:"fd-calculators",RD_CALCULATORS:"rd-calculators",MF_CALCULATORS:"mf-calculators",CALCULATORS:"calculators"},g={MF_CALCULATOR:"calculatorsMf",FD_CALCULATOR:"calculatorsFd",RD_CALCULATOR:"calculatorsRd",PPF_CALCULATOR:"calculatorsPpf",EMI_CALCULATOR:"calculatorsEmi",MORE_CALCULATOR:"calculators"}},900261:(e,t,r)=>{"use strict";function n(e){return{...e.custom?{}:{viewBox:"0 0 24 24",fill:"currentColor",height:24,width:24},...e.size?{height:e.size,width:e.size}:{},...e,size:void 0,custom:void 0}}r.d(t,{h:()=>n}),function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object)},902823:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_700)"},n.createElement("path",{fill:"currentColor",d:"M3 21.2V2.4q0-.176.15-.237.15-.063.275.062l.725.725a.48.48 0 0 0 .7 0l.8-.8a.48.48 0 0 1 .7 0l.8.8a.48.48 0 0 0 .7 0l.8-.8a.48.48 0 0 1 .7 0l.8.8a.48.48 0 0 0 .7 0l.8-.8a.48.48 0 0 1 .7 0l.8.8a.48.48 0 0 0 .7 0l.8-.8a.48.48 0 0 1 .7 0l.8.8a.48.48 0 0 0 .7 0l.8-.8a.48.48 0 0 1 .7 0l.8.8a.48.48 0 0 0 .7 0l.725-.725q.125-.125.275-.062.15.062.15.237v18.8q0 .175-.15.238-.15.062-.275-.063l-.725-.725a.48.48 0 0 0-.7 0l-.8.8a.48.48 0 0 1-.7 0l-.8-.8a.48.48 0 0 0-.7 0l-.8.8a.48.48 0 0 1-.7 0l-.8-.8a.48.48 0 0 0-.7 0l-.8.8a.48.48 0 0 1-.7 0l-.8-.8a.48.48 0 0 0-.7 0l-.8.8a.48.48 0 0 1-.7 0l-.8-.8a.48.48 0 0 0-.7 0l-.8.8a.48.48 0 0 1-.7 0l-.8-.8a.48.48 0 0 0-.7 0l-.725.725q-.125.124-.275.063Q3 21.375 3 21.2m4-4.4h10q.424 0 .712-.288A.97.97 0 0 0 18 15.8a.97.97 0 0 0-.288-.713A.97.97 0 0 0 17 14.8H7a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 15.8q0 .424.287.712.288.288.713.288m0-4h10q.424 0 .712-.288A.97.97 0 0 0 18 11.8a.97.97 0 0 0-.288-.713A.97.97 0 0 0 17 10.8H7a.97.97 0 0 0-.713.287A.97.97 0 0 0 6 11.8q0 .424.287.712.288.288.713.288m0-4h10q.424 0 .712-.288A.97.97 0 0 0 18 7.8a.97.97 0 0 0-.288-.712A.97.97 0 0 0 17 6.8H7a.97.97 0 0 0-.713.288A.97.97 0 0 0 6 7.8q0 .424.287.712.288.288.713.288M5 18.9h14V4.7H5z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_700"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},904002:(e,t,r)=>{"use strict";function n(e){return!!e&&"function"==typeof e&&"_streamed"in e&&!!e._streamed}r.d(t,{S:()=>n})},907141:(e,t,r)=>{"use strict";r.d(t,{o:()=>n,s:()=>i});var n=function(e){return e.PERSONAL_DETAILS="PERSONAL_DETAILS",e.DISCLAIMER="DISCLAIMER",e.CERTIFICATION="CERTIFICATION",e.AGREEMENT="AGREEMENT",e}({}),i=function(e){return e.NOT_STARTED="NOT_STARTED",e.DRAFT="DRAFT",e.SUCCESS="SUCCESS",e.ERROR="ERROR",e}({})},907266:(e,t,r)=>{"use strict";r.d(t,{DH:()=>h,GH:()=>g,RE:()=>f,SG:()=>p,_h:()=>E,gB:()=>d,pf:()=>u,xv:()=>_});var n=r(132978),i=r(818142),a=r(299168),o=r(419938),s=r(866607),l=r(47360);let c=()=>{var e;return{uuid:(0,a.Gn)(),userAgent:"undefined"!=typeof navigator?null===(e=navigator)||void 0===e?void 0:e.userAgent:{}}};function u(){let e="".concat((0,i.L)(),"/api/v1/logout/user");return o.W7.post(e,void 0,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v1/logout/user")}})}function d(){let e="".concat((0,i.L)(),"/api/v2/auth/check/pin_status");return new Promise((t,r)=>{o.W7.get(e,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v2/auth/check/pin_status")}}).then(e=>{var r;let n=null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.response;
19t({data:{data:{...n,pin_set:n.pinSet,device_reg:n.deviceRegistered}}})}).catch(e=>r(e))})}function f(){let e="".concat((0,i.L)(),"/api/v1/register_device/send_otp");return o.W7.post(e,void 0,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v1/register_device/send_otp")}})}function h(e){let t="".concat((0,i.L)(),"/api/v1/register_device/validate_otp");return o.W7.post(t,e,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v1/register_device/validate_otp")}})}function p(e,t,r){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",u="".concat((0,i.L)(),"/api/v1/login/user"),d={gmailLogin:!0,idToken:e,accessToken:t,utmMedium:null!=r?r.utm_medium:"",utmSource:null!=r?r.utm_source:"",utmCampaign:null!=r?r.utm_campaign:"",utmRefCode:null!=r?r.utm_ref_code:"",userAttributes:c()};return new Promise((e,t)=>{o.W7.post(u,d,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v1/login/user")}}).then(t=>{var r;let{data:i}=t,o=new Date,c=o.getHours()+":"+o.getMinutes()+":"+o.getSeconds(),u={responseData:JSON.stringify(i),email:a,fromGmail:!0,time:c,isSmallcase:!0};(null==i||void 0===i)&&(0,n.s)(s.A.Login,l.A.ResponseDataEmpty,u),""===i.authToken?(0,n.s)(s.A.Login,l.A.AuthTokenEmpty,u):(null===i.authToken||void 0===i.authToken)&&(0,n.s)(s.A.Login,l.A.AuthTokenUndefined,u),e({data:{...null==i?void 0:i.response,externalAuthToken:null==i?void 0:null===(r=i.response)||void 0===r?void 0:r.externalAuthToken}})}).catch(e=>{t(e)})})}function E(e,t){let r="".concat((0,i.L)(),"/api/v1/login/user"),a={gmailLogin:!1,emailId:e,password:t,userAttributes:c()};return new Promise((t,c)=>{o.W7.post(r,a,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v1/login/user")}}).then(r=>{var i;let{data:a}=r,o=new Date,c=o.getHours()+":"+o.getMinutes()+":"+o.getSeconds(),u={responseData:JSON.stringify(a),email:e,fromGmail:!1,time:c,isSmallcase:!0};(null==a||void 0===a)&&(0,n.s)(s.A.Login,l.A.ResponseDataEmpty,u),""===a.authToken?(0,n.s)(s.A.Login,l.A.AuthTokenEmpty,u):(null===a.authToken||void 0===a.authToken)&&(0,n.s)(s.A.Login,l.A.AuthTokenUndefined,u),t({data:{...null==a?void 0:a.response,externalAuthToken:null==a?void 0:null===(i=a.response)||void 0===i?void 0:i.externalAuthToken}})}).catch(e=>{var t,r,n;c({response:{data:{errorMessage:{message:null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:null===(t=r.error)||void 0===t?void 0:t.errorMessage}},status:400}})})})}function _(e){let t="".concat((0,i.L)(),"/api/v1/login/check_email"),r={email_id:e};return new Promise((e,n)=>{o.W7.post(t,null,{params:r,metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v1/login/check_email")}}).then(t=>{var r,n,i;e({data:{...null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.response,data:{already_exists:null==t?void 0:null===(i=t.data)||void 0===i?void 0:null===(n=i.response)||void 0===n?void 0:n.alreadyExists},response:"success"}})}).catch(e=>n(e))})}let g=e=>{let t="".concat((0,i.L)(),"/api/v2/auth/validate/pin");return new Promise((r,n)=>{o.W7.post(t,e,{metadata:{urlTemplate:"".concat((0,i.L)(),"/api/v2/auth/validate/pin")}}).then(e=>{var t;r({data:{data:{...null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.response,isSuccess:!0}}})}).catch(e=>{var t,r,i;let a=null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.data;n({response:{data:{errorMessage:{message:(null==a?void 0:a.message)||(null==a?void 0:null===(r=a.error)||void 0===r?void 0:r.errorMessage)}},status:(null==e?void 0:null===(i=e.response)||void 0===i?void 0:i.status)||400}})})})}},908018:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,ue:()=>o});var n=r(642803);let i=e=>{var t,r,n;let[i,a,o]=null!=e?e:[],s=null!==(t=null==i?void 0:i.data)&&void 0!==t?t:null,l=null!==(r=null==a?void 0:a.data)&&void 0!==r?r:null;return[s,l,null!==(n=null==o?void 0:o.data)&&void 0!==n?n:null]};var a=r(517744);let o={mfGraphError:!1,mfGraphCompareLoading:!0,mfGraphCompare:null};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0,{type:r}=t;return r===a.H.GET_MF_COMPARE_GRAPH_DATA?function(e,t){let{payload:r}=t;return(0,n.handle)(e,t,{start:e=>({...e,mfGraphCompareLoading:!0}),success:e=>({...e,mfGraphCompareLoading:!1,mfGraphCompare:i(r)}),failure:e=>({...e,mfGraphCompareLoading:!1,mfGraphError:!0})})}(e,t):e}},910237:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_359)"},n.createElement("path",{fill:"currentColor",d:"m12 19-4.2 1.8q-1 .426-1.9-.163-.9-.587-.9-1.662V6q0-.824.588-1.412A1.93 1.93 0 0 1 7 4h10q.824 0 1.413.588Q19 5.175 19 6v12.975q0 1.075-.9 1.662-.9.588-1.9.163z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_359"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},910523:(e,t,r)=>{"use strict";r.d(t,{r7:()=>O,Uk:()=>A,hb:()=>v});var n=r(488948),i=r(269618),a=r(574830),o=r(730884),s=r(80339),l=r(779126),c=r(93
196114),u=r(474043),d=r(887176),f=r(422695),h=r(699347),p=r(925129),E=r(248934),_=r(460318),g=r(458732),S=r(38314),m=r(535902);function A(e){let t=T();return t.startInactiveSpan?t.startInactiveSpan(e):function(e){let t=function(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,p.cI)(e.startTime),delete r.startTime,r}return t}(e),{forceTransaction:r,parentSpan:n}=e;return(e.scope?t=>(0,a.v4)(e.scope,t):void 0!==n?e=>v(n,e):e=>e())(()=>{let i=(0,a.o5)(),o=function(e,t){if(t)return t;if(null===t)return;let r=(0,h.f)(e);if(!r)return;let n=(0,a.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,p.zU)(r):r}(i,n),l=(0,a.KU)();return e.onlyIfParent&&!o?function(e,t){t?.recordDroppedEvent("no_parent_span","span");let r=new g.w({traceId:e.getPropagationContext().traceId});return(0,m.d_)(r,e,(0,a.rm)()),r}(i,l):function({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let i,o=(0,a.rm)();if(!(0,c.f)()){let t=n.getPropagationContext(),i=e?e.spanContext().traceId:t.traceId,a=new g.w({traceId:i});return e&&!r&&(0,p.Hu)(e,a),(0,m.d_)(a,n,o),a}let l=(0,a.KU)();if(function(e,t){let r=e?.getOptions().ignoreSpans;return!!(e&&(0,d.K)(e)&&r?.length)&&(0,u.e)({description:t.name||"",op:t.attributes?.[s.uT]||t.op,attributes:t.attributes},r)}(l,t)){b(n)||l?.recordDroppedEvent("ignored","span");let t=new g.w({dropReason:"ignored",traceId:e?.spanContext().traceId??n.getPropagationContext().traceId});return e&&!r&&(0,p.Hu)(e,t),(0,m.d_)(t,n,o),t}if(e&&!r)i=function(e,t,r,n){let{spanId:i,traceId:o}=e.spanContext(),s=b(t),l=!s&&(0,p.pK)(e),c=l?new S.W({...r,parentSpanId:i,traceId:o,sampled:l}):new g.w({traceId:o});(0,p.Hu)(e,c),(0,m.d_)(c,t,n);let u=(0,a.KU)();return u&&((0,d.K)(u)&&(0,g.h)(c)&&((0,g.h)(e)&&e.dropReason?(c.dropReason=e.dropReason,u.recordDroppedEvent(e.dropReason,"span")):s||(c.dropReason="sample_rate",u.recordDroppedEvent("sample_rate","span"))),u.emit("spanStart",c),r.endTimestamp&&(u.emit("spanEnd",c),u.emit("afterSpanEnd",c))),c}(e,n,t,o),(0,p.Hu)(e,i);else if(e){let r=(0,E.k1)(e),{traceId:a,spanId:s}=e.spanContext(),l=(0,p.pK)(e);i=y({traceId:a,parentSpanId:s,...t},n,o,l),(0,E.LZ)(i,r)}else{let{traceId:e,dsc:r,parentSpanId:a,sampled:s}=n.getPropagationContext();i=y({traceId:e,parentSpanId:a,...t},n,o,s),r&&(0,E.LZ)(i,r)}return(0,_.z)(i),i}({parentSpan:o,spanArguments:t,forceTransaction:r,scope:i})})}(e)}function v(e,t){let r=T();return r.withActiveSpan?r.withActiveSpan(e,t):(0,a.v4)(r=>((0,h.r)(r,e||void 0),t(r)))}function b(e=(0,a.o5)()){let t=T();return t.isTracingSuppressed?t.isTracingSuppressed(e):!0===e.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function T(){let e=(0,i.EU)();return(0,n.h)(e)}function y(e,t,r,n){let i=(0,a.KU)(),u=i?.getOptions()||{},{name:h=""}=e,p={spanAttributes:{...e.attributes},spanName:h,parentSampled:n};i?.emit("beforeSampling",p,{decision:!1});let E=p.parentSampled??n,_=p.spanAttributes,g=t.getPropagationContext(),A=b(t),[v,T,y]=A?[!1]:function(e,t,r){let n,i;if(!(0,c.f)(e))return[!1];"function"==typeof e.tracesSampler?(n=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),i=!0):void 0!==t.parentSampled?n=t.parentSampled:void 0!==e.tracesSampleRate&&(n=e.tracesSampleRate,i=!0);let a=(0,f.i)(n);if(void 0===a)return o.T&&l.Yz.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!a)return o.T&&l.Yz.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,a,i];let s=r<a;return!s&&o.T&&l.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[s,a,i]}(u,{name:h,parentSampled:E,attributes:_,normalizedRequest:r.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:(0,f.i)(g.dsc?.sample_rate)},g.sampleRand),O=new S.W({...e,attributes:{[s.i_]:"custom",[s.sy]:void 0!==T&&y?T:void 0,..._},sampled:v});return v||!i||A||(o.T&&l.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),i.recordDroppedEvent("sample_rate",(0,d.K)(i)?"span":"transaction")),(0,m.d_)(O,t,r),i&&i.emit("spanStart",O),O}function O(e){return(0,g.h)(e)&&"ignored"===e.dropReason}},911464:(e,t,r)=>{"use strict";r.d(t,{GU:()=>n});let n={netPosition:0,openBuyQty:0,openSellQty:0,mtfOpenBuyQty:0,mtfOpenSellQty:0,maxApprovedSellQty:0,maxSellQty:0,totalHoldings:0,pledgedHoldings:0,netMtfPosition:0,mtfMaxBuyQty:0,maxApprovedMtfSellQty:0,netCncDebitQty:0,openCncSellOrderQty:0,isMtfUserLimitBlocked:!1,netMtfDebitFromCfQty:null,buyNotAllowedReason:null,defaultOrderType:"MKT",edisMode:"CDSL",intradayPriceFactor:r(138239).L,isBuyAllowed:!0,isSellAllowed:!0,isT2t:!1,maxBuyQty:0,minBuyQty:1,minSellQty:1,misMode:"ENABLED",mtfHairCut:100,mtfMode:"ENABLED",priceMultiplier:1,qtyMultiplier:1,remark:"",sellNotAllowedReason:null,alertInfo:null,nudgeInfo:null,overrideDefault:null,maxSellQty:0}},911823:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});var n=function(e){return e.PRIME="PRIME",e.BASIC="BASIC",e}({})},916595:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u={};((e,t)=>
19{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{cellUpdateEventPayload:()=>h,protobufPackage:()=>f}),e.exports=c(i({},"__esModule",{value:!0}),u);var d=((e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(225615));let f="com.groww.ems",h={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.Writer.create();return void 0!==e.command&&t.uint32(10).string(e.command),void 0!==e.userIdRegex&&t.uint32(18).string(e.userIdRegex),t},decode(e,t){let r=e instanceof d.default.Reader?e:d.default.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={command:void 0,userIdRegex:void 0};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 1:if(10!==e)break;i.command=r.string();continue;case 2:if(18!==e)break;i.userIdRegex=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}}},919202:function(e,t,r){var n,i,a;e.exports=void(i=(n=r(170742)).lib.Base,a=n.enc.Utf8,n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=a.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),s=i.words,l=o.words,c=0;c<r;c++)s[c]^=0x5c5c5c5c,l[c]^=0x36363636;i.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}}))},920263:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=r(584178),i=r(985735);function a(){return i.env.NEXT_PHASE===n.PHASE_PRODUCTION_BUILD}},925129:(e,t,r)=>{"use strict";r.d(t,{CC:()=>_,aO:()=>g,Hu:()=>B,fy:()=>F,uU:()=>T,Bk:()=>K,zU:()=>j,dZ:()=>M,xO:()=>G,yW:()=>k,HQ:()=>y,VS:()=>H,xl:()=>W,pK:()=>L,cI:()=>O,et:()=>C,RD:()=>I,kX:()=>A,Qh:()=>v,G_:()=>b,Ck:()=>m,PL:()=>N});var n=r(488948);function i(e,t=!1){let r={};for(let[n,i]of Object.entries(e??{})){let e=function(e,t){let{value:r,unit:n}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},i=function(e){if(Array.isArray(e))return{value:e,type:"array"};let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(r),a=n&&"string"==typeof n?{unit:n}:{};if(i)return{...i,...a};if(!t||"skip-undefined"===t&&void 0===r)return;let o="";try{o=JSON.stringify(r)??""}catch{}return{value:o,type:"string",...a}}(i,t);e&&(r[n]=e)}return r}var a=r(269618),o=r(574830),s=r(80339),l=r(438315),c=r(535902),u=r(533427),d=r(950565),f=r(365),h=r(17954),p=r(779126),E=r(699347);let _=0,g=1,S=!1;function m(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:a,status:o,origin:s,links:l}=C(e);return{parent_span_id:a,span_id:t,trace_id:r,data:n,op:i,status:o,origin:s,links:l}}function A(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),i=n?t:C(e).parent_span_id,a=(0,c.Lb)(e).scope;return{parent_span_id:i,span_id:n?a?.getPropagationContext().propagationSpanId||(0,d.Z)():t,trace_id:r}}function v(e){let{traceId:t,spanId:r}=e.spanContext(),n=L(e);return(0,h.TC)(t,r,n)}function b(e){let{traceId:t,spanId:r}=e.spanContext(),n=L(e);return(0,h.Iy)(t,r,n)}function T(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:i})=>({span_id:e,trace_id:t,sampled:r===g,attributes:i,...n})):void 0}function y(e){return e?.length?e.map(({context:{spanId:e,traceId:t,traceFlags:r},attributes:n})=>({span_id:e,trace_id:t,sampled:r===g,attributes:n})):void 0}function O(e){return"number"==typeof e?w(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?w(e.getTime()):(0,f.zf)()}function w(e){return e>0x2540be3ff?e/1e3:e}function C(e){if(P(e))return e.getSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(D(e)){let{attributes:n,startTime:i,name:a,endTime:o,status:l,links:c}=e;return{span_id:t,trace_id:r,data:n,description:a,parent_span_id:R(e),start_timestamp:O(i),timestamp:O(o)||void 0,status:k(l),op:n[s.uT],origin:n[s.JD],links:T(c)}}return{span_id:t,trace_id:r,start_timestamp:0,data:{}}}function I(e){if(P(e))return e.getStreamedSpanJSON();let{spanId:t,traceId:r}=e.spanContext();if(D(e)){let{attributes:n,startTime:i,name:a,endTime:o,status:s,links:l}=e;return{name:a,span_id:t,trace_id:r,parent_span_id:R(e),start_timestamp:O(i),end_timestamp:O(o),is_segment:e===V(e),status:M(s),attributes:F(n,s),links:y(l)}}return{span_id:t,trace_id:r,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:e===V(e)}}function R(e){return"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0}function N(e){return{...e,attributes:i(e.attributes),links:e.links?.map(e=>({...e,attributes:i(e.attributes)}))}}function D(e){return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function P(e){return"function"==typeof e.getSpanJSON}function L(e){let{traceFlags:t}=e.spanContext();return t===g}function k(e){if(e&&e.code!==l.a3)return e.code===l.F3?"ok":e.message||"internal_error"}function M(e){return e&&e.code!==l.F3&&e.code!==l.a3&&"cancelled"!==e.message?"error":"ok"}function F(e,t){let r="error"===M(t)?t?.message:void 0;return{...r&&{[s.Ft]:r},...e}}let x="_sentryChildSpans",U="_sentryRootSpan";function B(e,t){let r=e[U]||e;(0,u.my)(t,U,r),L(e)&&(e.isRecording()||r.isRecording())&&(e[x]?e[x].add(t):(0,u.my)(e,x,new Set([t])))}function H(e,t){e[x]&&e[x].delete(t)}function G(e){let t=new Set;return function e(r){if(!t.has(r)&&L(r))for(let n of(t.add(r),r[x]?Array.from(r[x]):[]))e(n)}(e),Array.from(t)}let j=V;function V(e){return e[U]||e}function K(){let e=(0,a.EU)(),t=(0,n.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,E.f)((0,o.o5)())}function W(){S||((0,p.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),S=!0)}},926595:(e,t,r)=>{"use strict";r.d(t,{n:()=>a,o:()=>i});var n=r(573477);function i(e){let{holdings:t=[]}=null!=e?e:{};
19return t.forEach(e=>{let{amountInvested:t,currentValue:r}=null!=e?e:{},i=r-t;e.absoluteReturnPercentage=(0,n.F)(r,t),e.totalReturn=i}),e}function a(e,t){var r,n,i,a;return(null!==(a=(null!==(i=null==e?void 0:null===(n=e.fund)||void 0===n?void 0:null===(r=n.investments)||void 0===r?void 0:r.lastFetchedTimestamps)&&void 0!==i?i:{})[t])&&void 0!==a?a:0)+6e4<new Date().getTime()}},930252:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});let n={ASSETS_NETSTORAGE:"https://assets-netstorage.groww.in",RESOURCE:"https://resources.groww.in",APP_ASSETS:"https://app-assets.groww.in",CMS_RESOURCES:"https://cms-resources.groww.in"}},930645:(e,t,r)=>{"use strict";r.d(t,{W:()=>n,a:()=>i});let n={IOS:"ios",ANDROID:"android"},i={WEBVIEW_APP_VERSION:"fajdklfjlefnslekfjsd",WEBVIEW_PLATFORM:"pladdspalcpfedewdr",WEBVIEW_PLATFORM_TYPE:"platform-type",IS_WINGG_APP:"sapa5f876gjaskjhbf",IS_WEBVIEW_ACTIVE:"IS_WEBVIEW_ACTIVE",WEBVIEW_APP_NAME:"APP_NAME"}},930927:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/t.64fae22f.svg",height:135,width:135,blurWidth:0,blurHeight:0}},934666:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(986594),i=r(407178);r(880478);let a={opacity:0,transform:"translate(-50%, -50%)"},o=e=>{let{color:t,duration:r,id:o,onClick:s,delayOnClick:l,delayOnClickDuration:c,addParentClass:u,children:d,ariaLabel:f,role:h}=e,[p,E]=(0,i.useState)(a),_=String(o);return(0,n.jsxs)("div",{id:_,className:"rip100ParentWrapper ".concat(u),onClick:()=>{var e,n;let i=(null===(e=document.getElementById(_))||void 0===e?void 0:e.offsetWidth)||0,a=(null===(n=document.getElementById(_))||void 0===n?void 0:n.offsetHeight)||0,o=a/2,u=i/2;E({top:o,left:u,transform:"translate(-50%, -50%)",opacity:1,backgroundColor:t}),setTimeout(()=>{let e=Math.max(i,a);E({left:u,top:o,transform:"translate(-50%, -50%) scale(".concat(e/9,")"),opacity:0,transition:"all ".concat(r,"ms")})},10),l?setTimeout(()=>{s()},c):s()},"aria-label":f,role:h,children:[d,(0,n.jsx)("span",{className:"rip100StaticStyle",style:p})]})};o.defaultProps={color:"var(--background-overlay-secondary)",duration:500,id:"rippleDiv",addParentClass:"",onClick:()=>{},delayOnClick:!1,delayOnClickDuration:250};let s=o},935459:(e,t,r)=>{"use strict";e.exports=r(160560)},936114:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(574830);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||n.KU()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},937028:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(407178),i=r(132978),a=r(222736),o=r(866607);let s=()=>{let e=null;return void 0!==document.visibilityState||void 0!==document.hidden?e="visibilitychange":void 0!==document.mozVisibilityState||void 0!==document.mozHidden?e="mozvisibilitychange":void 0!==document.msVisibilityState||void 0!==document.msHidden?e="msvisibilitychange":(void 0!==document.webkitVisibilityState||void 0!==document.webkitHidden)&&(e="webkitvisibilitychange"),e},l=()=>{let e=null;return void 0!==document.visibilityState?e="visibilityState":void 0!==document.mozVisibilityState?e="mozVisibilityState":void 0!==document.msVisibilityState?e="msVisibilityState":void 0!==document.webkitVisibilityState&&(e="webkitVisibilityState"),!e||"visible"===document[e]};var c=r(20556);let u=()=>{let e=(0,n.useCallback)(()=>{(0,c.sn)(l())},[]);(0,n.useEffect)(()=>(window.addEventListener("focus",e),window.addEventListener("blur",e),function(){window.removeEventListener("focus",e),window.removeEventListener("blur",e)}),[e]),(0,n.useEffect)(()=>{let t=null,r=()=>{e(),t=window.requestAnimationFrame(r)};return t=window.requestAnimationFrame(r),function(){t&&window.cancelAnimationFrame(t)}},[e]),(0,n.useEffect)(function(){let t=s(),r={visibilityEventWithVendor:t,isTabVisible:l(),isWindowFocused:document.hasFocus(),visibilityState:document.visibilityState,browser:navigator.userAgent,source:"usePageVisibilityApi"};if((0,i.s)(o.A.TabVisibility,a.A.AttachPageVisibilityApiListener,{...r}),!t)return;let n=()=>{let r={visibilityEventWithVendor:t,isTabVisible:l(),isWindowFocused:document.hasFocus(),visibilityState:document.visibilityState,browser:navigator.userAgent};(0,i.s)(o.A.TabVisibility,a.A.TabVisibilityChange,{...r}),e()};return document.addEventListener(t,n),function(){document.removeEventListener(t,n)}},[e])},d=()=>{let e=(0,n.useCallback)(()=>{let e=document.hasFocus();(0,c.sn)(e)},[]);(0,n.useEffect)(function(){let t=s();if((0,i.s)(o.A.TabVisibility,a.A.AttachLegacyVisibilityListener),t)return;let r=()=>{let t={isWindowFocused:document.hasFocus(),visibilityState:document.visibilityState,browser:navigator.userAgent};(0,i.s)(o.A.TabVisibility,a.A.LegacyTabVisibilityChange,{...t}),e()};return window.addEventListener("focus",r),window.addEventListener("blur",r),function(){window.removeEventListener("focus",r),window.removeEventListener("blur",r)}},[e])},f=()=>{u(),d()}},947313:(e,t,r)=>{"use strict";r.d(t,{P:()=>l});var n=r(407178),i=r(761711),a=r.n(i),o=r(70515);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var s=function(e){var t=e.size,r=e.text,i=e.leadingIcon,s=e.trailingIcon,l=e.isAccent,c=e.isSelected,u=e.isOutlined,d={size:20},f=a()("pill12Pill","absolute-center","cur-po","valign-wrapper","pill12Size".concat(t),{"backgroundPrimary borderPrimary":u&&!l&&!c,contentPrimary:!l,pill12PillHover:!c&&!l,"borderNeutral backgroundTertiary":c&&!l,"borderAccent contentAccent":l,backgroundPositiveSubtle:c&&l}),h=a()({bodySmallHeavy:t===o.S.SMALL||t===o.S.XSMALL,bodyBaseHeavy:t===o.S.BASE,bodyLargeHeavy:t===o.S.LARGE||t===o.S.XLARGE});return n.createElement("div",{className:f,onClick:function(t){t.stopPropagation(),(0,e.onClick)(t)}},i&&n.createElement("span",{className:"valign-wrapper"},null==i?void 0:i(d)),n.createElement("span",{className:h},r),s&&n.createElement("span",{className:"valign-wrapper"},null==s?void 0:s(d)))};s.defaultProps={size:o.S.BASE,onClick:function(){},isSelected:!1,isOutlined:!0,isAccent:!0,leadingIcon:null,trailingIcon:null};var l=n.memo(s)},947687:(e,t,r)=>{"use strict";function n(e){return{...e.custom?{}
19:{viewBox:"0 0 24 24",fill:"currentColor",height:24,width:24},...e.size?{height:e.size,width:e.size}:{},...e,size:void 0,custom:void 0}}r.d(t,{h:()=>n}),function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object)},950565:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a,e:()=>i});var n=r(320900);function i(){return(0,n.eJ)()}function a(){return(0,n.eJ)().substring(16)}},950854:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(159966),i=r(68101);let a={storage:r(753090).A,stateReconciler:i.A};function o(e,t){return(0,n.rL)({...a,...e},t)}},951402:(e,t,r)=>{"use strict";r.d(t,{A:()=>f,B:()=>h,C:()=>p,D:()=>E,E:()=>_,G:()=>g,J:()=>S,K:()=>m,L:()=>A,Q:()=>v,R:()=>b,T:()=>T,a:()=>y,c:()=>O,d:()=>w,e:()=>C,f:()=>I,h:()=>R,i:()=>N,j:()=>D,n:()=>P,q:()=>L,v:()=>l,w:()=>c,x:()=>u,z:()=>d});var n=r(818681);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r(451336),r(855620);function a(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function s(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}}function l(){try{if(("undefined"==typeof window?"undefined":o(window))>"u"||("undefined"==typeof navigator?"undefined":o(navigator))>"u")throw Error("window or navigator is undefined");var e=window.navigator.userAgent,t=window.navigator.platform,r="";return -1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(t)?r=n.b.MAC_OS:-1!==["iPhone","iPad","iPod"].indexOf(t)?r=n.b.IOS:-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?r=n.b.WINDOWS:/Android/i.test(e)?r=n.b.ANDROID:!r&&/Linux/.test(t)&&(r=n.b.LINUX),r}catch(e){p(n.c.TRACK_LOG,{function:"getOSName",error:e}),console.error("Error with getOSName ".concat(e))}return""}function c(){if(("undefined"==typeof window?"undefined":o(window))>"u"||!(null===(e=navigator)||void 0===e?void 0:e.userAgent))return"";var e,t=navigator.userAgent;if(t.includes("Windows NT")){var r=t.match(/Windows NT (\d+\.\d+)/);return r?r[1]:""}if(t.includes("Mac OS X")){var n=t.match(/Mac OS X (\d+[._]\d+[._]?\d*)/);return n?n[1].replace(/_/g,"."):""}if(t.includes("Linux"))return"Linux";if(t.includes("iPhone OS")){var i=t.match(/iPhone OS (\d+[._]\d+[._]?\d*)/);return i?i[1].replace(/_/g,"."):""}if(t.includes("Android")){var a=t.match(/Android (\d+\.\d+\.?\d*)/);return a?a[1]:""}return""}function u(){try{if(("undefined"==typeof window?"undefined":o(window))>"u"||("undefined"==typeof navigator?"undefined":o(navigator))>"u")throw Error("window or navigator is undefined");return -1!==navigator.userAgent.indexOf("Opera")||-1!==navigator.userAgent.indexOf("OPR")?"Opera":-1!==navigator.userAgent.indexOf("Edg")?"Edge":-1!==navigator.userAgent.indexOf("Chrome")?"Chrome":-1!==navigator.userAgent.indexOf("Safari")?"Safari":-1!==navigator.userAgent.indexOf("Firefox")?"Firefox":-1!==navigator.userAgent.indexOf("MSIE")||-1!==navigator.userAgent.indexOf("Trident/")?"IE":"unknown"}catch(e){console.error("Error with getBrowserName ".concat(e)),p(n.c.TRACK_LOG,{function:"getBrowserName",error:e})}return""}function d(){if(("undefined"==typeof window?"undefined":o(window))>"u"||!(null===(e=navigator)||void 0===e?void 0:e.userAgent))return{manufacturer:"",model:""};var e,t=navigator.userAgent,r=u()||"",n="";if(t.includes("Mobile")||t.includes("Android"))if(t.includes("Samsung")){r="Samsung";var i=t.match(/SM-[A-Z0-9]+/);n=i?i[0]:"Mobile"}
19else t.includes("iPhone")?(r="Apple",n="iPhone"):t.includes("iPad")?(r="Apple",n="iPad"):t.includes("Android")&&(r="Android",n="Mobile");else n="Desktop";return{manufacturer:r,model:n}}function f(){if(("undefined"==typeof window?"undefined":o(window))>"u"||!navigator)return"";var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return e?e.effectiveType||e.type||"":navigator.onLine?"wifi":"offline"}function h(e,t){try{if(("undefined"==typeof document?"undefined":o(document))<"u")document.documentElement.addEventListener(e,t);else throw Error("window is undefined")}catch(t){p(n.c.TRACK_LOG,{function:"listenToCustomEvent",error:t}),console.error("Error in listening to ".concat(e," custom event: "),t)}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{if(("undefined"==typeof document?"undefined":o(document))<"u")document.documentElement.dispatchEvent(new CustomEvent(e,{detail:t}));else throw Error("window is undefined")}catch(r){console.error("Error in dispatching custom event ".concat(e," and details ").concat(t," ").concat(r))}}function E(e,t){try{if(("undefined"==typeof document?"undefined":o(document))<"u")document.documentElement.removeEventListener(e,t);else throw Error("window is undefined")}catch(r){console.error(" Error in unListening to ".concat(e," custom event: "),r),p(n.c.TRACK_LOG,{function:"unlistenToCustomEvent",params:{eventName:e,methodToUnListen:null==t?void 0:t.toString()},error:r})}}function _(){try{if(("undefined"==typeof window?"undefined":o(window))<"u")window.scrollTo(0,0);else throw Error("window is undefined")}catch(e){console.error("Error while scrolling page to top ".concat(e)),p(n.c.TRACK_LOG,{function:"scrollPageToTop",error:e})}}function g(e){var t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}function S(e){var t="";try{t=decodeURIComponent(e)}catch(r){t=e,p(n.c.TRACK_LOG,{function:"encodeURLParams",error:r})}return encodeURIComponent(t)}function m(){try{if(("undefined"==typeof window?"undefined":o(window))<"u")try{window.scroll({top:0,behavior:"smooth"})}catch(e){window.scrollTo(0,0)}else throw Error("window is undefined")}catch(e){console.error("Error with smoothScrollToTop ".concat(e))}}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;try{if(("undefined"==typeof window?"undefined":o(window))<"u"){var r=document.getElementById(e);if(r){var n=document.body.getBoundingClientRect().top,i=r.getBoundingClientRect().top-n-t;window.scrollTo({top:i,behavior:"smooth"})}}else throw Error("window is undefined")}catch(e){console.error("Error in scrollToElementWithId: ",e)}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"CUSTOM_MESSAGE",r=arguments.length>2?arguments[2]:void 0;try{if(("undefined"==typeof window?"undefined":o(window))>"u")return;var i,a,s,l,c,u,d=(i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e),a={identifier:t},a=null!=a?a:{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(a)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(a)).forEach(function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(a,e))}),i);null===(c=(void 0===r?"undefined":o(r))>"u"?window:r)||void 0===c||c.postMessage(JSON.stringify(d),null!==(u=null===(l=window)||void 0===l?void 0:null===(s=l.location)||void 0===s?void 0:s.origin)&&void 0!==u?u:"*")}catch(e){throw console.error("Error while window.postMessage",e),p(n.c.TRACK_LOG,{function:"postWindowMessage",error:e}),e}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"CUSTOM_MESSAGE";try{if(("undefined"==typeof window?"undefined":o(window))>"u")throw Error("window is undefined");window.addEventListener("message",function(r){var n;if(r.origin!==window.location.origin)throw Error("Origin breach");(null===(n=r.data)||void 0===n?void 0:n.identifier)===t&&e(r.data)})}catch(e){throw console.error("Error while setting up message listener",e),e}}function T(e){try{for(var t=e.split(",")[0].indexOf("base64")>=0?window.atob(e.split(",")[1]):window.unescape(e.split(",")[1]),r=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(t.length),i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return new Blob([n],{type:r})}catch(e){return new Blob}}function y(e){try{if(null==e||(void 0===e?"undefined":o(e))>"u")return!0;switch(void 0===e?"undefined":o(e)){case"string":return""===e.trim()||"null"===e||null===e;case"object":return Object.keys(e).length<=0;case"number":return!1;default:return!!(Array.isArray(e)&&e.length<=0)}}catch(t){return p(n.c.TRACK_LOG,{function:"isEmpty",params:{data:e},error:t}),!0}}function O(e,t){var r=0;try{return t&&e.map(function(e,n){e.searchId===t&&(r=n)}),r}catch(e){return console.error("Unable to return the selected tab index"),r}}function w(e){var t={BLOB:"blob",URL:"url"}
19,r=e.file,n=e.type,i=e.fileName,a=e.downloadMethod,s=void 0===a?t.URL:a,l=e.fileExtension,c=e.fileUrl,u=function(e,t,r){if(e){var n=document.createElement("a");n.href=e,n.download="".concat(t,".").concat(r),n.target="_blank",document.body.appendChild(n),n.click(),setTimeout(function(){document.body.removeChild(n),window.URL.revokeObjectURL(e)},10)}else throw Error("fileUrl is empty")};try{if(("undefined"==typeof window?"undefined":o(window))>"u")throw Error("window is undefined");switch(s){case t.BLOB:var d=function(e,t){if(e){var r=new Blob([e],{type:t});return(window.URL||window.webkitURL).createObjectURL(r)}throw Error("file/blob is null")}(void 0===r?null:r,n);u(d,i,l);break;case t.URL:u(c,i,l)}}catch(e){console.error("File download failed - ",e)}}function C(e,t){try{var r=[];for(var n in e)r.push([n,e[n]]);r.sort(function(e,r){return t?r[1]<e[1]?-1:+(r[1]>e[1]):e[1]<r[1]?-1:+(e[1]>r[1])});var i={};for(var a in r)i[r[a][0]]=r[a][1];return i}catch(t){return console.error("Error in sorting object, original object returned",t),e}}function I(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=function(e,t,r){var n;return null==e?void 0:null===(n=e.split(t))||void 0===n?void 0:n.join(r)};try{var a=String(function(e){var t=["[","]",".."],r=String(e);for(var n in t)r=i(r,t[n],".");var a=r.lastIndexOf(".")===r.length-1;return r.slice(0,a?r.lastIndexOf("."):r.length)}(t)).split("."),s=!0,l=!1,c=void 0;try{for(var u,d,f=a[Symbol.iterator]();!(s=(d=f.next()).done);s=!0){var h=d.value;e=null===(u=e)||void 0===u?void 0:u[h]}}catch(e){l=!0,c=e}finally{try{s||null==f.return||f.return()}finally{if(l)throw c}}return(void 0===e?"undefined":o(e))>"u"?r:e}catch(i){return console.error("Error while using getData",i),p(n.c.TRACK_LOG,{function:"getData",params:{obj:e,path:t,def:r},error:i}),r}}function R(e,t,r){try{for(var n=0;n<e.length;n++)if(e[n][t]===r)return n;return -1}catch(e){throw console.error("Error while find index by matching object value",e),e}}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;try{var r=a(e.split("/"));if(r.length>t){var i,o=null==r?void 0:r[(null==r?void 0:r.length)-1-t],s=null===(i=o)||void 0===i?void 0:i.indexOf("?");return s>=0&&(o=o.substring(0,s)),o}}catch(r){return console.error("Unable to get path variable - ",r),p(n.c.TRACK_LOG,{function:"getPathVariableFromUrlIndex",params:{url:e,indexFromLast:t},error:r}),""}}function D(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=function(){for(var i=arguments.length,o=Array(i),s=0;s<i;s++)o[s]=arguments[s];!t&&n&&e.apply(void 0,a(o)),clearTimeout(t),t=setTimeout(function(){return e.apply(void 0,a(o))},r)};return i.cancel=function(){clearTimeout(t)},i}function P(e,t){try{if(y(e)||"object"!=typeof e)return{};var r=t.map(String),n={};for(var i in e)r.includes(i)||(n[i]=e[i]);return n}catch(t){return console.error(t),e}}var L=function(e){try{return!!(null===e||(void 0===e?"undefined":o(e))>"u")||Object.values(e).every(function(e){return 0===e})}catch(e){console.error("Failed with: ",e)}}},952215:e=>{"use strict";var t="%[a-f0-9]{2}",r=RegExp("("+t+")|([^%]+?)","gi"),n=RegExp("("+t+")+","gi");e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},i=n.exec(e);i;){try{t[i[0]]=decodeURIComponent(i[0])}catch(e){var a=function(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=(function e(t,r){try{return[decodeURIComponent(t.join(""))]}catch(e){}if(1===t.length)return t;r=r||1;var n=t.slice(0,r),i=t.slice(r);return Array.prototype.concat.call([],e(n),e(i))})(t,n).join("")).match(r)||[];return e}}(i[0]);a!==i[0]&&(t[i[0]]=a)}i=n.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),s=0;s<o.length;s++){var l=o[s];e=e.replace(RegExp(l,"g"),t[l])}return e}(e)}}},952686:(e,t,r)=>{"use strict";r.d(t,{CE:()=>n,MM:()=>o,ad:()=>i,k7:()=>a,xd:()=>s});let n="notificationManagerFlow/GET_USER_NOTIFICATIONS",i="notificationManagerFlow/GET_PRODUCT_PREFERENCE_CATEGORY",a="notificationManagerFlow/GET_AVAILABLE_PRODUCT_LIST",o="notificationManagerFlow/POST_PRODUCT_PREFERENCE_DATA",s="GET_ACCOUNT_RELATED_FORMS"},953236:(e,t,r)=>{var n={"./a.svg":616758,"./b.svg":985853,"./c.svg":808248,"./d.svg":621023,"./e.svg":546442,"./f.svg":722769,"./g.svg":346044,"./h.svg":306739,"./i.svg":613118,"./j.svg":684549,"./k.svg":393984,"./l.svg":338727,"./m.svg":685426,"./n.svg":336121,"./o.svg":769316,"./p.svg":410075,"./q.svg":177094,"./r.svg":29325,"./s.svg":315848,"./t.svg":930927,"./u.svg":87834,"./v.svg":244001,"./w.svg":844940,"./x.svg":842627,"./y.svg":831182,"./z.svg":676693};function i(e){return r(a(e))}function a(e){if(!r.o(n,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=953236},957095:(e,t,r)=>{"use strict";var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(407178),a=d(i),o=d(r(743544)),s=r(885409),l=d(r(305150)),c=d(r(538500)),u=d(r(629935));
19function d(e){return e&&e.__esModule?e:{default:e}}var f={top:0,left:0,width:0,height:0},h="data-lazyload-listened",p=[],E=[],_=!1;try{var g=Object.defineProperty({},"passive",{get:function(){_=!0}});window.addEventListener("test",null,g)}catch(e){}var S=!!_&&{capture:!1,passive:!0},m=function(e,t){var r=e.ref,n=void 0,i=void 0,a=void 0,o=void 0;try{var s=t.getBoundingClientRect();n=s.top,i=s.left,a=s.height,o=s.width}catch(e){n=f.top,i=f.left,a=f.height,o=f.width}var l=window.innerHeight||document.documentElement.clientHeight,c=window.innerWidth||document.documentElement.clientWidth,u=Math.max(n,0),d=Math.max(i,0),h=Math.min(l,n+a)-u,p=Math.min(c,i+o)-d,E=void 0,_=void 0,g=void 0,S=void 0;try{var m=r.getBoundingClientRect();E=m.top,_=m.left,g=m.height,S=m.width}catch(e){E=f.top,_=f.left,g=f.height,S=f.width}var A=E-u,v=_-d,b=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return A-b[0]<=h&&A+g+b[1]>=0&&v-b[0]<=p&&v+S+b[1]>=0},A=function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var r=void 0,n=void 0;try{var i=t.getBoundingClientRect();r=i.top,n=i.height}catch(e){r=f.top,n=f.height}var a=window.innerHeight||document.documentElement.clientHeight,o=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return r-o[0]<=a&&r+n+o[1]>=0},v=function(e){var t=e.ref;if(t instanceof HTMLElement){var r=(0,l.default)(t);(e.props.overflow&&r!==t.ownerDocument&&r!==document&&r!==document.documentElement?m(e,r):A(e))?e.visible||(e.props.once&&E.push(e),e.visible=!0,e.forceUpdate()):!(e.props.once&&e.visible)&&(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},b=function(){E.forEach(function(e){var t=p.indexOf(e);-1!==t&&p.splice(t,1)}),E=[]},T=function(){for(var e=0;e<p.length;++e)v(p[e]);b()},y=void 0,O=null,w=function(e){function t(e){var r=this,n=t;if(!(r instanceof n))throw TypeError("Cannot call a class as a function");var i=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.visible=!1,i.setRef=i.setRef.bind(i),i}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),n(t,[{key:"componentDidMount",value:function(){var e=window,t=this.props.scrollContainer;t&&"string"==typeof t&&(e=e.document.querySelector(t));var r=void 0!==this.props.debounce&&"throttle"===y||"debounce"===y&&void 0===this.props.debounce;if(r&&((0,s.off)(e,"scroll",O,S),(0,s.off)(window,"resize",O,S),O=null),O||(void 0!==this.props.debounce?(O=(0,c.default)(T,"number"==typeof this.props.debounce?this.props.debounce:300),y="debounce"):void 0!==this.props.throttle?(O=(0,u.default)(T,"number"==typeof this.props.throttle?this.props.throttle:300),y="throttle"):O=T),this.props.overflow){var n=(0,l.default)(this.ref);if(n&&"function"==typeof n.getAttribute){var i=1+ +n.getAttribute(h);1===i&&n.addEventListener("scroll",O,S),n.setAttribute(h,i)}}else if(0===p.length||r){var a=this.props,o=a.scroll,d=a.resize;o&&(0,s.on)(e,"scroll",O,S),d&&(0,s.on)(window,"resize",O,S)}p.push(this),v(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=(0,l.default)(this.ref);if(e&&"function"==typeof e.getAttribute){var t=+e.getAttribute(h)-1;0===t?(e.removeEventListener("scroll",O,S),e.removeAttribute(h)):e.setAttribute(h,t)}}var r=p.indexOf(this);-1!==r&&p.splice(r,1),0===p.length&&"undefined"!=typeof window&&((0,s.off)(window,"resize",O,S),(0,s.off)(window,"scroll",O,S))}},{key:"setRef",value:function(e){e&&(this.ref=e)}},{key:"render",value:function(){var e=this.props,t=e.height,r=e.children,n=e.placeholder,i=e.className,o=e.classNamePrefix,s=e.style;return a.default.createElement("div",{className:o+"-wrapper "+i,ref:this.setRef,style:s},this.visible?r:n||a.default.createElement("div",{style:{height:t},className:o+"-placeholder"}))}}]),t}(i.Component);w.propTypes={className:o.default.string,classNamePrefix:o.default.string,once:o.default.bool,height:o.default.oneOfType([o.default.number,o.default.string]),offset:o.default.oneOfType([o.default.number,o.default.arrayOf(o.default.number)]),overflow:o.default.bool,resize:o.default.bool,scroll:o.default.bool,children:o.default.node,throttle:o.default.oneOfType([o.default.number,o.default.bool]),debounce:o.default.oneOfType([o.default.number,o.default.bool]),placeholder:o.default.node,scrollC
19ontainer:o.default.oneOfType([o.default.string,o.default.object]),unmountIfInvisible:o.default.bool,style:o.default.object},w.defaultProps={className:"",classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1},t.Ay=w},957900:(e,t,r)=>{"use strict";e.exports=d;var n,i=r(841111),a=i.LongBits,o=i.base64,s=i.utf8;function l(e,t,r){this.fn=e,this.len=t,this.next=void 0,this.val=r}function c(){}function u(e){this.head=e.head,this.tail=e.tail,this.len=e.len,this.next=e.states}function d(){this.len=0,this.head=new l(c,0,0),this.tail=this.head,this.states=null}var f=function(){return i.Buffer?function(){return(d.create=function(){return new n})()}:function(){return new d}};function h(e,t,r){t[r]=255&e}function p(e,t){this.len=e,this.next=void 0,this.val=t}function E(e,t,r){for(;e.hi;)t[r++]=127&e.lo|128,e.lo=(e.lo>>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function _(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}d.create=f(),d.alloc=function(e){return new i.Array(e)},i.Array!==Array&&(d.alloc=i.pool(d.alloc,i.Array.prototype.subarray)),d.prototype._push=function(e,t,r){return this.tail=this.tail.next=new l(e,t,r),this.len+=t,this},p.prototype=Object.create(l.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},d.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<0x10000000?4:5,e)).len,this},d.prototype.int32=function(e){return e<0?this._push(E,10,a.fromNumber(e)):this.uint32(e)},d.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},d.prototype.uint64=function(e){var t=a.from(e);return this._push(E,t.length(),t)},d.prototype.int64=d.prototype.uint64,d.prototype.sint64=function(e){var t=a.from(e).zzEncode();return this._push(E,t.length(),t)},d.prototype.bool=function(e){return this._push(h,1,+!!e)},d.prototype.fixed32=function(e){return this._push(_,4,e>>>0)},d.prototype.sfixed32=d.prototype.fixed32,d.prototype.fixed64=function(e){var t=a.from(e);return this._push(_,4,t.lo)._push(_,4,t.hi)},d.prototype.sfixed64=d.prototype.fixed64,d.prototype.float=function(e){return this._push(i.float.writeFloatLE,4,e)},d.prototype.double=function(e){return this._push(i.float.writeDoubleLE,8,e)};var g=i.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n<e.length;++n)t[r+n]=e[n]};d.prototype.bytes=function(e){var t=e.length>>>0;if(!t)return this._push(h,1,0);if(i.isString(e)){var r=d.alloc(t=o.length(e));o.decode(e,r,0),e=r}return this.uint32(t)._push(g,t,e)},d.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(h,1,0)},d.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new l(c,0,0),this.len=0,this},d.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(c,0,0),this.len=0),this},d.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},d.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},d._configure=function(e){n=e,d.create=f(),n._configure()}},957943:(e,t,r)=>{"use strict";r.d(t,{m1:()=>n});let n=e=>{var t,r;return null!==(r=null===(t=e.margins)||void 0===t?void 0:t.availableMargin)&&void 0!==r?r:null}},958090:(e,t,r)=>{"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);
19throw TypeError("Invalid attempt to destructure non-iterable instance")},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(407178)),s=c(r(245379)),l=c(r(372697));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var d=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,r,n,i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];return r=n=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.isStillMounted=!1,n.tick=function(e){if(n.isStillMounted&&n.props.live){var t=(0,l.default)(n.props.date).valueOf();if(!t){console.warn("[react-timeago] Invalid Date provided");return}var r=Math.round(Math.abs(n.props.now()-t)/1e3),i=Math.min(Math.max(r<60?1e3:r<3600?6e4:36e5*!!(r<86400),1e3*n.props.minPeriod),1e3*n.props.maxPeriod);i&&(n.timeoutId&&clearTimeout(n.timeoutId),n.timeoutId=setTimeout(n.tick,i)),e||n.forceUpdate()}},u(n,r)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),a(t,[{key:"c
19omponentDidMount",value:function(){this.isStillMounted=!0,this.props.live&&this.tick(!0)}},{key:"componentDidUpdate",value:function(e){(this.props.live!==e.live||this.props.date!==e.date)&&(!this.props.live&&this.timeoutId&&clearTimeout(this.timeoutId),this.tick())}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1,this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0)}},{key:"render",value:function(){var e=this.props,t=e.date,r=e.formatter,a=e.component,c=(e.live,e.minPeriod,e.maxPeriod,e.title),u=e.now,d=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["date","formatter","component","live","minPeriod","maxPeriod","title","now"]),f=(0,l.default)(t).valueOf();if(!f)return null;var h=u(),p=Math.round(Math.abs(h-f)/1e3),E=f<h?"ago":"from now",_=i(p<60?[Math.round(p),"second"]:p<3600?[Math.round(p/60),"minute"]:p<86400?[Math.round(p/3600),"hour"]:p<604800?[Math.round(p/86400),"day"]:p<2592e3?[Math.round(p/604800),"week"]:p<31536e3?[Math.round(p/2592e3),"month"]:[Math.round(p/31536e3),"year"],2),g=_[0],S=_[1],m=void 0===c?"string"==typeof t?t:(0,l.default)(t).toISOString().substr(0,16).replace("T"," "):c,A="time"===a?Object.assign({},d,{dateTime:(0,l.default)(t).toISOString()}):d,v=s.default.bind(null,g,S,E);return o.createElement(a,n({},A,{title:m}),r(g,S,E,f,v,u))}}]),t}(o.Component);d.displayName="TimeAgo",d.defaultProps={live:!0,component:"time",minPeriod:0,maxPeriod:1/0,formatter:s.default,now:function(){return Date.now()}},t.A=d},960136:(e,t,r)=>{"use strict";r.d(t,{Uk:()=>l});var n=r(779126),i=r(458732),a=r(910523),o=r(571335),s=r(920263);function l(e){return!function(e){let t=(0,s.T)(),r=false;return r&&o.T&&n.Yz.log("Skipping span creation in Cache Components context"),t||r}()?(0,a.Uk)(e):new i.w({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})}},965508:(e,t,r)=>{"use strict";r.d(t,{H4:()=>u,XO:()=>c,Xq:()=>s,YO:()=>o,qs:()=>l});var n=r(21905),i=r(366929),a=r(418302);let o=e=>t=>t({type:(0,i.V)(a.vV).success,payload:{data:e}}),s=()=>e=>e({type:(0,i.V)(a.vV).failure}),l=e=>t=>t({type:(0,i.V)(a.J$).success,payload:e}),c=()=>e=>{(0,i.C)(e,()=>(0,n.yz)(),a.J$,t=>{var r;e({type:(0,i.V)(a.J$).success,payload:null==t?void 0:null===(r=t.data)||void 0===r?void 0:r.responseBody})})},u=(e,t)=>r=>r({type:a.j_,payload:{path:e,state:t}})},965537:function(e,t,r){"use strict";function n(e,t,r){for(var n=Object.keys(t),i=0;i<n.length;++i)void 0!==e[n[i]]&&r||(e[n[i]]=t[n[i]]);return e}function i(e){function t(e,r){if(!(this instanceof t))return new t(e,r);Object.defineProperty(this,"message",{get:function(){return e}}),Error.captureStackTrace?Error.captureStackTrace(this,t):Object.defineProperty(this,"stack",{value:Error().stack||""}),r&&n(this,r)}return t.prototype=Object.create(Error.prototype,{constructor:{value:t,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return e},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),t}t.asPromise=r(125517),t.base64=r(235045),t.EventEmitter=r(634816),t.float=r(464502),t.inquire=r(868957),t.utf8=r(334517),t.pool=r(351079),t.LongBits=r(378612),t.isNode=!!(void 0!==r.g&&r.g&&r.g.process&&r.g.process.versions&&r.g.process.versions.node),t.global=t.isNode&&r.g||"undefined"!=typeof window&&window||"undefined"!=typeof self&&self||this,t.emptyArray=Object.freeze?Object.freeze([]):[],t.emptyObject=Object.freeze?Object.freeze({}):{},t.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e},t.isString=function(e){return"string"==typeof e||e instanceof String},t.isObject=function(e){return e&&"object"==typeof e},t.isset=t.isSet=function(e,t){var r=e[t];return!!(null!=r&&e.hasOwnProperty(t))&&("object"!=typeof r||(Array.isArray(r)?r.length:Object.keys(r).length)>0)},t.Buffer=function(){try{var e=t.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),t._Buffer_from=null,t._Buffer_allocUnsafe=null,t.newBuffer=function(e){return"number"==typeof e?t.Buffer?t._Buffer_allocUnsafe(e):new t.Array(e):t.Buffer?t._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},t.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,t.Long=t.global.dcodeIO&&t.global.dcodeIO.Long||t.global.Long||t.inquire("long"),t.key2Re=/^true|false|0|1$/,t.key32Re=/^-?(?:0|[1-9][0-9]*)$/,t.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,t.longToHash=function(e){return e?t.LongBits.from(e).toHash():t.LongBits.zeroHash},t.longFromHash=function(e,r){var n=t.LongBits.fromHash(e);return t.Long?t.Long.fromBits(n.lo,n.hi,r):n.toNumber(!!r)},t.merge=n,t.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},t.newError=i,t.ProtocolError=i("ProtocolError"),t.oneOfGetter=function(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=1;return function(){for(var e=Object.keys(this),r=e.length-1;r>-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},t.oneOfSetter=function(e){return function(t){for(var r=0;r<e.length;++r)e[r]!==t&&delete this[e[r]]}},t.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},t._configure=function(){var e=t.Buffer;if(!e){t._Buffer_from=t._Buffer_allocUnsafe=null;return}t._Buffer_from=e.from!==Uint8Array.from&&e.from||function(t,r){return new e(t,r)},t._Buffer_allocUnsafe=e.allocUnsafe||function(t){return new e(t)}}},968631:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(592799)}])},971100:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=r(553300);
19class i{static postMessage(e){i.toggleThemeChannel&&i.toggleThemeChannel.postMessage(e)}}i.initialiseThemeBroadcastChannel=e=>{i.toggleThemeChannel=new n.X2("toggleThemeChannel"),i.toggleThemeChannel.addEventListener("message",e)},i.detachFromThemeBroadcastChannel=e=>{i.toggleThemeChannel.removeEventListener("message",e),i.toggleThemeChannel.close()}},973656:(e,t,r)=>{"use strict";r.d(t,{H:()=>o,e:()=>s});var n=r(986594);r(407178);var i=r(873435),a=r(299988);function o(e){return t=>{let r=(0,a.A)(),{url:o}=i.parseUrl(r.asPath),s={pathname:o,search:(0,a.e)(),state:r.state},l={params:r.query,url:r.asPath},c={...r,push:(e,t,n)=>null==r?void 0:r.push(e,t,n),replace:(e,t,n)=>null==r?void 0:r.replace(e,t,n),go:e=>{window.history.go(e)},goBack:()=>{r.back()},location:s};return(0,n.jsx)(e,{...t,history:c,location:s,match:l})}}function s(e){var t;let{Component:r,props:o}=e,s=(0,a.A)(),{url:l}=i.parseUrl(s.asPath),c={pathname:l,search:(0,a.e)(),state:s.state},u={params:s.query,url:s.asPath},d={...s,push:e=>null==s?void 0:s.push(e),replace:e=>null==s?void 0:s.replace(e),go:e=>{window.history.go(e)},goBack:()=>{s.back()},location:c};return(null!==(t=r.getLayout)&&void 0!==t?t:e=>e)((0,n.jsx)(r,{...o,history:d,location:c,match:u}))}},974188:(e,t,r)=>{"use strict";r.d(t,{O:()=>a,n:()=>o});var n=r(454532),i=r(531269);let a=e=>"all"!==e&&e in i.cp?i.cp[e]:{},o=()=>{let{href:e}=window.location;return!!e.includes(n.bw.ADVANCE_CHARTS)}},974263:(e,t,r)=>{"use strict";var n=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))l.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(n=a(t,s))||n.enumerable});return e},u={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(u,{GobblerStoriesEvent:()=>h,protobufPackage:()=>f}),e.exports=c(i({},"__esModule",{value:!0}),u);var d=((e,t,r)=>(r=null!=e?n(s(e)):{},c(!t&&e&&e.__esModule?r:i(r,"default",{value:e,enumerable:!0}),e)))(r(225615));let f="com.groww.ems",h={encode(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.Writer.create();return void 0!==e.params&&t.uint32(90).string(e.params),void 0!==e.count&&t.uint32(42).string(e.count),void 0!==e.visible&&t.uint32(48).bool(e.visible),void 0!==e.index&&t.uint32(58).string(e.index),void 0!==e.state&&t.uint32(66).string(e.state),void 0!==e.duration&&t.uint32(74).string(e.duration),void 0!==e.deck&&t.uint32(82).string(e.deck),void 0!==e.eventCategory&&t.uint32(10).string(e.eventCategory),void 0!==e.tag&&t.uint32(18).string(e.tag),void 0!==e.storyId&&t.uint32(26).string(e.storyId),""!==e.eventName&&t.uint32(34).string(e.eventName),t},decode(e,t){let r=e instanceof d.default.Reader?e:d.default.Reader.create(e),n=void 0===t?r.len:r.pos+t,i={params:void 0,count:void 0,visible:void 0,index:void 0,state:void 0,duration:void 0,deck:void 0,eventCategory:void 0,tag:void 0,storyId:void 0,eventName:""};for(;r.pos<n;){let e=r.uint32();switch(e>>>3){case 11:if(90!==e)break;i.params=r.string();continue;case 5:if(42!==e)break;i.count=r.string();continue;case 6:if(48!==e)break;i.visible=r.bool();continue;case 7:if(58!==e)break;i.index=r.string();continue;case 8:if(66!==e)break;i.state=r.string();continue;case 9:if(74!==e)break;i.duration=r.string();continue;case 10:if(82!==e)break;i.deck=r.string();continue;case 1:if(10!==e)break;i.eventCategory=r.string();continue;case 2:if(18!==e)break;i.tag=r.string();continue;case 3:if(26!==e)break;i.storyId=r.string();continue;case 4:if(34!==e)break;i.eventName=r.string();continue}if((7&e)==4||0===e)break;r.skipType(7&e)}return i}}},975427:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,X:()=>s});var n=r(730884),i=r(80339),a=r(779126),o=r(925129);function s(e,t,r,l=(0,o.Bk)()){let c=l&&(0,o.zU)(l);c&&(n.T&&a.Yz.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),c.addEvent(e,{[i.xc]:t,[i.Sn]:r}))}function l(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[i.Sn],a=r[i.xc];"string"==typeof n&&"number"==typeof a&&(t[e.name]={value:a,unit:n})}),t}},975599:e=>{for(var t=[],r=0;r<256;++r)t[r]=(r+256).toString(16).substr(1);e.exports=function(e,r){var n=r||0;return[t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],"-",t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]],t[e[n++]]].join("")}},976309:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>u,Gi:()=>p,HJ:()=>c,QH:()=>d,QW:()=>o,WS:()=>s,bO:()=>l,du:()=>a,f9:()=>E,xf:()=>f});var n=r(782456),i=r(951402);let a={[n.TBC.MAIN_DATA]:{},[n.TBC.ORDER_TREND]:{},[n.TBC.HOLDING_ANALYSIS]:{},[n.TBC.SIMILAR_FUNDS]:[],[n.TBC.VARIANT_DATA]:[],[n.TBC.CUSTOM_MF_DATA]:[],[n.TBC.NEWS_DATA]:[],[n.FsZ.NFO_MAIN_DATA]:[],[n.FsZ.NFO_CUSTOM_MF_DATA]:[],[n.FsZ.NFO_SIMILAR_FUNDS]:[]};function o(e,t,r){return{...h(e,t,n.TBC.MAIN_DATA,r),mf:r,mfDataLoading:!1,mfDataError:null,mfGraphButtonId:p(r)}}function s(e,t,r){return h(e,t,n.TBC.ORDER_TREND,r)}function l(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return h(e,t,i?n.FsZ.NFO_SIMILAR_FUNDS:n.TBC.SIMILAR_FUNDS,r)}function c(e,t,r){let a=function(e){let{asset_allocation:t,equity_sector_per:r,debt_sector_per:n}=e||{};return{...e||{},asset_allocation:(0,i.e)(t||{},!0),equity_sector_per:(0,i.e)(r||{},!0),debt_sector_per:(0,i.e)(n||{},!0)}}(r);return h(e,t,n.TBC.HOLDING_ANALYSIS,a)}function u(e,t,r){return h(e,t,n.TBC.VARIANT_DATA,r)}function d(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return h(e,t,i?n.FsZ.NFO_CUSTOM_MF_DATA:n.TBC.CUSTOM_MF_DATA,r)}function f(e,t,r){return h(e,t,n.TBC.NEWS_DATA,r)}function h(e,t,r,n){let i=function(e,t){let{data:r,searchId:n,key:i}=e,a={...t};return a[n]||(a[n]={}),a[n]={...a[n],[i]:r},a}({key:r,searchId:t,data:n},e.mfProductPageDataMap);return{...e,mfProductPageDataMap:i}}let p=e=>{try{if(!e||Array.isArray(e.return_stats)&&null!==e.return_stats[0][n.tnD.valueKey])return n.tnD.valueKey;{let t="";if(Object.keys(n.Ty).map(r=>{let i=n.Ty[r].valueKey;Array.isArray(e.return_stats)&&null!==e.return_stats[0][i]&&!t&&(t=i)}),t)return t;return n.tnD.valueKey}}catch(e){return n.tnD.valueKey}};function E(e){let{searchId:t,key:r,rootState:n,successCallback:a,cachedCallback:o}=e,{mfProductPageDataMap:s}=null==n?void 0:n.fund.productPage;return(0,i.a)(s)||(0,i.a)(s[t])||!s[t][r]?a():o?o(s[t][r]):void 0}},976827:(e,t,r)=>{"use strict";r.d(t,{i:()=>d});var n=r(689940),i=r(491803),a=r(359012),o=r(677128),s=r(238460),l=r(753762),c=r(34331),u=r(984991);let d=()=>{let e=(0,l.f)(c.ve),t=(0,l.f)(c._p),r=(0,i.y)(a.Hw),d=(0,s.N)(),{hoistValue:f,isHoistLoading:h}=(0,n.Qt)([{hoistKey:u.H.US_STOCKS_V2_ENABLED,defaultValue:!1},{hoistKey:u.H.US_STOCKS_V2_ONBOARDING,defaultValue:!1}]),p=f[u.H.US_STOCKS_V2_ENABLED];return{isHoistLoading:h,isUserLoggedIn:d,isUserWhitelisted:!h&&p,isUsStocksOnboardingEnabled:f[u.H.US_STOCKS_V2_ONBOARDING],isUsStocksOnboardedUser:e,isUsStocksOnboardedOrPending:e||t,isUsStocksOnboardingPending:t,onboardingStatus:r,openOnboarding:o.ob,resetUsStocksOnboardingStore:o.Jj}}},976837:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_306)"},n.createElement("path",{fill:"currentColor",d:"M9.5 16q-2.725 0-4.612-1.887T3 9.5t1.888-4.612T9.5 3t4.613 1.888T16 9.5a6.1 6.1 0 0 1-1.3 3.8l5.6 5.6a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275l-5.6-5.6q-.75.6-1.725.95T9.5 16m0-2q1.875 0 3.188-1.312Q14 11.375 14 9.5t-1.312-3.187T9.5 5 6.313 6.313 5 9.5t1.313 3.188T9.5 14"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_306"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},978265:(e,t,r)=>{"use strict";r.d(t,{K3:()=>a,WT:()=>s,Yq:()=>o,pW:()=>i});let n=Array.from({length:28},(e,t)=>
19t+1),i=["Monday","Tuesday","Wednesday","Thursday","Friday"],a=()=>{let e=new Date().getDate(),t=new Date().getMonth(),r={25:28,28:1,29:t%2==0?2:1,30:t%2==0?3:2,31:3};return r.hasOwnProperty(e)?r[e]:(e+3)%n.length},o=e=>{let t=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(r,"-").concat(n)},s=()=>{switch(new Date().getDay()){case 0:return 3;case 1:return 4;case 2:return 5;case 3:case 4:case 5:default:return 1;case 6:return 2}}},978414:(e,t,r)=>{"use strict";var n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.NKeysError=t.NKeysErrorCode=t.Prefixes=t.Prefix=t.fromSeed=t.fromPublic=t.createServer=t.createCluster=t.createUser=t.createAccount=t.createOperator=t.createPair=void 0;let a=r(342327),o=r(211505),s=r(395682),l=r(163244);function c(e){let t=(0,l.getEd25519Helper)().randomBytes(32),r=s.Codec.encodeSeed(e,new Uint8Array(t));return new a.KP(r)}t.createPair=c,t.createOperator=function(){return c(n.Operator)},t.createAccount=function(){return c(n.Account)},t.createUser=function(){return c(n.User)},t.createCluster=function(){return c(n.Cluster)},t.createServer=function(){return c(n.Server)},t.fromPublic=function(e){let t=new TextEncoder().encode(e),r=s.Codec._decode(t),n=u.parsePrefix(r[0]);if(u.isValidPublicPrefix(n))return new o.PublicKey(t);throw new d(i.InvalidPublicKey)},t.fromSeed=function(e){return s.Codec.decodeSeed(e),new a.KP(e)},function(e){e[e.Seed=144]="Seed",e[e.Private=120]="Private",e[e.Operator=112]="Operator",e[e.Server=104]="Server",e[e.Cluster=16]="Cluster",e[e.Account=0]="Account",e[e.User=160]="User"}(n=t.Prefix||(t.Prefix={}));class u{static isValidPublicPrefix(e){return e==n.Server||e==n.Operator||e==n.Cluster||e==n.Account||e==n.User}static startsWithValidPrefix(e){let t=e[0];return"S"==t||"P"==t||"O"==t||"N"==t||"C"==t||"A"==t||"U"==t}static isValidPrefix(e){return -1!=this.parsePrefix(e)}static parsePrefix(e){switch(e){case n.Seed:return n.Seed;case n.Private:return n.Private;case n.Operator:return n.Operator;case n.Server:return n.Server;case n.Cluster:return n.Cluster;case n.Account:return n.Account;case n.User:return n.User;default:return -1}}}t.Prefixes=u,function(e){e.InvalidPrefixByte="nkeys: invalid prefix byte",e.InvalidKey="nkeys: invalid key",e.InvalidPublicKey="nkeys: invalid public key",e.InvalidSeedLen="nkeys: invalid seed length",e.InvalidSeed="nkeys: invalid seed",e.InvalidEncoding="nkeys: invalid encoded key",e.InvalidSignature="nkeys: signature verification failed",e.CannotSign="nkeys: cannot sign, no private key available",e.PublicKeyOnly="nkeys: no seed or private key available",e.InvalidChecksum="nkeys: invalid checksum",e.SerializationError="nkeys: serialization error",e.ApiError="nkeys: api error",e.ClearedPair="nkeys: pair is cleared"}(i=t.NKeysErrorCode||(t.NKeysErrorCode={}));class d extends Error{constructor(e,t){super(e),this.name="NKeysError",this.code=e,this.chainedError=t}}t.NKeysError=d},984991:(e,t,r)=>{"use strict";r.d(t,{H:()=>n});let n={TRADING_CONTROLS:"fno_safe_pause",FNO_SAFE_PAUSE_V2:"fno_pause_kill_switch",SAFE_PAUSE_BLOG_URL:"safe_pause_blog_url",ACCOUNT_FREEZE_REASONS:"account_freeze_reasons",SHOW_HOLDINGS_TRANSFER:"show-holdings-transfer",FNO_TAB_CHANGE_MANAGEMENT:"fno_tab_change_management",ONB_DEMAT_CLOSURE_REASON:"onb_demat_closure_reasons_web",FNO_QUANTMAN_REDIRECTION_URL:"fno_apex_quantman_redirection_url",GROWW_API_ENABLED:"groww_api_enabled",GROWW_API_MANAGEMENT_CONFIG:"groww_api_management_config",INDICES_ORDER:"indices_order",ONB_HUF_ENABLE_WEB:"onb_huf_enable_web",ENABLE_MOBILE_EMAIL_EDIT:"onb_enable_edit_mobile_email_web",NOMINEE_CENTRAL:"nominee_central_web_config",STRATEGIES_MARKETPLACE:"groww-api-marketplace",MF_PRIME_ONBOARDING_WEB:"mf_prime_onboarding",REDIRECT_TOTP_USERS:"redirect-totp-users",INTEGRATED_FNO_COMMODITY_ONBOARDING:"integrated-fno-commodity-onb",SEARCH_BACKEND_STRATEGY:"search_backend_strategy_web",GOLD_DISCOVERY:"gold_discovery_web",FD_DISCOVERY:"fd_discovery_web",PRESS_PAGE_STRAPI_CONTENT:"press-page-strapi-content",BONDS_HOLDINGS_TABS_ENABLED:"holdings_tabs_enabled",US_STOCKS_V2_ENABLED:"us-stocks-v2-enabled",US_STOCKS_V2_ONBOARDING:"us-stocks-v2-onboarding",ONB_ACCOUNT_DELETION_AFTER_DEMAT_CLOSURE:"onb_account_deleti
19on_after_demat_closure",STOCKS_WEB_NRI_ENABLED:"stocks_web_nri_enabled",NRI_INTERNATIONAL_NUMBERS_CONFIG:"nri_international_numbers_config"}},985853:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/b.73b74158.svg",height:135,width:135,blurWidth:0,blurHeight:0}},986524:(e,t,r)=>{"use strict";r.d(t,{Tl:()=>E,hZ:()=>Y,Up:()=>S,oN:()=>f,U0:()=>V,s6:()=>B,UA:()=>y,OM:()=>l});var n=r(986594),i=r(407178),a=r(761711),o=r.n(a),s=r(947313);r(725882);let l=i.memo(e=>{let{filters:t,activeSearchFilterIndex:r,onFilterChange:i,pillSize:a="Small",className:l}=e;return(0,n.jsx)("div",{className:o()("contentPositive valign-wrapper sf54SearchFilterRow",l),children:t.map((e,t)=>{let{filterType:o}=e,l=r===t;return(0,n.jsx)(s.P,{text:o,isAccent:!1,isSelected:l,isOutlined:!l,onClick:l?void 0:()=>i(t),size:a},o)})})});var c=r(578124),u=r(47360),d=r(507298);r(345890);let f=i.memo(e=>{let{searchInputVal:t}=e;return(0,n.jsxs)("div",{className:"contentPrimary flex vspace-between nsfm67NoData bodyBase",children:[(0,n.jsxs)("div",{title:t,className:"truncate nsfm67NoDataWidth",children:[(0,n.jsx)("span",{className:"contentPrimary",children:"No results for"})," '",(0,n.jsx)("span",{className:"bodyBaseHeavy",children:t}),"'"]}),(0,n.jsx)("div",{className:"nsfm67FeedbackBtn",children:(0,n.jsx)(c.B,{role:"link",href:"https://trygroww.typeform.com/to/SW7rjvuf",onClick:()=>{(0,d.qG)(u.A.SendFeedbackClick,{searchquery:t})},rel:"nofollow noopener noreferrer",target:"_blank",buttonText:"Give feedback",variant:"Tertiary",isCompact:!0})})]})});var h=r(892751),p=r(951402);let E=i.memo(e=>{let{searchInputVal:t,featureSuggestion:r,isHighlighted:a=!1}=e,o=(0,i.useCallback)(()=>{(0,d.qG)(u.A.SearchFeatureClick,{searchquery:t,searchTextLength:t.length,featureName:null==r?void 0:r.feature_name,suggestionSource:null==r?void 0:r.analytics_label})},[t,r]);return(0,p.a)(r)?null:(0,n.jsx)("div",{className:a?"se27SeSuggestionHover":"",children:(0,n.jsx)(h.A,{isCsr:!1,url:(null==r?void 0:r.deeplink)||"",onClick:o,children:(0,d.xG)(r,t)},null==r?void 0:r.title)})});var _=r(454532),g=r(222736);let S=i.memo(e=>{let{searchInputVal:t,onMoreResultsClick:r}=e,a=(0,i.useCallback)(()=>{(0,d.qG)(g.A.SearchMoreResultsClick,{}),null==r||r()},[r]);return(0,n.jsx)("div",{className:"width100 contentPrimary absolute-center gsc23MoreResultsRow backgroundPrimary bodyBase cur-po",children:(0,n.jsx)(c.B,{onClick:a,variant:"Tertiary",size:"Base",role:"link",href:_.bw.SEARCH+"?q="+t,buttonText:"More results",isFullWidth:!0})})});var m=r(976837),A=r(759969),v=r(487478),b=r(203511),T=r(999711);r(805562);let y=i.memo(e=>{let{value:t,onChange:r,onKeyDown:a,onFocus:o,placeholder:s="Search...",inputId:l,isLoading:c=!1,onClear:u,inputRef:d,className:f=""}=e,h=(0,i.useCallback)(e=>{r(e.target.value)},[r]),p=t.length>0&&!c;return(0,n.jsxs)("div",{className:"valign-wrapper stiContainer backgroundPrimary card bodyLarge ".concat(f),children:[(0,n.jsx)("div",{className:"stiIconWrapper absolute-center",children:(0,n.jsx)(m.A,{className:"contentSecondary",size:20})}),(0,n.jsx)("div",{className:"flex width100",children:(0,n.jsx)(v.T,{id:l,variant:"unstyled",className:"stiInput contentPrimary bodyBase",placeholder:s,onChange:h,onFocus:o,value:t,onKeyDown:a,ref:d,autoComplete:"off",maxLength:T.Mm})}),c?(0,n.jsx)("div",{className:"valign-wrapper stiLoaderWrapper",children:(0,n.jsx)(b.L,{loaderType:b.a.CIRCULAR,dimension:"Base"})}):p?(0,n.jsx)("div",{className:"absolute-center cur-po",onClick:u,children:(0,n.jsx)(A.A,{size:20,className:"contentSecondary"})}):(0,n.jsx)("div",{className:"stiRightSpacer"})]})});var O=r(391382),w=r(113334),C=r(189988),I=r(910237),R=r(94976),N=r(744620),D=r(205364);let P={TITLE:"title",SCRIPT:"script",BRAND:"brand"},L=(e,t,r,n)=>{if(!e)return null;let i=e.toLowerCase();return(null==t?void 0:t.toLowerCase().includes(i))?P.TITLE:(null==r?void 0:r.toLowerCase().includes(i))?P.SCRIPT:(null==n?void 0:n.toLowerCase().includes(i))?P.BRAND:null};var k=r(8602),M=r.n(k);let F={[D.g.TRENDING]:w.A,[D.g.RECENT]:C.A},x=e=>{let{value:t,searchText:r}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{children:" ⢠"}),(0,n.jsx)("span",{children:r?(0,O.h)(t||"",r,0,T.LU,T.HR):t})]})},U=i.memo(e=>{var t;let{data:r,searchText:a,contentClassName:o,isBookmarked:s,onBookmarkClick:l}=e,{entity_type:c,sub_entity_type:u,option_type:f,search_id:h,title:E,exchange:_,suggestionState:g,matched_brands:S}=r||{},A=g===D.g.SEARCH,v=u===N.BV.Commodity,b=(0,d.EP)(r),y=null!==(t=null==S?void 0:S[0])&&void 0!==t?t:"",w=L(a,E,b,y),C=F[g||""]||m.A,k=(0,d.UW)(c,f,g,C),U=(0,d.YV)(c,f,g),B=A?M().iconCircleWithBackgroun
19d:M().iconCircle,H=(0,i.useCallback)(e=>{e.stopPropagation(),e.preventDefault(),null==l||l()},[l]),G=s?I.A:R.A;return(0,n.jsxs)("div",{className:"contentPrimary valign-wrapper ".concat(M().suggestionRow," bodyBase"),id:"suggestions".concat(h),children:[(0,n.jsx)("div",{className:"".concat(B," ").concat(A?"backgroundSecondary":"backgroundTransparent"," circle absolute-center"),children:(0,n.jsx)(k,{size:16,...U?{viewBox:U}:{},className:"contentSecondary absolute-center"})}),(0,n.jsxs)("div",{className:"valign-wrapper vspace-between width100 ".concat(M().suggestionContent," ").concat(o||""),children:[(0,n.jsxs)("div",{className:M().suggestionText,children:[(0,n.jsx)("div",{className:"bodyBase truncateText",children:(0,O.h)(E||"",a,0,T.n6,T.K3)}),A&&(0,n.jsxs)("div",{className:"valign-wrapper bodySmall contentSecondary ".concat(M().suggestionTextBody),children:[(0,n.jsx)("span",{children:T._H[c||""]}),!(0,p.a)(b)&&(0,n.jsx)(x,{value:b,searchText:w===P.SCRIPT?a:""}),v&&!(0,p.a)(_)&&(0,n.jsx)(x,{value:_}),!(0,p.a)(y)&&(0,n.jsx)(x,{value:y,searchText:w===P.BRAND?a:""})]})]}),l&&(0,n.jsx)("div",{className:"cur-po absolute-center ".concat(M().bookmarkIcon),onMouseDown:H,children:(0,n.jsx)(G,{size:20,className:s?"contentPositive":"contentTertiary"})})]})]},h)});r(812910);let B=i.memo(e=>{let{suggestions:t,highlightedIndex:r=null,onSelect:a,searchText:s,suggestionStateLabels:l={},itemClassName:c,contentClassName:u,isItemBookmarked:d,onItemBookmarkClick:f,shouldShowItemBookmark:h}=e,p=(0,i.useRef)([]);(0,i.useEffect)(()=>{if(null!==r&&r>=0){var e;null===(e=p.current[r])||void 0===e||e.scrollIntoView({block:"nearest"})}},[r]);let E=(0,i.useCallback)((e,t,r)=>{e.stopPropagation(),a(t,r,e.ctrlKey||e.metaKey)},[a]);return(null==t?void 0:t.length)?(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>{var a;return(0,n.jsxs)(i.Fragment,{children:[l[t]&&(0,n.jsx)("div",{className:"contentSecondary headingSmall sslLabel",children:l[t].label}),(0,n.jsx)("div",{ref:e=>{p.current[t]=e},className:o()("cur-po sslItem valign-wrapper bodyBase",c,{backgroundSecondary:t===r}),onMouseDown:r=>E(r,e,t),children:(0,n.jsx)(U,{data:e,searchText:s,contentClassName:u,isBookmarked:null==d?void 0:d(e),onBookmarkClick:f&&(null===(a=null==h?void 0:h(e))||void 0===a||a)?()=>f(e):void 0})})]},"".concat(e.key,"-").concat(e.search_id,"-").concat(t))})}):null});var H=r(188635),G=r(413382),j=r.n(G);let V=i.memo(e=>{let{rows:t=6,chipCount:r=5}=e,i=Array(r).fill(null),a=Array(t).fill(null);return(0,n.jsx)("div",{className:"flex flex-column",children:(0,n.jsx)(H.Ay,{addCls:j().stopAnimation,children:(0,n.jsxs)(H.om,{children:[(0,n.jsx)(H.qF,{addCls:"hspace-between ".concat(j().chipRow),children:i.map((e,t)=>(0,n.jsx)(H.d8,{width:104,height:24,borderRadius:12,type:"rect"},"skeleton-chip-".concat(t)))}),(0,n.jsx)(H.om,{addCls:"flex flex-column",children:a.map((e,t)=>(0,n.jsxs)(H.qF,{addCls:"valign-wrapper ".concat(j().listRow),children:[(0,n.jsx)(H.d8,{width:16,height:16,borderRadius:2,type:"rect"}),(0,n.jsx)(H.d8,{width:540,height:16,borderRadius:4,type:"rect"})]},"skeleton-row-".concat(t)))})]})})})});var K=r(671304),W=r.n(K);let Y=i.memo(e=>{let{className:t,height:r=1,color:i="backgroundPositive",duration:a="1.2s",role:o="progressbar","aria-label":s="Loading"}=e;return(0,n.jsx)("div",{className:"".concat(W().container," ").concat(t||""),style:{height:r},role:o,"aria-label":s,children:(0,n.jsx)("div",{className:"".concat(W().bar," ").concat(i),style:{animationDuration:a}})})})},987540:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(986594);r(407178);var i=r(951402);let a={NEUTRAL:"neutral",NEUTRAL_SUBTLE:"neutralSubtle",ACCENT:"accent",ATTENTION:"attention"};var o=r(9239),s=r.n(o);let l=e=>{switch(e){case a.NEUTRAL_SUBTLE:return"contentSecondary backgroundTertiary";case a.ACCENT:return"contentOnColour backgroundAccent";case a.ATTENTION:return"contentOnColour backgroundNegative";case a.NEUTRAL:default:return"contentInversePrimary backgroundInversePrimary"}},c=e=>{let t="string"==typeof e?parseInt(e,10):e;return isNaN(t)?e:t>999?"999+":t>99?"99+":t.toString()},u=e=>{let{isDisabled:t=!1,variant:r=a.NEUTRAL,value:o}=e;if((0,i.a)(o))return null;let u=t?"contentDisabled backgroundTertiary":l(r);return(0,n.jsx)("div",{className:"absolute-center ".concat(s().countBadge," ").concat(u),children:c(o)})}},987928:(e,t,r)=>{var n=r(32278),i=r(975599);e.exports=function(e,t,r){var a=t&&r||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||n)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var s=0;s<16;++s)t[a+s]=o[s];return t||i(o)}},990104:(e,t,r)=>{"use strict";r.d(t,{L:()=>s});var n=r(407178),i=r(20556),a=r(339820),o=r(937028);let s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.N;(0,o.c)();let t=i.iC.use.isTabVisible(),r=(0,n.useRef)(null);(0,n.useEffect)(()=>(t?(0,i.HF)(t):r.current=setTimeout(()=>{(0,i.HF)(t)},e),()=>{r.current&&clearTimeout(r.current)}),[t,e])}},990387:()=>{},995964:(e,t)=>
19{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dump=t.decode=t.encode=void 0,t.encode=function(e){return btoa(String.fromCharCode(...e))},t.decode=function(e){let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r},t.dump=function(e,t){t&&console.log(t);let r=[];for(let t=0;t<e.byteLength;t++){t%8==0&&r.push("\n");let n=e[t].toString(16);1===n.length&&(n="0"+n),r.push(n)}console.log(r.join(" "))}},996760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(407178);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=a(e,n)),t&&(i.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},999711:(e,t,r)=>{"use strict";r.d(t,{Du:()=>A,G_:()=>S,qm:()=>P,Mm:()=>N,MJ:()=>R,Y7:()=>D,V9:()=>I,xx:()=>C,_H:()=>m,Fu:()=>g,ze:()=>w,wG:()=>v,K3:()=>y,LU:()=>T,HR:()=>O,n6:()=>b});var n=r(407178),i=r(422346),a=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{fill:"currentColor",clipPath:"url(#clip0_1_18)"},n.createElement("path",{d:"M21.24 2.77C20.73 2.26 20.1 2 19.37 2H4.64c-.73 0-1.36.26-1.87.77S2 3.91 2 4.64v14.73c0 .73.26 1.36.77 1.87s1.14.77 1.87.77h14.73c.73 0 1.36-.26 1.87-.77s.77-1.14.77-1.87V4.63c0-.73-.26-1.36-.77-1.87zm-1.55 1.55V19.7c0 .09.06-.06 0 0s.09 0 0 0H4.32c-.09 0 .06.06 0 0-.03-.03.02.04 0 0V4.31c-.09 0 .06-.06 0 0H19.7c-.06-.06.09 0 0 0 0-.09.06.06 0 0z"}),n.createElement("path",{d:"M6.01 16.75a1 1 0 0 1-.66-.25c-.42-.36-.46-1-.09-1.41l3.5-4c.18-.21.44-.33.72-.34.27-.02.54.1.74.29l2.19 2.19 4.31-5.6c.34-.44.96-.52 1.4-.18s.52.96.18 1.4l-5 6.5c-.18.23-.44.37-.73.39-.3 0-.57-.09-.77-.29l-2.24-2.24-2.8 3.2c-.2.23-.47.34-.75.34"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_18"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),o=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("g",{clipPath:"url(#clip0_1_27)"},n.createElement("path",{fill:"currentColor",d:"M13.07 10.93h7.05c-.25-1.83-1.03-3.41-2.34-4.73s-2.88-2.09-4.71-2.33v7.06m-2.15 9.2V3.88c-2.02.27-3.7 1.17-5.05 2.71S3.84 9.94 3.84 12s.68 3.87 2.03 5.41 3.03 2.45 5.05 2.71zm2.15 0a8.27 8.27 0 0 0 4.68-2.36c1.3-1.29 2.09-2.85 2.38-4.69h-7.05v7.05zM12 22.3c-1.42 0-2.75-.27-4.01-.81s-2.35-1.28-3.27-2.2c-.93-.93-1.66-2.01-2.2-3.26s-.81-2.59-.81-4.03.27-2.78.81-4.04 1.27-2.35 2.2-3.27S6.73 3.04 7.98 2.5c1.25-.53 2.59-.8 4.03-.8s2.75.27 4.01.81 2.35 1.28 3.27 2.2c.93.93 1.66 2.02 2.2 3.28s.81 2.6.81 4.01-.27 2.78-.8 4.03-1.26 2.34-2.19 3.26-2.02 1.66-3.27 2.2c-1.26.54-2.6.81-4.04.81"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_27"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),s=r(113589),l=r(534800),c=r(428316),u=r(212169),d=r(605404),f=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M10.733 16.911H9.617a.4.4 0 0 1-.296-.122.4.4 0 0 1-.121-.296V7.916q0-.175.121-.296a.4.4 0 0 1 .296-.121h5.109q.175 0 .296.121a.4.4 0 0 1 .121.296v.995q0 .175-.121.296a.4.4 0 0 1-.296.121H11.15V11.6h2.769q.175 0 .296.121.121.122.121.296v.995q0 .175-.121.296a.4.4 0 0 1-.296.121h-2.77v3.065q0 .175-.12.296a.4.4 0 0 1-.296.121"}),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 16h14V5H5z",clipRule:"evenodd"}))}),h=r(640942),p=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M12.123 17.079q-1.074 0-1.922-.497l-.001-.001a3.57 3.57 0 0 1-1.318-1.385q-.484-.887-.484-2.057v-1.802q-.001-1.184.484-2.057A3.57 3.57 0 0 1 10.2 7.895q.846-.497 1.922-.497 1.075 0 1.842.457.78.444 1.21 1.17.43.713.484 1.533.027.336-.296.336h-1.371a.36.36 0 0 1-.215-.081q-.094-.08-.121-.282a1.8 1.8 0 0 0-.23-.618 1.35 1.35 0 0 0-.496-.484q-.309-.202-.807-.202-.483 0-.887.255-.404.243-.645.713-.242.471-.242 1.17v1.775q0 .685.242 1.156.24.471.645.713.403.242.887.242.74 0 1.102-.376.375-.39.43-.874.027-.147.081-.282.068-.135.269-.135h1.385a.27.27 0 0 1 .229.108.3.3 0 0 1 .067.215 3.3 3.3 0 0 1-.497 1.519 3.56 3.56 0 0 1-1.223 1.196q-.767.457-1.842.457"}),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 16h14V5H5z",clipRule:"evenodd"}))}),E=n.memo(function(e){let t=(0,i.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.508 16.892H9.392a.4.4 0 0 1-.295-.121.4.4 0 0 1-.12-.296V7.898q0-.175.12-.296a.4.4 0 0 1 .296-.121h3.616q.835 0 1.48.35.657.35 1.034 1.008.39.659.39 1.6v.403q0 .94-.39 1.64a2.8 2.8 0 0 1-1.035 1.076q-.645.376-1.479.376h-2.084v2.54q0 .176-.12.297a.4.4 0 0 1-.297.121m2.338-7.582h-1.922v2.797h1.922q.323 0 .565-.148.255-.149.403-.444a1.6 1.6 0 0 0 .148-.712v-.188q0-.417-.148-.713a1.02 1.02 0 0 0-.403-.444 1.06 1.06 0 0 0-.56
195-.148",clipRule:"evenodd"}),n.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 16h14V5H5z",clipRule:"evenodd"}))}),_=r(744620);let g=[{filterType:"All",entityType:"",label:""},{filterType:"Stocks",entityType:"stocks",label:"Stocks"},{filterType:"F&O",entityType:"fno",label:"Futures & Options"},{filterType:"Mutual Funds",entityType:"scheme",label:"Mutual Funds"},{filterType:"ETF",entityType:"etf",label:"ETFs"},{filterType:"FAQs",entityType:"help",label:"FAQs"}],S={[_.MH.Stocks]:"stocks",[_.MH.Index]:"stocks",[_.MH.Scheme]:"scheme",[_.MH.Nfo]:"scheme",[_.MH.Future]:"fno",[_.MH.Option]:"fno",[_.MH.OPTION_CHAIN]:"fno",[_.MH.Underlying]:"fno",[_.MH.ETF]:"etf",[_.MH.Help]:"help"};_.MH.Stocks,_.MH.IPO,_.MH.Index,_.MH.Future,_.MH.Option,_.MH.OPTION_CHAIN,_.MH.Underlying,_.MH.Scheme,_.MH.Nfo,_.MH.ETF,_.MH.Help,_.MH.Deposit,_.MH.US_ETF,_.MH.US_STOCKS;let m={Stocks:"Stock",Scheme:"MF",Deposit:"FD",Index:"Index",Portfolio:"PORTFOLIO",Question:"QUESTION",Blog:"BLOG",Nfo:"NFO",US_STOCKS:"US Stock",US_ETF:"US ETF",ETF:"ETF",Future:"Future",Option:"Option",IPO:"IPO",OPTION_CHAIN:"Option Chain",Underlying:"Commodity",Buyback:"Buyback",Help:"FAQ"},A={Stocks:a,Index:a,Scheme:o,Nfo:s.A,IPO:s.A,Help:l.A,ETF:c.A,SGB:a,OPTION_CHAIN:u.A,US_STOCKS:d.A,Future:f,Underlying:h.A},v={CE:p,PE:E},b={margin:0,fontSize:14},T={margin:0,fontSize:12},y="535",O="500",w=6,C=0,I=300,R=3,N=100,D="Trending Searches",P="globalSearch23"}},e=>{e.O(0,[90636],()=>{e.E(37373),e.E(50585)},5);var t=t=>e(e.s=t);e.O(0,[46593,38792],()=>(t(160074),t(968631),t(26427))),_N_E=e.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.