-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-app-upstox-welcome-index-js-0c22838bdc19122f4f05.js
2 lines (2 loc) · 4.35 KB
/
component---src-pages-app-upstox-welcome-index-js-0c22838bdc19122f4f05.js
1
2
"use strict";(self.webpackChunkkaagzi=self.webpackChunkkaagzi||[]).push([[250],{3072:function(e,t,n){n.d(t,{L:function(){return c},Z:function(){return o}});var a=n(7294),i=n(1883);function r(e){return(0,i.useStaticQuery)("3384279610").site.siteMetadata}function o(e){let{title:t,description:n,featuredImage:i,urlPath:o,children:c}=e;const{siteName:s,title:l,description:p,featuredImage:m,siteUrl:g,favicon:d,themeColor:h}=r(),u=`${g}${o||""}`,w=t?s+" - "+t:l,y=n||p,f=`${g}${i||m}`;return a.createElement(a.Fragment,null,a.createElement("title",null,w),a.createElement("meta",{name:"description",content:y}),a.createElement("meta",{name:"image",content:f}),a.createElement("link",{rel:"icon",href:d,type:"image/x-icon"}),a.createElement("link",{rel:"canonical",href:u}),a.createElement("meta",{name:"theme-color",content:h}),a.createElement("meta",{property:"og:title",content:w}),a.createElement("meta",{property:"og:description",content:y}),a.createElement("meta",{property:"og:image",content:f}),a.createElement("meta",{property:"og:url",content:u}),a.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"https://schema.org","@type":"OnlineBusiness","@id":"https://kaagzi.in#org",image:`${g}${m}`,url:"https://kaagzi.in",sameAs:["https://www.instagram.com/_kaagzi/"],logo:"https://kaagzi.in/img/kaagzi-logo.webp",name:"Kaagzi",description:p,email:"[email protected]",telephone:"+91-9920066694",contactPoint:{contactType:"Customer Service",email:"[email protected]",telephone:"+91-9920066694"},address:{"@type":"PostalAddress",streetAddress:"A/1, Milap, Navagaon",addressLocality:"Mumbai",addressCountry:"IN",addressRegion:"Dahisar West",postalCode:"400068"},founder:{"@type":"Person",name:"Nimish Rajwade",sameAs:["https://www.instagram.com/nimish.rajwade/","https://www.facebook.com/nimish.rajwade/"]}})),a.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"https://schema.org/","@type":"WebSite","@id":"https://kaagzi.in#website",name:"Kaagzi",url:"https://kaagzi.in/",publisher:{"@id":"https://kaagzi.in#org"}})),a.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"https://schema.org/","@type":"WebPage",name:w,headline:w,description:y,url:u,isPartOf:{"@id":"https://kaagzi.in#website"},publisher:{"@id":"https://kaagzi.in#org"}})),a.createElement("script",{type:"application/ld+json"},JSON.stringify({"@context":"https://schema.org","@type":["WebApplication","MobileApplication"],name:"Kaagzi",operatingSystem:["Android","iOS","Windows"],applicationCategory:"FinanceApplication",installUrl:"https://kaagzi.in/app",aggregateRating:{"@type":"AggregateRating",ratingValue:"4.9",ratingCount:"369"},offers:{"@type":"Offer",price:"75.00",priceCurrency:"INR",eligibleRegion:{"@type":"Country",name:"IN"}},copyrightHolder:{"@type":"Person",name:"Nimish Rajwade",sameAs:["https://www.instagram.com/nimish.rajwade/","https://www.facebook.com/nimish.rajwade/"]},creator:{"@id":"https://kaagzi.in#org"},publisher:{"@id":"https://kaagzi.in#org"}})),c)}function c(e){let{title:t,description:n,children:i}=e;const{siteName:o,title:c,description:s,favicon:l,themeColor:p}=r(),m=t?o+" | "+t:c,g=n||s;return a.createElement(a.Fragment,null,a.createElement("title",null,m),a.createElement("meta",{name:"description",content:g}),a.createElement("link",{rel:"icon",href:l,type:"image/x-icon"}),a.createElement("meta",{name:"theme-color",content:p}),a.createElement("meta",{property:"og:title",content:m}),a.createElement("meta",{property:"og:description",content:g}),a.createElement("meta",{name:"robots",content:"noindex"}),i)}},9199:function(e,t,n){n.r(t),n.d(t,{Head:function(){return s},default:function(){return c}});var a=n(7294),i=n(1883),r=n(3461),o=n(3072);function c(){const{0:e,1:t}=(0,a.useState)(!1),{0:n,1:o}=(0,a.useState)(!1);return(0,a.useEffect)((()=>{window.opener?(async()=>{const e=await(async()=>{try{const e=window.location.href;if(!e)throw new Error;const t=new URLSearchParams(new URL(e).search).get("code");if(!t)throw new Error;return t}catch(e){return console.error(e.message||"Error while authenticating with Upstox! Kindly re-login"),null}})();window.opener.postMessage({authCode:e}),window.close()})():(0,i.navigate)("/app/upstox")}),[]),!e&&!n&&a.createElement(r.Z,{note:"Signing into Upstox"})}function s(){return a.createElement(o.L,null)}}}]);
//# sourceMappingURL=component---src-pages-app-upstox-welcome-index-js-0c22838bdc19122f4f05.js.map