1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3200],{12890:(e,t,n)=>{n.d(t,{HH:()=>C,He:()=>R,S8:()=>w,t2:()=>N});var r=n(12115),o=n(12758);function i(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e){return(a="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})(e)}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var i=[],c=!0,a=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(e){a=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e,t,n){var o=!!n,i=r.useRef(n);r.useEffect(function(){i.current=n},[n]),r.useEffect(function(){if(!o||!e)return function(){};var n=function(){i.current&&i.current.apply(i,arguments)};return e.on(t,n),function(){e.off(t,n)}},[o,t,e,i])},f=function(e){var t=r.useRef(e);return r.useEffect(function(){t.current=e},[e]),t.current},d=function(e){return null!==e&&"object"===a(e)},m="[object Object]",y=function e(t,n){if(!d(t)||!d(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===m;if(o!==(Object.prototype.toString.call(n)===m))return!1;if(!o&&!r)return t===n;var i=Object.keys(t),c=Object.keys(n);if(i.length!==c.length)return!1;for(var a={},u=0;u<i.length;u+=1)a[i[u]]=!0;for(var s=0;s<c.length;s+=1)a[c[s]]=!0;var l=Object.keys(a);return l.length===i.length&&l.every(function(r){return e(t[r],n[r])})},h=function(e,t,n){return d(e)?Object.keys(e).reduce(function(r,o){var i=!d(t)||!y(e[o],t[o]);return n.includes(o)?(i&&console.warn("Unsupported prop change: options.".concat(o," is not a mutable property.")),r):i?c(c({},r||{}),{},u({},o,e[o])):r},null):null},v="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.",g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;if(null===e||d(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return e;throw Error(t)},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;if(d(e)&&"function"==typeof e.then)return{tag:"async",stripePromise:Promise.resolve(e).then(function(e){return g(e,t)})};var n=g(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},E=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"5.4.1"}),e.registerAppInfo({name:"react-stripe-js",version:"5.4.1",url:"https://stripe.com/docs/stripe-js/react"}))},S=r.createContext(null);S.displayName="ElementsContext";var j=function(e,t){if(!e)throw Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},w=function(e){var t=e.stripe,n=e.options,o=e.children,i=r.useMemo(function(){return b(t)},[t]),c=s(r.useState(function(){return{stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(n):null}}),2),a=c[0],u=c[1];r.useEffect(function(){var e=!0,t=function(e){u(function(t){return t.stripe?t:{stripe:e,elements:e.elements(n)}})};return"async"!==i.tag||a.stripe?"sync"!==i.tag||a.stripe||t(i.stripe):i.stripePromise.then(function(n){n&&e&&t(n)}),function(){e=!1}},[i,a,n]);var l=f(t);r.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=f(n);return r.useEffect(function(){if(a.elements){var e=h(n,p,["clientSecret","fonts"]);e&&a.elements.update(e)}},[n,p,a.elements]),r.useEffect(function(){E(a.stripe)},[a.stripe]),r.createElement(S.Provider,{value:a},o)};w.propTypes={stripe:o.any,options:o.object};var C=function(){var e;return(e="calls useElements()",j(r.useContext(S),e)).elements};o.func.isRequired;var k=r.createContext(null);k.displayName="CheckoutContext",o.any,o.shape({clientSecret:o.oneOfType([o.string,o.instanceOf(Promise)]).isRequired,elementsOptions:o.object}).isRequired;var O=function(e){var t=r.useContext(k),n=r.useContext(S);if(!t)return j(n,e);if(!n)return t;throw Error("You cannot wrap the part of your app that ".concat(e," in both <CheckoutProvider> and <Elements> providers."))},P=["mode"],x=function(e,t){var n="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),i=t?function(e){O("mounts <".concat(n,">"));var t=e.id,o=e.className;return r.createElement("div",{id:t,className:o})}:function(t){var o,i=t.id,c=t.className,a=t.options,u=void 0===a?{}:a,l=t.onBlur,d=t.onFocus,m=t.onReady,y=t.onChange,v=t.onEscape,g=t.onClick,b=t.onLoadError,E=t.onLoaderStart,S=t.onNetworksChange,j=t.onConfirm,w=t.onCancel,C=t.onShippingAddressChange,k=t.onShippingRateChange,x=t.onSavedPaymentMethodRemove,A=t.onSavedPaymentMethodUpdate,N=O("mounts <".concat(n,">")),R="elements"in N?N.elements:null,I="checkoutState"in N?N.checkoutState:null,_=(null==I?void 0:I.type)==="success"||(null==I?void 0:I.type)==="loading"?I.sdk:null,L=s(r.useState(null),2),M=L[0],T=L[1],F=r.useRef(null),q=r.useRef(null);p(M,"blur",l),p(M,"focus",d),p(M,"escape",v),p(M,"click",g),p(M,"loaderror",b),p(M,"loaderstart",E),p(M,"networksch
1ange",S),p(M,"confirm",j),p(M,"cancel",w),p(M,"shippingaddresschange",C),p(M,"shippingratechange",k),p(M,"savedpaymentmethodremove",x),p(M,"savedpaymentmethodupdate",A),p(M,"change",y),m&&(o="expressCheckout"===e?m:function(){m(M)}),p(M,"ready",o),r.useLayoutEffect(function(){if(null===F.current&&null!==q.current&&(R||_)){var t=null;if(_)switch(e){case"paymentForm":t=_.createPaymentFormElement();break;case"payment":t=_.createPaymentElement(u);break;case"address":if("mode"in u){var r=u.mode,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(u,P);if("shipping"===r)t=_.createShippingAddressElement(o);else if("billing"===r)t=_.createBillingAddressElement(o);else throw Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":t=_.createExpressCheckoutElement(u);break;case"currencySelector":t=_.createCurrencySelectorElement();break;case"taxId":t=_.createTaxIdElement(u);break;default:throw Error("Invalid Element type ".concat(n,". You must use either the <PaymentElement />, <AddressElement options={{mode: 'shipping'}} />, <AddressElement options={{mode: 'billing'}} />, or <ExpressCheckoutElement />."))}else R&&(t=R.create(e,u));F.current=t,T(t),t&&t.mount(q.current)}},[R,_,u]);var U=f(u);return r.useEffect(function(){if(F.current){var e=h(u,U,["paymentRequest"]);e&&"update"in F.current&&F.current.update(e)}},[u,U]),r.useLayoutEffect(function(){return function(){if(F.current&&"function"==typeof F.current.destroy)try{F.current.destroy(),F.current=null}catch(e){}}},[]),r.createElement("div",{id:i,className:c,ref:q})};return i.propTypes={id:o.string,className:o.string,onChange:o.func,onBlur:o.func,onFocus:o.func,onReady:o.func,onEscape:o.func,onClick:o.func,onLoadError:o.func,onLoaderStart:o.func,onNetworksChange:o.func,onConfirm:o.func,onCancel:o.func,onShippingAddressChange:o.func,onShippingRateChange:o.func,onSavedPaymentMethodRemove:o.func,onSavedPaymentMethodUpdate:o.func,options:o.object},i.displayName=n,i.__elementType=e,i},A="undefined"==typeof window;r.createContext(null).displayName="EmbeddedCheckoutProviderContext";var N=function(){return O("calls useStripe()").stripe};x("auBankAccount",A),x("card",A),x("cardNumber",A),x("cardExpiry",A),x("cardCvc",A),x("iban",A);var R=x("payment",A);x("expressCheckout",A),x("paymentRequestButton",A),x("linkAuthentication",A),x("address",A),x("shippingAddress",A),x("paymentMethodMessaging",A),x("taxId",A)},94511:(e,t,n)=>{n.d(t,{c:()=>g});var r,o="clover",i="https://js.stripe.com",c="".concat(i,"/").concat(o,"/stripe.js"),a=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,u=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,s=function(){for(var e=document.querySelectorAll('script[src^="'.concat(i,'"]')),t=0;t<e.length;t++){var n,r=e[t];if(n=r.src,a.test(n)||u.test(n))return r}return null},l=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(c).concat(t);var r=document.head||document.body;if(!r)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return r.appendChild(n),n},p=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"8.5.3",startTime:t})},f=null,d=null,m=null,y=function(e,t,n){if(null===e)return null;var r,i=t[0].match(/^pk_test/),c=3===(r=e.version)?"v3":r;i&&c!==o&&console.warn("Stripe.js@".concat(c," was loaded on the page, but @stripe/stripe-js@").concat("8.5.3"," expected Stripe.js@").concat(o,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var a=e.apply(void 0,t);return p(a,n),a},h=!1,v=function(){return r?r:r=(null!==f?f:(f=new Promise(function(e,t){if("undefined"==typeof window||"undefined"==typeof document)return void e(null);if(window.Stripe,window.Stripe)return void e(window.Stripe);try{var n,r=s();r?r&&null!==m&&null!==d&&(r.removeEventListener("load",m),r.removeEventListener("error",d),null==(n=r.parentNode)||n.removeChild(r),r=l(null)):r=l(null),m=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},d=function(e){t(Error("Failed to load Stripe.js",{cause:e}))},r.addEventListener("load",m),r.addEventListener("error",d)}catch(e){t(e);return}})).catch(function(e){return f=null,Promise.reject(e)})).catch(function(e){return r=null,Promise.reject(e)})};Promise.resolve().then(function(){return v()}).catch(function(e){h||console.warn(e)});var g=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];h=!0;var r=Date.now();return v().then(function(e){return y(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.