PageSourceSearch

https://www.goodcompany.com.au/_next/static/chunks/3600-ab1ffa563b5b74e0.js

js goodcompany.com.au collected 2026-09-24 23:08:10 UTC 12,531 bytes, 2 lines download raw bytes

1try{!function(){var 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]="9bc0b749-b8a3-45ba-bbce-5bb3662156c5",e._sentryDebugIdIdentifier="sentry-dbid-9bc0b749-b8a3-45ba-bbce-5bb3662156c5")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3600],{4241:(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,{c:()=>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},p=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:"9.2.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.2.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 f(s,n),s},v=!1,b=function(){return o?o:o=(null!==d?d:(d=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=l();r?r&&null!==m&&null!==y&&(r.removeEventListener("load",m),r.removeEventListener("error",y),null==(n=r.parentNode)||n.removeChild(r),r=p(null)):r=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}))},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()}).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)})}},39742:(e,t,n)=>{n.d(t,{GF:()=>N,HH:()=>C,S8:()=>j,hA:()=>I,t2:()=>D});var r=n(14232),o=n(95062);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)}}
1(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)},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.2.0"}),e.registerAppInfo({name:"react-stripe-js",version:"6.2.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=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)};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=O("mounts <".concat(i,">")),I="elements"in D?D.elements:null,N="checkoutState"in D?D.checkoutState:null,_=(null==N?void 0:N.type)==="success"||(null==N?void 0:N.type)==="loading"?N.sdk:null,R=s(r.useState(null),2),L=R[0],T=R[1],F=r.useRef(null),M=r.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,"networksch
1ange",S),p(L,"confirm",w),p(L,"cancel",j),p(L,"shippingaddresschange",C),p(L,"shippingratechange",k),p(L,"savedpaymentmethodremove",x),p(L,"savedpaymentmethodupdate",A),p(L,"change",m),y&&(n="expressCheckout"===e?y:function(){y(L)}),p(L,"ready",n),r.useLayoutEffect(function(){if(null===F.current&&null!==M.current&&(I||_)){var t=null;if(_)switch(e){case"paymentForm":t=_.createForm(u);break;case"payment":t=_.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=_.createShippingAddressElement(r);else if("billing"===n)t=_.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=_.createExpressCheckoutElement(u);break;case"currencySelector":t=_.createCurrencySelectorElement();break;case"taxId":t=_.createTaxIdElement(u);break;case"contactDetails":t=_.createContactDetailsElement();break;default:throw Error("<".concat(i,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}else I&&(t=I.create(e,u));F.current=t,T(t),t&&t.mount(M.current)}},[I,_,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:o,className:c,ref:M})};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,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);var I=x("card",A);x("cardNumber",A),x("cardExpiry",A),x("cardCvc",A),x("iban",A),x("payment",A),x("expressCheckout",A);var N=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)}}]);
2//# sourceMappingURL=3600-ab1ffa563b5b74e0.js.map

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.