"use strict";(self.webpackChunksp_seller_dashboard_client=self.webpackChunksp_seller_dashboard_client||[]).push([[8586],{10966:(e,t,n)=>{n.r(t),n.d(t,{default:()=>T});var i=n(61240),r=n.n(i),a=n(11393),o=n.n(a),l=n(82492),s=n.n(l),c=n(86226),u=n.n(c),d=n(41609),p=n.n(d),h=n(43578),m=n(84486),g=n.n(m),f=[204,205];function v(e,t){return function(e){var t=!1;return u()(f).call(f,n=>{n===e.status&&(t=!0)}),t}(e)||t.skip?function(e,t){var n={status:e.status,ok:e.ok};return t&&(n.response=e),n}(e,t.skip):e[t.type||"json"]().then(t=>({status:e.status,ok:e.ok,response:t}))}function y(e){var t=h.default.getConfig("sellerConfig")||{},{sellerId:n}=t;return!!t.sellerIdQuery&&(p()(e)?e={sellerId:n}:e.sellerId=n),p()(e)?"":function(e){var t=[],n=[];return g()(e,(e,n)=>{var i;t.push(o()(i="".concat(encodeURIComponent(n),"=")).call(i,encodeURIComponent(e)))}),t.length&&n.push("?",t.join("&")),n.join("")}(e)}var _=n(85569),C=n.n(_),S=n(71280);const T={get:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=y(t),l=s()({},{credentials:"same-origin"},n);return new(r())((t,n)=>{var r;fetch(o()(r="".concat(e)).call(r,a),l).then(e=>v(e,i)).then(e=>e.ok?t(e.response):n(e.response)).catch(e=>{n(new Error(e.message))})})},postJson:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=y(arguments.length>2?arguments[2]:void 0),l=s()({},{credentials:"same-origin",method:"POST",headers:{"Content-Type":"application/json","FK-CSRF-TOKEN":(0,S.readCSRFToken)()},body:C()(t)},n);return new(r())((t,n)=>{var r;fetch(o()(r="".concat(e)).call(r,a),l).then(e=>v(e,i)).then(e=>{e.ok&&e.response?t(e.response):e.ok?t():n(e.response)}).catch(e=>{n(new Error(e.message))})})},postFormData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=y(arguments.length>2?arguments[2]:void 0),l=s()({},{credentials:"same-origin",method:"POST",headers:{Accept:"application/json","FK-CSRF-TOKEN":(0,S.readCSRFToken)()},body:t},n);return new(r())((t,n)=>{var r;fetch(o()(r="".concat(e)).call(r,a),l).then(e=>v(e,i)).then(e=>{e.ok&&e.response?t(e.response):e.ok?t():n(e.response)}).catch(e=>{n(new Error(e.message))})})},deleteJson:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=y(arguments.length>2?arguments[2]:void 0),l=s()({},{credentials:"same-origin",method:"DELETE",headers:{"Content-Type":"application/json","FK-CSRF-TOKEN":(0,S.readCSRFToken)()},body:C()(t)},n);return new(r())((t,n)=>{var r;fetch(o()(r="".concat(e)).call(r,a),l).then(e=>v(e,i)).then(e=>e.ok?t(e.response):n(e.response)).catch(e=>{n(new Error(e.message))})})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=y(arguments.length>2?arguments[2]:void 0),l=s()({},{credentials:"same-origin",method:"PUT",headers:{"Content-Type":"application/json","FK-CSRF-TOKEN":(0,S.readCSRFToken)()},body:C()(t)},n);return new(r())((t,n)=>{var r;fetch(o()(r="".concat(e)).call(r,a),l).then(e=>v(e,i)).then(e=>{e.ok&&e.response?t(e.response):e.ok?t():n(e.response)}).catch(e=>{n(new Error(e.message))})})}}},12151:(e,t,n)=>{n.d(t,{A:()=>a});n(72443),n(56255);var i=n(61240),r=n.n(i);const a={getPromise:function(e){return new(r())(e)},all:function(){return r().all.apply(r(),arguments)},race:function(){return r().race.apply(r(),arguments)},reject:function(){return r().reject.apply(r(),arguments)},resolve:function(){return r().resolve.apply(r(),arguments)},allSettled:function(){return r().allSettled.apply(r(),arguments)}}},12408:(e,t,n)=>{n.d(t,{A:()=>we});var i=n(97857),r=n(18979),a=n.n(r),o=n(36586),l=n.n(o),s=n(11393),c=n.n(s),u=n(71426),d=n.n(u),p=n(96319),h=n.n(p),m=n(14069),g=n.n(m),f=n(48079),v=n.n(f),y=n(73363),_=n.n(y),C=n(26327),S=n.n(C),T=n(64007),b=n.n(T),E=n(86247),w=n.n(E),I=n(6707),A=n.n(I),P=n(86226),N=n.n(P),O=n(14166),D=n.n(O),k=n(31721),R=n.n(k),x=n(15413),B=n.n(x),M=n(44927),L=n.n(M),U=n(27124),F=n.n(U),G=n(11265),j=n.n(G),V=n(66615),H=n.n(V),W=n(43981),Y=n.n(W),K=n(49763),$=n.n(K),J=n(85569),q=n.n(J),z=n(50697),Q=n.n(z),X=n(26100),Z=n.n(X),ee=n(78928),te=n.n(ee),ne=n(36751),ie=n.n(ne),re=n(25110),ae=n.n(re),oe=n(53930),le=n.n(oe),se=n(96486),ce=n.n(se),ue=n(12151),de=n(30381),pe=n.n(de),he=n(90371),me=n.n(he),ge=n(73535),fe=n(19755),ve=n.n(fe),ye=n(19755);function _e(e,t){var n=Q()(e);if(Z()){var i=Z()(e);t&&(i=h()(i).call(i,function(t){return te()(e,t).enumerable})),n.push.apply(n,i)}return n}function Ce(e){for(var t=1;tF()(String.prototype)?F()(t).call(t,e):new RegExp("".concat(e,"$")).test(t),stripHtmlTags(e){var t;return e?(t=document.createElement("div").innerHTML=e).textContent||t.innerText||e.replace(/(<([^>]+)>)/gi,""):null},clearSlashes:e=>j()(ce()).call(ce(),e,"/"),isObject:e=>"object"==typeof e,isArray:e=>ce().isArray(e),isNumeric:e=>!H()(e)&&e-Y()(e)+1>=0,isNumber(){throw new Error("notImplementedException")},isString:e=>"string"==typeof e||e instanceof String,isFunction:e=>"function"==typeof e,isValidUrl:e=>/^(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+)?(?::\d{1,5})?(?:[/?#]\S*)?$/i.test(e),validateUrl:e=>e.match(/^(https?|ftp):\/\/(-\.)?([^\s\/?\.#-]+\.?)+(\/[^\s]*)?$/i),loadScript(e,t){var n,i;return ue.A.getPromise((r,a)=>{(n=document.createElement("script")).type="text/javascript",n.async=t||!1,n.src=e,n.onload=n.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"loaded"!==this.readyState||r()},n.onerror=function(){a()},(i=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,i)})},scrollTo(e,t){var n=ye(e).offset();me().getDomNode("#content-container").animate({scrollTop:n.top-t.paddingTop},t.duration,t.onComplete)},intersection:ce().intersection,includesState(e,t){var n=!1;return t&&e?(L()(utils).call(utils,e,t)&&("."!==t[e.length]&&void 0!==t[e.length]||(n=!0)),n):n},isVisibleInContainer(e,t,n){var i=!1;t=t||me().getDomNode("body");var r=e.getBoundingClientRect(),a=t.getBoundingClientRect();return(n=n||{top:!0,bottom:!0}).top&&(i=r.top>=a.top),n.bottom&&(i=r.bottom<=a.bottom),i},capitalize(e){if(e){for(var t=e.toLowerCase(),n=t.split("_"),i="",r=b()(t).call(t,"_")>-1,a=0;a191&&i<224?(r=e.charCodeAt(n+1),t+=String.fromCharCode((31&i)<<6|63&r),n+=2):(r=e.charCodeAt(n+1),a=e.charCodeAt(n+2),t+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&a),n+=3);return t},parseShortIndianNumeric:be,parseIndianNumeric:Ee,formatMetricUnit:(e,t)=>"number"!=typeof e?"Parse Error":t?be(Math.round(e)):Ee(Math.round(e)),formatMetricCurrency:(e,t)=>"number"!=typeof e?"Parse Error":t?be(Math.round(e)):Ee(Math.round(e)),formatMetricRating:e=>"number"!=typeof e?"Parse Error":e.toFixed(1),formatMetricValues:e=>"number"!=typeof e?"Parse Error":e.toFixed(2),parseCustomIndianNumeric:e=>"number"!=typeof e?"Parse Error":((e+="").length<6?Ee(l()(e,10)):be(l()(e,10)),e.length<6?Ee(l()(e)):be(l()(e))),getUserNameAndType(e){var t=new RegExp(/^\d{10}$/);if(b()(e).call(e,"/")>=0){var n=e.split("/");return e=n[0],{name:n[1],displayName:n[0],isOnBehalf:!0,type:"email"}}return b()(e).call(e,"@")>=0?{name:e,type:"email"}:t.test(e)?{name:e,type:"mobileNumber"}:{name:e,type:"displayName"}},swapArrayItems:(e,t,n)=>{var i=[...e],r=i[t];return i[t]=i[n],i[n]=r,i},swapMapItems:(e,t,n)=>{var i=Ce({},e);return Ce(Ce({},i),{},{[t]:e[n],[n]:e[t]})},isDomain2gud(){var e;return b()(e=window.location.href).call(e,"2gud.com")>-1},setMetaTagsSEO(e,t,n,i,r,a){var o,l,s,u,p=document.getElementsByTagName("meta"),h=d()(o=$()(p)).call(o,e=>"og_title"===e.name),m=d()(l=$()(p)).call(l,e=>"Description"===e.name),g=d()(s=$()(p)).call(s,e=>"Keywords"===e.name);if(t)document.title=t;else if(""!==e){var f;document.title=c()(f="".concat(e," | ")).call(f,t)}else document.title=t;if(h)h.content=e;else{var y=document.createElement("meta");y.setAttribute("name","og_title"),y.setAttribute("property","og:title"),y.content=e,document.getElementsByTagName("head")[0].appendChild(y)}m.content=n,g.content=i;var _=document.getElementsByTagName("link");if(!d()(u=$()(_)).call(u,e=>"canonical"===e.rel)){var C=document.createElement("link");C.setAttribute("rel","canonical"),C.setAttribute("href",r),document.getElementsByTagName("head")[0].appendChild(C)}a&&(null==a||v()(a).call(a,e=>{var t=document.createElement("script");t.type="application/ld+json",t.textContent=q()(e),document.head.appendChild(t)}))},isSellerLoggedin:()=>!!ge.A.getCookie("is_login"),removeCountryPrefixFromNumber(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"+91"===e.substr(0,3)?e.substr(3):e},faqScriptTagSEO(e){var t,n=document.getElementsByTagName("script");if(!d()(t=$()(n)).call(t,e=>"application/ld+json"===e.type)){var i={"@context":"https://schema.org","@type":"FAQPage"};i.mainEntity=v()(e).call(e,e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}));var r=document.createElement("script");r.setAttribute("type","application/ld+json"),r.text=q()(i),document.getElementsByTagName("head")[0].appendChild(r)}}}},24355:(e,t,n)=>{n.d(t,{A:()=>f});var i=n(86247),r=n.n(i),a=n(36586),o=n.n(a),l=n(67943);n(38338);var s=new ClientJS;function c(){this.deviceId=d(),this.deviceInfo=s.getBrowserData()}function u(){return s.isMobile()}function d(){var e,t,n,i=l.A.getItem("__deviceId"),r=[];return i||(t=(e={})&&e.device&&e.device.ID,n=s.getFingerprint(),t&&r.push(t),n&&r.push(n),function(e){l.A.setItem("__deviceId",e)}(i=r.join("_-_"))),i}function p(){return navigator.userAgent.match(/(SD_WEBVIEW)/i)}function h(){return o()(s.getCurrentResolution().split("x")[0])}var m=()=>{var e=h();return e>=768&&e<=1279&&!p()},g=()=>h()<=767&&!p();const f={getDeviceInfo:function(){return{augurInfo:{},clientJsInfo:new c}},getDeviceId:function(){return d()},isMobileDevice:function(){return u()},isWebview:p,isMsite:g,isTablet:m,isDesktop:()=>!p()&&!m()&&!g(),isAndroid:function(){var e;return r()(e=navigator.userAgent.toLocaleLowerCase()).call(e,"android")},getScreenWidth:h,getEnv:function(){var e="WEB";return u()&&(e="MSITE"),m()&&(e="TABLET"),p()&&(e="WEBVIEW"),e}}},29046:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var i=n(96319),r=n.n(i),a=n(71426),o=n.n(a),l=n(18979),s=n.n(l),c=(n(96486),n(19755)),u=n.n(c);function d(e){this._node=u()(e),this.elem=this._node[0]}function p(e){this._nodeCollection=e;for(var t=0;t1?this:e},this.remove=function(){return this._nodeCollection.remove(),this},this.serializeArray=function(){return this._nodeCollection.serializeArray()},this.off=function(){return this._nodeCollection.off.apply(this._nodeCollection,arguments),this},this.animate=function(){return this._nodeCollection.animate.apply(this._nodeCollection,arguments),this},this.window=function(){var e=this.getDomNode(0);return e?e.window():null},this.getDomNode=function(e){return this[e]},this.trigger=function(e,t){this._nodeCollection.trigger(e,t)},this.prev=function(){return new p(this._nodeCollection.prev.apply(this._nodeCollection,arguments))},this.next=function(){return new p(this._nodeCollection.next.apply(this._nodeCollection,arguments))},this.toggle=function(){this._nodeCollection.toggle.apply(this._nodeCollection,arguments)},this.not=function(){return this._nodeCollection.not.apply(this._nodeCollection,arguments)},this.toggleClass=function(){return this._nodeCollection.toggleClass.apply(this._nodeCollection,arguments),this},this.scrollTop=function(){return this._nodeCollection.scrollTop.apply(this._nodeCollection,arguments)},this.scroll=function(){return this._nodeCollection.scroll.apply(this._nodeCollection,arguments)},this.wrapInner=function(){return new d(this._nodeCollection.wrapInner.apply(this._nodeCollection,arguments))},this.getDomElement=function(){return this._nodeCollection[0]},this.slideUp=function(){return this._nodeCollection.slideUp.apply(this._nodeCollection,arguments),this},this.slideDown=function(){return this._nodeCollection.slideDown.apply(this._nodeCollection,arguments),this},this.empty=function(){return this._nodeCollection.empty.apply(this._nodeCollection,arguments),this},this.index=function(){return this._nodeCollection.index.apply(this._nodeCollection,arguments)},this.hover=function(){return this._nodeCollection.hover.apply(this._nodeCollection,arguments),this},this.onLoad=function(){return this._nodeCollection.load.apply(this._nodeCollection,arguments),this},this.getBoundingClientRect=function(){var e;return this._nodeCollection.get(0).getBoundingClientRect&&(e=this._nodeCollection.get(0).getBoundingClientRect()),e},this.each=function(){return this._nodeCollection.each.apply(this._nodeCollection,arguments),this},this.fadeOut=function(){return this._nodeCollection.fadeOut.apply(this._nodeCollection,arguments),this},this.delay=function(){return this._nodeCollection.delay.apply(this._nodeCollection,arguments),this}}d.prototype={prependDOM:function(e){return this._node.prepend(e._nodeCollection||e._node),this},appendDOM:function(e){return this._node.append(e._nodeCollection||e._node),this},unbind:function(e){return this._node.unbind(e),this},setHtml:function(e){return this._node.html(e),this},getHtml:function(){return this._node.html()},setText:function(e){return this._node.text(e),this},getText:function(){return this._node.text()},getData:function(e){return this._node.data(e)},setData:function(e,t){return this._node.data(e,t),this},addClass:function(e){return this._node.addClass(e),this},removeClass:function(e){return this._node.removeClass(e),this},hasClass:function(e){return this._node.hasClass(e)},onLoad:function(){return this._node.load.apply(this._node,arguments),this},on:function(){return this._node.on.apply(this._node,arguments),this},one:function(){return node.one.apply(node,arguments),this},filter:function(e){var t;return new p(r()(t=this._node).call(t,e))},children:function(e){var t=this._node.children(e);return new p(t)},find:function(e,t,n){var i,r=o()(i=this._node).call(i,e);return null!=t&&null==n?r=new d(r[t]):(t=t||r.length-1,n=n||0,r=new p(s()(r).call(r,n,t+1))),r},val:function(e){return void 0!==e?(this._node.val(e),this):this._node.val()},is:function(e){return this._node.is(e)},text:function(){return this._node.text.apply(this._node,arguments)},getParent:function(e){return new p(this._node.parent(e))},siblings:function(e){return new p(this._node.siblings(e))},getParents:function(e){return new p(this._node.parents(e))},closest:function(e){return new p(this._node.closest(e))},attr:function(e,t){return void 0!==t?(this._node.attr(e,t),this):this._node.attr(e)},prop:function(e,t){return void 0===t?(this._node.prop(e,t),this):this._node.prop(e)},focus:function(){return this._node.focus(),this},blur:function(){return this._node.blur(),this},offset:function(){return this._node.offset()},removeAttr:function(e){return this._node.removeAttr(e),this},show:function(){return this._node.show.apply(this._node,arguments),this},hide:function(){return this._node.hide.apply(this._node,arguments),this},height:function(){return this._node.height.apply(this._node,arguments)},width:function(){return this._node.width.apply(this._node,arguments)},outerHeight:function(){return this._node.outerHeight.apply(this._node,arguments)},outerWidth:function(){return this._node.outerWidth.apply(this._node,arguments)},scrollHeight:function(){return this._node.prop("scrollHeight")},css:function(){var e=this._node.css.apply(this._node,arguments);return arguments.length>1?this:e},remove:function(){return this._node.remove(),this},serializeArray:function(){return this._node.serializeArray()},off:function(){return this._node.off.apply(this._node,arguments),this},window:function(){return this._node.get(0).contentWindow},length:function(){return this._node.length},animate:function(){return this._node.animate.apply(this._node,arguments),this},trigger:function(e,t){this._node.trigger(e,t)},clone:function(){return this._node.clone()},prev:function(){return new p(this._node.prev.apply(this._node,arguments))},next:function(){return new p(this._node.apply(this._node,arguments))},toggle:function(){return this._node.toggle.apply(this._node,arguments),this},toggleClass:function(){return this._node.toggleClass.apply(this._node,arguments),this},scrollTop:function(){return this._node.scrollTop.apply(this._node,arguments)},scroll:function(){return this._node.scroll.apply(this._node,arguments)},getDomElement:function(){return this.elem},wrapInner:function(){return this._node.wrapInner.apply(this._node,arguments),this},slideUp:function(){return this._node.slideUp.apply(this._node,arguments),this},slideDown:function(){return this._node.slideDown.apply(this._node,arguments),this},empty:function(){return this._node.empty.apply(this._node,arguments),this},index:function(){return this._node.index.apply(this._node,arguments)},hover:function(){this._node.hover.apply(this._node,arguments)},getBoundingClientRect:function(){var e;return this._node.get(0).getBoundingClientRect&&(e=this._node.get(0).getBoundingClientRect()),e},each:function(){this._node.each.apply(this._node,arguments)},fadeOut:function(){return this._node.fadeOut.apply(this._node,arguments),this},delay:function(){return this._node.delay.apply(this._node,arguments),this}},h.prototype=new Array,p.prototype=new h,p.constructor=p;var m=function(e){return new p(u()(e))};const g={getDomNode:function(e){return m(e)}}},35089:(e,t,n)=>{n.d(t,{B:()=>ce,A:()=>ke});var i,r,a=n(60954),o=n.n(a),l=n(25199),s=n(40959),c=n(97857),u=n(14607),d=n.n(u),p=n(56255),h=n.n(p),m=n(50697),g=n.n(m),f=n(26100),v=n.n(f),y=n(96319),_=n.n(y),C=n(78928),S=n.n(C),T=n(86226),b=n.n(T),E=n(36751),w=n.n(E),I=n(25110),A=n.n(I),P=n(53930),N=n.n(P),O=n(33284),D=n(13203),k=n(96950),R=n(71747),x=n(74813),B=n.n(x),M=n(73039),L=n(33544),U=n(64772),F=(0,U.J1)(i||(i=(0,L.A)(["\n mutation GenerateGSTINOTP($email: String!, $mobile: String!, $kycValue: String!) {\n generateGstinOTP(email: $email, mobile: $mobile, kycValue: $kycValue) {\n status\n remaining_attempts\n reference_id\n }\n }\n"]))),G=(0,U.J1)(r||(r=(0,L.A)(["\n mutation ValidateOTP(\n $kycValue: String!\n $reference_id: String!\n $otp: String!\n $onboardingType: String!\n $kycType: String!\n $metadata: JSONObject\n $retainPrev: Boolean\n ) {\n verifyGstinOTP(\n kycValue: $kycValue\n reference_id: $reference_id\n otp: $otp\n onboardingType: $onboardingType\n metadata: $metadata\n retainPrev: $retainPrev\n kycType: $kycType\n ) {\n status\n remaining_attempts\n }\n }\n"]))),j=n(79743),V=n.n(j);function H(e,t){var n=g()(e);if(v()){var i=v()(e);t&&(i=_()(i).call(i,function(t){return S()(e,t).enumerable})),n.push.apply(n,i)}return n}const W=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:["MP"];V().track({category:"SRM",name:t,page:e},[...i],function(e){for(var t=1;t{var{theme:t}=e;return t.murv.color.text.primary},e=>{var{theme:t}=e;return t.murv.typography.body.sBold.weight}),Q=K().div.withConfig({displayName:"styles__GSTINState",componentId:"sc-1lfeluh-3"})(["color:",";",""],e=>{var{theme:t}=e;return t.murv.color.text.secondary},$.fontStyles.bodyRegular),X=K().div.withConfig({displayName:"styles__OTPInputWrapper",componentId:"sc-1lfeluh-4"})(["display:flex;flex-direction:column;gap:",";"],$.spacing.m),Z=K().div.withConfig({displayName:"styles__BreakLine",componentId:"sc-1lfeluh-5"})(["width:364px;height:2px;background:",";"],$.divider.tertiary),ee=K().div.withConfig({displayName:"styles__OTPInformation",componentId:"sc-1lfeluh-6"})(["color:",";width:100%;",""],e=>{var{type:t,theme:n}=e;return"red"===t?n.murv.color.text.danger:n.murv.color.text.primary},$.fontStyles.bodyBold),te=K().div.withConfig({displayName:"styles__OtpWrapper",componentId:"sc-1lfeluh-7"})(["display:flex;flex-direction:column;gap:",";.otp-input-wrapper{gap:",";}svg{position:absolute;top:29px;left:70%;}.otp-input{height:36px;width:36px !important;border:2px solid ",";border-radius:",";font-size:14px;caret-color:",";&:focus{outline:1px solid ",";}}"],$.spacing.xxs,$.spacing.xs,$.divider.tertiary,$.spacing.xs,e=>e.theme.accent.primary,e=>e.theme.accent.primary),ne=K().div.withConfig({displayName:"styles__InputLabel",componentId:"sc-1lfeluh-8"})(["color:",";letter-spacing:",";",""],e=>{var{theme:t}=e;return t.murv.color.text.primary},e=>{var{theme:t}=e;return t.murv.typography.heading.m.letterSpacing},$.fontStyles.subText),ie=K().div.withConfig({displayName:"styles__ResendText",componentId:"sc-1lfeluh-9"})(["color:",";"," min-width:130px;&.resending{width:138px;}"],e=>{var{theme:t}=e;return t.murv.color.text.secondary},$.fontStyles.bodyRegular),re=K().div.withConfig({displayName:"styles__FieldError",componentId:"sc-1lfeluh-10"})(["color:",";font-size:11px;display:flex;align-self:flex-start;"],e=>e.theme.states.error),ae=K().footer.withConfig({displayName:"styles__OTPFooter",componentId:"sc-1lfeluh-11"})(["display:flex;align-items:center;height:32px;"]),oe=K().div.withConfig({displayName:"styles__GSTINStatus",componentId:"sc-1lfeluh-12"})(["display:flex;align-items:center;gap:",";align-self:stretch;.success{color:",";}"],$.spacing.xs,e=>{var{theme:t}=e;return t.murv.color.icon.success}),le=K().div.withConfig({displayName:"styles__GSTINStatusMsg",componentId:"sc-1lfeluh-13"})(["color:",";",""],e=>{var{theme:t}=e;return t.murv.color.text.primary},$.fontStyles.bodyBold),se=K().div.withConfig({displayName:"styles__ModalInfo",componentId:"sc-1lfeluh-14"})(["color:",";"," letter-spacing:",";"],e=>{var{theme:t}=e;return t.murv.color.text.primary},$.fontStyles.bodyRegular,e=>{var{theme:t}=e;return t.murv.typography.heading.m.letterSpacing}),ce={CLOSED:"closed",USER_ID:"userId",OTP:"otp",OTP_STATUS:"otpStatus"},ue="success",de="generate_retry_limit_exceeded",pe={INVALID_GSTIN:"Oops, the Email ID or phone number is not associated with the above GSTIN. Please check and try again.",RETRY_LIMIT_EXCEEDED:"You have exceeded the maximum number of attempts of OTP Generation, Please try again tomorrow!",UNKNOWN_ERROR:"We're sorry, but we couldn't generate an OTP. Please try again"},he="INVALID",me="verify_retry_limit_exceeded",ge="MAX_ATTEMPTS_REACHED",fe={EXPIRED:"Oops, the OTP has expired or has already been used. Please request a new one.",ALREADY_USED:"Oops, the OTP has expired or has already been used. Please request a new one.",RETRY_LIMIT_EXCEEDED:"You have exceeded the maximum number of attempts of OTP validation attempts, Please try again tomorrow!",UNKNOWN_ERROR:"We're sorry, but there was an issue validating the OTP. Please try again.",INCORRECT_OTP_AND_LIMIT_EXCEEDED:"OTP was incorrect and you have exceeded the maximum number of attempts of OTP validation attempts, Please try again tomorrow!",MAX_ATTEMPTS_REACHED:"You have exceeded the maximum verify attempts per OTP generation, Please generate otp again"},ve=120,ye=" An OTP has been sent to the registered email-address and phone-number associated with the above GSTIN",_e="GSTIN Verification Successful",Ce="CLICKED_GSTIN_GENERATE_OTP",Se="CLICKED_GSTIN_VERIFY_OTP",Te="CLOSED_GSTIN_OTP_POPUP",be="CLICKED_SUCCESSFUL_VERIFICATION_OKAY_BUTTON",Ee=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/i,we=/^\d{10}$/i,Ie=n(11393),Ae=n.n(Ie),Pe=e=>{var t,[n,i]=e.split("@");if(!i)return e;var r=encodeURIComponent(n);return Ae()(t="".concat(r,"@")).call(t,i)};function Ne(e,t){var n=g()(e);if(v()){var i=v()(e);t&&(i=_()(i).call(i,function(t){return S()(e,t).enumerable})),n.push.apply(n,i)}return n}function Oe(e){for(var t=1;t{var t,{currentModalState:n,setCurrentModalState:i,selectedDocument:r,setSelectedDocument:l,onSuccessful2FA:c,onClose:u}=e,p=null===(t=B().getCurrentRoute())||void 0===t?void 0:t.name,[m,{generateOTPRes:g,generateOTPLoading:f,generateOTPError:v}]=(()=>{var[e,{data:t,loading:n,error:i}]=(0,M.n)(F);return[e,{generateOTPRes:null==t?void 0:t.generateGstinOTP,generateOTPLoading:n,generateOTPError:i}]})(),[y,{verifyOTPRes:_,verifyOTPLoading:C,verifyOTPError:S,remaining_attempts:T}]=(()=>{var e,t,n,[i,{data:r,loading:a,error:o}]=(0,M.n)(G);return[i,{verifyOTPRes:null==r?void 0:r.verifyGstinOTP,verifyOTPLoading:a,verifyOTPError:o,remaining_attempts:null==o||null===(e=o.graphQLErrors)||void 0===e||null===(t=e[0])||void 0===t||null===(n=t.extensions)||void 0===n?void 0:n.remaining_attempts}]})(),[b,,{closeModal:E,showModal:w}]=(0,s.hS)(),[I,A]=(0,a.useState)(""),[P,N]=(0,a.useState)(""),[x,L]=(0,a.useState)(""),[U,j]=(0,a.useState)(""),[V,H]=(0,a.useState)(!1),[Y,K]=(0,a.useState)(!1),[$,Ie]=(0,a.useState)(!1),[Ne,De]=(0,a.useState)(""),[ke,Re]=(0,a.useState)(!1),[xe,Be]=(0,a.useState)(""),[Me,Le]=(0,a.useState)(ve),[Ue,Fe]=(0,a.useState)(!1),[Ge,je]=(0,a.useState)(!0),[Ve,He]=(0,a.useState)(!0),We=(0,a.useRef)(null);(0,a.useEffect)(()=>{w()},[]),(0,a.useEffect)(()=>{f||((null==g?void 0:g.status)===ue?(j(null==g?void 0:g.reference_id),i(ce.OTP),Le(ve),Fe(!0),He(!0)):(null==v?void 0:v.message)===de?(Ie(!0),i(ce.USER_ID),je(!1),De(pe.RETRY_LIMIT_EXCEEDED)):(null==v?void 0:v.message)==me?(Ie(!0),i(ce.USER_ID),je(!1),De(fe.RETRY_LIMIT_EXCEEDED)):null!=v&&v.message?(i(ce.USER_ID),Ie(!0),De(pe[null==v?void 0:v.message]||pe.UNKNOWN_ERROR)):(v||g)&&(Ie(!0),i(ce.USER_ID),De(pe.UNKNOWN_ERROR)))},[f]),(0,a.useEffect)(()=>{C||((null==_?void 0:_.status)===ue?i(ce.OTP_STATUS):(null==S?void 0:S.message)==me?(Ie(!0),i(ce.USER_ID),je(!1),De(fe.RETRY_LIMIT_EXCEEDED)):(null==S?void 0:S.message)===he?"0"===T?(Ie(!0),i(ce.USER_ID),je(!1),De(fe.INCORRECT_OTP_AND_LIMIT_EXCEEDED)):(Be((e=>"Oops, the code entered is invalid. Please try again. You have ".concat(e," more attempts left."))(T)),Re(!0)):null!=S&&S.message?(Be(fe[null==S?void 0:S.message]||fe.UNKNOWN_ERROR),Re(!0),(null==S?void 0:S.message)===ge&&(He(!1),Le(0),Fe(!1))):(S||_)&&(Re(!0),Be(fe.UNKNOWN_ERROR)))},[C]),(0,a.useEffect)(()=>{var e;return Ue&&(e=d()(()=>{Le(t=>(1===t&&(Fe(!1),clearInterval(e)),t-1))},1e3)),()=>clearInterval(e)},[Ue]),(0,a.useEffect)(()=>{var e=document.getElementById(b);e&&(e.style.maxHeight="90vh")},[b]),(0,a.useEffect)(()=>{h()(()=>{We.current&&We.current.scrollTo({top:We.current.scrollHeight,behavior:"smooth"})},0)},[n,We,$,ke]);var Ye,Ke,$e,Je,qe,ze,Qe=()=>{var e;W(p,Ce,{email:I,mobile:P,GSTIN_NO:null==r?void 0:r.gstin_no,KYC_TYPE:null==r?void 0:r.kycType,ONBOARDING_TYPE:null==r?void 0:r.onboardingType,State:null!==(e=null==r?void 0:r.state)&&void 0!==e?e:"--"}),L(""),Re(!1),Ie(!1),m({variables:{email:Pe(I),mobile:P,kycValue:null==r?void 0:r.gstin_no}})},Xe=()=>{var e;W(p,Se,{email:I,mobile:P,GSTIN_NO:null==r?void 0:r.gstin_no,KYC_TYPE:null==r?void 0:r.kycType,ONBOARDING_TYPE:null==r?void 0:r.onboardingType,State:null!==(e=null==r?void 0:r.state)&&void 0!==e?e:"--"}),y({variables:{reference_id:U,otp:x,kycValue:null==r?void 0:r.gstin_no,kycType:null==r?void 0:r.kycType,onboardingType:null==r?void 0:r.onboardingType,metadata:null==r?void 0:r.metadata,retainPrev:null==r?void 0:r.retainPrev}})},Ze=()=>{var e,t;(E(),u&&u(),n===ce.OTP_STATUS)?(c&&c(null==r?void 0:r.gstin_no),W(p,be,{email:I,mobile:P,GSTIN_NO:null==r?void 0:r.gstin_no,KYC_TYPE:null==r?void 0:r.kycType,ONBOARDING_TYPE:null==r?void 0:r.onboardingType,State:null!==(e=null==r?void 0:r.state)&&void 0!==e?e:"--"})):W(p,Te,{email:I,mobile:P,GSTIN_NO:null==r?void 0:r.gstin_no,KYC_TYPE:null==r?void 0:r.kycType,ONBOARDING_TYPE:null==r?void 0:r.onboardingType,State:null!==(t=null==r?void 0:r.state)&&void 0!==t?t:"--"});l(null),i(ce.CLOSED)};return o().createElement(o().Fragment,null,o().createElement(s.Rw,{modalId:b,onClose:Ze},o().createElement(s.Rw.Header,{header:"Verify GSTIN"}),o().createElement(J,{ref:We},o().createElement(q,null,o().createElement(z,null,"GSTIN: ",r.gstin_no),o().createElement(Q,null,r.state)),n===ce.OTP_STATUS?o().createElement(oe,null,o().createElement(k.A,{className:"success",fill:!0})," ",o().createElement(le,null," ",_e)):o().createElement(o().Fragment,null,n===ce.USER_ID&&o().createElement(se,null,"Enter Email-ID and Phone Number associated with this GSTIN. An OTP will be sent for further verification"),o().createElement(se,null,"The OTP you enter is solely for validating your GSTN ownership. This OTP is NOT generated by GSTN and does not enable any API access to Flipkart."),o().createElement(O.Ry,{label:"Email-ID",placeholder:"Enter Email ID",type:"email",value:I,onChange:e=>{A(e.target.value),Ie(!1),e.target.value.match(Ee)?H(!0):H(!1)},optional:!1,disabled:n!==ce.USER_ID||!Ge}),o().createElement(O.Ry,{label:"Phone Number",placeholder:"Enter 10 digit Phone Number",maxLength:10,type:"tel",value:P,onChange:e=>{N(e.target.value),Ie(!1),e.target.value.match(we)?K(!0):K(!1)},optional:!1,disabled:n!==ce.USER_ID||!Ge}),n===ce.OTP&&o().createElement(X,null,o().createElement(Z,null),o().createElement(ee,{type:"black"},ye),o().createElement(te,null,o().createElement(ne,null,"Verification OTP"),o().createElement(R.A,{value:x,onChange:e=>{L(e),Re(!1)},isDisabled:C,numInputs:6,inputStyle:"otp-input",containerStyle:"otp-input-wrapper",hasErrored:ke,isInputNum:!0}),ke&&o().createElement(re,null,xe),o().createElement(ae,null,Me?o().createElement(o().Fragment,null,o().createElement(ie,null,"Resend OTP in ",(Ke=Me,Je=Math.floor(Ke/60),qe=Ke%60,ze=Ke%60<10?"0".concat(qe):"".concat(qe),Ae()($e="0".concat(Je,":")).call($e,ze))),o().createElement(D.$n,{buttonStyle:"brand",buttonType:"tertiary",size:"small",type:"reset",disabled:!0},"Resend OTP")):o().createElement(o().Fragment,null,o().createElement(ie,null,"Didn't receive the code ? "),o().createElement(D.$n,{buttonStyle:"brand",buttonType:"tertiary",size:"small",type:"reset",onClick:Qe,disabled:f},"Resend OTP"))))),$&&n===ce.USER_ID&&o().createElement(o().Fragment,null,o().createElement(Z,null),o().createElement(ee,{type:"red"},Ne)))),o().createElement(s.Rw.Actions,{actions:[Oe({buttonStyle:"brand",buttonType:"primary",isLoading:C||f},(n===ce.USER_ID?Ye={children:"Generate OTP",disabled:!V||!Y||!Ge||C||f,onClick:Qe}:n===ce.OTP?Ye={children:"Submit OTP",disabled:x.length<6||C||f||!Ve,onClick:Xe}:n===ce.OTP_STATUS&&(Ye={children:"Okay",onClick:Ze}),Ye))]})))};const ke=e=>{var{currentModalState:t,setCurrentModalState:n,selectedDocument:i,setSelectedDocument:r,onSuccessful2FA:a,onClose:c}=e;return o().createElement(o().Fragment,null,o().createElement(l.y,{themeVariant:"light"},o().createElement(s.YO,null,null!=i&&o().createElement(De,{currentModalState:t,setCurrentModalState:n,selectedDocument:i,setSelectedDocument:r,onSuccessful2FA:a,onClose:c}))))}},43578:(e,t,n)=>{n.r(t),n.d(t,{default:()=>a});var i=n(67943),r=n(71401);const a={setConfig:function(e,t,n){return n?r.A.setItem(e,t):i.A.setItem(e,t)},getConfig:function(e,t){return t?r.A.getItem(e):i.A.getItem(e)},clearConfig:function(e,t){return t?r.A.clearItem(e):i.A.clearItem(e)}}},43899:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var i=n(61240),r=n.n(i),a=n(44965),o=n.n(a),l=(n(78985),n(71280));function s(e){this.fetchApi=e.fetchApi,this.updateApi=e.updateApi,this.updateWithPutApi=e.updateWithPutApi,this.deleteApi=e.deleteApi,this.value=null}s.prototype={fetch:function(e,t){var n=this;return o().getJSON(this.fetchApi,e,t).then(function(e){return n.value=e,e})},update:function(e,t,n){var i;return i=n?this.updateApi+"?"+o().getQueryStringForObject(n):this.updateApi,o().postJSON(i,e,t)},updateWithPut:function(e,t,n){var i;return i=n?this.updateWithPutApi+"?"+o().getQueryStringForObject(n):this.updateWithPutApi,o().putJSON(i,e,t)},del:function(e,t,n){var i;return i=n?this.deleteApi+"?"+o().getQueryStringForObject(n):this.deleteApi,o().deleteJSON(i,e,t)},getCanceller:function(){var e={},t=new(r())(function(t,n){e.reject=n,e.resolve=t});return e.promise=t,e},postMultipart:function(e,t){var n,i=new XMLHttpRequest;return n=t?this.updateApi+"?"+o().getQueryStringForObject(t):this.updateApi,new(r())(function(t,r){i.open("POST",n),i.setRequestHeader("fk-csrf-token",(0,l.readCSRFToken)()),i.onload=t,i.onerror=r,i.send(e)})}};const c=s},47188:(e,t,n)=>{n.r(t),n.d(t,{readCSRFToken:()=>o});var i=n(43578),r=n(24355),{isWebview:a}=r.A,o=()=>{var e=document.querySelector("#seller_session_unique_token");if(a()&&e&&e.value)return e.value;var t=i.default.getConfig("sellerConfig");return t&&t.csrfToken?t.csrfToken:void 0}},51473:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(86226),r=n.n(i),a=n(67943),o=n(80257);const l={init:()=>{var e,t,n,i=o.A.getParams(),l=(t=location.href&&location.href.split("?")[1]||"",n={},r()(e=t.split("&")).call(e,function(e){var t=e.split(/[=#]/);n[t[0]]=decodeURIComponent(t[1])}),n),s=l.utm_source?l.utm_source:i.utm_source||"Direct",c=l.utm_medium?l.utm_medium:i.utm_medium||"",u=l.utm_campaign?l.utm_campaign:i.utm_campaign||"",d=l.utm_term?l.utm_term:i.utm_term||"";a.A.setItem("source",s),a.A.setItem("medium",c),a.A.setItem("campaign",u),a.A.setItem("term",d)}}},67943:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(85569),r=n.n(i),a=n(80257);function o(){return!!a.A.getParam("sellerId")&&a.A.getParam("sellerId")}const l={setItem:function(e,t){var n=localStorage.getItem("__appData")||"{}";try{if(null==n||""===n)throw new Error("invalidJSONString",n);n=JSON.parse(n)}catch(e){console.debug(e),n={}}return o()?(n[o()]=n[o()]||{},n[o()][e]=t,localStorage.setItem("__appData",r()(n))):(n[e]=t,localStorage.setItem("__appData",r()(n)))},getItem:function(e){var t=localStorage.getItem("__appData")||"{}";try{if(null==t||""===t)throw new Error("invalidJSONString",t);t=JSON.parse(t)}catch(e){console.debug(e),t={}}return o()&&t[o()]?t[o()][e]:t[e]},clearItem:function(e){var t=localStorage.getItem("__appData")||"{}";return e?t?(t=JSON.parse(t),o()&&t[o()]?(delete t[o()][e],localStorage.setItem("__appData",r()(t))):(delete t[e],localStorage.setItem("__appData",r()(t)))):void 0:(t={},localStorage.setItem("__appData",r()(t)))},setValue:function(e,t){return localStorage.setItem(e,r()(t))},getValue:function(e){return localStorage.getItem(e)},deleteValue:function(e){localStorage.removeItem(e)}}},69484:(e,t,n)=>{n.r(t),n.d(t,{default:()=>pe});var i=n(86226),r=n.n(i),a=n(64007),o=n.n(a),l=n(96319),s=n.n(l),c=n(86247),u=n.n(c),d=n(85569),p=n.n(d),h=n(43981),m=n.n(h),g=n(12151),f=n(12408),v=n(78985),y=n.n(v),_=n(90371),C=n.n(_),S=n(74813),T=n.n(S),b=n(96486),E=n.n(b),w=n(33012),I=!1,A="//www.google-analytics.com/analytics.js",P="ga",N=window.GoogleAnalyticsObject=P;const O={init:function(e,t){var n=this;if(!I)return window[N]=window[N]||function(){(window[N].q=window[N].q||[]).push(arguments)},window[N].l=1*new Date,window[N](function(){n.createTracker(e.trackingId),I=!0,w.PubSubHelper.publish("GOOGLE_ANALYTICS","GOOGLE_ANALYTICS_READY")}),f.A.loadScript(A,!0);console.warn("Google Analytics can be initialised only once!")},setPage:function(e){window[N]("set","page",e)},identity:function(e){window[N].push(["identify",e])},createTracker:function(e){window[N]("create",e,"auto")},trackPageView:function(e){e?window[N]("send","pageview",[e]):window[N]("send","pageview")},trackException:function(e,t){window[N]("send","exception",{exDescription:p()({m:e.message,f:e.filename,l:e.lineno}),exFatal:t})},track:function(e){e=f.A.isArray(e)?e:[e];r()(E()).call(E(),e,function(e){e.category&&"ads"===e.category.toLowerCase()&&e.label&&(e.label=""),window[N]("send","event",e.category,null!=e.action?e.action:e.name,e.label,e.value)})},destroy:function(){return I=!1,delete window[N]}};var D=n(86863),k=n(50697),R=n.n(k),x=n(26100),B=n.n(x),M=n(78928),L=n.n(M),U=n(36751),F=n.n(U),G=n(25110),j=n.n(G),V=n(53930),H=n.n(V),W=n(97857),Y=n(27484),K=n.n(Y),$=n(27361),J=n.n($),q=n(24355),z=n(8891),Q=n.n(z),X=n(51473);function Z(e,t){var n=R()(e);if(B()){var i=B()(e);t&&(i=s()(i).call(i,function(t){return L()(e,t).enumerable})),n.push.apply(n,i)}return n}function ee(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(ae){var n;e=e.shift();var i={Channel:ie,Category:e.category,Page:e.page,Seller_ID:J()(re,"sellerId","NA"),MP_account_ID:J()(re,"userId","NA")},r=f.A.isArray(t)?t[0]:t;null!==(n=e)&&void 0!==n&&n.promotion&&(i.Promotion=e.promotion),function(e){X.A.init();var t=y().getConfig("source"),n=y().getConfig("medium"),i=y().getConfig("campaign"),r=y().getConfig("term");"Direct"!==t&&(t&&(e.UTM_source=t),n&&(e.UTM_medium=n),i&&(e.UTM_campaign=i),r&&(e.UTM_term=r))}(i),i=ee(ee({},i),r),Q().track(e.name,i)}}};var ce=f.A,ue=q.A.getDeviceInfo();function de(e,t){var n=[];return r()(ce).call(ce,t,function(t,i){(!t.length||o()(t).call(t,e)>-1)&&n.push(i)}),n}const pe={_curry:function(e,t,n){var i=this,a=!1;!t||f.A.isString(t)||t.eventTrackers||(t.eventTrackers=de(t.category,i.whiteListedCategoriesByTracker));var l,c,d=i.oTrackers;return ce.has(i,"allowedEventTrackers")&&i.allowedEventTrackers.length>0&&(l=i.oTrackers,c=i.allowedEventTrackers,d=s()(l).call(l,e=>u()(c).call(c,e.identifier))),r()(ce).call(ce,d,function(i){var r;a=!0,t&&t.eventTrackers&&o()(r=t.eventTrackers).call(r,i.identifier)<0&&(a=!1),a?i[e]&&i[e](t,n):console.info("Blacklisted event suppressed: "+p()(t))}),a},init:function(e){var t=this,n=[];return t.hasInitialised=!1,t.oTrackers=[],t.whiteListedCategoriesByTracker={},r()(ce).call(ce,e.trackers,function(e){var i,r,a,o,l;switch(e.trackerName){case"Google Analytics":a=e.config.trackingId,e.config.trackingId&&f.A.isFunction(e.config.trackingId)&&(a=e.config.trackingId.call(t,y())),i=O.init({trackingId:a}),(r=O).identifier="GA";break;case"Seller Analytics":a=e.config.trackingId,o=e.config.sellerId,e.config.trackingId&&f.A.isFunction(e.config.trackingId)&&(a=e.config.trackingId.call(t,y())),e.config.sellerId&&f.A.isFunction(e.config.sellerId)&&(o=e.config.sellerId.call(t,y())),i=D.A.init({trackingId:a,identity:o}),(r=D.A).identifier="SA";break;case"Mixpanel":a=e.config.trackingId,o=e.config.sellerId,l=e.config.userId,a&&f.A.isFunction(a)&&(a=a.call(t,y())),o&&f.A.isFunction(o)&&(o=o.call(t,y())),l&&f.A.isFunction(l)&&(l=l.call(t,y())),i=se.init({trackingId:a,identity:o,userId:l}),(r=se).identifier="MP"}t.whiteListedCategoriesByTracker[r.identifier]=e.whiteListedCategories||[],t.oTrackers.push(r),n.push(i)}),w.PubSubHelper.subscribe({eventName:"ROUTE_CHANGE_SUCCESSFUL",callback:t.onPageChange,type:"KEEP_ON",context:t}),g.A.getPromise(function(e,i){try{g.A.all(n).then(function(){t.hasInitialised=!0,e()})}catch(e){i(e)}})},setPage:function(e){return this._curry("setPage",e)},identify:function(e){return this._curry("identity",e)},track:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["GA","SA"],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e){t.allowedEventTrackers=n;var r=t,a=(e=f.A.isArray(e)?e:[e],f.A.isArray(i)?i:[i]),o=r._curry("track",e,a);return console.debug("Analytics captured:",e),o}(e)},trackPageView:function(e,t){var n=this._curry("trackPageView",e,t);return console.debug("Analytics captured pageview:",e,t),n},trackPageEvents:function(){var e=this,t=C().getDomNode("*[analytics-on][analytics-state!='tracked']"),n=[];return r()(ce).call(ce,t,function(t){var i=(t.attr("analytics-on")||"load").split(",");r()(ce).call(ce,i,function(i){var r=t.attr(i+"-category")||t.attr("analytics-category"),a=t.attr(i+"-action")||t.attr("analytics-action"),o=t.attr(i+"-label")||t.attr("analytics-label"),l=t.attr(i+"-value")||t.attr("analytics-value"),s={name:i,category:r,action:a,eventTrackers:de(r,e.whiteListedCategoriesByTracker)};o&&f.A.isString(o)&&(s.label=o),l&&f.A.isNumeric(l)&&(l=m()(l),s.value=l),"load"===i?n.push(e.trackPageView(s,{deviceInfo:ue})):(t.on(i,function(){n.push(e.track(s))}),console.debug("Analytics attached for",t,"on",i))})}),t.attr("analytics-state","tracked"),n},onPageChange:function(e){var t,n="/"+((t=T().getCurrentRoute())&&t.path);this.setPage(n),this.trackPageView(n,{deviceInfo:ue,state:e.state,params:e.params,fromState:e.fromState})},destroy:function(){return this.hasInitialised=!1,this._curry("destroy")}}},71401:(e,t,n)=>{n.d(t,{A:()=>a});var i=n(85569),r=n.n(i);const a={setItem:function(e,t){var n=sessionStorage.getItem("__appData");return(n=null==n?{}:JSON.parse(n))[e]=t,sessionStorage.setItem("__appData",r()(n))},getItem:function(e){var t=sessionStorage.getItem("__appData");return(t=null==t?{}:JSON.parse(t))[e]},clearItem:function(e){var t=sessionStorage.getItem("__appData");return e?t?(delete(t=JSON.parse(t))[e],sessionStorage.setItem("__appData",r()(t))):void 0:(t={},sessionStorage.setItem("__appData",r()(t)))}}},73535:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(41368);const r={cookie:function(){var e=[...arguments];if(1===e.length)return i.A.get(e[0]);i.A.set(e[0],e[1],e[2])},getCookie:function(e){return i.A.get(e)},setCookie:function(e,t,n){i.A.set(e,t,n)},removeCookie:function(e){i.A.remove(e)}}},80257:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(86226),r=n.n(i),a=n(12408),o=a.A;const l={parseUrl:function(e){var t,n,i,r=document.createElement("a");return r.href=e,t=r.protocol||location.protocol,n=r.hostname||location.hostname,i=r.port||location.port,{source:e,protocol:t.replace(":",""),host:n,port:i,query:r.search,hash:r.hash.replace("#",""),path:r.pathname.replace(/^([^/])/,"/$1"),segments:r.pathname.replace(/^\//,"").split("/"),params:function(){var e,t,n,i,a={};for(n=(t=r.search.replace(/^.*\?/,"").split("&")).length,i=0;i{n.d(t,{A:()=>T});var i=n(85569),r=n.n(i),a=n(27361),o=n.n(a),l=n(12151),s=n(78985),c=n.n(s),u=n(12408),d=n(24355),p=n(80257);const h={"dashboard.home-page":{identifier:"homepageDB",application:"SellerHomepage",pageName:"Seller Home Page"},"dashboard.metrics.overview":{identifier:"metricDB",application:"Performance",pageName:"Overview"},"dashboard.metrics.overview.serviceQuality.dispatchBreaches":{identifier:"metricDB",application:"Performance",pageName:"Overview - Service Quality - Dispatch Breaches"},"dashboard.metrics.overview.serviceQuality.sellerCancellation":{identifier:"metricDB",application:"Performance",pageName:"Overview - Service Quality - Seller Cancellations"},"dashboard.metrics.overview.serviceQuality.procurementTime":{identifier:"metricDB",application:"Performance",pageName:"Overview - Service Quality - Procurement Time"},"dashboard.metrics.overview.productQuality.customerReturns":{identifier:"metricDB",application:"Performance",pageName:"Overview - Product Quality - Customer Returns"},"dashboard.metrics.overview.productQuality.productRatings":{identifier:"metricDB",application:"Performance",pageName:"Overview - Product Quality - Product Ratings"},"dashboard.metrics.overview.sales.revenue":{identifier:"metricDB",application:"Performance",pageName:"Overview - Sales - Revenue (In Rupees)"},"dashboard.metrics.returns":{identifier:"metricDB",application:"Performance",pageName:"Returns Insights"},"dashboard.metrics.overview.sales.unitsSold":{identifier:"metricDB",application:"Performance",pageName:"Overview - Sales - Units Sold (In Units)"},"dashboard.metrics.overview.sales.conversion":{identifier:"metricDB",application:"Performance",pageName:"Overview - Sales - Conversions"},"dashboard.metrics.insights":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities"},"dashboard.metrics.product.trendingInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - New Product Opportunities - Product Types"},"dashboard.metrics.product.hotSellingInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - New Product Opportunities - Specific Products"},"dashboard.metrics.productsToStockInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - Products to Stock"},"dashboard.metrics.priceAndCatalogInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - Price Suggestions"},"dashboard.metrics.businessReports":{identifier:"metricDB",application:"Performance",pageName:"Reports"},"dashboard.metrics.generateBusinessReports":{identifier:"metricDB",application:"Performance",pageName:"Reports - Generate Reports"},"dashboard.metrics.viewGeneratedBusinessReports":{identifier:"metricDB",application:"Performance",pageName:"Reports - View Generated Reports"},"dashboard.metrics.productRatings":{identifier:"metricDB",application:"Performance",pageName:"Overview - Product Ratings Detail"},"dashboard.metrics.customerReturns":{identifier:"metricDB",application:"Performance",pageName:"Overview - Customer Returns Detail"},"dashboard.metrics.grossRevenue":{identifier:"metricDB",application:"Performance",pageName:"Overview - Gross Revenue Detail"},"dashboard.metrics.unitsSold":{identifier:"metricDB",application:"Performance",pageName:"Overview - Units Sold Detail"},"dashboard.metrics.dispatchBreaches":{identifier:"metricDB",application:"Performance",pageName:"Overview - Dispatch Breaches Detail"},"dashboard.metrics.sellerCancellation":{identifier:"metricDB",application:"Performance",pageName:"Overview - Seller Cancellation Detail"},"dashboard.metrics.otherMetrics.sellerRating":{identifier:"metricDB",application:"Performance",pageName:"Overview - Seller Rating Detail"},"dashboard.metrics.otherMetrics.pickupReattempt":{identifier:"metricDB",application:"Performance",pageName:"Overview - Pickup Reattempt Detail"},"dashboard.metrics.otherMetrics.listingOverview":{identifier:"metricDB",application:"Performance",pageName:"Overview - Listing Overview Detail"},"dashboard.addListings":{checkStateParam:!0,paramName:"type",ignoreParams:!0,paramDataMap:{single:{identifier:"listingsDB",application:"Listings",pageName:"Add Listings - Single"},bulk:{identifier:"listingsDB",application:"Listings",pageName:"Add Listings - Bulk"}}},"dashboard.listingsInProgress":{ignoreParams:!0,identifier:"listingsDB",application:"Listings",pageName:"Listings In Progress"},"dashboard.unifiedInventoryNew":{ignoreParams:!0,identifier:"listingsDB",application:"Inventory",pageName:"Inventory Health"},"dashboard.listingsManagement":{checkStateParam:!0,paramName:"listingState",paramDataMap:{ACTIVE:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - ACTIVE"},READY_FOR_ACTIVATION:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - READY_FOR_ACTIVATION"},INACTIVATED_BY_FLIPKART:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - INACTIVATED_BY_FLIPKART"},INACTIVE:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - INACTIVE"},ARCHIVED:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - ARCHIVED"}}},"dashboard.myOrders":{identifier:"ordersDB",application:"Orders",pageName:"My Orders"},"dashboard.lending":{checkStateParam:!0,paramName:"page",paramDataMap:{LANDING:{identifier:"metricDB",application:"lending",pageName:"Seller Finance - Offer List"},APPLICATIONS_DETAILS:{identifier:"metricDB",application:"lending",pageName:"Seller Finance - Application Form"}}},"selfSignup.onboardingAccountCreation":{identifier:"metricDB",application:"Seller Onboarding",pageName:"Sign Up"},sellerSignUp:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Sign Up"},"dashboard.sellerOnboarding":{checkStateParam:!0,paramName:"onboardingState",paramDataMap:{CHECK_SERVICEABILITY:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Check Serviceability"},BUSINESS_DETAILS:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Business Details"},BANK_DETAILS:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Bank Details"},REGISTRATION:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Registration"}}},"dashboard.metrics.reports":{checkStateParam:!0,paramName:"invoices",paramDataMap:{true:{identifier:"metricDB",application:"Payments",pageName:"Invoices"}}},"dashboard.fa":{identifier:"metricDB",application:"Payments",pageName:"Flipkart fulfilment Reports"},"dashboard.payments-previous-payments.filter.type":{checkStateParam:!0,paramName:"type",ignoreParams:!0,paramDataMap:{default:{identifier:"metricDB",application:"Payments",pageName:"Previous Payments"}}},"dashboard.transactions-details":{identifier:"metricDB",application:"Payments",pageName:"Transactions"},"dashboard.payments-statements":{identifier:"metricDB",application:"Payments",pageName:"Statements"},"dashboard.payments-account-summaryV2":{identifier:"metricDB",application:"Payments",pageName:"Account Summary V2"},"dashboard.sellerSupport.issueManagementComposite.tickets":{identifier:"SPF Claims",application:"Seller Support",pageName:"Your Tickets Dashboard / General Tickets"}};var m=n(10966),g=n(67943),f=n(51473),{isMobileDevice:v,isWebview:y}=d.A,_="web";v()&&(_=y()?"mobile_webview":"mobile");var C={trackModelUpdateApi:{url:"/snoopyIngestion",params:{event:{channel:_,org:"SP"}}}};function S(e,t){e.child?S(e.child,t):e.child={name:t}}const T={init(){var e=this;return"supportDashboard"!==(c().getConfig("sellerConfig")||{}).requestType&&f.A.init(),l.A.getPromise((t,n)=>{try{e.payloadParams=C.trackModelUpdateApi,e.eventCounter=0,e.flowCounter=0,e.previousPage="",t()}catch(e){n(e)}})},track(e){var t=this,n=u.A.merge({},t.payloadParams.params);e=e.shift(),t.previousPage!==p.A.getHash()&&(t.flowCounter+=1,t.previousPage=p.A.getHash());try{null!=e.identifier&&null!=e.entity&&(n.type=e.identifier,n.event.action=e.action,n.event.entity=u.A.merge({},e.entity),n.event.data_category=e.category,n.event.value=r()(e.value||{}),n.event.page_load_id=p.A.getHash(),n.event.event_no=String(t.flowCounter),n.event.flow_id=String(t.flowCounter),n.event.source=g.A.getItem("source")||"Direct",n.event.medium=g.A.getItem("medium")||null,n.event.term=g.A.getItem("term")||null,n.event.campaign=g.A.getItem("campaign")||null,e.actionOn&&S(n.event.entity,e.actionOn),m.default.postJson(C.trackModelUpdateApi.url,n))}catch(e){console.error(e)}},trackPageView(e,t){var n=h[t.state],i=t.fromState||"",r=o()(n,"paramName"),a=o()(t,"params.".concat(r)),l=o()(n,"paramDataMap.".concat(a));if(o()(n,"ignoreParams")&&t.state===i)return!0;o()(n,"checkStateParam")&&l?this.track([{identifier:l.identifier,entity:{name:l.application,child:{name:l.pageName}},action:"LOAD",value:t}]):n&&this.track([{identifier:n.identifier,entity:{name:n.application,child:{name:n.pageName}},action:"LOAD",value:t}])}}},89986:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var i,r=n(64007),a=n.n(r),o=n(85569),l=n.n(o),s=n(19755),c=n.n(s),u=n(12151),d=n(12408);function p(e){return u.A.getPromise(function(t,n){var r;function o(e){m=!0,t(e)}function s(e){m=!0,n(e)}var u,p={url:e.url,method:e.method||"GET",dataType:e.dataType||"json",data:e.params||{},headers:e.headers||{},processData:e.processData,contentType:e.contentType||!1},h={success:function(e,n,r){i&&i.success&&i.success({statusCode:r.status,response:e,resolve:o,reject:s}),t(e)},error:function(e){i&&i.error&&i.error({statusCode:e.status,response:e.responseJSON||e.responseText,resolve:o,reject:s}),n(e.responseJSON||e.responseText)},complete:function(t){i&&i.complete&&i.complete({statusCode:t.status,response:t.responseJSON||t.responseText,resolve:o,reject:s}),e.canceller&&e.canceller.resolve()}},m=!1;if(i&&i.start&&i.start({params:p,resolve:o,reject:s}),p.contentType&&a()(r=p.contentType).call(r,"application/json")>-1)try{p.data=l()(p.data)}catch(e){console.error("contentType for ajax call set to application/json but the content is not json")}m?e.canceller&&e.canceller.resolve():(u=c().ajax(d.A.extend(p,h)),e.canceller&&e.canceller.promise.then(function(){},function(){u.abort()}))})}const h={getJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"GET",params:t}))},postJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"POST",contentType:"application/json",params:t}))},ajax:function(e){return p(e)},putJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"PUT",params:t}))},deleteJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"DELETE",params:t}))},postMultipart:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"POST",contentType:!1,params:t}))},getQueryStringForObject:function(e){return e?c().param(e):""},configure:function(e){i=e}}},92505:(e,t,n)=>{var i=n(64007),r=n.n(i),a=n(39510),o=(n(62436),n(90875),n(57107),n(60954)),l=n.n(o),s=n(88149),c=n(94892),u=n.n(c),d=n(97200),p=n(12827),h=n.n(p),m=n(6641),g=n(68238),f=n(59681);var v=n(81120),y=n(3320),_=n(8186),C=n(70821),S=n(28797),T=n(53633),b=n(18979),E=n.n(b),w=n(29558),I=n(3094),A=n(55947),P=n(72132),N=n(28455),O=n(49904),D=n(28654),k=n(12408),R=e=>{var{url:t,titleText:n,keywords:i,description:r,canonicalLink:a,pageSchema:l}=e;(0,o.useEffect)(()=>{k.A.setMetaTagsSEO(t,n,r,i,a,l)},[t,n,r,i,a,l])};const x=()=>{var e,t,n=(0,_.A)(),i=Number(null==n||null===(e=n.resolution)||void 0===e||null===(t=e.mobileCutoff)||void 0===t?void 0:E()(t).call(t,0,-5))||768;(0,D.lW)(i);var r=(0,N.q)(O.C3);return R({url:"https://seller.flipkart.com/signUp/accountCreation/new",titleText:"Sell on Flipkart | Start Selling with 0% Fees Commission",description:"Start selling on Flipkart today! Simple sign-up, secure payments, and 0% fees Commission. Reach millions of customers and grow your business now!",keywords:"Flipkart seller, sell online, seller registration, online marketplace, e-commerce India",canonicalLink:"https://seller.flipkart.com/signUp/accountCreation/new"}),l().createElement(o.Fragment,null,l().createElement(A.m,null,l().createElement(I.A,{activePage:"signUp"}),l().createElement(w.A,null),l().createElement(P.N9,{hideProgressBar:!0,position:r?P.oR.POSITION.TOP_CENTER:P.oR.POSITION.TOP_RIGHT})),l().createElement(a.z,null))};var B,M,L,U,F,G,j,V,H=n(46071);"undefined"!=typeof window&&(window.scriptsLoaded=!0);var W=h()(),Y=function(e,t){var n=[(0,m.wf)(t),f.default],i=[(0,g.applyMiddleware)(...n)],r=g.compose;return(0,g.createStore)((0,m.S6)(t)(e),{},r(...i))}(y.A,W,"Login App"),K=document.getElementById("app"),$=(0,H.A)(),J=new C.A;document.getElementsByTagName("link")[0].href=null==J||null===(B=J.textStrings)||void 0===B||null===(M=B.sellerBoardCommon)||void 0===M?void 0:M.favicon;var q=l().lazy(()=>n.e(2126).then(n.t.bind(n,12126,23))),z=l().lazy(()=>n.e(7760).then(n.t.bind(n,57760,23))),Q=l().lazy(()=>n.e(2684).then(n.t.bind(n,42684,23))),X=l().lazy(()=>n.e(5735).then(n.t.bind(n,45735,23))),Z="/signUp/accountCreation/new"===window.location.pathname;u().render(l().createElement(d.Provider,{store:Y},l().createElement(m.Ny,{history:W},l().createElement(o.Suspense,{fallback:l().createElement(l().Fragment,null)},l().createElement(s.BrowserRouter,null,l().createElement(d.Provider,{store:Y},l().createElement(m.Ny,{history:W},l().createElement(S.X,{client:T.S},l().createElement(v.ThemeProvider,{theme:(0,_.A)()},Z?l().createElement(o.Fragment,null,l().createElement(x,null)):"HYPERLOCAL"===$?l().createElement(o.Fragment,null,(null==W||null===(L=W.location)||void 0===L?void 0:r()(U=L.pathname).call(U,"ignite"))>-1?l().createElement(l().Fragment,null):l().createElement(q,null),l().createElement(o.Suspense,{fallback:l().createElement(l().Fragment,null)},l().createElement(X,null)),l().createElement(z,null),l().createElement(a.z,null)):l().createElement(o.Fragment,null,(null==W||null===(F=W.location)||void 0===F?void 0:r()(G=F.pathname).call(G,"multi-select"))>-1?l().createElement(q,null):l().createElement(l().Fragment,null," "),l().createElement(o.Suspense,{fallback:l().createElement(l().Fragment,null)},l().createElement(Q,null)),(null==W||null===(j=W.location)||void 0===j?void 0:r()(V=j.pathname).call(V,"multi-select"))>-1?l().createElement(z,null):l().createElement(l().Fragment,null," "),l().createElement(a.z,null)))))))))),K)}},e=>{e.O(0,[903,8606,293,995,0,5639],()=>{return t=92505,e(e.s=t);var t});e.O()}]);