1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8683],{1897:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});let i={src:"/_next/static/media/panda-chewing-web-2x.74c6a765.png",height:614,width:574,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAaVBMVEVMaXENDAzc3Nzo5+f19fVPTUqWl44dHR9VVFXk4+NpaWl+dmtiYl94f2Kwr7OFg4NTS0EhIhcjIyMNDQ1YWFg3TxEbIRJZUky5ubh0c3Q1My5mXFCysrIkKBYsKCKGhYWfoKG7ubzt7OubHXmpAAAAHHRSTlMA57nn/eLxJ/z+Db39+Omf8IvmurOAVFPY/G7wk/20HQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAEJJREFUCJklxUcCgCAMBMBFWoIi9gbG8v9HenAugzBpnTyAqtztv4s94Adq5JwxXoYfWqDI8LsFWCm8y4G6s07l9QNYCAMX7mn2bQAAAABJRU5ErkJggg==",blurWidth:7,blurHeight:8}},10854:(t,e,n)=>{"use strict";n.d(e,{JG:()=>c,nd:()=>s,pQ:()=>a});var i=n(29935),r=n(82643),o=n(77248),s=function(){return(0,i._)(function(){return(0,r.YH)(this,function(t){switch(t.label){case 0:return[4,(0,o.Jt)("/backend/photoshop/checkout/status",void 0,!1,!0)];case 1:return[2,t.sent()]}})})()},c=function(){return(0,i._)(function(){return(0,r.YH)(this,function(t){switch(t.label){case 0:return[4,(0,o.bE)("/backend/photoshop/checkout/intent",void 0,!1,!0)];case 1:return[2,t.sent()]}})})()},a=function(t){return(0,i._)(function(){return(0,r.YH)(this,function(e){switch(e.label){case 0:return[4,(0,o.bE)("/backend/photoshop/checkout/submit",t,!1,!0)];case 1:return[2,e.sent()]}})})()}},18004:(t,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/photoshop-complete",function(){return n(85710)}])},22982:(t,e,n)=>{"use strict";n.d(e,{f:()=>u});var i=n(15383),r=n(69074),o=n(19777),s=n(73154),c=n(97252),a=function(t){var e=t.authenticated,n=t.redirect;return(0,i.jsx)(r.A,{color:"green",size:"large",onClick:function(){window.location.href=e?"/dashboard/".concat(n):window.location.origin.replace("tinify.com","tinypng.com")},children:e?"Visit dashboard":"Back to homepage"})},u=function(t){var e=t.title,n=t.subtitle,r=t.action,u=t.redirect,h="authenticated"===(0,s.md)(c.e).state;return(0,i.jsxs)(o.W,{title:e,subtitle:n,children:[(0,i.jsx)("h2",{children:"Payment failed"}),(0,i.jsx)("h4",{children:"Your order has not been processed"}),(0,i.jsxs)("p",{children:[void 0===r?"You can attempt to purchase the product or service again.":r," However, if you believe this is an error, please contact"," ",(0,i.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"}),"."]}),(0,i.jsx)(a,{authenticated:h,redirect:u})]})}},85710:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var i=n(29935),r=n(12694),o=n(82643),s=n(15383),c=n(14343),a=n(69074),u=n(19777),h=n(1897),l=function(t){var e=t.title,n=t.subtitle,i=t.status;return(0,s.jsxs)(u.W,{title:e,subtitle:n,image:h.A.src,pandaHeight:34,children:[(0,s.jsx)("h2",{children:"Plugin purchased succesfully"}),(0,s.jsx)("h4",{children:"Your order is being processed. Thanks for your support!"}),(0,s.jsxs)("p",{children:["We are provisioning your license and will shortly send a confirmation to"," ",(0,s.jsx)("span",{className:"email",children:(null==i?void 0:i.email)||"you"}),". You can"," ",(0,s.jsx)("strong",{children:"download your plugin"})," from your dashboard in a few moments."]}),(0,s.jsx)(a.A,{color:"blue",size:"large",handleSubmit:function(){window.location.href="/dashboard/photoshop"},children:"Visit dashboard"})]})},d=n(59344),p=n(10854),A=n(22982);function f(){var t=!0;"failed"==new URLSearchParams(window.location.search).get("redirect_status")&&(t=!1);var e=(0,r._)((0,c.useState)(),2),n=e[0],a=e[1];return(0,c.useEffect)(function(){(0,i._)(function(){return(0,o.YH)(this,function(t){switch(t.label){case 0:return[4,(0,p.nd)()];case 1:return a(t.sent()),[2]}})})()},[]),(0,s.jsx)(d.P,{title:"Photoshop checkout",description:"Photoshop plugin checkout page",bare:!0,children:t?(0,s.jsx)(l,{title:(0,s.jsx)("h1",{children:"Checkout"}),subtitle:(0,s.jsx)("h2",{children:"Photoshop plugin"}),status:n}):(0,s.jsx)(A.f,{title:(0,s.jsx)("h1",{children:"Checkout"}),subtitle:(0,s.jsx)("h2",{children:"Photoshop plugin"}),redirect:"photoshop"})})}}},t=>{t.O(0,[5645,4668,2963,2474,8816,7243,7462,6213,5379,9344,3506,636,6593,8792],()=>t(t.s=18004)),_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.