PageSourceSearch

https://www.customerlift.ai/_next/static/chunks/pages/store-setup-failed-fa5429ff0445c4e5.js

js customerlift.ai collected 2026-10-05 15:31:41 UTC 1,927 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[170],{1364:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/store-setup-failed",function(){return n(1944)}])},1944:function(t,e,n){"use strict";n.r(e);var s=n(5893),i=n(9008),o=n.n(i),r=n(7294),a=n(4871),c=n(9580),l=n(8493),u=n(5811),d=n(4202);e.default=()=>{let[t,e]=(0,r.useState)(!1),[n,i]=(0,r.useState)(""),h=async()=>{e(!0),i("");try{await (0,d.z)(),await (0,l.T)(),window.location.assign("/auth/shopify-login")}catch(e){var t,n;console.log(e),(0,u.I)(e)&&(null===(n=e.response)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.message)?i(e.response.data.message):i("Whoops, something went wrong.")}e(!1)};return(0,s.jsxs)("div",{className:"flex justify-center mt-20",children:[(0,s.jsx)(o(),{children:(0,s.jsxs)("title",{children:["Store Setup Failed | ",c.iC]})}),(0,s.jsxs)("div",{className:"bg-white px-5 py-10 rounded-2xl border border-black",style:{maxWidth:600},children:[(0,s.jsx)("h1",{className:"text-center",children:"Hmmm, something went wrong during set up"}),(0,s.jsx)("p",{className:"text-center mt-8 mb-6",children:"Looks like something went wrong when trying to import your store data into CustomerLift."}),(0,s.jsx)("p",{className:"text-center",children:"But not to worry -- when you next log in we will restart the set up process. (But if this issue happens again, don't hesitated to contact us!)"}),(0,s.jsx)("div",{className:"flex justify-center mt-10",children:(0,s.jsx)(a.Z,{onClick:h,isLoading:t,children:"Log In Via Shopify"})}),(0,s.jsx)("p",{className:"text-red-400 text-sm text-center mt-8",children:n})]})]})}},8493:function(t,e,n){"use strict";n.d(e,{T:function(){return r}});var s=n(9669),i=n.n(s),o=n(9580);function r(){return i().post(o.z0+"/api/auth/logout",void 0,{withCredentials:!0})}},9008:function(t,e,n){t.exports=n(7828)}},function(t){t.O(0,[888,774,179],function(){return t(t.s=1364)}),_N_E=t.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.