1029
1029
return weakmap_CrossDomainSafeWeakMap;
1030
1030
});
1031
1031
},
1032
- "./node_modules/cross-domain-utils/dist/module/index.js": function(module, __webpack_exports__, __webpack_require__) {
1033
- "use strict";
1034
- var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/utils.js");
1035
- __webpack_require__.d(__webpack_exports__, "getOpener", function() {
1036
- return __WEBPACK_IMPORTED_MODULE_0__utils__.a;
1037
- });
1038
- __webpack_require__.d(__webpack_exports__, "getTop", function() {
1039
- return __WEBPACK_IMPORTED_MODULE_0__utils__.b;
1040
- });
1041
- var __WEBPACK_IMPORTED_MODULE_1__types__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/types.js");
1042
- __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__types__);
1043
- },
1044
- "./node_modules/cross-domain-utils/dist/module/types.js": function(module, exports) {},
1045
- "./node_modules/cross-domain-utils/dist/module/utils.js": function(module, __webpack_exports__, __webpack_require__) {
1046
- "use strict";
1047
- __webpack_exports__.a = getOpener;
1048
- __webpack_exports__.b = getTop;
1049
- function getParent(win) {
1050
- if (win) try {
1051
- if (win.parent && win.parent !== win) return win.parent;
1052
- } catch (err) {}
1053
- }
1054
- function getOpener(win) {
1055
- if (win && !getParent(win)) try {
1056
- return win.opener;
1057
- } catch (err) {}
1058
- }
1059
- function isAncestorParent(parent, child) {
1060
- if (!parent || !child) return !1;
1061
- var childParent = getParent(child);
1062
- return childParent ? childParent === parent : -1 !== function(win) {
1063
- var result = [];
1064
- try {
1065
- for (;win.parent !== win; ) {
1066
- result.push(win.parent);
1067
- win = win.parent;
1068
- }
1069
- } catch (err) {}
1070
- return result;
1071
- }(child).indexOf(parent);
1072
- }
1073
- function getFrames(win) {
1074
- var result = [], frames = void 0;
1075
- try {
1076
- frames = win.frames;
1077
- } catch (err) {
1078
- frames = win;
1079
- }
1080
- var len = void 0;
1081
- try {
1082
- len = frames.length;
1083
- } catch (err) {}
1084
- if (0 === len) return result;
1085
- if (len) {
1086
- for (var i = 0; i < len; i++) {
1087
- var frame = void 0;
1088
- try {
1089
- frame = frames[i];
1090
- } catch (err) {
1091
- continue;
1092
- }
1093
- result.push(frame);
1094
- }
1095
- return result;
1096
- }
1097
- for (var _i = 0; _i < 100; _i++) {
1098
- var _frame = void 0;
1099
- try {
1100
- _frame = frames[_i];
1101
- } catch (err) {
1102
- return result;
1103
- }
1104
- if (!_frame) return result;
1105
- result.push(_frame);
1106
- }
1107
- return result;
1108
- }
1109
- function getAllChildFrames(win) {
1110
- for (var result = [], _i3 = 0, _getFrames2 = getFrames(win), _length2 = null == _getFrames2 ? 0 : _getFrames2.length; _i3 < _length2; _i3++) {
1111
- var frame = _getFrames2[_i3];
1112
- result.push(frame);
1113
- for (var _i5 = 0, _getAllChildFrames2 = getAllChildFrames(frame), _length4 = null == _getAllChildFrames2 ? 0 : _getAllChildFrames2.length; _i5 < _length4; _i5++) {
1114
- var childFrame = _getAllChildFrames2[_i5];
1115
- result.push(childFrame);
1116
- }
1117
- }
1118
- return result;
1119
- }
1120
- function getTop(win) {
1121
- if (win) {
1122
- try {
1123
- if (win.top) return win.top;
1124
- } catch (err) {}
1125
- if (getParent(win) === win) return win;
1126
- try {
1127
- if (isAncestorParent(window, win) && window.top) return window.top;
1128
- } catch (err) {}
1129
- try {
1130
- if (isAncestorParent(win, window) && window.top) return window.top;
1131
- } catch (err) {}
1132
- for (var _i7 = 0, _getAllChildFrames4 = getAllChildFrames(win), _length6 = null == _getAllChildFrames4 ? 0 : _getAllChildFrames4.length; _i7 < _length6; _i7++) {
1133
- var frame = _getAllChildFrames4[_i7];
1134
- try {
1135
- if (frame.top) return frame.top;
1136
- } catch (err) {}
1137
- if (getParent(frame) === frame) return frame;
1138
- }
1139
- }
1140
- }
1141
- },
1142
1032
"./node_modules/cross-domain-utils/src/index.js": function(module, __webpack_exports__, __webpack_require__) {
1143
1033
"use strict";
1144
1034
var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__("./node_modules/cross-domain-utils/src/utils.js");
8658
8548
"./src/config/index.js": function(module, __webpack_exports__, __webpack_require__) {
8659
8549
"use strict";
8660
8550
var _checkoutUris, _altpayUris, _guestUris, _billingUris, _buttonUris, _inlinedCardFieldUris, _postBridgeUris, _legacyCheckoutUris, _buttonJSUrls, _locales, constants = __webpack_require__("./src/constants/index.js"), config = {
8661
- scriptUrl: "//www.paypalobjects.com/api/checkout.4.0.232 .js",
8551
+ scriptUrl: "//www.paypalobjects.com/api/checkout.4.0.233 .js",
8662
8552
paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/,
8663
- version: "4.0.232 ",
8553
+ version: "4.0.233 ",
8664
8554
cors: !0,
8665
8555
env: constants.t.PRODUCTION,
8666
8556
state: "checkoutjs",
11729
11619
logoColor: "blue"
11730
11620
})));
11731
11621
}(normalizeProps(props)) : null;
11732
- return Object(jsx.b)("div", componentTemplate__extends({}, (_ref21 = {}, _ref21[constants.c.VERSION] = "4.0.232 ",
11622
+ return Object(jsx.b)("div", componentTemplate__extends({}, (_ref21 = {}, _ref21[constants.c.VERSION] = "4.0.233 ",
11733
11623
_ref21), {
11734
11624
class: class_CLASS.CONTAINER + " " + getCommonButtonClasses({
11735
11625
layout: layout,
12701
12591
setup__track3[constants.u.KEY.TRANSITION] = constants.u.TRANSITION.SCRIPT_LOAD,
12702
12592
setup__track3));
12703
12593
}
12704
- var postRobot = post_robot_src, onPossiblyUnhandledException = zalgo_promise_src.a.onPossiblyUnhandledException, interface_version = "4.0.232 ", interface_checkout = void 0, apps = void 0, legacy = __webpack_require__("./src/legacy/index.js");
12594
+ var postRobot = post_robot_src, onPossiblyUnhandledException = zalgo_promise_src.a.onPossiblyUnhandledException, interface_version = "4.0.233 ", interface_checkout = void 0, apps = void 0, legacy = __webpack_require__("./src/legacy/index.js");
12705
12595
interface_checkout = legacy.checkout;
12706
12596
apps = legacy.apps;
12707
12597
var interface_Checkout = void 0, interface_Card = void 0, interface_BillingPage = void 0, PayPalCheckout = void 0, destroyAll = void 0, enableCheckoutIframe = void 0, logger = void 0;
13619
13509
var payload = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
13620
13510
try {
13621
13511
payload.event = "ppxo_" + event;
13622
- payload.version = "4.0.232 ";
13512
+ payload.version = "4.0.233 ";
13623
13513
payload.host = window.location.host;
13624
13514
payload.uid = Object(__WEBPACK_IMPORTED_MODULE_2__session__.c)();
13625
13515
payload.appName = APP_NAME;
@@ -13679,10 +13569,10 @@
13679
13569
}(ua) || function() {
13680
13570
if (void 0 !== process && process.versions && process.versions.electron) return !0;
13681
13571
return !1;
13682
- }() || (userAgent = getUserAgent(), /Macintosh.*AppleWebKit(?!.*Safari)/i.test(userAgent)) || !Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__ .getOpener)(Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__ .getTop)(window)) && (!0 === window.navigator.standalone || window.matchMedia("(display-mode: standalone)").matches));
13572
+ }() || (userAgent = getUserAgent(), /Macintosh.*AppleWebKit(?!.*Safari)/i.test(userAgent)) || !Boolean( Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__ .getOpener)(Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__ .getTop)(window) )) && (!0 === window.navigator.standalone || window.matchMedia("(display-mode: standalone)").matches));
13683
13573
var userAgent;
13684
13574
};
13685
- var __WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module /index.js");
13575
+ var __WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__ = __webpack_require__("./node_modules/cross-domain-utils/src /index.js");
13686
13576
function getUserAgent() {
13687
13577
return window.navigator.mockUserAgent || window.navigator.userAgent;
13688
13578
}
13944
13834
country: config.a.locale.country,
13945
13835
lang: config.a.locale.lang,
13946
13836
uid: Object(session.c)(),
13947
- ver: "4.0.232 "
13837
+ ver: "4.0.233 "
13948
13838
};
13949
13839
});
13950
13840
Object(client.a)(function() {
14252
14142
return Boolean(getCurrentScript());
14253
14143
}
14254
14144
function getScriptVersion() {
14255
- return "4.0.232 ";
14145
+ return "4.0.233 ";
14256
14146
}
14257
14147
var openMetaFrame = Object(util.j)(function() {
14258
14148
var env = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : config.a.env;
14269
14159
domain: metaFrameDomain
14270
14160
});
14271
14161
return src.bridge.openBridge(Object(dom.a)(metaFrameUrl, {
14272
- version: "4.0.232 "
14162
+ version: "4.0.233 "
14273
14163
}), metaFrameDomain).then(function() {
14274
14164
return metaListener;
14275
14165
}).then(function(_ref) {
@@ -14995,18 +14885,18 @@
14995
14885
});
14996
14886
var __WEBPACK_IMPORTED_MODULE_0__lib_beacon__ = __webpack_require__("./src/lib/beacon.js"), __WEBPACK_IMPORTED_MODULE_1__lib_namespace__ = __webpack_require__("./src/lib/namespace.js"), __WEBPACK_IMPORTED_MODULE_2__lib_util__ = __webpack_require__("./src/lib/util.js");
14997
14887
if (!Object(__WEBPACK_IMPORTED_MODULE_2__lib_util__.g)()) throw new Error("Do not integrate with versioned script url");
14998
- if (window.paypal && "4.0.232 " === window.paypal.version) {
14888
+ if (window.paypal && "4.0.233 " === window.paypal.version) {
14999
14889
Object(__WEBPACK_IMPORTED_MODULE_0__lib_beacon__.a)("bootstrap_already_loaded_same_version", {
15000
- version: "4.0.232 "
14890
+ version: "4.0.233 "
15001
14891
});
15002
- throw new Error("PayPal Checkout Integration Script with same version (4.0.232 ) already loaded on page");
14892
+ throw new Error("PayPal Checkout Integration Script with same version (4.0.233 ) already loaded on page");
15003
14893
}
15004
- if (window.paypal && window.paypal.version && "4.0.232 " !== window.paypal.version && window.paypal.Button && window.paypal.Button.render) {
14894
+ if (window.paypal && window.paypal.version && "4.0.233 " !== window.paypal.version && window.paypal.Button && window.paypal.Button.render) {
15005
14895
Object(__WEBPACK_IMPORTED_MODULE_0__lib_beacon__.a)("bootstrap_already_loaded_different_version", {
15006
14896
existingVersion: window.paypal.version,
15007
- version: "4.0.232 "
14897
+ version: "4.0.233 "
15008
14898
});
15009
- throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: 4.0.232 ");
14899
+ throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: 4.0.233 ");
15010
14900
}
15011
14901
try {
15012
14902
var _interface = __webpack_require__("./src/index.js");
15652
15542
});
15653
15543
}
15654
15544
}));
15655
- //# sourceMappingURL=checkout.4.0.232 .js.map
15545
+ //# sourceMappingURL=checkout.4.0.233 .js.map
0 commit comments