PageSourceSearch

https://photoaid.com/_next/static/chunks/6564.d1e3fe6154dab78c.js

js photoaid.com collected 2026-10-01 10:28:10 UTC 4,195 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="77e0e3a1-0e6f-4194-8bcb-0e2eb6732786",e._sentryDebugIdIdentifier="sentry-dbid-77e0e3a1-0e6f-4194-8bcb-0e2eb6732786")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6564],{76564:function(e,t,n){"use strict";n.r(t),n.d(t,{BuyPrintoutsPage:function(){return C}});var i=n(57460),r=n(6692),o=n(52322),a=n(44105),l=n(11603);n(2784);var d=n(92428),s=n(84779),c=n(35182),u=n(93977);let p=async e=>{try{let t=await (0,u.N)("api/upsell",{params:{photoKey:e.photoId},cache:"reload"});return{type:"Fetched",value:t}}catch(e){return{type:"FetchError",error:e}}};var h=n(14150),m=n(78595),y=n(32946),f=n(77502),g=n(20192);let v=n(93990).Q.UPSELLING,P=async(e,t)=>{var n,r,o,a,l,d,u,P,_,b;let I=await e,{photoKey:E}=I,[S,w,x,T]=await Promise.all(["HUMAN_CORRECTED"===I.helpdeskStatus&&I.result.seed?(0,s.Jx)("corrected",{photoKey:E,seed:I.result.seed}):(0,s.gJ)("result",{photoKey:E}),(0,s.j9)({translationId:I.documentTranslationId}),(0,s.p2)({photoId:E,language:I.documentLanguage}),p({photoId:E})]);if("Fetched"!==T.type)throw Error("Upsell printouts fetch failed");let O=T.value,k=[m.Z.fallbackDeliveryMethod];Array.isArray(x.deliveryMethods)&&x.deliveryMethods.length>0&&(k=x.deliveryMethods.map(h.d).filter(e=>null!==e));let D=x.extraServices.map(y.d).filter(e=>null!==e),L=[new c.Q(O.price1,1),new c.Q(O.price2,2),new c.Q(O.price3,3)],N={email:O.client.email,clientName:null!==(n=O.client.clientName)&&void 0!==n?n:"",address:null!==(r=O.client.address)&&void 0!==r?r:"",zipCode:null!==(o=O.client.zipCode)&&void 0!==o?o:"",city:null!==(a=O.client.city)&&void 0!==a?a:"",country:null!==(l=O.client.country)&&void 0!==l?l:"",stateCode:null!==(d=O.client.stateCode)&&void 0!==d?d:""},C=(0,g.d)(v,E,{products:L,extraServices:D});return{photoKey:E,helpdeskStatus:I.helpdeskStatus,shortPhotoKey:x.shortPhotoKey,photoBase64:S.normal,currency:x.currency,document:{id:w.documentId,translationId:w.documentTranslationId,name:w.documentName,categories:w.categories,countryCode:w.countryCode,language:w.documentLanguage,coverURL:w.documentURL,dimensions:w.documentDimensions,numberOfPhotosOnPrintout:w.numberOfPhotosOnPrintout,enableDelivery:w.enableDelivery},products:L,namespace:v,formData:{[f.X.PHOTO_OPTION]:(0,i._)({selectedProductIndex:0},null!==(u=C[f.X.PHOTO_OPTION])&&void 0!==u?u:{}),[f.X.DELIVERY_DETAILS]:(0,i._)({deliveryMethodId:String(k[0].id)},N,null!==(P=C[f.X.DELIVERY_DETAILS])&&void 0!==P?P:{}),[f.X.EXTRA_SERVICES]:null!==(_=C[f.X.EXTRA_SERVICES])&&void 0!==_?_:{},[f.X.PAYMENT]:null!==(b=C[f.X.PAYMENT])&&void 0!==b?b:{}},deliveryMethods:k,extraServices:D,config:{editorModalEnabled:!1},checkoutStatus:"new"}};var _=n(52100),b=n(40539),I=n(54102),E=n(42979),S=n(75731),w=n(84675),x=n(67654),T=n(95277),O=n(9126),k=n(98991),D=n(61848),L=n.n(D);let N=()=>{let{i18n:e}=(0,b.c)();return(0,o.jsx)("div",{className:L().titleWrapper,children:(0,o.jsx)(x.Z,{size:"2xl",children:e("common.printoutsPage.title")})})},C=e=>{let{i18n:t}=(0,l.T)(),n=(0,E.y)();return(0,o.jsxs)("div",{className:L().wrapper,children:[(0,o.jsx)(S.I,{}),(0,o.jsx)(O.HS,{value:k.P9,children:(0,o.jsx)(d.o,{loader:P,children:(0,o.jsxs)(a.A,(0,r._)((0,i._)({},e),{head:(0,r._)((0,i._)({},e.head),{title:t("common.paymentPage.htmlTitle")}),fixedButton:{alwaysVisible:!0,render:()=>(0,o.jsx)(_.TX,{})},hideUnfinishedOrderPopup:!0,hideFooter:n,HeaderComponent:()=>null,children:[(0,o.jsx)(I.h,{components:{Title:N},config:{productListSectionTitle:t("common.printoutsPage.productSelectionStep.title"),productListStepLabel:t("common.printoutsPage.productListStep"),safeWithUsHeading:t("photoaid.multistepPaymentPage.safeWithUsSection.heading"),hideBackOnFirstStep:!0,buttonImportance:"primary"}}),(0,o.jsx)(T.R,{hideRetake:!0}),(0,o.jsx)(w.c,{pendingAnimationSrc:"/_static/animations/blik.pending.riv",successAnimationSrc:"/_static/animations/blik.success.riv"})]}))})})]})}},61848:function(e){e.exports={titleWrapper:"BuyPrintoutsPage_titleWrapper__2pWYo",wrapper:"BuyPrintoutsPage_wrapper__Q7fJ9"}}}]);

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.