PageSourceSearch

https://voggt.com/_next/static/chunks/8342-d8b3e49c5d0480fe.js

js voggt.com collected 2026-09-25 14:17:05 UTC 19,490 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8342],{36762:(n,e,t)=>{t.d(e,{m:()=>s});var r=t(37876),o=t(54990),i=t(14232),a=t(39952),u=t(43066),d=t(73125);let s=n=>{let{children:e}=n,t=(0,u.U)(u.W.MD),[s,c]=(0,i.useState)(!1);return(0,r.jsxs)("div",{onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),className:"relative",children:[(0,r.jsx)(d.j,{type:d.y.INFO,size:"sm",className:"fill-black-130"}),t?(0,r.jsx)(a.X,{open:s,onDismiss:()=>c(!1),children:e}):(0,r.jsx)(o.e,{as:i.Fragment,show:s,enter:"transition-opacity ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)("div",{className:"absolute z-10 p-2 text-sm dark:text-black bg-white rounded-lg shadow-md bottom-full mb-2 -right-52",children:e})})]})}},45165:(n,e,t)=>{t.d(e,{Ax:()=>W,F2:()=>$,Fd:()=>j,HB:()=>E,IK:()=>F,RG:()=>X,Xp:()=>L,Z9:()=>R,_I:()=>V,d8:()=>x,kr:()=>Q,lo:()=>z,um:()=>G,y4:()=>U});var r=t(28888),o=t(86191),i=t(31167),a=t(78248),u=t(58019),d=t(64177);function s(){let n=(0,r._)(["\n  fragment AuctionInfo on ShowAuction {\n    id\n    status\n    endAt\n    winningUser {\n      id\n      username\n      avatarWebPUrl(options: { width: 96 })\n      isViewer\n    }\n    product {\n      id\n      legacyId\n      name\n      description\n      images {\n        webPUrl(options: { width: 40 })\n        id\n        url\n      }\n    }\n    currency\n    amount: amountEuroCents\n    suggestedBidAmountCents\n    serverTime\n  }\n"]);return s=function(){return n},n}function c(){let n=(0,r._)(["\n  query GetViewerLastFailedPaymentOrder {\n    viewer {\n      id\n      lastFailedPaymentOrder {\n        id\n      }\n    }\n  }\n"]);return c=function(){return n},n}function l(){let n=(0,r._)(["\n  query GetShowEstimatedShippingFee($showId: ID!) {\n    show: node(id: $showId) {\n      ... on Show {\n        id\n        currentAuction {\n          currency\n          product {\n            serviceFeeForViewer\n            estimatedShippingAmountEuroCentsForViewer\n          }\n        }\n      }\n    }\n  }\n"]);return l=function(){return n},n}function m(){let n=(0,r._)(["\n  query GetShowCurrentAuction($showId: ID!) {\n    show: node(id: $showId) {\n      ... on Show {\n        id\n        currentAuction {\n          ...AuctionInfo\n        }\n      }\n    }\n  }\n  ","\n"]);return m=function(){return n},n}function p(){let n=(0,r._)(["\n  query GetShowCurrentAuctionAuthenticated($showId: ID!) {\n    show: node(id: $showId) {\n      ... on Show {\n        id\n        currentAuction {\n          ...AuctionInfo\n        }\n        shippingFeeConfigForViewer {\n          ... on ShippingFeeConfigInterval {\n            firstAmount {\n              amount\n              currency\n            }\n            intervalCount\n            intervalAmount {\n              amount\n              currency\n            }\n          }\n          ... on ShippingFeeConfigOnce {\n            amount {\n              amount\n              currency\n            }\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return p=function(){return n},n}function y(){let n=(0,r._)(["\n  query GetShowPreAuthorizationRequired($showId: ID!) {\n    show: node(id: $showId) {\n      ... on Show {\n        id\n        isPaymentPreAuthorizationRequired\n        paymentPreAuthorizationAmount\n        currency\n      }\n    }\n  }\n"]);return y=function(){return n},n}function f(){let n=(0,r._)(["\n  subscription OnAuctionStatusChanged($showId: ID!) {\n    changedEvent: showCurrentAuctionStatusChanged(showId: $showId) {\n      status\n      show {\n        id\n        currentAuction {\n          ...AuctionInfo\n        }\n      }\n    }\n  }\n  ","\n"]);return f=function(){return n},n}function h(){let n=(0,r._)(["\n  subscription OnAuctionBid($showId: ID!) {\n    bidEvent: showCurrentAuctionBidPlaced(showId: $showId) {\n      auction {\n        id\n        endAt\n        winningUser {\n          id\n          avatarWebPUrl(options: { width: 50 })\n          username\n          isViewer\n        }\n        amount: amountEuroCents\n        suggestedBidAmountCents\n        serverTime\n      }\n    }\n  }\n"]);return h=function(){return n},n}function I(){let n=(0,r._)(["\n  query GetOrderStatusAfterAuction($orderId: ID!) {\n    order: node(id: $orderId) {\n      ... on Order {\n        id\n        legacyId\n        paymentStatus\n        paymentIntentClientSecret\n        paymentType\n      }\n    }\n  }\n"]);return I=function(){return n},n}function w(){let n=(0,r._)(["\n  subscription OnOrderPaymentStatusUpdate($orderId: ID!) {\n    changeEvent: orderPaymentStatusChanged(orderId: $orderId) {\n      order {\n        ... on Order {\n          id\n          legacyId\n          paymentStatus\n          paymentIntentClientSecret\n          paymentType\n        }\n      }\n    }\n  }\n"]);return w=function(){return n},n}function S(){let n=(0,r._)(["\n  subscription OrderPaymentClientConfirmationRequired($orderId: ID!) {\n    orderPaymentClientConfirmationRequired(orderId: $orderId) {\n      order {\n        ... on Order {\n          id\n          legacyId\n          paymentStatus\n          paymentIntentClientSecret\n          paymentType\n        }\n      }\n    }\n  }\n"]);return S=function(){return n},n}function C(){let n=(0,r._)(["\n  subscription OnPreAuthorizationChanged {\n    changeEvent: preAuthorizationChanged {\n      preAuthorizedPaymentMethod {\n        ... on PaymentMethodCard {\n          id\n          preAuthorizationExpireAt\n        }\n        ... on PaymentMethodPaypal {\n          id\n          preAuthorizationExpireAt\n        }\n        ... on PaymentMethodPaypalRecurringPayment {\n          id\n          preAuthorizationExpireAt\n        }\n      }\n    }\n  }\n"]);return C=function(){return n},n}function g(){let n=(0,r._)(["\n  mutation PlaceBid($auctionId: ID!, $amountEuroCents: Int!) {\n    placeBidOnAuction(auctionId: $auctionId, amountEuroCents: $amountEuroCents) {\n      ok\n    }\n  }\n"]);return g=function(){return n},n}function P(){let n=(0,r._)(["\n  subscription ShowPaymentConfirmation($showId: ID!) {\n    orderPaymentClientConfirmationRequiredInShowForCustomer(showId: $showId) {\n      order {\n        product {\n          type\n          legacyId\n        }\n        id\n        legacyId\n        paymentIntentClientSecret\n        paymentStatus\n        paymentType\n        amountInCurrencyCents\n        currency\n      }\n    }\n  }\n"]);return P=function(){return n},n}function v(){let n=(0,r._)(["\n  subscription ShowPaymentStatusChanged($showId: ID!) {\n    orderPaymentStatusChangedInShowForCustomer(showId: $showId) {\n      order {\n        product {\n          type\n        }\n        id\n        legacyId\n        paymentStatus\n      }\n    }\n  }\n"]);return v=function(){return n},n}let A={},_=(0,o.J1)(s()),O=(0,o.J1)(c());function R(n){let e={...A,...n};return i.I(O,e)}let b=(0,o.J1)(l());function $(n){let e={...A,...n};return a._(b,e)}let T=(0,o.J1)(m(),_);function E(n){let e={...A,...n};return i.I(T,e)}let D=(0,o.J1)(p(),_);function F(n){let e={...A,...n};return i.I(D,e)}let J=(0,o.J1)(y());function U(n){let e={...A,...n};return a._(J,e)}let k=(0,o.J1)(f(),_);function x(n){let e={...A,...n};return u.R(k,e)}let B=(0,o.J1)(h());function G(n){let e={...A,...n};return u.R(B,e)}let N=(0,o.J1)(I());function j(n){let e={...A,...n};return i.I(N,e)}let q=(0,o.J1)(w());function z(n){let e={...A,...n};return u.R(q,e)}let M=(0,o.J1)(S());function V(n){let e={...A,...n};return u.R(M,e)}let Y=(0,o.J1)(C());function W(n){let e={...A,...n};return u.R(Y,e)}let H=(0,o.J1)(g());function L(n){let e={...A,...n};return d.n(H,e)}let Z=(0,o.J1)(P());function X(n){let e={...A,...n};return u.R(Z,e)}let K=(0,o.J1)(v());function Q(n){let e={...A,...n};return u.R(K,e)}},52884:(n,e,t)=>{t.d(e,{C:()=>v,u:()=>A});var r=t(37876),o=t(61902),i=t(27158),a=t(89099),u=t(45105),d=t.n(u),s=t(90861),c=t(14232),l=t(72608),m=t(74814),p=t(28451),y=t(6723),f=t(13700),h=t(70566),I=t(45165),w=t(2766),S=t(54357),C=function(n){return n.AUCTION="AUCTION",n.INSTANT_BUY="INSTANT_BUY",n.RETRY="RETRY",n.PRE_AUTHORIZATION="PRE_AUTHORIZATION",n}(C||{});let g=(0,c.createContext)({}),P=[i.nd.Success,i.nd.PendingSepaDebit],v=n=>{let{children:e}=n,{user:t}=(0,f.u)(),u=(0,o.useStripe)(),{t:d}=(0,s.Bd)(),{paymentMethod:C,refresh:v}=(0,p.j)(),{triggerToast:A}=(0,y.d)(),{query:O,pathname:R}=(0,a.useRouter)(),[b]=(0,l.f2)(),[$]=(0,h.SY)(),[T,E]=(0,c.useState)(!1),[D,F]=(0,c.useState)(null),[J,U]=(0,c.useState)(null),[k,x]=(0,c.useState)(i.nd.InProgress);
1(0,I.Ax)({skip:!t,onSubscriptionData:n=>{let{subscriptionData:{data:e}}=n;(null==e?void 0:e.changeEvent.preAuthorizedPaymentMethod.preAuthorizationExpireAt)&&(v(),M())}});let B=()=>{U(null),F(null),E(!1),x(i.nd.InProgress)},G=async n=>{let{orderId:e,callback:t}=n;A({status:"loading",content:d("auction:payment.inProgress")}),F("RETRY"),U(e),E(!0),b({variables:{orderId:e},onCompleted:n=>{let e=n.retryPayment.order;P.includes(e.paymentStatus)?M():e.paymentStatus===i.nd.Failed?V():q(e),null==t||t()},onError:n=>{V(n.message)}})},N=function(n,e){let{onFinalPaymentStatusReached:t}=e,{data:r}=(0,I.Fd)({fetchPolicy:"cache-and-network",variables:n?{orderId:n}:void 0,skip:null===n}),{trackEvent:o}=(0,w.O)(),{consumePromotion:a}=(0,S.Ah)();return(0,I.lo)({variables:n?{orderId:n}:void 0,skip:null===n,onSubscriptionData:n=>{let{subscriptionData:{data:e}}=n,r=null==e?void 0:e.changeEvent.order;r&&(a(),r.paymentStatus===i.nd.Success&&o("payment_success",{legacyOrderId:r.legacyId}),(r.paymentStatus===i.nd.Failed||r.paymentStatus===i.nd.Success)&&(null==t||t(r.paymentStatus)))}}),(0,I._I)({variables:n?{orderId:n}:void 0,skip:null===n}),(0,c.useMemo)(()=>{if(!n||!r||"Order"!==r.order.__typename)return null;let{order:e}=r;return{id:e.id,paymentStatus:e.paymentStatus,paymentIntentClientSecret:e.paymentIntentClientSecret,paymentType:e.paymentType}},[r,n])}(J,{onFinalPaymentStatusReached:n=>{n===i.nd.Success?M():n===i.nd.Failed&&V()}}),j=async(n,e)=>{if(!t)throw Error(d("auction:payment.failed"));switch(n){case i.dm.Paypal:case i.dm.PaypalRecurringPayment:{let n=await (null==u?void 0:u.confirmPayPalPayment(e,{return_url:window.location.href}));if(null==n?void 0:n.error)throw null==n?void 0:n.error;break}case i.dm.Card:{let n=await (null==u?void 0:u.confirmCardPayment(e,{return_url:window.location.href}));if(null==n?void 0:n.error)throw null==n?void 0:n.error;break}case i.dm.Ideal:{if(!(0,m.Kd)(C))throw Error("payment method must be Ideal: ".concat(null==C?void 0:C.type));let n=await (null==u?void 0:u.confirmIdealPayment(e,{return_url:window.location.href,payment_method:{ideal:{bank:C.bank},billing_details:{name:"string"==typeof C.name?C.name:void 0,email:"string"==typeof C.email?C.email:void 0}}}));if(null==n?void 0:n.error)throw null==n?void 0:n.error;break}case i.dm.Bancontact:{if(!(0,m.ev)(C))throw Error("payment method must be Bancontact: ".concat(null==C?void 0:C.type));let n=await (null==u?void 0:u.confirmBancontactPayment(e,{return_url:window.location.href,payment_method:{billing_details:{name:C.name,email:C.email}}}));if(null==n?void 0:n.error)throw null==n?void 0:n.error}}},q=async n=>{if(!u){console.error("[Payment provider]: Stripe is undefined",{order:n}),A({status:"failed",content:d("auction:payment.failed")});return}if(!n.paymentIntentClientSecret){if(n.paymentType===i.dm.PaypalRecurringPayment)return;console.error("[Payment provider]: Payment Intent Client Secret not defined",{order:n}),A({status:"failed",content:d("auction:payment.failed")});return}try{await j(n.paymentType,n.paymentIntentClientSecret)}catch(e){V(),console.error("Payment confirmation error:",e,{order:n})}},z=n=>{n&&n.paymentStatus!==i.nd.Success&&n.paymentIntentClientSecret&&(E(!0),q(n))},M=()=>{A({status:"success",content:d("auction:payment.success")}),E(!1),x(i.nd.Success),setTimeout(()=>B(),3e3)},V=n=>{A({status:"failed",content:null!=n?n:d("auction:payment.failed")}),E(!1),setTimeout(()=>B(),3e3)};return(0,c.useEffect)(()=>{N&&!T&&z(N)},[N]),(0,c.useEffect)(()=>{O.payment_intent&&O.payment_intent_client_secret&&!R.includes("account")&&("succeeded"===O.redirect_status?A({status:"success",content:d("auction:payment.success")}):"pending"===O.redirect_status?A({status:"success",content:d("auction:payment.pending")}):A({status:"failed",content:d("auction:payment.failed")}),setTimeout(()=>B(),3e3))},[O]),(0,r.jsxs)(g.Provider,{value:{processAuctionOrder:n=>{A({status:"loading",content:d("auction:payment.inProgress")}),F("AUCTION"),z(n)},processRetryPayment:G,processInstantBuyOrder:n=>{let{order:e}=n;A({status:"loading",content:d("auction:payment.inProgress")}),U(e.id),F("INSTANT_BUY"),E(!0),P.includes(e.paymentStatus)?M():e.paymentStatus===i.nd.Failed?V():q(e)},processPreAuthorizationPayment:n=>{let{showId:e}=n;A({status:"loading",content:d("auction:payment.inProgress")}),F("PRE_AUTHORIZATION"),E(!0),$({variables:{input:{showId:e}},onCompleted:n=>
1{let{processPreAuthorizationOnActivePaymentMethod:e}=n;j(null==C?void 0:C.type,e.paymentIntentClientSecret)},onError:n=>{V(n.message)}})},clearPaymentProcess:B,orderInPayment:N,isProcessingPayment:T,paymentStatus:k,orderPaymentSuccess:M},children:[e,(0,r.jsx)(_,{paymentMethod:C})]})},A=()=>(0,c.useContext)(g),_=n=>{let{paymentMethod:e}=n;if(!e||e.type!==i.dm.PaypalRecurringPayment&&e.type!==i.dm.Paypal)return null;let t=e.riskCorrelationId;return t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d(),{type:"application/json",fncls:"fnparams-dede7cc5-15fd-4c75-a9f4-36c430ee3a99",id:"paypal-fraudnet",children:JSON.stringify({f:t})}),(0,r.jsx)(d(),{type:"text/javascript",src:"https://c.paypal.com/da/r/fb.js"})]}):null}},56172:(n,e,t)=>{t.d(e,{z:()=>u});var r=t(37876),o=t(39952),i=t(13603),a=t(43066);let u=n=>{let{children:e,closePopup:t,open:u,size:d="lg",snapPoints:s}=n,c=(0,a.U)(a.W.MD)?o.X:i.a;return(0,r.jsx)(c,{open:u,onDismiss:t,close:t,size:d,snapPoints:s,children:e})}},72608:(n,e,t)=>{t.d(e,{A3:()=>R,DT:()=>v,GU:()=>$,f2:()=>E,jh:()=>g,qN:()=>_,xt:()=>S});var r=t(28888),o=t(86191),i=t(31167),a=t(78248),u=t(64177);function d(){let n=(0,r._)(["\n  fragment ShowOrder on ShowOrdersGroup {\n    id\n    show {\n      id\n      startAt\n      country {\n        name\n        id\n        iso2Code\n      }\n      currency\n      name\n      seller {\n        id\n        legacyId\n        avatarWebPUrl(options: { width: 40 })\n        username\n        cosmetics {\n          avatarFrame {\n            primaryColor\n            secondaryColor\n            webPUrl(options: { width: 40 })\n          }\n        }\n        sellerRating\n      }\n    }
1\n    orders(first: 1000) {\n      totalCount\n      edges {\n        node {\n          id\n        }\n      }\n    }\n    totalPaidProductAmountInCurrencyCents\n    totalPaidShippingAmountInCurrencyCents\n    totalPromotionAmountInCurrencyCents\n    shippingStatusSummary\n    paymentStatusSummary\n    statusSummary\n    canBeRated\n    rating\n    ratingComment\n    isReceived\n  }\n"]);return d=function(){return n},n}function s(){let n=(0,r._)(["\n  query GetUnconfirmedOrders($first: Int!) {\n    viewer {\n      id\n      lastFailedPaymentOrder {\n        id\n        legacyId\n      }\n      unconfirmedShowOrdersGroupsByShowDateDesc(first: $first) {\n        edges {\n          cursor\n          node {\n            ...ShowOrder\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return s=function(){return n},n}function c(){let n=(0,r._)(["\n  query GetConfirmedOrder($first: Int!) {\n    viewer {\n      id\n      confirmedShowOrdersGroupsByShowDateDesc(first: $first) {\n        edges {\n          cursor\n          node {\n            ...ShowOrder\n          }\n        }\n      }\n    }\n  }\n  ","\n"]);return c=function(){return n},n}function l(){let n=(0,r._)(["\n  query GetShowOrder($nodeId: ID!, $first: Int!) {\n    node(id: $nodeId) {\n      ... on ShowOrdersGroup {\n        id\n        firstOrderDate\n        shippingAddress {\n          inputCity\n          inputCountry\n          inputLine1\n          inputLine2\n          inputPostalCode\n          name\n        }\n        show {\n          id\n          startAt\n          name\n          seller {\n            username\n            avatarWebPUrl(options: { width: 80 })\n            sellerRating\n            cosmetics {\n              avatarFrame {\n                primaryColor\n                secondaryColor\n                webPUrl(options: { width: 80 })\n              }\n            }\n          }\n          category {\n            id\n            name\n            colorAccent\n          }\n          country {\n            id\n            name\n          }\n        }\n        shippingProviderName\n        trackingNumber\n        trackingUrl\n        orders(first: $first) {\n          totalCount\n          edges {\n            node {\n              id\n              product {\n                id\n                name\n                description\n              }\n              currency\n              amountInCurrencyCents\n              buyerServiceFee {\n                amount\n                currency\n              }\n            }\n          }\n        }\n        currency\n        totalBuyerServiceFee {\n          amount\n          currency\n        }\n        shippingStatusSummary\n        paymentStatusSummary\n        statusSummary\n        totalPaidShippingAmountInCurrencyCents\n        totalPaidProductAmountInCurrencyCents\n        totalPromotionAmountInCurrencyCents\n        canBeRated\n        rating\n        ratingComment\n        isReceived\n        canBeConfirmedAsReceived\n      }\n    }\n  }\n"]);return l=function(){return n},n}function m(){let n=(0,r._)(["\n  query GetOrderById($nodeId: ID!) {\n    node(id: $nodeId) {\n      ... on Order {\n        id\n        legacyId\n        name\n        createdAt\n        paymentStatus\n        product {\n          name\n          description\n        }\n        amountInCurrencyCents\n        currency\n        shippingAmountInCurrencyCents\n        promotionAmount\n      }\n    }\n  }\n"]);return m=function(){return n},n}function p(){let n=(0,r._)(["\n  mutation ConfirmOrdersGroupReceived($input: ConfirmOrdersGroupReceivedInput!) {\n    confirmOrdersGroupReceived(input: $input) {\n      showOrdersGroup {\n        id\n        isReceived\n        canBeRated\n      }\n    }\n  }\n"]);return p=function(){return n},n}function y(){let n=(0,r._)(["\n  mutation RateReceivedOrdersGroup($input: RateReceivedOrdersGroupInputV3!) {\n    rateReceivedOrdersGroupV3(input: $input) {\n      ok\n    }\n  }\n"]);return y=function(){return n},n}function f(){let n=(0,r._)(["\n  mutation RetryPayment($orderId: ID!) {\n    retryPayment(orderId: $orderId) {\n      order {\n        id\n        paymentIntentClientSecret\n        paymentType\n        paymentStatus\n      }\n    }\n  }\n"]);return f=function(){return n},n}let h={},I=(0,o.J1)(d()),w=(0,o.J1)(s(),I);function S(n){let e={...h,...n};return i.I(w,e)}let C=(0,o.J1)(c(),I);function g(n){let e={...h,...n};return i.I(C,e)}let P=(0,o.J1)(l());function v(n){let e={...h,...n};return i.I(P,e)}let A=(0,o.J1)(m());function _(n){let e={...h,...n};return a._(A,e)}let O=(0,o.J1)(p());function R(n){let e={...h,...n};return u.n(O,e)}let b=(0,o.J1)(y());function $(n){let e={...h,...n};return u.n(b,e)}let T=(0,o.J1)(f());function E(n){let e={...h,...n};return u.n(T,e)}}}]);

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.