PageSourceSearch

https://assets-netstorage.groww.in/web-assets/billion_groww_deskto…/available-for-pledge-c69d2393687e7b53.js

js groww.in collected 2026-09-24 09:11:11 UTC 90,138 bytes, 1 lines download raw bytes

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]="57aaab45-cd77-49ab-85f0-523d155a1b9e",e._sentryDebugIdIdentifier="sentry-dbid-57aaab45-cd77-49ab-85f0-523d155a1b9e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26,16528,32531,36543,81470],{1786:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}))})},16367:e=>{e.exports={WatchListItemContainer:"watchListItem_WatchListItemContainer__n_8ra",IconWrapper:"watchListItem_IconWrapper__e1Oa0",Fade:"watchListItem_Fade__BjJbT"}},24654:(e,t,a)=>{"use strict";a.d(t,{R:()=>r});var n=a(407178);function r(e){for(var t=arguments.length,a=Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];let l=t=>{let n=!0;for(let e of a){var r;if(null==e?void 0:null===(r=e.current)||void 0===r?void 0:r.contains(t.target)){n=!1;break}}n&&e()};(0,n.useEffect)(()=>(document.addEventListener("mousedown",l),()=>{document.removeEventListener("mousedown",l)}),a)}},45973:(e,t,a)=>{"use strict";a.d(t,{G3:()=>i,I0:()=>r,Pl:()=>l,p4:()=>o});var n=a(91702);let r={LOSS:"LOSS_LIMIT",PROFIT:"PROFIT_LIMIT"},l={SUCCESS:"SUCCESS",FAILED:"FAILED"},i=[{label:"Protect profit at",value:n.Vt.PROFIT},{label:"Limit loss at",value:n.Vt.LOSS}],o=[{node:i[0].label},{node:i[1].label,activeAccentClass:"contentNegative",activeBorderClass:"borderNegative",inactiveAccentClass:"contentPrimary",sliderBackgroundClass:"backgroundNegativeSubtle"}]},58148:e=>{e.exports={filtersPanel:"Filters_filtersPanel__JWSDt",filtersPanelCheckbox:"Filters_filtersPanelCheckbox__OSUtV"}},85676:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(986594),r=a(654307),l=a.n(r);let i=e=>{let{text:t,titleText:a,textClass:r="bodyBaseHeavy",truncate:i,maxWidth:o}=e;return(0,n.jsx)("div",{title:a||t,className:"contentPrimary ".concat(r," ").concat(l().name," ").concat(i?"truncate":""),style:{maxWidth:o},children:t})}},123146:(e,t,a)=>{"use strict";a.d(t,{$P:()=>l,$k:()=>i,q5:()=>o});var n=a(299168),r=a(270230);function l(e){let t=(0,n.Gx)();return r.SP.post("/v1/api/stocks_pledge/v1/pledge/revoke",e,{headers:{"X-SESSION-ID":t}})}function i(){return r.SP.get("/v1/api/stocks_portfolio/v2/holding/pledged")}function o(e){var t,a;let n=null===(t=e.query)||void 0===t?void 0:t.trim(),l=null===(a=e.order)||void 0===a?void 0:a.toUpperCase(),i={...e,query:(null==n?void 0:n.length)===0?void 0:n,order:l};return r.vO.get("/v1/api/stocks_pledge/v1/pledgable/explore",{params:i})}},125757:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}))})},144673:e=>{e.exports={container:"saveButton_container__jcvtq"}},147134:(e,t,a)=>{"use strict";a.d(t,{k:()=>i,p:()=>l});var n=a(655969),r=a(519201);let l=(0,n.vt)(()=>({watchListMap:{},maxWatchListItemsAllowed:100,maxWatchListsAllowed:10,watchListMapLoading:!1,watchListMapFailed:!1,watchListPopupIsOpen:!1,watchListSelectedId:null,isSelectedItemCommodities:!1})),i=(0,r.L)(l)},198995:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/PledgeListError.cc596ffd.svg",height:132,width:136,blurWidth:0,blurHeight:0}},199105:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}))})},234900:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o,F:()=>i});var n=a(986594);a(407178);var r=a(744620),l=a(619001);let i="desktop"===r.Eg.MSITE,o=e=>(0,n.jsx)(l.A,{...e})},311806:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={SipDateInfoClick:"SipDateInfoClick",SipScheduleConfirm:"SipScheduleConfirm",MfSipJourneyApiSuccess:"MfSipJourneyApiSuccess",MfSipJourneyApiError:"MfSipJourneyApiError",MFSIPJourneyEventClickV2:"MFSIPJourneyEventClickV2",CartDateSelect:"CartDateSelect",AddMoneyClick:"AddMoneyClick",NomineeNext:"NomineeNext",NomineeSubmitted:"NomineeSubmitted",NomineeSubmissionFailed:"NomineeSubmissionFailed",MfCancelOrderSuccess:"MfCancelOrderSuccess",MfCancelOrderError:"MfCancelOrderError",BankProofUploadScreenView:"BankProofUploadScreenView",DashboardSTPOrderClick:"DashboardSTPOrderClick",DashboardSWPOrderClick:"DashboardSWPOrderClick",DashboardSwitchOrderClick:"DashboardSwitchOrderClick",DashboardStaleDataRefreshed:"DashboardStaleDataRefresh",DashboardInvestmentClick:"DashboardInvestmentClick",DashboardRedeemClick:"DashboardRedeemClick",MfSuccessScreenDoneClick:"MfSuccessScreenDoneClick",DashboardInvestmentDetailsClick:"DashboardInvestmentDetailsClick",SwitchLandingSwitchNow:"SwitchLandingSwitchNow",TrackLandingSwitchNow:"TrackLandingSwitchNow",SmartSaveStartInvesting:"SmartSaveStartInvesting",SmartSaveOneTimeClick:"SmartSaveOneTimeClick",SmartSaveSIPClick:"SmartSaveSIPClick",SWPOrderSuccess:"SWPOrderSuccess",STPOrderSuccess:"STPOrderSuccess",GetRedeemDetailsSuccess:"GetRedeemDetailsSuccess",GetRedeemDetailsFailed:"GetRedeemDetailsFailed",ValidateRedeemClicked:"ValidateRedeemClicked",RedeemClick:"RedeemClick",ValidateRedeemApiSuccess:"ValidateRedeemApiSuccess",ValidateRedeemApiFailed:"ValidateRedeemApiFailed",RedeemConfirmClick:"RedeemConfirmClick",RedeemTwoFASuccess:"RedeemTwoFASuccess",RedeemTwoFAFailed:"RedeemTwoFAFailed",RedeemSuccess:"RedeemSuccess",RedeemFailed:"RedeemFailed",PollRedeemFailed:"PollRedeemFailed",PollRedeemSuccess:"PollRedeemSuccess",MfRedeemAPIFailure:"MfRedeemAPIFailure",MfRedeemScreenView:"MfRedeemScreenView",MfRedeemInfoClick:"MfRedeemInfoClick",MfRedeemGearIconClick:"MfRedeemGearIconClick",MfRedeemScreenProceedClick:"MfRedeemScreenProceedClick",MfRedeemModeChangeConfirmed:"MfRedeemModeChangeConfirmed",MfRedeemScreenRedeemAllClick:"MfRedeemScreenRedeemAllClick",MfConfirmRedeemVerifyScreenView:"MfConfirmRedeemVerifyScreenView",MFNomineeLanding:"MFNomineeLanding",MFNomineeLandingFailed:"MFNomineeLandingFailed",MFNomineeConfirmed:"MFNomineeConfirmed",MFNomineeFundsView:"MFNomineeFundsView",MFNomineeAddedLanding:"MFNomineeAddedLanding",MFNomineeAdded:"MFNomineeAdded",MFNomineeOTPSubmitted:"MFNomineeOTPSubmitted",MFNomineeOTPSubmittedFailed:"MFNomineeOTPSubmittedFailed",MFNomineePendingLanding:"MFNomineePendingLanding",ExclusiveApplyClick:"ExclusiveApplyClick",ValidateOrderSuccess:"ValidateOrderSuccess",ValidateOrderFailed:"ValidateOrderFailed",MfOrderNomineeSaveSuccess:"MfOrderNomineeSaveSuccess",MfOrderNomineeSaveFailed:"MfOrderNomineeSaveFailed",TrackClick:"TrackClick",TrackEntered:"TrackEntered",TrackOtpEntered:"TrackOtpEntered",TrackOtpConfirmed:"TrackOtpConfirmed",TrackFailed:"TrackFailed",TrackSuccess:"TrackSuccess",TrackOtpIncorrect:"TrackOtpIncorrect",TrackOtpRetry:"TrackOtpRetry",TrackMobileNotLinked:"TrackMobileNotLinked",NotReadyToTrack:"NotReadyToTrack",TrackMobilePageLanding:"TrackMobilePageLanding",TrackOTPFlowTriggered:"TrackOTPFlowTriggered",TrackEditMobileClick:"TrackEditMobileClick",TrackOTPPageLanding:"TrackOTPPageLanding",DashboardDeleteFun
1dClick:"DashboardDeleteFundClick",DashboardDeleteFundConfirm:"DashboardDeleteFundConfirm",DashboardDeleteFundSuccess:"DashboardDeleteFundSuccess",DashboardDeleteFundFailed:"DashboardDeleteFundFailed",ChooseFolioNeedHelpClick:"ChooseFolioNeedHelpClick",CancelSIPClicked:"CancelSIPClicked",CancelSIPConfirmed:"CancelSIPConfirmed",CancelSIPSuccess:"CancelSIPSuccess",CancelSIPFailed:"CancelSIPFailed",ViewSipClick:"ViewSipClick",EditSIPRequested:"EditSIPRequested",UndoEditRequestClicked:"UndoEditRequestClicked",UndoEditRequestConfirm:"UndoEditRequestConfirm",UndoEditRequestCancelled:"UndoEditRequestCancelled",SetupGrowwAutopay:"SetupGrowwAutopay",UpgradeToGrowwAutopay:"UpgradeToGrowwAutopay",StepUpCTAClick:"StepUpCTAClick",StepUpCancelClick:"StepUpCancelClick",StepUpDetailsClick:"StepUpDetailsClick",StepUpEditClick:"StepUpEditClick",WatchlistDetailsClick:"WatchlistDetailsClick",CollectionsPageView:"CollectionsPageView",CollectionsSchemeNameClick:"CollectionsSchemeNameClick",CollectionsSchemeCardClick:"CollectionsSchemeCardClick",ReturnsClick:"ReturnsClick",AddFundClick:"AddFundClick",ProsConsClick:"ProsConsClick",AboutFundClick:"AboutFundClick",ReturnsTabClick:"ReturnsTabClick",RemoveFundClick:"RemoveFundClick",FundDetailsClick:"FundDetailsClick",FundManagersClick:"FundManagersClick",PopularComparisonClick:"PopularComparisonClick",PopularComparisonCardClick:"PopularComparisonCardClick",MfOtpLandingScreen:"MfOtpLandingScreen",MfExploreFundsCta:"MfExploreFundsCta",MfAPLinkingNotDone:"MfAPLinkingNotDone",MfExchangeFlow:"MfExchangeFlow",TaxReportClick:"TaxReportClick",TermFundsClick:"TermFundsClick",OverviewTabClick:"OverviewTabClick",FundTypePillClick:"FundTypePillClick",SeeAllMutualFundClick:"SeeAllMutualFundClick",ChangeSubCategoryClick:"ChangeSubCategoryClick",DashboardPortfolioClick:"DashboardPortfolioClick",PortfolioSubCategoryClick:"PortfolioSubCategoryClick",CapitalGainsInfoIconClick:"CapitalGainsInfoIconClick",TaxAndCapitalGainsTabClick:"TaxAndCapitalGainsTabClick",StockPPEquityAssetAllocationClick:"StockPPEquityAssetAllocationClick",PvmPaymentSuccess:"PvmPaymentSuccess",PvmPaymentFailed:"PvmPaymentFailed",RetryMandate:"RetryMandate",SIPPaymentPayNow:"SIPPaymentPayNow",CancelCollectRequest:"CancelCollectRequest",CancelCollectRequestFailed:"CancelCollectRequestFailed",OrderFailed:"OrderFailed",OrderPending:"OrderPending",OrderSuccess:"OrderSuccess",OrderInitiated:"OrderInitiated",EditSIPNACH:"EditSIPNACH",UpiAutopayTxnStatusPoll:"UpiAutopayTxnStatusPoll",UpiAutopayTxnStatusPollFailed:"UpiAutopayTxnStatusPollFailed",UpiAutopayTxnStatusFinal:"UpiAutopayTxnStatusFinal",UpiAutopayTxnStatusFinalFailed:"UpiAutopayTxnStatusFinalFailed",OrderSuccessScreen:"OrderSuccessScreen",SipScheduleInfoClick:"SipScheduleInfoClick",MFSSOrderDetailsClick:"MFSSOrderDetailsClick",QRPaymentFlow:"QRPaymentFlow",UpiPaymentFlow:"UpiPaymentFlow",MfOrdersChevronClick:"MfOrdersChevronClick",MfPendingPaymentChevronClick:"MfPendingPaymentChevronClick",MfDashboardOrderClick:"MfDashboardOrderClick",MfPendingPaymentOrderClick:"MfPendingPaymentOrderClick",MfSeeMoreOrdersClick:"MfSeeMoreOrdersClick",MfSeeLessOrdersClick:"MfSeeLessOrdersClick",MfDashboardAllOrdersClick:"MfDashboardAllOrdersClick",MfAllOrdersOrderClick:"MfAllOrdersOrderClick",MfAllOrdersFilterApplied:"MfAllOrdersFilterApplied",MfAllOrdersFilterRemoved:"MfAllOrdersFilterRemoved",MfAllOrdersResetFilters:"MfAllOrdersResetFilters",MfOrderDetailsUserActionClick:"MfOrderDetailsUserActionClick",OrderDetailsInfo:"OrderDetailsInfo",MFSIPSkipClickedV2:"MFSIPSkipClickedV2",MFSIPSkipConfirm:"MFSIPSkipConfirm",MFSIPSkipResult:"MFSIPSkipResult",MFSIPCancelResult:"MFSIPCancelResult",MFSkipDisabled:"MFSkipDisabled",SipUndoSkipClicked:"SipUndoSkipClicked",MFEditSIPAmountDateClickedV2:"MFEditSIPAmountDateClickedV2",MFEditSIPAmountDateConfirm:"MFEditSIPAmountDateConfirm",MFEditSIPAmountDateUpdate:"MFEditSIPAmountDateUpdate",SIPDetailsSetUpAutopayV2:"SIPDetailsSetUpAutopayV2",MFChangeMandateClick:"MFChangeMandateClick",MFChangeMandateConfirm:"MFChangeMandateConfirm",MFChangeMandateResult:"MFChangeMandateResult",CancelSIPClick:"CancelSIPClick",CancelReasonClick:"CancelReasonClick",ConfirmCancel:"ConfirmCancel",MfSipCancelled:"MfSipCancelled",ContinueSIPNoCancel:"ContinueSIPNoCancel",RedeemSIPNoCancel:"RedeemSIPNoCancel",PauseSIPNoCancel:"PauseSIPNoCancel",ChangeAmountDateNoCancel:"ChangeAmountDateNoCancel",AddStepUpClick:"AddStepUpClick",StepUpSipProceedClick:"StepUpSipProceedClick",StepUpActivated:"StepUpActivated",StepUpEditRemoveClick:"StepUpEditRemoveClick",RemoveStepUpConfirmClick:"RemoveStepUpConfirmClick",StepUpRemoved:"StepUpRemoved",StepUpConfig:"StepUpConfig",StepUpPopUpClose:"StepUpPopUpClose",MfSkipAnywayConfirm:"MfSkipAnywayConfirm",MfCancelAnywayConfirm:"MfCancelAnywayConfirm",MfCancelSkipConfirm:"MfCancelSkipConfirm",PurchaseConfigType:"PurchaseConfigType",MfRestartSipClick:"MfRestartSipClick",MfCancelledSipCalled:"MfCancelledSipCalled",GrowwFundViewAll
1Click:"GrowwFundViewAllClick",RChangeBankLanding:"RChangeBankLanding",Rbankchangeclick:"Rbankchangeclick",RChangeBankProceedClick:"RChangeBankProceedClick",RBankProofLanding:"RBankProofLanding",RBankProofProceed:"RBankProofProceed",RUploadProofLanding:"RUploadProofLanding",RUploadProofConfirm:"RUploadProofConfirm",RSubmitProofClick:"RSubmitProofClick",RBankChangeConfirmClick:"RBankChangeConfirmClick",BankChangeChequeInfoClick:"BankChangeChequeInfoClick",BankChangeChequeInfoClose:"BankChangeChequeInfoClose",MfOTPAuthentication:"MfOTPAuthentication",MfResendOTPClick:"MfResendOTPClick",MfOTPLandingScreen:"MfOTPLandingScreen",DematOptedOutScreenView:"DematOptedOutScreenView",DematOptOutOTPScreenView:"DematOptOutOTPScreenView",DematOptOutOTPInitAPICall:"DematOptOutOTPInitAPICall",DematOptedOutOkayButtonClick:"DematOptedOutOkayButtonClick",DematOptOutSuccessScreenView:"DematOptOutSuccessScreenView",DematOptOutFailureScreenView:"DematOptOutFailureScreenView",DematOptOutOTPBackButtonClick:"DematOptOutOTPBackButtonClick",DematOptOutOTPResendButtonClick:"DematOptOutOTPResendButtonClick",DematOptOutOTPConfirmButtonClick:"DematOptOutOTPConfirmButtonClick",DematOptOutOTPInitAPICallResponse:"DematOptOutOTPInitAPICallResponse",DematOptOutOTPVerifyAPICallResponse:"DematOptOutOTPVerifyAPICallResponse",DematOptOutSuccessScreenDoneButtonClick:"DematOptOutSuccessScreenDoneButtonClick",AboutPrimeClick:"AboutPrimeClick",MfProductPageView:"MfProductPageView",PrimeRecommendationsPopupView:"PrimeRecommendationsPopupView",MFSubscriptionCTAClicked:"MFSubscriptionCTAClicked",AmcInvestNowCTAClicked:"AmcInvestNowCTAClicked",CategoryInvestNowCTAClicked:"CategoryInvestNowCTAClicked",HoldingSummaryPortfolioClick:"HoldingSummaryPortfolioClick",PortfolioAnalysisPeriodSwitch:"PortfolioAnalysisPeriodSwitch",MfPortfolioGraphClick:"MfPortfolioGraphClick",MfPortfolioDistributionExpandClick:"MfPortfolioDistributionExpandClick",ClosePortfolioSubCategoryDetailed:"ClosePortfolioSubCategoryDetailed",CapitalGainsInfoIconGotItClick:"CapitalGainsInfoIconGotItClick",PageView:"PageView",PFDistPropertyClassSwitch:"PFDistPropertyClassSwitch",MfPageView:"MfPageView",StockClick:"StockClick",PFDistPropertyClassClick:"PFDistPropertyClassClick",ClosePortfolioAnalysis:"ClosePortfolioAnalysis",RefreshPageClick:"RefreshPageClick",MfReturnsSwitcher:"MfReturnsSwitcher",MfProductInvestNowClick:"MfProductInvestNowClick",MfOrderValidationFailedPopUp:"MfOrderValidationFailedPopUp",MfOrderValidationTakeActionClick:"MfOrderValidationTakeActionClick"}},327497:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}))})},342566:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var n=a(407178);let r=e=>{let t=(0,n.useRef)(e);return t.current=e,(0,n.useCallback)(function(){for(var e=arguments.length,a=Array(e),n=0;n<e;n++)a[n]=arguments[n];return(0,t.current)(...a)},[])}},347710:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/available-for-pledge",function(){return a(774913)}])},355881:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m,qC:()=>u,qs:()=>p});var n=a(986594);a(407178);var r=a(716969),l=a(7501),i=a(565326),o=a.n(i);let s=o()(()=>Promise.all([a.e(81470),a.e(460)]).then(a.bind(a,700460)),{loadableGenerated:{webpack:()=>[700460]},loading:()=>null}),c=o()(()=>Promise.all([a.e(16528),a.e(59931)]).then(a.bind(a,859931)),{loadableGenerated:{webpack:()=>[859931]},loading:()=>null}),d=o()(()=>a.e(76752).then(a.bind(a,376752)),{loadableGenerated:{webpack:()=>[376752]},loading:()=>null}),u=e=>async t=>{try{let a="req"in t?await (0,r.U)(e)(t):await e(t);if("notFound"in a)return t.res&&(t.res.statusCode=404),{_notFoundPage:!0};if("redirect"in a)return t.res&&(t.res.writeHead(301,{Location:a.redirect.destination}),t.res.end()),{_redirect:!0,_destination:a.redirect.destination};if("props"in a)return{...a.props};return{_error:"Nothing returned from getInitialProps"}}catch(e){return(0,l.Cp)(e),{_error:e.message}}};function m(e){let t=t=>"_notFoundPage"in t?(0,n.jsx)(s,{}):"_error"in t?(0,n.jsx)(c,{}):"_redirect"in t?(0,n.jsx)(d,{to:t._destination}):(0,n.jsx)(e,{...t});return t.getInitialProps=e.getInitialProps,t.disableRouteLoader=e.disableRouteLoader,t.isSEO=e.isSEO,t.headerConfig=e.headerConfig,t}function p(e){let t=t=>(0,n.jsx)(e,{...t});return t.disableRouteLoader=e.disableRouteLoader,t.getInitialProps=()=>new Promise(e=>e({})),t}},376097:e=>{e.exports={container:"createNewWatchList_container__f390k",iconWrapper:"createNewWatchList_iconWrapper__xrUaC",inputContainer:"createNewWatchList_inputContainer__yrHqT",actionIcon:"createNewWatchList_actionIcon__qsGTu",actionIconFade:"createNewWatchList_actionIconFade__TH7WC",inputActionContainer:"createNewWatchList_inputActionContainer__4mQyA",errorContainer:"createNewWatchList_errorContainer__BJGKc"}},376294:(e,t,a)=>{"use strict";a.d(t,{Fe:()=>o,JR:()=>c,Km:()=>p,Vb:()=>m,ad:()=>i,b6:()=>d,de:()=>s,vT:()=>u});var n=a(951402),r=a(270230),l=a(415716);let i=(e,t)=>{let a="/v1/api/presentation/v2/watchlist/".concat((0,n.J)(e),"/detail
1s");return r.SP.get(a,{params:{include_index_fno:!0},signal:t,metadata:{urlTemplate:"/v1/api/presentation/v2/watchlist/{wlId}/details"}})},o=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={include_index_fno:!0};return e&&(t.page_size=8,t.include_holdings=!1),r.SP.get("/v1/api/presentation/v2/watchlist/aggregated",{params:t})},s=()=>r.SP.get("/v1/api/selection/v2/watchlist/all/items_mapping",{params:{include_index_fno:!0}}),c=e=>r.SP.post("/v1/api/selection/v2/watchlist",{watchlistName:e}),d=e=>r.SP.delete("/v1/api/selection/v2/watchlist/".concat(e),{metadata:{urlTemplate:"/v1/api/selection/v2/watchlist/{watchlistId}"}}),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return r.SP.put("/v1/api/selection/v2/watchlist/item",{itemId:e,addToWatchlists:t,removeFromWatchlists:a})},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n={itemId:e,addToWatchlists:t,removeFromWatchlists:a,watchlistItemType:l._f.COMMODITY};return r.SP.put("/v1/api/selection/v2/watchlist/item",n)},p=(e,t,a,l)=>{let i={watchlistId:e,watchlistIdSortingOrderDto:{idScoreMap:t}};return(0,n.a)(a)||(i.watchlistName=a),(0,n.a)(l)||(i.removeItemList=l),r.SP.put("/v1/api/selection/v2/watchlist",i)}},385864:(e,t,a)=>{"use strict";a.d(t,{T:()=>S});var n=a(449204),r=a(407178),l=a(761711),i=a.n(l),o=a(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 s=r.memo(function(e){let t=(0,o.h)(e);return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.createElement("path",{d:"m7 10 5 5 5-5z"}))}),c=r.memo(function(e){let t=(0,o.h)(e);return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...t},r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.createElement("path",{d:"m7 14 5-5 5 5z"}))}),d=(0,r.forwardRef)(function(e,t){var a=e.children,n=e.className,l=e.onScroll,o=i()(n);return r.createElement("tbody",{ref:t,className:o,onScroll:l},a)}),u=function(e){var t=e.children,a=e.className,l=e.style,i=e.width,o=e.textAlign,s=e.colSpan,c=e.rowSpan,d=e.onClick;return r.createElement("td",{onClick:d,colSpan:void 0===s?1:s,rowSpan:void 0===c?1:c,style:(0,n._)((0,n._)({},l),{textAlign:o}),className:void 0===a?"tb10Td":a,width:i},t)},m=function(e){var t=e.children,a=e.className;return r.createElement("tfoot",{className:a},t)},p=function(e){var t=e.children,a=e.className;return r.createElement("thead",{className:void 0===a?"":a},t)},h=function(e){var t=e.children,a=e.className,l=void 0===a?"tb10Th tb10ThText contentSecondary":a,o=e.style,d=e.textAlign,u=void 0===d?"left":d,m=e.width,p=void 0===m?"16%":m,h=e.sortConfig,C=(0,n.b)(e,["children","className","style","textAlign","width","sortConfig"]);if(h){var S=i()(l,{"tb10SelectHeaderCell contentPrimary":null==h?void 0:h.isSelected}),v=(null==h?void 0:h.iconClass)||"",f=i()("pos-rel tb10IconClass",v,{tb10HideIcon:null==h?void 0:h.hideIcon,contentAccent:null==h?void 0:h.isSelected});return r.createElement("th",(0,n._)({onClick:function(e){h&&h.onSortClick&&h.onSortClick(e,!(null==h?void 0:h.ascending))},style:(0,n._)((0,n._)({},o),{textAlign:u,cursor:"pointer",width:p}),className:S},C),t,(null==h?void 0:h.ascending)?r.createElement(c,{className:f}):r.createElement(s,{className:f}))}return S=i()(l),r.createElement("th",(0,n._)({style:(0,n._)((0,n._)({},o),{textAlign:u,width:p}),className:S},C),t)},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,a=e.className,l=e.horzPadding,o=void 0===l?"5%":l,s=e.vertPadding,c=void 0===s?"16px":s,d=e.onClick,u=e.id,m=(0,n.b)(e,["children","className","horzPadding","vertPadding","onClick","id"]),p=i()(void 0===a?"":a),h=r.Children.map(t,function(e,a){return(0,r.isValidElement)(e)?1===r.Children.count(t)?(0,r.cloneElement)(e,{style:(0,n._)({paddingRight:o,paddingLeft:o,paddingTop:c,paddingBottom:c},e.props.style)}):0===a?(0,r.cloneElement)(e,{style:(0,n._)({paddingLeft:o,paddingTop:c,paddingBottom:c},e.props.style)}):a===r.Children.count(t)-1?(0,r.cloneElement)(e,{style:(0,n._)({paddingRight:o,paddingTop:c,paddingBottom:c},e.props.style)}):(0,r.cloneElement)(e,{style:(0,n._)({paddingTop:c,paddingBottom:c},e.props.style)}):e});return r.createElement("tr",(0,n._)({id:u,className:p,onClick:d},m),h)},t}(r.PureComponent),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.a)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,a=e.className,n=e.style,l=i()("tb10Table borderPrimary",void 0===a?"":a);return r.createElement("table",{style:void 0===n?{}:n,className:l},t)},t.Body=d,t.Cell=u,t.Footer=m,t.Header=p,t.HeaderCell=h,t.Row=C,t}(r.Component)},387029:(e,t,a)=>{"use strict";a.d(t,{D1:()=>n.D1,FO:()=>n.FO,L:()=>n.L,Ns:()=>n.Ns,eP:()=>n.eP,rd:()=>n.rd,tu:()=>n.tu,yx:()=>n.yx});var n=a(647700)},405861:(e,t,a)=>{"use strict";a.d(t,{Yp:()=>r,aV:()=>n,wZ:()=>l});let n=(e,t)=>{let{watchListMap:a}=e;return Object.keys(a).some(a=>r(e,t,a))},r=(e,t,a)=>{var n,r,l;let{watchListMap:i}=e;return null!==(l=null===(r=i[a])||void 0===r?void 0:null===(n=r.itemList)||void 0===n?void 0:n.includes(t))&&void 0!==l&&l},l=(e,t)=>
1{let{watchListMap:a}=e;return Object.keys(a).filter(e=>{var n,r;return null===(r=a[e])||void 0===r?void 0:null===(n=r.itemList)||void 0===n?void 0:n.includes(t)})}},407087:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={src:"//assets-netstorage.groww.in/web-assets/billion_groww_desktop/prod/_next/static/media/PledgeListErrorDark.8dec986a.svg",height:133,width:135,blurWidth:0,blurHeight:0}},501867:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(464726),l=n.memo(function(e){let t=(0,r.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 259 121",...t},n.createElement("path",{fill:"#5762FC",d:"M258.933 29.178H.14v.66h258.793z"}),n.createElement("path",{fill:"#5762FC",d:"M65.52 34.88 125.209.79v23.907L88.674 47.09z"}),n.createElement("path",{fill:"#A5ACFC",d:"M196.164 30.467 125.202.79v23.907l48.354 22.246z"}),n.createElement("path",{fill:"#A5ACFC",d:"M65.52 34.88 125.209.79l-12.477 4.635-59.945 34.12z"}),n.createElement("path",{fill:"#121212",d:"m173.372 46.884-48.167-22.189L88.673 47.09l48.735 25.738z"}),n.createElement("path",{fill:"#A5ACFC",d:"M137.493 120.357 65.526 76.891l-.005-42.014 71.967 37.963z"}),n.createElement("path",{fill:"#5762FC",d:"M196.164 30.464 137.487 72.84v47.465l58.622-47.962z"}),n.createElement("path",{fill:"#A5ACFC",d:"m137.487 72.84 58.677-42.376 12.693 12.735-56.985 44.025z"}),n.createElement("path",{fill:"url(#paint0_linear_2906_3495)",d:"M65.534 60.85 129.97 97.91l7.522-25.064-71.97-37.968z"}),n.createElement("path",{fill:"#A5ACFC",d:"m50.974 49.42 70.13 39.86 16.386-16.435-71.97-37.968zM152.396 40.887a.3.3 0 0 1 .039-.198.6.6 0 0 1 .116-.159q.094-.07.202-.12a.35.35 0 0 1 .198-.039.5.5 0 0 1 .396.16c.101.093.17.217.197.353a.3.3 0 0 1-.038.198.6.6 0 0 1-.121.159 1 1 0 0 1-.198.12.35.35 0 0 1-.197.039c-.361-.036-.594-.248-.594-.513M152.396 65.583a.3.3 0 0 1 .039-.198.6.6 0 0 1 .116-.16 1 1 0 0 1 .202-.116.33.33 0 0 1 .198-.042.51.51 0 0 1 .396.159c.1.094.17.218.197.353a.3.3 0 0 1-.038.198.6.6 0 0 1-.121.159 1 1 0 0 1-.198.12.35.35 0 0 1-.197.039c-.361-.035-.594-.233-.594-.513M116.456 48.548l-1.021-.198-.194-1.02-.198 1.02-1.022.198 1.022.198.198 1.021.194-1.02zM140.099 55.585l-1.936-.376-.375-1.935-.375 1.935-1.935.376 1.935.375.375 1.935.375-1.935zM135.808 38.088l-2.767-.534-.534-2.767-.534 2.767-2.767.534 2.767.528.534 2.773.534-2.773zM153.884 71.79l-.757-.144-.144-.753-.145.753-.753.145.753.148.145.753.144-.753zM120.255 33.027a.3.3 0 0 1 .198.039.5.5 0 0 1 .159.12q.076.09.12.198c.032.06.045.13.039.198a.51.51 0 0 1-.159.395.62.62 0 0 1-.354.198.3.3 0 0 1-.198-.038.6.6 0 0 1-.159-.12.8.8 0 0 1-.116-.199.35.35 0 0 1-.039-.197c.035-.372.233-.594.509-.594M123.1 48.659a.75.75 0 0 1 .444.079q.196.088.352.241.162.178.268.396c.07.118.101.257.088.395a.98.98 0 0 1-.356.791 1.47 1.47 0 0 1-.796.395.74.74 0 0 1-.444-.079 1.2 1.2 0 0 1-.353-.24 1.8 1.8 0 0 1-.268-.396.66.66 0 0 1-.088-.396c.01-.312.134-.609.349-.829s.501-.348.804-.357M163.321 50.603c.032.074.063.145.042.198a.6.6 0 0 1-.046.194 1 1 0 0 1-.138.188.35.35 0 0 1-.166.113.5.5 0 0 1-.427 0c-.138-.025-.237-.156-.322-.248-.032-.074-.063-.148-.042-.198a.7.7 0 0 1 .046-.194 1 1 0 0 1 .137-.187.33.33 0 0 1 .167-.113.567.567 0 0 1 .749.247M128.992 61.504c.031.074.063.148.042.198a.6.6 0 0 1-.046.194.8.8 0 0 1-.138.188.33.33 0 0 1-.166.113.5.5 0 0 1-.424 0 .68.68 0 0 1-.325-.251c-.032-.075-.064-.145-.042-.198a.6.6 0 0 1 .049-.195 1 1 0 0 1 .134-.187.36.36 0 0 1 .166-.113.57.57 0 0 1 .75.25M141.77 65.79a.7.7 0 0 1 .096.403q0 .199-.067.386a1.7 1.7 0 0 1-.234.353.58.58 0 0 1-.293.215.87.87 0 0 1-.788-.017c-.262-.067-.456-.354-.619-.537a.7.7 0 0 1-.095-.403q0-.2.067-.385.094-.193.233-.354a.57.57 0 0 1 .297-.215 1.093 1.093 0 0 1 1.403.554M150.663 52.413a.93.93 0 0 1 .192-.613 1.14 1.14 0 0 1 .525-.422c.211-.09.446-.108.669-.05a.9.9 0 0 1 .576.333c.154.161.268.357.332.57a1.6 1.6 0 0 1-.047.664c-.1.203-.246.38-.426.52-.182.127-.4.194-.622.19a1.18 1.18 0 0 1-.811-.38 1.6 1.6 0 0 1-.388-.812M102.33 45.14l-2.064-.395-.396-2.064-.396 2.064-2.06.396 2.06.396.396 2.06.396-2.06z"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_2906_3495",x1:90.751,x2:116.015,y1:82.816,y2:15.704,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#A5ACFC"}),n.createElement("stop",{offset:.478,stopColor:"#5762FC"}))))})},507738:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))})},542359:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}))})},547852:(e,t,a)=>{"use strict";a.d(t,{z:()=>r});var n=a(407178);let r=e=>{let t=(0,n.useRef)(e);return t.current!==e&&(t.current=e),t}},552394:(e,t,a)=>{"use strict";a.d(t,{Dn:()=>h,Ed:()=>C,Rn:()=>S,VG:()=>p});var n=a(569443),r=a.n(n),l=a(547176),i=a(636317),o=a.n(i),s=a(204008),c=a.n(s),d=a(144080),u=a(774104);a(415716);var m=a(893953);function p(e){return Object.keys(e).sort()}function h(e){return e[e.length-1]}async function C(e,t){r().extend(c());let a=await (0,l.gZ)(d.H.STOCKS_SPECIAL_TRADING_SESSION,m.FV);if(!r()(e).startOf("day").isSame(r()(a.date).startOf("day")))return!1;let n=(0,u.LJ)(),[i,o,s]=t.split(":").map(Number),p=r()(e).hour(i).minute(o).second(s);if(!n)return!0;let{startTime:h,endTime:C,date:S}=a,v=r()(S).startOf("day").hour(h.hour).minute(h.minute),f=r()(S).startOf("day").hour(C.hour).minute(C.minute);if(n>=v.valueOf()&&n<=f.valueOf())return!1;let E=p.isBetween(v,f);return E&&(0,u.TG)(),E}function S(e,t,a,n){return function(){var l,i,s;let c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"marketOpenTime",d=a in e,u=null===(l=e[a])||void 0===l?void 0:l[c];r().extend(o());let m=r()(n,"HH:mm:ss").isBefore(r()(u,"HH:mm:ss")),p=d&&m?a:t.find(e=>r()(e).startOf("day").isAfter(r()(a).startOf("day")));return p?(i=p,s=e[p][c],r().tz("".concat(i," ").concat(s),"Asia/Kolkata").format("MMM DD YYYY HH:mm:ss [GMT]Z")):null}}},555131:e=>{e.exports={searchBarInputWrapper:"Search_searchBarInputWrapper__pQ3ud",searchIcon:"Search_searchIcon__dYINR"}},572915:e=>{e.exports={cardContainer:"watchListPopupCard_cardContainer__adt9e",cardHeadline:"watchListPopupCard_cardHeadline__ZmXFA"}},583346:e=>{e.exports={headerRightSide:"Header_headerRightSide___tH7P",marginBottom:"Header_marginBottom__R6Dni"}},590207:(e,t,a)=>{"use strict";a.d(t,{AT:()=>m,Ah:()=>E,BT:()=>S,ER:()=>_,GR:()=>s,Hl:()=>p,Mo:()=>h,QA:()=>f,Ss:()=>A,TC:()=>u,YN:()=>g,Zg:()=>v,an:()=>c,jS:()=>C,wR:()=>d});var n=a(3822),r=a(126479);let l=e=>e.fno,i=(e,t)=>null==t?void 0:t.code,o=(e,t)=>t.growwContractId,s=e=>(0,n.Mz)([l],t=>{let{fnoExploreChartData:a}=t;return a[e]}),c=()=>(0,n.Mz)([l],e=>{let{safeExitData:t}=e;return t}),d=()=>(0,n.Mz)([l],e=>{let{safeExitCardData:t}=e;return t}),u=e=>(0,n.Mz)([l],t=>{let{safeExitCardData:a}=t;return a[e]}),m=()=>(0,n.Mz)([l,i],(e,t)=>{let{contractPrices:a}=e;return null==a?void 0:a[t]}),p=e=>t=>{var a;return null===(a=l(t).contractPrices)||void 0===a?void 0:a[e]},h=()=>(0,n.Mz)([l,o],(e,t)=>{let{contractPrices:a}=e;return a[t]}),C=()=>(0,n.Mz)([l],e=>{let{contractPrices:t}=e;return t}),S=e=>(0,n.Mz)([l],t=>{var a,n;let{basketOrderContractsData:r}=t;return null!==(n=null==r?void 0:null===(a=r[e])||void 0===a?void 0:a.selectedBasketContracts)&&void 0!==n?n:r.DEFAULT.selectedBasketContracts}),v=e=>(0,n.Mz)([l],t=>{var a,n;let{basketOrderContractsData:r}=t;return null===(n=null==r?void 0:null===(a=r[e])||void 0===a?void 0:a.isSameQtyChecked)||void 0===n||n}),f=e=>(0,n.Mz)([l],t=>{var a,n;let{basketOrderContractsData:r}=t;return null!==(n=null==r?void 0:null===(a=r[e])||void 0===a?void 0:a.combinedQtyCounterVal)&&void 0!==n?n:0}),E=e=>(0,n.Mz)([l],t=>{var a,n;let{basketOrderContractsData:r}=t;return null!==(n=null==r?void 0:null===(a=r[e])||void 0===a?void 0:a.contractsData)&&void 0!==n?n:r.DEFAULT.contractsData}),g=()=>(0,n.Mz)([l],e=>{let{lastUsedFnoQty:t}=e;return null!=t?t:{}}),A=e=>(0,n.Mz)([l],t=>{var a,n;
1let{contractExpiries:l}=t,i=null!==(n=null==l?void 0:null===(a=l[e])||void 0===a?void 0:a.nearestExpiry)&&void 0!==n?n:null;return(0,r.Yy)(i)}),_=e=>l(e).contractPrices},593058:e=>{e.exports={tableContainer:"PledgeList_tableContainer__jPjY1",table:"PledgeList_table__elV_N",tableMinHeight:"PledgeList_tableMinHeight__8Fbmg",lastRow:"PledgeList_lastRow__47_0C",paginationWrapper:"PledgeList_paginationWrapper__IpOC_"}},615160:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}))})},615348:e=>{e.exports={tableRow:"TableBody_tableRow__ecVi_"}},619001:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var n=a(986594),r=a(407178),l=a(892751),i=a(615160),o=a(125757),s=a(234900);let c={follow:"ADD TO WATCHLIST",unfollow:"REMOVE FROM WATCHLIST"},d=()=>s.F?"bodySmall":"bodyBase";class u extends r.PureComponent{render(){let{className:e}=this.props;return(0,n.jsx)("div",{className:"bc785Wrapper ".concat(d()," contentPrimary valign-wrapper ").concat(e),children:this.getBreadcrumbUI()})}constructor(...e){super(...e),this.getBreadcrumbUI=()=>{let{content:e,masterText:t}=this.props;return(0,n.jsxs)("div",{className:"flex valign-wrapper contentSecondary",style:{gap:s.F?"8px":"12px",padding:s.F?"8px 0":"0"},children:[null==e?void 0:e.map(e=>(0,n.jsxs)(r.Fragment,{children:[(0,n.jsx)(l.A,{url:e.url,children:(0,n.jsx)("span",{className:"bc785BreadText  cur-po contentSecondary",children:(null==e?void 0:e.text)||(null==e?void 0:e.name)})}),(0,n.jsx)("span",{className:"bc785BreadSpace",children:">"})]},e.url)),(0,n.jsx)("span",{className:"bc785BreadText bc785Last truncate contentSecondary",children:t})]})},this.getWatchlistUI=()=>{let{inWatchList:e}=this.props,t={className:"bc785ShareIcon",size:14};return(0,n.jsxs)("div",{className:"bc785ShareText contentSecondary ".concat(d()),onClick:this.onWatchlistClick,children:[e?(0,n.jsx)(i.A,{...t}):(0,n.jsx)(o.A,{...t}),e?c.unfollow:c.follow]})},this.onWatchlistClick=()=>{let{inWatchList:e,removeFromWatchList:t,addToWatchList:a}=this.props;e?null==t||t():null==a||a()}}}u.defaultProps={showShareBtn:!1,showWatchlistBtn:!1,hrefFb:"",hrefTw:"",hrefWh:"",showFbIcon:!0,fontSize:12},u.defaultProps={showShareBtn:!1,showWatchlistBtn:!1,hrefFb:"",hrefTw:"",hrefWh:"",showFbIcon:!0,fontSize:12};let m=u},626939:(e,t,a)=>{"use strict";a.d(t,{EQ:()=>_,LZ:()=>y,RA:()=>P,Y4:()=>A});var n=a(569443),r=a.n(n),l=a(636317),i=a.n(l),o=a(780355),s=a.n(o),c=a(188570),d=a.n(c),u=a(204008),m=a.n(u),p=a(471165),h=a(238460),C=a(270230),S=a(875598),v=a(681609),f=a(415716),E=a(635662),g=a(552394);async function A(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{let t=await (0,v.getServerTimeAndOffset)(e),{isClientTimeInSync:a,timeOffsetMs:n}=null==t?void 0:t.data;return a?0:n}catch(e){return console.error("Error in getClientTimeOffset",e),0}}async function _(){let{ISTDate:e,ISTTime:t}=(0,p.l)(await A());return{currentDate:e,currentTime:t}}async function P(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{let t;e&&(t={headers:{"Cache-Control":"no-cache"}});let{data:a,status:n}=await C.vO.get("/v1/api/stocks_data/v1/market/market_timing",t);if(200===n&&a)return a;return null}catch(e){return console.error("Error in getStockMarketCalendar",e),Promise.reject(e)}}async function I(e,t,a,n){var l,i;if(r()(e).startOf("day").isAfter(r()((0,g.Dn)(n)).startOf("day"))){let e=await P(!0);return null!==(l=null==e?void 0:e.dateMarketTimeMap)&&void 0!==l?l:a}if(!await (0,g.Ed)(e,t))return a;let o=await P(!0);return null!==(i=null==o?void 0:o.dateMarketTimeMap)&&void 0!==i?i:a}async function y(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{var t;if(!(0,h.N)())return console.error(S.kL.AUTHORIZATION_ERROR),{};let[a,n]=await Promise.all([P(e),_()]);if(!a)return console.error("Error in fetching market calendar"),{};let l=null==a?void 0:a.dateMarketTimeMap,{currentDate:o,currentTime:s}=n,c=(0,g.VG)(l),d=l;e||(d=await I(o,s,l,c));let u=o in d,{marketOpenTime:m=f.Dt.marketOpenTime,marketCloseTime:p=f.Dt.marketCloseTime,preOpenStartTime:C=f.Dt.preOpenStartTime,preOpenEndTime:v=f.Dt.preOpenEndTime}=null!==(t=d[o])&&void 0!==t?t:{};r().extend(i());let A=r()(s,"HH:mm:ss"),y=r()(m,"HH:mm:ss"),T=r()(p,"HH:mm:ss"),w=A.isAfter(y)||A.isSame(y),O=A.isBefore(T),M=(0,g.Rn)(d,c,o,s),R={marketOpenTime:m,marketCloseTime:p,marketPreOpenStartTime:C,marketPreOpenEndTime:v,preMarketOpen:A.isBetween(r()(C,"HH:mm:ss"),r()(v,"HH:mm:ss"),"second","[)"),marketTimeDifferenceInSeconds:(0,E.H)(p,m),createdAt:o};return{isStockMarketOpen:u&&w&&O,isTradingDay:u,nextOpenDateTime:M("marketOpenTime"),nextPreOpenStartDateTime:M("preOpenStartTime"),nextPreOpenEndDateTime:M("preOpenEndTime"),nextCloseDateTime:M("marketCloseTime"),todaysMarketConfig:R}}catch(e){return console.error("Error in Market Calendar Helper",e),Promise.reject(e)}}r().extend(d()),r().extend(s()),r().extend(m())},637270:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2"}))})},639360:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(422346),l=n.memo(function(e){let t=(0,r.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_216)"},n.createElement("path",{fill:"currentColor",d:"M12 14.95q-.2 0-.375-.063a.9.9 0 0 1-.325-.212l-4.6-4.6a.95.95 0 0 1-.275-.7q0-.425.275-.7a.95.95 0 0 1 .7-.275q.425 0 .7.27
15l3.9 3.9 3.9-3.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.7l-4.6 4.6q-.15.15-.325.212a1.1 1.1 0 0 1-.375.063"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_216"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},647700:(e,t,a)=>{"use strict";a.d(t,{Bl:()=>O,D1:()=>k,FO:()=>b,L:()=>x,Ns:()=>R,Ob:()=>D,YW:()=>P,eP:()=>A,j1:()=>V,kt:()=>U,pc:()=>H,q6:()=>G,qg:()=>w,qq:()=>M,rd:()=>W,tu:()=>F,vK:()=>_,x8:()=>B,yx:()=>T,zK:()=>j});var n=a(547176),r=a(951402),l=a(744620),i=a(984991),o=a(238460),s=a(366929),c=a(299168),d=a(144080),u=a(454502),m=a(867595),p=a(45973),h=a(91702),C=a(109763),S=a(134714),v=a(279342),f=a(481966),E=a(119498);a(590207);let{NSE:g}=v.W,A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return n=>{(0,s.C)(n,()=>(0,m.YJ)(e,t),f.zU,t=>{(function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:v.s$.FO_PRICES;N(e,t,n)})(n,e,!1,v.s$.FO_PRICES_VOLUME),n({type:(0,s.V)(f.zU).success,payload:{symbol:e,data:{...t.data,bidQty:t.data.totalBuyQty,offerQty:t.data.totalSellQty}}}),a()},{symbol:e},()=>{a()})}},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};return n=>{(0,s.C)(n,()=>(0,m.YJ)(e,t),f.zU,t=>{n({type:(0,s.V)(f.zU).success,payload:{symbol:e,data:{...t.data,bidQty:t.data.totalBuyQty,offerQty:t.data.totalSellQty}}}),a(l.l8.SUCCESS)},{symbol:e},()=>{a(l.l8.FAILURE)})}},P=e=>t=>t({type:f.Le,payload:e}),I=async e=>{try{let t=await (0,m.Hn)(p.I0.LOSS);e(P(t.data))}catch(e){console.error(e)}},y=async e=>{try{let t=await (0,m.R8)(p.I0.LOSS);e(P(t.data))}catch(e){console.error(e)}},T=()=>async e=>{let t=await (0,n.gZ)(d.H.SAFE_EXIT,!0);if((await (0,n.gZ)(d.H.FNO_SAFE_EXIT_V2,h.fQ)).isEnabled)await (0,C.x8)()?y(e):e(P(h.wf));else{let a=await (0,C.pK)();t&&a?I(e):e(P(h.wf))}},w=e=>t=>t({type:f.m7,payload:e}),O=()=>e=>e(w(E.$r));function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.s$.FO_PRICES,a=arguments.length>2?arguments[2]:void 0;return n=>{a.current=N(n,[e],t)}}let R=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.s$.FO_PRICES,a=arguments.length>2?arguments[2]:void 0;return n=>{a?a.current=N(n,e,t):N(n,e,t)}},N=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.s$.FO_PRICES;return u.A.subscribeToStockSymbol(t,a,(t,a)=>{if(t&&t.livePoint){let n=Date.now(),r=performance.now(),l={symbol:a,data:{tsInMillis:t.livePoint.tsInMillis,receivedAt:n,receivedAtPerfMark:r}},i=!0;t.livePoint.value&&(l.data.value=t.livePoint.value,i=!1),t.livePoint.ltp&&(l.data.ltp=t.livePoint.ltp,i=!1),t.livePoint.bidQty&&(l.data.bidQty=t.livePoint.bidQty,i=!1),t.livePoint.offerQty&&(l.data.offerQty=t.livePoint.offerQty,i=!1),t.livePoint.avgPrice&&(l.data.avgPrice=t.livePoint.avgPrice,i=!1),t.livePoint.volume&&(l.data.volume=t.livePoint.volume,i=!1),t.livePoint.openInterest&&(l.data.openInterest=t.livePoint.openInterest,i=!1),t.livePoint.highTradeRange&&(l.data.highTradeRange=t.livePoint.highTradeRange,i=!1),t.livePoint.lowTradeRange&&(l.data.lowTradeRange=t.livePoint.lowTradeRange,i=!1),i||e({type:(0,s.V)(f.RY).success,payload:l})}})},k=e=>t=>{t({type:f.q,payload:e})},b=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;return a=>{!(e.length<=0)&&(0,s.C)(a,()=>(0,m.jE)(e,t),f.ow,e=>{let{pointsMap:t}=e.data;a({type:(0,s.V)(f.ow).success,payload:{data:t}})})}},L=e=>e.filter(e=>"string"==typeof e&&e.trim().length>0),F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.s$.FO_PRICES,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:()=>{},r=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=arguments.length>5?arguments[5]:void 0;return(o,c)=>{let d=Array.isArray(e)?L(e):[];if(d.length<=0)return n(l.l8.SUCCESS),null;(0,s.C)(o,()=>(0,m.EW)(d,t,i),f.n2,e=>{o({type:(0,s.V)(f.n2).success,payload:e.data}),r&&"desktop"!==l.Eg.MSITE&&N(o,d,a),n(l.l8.SUCCESS)},{},e=>{n(l.l8.FAILURE)})}},x=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return async t=>{let a=await (0,n.gZ)(i.H.TRADING_CONTROLS,!0);if(!((0,o.N)()&&(0,c.D)()&&a))return;let l=null;if(!e&&(l=(0,S.VZ)(),!(0,r.a)(l))){t({type:(0,s.V)(f.CP).success,payload:l});return}(0,s.C)(t,()=>(0,m.M5)(),f.CP,e=>{let a={data:e.data};(0,S.pH)(a),t({type:(0,s.V)(f.CP).success,payload:e})},{},()=>{(0,S.Qn)()})}},D=(e,t)=>(a,n)=>{a({type:f.GJ,payload:{underlyingId:e,data:t}})},U=(e,t)=>(a,n)=>{a({type:f.rK,payload:{underlyingId:e,data:t}})},j=(e,t)=>(a,n)=>{a({type:f.UI,payload:{underlyingId:e,contractId:t}})},B=(e,t,a,n)=>(r,l)=>{r({type:f.LH,payload:{key:e,numberOfLots:t,growwContractId:a,updatedAt:n}})},H=(e,t)=>a=>{a({type:f.kW,payload:{underlyingId:e,isSameQtyChecked:t}})},G=(e,t)=>a=>{a({type:f.HM,payload:{underlyingId:e,combinedQtyCounterVal:t}})},V=(e,t)=>a=>{a({type:f.sZ,payload:{underlyingId:e,data:t}})},W=e=>async t=>{try{let a=await (0,n.gZ)(d.H.FNO_CONTRACT_EXPIRY_TAG,!0);if(!((0,c.D)()&&a))return;let r=await (0,m.DZ)(e),l={};
1r.data.nearestExpiryDtoList.forEach(e=>{l[e.symbol]=e}),t({type:f.AW,payload:{...l}})}catch(e){console.error(e)}}},654307:e=>{e.exports={name:"companyName_name__EYFI0"}},664197:e=>{e.exports={Container:"watchListItems_Container__BzZ6L"}},690856:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={LOADING:"LOADING",FAILED:"FAILED",EMPTY:"EMPTY",CONGRATS:"CONGRATS",NOT_FOUND:"NOT_FOUND",ERROR:"ERROR"}},692674:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(986594),r=a(327497),l=a(542359),i=a(1786),o=a(912805),s=a.n(o);let c=e=>{let{currentPage:t,onPageSelect:a,totalRecords:o,pageSize:c,loading:d=!1,wrapperClass:u=""}=e,m=Math.ceil(o/c),p=Array.from(Array(m).keys()),h="contentAccent backgroundAccentSubtle",C="".concat(s().paginationItem," absolute-center cur-po bodySmallHeavy"),S=e=>{d||t===e||a(e)};return(0,n.jsxs)("div",{className:"valign-wrapper vspace-between ".concat(u),children:[(0,n.jsx)("div",{onClick:()=>{d||1===t||a(t-1)},className:"".concat(s().paginationItem," absolute-center cur-po"),children:(0,n.jsx)(r.A,{})}),(0,n.jsxs)("div",{className:"valign-wrapper",style:{gap:8},children:[(0,n.jsx)("div",{className:"".concat(C," ").concat(1===t?h:""),onClick:()=>S(1),children:1}),t>3&&(0,n.jsx)(l.A,{className:"contentSecondary"}),p&&p.length&&p.map((e,a)=>{if(a>0&&a<m-1&&(t===a+1||t+1===a+1||t-1===a+1))return(0,n.jsx)("div",{className:"".concat(C," ").concat(t===a+1?h:""),onClick:()=>S(a+1),children:e+1},a)}),t<m-2&&(0,n.jsx)(l.A,{className:"contentSecondary"}),m>1&&(0,n.jsx)("div",{className:"".concat(C," ").concat(t===m?h:""),onClick:()=>S(m),children:m})]}),(0,n.jsx)("div",{className:"".concat(s().paginationItem," absolute-center cur-po"),onClick:()=>{d||t===m||a(t+1)},children:(0,n.jsx)(i.A,{})})]})}},716969:(e,t,a)=>{"use strict";a.d(t,{U:()=>s});var n=a(920263),r=a(7501),l=a(574830),i=a(925129),o=a(824577);function s(e){return new Proxy(e,{apply:async(e,t,a)=>{var s;if((0,n.T)())return e.apply(t,a);let[c]=a,{req:d,res:u}=c,m=async function(...t){try{return await e.apply(this,t)}catch(t){throw(0,r.Cp)(t,{mechanism:{handled:!1,type:"auto.function.nextjs.wrapped",data:{function:e.name}}}),t}};if(!d||!u)return m.apply(t,a);{let e=(s={dataFetcherRouteName:c.pathname,requestedRouteName:c.pathname,dataFetchingMethodName:"getInitialProps"},async function(...e){let t=function(e){let t=e.headers||{},a=("string"==typeof t["x-forwarded-host"]?t["x-forwarded-host"]:void 0)||("string"==typeof t.host?t.host:void 0),n=("string"==typeof t["x-forwarded-proto"]?t["x-forwarded-proto"]:void 0)||e.protocol||(e.socket?.encrypted?"https":"http"),r=e.url||"",l=function({url:e,protocol:t,host:a}){return e?.startsWith("http")?e:e&&a?`${t}://${a}${e}`:void 0}({url:r,host:a,protocol:n}),i=e.body||void 0,o=e.cookies;return{url:l,method:e.method,query_string:function(e){if(e)try{let t=new URL(e,"http://s.io").search.slice(1);return t.length?t:void 0}catch{return}}(r),headers:function(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,a])=>{"string"==typeof a?t[e]=a:"number"==typeof a&&(t[e]=String(a))})}catch{}return t}(t),cookies:o,data:i}}(d);(0,l.o5)().setTransactionName(`${s.dataFetchingMethodName} (${s.dataFetcherRouteName})`),(0,l.rm)().setSDKProcessingMetadata({normalizedRequest:t});let a=(0,i.Bk)();a&&"/_error"!==s.requestedRouteName&&(0,i.zU)(a).setAttribute("sentry.route_backfill",s.requestedRouteName);let{"sentry-trace":n,baggage:r}=(0,o.i)();return{sentryTrace:n,baggage:r,data:await m.apply(this,e)}}),{data:n,baggage:r,sentryTrace:u}=await e.apply(t,a)??{};return"object"==typeof n&&null!==n&&(u&&(n._sentryTraceData=u),r&&(n._sentryBaggage=r)),n}}})}},730678:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}))})},732426:(e,t,a)=>{"use strict";a.d(t,{K$:()=>c,LP:()=>d,M5:()=>m,OA:()=>i,PL:()=>C,U9:()=>S,W5:()=>s,aG:()=>r,ct:()=>p,kL:()=>h,mD:()=>u});var n=a(782456);let r={SWP_STOPPED_SUCCESS:"Your SWP order is stopped",STP_STOPPED_SUCCESS:"Your STP order is stopped",WATCHLIST_ADD_SUCCESS:"Scheme added to your watchlist.",WATCHLIST_REMOVE_SUCCESS:"Scheme removed from your watchlist",SIP_REMOVE_SUCCESS:"SIP is successfully removed.",ORDER_CANCELLED_SUCCESS:"Order is successfully cancelled",ALREADY_IN_WL:"Item already present in 
1watchlist"},l={DIGILOCKER:"DIGILOCKER",TRACKPAD_SIGNATURE:"TRACKPAD_SIGNATURE",ESIGN:"ESIGN",ADDRESS_UPLOAD:"ADDRESS_UPLOAD",MOBILE_VERIFICATION:"MOBILE_VERIFICATION",PAN_VERIFICATION:"PAN_VERIFICATION",NOMINEE:"NOMINEE",SELFIE_UPLOAD:"SELFIE_UPLOAD",IPV_UPLOAD:"IPV_UPLOAD",PAN_UPLOAD:"PAN_UPLOAD",OTP:"OTP",EMAIL_INPUT:"EMAIL_INPUT",MOBILE_INPUT:"MOBILE_INPUT"},i={EMPTY_ERROR:"Amount should be more than 0",FLOAT_ERROR:"Amount should be Integer",SIP_NOT_ALLOWED:"This SIP frequency is not available for this fund",EMPTY_PERCENT_ERROR:"Percent should be more than 0",FLOAT_PERCENT_ERROR:"Percent should be Integer",MIN_LUMPSUM_ERROR:"Min One Time Investment:",MAX_LUMPSUM_ERROR:"Max One Time Investment:",MIN_SIP_ERROR:"Min SIP Investment:",MAX_SIP_ERROR:"Max SIP Investment:",MIN_STEP_UP_ERROR:"Min Step up SIP Investment: ₹",MAX_STEP_UP_ERROR:"Max Step up SIP Investment: ₹",MIN_STEP_UP_PERCENT_ERROR:"Min Step up SIP Percent: ",MAX_STEP_UP_PERCENT__ERROR:"Max Step up SIP Amount shouldn't be more than:",EKYC_ERROR:"You can only invest upto ₹50,000",SIP_MULTIPLIER_ERROR:"Please Enter Multiple of ",LUMPSUM_MULTIPLIER_ERROR:"Please Enter Multiple of ",INACTIVE_USER:"Your account has been temporarily freezed due to inactivity.",SIP_CANCELLABLE_REMARK:"Cancellation of this SIP is currently not allowed",CANCELLED_REMARK:"Cancellation is not allowed for inactive SIP",KYC_ERROR_REMARK:"Your KYC verification is in progress. You can place the order once KYC is verified",KRA_ERROR_REMARK:"You cannot invest in any new mutual fund schemes because your KYC verification is incomplete.",NAME_ERROR:"You cannot invest in any new mutual fund schemes because your name on Groww doesn't match with PAN.",DOB_ERROR:"You cannot invest in any new mutual fund schemes because your birth date on Groww doesn't match with PAN.",NAME_DOB_ERROR:"You cannot invest in any new mutual fund schemes because your name and birth date on Groww doesn't match with PAN.",AGE_ERROR:"This fund currently accepts investments from individuals under the age of ",INVESTMENT_NOT_ALLOWED:"Investment not allowed"},o={BANK_SELECTION:"BANK_SELECTION",BRANCH_SELECTION:"BRANCH_SELECTION",ACCOUNT_NUMBER_VERIFICATION:"ACCOUNT_NUMBER_VERIFICATION"},s={[l.TRACKPAD_SIGNATURE]:{TITLE:"Signature verification",SUB_TITLE:"Provide your valid signature for verification"},[l.SELFIE_UPLOAD]:{TITLE:"Your photo for official use"},[l.IPV_UPLOAD]:{TITLE:"Finish KYC with live video"},[l.PAN_UPLOAD]:{TITLE:"Upload PAN card"},[l.PAN_VERIFICATION]:{TITLE:"Verify PAN",SUB_TITLE:"Your PAN details are stored securely with us.",DESCRIPTION:"PAN is compulsory for investing in India"},[l.ESIGN]:{TITLE:"Aadhaar E-Sign",SUB_TITLE:"Your Aadhaar card must be linked to any mobile number to receive and confirm OTP "},[l.DIGILOCKER]:{TITLE:"Digilocker - Documents for KYC",SUB_TITLE:"Your Aadhaar card must be linked to any mobile number to receive and confirm OTP "},[l.OTP]:{TITLE:"Confirm OTP",SUB_TITLE:"Enter the OTP sent to"},[l.MOBILE_VERIFICATION]:{TITLE:"Enter mobile number",SUB_TITLE:"Mobile number is required to invest in India"},[l.EMAIL_INPUT]:{TITLE:"Enter old and new email IDs",SUB_TITLE:"OTP will be sent to the new email id for confirmation"},[l.MOBILE_INPUT]:{TITLE:"Enter old and new mobile number",SUB_TITLE:"An OTP will be sent on the new Mobile number to confirm the update"},[l.ADDRESS_UPLOAD]:{TITLE:"Upload",SUB_TITLE:"Don't have this document for address proof"},ADDRESS_TEXT:{TITLE:"Address details",SUB_TITLE:"Enter your address exactly as shown above in the uploaded document"},[l.NOMINEE]:{TITLE:"Add nominee details",SUB_TITLE:"Nominees are the recipients of your mutual funds and stocks in your absence and a good idea to have."},[o.ACCOUNT_NUMBER_VERIFICATION]:{TITLE:"Verify your bank account",SUB_TITLE:"Investments on Groww can be done using only savings bank accounts"},[o.BANK_SELECTION]:{TITLE:"Choose bank for",SUB_TITLE:"Bank is compulsory for opening an investment account"},[o.BRANCH_SELECTION]:{TITLE:"Bank branch or IFSC",SUB_TITLE:"Enter your IFSC number for"}
1,[n.iaV.SELECT_PROOF_TYPE]:{TITLE:"Upload bank proof",SUB_TITLE:"Bank account must be your own \n and your name should be clearly visible"},[n.iaV.UPLOAD_PROOF]:{TITLE:"Photo of",SUB_TITLE:"Don’t have",ACTION_NODE_TEXT:"Use another document"}},c=[{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"}],d={relation:"Please select relation to the nominee",nomineeName:"Please enter valid nominee name (Use alphabets only please).",sameNomineeAndUserName:"Nominee name can't be same as your name.",nomineeDobInvalidError:"Please enter valid Nominee Date of Birth",nomineeMinorError:"Nominee's age should be greater than 18 years of age",shortNomineeName:"Nominee name should contain at least two characters",shortGuardianName:"Guardian name should contain at least two characters",guardianName:"Please enter valid Guardian name (Use alphabets only please).",guardianMinorError:"Guardian's age should be greater than 18 years of age",guardianDobInvalidError:"Please enter valid Guardian Date of Birth",sameGuardianAndUserName:"Guardian name can't be same as your name.",sameGuardianAndNomineeName:"Guardian name can't be same as nominee name.",selectGuardianRelation:"Please select Guardian's relation to the nominee.",invalidAddress:"Please enter a valid address",invalidPincode:"Please enter a valid pincode",invalidCity:"Please enter a valid city",invalidState:"Please enter a valid state",selectProofType:"Please select proof type",invalidProofNumber:"Please enter a valid proof number",invalidAadharNumber:"Please enter a valid Aadhaar number",invalidPanNumber:"Please enter a valid PAN number",SELECT_RELATION:"Please select relation to the nominee",INVALID_NOMINEE_NAME:"Please enter valid nominee name (Use alphabets only please).",NOMINEE_NAME_SAME_AS_USER:"Nominee name can't be same as your name.",NOMINEE_DOB_INVALID:"Please enter valid Nominee Date of Birth",NOMINEE_MINOR:"Nominee's age should be greater than 18 years of age",SHORT_NOMINEE_NAME:"Nominee name should contain at least two characters",SHORT_GUARDIAN_NAME:"Guardian name should contain at least two characters",INVALID_GUARDIAN_NAME:"Please enter valid Guardian name (Use alphabets only please).",GUARDIAN_MINOR:"Guardian's age should be greater than 18 years of age",GUARDIAN_DOB_INVALID:"Please enter valid Guardian Date of Birth",GUARDIAN_NAME_SAME_AS_USER:"Guardian name can't be same as your name.",GUARDIAN_NAME_SAME_AS_NOMINEE:"Guardian name can't be same as nominee name.",SELECT_GUARDIAN_RELATION:"Please select Guardian's relation to the nominee.",INVALID_ADDRESS:"Please enter a valid address",INVALID_PINCODE:"Please enter a valid pincode",INVALID_CITY:"Please enter a valid city",INVALID_STATE:"Please enter a valid state",INVALID_PROOF_NUMBER:"Please enter a valid proof number",INVALID_AADHAAR_NUMBER:"Please enter a valid Aadhaar number",INVALID_PAN_NUMBER:"Please enter a valid PAN number"},u={MF_PAGE_ERROR:"Ohh!, Some problem has occurred while watching, please try again later",EMPTY_ERROR:"Amount should be more than 0",FLOAT_ERROR:"Amount should be Integer",MIN_LUMPSUM_ERROR:"Min One Time Investment: ₹",MAX_LUMPSUM_ERROR:"Max One Time Investment: ₹",MIN_SIP_ERROR:"Min SIP Investment: ₹",MAX_SIP_ERROR:"Max SIP Investment: ₹",EKYC_ERROR:"You can only invest up to ₹50,000",SIP_MULTIPLIER_ERROR:"Please Enter Multiple of ",LUMPSUM_MULTIPLIER_ERROR:"Please Enter Multiple of ",ACCOUNT_ACTIVATION:"Your account activation is in progress. It will take at least 2 working days. Please contact us at 91088-00604 if you have any questions.",AMOUNT_ZERO_WITHDRAWAL:"You cannot redeem all units since redeemable amount is 0",MIN_WITHDRAWAL:"Amount should be more than minimum withdrawal: ₹",AMOUNT_IS_GREATER:"Amount should be less than invested amount: ₹",PRODUCT_CHECKOUT_FAILED:"Checkout Failed. Please try again",ADD_TO_WATCHLIST:"Yay, Scheme added to your watchlist",REMOVE_FROM_WATCHLIST:"Done, Scheme removed from your watchlist"},m={REDEEM_TITLE:"Redeem not allowed",REDEEM_NOT_ALLOWED:"The fund house has restricted redemption from this fund right now"},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."}
1,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.",GENERAL_ERROR_RELOAD:"Something went wrong, Please reload and try again"},C={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!"},S={accountBlockMsg:"Your account is blocked. Please contact our customer support at [email protected]",inactiveBlockMsg:"Your trading account has been temporarily freezed due to inactivity.",notOnboardedOnNSE:"Your NSE account is under process!",notOnboardedOnBSE:"Your BSE account is under process!",dematClosed:"You cannot buy stocks as your demat account has been closed upon your request."}},733749:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(422346),l=n.memo(function(e){let t=(0,r.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_219)"},n.createElement("path",{fill:"currentColor",d:"m12 10.775-3.9 3.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.6-4.6q.15-.15.325-.213Q11.8 8.4 12 8.4t.375.062a.9.9 0 0 1 .325.213l4.6 4.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-.275z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_219"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},752464:(e,t,a)=>{"use strict";a.d(t,{A:()=>z});var n=a(986594),r=a(407178),l=a(366516),i=a(522714),o=a(238460),s=a(126479),c=a(454532),d=a(342566),u=a(979696),m=a(147134),p=a(782760),h=a(578124),C=a(753601),S=a(690856);let v=()=>(0,n.jsx)(p.A,{children:(0,n.jsxs)("div",{style:{padding:16},children:[(0,n.jsx)(C.A,{defaultScreen:S.A.FAILED,overallHeight:400,imgLazyLoad:!1}),(0,n.jsx)("div",{children:(0,n.jsx)(h.B,{buttonText:"Try Again",variant:"primary",onClick:u.sF})})]})});var f=a(203511);let E=()=>(0,n.jsx)(p.A,{children:(0,n.jsx)("div",{className:"absolute-center",style:{height:470},children:(0,n.jsx)(f.L,{loaderType:f.a.CIRCULAR_BOLT})})});var g=a(761711),A=a.n(g),_=a(199105),P=a(730678),I=a(507738),y=a(487478),T=a(190821),w=a(376097),O=a.n(w);let M=()=>{let[e,t]=(0,r.useState)(!1),a=(0,T.H1)(),{addPopupErrorText:l,addPopupWatchlistName:i,handleAddPopupInputChange:o,handleClickCreate:s,resetInput:c}=(0,T.wO)({inputValidation:a});return(0,n.jsxs)("div",{className:"flex flex-column",children:[(0,n.jsxs)("div",{className:"valign-wrapper cur-po ".concat(O().container),onClick:()=>t(!0),children:[(0,n.jsx)("div",{className:"absolute-center borderPrimary ".concat(O().iconWrapper),children:(0,n.jsx)(_.A,{className:"contentAccent"})}),e?(0,n.jsx)("div",{className:"width100",children:(0,n.jsxs)("div",{className:"valign-wrapper vspace-between ".concat(O().inputActionContainer),children:[(0,n.jsx)("div",{className:O().inputContainer,children:(0,n.jsx)(y.T,{value:i,placeholder:"Enter name",onChange:o})}),(0,n.jsx)("div",{className:A()("absolute-center borderPrimary ".concat(O().actionIcon),{["cur-no ".concat(O().actionIconFade)]:l||!i}),onClick:e=>{e.stopPropagation(),!l&&i&&s()},children:(0,n.jsx)(P.A,{className:"contentAccent"})}),(0,n.jsx)("div",{className:"absolute-center borderPrimary ".concat(O().actionIcon),onClick:e=>{e.stopPropagation(),c(),t(!1)},children:(0,n.jsx)(I.A,{className:"contentAccent"})})]})}):(0,n.jsx)("div",{className:"bodyLargeHeavy contentAccent",children:"Create New Watchlist"})]}),(0,n.jsx)("div",{className:O().errorContainer,children:l&&(0,n.jsx)("span",{className:"bodyBase contentNegative",children:l})})]})};var R=a(144673),N=a.n(R),k=a(405861);let b=e=>{let{tempSelectedWatchLists:t=[]}=e,a=m.k.use.watchListSelectedId(),l=m.k.use.isSelectedItemCommodities(),i=(0,m.k)(e=>(0,k.aV)(e,null!=a?a:"")),o=(0,m.k)(e=>(0,k.wZ)(e,null!=a?a:"")),s=(0,r.useMemo)(()=>t.length>0,[t]);return i?(0,n.jsx)("div",{className:N().container,children:(0,n.jsx)(h.B,{buttonText:"SAVE",isFullWidth:!0,onClick:()=>{let e=t.filter(e=>o.includes(e)),n=t.filter(t=>!e.includes(t));(0,u.WP)({growwContractId:null!=a?a:"",watchListIdsToBeAdded:n,watchListIdsToBeRemoved:e,isCommodities:l}),(0,u.Oy)()},isDisabled:!s}
1)}):null};var L=a(637270),F=a(811276),x=a(16367),D=a.n(x);let U=e=>{let{watchListName:t,watchListStockCount:a,watchlistId:l,onClickWatchList:i,tempSelectedWatchLists:o}=e,s=m.k.use.watchListSelectedId(),c=m.k.use.isSelectedItemCommodities(),d=m.k.use.maxWatchListItemsAllowed(),p=(0,m.k)(e=>(0,k.Yp)(e,null!=s?s:"",l)),h=(0,m.k)(e=>(0,k.aV)(e,null!=s?s:"")),C=(0,r.useMemo)(()=>o.includes(l),[o,l]),S=!p&&a>=d&&!C,v=(0,r.useMemo)(()=>p?C?a-1:a:C?a+1:a,[C,a,p]),f=(0,r.useMemo)(()=>p?!C:C,[p,C]);return(0,n.jsxs)("div",{className:A()("valign-wrapper cur-po",D().WatchListItemContainer,{["".concat(D().Fade," cur-no")]:S}),onClick:()=>{if(!S){if(!h){(0,u.WP)({growwContractId:null!=s?s:"",watchListIdsToBeAdded:l,isCommodities:c}),(0,u.Oy)();return}i(l)}},children:[(0,n.jsx)("div",{className:"absolute-center ".concat(D().IconWrapper," borderPrimary"),children:f?(0,n.jsx)(L.A,{className:"contentAccent"}):(0,n.jsx)(F.A,{className:"contentAccent"})}),(0,n.jsxs)("div",{className:"valign-wrapper vspace-between width100 ".concat(D().WatchListItemInfoContainer),children:[(0,n.jsxs)("div",{className:"bodyLarge contentPrimary",children:[t,S&&(0,n.jsxs)("div",{className:"contentPrimary",children:["Can't add more than ",d," items."]})]}),(0,n.jsx)("div",{className:"bodyLarge contentSecondary",children:"".concat(v," ").concat(v>1?"items":"item")})]})]})};var j=a(664197),B=a.n(j);let H=e=>{let{handleClickWatchList:t,tempSelectedWatchLists:a}=e,r=m.k.use.watchListMap();return(0,n.jsx)("div",{className:"flex flex-column ".concat(B().Container),children:Object.values(r).map(e=>{if(!e)return null;let{itemList:r,watchlistName:l,watchlistId:i}=e;return(0,n.jsx)(U,{tempSelectedWatchLists:a,watchlistId:i,watchListName:l,watchListStockCount:r.length,onClickWatchList:t},i)})})};var G=a(572915),V=a.n(G);let W=()=>{let e=m.k.use.watchListMapLoading(),t=m.k.use.watchListMap(),a=m.k.use.watchListMapFailed(),l=m.k.use.maxWatchListsAllowed(),i=Object.keys(t).length,[s,c]=(0,r.useState)([]),[u]=(0,r.useState)(()=>(0,o.N)()),p=(0,d.A)(e=>{s.includes(e)?c(s.filter(t=>t!==e)):c([...s,e])});return u?e?(0,n.jsx)(E,{}):a&&!e?(0,n.jsx)(v,{}):(0,n.jsxs)("div",{className:V().cardContainer,children:[(0,n.jsx)("div",{className:"bodyXLargeHeavy ".concat(V().cardHeadline),children:"Add Stock to"}),(0,n.jsx)(H,{handleClickWatchList:p,tempSelectedWatchLists:s}),!(i>=l)&&(0,n.jsx)(M,{}),(0,n.jsx)(b,{tempSelectedWatchLists:s})]}):null},z=e=>{let{openPinPopup:t}=e,[a]=(0,r.useState)(()=>(0,o.N)()),p=m.k.use.watchListPopupIsOpen(),h=(0,l.useRouter)(),C=(0,d.A)(()=>{(0,u.Oy)()});return((0,r.useEffect)(()=>{a&&(0,u.sF)()},[a]),(0,r.useEffect)(()=>{p&&!a&&((0,s.sn)(),t?(C(),t()):h.replace(c.bw.LOGIN))},[t,h,p,a,C]),(0,r.useEffect)(()=>(p?document.body.style.overflowY="hidden":document.body.style.overflowY="auto",()=>{document.body.style.overflowY="auto"}),[p]),a&&p)?(0,n.jsx)(i.P,{visible:p,width:420,onClose:C,closeMaskOnClick:!0,closeOnEsc:!0,showCloseButton:!0,children:(0,n.jsx)(W,{})}):null}},752473:e=>{e.exports={minHeightContainer:"PledgeListPage_minHeightContainer__6jjbm"}},753601:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var n=a(986594),r=a(407178),l=a(951402);let i=e=>{let[t,i]=(0,r.useState)(null);return((0,r.useEffect)(()=>{let e=!0;return(async()=>{let t=await Promise.all([a.e(56083),a.e(14606)]).then(a.bind(a,414606));e&&i(t)})(),()=>{e=!1}},[]),(0,l.a)(t))?null:(0,n.jsx)(t.default,{...e})}},760975:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(422346),l=n.memo(function(e){let t=(0,r.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_158)"},n.createElement("path",{fill:"currentColor",d:"M11 18a.97.97 0 0 1-.713-.288A.97.97 0 0 1 10 17q0-.424.287-.712A.97.97 0 0 1 11 16h2q.424 0 .713.288.287.287.287.712 0 .424-.287.712A.97.97 0 0 1 13 18zm-4-5a.97.97 0 0 1-.713-.287A.97.97 0 0 1 6 12q0-.424.287-.713A.97.97 0 0 1 7 11h10q.424 0 .712.287.288.288.288.713 0 .424-.288.713A.97.97 0 0 1 17 13zM4 8a.97.97 0 0 1-.712-.287A.97.97 0 0 1 3 7q0-.424.288-.713A.97.97 0 0 1 4 6h16q.424 0 .712.287Q21 6.576 21 7q0 .424-.288.713A.97.97 0 0 1 20 8z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_1_158"},n.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))})},774913:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>ek});var n=a(986594),r=a(407178),l=a(355881),i=a(234900),o=a(306519),s=a(414889),c=a(454532),d=a(681406),u=a(123146),m=a(681838),p=a(752464),h=a(366516),C=a(951402),S=a(385864),v=a(692674),f=a(655969),E=a(326360);let g="STOCKS",A={page:0,query:void 0,filter:["ETF",g,"MF"],sort:"HAIRCUT",order:E.Jv.ASCENDING,data:{pledgableAssetDtoList:[],totalAssetsCount:0},isLoading:!1,error:!1},_=[{id:"TITLE",displayName:"Stock/ETF/MF",isSortable:!1,width:"50%",style:{textTransform:"none"}},{id:"HAIRCUT",displayName:"Haircut",isSortable:!0,width:"20%",style:{textTransform:"none"}},{id:"MARGIN_RECEIVED",displayName:"Margin received",isSortable:!0,width:"20%",style:{textTransform:"none"}},{id:"WATCHLIST",displayName:"",isSortable:!1,width:"10%",style:{textTransform:"none"}}],P={ETF:"ETFs",STOCKS:"Stocks",MF:"Mutual Funds"},I={ETF:"ETF",STOCKS:"Stock",MF:"Mutual Fund"},y=e=>({page:0,setPage:t=>e({page:t})}),T=e=>({query:A.query,filter:A.filter,sort:A.sort,order:A.order,setQuery:t=>e({query:t}),setFilter:t=>e({filter:t}),setSort:t=>e({sort:t}),setOrder:t=>e({order:t})}),w=(e,t)=>({data:{pledgableAssetDtoList:[],totalAssetsCount:0},isLoading:A.isLoading,error:A.error,setData:t=>e({data:t}),fetchData:async(a,n)=>{let{page:r,query:l,filter:i,sort:o,order:s}=a,c=t(),d=null!=r?r:c.page,m=null!=l?l:c.query,p=null!=i?i:c.filter,h=null!=o?o:c.sort,C=null!=s?s:c.order;n.replace({pathname:n.pathname,query:{page:d,query:m,filter:p,sort:h,order:C}},void 0,{shallow:!0}),e({isLoading:!0,page:d,query:m,filter:p,sort:h,order:C,error:!1});try{let t=await (0,u.q5)({page:d,query:m,filter:p,limit:20,sort:h,order:C});e({data:t.data})}catch(t){console.error("Failed to fetch data",t),e({error:!0})}finally{e({isLoading:!1})}}}),O=(0,f.vt)((e,t)=>({...y(e),...T(e),...w(e,t)})),M=()=>{let e=O(e=>e.sort),t=O(e=>e.order),a=O(e=>e.fetchData),r=O(e=>0===e.data.totalAssetsCount),l=(0,h.useRouter)(),i=(t,n)=>{r||(t===e?a({order:n===E.Jv.ASCENDING?E.Jv.DESCENDING:E.Jv.ASCENDING},l):a({sort:t,order:E.Jv.ASCENDING},l))};return(0,n.jsx)(S.T.Header,{children:(0,n.jsx)(S.T.Row,{cellPadding:16,children:null==_?void 0:_.map(a=>{let{isSortable:l,displayName:o,id:s,width:c,style:d}=null!=a?a:{},u={ascending:t===E.Jv.ASCENDING&&e===s&&!r,onSortClick:()=>i(s,t)};return(0,n.jsx)(S.T.HeaderCell,{id:s,width:c,title:o,textAlign:"left",style:d,...l?{sortConfig:u}:{},children:(0,n.jsx)("span",{children:o})},s)})})})};var R=a(874261),N=a(501867),k=a(709252);let b=()=>{let e={custom:!0,width:275,height:80};return(0,n.jsxs)("div",{className:"flex-column absolute-center center-align pos-abs width100 height100",style:{height:"100%"},children:[(0,n.jsx)("div",{children:(0,n.jsx)(k.A,{lightNode:(0,n.jsx)(R.A,{...e}),darkNode:(0,n.jsx)(N.A,{...e})})}),(0,n.jsx)("div",{style:{marginTop:16},className:"bodySmall contentSecondary",children:"No matching search results found"})]})};var L=a(892751),F=a(109120),x=a(910237),D=a(94976),U=a(583010),j=a(238460),B=a(126479),H=a(729623),G=a(85676),V=a(342566),W=a(979696),z=a(147134),q=a(405861),Y=a(615348),K=a.n(Y);let Q=e=>{let{asset:t}=e,{symbolName:a,haircut:r,marginReceived:l,searchId:i,gsin:o,schemeCode:s,instrumentType:d}=t,u=(0,h.useRouter)(),m=O(e=>e.isLoading),p=(0,z.k)(e=>(0,q.aV)(e,o)),{addSchemeToWatchlist:C,isSchemeWatched:v,removeSchemeFromWatchlist:f}=(0,F.KF)({schemeCode:s||""}),E=()=>"MF"===d?(0,H.TZ)(i):(0,U.M8c)(i),g=(0,V.A)(e=>{e.stopPropagation(),(0,j.N)()?"MF"===d?v?f(s):C(s):(0,W.i$)(o):((0,B.sn)(),u.push(c.bw.LOGIN))});return(0,n.jsxs)(S.T.Row,{className:"".concat(K().tableRow," ").concat(m?"blurEffect1":""),onClick:()=>{u.push(E())},cellPadding:16,children:[(0,n.jsxs)(S.T.Cell,{width:"50%",children:[(0,n.jsx)(L.A,{url:E(),target:"_blank",onClick:e=>{e.stopPropagation()},children:(0,n.jsx)(G.A,{truncate:!0,maxWidth:"90%",text:a,textClass:"bodyBaseHeavy"})}),(0,n.jsx)("div",{className:"bodySmall contentSecondary",children:I[d]})]}),(0,n.jsx)(S.T.Cell,{width:"20%",children:(0,n.jsxs)("span",{className:"contentSecondary bodyBase",children:[r,"%"]})}),(0,n.jsx)(S.T.Cell,{width:"20%",children:(0,n.jsxs)("span",{className:"contentSecondary bodyBase",children:[l,"%"]})}),(0,n.jsx)(S.T.Cell,{width:"10%",children:(0,n.jsx)("div",{className:"cur-po",onClick:g,children:p||v?(0,n.jsx)(x.A,{className:"contentAccent"}):(0,n.jsx)(D.A,{})})})]})},$="pledge_list_shuffle_seed",J=()=>{let e=localStorage.getItem($);if(e)return parseInt(e,10);let t=Math.floor(1e6*Math.random());return localStorage.setItem($,t.toString()),t},X=e=>{let t=1e4*Math.sin(e);return t-Math.floor(t)},Z=(e,t)=>{let a=[...e];for(let e=a.length-1;e>0;e--){let n=Math.floor(X(t+e)*(e+1));[a[e],a[n]]=[a[n],a[e]]}return a},ee=e=>Z((null!=e?e:[]).filter(e=>!!(null==e?void 0:e.symbolName)),J()),et=()=>{let e=O(e=>e.data),t=O(e=>e.isLoading);if((null==e?void 0:e.totalAssetsCount)===0&&!t)return(0,n.jsx)(S.T.Row,{className:"pos-rel",children:(0,n.jsx)(b,{})});let a=ee(null==e?void 0:e.pledgableAssetDtoList);return(0,n.jsx)(n.Fragment,{children:a.map(e=>(0,n.jsx)(Q,{asset:e},"".concat(null==e?void 0:e.symbolIsin,"-").concat((null==e?void 0:e.gsin)||(null==e?void 0:e.sc
1hemeCode))))})};var ea=a(593058),en=a.n(ea);let er=()=>{let e=O(e=>e.error),t=O(e=>e.data),a=O(e=>e.page),l=O(e=>e.fetchData),i=O(e=>e.isLoading),o=(null==t?void 0:t.totalAssetsCount)===0,s=(0,h.useRouter)(),c=(0,r.useRef)();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"".concat(en().tableContainer," borderPrimary"),ref:c,children:[(0,n.jsxs)(S.T,{className:"".concat(en().table," ").concat(o&&en().tableMinHeight),children:[(0,n.jsx)(M,{}),(0,n.jsx)(et,{})]}),!e&&!o&&(0,n.jsx)("div",{className:"".concat(en().lastRow," borderPrimary pos-rel"),children:(0,n.jsx)(v.A,{currentPage:a+1,onPageSelect:e=>{l({page:e-1},s),(0,C.K)()},pageSize:20,totalRecords:null==t?void 0:t.totalAssetsCount,wrapperClass:en().paginationWrapper,loading:i})})]})})};var el=a(659108),ei=a(578124),eo=a(760975),es=a(24654),ec=a(58148),ed=a.n(ec);let eu=()=>{let e=O(e=>e.filter),t=O(e=>e.fetchData),a=(0,h.useRouter)(),[l,i]=(0,r.useState)(!1),o=(0,r.useRef)(null);(0,es.R)(()=>{i(!1)},o);let s=(n,r,l)=>{null==l||l.stopPropagation(),r?t({filter:[...e,n]},a):t({filter:e.filter(e=>e!==n)},a)},c=e.includes(g),d=e.includes("ETF"),u=e.includes("MF"),m=1===e.length&&c,p=1===e.length&&d,C=1===e.length&&u;return(0,n.jsxs)("div",{ref:o,children:[l&&(0,n.jsxs)("div",{style:(()=>{var e,t;let{height:a}=null!==(t=null==o?void 0:null===(e=o.current)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==t?t:{height:0};return{right:332,top:a+12}})(),className:"".concat(ed().filtersPanel," flex-column backgroundPrimary borderPrimary pos-abs"),children:[(0,n.jsx)("div",{className:"".concat(ed().filtersPanelCheckbox," valign-wrapper width100 cur-po"),onClick:e=>{m||s(g,!c,e)},children:(0,n.jsx)(el.C,{value:g,label:"Stocks",handleOnClick:s,isChecked:c,isDisabled:m})}),(0,n.jsx)("div",{className:"".concat(ed().filtersPanelCheckbox," valign-wrapper width100 cur-po"),onClick:e=>{p||s("ETF",!d,e)},children:(0,n.jsx)(el.C,{value:"ETF",label:"ETFs",handleOnClick:s,isChecked:d,isDisabled:p})}),(0,n.jsx)("div",{className:"".concat(ed().filtersPanelCheckbox," valign-wrapper width100 cur-po"),onClick:e=>{C||s("MF",!u,e)},children:(0,n.jsx)(el.C,{value:"MF",label:"Mutual Funds",handleOnClick:s,isChecked:u,isDisabled:C})}),(0,n.jsx)("div",{children:(0,n.jsx)(ei.B,{onClick:()=>{t({filter:A.filter},a)},buttonText:"Reset",variant:"Secondary",isFullWidth:!0,isDisabled:e.length===A.filter.length})})]}),(0,n.jsx)(ei.B,{variant:"Secondary",onClick:()=>{i(!l)},buttonText:e.length===Object.keys(P).length?"All":Object.keys(P).filter(t=>e.includes(t)).map(e=>P[e]).join(", "),leadingIcon:()=>(0,n.jsx)(eo.A,{size:16})})]})};var em=a(445762),ep=a(507738),eh=a(487478),eC=a(555131),eS=a.n(eC);let ev=()=>{let e=O(e=>e.query),t=O(e=>e.setQuery),a=O(e=>e.fetchData),l=(0,h.useRouter)(),i=(0,r.useCallback)((0,C.j)(e=>a({query:e,page:A.page},l),400),[]);return(0,n.jsxs)("div",{className:"".concat(eS().searchBarInputWrapper," valign-wrapper"),children:[(0,n.jsx)(em.A,{className:"".concat(eS().searchIcon," contentSecondary"),size:14}),(0,n.jsx)(eh.T,{variant:"unstyled",placeholder:"Search here...",onChange:e=>{let a=e.target.value;t(a),i(a)},value:e,style:{fontSize:12,fontWeight:400}}),(null==e?void 0:e.length)!==0&&void 0!==e&&(0,n.jsx)(ep.A,{size:14,className:"".concat(eS().searchIcon," cur-po contentSecondary"),onClick:()=>{t(""),a({query:"",page:A.page},l)}})]})};var ef=a(583346),eE=a.n(ef);let eg=()=>{let e=O(e=>e.page),t=O(e=>e.data.totalAssetsCount);return(0,n.jsxs)("div",{className:"".concat(eE().marginBottom," valign-wrapper vspace-between"),children:[(0,n.jsx)("div",{className:"bodySmall contentSecondary",children:(()=>{if(0===t)return;let a=Math.min((e+1)*20,t);return"Showing ".concat(20*e+1," - ").concat(a," of ").concat(t)})()}),(0,n.jsxs)("div",{className:"".concat(eE().headerRightSide," valign-wrapper"),children:[(0,n.jsx)(eu,{}),(0,n.jsx)(ev,{})]})]})},eA=()=>(0,n.jsxs)("div",{className:"flex-column flex",style:{gap:4,position:"sticky",top:16},children:[(0,n.jsx)("div",{className:"displaySmall",children:"Available for Pledge"}),(0,n.jsx)("div",{className:"contentSecondary bodyBase",children:"All stocks, ETFs, Mutual Funds that can be pledged"})]});var e_=a(855046),eP=a(40288),eI=a(407087),ey=a(198995),eT=a(813964),ew=a.n(eT);let eO=()=>{let e=O(e=>e.fetchData),t=(0,h.useRouter)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"web-align",children:[(0,n.jsx)(eA,{}),(0,n.jsxs)("div",{className:"".concat(ew().errorStateContainer," absolute-center flex-column align-center"),children:[(0,n.jsx)(e_.A,{useLazyLoad:!1,src:ey.A,
1srcDark:eI.A,height:132,width:134}),(0,n.jsx)("div",{className:"bodyXLargeHeavy",children:"Something went wrong"}),(0,n.jsx)("div",{className:"bodyBase contentSecondary",children:"Refresh the page or try again in sometime."}),(0,n.jsx)("div",{children:(0,n.jsx)(ei.B,{className:ew().refreshButton,buttonText:"Refresh",size:"Large",onClick:()=>e({},t)})})]})]}),(0,n.jsx)("div",{className:"col l12",children:(0,n.jsx)(eP.A,{showExtendedFooter:!1,isExtendedFooterOpen:!1})})]})};var eM=a(752473),eR=a.n(eM);let eN=e=>{let{initialData:t,initialOrder:a,initialPage:l,initialSort:u,initialFilter:m,initialQuery:h}=e,C=O(e=>e.setData),S=O(e=>e.setPage),v=O(e=>e.setQuery),f=O(e=>e.setFilter),E=O(e=>e.setSort),g=O(e=>e.setOrder),A=O(e=>e.error);(0,r.useEffect)(()=>{C(t),S(l),v(h),f(m),g(a),E(u)},[t,m,a,l,h,u]);let _=[{url:(0,o.kH)(),text:"Home"}];return(0,n.jsxs)(n.Fragment,{children:[A?(0,n.jsx)(eO,{}):(0,n.jsxs)(d.A,{className:eR().minHeightContainer,marginTop:"40px",breadcrumbsContent:(0,n.jsx)(i.A,{_target:"desktop",content:_,masterText:"Available for Pledge"}),children:[(0,n.jsx)(d.A.Action,{children:(0,n.jsx)(eA,{})}),(0,n.jsx)(d.A.Content,{children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eg,{}),(0,n.jsx)(er,{})]})}),(0,n.jsx)(p.A,{})]}),(()=>{let e={title:"Pledge Share Haircut List on Groww - Check Haircut and Margin",desc:"Check out the Pledge Share Haircut List on Groww for up-to-date \n      information on haircut percentages for pledged shares. Stay updated to optimize your trading strategies on Groww",noIndex:!1,routeName:c.bw.PLEDGE_LIST};return(0,s.X0)(e,"https://groww.in")})()]})};eN.getInitialProps=(0,l.qC)(async e=>{let{query:t}=e;try{var a,n,r,l,i;let e=parseInt(null!==(n=t.page)&&void 0!==n?n:A.page),o=(null===(a=t.query)||void 0===a?void 0:a.length)===0?void 0:null!==(r=t.query)&&void 0!==r?r:A.query,s=(e=>e?Array.isArray(e)?e:[e]:A.filter)(t.filter),c=null!==(l=t.sort)&&void 0!==l?l:A.sort,d=null!==(i=t.order)&&void 0!==i?i:A.order;return{props:{initialData:(await (0,u.q5)({page:e,query:o,filter:s,sort:c,order:d,limit:20})).data,initialPage:e,initialQuery:o,initialFilter:s,initialSort:c,initialOrder:d}}}catch(e){if(console.error("Error while fetching pledge list",e),(0,m.F)(e))return{notFound:!0};throw e}});let ek=(0,l.Ay)(eN)},800436:(e,t,a)=>{"use strict";a.d(t,{j:()=>l});var n=a(655969),r=a(767219);let l=(0,n.vt)((0,r.lt)(()=>({})))},811276:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(810059),l=n.memo(function(e){let t=(0,r.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:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}))})},812373:(e,t,a)=>{"use strict";a.d(t,{S:()=>c});var n=a(407178),r=a(761711),l=a.n(r),i=a(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=n.memo(function(e){let t=(0,i.h)(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 2m0 12-4-4h8z"}))}),s=function(e){var t=(0,n.useState)(!1),a=t[0],r=t[1];(0,n.useEffect)(function(){return window.addEventListener("scroll",i),function(){window.removeEventListener("scroll",i)}},[a]);var i=function(){var e,t=window.innerHeight,n=window.pageYOffset,l=(n>(null===(e=document.body)||void 0===e?void 0:e.scrollHeight)-(t+200)||n>2e3)&&!a;a&&n<=200&&r(!1),l&&r(!0)};return n.createElement("div",{className:l()("scroll11",{scroll11FadeIn:a,scroll11FadeOut:!a}),style:e.style,onClick:function(){window.scroll({top:0,behavior:"smooth"})}},n.createElement(o,{size:52,className:"cur-po scroll11Img"}))};s.defaultProps={style:{}};var c=n.memo(s)},813964:e=>{e.exports={refreshButton:"ErrorState_refreshButton__p0FoM",errorStateContainer:"ErrorState_errorStateContainer__93v3r"}},821465:(e,t,a)=>{"use strict";a.d(t,{$S:()=>y,NO:()=>I,Q5:()=>g,Rx:()=>h,S0:()=>p,Sx:()=>A,XM:()=>d,d0:()=>u,jf:()=>f,lw:()=>P,nY:()=>_,q9:()=>s,qW:()=>c,r3:()=>E,rz:()=>m,u4:()=>C,wR:()=>v,zV:()=>S});var n=a(123839),r=a(782456),l=a(926595),i=a(840497),o=a(115462);function s(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t){t({type:i.lx.GET_PENDING_ORDERS_V2,promise:(0,n.v_)(),meta:{isSecondCall:e}})}}function c(e){return function(t){t({type:i.lx.CLEAR_TIMESTAMP_CACHE_KEY,payload:{data:e}})}}function d(e){return function(t){t({type:i.EB.GET_USER_HOLDING_BY_SCHEME_CODE,promise:(0,n.xt)(e),meta:{schemeCode:e}})}}function u(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return async function(o,s){let c=(0,l.n)(s(),r.Pyp.DASHBOARD_API);(e||c)&&o({type:i.lx.GET_MF_DASHBOARD_TABLE_DATA,promise:(0,n.VG)(a),meta:{isSecondCall:t}})}}function m(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t){t({type:i.lx.GET_EXTERNAL_FUNDS_TRACK_STATUS,promise:(0,n.Wx)(),meta:{isSecondCall:e}})}}function p(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(a){a({type:i.lx.GET_SYSTEMATIC_ORDERS_STATS,promise:(0,n.e2)(e),meta:{isSecondCall:t}})}}function h(e){return function(t){t({type:i.rY.SORT_MF_SCHEMES,payload:{data:e}})}}function C(e,t){return function(a){a({type:i.Ng.UPDATE_RIGHT_SIDE_ACTION,payload:{data:{action:e,selectedScheme:t}}})}}function S(e){return function(t){t({type:i.Ng.UPDATE_PAY_NOW_ACTION,payload:{data:{action:e}}})}}function v(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){t({type:i.Ng.TOGGLE_DELETE_POPUP_STATE,payload:{data:e}})}}function f(e){return function(t){t({type:i.Ng.SET_SELECTED_XIRR_TYPE,payload:{data:e}})}}let E=e=>t=>t({type:i.aj.SET_MF_ALL_SOURCE_SCHEME,payload:{data:e}}),g=e=>t=>t({type:i.aj.SET_MF_ALL_DEST_SCHEME,payload:{data:e}}),A=e=>t=>t({type:i.aj.SET_MF_SWITCH_SOURCE_SCHEME,payload:{data:e}}),_=e=>t=>t({type:i.aj.SET_MF_SWITCH_DEST_SCHEME,payload:{data:e}}),P=e=>t=>t({type:i.aj.SET_SCHEME_REDEMPTION_DETAILS,payload:{data:e}}),I=e=>t=>t({type:i.aj.SET_MF_SWITCH_DETAIL,payload:{data:e}}),y=e=>t=>{let a=e||o.ue.switchSchemeInfo;return t({type:i.aj.RESET_MF_SWITCH_SCHEME,payload:{data:a}})}},874261:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(407178),r=a(464726),l=n.memo(function(e){let t=(0,r.C)(e);return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 260 121",...t},n.createElement("path",{fill:"#9ED2FF",d:"M259.584 29.288H.79v.66h258.794z"}),n.createElement("path",{fill:"#9DD1FF",d:"M66.172 34.99 125.86.9v23.907L89.325 47.2z"}),n.createElement("path",{fill:"#DCF1FF",d:"M196.815 30.577 125.854.9v23.907l48.354 22.246z"}),n.createElement("path",{fill:"#DCF1FF",d:"M66.172 34.99 125.859.9l-12.477 4.635-59.945 34.12z"}),n.createElement("path",{fill:"#1E2A7D",d:"m174.023 46.994-48.167-22.189L89.324 47.2l48.735 25.738z"}),n.createElement("path",{fill:"#DCF1FF",d:"M138.145 120.467 66.177 77.001l-.005-42.014 71.967 37.963z"}),n.createElement("path",{fill:"#9DD1FF",d:"m196.815 30.574-58.676 42.375v47.466l58.621-47.962z"}),n.createElement("path",{fill:"#DCF1FF",d:"m138.139 72.95 58.676-42.376 12.693 12.734-56.985 44.026z"}),n.createElement("path",{fill:"url(#paint0_linear_2903_243)",d:"M66.186 60.96 130.62 98.02l7.521-25.064-71.97-37.968z"}),n.createElement("path",{fill:"#fff",d:"m51.625 49.53 70.131 39.86 16.385-16.435-71.97-37.968zM149.849 40.784a.3.3 0 0 1 .039-.198.6.6 0 0 1 .117-.16q.094-.07.201-.12a.36.36 0 0 1 .198-.038.5.5 0 0 1 .396.159c.101.094.17.217.198.353a.3.3 0 0 1-.039.198.6.6 0 0 1-.12.16 1 1 0 0 1-.198.12.36.36 0 0 1-.198.038c-.361-.035-.594-.247-.594-.512M143.394 49.284a.3.3 0 0 1 .039-.198.6.6 0 0 1 .116-.159 1 1 0 0 1 .202-.116.33.33 0 0 1 .198-.043.52.52 0 0 1 .396.16c.101.094.17.217.197.353a.3.3 0 0 1-.038.197.6.6 0 0 1-.121.16.9.9 0 0 1-.197.12.36.36 0 0 1-.198.039c-.361-.036-.594-.234-.594-.513M113.909 48.445l-1.021-.198-.195-1.021-.198 1.02-1.021.199 1.021.198.198 1.021.195-1.021zM137.552 55.48l-1.936-.374-.375-1.936-.375 1.935-1.935.376 1.935.375.375 1.935.375-1.935zM133.261 37.984l-2.767-.534-.534-2.767-.534 2.767-2.767.534 2.767.528.534 2.773.534-2.773zM159.714 46.03l-.756-.144-.145-.753-.145.753-.753.145.753.148.145.753.145-.753zM117.707 32.923a.3.3 0 0 1 .198.04q.092.041.159.12.076.088.12.197c.032.061.045.13.039.198a.5.5 0 0 1-.159.396.62.62 0 0 1-.354.198.3.3 0 0 1-.198-.039.6.6 0 0 1-.159-.12.8.8 0 0 1-.116-.198.35.35 0 0 1-.039-.198c.035-.371.233-.594.509-.594M120.552 48.555a.75.75 0 0 1 .445.08q.196.088.352.24.162.178.268.396c.07.119.1.257.088.396a1 1 0 0 1-.086.44.95.95 0 0 1-.27.35c-.221.213-.499.35-.797.396a.74.74 0 0 1-.444-.08 1.1 1.1 0 0 1-.352-.24 1.8 1.8 0 0 1-.268-.396.66.66 0 0 1-.088-.395c.009-.312.134-.61.348-.83a1.17 1.17 0 0 1 .804-.357M169.254 48.078c.032.074.064.145.042.198a.6.6 0 0 1-.046.194 1 1 0 0 1-.137.188.36.36 0 0 1-.16
17.113.5.5 0 0 1-.427 0c-.138-.025-.237-.156-.322-.248-.032-.074-.063-.148-.042-.197a.7.7 0 0 1 .046-.195 1 1 0 0 1 .138-.187.33.33 0 0 1 .166-.113.567.567 0 0 1 .749.247M126.445 61.4c.032.075.063.149.042.198a.6.6 0 0 1-.046.195.8.8 0 0 1-.138.187.33.33 0 0 1-.166.113.5.5 0 0 1-.424 0 .7.7 0 0 1-.325-.25c-.032-.075-.063-.146-.042-.199a.6.6 0 0 1 .049-.194 1 1 0 0 1 .134-.187.36.36 0 0 1 .167-.113.57.57 0 0 1 .749.25M139.224 65.687a.7.7 0 0 1 .095.403q0 .198-.067.385a1.7 1.7 0 0 1-.233.353.58.58 0 0 1-.293.216.88.88 0 0 1-.788-.018c-.262-.067-.456-.353-.619-.537a.7.7 0 0 1-.095-.403 1.1 1.1 0 0 1 .067-.385q.093-.191.233-.353a.57.57 0 0 1 .297-.216 1.09 1.09 0 0 1 1.403.555M155.605 53.844a.93.93 0 0 1 .192-.613 1.14 1.14 0 0 1 .525-.422c.211-.09.446-.108.669-.05a.9.9 0 0 1 .576.333c.154.162.268.357.332.57a1.6 1.6 0 0 1-.047.664c-.1.203-.246.38-.426.52-.182.127-.4.194-.623.19a1.18 1.18 0 0 1-.81-.38 1.6 1.6 0 0 1-.388-.812M102.093 47.26l-2.063-.395-.396-2.064-.396 2.064-2.06.396 2.06.396.396 2.06.396-2.06z"}),n.createElement("defs",null,n.createElement("linearGradient",{id:"paint0_linear_2903_243",x1:90.175,x2:116.666,y1:89.308,y2:15.814,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#DCF1FF"}),n.createElement("stop",{offset:.3,stopColor:"#9DD1FF"}))))})},912805:e=>{e.exports={paginationItem:"pagination_paginationItem__sYyKw"}},937029:(e,t,a)=>{"use strict";a.d(t,{$J:()=>n.$J,Fx:()=>n.Fx,It:()=>n.It,J2:()=>n.J2,Jn:()=>n.Jn,Ko:()=>n.Ko,Oq:()=>n.Oq,Os:()=>n.Os,Oy:()=>n.Oy,Zv:()=>n.Zv,_n:()=>n._n,cI:()=>n.cI,f6:()=>n.f6,fO:()=>n.fO,iS:()=>n.iS,lM:()=>n.lM,mN:()=>n.mN,rQ:()=>n.rQ,zd:()=>n.zd,zw:()=>n.zw});var n=a(867595)},979696:(e,t,a)=>{"use strict";a.d(t,{Ld:()=>E,Oy:()=>f,WP:()=>p,c0:()=>C,i$:()=>v,sF:()=>m,xK:()=>h,xq:()=>S});var n=a(132978),r=a(951402),l=a(325988),i=a(376294),o=a(531064),s=a(126945),c=a(415716),d=a(147134);let u=e=>{(0,n.s)(s.A.Dev,o.A.WLFailedCase,{msg:e}),l.t.error({description:e})},m=async()=>{if((0,r.a)(d.p.getState().watchListMap))try{d.p.setState({watchListMapLoading:!0});let{data:e}=await (0,i.de)(),{watchlistIdItemsMapping:t,maxWatchlistItemSize:a,maxWatchlistSize:n}=e;d.p.setState({watchListMap:{...t},maxWatchListItemsAllowed:a,maxWatchListsAllowed:n,watchListMapFailed:!1,watchListMapLoading:!1})}catch(e){d.p.setState({watchListMapFailed:!0,watchListMapLoading:!1}),console.error(e)}},p=async e=>{let{growwContractId:t,onSuccess:a,watchListIdsToBeAdded:l,watchListIdsToBeRemoved:m,isCommodities:p=!1}=e,h=[],C=[];if(l&&(h=Array.isArray(l)?l:[l]),m&&(C=Array.isArray(m)?m:[m]),!((0,r.a)(h)&&(0,r.a)(C))&&t)try{p?await (0,i.Vb)(t,h,C):await (0,i.vT)(t,h,C),d.p.setState(e=>{let{watchListMap:a}=e;return h.forEach(e=>{var n,r;null===(r=a[e])||void 0===r||null===(n=r.itemList)||void 0===n||n.push(t)}),C.forEach(e=>{var n;a&&a[e]&&(null===(n=a[e])||void 0===n?void 0:n.itemList)&&(a[e].itemList=a[e].itemList.filter(e=>e!==t))}),{watchListMap:a,watchListSelectedId:null}}),null==a||a();let e={growwContractId:t,type:h.length&&C.length?"Both":h.length?"Added":"Removed"};(0,n.s)(s.A.Stocks,o.A.WlAddOrRemove,e)}catch(n){console.error(n);let e=0===h.length,t=0===C.length,a="";e&&t&&(a=c.$c.GENERAL_FAIL),e&&!t&&(a=c.$c.REMOVE_FROM_WL_FAIL),!e&&t&&(a=c.$c.ADD_TO_WL_FAIL),u(a)}},h=async(e,t,a)=>{try{let{data:a}=await (0,i.JR)(e),{watchlistId:r=""}=a;d.p.setState(t=>({watchListMap:{...t.watchListMap,[r]:{watchlistId:r,watchlistName:e,itemList:[]}}})),null==t||t(a),(0,n.s)(s.A.Stocks,o.A.WLCreate)}catch(t){var r,l,m,p;let e=null!==(p=null==t?void 0:null===(m=t.response)||void 0===m?void 0:null===(l=m.data)||void 0===l?void 0:null===(r=l.errorMessage)||void 0===r?void 0:r.message)&&void 0!==p?p:c.$c.ADD_NEW_WL_FAIL;u(e),null==a||a(e)}},C=async(e,t,a)=>{try{await (0,i.Km)(e,{},t),d.p.setState(a=>{let{watchListMap:n}=a;return n[e]&&(n[e]={...n[e],watchlistName:t}),{watchListMap:n}}),null==a||a()}catch(e){console.error(e),u(c.$c.RENAME_FAIL)}},S=async(e,t)=>{try{await (0,i.b6)(e),d.p.setState(t=>{let{watchListMap:a}=t;return delete a[e],{watchListMap:a}}),null==t||t()}catch(e){console.error(e),u(c.$c.DELETE_FAIL)}},v=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];d.p.setState({watchListPopupIsOpen:!0,watchListSelectedId:e,isSelectedItemCommodities:t})},f=()=>{d.p.setState({watchListPopupIsOpen:!1,watchListSelectedId:null,isSelectedItemCommodities:!1})},E=async e=>{let{contractIds:t,watchlistId:a,onSuccess:n,onFailure:o,isCommodities:s=!1}=e;if((0,r.a)(t)||!a)return;
1let m=s?i.Vb:i.vT,p=t.map(e=>m(e,[a])),h=await Promise.allSettled(p),C=h.every(e=>"rejected"===e.status),S=h.every(e=>"fulfilled"===e.status);if(h.forEach(e=>{"fulfilled"===e.status&&d.p.setState(t=>{var n,r,l,i;let{watchListMap:o}=t;return null===(i=o[a])||void 0===i||null===(l=i.itemList)||void 0===l||l.push(null===(r=e.value)||void 0===r?void 0:null===(n=r.data)||void 0===n?void 0:n.itemId),{watchListMap:o}})}),C){u(c.$c.MULTIPLE_ADD_TO_FAIL),null==o||o();return}null==n||n(),l.t.success({description:S||C?c.$c.STOCKS_ADDED_TO_WL:c.$c.PARTIAL_ADD_TO_WL_SUCCESS})}}},e=>{var t=t=>e(e.s=t);e.O(0,[75780,11687,34384,63911,15716,81609,67595,16248,408,72762,40288,57264,56944,82712,81193,81406,90821,9120,90636,46593,38792],()=>t(347710)),_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.