PageSourceSearch

https://www.quesee.ai/_next/static/immutable/chunks/3itrytn9a332q.js

js quesee.ai collected 2026-10-05 12:27:19 UTC 45,610 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,511431,e=>{"use strict";var t=e.i(127601),n=e.i(597703),r=e.i(663659),o=e.i(37123),i=e.i(912818);let a=n.Root,c=n.Trigger,s=n.Portal,u=n.Close,l=o.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Overlay,{ref:o,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...r}));l.displayName=n.Overlay.displayName;let d=o.forwardRef(({className:e,children:o,...a},c)=>(0,t.jsxs)(s,{children:[(0,t.jsx)(l,{}),(0,t.jsxs)(n.Content,{ref:c,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg overflow-hidden",e),...a,children:[o,(0,t.jsxs)(n.Close,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,t.jsx)(r.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));d.displayName=n.Content.displayName;let f=({className:e,...n})=>(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...n});f.displayName="DialogHeader";let p=({className:e,...n})=>(0,t.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...n});p.displayName="DialogFooter";let m=o.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Title,{ref:o,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",e),...r}));m.displayName=n.Title.displayName;let h=o.forwardRef(({className:e,...r},o)=>(0,t.jsx)(n.Description,{ref:o,className:(0,i.cn)("text-sm text-muted-foreground",e),...r}));h.displayName=n.Description.displayName,e.s(["Dialog",0,a,"DialogClose",0,u,"DialogContent",0,d,"DialogDescription",0,h,"DialogFooter",0,p,"DialogHeader",0,f,"DialogTitle",0,m,"DialogTrigger",0,c])},822855,e=>{"use strict";var t=e.i(127601),n=e.i(37123),r=e.i(912818);let o=n.forwardRef(({className:e,type:n,...o},i)=>(0,t.jsx)("input",{type:n,className:(0,r.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:i,...o}));o.displayName="Input",e.s(["Input",0,o])},57195,e=>{"use strict";var t=e.i(127601),n=e.i(37123),r=e.i(481957),o=n.forwardRef((e,n)=>(0,t.jsx)(r.Primitive.label,{...e,ref:n,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var i=e.i(282693),a=e.i(912818);let c=(0,i.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),s=n.forwardRef(({className:e,...n},r)=>(0,t.jsx)(o,{ref:r,className:(0,a.cn)(c(),e),...n}));s.displayName=o.displayName,e.s(["Label",0,s],57195)},964324,e=>{"use strict";var t=e.i(127601),n=e.i(37123),r=e.i(912818);let o=n.forwardRef(({className:e,...n},o)=>(0,t.jsx)("textarea",{className:(0,r.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:o,...n}));o.displayName="Textarea",e.s(["Textarea",0,o])},481957,e=>{"use strict";var t=e.i(37123),n=e.i(458346);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var o=e.i(127601),i=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var i,c;let s,u,l,d=(c=i=`Primitive.${n}`,(s=t.forwardRef((e,n)=>{var o;let i,a,{children:c,...s}=e,u=function(...e){return t.useCallback(function(...e){return t=>{let n=!1,o=e.map(e=>{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():r(e[t],null)}}}}(...e),e)}(t.isValidElement(c)?(o=c,(a=(i=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?o.ref:(a=(i=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,n);if(t.isValidElement(c)){let e=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(s,c.props);return c.type!==t.Fragment&&(e.ref=u),t.cloneElement(c,e)}return t.Children.count(c)>1?t.Children.only(null):null})).displayName=`${c}.SlotClone`,u=s,(l=t.forwardRef((e,n)=>{let{children:r,...i}=e,c=t.Children.toArray(r),s=c.find(a);if(s){let e=s.props.children,r=c.map(n=>n!==s?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(u,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,o.jsx)(u,{...i,ref:n,children:r})})).displayName=`${i}.Slot`,l),f=t.forwardRef((e,t)=>{let{asChild:r,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?d:n,{...i,ref:t})});return f.displayName=`Primitive.${n}`,{...e,[n]:f}},{});e.s(["Primitive",0,c,"dispatchDiscreteCustomEvent",0,function(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}],481957)},970057,e=>{"use strict";var t=e.i(37123),n=globalThis?.document?t.useLayoutEffect:()=>{},r=t[" useEffectEvent ".trim().toString()],o=t[" useInsertionEffect ".trim().toString()];e.s(["useEffectEvent",0,function(e){if("function"==typeof r)return r(e);let i=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof o?o(()=>{i.current=e}):n(()=>{i.current=e}),t.useMemo(()=>(...e)=>i.current?.(...e),[])}],970057)},396041,e=>{"use strict";var t=e.i(37123);e.s(["useEscapeKeydown",0,function(e,n=globalThis?.document){let r,o=(r=t.useRef(e),t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[]));t.useEffect(()=>{let e=e=>{"Escape"===e.key&&o(e)};return n.addEventListener("keydown",e,{capture:!0}),()=>n.removeEventListener("keydown",e,{capture:!0})},[o,n])}],396041)},136389,(e,t,n)=>{e.e,function(e,t){"use strict";function n(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 r(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e){return(o="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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=e&&("u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(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 s(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 s(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 u,l,d,f,p,m={exports:{}};m.exports=(function(){if(p)return f;p=1;var e=d?l:(d=1,l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,f=function(){function r(t,n,r,o,i,a){if(a!==e){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 o(){return r}r.isRequired=r;var i={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 i.PropTypes=i,i}})()();var h=(u=m.exports)&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u,g=function(e,n,r){var o=!!r,i=t.useRef(r);t.useEffect(function(){i.current=r},[r]),t.useEffect(function(){if(!o||!e)return function(){};var t=function(){i.current&&i.current.apply(i,arguments)};return e.on(n,t),function(){e.off(n,t)}},[o,n,e,i])},y=function(e){var n=t.useRef(e);return t.useEffect(function(){n.current=e},[e]),n.current},v=function(e){return null!==e&&"object"===o(e)},E="[object Object]",b=function e(t,n){if(!v(t)||!v(n))return t===n;var r=Array.isArray(t);if(r!==Array.isArray(n))return!1;var o=Object.prototype.toString.call(t)===E;if(o!==(Object.prototype.toString.call(n)===E))return!1;if(!o&&!r)return t===n;var i=Object.keys(t),a=Object.keys(n);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(r){return e(t[r],n[r])})},w=function(e,t,n){return v(e)?Object.keys(e).reduce(function(o,a){var c=!v(t)||!b(e[a],t[a]);return n.includes(a)?(c&&console.warn("Unsupported prop change: options.".concat(a," is not a mutable property.")),o):c?r(r({},o||{}),{},i({},a,e[a])):o},null):null},C="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.",S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C;if(null===e||v(e)&&"function"==typeof e.elements&&"function"==typeof e.createToken&&"function"==typeof e.createPaymentMethod&&"function"==typeof e.confirmCardPayment)return e;throw Error(t)},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C;if(v(e)&&"function"==typeof e.then)return{tag:"async",stripePromise:Promise.resolve(e).then(function(e){return S(e,t)})};var n=S(e,t);return null===n?{tag:"empty"}:{tag:"sync",stripe:n}},x=function(e){e&&e._registerWrapper&&e.registerAppInfo&&(e._registerWrapper({name:"react-stripe-js",version:"3.7.0"}),e.registerAppInfo({name:"react-stripe-js",version:"3.7.0",url:"https://stripe.com/docs/stripe-js/react"}))},P=t.createContext(null);P.displayName="ElementsContext";var O=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},_=function(e){var n=e.stripe,r=e.options,o=e.children,i=t.useMemo(function(){return k(n)},[n]),a=c(t.useState(function(){return{stripe:"sync"===i.tag?i.stripe:null,elements:"sync"===i.tag?i.stripe.elements(r):null}}),2),s=a[0],u=a[1];t.useEffect(function(){var e=!0,t=function(e){u(function(t){return t.stripe?t:{stripe:e,elements:e.elements(r)}})};return"async"!==i.tag||s.stripe?"sync"!==i.tag||s.stripe||t(i.stripe):i.stripePromise.then(function(n){n&&e&&t(n)}),function(){e=!1}},[i,s,r]);var l=y(n);t.useEffect(function(){null!==l&&l!==n&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,n]);var d=y(r);return t.useEffect(function(){if(s.elements){var e=w(r,d,["clientSecret","fonts"]);e&&s.elements.update(e)}},[r,d,s.elements]),t.useEffect(function(){x(s.stripe)},[s.stripe]),t.createElement(P.Provider,{value:s},o)};_.propTypes={stripe:h.any,options:h.object};var j=function(e){return O(t.useContext(P),e)},R=function(e){return(0,e.children)(j("mounts <ElementsConsumer>"))};R.propTypes={children:h.func.isRequired};var N=["on","session"],A=t.createContext(null);A.displayName="CheckoutSdkContext";var T=function(e,t){if(!e)throw Error("Could not find CheckoutProvider context; You need to wrap the part of your app that ".concat(t," in an <CheckoutProvider> provider."));return e},I=t.createContext(null);I.displayName="CheckoutContext";var M=function(e,t){if(!e)return null;e.on,e.session;var n=a(e,N);return t?Object.assign(t,n):Object.assign(e.session(),n)},D=function(e){var n=e.stripe,r=e.options,o=e.children,i=t.useMemo(function(){return k(n,"Invalid prop `stripe` supplied to `CheckoutProvider`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.")},[n]),a=c(t.useState(null),2),s=a[0],u=a[1],l=c(t.useState(function(){return{stripe:"sync"===i.tag?i.stripe:null,checkoutSdk:null}}),2),d=l[0],f=l[1],p=function(e,t){f(function(n){return n.stripe&&n.checkoutSdk?n:{stripe:e,checkoutSdk:t}})},m=t.useRef(!1);t.useEffect(function(){var e=!0;return"async"!==i.tag||d.stripe?"sync"===i.tag&&i.stripe&&!m.current&&(m.current=!0,i.stripe.initCheckout(r).then(function(e){e&&(p(i.stripe,e),e.on("change",u))})):i.stripePromise.then(function(t){t&&e&&!m.current&&(m.current=!0,t.initCheckout(r).then(function(e){e&&(p(t,e),e.on("change",u))}))}),function(){e=!1}},[i,d,r,u]);var h=y(n);t.useEffect(function(){null!==h&&h!==n&&console.warn("Unsupported prop change on CheckoutProvider: You cannot change the `stripe` prop after setting it.")},[h,n]);var g=y(r),v=y(d.checkoutSdk);t.useEffect(function(){if(d.checkoutSdk){var e,t,n=null==g||null==(e=g.elementsOptions)?void 0:e.appearance,o=null==r||null==(t=r.elementsOptions)?void 0:t.appearance,i=!b(o,n),a=!v&&d.checkoutSdk;o&&(i||a)&&d.checkoutSdk.changeAppearance(o)}},[r,g,d.checkoutSdk,v]),t.useEffect(function(){x(d.stripe)},[d.stripe]);var E=t.useMemo(function(){return M(d.checkoutSdk,s)}
1,[d.checkoutSdk,s]);return d.checkoutSdk?t.createElement(A.Provider,{value:d},t.createElement(I.Provider,{value:E},o)):null};D.propTypes={stripe:h.any,options:h.shape({fetchClientSecret:h.func.isRequired,elementsOptions:h.object}).isRequired};var L=function(e){var n=t.useContext(A),r=t.useContext(P);if(n&&r)throw Error("You cannot wrap the part of your app that ".concat(e," in both <CheckoutProvider> and <Elements> providers."));return n?T(n,e):O(r,e)},F=["mode"],Y=function(e,n){var r="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),o=n?function(e){L("mounts <".concat(r,">"));var n=e.id,o=e.className;return t.createElement("div",{id:n,className:o})}:function(n){var o,i=n.id,s=n.className,u=n.options,l=void 0===u?{}:u,d=n.onBlur,f=n.onFocus,p=n.onReady,m=n.onChange,h=n.onEscape,v=n.onClick,E=n.onLoadError,b=n.onLoaderStart,C=n.onNetworksChange,S=n.onConfirm,k=n.onCancel,x=n.onShippingAddressChange,P=n.onShippingRateChange,O=L("mounts <".concat(r,">")),_="elements"in O?O.elements:null,j="checkoutSdk"in O?O.checkoutSdk:null,R=c(t.useState(null),2),N=R[0],A=R[1],T=t.useRef(null),I=t.useRef(null);g(N,"blur",d),g(N,"focus",f),g(N,"escape",h),g(N,"click",v),g(N,"loaderror",E),g(N,"loaderstart",b),g(N,"networkschange",C),g(N,"confirm",S),g(N,"cancel",k),g(N,"shippingaddresschange",x),g(N,"shippingratechange",P),g(N,"change",m),p&&(o="expressCheckout"===e?p:function(){p(N)}),g(N,"ready",o),t.useLayoutEffect(function(){if(null===T.current&&null!==I.current&&(_||j)){var t=null;if(j)switch(e){case"payment":t=j.createPaymentElement(l);break;case"address":if("mode"in l){var n=l.mode,o=a(l,F);if("shipping"===n)t=j.createShippingAddressElement(o);else if("billing"===n)t=j.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=j.createExpressCheckoutElement(l);break;case"currencySelector":t=j.createCurrencySelectorElement();break;default:throw Error("Invalid Element type ".concat(r,". You must use either the <PaymentElement />, <AddressElement options={{mode: 'shipping'}} />, <AddressElement options={{mode: 'billing'}} />, or <ExpressCheckoutElement />."))}else _&&(t=_.create(e,l));T.current=t,A(t),t&&t.mount(I.current)}},[_,j,l]);var M=y(l);return t.useEffect(function(){if(T.current){var e=w(l,M,["paymentRequest"]);e&&"update"in T.current&&T.current.update(e)}},[l,M]),t.useLayoutEffect(function(){return function(){if(T.current&&"function"==typeof T.current.destroy)try{T.current.destroy(),T.current=null}catch(e){}}},[]),t.createElement("div",{id:i,className:s,ref:I})};return o.propTypes={id:h.string,className:h.string,onChange:h.func,onBlur:h.func,onFocus:h.func,onReady:h.func,onEscape:h.func,onClick:h.func,onLoadError:h.func,onLoaderStart:h.func,onNetworksChange:h.func,onConfirm:h.func,onCancel:h.func,onShippingAddressChange:h.func,onShippingRateChange:h.func,options:h.object},o.displayName=r,o.__elementType=e,o},U="u"<typeof window,B=t.createContext(null);B.displayName="EmbeddedCheckoutProviderContext";var W=function(){var e=t.useContext(B);if(!e)throw Error("<EmbeddedCheckout> must be used within <EmbeddedCheckoutProvider>");return e},$=U?function(e){var n=e.id,r=e.className;return W(),t.createElement("div",{id:n,className:r})}:function(e){var n=e.id,r=e.className,o=W().embeddedCheckout,i=t.useRef(!1),a=t.useRef(null);return t.useLayoutEffect(function(){return!i.current&&o&&null!==a.current&&(o.mount(a.current),i.current=!0),function(){if(i.current&&o)try{o.unmount(),i.current=!1}catch(e){}}},[o]),t.createElement("div",{ref:a,id:n,className:r})},K=Y("auBankAccount",U),z=Y("card",U),q=Y("cardNumber",U),V=Y("cardExpiry",U),X=Y("cardCvc",U),Z=Y("fpxBank",U),J=Y("iban",U),H=Y("idealBank",U),G=Y("p24Bank",U),Q=Y("epsBank",U),ee=Y("payment",U),et=Y("expressCheckout",U),en=Y("currencySelector",U),er=Y("paymentRequestButton",U),eo=Y("linkAuthentication",U),ei=Y("address",U),ea=Y("shippingAddress",U),ec=Y("paymentMethodMessaging",U),es=Y("affirmMessage",U),eu=Y("afterpayClearpayMessage",U);e.AddressElement=ei,e.AffirmMessageElement=es,e.AfterpayClearpayMessageElement=eu,e.AuBankAccountElement=K,e.CardCvcElement=X,e.CardElement=z,e.CardExpiryElement=V,e.CardNumberElement=q,e.CheckoutProvider=D,e.CurrencySelectorElement=en,e.Elements=_,e.ElementsConsumer=R,e.EmbeddedCheckout=$,e.EmbeddedCheckoutProvider=function(e){var n=e.stripe,r=e.options,o=e.children,i=t.useMemo(function(){return k(n,"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.")},[n]),a=t.useRef(null),s=t.useRef(null),u=c(t.useState({embeddedCheckout:null}),2),l=u[0],d=u[1];t.useEffect(function(){if(!s.current&&!a.current){var e=function(e){s.current||a.current||(s.current=e,a.current=s.current.initEmbeddedCheckout(r).then(function(e){d({embeddedCheckout:e})}))};"async"===i.tag&&!s.current&&(r.clientSecret||r.fetchClientSecret)?i.stripePromise.then(function(t){t&&e(t)}):"sync"===i.tag&&!s.current&&(r.clientSecret||r.fetchClientSecret)&&e(i.stripe)}},[i,r,l,s]),t.useEffect(function(){return function(){l.embeddedCheckout?(a.current=null,l.embeddedCheckout.destroy()):a.current&&a.current.then(function(){a.current=null,l.embeddedCheckout&&l.embeddedCheckout.destroy()})}},[l.embeddedCheckout]),t.useEffect(function(){x(s)},[s]);var f=y(n);t.useEffect(function(){null!==f&&f!==n&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the `stripe` prop after setting it.")},[f,n]);var p=y(r);return t.useEffect(function(){if(null!=p){if(null==r)return void console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot unset options after setting them.");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!=p.clientSecret&&r.clientSecret!==p.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!=p.fetchClientSecret&&r.fetchClientSecret!==p.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!=p.onComplete&&r.onComplete!==p.onComplete&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onComplete option after setting it."),null!=p.onShippingDetailsChange&&r.onShippingDetailsChange!==p.onShippingDetailsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onShippingDetailsChange option after setting it."),null!=p.onLineItemsChange&&r.onLineItemsChange!==p.onLineItemsChange&&console.warn("Unsupported prop change on EmbeddedCheckoutProvider: You cannot change the onLineItemsChange option after setting it.")}},[p,r]),t.createElement(B.Provider,{value:l},o)},e.EpsBankElement=Q,e.ExpressCheckoutElement=et,e.FpxBankElement=Z,e.IbanElement=J,e.IdealBankElement=H,e.LinkAuthenticationElement=eo,e.P24BankElement=G,e.PaymentElement=ee,e.PaymentMethodMessagingElement=ec,e.PaymentRequestButtonElement=er,e.ShippingAddressElement=ea,e.useCheckout=function(){T(t.useContext(A),"calls useCheckout()");var e=t.useContext(I);if(!e)throw Error("Could not find Checkout Context; You need to wrap the part of your app that calls useCheckout() in an <CheckoutProvider> provider.");return e},e.useElements=function(){return j("calls useElements()").elements},e.useStripe=function(){return L("calls useStripe()").stripe}}(n,e.r(37123))},813378,(e,t,n)=>{var r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,c=(e,t,n)=>new Promise((r,o)=>{var i=e=>{try{c(n.next(e))}catch(e){o(e)}},a=e=>{try{c(n.throw(e))}catch(e){o(e)}},c=e=>e.done?r(e.value):Promise.resolve(e.value).then(i,a);c((n=n.apply(e,t)).next())}),s={},u={SubmissionError:()=>y,appendExtraData:()=>b,createClient:()=>k,getDefaultClient:()=>x,isSubmissionError:()=>g};for(var l in u)r(s,l,{get:u[l],enumerable:!0});t.exports=((e,t,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of i(t))a.call(e,c)||void 0===c||r(e,c,{get:()=>t[c],enumerable:!(n=o(t,c))||n.enumerable});return e})(r({},"__esModule",{value:!0}),s);var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",f=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,p=class{constructor(){this.loadedAt=Date.now(),this.webdriver=navigator.webdriver||!!document.documentElement.getAttribute(function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!f.test(e))throw TypeError("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");e+="==".slice(2-(3&e.length));for(var t,n,r,o="",i=0;i<e.length;)t=d.indexOf(e.charAt(i++))<<18|d.indexOf(e.charAt(i++))<<12|(n=d.indexOf(e.charAt(i++)))<<6|(r=d.indexOf(e.charAt(i++))),o+=64===n?String.fromCharCode(t>>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}("d2ViZHJpdmVy"))||!!window.callPhantom||!!window._phantom}data(){return{loadedAt:this.loadedAt,webdriver:this.webdriver}}},m=class{constructor(e){this.kind="success",this.next=e.next}},h=class{constructor(e,t){this.paymentIntentClientSecret=e,this.resubmitKey=t,this.kind="stripePluginPending"}};function g(e){return"error"===e.kind}var y=class{constructor(...e){var t;for(let n of(this.kind="error",this.formErrors=[],this.fieldErrors=new Map,e)){if(!n.field){this.formErrors.push({code:n.code&&n.code in v?n.code:"UNSPECIFIED",message:n.message});continue}let e=null!=(t=this.fieldErrors.get(n.field))?t:[];e.push({code:n.code&&n.code in E?n.code:"UNSPECIFIED",message:n.message}),this.fieldErrors.set(n.field,e)}}getFormErrors(){return[...this.formErrors]}getFieldErrors(e){var t;return null!=(t=this.fieldErrors.get(e))?t:[]}getAllFieldErrors(){return Array.from(this.fieldErrors)}},v={BLOCKED:"BLOCKED",EMPTY:"EMPTY",FILES_TOO_BIG:"FILES_TOO_BIG",FORM_NOT_FOUND:"FORM_NOT_FOUND",INACTIVE:"INACTIVE",NO_FILE_UPLOADS:"NO_FILE_UPLOADS",PROJECT_NOT_FOUND:"PROJECT_NOT_FOUND",TOO_MANY_FILES:"TOO_MANY_FILES"},E={REQUIRED_FIELD_EMPTY:"REQUIRED_FIELD_EMPTY",REQUIRED_FIELD_MISSING:"REQUIRED_FIELD_MISSING",STRIPE_CLIENT_ERROR:"STRIPE_CLIENT_ERROR",STRIPE_SCA_ERROR:"STRIPE_SCA_ERROR",TYPE_EMAIL:"TYPE_EMAIL",TYPE_NUMERIC:"TYPE_NUMERIC",TYPE_TEXT:"TYPE_TEXT"};function b(e,t,n){e instanceof FormData?e.append(t,n):e[t]=n}var w=class{constructor(e={}){this.project=e.project,this.stripe=e.stripe,"u">typeof window&&(this.session=new p)}submitForm(e,t){return c(this,arguments,function*(e,t,n={}){var r;let o,i=n.endpoint||"https://formspree.io",a=this.project?`${i}/p/${this.project}/f/${e}
1`:`${i}/f/${e}`,s={Accept:"application/json","Formspree-Client":(r=n.clientName,o="@formspree/[email protected]",r?`${r} ${o}`:o)};function u(e){return c(this,null,function*(){try{let t=yield(yield fetch(a,{method:"POST",mode:"cors",body:e instanceof FormData?e:JSON.stringify(e),headers:s})).json();if(null!==t&&"object"==typeof t){if("errors"in t&&Array.isArray(t.errors)&&t.errors.every(e=>"string"==typeof e.message)||"error"in t&&"string"==typeof t.error)return Array.isArray(t.errors)?new y(...t.errors):new y({message:t.error});if(function(e){if("stripe"in e&&"resubmitKey"in e&&"string"==typeof e.resubmitKey){let{stripe:t}=e;return"object"==typeof t&&null!=t&&"paymentIntentClientSecret"in t&&"string"==typeof t.paymentIntentClientSecret}return!1}(t))return new h(t.stripe.paymentIntentClientSecret,t.resubmitKey);if("next"in t&&"string"==typeof t.next)return new m({next:t.next})}return new y({message:"Unexpected response format"})}catch(e){return new y({message:e instanceof Error?e.message:`Unknown error while posting to Formspree: ${JSON.stringify(e)}`})}})}if(this.session&&(s["Formspree-Session-Data"]=function(e){e=String(e);for(var t,n,r,o,i="",a=0,c=e.length%3;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw TypeError("Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.");t=n<<16|r<<8|o,i+=d.charAt(t>>18&63)+d.charAt(t>>12&63)+d.charAt(t>>6&63)+d.charAt(63&t)}return c?i.slice(0,c-3)+"===".substring(c):i}(JSON.stringify(this.session.data()))),t instanceof FormData||(s["Content-Type"]="application/json"),this.stripe&&n.createPaymentMethod){let e=yield n.createPaymentMethod();if(e.error)return new y({code:"STRIPE_CLIENT_ERROR",field:"paymentMethod",message:"Error creating payment method"});b(t,"paymentMethod",e.paymentMethod.id);let r=yield u(t);if("error"===r.kind)return r;if("stripePluginPending"===r.kind){let e=yield this.stripe.handleCardAction(r.paymentIntentClientSecret);if(e.error)return new y({code:"STRIPE_CLIENT_ERROR",field:"paymentMethod",message:"Stripe SCA error"});t instanceof FormData?t.delete("paymentMethod"):delete t.paymentMethod,b(t,"paymentIntent",e.paymentIntent.id),b(t,"resubmitKey",r.resubmitKey);let n=yield u(t);return C(n),n}return r}let l=yield u(t);return C(l),l})}};function C(e){let{kind:t}=e;if("success"!==t&&"error"!==t)throw Error(`Unexpected submission result (kind: ${t})`)}var S,k=e=>new w(e),x=()=>(S||(S=k()),S)},554358,(e,t,n)=>{"use strict";function r(e){return(r="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)}Object.defineProperty(n,"__esModule",{value:!0});var o,i="https://js.stripe.com",a="".concat(i,"/v3"),c=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,s=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,u="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",l=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,c.test(n)||s.test(n))return r}return null},d=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(a).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},f=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"5.10.0",startTime:t})},p=null,m=null,h=null,g=function(e,t,n){if(null===e)return null;var r,o=t[0].match(/^pk_test/),i=3===(r=e.version)?"v3":r;o&&"v3"!==i&&console.warn("Stripe.js@".concat(i," was loaded on the page, but @stripe/stripe-js@").concat("5.10.0"," expected Stripe.js@").concat("v3",". 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 f(a,n),a},y=function(e){var t="invalid load parameters; expected object of shape\n\n    {advancedFraudSignals: boolean}\n\nbut received\n\n    ".concat(JSON.stringify(e),"\n");if(null===e||"object"!==r(e))throw Error(t);if(1===Object.keys(e).length&&"boolean"==typeof e.advancedFraudSignals)return e;throw Error(t)},v=!1,E=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];v=!0;var i=Date.now();return(e=o,null!==p?p:(p=new Promise(function(t,n){if("u"<typeof window||"u"<typeof document)return void t(null);if(window.Stripe&&e&&console.warn(u),window.Stripe)return void t(window.Stripe);try{var r,o=l();o&&e?console.warn(u):o?o&&null!==h&&null!==m&&(o.removeEventListener("load",h),o.removeEventListener("error",m),null==(r=o.parentNode)||r.removeChild(o),o=d(e)):o=d(e),h=function(){window.Stripe?t(window.Stripe):n(Error("Stripe.js not available"))},m=function(e){n(Error("Failed to load Stripe.js",{cause:e}))},o.addEventListener("load",h),o.addEventListener("error",m)}catch(e){n(e);return}})).catch(function(e){return p=null,Promise.reject(e)})).then(function(e){return g(e,n,i)})};
1E.setLoadParameters=function(e){if(!(v&&o&&Object.keys(y(e)).reduce(function(t,n){var r;return t&&e[n]===(null==(r=o)?void 0:r[n])},!0))){if(v)throw Error("You cannot change load parameters after calling loadStripe");o=y(e)}},n.loadStripe=E},336599,(e,t,n)=>{t.exports=e.r(554358)},149976,e=>{"use strict";var t=e.i(136389),n=e.i(37123),r=e.i(813378);e.i(336599);var o=(0,n.createContext)({elements:null}),i=n.default.createContext(null);e.s(["useForm",0,function(e,a={}){let[c,s]=(0,n.useState)(null),[u,l]=(0,n.useState)(null),[d,f]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1);if(!e)throw Error('You must provide a form key or hashid (e.g. useForm("myForm") or useForm("123xyz")');let h=function(e,a={}){let c=(0,n.useContext)(i)??{client:(0,r.getDefaultClient)()},{client:s=c.client,extraData:u,origin:l}=a,{elements:d}=(0,n.useContext)(o),{stripe:f}=s;return async function(n){var o;let i="preventDefault"in(o=n)&&"function"==typeof o.preventDefault?function(e){e.preventDefault();let t=e.currentTarget;if("FORM"!=t.tagName)throw Error("submit was triggered for a non-form element");return new FormData(t)}(n):n;if("object"==typeof u)for(let[e,t]of Object.entries(u)){let n;void 0!==(n="function"==typeof t?await t():t)&&(0,r.appendExtraData)(i,e,n)}let a=d?.getElement(t.CardElement),c=f&&a?()=>f.createPaymentMethod({type:"card",card:a,billing_details:function(e){let t={address:function(e){let t={};for(let[n,r]of[["address_line1","line1"],["address_line2","line2"],["address_city","city"],["address_country","country"],["address_state","state"],["address_postal_code","postal_code"]]){let o=e instanceof FormData?e.get(n):e[n];o&&"string"==typeof o&&(t[r]=o)}return t}(e)};for(let n of["name","email","phone"]){let r=e instanceof FormData?e.get(n):e[n];r&&"string"==typeof r&&(t[n]=r)}return t}(i)}):void 0;return s.submitForm(e,i,{endpoint:l,clientName:"@formspree/[email protected]",createPaymentMethod:c})}}(e,{client:a.client,extraData:a.data,origin:a.endpoint});return[{errors:c,result:u,submitting:d,succeeded:p},async function(e){f(!0);let t=await h(e);f(!1),(0,r.isSubmissionError)(t)?(s(t),m(!1)):(s(null),l(t),m(!0))},function(){s(null),l(null),f(!1),m(!1)}]}])},100187,e=>{"use strict";var t=new WeakMap,n=new WeakMap,r={},o=0,i=function(e){return e&&(e.host||i(e.parentNode))},a=function(e,a,c,s){var u=(Array.isArray(e)?e:[e]).map(function(e){if(a.contains(e))return e;var t=i(e);return t&&a.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",a,". Doing nothing"),null)}).filter(function(e){return!!e});r[c]||(r[c]=new WeakMap);var l=r[c],d=[],f=new Set,p=new Set(u),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};u.forEach(m);var h=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))h(e);else try{var r=e.getAttribute(s),o=null!==r&&"false"!==r,i=(t.get(e)||0)+1,a=(l.get(e)||0)+1;t.set(e,i),l.set(e,a),d.push(e),1===i&&o&&n.set(e,!0),1===a&&e.setAttribute(c,"true"),o||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return h(a),f.clear(),o++,function(){d.forEach(function(e){var r=t.get(e)-1,o=l.get(e)-1;t.set(e,r),l.set(e,o),r||(n.has(e)||e.removeAttribute(s),n.delete(e)),o||e.removeAttribute(c)}),--o||(t=new WeakMap,t=new WeakMap,n=new WeakMap,r={})}};e.s(["hideOthers",0,function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),a(r,o,n,"aria-hidden")):function(){return null}}])},285708,e=>{"use strict";var t,n,r,o,i,a,c,s=e.i(589853),u=e.i(37123),l="right-scroll-bar-position",d="width-before-scroll-bar";function f(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var p="u">typeof window?u.useLayoutEffect:u.useEffect,m=new WeakMap,h=(void 0===t&&(t={}),(void 0===n&&(n=function(e){return e}),r=[],o=!1,i={read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;
1r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),r={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),r}}}}).options=(0,s.__assign)({async:!0,ssr:!1},t),i),g=function(){},y=u.forwardRef(function(e,t){var n,r,o,i,a=u.useRef(null),c=u.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),l=c[0],d=c[1],y=e.forwardProps,v=e.children,E=e.className,b=e.removeScrollBar,w=e.enabled,C=e.shards,S=e.sideCar,k=e.noIsolation,x=e.inert,P=e.allowPinchZoom,O=e.as,_=e.gapMode,j=(0,s.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[a,t],r=function(e){return n.forEach(function(t){return f(t,e)})},(o=(0,u.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,p(function(){var e=m.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||f(e,null)}),r.forEach(function(e){t.has(e)||f(e,o)})}m.set(i,n)},[n]),i),N=(0,s.__assign)((0,s.__assign)({},j),l);return u.createElement(u.Fragment,null,w&&u.createElement(S,{sideCar:h,removeScrollBar:b,shards:C,noIsolation:k,inert:x,setCallbacks:d,allowPinchZoom:!!P,lockRef:a,gapMode:_}),y?u.cloneElement(u.Children.only(v),(0,s.__assign)((0,s.__assign)({},N),{ref:R})):u.createElement(void 0===O?"div":O,(0,s.__assign)({},N,{className:E,ref:R}),v))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:d,zeroRight:l};var v=function(e){var t=e.sideCar,n=(0,s.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return u.createElement(r,(0,s.__assign)({},n))};v.isSideCarExport=!0;var E=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=E();return function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},C={left:0,top:0,right:0,gap:0},S=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[S(n),S(r),S(o)]},x=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return C;var t=k(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},P=w(),O="data-scroll-locked",_=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(c,"px ").concat(r,";\n  }\n  body[").concat(O,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(l," {\n    right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(d," {\n    margin-right: ").concat(c,"px ").concat(r,";\n  }\n  \n  .").concat(l," .").concat(l," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(d," .").concat(d," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(O,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n  }\n")},j=function(){var e=parseInt(document.body.getAttribute(O)||"0",10);return isFinite(e)?e:0},R=function(){u.useEffect(function(){return document.body.setAttribute(O,(j()+1).toString()),function(){var e=j()-1;e<=0?document.body.removeAttribute(O):document.body.setAttribute(O,e.toString())}},[])},N=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;R();var i=u.useMemo(function(){return x(o)},[o]);return u.createElement(P,{styles:_(i,!t,o,n?"":"!important")})},A=!1;if("u">typeof window)try{var T=Object.defineProperty({},"passive",{get:function(){return A=!0,!0}});window.addEventListener("test",T,T),window.removeEventListener("test",T,T)}catch(e){A=!1}var I=!!A&&{passive:!1},M=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},D=function(e,t){var n=t.ownerDocument,r=t;do{if("u">typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),L(e,r)){var o=F(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body)return!1},L=function(e,t){return"v"===e?M(t,"overflowY"):M(t,"overflowX")},F=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},Y=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),c=a*r,s=n.target,u=t.contains(s),l=!1,d=c>0,f=0,p=0;do{var m=F(e,s),h=m[0],g=m[1]-m[2]-a*h;(h||g)&&L(e,s)&&(f+=g,p+=h),s=s instanceof ShadowRoot?s.host:s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s))return d&&(o&&1>Math.abs(f)||!o&&c>f)?l=!0:!d&&(o&&1>Math.abs(p)||!o&&-c>p)&&(l=!0),l},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},B=function(e){return[e.deltaX,e.deltaY]},W=function(e){return e&&"current"in e?e.current:e},$=0,K=[];let z=(a=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),o=u.useState($++)[0],i=u.useState(w)[0],a=u.useRef(e);u.useEffect(function(){a.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,s.__spreadArray)([e.lockRef.current],(e.shards||[]).map(W),!0).filter(
1Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var o,i=U(e),c=n.current,s="deltaX"in e?e.deltaX:c[0]-i[0],u="deltaY"in e?e.deltaY:c[1]-i[1],l=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===l.type)return!1;var f=D(d,l);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=D(d,l)),!f)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var p=r.current||o;return Y(p,t,e,"h"===p?s:u,!0)},[]),l=u.useCallback(function(e){if(K.length&&K[K.length-1]===i){var n="deltaY"in e?B(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(W).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=u.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=u.useCallback(function(e){n.current=U(e),r.current=void 0},[]),p=u.useCallback(function(t){d(t.type,B(t),t.target,c(t,e.lockRef.current))},[]),m=u.useCallback(function(t){d(t.type,U(t),t.target,c(t,e.lockRef.current))},[]);u.useEffect(function(){return K.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",l,I),document.addEventListener("touchmove",l,I),document.addEventListener("touchstart",f,I),function(){K=K.filter(function(e){return e!==i}),document.removeEventListener("wheel",l,I),document.removeEventListener("touchmove",l,I),document.removeEventListener("touchstart",f,I)}},[]);var h=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,h?u.createElement(N,{gapMode:e.gapMode}):null)},h.useMedium(a),v);var q=u.forwardRef(function(e,t){return u.createElement(y,(0,s.__assign)({},e,{ref:t,sideCar:z}))});q.classNames=y.classNames,e.s(["RemoveScroll",0,q],285708)}]);

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.