PageSourceSearch

https://app.laka.co/_next/static/chunks/5935-b27e5cee2fa7cbd7.js

js laka.co collected 2026-09-28 09:21:23 UTC 12,663 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="117c4bfd-ebbc-47fd-84e4-d48fa7fd1fef",e._sentryDebugIdIdentifier="sentry-dbid-117c4bfd-ebbc-47fd-84e4-d48fa7fd1fef")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5935],{4192:function(e,t,n){n.d(t,{Hn:function(){return I},MD:function(){return D},eK:function(){return j},lq:function(){return C}});var r=n(44194),o=n(7862);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 f=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(){if(i.current)return i.current.apply(i,arguments)};return e.on(t,n),function(){e.off(t,n)}},[o,t,e,i])},p=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)},y="[object Object]",m=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)===y;if(o!==(Object.prototype.toString.call(n)===y))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)||!m(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.",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 n=b(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:"6.6.0"}),e.registerAppInfo({name:"react-stripe-js",version:"6.6.0",url:"https://stripe.com/docs/stripe-js/react"}))},S=r.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},j=function(e){var t=e.stripe,n=e.options,o=e.children,i=r.useMemo(function(){return g(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=p(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 f=p(n);return r.useEffect(function(){if(a.elements){var e=h(n,f,["clientSecret","fonts"]);e&&a.elements.update(e)}},[n,f,a.elements]),r.useEffect(function(){E(a.stripe)},[a.stripe]),r.createElement(S.Provider,{value:a},o)};j.propTypes={stripe:o.any,options:o.object};var C=function(){var e;return(e="calls useElements()",w(r.useContext(S),e)).elements};o.func.isRequired;var k=r.createContext(null);k.displayName="CheckoutContext";var O=function(e){var t=r.useContext(k),n=r.useContext(S);if(!t)return w(n,e);if(!n)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,n){var i="".concat(e.charAt(0).toUpperCase()+e.slice(1),"Element"),c=t?function(e){O("mounts <".concat(i,">"));var t=e.id,n=e.className;return r.createElement("div",{id:t,className:n})}:function(t){var n,o=t.id,c=t.className,a=t.options,u=void 0===a?{}:a,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,j=t.onCancel,C=t.onShippingAddressChange,k=t.onShippingRateChange,x=t.onSavedPaymentMethodRemove,A=t.onSavedPaymentMethodUpdate,D=t.onAvailablePaymentMethodsChange,I=O("mounts <".concat(i,">")),N="elements"in I?I.elements:null,_="checkoutState"in I?I.checkoutState:null,R=(null==_?void 0:_.type)==="success"||(null==_?void 0:_.type)==="loading"?_.sdk:null,M=s(r.useState(null),2),L=M[0],F=M[1],T=r.useRef(null),U=r.useRef(null);
1f(L,"blur",l),f(L,"focus",d),f(L,"escape",v),f(L,"click",b),f(L,"loaderror",g),f(L,"loaderstart",E),f(L,"networkschange",S),f(L,"confirm",w),f(L,"cancel",j),f(L,"shippingaddresschange",C),f(L,"shippingratechange",k),f(L,"savedpaymentmethodremove",x),f(L,"savedpaymentmethodupdate",A),f(L,"availablepaymentmethodschange",D),f(L,"change",m),y&&(n="expressCheckout"===e?y:function(){y(L)}),f(L,"ready",n),r.useLayoutEffect(function(){if(null===T.current&&null!==U.current&&(N||R)){var t=null;if(R)switch(e){case"paymentForm":t=R.createForm(u);break;case"payment":t=R.createPaymentElement(u);break;case"address":if("mode"in u){var n=u.mode,r=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"===n)t=R.createShippingAddressElement(r);else if("billing"===n)t=R.createBillingAddressElement(r);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=R.createExpressCheckoutElement(u);break;case"currencySelector":t=R.createCurrencySelectorElement();break;case"taxId":t=R.createTaxIdElement(u);break;case"contactDetails":t=R.createContactDetailsElement();break;default:throw Error("<".concat(i,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}else N&&(t=N.create(e,u));T.current=t,F(t),t&&t.mount(U.current)}},[N,R,u]);var q=p(u);return r.useEffect(function(){if(T.current){var e=h(u,q,["paymentRequest"]);e&&"update"in T.current&&T.current.update(e)}},[u,q]),r.useLayoutEffect(function(){return function(){if(T.current&&"function"==typeof T.current.destroy)try{T.current.destroy(),T.current=null}catch(e){}}},[]),r.createElement("div",{id:o,className:c,ref:U})};return c.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},c.displayName=i,c.__elementType=e,c},A="undefined"==typeof window;r.createContext(null).displayName="EmbeddedCheckoutProviderContext";var D=function(){return O("calls useStripe()").stripe};x("auBankAccount",A),x("card",A),x("cardNumber",A),x("cardExpiry",A),x("cardCvc",A),x("currencySelector",A),x("iban",A);var I=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)},1882:function(e,t,n){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)}n.d(t,{J:function(){return g}});var o,i="dahlia",c="https://js.stripe.com",a="".concat(c,"/").concat(i,"/stripe.js"),u=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,s=/^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/,l=function(){for(var e=document.querySelectorAll('script[src^="'.concat(c,'"]')),t=0;t<e.length;t++){var n,r=e[t];if(n=r.src,u.test(n)||s.test(n))return r}return null},f=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},p=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"9.8.0",startTime:t})},d=null,y=null,m=null,h=function(e,t,n){if(null===e)return null;var o,c=t[0];if("string"!=typeof c)throw Error("Expected publishable key to be of type string, got type ".concat(r(c)," instead."));var a=c.match(/^pk_test/),u=3===(o=e.version)?"v3":o;a&&u!==i&&console.warn("Stripe.js@".concat(u," was loaded on the page, but @stripe/stripe-js@").concat("9.8.0"," expected Stripe.js@").concat(i,". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));var s=e.apply(void 0,t);return p(s,n),s},v=!1,b=function(){return o||(o=(null!==d?d:(d=new Promise(function(e,t){if("undefined"==typeof window||"undefined"==typeof document){e(null);return}if(window.Stripe,window.Stripe){e(window.Stripe);return}try{var n,r=l();r?r&&null!==m&&null!==y&&(r.removeEventListener("load",m),r.removeEventListener("error",y),null===(n=r.parentNode)||void 0===n||n.removeChild(r),r=f(null)):r=f(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}))},r.addEventListener("load",m),r.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()}
1).catch(function(e){v||console.warn(e)});var g=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];v=!0;var r=Date.now();return b().then(function(e){return h(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.