PageSourceSearch

https://vansite.eu/builds/1.96.8-a6ae08a/static/js/4860.5278bb4e.chunk.js

js vansite.eu collected 2026-09-24 11:52:21 UTC 19,018 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="97d6a373-3c50-4490-bcea-75e71a26efba",e._sentryDebugIdIdentifier="sentry-dbid-97d6a373-3c50-4490-bcea-75e71a26efba")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"a6ae08a33ab61357713570b122848fdd488abbd7"};(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4860],{50773(t,n,r){!function(t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e){return u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(null==e)return{};var n,r,o={},u=Object.keys(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function s(e,t){if(null==e)return{};var n,r,o=i(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r<u.length;r++)n=u[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function a(e,t){return l(e)||p(e,t)||f(e,t)||m()}function l(e){if(Array.isArray(e))return e}function p(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,u=[],c=!0,i=!1;try{for(n=n.call(e);!(c=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);c=!0);}catch(s){i=!0,o=s}finally{try{c||null==n.return||n.return()}finally{if(i)throw o}}return u}}function f(e,t){if(e){if("string"===typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var y,v,g,C,b={exports:{}};function E(){return v?y:(v=1,y="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function k(){if(C)return g;C=1;var e=E();function t(){}function n(){}return n.resetWarningCache=t,g=function(){function r(t,n,r,o,u,c){if(c!==e){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function o(){return r}r.isRequired=r;var u={array:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return u.PropTypes=u,u}}b.exports=k()();var S=h(b.exports),w=function(e,t,r){var o=!!r,u=n.useRef(r);n.useEffect((function(){u.current=r}),[r]),n.useEffect((function(){if(!o||!e)return function(){};var n=function(){u.current&&u.current.apply(u,arguments)};return e.on(t,n),function(){e.off(t,n)}}),[o,t,e,u])},P=function(e){var t=n.useRef(e);return n.useEffect((function(){t.current=e}),[e]),t.current},O=function(e){return null!==e&&"object"===u(e)},j=function(e){return O(e)&&"function"===typeof e.then},A=function(e){return O(e)&&"function"===typeof e.elements&&"function"===typeof e.createToken&&"function"===typeof e.createPaymentMethod&&"function"===typeof e.confirmCardPayment},x="[object Object]",_=function e(t,n){if(!O(t)||!O(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===x;if(o!==(Object.prototype.toString.call(n)===x))return!1;if(!o&&!r)return t===n;var u=Object.keys(t),c=Object.keys(n);if(u.length!==c.length)return!1;for(var i={},s=0;s<u.length;s+=1)i[u[s]]=!0;for(var a=0;a<c.length;a+=1)i[c[a]]=!0;var l=Object.keys(i);if(l.length!==u.length)return!1;var p=t,f=n,d=function(t){return e(p[t],f[t])};return l.every(d)},L=function(e,t,n){return O(e)?Object.keys(e).reduce((function(r,u){var i=!O(t)||!_(e[u],t[u]);
1return n.includes(u)?(i&&console.warn("Unsupported prop change: options.".concat(u," is not a mutable property.")),r):i?o(o({},r||{}),{},c({},u,e[u])):r}),null):null},R="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",I=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(null===e||A(e))return e;throw new Error(t)},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:R;if(j(e))return{tag:"async",stripePromise:Promise.resolve(e).then((function(e){return I(e,t)}))};var n=I(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},T=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"2.8.1"}),e.registerAppInfo({name:"react-stripe-js",version:"2.8.1",url:"https://stripe.com/docs/stripe-js/react"}))},D=n.createContext(null);D.displayName="ElementsContext";var U=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},B=function(e){var t=e.stripe,r=e.options,o=e.children,u=n.useMemo((function(){return N(t)}),[t]),c=a(n.useState((function(){return{stripe:"sync"===u.tag?u.stripe:null,elements:"sync"===u.tag?u.stripe.elements(r):null}})),2),i=c[0],s=c[1];n.useEffect((function(){var e=!0,t=function(e){s((function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}}))};return"async"!==u.tag||i.stripe?"sync"!==u.tag||i.stripe||t(u.stripe):u.stripePromise.then((function(n){n&&e&&t(n)})),function(){e=!1}}),[u,i,r]);var l=P(t);n.useEffect((function(){null!==l&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")}),[l,t]);var p=P(r);return n.useEffect((function(){if(i.elements){var e=L(r,p,["clientSecret","fonts"]);e&&i.elements.update(e)}}),[r,p,i.elements]),n.useEffect((function(){T(i.stripe)}),[i.stripe]),n.createElement(D.Provider,{value:i},o)};B.propTypes={stripe:S.any,options:S.object};var Y=function(e){var t=n.useContext(D);return U(t,e)},M=function(){return Y("calls useElements()").elements},W=function(e){return(0,e.children)(Y("mounts <ElementsConsumer>"))};W.propTypes={children:S.func.isRequired};var q=["on","session"],F=n.createContext(null);F.displayName="CustomCheckoutSdkContext";var H=function(e,t){if(!e)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(t," in an <CustomCheckoutProvider> provider."));return e},K=n.createContext(null);K.displayName="CustomCheckoutContext";var $=function(e,t){if(!e)return null;e.on,e.session;var n=s(e,q);return o(o({},n),t||e.session())},V="Invalid prop `stripe` supplied to `CustomCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",z=function(e){var t=e.stripe,r=e.options,o=e.children,u=n.useMemo((function(){return N(t,V)}),[t]),c=a(n.useState(null),2),i=c[0],s=c[1],l=a(n.useState((function(){return{stripe:"sync"===u.tag?u.stripe:null,customCheckoutSdk:null}})),2),p=l[0],f=l[1],d=function(e,t){f((function(n){return n.stripe&&n.customCheckoutSdk?n:{stripe:e,customCheckoutSdk:t}}))},m=n.useRef(!1);n.useEffect((function(){var e=!0;return"async"!==u.tag||p.stripe?"sync"===u.tag&&u.stripe&&!m.current&&(m.current=!0,u.stripe.initCustomCheckout(r).then((function(e){e&&(d(u.stripe,e),e.on("change",s))}))):u.stripePromise.then((function(t){t&&e&&!m.current&&(m.current=!0,t.initCustomCheckout(r).then((function(e){e&&(d(t,e),e.on("change",s))})))})),function(){e=!1}}),[u,p,r,s]);var h=P(t);n.useEffect((function(){null!==h&&h!==t&&console.warn("Unsupported prop change on CustomCheckoutProvider: You cannot change the `stripe` prop after setting it.")}),[h,t]);var y=P(r);n.useEffect((function(){var e,t;if(p.customCheckoutSdk){!r.clientSecret||O(y)||_(r.clientSecret,y.clientSecret)||console.warn("Unsupported prop change: options.client_secret is not a mutable property.");var n=null===y||void 0===y||null===(e=y.elementsOptions)||void 0===e?void 0:e.appearance,o=null===r||void 0===r||null===(t=r.elementsOptions)||void 0===t?void 0:t.appearance;o&&!_(o,n)&&p.customCheckoutSdk.changeAppearance(o)}}),[r,y,p.customCheckoutSdk]),n.useEffect((function(){T(p.stripe)}),[p.stripe]);var v=n.useMemo((function(){return $(p.customCheckoutSdk,i)}),[p.customCheckoutSdk,i]);return p.customCheckoutSdk?n.createElement(F.Provider,{value:p},n.createElement(K.Provider,{value:v},o)):null};z.propTypes={stripe:S.any,options:S.shape({clientSecret:S.string.isRequired,elementsOptions:S.object}).isRequired};var G=function(e){var t=n.useContext(F);return H(t,e)},J=function(e){var t=n.useContext(F),r=n.useContext(D);if(t&&r)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return t?H(t,e):U(r,e)},Q=function(){G("calls useCustomCheckout()");var e=n.useContext(K);if(!e)throw new Error("Could not find CustomCheckout Context; You need to wrap the part of your app that calls useCustomCheckout() in an <CustomCheckoutProvider> provider.");return e},X=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},Z=function(e,t){var r="".concat(X(e),"Element"),o=t?function(e){J("mounts <".concat(r,">"));var t=e.id,o=e.className;return n.createElement("div",{id:t,className:o})}:function(t){var o,u=t.id,c=t.className,i=t.options,s=void 0===i?{}:i,l=t.onBlur,p=t.onFocus,f=t.onReady,d=t.onChange,m=t.onEscape,h=t.onClick,y=t.onLoadError,v=t.onLoaderStart,g=t.onNetworksChange,C=t.onConfirm,b=t.onCancel,E=t.onShippingAddressChange,k=t.onShippingRateChange,S=J("mounts <".concat(r,">")),O="elements"in S?S.elements:null,j="customCheckoutSdk"in S?S.customCheckoutSdk:null,A=a(n.useState(null),2),x=A[0],_=A[1],R=n.useRef(null),I=n.useRef(null);
1w(x,"blur",l),w(x,"focus",p),w(x,"escape",m),w(x,"click",h),w(x,"loaderror",y),w(x,"loaderstart",v),w(x,"networkschange",g),w(x,"confirm",C),w(x,"cancel",b),w(x,"shippingaddresschange",E),w(x,"shippingratechange",k),w(x,"change",d),f&&(o="expressCheckout"===e?f:function(){f(x)}),w(x,"ready",o),n.useLayoutEffect((function(){if(null===R.current&&null!==I.current&&(O||j)){var t=null;j?t=j.createElement(e,s):O&&(t=O.create(e,s)),R.current=t,_(t),t&&t.mount(I.current)}}),[O,j,s]);var N=P(s);return n.useEffect((function(){if(R.current){var e=L(s,N,["paymentRequest"]);e&&"update"in R.current&&R.current.update(e)}}),[s,N]),n.useLayoutEffect((function(){return function(){if(R.current&&"function"===typeof R.current.destroy)try{R.current.destroy(),R.current=null}catch(e){}}}),[]),n.createElement("div",{id:u,className:c,ref:I})};return o.propTypes={id:S.string,className:S.string,onChange:S.func,onBlur:S.func,onFocus:S.func,onReady:S.func,onEscape:S.func,onClick:S.func,onLoadError:S.func,onLoaderStart:S.func,onNetworksChange:S.func,onConfirm:S.func,onCancel:S.func,onShippingAddressChange:S.func,onShippingRateChange:S.func,options:S.object},o.displayName=r,o.__elementType=e,o},ee="undefined"===typeof window,te=n.createContext(null);te.displayName="EmbeddedCheckoutProviderContext";var ne=function(){var e=n.useContext(te);if(!e)throw new Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return e},re="Invalid prop `stripe` supplied to `EmbeddedCheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",oe=function(e){var t=e.stripe,r=e.options,o=e.children,u=n.useMemo((function(){return N(t,re)}),[t]),c=n.useRef(null),i=n.useRef(null),s=a(n.useState({embeddedCheckout:null}),2),l=s[0],p=s[1];n.useEffect((function(){if(!i.current&&!c.current){var e=function(e){i.current||c.current||(i.current=e,c.current=i.current.initEmbeddedCheckout(r).then((function(e){p({embeddedCheckout:e})})))};"async"!==u.tag||i.current||!r.clientSecret&&!r.fetchClientSecret?"sync"!==u.tag||i.current||!r.clientSecret&&!r.fetchClientSecret||e(u.stripe):u.stripePromise.then((function(t){t&&e(t)}))}}),[u,r,l,i]),n.useEffect((function(){return function(){l.embeddedCheckout?(c.current=null,l.embeddedCheckout.destroy()):c.current&&c.current.then((function(){c.current=null,l.embeddedCheckout&&l.embeddedCheckout.destroy()}))}}),[l.embeddedCheckout]),n.useEffect((function(){T(i)}),[i]);var f=P(t);n.useEffect((function(){null!==f&&f!==t&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")}),[f,t]);var d=P(r);return n.useEffect((function(){null!=d&&(null!=r?(void 0===r.clientSecret&&void 0===r.fetchClientSecret&&console.warn("Invalid props passed to EmbeddedCheckoutProvider: You must provide one of either `options.fetchClientSecret` or `options.clientSecret`."),null!=d.clientSecret&&r.clientSecret!==d.clientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the client secret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),null!=d.fetchClientSecret&&r.fetchClientSecret!==d.fetchClientSecret&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change fetchClientSecret after setting it. Unmount and create a new instance of EmbeddedCheckoutProvider instead."),null!=d.onComplete&&r.onComplete!==d.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it."),null!=d.onShippingDetailsChange&&r.onShippingDetailsChange!==d.onShippingDetailsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onShippingDetailsChange option after setting it."),null!=d.onLineItemsChange&&r.onLineItemsChange!==d.onLineItemsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onLineItemsChange option after setting it.")):console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them."))}),[d,r]),n.createElement(te.Provider,{value:l},o)},ue=function(t){var r=t.id,o=t.className,u=ne().embeddedCheckout,c=n.useRef(!1),i=n.useRef(null);return n.useLayoutEffect((function(){return!c.current&&u&&null!==i.current&&(u.mount(i.current),c.current=!0),function(){if(c.current&&u)try{u.unmount(),c.current=!1}catch(e){}}}),[u]),n.createElement("div",{ref:i,id:r,className:o})},ce=function(e){var t=e.id,r=e.className;return ne(),n.createElement("div",{id:t,className:r})},ie=ee?ce:ue,se=function(){return J("calls useStripe()").stripe},ae=Z("auBankAccount",ee),le=Z("card",ee),pe=Z("cardNumber",ee),fe=Z("cardExpiry",ee),de=Z("cardCvc",ee),me=Z("fpxBank",ee),he=Z("iban",ee),ye=Z("idealBank",ee),ve=Z("p24Bank",ee),ge=Z("epsBank",ee),Ce=Z("payment",ee),be=Z("expressCheckout",ee),Ee=Z("currencySelector",ee),ke=Z("paymentRequestButton",ee),Se=Z("linkAuthentication",ee),we=Z("address",ee),Pe=Z("shippingAddress",ee),Oe=Z("paymentMethodMessaging",ee),je=Z("affirmMessage",ee),Ae=Z("afterpayClearpayMessage",ee);t.AddressElement=we,t.AffirmMessageElement=je,t.AfterpayClearpayMessageElement=Ae,t.AuBankAccountElement=ae,t.CardCvcElement=de,t.CardElement=le,t.CardExpiryElement=fe,t.CardNumberElement=pe,t.CurrencySelectorElement=Ee,t.CustomCheckoutProvider=z,t.Elements=B,t.ElementsConsumer=W,t.EmbeddedCheckout=ie,t.EmbeddedCheckoutProvider=oe,t.EpsBankElement=ge,t.ExpressCheckoutElement=be,t.FpxBankElement=me,t.IbanElement=he,t.IdealBankElement=ye,t.LinkAuthenticationElement=Se,t.P24BankElement=ve,t.PaymentElement=Ce,t.PaymentMethodMessagingElement=Oe,t.PaymentRequestButtonElement=ke,t.ShippingAddressElement=Pe,t.useCustomCheckout=Q,t.useElements=M,t.useStripe=se}(n,r(49255))},65456(e,t,n){"use strict";n.d(t,{c:()=>m});var r,o="https://js.stripe.com/v3",u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,c="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",i=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(o).concat(t);var r=document.head||document.body;if(!r)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n},s=null,a=null,l=null,p=function(e){return null!==s?s:(s=new Promise((function(t,n){if("undefined"!==typeof window&&"undefined"!==typeof document)if(window.Stripe&&e&&console.warn(c),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(o,'"]')),t=0;t<e.length;t++){var n=e[t];if(u.test(n.src))return n}return null}();if(r&&e)console.warn(c);else if(r){if(r&&null!==l&&null!==a){var s;r.removeEventListener("load",l),r.removeEventListener("error",a),null===(s=r.parentNode)||void 0===s||s.removeChild(r),r=i(e)}}else r=i(e);l=function(e,t){return function(){window.Stripe?e(window.Stripe):t(new Error("Stripe.js not available"))}}(t,n),a=function(e){return function(){e(new Error("Failed to load Stripe.js"))}}(n),r.addEventListener("load",l),r.addEventListener("error",a)}catch(p){return void n(p)}else t(null)}))).catch((function(e){return s=null,Promise.reject(e)}))}
1,f=!1,d=function(){return r||(r=p(null).catch((function(e){return r=null,Promise.reject(e)})))};Promise.resolve().then((function(){return d()})).catch((function(e){f||console.warn(e)}));var m=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];f=!0;var r=Date.now();return d().then((function(e){return function(e,t,n){if(null===e)return null;var r=e.apply(void 0,t);return function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"2.4.0",startTime:t})}(r,n),r}(e,t,r)}))}}}]);

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.