1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7953951c-bc8b-455b-a22d-30b64135cdd4",e._sentryDebugIdIdentifier="sentry-dbid-7953951c-bc8b-455b-a22d-30b64135cdd4")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4816],{27128:(e,t,r)=>{"use strict";function n(e){return(n="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)}r.d(t,{c:()=>g});var o,i="dahlia",a="https://js.stripe.com",c="".concat(a,"/").concat(i,"/stripe.js"),s=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,u=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,l=function(){for(var e=document.querySelectorAll('script[src^="'.concat(a,'"]')),t=0;t<e.length;t++){var r,n=e[t];if(r=n.src,s.test(r)||u.test(r))return n}return null},p=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",r=document.createElement("script");r.src="".concat(c).concat(t);var n=document.head||document.body;if(!n)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return n.appendChild(r),r},f=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"9.10.0",startTime:t})},d=null,y=null,m=null,h=function(e,t,r){if(null===e)return null;var o,a=t[0];if("string"!=typeof a)throw Error("Expected publishable key to be of type string, got type ".concat(n(a)," instead."));var c=a.match(/^pk_test/),s=3===(o=e.version)?"v3":o;c&&s!==i&&console.warn("Stripe.js@".concat(s," was loaded on the page, but @stripe/stripe-js@").concat("9.10.0"," expected Stripe.js@").concat(i,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var u=e.apply(void 0,t);return f(u,r),u},v=!1,b=function(){return o||(o=(null!==d?d:(d=new Promise(function(e,t){if("u"<typeof window||"u"<typeof document)return void e(null);if(window.Stripe,window.Stripe)return void e(window.Stripe);try{var r,n=l();n?n&&null!==m&&null!==y&&(n.removeEventListener("load",m),n.removeEventListener("error",y),null==(r=n.parentNode)||r.removeChild(n),n=p(null)):n=p(null),m=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},y=function(e){t(Error("Failed to load Stripe.js",{cause:e}))},n.addEventListener("load",m),n.addEventListener("error",y)}catch(e){t(e);return}})).catch(function(e){return d=null,Promise.reject(e)})).catch(function(e){return o=null,Promise.reject(e)}))};Promise.resolve().then(function(){return b()}).catch(function(e){v||console.warn(e)});var g=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];v=!0;var n=Date.now();return b().then(function(e){return h(e,t,n)})}},33152:(e,t,r)=>{"use strict";var n=r(58619);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},50084:(e,t,r)=>{e.exports=r(33152)()},58619:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},88441:(e,t,r)=>{"use strict";r.d(t,{HH:()=>j,JG:()=>D,S8:()=>C,_D:()=>T,qs:()=>I,t2:()=>_});var n=r(14343),o=r(50084);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:n+"")in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t);else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(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){return(l="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)}var p=function(e,t,r){var o=!!r,i=n.useRef(r);n.useEffect(function(){i.current=r},[r]),n.useEffect(function(){if(!o||!e)return function(){};var r=function(){if(i.current)return i.current.apply(i,arguments)};return e.on(t,r),function(){e.off(t,r)}},[o,t,e,i])},f=function(e){var t=n.useRef(e);return n.useEffect(function(){t.current=e},[e]),t.current},d=function(e){return null!==e&&"object"===l(e)},y="[object Object]",m=function e(t,r){if(!d(t)||!d(r))return t===r;var n=Array.isArray(t);if(n!==Array.isArray(r))return!1;var o=Object.prototype.toString.call(t)===y;if(o!==(Object.prototype.toString.call(r)===y))return!1;if(!o&&!n)return t===r;var i=Object.keys(t),a=Object.keys(r);if(i.length!==a.length)return!1;for(var c={},s=0;s<i.length;s+=1)c[i[s]]=!0;for(var u=0;u<a.length;u+=1)c[a[u]]=!0;var l=Object.keys(c);return l.length===i.length&&l.every(function(n){return e(t[n],r[n])})},h=function(e,t,r){return d(e)?Object.keys(e).reduce(function(n,o){var i=!d(t)||!m(e[o],t[o]);return r.includes(o)?(i&&console.warn("Unsupported prop change: options.".concat(o," is not a mutable property.")),n):i?s(s({},n||{}),{},a({},o,e[o])):n},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.",b=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)},g=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 b(e,t)})};var r=b(e,t);return null===r?{tag:"empty"}:{tag:"sync",stripe:r}},E=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"6.8.0"}),e.registerAppInfo({name:"react-stripe-js",version:"6.8.0",url:"https://stripe.com/docs/stripe-js/react"}))},S=n.createContext(null);S.displayName="ElementsContext";var w=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},C=function(e){var t=e.stripe,r=e.options,o=e.children,i=n.useMemo(function(){return g(t)},[t]),a=u(n.useState(function(){return{stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}}),2),c=a[0],s=a[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"!==i.tag||c.stripe?"sync"!==i.tag||c.stripe||t(i.stripe):i.stripePromise.then(function(r){r&&e&&t(r)}),function(){e=!1}},[i,c,r]);var l=f(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=f(r);return n.useEffect(function(){if(c.elements){var e=h(r,p,["clientSecret","fonts"]);e&&c.elements.update(e)}},[r,p,c.elements]),n.useEffect(function(){E(c.stripe)},[c.stripe]),n.createElement(S.Provider,{value:c},o)};C.propTypes={stripe:o.any,options:o.object};var j=function(){var e;return(e="calls useElements()",w(n.useContext(S),e)).elements};o.func.isRequired;var k=n.createContext(null);k.displayName="CheckoutContext";var O=function(e){var t=n.useContext(k),r=n.useContext(S);if(!t)return w(r,e);if(!r)return t;throw Error("You cannot wrap the part of your app that ".concat(e," in both a checkout provider and <Elements> provider."))},P=["mode"],x=function(e,t,r){var i="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),a=t?function(e){O("mounts <".concat(i,">"));var t=e.id,r=e.className;return n.createElement("div",{id:t,className:r})}
1:function(t){var r,o=t.id,a=t.className,c=t.options,s=void 0===c?{}:c,l=t.onBlur,d=t.onFocus,y=t.onReady,m=t.onChange,v=t.onEscape,b=t.onClick,g=t.onLoadError,E=t.onLoaderStart,S=t.onNetworksChange,w=t.onConfirm,C=t.onCancel,j=t.onShippingAddressChange,k=t.onShippingRateChange,x=t.onSavedPaymentMethodRemove,A=t.onSavedPaymentMethodUpdate,_=t.onAvailablePaymentMethodsChange,T=O("mounts <".concat(i,">")),I="elements"in T?T.elements:null,D="checkoutState"in T?T.checkoutState:null,N=(null==D?void 0:D.type)==="success"||(null==D?void 0:D.type)==="loading"?D.sdk:null,R=u(n.useState(null),2),L=R[0],M=R[1],F=n.useRef(null),U=n.useRef(null);p(L,"blur",l),p(L,"focus",d),p(L,"escape",v),p(L,"click",b),p(L,"loaderror",g),p(L,"loaderstart",E),p(L,"networkschange",S),p(L,"confirm",w),p(L,"cancel",C),p(L,"shippingaddresschange",j),p(L,"shippingratechange",k),p(L,"savedpaymentmethodremove",x),p(L,"savedpaymentmethodupdate",A),p(L,"availablepaymentmethodschange",_),p(L,"change",m),y&&(r="expressCheckout"===e?y:function(){y(L)}),p(L,"ready",r),n.useLayoutEffect(function(){if(null===F.current&&null!==U.current&&(I||N)){var t=null;if(N)switch(e){case"paymentForm":t=N.createForm(s);break;case"payment":t=N.createPaymentElement(s);break;case"address":if("mode"in s){var r=s.mode,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(s,P);if("shipping"===r)t=N.createShippingAddressElement(n);else if("billing"===r)t=N.createBillingAddressElement(n);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=N.createExpressCheckoutElement(s);break;case"currencySelector":t=N.createCurrencySelectorElement();break;case"taxId":t=N.createTaxIdElement(s);break;case"contactDetails":t=N.createContactDetailsElement();break;case"terms":t=N.createTermsElement(s);break;default:throw Error("<".concat(i,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}else I&&(t=I.create(e,s));F.current=t,M(t),t&&t.mount(U.current)}},[I,N,s]);var W=f(s);return n.useEffect(function(){if(F.current){var e=h(s,W,["paymentRequest"]);e&&"update"in F.current&&F.current.update(e)}},[s,W]),n.useLayoutEffect(function(){return function(){if(F.current&&"function"==typeof F.current.destroy)try{F.current.destroy(),F.current=null}catch(e){}}},[]),n.createElement("div",{id:o,className:a,ref:U})};return a.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,onAvailablePaymentMethodsChange:o.func,options:o.object},a.displayName=i,a.__elementType=e,a},A="u"<typeof window;n.createContext(null).displayName="EmbeddedCheckoutProviderContext";var _=function(){return O("calls useStripe()").stripe};x("auBankAccount",A),x("card",A);var T=x("cardNumber",A),I=x("cardExpiry",A),D=x("cardCvc",A);x("currencySelector",A),x("iban",A),x("payment",A),x("expressCheckout",A),x("paymentRequestButton",A),x("linkAuthentication",A),x("contactDetails",A),x("address",A),x("shippingAddress",A),x("paymentMethodMessaging",A),x("taxId",A),x("issuingCardNumberDisplay",A),x("issuingCardCvcDisplay",A),x("issuingCardExpiryDisplay",A),x("issuingCardPinDisplay",A),x("issuingCardCopyButton",A),x("terms",A)}}]);
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.