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gBAAgBwH,gBACK,IAA5BpyB,EAAOqyB,iBAEA,IAAIj3C,SAAS,CAAES,EAASM,KAC9B2jB,EACCC,EACAC,EAAO4qB,gBACL7pB,IACDC,EAAcW,UAAWZ,GACzBllB,EAASklB,EAAQ,GAElB5kB,EACA,IAGI,KAyB0Bm2C,CAChCvyB,EACAC,GAED,GAAKmyB,EACJ,OAAOA,EAGR,MAAMI,EAAgB,IAAIn3C,SAAS,CAAES,EAASM,KAC7C2kB,EAAYf,GACVrlB,MAAQ83C,IACRxxB,EAAcW,UAAW6wB,GACzBttB,EAAc59B,IAAKgL,EAAWkgD,GAC9Bn/C,QAAQiuB,IAAK,gCAAiChvB,KAC9CuJ,EAAS22C,EAAQ,IAEjB10B,OAASz5B,IACTgP,QAAQhP,MACP,wCAAyCiO,IACzCjO,GAED8X,EAAQ9X,EAAO,IAEfouD,SAAS,KACTttB,EAAe9C,OAAQ/vB,EAAW,GAChC,IAIL,OADA6yB,EAAe79B,IAAKgL,EAAWigD,GACxBA,CAAa,EuCVnBG,CAAkBpgD,EAAW85B,GAC3B1xB,MAAM,WACNq3C,GAAe,EACfE,GACD,IACCn0B,OAAO,SAAEz5B,GACTgP,QAAQhP,MAAO,iCAAkCA,EAClD,GA3BD,CAVA,MAHCusD,GAyCF,GACA,CAzED,CAyEK,CACJzkB,aAAct8B,OAAO8iD,iBACrBvmB,WAAYv8B,OAAO4qC","sources":["webpack://ppcp-applepay/../ppcp-button/node_modules/deepmerge/dist/cjs.js","webpack://ppcp-applepay/./node_modules/core-js/internals/a-callable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/a-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/a-possible-prototype.js","webpack://ppcp-applepay/./node_modules/core-js/internals/add-to-unscopables.js","webpack://ppcp-applepay/./node_modules/core-js/internals/an-instance.js","webpack://ppcp-applepay/./node_modules/core-js/internals/an-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-for-each.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-from.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-includes.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-iteration.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-method-is-strict.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-set-length.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-slice.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-sort.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-species-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/array-species-create.js","webpack://ppcp-applepay/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://ppcp-applepay/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://ppcp-applepay/./node_modules/core-js/internals/classof-raw.js","webpack://ppcp-applepay/./node_modules/core-js/internals/classof.js","webpack://ppcp-applepay/./node_modules/core-js/internals/collection-weak.js","webpack://ppcp-applepay/./node_modules/core-js/internals/collection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://ppcp-applepay/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-iter-result-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-property-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/create-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/date-to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-built-ins.js","webpack://ppcp-applepay/./node_modules/core-js/internals/define-global-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://ppcp-applepay/./node_modules/core-js/internals/descriptors.js","webpack://ppcp-applepay/./node_modules/core-js/internals/document-create-element.js","webpack://ppcp-applepay/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://ppcp-applepay/./node_modules/core-js/internals/dom-iterables.js","webpack://ppcp-applepay/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://ppcp-applepay/./node_modules/core-js/internals/enum-bug-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-ff-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-ie-or-edge.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-ios-pebble.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-ios.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-node.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-is-webos-webkit.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-user-agent.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-v8-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment-webkit-version.js","webpack://ppcp-applepay/./node_modules/core-js/internals/environment.js","webpack://ppcp-applepay/./node_modules/core-js/internals/error-stack-clear.js","webpack://ppcp-applepay/./node_modules/core-js/internals/error-stack-install.js","webpack://ppcp-applepay/./node_modules/core-js/internals/error-stack-installable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/export.js","webpack://ppcp-applepay/./node_modules/core-js/internals/fails.js","webpack://ppcp-applepay/./node_modules/core-js/internals/freezing.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-apply.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-bind-context.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-bind-native.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-bind.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-call.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-name.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://ppcp-applepay/./node_modules/core-js/internals/function-uncurry-this.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-iterator-direct.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-iterator-method.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-iterator.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://ppcp-applepay/./node_modules/core-js/internals/get-method.js","webpack://ppcp-applepay/./node_modules/core-js/internals/global-this.js","webpack://ppcp-applepay/./node_modules/core-js/internals/has-own-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/hidden-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/host-report-errors.js","webpack://ppcp-applepay/./node_modules/core-js/internals/html.js","webpack://ppcp-applepay/./node_modules/core-js/internals/ie8-dom-define.js","webpack://ppcp-applepay/./node_modules/core-js/internals/indexed-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/inherit-if-required.js","webpack://ppcp-applepay/./node_modules/core-js/internals/inspect-source.js","webpack://ppcp-applepay/./node_modules/core-js/internals/install-error-cause.js","webpack://ppcp-applepay/./node_modules/core-js/internals/internal-metadata.js","webpack://ppcp-applepay/./node_modules/core-js/internals/internal-state.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-array.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-callable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-data-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-forced.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-possible-prototype.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-pure.js","webpack://ppcp-applepay/./node_modules/core-js/internals/is-symbol.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterate.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-close.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-create-proxy.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterator-define.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterators-core.js","webpack://ppcp-applepay/./node_modules/core-js/internals/iterators.js","webpack://ppcp-applepay/./node_modules/core-js/internals/length-of-array-like.js","webpack://ppcp-applepay/./node_modules/core-js/internals/make-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/math-trunc.js","webpack://ppcp-applepay/./node_modules/core-js/internals/microtask.js","webpack://ppcp-applepay/./node_modules/core-js/internals/new-promise-capability.js","webpack://ppcp-applepay/./node_modules/core-js/internals/normalize-string-argument.js","webpack://ppcp-applepay/./node_modules/core-js/internals/number-parse-int.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-assign.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-create.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-define-properties.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-define-property.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-is-extensible.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-keys-internal.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/internals/object-to-string.js","webpack://ppcp-applepay/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/own-keys.js","webpack://ppcp-applepay/./node_modules/core-js/internals/path.js","webpack://ppcp-applepay/./node_modules/core-js/internals/perform.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-constructor-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-native-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-resolve.js","webpack://ppcp-applepay/./node_modules/core-js/internals/promise-statics-incorrect-iteration.js","webpack://ppcp-applepay/./node_modules/core-js/internals/proxy-accessor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/queue.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-exec.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-flags.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-get-flags.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://ppcp-applepay/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://ppcp-applepay/./node_modules/core-js/internals/require-object-coercible.js","webpack://ppcp-applepay/./node_modules/core-js/internals/safe-get-built-in.js","webpack://ppcp-applepay/./node_modules/core-js/internals/set-species.js","webpack://ppcp-applepay/./node_modules/core-js/internals/set-to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/internals/shared-key.js","webpack://ppcp-applepay/./node_modules/core-js/internals/shared-store.js","webpack://ppcp-applepay/./node_modules/core-js/internals/shared.js","webpack://ppcp-applepay/./node_modules/core-js/internals/species-constructor.js","webpack://ppcp-applepay/./node_modules/core-js/internals/string-multibyte.js","webpack://ppcp-applepay/./node_modules/core-js/internals/string-trim.js","webpack://ppcp-applepay/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/symbol-define-to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/symbol-registry-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/task.js","webpack://ppcp-applepay/./node_modules/core-js/internals/this-number-value.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-absolute-index.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-indexed-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-length.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-object.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-property-key.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-string-tag-support.js","webpack://ppcp-applepay/./node_modules/core-js/internals/to-string.js","webpack://ppcp-applepay/./node_modules/core-js/internals/try-to-string.js","webpack://ppcp-applepay/./node_modules/core-js/internals/uid.js","webpack://ppcp-applepay/./node_modules/core-js/internals/url-constructor-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://ppcp-applepay/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://ppcp-applepay/./node_modules/core-js/internals/validate-arguments-length.js","webpack://ppcp-applepay/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://ppcp-applepay/./node_modules/core-js/internals/well-known-symbol-define.js","webpack://ppcp-applepay/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://ppcp-applepay/./node_modules/core-js/internals/well-known-symbol.js","webpack://ppcp-applepay/./node_modules/core-js/internals/whitespaces.js","webpack://ppcp-applepay/./node_modules/core-js/internals/wrap-error-constructor-with-cause.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.concat.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.filter.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.from.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.index-of.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.push.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.reverse.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.slice.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.array.sort.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.date.to-json.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.date.to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.error.cause.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.iterator.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.iterator.filter.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.iterator.for-each.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.json.stringify.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.json.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.math.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.number.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.assign.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.from-entries.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-own-property-descriptor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-own-property-descriptors.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-own-property-symbols.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.keys.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.object.to-string.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.parse-int.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.all.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.catch.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.race.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.reject.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.promise.resolve.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.reflect.construct.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.reflect.get.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.reflect.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.regexp.exec.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.regexp.test.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.string.from-code-point.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.string.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.async-iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.description.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.for.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.key-for.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.to-primitive.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.symbol.to-string-tag.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-map.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-map.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-set.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/es.weak-set.js","webpack://ppcp-applepay/./node_modules/core-js/modules/esnext.iterator.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/esnext.iterator.filter.js","webpack://ppcp-applepay/./node_modules/core-js/modules/esnext.iterator.for-each.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.url-search-params.constructor.js","webpack://ppcp-applepay/./node_modules/core-js/modules/web.url-search-params.js","webpack://ppcp-applepay/webpack/bootstrap","webpack://ppcp-applepay/./node_modules/@paypal/paypal-js/dist/esm/paypal-js.js","webpack://ppcp-applepay/../ppcp-button/node_modules/@paypal/paypal-js/dist/esm/paypal-js.js","webpack://ppcp-applepay/webpack/runtime/compat get default export","webpack://ppcp-applepay/webpack/runtime/define property getters","webpack://ppcp-applepay/webpack/runtime/global","webpack://ppcp-applepay/webpack/runtime/hasOwnProperty shorthand","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/DataClientIdAttributeHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Renderer/WidgetBuilder.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/native.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/rng.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/stringify.js","webpack://ppcp-applepay/../../node_modules/uuid/dist/esm-browser/v4.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ConfigProcessor.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Utils.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/PayPalScriptLoading.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ButtonModuleWatcher.js","webpack://ppcp-applepay/./resources/js/Helper/applePayError.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/FormValidator.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ErrorHandler.js","webpack://ppcp-applepay/../ppcp-wc-gateway/resources/js/helper/ConsoleLogger.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ApmButtons.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CheckoutMethodState.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/PaymentButtonHelpers.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Hiding.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ButtonDisabler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Renderer/PaymentButton.js","webpack://ppcp-applepay/./resources/js/ApplepayButton.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Entity/Product.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Entity/BookingProduct.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/OnApproveHandler/onApproveForContinue.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/PayerData.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CartHelper.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/FormHelper.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/SingleProductActionHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/SimulateCart.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/UpdateCart.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/CartActionHandler.js","webpack://ppcp-applepay/./resources/js/Context/BaseHandler.js","webpack://ppcp-applepay/./resources/js/Context/SingleProductHandler.js","webpack://ppcp-applepay/./resources/js/Context/CartHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/Spinner.js","webpack://ppcp-applepay/../ppcp-button/node_modules/formdata-polyfill/formdata.min.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/OnApproveHandler/onApproveForPayNow.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/CheckoutFormValidation.js","webpack://ppcp-applepay/./resources/js/Context/CheckoutHandler.js","webpack://ppcp-applepay/./resources/js/Context/CartBlockHandler.js","webpack://ppcp-applepay/./resources/js/Context/CheckoutBlockHandler.js","webpack://ppcp-applepay/./resources/js/Context/MiniCartHandler.js","webpack://ppcp-applepay/./resources/js/Context/PreviewHandler.js","webpack://ppcp-applepay/./resources/js/Context/PayNowHandler.js","webpack://ppcp-applepay/./resources/js/Context/ContextHandlerFactory.js","webpack://ppcp-applepay/./resources/js/ApplepayManager.js","webpack://ppcp-applepay/./resources/js/boot.js","webpack://ppcp-applepay/../ppcp-button/resources/js/modules/Helper/ButtonRefreshHelper.js","webpack://ppcp-applepay/../ppcp-blocks/resources/js/Helper/debounce.js"],"sourcesContent":["'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","'use strict';\nvar isPossiblePrototype = require('../internals/is-possible-prototype');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (isPossiblePrototype(argument)) return argument;\n throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw new $TypeError('Incorrect invocation');\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\n// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n result = IS_CONSTRUCTOR ? new this() : [];\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE === 1;\n var IS_FILTER = TYPE === 2;\n var IS_SOME = TYPE === 3;\n var IS_EVERY = TYPE === 4;\n var IS_FIND_INDEX = TYPE === 6;\n var IS_FILTER_REJECT = TYPE === 7;\n var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(self);\n var boundFunction = bind(callbackfn, that);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/environment-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar isArray = require('../internals/is-array');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n // makes no sense without proper strict mode support\n if (this !== undefined) return true;\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).length = 1;\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n throw new $TypeError('Cannot set read only .length');\n } return O.length = length;\n} : function (O, length) {\n return O.length = length;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","'use strict';\nvar arraySlice = require('../internals/array-slice');\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n var length = array.length;\n\n if (length < 8) {\n // insertion sort\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n } else {\n // merge sort\n var middle = floor(length / 2);\n var left = sort(arraySlice(array, 0, middle), comparefn);\n var right = sort(arraySlice(array, middle), comparefn);\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n }\n }\n\n return array;\n};\n\nmodule.exports = sort;\n","'use strict';\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","'use strict';\nvar arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n try {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (state) {\n return state.frozen || (state.frozen = new UncaughtFrozenStore());\n};\n\nvar UncaughtFrozenStore = function () {\n this.entries = [];\n};\n\nvar findUncaughtFrozen = function (store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\n\nUncaughtFrozenStore.prototype = {\n get: function (key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function (key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function (key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;\n else this.entries.push([key, value]);\n },\n 'delete': function (key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: null\n });\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);\n else data[state.id] = value;\n return that;\n };\n\n defineBuiltIns(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function (key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n if (data) return data[state.id];\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n\n return Constructor;\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = globalThis[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY === 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY === 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY === 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","'use strict';\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n else object[key] = value;\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar $TypeError = TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw new $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n globalThis[key] = value;\n } return value;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","'use strict';\n// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","'use strict';\nvar UA = require('../internals/environment-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","'use strict';\nvar ENVIRONMENT = require('../internals/environment');\n\nmodule.exports = ENVIRONMENT === 'NODE';\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar userAgent = require('../internals/environment-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","'use strict';\n/* global Bun, Deno -- detection */\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\nvar classof = require('../internals/classof-raw');\n\nvar userAgentStartsWith = function (string) {\n return userAgent.slice(0, string.length) === string;\n};\n\nmodule.exports = (function () {\n if (userAgentStartsWith('Bun/')) return 'BUN';\n if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';\n if (userAgentStartsWith('Deno/')) return 'DENO';\n if (userAgentStartsWith('Node.js/')) return 'NODE';\n if (globalThis.Bun && typeof Bun.version == 'string') return 'BUN';\n if (globalThis.Deno && typeof Deno.version == 'object') return 'DENO';\n if (classof(globalThis.process) === 'process') return 'NODE';\n if (globalThis.window && globalThis.document) return 'BROWSER';\n return 'REST';\n})();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable, sonarjs/slow-regex -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n } return stack;\n};\n","'use strict';\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar clearErrorStack = require('../internals/error-stack-clear');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n if (ERROR_STACK_INSTALLABLE) {\n if (captureStackTrace) captureStackTrace(error, C);\n else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = !fails(function () {\n var error = new Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = globalThis;\n } else if (STATIC) {\n target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = globalThis[TARGET] && globalThis[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n var list = [];\n var i = 0;\n for (; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","'use strict';\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect\nmodule.exports = function (obj) {\n return {\n iterator: obj,\n next: obj.next,\n done: false\n };\n};\n","'use strict';\nvar classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nmodule.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","'use strict';\nvar classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) === 'Array';\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, [], argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nmodule.exports = function (argument) {\n return isObject(argument) || argument === null;\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getMethod = require('../internals/get-method');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar setInternalState = InternalStateModule.set;\n\nvar createIteratorProxyPrototype = function (IS_ITERATOR) {\n var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);\n\n return defineBuiltIns(create(IteratorPrototype), {\n next: function next() {\n var state = getInternalState(this);\n // for simplification:\n // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`\n // for `%IteratorHelperPrototype%.next` - just a value\n if (IS_ITERATOR) return state.nextHandler();\n try {\n var result = state.done ? undefined : state.nextHandler();\n return createIterResultObject(result, state.done);\n } catch (error) {\n state.done = true;\n throw error;\n }\n },\n 'return': function () {\n var state = getInternalState(this);\n var iterator = state.iterator;\n state.done = true;\n if (IS_ITERATOR) {\n var returnMethod = getMethod(iterator, 'return');\n return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true);\n }\n if (state.inner) try {\n iteratorClose(state.inner.iterator, 'normal');\n } catch (error) {\n return iteratorClose(iterator, 'throw', error);\n }\n if (iterator) iteratorClose(iterator, 'normal');\n return createIterResultObject(undefined, true);\n }\n });\n};\n\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\n\ncreateNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');\n\nmodule.exports = function (nextHandler, IS_ITERATOR) {\n var IteratorProxy = function Iterator(record, state) {\n if (state) {\n state.iterator = record.iterator;\n state.next = record.next;\n } else state = record;\n state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n state.nextHandler = nextHandler;\n state.counter = 0;\n state.done = false;\n setInternalState(this, state);\n };\n\n IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n\n return IteratorProxy;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n }\n\n return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar safeGetBuiltIn = require('../internals/safe-get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/environment-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/environment-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/environment-is-webos-webkit');\nvar IS_NODE = require('../internals/environment-is-node');\n\nvar MutationObserver = globalThis.MutationObserver || globalThis.WebKitMutationObserver;\nvar document = globalThis.document;\nvar process = globalThis.process;\nvar Promise = globalThis.Promise;\nvar microtask = safeGetBuiltIn('queueMicrotask');\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, globalThis);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar toString = require('../internals/to-string');\n\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = globalThis.parseInt;\nvar Symbol = globalThis.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n activeXDocument = null;\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) === 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar isObject = require('../internals/is-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n requireObjectCoercible(O);\n aPossiblePrototype(proto);\n if (!isObject(O)) return O;\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis;\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ENVIRONMENT = require('../internals/environment');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/environment-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(globalThis.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis.Promise;\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","'use strict';\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function () { return Source[key]; },\n set: function (it) { Source[key] = it; }\n });\n};\n","'use strict';\nvar Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') !== null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') !== null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.test('\\n') && re.flags === 's');\n});\n","'use strict';\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar DESCRIPTORS = require('../internals/descriptors');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Avoid NodeJS experimental warning\nmodule.exports = function (name) {\n if (!DESCRIPTORS) return globalThis[name];\n var descriptor = getOwnPropertyDescriptor(globalThis, name);\n return descriptor && descriptor.value;\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","'use strict';\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.39.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","'use strict';\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/environment-is-ios');\nvar IS_NODE = require('../internals/environment-is-node');\n\nvar set = globalThis.setImmediate;\nvar clear = globalThis.clearImmediate;\nvar process = globalThis.process;\nvar Dispatch = globalThis.Dispatch;\nvar Function = globalThis.Function;\nvar MessageChannel = globalThis.MessageChannel;\nvar String = globalThis.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = globalThis.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n globalThis.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n globalThis.addEventListener &&\n isCallable(globalThis.postMessage) &&\n !globalThis.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n globalThis.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'https://a');\n var params = url.searchParams;\n var params2 = new URLSearchParams('a=1&a=2&b=3');\n var result = '';\n url.pathname = 'c%20d';\n params.forEach(function (value, key) {\n params['delete']('b');\n result += key + value;\n });\n params2['delete']('a', 2);\n // `undefined` case is a Chromium 117 bug\n // https://bugs.chromium.org/p/v8/issues/detail?id=14222\n params2['delete']('b', undefined);\n return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))\n || (!params.size && (IS_PURE || !DESCRIPTORS))\n || !params.sort\n || url.href !== 'https://a/c%20d?a=1&c=3'\n || params.get('c') !== '3'\n || String(new URLSearchParams('?a=1')) !== 'a=1'\n || !params[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a'\n || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('https://тест').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('https://a#б').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('https://x', undefined).host !== 'x';\n});\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL &&\n !Symbol.sham &&\n typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw new $TypeError('Not enough arguments');\n return passed;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar installErrorStack = require('../internals/error-stack-install');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n\n if (!OriginalError) return;\n\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n\n if (!FORCED) return OriginalError;\n\n var BaseError = getBuiltIn('Error');\n\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n installErrorStack(result, WrappedError, result.stack, 2);\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n\n WrappedError.prototype = OriginalErrorPrototype;\n\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);\n else copyConstructorProperties(WrappedError, BaseError, { name: true });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n\n copyConstructorProperties(WrappedError, OriginalError);\n\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) { /* empty */ }\n\n return WrappedError;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/environment-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = null;\n return createIterResultObject(undefined, true);\n }\n switch (state.kind) {\n case 'keys': return createIterResultObject(index, false);\n case 'values': return createIterResultObject(target[index], false);\n } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar setArrayLength = require('../internals/array-set-length');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\n\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;\n});\n\n// V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar properErrorOnNonWritableLength = function () {\n try {\n // eslint-disable-next-line es/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', { writable: false }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n};\n\nvar FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n setArrayLength(O, len);\n return len;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n reverse: function reverse() {\n // eslint-disable-next-line no-self-assign -- dirty hack\n if (isArray(this)) this.length = this.length;\n return nativeReverse(this);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/environment-ff-version');\nvar IE_OR_EDGE = require('../internals/environment-is-ie-or-edge');\nvar V8 = require('../internals/environment-v8-version');\nvar WEBKIT = require('../internals/environment-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = fails(function () {\n return new Date(NaN).toJSON() !== null\n || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O, 'number');\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","'use strict';\n/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\n\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = globalThis[WEB_ASSEMBLY];\n\n// eslint-disable-next-line es/no-error-cause -- feature detection\nvar FORCED = new Error('e', { cause: 7 }).cause !== 7;\n\nvar exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({ global: true, constructor: true, arity: 1, forced: FORCED }, O);\n};\n\nvar exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O);\n }\n};\n\n// https://tc39.es/ecma262/#sec-nativeerror\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) { return apply(init, this, arguments); };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) { return apply(init, this, arguments); };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) { return apply(init, this, arguments); };\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar createProperty = require('../internals/create-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\n\nvar CONSTRUCTOR = 'constructor';\nvar ITERATOR = 'Iterator';\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nvar $TypeError = TypeError;\nvar NativeIterator = globalThis[ITERATOR];\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE\n || !isCallable(NativeIterator)\n || NativeIterator.prototype !== IteratorPrototype\n // FF44- non-standard `Iterator` passes previous tests\n || !fails(function () { NativeIterator({}); });\n\nvar IteratorConstructor = function Iterator() {\n anInstance(this, IteratorPrototype);\n if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');\n};\n\nvar defineIteratorPrototypeAccessor = function (key, value) {\n if (DESCRIPTORS) {\n defineBuiltInAccessor(IteratorPrototype, key, {\n configurable: true,\n get: function () {\n return value;\n },\n set: function (replacement) {\n anObject(this);\n if (this === IteratorPrototype) throw new $TypeError(\"You can't redefine this property\");\n if (hasOwn(this, key)) this[key] = replacement;\n else createProperty(this, key, replacement);\n }\n });\n } else IteratorPrototype[key] = value;\n};\n\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);\n\nif (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {\n defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);\n}\n\nIteratorConstructor.prototype = IteratorPrototype;\n\n// `Iterator` constructor\n// https://tc39.es/ecma262/#sec-iterator\n$({ global: true, constructor: true, forced: FORCED }, {\n Iterator: IteratorConstructor\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar IS_PURE = require('../internals/is-pure');\n\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var predicate = this.predicate;\n var next = this.next;\n var result, done, value;\n while (true) {\n result = anObject(call(next, iterator));\n done = this.done = !!result.done;\n if (done) return;\n value = result.value;\n if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;\n }\n});\n\n// `Iterator.prototype.filter` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.filter\n$({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {\n filter: function filter(predicate) {\n anObject(this);\n aCallable(predicate);\n return new IteratorProxy(getIteratorDirect(this), {\n predicate: predicate\n });\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n\n// `Iterator.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.foreach\n$({ target: 'Iterator', proto: true, real: true }, {\n forEach: function forEach(fn) {\n anObject(this);\n aCallable(fn);\n var record = getIteratorDirect(this);\n var counter = 0;\n iterate(record, function (value) {\n fn(value, counter++);\n }, { IS_RECORD: true });\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')('stringify detection');\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) !== '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) !== '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(globalThis.JSON, 'JSON', true);\n","'use strict';\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar globalThis = require('../internals/global-this');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = globalThis[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = globalThis.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw new TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n // fast equal of /^0b[01]+$/i\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0o[0-7]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n default:\n return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://tc39.es/ecma262/#sec-object.fromentries\n$({ target: 'Object', stat: true }, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, { AS_ENTRIES: true });\n return obj;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","'use strict';\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt !== $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/environment-is-node');\nvar globalThis = require('../internals/global-this');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = globalThis.TypeError;\nvar document = globalThis.document;\nvar process = globalThis.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && globalThis.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state === FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(new TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n globalThis.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, globalThis, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, globalThis, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw new TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: null\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state === PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n// `Promise` constructor\n// https://tc39.es/ecma262/#sec-promise-executor\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n var capabilityReject = capability.reject;\n capabilityReject(r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target === newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n$({ global: true }, { Reflect: {} });\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(globalThis.Reflect, 'Reflect', true);\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\n\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\n\nvar nativeTest = /./.test;\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {\n test: function (S) {\n var R = anObject(this);\n var string = toString(S);\n var exec = R.exec;\n if (!isCallable(exec)) return call(nativeTest, R, string);\n var result = call(exec, R, string);\n if (result === null) return false;\n anObject(result);\n return true;\n }\n});\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar $RangeError = RangeError;\nvar fromCharCode = String.fromCharCode;\n// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing\nvar $fromCodePoint = String.fromCodePoint;\nvar join = uncurryThis([].join);\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fromCodePoint: function fromCodePoint(x) {\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');\n elements[i] = code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);\n } return join(elements, '');\n }\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = globalThis.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar RangeError = globalThis.RangeError;\nvar TypeError = globalThis.TypeError;\nvar QObject = globalThis.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar fallbackDefineProperty = function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n};\n\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a !== 7;\n}) ? fallbackDefineProperty : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n var $this = this === undefined ? globalThis : this;\n if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false;\n var descriptor = createPropertyDescriptor(1, value);\n try {\n setSymbolDescriptor($this, tag, descriptor);\n } catch (error) {\n if (!(error instanceof RangeError)) throw error;\n fallbackDefineProperty($this, tag, descriptor);\n }\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = globalThis.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n // eslint-disable-next-line sonarjs/inconsistent-function-call -- ok\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","'use strict';\nvar $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","'use strict';\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n","'use strict';\nvar FREEZING = require('../internals/freezing');\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar fails = require('../internals/fails');\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\n\nvar $Object = Object;\n// eslint-disable-next-line es/no-array-isarray -- safe\nvar isArray = Array.isArray;\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar isExtensible = $Object.isExtensible;\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar isFrozen = $Object.isFrozen;\n// eslint-disable-next-line es/no-object-issealed -- safe\nvar isSealed = $Object.isSealed;\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar freeze = $Object.freeze;\n// eslint-disable-next-line es/no-object-seal -- safe\nvar seal = $Object.seal;\n\nvar IS_IE11 = !globalThis.ActiveXObject && 'ActiveXObject' in globalThis;\nvar InternalWeakMap;\n\nvar wrapper = function (init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\nvar WeakMapPrototype = $WeakMap.prototype;\nvar nativeSet = uncurryThis(WeakMapPrototype.set);\n\n// Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them\nvar hasMSEdgeFreezingBug = function () {\n return FREEZING && fails(function () {\n var frozenArray = freeze([]);\n nativeSet(new $WeakMap(), frozenArray, 1);\n return !isFrozen(frozenArray);\n });\n};\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP) if (IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n defineBuiltIns(WeakMapPrototype, {\n 'delete': function (key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n } return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n } return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n } return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n// Chakra Edge frozen keys fix\n} else if (hasMSEdgeFreezingBug()) {\n defineBuiltIns(WeakMapPrototype, {\n set: function set(key, value) {\n var arrayIntegrityLevel;\n if (isArray(key)) {\n if (isFrozen(key)) arrayIntegrityLevel = freeze;\n else if (isSealed(key)) arrayIntegrityLevel = seal;\n }\n nativeSet(this, key, value);\n if (arrayIntegrityLevel) arrayIntegrityLevel(key);\n return this;\n }\n });\n}\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-map.constructor');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.es/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionWeak);\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-set.constructor');\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.iterator.constructor');\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.iterator.filter');\n","'use strict';\n// TODO: Remove from `core-js@4`\nrequire('../modules/es.iterator.for-each');\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n setToStringTag(CollectionPrototype, COLLECTION_NAME, true);\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","'use strict';\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nrequire('../modules/es.string.from-code-point');\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\nvar safeGetBuiltIn = require('../internals/safe-get-built-in');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/url-constructor-detection');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n\nvar nativeFetch = safeGetBuiltIn('fetch');\nvar NativeRequest = safeGetBuiltIn('Request');\nvar Headers = safeGetBuiltIn('Headers');\nvar RequestPrototype = NativeRequest && NativeRequest.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar TypeError = globalThis.TypeError;\nvar encodeURIComponent = globalThis.encodeURIComponent;\nvar fromCharCode = String.fromCharCode;\nvar fromCodePoint = getBuiltIn('String', 'fromCodePoint');\nvar $parseInt = parseInt;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar exec = uncurryThis(/./.exec);\n\nvar plus = /\\+/g;\nvar FALLBACK_REPLACER = '\\uFFFD';\nvar VALID_HEX = /^[0-9a-f]+$/i;\n\nvar parseHexOctet = function (string, start) {\n var substr = stringSlice(string, start, start + 2);\n if (!exec(VALID_HEX, substr)) return NaN;\n\n return $parseInt(substr, 16);\n};\n\nvar getLeadingOnes = function (octet) {\n var count = 0;\n for (var mask = 0x80; mask > 0 && (octet & mask) !== 0; mask >>= 1) {\n count++;\n }\n return count;\n};\n\nvar utf8Decode = function (octets) {\n var codePoint = null;\n\n switch (octets.length) {\n case 1:\n codePoint = octets[0];\n break;\n case 2:\n codePoint = (octets[0] & 0x1F) << 6 | (octets[1] & 0x3F);\n break;\n case 3:\n codePoint = (octets[0] & 0x0F) << 12 | (octets[1] & 0x3F) << 6 | (octets[2] & 0x3F);\n break;\n case 4:\n codePoint = (octets[0] & 0x07) << 18 | (octets[1] & 0x3F) << 12 | (octets[2] & 0x3F) << 6 | (octets[3] & 0x3F);\n break;\n }\n\n return codePoint > 0x10FFFF ? null : codePoint;\n};\n\nvar decode = function (input) {\n input = replace(input, plus, ' ');\n var length = input.length;\n var result = '';\n var i = 0;\n\n while (i < length) {\n var decodedChar = charAt(input, i);\n\n if (decodedChar === '%') {\n if (charAt(input, i + 1) === '%' || i + 3 > length) {\n result += '%';\n i++;\n continue;\n }\n\n var octet = parseHexOctet(input, i + 1);\n\n // eslint-disable-next-line no-self-compare -- NaN check\n if (octet !== octet) {\n result += decodedChar;\n i++;\n continue;\n }\n\n i += 2;\n var byteSequenceLength = getLeadingOnes(octet);\n\n if (byteSequenceLength === 0) {\n decodedChar = fromCharCode(octet);\n } else {\n if (byteSequenceLength === 1 || byteSequenceLength > 4) {\n result += FALLBACK_REPLACER;\n i++;\n continue;\n }\n\n var octets = [octet];\n var sequenceIndex = 1;\n\n while (sequenceIndex < byteSequenceLength) {\n i++;\n if (i + 3 > length || charAt(input, i) !== '%') break;\n\n var nextByte = parseHexOctet(input, i + 1);\n\n // eslint-disable-next-line no-self-compare -- NaN check\n if (nextByte !== nextByte) {\n i += 3;\n break;\n }\n if (nextByte > 191 || nextByte < 128) break;\n\n push(octets, nextByte);\n i += 2;\n sequenceIndex++;\n }\n\n if (octets.length !== byteSequenceLength) {\n result += FALLBACK_REPLACER;\n continue;\n }\n\n var codePoint = utf8Decode(octets);\n if (codePoint === null) {\n result += FALLBACK_REPLACER;\n } else {\n decodedChar = fromCodePoint(codePoint);\n }\n }\n }\n\n result += decodedChar;\n i++;\n }\n\n return result;\n};\n\nvar find = /[!'()~]|%20/g;\n\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\n\nvar replacer = function (match) {\n return replacements[match];\n};\n\nvar serialize = function (it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\n\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n target: getInternalParamsState(params).entries,\n index: 0,\n kind: kind\n });\n}, URL_SEARCH_PARAMS, function next() {\n var state = getInternalIteratorState(this);\n var target = state.target;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = null;\n return createIterResultObject(undefined, true);\n }\n var entry = target[index];\n switch (state.kind) {\n case 'keys': return createIterResultObject(entry.key, false);\n case 'values': return createIterResultObject(entry.value, false);\n } return createIterResultObject([entry.key, entry.value], false);\n}, true);\n\nvar URLSearchParamsState = function (init) {\n this.entries = [];\n this.url = null;\n\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);\n else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\n\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function (url) {\n this.url = url;\n this.update();\n },\n parseObject: function (object) {\n var entries = this.entries;\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if (\n (first = call(entryNext, entryIterator)).done ||\n (second = call(entryNext, entryIterator)).done ||\n !call(entryNext, entryIterator).done\n ) throw new TypeError('Expected sequence with length 2');\n push(entries, { key: $toString(first.value), value: $toString(second.value) });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(entries, { key: key, value: $toString(object[key]) });\n }\n },\n parseQuery: function (query) {\n if (query) {\n var entries = this.entries;\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(entries, {\n key: decode(shift(entry)),\n value: decode(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function () {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, serialize(entry.key) + '=' + serialize(entry.value));\n } return join(result, '&');\n },\n update: function () {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function () {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams(/* init */) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n var state = setInternalState(this, new URLSearchParamsState(init));\n if (!DESCRIPTORS) this.size = state.entries.length;\n};\n\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\n\ndefineBuiltIns(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n var state = getInternalParamsState(this);\n validateArgumentsLength(arguments.length, 2);\n push(state.entries, { key: $toString(name), value: $toString(value) });\n if (!DESCRIPTORS) this.length++;\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function (name /* , value */) {\n var state = getInternalParamsState(this);\n var length = validateArgumentsLength(arguments.length, 1);\n var entries = state.entries;\n var key = $toString(name);\n var $value = length < 2 ? undefined : arguments[1];\n var value = $value === undefined ? $value : $toString($value);\n var index = 0;\n while (index < entries.length) {\n var entry = entries[index];\n if (entry.key === key && (value === undefined || entry.value === value)) {\n splice(entries, index, 1);\n if (value !== undefined) break;\n } else index++;\n }\n if (!DESCRIPTORS) this.size = entries.length;\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n var entries = getInternalParamsState(this).entries;\n validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n var entries = getInternalParamsState(this).entries;\n validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name /* , value */) {\n var entries = getInternalParamsState(this).entries;\n var length = validateArgumentsLength(arguments.length, 1);\n var key = $toString(name);\n var $value = length < 2 ? undefined : arguments[1];\n var value = $value === undefined ? $value : $toString($value);\n var index = 0;\n while (index < entries.length) {\n var entry = entries[index++];\n if (entry.key === key && (value === undefined || entry.value === value)) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n var state = getInternalParamsState(this);\n validateArgumentsLength(arguments.length, 1);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);\n else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, { key: key, value: val });\n if (!DESCRIPTORS) this.size = entries.length;\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, { enumerable: true });\n\n// `URLSearchParams.prototype[@@iterator]` method\ndefineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\ndefineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, { enumerable: true });\n\n// `URLSearchParams.prototype.size` getter\n// https://github.com/whatwg/url/pull/734\nif (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {\n get: function size() {\n return getInternalParamsState(this).entries.length;\n },\n configurable: true,\n enumerable: true\n});\n\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n\n$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n\n var wrapRequestOptions = function (init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n } return init;\n };\n\n if (isCallable(nativeFetch)) {\n $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {\n fetch: function fetch(input /* , init */) {\n return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n\n if (isCallable(NativeRequest)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n\n $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {\n Request: RequestConstructor\n });\n }\n}\n\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};\n","'use strict';\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/web.url-search-params.constructor');\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","/*!\n * paypal-js v6.0.1 (2023-07-19T21:00:13.568Z)\n * Copyright 2020-present, PayPal, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction findScript(url, attributes) {\n var currentScript = document.querySelector(\"script[src=\\\"\".concat(url, \"\\\"]\"));\n if (currentScript === null)\n return null;\n var nextScript = createScriptElement(url, attributes);\n // ignore the data-uid-auto attribute that gets auto-assigned to every script tag\n var currentScriptClone = currentScript.cloneNode();\n delete currentScriptClone.dataset.uidAuto;\n // check if the new script has the same number of data attributes\n if (Object.keys(currentScriptClone.dataset).length !==\n Object.keys(nextScript.dataset).length) {\n return null;\n }\n var isExactMatch = true;\n // check if the data attribute values are the same\n Object.keys(currentScriptClone.dataset).forEach(function (key) {\n if (currentScriptClone.dataset[key] !== nextScript.dataset[key]) {\n isExactMatch = false;\n }\n });\n return isExactMatch ? currentScript : null;\n}\nfunction insertScriptElement(_a) {\n var url = _a.url, attributes = _a.attributes, onSuccess = _a.onSuccess, onError = _a.onError;\n var newScript = createScriptElement(url, attributes);\n newScript.onerror = onError;\n newScript.onload = onSuccess;\n document.head.insertBefore(newScript, document.head.firstElementChild);\n}\nfunction processOptions(options) {\n var sdkBaseUrl = \"https://www.paypal.com/sdk/js\";\n if (options.sdkBaseUrl) {\n sdkBaseUrl = options.sdkBaseUrl;\n delete options.sdkBaseUrl;\n }\n var optionsWithStringIndex = options;\n var _a = Object.keys(optionsWithStringIndex)\n .filter(function (key) {\n return (typeof optionsWithStringIndex[key] !== \"undefined\" &&\n optionsWithStringIndex[key] !== null &&\n optionsWithStringIndex[key] !== \"\");\n })\n .reduce(function (accumulator, key) {\n var value = optionsWithStringIndex[key].toString();\n key = camelCaseToKebabCase(key);\n if (key.substring(0, 4) === \"data\") {\n accumulator.dataAttributes[key] = value;\n }\n else {\n accumulator.queryParams[key] = value;\n }\n return accumulator;\n }, {\n queryParams: {},\n dataAttributes: {},\n }), queryParams = _a.queryParams, dataAttributes = _a.dataAttributes;\n if (queryParams[\"merchant-id\"] &&\n queryParams[\"merchant-id\"].indexOf(\",\") !== -1) {\n dataAttributes[\"data-merchant-id\"] = queryParams[\"merchant-id\"];\n queryParams[\"merchant-id\"] = \"*\";\n }\n return {\n url: \"\".concat(sdkBaseUrl, \"?\").concat(objectToQueryString(queryParams)),\n dataAttributes: dataAttributes,\n };\n}\nfunction camelCaseToKebabCase(str) {\n var replacer = function (match, indexOfMatch) {\n return (indexOfMatch ? \"-\" : \"\") + match.toLowerCase();\n };\n return str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, replacer);\n}\nfunction objectToQueryString(params) {\n var queryString = \"\";\n Object.keys(params).forEach(function (key) {\n if (queryString.length !== 0)\n queryString += \"&\";\n queryString += key + \"=\" + params[key];\n });\n return queryString;\n}\n/**\n * Parse the error message code received from the server during the script load.\n * This function search for the occurrence of this specific string \"/* Original Error:\".\n *\n * @param message the received error response from the server\n * @returns the content of the message if the string string was found.\n * The whole message otherwise\n */\nfunction parseErrorMessage(message) {\n var originalErrorText = message.split(\"/* Original Error:\")[1];\n return originalErrorText\n ? originalErrorText.replace(/\\n/g, \"\").replace(\"*/\", \"\").trim()\n : message;\n}\nfunction createScriptElement(url, attributes) {\n if (attributes === void 0) { attributes = {}; }\n var newScript = document.createElement(\"script\");\n newScript.src = url;\n Object.keys(attributes).forEach(function (key) {\n newScript.setAttribute(key, attributes[key]);\n if (key === \"data-csp-nonce\") {\n newScript.setAttribute(\"nonce\", attributes[\"data-csp-nonce\"]);\n }\n });\n return newScript;\n}\n\n/**\n * Load the Paypal JS SDK script asynchronously.\n *\n * @param {Object} options - used to configure query parameters and data attributes for the JS SDK.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise} paypalObject - reference to the global window PayPal object.\n */\nfunction loadScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n // resolve with null when running in Node or Deno\n if (typeof document === \"undefined\")\n return PromisePonyfill.resolve(null);\n var _a = processOptions(options), url = _a.url, dataAttributes = _a.dataAttributes;\n var namespace = dataAttributes[\"data-namespace\"] || \"paypal\";\n var existingWindowNamespace = getPayPalWindowNamespace(namespace);\n // resolve with the existing global paypal namespace when a script with the same params already exists\n if (findScript(url, dataAttributes) && existingWindowNamespace) {\n return PromisePonyfill.resolve(existingWindowNamespace);\n }\n return loadCustomScript({\n url: url,\n attributes: dataAttributes,\n }, PromisePonyfill).then(function () {\n var newWindowNamespace = getPayPalWindowNamespace(namespace);\n if (newWindowNamespace) {\n return newWindowNamespace;\n }\n throw new Error(\"The window.\".concat(namespace, \" global variable is not available.\"));\n });\n}\n/**\n * Load a custom script asynchronously.\n *\n * @param {Object} options - used to set the script url and attributes.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise} returns a promise to indicate if the script was successfully loaded.\n */\nfunction loadCustomScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n var url = options.url, attributes = options.attributes;\n if (typeof url !== \"string\" || url.length === 0) {\n throw new Error(\"Invalid url.\");\n }\n if (typeof attributes !== \"undefined\" && typeof attributes !== \"object\") {\n throw new Error(\"Expected attributes to be an object.\");\n }\n return new PromisePonyfill(function (resolve, reject) {\n // resolve with undefined when running in Node or Deno\n if (typeof document === \"undefined\")\n return resolve();\n insertScriptElement({\n url: url,\n attributes: attributes,\n onSuccess: function () { return resolve(); },\n onError: function () {\n var defaultError = new Error(\"The script \\\"\".concat(url, \"\\\" failed to load.\"));\n if (!window.fetch) {\n return reject(defaultError);\n }\n // Fetch the error reason from the response body for validation errors\n return fetch(url)\n .then(function (response) {\n if (response.status === 200) {\n reject(defaultError);\n }\n return response.text();\n })\n .then(function (message) {\n var parseMessage = parseErrorMessage(message);\n reject(new Error(parseMessage));\n })\n .catch(function (err) {\n reject(err);\n });\n },\n });\n });\n}\nfunction getPayPalWindowNamespace(namespace) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return window[namespace];\n}\nfunction validateArguments(options, PromisePonyfill) {\n if (typeof options !== \"object\" || options === null) {\n throw new Error(\"Expected an options object.\");\n }\n if (typeof PromisePonyfill !== \"undefined\" &&\n typeof PromisePonyfill !== \"function\") {\n throw new Error(\"Expected PromisePonyfill to be a function.\");\n }\n}\n\n// replaced with the package.json version at build time\nvar version = \"6.0.1\";\n\nexport { loadCustomScript, loadScript, version };\n","/*!\n * paypal-js v6.0.1 (2023-07-19T21:00:13.568Z)\n * Copyright 2020-present, PayPal, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nfunction findScript(url, attributes) {\n var currentScript = document.querySelector(\"script[src=\\\"\".concat(url, \"\\\"]\"));\n if (currentScript === null)\n return null;\n var nextScript = createScriptElement(url, attributes);\n // ignore the data-uid-auto attribute that gets auto-assigned to every script tag\n var currentScriptClone = currentScript.cloneNode();\n delete currentScriptClone.dataset.uidAuto;\n // check if the new script has the same number of data attributes\n if (Object.keys(currentScriptClone.dataset).length !==\n Object.keys(nextScript.dataset).length) {\n return null;\n }\n var isExactMatch = true;\n // check if the data attribute values are the same\n Object.keys(currentScriptClone.dataset).forEach(function (key) {\n if (currentScriptClone.dataset[key] !== nextScript.dataset[key]) {\n isExactMatch = false;\n }\n });\n return isExactMatch ? currentScript : null;\n}\nfunction insertScriptElement(_a) {\n var url = _a.url, attributes = _a.attributes, onSuccess = _a.onSuccess, onError = _a.onError;\n var newScript = createScriptElement(url, attributes);\n newScript.onerror = onError;\n newScript.onload = onSuccess;\n document.head.insertBefore(newScript, document.head.firstElementChild);\n}\nfunction processOptions(options) {\n var sdkBaseUrl = \"https://www.paypal.com/sdk/js\";\n if (options.sdkBaseUrl) {\n sdkBaseUrl = options.sdkBaseUrl;\n delete options.sdkBaseUrl;\n }\n var optionsWithStringIndex = options;\n var _a = Object.keys(optionsWithStringIndex)\n .filter(function (key) {\n return (typeof optionsWithStringIndex[key] !== \"undefined\" &&\n optionsWithStringIndex[key] !== null &&\n optionsWithStringIndex[key] !== \"\");\n })\n .reduce(function (accumulator, key) {\n var value = optionsWithStringIndex[key].toString();\n key = camelCaseToKebabCase(key);\n if (key.substring(0, 4) === \"data\") {\n accumulator.dataAttributes[key] = value;\n }\n else {\n accumulator.queryParams[key] = value;\n }\n return accumulator;\n }, {\n queryParams: {},\n dataAttributes: {},\n }), queryParams = _a.queryParams, dataAttributes = _a.dataAttributes;\n if (queryParams[\"merchant-id\"] &&\n queryParams[\"merchant-id\"].indexOf(\",\") !== -1) {\n dataAttributes[\"data-merchant-id\"] = queryParams[\"merchant-id\"];\n queryParams[\"merchant-id\"] = \"*\";\n }\n return {\n url: \"\".concat(sdkBaseUrl, \"?\").concat(objectToQueryString(queryParams)),\n dataAttributes: dataAttributes,\n };\n}\nfunction camelCaseToKebabCase(str) {\n var replacer = function (match, indexOfMatch) {\n return (indexOfMatch ? \"-\" : \"\") + match.toLowerCase();\n };\n return str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, replacer);\n}\nfunction objectToQueryString(params) {\n var queryString = \"\";\n Object.keys(params).forEach(function (key) {\n if (queryString.length !== 0)\n queryString += \"&\";\n queryString += key + \"=\" + params[key];\n });\n return queryString;\n}\n/**\n * Parse the error message code received from the server during the script load.\n * This function search for the occurrence of this specific string \"/* Original Error:\".\n *\n * @param message the received error response from the server\n * @returns the content of the message if the string string was found.\n * The whole message otherwise\n */\nfunction parseErrorMessage(message) {\n var originalErrorText = message.split(\"/* Original Error:\")[1];\n return originalErrorText\n ? originalErrorText.replace(/\\n/g, \"\").replace(\"*/\", \"\").trim()\n : message;\n}\nfunction createScriptElement(url, attributes) {\n if (attributes === void 0) { attributes = {}; }\n var newScript = document.createElement(\"script\");\n newScript.src = url;\n Object.keys(attributes).forEach(function (key) {\n newScript.setAttribute(key, attributes[key]);\n if (key === \"data-csp-nonce\") {\n newScript.setAttribute(\"nonce\", attributes[\"data-csp-nonce\"]);\n }\n });\n return newScript;\n}\n\n/**\n * Load the Paypal JS SDK script asynchronously.\n *\n * @param {Object} options - used to configure query parameters and data attributes for the JS SDK.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise} paypalObject - reference to the global window PayPal object.\n */\nfunction loadScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n // resolve with null when running in Node or Deno\n if (typeof document === \"undefined\")\n return PromisePonyfill.resolve(null);\n var _a = processOptions(options), url = _a.url, dataAttributes = _a.dataAttributes;\n var namespace = dataAttributes[\"data-namespace\"] || \"paypal\";\n var existingWindowNamespace = getPayPalWindowNamespace(namespace);\n // resolve with the existing global paypal namespace when a script with the same params already exists\n if (findScript(url, dataAttributes) && existingWindowNamespace) {\n return PromisePonyfill.resolve(existingWindowNamespace);\n }\n return loadCustomScript({\n url: url,\n attributes: dataAttributes,\n }, PromisePonyfill).then(function () {\n var newWindowNamespace = getPayPalWindowNamespace(namespace);\n if (newWindowNamespace) {\n return newWindowNamespace;\n }\n throw new Error(\"The window.\".concat(namespace, \" global variable is not available.\"));\n });\n}\n/**\n * Load a custom script asynchronously.\n *\n * @param {Object} options - used to set the script url and attributes.\n * @param {PromiseConstructor} [PromisePonyfill=window.Promise] - optional Promise Constructor ponyfill.\n * @return {Promise} returns a promise to indicate if the script was successfully loaded.\n */\nfunction loadCustomScript(options, PromisePonyfill) {\n if (PromisePonyfill === void 0) { PromisePonyfill = Promise; }\n validateArguments(options, PromisePonyfill);\n var url = options.url, attributes = options.attributes;\n if (typeof url !== \"string\" || url.length === 0) {\n throw new Error(\"Invalid url.\");\n }\n if (typeof attributes !== \"undefined\" && typeof attributes !== \"object\") {\n throw new Error(\"Expected attributes to be an object.\");\n }\n return new PromisePonyfill(function (resolve, reject) {\n // resolve with undefined when running in Node or Deno\n if (typeof document === \"undefined\")\n return resolve();\n insertScriptElement({\n url: url,\n attributes: attributes,\n onSuccess: function () { return resolve(); },\n onError: function () {\n var defaultError = new Error(\"The script \\\"\".concat(url, \"\\\" failed to load.\"));\n if (!window.fetch) {\n return reject(defaultError);\n }\n // Fetch the error reason from the response body for validation errors\n return fetch(url)\n .then(function (response) {\n if (response.status === 200) {\n reject(defaultError);\n }\n return response.text();\n })\n .then(function (message) {\n var parseMessage = parseErrorMessage(message);\n reject(new Error(parseMessage));\n })\n .catch(function (err) {\n reject(err);\n });\n },\n });\n });\n}\nfunction getPayPalWindowNamespace(namespace) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return window[namespace];\n}\nfunction validateArguments(options, PromisePonyfill) {\n if (typeof options !== \"object\" || options === null) {\n throw new Error(\"Expected an options object.\");\n }\n if (typeof PromisePonyfill !== \"undefined\" &&\n typeof PromisePonyfill !== \"function\") {\n throw new Error(\"Expected PromisePonyfill to be a function.\");\n }\n}\n\n// replaced with the package.json version at build time\nvar version = \"6.0.1\";\n\nexport { loadCustomScript, loadScript, version };\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","import { loadScript } from '@paypal/paypal-js';\n\nconst storageKey = 'ppcp-data-client-id';\n\nconst validateToken = ( token, user ) => {\n\tif ( ! token ) {\n\t\treturn false;\n\t}\n\tif ( token.user !== user ) {\n\t\treturn false;\n\t}\n\tconst currentTime = new Date().getTime();\n\tconst isExpired = currentTime >= token.expiration * 1000;\n\treturn ! isExpired;\n};\n\nconst storedTokenForUser = ( user ) => {\n\tconst token = JSON.parse( sessionStorage.getItem( storageKey ) );\n\tif ( validateToken( token, user ) ) {\n\t\treturn token.token;\n\t}\n\treturn null;\n};\n\nconst storeToken = ( token ) => {\n\tsessionStorage.setItem( storageKey, JSON.stringify( token ) );\n};\n\nconst dataClientIdAttributeHandler = (\n\tscriptOptions,\n\tconfig,\n\tcallback,\n\terrorCallback = null\n) => {\n\tfetch( config.endpoint, {\n\t\tmethod: 'POST',\n\t\theaders: {\n\t\t\t'Content-Type': 'application/json',\n\t\t},\n\t\tcredentials: 'same-origin',\n\t\tbody: JSON.stringify( {\n\t\t\tnonce: config.nonce,\n\t\t} ),\n\t} )\n\t\t.then( ( res ) => {\n\t\t\treturn res.json();\n\t\t} )\n\t\t.then( ( data ) => {\n\t\t\tconst isValid = validateToken( data, config.user );\n\t\t\tif ( ! isValid ) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tstoreToken( data );\n\n\t\t\tscriptOptions[ 'data-client-token' ] = data.token;\n\n\t\t\tloadScript( scriptOptions )\n\t\t\t\t.then( ( paypal ) => {\n\t\t\t\t\tif ( typeof callback === 'function' ) {\n\t\t\t\t\t\tcallback( paypal );\n\t\t\t\t\t}\n\t\t\t\t} )\n\t\t\t\t.catch( ( err ) => {\n\t\t\t\t\tif ( typeof errorCallback === 'function' ) {\n\t\t\t\t\t\terrorCallback( err );\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t} );\n};\n\nexport default dataClientIdAttributeHandler;\n","/**\n * Handles the registration and rendering of PayPal widgets: Buttons and Messages.\n * To have several Buttons per wrapper, an array should be provided, ex: [wrapper, fundingSource].\n */\nclass WidgetBuilder {\n\tconstructor() {\n\t\tthis.paypal = null;\n\t\tthis.buttons = new Map();\n\t\tthis.messages = new Map();\n\n\t\tthis.renderEventName = 'ppcp-render';\n\n\t\tdocument.ppcpWidgetBuilderStatus = () => {\n\t\t\tconsole.log( {\n\t\t\t\tbuttons: this.buttons,\n\t\t\t\tmessages: this.messages,\n\t\t\t} );\n\t\t};\n\n\t\tjQuery( document )\n\t\t\t.off( this.renderEventName )\n\t\t\t.on( this.renderEventName, () => {\n\t\t\t\tthis.renderAll();\n\t\t\t} );\n\t}\n\n\tsetPaypal( paypal ) {\n\t\tthis.paypal = paypal;\n\t\tjQuery( document ).trigger( 'ppcp-paypal-loaded', paypal );\n\t}\n\n\tregisterButtons( wrapper, options ) {\n\t\twrapper = this.sanitizeWrapper( wrapper );\n\n\t\tthis.buttons.set( this.toKey( wrapper ), {\n\t\t\twrapper,\n\t\t\toptions,\n\t\t} );\n\t}\n\n\trenderButtons( wrapper ) {\n\t\twrapper = this.sanitizeWrapper( wrapper );\n\n\t\tif ( ! this.buttons.has( this.toKey( wrapper ) ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( this.hasRendered( wrapper ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst entry = this.buttons.get( this.toKey( wrapper ) );\n\t\tconst btn = this.paypal.Buttons( entry.options );\n\n\t\tif ( ! btn.isEligible() ) {\n\t\t\tthis.buttons.delete( this.toKey( wrapper ) );\n\t\t\treturn;\n\t\t}\n\n\t\tconst target = this.buildWrapperTarget( wrapper );\n\n\t\tif ( ! target ) {\n\t\t\treturn;\n\t\t}\n\n\t\tbtn.render( target );\n\t}\n\n\trenderAllButtons() {\n\t\tfor ( const [ wrapper, entry ] of this.buttons ) {\n\t\t\tthis.renderButtons( wrapper );\n\t\t}\n\t}\n\n\tregisterMessages( wrapper, options ) {\n\t\tthis.messages.set( wrapper, {\n\t\t\twrapper,\n\t\t\toptions,\n\t\t} );\n\t}\n\n\trenderMessages( wrapper ) {\n\t\tif ( ! this.messages.has( wrapper ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst entry = this.messages.get( wrapper );\n\n\t\tif ( this.hasRendered( wrapper ) ) {\n\t\t\tconst element = document.querySelector( wrapper );\n\t\t\telement.setAttribute( 'data-pp-amount', entry.options.amount );\n\t\t\treturn;\n\t\t}\n\n\t\tconst btn = this.paypal.Messages( entry.options );\n\n\t\tbtn.render( entry.wrapper );\n\n\t\t// watchdog to try to handle some strange cases where the wrapper may not be present\n\t\tsetTimeout( () => {\n\t\t\tif ( ! this.hasRendered( wrapper ) ) {\n\t\t\t\tbtn.render( entry.wrapper );\n\t\t\t}\n\t\t}, 100 );\n\t}\n\n\trenderAllMessages() {\n\t\tfor ( const [ wrapper, entry ] of this.messages ) {\n\t\t\tthis.renderMessages( wrapper );\n\t\t}\n\t}\n\n\trenderAll() {\n\t\tthis.renderAllButtons();\n\t\tthis.renderAllMessages();\n\t}\n\n\thasRendered( wrapper ) {\n\t\tlet selector = wrapper;\n\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\tselector = wrapper[ 0 ];\n\t\t\tfor ( const item of wrapper.slice( 1 ) ) {\n\t\t\t\tselector += ' .item-' + item;\n\t\t\t}\n\t\t}\n\n\t\tconst element = document.querySelector( selector );\n\t\treturn element && element.hasChildNodes();\n\t}\n\n\tsanitizeWrapper( wrapper ) {\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\twrapper = wrapper.filter( ( item ) => !! item );\n\t\t\tif ( wrapper.length === 1 ) {\n\t\t\t\twrapper = wrapper[ 0 ];\n\t\t\t}\n\t\t}\n\t\treturn wrapper;\n\t}\n\n\tbuildWrapperTarget( wrapper ) {\n\t\tlet target = wrapper;\n\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\tconst $wrapper = jQuery( wrapper[ 0 ] );\n\n\t\t\tif ( ! $wrapper.length ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst itemClass = 'item-' + wrapper[ 1 ];\n\n\t\t\t// Check if the parent element exists and it doesn't already have the div with the class\n\t\t\tlet $item = $wrapper.find( '.' + itemClass );\n\n\t\t\tif ( ! $item.length ) {\n\t\t\t\t$item = jQuery( `
` );\n\t\t\t\t$wrapper.append( $item );\n\t\t\t}\n\n\t\t\ttarget = $item.get( 0 );\n\t\t}\n\n\t\tif ( ! jQuery( target ).length ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn target;\n\t}\n\n\ttoKey( wrapper ) {\n\t\tif ( Array.isArray( wrapper ) ) {\n\t\t\treturn JSON.stringify( wrapper );\n\t\t}\n\t\treturn wrapper;\n\t}\n}\n\nwindow.widgetBuilder = window.widgetBuilder || new WidgetBuilder();\nexport default window.widgetBuilder;\n","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default { randomUUID };\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF0aXZlLWJyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbmF0aXZlLWJyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxVQUFVLEdBQ2QsT0FBTyxNQUFNLEtBQUssV0FBVyxJQUFJLE1BQU0sQ0FBQyxVQUFVLElBQUksTUFBTSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUM7QUFFdkYsZUFBZSxFQUFFLFVBQVUsRUFBRSxDQUFDIn0=","let getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n if (!getRandomValues) {\n if (typeof crypto === 'undefined' || !crypto.getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n getRandomValues = crypto.getRandomValues.bind(crypto);\n }\n return getRandomValues(rnds8);\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm5nLWJyb3dzZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcm5nLWJyb3dzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsSUFBSSxlQUEwRCxDQUFDO0FBRS9ELE1BQU0sS0FBSyxHQUFHLElBQUksVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0FBRWpDLE1BQU0sQ0FBQyxPQUFPLFVBQVUsR0FBRztJQUV6QixJQUFJLENBQUMsZUFBZSxFQUFFLENBQUM7UUFDckIsSUFBSSxPQUFPLE1BQU0sS0FBSyxXQUFXLElBQUksQ0FBQyxNQUFNLENBQUMsZUFBZSxFQUFFLENBQUM7WUFDN0QsTUFBTSxJQUFJLEtBQUssQ0FDYiwwR0FBMEcsQ0FDM0csQ0FBQztRQUNKLENBQUM7UUFFRCxlQUFlLEdBQUcsTUFBTSxDQUFDLGVBQWUsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDeEQsQ0FBQztJQUVELE9BQU8sZUFBZSxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBQ2hDLENBQUMifQ==","import validate from './validate.js';\nconst byteToHex = [];\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n return (byteToHex[arr[offset + 0]] +\n byteToHex[arr[offset + 1]] +\n byteToHex[arr[offset + 2]] +\n byteToHex[arr[offset + 3]] +\n '-' +\n byteToHex[arr[offset + 4]] +\n byteToHex[arr[offset + 5]] +\n '-' +\n byteToHex[arr[offset + 6]] +\n byteToHex[arr[offset + 7]] +\n '-' +\n byteToHex[arr[offset + 8]] +\n byteToHex[arr[offset + 9]] +\n '-' +\n byteToHex[arr[offset + 10]] +\n byteToHex[arr[offset + 11]] +\n byteToHex[arr[offset + 12]] +\n byteToHex[arr[offset + 13]] +\n byteToHex[arr[offset + 14]] +\n byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset);\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is inval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FJLENBQUM7QUFDZCxDQUFDO0FBRUQsZUFBZSxTQUFTLENBQUMifQ==","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random || (options.rng || rng)();\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n if (buf) {\n offset = offset || 0;\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdjQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxNQUFNLE1BQU0sYUFBYSxDQUFDO0FBQ2pDLE9BQU8sR0FBRyxNQUFNLFVBQVUsQ0FBQztBQUMzQixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFJakQsU0FBUyxFQUFFLENBQUMsT0FBeUIsRUFBRSxHQUFnQixFQUFFLE1BQWU7SUFDdEUsSUFBSSxNQUFNLENBQUMsVUFBVSxJQUFJLENBQUMsR0FBRyxJQUFJLENBQUMsT0FBTyxFQUFFLENBQUM7UUFDMUMsT0FBTyxNQUFNLENBQUMsVUFBVSxFQUFFLENBQUM7SUFDN0IsQ0FBQztJQUVELE9BQU8sR0FBRyxPQUFPLElBQUksRUFBRSxDQUFDO0lBRXhCLE1BQU0sSUFBSSxHQUFHLE9BQU8sQ0FBQyxNQUFNLElBQUksQ0FBQyxPQUFPLENBQUMsR0FBRyxJQUFJLEdBQUcsQ0FBQyxFQUFFLENBQUM7SUFHdEQsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxHQUFHLElBQUksQ0FBQztJQUNsQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEdBQUcsSUFBSSxDQUFDLEdBQUcsSUFBSSxDQUFDO0lBR2xDLElBQUksR0FBRyxFQUFFLENBQUM7UUFDUixNQUFNLEdBQUcsTUFBTSxJQUFJLENBQUMsQ0FBQztRQUVyQixLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUM7WUFDNUIsR0FBRyxDQUFDLE1BQU0sR0FBRyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDNUIsQ0FBQztRQUVELE9BQU8sR0FBRyxDQUFDO0lBQ2IsQ0FBQztJQUVELE9BQU8sZUFBZSxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQy9CLENBQUM7QUFFRCxlQUFlLEVBQUUsQ0FBQyJ9","import merge from 'deepmerge';\nimport { v4 as uuidv4 } from 'uuid';\nimport { keysToCamelCase } from './Utils';\n\nconst processAxoConfig = ( config ) => {\n\tconst scriptOptions = {};\n\tconst sdkClientToken = config?.axo?.sdk_client_token;\n\tconst uuid = uuidv4().replace( /-/g, '' );\n\tif ( sdkClientToken && config?.user?.is_logged !== true ) {\n\t\tscriptOptions[ 'data-sdk-client-token' ] = sdkClientToken;\n\t\tscriptOptions[ 'data-client-metadata-id' ] = uuid;\n\t}\n\treturn scriptOptions;\n};\n\nconst processUserIdToken = ( config ) => {\n\tconst userIdToken = config?.save_payment_methods?.id_token;\n\treturn userIdToken && config?.user?.is_logged === true\n\t\t? { 'data-user-id-token': userIdToken }\n\t\t: {};\n};\n\nexport const processConfig = ( config ) => {\n\tlet scriptOptions = keysToCamelCase( config.url_params );\n\tif ( config.script_attributes ) {\n\t\tscriptOptions = merge( scriptOptions, config.script_attributes );\n\t}\n\tconst axoOptions = processAxoConfig( config );\n\tconst userIdTokenOptions = processUserIdToken( config );\n\treturn merge.all( [ scriptOptions, axoOptions, userIdTokenOptions ] );\n};\n","export const toCamelCase = ( str ) => {\n\treturn str.replace( /([-_]\\w)/g, function ( match ) {\n\t\treturn match[ 1 ].toUpperCase();\n\t} );\n};\n\nexport const keysToCamelCase = ( obj ) => {\n\tconst output = {};\n\tfor ( const key in obj ) {\n\t\tif ( Object.prototype.hasOwnProperty.call( obj, key ) ) {\n\t\t\toutput[ toCamelCase( key ) ] = obj[ key ];\n\t\t}\n\t}\n\treturn output;\n};\n\nexport const strAddWord = ( str, word, separator = ',' ) => {\n\tconst arr = str.split( separator );\n\tif ( ! arr.includes( word ) ) {\n\t\tarr.push( word );\n\t}\n\treturn arr.join( separator );\n};\n\nexport const strRemoveWord = ( str, word, separator = ',' ) => {\n\tconst arr = str.split( separator );\n\tconst index = arr.indexOf( word );\n\tif ( index !== -1 ) {\n\t\tarr.splice( index, 1 );\n\t}\n\treturn arr.join( separator );\n};\n\nexport const throttle = ( func, limit ) => {\n\tlet inThrottle, lastArgs, lastContext;\n\n\tfunction execute() {\n\t\tinThrottle = true;\n\t\tfunc.apply( this, arguments );\n\t\tsetTimeout( () => {\n\t\t\tinThrottle = false;\n\t\t\tif ( lastArgs ) {\n\t\t\t\tconst nextArgs = lastArgs;\n\t\t\t\tconst nextContext = lastContext;\n\t\t\t\tlastArgs = lastContext = null;\n\t\t\t\texecute.apply( nextContext, nextArgs );\n\t\t\t}\n\t\t}, limit );\n\t}\n\n\treturn function () {\n\t\tif ( ! inThrottle ) {\n\t\t\texecute.apply( this, arguments );\n\t\t} else {\n\t\t\tlastArgs = arguments;\n\t\t\tlastContext = this;\n\t\t}\n\t};\n};\n\nconst Utils = {\n\ttoCamelCase,\n\tkeysToCamelCase,\n\tstrAddWord,\n\tstrRemoveWord,\n\tthrottle,\n};\n\nexport default Utils;\n","import { loadScript } from '@paypal/paypal-js';\nimport dataClientIdAttributeHandler from '../DataClientIdAttributeHandler';\nimport widgetBuilder from '../Renderer/WidgetBuilder';\nimport { processConfig } from './ConfigProcessor';\n\nconst loadedScripts = new Map();\nconst scriptPromises = new Map();\n\nconst handleDataClientIdAttribute = async ( scriptOptions, config ) => {\n\tif (\n\t\tconfig.data_client_id?.set_attribute &&\n\t\tconfig.vault_v3_enabled !== true\n\t) {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tdataClientIdAttributeHandler(\n\t\t\t\tscriptOptions,\n\t\t\t\tconfig.data_client_id,\n\t\t\t\t( paypal ) => {\n\t\t\t\t\twidgetBuilder.setPaypal( paypal );\n\t\t\t\t\tresolve( paypal );\n\t\t\t\t},\n\t\t\t\treject\n\t\t\t);\n\t\t} );\n\t}\n\treturn null;\n};\n\nexport const loadPayPalScript = async ( namespace, config ) => {\n\tif ( ! namespace ) {\n\t\tthrow new Error( 'Namespace is required' );\n\t}\n\n\tif ( loadedScripts.has( namespace ) ) {\n\t\tconsole.log( `Script already loaded for namespace: ${ namespace }` );\n\t\treturn loadedScripts.get( namespace );\n\t}\n\n\tif ( scriptPromises.has( namespace ) ) {\n\t\tconsole.log(\n\t\t\t`Script loading in progress for namespace: ${ namespace }`\n\t\t);\n\t\treturn scriptPromises.get( namespace );\n\t}\n\n\tconst scriptOptions = {\n\t\t...processConfig( config ),\n\t\t'data-namespace': namespace,\n\t};\n\n\tconst dataClientIdResult = await handleDataClientIdAttribute(\n\t\tscriptOptions,\n\t\tconfig\n\t);\n\tif ( dataClientIdResult ) {\n\t\treturn dataClientIdResult;\n\t}\n\n\tconst scriptPromise = new Promise( ( resolve, reject ) => {\n\t\tloadScript( scriptOptions )\n\t\t\t.then( ( script ) => {\n\t\t\t\twidgetBuilder.setPaypal( script );\n\t\t\t\tloadedScripts.set( namespace, script );\n\t\t\t\tconsole.log( `Script loaded for namespace: ${ namespace }` );\n\t\t\t\tresolve( script );\n\t\t\t} )\n\t\t\t.catch( ( error ) => {\n\t\t\t\tconsole.error(\n\t\t\t\t\t`Failed to load script for namespace: ${ namespace }`,\n\t\t\t\t\terror\n\t\t\t\t);\n\t\t\t\treject( error );\n\t\t\t} )\n\t\t\t.finally( () => {\n\t\t\t\tscriptPromises.delete( namespace );\n\t\t\t} );\n\t} );\n\n\tscriptPromises.set( namespace, scriptPromise );\n\treturn scriptPromise;\n};\n\nexport const loadAndRenderPayPalScript = async (\n\tnamespace,\n\toptions,\n\trenderFunction,\n\trenderTarget\n) => {\n\tif ( ! namespace ) {\n\t\tthrow new Error( 'Namespace is required' );\n\t}\n\n\tconst scriptOptions = {\n\t\t...options,\n\t\t'data-namespace': namespace,\n\t};\n\n\tconst script = await loadScript( scriptOptions );\n\twidgetBuilder.setPaypal( script );\n\tawait renderFunction( script, renderTarget );\n};\n","class ButtonModuleWatcher {\n\tconstructor() {\n\t\tthis.contextBootstrapRegistry = {};\n\t\tthis.contextBootstrapWatchers = [];\n\t}\n\n\twatchContextBootstrap( callable ) {\n\t\tthis.contextBootstrapWatchers.push( callable );\n\t\tObject.values( this.contextBootstrapRegistry ).forEach( callable );\n\t}\n\n\tregisterContextBootstrap( context, handler ) {\n\t\tthis.contextBootstrapRegistry[ context ] = {\n\t\t\tcontext,\n\t\t\thandler,\n\t\t};\n\n\t\t// Call registered watchers\n\t\tfor ( const callable of this.contextBootstrapWatchers ) {\n\t\t\tcallable( this.contextBootstrapRegistry[ context ] );\n\t\t}\n\t}\n}\n\nwindow.ppcpResources = window.ppcpResources || {};\nconst buttonModuleWatcher = ( window.ppcpResources.ButtonModuleWatcher =\n\twindow.ppcpResources.ButtonModuleWatcher || new ButtonModuleWatcher() );\n\nexport default buttonModuleWatcher;\n","export function createAppleErrors( errors ) {\n\tconst errorList = [];\n\tfor ( const error of errors ) {\n\t\tconst { contactField = null, code = null, message = null } = error;\n\t\tconst appleError = contactField\n\t\t\t? new ApplePayError( code, contactField, message )\n\t\t\t: new ApplePayError( code );\n\t\terrorList.push( appleError );\n\t}\n\n\treturn errorList;\n}\n","export default class FormValidator {\n\tconstructor( url, nonce ) {\n\t\tthis.url = url;\n\t\tthis.nonce = nonce;\n\t}\n\n\tasync validate( form ) {\n\t\tconst formData = new FormData( form );\n\n\t\tconst res = await fetch( this.url, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json',\n\t\t\t},\n\t\t\tcredentials: 'same-origin',\n\t\t\tbody: JSON.stringify( {\n\t\t\t\tnonce: this.nonce,\n\t\t\t\tform_encoded: new URLSearchParams( formData ).toString(),\n\t\t\t} ),\n\t\t} );\n\n\t\tconst data = await res.json();\n\n\t\tif ( ! data.success ) {\n\t\t\tif ( data.data.refresh ) {\n\t\t\t\tjQuery( document.body ).trigger( 'update_checkout' );\n\t\t\t}\n\n\t\t\tif ( data.data.errors ) {\n\t\t\t\treturn data.data.errors;\n\t\t\t}\n\t\t\tthrow Error( data.data.message );\n\t\t}\n\n\t\treturn [];\n\t}\n}\n","class ErrorHandler {\n\t/**\n\t * @param {string} genericErrorText\n\t * @param {Element} wrapper\n\t */\n\tconstructor( genericErrorText, wrapper ) {\n\t\tthis.genericErrorText = genericErrorText;\n\t\tthis.wrapper = wrapper;\n\t}\n\n\tgenericError() {\n\t\tthis.clear();\n\t\tthis.message( this.genericErrorText );\n\t}\n\n\tappendPreparedErrorMessageElement( errorMessageElement ) {\n\t\tthis._getMessageContainer().replaceWith( errorMessageElement );\n\t}\n\n\t/**\n\t * @param {string} text\n\t */\n\tmessage( text ) {\n\t\tthis._addMessage( text );\n\n\t\tthis._scrollToMessages();\n\t}\n\n\t/**\n\t * @param {Array} texts\n\t */\n\tmessages( texts ) {\n\t\ttexts.forEach( ( t ) => this._addMessage( t ) );\n\n\t\tthis._scrollToMessages();\n\t}\n\n\t/**\n\t * @return {string}\n\t */\n\tcurrentHtml() {\n\t\tconst messageContainer = this._getMessageContainer();\n\t\treturn messageContainer.outerHTML;\n\t}\n\n\t/**\n\t * @private\n\t * @param {string} text\n\t */\n\t_addMessage( text ) {\n\t\tif ( ! typeof String || text.length === 0 ) {\n\t\t\tthrow new Error( 'A new message text must be a non-empty string.' );\n\t\t}\n\n\t\tconst messageContainer = this._getMessageContainer();\n\n\t\tconst messageNode = this._prepareMessageElement( text );\n\t\tmessageContainer.appendChild( messageNode );\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_scrollToMessages() {\n\t\tjQuery.scroll_to_notices( jQuery( '.woocommerce-error' ) );\n\t}\n\n\t/**\n\t * @private\n\t */\n\t_getMessageContainer() {\n\t\tlet messageContainer = document.querySelector( 'ul.woocommerce-error' );\n\t\tif ( messageContainer === null ) {\n\t\t\tmessageContainer = document.createElement( 'ul' );\n\t\t\tmessageContainer.setAttribute( 'class', 'woocommerce-error' );\n\t\t\tmessageContainer.setAttribute( 'role', 'alert' );\n\t\t\tjQuery( this.wrapper ).prepend( messageContainer );\n\t\t}\n\t\treturn messageContainer;\n\t}\n\n\t/**\n\t * @param message\n\t * @private\n\t */\n\t_prepareMessageElement( message ) {\n\t\tconst li = document.createElement( 'li' );\n\t\tli.innerHTML = message;\n\n\t\treturn li;\n\t}\n\n\tclear() {\n\t\tjQuery( '.woocommerce-error, .woocommerce-message' ).remove();\n\t}\n}\n\nexport default ErrorHandler;\n","/**\n * Helper component to log debug details to the browser console.\n *\n * A utility class that is used by payment buttons on the front-end, like the GooglePayButton.\n */\nexport default class ConsoleLogger {\n\t/**\n\t * The prefix to display before every log output.\n\t *\n\t * @type {string}\n\t */\n\t#prefix = '';\n\n\t/**\n\t * Whether logging is enabled, disabled by default.\n\t *\n\t * @type {boolean}\n\t */\n\t#enabled = false;\n\n\t/**\n\t * Tracks the current log-group that was started using `this.group()`\n\t *\n\t * @type {?string}\n\t */\n\t#openGroup = null;\n\n\tconstructor( ...prefixes ) {\n\t\tif ( prefixes.length ) {\n\t\t\tthis.#prefix = `[${ prefixes.join( ' | ' ) }]`;\n\t\t}\n\t}\n\n\t/**\n\t * Enable or disable logging. Only impacts `log()` output.\n\t *\n\t * @param {boolean} state True to enable log output.\n\t */\n\tset enabled( state ) {\n\t\tthis.#enabled = state;\n\t}\n\n\t/**\n\t * Output log-level details to the browser console, if logging is enabled.\n\t *\n\t * @param {...any} args - All provided values are output to the browser console.\n\t */\n\tlog( ...args ) {\n\t\tif ( this.#enabled ) {\n\t\t\t// eslint-disable-next-line\n\t\t\tconsole.log( this.#prefix, ...args );\n\t\t}\n\t}\n\n\t/**\n\t * Generate an error message in the browser's console.\n\t *\n\t * Error messages are always output, even when logging is disabled.\n\t *\n\t * @param {...any} args - All provided values are output to the browser console.\n\t */\n\terror( ...args ) {\n\t\tconsole.error( this.#prefix, ...args );\n\t}\n\n\t/**\n\t * Starts or ends a group in the browser console.\n\t *\n\t * @param {string} [label=null] - The group label. Omit to end the current group.\n\t */\n\tgroup( label = null ) {\n\t\tif ( ! this.#enabled ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( ! label || this.#openGroup ) {\n\t\t\t// eslint-disable-next-line\n console.groupEnd();\n\t\t\tthis.#openGroup = null;\n\t\t}\n\n\t\tif ( label ) {\n\t\t\t// eslint-disable-next-line\n console.group( label );\n\n\t\t\tthis.#openGroup = label;\n\t\t}\n\t}\n}\n","export const apmButtonsInit = ( config, selector = '.ppcp-button-apm' ) => {\n\tlet selectorInContainer = selector;\n\n\tif ( window.ppcpApmButtons ) {\n\t\treturn;\n\t}\n\n\tif ( config && config.button ) {\n\t\t// If it's separate gateways, modify wrapper to account for the individual buttons as individual APMs.\n\t\tconst wrapper = config.button.wrapper;\n\t\tconst isSeparateGateways =\n\t\t\tjQuery( wrapper ).children( 'div[class^=\"item-\"]' ).length > 0;\n\n\t\tif ( isSeparateGateways ) {\n\t\t\tselector += `, ${ wrapper } div[class^=\"item-\"]`;\n\t\t\tselectorInContainer += `, div[class^=\"item-\"]`;\n\t\t}\n\t}\n\n\twindow.ppcpApmButtons = new ApmButtons( selector, selectorInContainer );\n};\n\nexport class ApmButtons {\n\tconstructor( selector, selectorInContainer ) {\n\t\tthis.selector = selector;\n\t\tthis.selectorInContainer = selectorInContainer;\n\t\tthis.containers = [];\n\n\t\t// Reloads button containers.\n\t\tthis.reloadContainers();\n\n\t\t// Refresh button layout.\n\t\tjQuery( window )\n\t\t\t.resize( () => {\n\t\t\t\tthis.refresh();\n\t\t\t} )\n\t\t\t.resize();\n\n\t\tjQuery( document ).on( 'ppcp-smart-buttons-init', () => {\n\t\t\tthis.refresh();\n\t\t} );\n\n\t\tjQuery( document ).on(\n\t\t\t'ppcp-shown ppcp-hidden ppcp-enabled ppcp-disabled',\n\t\t\t( ev, data ) => {\n\t\t\t\tthis.refresh();\n\t\t\t\tsetTimeout( this.refresh.bind( this ), 200 );\n\t\t\t}\n\t\t);\n\n\t\t// Observes for new buttons.\n\t\tnew MutationObserver(\n\t\t\tthis.observeElementsCallback.bind( this )\n\t\t).observe( document.body, { childList: true, subtree: true } );\n\t}\n\n\tobserveElementsCallback( mutationsList, observer ) {\n\t\tconst observeSelector =\n\t\t\tthis.selector +\n\t\t\t', .widget_shopping_cart, .widget_shopping_cart_content';\n\n\t\tlet shouldReload = false;\n\t\tfor ( const mutation of mutationsList ) {\n\t\t\tif ( mutation.type === 'childList' ) {\n\t\t\t\tmutation.addedNodes.forEach( ( node ) => {\n\t\t\t\t\tif ( node.matches && node.matches( observeSelector ) ) {\n\t\t\t\t\t\tshouldReload = true;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t\tif ( shouldReload ) {\n\t\t\tthis.reloadContainers();\n\t\t\tthis.refresh();\n\t\t}\n\t}\n\n\treloadContainers() {\n\t\tjQuery( this.selector ).each( ( index, el ) => {\n\t\t\tconst parent = jQuery( el ).parent();\n\t\t\tif ( ! this.containers.some( ( $el ) => $el.is( parent ) ) ) {\n\t\t\t\tthis.containers.push( parent );\n\t\t\t}\n\t\t} );\n\t}\n\n\trefresh() {\n\t\tfor ( const container of this.containers ) {\n\t\t\tconst $container = jQuery( container );\n\n\t\t\t// Check width and add classes\n\t\t\tconst width = $container.width();\n\n\t\t\t$container.removeClass(\n\t\t\t\t'ppcp-width-500 ppcp-width-300 ppcp-width-min'\n\t\t\t);\n\n\t\t\tif ( width >= 500 ) {\n\t\t\t\t$container.addClass( 'ppcp-width-500' );\n\t\t\t} else if ( width >= 300 ) {\n\t\t\t\t$container.addClass( 'ppcp-width-300' );\n\t\t\t} else {\n\t\t\t\t$container.addClass( 'ppcp-width-min' );\n\t\t\t}\n\n\t\t\t// Check first apm button\n\t\t\tconst $firstElement = $container.children( ':visible' ).first();\n\n\t\t\t// Assign margins to buttons\n\t\t\t$container.find( this.selectorInContainer ).each( ( index, el ) => {\n\t\t\t\tconst $el = jQuery( el );\n\n\t\t\t\tif ( $el.is( $firstElement ) ) {\n\t\t\t\t\t$el.css( 'margin-top', `0px` );\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tconst minMargin = 11; // Minimum margin.\n\t\t\t\tconst height = $el.height();\n\t\t\t\tconst margin = Math.max(\n\t\t\t\t\tminMargin,\n\t\t\t\t\tMath.round( height * 0.3 )\n\t\t\t\t);\n\t\t\t\t$el.css( 'margin-top', `${ margin }px` );\n\t\t\t} );\n\t\t}\n\t}\n}\n","export const PaymentMethods = {\n\tPAYPAL: 'ppcp-gateway',\n\tCARDS: 'ppcp-credit-card-gateway',\n\tOXXO: 'ppcp-oxxo-gateway',\n\tCARD_BUTTON: 'ppcp-card-button-gateway',\n\tGOOGLEPAY: 'ppcp-googlepay',\n\tAPPLEPAY: 'ppcp-applepay',\n};\n\n/**\n * List of valid context values that the button can have.\n *\n * The \"context\" describes the placement or page where a payment button might be displayed.\n *\n * @type {Object}\n */\nexport const PaymentContext = {\n\tCart: 'cart', // Classic cart.\n\tCheckout: 'checkout', // Classic checkout.\n\tBlockCart: 'cart-block', // Block cart.\n\tBlockCheckout: 'checkout-block', // Block checkout.\n\tProduct: 'product', // Single product page.\n\tMiniCart: 'mini-cart', // Mini cart available on all pages except checkout & cart.\n\tPayNow: 'pay-now', // Pay for order, via admin generated link.\n\tPreview: 'preview', // Layout preview on settings page.\n\n\t// Contexts that use blocks to render payment methods.\n\tBlocks: [ 'cart-block', 'checkout-block' ],\n\n\t// Contexts that display \"classic\" payment gateways.\n\tGateways: [ 'checkout', 'pay-now' ],\n};\n\nexport const ORDER_BUTTON_SELECTOR = '#place_order';\n\nexport const getCurrentPaymentMethod = () => {\n\tconst el = document.querySelector( 'input[name=\"payment_method\"]:checked' );\n\tif ( ! el ) {\n\t\treturn null;\n\t}\n\n\treturn el.value;\n};\n\nexport const isSavedCardSelected = () => {\n\tconst savedCardList = document.querySelector( '#saved-credit-card' );\n\treturn savedCardList && savedCardList.value !== '';\n};\n","/**\n * Helper function used by PaymentButton instances.\n *\n * @file\n */\n\n/**\n * Collection of recognized event names for payment button events.\n *\n * @type {Object}\n */\nexport const ButtonEvents = Object.freeze( {\n\tINVALIDATE: 'ppcp_invalidate_methods',\n\tRENDER: 'ppcp_render_method',\n\tREDRAW: 'ppcp_redraw_method',\n} );\n\n/**\n *\n * @param {string} defaultId - Default wrapper ID.\n * @param {string} miniCartId - Wrapper inside the mini-cart.\n * @param {string} smartButtonId - ID of the smart button wrapper.\n * @param {string} blockId - Block wrapper ID (express checkout, block cart).\n * @param {string} gatewayId - Gateway wrapper ID (classic checkout).\n * @return {{MiniCart, Gateway, Block, SmartButton, Default}} List of all wrapper IDs, by context.\n */\nexport function combineWrapperIds(\n\tdefaultId = '',\n\tminiCartId = '',\n\tsmartButtonId = '',\n\tblockId = '',\n\tgatewayId = ''\n) {\n\tconst sanitize = ( id ) => id.replace( /^#/, '' );\n\n\treturn {\n\t\tDefault: sanitize( defaultId ),\n\t\tSmartButton: sanitize( smartButtonId ),\n\t\tBlock: sanitize( blockId ),\n\t\tGateway: sanitize( gatewayId ),\n\t\tMiniCart: sanitize( miniCartId ),\n\t};\n}\n\n/**\n * Returns full payment button styles by combining the global ppcpConfig with\n * payment-method-specific styling provided via buttonConfig.\n *\n * @param {Object} ppcpConfig - Global plugin configuration.\n * @param {Object} buttonConfig - Payment method specific configuration.\n * @return {{MiniCart: (*), Default: (*)}} Combined styles, separated by context.\n */\nexport function combineStyles( ppcpConfig, buttonConfig ) {\n\treturn {\n\t\tDefault: {\n\t\t\t...ppcpConfig.style,\n\t\t\t...buttonConfig.style,\n\t\t},\n\t\tMiniCart: {\n\t\t\t...ppcpConfig.mini_cart_style,\n\t\t\t...buttonConfig.mini_cart_style,\n\t\t},\n\t};\n}\n\n/**\n * Verifies if the given event name is a valid Payment Button event.\n *\n * @param {string} event - The event name to verify.\n * @return {boolean} True, if the event name is valid.\n */\nexport function isValidButtonEvent( event ) {\n\tconst buttonEventValues = Object.values( ButtonEvents );\n\n\treturn buttonEventValues.includes( event );\n}\n\n/**\n * Dispatches a payment button event.\n *\n * @param {Object} options - The options for dispatching the event.\n * @param {string} options.event - Event to dispatch.\n * @param {string} [options.paymentMethod] - Optional. Name of payment method, to target a specific button only.\n * @throws {Error} Throws an error if the event is invalid.\n */\nexport function dispatchButtonEvent( { event, paymentMethod = '' } ) {\n\tif ( ! isValidButtonEvent( event ) ) {\n\t\tthrow new Error( `Invalid event: ${ event }` );\n\t}\n\n\tconst fullEventName = paymentMethod\n\t\t? `${ event }-${ paymentMethod }`\n\t\t: event;\n\n\tdocument.body.dispatchEvent( new Event( fullEventName ) );\n}\n\n/**\n * Adds an event listener for the provided button event.\n *\n * @param {Object} options - The options for the event listener.\n * @param {string} options.event - Event to observe.\n * @param {string} [options.paymentMethod] - The payment method name (optional).\n * @param {Function} options.callback - The callback function to execute when the event is triggered.\n * @throws {Error} Throws an error if the event is invalid.\n */\nexport function observeButtonEvent( { event, paymentMethod = '', callback } ) {\n\tif ( ! isValidButtonEvent( event ) ) {\n\t\tthrow new Error( `Invalid event: ${ event }` );\n\t}\n\n\tconst fullEventName = paymentMethod\n\t\t? `${ event }-${ paymentMethod }`\n\t\t: event;\n\n\tdocument.body.addEventListener( fullEventName, callback );\n}\n","/**\n * @param selectorOrElement\n * @return {Element}\n */\nconst getElement = ( selectorOrElement ) => {\n\tif ( typeof selectorOrElement === 'string' ) {\n\t\treturn document.querySelector( selectorOrElement );\n\t}\n\treturn selectorOrElement;\n};\n\nconst triggerHidden = ( handler, selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-hidden', {\n\t\thandler,\n\t\taction: 'hide',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nconst triggerShown = ( handler, selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-shown', {\n\t\thandler,\n\t\taction: 'show',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nexport const isVisible = ( element ) => {\n\treturn !! (\n\t\telement.offsetWidth ||\n\t\telement.offsetHeight ||\n\t\telement.getClientRects().length\n\t);\n};\n\nexport const setVisible = ( selectorOrElement, show, important = false ) => {\n\tconst element = getElement( selectorOrElement );\n\tif ( ! element ) {\n\t\treturn;\n\t}\n\n\tconst currentValue = element.style.getPropertyValue( 'display' );\n\n\tif ( ! show ) {\n\t\tif ( currentValue === 'none' ) {\n\t\t\treturn;\n\t\t}\n\n\t\telement.style.setProperty(\n\t\t\t'display',\n\t\t\t'none',\n\t\t\timportant ? 'important' : ''\n\t\t);\n\t\ttriggerHidden( 'Hiding.setVisible', selectorOrElement, element );\n\t} else {\n\t\tif ( currentValue === 'none' ) {\n\t\t\telement.style.removeProperty( 'display' );\n\t\t\ttriggerShown( 'Hiding.setVisible', selectorOrElement, element );\n\t\t}\n\n\t\t// still not visible (if something else added display: none in CSS)\n\t\tif ( ! isVisible( element ) ) {\n\t\t\telement.style.setProperty( 'display', 'block' );\n\t\t\ttriggerShown( 'Hiding.setVisible', selectorOrElement, element );\n\t\t}\n\t}\n};\n\nexport const setVisibleByClass = ( selectorOrElement, show, hiddenClass ) => {\n\tconst element = getElement( selectorOrElement );\n\tif ( ! element ) {\n\t\treturn;\n\t}\n\n\tif ( show ) {\n\t\telement.classList.remove( hiddenClass );\n\t\ttriggerShown( 'Hiding.setVisibleByClass', selectorOrElement, element );\n\t} else {\n\t\telement.classList.add( hiddenClass );\n\t\ttriggerHidden( 'Hiding.setVisibleByClass', selectorOrElement, element );\n\t}\n};\n\nexport const hide = ( selectorOrElement, important = false ) => {\n\tsetVisible( selectorOrElement, false, important );\n};\n\nexport const show = ( selectorOrElement ) => {\n\tsetVisible( selectorOrElement, true );\n};\n","/**\n * @param selectorOrElement\n * @return {Element}\n */\nconst getElement = ( selectorOrElement ) => {\n\tif ( typeof selectorOrElement === 'string' ) {\n\t\treturn document.querySelector( selectorOrElement );\n\t}\n\treturn selectorOrElement;\n};\n\nconst triggerEnabled = ( selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-enabled', {\n\t\thandler: 'ButtonsDisabler.setEnabled',\n\t\taction: 'enable',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nconst triggerDisabled = ( selectorOrElement, element ) => {\n\tjQuery( document ).trigger( 'ppcp-disabled', {\n\t\thandler: 'ButtonsDisabler.setEnabled',\n\t\taction: 'disable',\n\t\tselector: selectorOrElement,\n\t\telement,\n\t} );\n};\n\nexport const setEnabled = ( selectorOrElement, enable, form = null ) => {\n\tconst element = getElement( selectorOrElement );\n\n\tif ( ! element ) {\n\t\treturn;\n\t}\n\n\tif ( enable ) {\n\t\tjQuery( element )\n\t\t\t.removeClass( 'ppcp-disabled' )\n\t\t\t.off( 'mouseup' )\n\t\t\t.find( '> *' )\n\t\t\t.css( 'pointer-events', '' );\n\n\t\ttriggerEnabled( selectorOrElement, element );\n\t} else {\n\t\tjQuery( element )\n\t\t\t.addClass( 'ppcp-disabled' )\n\t\t\t.on( 'mouseup', function ( event ) {\n\t\t\t\tevent.stopImmediatePropagation();\n\n\t\t\t\tif ( form ) {\n\t\t\t\t\t// Trigger form submit to show the error message\n\t\t\t\t\tconst $form = jQuery( form );\n\t\t\t\t\tif (\n\t\t\t\t\t\t$form\n\t\t\t\t\t\t\t.find( '.single_add_to_cart_button' )\n\t\t\t\t\t\t\t.hasClass( 'disabled' )\n\t\t\t\t\t) {\n\t\t\t\t\t\t$form.find( ':submit' ).trigger( 'click' );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} )\n\t\t\t.find( '> *' )\n\t\t\t.css( 'pointer-events', 'none' );\n\n\t\ttriggerDisabled( selectorOrElement, element );\n\t}\n};\n\nexport const isDisabled = ( selectorOrElement ) => {\n\tconst element = getElement( selectorOrElement );\n\n\tif ( ! element ) {\n\t\treturn false;\n\t}\n\n\treturn jQuery( element ).hasClass( 'ppcp-disabled' );\n};\n\nexport const disable = ( selectorOrElement, form = null ) => {\n\tsetEnabled( selectorOrElement, false, form );\n};\n\nexport const enable = ( selectorOrElement ) => {\n\tsetEnabled( selectorOrElement, true );\n};\n","import ConsoleLogger from '../../../../../ppcp-wc-gateway/resources/js/helper/ConsoleLogger';\nimport { apmButtonsInit } from '../Helper/ApmButtons';\nimport {\n\tgetCurrentPaymentMethod,\n\tPaymentContext,\n\tPaymentMethods,\n} from '../Helper/CheckoutMethodState';\nimport {\n\tButtonEvents,\n\tdispatchButtonEvent,\n\tobserveButtonEvent,\n} from '../Helper/PaymentButtonHelpers';\nimport { isVisible } from '../Helper/Hiding';\nimport { isDisabled, setEnabled } from '../Helper/ButtonDisabler';\n\n/**\n * Collection of all available styling options for this button.\n *\n * @typedef {Object} StylesCollection\n * @property {string} Default - Default button styling.\n * @property {string} MiniCart - Styles for mini-cart button.\n */\n\n/**\n * Collection of all available wrapper IDs that are possible for the button.\n *\n * @typedef {Object} WrapperCollection\n * @property {string} Default - Default button wrapper.\n * @property {string} Gateway - Wrapper for separate gateway.\n * @property {string} Block - Wrapper for block checkout button.\n * @property {string} MiniCart - Wrapper for mini-cart button.\n * @property {string} SmartButton - Wrapper for smart button container.\n */\n\n/**\n * Adds the provided PaymentButton instance to a global payment-button collection.\n *\n * This is debugging logic that should not be used on a production site.\n *\n * @param {string} methodName - Used to group the buttons.\n * @param {PaymentButton} button - Appended to the button collection.\n */\nconst addToDebuggingCollection = ( methodName, button ) => {\n\twindow.ppcpPaymentButtonList = window.ppcpPaymentButtonList || {};\n\n\tconst collection = window.ppcpPaymentButtonList;\n\n\tcollection[ methodName ] = collection[ methodName ] || [];\n\tcollection[ methodName ].push( button );\n};\n\n/**\n * Provides a context-independent instance Map for `PaymentButton` components.\n *\n * This function addresses a potential issue in multi-context environments, such as pages using\n * Block-components. In these scenarios, multiple React execution contexts can lead to duplicate\n * `PaymentButton` instances. To prevent this, we store instances in a `Map` that is bound to the\n * document's `body` (the rendering context) rather than to individual React components\n * (execution contexts).\n *\n * The `Map` is created as a non-enumerable, non-writable, and non-configurable property of\n * `document.body` to ensure its integrity and prevent accidental modifications.\n *\n * @return {Map} A Map containing all `PaymentButton` instances for the current page.\n */\nconst getInstances = () => {\n\tconst collectionKey = '__ppcpPBInstances';\n\n\tif ( ! document.body[ collectionKey ] ) {\n\t\tObject.defineProperty( document.body, collectionKey, {\n\t\t\tvalue: new Map(),\n\t\t\tenumerable: false,\n\t\t\twritable: false,\n\t\t\tconfigurable: false,\n\t\t} );\n\t}\n\n\treturn document.body[ collectionKey ];\n};\n\n/**\n * Base class for APM payment buttons, like GooglePay and ApplePay.\n *\n * This class is not intended for the PayPal button.\n */\nexport default class PaymentButton {\n\t/**\n\t * Defines the implemented payment method.\n\t *\n\t * Used to identify and address the button internally.\n\t * Overwrite this in the derived class.\n\t *\n\t * @type {string}\n\t */\n\tstatic methodId = 'generic';\n\n\t/**\n\t * CSS class that is added to the payment button wrapper.\n\t *\n\t * Overwrite this in the derived class.\n\t *\n\t * @type {string}\n\t */\n\tstatic cssClass = '';\n\n\t/**\n\t * @type {ConsoleLogger}\n\t */\n\t#logger;\n\n\t/**\n\t * Whether the payment button is initialized.\n\t *\n\t * @type {boolean}\n\t */\n\t#isInitialized = false;\n\n\t/**\n\t * Whether the one-time initialization of the payment gateway is complete.\n\t *\n\t * @type {boolean}\n\t */\n\t#gatewayInitialized = false;\n\n\t/**\n\t * The button's context.\n\t *\n\t * @type {string}\n\t */\n\t#context;\n\n\t/**\n\t * Object containing the IDs of all possible wrapper elements that might contain this\n\t * button; only one wrapper is relevant, depending on the value of the context.\n\t *\n\t * @type {Object}\n\t */\n\t#wrappers;\n\n\t/**\n\t * @type {StylesCollection}\n\t */\n\t#styles;\n\n\t/**\n\t * Keeps track of CSS classes that were added to the wrapper element.\n\t * We use this list to remove CSS classes that we've added, e.g. to change shape from\n\t * pill to rect in the preview.\n\t *\n\t * @type {string[]}\n\t */\n\t#appliedClasses = [];\n\n\t/**\n\t * APM relevant configuration; e.g., configuration of the GooglePay button.\n\t */\n\t#buttonConfig;\n\n\t/**\n\t * Plugin-wide configuration; i.e., PayPal client ID, shop currency, etc.\n\t */\n\t#ppcpConfig;\n\n\t/**\n\t * A variation of a context bootstrap handler.\n\t */\n\t#externalHandler;\n\n\t/**\n\t * A variation of a context handler object, like CheckoutHandler.\n\t * This handler provides a standardized interface for certain standardized checks and actions.\n\t */\n\t#contextHandler;\n\n\t/**\n\t * Button attributes.\n\t */\n\t#buttonAttributes;\n\n\t/**\n\t * Whether the current browser/website support the payment method.\n\t *\n\t * @type {?boolean}\n\t */\n\t#isEligible = null;\n\n\t/**\n\t * Whether this button is visible. Modified by `show()` and `hide()`\n\t *\n\t * @type {boolean}\n\t */\n\t#isVisible = true;\n\n\t/**\n\t * Whether this button is enabled (can be clicked).\n\t *\n\t * @type {boolean}\n\t */\n\t#isEnabled = true;\n\n\t/**\n\t * The currently visible payment button.\n\t *\n\t * @see {PaymentButton.insertButton}\n\t * @type {HTMLElement|null}\n\t */\n\t#button = null;\n\n\t/**\n\t * List of checks to perform to verify the PaymentButton has is configured correctly.\n\t *\n\t * @type {{check, errorMessage, shouldPass}[]}\n\t */\n\t#validationChecks = [];\n\n\t/**\n\t * Factory method to create a new PaymentButton while limiting a single instance per context.\n\t *\n\t * @param {string} context - Button context name.\n\t * @param {unknown} externalHandler - Handler object.\n\t * @param {Object} buttonConfig - Payment button specific configuration.\n\t * @param {Object} ppcpConfig - Plugin wide configuration object.\n\t * @param {unknown} contextHandler - Handler object.\n\t * @param {Object} buttonAttributes - Button attributes.\n\t * @return {PaymentButton} The button instance.\n\t */\n\tstatic createButton(\n\t\tcontext,\n\t\texternalHandler,\n\t\tbuttonConfig,\n\t\tppcpConfig,\n\t\tcontextHandler,\n\t\tbuttonAttributes\n\t) {\n\t\tconst buttonInstances = getInstances();\n\t\tconst instanceKey = `${ this.methodId }.${ context }`;\n\n\t\tif ( ! buttonInstances.has( instanceKey ) ) {\n\t\t\tconst button = new this(\n\t\t\t\tcontext,\n\t\t\t\texternalHandler,\n\t\t\t\tbuttonConfig,\n\t\t\t\tppcpConfig,\n\t\t\t\tcontextHandler,\n\t\t\t\tbuttonAttributes\n\t\t\t);\n\n\t\t\tbuttonInstances.set( instanceKey, button );\n\t\t}\n\n\t\treturn buttonInstances.get( instanceKey );\n\t}\n\n\t/**\n\t * Returns a list with all wrapper IDs for the implemented payment method, categorized by\n\t * context.\n\t *\n\t * @abstract\n\t * @param {Object} buttonConfig - Payment method specific configuration.\n\t * @param {Object} ppcpConfig - Global plugin configuration.\n\t * @return {{MiniCart, Gateway, Block, SmartButton, Default}} The wrapper ID collection.\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tstatic getWrappers( buttonConfig, ppcpConfig ) {\n\t\tthrow new Error( 'Must be implemented in the child class' );\n\t}\n\n\t/**\n\t * Returns a list of all button styles for the implemented payment method, categorized by\n\t * context.\n\t *\n\t * @abstract\n\t * @param {Object} buttonConfig - Payment method specific configuration.\n\t * @param {Object} ppcpConfig - Global plugin configuration.\n\t * @return {{MiniCart: (*), Default: (*)}} Combined styles, separated by context.\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tstatic getStyles( buttonConfig, ppcpConfig ) {\n\t\tthrow new Error( 'Must be implemented in the child class' );\n\t}\n\n\t/**\n\t * Initialize the payment button instance.\n\t *\n\t * Do not create new button instances directly; use the `createButton` method instead\n\t * to avoid multiple button instances handling the same context.\n\t *\n\t * @private\n\t * @param {string} context - Button context name.\n\t * @param {Object} externalHandler - Handler object.\n\t * @param {Object} buttonConfig - Payment button specific configuration.\n\t * @param {Object} ppcpConfig - Plugin wide configuration object.\n\t * @param {Object} contextHandler - Handler object.\n\t * @param {Object} buttonAttributes - Button attributes.\n\t */\n\tconstructor(\n\t\tcontext,\n\t\texternalHandler = null,\n\t\tbuttonConfig = {},\n\t\tppcpConfig = {},\n\t\tcontextHandler = null,\n\t\tbuttonAttributes = {}\n\t) {\n\t\tif ( this.methodId === PaymentButton.methodId ) {\n\t\t\tthrow new Error( 'Cannot initialize the PaymentButton base class' );\n\t\t}\n\n\t\tif ( ! buttonConfig ) {\n\t\t\tbuttonConfig = {};\n\t\t}\n\n\t\tconst isDebugging = !! buttonConfig?.is_debug;\n\t\tconst methodName = this.methodId.replace( /^ppcp?-/, '' );\n\n\t\tthis.#context = context;\n\t\tthis.#buttonConfig = buttonConfig;\n\t\tthis.#ppcpConfig = ppcpConfig;\n\t\tthis.#externalHandler = externalHandler;\n\t\tthis.#contextHandler = contextHandler;\n\t\tthis.#buttonAttributes = buttonAttributes;\n\n\t\tthis.#logger = new ConsoleLogger( methodName, context );\n\n\t\tif ( isDebugging ) {\n\t\t\tthis.#logger.enabled = true;\n\t\t\taddToDebuggingCollection( methodName, this );\n\t\t}\n\n\t\tthis.#wrappers = this.constructor.getWrappers(\n\t\t\tthis.#buttonConfig,\n\t\t\tthis.#ppcpConfig\n\t\t);\n\t\tthis.applyButtonStyles( this.#buttonConfig );\n\n\t\tthis.registerValidationRules(\n\t\t\tthis.#assertIsInvalid.bind( this ),\n\t\t\tthis.#assertIsValid.bind( this )\n\t\t);\n\n\t\tapmButtonsInit( this.#ppcpConfig );\n\t\tthis.initEventListeners();\n\t}\n\n\t/**\n\t * Internal ID of the payment gateway.\n\t *\n\t * @readonly\n\t * @return {string} The internal gateway ID, defined in the derived class.\n\t */\n\tget methodId() {\n\t\treturn this.constructor.methodId;\n\t}\n\n\t/**\n\t * CSS class that is added to the button wrapper.\n\t *\n\t * @readonly\n\t * @return {string} CSS class, defined in the derived class.\n\t */\n\tget cssClass() {\n\t\treturn this.constructor.cssClass;\n\t}\n\n\t/**\n\t * Whether the payment button was fully initialized.\n\t *\n\t * @readonly\n\t * @return {boolean} True indicates, that the button was fully initialized.\n\t */\n\tget isInitialized() {\n\t\treturn this.#isInitialized;\n\t}\n\n\t/**\n\t * The button's context.\n\t *\n\t * TODO: Convert the string to a context-object (primitive obsession smell)\n\t *\n\t * @readonly\n\t * @return {string} The button context.\n\t */\n\tget context() {\n\t\treturn this.#context;\n\t}\n\n\t/**\n\t * Configuration, specific for the implemented payment button.\n\t *\n\t * @return {Object} Configuration object.\n\t */\n\tget buttonConfig() {\n\t\treturn this.#buttonConfig;\n\t}\n\n\t/**\n\t * Plugin-wide configuration; i.e., PayPal client ID, shop currency, etc.\n\t *\n\t * @return {Object} Configuration object.\n\t */\n\tget ppcpConfig() {\n\t\treturn this.#ppcpConfig;\n\t}\n\n\t/**\n\t * @return {Object} The bootstrap handler instance, or an empty object.\n\t */\n\tget externalHandler() {\n\t\treturn this.#externalHandler || {};\n\t}\n\n\t/**\n\t * Access the button's context handler.\n\t * When no context handler was provided (like for a preview button), an empty object is\n\t * returned.\n\t *\n\t * @return {Object} The context handler instance, or an empty object.\n\t */\n\tget contextHandler() {\n\t\treturn this.#contextHandler || {};\n\t}\n\n\t/**\n\t * Whether customers need to provide shipping details during payment.\n\t *\n\t * Can be extended by child classes to take method specific configuration into account.\n\t *\n\t * @return {boolean} True means, shipping fields are displayed and must be filled.\n\t */\n\tget requiresShipping() {\n\t\t// Default check: Is shipping enabled in WooCommerce?\n\t\treturn (\n\t\t\t'function' === typeof this.contextHandler.shippingAllowed &&\n\t\t\tthis.contextHandler.shippingAllowed()\n\t\t);\n\t}\n\n\t/**\n\t * Button wrapper details.\n\t *\n\t * @readonly\n\t * @return {WrapperCollection} Wrapper IDs.\n\t */\n\tget wrappers() {\n\t\treturn this.#wrappers;\n\t}\n\n\t/**\n\t * Returns the context-relevant button style object.\n\t *\n\t * @readonly\n\t * @return {string} Styling options.\n\t */\n\tget style() {\n\t\tif ( PaymentContext.MiniCart === this.context ) {\n\t\t\treturn this.#styles.MiniCart;\n\t\t}\n\n\t\treturn this.#styles.Default;\n\t}\n\n\t/**\n\t * Returns the context-relevant wrapper ID.\n\t *\n\t * @readonly\n\t * @return {string} The wrapper-element's ID (without the `#` prefix).\n\t */\n\tget wrapperId() {\n\t\tif ( PaymentContext.MiniCart === this.context ) {\n\t\t\treturn this.wrappers.MiniCart;\n\t\t} else if ( this.isSeparateGateway ) {\n\t\t\treturn this.wrappers.Gateway;\n\t\t} else if ( PaymentContext.Blocks.includes( this.context ) ) {\n\t\t\treturn this.wrappers.Block;\n\t\t}\n\n\t\treturn this.wrappers.Default;\n\t}\n\n\t/**\n\t * Whether the button is placed inside a classic gateway context.\n\t *\n\t * Classic gateway contexts are: Classic checkout, Pay for Order page.\n\t *\n\t * @return {boolean} True indicates, the button is located inside a classic gateway.\n\t */\n\tget isInsideClassicGateway() {\n\t\treturn PaymentContext.Gateways.includes( this.context );\n\t}\n\n\t/**\n\t * Determines if the current payment button should be rendered as a stand-alone gateway.\n\t * The return value `false` usually means, that the payment button is bundled with all available\n\t * payment buttons.\n\t *\n\t * The decision depends on the button context (placement) and the plugin settings.\n\t *\n\t * @return {boolean} True, if the current button represents a stand-alone gateway.\n\t */\n\tget isSeparateGateway() {\n\t\treturn (\n\t\t\tthis.#buttonConfig.is_wc_gateway_enabled &&\n\t\t\tthis.isInsideClassicGateway\n\t\t);\n\t}\n\n\t/**\n\t * Whether the currently selected payment gateway is set to the payment method.\n\t *\n\t * Only relevant on checkout pages where \"classic\" payment gateways are rendered.\n\t *\n\t * @return {boolean} True means that this payment method is selected as current gateway.\n\t */\n\tget isCurrentGateway() {\n\t\tif ( ! this.isInsideClassicGateway ) {\n\t\t\t// This means, the button's visibility is managed by another script.\n\t\t\treturn true;\n\t\t}\n\n\t\t/*\n\t\t * We need to rely on `getCurrentPaymentMethod()` here, as the `CheckoutBootstrap.js`\n\t\t * module fires the \"ButtonEvents.RENDER\" event before any PaymentButton instances are\n\t\t * created. I.e. we cannot observe the initial gateway selection event.\n\t\t */\n\t\tconst currentMethod = getCurrentPaymentMethod();\n\n\t\tif ( this.isSeparateGateway ) {\n\t\t\treturn this.methodId === currentMethod;\n\t\t}\n\n\t\t// Button is rendered inside the Smart Buttons block.\n\t\treturn PaymentMethods.PAYPAL === currentMethod;\n\t}\n\n\t/**\n\t * Flags a preview button without actual payment logic.\n\t *\n\t * @return {boolean} True indicates a preview instance that has no payment logic.\n\t */\n\tget isPreview() {\n\t\treturn PaymentContext.Preview === this.context;\n\t}\n\n\t/**\n\t * Whether the browser can accept this payment method.\n\t *\n\t * @return {boolean} True, if payments are technically possible.\n\t */\n\tget isEligible() {\n\t\treturn this.#isEligible;\n\t}\n\n\t/**\n\t * Changes the eligibility state of this button component.\n\t *\n\t * @param {boolean} newState Whether the browser can accept payments.\n\t */\n\tset isEligible( newState ) {\n\t\tif ( newState === this.#isEligible ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#isEligible = newState;\n\t\tthis.triggerRedraw();\n\t}\n\n\t/**\n\t * The visibility state of the button.\n\t * This flag does not reflect actual visibility on the page, but rather, if the button\n\t * is intended/allowed to be displayed, in case all other checks pass.\n\t *\n\t * @return {boolean} True indicates, that the button can be displayed.\n\t */\n\tget isVisible() {\n\t\treturn this.#isVisible;\n\t}\n\n\t/**\n\t * Change the visibility of the button.\n\t *\n\t * A visible button does not always force the button to render on the page. It only means, that\n\t * the button is allowed or not allowed to render, if certain other conditions are met.\n\t *\n\t * @param {boolean} newState Whether rendering the button is allowed.\n\t */\n\tset isVisible( newState ) {\n\t\tif ( this.#isVisible === newState ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#isVisible = newState;\n\t\tthis.triggerRedraw();\n\t}\n\n\t/**\n\t * The enabled/disabled state of the button (whether it can be clicked).\n\t *\n\t * @return {boolean} True indicates, that the button is enabled.\n\t */\n\tget isEnabled() {\n\t\treturn this.#isEnabled;\n\t}\n\n\t/**\n\t * Change the enabled/disabled state of the button.\n\t *\n\t * @param {boolean} newState Whether the button is enabled.\n\t */\n\tset isEnabled( newState ) {\n\t\tif ( this.#isEnabled === newState ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.#isEnabled = newState;\n\t\tthis.triggerRedraw();\n\t}\n\n\t/**\n\t * Returns the HTML element that wraps the current button\n\t *\n\t * @readonly\n\t * @return {HTMLElement|null} The wrapper element, or null.\n\t */\n\tget wrapperElement() {\n\t\treturn document.getElementById( this.wrapperId );\n\t}\n\n\t/**\n\t * Returns the standard PayPal smart button selector for the current context.\n\t *\n\t * @return {string | null} The selector, or null if not available.\n\t */\n\tget ppcpButtonWrapperSelector() {\n\t\tif ( PaymentContext.Blocks.includes( this.context ) ) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif ( this.context === PaymentContext.MiniCart ) {\n\t\t\treturn this.ppcpConfig?.button?.mini_cart_wrapper;\n\t\t}\n\n\t\treturn this.ppcpConfig?.button?.wrapper;\n\t}\n\n\t/**\n\t * Checks whether the main button-wrapper is present in the current DOM.\n\t *\n\t * @readonly\n\t * @return {boolean} True, if the button context (wrapper element) is found.\n\t */\n\tget isPresent() {\n\t\treturn this.wrapperElement instanceof HTMLElement;\n\t}\n\n\t/**\n\t * Checks, if the payment button is still attached to the DOM.\n\t *\n\t * WooCommerce performs some partial reloads in many cases, which can lead to our payment\n\t * button\n\t * to move into the browser's memory. In that case, we need to recreate the button in the\n\t * updated DOM.\n\t *\n\t * @return {boolean} True means, the button is still present (and typically visible) on the\n\t * page.\n\t */\n\tget isButtonAttached() {\n\t\tif ( ! this.#button ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet parent = this.#button.parentElement;\n\t\twhile ( parent?.parentElement ) {\n\t\t\tif ( 'BODY' === parent.tagName ) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tparent = parent.parentElement;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t * Log a debug detail to the browser console.\n\t *\n\t * @param {any} args\n\t */\n\tlog( ...args ) {\n\t\tthis.#logger.log( ...args );\n\t}\n\n\t/**\n\t * Log an error message to the browser console.\n\t *\n\t * @param {any} args\n\t */\n\terror( ...args ) {\n\t\tthis.#logger.error( ...args );\n\t}\n\n\t/**\n\t * Open or close a log-group\n\t *\n\t * @param {?string} [label=null] Group label.\n\t */\n\tlogGroup( label = null ) {\n\t\tthis.#logger.group( label );\n\t}\n\n\t/**\n\t * Register a validation check that marks the configuration as invalid when passed.\n\t *\n\t * @param {Function} check - A function that returns a truthy value if the check passes.\n\t * @param {string} errorMessage - The error message to display if the check fails.\n\t */\n\t#assertIsInvalid( check, errorMessage ) {\n\t\tthis.#validationChecks.push( {\n\t\t\tcheck,\n\t\t\terrorMessage,\n\t\t\tshouldPass: false,\n\t\t} );\n\t}\n\n\t/**\n\t * Register a validation check that instantly marks the configuration as valid when passed.\n\t *\n\t * @param {Function} check - A function that returns a truthy value if the check passes.\n\t */\n\t#assertIsValid( check ) {\n\t\tthis.#validationChecks.push( { check, shouldPass: true } );\n\t}\n\n\t/**\n\t * Defines a series of validation steps to ensure the payment button is configured correctly.\n\t *\n\t * Each validation step is executed in the order they are defined within this method.\n\t *\n\t * If a validation step using `invalidIf` returns true, the configuration is immediately considered\n\t * invalid, and an error message is logged. Conversely, if a validation step using `validIf`\n\t * returns true, the configuration is immediately considered valid.\n\t *\n\t * If no validation step returns true, the configuration is assumed to be valid by default.\n\t *\n\t * @param {(condition: () => boolean, errorMessage: string) => void} invalidIf - Registers a validation step that fails if the condition returns true.\n\t * @param {(condition: () => boolean) => void} validIf - Registers a validation step that passes if the condition returns true.\n\t */\n\t// eslint-disable-next-line no-unused-vars\n\tregisterValidationRules( invalidIf, validIf ) {}\n\n\t/**\n\t * Determines if the current button instance has valid and complete configuration details.\n\t * Used during initialization to decide if the button can be initialized or should be skipped.\n\t *\n\t * All required validation steps must be registered in the constructor of the derived class\n\t * using `this.addValidationFailure()` or `this.addValidationSuccess()`.\n\t *\n\t * @param {boolean} [silent=false] - Set to true to suppress console errors.\n\t * @return {boolean} True indicates the config is valid and initialization can continue.\n\t */\n\tvalidateConfiguration( silent = false ) {\n\t\tfor ( const step of this.#validationChecks ) {\n\t\t\tconst result = step.check();\n\n\t\t\tif ( step.shouldPass && result ) {\n\t\t\t\t// If a success check passes, mark as valid immediately.\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif ( ! step.shouldPass && result ) {\n\t\t\t\t// If a failure check passes, mark as invalid.\n\t\t\t\tif ( ! silent && step.errorMessage ) {\n\t\t\t\t\tthis.error( step.errorMessage );\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tapplyButtonStyles( buttonConfig, ppcpConfig = null ) {\n\t\tif ( ! ppcpConfig ) {\n\t\t\tppcpConfig = this.ppcpConfig;\n\t\t}\n\n\t\tthis.#styles = this.constructor.getStyles( buttonConfig, ppcpConfig );\n\n\t\tif ( this.isInitialized ) {\n\t\t\tthis.triggerRedraw();\n\t\t}\n\t}\n\n\t/**\n\t * Configures the button instance. Must be called before the initial `init()`.\n\t *\n\t * Parameters are defined by the derived class.\n\t *\n\t * @abstract\n\t */\n\tconfigure() {}\n\n\t/**\n\t * Must be named `init()` to simulate \"protected\" visibility:\n\t * Since the derived class also implements a method with the same name, this method can only\n\t * be called by the derived class, but not from any other code.\n\t */\n\tinit() {\n\t\tthis.#isInitialized = true;\n\t}\n\n\t/**\n\t * Must be named `reinit()` to simulate \"protected\" visibility:\n\t * Since the derived class also implements a method with the same name, this method can only\n\t * be called by the derived class, but not from any other code.\n\t */\n\treinit() {\n\t\tthis.#isInitialized = false;\n\t\tthis.#isEligible = false;\n\t}\n\n\ttriggerRedraw() {\n\t\tthis.showPaymentGateway();\n\n\t\tdispatchButtonEvent( {\n\t\t\tevent: ButtonEvents.REDRAW,\n\t\t\tpaymentMethod: this.methodId,\n\t\t} );\n\t}\n\n\t/**\n\t * Applies the visibility and enabled state from the PayPal button.\n\t * Intended for the product page, may not work correctly on the checkout page.\n\t */\n\tsyncProductButtonsState() {\n\t\tconst ppcpButton = document.querySelector(\n\t\t\tthis.ppcpButtonWrapperSelector\n\t\t);\n\t\tif ( ! ppcpButton ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.isVisible = isVisible( ppcpButton );\n\t\tthis.isEnabled = ! isDisabled( ppcpButton );\n\t}\n\n\t/**\n\t * Attaches event listeners to show/hide or enable/disable the payment button when needed.\n\t */\n\tinitEventListeners() {\n\t\t// Refresh the button - this might show, hide or re-create the payment button.\n\t\tobserveButtonEvent( {\n\t\t\tevent: ButtonEvents.REDRAW,\n\t\t\tpaymentMethod: this.methodId,\n\t\t\tcallback: () => this.refresh(),\n\t\t} );\n\n\t\t// Events relevant for buttons inside a payment gateway.\n\t\tif ( this.isInsideClassicGateway ) {\n\t\t\tconst parentMethod = this.isSeparateGateway\n\t\t\t\t? this.methodId\n\t\t\t\t: PaymentMethods.PAYPAL;\n\n\t\t\t// Hide the button right after the user selected _any_ gateway.\n\t\t\tobserveButtonEvent( {\n\t\t\t\tevent: ButtonEvents.INVALIDATE,\n\t\t\t\tcallback: () => ( this.isVisible = false ),\n\t\t\t} );\n\n\t\t\t// Show the button (again) when the user selected the current gateway.\n\t\t\tobserveButtonEvent( {\n\t\t\t\tevent: ButtonEvents.RENDER,\n\t\t\t\tpaymentMethod: parentMethod,\n\t\t\t\tcallback: () => ( this.isVisible = true ),\n\t\t\t} );\n\t\t}\n\n\t\t// On the product page, copy the visibility and enabled state from the PayPal button.\n\t\tif ( this.context === PaymentContext.Product ) {\n\t\t\tjQuery( document ).on(\n\t\t\t\t'ppcp-shown ppcp-hidden ppcp-enabled ppcp-disabled',\n\t\t\t\t( ev, data ) => {\n\t\t\t\t\tif (\n\t\t\t\t\t\t! jQuery( data.selector ).is(\n\t\t\t\t\t\t\tthis.ppcpButtonWrapperSelector\n\t\t\t\t\t\t)\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.syncProductButtonsState();\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Refreshes the payment button on the page.\n\t */\n\trefresh() {\n\t\tif ( ! this.isPresent ) {\n\t\t\treturn;\n\t\t}\n\t\tif ( ! this.isEligible ) {\n\t\t\tthis.wrapperElement.style.display = 'none';\n\t\t\treturn;\n\t\t}\n\n\t\tthis.applyWrapperStyles();\n\n\t\tif ( this.isEligible && this.isCurrentGateway && this.isVisible ) {\n\t\t\tif ( ! this.isButtonAttached ) {\n\t\t\t\tthis.log( 'refresh.addButton' );\n\t\t\t\tthis.addButton();\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Makes the payment gateway visible by removing initial inline styles from the DOM.\n\t * Also, removes the button-placeholder container from the smart button block.\n\t *\n\t * Only relevant on the checkout page, i.e., when `this.isSeparateGateway` is `true`\n\t */\n\tshowPaymentGateway() {\n\t\tif (\n\t\t\tthis.#gatewayInitialized ||\n\t\t\t! this.isSeparateGateway ||\n\t\t\t! this.isEligible\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst styleSelector = `style[data-hide-gateway=\"${ this.methodId }\"]`;\n\t\tconst wrapperSelector = `#${ this.wrappers.Default }`;\n\t\tconst paymentMethodLi = document.querySelector(\n\t\t\t`.wc_payment_method.payment_method_${ this.methodId }`\n\t\t);\n\n\t\tdocument\n\t\t\t.querySelectorAll( styleSelector )\n\t\t\t.forEach( ( el ) => el.remove() );\n\n\t\tif (\n\t\t\tpaymentMethodLi.style.display === 'none' ||\n\t\t\tpaymentMethodLi.style.display === ''\n\t\t) {\n\t\t\tpaymentMethodLi.style.display = 'block';\n\t\t}\n\n\t\tdocument\n\t\t\t.querySelectorAll( wrapperSelector )\n\t\t\t.forEach( ( el ) => el.remove() );\n\n\t\tthis.log( 'Show gateway' );\n\t\tthis.#gatewayInitialized = true;\n\n\t\t// This code runs only once, during button initialization, and fixes the initial visibility.\n\t\tthis.isVisible = this.isCurrentGateway;\n\t}\n\n\t/**\n\t * Applies CSS classes and inline styling to the payment button wrapper.\n\t */\n\tapplyWrapperStyles() {\n\t\tconst wrapper = this.wrapperElement;\n\t\tconst { shape, height } = this.style;\n\n\t\tfor ( const classItem of this.#appliedClasses ) {\n\t\t\twrapper.classList.remove( classItem );\n\t\t}\n\n\t\tthis.#appliedClasses = [];\n\n\t\tconst newClasses = [\n\t\t\t`ppcp-button-${ shape }`,\n\t\t\t'ppcp-button-apm',\n\t\t\tthis.cssClass,\n\t\t];\n\n\t\twrapper.classList.add( ...newClasses );\n\t\tthis.#appliedClasses.push( ...newClasses );\n\n\t\tif ( height ) {\n\t\t\twrapper.style.height = `${ height }px`;\n\t\t}\n\n\t\t// Apply the wrapper visibility.\n\t\twrapper.style.display = this.isVisible ? 'block' : 'none';\n\n\t\t// Apply the enabled/disabled state.\n\t\t// On the product page, use the form to display error messages if clicked while disabled.\n\t\tconst form =\n\t\t\tthis.context === PaymentContext.Product ? 'form.cart' : null;\n\t\tsetEnabled( wrapper, this.isEnabled, form );\n\t}\n\n\t/**\n\t * Creates a new payment button (HTMLElement) and must call `this.insertButton()` to display\n\t * that button in the correct wrapper.\n\t *\n\t * @abstract\n\t */\n\taddButton() {\n\t\tthrow new Error( 'Must be implemented by the child class' );\n\t}\n\n\t/**\n\t * Prepares the button wrapper element and inserts the provided payment button into the DOM.\n\t *\n\t * If a payment button was previously inserted to the wrapper, calling this method again will\n\t * first remove the previous button.\n\t *\n\t * @param {HTMLElement} button - The button element to inject.\n\t */\n\tinsertButton( button ) {\n\t\tif ( ! this.isPresent ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst wrapper = this.wrapperElement;\n\n\t\tif ( this.#button ) {\n\t\t\tthis.removeButton();\n\t\t}\n\n\t\tthis.log( 'insertButton', button );\n\n\t\tthis.#button = button;\n\t\twrapper.appendChild( this.#button );\n\t}\n\n\t/**\n\t * Removes the payment button from the DOM.\n\t */\n\tremoveButton() {\n\t\tif ( ! this.isPresent || ! this.#button ) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.log( 'removeButton' );\n\n\t\ttry {\n\t\t\tthis.wrapperElement.removeChild( this.#button );\n\t\t} catch ( Exception ) {\n\t\t\t// Ignore this.\n\t\t}\n\n\t\tthis.#button = null;\n\t}\n}\n","/* global ApplePaySession */\n/* global PayPalCommerceGateway */\n\nimport { createAppleErrors } from './Helper/applePayError';\nimport FormValidator from '../../../ppcp-button/resources/js/modules/Helper/FormValidator';\nimport ErrorHandler from '../../../ppcp-button/resources/js/modules/ErrorHandler';\nimport widgetBuilder from '../../../ppcp-button/resources/js/modules/Renderer/WidgetBuilder';\nimport PaymentButton from '../../../ppcp-button/resources/js/modules/Renderer/PaymentButton';\nimport {\n\tPaymentContext,\n\tPaymentMethods,\n} from '../../../ppcp-button/resources/js/modules/Helper/CheckoutMethodState';\nimport {\n\tcombineStyles,\n\tcombineWrapperIds,\n} from '../../../ppcp-button/resources/js/modules/Helper/PaymentButtonHelpers';\n\n/**\n * Plugin-specific styling.\n *\n * Note that most properties of this object do not apply to the Apple Pay button.\n *\n * @typedef {Object} PPCPStyle\n * @property {string} shape - Outline shape.\n * @property {?number} height - Button height in pixel.\n */\n\n/**\n * Style options that are defined by the Apple Pay SDK and are required to render the button.\n *\n * @typedef {Object} ApplePayStyle\n * @property {string} type - Defines the button label.\n * @property {string} color - Button color\n * @property {string} lang - The locale; an empty string will apply the user-agent's language.\n */\n\n/**\n * This object describes the transaction details.\n *\n * @typedef {Object} TransactionInfo\n * @property {string} countryCode - The ISO country code\n * @property {string} currencyCode - The ISO currency code\n * @property {string} totalPriceStatus - Usually 'FINAL', can also be 'DRAFT'\n * @property {string} totalPrice - Total monetary value of the transaction.\n * @property {Array} chosenShippingMethods - Selected shipping method.\n * @property {string} shippingPackages - A list of available shipping methods, defined by WooCommerce.\n */\n\n/**\n * A payment button for Apple Pay.\n *\n * On a single page, multiple Apple Pay buttons can be displayed, which also means multiple\n * ApplePayButton instances exist. A typical case is on the product page, where one Apple Pay button\n * is located inside the minicart-popup, and another pay-now button is in the product context.\n */\nclass ApplePayButton extends PaymentButton {\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic methodId = PaymentMethods.APPLEPAY;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic cssClass = 'ppcp-button-applepay';\n\n\t#formData = null;\n\t#updatedContactInfo = [];\n\t#selectedShippingMethod = [];\n\n\t/**\n\t * Initialization data sent to the button.\n\t */\n\t#initialPaymentRequest = null;\n\n\t/**\n\t * Details about the processed transaction, provided to the Apple SDK.\n\t *\n\t * @type {?TransactionInfo}\n\t */\n\t#transactionInfo = null;\n\n\t/**\n\t * Apple Pay specific API configuration.\n\t */\n\t#applePayConfig = null;\n\n\t/**\n\t * Details about the product (relevant on product page)\n\t *\n\t * @type {{quantity: ?number, items: []}}\n\t */\n\t#product = {};\n\n\t/**\n\t * The start time of the configuration process.\n\t * @type {number}\n\t */\n\t#configureStartTime = 0;\n\n\t/**\n\t * The maximum time to wait for buttonAttributes before proceeding with initialization.\n\t * @type {number}\n\t */\n\t#maxWaitTime = 1000;\n\n\t/**\n\t * The stored button attributes.\n\t * @type {Object|null}\n\t */\n\t#storedButtonAttributes = null;\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic getWrappers( buttonConfig, ppcpConfig ) {\n\t\treturn combineWrapperIds(\n\t\t\tbuttonConfig?.button?.wrapper || '',\n\t\t\tbuttonConfig?.button?.mini_cart_wrapper || '',\n\t\t\tppcpConfig?.button?.wrapper || '',\n\t\t\t'ppc-button-applepay-container',\n\t\t\t'ppc-button-ppcp-applepay'\n\t\t);\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tstatic getStyles( buttonConfig, ppcpConfig ) {\n\t\tconst { color, lang, type } = buttonConfig?.button || {};\n\t\tconst buttonStyle = { color, lang, type };\n\n\t\tconst buttonStyles = {\n\t\t\tstyle: buttonStyle,\n\t\t\tmini_cart_style: buttonStyle,\n\t\t};\n\n\t\treturn combineStyles( ppcpConfig?.button || {}, buttonStyles );\n\t}\n\n\tconstructor(\n\t\tcontext,\n\t\texternalHandler,\n\t\tbuttonConfig,\n\t\tppcpConfig,\n\t\tcontextHandler,\n\t\tbuttonAttributes\n\t) {\n\t\t// Disable debug output in the browser console:\n\t\t// buttonConfig.is_debug = false;\n\n\t\tsuper(\n\t\t\tcontext,\n\t\t\texternalHandler,\n\t\t\tbuttonConfig,\n\t\t\tppcpConfig,\n\t\t\tcontextHandler,\n\t\t\tbuttonAttributes\n\t\t);\n\n\t\tthis.init = this.init.bind( this );\n\t\tthis.onPaymentAuthorized = this.onPaymentAuthorized.bind( this );\n\t\tthis.onButtonClick = this.onButtonClick.bind( this );\n\n\t\tthis.#product = {\n\t\t\tquantity: null,\n\t\t\titems: [],\n\t\t};\n\n\t\tthis.log( 'Create instance' );\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tget requiresShipping() {\n\t\tif ( ! super.requiresShipping ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( ! this.buttonConfig.product?.needShipping ) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn (\n\t\t\tPaymentContext.Checkout !== this.context ||\n\t\t\tthis.shouldUpdateButtonWithFormData\n\t\t);\n\t}\n\n\t/**\n\t * Details about the processed transaction.\n\t *\n\t * This object defines the price that is charged, and text that is displayed inside the\n\t * payment sheet.\n\t *\n\t * @return {?TransactionInfo} The TransactionInfo object.\n\t */\n\tget transactionInfo() {\n\t\treturn this.#transactionInfo;\n\t}\n\n\t/**\n\t * Assign the new transaction details to the payment button.\n\t *\n\t * @param {TransactionInfo} newTransactionInfo - Transaction details.\n\t */\n\tset transactionInfo( newTransactionInfo ) {\n\t\tthis.#transactionInfo = newTransactionInfo;\n\n\t\tthis.refresh();\n\t}\n\n\t/**\n\t * The nonce for ajax requests.\n\t *\n\t * @return {string} The nonce value\n\t */\n\tget nonce() {\n\t\tconst input = document.getElementById(\n\t\t\t'woocommerce-process-checkout-nonce'\n\t\t);\n\n\t\treturn input?.value || this.buttonConfig.nonce;\n\t}\n\n\t/**\n\t * @inheritDoc\n\t */\n\tregisterValidationRules( invalidIf, validIf ) {\n\t\tvalidIf( () => this.isPreview );\n\n\t\tinvalidIf(\n\t\t\t() => ! this.#applePayConfig,\n\t\t\t'No API configuration - missing configure() call?'\n\t\t);\n\n\t\tinvalidIf(\n\t\t\t() => ! this.#transactionInfo,\n\t\t\t'No transactionInfo - missing configure() call?'\n\t\t);\n\n\t\tinvalidIf(\n\t\t\t() =>\n\t\t\t\tthis.buttonAttributes?.height &&\n\t\t\t\tisNaN( parseInt( this.buttonAttributes.height ) ),\n\t\t\t'Invalid height in buttonAttributes'\n\t\t);\n\n\t\tinvalidIf(\n\t\t\t() =>\n\t\t\t\tthis.buttonAttributes?.borderRadius &&\n\t\t\t\tisNaN( parseInt( this.buttonAttributes.borderRadius ) ),\n\t\t\t'Invalid borderRadius in buttonAttributes'\n\t\t);\n\n\t\tinvalidIf(\n\t\t\t() => ! this.contextHandler?.validateContext(),\n\t\t\t`Invalid context handler.`\n\t\t);\n\t}\n\n\t/**\n\t * Configures the button instance. Must be called before the initial `init()`.\n\t *\n\t * @param {Object} apiConfig - API configuration.\n\t * @param {TransactionInfo} transactionInfo - Transaction details.\n\t * @param {Object} buttonAttributes - Button attributes.\n\t */\n\tconfigure( apiConfig, transactionInfo, buttonAttributes = {} ) {\n\t\t// Start timing on first configure call\n\t\tif ( ! this.#configureStartTime ) {\n\t\t\tthis.#configureStartTime = Date.now();\n\t\t}\n\n\t\t// If valid buttonAttributes, store them\n\t\tif ( buttonAttributes?.height && buttonAttributes?.borderRadius ) {\n\t\t\tthis.#storedButtonAttributes = { ...buttonAttributes };\n\t\t}\n\n\t\t// Use stored attributes if current ones are missing\n\t\tconst attributes = buttonAttributes?.height\n\t\t\t? buttonAttributes\n\t\t\t: this.#storedButtonAttributes;\n\n\t\t// Check if we've exceeded wait time\n\t\tconst timeWaited = Date.now() - this.#configureStartTime;\n\t\tif ( timeWaited > this.#maxWaitTime ) {\n\t\t\tthis.log(\n\t\t\t\t'ApplePay: Timeout waiting for buttonAttributes - proceeding with initialization'\n\t\t\t);\n\t\t\tthis.#applePayConfig = apiConfig;\n\t\t\tthis.#transactionInfo = transactionInfo;\n\t\t\tthis.buttonAttributes = attributes || buttonAttributes;\n\t\t\tthis.init();\n\t\t\treturn;\n\t\t}\n\n\t\t// Block any initialization until we have valid buttonAttributes\n\t\tif ( ! attributes?.height || ! attributes?.borderRadius ) {\n\t\t\tsetTimeout(\n\t\t\t\t() =>\n\t\t\t\t\tthis.configure(\n\t\t\t\t\t\tapiConfig,\n\t\t\t\t\t\ttransactionInfo,\n\t\t\t\t\t\tbuttonAttributes\n\t\t\t\t\t),\n\t\t\t\t100\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\t// Reset timer for future configure calls\n\t\tthis.#configureStartTime = 0;\n\n\t\tthis.#applePayConfig = apiConfig;\n\t\tthis.#transactionInfo = transactionInfo;\n\t\tthis.buttonAttributes = attributes;\n\t\tthis.init();\n\t}\n\n\tinit() {\n\t\t// Use `reinit()` to force a full refresh of an initialized button.\n\t\tif ( this.isInitialized ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Stop, if configuration is invalid.\n\t\tif ( ! this.validateConfiguration() ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsuper.init();\n\t\tthis.checkEligibility();\n\t}\n\n\treinit() {\n\t\t// Missing (invalid) configuration indicates, that the first `init()` call did not happen yet.\n\t\tif ( ! this.validateConfiguration( true ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsuper.reinit();\n\n\t\tthis.init();\n\t}\n\n\t/**\n\t * Re-check if the current session is eligible for Apple Pay.\n\t */\n\tcheckEligibility() {\n\t\tif ( this.isPreview ) {\n\t\t\tthis.isEligible = true;\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\tif ( ! window.ApplePaySession?.canMakePayments() ) {\n\t\t\t\tthis.isEligible = false;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.isEligible = !! this.#applePayConfig.isEligible;\n\t\t} catch ( error ) {\n\t\t\tthis.isEligible = false;\n\t\t}\n\t}\n\n\t/**\n\t * Starts an Apple Pay session, which means that the user interacted with the Apple Pay button.\n\t *\n\t * @param {Object} paymentRequest The payment request object.\n\t */\n\tapplePaySession( paymentRequest ) {\n\t\tthis.log( 'applePaySession', paymentRequest );\n\t\tconst session = new ApplePaySession( 4, paymentRequest );\n\n\t\tif ( this.requiresShipping ) {\n\t\t\tsession.onshippingmethodselected =\n\t\t\t\tthis.onShippingMethodSelected( session );\n\t\t\tsession.onshippingcontactselected =\n\t\t\t\tthis.onShippingContactSelected( session );\n\t\t}\n\n\t\tsession.onvalidatemerchant = this.onValidateMerchant( session );\n\t\tsession.onpaymentauthorized = this.onPaymentAuthorized( session );\n\n\t\t/**\n\t\t * This starts the merchant validation process and displays the payment sheet\n\t\t * {@see https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/1778001-begin}\n\t\t *\n\t\t * After calling the `begin` method, the browser invokes your `onvalidatemerchant` handler\n\t\t * {@see https://applepaydemo.apple.com/apple-pay-js-api}\n\t\t */\n\t\tsession.begin();\n\n\t\treturn session;\n\t}\n\n\t/**\n\t * Applies CSS classes and inline styling to the payment button wrapper.\n\t */\n\tapplyWrapperStyles() {\n\t\tsuper.applyWrapperStyles();\n\n\t\tconst wrapper = this.wrapperElement;\n\t\tif ( ! wrapper ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Try stored attributes if current ones are missing\n\t\tconst attributes =\n\t\t\tthis.buttonAttributes?.height || this.buttonAttributes?.borderRadius\n\t\t\t\t? this.buttonAttributes\n\t\t\t\t: this.#storedButtonAttributes;\n\n\t\tconst defaultHeight = 48;\n\t\tconst defaultBorderRadius = 4;\n\n\t\tconst height = attributes?.height\n\t\t\t? parseInt( attributes.height, 10 )\n\t\t\t: defaultHeight;\n\n\t\tif ( ! isNaN( height ) ) {\n\t\t\twrapper.style.setProperty(\n\t\t\t\t'--apple-pay-button-height',\n\t\t\t\t`${ height }px`\n\t\t\t);\n\t\t\twrapper.style.height = `${ height }px`;\n\t\t} else {\n\t\t\twrapper.style.setProperty(\n\t\t\t\t'--apple-pay-button-height',\n\t\t\t\t`${ defaultHeight }px`\n\t\t\t);\n\t\t\twrapper.style.height = `${ defaultHeight }px`;\n\t\t}\n\n\t\tconst borderRadius = attributes?.borderRadius\n\t\t\t? parseInt( attributes.borderRadius, 10 )\n\t\t\t: defaultBorderRadius;\n\t\tif ( ! isNaN( borderRadius ) ) {\n\t\t\twrapper.style.borderRadius = `${ borderRadius }px`;\n\t\t}\n\t}\n\n\t/**\n\t * Creates the payment button and calls `this.insertButton()` to make the button visible in the\n\t * correct wrapper.\n\t */\n\taddButton() {\n\t\tconst { color, type, language } = this.style;\n\n\t\t// If current buttonAttributes are missing, try to use stored ones\n\t\tif (\n\t\t\t! this.buttonAttributes?.height &&\n\t\t\tthis.#storedButtonAttributes?.height\n\t\t) {\n\t\t\tthis.buttonAttributes = { ...this.#storedButtonAttributes };\n\t\t}\n\n\t\tconst button = document.createElement( 'apple-pay-button' );\n\t\tbutton.id = 'apple-' + this.wrapperId;\n\n\t\tbutton.setAttribute( 'buttonstyle', color );\n\t\tbutton.setAttribute( 'type', type );\n\t\tbutton.setAttribute( 'locale', language );\n\n\t\tbutton.style.display = 'block';\n\n\t\tbutton.addEventListener( 'click', ( evt ) => {\n\t\t\tevt.preventDefault();\n\t\t\tthis.onButtonClick();\n\t\t} );\n\n\t\tthis.insertButton( button );\n\t}\n\n\t//------------------------\n\t// Button click\n\t//------------------------\n\n\t/**\n\t * Show Apple Pay payment sheet when Apple Pay payment button is clicked\n\t */\n\tasync onButtonClick() {\n\t\tthis.log( 'onButtonClick' );\n\n\t\tconst paymentRequest = this.paymentRequest();\n\n\t\t// Do this on another place like on create order endpoint handler.\n\t\twindow.ppcpFundingSource = 'apple_pay';\n\n\t\t// Trigger woocommerce validation if we are in the checkout page.\n\t\tif ( PaymentContext.Checkout === this.context ) {\n\t\t\tconst checkoutFormSelector = 'form.woocommerce-checkout';\n\t\t\tconst errorHandler = new ErrorHandler(\n\t\t\t\tPayPalCommerceGateway.labels.error.generic,\n\t\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t\t);\n\n\t\t\ttry {\n\t\t\t\tconst formData = new FormData(\n\t\t\t\t\tdocument.querySelector( checkoutFormSelector )\n\t\t\t\t);\n\t\t\t\tthis.#formData = Object.fromEntries( formData.entries() );\n\n\t\t\t\tthis.updateRequestDataWithForm( paymentRequest );\n\t\t\t} catch ( error ) {\n\t\t\t\tconsole.error( error );\n\t\t\t}\n\n\t\t\tthis.log( '=== paymentRequest', paymentRequest );\n\n\t\t\tconst session = this.applePaySession( paymentRequest );\n\t\t\tconst formValidator =\n\t\t\t\tPayPalCommerceGateway.early_checkout_validation_enabled\n\t\t\t\t\t? new FormValidator(\n\t\t\t\t\t\t\tPayPalCommerceGateway.ajax.validate_checkout.endpoint,\n\t\t\t\t\t\t\tPayPalCommerceGateway.ajax.validate_checkout.nonce\n\t\t\t\t\t )\n\t\t\t\t\t: null;\n\n\t\t\tif ( formValidator ) {\n\t\t\t\ttry {\n\t\t\t\t\tconst errors = await formValidator.validate(\n\t\t\t\t\t\tdocument.querySelector( checkoutFormSelector )\n\t\t\t\t\t);\n\t\t\t\t\tif ( errors.length > 0 ) {\n\t\t\t\t\t\terrorHandler.messages( errors );\n\t\t\t\t\t\tjQuery( document.body ).trigger( 'checkout_error', [\n\t\t\t\t\t\t\terrorHandler.currentHtml(),\n\t\t\t\t\t\t] );\n\t\t\t\t\t\tsession.abort();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} catch ( error ) {\n\t\t\t\t\tconsole.error( error );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\n\t\t// Default session initialization.\n\t\tthis.applePaySession( paymentRequest );\n\t}\n\n\t/**\n\t * If the button should be updated with the form addresses.\n\t *\n\t * @return {boolean} True, when Apple Pay data should be submitted to WooCommerce.\n\t */\n\tget shouldUpdateButtonWithFormData() {\n\t\tif ( PaymentContext.Checkout !== this.context ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn (\n\t\t\tthis.buttonConfig?.preferences?.checkout_data_mode ===\n\t\t\t'use_applepay'\n\t\t);\n\t}\n\n\t/**\n\t * Indicates how payment completion should be handled if with the context handler default\n\t * actions. Or with Apple Pay module specific completion.\n\t *\n\t * @return {boolean} True, when the Apple Pay data should be submitted to WooCommerce.\n\t */\n\tget shouldCompletePaymentWithContextHandler() {\n\t\t// Data already handled, ex: PayNow\n\t\tif ( ! this.contextHandler.shippingAllowed() ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Use WC form data mode in Checkout.\n\t\treturn (\n\t\t\tPaymentContext.Checkout === this.context &&\n\t\t\t! this.shouldUpdateButtonWithFormData\n\t\t);\n\t}\n\n\t/**\n\t * Updates Apple Pay paymentRequest with form data.\n\t *\n\t * @param {Object} paymentRequest Object to extend with form data.\n\t */\n\tupdateRequestDataWithForm( paymentRequest ) {\n\t\tif ( ! this.shouldUpdateButtonWithFormData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Add billing address.\n\t\tpaymentRequest.billingContact = this.fillBillingContact(\n\t\t\tthis.#formData\n\t\t);\n\n\t\tif ( ! this.requiresShipping ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Add shipping address.\n\t\tpaymentRequest.shippingContact = this.fillShippingContact(\n\t\t\tthis.#formData\n\t\t);\n\n\t\t// Get shipping methods.\n\t\tconst rate = this.transactionInfo.chosenShippingMethods[ 0 ];\n\t\tpaymentRequest.shippingMethods = [];\n\n\t\t// Add selected shipping method.\n\t\tfor ( const shippingPackage of this.transactionInfo.shippingPackages ) {\n\t\t\tif ( rate === shippingPackage.id ) {\n\t\t\t\tconst shippingMethod = {\n\t\t\t\t\tlabel: shippingPackage.label,\n\t\t\t\t\tdetail: '',\n\t\t\t\t\tamount: shippingPackage.cost_str,\n\t\t\t\t\tidentifier: shippingPackage.id,\n\t\t\t\t};\n\n\t\t\t\t// Remember this shipping method as the selected one.\n\t\t\t\tthis.#selectedShippingMethod = shippingMethod;\n\n\t\t\t\tpaymentRequest.shippingMethods.push( shippingMethod );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\t// Add other shipping methods.\n\t\tfor ( const shippingPackage of this.transactionInfo.shippingPackages ) {\n\t\t\tif ( rate !== shippingPackage.id ) {\n\t\t\t\tpaymentRequest.shippingMethods.push( {\n\t\t\t\t\tlabel: shippingPackage.label,\n\t\t\t\t\tdetail: '',\n\t\t\t\t\tamount: shippingPackage.cost_str,\n\t\t\t\t\tidentifier: shippingPackage.id,\n\t\t\t\t} );\n\t\t\t}\n\t\t}\n\n\t\t// Store for reuse in case this data is not provided by ApplePay on authorization.\n\t\tthis.#initialPaymentRequest = paymentRequest;\n\n\t\tthis.log(\n\t\t\t'=== paymentRequest.shippingMethods',\n\t\t\tpaymentRequest.shippingMethods\n\t\t);\n\t}\n\n\tpaymentRequest() {\n\t\tconst applepayConfig = this.#applePayConfig;\n\t\tconst buttonConfig = this.buttonConfig;\n\t\tconst baseRequest = {\n\t\t\tcountryCode: applepayConfig.countryCode,\n\t\t\tmerchantCapabilities: applepayConfig.merchantCapabilities,\n\t\t\tsupportedNetworks: applepayConfig.supportedNetworks,\n\t\t\trequiredShippingContactFields: [\n\t\t\t\t'postalAddress',\n\t\t\t\t'email',\n\t\t\t\t'phone',\n\t\t\t],\n\t\t\t// ApplePay does not implement billing email and phone fields.\n\t\t\trequiredBillingContactFields: [ 'postalAddress' ],\n\t\t};\n\n\t\tif ( ! this.requiresShipping ) {\n\t\t\tif ( this.shouldCompletePaymentWithContextHandler ) {\n\t\t\t\t// Data is handled externally.\n\t\t\t\tbaseRequest.requiredShippingContactFields = [];\n\t\t\t} else {\n\t\t\t\t// Minimum data required to create order.\n\t\t\t\tbaseRequest.requiredShippingContactFields = [\n\t\t\t\t\t'email',\n\t\t\t\t\t'phone',\n\t\t\t\t];\n\t\t\t}\n\t\t}\n\n\t\tconst paymentRequest = Object.assign( {}, baseRequest );\n\t\tpaymentRequest.currencyCode = buttonConfig.shop.currencyCode;\n\t\tpaymentRequest.total = {\n\t\t\tlabel: buttonConfig.shop.totalLabel,\n\t\t\ttype: 'final',\n\t\t\tamount: this.transactionInfo.totalPrice,\n\t\t};\n\n\t\treturn paymentRequest;\n\t}\n\n\trefreshProductContextData() {\n\t\tif ( PaymentContext.Product !== this.context ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Refresh product data that makes the price change.\n\t\tthis.#product.quantity = document.querySelector( 'input.qty' )?.value;\n\n\t\t// Always an array; grouped products can return multiple items.\n\t\tthis.#product.items = this.contextHandler.products();\n\n\t\tthis.log( 'Products updated', this.#product );\n\t}\n\n\t//------------------------\n\t// Payment process\n\t//------------------------\n\n\t/**\n\t * Make ajax call to change the verification-status of the current domain.\n\t *\n\t * @param {boolean} isValid\n\t */\n\tadminValidation( isValid ) {\n\t\t// eslint-disable-next-line no-unused-vars\n\t\tconst ignored = fetch( this.buttonConfig.ajax_url, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/x-www-form-urlencoded',\n\t\t\t},\n\t\t\tbody: new URLSearchParams( {\n\t\t\t\taction: 'ppcp_validate',\n\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\tvalidation: isValid,\n\t\t\t} ).toString(),\n\t\t} );\n\t}\n\n\t/**\n\t * Returns an event handler that Apple Pay calls when displaying the payment sheet.\n\t *\n\t * @see https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/1778021-onvalidatemerchant\n\t *\n\t * @param {Object} session The ApplePaySession object.\n\t *\n\t * @return {(function(*): void)|*} Callback that runs after the merchant validation\n\t */\n\tonValidateMerchant( session ) {\n\t\treturn ( applePayValidateMerchantEvent ) => {\n\t\t\tthis.log( 'onvalidatemerchant call' );\n\n\t\t\twidgetBuilder.paypal\n\t\t\t\t.Applepay()\n\t\t\t\t.validateMerchant( {\n\t\t\t\t\tvalidationUrl: applePayValidateMerchantEvent.validationURL,\n\t\t\t\t} )\n\t\t\t\t.then( ( validateResult ) => {\n\t\t\t\t\tsession.completeMerchantValidation(\n\t\t\t\t\t\tvalidateResult.merchantSession\n\t\t\t\t\t);\n\n\t\t\t\t\tthis.adminValidation( true );\n\t\t\t\t} )\n\t\t\t\t.catch( ( validateError ) => {\n\t\t\t\t\tconsole.error( validateError );\n\t\t\t\t\tthis.adminValidation( false );\n\t\t\t\t\tthis.log( 'onvalidatemerchant session abort' );\n\t\t\t\t\tsession.abort();\n\t\t\t\t} );\n\t\t};\n\t}\n\n\tonShippingMethodSelected( session ) {\n\t\tthis.log( 'onshippingmethodselected', this.buttonConfig.ajax_url );\n\t\tconst ajaxUrl = this.buttonConfig.ajax_url;\n\t\treturn ( event ) => {\n\t\t\tthis.log( 'onshippingmethodselected call' );\n\n\t\t\tconst data = this.getShippingMethodData( event );\n\n\t\t\tjQuery.ajax( {\n\t\t\t\turl: ajaxUrl,\n\t\t\t\tmethod: 'POST',\n\t\t\t\tdata,\n\t\t\t\tsuccess: ( applePayShippingMethodUpdate ) => {\n\t\t\t\t\tthis.log( 'onshippingmethodselected ok' );\n\t\t\t\t\tconst response = applePayShippingMethodUpdate.data;\n\t\t\t\t\tif ( applePayShippingMethodUpdate.success === false ) {\n\t\t\t\t\t\tresponse.errors = createAppleErrors( response.errors );\n\t\t\t\t\t}\n\t\t\t\t\tthis.#selectedShippingMethod = event.shippingMethod;\n\n\t\t\t\t\t// Sort the response shipping methods, so that the selected shipping method is\n\t\t\t\t\t// the first one.\n\t\t\t\t\tresponse.newShippingMethods =\n\t\t\t\t\t\tresponse.newShippingMethods.sort( ( a ) => {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\ta.label === this.#selectedShippingMethod.label\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\treturn -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn 1;\n\t\t\t\t\t\t} );\n\n\t\t\t\t\tif ( applePayShippingMethodUpdate.success === false ) {\n\t\t\t\t\t\tresponse.errors = createAppleErrors( response.errors );\n\t\t\t\t\t}\n\t\t\t\t\tsession.completeShippingMethodSelection( response );\n\t\t\t\t},\n\t\t\t\terror: ( jqXHR, textStatus, errorThrown ) => {\n\t\t\t\t\tthis.log( 'onshippingmethodselected error', textStatus );\n\t\t\t\t\tconsole.warn( textStatus, errorThrown );\n\t\t\t\t\tsession.abort();\n\t\t\t\t},\n\t\t\t} );\n\t\t};\n\t}\n\n\tonShippingContactSelected( session ) {\n\t\tthis.log( 'onshippingcontactselected', this.buttonConfig.ajax_url );\n\n\t\tconst ajaxUrl = this.buttonConfig.ajax_url;\n\n\t\treturn ( event ) => {\n\t\t\tthis.log( 'onshippingcontactselected call' );\n\n\t\t\tconst data = this.getShippingContactData( event );\n\n\t\t\tjQuery.ajax( {\n\t\t\t\turl: ajaxUrl,\n\t\t\t\tmethod: 'POST',\n\t\t\t\tdata,\n\t\t\t\tsuccess: ( applePayShippingContactUpdate ) => {\n\t\t\t\t\tthis.log( 'onshippingcontactselected ok' );\n\t\t\t\t\tconst response = applePayShippingContactUpdate.data;\n\t\t\t\t\tthis.#updatedContactInfo = event.shippingContact;\n\t\t\t\t\tif ( applePayShippingContactUpdate.success === false ) {\n\t\t\t\t\t\tresponse.errors = createAppleErrors( response.errors );\n\t\t\t\t\t}\n\t\t\t\t\tif ( response.newShippingMethods ) {\n\t\t\t\t\t\tthis.#selectedShippingMethod =\n\t\t\t\t\t\t\tresponse.newShippingMethods[ 0 ];\n\t\t\t\t\t}\n\t\t\t\t\tsession.completeShippingContactSelection( response );\n\t\t\t\t},\n\t\t\t\terror: ( jqXHR, textStatus, errorThrown ) => {\n\t\t\t\t\tthis.log( 'onshippingcontactselected error', textStatus );\n\t\t\t\t\tconsole.warn( textStatus, errorThrown );\n\t\t\t\t\tsession.abort();\n\t\t\t\t},\n\t\t\t} );\n\t\t};\n\t}\n\n\tgetShippingContactData( event ) {\n\t\tconst productId = this.buttonConfig.product.id;\n\n\t\tthis.refreshProductContextData();\n\n\t\tswitch ( this.context ) {\n\t\t\tcase PaymentContext.Product:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_contact',\n\t\t\t\t\tproduct_id: productId,\n\t\t\t\t\tproducts: JSON.stringify( this.#product.items ),\n\t\t\t\t\tcaller_page: 'productDetail',\n\t\t\t\t\tproduct_quantity: this.#product.quantity,\n\t\t\t\t\tsimplified_contact: event.shippingContact,\n\t\t\t\t\tneed_shipping: this.requiresShipping,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\n\t\t\tcase PaymentContext.Cart:\n\t\t\tcase PaymentContext.Checkout:\n\t\t\tcase PaymentContext.BlockCart:\n\t\t\tcase PaymentContext.BlockCheckout:\n\t\t\tcase PaymentContext.MiniCart:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_contact',\n\t\t\t\t\tsimplified_contact: event.shippingContact,\n\t\t\t\t\tcaller_page: 'cart',\n\t\t\t\t\tneed_shipping: this.requiresShipping,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\t\t}\n\t}\n\n\tgetShippingMethodData( event ) {\n\t\tconst productId = this.buttonConfig.product.id;\n\n\t\tthis.refreshProductContextData();\n\n\t\tswitch ( this.context ) {\n\t\t\tcase PaymentContext.Product:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_method',\n\t\t\t\t\tshipping_method: event.shippingMethod,\n\t\t\t\t\tsimplified_contact: this.hasValidContactInfo(\n\t\t\t\t\t\tthis.#updatedContactInfo\n\t\t\t\t\t)\n\t\t\t\t\t\t? this.#updatedContactInfo\n\t\t\t\t\t\t: this.#initialPaymentRequest?.shippingContact ??\n\t\t\t\t\t\t this.#initialPaymentRequest?.billingContact,\n\t\t\t\t\tproduct_id: productId,\n\t\t\t\t\tproducts: JSON.stringify( this.#product.items ),\n\t\t\t\t\tcaller_page: 'productDetail',\n\t\t\t\t\tproduct_quantity: this.#product.quantity,\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\n\t\t\tcase PaymentContext.Cart:\n\t\t\tcase PaymentContext.Checkout:\n\t\t\tcase PaymentContext.BlockCart:\n\t\t\tcase PaymentContext.BlockCheckout:\n\t\t\tcase PaymentContext.MiniCart:\n\t\t\t\treturn {\n\t\t\t\t\taction: 'ppcp_update_shipping_method',\n\t\t\t\t\tshipping_method: event.shippingMethod,\n\t\t\t\t\tsimplified_contact: this.hasValidContactInfo(\n\t\t\t\t\t\tthis.#updatedContactInfo\n\t\t\t\t\t)\n\t\t\t\t\t\t? this.#updatedContactInfo\n\t\t\t\t\t\t: this.#initialPaymentRequest?.shippingContact ??\n\t\t\t\t\t\t this.#initialPaymentRequest?.billingContact,\n\t\t\t\t\tcaller_page: 'cart',\n\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t};\n\t\t}\n\t}\n\n\tonPaymentAuthorized( session ) {\n\t\tthis.log( 'onpaymentauthorized' );\n\t\treturn async ( event ) => {\n\t\t\tthis.log( 'onpaymentauthorized call' );\n\n\t\t\tconst processInWooAndCapture = async ( data ) => {\n\t\t\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconst billingContact =\n\t\t\t\t\t\t\tdata.billing_contact ||\n\t\t\t\t\t\t\tthis.#initialPaymentRequest.billingContact;\n\t\t\t\t\t\tconst shippingContact =\n\t\t\t\t\t\t\tdata.shipping_contact ||\n\t\t\t\t\t\t\tthis.#initialPaymentRequest.shippingContact;\n\t\t\t\t\t\tconst shippingMethod =\n\t\t\t\t\t\t\tthis.#selectedShippingMethod ||\n\t\t\t\t\t\t\t( this.#initialPaymentRequest.shippingMethods ||\n\t\t\t\t\t\t\t\t[] )[ 0 ];\n\n\t\t\t\t\t\tconst requestData = {\n\t\t\t\t\t\t\taction: 'ppcp_create_order',\n\t\t\t\t\t\t\tcaller_page: this.context,\n\t\t\t\t\t\t\tproduct_id: this.buttonConfig.product.id ?? null,\n\t\t\t\t\t\t\tproducts: JSON.stringify( this.#product.items ),\n\t\t\t\t\t\t\tproduct_quantity: this.#product.quantity,\n\t\t\t\t\t\t\tshipping_contact: shippingContact,\n\t\t\t\t\t\t\tbilling_contact: billingContact,\n\t\t\t\t\t\t\ttoken: event.payment.token,\n\t\t\t\t\t\t\tshipping_method: shippingMethod,\n\t\t\t\t\t\t\t'woocommerce-process-checkout-nonce': this.nonce,\n\t\t\t\t\t\t\tfunding_source: 'applepay',\n\t\t\t\t\t\t\t_wp_http_referer: '/?wc-ajax=update_order_review',\n\t\t\t\t\t\t\tpaypal_order_id: data.paypal_order_id,\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tthis.log(\n\t\t\t\t\t\t\t'onpaymentauthorized request',\n\t\t\t\t\t\t\tthis.buttonConfig.ajax_url,\n\t\t\t\t\t\t\tdata\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\tjQuery.ajax( {\n\t\t\t\t\t\t\turl: this.buttonConfig.ajax_url,\n\t\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\t\tdata: requestData,\n\t\t\t\t\t\t\tcomplete: () => {\n\t\t\t\t\t\t\t\tthis.log( 'onpaymentauthorized complete' );\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tsuccess: ( authorizationResult ) => {\n\t\t\t\t\t\t\t\tthis.log( 'onpaymentauthorized ok' );\n\t\t\t\t\t\t\t\tresolve( authorizationResult );\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\terror: ( jqXHR, textStatus, errorThrown ) => {\n\t\t\t\t\t\t\t\tthis.log(\n\t\t\t\t\t\t\t\t\t'onpaymentauthorized error',\n\t\t\t\t\t\t\t\t\ttextStatus\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\treject( new Error( errorThrown ) );\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t} );\n\t\t\t\t\t} catch ( error ) {\n\t\t\t\t\t\tthis.error( 'onpaymentauthorized catch', error );\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t};\n\n\t\t\tconst id = await this.contextHandler.createOrder();\n\n\t\t\tthis.log(\n\t\t\t\t'onpaymentauthorized paypal order ID',\n\t\t\t\tid,\n\t\t\t\tevent.payment.token,\n\t\t\t\tevent.payment.billingContact\n\t\t\t);\n\n\t\t\ttry {\n\t\t\t\tconst confirmOrderResponse = await widgetBuilder.paypal\n\t\t\t\t\t.Applepay()\n\t\t\t\t\t.confirmOrder( {\n\t\t\t\t\t\torderId: id,\n\t\t\t\t\t\ttoken: event.payment.token,\n\t\t\t\t\t\tbillingContact: event.payment.billingContact,\n\t\t\t\t\t} );\n\n\t\t\t\tthis.log(\n\t\t\t\t\t'onpaymentauthorized confirmOrderResponse',\n\t\t\t\t\tconfirmOrderResponse\n\t\t\t\t);\n\n\t\t\t\tif (\n\t\t\t\t\tconfirmOrderResponse &&\n\t\t\t\t\tconfirmOrderResponse.approveApplePayPayment\n\t\t\t\t) {\n\t\t\t\t\tif (\n\t\t\t\t\t\tconfirmOrderResponse.approveApplePayPayment.status ===\n\t\t\t\t\t\t'APPROVED'\n\t\t\t\t\t) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\tthis.shouldCompletePaymentWithContextHandler\n\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t// No shipping, expect immediate capture, ex: PayNow, Checkout with\n\t\t\t\t\t\t\t\t// form data.\n\n\t\t\t\t\t\t\t\tlet approveFailed = false;\n\t\t\t\t\t\t\t\tawait this.contextHandler.approveOrder(\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\torderID: id,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t// actions mock object.\n\t\t\t\t\t\t\t\t\t\trestart: () =>\n\t\t\t\t\t\t\t\t\t\t\tnew Promise( ( resolve ) => {\n\t\t\t\t\t\t\t\t\t\t\t\tapproveFailed = true;\n\t\t\t\t\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t\t\t\t\t} ),\n\t\t\t\t\t\t\t\t\t\torder: {\n\t\t\t\t\t\t\t\t\t\t\tget: () =>\n\t\t\t\t\t\t\t\t\t\t\t\tnew Promise( ( resolve ) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tresolve( null );\n\t\t\t\t\t\t\t\t\t\t\t\t} ),\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\tif ( ! approveFailed ) {\n\t\t\t\t\t\t\t\t\tthis.log(\n\t\t\t\t\t\t\t\t\t\t'onpaymentauthorized approveOrder OK'\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_SUCCESS\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tthis.error(\n\t\t\t\t\t\t\t\t\t\t'onpaymentauthorized approveOrder FAIL'\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\tsession.abort();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// Default payment.\n\n\t\t\t\t\t\t\t\tconst data = {\n\t\t\t\t\t\t\t\t\tbilling_contact:\n\t\t\t\t\t\t\t\t\t\tevent.payment.billingContact,\n\t\t\t\t\t\t\t\t\tshipping_contact:\n\t\t\t\t\t\t\t\t\t\tevent.payment.shippingContact,\n\t\t\t\t\t\t\t\t\tpaypal_order_id: id,\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tconst authorizationResult =\n\t\t\t\t\t\t\t\t\tawait processInWooAndCapture( data );\n\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\tauthorizationResult.result === 'success'\n\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_SUCCESS\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\twindow.location.href =\n\t\t\t\t\t\t\t\t\t\tauthorizationResult.redirect;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch ( error ) {\n\t\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\tsession.abort();\n\t\t\t\t\t\t\tconsole.error( error );\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error( 'Error status is not APPROVED' );\n\t\t\t\t\t\tsession.completePayment(\n\t\t\t\t\t\t\tApplePaySession.STATUS_FAILURE\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error( 'Invalid confirmOrderResponse' );\n\t\t\t\t\tsession.completePayment( ApplePaySession.STATUS_FAILURE );\n\t\t\t\t}\n\t\t\t} catch ( error ) {\n\t\t\t\tconsole.error(\n\t\t\t\t\t'Error confirming order with applepay token',\n\t\t\t\t\terror\n\t\t\t\t);\n\t\t\t\tsession.completePayment( ApplePaySession.STATUS_FAILURE );\n\t\t\t\tsession.abort();\n\t\t\t}\n\t\t};\n\t}\n\n\t#extractContactInfo( data, primaryPrefix, fallbackPrefix ) {\n\t\tif ( ! data || typeof data !== 'object' ) {\n\t\t\tdata = {};\n\t\t}\n\n\t\tconst getValue = ( key ) =>\n\t\t\tdata[ `${ primaryPrefix }_${ key }` ] ||\n\t\t\tdata[ `${ fallbackPrefix }_${ key }` ] ||\n\t\t\t'';\n\n\t\treturn {\n\t\t\tgivenName: getValue( 'first_name' ),\n\t\t\tfamilyName: getValue( 'last_name' ),\n\t\t\temailAddress: getValue( 'email' ),\n\t\t\tphoneNumber: getValue( 'phone' ),\n\t\t\taddressLines: [ getValue( 'address_1' ), getValue( 'address_2' ) ],\n\t\t\tlocality: getValue( 'city' ),\n\t\t\tpostalCode: getValue( 'postcode' ),\n\t\t\tcountryCode: getValue( 'country' ),\n\t\t\tadministrativeArea: getValue( 'state' ),\n\t\t};\n\t}\n\n\tfillBillingContact( data ) {\n\t\treturn this.#extractContactInfo( data, 'billing', '' );\n\t}\n\n\tfillShippingContact( data ) {\n\t\tif ( ! data?.shipping_first_name ) {\n\t\t\treturn this.fillBillingContact( data );\n\t\t}\n\n\t\treturn this.#extractContactInfo( data, 'shipping', 'billing' );\n\t}\n\n\thasValidContactInfo( value ) {\n\t\treturn Array.isArray( value )\n\t\t\t? value.length > 0\n\t\t\t: Object.keys( value || {} ).length > 0;\n\t}\n}\n\nexport default ApplePayButton;\n","class Product {\n\tconstructor( id, quantity, variations, extra ) {\n\t\tthis.id = id;\n\t\tthis.quantity = quantity;\n\t\tthis.variations = variations;\n\t\tthis.extra = extra;\n\t}\n\tdata() {\n\t\treturn {\n\t\t\tid: this.id,\n\t\t\tquantity: this.quantity,\n\t\t\tvariations: this.variations,\n\t\t\textra: this.extra,\n\t\t};\n\t}\n}\n\nexport default Product;\n","import Product from './Product';\n\nclass BookingProduct extends Product {\n\tconstructor( id, quantity, booking, extra ) {\n\t\tsuper( id, quantity, null, extra );\n\t\tthis.booking = booking;\n\t}\n\n\tdata() {\n\t\treturn {\n\t\t\t...super.data(),\n\t\t\tbooking: this.booking,\n\t\t};\n\t}\n}\n\nexport default BookingProduct;\n","const onApprove = ( context, errorHandler ) => {\n\treturn ( data, actions ) => {\n\t\tconst canCreateOrder =\n\t\t\t! context.config.vaultingEnabled || data.paymentSource !== 'venmo';\n\n\t\tconst payload = {\n\t\t\tnonce: context.config.ajax.approve_order.nonce,\n\t\t\torder_id: data.orderID,\n\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\tshould_create_wc_order: canCreateOrder,\n\t\t};\n\n\t\tif ( canCreateOrder && data.payer ) {\n\t\t\tpayload.payer = data.payer;\n\t\t}\n\n\t\treturn fetch( context.config.ajax.approve_order.endpoint, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json',\n\t\t\t},\n\t\t\tcredentials: 'same-origin',\n\t\t\tbody: JSON.stringify( payload ),\n\t\t} )\n\t\t\t.then( ( res ) => {\n\t\t\t\treturn res.json();\n\t\t\t} )\n\t\t\t.then( ( approveData ) => {\n\t\t\t\tif ( ! approveData.success ) {\n\t\t\t\t\terrorHandler.genericError();\n\t\t\t\t\treturn actions.restart().catch( ( err ) => {\n\t\t\t\t\t\terrorHandler.genericError();\n\t\t\t\t\t} );\n\t\t\t\t}\n\n\t\t\t\tconst orderReceivedUrl = approveData.data?.order_received_url;\n\n\t\t\t\t/**\n\t\t\t\t * Notice how this step initiates a redirect to a new page using a plain\n\t\t\t\t * URL as new location. This process does not send any details about the\n\t\t\t\t * approved order or billed customer.\n\t\t\t\t * Also, due to the redirect starting _instantly_ there should be no other\n\t\t\t\t * logic scheduled after calling `await onApprove()`;\n\t\t\t\t */\n\n\t\t\t\twindow.location.href = orderReceivedUrl\n\t\t\t\t\t? orderReceivedUrl\n\t\t\t\t\t: context.config.redirect;\n\t\t\t} );\n\t};\n};\n\nexport default onApprove;\n","/**\n * Name details.\n *\n * @typedef {Object} NameDetails\n * @property {string} [given_name] - First name, e.g. \"John\".\n * @property {string} [surname] - Last name, e.g. \"Doe\".\n */\n\n/**\n * Postal address details.\n *\n * @typedef {Object} AddressDetails\n * @property {string} [country_code] - Country code (2-letter).\n * @property {string} [address_line_1] - Address details, line 1 (street, house number).\n * @property {string} [address_line_2] - Address details, line 2.\n * @property {string} [admin_area_1] - State or region.\n * @property {string} [admin_area_2] - State or region.\n * @property {string} [postal_code] - Zip code.\n */\n\n/**\n * Phone details.\n *\n * @typedef {Object} PhoneDetails\n * @property {string} [phone_type] - Type, usually 'HOME'\n * @property {{national_number: string}} [phone_number] - Phone number details.\n */\n\n/**\n * Payer details.\n *\n * @typedef {Object} PayerDetails\n * @property {string} [email_address] - Email address for billing communication.\n * @property {PhoneDetails} [phone] - Phone number for billing communication.\n * @property {NameDetails} [name] - Payer's name.\n * @property {AddressDetails} [address] - Postal billing address.\n */\n\n// Map checkout fields to PayerData object properties.\nconst FIELD_MAP = {\n\t'#billing_email': [ 'email_address' ],\n\t'#billing_last_name': [ 'name', 'surname' ],\n\t'#billing_first_name': [ 'name', 'given_name' ],\n\t'#billing_country': [ 'address', 'country_code' ],\n\t'#billing_address_1': [ 'address', 'address_line_1' ],\n\t'#billing_address_2': [ 'address', 'address_line_2' ],\n\t'#billing_state': [ 'address', 'admin_area_1' ],\n\t'#billing_city': [ 'address', 'admin_area_2' ],\n\t'#billing_postcode': [ 'address', 'postal_code' ],\n\t'#billing_phone': [ 'phone' ],\n};\n\nfunction normalizePayerDetails( details ) {\n\treturn {\n\t\temail_address: details.email_address,\n\t\tphone: details.phone,\n\t\tname: {\n\t\t\tsurname: details.name?.surname,\n\t\t\tgiven_name: details.name?.given_name,\n\t\t},\n\t\taddress: {\n\t\t\tcountry_code: details.address?.country_code,\n\t\t\taddress_line_1: details.address?.address_line_1,\n\t\t\taddress_line_2: details.address?.address_line_2,\n\t\t\tadmin_area_1: details.address?.admin_area_1,\n\t\t\tadmin_area_2: details.address?.admin_area_2,\n\t\t\tpostal_code: details.address?.postal_code,\n\t\t},\n\t};\n}\n\nfunction mergePayerDetails( firstPayer, secondPayer ) {\n\tconst mergeNestedObjects = ( target, source ) => {\n\t\tfor ( const [ key, value ] of Object.entries( source ) ) {\n\t\t\tif ( null !== value && undefined !== value ) {\n\t\t\t\tif ( 'object' === typeof value ) {\n\t\t\t\t\ttarget[ key ] = mergeNestedObjects(\n\t\t\t\t\t\ttarget[ key ] || {},\n\t\t\t\t\t\tvalue\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\ttarget[ key ] = value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn target;\n\t};\n\n\treturn mergeNestedObjects(\n\t\tnormalizePayerDetails( firstPayer ),\n\t\tnormalizePayerDetails( secondPayer )\n\t);\n}\n\nfunction getCheckoutBillingDetails() {\n\tconst getElementValue = ( selector ) =>\n\t\tdocument.querySelector( selector )?.value;\n\n\tconst setNestedValue = ( obj, path, value ) => {\n\t\tlet current = obj;\n\t\tfor ( let i = 0; i < path.length - 1; i++ ) {\n\t\t\tcurrent = current[ path[ i ] ] = current[ path[ i ] ] || {};\n\t\t}\n\t\tcurrent[ path[ path.length - 1 ] ] = value;\n\t};\n\n\tconst data = {};\n\n\tObject.entries( FIELD_MAP ).forEach( ( [ selector, path ] ) => {\n\t\tconst value = getElementValue( selector );\n\t\tif ( value ) {\n\t\t\tsetNestedValue( data, path, value );\n\t\t}\n\t} );\n\n\tif ( data.phone && 'string' === typeof data.phone ) {\n\t\tdata.phone = {\n\t\t\tphone_type: 'HOME',\n\t\t\tphone_number: { national_number: data.phone },\n\t\t};\n\t}\n\n\treturn data;\n}\n\nfunction setCheckoutBillingDetails( payer ) {\n\tconst setValue = ( path, field, value ) => {\n\t\tif ( null === value || undefined === value || ! field ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( 'phone' === path[ 0 ] && 'object' === typeof value ) {\n\t\t\tvalue = value.phone_number?.national_number;\n\t\t}\n\n\t\tfield.value = value;\n\t};\n\n\tconst getNestedValue = ( obj, path ) =>\n\t\tpath.reduce( ( current, key ) => current?.[ key ], obj );\n\n\tObject.entries( FIELD_MAP ).forEach( ( [ selector, path ] ) => {\n\t\tconst value = getNestedValue( payer, path );\n\t\tconst element = document.querySelector( selector );\n\n\t\tsetValue( path, element, value );\n\t} );\n}\n\nexport function getWooCommerceCustomerDetails() {\n\t// Populated on server-side with details about the current WooCommerce customer.\n\treturn window?.PayPalCommerceGateway?.payer;\n}\n\nexport function getSessionBillingDetails() {\n\t// Populated by JS via `setSessionBillingDetails()`\n\treturn window._PpcpPayerSessionDetails;\n}\n\n/**\n * Stores customer details in the current JS context for use in the same request.\n * Details that are set are not persisted during navigation.\n *\n * @param {unknown} details - New payer details\n */\nexport function setSessionBillingDetails( details ) {\n\tif ( ! details || 'object' !== typeof details ) {\n\t\treturn;\n\t}\n\n\twindow._PpcpPayerSessionDetails = normalizePayerDetails( details );\n}\n\nexport function payerData() {\n\tconst payer = getWooCommerceCustomerDetails() ?? getSessionBillingDetails();\n\n\tif ( ! payer ) {\n\t\treturn null;\n\t}\n\n\tconst formData = getCheckoutBillingDetails();\n\n\tif ( formData ) {\n\t\treturn mergePayerDetails( payer, formData );\n\t}\n\n\treturn normalizePayerDetails( payer );\n}\n\nexport function setPayerData( payerDetails, updateCheckoutForm = false ) {\n\tsetSessionBillingDetails( payerDetails );\n\n\tif ( updateCheckoutForm ) {\n\t\tsetCheckoutBillingDetails( payerDetails );\n\t}\n}\n","class CartHelper {\n\tconstructor( cartItemKeys = [] ) {\n\t\tthis.cartItemKeys = cartItemKeys;\n\t}\n\n\tgetEndpoint() {\n\t\tlet ajaxUrl = '/?wc-ajax=%%endpoint%%';\n\n\t\tif (\n\t\t\ttypeof wc_cart_fragments_params !== 'undefined' &&\n\t\t\twc_cart_fragments_params.wc_ajax_url\n\t\t) {\n\t\t\tajaxUrl = wc_cart_fragments_params.wc_ajax_url;\n\t\t}\n\n\t\treturn ajaxUrl.toString().replace( '%%endpoint%%', 'remove_from_cart' );\n\t}\n\n\taddFromPurchaseUnits( purchaseUnits ) {\n\t\tfor ( const purchaseUnit of purchaseUnits || [] ) {\n\t\t\tfor ( const item of purchaseUnit.items || [] ) {\n\t\t\t\tif ( ! item.cart_item_key ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tthis.cartItemKeys.push( item.cart_item_key );\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tremoveFromCart() {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tif ( ! this.cartItemKeys || ! this.cartItemKeys.length ) {\n\t\t\t\tresolve();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst numRequests = this.cartItemKeys.length;\n\t\t\tlet numResponses = 0;\n\n\t\t\tconst tryToResolve = () => {\n\t\t\t\tnumResponses++;\n\t\t\t\tif ( numResponses >= numRequests ) {\n\t\t\t\t\tresolve();\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tfor ( const cartItemKey of this.cartItemKeys ) {\n\t\t\t\tconst params = new URLSearchParams();\n\t\t\t\tparams.append( 'cart_item_key', cartItemKey );\n\n\t\t\t\tif ( ! cartItemKey ) {\n\t\t\t\t\ttryToResolve();\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfetch( this.getEndpoint(), {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: params,\n\t\t\t\t} )\n\t\t\t\t\t.then( function ( res ) {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( () => {\n\t\t\t\t\t\ttryToResolve();\n\t\t\t\t\t} )\n\t\t\t\t\t.catch( () => {\n\t\t\t\t\t\ttryToResolve();\n\t\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t}\n}\n\nexport default CartHelper;\n","/**\n * Common Form utility methods\n */\nexport default class FormHelper {\n\tstatic getPrefixedFields( formElement, prefix ) {\n\t\tconst formData = new FormData( formElement );\n\t\tconst fields = {};\n\n\t\tfor ( const [ name, value ] of formData.entries() ) {\n\t\t\tif ( ! prefix || name.startsWith( prefix ) ) {\n\t\t\t\tfields[ name ] = value;\n\t\t\t}\n\t\t}\n\n\t\treturn fields;\n\t}\n\n\tstatic getFilteredFields( formElement, exactFilters, prefixFilters ) {\n\t\tconst formData = new FormData( formElement );\n\t\tconst fields = {};\n\t\tconst counters = {};\n\n\t\tfor ( let [ name, value ] of formData.entries() ) {\n\t\t\t// Handle array format\n\t\t\tif ( name.indexOf( '[]' ) !== -1 ) {\n\t\t\t\tconst k = name;\n\t\t\t\tcounters[ k ] = counters[ k ] || 0;\n\t\t\t\tname = name.replace( '[]', `[${ counters[ k ] }]` );\n\t\t\t\tcounters[ k ]++;\n\t\t\t}\n\n\t\t\tif ( ! name ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif ( exactFilters && exactFilters.indexOf( name ) !== -1 ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (\n\t\t\t\tprefixFilters &&\n\t\t\t\tprefixFilters.some( ( prefixFilter ) =>\n\t\t\t\t\tname.startsWith( prefixFilter )\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tfields[ name ] = value;\n\t\t}\n\n\t\treturn fields;\n\t}\n}\n","import Product from '../Entity/Product';\nimport BookingProduct from '../Entity/BookingProduct';\nimport onApprove from '../OnApproveHandler/onApproveForContinue';\nimport { payerData } from '../Helper/PayerData';\nimport { PaymentMethods } from '../Helper/CheckoutMethodState';\nimport CartHelper from '../Helper/CartHelper';\nimport FormHelper from '../Helper/FormHelper';\n\nclass SingleProductActionHandler {\n\tconstructor( config, updateCart, formElement, errorHandler ) {\n\t\tthis.config = config;\n\t\tthis.updateCart = updateCart;\n\t\tthis.formElement = formElement;\n\t\tthis.errorHandler = errorHandler;\n\t\tthis.cartHelper = null;\n\t}\n\n\tsubscriptionsConfiguration( subscription_plan ) {\n\t\treturn {\n\t\t\tcreateSubscription: ( data, actions ) => {\n\t\t\t\treturn actions.subscription.create( {\n\t\t\t\t\tplan_id: subscription_plan,\n\t\t\t\t} );\n\t\t\t},\n\t\t\tonApprove: ( data, actions ) => {\n\t\t\t\tfetch( this.config.ajax.approve_subscription.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.approve_subscription.nonce,\n\t\t\t\t\t\torder_id: data.orderID,\n\t\t\t\t\t\tsubscription_id: data.subscriptionID,\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( ( res ) => {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( () => {\n\t\t\t\t\t\tconst products = this.getSubscriptionProducts();\n\n\t\t\t\t\t\tfetch( this.config.ajax.change_cart.endpoint, {\n\t\t\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\t\t\tnonce: this.config.ajax.change_cart.nonce,\n\t\t\t\t\t\t\t\tproducts,\n\t\t\t\t\t\t\t} ),\n\t\t\t\t\t\t} )\n\t\t\t\t\t\t\t.then( ( result ) => {\n\t\t\t\t\t\t\t\treturn result.json();\n\t\t\t\t\t\t\t} )\n\t\t\t\t\t\t\t.then( ( result ) => {\n\t\t\t\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\t\t\t\tconsole.log( result );\n\t\t\t\t\t\t\t\t\tthrow Error( result.data.message );\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tlocation.href = this.config.redirect;\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t} );\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t},\n\t\t};\n\t}\n\n\tgetSubscriptionProducts() {\n\t\tconst id = document.querySelector( '[name=\"add-to-cart\"]' ).value;\n\t\treturn [ new Product( id, 1, this.variations(), this.extraFields() ) ];\n\t}\n\n\tconfiguration() {\n\t\treturn {\n\t\t\tcreateOrder: this.createOrder(),\n\t\t\tonApprove: onApprove( this, this.errorHandler ),\n\t\t\tonError: ( error ) => {\n\t\t\t\tthis.refreshMiniCart();\n\n\t\t\t\tif ( this.isBookingProduct() && error.message ) {\n\t\t\t\t\tthis.errorHandler.clear();\n\t\t\t\t\tthis.errorHandler.message( error.message );\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.errorHandler.genericError();\n\t\t\t},\n\t\t\tonCancel: () => {\n\t\t\t\t// Could be used for every product type,\n\t\t\t\t// but only clean the cart for Booking products for now.\n\t\t\t\tif ( this.isBookingProduct() ) {\n\t\t\t\t\tthis.cleanCart();\n\t\t\t\t} else {\n\t\t\t\t\tthis.refreshMiniCart();\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n\n\tgetProducts() {\n\t\tif ( this.isBookingProduct() ) {\n\t\t\tconst id = document.querySelector( '[name=\"add-to-cart\"]' ).value;\n\t\t\treturn [\n\t\t\t\tnew BookingProduct(\n\t\t\t\t\tid,\n\t\t\t\t\t1,\n\t\t\t\t\tFormHelper.getPrefixedFields(\n\t\t\t\t\t\tthis.formElement,\n\t\t\t\t\t\t'wc_bookings_field'\n\t\t\t\t\t),\n\t\t\t\t\tthis.extraFields()\n\t\t\t\t),\n\t\t\t];\n\t\t} else if ( this.isGroupedProduct() ) {\n\t\t\tconst products = [];\n\t\t\tthis.formElement\n\t\t\t\t.querySelectorAll( 'input[type=\"number\"]' )\n\t\t\t\t.forEach( ( element ) => {\n\t\t\t\t\tif ( ! element.value ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tconst elementName = element\n\t\t\t\t\t\t.getAttribute( 'name' )\n\t\t\t\t\t\t.match( /quantity\\[([\\d]*)\\]/ );\n\t\t\t\t\tif ( elementName.length !== 2 ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tconst id = parseInt( elementName[ 1 ] );\n\t\t\t\t\tconst quantity = parseInt( element.value );\n\t\t\t\t\tproducts.push(\n\t\t\t\t\t\tnew Product( id, quantity, null, this.extraFields() )\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t\treturn products;\n\t\t}\n\t\tconst id = document.querySelector( '[name=\"add-to-cart\"]' ).value;\n\t\tconst qty = document.querySelector( '[name=\"quantity\"]' ).value;\n\t\tconst variations = this.variations();\n\t\treturn [ new Product( id, qty, variations, this.extraFields() ) ];\n\t}\n\n\textraFields() {\n\t\treturn FormHelper.getFilteredFields(\n\t\t\tthis.formElement,\n\t\t\t[ 'add-to-cart', 'quantity', 'product_id', 'variation_id' ],\n\t\t\t[ 'attribute_', 'wc_bookings_field' ]\n\t\t);\n\t}\n\n\tcreateOrder() {\n\t\tthis.cartHelper = null;\n\n\t\treturn ( data, actions, options = {} ) => {\n\t\t\tthis.errorHandler.clear();\n\n\t\t\tconst onResolve = ( purchase_units ) => {\n\t\t\t\tthis.cartHelper = new CartHelper().addFromPurchaseUnits(\n\t\t\t\t\tpurchase_units\n\t\t\t\t);\n\n\t\t\t\tconst payer = payerData();\n\t\t\t\tconst bnCode =\n\t\t\t\t\ttypeof this.config.bn_codes[ this.config.context ] !==\n\t\t\t\t\t'undefined'\n\t\t\t\t\t\t? this.config.bn_codes[ this.config.context ]\n\t\t\t\t\t\t: '';\n\t\t\t\treturn fetch( this.config.ajax.create_order.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t\t},\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.create_order.nonce,\n\t\t\t\t\t\tpurchase_units,\n\t\t\t\t\t\tpayer,\n\t\t\t\t\t\tbn_code: bnCode,\n\t\t\t\t\t\tpayment_method: PaymentMethods.PAYPAL,\n\t\t\t\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\t\t\t\tcontext: this.config.context,\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( function ( res ) {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( function ( data ) {\n\t\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\t\tconsole.error( data );\n\t\t\t\t\t\t\tthrow Error( data.data.message );\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn data.data.id;\n\t\t\t\t\t} );\n\t\t\t};\n\n\t\t\treturn this.updateCart.update(\n\t\t\t\tonResolve,\n\t\t\t\tthis.getProducts(),\n\t\t\t\toptions.updateCartOptions || {}\n\t\t\t);\n\t\t};\n\t}\n\n\tvariations() {\n\t\tif ( ! this.hasVariations() ) {\n\t\t\treturn null;\n\t\t}\n\t\treturn [\n\t\t\t...this.formElement.querySelectorAll( \"[name^='attribute_']\" ),\n\t\t].map( ( element ) => {\n\t\t\treturn {\n\t\t\t\tvalue: element.value,\n\t\t\t\tname: element.name,\n\t\t\t};\n\t\t} );\n\t}\n\n\thasVariations() {\n\t\treturn this.formElement.classList.contains( 'variations_form' );\n\t}\n\n\tisGroupedProduct() {\n\t\treturn this.formElement.classList.contains( 'grouped_form' );\n\t}\n\n\tisBookingProduct() {\n\t\t// detection for \"woocommerce-bookings\" plugin\n\t\treturn !! this.formElement.querySelector( '.wc-booking-product-id' );\n\t}\n\n\tcleanCart() {\n\t\tthis.cartHelper\n\t\t\t.removeFromCart()\n\t\t\t.then( () => {\n\t\t\t\tthis.refreshMiniCart();\n\t\t\t} )\n\t\t\t.catch( ( error ) => {\n\t\t\t\tthis.refreshMiniCart();\n\t\t\t} );\n\t}\n\n\trefreshMiniCart() {\n\t\tjQuery( document.body ).trigger( 'wc_fragment_refresh' );\n\t}\n}\nexport default SingleProductActionHandler;\n","class SimulateCart {\n\tconstructor( endpoint, nonce ) {\n\t\tthis.endpoint = endpoint;\n\t\tthis.nonce = nonce;\n\t}\n\n\t/**\n\t *\n\t * @param onResolve\n\t * @param {Product[]} products\n\t * @return {Promise}\n\t */\n\tsimulate( onResolve, products ) {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tfetch( this.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.nonce,\n\t\t\t\t\tproducts,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\treturn result.json();\n\t\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\treject( result.data );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst resolved = onResolve( result.data );\n\t\t\t\t\tresolve( resolved );\n\t\t\t\t} );\n\t\t} );\n\t}\n}\n\nexport default SimulateCart;\n","import Product from '../Entity/Product';\nclass UpdateCart {\n\tconstructor( endpoint, nonce ) {\n\t\tthis.endpoint = endpoint;\n\t\tthis.nonce = nonce;\n\t}\n\n\t/**\n\t *\n\t * @param onResolve\n\t * @param {Product[]} products\n\t * @param {Object} options\n\t * @return {Promise}\n\t */\n\tupdate( onResolve, products, options = {} ) {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tfetch( this.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.nonce,\n\t\t\t\t\tproducts,\n\t\t\t\t\t...options,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\treturn result.json();\n\t\t\t\t} )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\treject( result.data );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst resolved = onResolve( result.data );\n\t\t\t\t\tresolve( resolved );\n\t\t\t\t} );\n\t\t} );\n\t}\n}\n\nexport default UpdateCart;\n","import onApprove from '../OnApproveHandler/onApproveForContinue.js';\nimport { payerData } from '../Helper/PayerData';\nimport { PaymentMethods } from '../Helper/CheckoutMethodState';\n\nclass CartActionHandler {\n\tconstructor( config, errorHandler ) {\n\t\tthis.config = config;\n\t\tthis.errorHandler = errorHandler;\n\t}\n\n\tsubscriptionsConfiguration( subscription_plan_id ) {\n\t\treturn {\n\t\t\tcreateSubscription: ( data, actions ) => {\n\t\t\t\treturn actions.subscription.create( {\n\t\t\t\t\tplan_id: subscription_plan_id,\n\t\t\t\t} );\n\t\t\t},\n\t\t\tonApprove: ( data, actions ) => {\n\t\t\t\tfetch( this.config.ajax.approve_subscription.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.approve_subscription.nonce,\n\t\t\t\t\t\torder_id: data.orderID,\n\t\t\t\t\t\tsubscription_id: data.subscriptionID,\n\t\t\t\t\t\tshould_create_wc_order:\n\t\t\t\t\t\t\t! context.config.vaultingEnabled ||\n\t\t\t\t\t\t\tdata.paymentSource !== 'venmo',\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( ( res ) => {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( ( data ) => {\n\t\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\t\tconsole.log( data );\n\t\t\t\t\t\t\tthrow Error( data.data.message );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst orderReceivedUrl = data.data?.order_received_url;\n\n\t\t\t\t\t\tlocation.href = orderReceivedUrl\n\t\t\t\t\t\t\t? orderReceivedUrl\n\t\t\t\t\t\t\t: context.config.redirect;\n\t\t\t\t\t} );\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t},\n\t\t};\n\t}\n\n\tconfiguration() {\n\t\tconst createOrder = ( data, actions ) => {\n\t\t\tconst payer = payerData();\n\t\t\tconst bnCode =\n\t\t\t\ttypeof this.config.bn_codes[ this.config.context ] !==\n\t\t\t\t'undefined'\n\t\t\t\t\t? this.config.bn_codes[ this.config.context ]\n\t\t\t\t\t: '';\n\t\t\treturn fetch( this.config.ajax.create_order.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.config.ajax.create_order.nonce,\n\t\t\t\t\tpurchase_units: [],\n\t\t\t\t\tpayment_method: PaymentMethods.PAYPAL,\n\t\t\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\t\t\tbn_code: bnCode,\n\t\t\t\t\tpayer,\n\t\t\t\t\tcontext: this.config.context,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( function ( res ) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t} )\n\t\t\t\t.then( function ( data ) {\n\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\tconsole.error( data );\n\t\t\t\t\t\tthrow Error( data.data.message );\n\t\t\t\t\t}\n\t\t\t\t\treturn data.data.id;\n\t\t\t\t} );\n\t\t};\n\n\t\treturn {\n\t\t\tcreateOrder,\n\t\t\tonApprove: onApprove( this, this.errorHandler ),\n\t\t\tonError: ( error ) => {\n\t\t\t\tthis.errorHandler.genericError();\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default CartActionHandler;\n","import ErrorHandler from '../../../../ppcp-button/resources/js/modules/ErrorHandler';\nimport CartActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/CartActionHandler';\n\nclass BaseHandler {\n\tconstructor( buttonConfig, ppcpConfig ) {\n\t\tthis.buttonConfig = buttonConfig;\n\t\tthis.ppcpConfig = ppcpConfig;\n\t}\n\n\tisVaultV3Mode() {\n\t\treturn (\n\t\t\tthis.ppcpConfig?.save_payment_methods?.id_token && // vault v3\n\t\t\t! this.ppcpConfig?.data_client_id?.paypal_subscriptions_enabled && // not PayPal Subscriptions mode\n\t\t\tthis.ppcpConfig?.can_save_vault_token\n\t\t); // vault is enabled\n\t}\n\n\tvalidateContext() {\n\t\tif ( this.ppcpConfig?.locations_with_subscription_product?.cart ) {\n\t\t\treturn this.isVaultV3Mode();\n\t\t}\n\t\treturn true;\n\t}\n\n\tshippingAllowed() {\n\t\treturn this.buttonConfig.product.needShipping;\n\t}\n\n\ttransactionInfo() {\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tconst endpoint = this.ppcpConfig.ajax.cart_script_params.endpoint;\n\t\t\tconst separator = endpoint.indexOf( '?' ) !== -1 ? '&' : '?';\n\n\t\t\tfetch( endpoint + separator + 'shipping=1', {\n\t\t\t\tmethod: 'GET',\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t} )\n\t\t\t\t.then( ( result ) => result.json() )\n\t\t\t\t.then( ( result ) => {\n\t\t\t\t\tif ( ! result.success ) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\t// handle script reload\n\t\t\t\t\tconst data = result.data;\n\n\t\t\t\t\tresolve( {\n\t\t\t\t\t\tcountryCode: data.country_code,\n\t\t\t\t\t\tcurrencyCode: data.currency_code,\n\t\t\t\t\t\ttotalPriceStatus: 'FINAL',\n\t\t\t\t\t\ttotalPrice: data.total_str,\n\t\t\t\t\t\tchosenShippingMethods:\n\t\t\t\t\t\t\tdata.chosen_shipping_methods || null,\n\t\t\t\t\t\tshippingPackages: data.shipping_packages || null,\n\t\t\t\t\t} );\n\t\t\t\t} );\n\t\t} );\n\t}\n\n\tcreateOrder() {\n\t\treturn this.actionHandler().configuration().createOrder( null, null );\n\t}\n\n\tapproveOrder( data, actions ) {\n\t\treturn this.actionHandler().configuration().onApprove( data, actions );\n\t}\n\n\tactionHandler() {\n\t\treturn new CartActionHandler( this.ppcpConfig, this.errorHandler() );\n\t}\n\n\terrorHandler() {\n\t\treturn new ErrorHandler(\n\t\t\tthis.ppcpConfig.labels.error.generic,\n\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t);\n\t}\n}\n\nexport default BaseHandler;\n","import SingleProductActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/SingleProductActionHandler';\nimport SimulateCart from '../../../../ppcp-button/resources/js/modules/Helper/SimulateCart';\nimport ErrorHandler from '../../../../ppcp-button/resources/js/modules/ErrorHandler';\nimport UpdateCart from '../../../../ppcp-button/resources/js/modules/Helper/UpdateCart';\nimport BaseHandler from './BaseHandler';\n\nclass SingleProductHandler extends BaseHandler {\n\tvalidateContext() {\n\t\tif ( this.ppcpConfig?.locations_with_subscription_product?.product ) {\n\t\t\treturn this.isVaultV3Mode();\n\t\t}\n\t\treturn true;\n\t}\n\n\ttransactionInfo() {\n\t\tconst errorHandler = new ErrorHandler(\n\t\t\tthis.ppcpConfig.labels.error.generic,\n\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t);\n\n\t\tfunction form() {\n\t\t\treturn document.querySelector( 'form.cart' );\n\t\t}\n\n\t\tconst actionHandler = new SingleProductActionHandler(\n\t\t\tnull,\n\t\t\tnull,\n\t\t\tform(),\n\t\t\terrorHandler\n\t\t);\n\n\t\tconst hasSubscriptions =\n\t\t\tPayPalCommerceGateway.data_client_id.has_subscriptions &&\n\t\t\tPayPalCommerceGateway.data_client_id.paypal_subscriptions_enabled;\n\n\t\tconst products = hasSubscriptions\n\t\t\t? actionHandler.getSubscriptionProducts()\n\t\t\t: actionHandler.getProducts();\n\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tnew SimulateCart(\n\t\t\t\tthis.ppcpConfig.ajax.simulate_cart.endpoint,\n\t\t\t\tthis.ppcpConfig.ajax.simulate_cart.nonce\n\t\t\t).simulate( ( data ) => {\n\t\t\t\tresolve( {\n\t\t\t\t\tcountryCode: data.country_code,\n\t\t\t\t\tcurrencyCode: data.currency_code,\n\t\t\t\t\ttotalPriceStatus: 'FINAL',\n\t\t\t\t\ttotalPrice: data.total,\n\t\t\t\t} );\n\t\t\t}, products );\n\t\t} );\n\t}\n\n\tcreateOrder() {\n\t\treturn this.actionHandler()\n\t\t\t.configuration()\n\t\t\t.createOrder( null, null, {\n\t\t\t\tupdateCartOptions: {\n\t\t\t\t\tkeepShipping: true,\n\t\t\t\t},\n\t\t\t} );\n\t}\n\n\tactionHandler() {\n\t\treturn new SingleProductActionHandler(\n\t\t\tthis.ppcpConfig,\n\t\t\tnew UpdateCart(\n\t\t\t\tthis.ppcpConfig.ajax.change_cart.endpoint,\n\t\t\t\tthis.ppcpConfig.ajax.change_cart.nonce\n\t\t\t),\n\t\t\tdocument.querySelector( 'form.cart' ),\n\t\t\tthis.errorHandler()\n\t\t);\n\t}\n\n\tproducts() {\n\t\treturn this.actionHandler().getProducts();\n\t}\n}\n\nexport default SingleProductHandler;\n","import BaseHandler from './BaseHandler';\n\nclass CartHandler extends BaseHandler {}\n\nexport default CartHandler;\n","class Spinner {\n\tconstructor( target = 'form.woocommerce-checkout' ) {\n\t\tthis.target = target;\n\t}\n\n\tsetTarget( target ) {\n\t\tthis.target = target;\n\t}\n\n\tblock() {\n\t\tjQuery( this.target ).block( {\n\t\t\tmessage: null,\n\t\t\toverlayCSS: {\n\t\t\t\tbackground: '#fff',\n\t\t\t\topacity: 0.6,\n\t\t\t},\n\t\t} );\n\t}\n\n\tunblock() {\n\t\tjQuery( this.target ).unblock();\n\t}\n}\n\nexport default Spinner;\n","/*! formdata-polyfill. MIT License. Jimmy W?rting */\n;(function(){var h;function l(a){var b=0;return function(){return b>>0)+\"_\",e=0;return b});\nr(\"Symbol.iterator\",function(a){if(a)return a;a=Symbol(\"Symbol.iterator\");for(var b=\"Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array\".split(\" \"),c=0;c {\n\treturn ( data, actions ) => {\n\t\tspinner.block();\n\t\terrorHandler.clear();\n\n\t\treturn fetch( context.config.ajax.approve_order.endpoint, {\n\t\t\tmethod: 'POST',\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json',\n\t\t\t},\n\t\t\tcredentials: 'same-origin',\n\t\t\tbody: JSON.stringify( {\n\t\t\t\tnonce: context.config.ajax.approve_order.nonce,\n\t\t\t\torder_id: data.orderID,\n\t\t\t\tfunding_source: window.ppcpFundingSource,\n\t\t\t} ),\n\t\t} )\n\t\t\t.then( ( res ) => {\n\t\t\t\treturn res.json();\n\t\t\t} )\n\t\t\t.then( ( data ) => {\n\t\t\t\tspinner.unblock();\n\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\tif ( data.data.code === 100 ) {\n\t\t\t\t\t\terrorHandler.message( data.data.message );\n\t\t\t\t\t} else {\n\t\t\t\t\t\terrorHandler.genericError();\n\t\t\t\t\t}\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof actions !== 'undefined' &&\n\t\t\t\t\t\ttypeof actions.restart !== 'undefined'\n\t\t\t\t\t) {\n\t\t\t\t\t\treturn actions.restart();\n\t\t\t\t\t}\n\t\t\t\t\tthrow new Error( data.data.message );\n\t\t\t\t}\n\t\t\t\tdocument.querySelector( '#place_order' ).click();\n\t\t\t} );\n\t};\n};\n\nexport default onApprove;\n","import 'formdata-polyfill';\nimport onApprove from '../OnApproveHandler/onApproveForPayNow.js';\nimport { payerData } from '../Helper/PayerData';\nimport { getCurrentPaymentMethod } from '../Helper/CheckoutMethodState';\nimport validateCheckoutForm from '../Helper/CheckoutFormValidation';\n\nclass CheckoutActionHandler {\n\tconstructor( config, errorHandler, spinner ) {\n\t\tthis.config = config;\n\t\tthis.errorHandler = errorHandler;\n\t\tthis.spinner = spinner;\n\t}\n\n\tsubscriptionsConfiguration( subscription_plan_id ) {\n\t\treturn {\n\t\t\tcreateSubscription: async ( data, actions ) => {\n\t\t\t\ttry {\n\t\t\t\t\tawait validateCheckoutForm( this.config );\n\t\t\t\t} catch ( error ) {\n\t\t\t\t\tthrow { type: 'form-validation-error' };\n\t\t\t\t}\n\n\t\t\t\treturn actions.subscription.create( {\n\t\t\t\t\tplan_id: subscription_plan_id,\n\t\t\t\t} );\n\t\t\t},\n\t\t\tonApprove: ( data, actions ) => {\n\t\t\t\tfetch( this.config.ajax.approve_subscription.endpoint, {\n\t\t\t\t\tmethod: 'POST',\n\t\t\t\t\tcredentials: 'same-origin',\n\t\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\t\tnonce: this.config.ajax.approve_subscription.nonce,\n\t\t\t\t\t\torder_id: data.orderID,\n\t\t\t\t\t\tsubscription_id: data.subscriptionID,\n\t\t\t\t\t} ),\n\t\t\t\t} )\n\t\t\t\t\t.then( ( res ) => {\n\t\t\t\t\t\treturn res.json();\n\t\t\t\t\t} )\n\t\t\t\t\t.then( ( data ) => {\n\t\t\t\t\t\tdocument.querySelector( '#place_order' ).click();\n\t\t\t\t\t} );\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t},\n\t\t};\n\t}\n\n\tconfiguration() {\n\t\tconst spinner = this.spinner;\n\t\tconst createOrder = ( data, actions ) => {\n\t\t\tconst payer = payerData();\n\t\t\tconst bnCode =\n\t\t\t\ttypeof this.config.bn_codes[ this.config.context ] !==\n\t\t\t\t'undefined'\n\t\t\t\t\t? this.config.bn_codes[ this.config.context ]\n\t\t\t\t\t: '';\n\n\t\t\tconst errorHandler = this.errorHandler;\n\n\t\t\tconst formSelector =\n\t\t\t\tthis.config.context === 'checkout'\n\t\t\t\t\t? 'form.checkout'\n\t\t\t\t\t: 'form#order_review';\n\t\t\tconst formData = new FormData(\n\t\t\t\tdocument.querySelector( formSelector )\n\t\t\t);\n\n\t\t\tconst createaccount = jQuery( '#createaccount' ).is( ':checked' )\n\t\t\t\t? true\n\t\t\t\t: false;\n\n\t\t\tconst paymentMethod = getCurrentPaymentMethod();\n\t\t\tconst fundingSource = window.ppcpFundingSource;\n\n\t\t\tconst savePaymentMethod = !! document.getElementById(\n\t\t\t\t'wc-ppcp-credit-card-gateway-new-payment-method'\n\t\t\t)?.checked;\n\n\t\t\treturn fetch( this.config.ajax.create_order.endpoint, {\n\t\t\t\tmethod: 'POST',\n\t\t\t\theaders: {\n\t\t\t\t\t'Content-Type': 'application/json',\n\t\t\t\t},\n\t\t\t\tcredentials: 'same-origin',\n\t\t\t\tbody: JSON.stringify( {\n\t\t\t\t\tnonce: this.config.ajax.create_order.nonce,\n\t\t\t\t\tpayer,\n\t\t\t\t\tbn_code: bnCode,\n\t\t\t\t\tcontext: this.config.context,\n\t\t\t\t\torder_id: this.config.order_id,\n\t\t\t\t\tpayment_method: paymentMethod,\n\t\t\t\t\tfunding_source: fundingSource,\n\t\t\t\t\t// send as urlencoded string to handle complex fields via PHP functions the same as normal form submit\n\t\t\t\t\tform_encoded: new URLSearchParams( formData ).toString(),\n\t\t\t\t\tcreateaccount,\n\t\t\t\t\tsave_payment_method: savePaymentMethod,\n\t\t\t\t} ),\n\t\t\t} )\n\t\t\t\t.then( function ( res ) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t} )\n\t\t\t\t.then( function ( data ) {\n\t\t\t\t\tif ( ! data.success ) {\n\t\t\t\t\t\tspinner.unblock();\n\t\t\t\t\t\t//handle both messages sent from Woocommerce (data.messages) and this plugin (data.data.message)\n\t\t\t\t\t\tif ( typeof data.messages !== 'undefined' ) {\n\t\t\t\t\t\t\tconst domParser = new DOMParser();\n\t\t\t\t\t\t\terrorHandler.appendPreparedErrorMessageElement(\n\t\t\t\t\t\t\t\tdomParser\n\t\t\t\t\t\t\t\t\t.parseFromString(\n\t\t\t\t\t\t\t\t\t\tdata.messages,\n\t\t\t\t\t\t\t\t\t\t'text/html'\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t.querySelector( 'ul' )\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\terrorHandler.clear();\n\n\t\t\t\t\t\t\tif ( data.data.refresh ) {\n\t\t\t\t\t\t\t\tjQuery( document.body ).trigger(\n\t\t\t\t\t\t\t\t\t'update_checkout'\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif ( data.data.errors?.length > 0 ) {\n\t\t\t\t\t\t\t\terrorHandler.messages( data.data.errors );\n\t\t\t\t\t\t\t} else if ( data.data.details?.length > 0 ) {\n\t\t\t\t\t\t\t\terrorHandler.message(\n\t\t\t\t\t\t\t\t\tdata.data.details\n\t\t\t\t\t\t\t\t\t\t.map(\n\t\t\t\t\t\t\t\t\t\t\t( d ) =>\n\t\t\t\t\t\t\t\t\t\t\t\t`${ d.issue } ${ d.description }`\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t.join( '
' )\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\terrorHandler.message( data.data.message );\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// fire WC event for other plugins\n\t\t\t\t\t\t\tjQuery( document.body ).trigger( 'checkout_error', [\n\t\t\t\t\t\t\t\terrorHandler.currentHtml(),\n\t\t\t\t\t\t\t] );\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tthrow { type: 'create-order-error', data: data.data };\n\t\t\t\t\t}\n\t\t\t\t\tconst input = document.createElement( 'input' );\n\t\t\t\t\tinput.setAttribute( 'type', 'hidden' );\n\t\t\t\t\tinput.setAttribute( 'name', 'ppcp-resume-order' );\n\t\t\t\t\tinput.setAttribute( 'value', data.data.custom_id );\n\t\t\t\t\tdocument.querySelector( formSelector ).appendChild( input );\n\t\t\t\t\treturn data.data.id;\n\t\t\t\t} );\n\t\t};\n\t\treturn {\n\t\t\tcreateOrder,\n\t\t\tonApprove: onApprove( this, this.errorHandler, this.spinner ),\n\t\t\tonCancel: () => {\n\t\t\t\tspinner.unblock();\n\t\t\t},\n\t\t\tonError: ( err ) => {\n\t\t\t\tconsole.error( err );\n\t\t\t\tspinner.unblock();\n\n\t\t\t\tif ( err && err.type === 'create-order-error' ) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tthis.errorHandler.genericError();\n\t\t\t},\n\t\t};\n\t}\n}\n\nexport default CheckoutActionHandler;\n","import Spinner from './Spinner';\nimport FormValidator from './FormValidator';\nimport ErrorHandler from '../ErrorHandler';\n\nconst validateCheckoutForm = function ( config ) {\n\treturn new Promise( async ( resolve, reject ) => {\n\t\ttry {\n\t\t\tconst spinner = new Spinner();\n\t\t\tconst errorHandler = new ErrorHandler(\n\t\t\t\tconfig.labels.error.generic,\n\t\t\t\tdocument.querySelector( '.woocommerce-notices-wrapper' )\n\t\t\t);\n\n\t\t\tconst formSelector =\n\t\t\t\tconfig.context === 'checkout'\n\t\t\t\t\t? 'form.checkout'\n\t\t\t\t\t: 'form#order_review';\n\t\t\tconst formValidator = config.early_checkout_validation_enabled\n\t\t\t\t? new FormValidator(\n\t\t\t\t\t\tconfig.ajax.validate_checkout.endpoint,\n\t\t\t\t\t\tconfig.ajax.validate_checkout.nonce\n\t\t\t\t )\n\t\t\t\t: null;\n\n\t\t\tif ( ! formValidator ) {\n\t\t\t\tresolve();\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tformValidator\n\t\t\t\t.validate( document.querySelector( formSelector ) )\n\t\t\t\t.then( ( errors ) => {\n\t\t\t\t\tif ( errors.length > 0 ) {\n\t\t\t\t\t\tspinner.unblock();\n\t\t\t\t\t\terrorHandler.clear();\n\t\t\t\t\t\terrorHandler.messages( errors );\n\n\t\t\t\t\t\t// fire WC event for other plugins\n\t\t\t\t\t\tjQuery( document.body ).trigger( 'checkout_error', [\n\t\t\t\t\t\t\terrorHandler.currentHtml(),\n\t\t\t\t\t\t] );\n\n\t\t\t\t\t\treject();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresolve();\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t} catch ( error ) {\n\t\t\tconsole.error( error );\n\t\t\treject();\n\t\t}\n\t} );\n};\n\nexport default validateCheckoutForm;\n","import Spinner from '../../../../ppcp-button/resources/js/modules/Helper/Spinner';\nimport CheckoutActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler';\nimport BaseHandler from './BaseHandler';\n\nclass CheckoutHandler extends BaseHandler {\n\tactionHandler() {\n\t\treturn new CheckoutActionHandler(\n\t\t\tthis.ppcpConfig,\n\t\t\tthis.errorHandler(),\n\t\t\tnew Spinner()\n\t\t);\n\t}\n}\n\nexport default CheckoutHandler;\n","import BaseHandler from './BaseHandler';\n\nclass CartBlockHandler extends BaseHandler {}\n\nexport default CartBlockHandler;\n","import BaseHandler from './BaseHandler';\n\nclass CheckoutBlockHandler extends BaseHandler {}\n\nexport default CheckoutBlockHandler;\n","import BaseHandler from './BaseHandler';\n\nclass MiniCartHandler extends BaseHandler {}\n\nexport default MiniCartHandler;\n","import BaseHandler from './BaseHandler';\n\nclass PreviewHandler extends BaseHandler {\n\ttransactionInfo() {\n\t\t// We need to return something as ApplePay button initialization expects valid data.\n\t\treturn {\n\t\t\tcountryCode: 'US',\n\t\t\tcurrencyCode: 'USD',\n\t\t\ttotalPrice: '10.00',\n\t\t\ttotalPriceStatus: 'FINAL',\n\t\t};\n\t}\n\n\tcreateOrder() {\n\t\tthrow new Error( 'Create order fail. This is just a preview.' );\n\t}\n\n\tapproveOrder() {\n\t\tthrow new Error( 'Approve order fail. This is just a preview.' );\n\t}\n\n\tactionHandler() {\n\t\tthrow new Error( 'Action handler fail. This is just a preview.' );\n\t}\n\n\terrorHandler() {\n\t\tthrow new Error( 'Error handler fail. This is just a preview.' );\n\t}\n}\n\nexport default PreviewHandler;\n","import Spinner from '../../../../ppcp-button/resources/js/modules/Helper/Spinner';\nimport BaseHandler from './BaseHandler';\nimport CheckoutActionHandler from '../../../../ppcp-button/resources/js/modules/ActionHandler/CheckoutActionHandler';\n\nclass PayNowHandler extends BaseHandler {\n\tvalidateContext() {\n\t\tif ( this.ppcpConfig?.locations_with_subscription_product?.payorder ) {\n\t\t\treturn this.isVaultV3Mode();\n\t\t}\n\t\treturn true;\n\t}\n\n\ttransactionInfo() {\n\t\treturn new Promise( async ( resolve, reject ) => {\n\t\t\tconst data = this.ppcpConfig.pay_now;\n\n\t\t\tresolve( {\n\t\t\t\tcountryCode: data.country_code,\n\t\t\t\tcurrencyCode: data.currency_code,\n\t\t\t\ttotalPriceStatus: 'FINAL',\n\t\t\t\ttotalPrice: data.total_str,\n\t\t\t} );\n\t\t} );\n\t}\n\n\tactionHandler() {\n\t\treturn new CheckoutActionHandler(\n\t\t\tthis.ppcpConfig,\n\t\t\tthis.errorHandler(),\n\t\t\tnew Spinner()\n\t\t);\n\t}\n}\n\nexport default PayNowHandler;\n","import SingleProductHandler from './SingleProductHandler';\nimport CartHandler from './CartHandler';\nimport CheckoutHandler from './CheckoutHandler';\nimport CartBlockHandler from './CartBlockHandler';\nimport CheckoutBlockHandler from './CheckoutBlockHandler';\nimport MiniCartHandler from './MiniCartHandler';\nimport PreviewHandler from './PreviewHandler';\nimport PayNowHandler from './PayNowHandler';\n\nclass ContextHandlerFactory {\n\tstatic create( context, buttonConfig, ppcpConfig ) {\n\t\tswitch ( context ) {\n\t\t\tcase 'product':\n\t\t\t\treturn new SingleProductHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'cart':\n\t\t\t\treturn new CartHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'checkout':\n\t\t\t\treturn new CheckoutHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'pay-now':\n\t\t\t\treturn new PayNowHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'mini-cart':\n\t\t\t\treturn new MiniCartHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'cart-block':\n\t\t\t\treturn new CartBlockHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'checkout-block':\n\t\t\t\treturn new CheckoutBlockHandler( buttonConfig, ppcpConfig );\n\t\t\tcase 'preview':\n\t\t\t\treturn new PreviewHandler( buttonConfig, ppcpConfig );\n\t\t}\n\t}\n}\n\nexport default ContextHandlerFactory;\n","import buttonModuleWatcher from '../../../ppcp-button/resources/js/modules/ButtonModuleWatcher';\nimport ApplePayButton from './ApplepayButton';\nimport ContextHandlerFactory from './Context/ContextHandlerFactory';\n\nclass ApplePayManager {\n\tconstructor( namespace, buttonConfig, ppcpConfig, buttonAttributes = {} ) {\n\t\tthis.namespace = namespace;\n\t\tthis.buttonConfig = buttonConfig;\n\t\tthis.ppcpConfig = ppcpConfig;\n\t\tthis.buttonAttributes = buttonAttributes;\n\t\tthis.applePayConfig = null;\n\t\tthis.transactionInfo = null;\n\t\tthis.contextHandler = null;\n\n\t\tthis.buttons = [];\n\n\t\tbuttonModuleWatcher.watchContextBootstrap( async ( bootstrap ) => {\n\t\t\tthis.contextHandler = ContextHandlerFactory.create(\n\t\t\t\tbootstrap.context,\n\t\t\t\tbuttonConfig,\n\t\t\t\tppcpConfig,\n\t\t\t\tbootstrap.handler\n\t\t\t);\n\n\t\t\tconst button = ApplePayButton.createButton(\n\t\t\t\tbootstrap.context,\n\t\t\t\tbootstrap.handler,\n\t\t\t\tbuttonConfig,\n\t\t\t\tppcpConfig,\n\t\t\t\tthis.contextHandler,\n\t\t\t\tthis.buttonAttributes\n\t\t\t);\n\n\t\t\tthis.buttons.push( button );\n\t\t\tconst initButton = () => {\n\t\t\t\tbutton.configure(\n\t\t\t\t\tthis.applePayConfig,\n\t\t\t\t\tthis.transactionInfo,\n\t\t\t\t\tthis.buttonAttributes\n\t\t\t\t);\n\t\t\t\tbutton.init();\n\t\t\t};\n\n\t\t\t// Initialize button only if applePayConfig and transactionInfo are already fetched.\n\t\t\tif ( this.applePayConfig && this.transactionInfo ) {\n\t\t\t\tinitButton();\n\t\t\t} else {\n\t\t\t\t// Ensure ApplePayConfig is loaded before proceeding.\n\t\t\t\tawait this.init();\n\n\t\t\t\tif ( this.applePayConfig && this.transactionInfo ) {\n\t\t\t\t\tinitButton();\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t}\n\n\tasync init() {\n\t\ttry {\n\t\t\tif ( ! this.applePayConfig ) {\n\t\t\t\t// Gets ApplePay configuration of the PayPal merchant.\n\t\t\t\tthis.applePayConfig = await window[ this.namespace ]\n\t\t\t\t\t.Applepay()\n\t\t\t\t\t.config();\n\t\t\t}\n\n\t\t\tif ( ! this.transactionInfo ) {\n\t\t\t\tthis.transactionInfo = await this.fetchTransactionInfo();\n\t\t\t}\n\n\t\t\tif ( ! this.applePayConfig ) {\n\t\t\t\tconsole.error( 'No ApplePayConfig received during init' );\n\t\t\t} else if ( ! this.transactionInfo ) {\n\t\t\t\tconsole.error( 'No transactionInfo found during init' );\n\t\t\t} else {\n\t\t\t\tfor ( const button of this.buttons ) {\n\t\t\t\t\tbutton.configure(\n\t\t\t\t\t\tthis.applePayConfig,\n\t\t\t\t\t\tthis.transactionInfo,\n\t\t\t\t\t\tthis.buttonAttributes\n\t\t\t\t\t);\n\t\t\t\t\tbutton.init();\n\t\t\t\t}\n\t\t\t}\n\t\t} catch ( error ) {\n\t\t\tconsole.error( 'Error during initialization:', error );\n\t\t}\n\t}\n\n\tasync fetchTransactionInfo() {\n\t\ttry {\n\t\t\tif ( ! this.contextHandler ) {\n\t\t\t\tthrow new Error( 'ContextHandler is not initialized' );\n\t\t\t}\n\t\t\treturn await this.contextHandler.transactionInfo();\n\t\t} catch ( error ) {\n\t\t\tconsole.error( 'Error fetching transaction info:', error );\n\t\t\tthrow error;\n\t\t}\n\t}\n\n\treinit() {\n\t\tfor ( const button of this.buttons ) {\n\t\t\tbutton.reinit();\n\t\t}\n\t}\n}\n\nexport default ApplePayManager;\n","import { loadCustomScript } from '@paypal/paypal-js';\nimport { loadPayPalScript } from '../../../ppcp-button/resources/js/modules/Helper/PayPalScriptLoading';\nimport ApplePayManager from './ApplepayManager';\nimport { setupButtonEvents } from '../../../ppcp-button/resources/js/modules/Helper/ButtonRefreshHelper';\n\n( function ( { buttonConfig, ppcpConfig } ) {\n\tconst namespace = 'ppcpPaypalApplepay';\n\n\tfunction bootstrapPayButton() {\n\t\tif ( ! buttonConfig || ! ppcpConfig ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst manager = new ApplePayManager(\n\t\t\tnamespace,\n\t\t\tbuttonConfig,\n\t\t\tppcpConfig\n\t\t);\n\n\t\tsetupButtonEvents( function () {\n\t\t\tmanager.reinit();\n\t\t} );\n\t}\n\n\tfunction bootstrap() {\n\t\tbootstrapPayButton();\n\t\t// Other Apple Pay bootstrapping could happen here.\n\t}\n\n\tdocument.addEventListener( 'DOMContentLoaded', () => {\n\t\tif ( ! buttonConfig || ! ppcpConfig ) {\n\t\t\t/*\n\t\t\t * No PayPal buttons present on this page, but maybe a bootstrap module needs to be\n\t\t\t * initialized. Skip loading the SDK or gateway configuration, and directly initialize\n\t\t\t * the module.\n\t\t\t */\n\t\t\tbootstrap();\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst usedInMiniCart = ppcpConfig.mini_cart_buttons_enabled;\n\t\tconst pageHasButton =\n\t\t\tnull !== document.getElementById( buttonConfig.button.wrapper );\n\n\t\t// If button wrapper is not present then there is no need to load the scripts.\n\t\t// minicart loads later?\n\t\tif ( ! usedInMiniCart && ! pageHasButton ) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet bootstrapped = false;\n\t\tlet paypalLoaded = false;\n\t\tlet applePayLoaded = false;\n\n\t\tconst tryToBoot = () => {\n\t\t\tif ( ! bootstrapped && paypalLoaded && applePayLoaded ) {\n\t\t\t\tbootstrapped = true;\n\t\t\t\tbootstrap();\n\t\t\t}\n\t\t};\n\n\t\t// Load ApplePay SDK\n\t\tloadCustomScript( { url: buttonConfig.sdk_url } ).then( () => {\n\t\t\tapplePayLoaded = true;\n\t\t\ttryToBoot();\n\t\t} );\n\n\t\t// Load PayPal\n\t\tloadPayPalScript( namespace, ppcpConfig )\n\t\t\t.then( () => {\n\t\t\t\tpaypalLoaded = true;\n\t\t\t\ttryToBoot();\n\t\t\t} )\n\t\t\t.catch( ( error ) => {\n\t\t\t\tconsole.error( 'Failed to load PayPal script: ', error );\n\t\t\t} );\n\t} );\n} )( {\n\tbuttonConfig: window.wc_ppcp_applepay,\n\tppcpConfig: window.PayPalCommerceGateway,\n} );\n","import { debounce } from '../../../../../ppcp-blocks/resources/js/Helper/debounce';\n\nconst REFRESH_BUTTON_EVENT = 'ppcp_refresh_payment_buttons';\n\n/**\n * Triggers a refresh of the payment buttons.\n * This function dispatches a custom event that the button components listen for.\n *\n * Use this function on the front-end to update payment buttons after the checkout form was updated.\n */\nexport function refreshButtons() {\n\tdocument.dispatchEvent( new Event( REFRESH_BUTTON_EVENT ) );\n}\n\n/**\n * Sets up event listeners for various cart and checkout update events.\n * When these events occur, it triggers a refresh of the payment buttons.\n *\n * @param {Function} refresh - Callback responsible to re-render the payment button.\n */\nexport function setupButtonEvents( refresh ) {\n\tconst miniCartInitDelay = 1000;\n\tconst debouncedRefresh = debounce( refresh, 50 );\n\n\t// Listen for our custom refresh event.\n\tdocument.addEventListener( REFRESH_BUTTON_EVENT, debouncedRefresh );\n\n\t// Listen for cart and checkout update events.\n\t// Note: we need jQuery here, because WooCommerce uses jQuery.trigger() to dispatch the events.\n\twindow\n\t\t.jQuery( 'body' )\n\t\t.on( 'updated_cart_totals', debouncedRefresh )\n\t\t.on( 'updated_checkout', debouncedRefresh );\n\n\t// Use setTimeout for fragment events to avoid unnecessary refresh on initial render.\n\tsetTimeout( () => {\n\t\tdocument.body.addEventListener(\n\t\t\t'wc_fragments_loaded',\n\t\t\tdebouncedRefresh\n\t\t);\n\t\tdocument.body.addEventListener(\n\t\t\t'wc_fragments_refreshed',\n\t\t\tdebouncedRefresh\n\t\t);\n\t}, miniCartInitDelay );\n}\n","export const debounce = ( callback, delayMs ) => {\n\tconst state = {\n\t\ttimeoutId: null,\n\t\targs: null,\n\t};\n\n\t/**\n\t * Cancels any pending debounced execution.\n\t */\n\tconst cancel = () => {\n\t\tif ( state.timeoutId ) {\n\t\t\twindow.clearTimeout( state.timeoutId );\n\t\t}\n\n\t\tstate.timeoutId = null;\n\t\tstate.args = null;\n\t};\n\n\t/**\n\t * Immediately executes the debounced function if there's a pending execution.\n\t * @return {void}\n\t */\n\tconst flush = () => {\n\t\t// If there's nothing pending, return early.\n\t\tif ( ! state.timeoutId ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcallback.apply( null, state.args || [] );\n\t\tcancel();\n\t};\n\n\tconst debouncedFunc = ( ...args ) => {\n\t\tcancel();\n\t\tstate.args = args;\n\t\tstate.timeoutId = window.setTimeout( flush, delayMs );\n\t};\n\n\t// Attach utility methods\n\tdebouncedFunc.cancel = cancel;\n\tdebouncedFunc.flush = flush;\n\n\treturn debouncedFunc;\n};\n"],"names":["isMergeableObject","value","isNonNullObject","stringValue","Object","prototype","toString","call","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","Symbol","for","cloneUnlessOtherwiseSpecified","options","clone","deepmerge","val","Array","isArray","defaultArrayMerge","target","source","concat","map","element","getKeys","keys","getOwnPropertySymbols","filter","symbol","propertyIsEnumerable","getEnumerableOwnPropertySymbols","propertyIsOnObject","object","property","_","arrayMerge","sourceIsArray","destination","forEach","key","hasOwnProperty","propertyIsUnsafe","customMerge","getMergeFunction","mergeObject","all","array","Error","reduce","prev","next","deepmerge_1","module","exports","isCallable","tryToString","$TypeError","TypeError","argument","isConstructor","isPossiblePrototype","$String","String","wellKnownSymbol","create","defineProperty","UNSCOPABLES","ArrayPrototype","undefined","configurable","isPrototypeOf","it","Prototype","isObject","fails","ArrayBuffer","buffer","isExtensible","$forEach","STRICT_METHOD","arrayMethodIsStrict","callbackfn","this","arguments","length","bind","toObject","callWithSafeIterationClosing","isArrayIteratorMethod","lengthOfArrayLike","createProperty","getIterator","getIteratorMethod","$Array","arrayLike","O","IS_CONSTRUCTOR","argumentsLength","mapfn","mapping","result","step","iterator","iteratorMethod","index","done","toIndexedObject","toAbsoluteIndex","createMethod","IS_INCLUDES","$this","el","fromIndex","includes","indexOf","uncurryThis","IndexedObject","arraySpeciesCreate","push","TYPE","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","that","specificCreate","self","boundFunction","some","every","find","findIndex","filterReject","V8_VERSION","SPECIES","METHOD_NAME","constructor","foo","Boolean","method","DESCRIPTORS","getOwnPropertyDescriptor","SILENT_ON_NON_WRITABLE_LENGTH_SET","writable","error","slice","arraySlice","floor","Math","sort","comparefn","j","i","middle","left","right","llength","rlength","lindex","rindex","originalArray","C","arraySpeciesConstructor","anObject","iteratorClose","fn","ENTRIES","ITERATOR","SAFE_CLOSING","called","iteratorWithReturn","from","exec","SKIP_CLOSING","ITERATION_SUPPORT","stringSlice","TO_STRING_TAG_SUPPORT","classofRaw","TO_STRING_TAG","$Object","CORRECT_ARGUMENTS","tag","tryGet","callee","defineBuiltIns","getWeakData","anInstance","isNullOrUndefined","iterate","ArrayIterationModule","hasOwn","InternalStateModule","setInternalState","set","internalStateGetterFor","getterFor","splice","id","uncaughtFrozenStore","state","frozen","UncaughtFrozenStore","entries","findUncaughtFrozen","store","get","entry","has","getConstructor","wrapper","CONSTRUCTOR_NAME","ADDER","Constructor","iterable","type","AS_ENTRIES","getInternalState","define","data","add","$","globalThis","isForced","defineBuiltIn","InternalMetadataModule","checkCorrectnessOfIteration","setToStringTag","inheritIfRequired","common","IS_WEAK","NativeConstructor","NativePrototype","exported","fixMethod","KEY","uncurriedNativeMethod","enable","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","dummy","clear","global","forced","setStrong","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","exceptions","f","F","getPrototypeOf","createPropertyDescriptor","bitmap","enumerable","ordinaryToPrimitive","hint","makeBuiltIn","name","descriptor","getter","setter","defineGlobalProperty","simple","unsafe","nonConfigurable","nonWritable","src","P","document","EXISTS","createElement","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","documentCreateElement","DOMTokenListPrototype","firefox","match","UA","test","userAgent","Pebble","ENVIRONMENT","navigator","version","process","Deno","versions","v8","split","webkit","classof","userAgentStartsWith","string","Bun","window","$Error","replace","TEST","stack","V8_OR_CHAKRA_STACK_ENTRY","IS_V8_OR_CHAKRA_STACK","dropEntries","prepareStackTrace","createNonEnumerableProperty","clearErrorStack","ERROR_STACK_INSTALLABLE","captureStackTrace","copyConstructorProperties","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","sham","preventExtensions","NATIVE_BIND","FunctionPrototype","Function","apply","Reflect","aCallable","$Function","join","factories","partArgs","args","argsLength","list","construct","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","namespace","obj","getMethod","Iterators","usingIterator","replacer","rawLength","keysLength","root","V","func","check","g","a","b","console","getBuiltIn","setPrototypeOf","Wrapper","NewTarget","NewTargetPrototype","functionToString","inspectSource","cause","hiddenKeys","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","uid","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","getOwnPropertyNames","fastKey","onFreeze","NATIVE_WEAK_MAP","shared","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","metadata","facade","STATE","enforce","documentAll","noop","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","replacement","feature","detection","normalize","POLYFILL","NATIVE","toLowerCase","USE_SYMBOL_AS_UID","$Symbol","Result","stopped","ResultPrototype","unboundFunction","iterFn","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","kind","innerResult","innerError","IteratorPrototype","returnThis","IteratorConstructor","NAME","ENUMERABLE_NEXT","createIterResultObject","ITERATOR_HELPER","WRAP_FOR_VALID_ITERATOR","createIteratorProxyPrototype","nextHandler","returnMethod","inner","WrapForValidIteratorPrototype","IteratorHelperPrototype","IteratorProxy","record","counter","IS_PURE","FunctionName","createIteratorConstructor","IteratorsCore","PROPER_FUNCTION_NAME","CONFIGURABLE_FUNCTION_NAME","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","Iterable","DEFAULT","IS_SET","FORCED","CurrentIteratorPrototype","methods","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","values","proto","PrototypeOfArrayIteratorPrototype","arrayIterator","toLength","enforceInternalState","CONFIGURABLE_LENGTH","TEMPLATE","arity","ceil","trunc","x","n","notify","toggle","node","promise","then","safeGetBuiltIn","macrotask","Queue","IS_IOS","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","IS_NODE","MutationObserver","WebKitMutationObserver","Promise","microtask","queue","flush","parent","domain","exit","head","enter","resolve","nextTick","createTextNode","observe","characterData","PromiseCapability","reject","$$resolve","$$reject","$default","trim","whitespaces","$parseInt","parseInt","hex","radix","S","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","$assign","assign","A","B","alphabet","chr","T","activeXDocument","definePropertiesModule","enumBugKeys","html","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","style","display","appendChild","contentWindow","open","Properties","V8_PROTOTYPE_DEFINE_BUG","defineProperties","props","IE8_DOM_DEFINE","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","$getOwnPropertyNames","windowNames","getWindowNames","internalObjectKeys","CORRECT_PROTOTYPE_GETTER","ObjectPrototype","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","names","$propertyIsEnumerable","NASHORN_BUG","uncurryThisAccessor","requireObjectCoercible","aPossiblePrototype","CORRECT_SETTER","__proto__","input","pref","valueOf","NativePromiseConstructor","NativePromisePrototype","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","FakePromise","CONSTRUCTOR","REJECTION_EVENT","newPromiseCapability","promiseCapability","Target","Source","tail","item","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","nativeExec","RegExp","patchedExec","charAt","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","re","str","raw","groups","sticky","flags","charsAdded","strCopy","multiline","hasIndices","ignoreCase","dotAll","unicode","unicodeSets","regExpFlags","RegExpPrototype","R","$RegExp","MISSED_STICKY","defineBuiltInAccessor","TAG","SHARED","mode","copyright","license","aConstructor","defaultConstructor","toIntegerOrInfinity","charCodeAt","CONVERT_TO_STRING","pos","first","second","position","size","codeAt","ltrim","rtrim","start","end","SymbolPrototype","TO_PRIMITIVE","NATIVE_SYMBOL","keyFor","$location","defer","channel","port","validateArgumentsLength","setImmediate","clearImmediate","Dispatch","MessageChannel","ONREADYSTATECHANGE","location","run","runner","eventListener","event","globalPostMessageDefer","postMessage","protocol","host","handler","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","max","min","integer","number","len","isSymbol","exoticToPrim","toPrimitive","postfix","random","url","URL","params","searchParams","params2","URLSearchParams","pathname","toJSON","href","username","hash","passed","required","path","wrappedWellKnownSymbolModule","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","proxyAccessor","normalizeStringArgument","installErrorCause","installErrorStack","FULL_NAME","IS_AGGREGATE_ERROR","STACK_TRACE_LIMIT","OPTIONS_POSITION","ERROR_NAME","OriginalError","OriginalErrorPrototype","BaseError","WrappedError","message","doesNotExceedSafeInteger","arrayMethodHasSpeciesSupport","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","arg","k","E","$filter","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","addToUnscopables","defineIterator","ARRAY_ITERATOR","iterated","Arguments","setArrayLength","properErrorOnNonWritableLength","argCount","nativeReverse","reverse","nativeSlice","HAS_SPECIES_SUPPORT","fin","deletePropertyOrThrow","internalSort","FF","IE_OR_EDGE","V8","WEBKIT","nativeSort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","code","fromCharCode","v","itemsLength","items","arrayLength","y","getSortCompare","Date","NaN","toISOString","pv","isFinite","dateToPrimitive","DatePrototype","wrapErrorConstructorWithCause","WEB_ASSEMBLY","WebAssembly","exportGlobalErrorCauseWrapper","exportWebAssemblyErrorCauseWrapper","init","NativeIterator","defineIteratorPrototypeAccessor","Iterator","getIteratorDirect","createIteratorProxy","predicate","real","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","offset","stringify","space","JSON","thisNumberValue","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","NumberWrapper","primValue","third","maxCode","digits","toNumber","toNumeric","wrap","Number","fromEntries","nativeGetOwnPropertyDescriptor","getOwnPropertyDescriptors","$getOwnPropertySymbols","nativeGetPrototypeOf","nativeKeys","newPromiseCapabilityModule","perform","capability","$promiseResolve","remaining","alreadyCalled","onRejected","Internal","OwnPromiseCapability","nativeThen","setSpecies","speciesConstructor","task","hostReportErrors","PromiseConstructorDetection","PROMISE","NATIVE_PROMISE_SUBCLASSING","getInternalPromiseState","PromiseConstructor","PromisePrototype","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","ok","fail","rejection","onHandleUnhandled","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","emit","unwrap","internalReject","internalResolve","executor","onFulfilled","PromiseWrapper","race","r","capabilityReject","promiseResolve","PromiseConstructorWrapper","CHECK_WRAPPER","nativeConstruct","NEW_TARGET_BUG","ARGS_BUG","newTarget","$args","isDataDescriptor","propertyKey","receiver","execCalled","DELEGATES_TO_EXEC","nativeTest","$toString","getRegExpFlags","TO_STRING","nativeToString","NOT_GENERIC","INCORRECT_NAME","$RangeError","RangeError","$fromCodePoint","fromCodePoint","elements","STRING_ITERATOR","point","defineWellKnownSymbol","nativeObjectCreate","getOwnPropertyNamesExternal","defineSymbolToPrimitive","HIDDEN","SYMBOL","QObject","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","fallbackDefineProperty","ObjectPrototypeDescriptor","setSymbolDescriptor","description","$defineProperties","properties","IS_OBJECT_PROTOTYPE","useSetter","useSimple","NativeSymbol","EmptyStringDescriptionStore","SymbolWrapper","thisSymbolValue","symbolDescriptiveString","regexp","desc","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","InternalWeakMap","collection","collectionWeak","isFrozen","isSealed","freeze","seal","IS_IE11","$WeakMap","WeakMapPrototype","nativeSet","nativeDelete","nativeHas","nativeGet","frozenArray","arrayIntegrityLevel","DOMIterables","handlePrototype","CollectionPrototype","COLLECTION_NAME","ArrayIteratorMethods","ArrayValues","USE_NATIVE_URL","arraySort","URL_SEARCH_PARAMS","URL_SEARCH_PARAMS_ITERATOR","getInternalParamsState","getInternalIteratorState","nativeFetch","NativeRequest","Headers","RequestPrototype","HeadersPrototype","encodeURIComponent","shift","plus","VALID_HEX","parseHexOctet","substr","getLeadingOnes","octet","count","mask","utf8Decode","octets","codePoint","decode","decodedChar","byteSequenceLength","sequenceIndex","nextByte","replacements","serialize","URLSearchParamsIterator","URLSearchParamsState","parseObject","parseQuery","bindURL","update","entryIterator","entryNext","query","attribute","attributes","updateURL","URLSearchParamsConstructor","URLSearchParamsPrototype","append","$value","getAll","found","callback","headersHas","headersSet","wrapRequestOptions","headers","body","fetch","RequestConstructor","Request","getState","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","loadCustomScript","PromisePonyfill","validateArguments","_a","onSuccess","onError","newScript","defaultError","response","status","text","parseMessage","originalErrorText","parseErrorMessage","catch","err","setAttribute","createScriptElement","onerror","onload","insertBefore","firstElementChild","sdkBaseUrl","queryString","optionsWithStringIndex","accumulator","indexOfMatch","substring","dataAttributes","queryParams","existingWindowNamespace","currentScript","querySelector","nextScript","currentScriptClone","cloneNode","dataset","uidAuto","isExactMatch","newWindowNamespace","__esModule","d","definition","o","e","prop","dataClientIdAttributeHandler","scriptOptions","config","errorCallback","endpoint","credentials","nonce","res","json","token","validateToken","user","getTime","expiration","sessionStorage","setItem","loadScript","paypal","widgetBuilder","buttons","Map","messages","renderEventName","ppcpWidgetBuilderStatus","log","jQuery","off","on","renderAll","setPaypal","trigger","registerButtons","sanitizeWrapper","toKey","renderButtons","hasRendered","btn","Buttons","isEligible","delete","buildWrapperTarget","render","renderAllButtons","registerMessages","renderMessages","amount","Messages","renderAllMessages","selector","hasChildNodes","$wrapper","itemClass","$item","randomUUID","crypto","getRandomValues","rnds8","Uint8Array","rng","byteToHex","buf","rnds","arr","unsafeStringify","processConfig","output","toUpperCase","keysToCamelCase","url_params","script_attributes","merge","axoOptions","sdkClientToken","axo","sdk_client_token","uuid","uuidv4","is_logged","processAxoConfig","userIdTokenOptions","userIdToken","save_payment_methods","id_token","processUserIdToken","loadedScripts","scriptPromises","ppcpResources","ButtonModuleWatcher","contextBootstrapRegistry","contextBootstrapWatchers","watchContextBootstrap","callable","registerContextBootstrap","context","createAppleErrors","errors","_step","errorList","_iterator","_createForOfIteratorHelper","s","_error$contactField","contactField","_error$code","_error$message","appleError","ApplePayError","FormValidator","validate","form","formData","FormData","form_encoded","success","refresh","genericErrorText","genericError","appendPreparedErrorMessageElement","errorMessageElement","_getMessageContainer","replaceWith","_addMessage","_scrollToMessages","texts","t","currentHtml","outerHTML","messageContainer","messageNode","_prepareMessageElement","scroll_to_notices","prepend","li","innerHTML","remove","ConsoleLogger","prefixes","enabled","label","groupEnd","ApmButtons","selectorInContainer","containers","reloadContainers","resize","ev","observeElementsCallback","childList","subtree","mutationsList","observer","observeSelector","shouldReload","mutation","addedNodes","matches","each","$el","is","container","$container","width","removeClass","addClass","$firstElement","children","css","height","margin","round","PaymentMethods","PaymentContext","Cart","Checkout","BlockCart","BlockCheckout","Product","MiniCart","PayNow","Preview","Blocks","Gateways","getCurrentPaymentMethod","ButtonEvents","INVALIDATE","RENDER","REDRAW","isValidButtonEvent","observeButtonEvent","paymentMethod","fullEventName","getElement","selectorOrElement","PaymentButton","static","createButton","externalHandler","buttonConfig","ppcpConfig","contextHandler","buttonAttributes","buttonInstances","getInstances","collectionKey","instanceKey","methodId","button","getWrappers","getStyles","isDebugging","is_debug","methodName","addToDebuggingCollection","ppcpPaymentButtonList","applyButtonStyles","registerValidationRules","apmButtonsInit","ppcpApmButtons","initEventListeners","cssClass","isInitialized","requiresShipping","shippingAllowed","wrappers","Default","wrapperId","isSeparateGateway","Gateway","Block","isInsideClassicGateway","is_wc_gateway_enabled","isCurrentGateway","currentMethod","isPreview","newState","triggerRedraw","isVisible","isEnabled","wrapperElement","getElementById","ppcpButtonWrapperSelector","mini_cart_wrapper","isPresent","HTMLElement","isButtonAttached","parentElement","tagName","logGroup","errorMessage","shouldPass","invalidIf","validIf","validateConfiguration","silent","configure","reinit","showPaymentGateway","Event","dispatchButtonEvent","syncProductButtonsState","ppcpButton","offsetWidth","offsetHeight","getClientRects","hasClass","isDisabled","parentMethod","applyWrapperStyles","addButton","styleSelector","wrapperSelector","paymentMethodLi","querySelectorAll","shape","classItem","newClasses","setEnabled","triggerEnabled","action","stopImmediatePropagation","$form","triggerDisabled","insertButton","removeButton","Exception","_regeneratorRuntime","c","asyncIterator","u","toStringTag","Generator","Context","makeInvokeMethod","tryCatch","h","l","GeneratorFunction","GeneratorFunctionPrototype","p","defineIteratorMethods","_invoke","AsyncIterator","invoke","_typeof","__await","callInvokeWithMethodAndArg","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","mark","awrap","async","pop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","_asyncToGenerator","_next","_throw","_objectSpread","_defineProperty","_defineProperties","_toPropertyKey","_isNativeReflectConstruct","_superPropGet","_get","_getPrototypeOf","_superPropBase","_setPrototypeOf","_classPrivateFieldInitSpec","_checkPrivateRedeclaration","_toPrimitive","_classPrivateFieldGet","_assertClassBrand","_classPrivateFieldSet","_formData","_updatedContactInfo","_selectedShippingMethod","_initialPaymentRequest","_transactionInfo","_applePayConfig","_product","_configureStartTime","_maxWaitTime","_storedButtonAttributes","_ApplePayButton_brand","WeakSet","ApplePayButton","_PaymentButton","_this","_classCallCheck","ReferenceError","_assertThisInitialized","_possibleConstructorReturn","_callSuper","onPaymentAuthorized","onButtonClick","quantity","_inherits","_this$buttonConfig$pr","product","needShipping","shouldUpdateButtonWithFormData","newTransactionInfo","_this2","_this2$buttonAttribut","_this2$buttonAttribut2","borderRadius","_this2$contextHandler","validateContext","apiConfig","transactionInfo","_this3","checkEligibility","_window$ApplePaySessi","ApplePaySession","canMakePayments","paymentRequest","session","onshippingmethodselected","onShippingMethodSelected","onshippingcontactselected","onShippingContactSelected","onvalidatemerchant","onValidateMerchant","onpaymentauthorized","begin","_this$buttonAttribute","_this$buttonAttribute2","setProperty","_this$buttonAttribute3","_classPrivateFieldGet2","_this4","_this$style","color","language","evt","preventDefault","_onButtonClick","_callee","checkoutFormSelector","errorHandler","formValidator","_context","ppcpFundingSource","ErrorHandler","PayPalCommerceGateway","labels","generic","updateRequestDataWithForm","applePaySession","early_checkout_validation_enabled","ajax","validate_checkout","abort","t0","_this$buttonConfig","preferences","checkout_data_mode","billingContact","fillBillingContact","shippingContact","fillShippingContact","rate","chosenShippingMethods","shippingMethods","shippingPackages","shippingPackage","shippingMethod","detail","cost_str","identifier","_step2","_iterator2","applepayConfig","baseRequest","countryCode","merchantCapabilities","supportedNetworks","requiredShippingContactFields","requiredBillingContactFields","shouldCompletePaymentWithContextHandler","currencyCode","shop","total","totalLabel","totalPrice","_document$querySelect","products","isValid","ajax_url","validation","_this5","applePayValidateMerchantEvent","Applepay","validateMerchant","validationUrl","validationURL","validateResult","completeMerchantValidation","merchantSession","adminValidation","validateError","_this6","ajaxUrl","getShippingMethodData","applePayShippingMethodUpdate","newShippingMethods","completeShippingMethodSelection","jqXHR","textStatus","errorThrown","warn","_this7","getShippingContactData","applePayShippingContactUpdate","completeShippingContactSelection","productId","refreshProductContextData","product_id","caller_page","product_quantity","simplified_contact","need_shipping","_classPrivateFieldGet3","_classPrivateFieldGet4","_classPrivateFieldGet5","_classPrivateFieldGet6","_classPrivateFieldGet7","_classPrivateFieldGet8","shipping_method","hasValidContactInfo","_this8","_ref","_callee3","processInWooAndCapture","confirmOrderResponse","approveFailed","authorizationResult","_context3","_ref2","_callee2","_context2","_this8$buttonConfig$p","billing_contact","shipping_contact","requestData","payment","funding_source","_wp_http_referer","paypal_order_id","_x2","createOrder","confirmOrder","orderId","approveApplePayPayment","approveOrder","orderID","restart","order","completePayment","STATUS_FAILURE","STATUS_SUCCESS","redirect","t1","_x","_extractContactInfo","shipping_first_name","_buttonConfig$button","_buttonConfig$button2","_ppcpConfig$button","defaultId","miniCartId","smartButtonId","blockId","gatewayId","sanitize","SmartButton","combineWrapperIds","_ref3","buttonStyle","lang","buttonStyles","mini_cart_style","combineStyles","primaryPrefix","fallbackPrefix","getValue","givenName","familyName","emailAddress","phoneNumber","addressLines","locality","postalCode","administrativeArea","variations","extra","booking","super","onApprove","actions","canCreateOrder","vaultingEnabled","paymentSource","payload","approve_order","order_id","should_create_wc_order","payer","approveData","orderReceivedUrl","order_received_url","FIELD_MAP","normalizePayerDetails","details","email_address","phone","surname","given_name","address","country_code","address_line_1","address_line_2","admin_area_1","admin_area_2","postal_code","payerData","_PpcpPayerSessionDetails","getElementValue","setNestedValue","phone_type","phone_number","national_number","getCheckoutBillingDetails","firstPayer","secondPayer","mergeNestedObjects","mergePayerDetails","cartItemKeys","getEndpoint","wc_cart_fragments_params","wc_ajax_url","addFromPurchaseUnits","purchaseUnits","purchaseUnit","cart_item_key","removeFromCart","numRequests","numResponses","tryToResolve","cartItemKey","FormHelper","getPrefixedFields","formElement","prefix","fields","startsWith","getFilteredFields","exactFilters","prefixFilters","counters","prefixFilter","updateCart","cartHelper","subscriptionsConfiguration","subscription_plan","createSubscription","subscription","plan_id","approve_subscription","subscription_id","subscriptionID","getSubscriptionProducts","change_cart","extraFields","configuration","refreshMiniCart","isBookingProduct","onCancel","cleanCart","getProducts","BookingProduct","isGroupedProduct","elementName","getAttribute","qty","purchase_units","CartHelper","bnCode","bn_codes","create_order","bn_code","payment_method","updateCartOptions","hasVariations","contains","simulate","onResolve","resolved","subscription_plan_id","BaseHandler","_this$ppcpConfig","_this$ppcpConfig2","_this$ppcpConfig3","data_client_id","paypal_subscriptions_enabled","can_save_vault_token","_this$ppcpConfig4","locations_with_subscription_product","cart","isVaultV3Mode","cart_script_params","separator","currency_code","totalPriceStatus","total_str","chosen_shipping_methods","shipping_packages","actionHandler","CartActionHandler","_BaseHandler","SingleProductHandler","SingleProductActionHandler","has_subscriptions","SimulateCart","simulate_cart","keepShipping","UpdateCart","CartHandler","setTarget","block","overlayCSS","background","opacity","unblock","w","m","q","D","G","H","J","throw","I","K","L","Blob","M","N","File","Q","XMLHttpRequest","send","U","sendBeacon","Element","W","lastModified","escape","X","disabled","files","selected","checked","_asNative","_blob","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","ownerDocument","Y","setRequestHeader","spinner","click","Spinner","formSelector","createaccount","fundingSource","savePaymentMethod","save_payment_method","domParser","DOMParser","parseFromString","issue","custom_id","CheckoutHandler","CheckoutActionHandler","CartBlockHandler","CheckoutBlockHandler","MiniCartHandler","PreviewHandler","PayNowHandler","payorder","pay_now","ContextHandlerFactory","ApplePayManager","applePayConfig","buttonModuleWatcher","bootstrap","initButton","_init","_button","fetchTransactionInfo","_fetchTransactionInfo","manager","debouncedRefresh","debounce","timeoutId","cancel","clearTimeout","debouncedFunc","setupButtonEvents","bootstrapPayButton","usedInMiniCart","mini_cart_buttons_enabled","pageHasButton","bootstrapped","paypalLoaded","applePayLoaded","tryToBoot","sdk_url","dataClientIdResult","set_attribute","vault_v3_enabled","handleDataClientIdAttribute","scriptPromise","script","finally","loadPayPalScript","wc_ppcp_applepay"],"sourceRoot":""}