1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4636],{10063:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return o}});var d=c(59499),e=c(67294),f=c(41664),g=c(11163),h=c(17563),i=c(65259),j=c(11373),k=c(30528),l=c(55360),m=c(85893);function n(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);b&&(d=d.filter(function(b){return Object.getOwnPropertyDescriptor(a,b).enumerable})),c.push.apply(c,d)}return c}var o=!0;b.default=function(a){var b,c,o=a.order,p=(0,g.useRouter)(),q=(0,i._t)(p.locale);return e.useEffect(function(){localStorage.removeItem(l.PURCHASE_URL_STORAGE_KEY)},[]),(0,m.jsx)("div",{className:"OrdersNew",children:(0,m.jsxs)("div",{className:"container",children:[(0,m.jsx)("h1",{className:"OrdersNew__h1",children:q("pages.slug.orders.confirm.h1")}),(0,m.jsx)(k.Z,{order:{data:o}}),(0,m.jsx)("div",{className:"OrdersNew__next",children:(0,m.jsx)(f.default,{href:h.stringifyUrl({url:(0,j.wJ)(p.query.slug,null==o?void 0:null===(b=o.data)|| void 0===b?void 0:null===(c=b.attributes)|| void 0===c?void 0:c.slug),query:function(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{};b%2?n(Object(c),!0).forEach(function(b){(0,d.Z)(a,b,c[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):n(Object(c)).forEach(function(b){Object.defineProperty(a,b,Object.getOwnPropertyDescriptor(c,b))})}return a}({},p.query.single_checkout?{single_checkout:1}:{})}),children:(0,m.jsx)("a",{className:"Button","cypress-target":"go-to-payment",children:q("pages.slug.orders.confirm.a")})})})]})})}},55360:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return v},PURCHASE_URL_STORAGE_KEY:function(){return w}});var d=c(50029),e=c(16835),f=c(87794),g=c.n(f),h=c(67294),i=c(94184),j=c.n(i),k=c(41664),l=c(11163),m=c(31955),n=c(88767),o=c(81043),p=c(65259),q=c(39169),r=c(84691),s=c(11373),t=c(14635),u=c(85893),v=!0,w="purchase_url";b.default=function(){var a,b,c,f=(0,o.I0)(),i=(0,l.useRouter)(),v=(0,p._t)(i.locale),x=(0,r.wL)(),y=(0,e.Z)(x,1)[0],z=i.query.slug;h.useEffect(function(){var a,b;localStorage.getItem(w)||localStorage.setItem(w,"".concat("ja"==i.locale?"":"/".concat(i.locale)).concat(null!==(a=i.query)&& void 0!==a&&a.refPath?null===(b=i.query)|| void 0===b?void 0:b.refPath:s.P))},[]),h.useEffect(function(){c=localStorage.getItem(w)},[]);var A=(0,n.useMutation)(function(a){return p.kN.post(s.QI,a)},{onSuccess:function(){var a=(0,d.Z)(g().mark(function a(b){var d,e;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:m.Z.set(p.no,b.data.token),c==="/".concat(z,"/orders/new")?window.location.href="".concat("ja"==i.locale?"":"/".concat(i.locale)).concat(null!==(d=i.query)&& void 0!==d&&d.refPath?null===(e=i.query)|| void 0===e?void 0:e.refPath:s.P):c&&(window.location.href=c);case 2:case"end":return a.stop()}},a)}));return function(b){return a.apply(this,arguments)}}(),onError:function(a){var b,c;f((0,q.EA)({type:"red",small:null==a?void 0:null===(b=a.response)|| void 0===b?void 0:null===(c=b.data)|| void 0===c?void 0:c.message}))}}),B=null===(a=A.error)|| void 0===a?void 0:null===(b=a.response)|| void 0===b?void 0:b.data;return(0,u.jsx)("div",{className:"BuyerAdmin",children:(0,u.jsxs)("div",{className:"container",children:[(0,u.jsx)("h1",{className:"BuyerAdmin__h1",children:v("pages.loginBuyer.h1")}),(0,u.jsxs)("form",{className:j()("Session__form",{"Session__form--disabled":A.isLoading}),onSubmit:function(){var a=(0,d.Z)(g().mark(function a(b){var c,d,e;return g().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:b.preventDefault(),e=b.target,A.mutate({email:null===(c=e.elements.email)|| void 0===c?void 0:c.value,password:null===(d=e.elements.password)|| void 0===d?void 0:d.value});case 3:case"end":return a.stop()}},a)}));return function(b){return a.apply(this,arguments)}}(),children:[(0,u.jsx)(t.ZP,{label:v("pages.signupShop.form.email"),name:"email",_errors:B,eRef:y}),(0,u.jsx)(t.ZP,{label:v("pages.signupShop.form.password"),name:"password",type:"password",_errors:B}),(0,u.jsx)("button",{className:"Button","cypress-target":"buyer-login",children:v("pages.loginBuyer.form.submit")}),(0,u.jsx)("div",{className:"Session__form__forgot-password",children:(0,u.jsx)(k.default,{href:s.tG,children:(0,u.jsx)("a",{className:"Session__form__forgot-password__a",children:v("pages.loginBuyer.forgotPassword")})})}),(0,u.jsx)(k.default,{href:{pathname:s.y7,query:i.query.refPath?{refPath:i.query.refPath}:null},children:(0,u.jsx)("a",{className:"Button Button--border-purple",children:v("pages.loginBuyer.register")})})]})]})})}},11646:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]/orders/[orderSlug]/confirm",function(){return c(10063)}])}},function(a){a.O(0,[528,9774,2888,179],function(){return a(a.s=11646)}),_N_E=a.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.