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AAQzU,EAAeC,IAEzDA,EAAO6qB,gBAAgBwH,gBACK,IAA5BryB,EAAOsyB,iBAEA,IAAIl3C,SAAS,CAAES,EAASM,KAC9B2jB,EACCC,EACAC,EAAO6qB,gBACL9pB,IACDC,EAAcW,UAAWZ,GACzBllB,EAASklB,EAAQ,GAElB5kB,EACA,IAGI,KAyB0Bo2C,CAChCxyB,EACAC,GAED,GAAKoyB,EACJ,OAAOA,EAGR,MAAMI,EAAgB,IAAIp3C,SAAS,CAAES,EAASM,KAC7C2kB,EAAYf,GACVrlB,MAAQ+3C,IACRzxB,EAAcW,UAAW8wB,GACzBttB,EAAc79B,IAAKgL,EAAWmgD,GAC9Bp/C,QAAQiuB,IAAK,gCAAiChvB,KAC9CuJ,EAAS42C,EAAQ,IAEjB30B,OAASz5B,IACTgP,QAAQhP,MACP,wCAAyCiO,IACzCjO,GAED8X,EAAQ9X,EAAO,IAEfquD,SAAS,KACTttB,EAAe9C,OAAQhwB,EAAW,GAChC,IAIL,OADA8yB,EAAe99B,IAAKgL,EAAWkgD,GACxBA,CAAa,EuCVnBG,CAAkBrgD,EAAW+5B,GAC3B3xB,MAAM,WACNs3C,GAAe,EACfE,GACD,IACCp0B,OAAO,SAAEz5B,GACTgP,QAAQhP,MAAO,iCAAkCA,EAClD,GA3BD,CAVA,MAHCwsD,GAyCF,GACA,CAzED,CAyEK,CACJzkB,aAAcv8B,OAAO+iD,iBACrBvmB,WAAYx8B,OAAO6qC","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('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError\nvar $RegExp = globalThis.RegExp;\n\nmodule.exports = fails(function () {\n  var re = $RegExp('(?<a>b)', 'g');\n  return re.exec('b').groups.a !== 'b' ||\n    'b'.replace(re, '$<a>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<Object>} 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<void>} 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<Object>} 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<void>} 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\t\tconst entryKey = this.toKey( wrapper );\n\n\t\tif ( ! this.buttons.has( entryKey ) ) {\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( entryKey );\n\t\tconst btn = this.paypal.Buttons( entry.options );\n\n\t\tif ( ! btn.isEligible() ) {\n\t\t\tthis.buttons.delete( entryKey );\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 ] 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( `<div class=\"${ itemClass }\"></div>` );\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 invalid');\n    }\n    return uuid;\n}\nexport default stringify;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5naWZ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3N0cmluZ2lmeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFFBQVEsTUFBTSxlQUFlLENBQUM7QUFNckMsTUFBTSxTQUFTLEdBQWEsRUFBRSxDQUFDO0FBRS9CLEtBQUssSUFBSSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsR0FBRyxHQUFHLEVBQUUsRUFBRSxDQUFDLEVBQUUsQ0FBQztJQUM3QixTQUFTLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLEtBQUssQ0FBQyxDQUFDLFFBQVEsQ0FBQyxFQUFFLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUNwRCxDQUFDO0FBRUQsTUFBTSxVQUFVLGVBQWUsQ0FBQyxHQUFlLEVBQUUsTUFBTSxHQUFHLENBQUM7SUFNekQsT0FBTyxDQ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sR0FBRyxFQUFFLENBQUMsQ0FBQztRQUMzQixTQUFTLENBQUMsR0FBRyxDQUFDLE1BQU0sR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUM1QixDQUFDLFdBQVcsRUFBRSxDQUFDO0FBQ2xCLENBQUM7QUFFRCxTQUFTLFNBQVMsQ0FBQyxHQUFlLEVBQUUsTUFBTSxHQUFHLENBQUM7SUFDNUMsTUFBTSxJQUFJLEdBQUcsZUFBZSxDQUFDLEdBQUcsRUFBRSxNQUFNLENBQUMsQ0FBQztJQU8xQyxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUM7UUFDcEIsTUFBTSxTQUFTLENBQUMsNkJBQTZCLENBQUMsQ0FBQztJQUNqRCxDQUFDO0lBRUQsT0FBTyxJQUFJLENBQUM7QUFDZCxDQUFDO0FBRUQsZUFBZSxTQUFTLENBQUMifQ==","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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdjQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxNQUFNLE1BQU0sYUFBYSxDQUFDO0FBQ2pDLE9BQU8sR0FBRyxNQUFNLFVBQVUsQ0FBQztBQUMzQixPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0J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4 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<any, any>} 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<unknown>}\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<unknown>}\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 <https://jimmy.warting.se/opensource> */\n;(function(){var h;function l(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}var m=\"function\"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};\nfunction n(a){a=[\"object\"==typeof globalThis&&globalThis,a,\"object\"==typeof window&&window,\"object\"==typeof self&&self,\"object\"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error(\"Cannot find global object\");}var q=n(this);function r(a,b){if(b)a:{var c=q;a=a.split(\".\");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&m(c,a,{configurable:!0,writable:!0,value:b})}}\nr(\"Symbol\",function(a){function b(f){if(this instanceof b)throw new TypeError(\"Symbol is not a constructor\");return new c(d+(f||\"\")+\"_\"+e++,f)}function c(f,g){this.A=f;m(this,\"description\",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=function(){return this.A};var d=\"jscomp_symbol_\"+(1E9*Math.random()>>>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<b.length;c++){var d=q[b[c]];\"function\"===typeof d&&\"function\"!=typeof d.prototype[a]&&m(d.prototype,a,{configurable:!0,writable:!0,value:function(){return u(l(this))}})}return a});function u(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}\nfunction v(a){var b=\"undefined\"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:l(a)}}var w;if(\"function\"==typeof Object.setPrototypeOf)w=Object.setPrototypeOf;else{var y;a:{var z={a:!0},A={};try{A.__proto__=z;y=A.a;break a}catch(a){}y=!1}w=y?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+\" is not extensible\");return a}:null}var B=w;function C(){this.m=!1;this.j=null;this.v=void 0;this.h=1;this.u=this.C=0;this.l=null}\nfunction D(a){if(a.m)throw new TypeError(\"Generator is already running\");a.m=!0}C.prototype.o=function(a){this.v=a};C.prototype.s=function(a){this.l={D:a,F:!0};this.h=this.C||this.u};C.prototype.return=function(a){this.l={return:a};this.h=this.u};function E(a,b){a.h=3;return{value:b}}function F(a){this.g=new C;this.G=a}F.prototype.o=function(a){D(this.g);if(this.g.j)return G(this,this.g.j.next,a,this.g.o);this.g.o(a);return H(this)};\nfunction I(a,b){D(a.g);var c=a.g.j;if(c)return G(a,\"return\"in c?c[\"return\"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return H(a)}F.prototype.s=function(a){D(this.g);if(this.g.j)return G(this,this.g.j[\"throw\"],a,this.g.o);this.g.s(a);return H(this)};\nfunction G(a,b,c,d){try{var e=b.call(a.g.j,c);if(!(e instanceof Object))throw new TypeError(\"Iterator result \"+e+\" is not an object\");if(!e.done)return a.g.m=!1,e;var f=e.value}catch(g){return a.g.j=null,a.g.s(g),H(a)}a.g.j=null;d.call(a.g,f);return H(a)}function H(a){for(;a.g.h;)try{var b=a.G(a.g);if(b)return a.g.m=!1,{value:b.value,done:!1}}catch(c){a.g.v=void 0,a.g.s(c)}a.g.m=!1;if(a.g.l){b=a.g.l;a.g.l=null;if(b.F)throw b.D;return{value:b.return,done:!0}}return{value:void 0,done:!0}}\nfunction J(a){this.next=function(b){return a.o(b)};this.throw=function(b){return a.s(b)};this.return=function(b){return I(a,b)};this[Symbol.iterator]=function(){return this}}function K(a,b){b=new J(new F(b));B&&a.prototype&&B(b,a.prototype);return b}function L(a,b){a instanceof String&&(a+=\"\");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}\nr(\"Array.prototype.entries\",function(a){return a?a:function(){return L(this,function(b,c){return[b,c]})}});\nif(\"undefined\"!==typeof Blob&&(\"undefined\"===typeof FormData||!FormData.prototype.keys)){var M=function(a,b){for(var c=0;c<a.length;c++)b(a[c])},N=function(a){return a.replace(/\\r?\\n|\\r/g,\"\\r\\n\")},O=function(a,b,c){if(b instanceof Blob){c=void 0!==c?String(c+\"\"):\"string\"===typeof b.name?b.name:\"blob\";if(b.name!==c||\"[object Blob]\"===Object.prototype.toString.call(b))b=new File([b],c);return[String(a),b]}return[String(a),String(b)]},P=function(a,b){if(a.length<b)throw new TypeError(b+\" argument required, but only \"+\na.length+\" present.\");},Q=\"object\"===typeof globalThis?globalThis:\"object\"===typeof window?window:\"object\"===typeof self?self:this,R=Q.FormData,S=Q.XMLHttpRequest&&Q.XMLHttpRequest.prototype.send,T=Q.Request&&Q.fetch,U=Q.navigator&&Q.navigator.sendBeacon,V=Q.Element&&Q.Element.prototype,W=Q.Symbol&&Symbol.toStringTag;W&&(Blob.prototype[W]||(Blob.prototype[W]=\"Blob\"),\"File\"in Q&&!File.prototype[W]&&(File.prototype[W]=\"File\"));try{new File([],\"\")}catch(a){Q.File=function(b,c,d){b=new Blob(b,d||{});\nObject.defineProperties(b,{name:{value:c},lastModified:{value:+(d&&void 0!==d.lastModified?new Date(d.lastModified):new Date)},toString:{value:function(){return\"[object File]\"}}});W&&Object.defineProperty(b,W,{value:\"File\"});return b}}var escape=function(a){return a.replace(/\\n/g,\"%0A\").replace(/\\r/g,\"%0D\").replace(/\"/g,\"%22\")},X=function(a){this.i=[];var b=this;a&&M(a.elements,function(c){if(c.name&&!c.disabled&&\"submit\"!==c.type&&\"button\"!==c.type&&!c.matches(\"form fieldset[disabled] *\"))if(\"file\"===\nc.type){var d=c.files&&c.files.length?c.files:[new File([],\"\",{type:\"application/octet-stream\"})];M(d,function(e){b.append(c.name,e)})}else\"select-multiple\"===c.type||\"select-one\"===c.type?M(c.options,function(e){!e.disabled&&e.selected&&b.append(c.name,e.value)}):\"checkbox\"===c.type||\"radio\"===c.type?c.checked&&b.append(c.name,c.value):(d=\"textarea\"===c.type?N(c.value):c.value,b.append(c.name,d))})};h=X.prototype;h.append=function(a,b,c){P(arguments,2);this.i.push(O(a,b,c))};h.delete=function(a){P(arguments,\n1);var b=[];a=String(a);M(this.i,function(c){c[0]!==a&&b.push(c)});this.i=b};h.entries=function b(){var c,d=this;return K(b,function(e){1==e.h&&(c=0);if(3!=e.h)return c<d.i.length?e=E(e,d.i[c]):(e.h=0,e=void 0),e;c++;e.h=2})};h.forEach=function(b,c){P(arguments,1);for(var d=v(this),e=d.next();!e.done;e=d.next()){var f=v(e.value);e=f.next().value;f=f.next().value;b.call(c,f,e,this)}};h.get=function(b){P(arguments,1);var c=this.i;b=String(b);for(var d=0;d<c.length;d++)if(c[d][0]===b)return c[d][1];\nreturn null};h.getAll=function(b){P(arguments,1);var c=[];b=String(b);M(this.i,function(d){d[0]===b&&c.push(d[1])});return c};h.has=function(b){P(arguments,1);b=String(b);for(var c=0;c<this.i.length;c++)if(this.i[c][0]===b)return!0;return!1};h.keys=function c(){var d=this,e,f,g,k,p;return K(c,function(t){1==t.h&&(e=v(d),f=e.next());if(3!=t.h){if(f.done){t.h=0;return}g=f.value;k=v(g);p=k.next().value;return E(t,p)}f=e.next();t.h=2})};h.set=function(c,d,e){P(arguments,2);c=String(c);var f=[],g=O(c,\nd,e),k=!0;M(this.i,function(p){p[0]===c?k&&(k=!f.push(g)):f.push(p)});k&&f.push(g);this.i=f};h.values=function d(){var e=this,f,g,k,p,t;return K(d,function(x){1==x.h&&(f=v(e),g=f.next());if(3!=x.h){if(g.done){x.h=0;return}k=g.value;p=v(k);p.next();t=p.next().value;return E(x,t)}g=f.next();x.h=2})};X.prototype._asNative=function(){for(var d=new R,e=v(this),f=e.next();!f.done;f=e.next()){var g=v(f.value);f=g.next().value;g=g.next().value;d.append(f,g)}return d};X.prototype._blob=function(){var d=\"----formdata-polyfill-\"+\nMath.random(),e=[],f=\"--\"+d+'\\r\\nContent-Disposition: form-data; name=\"';this.forEach(function(g,k){return\"string\"==typeof g?e.push(f+escape(N(k))+('\"\\r\\n\\r\\n'+N(g)+\"\\r\\n\")):e.push(f+escape(N(k))+('\"; filename=\"'+escape(g.name)+'\"\\r\\nContent-Type: '+(g.type||\"application/octet-stream\")+\"\\r\\n\\r\\n\"),g,\"\\r\\n\")});e.push(\"--\"+d+\"--\");return new Blob(e,{type:\"multipart/form-data; boundary=\"+d})};X.prototype[Symbol.iterator]=function(){return this.entries()};X.prototype.toString=function(){return\"[object FormData]\"};\nV&&!V.matches&&(V.matches=V.matchesSelector||V.mozMatchesSelector||V.msMatchesSelector||V.oMatchesSelector||V.webkitMatchesSelector||function(d){d=(this.document||this.ownerDocument).querySelectorAll(d);for(var e=d.length;0<=--e&&d.item(e)!==this;);return-1<e});W&&(X.prototype[W]=\"FormData\");if(S){var Y=Q.XMLHttpRequest.prototype.setRequestHeader;Q.XMLHttpRequest.prototype.setRequestHeader=function(d,e){Y.call(this,d,e);\"content-type\"===d.toLowerCase()&&(this.B=!0)};Q.XMLHttpRequest.prototype.send=\nfunction(d){d instanceof X?(d=d._blob(),this.B||this.setRequestHeader(\"Content-Type\",d.type),S.call(this,d)):S.call(this,d)}}T&&(Q.fetch=function(d,e){e&&e.body&&e.body instanceof X&&(e.body=e.body._blob());return T.call(this,d,e)});U&&(Q.navigator.sendBeacon=function(d,e){e instanceof X&&(e=e._asNative());return U.call(this,d,e)});Q.FormData=X};})();\n","const onApprove = ( context, errorHandler, spinner ) => {\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( '<br/>' )\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","entryKey","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":""}