paymob-pixel-alpha 1.1.22 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.js
CHANGED
|
@@ -136,99 +136,6 @@ if (true) {
|
|
|
136
136
|
} else {}
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
/***/ }),
|
|
140
|
-
|
|
141
|
-
/***/ 1435:
|
|
142
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
143
|
-
|
|
144
|
-
"use strict";
|
|
145
|
-
/**
|
|
146
|
-
* @license React
|
|
147
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
148
|
-
*
|
|
149
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
150
|
-
*
|
|
151
|
-
* This source code is licensed under the MIT license found in the
|
|
152
|
-
* LICENSE file in the root directory of this source tree.
|
|
153
|
-
*/
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
var React = __webpack_require__(4041),
|
|
157
|
-
shim = __webpack_require__(8139);
|
|
158
|
-
function is(x, y) {
|
|
159
|
-
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
160
|
-
}
|
|
161
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
162
|
-
useSyncExternalStore = shim.useSyncExternalStore,
|
|
163
|
-
useRef = React.useRef,
|
|
164
|
-
useEffect = React.useEffect,
|
|
165
|
-
useMemo = React.useMemo,
|
|
166
|
-
useDebugValue = React.useDebugValue;
|
|
167
|
-
exports.useSyncExternalStoreWithSelector = function (
|
|
168
|
-
subscribe,
|
|
169
|
-
getSnapshot,
|
|
170
|
-
getServerSnapshot,
|
|
171
|
-
selector,
|
|
172
|
-
isEqual
|
|
173
|
-
) {
|
|
174
|
-
var instRef = useRef(null);
|
|
175
|
-
if (null === instRef.current) {
|
|
176
|
-
var inst = { hasValue: !1, value: null };
|
|
177
|
-
instRef.current = inst;
|
|
178
|
-
} else inst = instRef.current;
|
|
179
|
-
instRef = useMemo(
|
|
180
|
-
function () {
|
|
181
|
-
function memoizedSelector(nextSnapshot) {
|
|
182
|
-
if (!hasMemo) {
|
|
183
|
-
hasMemo = !0;
|
|
184
|
-
memoizedSnapshot = nextSnapshot;
|
|
185
|
-
nextSnapshot = selector(nextSnapshot);
|
|
186
|
-
if (void 0 !== isEqual && inst.hasValue) {
|
|
187
|
-
var currentSelection = inst.value;
|
|
188
|
-
if (isEqual(currentSelection, nextSnapshot))
|
|
189
|
-
return (memoizedSelection = currentSelection);
|
|
190
|
-
}
|
|
191
|
-
return (memoizedSelection = nextSnapshot);
|
|
192
|
-
}
|
|
193
|
-
currentSelection = memoizedSelection;
|
|
194
|
-
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
195
|
-
var nextSelection = selector(nextSnapshot);
|
|
196
|
-
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
197
|
-
return (memoizedSnapshot = nextSnapshot), currentSelection;
|
|
198
|
-
memoizedSnapshot = nextSnapshot;
|
|
199
|
-
return (memoizedSelection = nextSelection);
|
|
200
|
-
}
|
|
201
|
-
var hasMemo = !1,
|
|
202
|
-
memoizedSnapshot,
|
|
203
|
-
memoizedSelection,
|
|
204
|
-
maybeGetServerSnapshot =
|
|
205
|
-
void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
206
|
-
return [
|
|
207
|
-
function () {
|
|
208
|
-
return memoizedSelector(getSnapshot());
|
|
209
|
-
},
|
|
210
|
-
null === maybeGetServerSnapshot
|
|
211
|
-
? void 0
|
|
212
|
-
: function () {
|
|
213
|
-
return memoizedSelector(maybeGetServerSnapshot());
|
|
214
|
-
}
|
|
215
|
-
];
|
|
216
|
-
},
|
|
217
|
-
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
218
|
-
);
|
|
219
|
-
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
220
|
-
useEffect(
|
|
221
|
-
function () {
|
|
222
|
-
inst.hasValue = !0;
|
|
223
|
-
inst.value = value;
|
|
224
|
-
},
|
|
225
|
-
[value]
|
|
226
|
-
);
|
|
227
|
-
useDebugValue(value);
|
|
228
|
-
return value;
|
|
229
|
-
};
|
|
230
|
-
|
|
231
|
-
|
|
232
139
|
/***/ }),
|
|
233
140
|
|
|
234
141
|
/***/ 1524:
|
|
@@ -607,6 +514,99 @@ function expirationDate(value, maxElapsedYear) {
|
|
|
607
514
|
exports.expirationDate = expirationDate;
|
|
608
515
|
|
|
609
516
|
|
|
517
|
+
/***/ }),
|
|
518
|
+
|
|
519
|
+
/***/ 3816:
|
|
520
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
521
|
+
|
|
522
|
+
"use strict";
|
|
523
|
+
/**
|
|
524
|
+
* @license React
|
|
525
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
526
|
+
*
|
|
527
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
528
|
+
*
|
|
529
|
+
* This source code is licensed under the MIT license found in the
|
|
530
|
+
* LICENSE file in the root directory of this source tree.
|
|
531
|
+
*/
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
var React = __webpack_require__(4041),
|
|
535
|
+
shim = __webpack_require__(8139);
|
|
536
|
+
function is(x, y) {
|
|
537
|
+
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
|
|
538
|
+
}
|
|
539
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is,
|
|
540
|
+
useSyncExternalStore = shim.useSyncExternalStore,
|
|
541
|
+
useRef = React.useRef,
|
|
542
|
+
useEffect = React.useEffect,
|
|
543
|
+
useMemo = React.useMemo,
|
|
544
|
+
useDebugValue = React.useDebugValue;
|
|
545
|
+
exports.useSyncExternalStoreWithSelector = function (
|
|
546
|
+
subscribe,
|
|
547
|
+
getSnapshot,
|
|
548
|
+
getServerSnapshot,
|
|
549
|
+
selector,
|
|
550
|
+
isEqual
|
|
551
|
+
) {
|
|
552
|
+
var instRef = useRef(null);
|
|
553
|
+
if (null === instRef.current) {
|
|
554
|
+
var inst = { hasValue: !1, value: null };
|
|
555
|
+
instRef.current = inst;
|
|
556
|
+
} else inst = instRef.current;
|
|
557
|
+
instRef = useMemo(
|
|
558
|
+
function () {
|
|
559
|
+
function memoizedSelector(nextSnapshot) {
|
|
560
|
+
if (!hasMemo) {
|
|
561
|
+
hasMemo = !0;
|
|
562
|
+
memoizedSnapshot = nextSnapshot;
|
|
563
|
+
nextSnapshot = selector(nextSnapshot);
|
|
564
|
+
if (void 0 !== isEqual && inst.hasValue) {
|
|
565
|
+
var currentSelection = inst.value;
|
|
566
|
+
if (isEqual(currentSelection, nextSnapshot))
|
|
567
|
+
return (memoizedSelection = currentSelection);
|
|
568
|
+
}
|
|
569
|
+
return (memoizedSelection = nextSnapshot);
|
|
570
|
+
}
|
|
571
|
+
currentSelection = memoizedSelection;
|
|
572
|
+
if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
|
|
573
|
+
var nextSelection = selector(nextSnapshot);
|
|
574
|
+
if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
|
|
575
|
+
return (memoizedSnapshot = nextSnapshot), currentSelection;
|
|
576
|
+
memoizedSnapshot = nextSnapshot;
|
|
577
|
+
return (memoizedSelection = nextSelection);
|
|
578
|
+
}
|
|
579
|
+
var hasMemo = !1,
|
|
580
|
+
memoizedSnapshot,
|
|
581
|
+
memoizedSelection,
|
|
582
|
+
maybeGetServerSnapshot =
|
|
583
|
+
void 0 === getServerSnapshot ? null : getServerSnapshot;
|
|
584
|
+
return [
|
|
585
|
+
function () {
|
|
586
|
+
return memoizedSelector(getSnapshot());
|
|
587
|
+
},
|
|
588
|
+
null === maybeGetServerSnapshot
|
|
589
|
+
? void 0
|
|
590
|
+
: function () {
|
|
591
|
+
return memoizedSelector(maybeGetServerSnapshot());
|
|
592
|
+
}
|
|
593
|
+
];
|
|
594
|
+
},
|
|
595
|
+
[getSnapshot, getServerSnapshot, selector, isEqual]
|
|
596
|
+
);
|
|
597
|
+
var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
|
|
598
|
+
useEffect(
|
|
599
|
+
function () {
|
|
600
|
+
inst.hasValue = !0;
|
|
601
|
+
inst.value = value;
|
|
602
|
+
},
|
|
603
|
+
[value]
|
|
604
|
+
);
|
|
605
|
+
useDebugValue(value);
|
|
606
|
+
return value;
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
|
|
610
610
|
/***/ }),
|
|
611
611
|
|
|
612
612
|
/***/ 3954:
|
|
@@ -1121,7 +1121,7 @@ exports.cardNumber = cardNumber;
|
|
|
1121
1121
|
|
|
1122
1122
|
|
|
1123
1123
|
if (true) {
|
|
1124
|
-
module.exports = __webpack_require__(
|
|
1124
|
+
module.exports = __webpack_require__(3816);
|
|
1125
1125
|
} else {}
|
|
1126
1126
|
|
|
1127
1127
|
|
|
@@ -8064,15 +8064,83 @@ function Phone(props) {
|
|
|
8064
8064
|
})]
|
|
8065
8065
|
});
|
|
8066
8066
|
}
|
|
8067
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
8068
|
+
function _typeof(o) {
|
|
8069
|
+
"@babel/helpers - typeof";
|
|
8070
|
+
|
|
8071
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
8072
|
+
return typeof o;
|
|
8073
|
+
} : function (o) {
|
|
8074
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8075
|
+
}, _typeof(o);
|
|
8076
|
+
}
|
|
8077
|
+
|
|
8078
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
8079
|
+
|
|
8080
|
+
function toPrimitive(t, r) {
|
|
8081
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
8082
|
+
var e = t[Symbol.toPrimitive];
|
|
8083
|
+
if (void 0 !== e) {
|
|
8084
|
+
var i = e.call(t, r || "default");
|
|
8085
|
+
if ("object" != _typeof(i)) return i;
|
|
8086
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
8087
|
+
}
|
|
8088
|
+
return ("string" === r ? String : Number)(t);
|
|
8089
|
+
}
|
|
8090
|
+
|
|
8091
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
8092
|
+
|
|
8093
|
+
|
|
8094
|
+
function toPropertyKey(t) {
|
|
8095
|
+
var i = toPrimitive(t, "string");
|
|
8096
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
8097
|
+
}
|
|
8098
|
+
|
|
8099
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
8100
|
+
|
|
8101
|
+
function defineProperty_defineProperty(e, r, t) {
|
|
8102
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
8103
|
+
value: t,
|
|
8104
|
+
enumerable: !0,
|
|
8105
|
+
configurable: !0,
|
|
8106
|
+
writable: !0
|
|
8107
|
+
}) : e[r] = t, e;
|
|
8108
|
+
}
|
|
8109
|
+
|
|
8110
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
8111
|
+
function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(r, e) {
|
|
8112
|
+
if (null == r) return {};
|
|
8113
|
+
var t = {};
|
|
8114
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
8115
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
8116
|
+
t[n] = r[n];
|
|
8117
|
+
}
|
|
8118
|
+
return t;
|
|
8119
|
+
}
|
|
8120
|
+
|
|
8121
|
+
;// ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
8122
|
+
|
|
8123
|
+
function objectWithoutProperties_objectWithoutProperties(e, t) {
|
|
8124
|
+
if (null == e) return {};
|
|
8125
|
+
var o,
|
|
8126
|
+
r,
|
|
8127
|
+
i = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(e, t);
|
|
8128
|
+
if (Object.getOwnPropertySymbols) {
|
|
8129
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
8130
|
+
for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
8131
|
+
}
|
|
8132
|
+
return i;
|
|
8133
|
+
}
|
|
8134
|
+
|
|
8067
8135
|
// EXTERNAL MODULE: ../../node_modules/void-elements/index.js
|
|
8068
8136
|
var void_elements = __webpack_require__(9002);
|
|
8069
8137
|
var void_elements_default = /*#__PURE__*/__webpack_require__.n(void_elements);
|
|
8070
8138
|
;// ../../node_modules/html-parse-stringify/dist/html-parse-stringify.module.js
|
|
8071
|
-
var t=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],((void_elements_default())[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return{type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(r,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g})}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};/* harmony default export */ const html_parse_stringify_module = (
|
|
8139
|
+
var t=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(n){var r={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},i=n.match(/<\/?([^\s]+?)[/\s>]/);if(i&&(r.name=i[1],((void_elements_default())[i[1]]||"/"===n.charAt(n.length-2))&&(r.voidElement=!0),r.name.startsWith("!--"))){var s=n.indexOf("--\x3e");return{type:"comment",comment:-1!==s?n.slice(4,s):""}}for(var a=new RegExp(t),c=null;null!==(c=a.exec(n));)if(c[0].trim())if(c[1]){var o=c[1].trim(),l=[o,""];o.indexOf("=")>-1&&(l=o.split("=")),r.attrs[l[0]]=l[1],a.lastIndex--}else c[2]&&(r.attrs[c[2]]=c[3].trim().substring(1,c[3].length-1));return r}var r=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,i=/^\s*$/,s=Object.create(null);function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var c={parse:function(e,t){t||(t={}),t.components||(t.components=s);var a,c=[],o=[],l=-1,m=!1;if(0!==e.indexOf("<")){var u=e.indexOf("<");c.push({type:"text",content:-1===u?e:e.substring(0,u)})}return e.replace(r,function(r,s){if(m){if(r!=="</"+a.name+">")return;m=!1}var u,f="/"!==r.charAt(1),h=r.startsWith("\x3c!--"),p=s+r.length,d=e.charAt(p);if(h){var v=n(r);return l<0?(c.push(v),c):((u=o[l]).children.push(v),c)}if(f&&(l++,"tag"===(a=n(r)).type&&t.components[a.name]&&(a.type="component",m=!0),a.voidElement||m||!d||"<"===d||a.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===l&&c.push(a),(u=o[l-1])&&u.children.push(a),o[l]=a),(!f||a.voidElement)&&(l>-1&&(a.voidElement||a.name===r.slice(2,-1))&&(l--,a=-1===l?c:o[l]),!m&&"<"!==d&&d)){u=-1===l?c:o[l].children;var x=e.indexOf("<",p),g=e.slice(p,-1===x?void 0:x);i.test(g)&&(g=" "),(x>-1&&l+u.length>=0||" "!==g)&&u.push({type:"text",content:g})}}),c},stringify:function(e){return e.reduce(function(e,t){return e+a("",t)},"")}};/* harmony default export */ const html_parse_stringify_module = (c);
|
|
8072
8140
|
//# sourceMappingURL=html-parse-stringify.module.js.map
|
|
8073
8141
|
|
|
8074
8142
|
;// ../../node_modules/react-i18next/dist/es/utils.js
|
|
8075
|
-
function
|
|
8143
|
+
function warn() {
|
|
8076
8144
|
if (console && console.warn) {
|
|
8077
8145
|
var _console;
|
|
8078
8146
|
|
|
@@ -8086,14 +8154,14 @@ function utils_warn() {
|
|
|
8086
8154
|
}
|
|
8087
8155
|
}
|
|
8088
8156
|
var alreadyWarned = {};
|
|
8089
|
-
function
|
|
8157
|
+
function warnOnce() {
|
|
8090
8158
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
8091
8159
|
args[_key2] = arguments[_key2];
|
|
8092
8160
|
}
|
|
8093
8161
|
|
|
8094
8162
|
if (typeof args[0] === 'string' && alreadyWarned[args[0]]) return;
|
|
8095
8163
|
if (typeof args[0] === 'string') alreadyWarned[args[0]] = new Date();
|
|
8096
|
-
|
|
8164
|
+
warn.apply(void 0, args);
|
|
8097
8165
|
}
|
|
8098
8166
|
|
|
8099
8167
|
var loadedClb = function loadedClb(i18n, cb) {
|
|
@@ -8147,7 +8215,7 @@ function hasLoadedNamespace(ns, i18n) {
|
|
|
8147
8215
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
8148
8216
|
|
|
8149
8217
|
if (!i18n.languages || !i18n.languages.length) {
|
|
8150
|
-
|
|
8218
|
+
warnOnce('i18n.languages were undefined or empty', i18n.languages);
|
|
8151
8219
|
return true;
|
|
8152
8220
|
}
|
|
8153
8221
|
|
|
@@ -8167,49 +8235,6 @@ function hasLoadedNamespace(ns, i18n) {
|
|
|
8167
8235
|
function utils_getDisplayName(Component) {
|
|
8168
8236
|
return Component.displayName || Component.name || (typeof Component === 'string' && Component.length > 0 ? Component : 'Unknown');
|
|
8169
8237
|
}
|
|
8170
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
8171
|
-
function typeof_typeof(o) {
|
|
8172
|
-
"@babel/helpers - typeof";
|
|
8173
|
-
|
|
8174
|
-
return typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
8175
|
-
return typeof o;
|
|
8176
|
-
} : function (o) {
|
|
8177
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8178
|
-
}, typeof_typeof(o);
|
|
8179
|
-
}
|
|
8180
|
-
|
|
8181
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
8182
|
-
|
|
8183
|
-
function toPrimitive(t, r) {
|
|
8184
|
-
if ("object" != typeof_typeof(t) || !t) return t;
|
|
8185
|
-
var e = t[Symbol.toPrimitive];
|
|
8186
|
-
if (void 0 !== e) {
|
|
8187
|
-
var i = e.call(t, r || "default");
|
|
8188
|
-
if ("object" != typeof_typeof(i)) return i;
|
|
8189
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
8190
|
-
}
|
|
8191
|
-
return ("string" === r ? String : Number)(t);
|
|
8192
|
-
}
|
|
8193
|
-
|
|
8194
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
function toPropertyKey(t) {
|
|
8198
|
-
var i = toPrimitive(t, "string");
|
|
8199
|
-
return "symbol" == typeof_typeof(i) ? i : i + "";
|
|
8200
|
-
}
|
|
8201
|
-
|
|
8202
|
-
;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
8203
|
-
|
|
8204
|
-
function defineProperty_defineProperty(e, r, t) {
|
|
8205
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
8206
|
-
value: t,
|
|
8207
|
-
enumerable: !0,
|
|
8208
|
-
configurable: !0,
|
|
8209
|
-
writable: !0
|
|
8210
|
-
}) : e[r] = t, e;
|
|
8211
|
-
}
|
|
8212
|
-
|
|
8213
8238
|
;// ../../node_modules/react-i18next/dist/es/unescape.js
|
|
8214
8239
|
var matchHtmlEntity = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g;
|
|
8215
8240
|
var htmlEntities = {
|
|
@@ -8264,19 +8289,27 @@ function setDefaults() {
|
|
|
8264
8289
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
8265
8290
|
defaultOptions = _objectSpread(_objectSpread({}, defaultOptions), options);
|
|
8266
8291
|
}
|
|
8267
|
-
function
|
|
8292
|
+
function getDefaults() {
|
|
8268
8293
|
return defaultOptions;
|
|
8269
8294
|
}
|
|
8295
|
+
;// ../../node_modules/react-i18next/dist/es/i18nInstance.js
|
|
8296
|
+
var i18nInstance;
|
|
8297
|
+
function setI18n(instance) {
|
|
8298
|
+
i18nInstance = instance;
|
|
8299
|
+
}
|
|
8300
|
+
function i18nInstance_getI18n() {
|
|
8301
|
+
return i18nInstance;
|
|
8302
|
+
}
|
|
8270
8303
|
;// ../../node_modules/react-i18next/dist/es/TransWithoutContext.js
|
|
8271
8304
|
|
|
8272
8305
|
|
|
8273
8306
|
|
|
8274
|
-
var TransWithoutContext_excluded =
|
|
8275
|
-
_excluded2 =
|
|
8307
|
+
var TransWithoutContext_excluded = ["format"],
|
|
8308
|
+
_excluded2 = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
8276
8309
|
|
|
8277
8310
|
function TransWithoutContext_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
8278
8311
|
|
|
8279
|
-
function TransWithoutContext_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { TransWithoutContext_ownKeys(Object(source), true).forEach(function (key) {
|
|
8312
|
+
function TransWithoutContext_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { TransWithoutContext_ownKeys(Object(source), true).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { TransWithoutContext_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8280
8313
|
|
|
8281
8314
|
|
|
8282
8315
|
|
|
@@ -8299,7 +8332,7 @@ function getChildren(node) {
|
|
|
8299
8332
|
function hasValidReactChildren(children) {
|
|
8300
8333
|
if (Object.prototype.toString.call(children) !== '[object Array]') return false;
|
|
8301
8334
|
return children.every(function (child) {
|
|
8302
|
-
return isValidElement(child);
|
|
8335
|
+
return (0,react.isValidElement)(child);
|
|
8303
8336
|
});
|
|
8304
8337
|
}
|
|
8305
8338
|
|
|
@@ -8322,7 +8355,7 @@ function nodesToString(children, i18nOptions) {
|
|
|
8322
8355
|
childrenArray.forEach(function (child, childIndex) {
|
|
8323
8356
|
if (typeof child === 'string') {
|
|
8324
8357
|
stringNode += "".concat(child);
|
|
8325
|
-
} else if (isValidElement(child)) {
|
|
8358
|
+
} else if ((0,react.isValidElement)(child)) {
|
|
8326
8359
|
var childPropsCount = Object.keys(child.props).length;
|
|
8327
8360
|
var shouldKeepChild = keepArray.indexOf(child.type) > -1;
|
|
8328
8361
|
var childChildren = child.props.children;
|
|
@@ -8343,7 +8376,7 @@ function nodesToString(children, i18nOptions) {
|
|
|
8343
8376
|
warn("Trans: the passed in value is invalid - seems you passed in a null child.");
|
|
8344
8377
|
} else if (_typeof(child) === 'object') {
|
|
8345
8378
|
var format = child.format,
|
|
8346
|
-
clone =
|
|
8379
|
+
clone = objectWithoutProperties_objectWithoutProperties(child, TransWithoutContext_excluded);
|
|
8347
8380
|
|
|
8348
8381
|
var keys = Object.keys(clone);
|
|
8349
8382
|
|
|
@@ -8371,12 +8404,12 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8371
8404
|
var childrenArray = getAsArray(childs);
|
|
8372
8405
|
childrenArray.forEach(function (child) {
|
|
8373
8406
|
if (typeof child === 'string') return;
|
|
8374
|
-
if (hasChildren(child)) getData(getChildren(child));else if (_typeof(child) === 'object' && !isValidElement(child)) Object.assign(data, child);
|
|
8407
|
+
if (hasChildren(child)) getData(getChildren(child));else if (_typeof(child) === 'object' && !(0,react.isValidElement)(child)) Object.assign(data, child);
|
|
8375
8408
|
});
|
|
8376
8409
|
}
|
|
8377
8410
|
|
|
8378
8411
|
getData(children);
|
|
8379
|
-
var ast =
|
|
8412
|
+
var ast = html_parse_stringify_module.parse("<0>".concat(targetString, "</0>"));
|
|
8380
8413
|
|
|
8381
8414
|
var opts = TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, data), combinedTOpts);
|
|
8382
8415
|
|
|
@@ -8388,7 +8421,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8388
8421
|
|
|
8389
8422
|
function pushTranslatedJSX(child, inner, mem, i, isVoid) {
|
|
8390
8423
|
if (child.dummy) child.children = inner;
|
|
8391
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8424
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8392
8425
|
key: i
|
|
8393
8426
|
}), isVoid ? undefined : inner));
|
|
8394
8427
|
}
|
|
@@ -8406,7 +8439,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8406
8439
|
var child = Object.keys(node.attrs).length !== 0 ? mergeProps({
|
|
8407
8440
|
props: node.attrs
|
|
8408
8441
|
}, tmp) : tmp;
|
|
8409
|
-
var isElement = isValidElement(child);
|
|
8442
|
+
var isElement = (0,react.isValidElement)(child);
|
|
8410
8443
|
var isValidTranslationWithChildren = isElement && hasChildren(node, true) && !node.voidElement;
|
|
8411
8444
|
var isEmptyTransWithHTML = emptyChildrenButNeedsHandling && _typeof(child) === 'object' && child.dummy && !isElement;
|
|
8412
8445
|
var isKnownComponent = _typeof(children) === 'object' && children !== null && Object.hasOwnProperty.call(children, node.name);
|
|
@@ -8420,7 +8453,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8420
8453
|
} else if (isEmptyTransWithHTML) {
|
|
8421
8454
|
var _inner = mapAST(reactNodes, node.children, rootReactNode);
|
|
8422
8455
|
|
|
8423
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8456
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8424
8457
|
key: i
|
|
8425
8458
|
}), _inner));
|
|
8426
8459
|
} else if (Number.isNaN(parseFloat(node.name))) {
|
|
@@ -8430,13 +8463,13 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8430
8463
|
pushTranslatedJSX(child, _inner2, mem, i, node.voidElement);
|
|
8431
8464
|
} else if (i18nOptions.transSupportBasicHtmlNodes && keepArray.indexOf(node.name) > -1) {
|
|
8432
8465
|
if (node.voidElement) {
|
|
8433
|
-
mem.push(createElement(node.name, {
|
|
8466
|
+
mem.push((0,react.createElement)(node.name, {
|
|
8434
8467
|
key: "".concat(node.name, "-").concat(i)
|
|
8435
8468
|
}));
|
|
8436
8469
|
} else {
|
|
8437
8470
|
var _inner3 = mapAST(reactNodes, node.children, rootReactNode);
|
|
8438
8471
|
|
|
8439
|
-
mem.push(createElement(node.name, {
|
|
8472
|
+
mem.push((0,react.createElement)(node.name, {
|
|
8440
8473
|
key: "".concat(node.name, "-").concat(i)
|
|
8441
8474
|
}, _inner3));
|
|
8442
8475
|
}
|
|
@@ -8451,11 +8484,11 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8451
8484
|
var content = node.children[0] ? translationContent : null;
|
|
8452
8485
|
if (content) mem.push(content);
|
|
8453
8486
|
} else if (node.children.length === 1 && translationContent) {
|
|
8454
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8487
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8455
8488
|
key: i
|
|
8456
8489
|
}), translationContent));
|
|
8457
8490
|
} else {
|
|
8458
|
-
mem.push(cloneElement(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8491
|
+
mem.push((0,react.cloneElement)(child, TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({}, child.props), {}, {
|
|
8459
8492
|
key: i
|
|
8460
8493
|
})));
|
|
8461
8494
|
}
|
|
@@ -8465,7 +8498,7 @@ function renderNodes(children, targetString, i18n, i18nOptions, combinedTOpts, s
|
|
|
8465
8498
|
var _content = shouldUnescape ? i18nOptions.unescape(i18n.services.interpolator.interpolate(node.content, opts, i18n.language)) : i18n.services.interpolator.interpolate(node.content, opts, i18n.language);
|
|
8466
8499
|
|
|
8467
8500
|
if (wrapTextNodes) {
|
|
8468
|
-
mem.push(createElement(wrapTextNodes, {
|
|
8501
|
+
mem.push((0,react.createElement)(wrapTextNodes, {
|
|
8469
8502
|
key: "".concat(node.name, "-").concat(i)
|
|
8470
8503
|
}, _content));
|
|
8471
8504
|
} else {
|
|
@@ -8499,9 +8532,9 @@ function Trans(_ref) {
|
|
|
8499
8532
|
i18nFromProps = _ref.i18n,
|
|
8500
8533
|
tFromProps = _ref.t,
|
|
8501
8534
|
shouldUnescape = _ref.shouldUnescape,
|
|
8502
|
-
additionalProps =
|
|
8535
|
+
additionalProps = objectWithoutProperties_objectWithoutProperties(_ref, _excluded2);
|
|
8503
8536
|
|
|
8504
|
-
var i18n = i18nFromProps ||
|
|
8537
|
+
var i18n = i18nFromProps || i18nInstance_getI18n();
|
|
8505
8538
|
|
|
8506
8539
|
if (!i18n) {
|
|
8507
8540
|
warnOnce('You will need to pass in an i18next instance by using i18nextReactModule');
|
|
@@ -8538,7 +8571,7 @@ function Trans(_ref) {
|
|
|
8538
8571
|
var translation = key ? t(key, combinedTOpts) : defaultValue;
|
|
8539
8572
|
var content = renderNodes(components || children, translation, i18n, reactI18nextOptions, combinedTOpts, shouldUnescape);
|
|
8540
8573
|
var useAsParent = parent !== undefined ? parent : reactI18nextOptions.defaultTransParent;
|
|
8541
|
-
return useAsParent ? createElement(useAsParent, additionalProps, content) : content;
|
|
8574
|
+
return useAsParent ? (0,react.createElement)(useAsParent, additionalProps, content) : content;
|
|
8542
8575
|
}
|
|
8543
8576
|
;// ../../node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
8544
8577
|
function _classCallCheck(a, n) {
|
|
@@ -8559,14 +8592,6 @@ function _createClass(e, r, t) {
|
|
|
8559
8592
|
}), e;
|
|
8560
8593
|
}
|
|
8561
8594
|
|
|
8562
|
-
;// ../../node_modules/react-i18next/dist/es/i18nInstance.js
|
|
8563
|
-
var i18nInstance;
|
|
8564
|
-
function setI18n(instance) {
|
|
8565
|
-
i18nInstance = instance;
|
|
8566
|
-
}
|
|
8567
|
-
function i18nInstance_getI18n() {
|
|
8568
|
-
return i18nInstance;
|
|
8569
|
-
}
|
|
8570
8595
|
;// ../../node_modules/react-i18next/dist/es/initReactI18next.js
|
|
8571
8596
|
|
|
8572
8597
|
|
|
@@ -8650,11 +8675,11 @@ function getInitialProps() {
|
|
|
8650
8675
|
;// ../../node_modules/react-i18next/dist/es/Trans.js
|
|
8651
8676
|
|
|
8652
8677
|
|
|
8653
|
-
var Trans_excluded =
|
|
8678
|
+
var Trans_excluded = ["children", "count", "parent", "i18nKey", "context", "tOptions", "values", "defaults", "components", "ns", "i18n", "t", "shouldUnescape"];
|
|
8654
8679
|
|
|
8655
8680
|
function Trans_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
8656
8681
|
|
|
8657
|
-
function Trans_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { Trans_ownKeys(Object(source), true).forEach(function (key) {
|
|
8682
|
+
function Trans_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { Trans_ownKeys(Object(source), true).forEach(function (key) { defineProperty_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { Trans_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
8658
8683
|
|
|
8659
8684
|
|
|
8660
8685
|
|
|
@@ -8675,15 +8700,15 @@ function Trans_Trans(_ref) {
|
|
|
8675
8700
|
i18nFromProps = _ref.i18n,
|
|
8676
8701
|
tFromProps = _ref.t,
|
|
8677
8702
|
shouldUnescape = _ref.shouldUnescape,
|
|
8678
|
-
additionalProps =
|
|
8703
|
+
additionalProps = objectWithoutProperties_objectWithoutProperties(_ref, Trans_excluded);
|
|
8679
8704
|
|
|
8680
|
-
var _ref2 = useContext(
|
|
8705
|
+
var _ref2 = (0,react.useContext)(context_I18nContext) || {},
|
|
8681
8706
|
i18nFromContext = _ref2.i18n,
|
|
8682
8707
|
defaultNSFromContext = _ref2.defaultNS;
|
|
8683
8708
|
|
|
8684
|
-
var i18n = i18nFromProps || i18nFromContext ||
|
|
8709
|
+
var i18n = i18nFromProps || i18nFromContext || i18nInstance_getI18n();
|
|
8685
8710
|
var t = tFromProps || i18n && i18n.t.bind(i18n);
|
|
8686
|
-
return
|
|
8711
|
+
return Trans(Trans_objectSpread({
|
|
8687
8712
|
children: children,
|
|
8688
8713
|
count: count,
|
|
8689
8714
|
parent: parent,
|
|
@@ -8797,11 +8822,11 @@ function useTranslation_useTranslation(ns) {
|
|
|
8797
8822
|
if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();
|
|
8798
8823
|
|
|
8799
8824
|
if (!i18n) {
|
|
8800
|
-
|
|
8825
|
+
warnOnce('You will need to pass in an i18next instance by using initReactI18next');
|
|
8801
8826
|
|
|
8802
8827
|
var notReadyT = function notReadyT(k, optsOrDefaultValue) {
|
|
8803
8828
|
if (typeof optsOrDefaultValue === 'string') return optsOrDefaultValue;
|
|
8804
|
-
if (optsOrDefaultValue &&
|
|
8829
|
+
if (optsOrDefaultValue && _typeof(optsOrDefaultValue) === 'object' && typeof optsOrDefaultValue.defaultValue === 'string') return optsOrDefaultValue.defaultValue;
|
|
8805
8830
|
return Array.isArray(k) ? k[k.length - 1] : k;
|
|
8806
8831
|
};
|
|
8807
8832
|
|
|
@@ -8812,9 +8837,9 @@ function useTranslation_useTranslation(ns) {
|
|
|
8812
8837
|
return retNotReady;
|
|
8813
8838
|
}
|
|
8814
8839
|
|
|
8815
|
-
if (i18n.options.react && i18n.options.react.wait !== undefined)
|
|
8840
|
+
if (i18n.options.react && i18n.options.react.wait !== undefined) warnOnce('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');
|
|
8816
8841
|
|
|
8817
|
-
var i18nOptions = useTranslation_objectSpread(useTranslation_objectSpread(useTranslation_objectSpread({},
|
|
8842
|
+
var i18nOptions = useTranslation_objectSpread(useTranslation_objectSpread(useTranslation_objectSpread({}, getDefaults()), i18n.options.react), props);
|
|
8818
8843
|
|
|
8819
8844
|
var useSuspense = i18nOptions.useSuspense,
|
|
8820
8845
|
keyPrefix = i18nOptions.keyPrefix;
|
|
@@ -13706,12 +13731,20 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
13706
13731
|
});
|
|
13707
13732
|
} else {
|
|
13708
13733
|
const name = e.target.value;
|
|
13709
|
-
const nameRegex = /^((?:[A-Za-z]+ ?){1,3})$/;
|
|
13710
|
-
const displayValue = name.replace(/[
|
|
13734
|
+
const nameRegex = /^((?:(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u065F\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06EF\u06FA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07CA-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0897-\u08E1\u08E3-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CF1-\u0CF3\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECE\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u103F\u1050-\u108F\u109A-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u180B-\u180D\u180F\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F\u1AA7\u1AB0-\u1ACE\u1B00-\u1B4C\u1B6B-\u1B73\u1B80-\u1BAF\u1BBA-\u1BF3\u1C00-\u1C37\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u20D0-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005\u3006\u302A-\u302F\u3031-\u3035\u303B\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA672\uA674-\uA67D\uA67F-\uA6E5\uA6F0\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8E0-\uA8F7\uA8FB\uA8FD-\uA8FF\uA90A-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF\uA9E0-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD4A-\uDD65\uDD69-\uDD6D\uDD6F-\uDD85\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDEC2-\uDEC4\uDEFC-\uDF1C\uDF27\uDF30-\uDF50\uDF70-\uDF85\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC70-\uDC75\uDC7F-\uDCBA\uDCC2\uDCD0-\uDCE8\uDD00-\uDD34\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE\uDDCF\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E-\uDE41\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7-\uDFC0\uDFC2\uDFC5\uDFC7-\uDFCA\uDFCC-\uDFD3\uDFE1\uDFE2]|\uD805[\uDC00-\uDC4A\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE80-\uDEB8\uDF00-\uDF1A\uDF1D-\uDF2B\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDEE0-\uDEF6\uDF00-\uDF10\uDF12-\uDF3A\uDF3E-\uDF42\uDF5A\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC40-\uDC55\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD2F]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDC30-\uDC6D\uDC8F\uDD00-\uDD2C\uDD30-\uDD3D\uDD4E\uDE90-\uDEAE\uDEC0-\uDEEF]|\uD839[\uDCD0-\uDCEF\uDDD0-\uDDF0\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF]|\uDB40[\uDD00-\uDDEF])+ ?){1,3})$/;
|
|
13735
|
+
const displayValue = name.replace(/(?:[\0-\x1F!-@\[-`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u0660-\u066D\u06D4\u06DD\u06DE\u06E9\u06F0-\u06F9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07C9\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u086F\u0888\u088F-\u0896\u08E2\u0964-\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4-\u09EF\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A6F\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64-\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BFF\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4-\u0CF0\u0CF4-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECF-\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u1040-\u104F\u1090-\u1099\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16F0\u16F9-\u16FF\u1716-\u171E\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE-\u180A\u180E\u1810-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u194F\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A80-\u1AA6\u1AA8-\u1AAF\u1ACF-\u1AFF\u1B4D-\u1B6A\u1B74-\u1B7F\u1BB0-\u1BB9\u1BF4-\u1BFF\u1C38-\u1C4C\u1C50-\u1C59\u1C7E\u1C7F\u1C8B-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u2182\u2185-\u2BFF\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3007-\u3029\u3030\u3036-\u303A\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA620-\uA629\uA62C-\uA63F\uA673\uA67E\uA6E6-\uA6EF\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7CE\uA7CF\uA7D2\uA7D4\uA7DD-\uA7F1\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8DF\uA8F8-\uA8FA\uA8FC\uA900-\uA909\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9D0-\uA9DF\uA9F0-\uA9F9\uA9FF\uAA37-\uAA3F\uAA4E-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE6F\uFE75\uFEFD-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF41\uDF4A-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0-\uDFFF]|\uD801[\uDC9E-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDD6F\uDD7B\uDD8B\uDD93\uDD96\uDDA2\uDDB2\uDDBA\uDDBD-\uDDBF\uDDF4-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDF7F\uDF86\uDFB1\uDFBB-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD49\uDD66-\uDD68\uDD6E\uDD86-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEC1\uDEC5-\uDEFB\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDF6F\uDF86-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC6F\uDC76-\uDC7E\uDCBB-\uDCC1\uDCC3-\uDCCF\uDCE9-\uDCFF\uDD35-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDD0-\uDDD9\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE42-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDF7F\uDF8A\uDF8C\uDF8D\uDF8F\uDFB6\uDFC1\uDFC3\uDFC4\uDFC6\uDFCB\uDFD4-\uDFE0\uDFE3-\uDFFF]|\uD805[\uDC4B-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE7F\uDEB9-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF3F\uDF47-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCE0-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEAF\uDEF9-\uDFBF\uDFE1-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDEDF\uDEF7-\uDEFF\uDF11\uDF3B-\uDF3D\uDF43-\uDF59\uDF5B-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC00-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD812-\uD817\uD819\uD824-\uD82A\uD82D\uD82E\uD830-\uD832\uD83C-\uD83F\uD87C\uD87D\uD87F\uD889-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80B[\uDC00-\uDF8F\uDFF1-\uDFFF]|\uD80D[\uDC30-\uDC3F\uDC56-\uDC5F]|\uD810[\uDFFB-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD818[\uDC00-\uDCFF\uDD30-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F-\uDE6F\uDEBF-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDD3F\uDD6D-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFE\uDD09-\uDFFF]|\uD82B[\uDC00-\uDFEF\uDFF4\uDFFC\uDFFF]|\uD82C[\uDD23-\uDD31\uDD33-\uDD4F\uDD53\uDD54\uDD56-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD833[\uDC00-\uDEFF\uDF2E\uDF2F\uDF47-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC-\uDFFF]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD837[\uDC00-\uDEFF\uDF1F-\uDF24\uDF2B-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDC2F\uDC6E-\uDC8E\uDC90-\uDCFF\uDD2D-\uDD2F\uDD3E-\uDD4D\uDD4F-\uDE8F\uDEAF-\uDEBF\uDEF0-\uDFFF]|\uD839[\uDC00-\uDCCF\uDCF0-\uDDCF\uDDF1-\uDFDF\uDFE7\uDFEC\uDFEF\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF3A-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFEF]|\uD87B[\uDE5E-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDF4F]|\uD888[\uDFB0-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g, '').replace(/\s+/g, ' ');
|
|
13711
13736
|
if (nameRegex.test(displayValue)) {
|
|
13712
|
-
|
|
13737
|
+
if (/^[A-Za-z ]+$/.test(displayValue)) {
|
|
13738
|
+
setValue(_field2, displayValue.toUpperCase());
|
|
13739
|
+
} else {
|
|
13740
|
+
setValue(_field2, displayValue);
|
|
13741
|
+
}
|
|
13713
13742
|
} else {
|
|
13714
|
-
|
|
13743
|
+
if (/^[A-Za-z ]+$/.test(displayValue.trim())) {
|
|
13744
|
+
setValue(_field2, displayValue.trim().toUpperCase());
|
|
13745
|
+
} else {
|
|
13746
|
+
setValue(_field2, displayValue.trim());
|
|
13747
|
+
}
|
|
13715
13748
|
}
|
|
13716
13749
|
}
|
|
13717
13750
|
},
|
|
@@ -13764,11 +13797,7 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
13764
13797
|
classes += isRTL ? '!rounded-l-lg ' : '!rounded-r-lg ';
|
|
13765
13798
|
}
|
|
13766
13799
|
if (position === 'right') {
|
|
13767
|
-
|
|
13768
|
-
classes += '-me-px ';
|
|
13769
|
-
} else {
|
|
13770
|
-
classes += '-ms-px ';
|
|
13771
|
-
}
|
|
13800
|
+
classes += isRTL ? '-me-px ' : '-ms-px ';
|
|
13772
13801
|
}
|
|
13773
13802
|
if (hasError) {
|
|
13774
13803
|
classes += '!z-10 !border-red-300 ';
|
|
@@ -14054,7 +14083,7 @@ const ContactForm = /*#__PURE__*/(/* unused pure expression or super */ null &&
|
|
|
14054
14083
|
disabled: disableFields == null ? void 0 : disableFields.email,
|
|
14055
14084
|
verified: verifiedFields == null ? void 0 : verifiedFields.email,
|
|
14056
14085
|
customStyle: {
|
|
14057
|
-
direction:
|
|
14086
|
+
direction: 'ltr'
|
|
14058
14087
|
}
|
|
14059
14088
|
}), needsPhone && /*#__PURE__*/_jsx(PhoneFormInput, {
|
|
14060
14089
|
name: "phone",
|
|
@@ -17559,7 +17588,6 @@ function PhoneInput(props) {
|
|
|
17559
17588
|
const {
|
|
17560
17589
|
t
|
|
17561
17590
|
} = useTranslation_useTranslation('kitComponents');
|
|
17562
|
-
const langDirection = document.documentElement.dir;
|
|
17563
17591
|
const validatePhone = value => {
|
|
17564
17592
|
if (value) {
|
|
17565
17593
|
var _parseMax;
|
|
@@ -17731,8 +17759,8 @@ const formatCurrencyForDisplay_formatCurrencyForDisplay = originalCurrency => {
|
|
|
17731
17759
|
if (symbol) {
|
|
17732
17760
|
return {
|
|
17733
17761
|
displayCurrency: symbol,
|
|
17734
|
-
currencyClassName: 'currency-
|
|
17735
|
-
currencyFontFamily: '
|
|
17762
|
+
currencyClassName: 'currency-font',
|
|
17763
|
+
currencyFontFamily: 'currencyFont'
|
|
17736
17764
|
};
|
|
17737
17765
|
}
|
|
17738
17766
|
return {
|
|
@@ -17785,6 +17813,7 @@ var checkGreenIcon_ForwardRef = /*#__PURE__*/(/* unused pure expression or super
|
|
|
17785
17813
|
|
|
17786
17814
|
|
|
17787
17815
|
|
|
17816
|
+
|
|
17788
17817
|
function InvoiceComponent(props) {
|
|
17789
17818
|
var _plan$extra, _plan$extra2, _plan$extra3, _paymentDetails$produ, _plan$discountDetails, _plan$discountDetails2;
|
|
17790
17819
|
const {
|
|
@@ -17823,22 +17852,29 @@ function InvoiceComponent(props) {
|
|
|
17823
17852
|
children: [/*#__PURE__*/_jsxs("div", {
|
|
17824
17853
|
className: "px-20",
|
|
17825
17854
|
children: [/*#__PURE__*/_jsxs("div", {
|
|
17826
|
-
className: "flex items-center gap-4 border-b border-gray-200 py-8",
|
|
17827
|
-
children: [
|
|
17828
|
-
className: "
|
|
17829
|
-
|
|
17830
|
-
|
|
17831
|
-
|
|
17832
|
-
|
|
17833
|
-
|
|
17834
|
-
className: "
|
|
17835
|
-
children:
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17855
|
+
className: "flex items-center gap-4 border-b border-gray-200 py-8 justify-between",
|
|
17856
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
17857
|
+
className: "flex items-center gap-4",
|
|
17858
|
+
children: [merchantLogo && /*#__PURE__*/_jsx("img", {
|
|
17859
|
+
className: "w-[70px] h-[70px] rounded-full object-cover",
|
|
17860
|
+
src: merchantLogo,
|
|
17861
|
+
alt: ""
|
|
17862
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
17863
|
+
className: "flex flex-col gap-2",
|
|
17864
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
17865
|
+
className: "text-base font-semibold text-gray-900",
|
|
17866
|
+
children: paymentDetails == null ? void 0 : paymentDetails.company
|
|
17867
|
+
}), /*#__PURE__*/_jsx("p", {
|
|
17868
|
+
className: "text-sm text-gray-500",
|
|
17869
|
+
dir: getTextDirection(paymentDetails == null ? void 0 : paymentDetails.address),
|
|
17870
|
+
children: paymentDetails == null ? void 0 : paymentDetails.address
|
|
17871
|
+
})]
|
|
17839
17872
|
})]
|
|
17840
17873
|
}), !isEmpty(paymentDetails.phone) && /*#__PURE__*/_jsxs("div", {
|
|
17841
|
-
className: "
|
|
17874
|
+
className: "flex gap-4 shrink-0 items-center",
|
|
17875
|
+
style: {
|
|
17876
|
+
direction: 'ltr'
|
|
17877
|
+
},
|
|
17842
17878
|
children: [/*#__PURE__*/_jsx("img", {
|
|
17843
17879
|
className: isDark(colors == null ? void 0 : colors.accent) ? 'brightness-0 invert' : '',
|
|
17844
17880
|
src: phoneIcon,
|
|
@@ -17888,23 +17924,26 @@ function InvoiceComponent(props) {
|
|
|
17888
17924
|
className: "flex flex-col gap-4",
|
|
17889
17925
|
children: [(paymentLinkToken || paymentDetails.showItems) && (paymentDetails == null || (_paymentDetails$produ = paymentDetails.products) == null ? void 0 : _paymentDetails$produ.map(product => {
|
|
17890
17926
|
return /*#__PURE__*/_jsxs("div", {
|
|
17891
|
-
className: "flex gap-3 items-center",
|
|
17892
|
-
children: [/*#__PURE__*/
|
|
17893
|
-
className: "
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
children:
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17927
|
+
className: "flex gap-3 items-center justify-between",
|
|
17928
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
17929
|
+
className: "flex gap-3 items-center",
|
|
17930
|
+
children: [/*#__PURE__*/_jsx("img", {
|
|
17931
|
+
className: "w-12 h-12 bg-gray-400 rounded-2xl",
|
|
17932
|
+
src: product.image ? product.image : emptyImage,
|
|
17933
|
+
alt: product == null ? void 0 : product.name
|
|
17934
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
17935
|
+
children: [/*#__PURE__*/_jsx("p", {
|
|
17936
|
+
className: "font-medium text-sm text-gray-900",
|
|
17937
|
+
children: product == null ? void 0 : product.name
|
|
17938
|
+
}), /*#__PURE__*/_jsx("p", {
|
|
17939
|
+
className: "text-sm text-gray-600",
|
|
17940
|
+
dangerouslySetInnerHTML: {
|
|
17941
|
+
__html: product == null ? void 0 : product.description
|
|
17942
|
+
}
|
|
17943
|
+
})]
|
|
17905
17944
|
})]
|
|
17906
17945
|
}), /*#__PURE__*/_jsxs("div", {
|
|
17907
|
-
className: "
|
|
17946
|
+
className: "flex flex-col gap-2 items-end",
|
|
17908
17947
|
children: [(product == null ? void 0 : product.amount) && /*#__PURE__*/_jsxs("p", {
|
|
17909
17948
|
className: "font-medium text-sm text-gray-900",
|
|
17910
17949
|
children: [/*#__PURE__*/_jsx("span", {
|
|
@@ -18093,7 +18132,8 @@ function InvoiceComponent(props) {
|
|
|
18093
18132
|
className: "font-medium text-gray-700",
|
|
18094
18133
|
children: [t('BILLING_ADDRESS'), ":"]
|
|
18095
18134
|
}), /*#__PURE__*/_jsx("p", {
|
|
18096
|
-
className: "text-sm text-gray-600",
|
|
18135
|
+
className: "text-sm text-gray-600 w-fit",
|
|
18136
|
+
dir: getTextDirection(paymentDetails == null ? void 0 : paymentDetails.billingAddress),
|
|
18097
18137
|
children: paymentDetails.billingAddress
|
|
18098
18138
|
})]
|
|
18099
18139
|
}), !paymentLinkToken && paymentDetails.showShipping && paymentDetails.shippingAddress && /*#__PURE__*/_jsxs("div", {
|
|
@@ -18532,6 +18572,7 @@ const close_icon_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg
|
|
|
18532
18572
|
|
|
18533
18573
|
|
|
18534
18574
|
|
|
18575
|
+
|
|
18535
18576
|
function OrderDetailsModal(props) {
|
|
18536
18577
|
var _plan$extra, _plan$extra2, _plan$extra3, _plan$discountDetails, _plan$discountDetails2;
|
|
18537
18578
|
const {
|
|
@@ -18590,23 +18631,26 @@ function OrderDetailsModal(props) {
|
|
|
18590
18631
|
})]
|
|
18591
18632
|
}), (paymentLinkToken || paymentDetails.showItems) && (paymentDetails == null ? void 0 : paymentDetails.products.map(product => {
|
|
18592
18633
|
return /*#__PURE__*/_jsxs("div", {
|
|
18593
|
-
className: "flex gap-3 items-center",
|
|
18594
|
-
children: [/*#__PURE__*/
|
|
18595
|
-
className: "
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
children:
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18634
|
+
className: "flex gap-3 items-center justify-between",
|
|
18635
|
+
children: [/*#__PURE__*/_jsxs("div", {
|
|
18636
|
+
className: "flex gap-3 items-center",
|
|
18637
|
+
children: [/*#__PURE__*/_jsx("img", {
|
|
18638
|
+
className: "w-12 h-12 bg-gray-400 rounded-2xl",
|
|
18639
|
+
src: product.image ? product.image : emptyImage,
|
|
18640
|
+
alt: product == null ? void 0 : product.name
|
|
18641
|
+
}), /*#__PURE__*/_jsxs("div", {
|
|
18642
|
+
children: [/*#__PURE__*/_jsx("p", {
|
|
18643
|
+
className: "font-medium text-sm text-gray-900",
|
|
18644
|
+
children: product == null ? void 0 : product.name
|
|
18645
|
+
}), /*#__PURE__*/_jsx("p", {
|
|
18646
|
+
className: "text-sm text-gray-600",
|
|
18647
|
+
dangerouslySetInnerHTML: {
|
|
18648
|
+
__html: product == null ? void 0 : product.description
|
|
18649
|
+
}
|
|
18650
|
+
})]
|
|
18607
18651
|
})]
|
|
18608
18652
|
}), /*#__PURE__*/_jsxs("div", {
|
|
18609
|
-
className: "
|
|
18653
|
+
className: "flex flex-col gap-2 items-end",
|
|
18610
18654
|
children: [/*#__PURE__*/_jsxs("p", {
|
|
18611
18655
|
className: "font-medium text-sm text-gray-900",
|
|
18612
18656
|
children: [/*#__PURE__*/_jsx("span", {
|
|
@@ -18818,7 +18862,8 @@ function OrderDetailsModal(props) {
|
|
|
18818
18862
|
className: "font-medium text-gray-700",
|
|
18819
18863
|
children: [t('BILLING_ADDRESS'), ":"]
|
|
18820
18864
|
}), /*#__PURE__*/_jsx("p", {
|
|
18821
|
-
className: "text-sm text-gray-600",
|
|
18865
|
+
className: "text-sm text-gray-600 w-fit",
|
|
18866
|
+
dir: getTextDirection(paymentDetails == null ? void 0 : paymentDetails.billingAddress),
|
|
18822
18867
|
children: paymentDetails.billingAddress
|
|
18823
18868
|
})]
|
|
18824
18869
|
}), !paymentLinkToken && paymentDetails.showShipping && paymentDetails.shippingAddress && /*#__PURE__*/_jsxs("div", {
|
|
@@ -18916,7 +18961,7 @@ function MobileOTPModal_MobileOTPModal(props) {
|
|
|
18916
18961
|
children: modalHeader
|
|
18917
18962
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
|
18918
18963
|
className: "text-sm font-medium text-gray-600 w-3/4",
|
|
18919
|
-
children: ["
|
|
18964
|
+
children: [t('OTP_HINT'), " ", phoneNumber || t('MOBILE_NUMBER')]
|
|
18920
18965
|
})]
|
|
18921
18966
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
18922
18967
|
className: "flex flex-col items-start border-t border-b border-gray-200 px-6 py-6 w-full",
|
|
@@ -18949,9 +18994,9 @@ function MobileOTPModal_MobileOTPModal(props) {
|
|
|
18949
18994
|
style: customStyle == null ? void 0 : customStyle['container'],
|
|
18950
18995
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
18951
18996
|
className: "flex animate-pulse",
|
|
18952
|
-
children: [/*#__PURE__*/(0,jsx_runtime.
|
|
18997
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
18953
18998
|
className: "sr-only",
|
|
18954
|
-
children: "
|
|
18999
|
+
children: [t('LOADING'), "..."]
|
|
18955
19000
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
18956
19001
|
className: "w-3 h-3 bg-gray-500 rounded-full animate-bounce [animation-delay:-0.3s]"
|
|
18957
19002
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
@@ -18967,7 +19012,7 @@ function MobileOTPModal_MobileOTPModal(props) {
|
|
|
18967
19012
|
}), !length && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
18968
19013
|
className: "px-6",
|
|
18969
19014
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Button_Button, {
|
|
18970
|
-
label: "
|
|
19015
|
+
label: t("SUBMIT_BTN"),
|
|
18971
19016
|
id: "pay-button",
|
|
18972
19017
|
onClick: handleOtpSubmit,
|
|
18973
19018
|
disabled: !otp || loading,
|
|
@@ -21063,6 +21108,7 @@ function formatAmountBasedOnCurrency_formatAmountBasedOnCurrency(amount, currenc
|
|
|
21063
21108
|
|
|
21064
21109
|
|
|
21065
21110
|
|
|
21111
|
+
|
|
21066
21112
|
|
|
21067
21113
|
|
|
21068
21114
|
;// ../../node_modules/react-loading-skeleton/dist/index.js
|
|
@@ -21542,6 +21588,9 @@ function cardFormViewTwo_Card(props) {
|
|
|
21542
21588
|
bankTermsAndConditions,
|
|
21543
21589
|
isBankTermsAgreed
|
|
21544
21590
|
} = props;
|
|
21591
|
+
const {
|
|
21592
|
+
t
|
|
21593
|
+
} = useTranslation('card');
|
|
21545
21594
|
const lang = useSafeSelector(state => state.lang);
|
|
21546
21595
|
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
21547
21596
|
const isRTL = langDirection === 'rtl';
|
|
@@ -21554,9 +21603,6 @@ function cardFormViewTwo_Card(props) {
|
|
|
21554
21603
|
label: customStyle == null ? void 0 : customStyle.label,
|
|
21555
21604
|
error: customStyle == null ? void 0 : customStyle.error
|
|
21556
21605
|
};
|
|
21557
|
-
const {
|
|
21558
|
-
t
|
|
21559
|
-
} = useTranslation('card');
|
|
21560
21606
|
const {
|
|
21561
21607
|
handleSubmit,
|
|
21562
21608
|
errors,
|
|
@@ -21804,16 +21850,15 @@ function mobileCardFormViewTwo_MobileCard(props) {
|
|
|
21804
21850
|
bankTermsAndConditions,
|
|
21805
21851
|
isBankTermsAgreed
|
|
21806
21852
|
} = props;
|
|
21853
|
+
const {
|
|
21854
|
+
t
|
|
21855
|
+
} = useTranslation('card');
|
|
21807
21856
|
const [cardNumberSelected, setCardNumberSelected] = useState(false);
|
|
21808
21857
|
const [validCard, setValidCard] = useState(false);
|
|
21809
21858
|
const [showName, setShowName] = useState(false);
|
|
21810
21859
|
const [showModal, setShowModal] = useState(false);
|
|
21811
|
-
const
|
|
21812
|
-
|
|
21813
|
-
} = useTranslation('card');
|
|
21814
|
-
const onClose = () => {
|
|
21815
|
-
setShowModal(false);
|
|
21816
|
-
};
|
|
21860
|
+
const lang = useSafeSelector(state => state.lang);
|
|
21861
|
+
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
21817
21862
|
const styling = {
|
|
21818
21863
|
container: {
|
|
21819
21864
|
backgroundColor: customStyle == null ? void 0 : customStyle.backgroundColor,
|
|
@@ -21821,12 +21866,16 @@ function mobileCardFormViewTwo_MobileCard(props) {
|
|
|
21821
21866
|
},
|
|
21822
21867
|
input: {
|
|
21823
21868
|
color: customStyle == null ? void 0 : customStyle.fieldColor,
|
|
21824
|
-
borderColor: customStyle == null ? void 0 : customStyle.borderColor
|
|
21869
|
+
borderColor: customStyle == null ? void 0 : customStyle.borderColor,
|
|
21870
|
+
direction: langDirection
|
|
21825
21871
|
},
|
|
21826
21872
|
button: {
|
|
21827
21873
|
backgroundColor: customStyle == null ? void 0 : customStyle.buttonColor
|
|
21828
21874
|
}
|
|
21829
21875
|
};
|
|
21876
|
+
const onClose = () => {
|
|
21877
|
+
setShowModal(false);
|
|
21878
|
+
};
|
|
21830
21879
|
const {
|
|
21831
21880
|
handleSubmit,
|
|
21832
21881
|
errors,
|
|
@@ -22019,6 +22068,7 @@ function mobileCardFormViewTwo_MobileCard(props) {
|
|
|
22019
22068
|
formRegister: nameRegister,
|
|
22020
22069
|
maxLength: CARD_HOLDER_NAME_MAX_LENGTH,
|
|
22021
22070
|
error: errors['name'],
|
|
22071
|
+
customStyle: styling.input,
|
|
22022
22072
|
className: `rounded-lg border-t-0 rounded-t-none ${errors['name'] ? 'border-red-300' : 'border-gray-300'}`
|
|
22023
22073
|
})
|
|
22024
22074
|
}), discountErrorMessage && /*#__PURE__*/_jsx("p", {
|
|
@@ -22174,7 +22224,7 @@ function IframeCard(props) {
|
|
|
22174
22224
|
integrationId: hasOmanNetIntegration && isOmanNetCard ? subType.integrationId : integrationId,
|
|
22175
22225
|
paymentToken: hasOmanNetIntegration && isOmanNetCard ? subType.paymentToken : paymentToken
|
|
22176
22226
|
});
|
|
22177
|
-
}, [isValidCard,
|
|
22227
|
+
}, [cardNum, isValidCard, discountsCount, hasOmanNetIntegration, isOmanNetCard, subType, paymentToken, integrationId]);
|
|
22178
22228
|
const handleDataFromSDK = event => {
|
|
22179
22229
|
if (event.data.type === 'setPrevFocus') {
|
|
22180
22230
|
handlePrevFocusFromSDK(event.data.payload);
|
|
@@ -22814,24 +22864,39 @@ const AddCardButtons_AddCardButtons = props => {
|
|
|
22814
22864
|
const {
|
|
22815
22865
|
t
|
|
22816
22866
|
} = useTranslation('kitComponents');
|
|
22867
|
+
const {
|
|
22868
|
+
t: tPaymentLayout
|
|
22869
|
+
} = useTranslation('flash', {
|
|
22870
|
+
keyPrefix: 'paymentLayout'
|
|
22871
|
+
});
|
|
22817
22872
|
const {
|
|
22818
22873
|
borderStyle
|
|
22819
22874
|
} = useSelector(state => state.customization);
|
|
22875
|
+
const lang = useSafeSelector(state => state.lang);
|
|
22876
|
+
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
22877
|
+
const isRTL = langDirection === "rtl";
|
|
22878
|
+
const {
|
|
22879
|
+
displayCurrency,
|
|
22880
|
+
currencyClassName
|
|
22881
|
+
} = formatCurrencyForDisplay(currency);
|
|
22820
22882
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
22821
22883
|
children: [/*#__PURE__*/_jsx("div", {
|
|
22822
22884
|
className: "w-[200%] mt-6 self-center border-b border-gray-200"
|
|
22823
22885
|
}), /*#__PURE__*/_jsxs("div", {
|
|
22824
|
-
className:
|
|
22886
|
+
className: `${isRTL ? 'flex-row-reverse' : 'flex-row-reverse'} justify-end flex mt-6 items-center gap-3 mobile:flex-col-reverse`,
|
|
22825
22887
|
children: [/*#__PURE__*/_jsx("button", {
|
|
22826
22888
|
onClick: onClose,
|
|
22827
22889
|
type: "button",
|
|
22828
22890
|
className: `py-[10px] px-4 md:py-3 md:px-4 text-gray-500 hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-200 ${borderStyle === borderStyleConstants.RECTANGULAR ? 'rounded-none' : 'rounded-lg'} border border-gray-200 text-base hover:text-gray-900 focus:z-10 mobile:w-full`,
|
|
22829
22891
|
children: t('CANCEL_BTN')
|
|
22830
22892
|
}), /*#__PURE__*/_jsx(Button, {
|
|
22831
|
-
label:
|
|
22832
|
-
|
|
22893
|
+
label: /*#__PURE__*/_jsxs(_Fragment, {
|
|
22894
|
+
children: [t('SAVED_CARDS_ACTION_BTN'), ' ', /*#__PURE__*/_jsx("span", {
|
|
22895
|
+
className: currencyClassName,
|
|
22896
|
+
children: tPaymentLayout(displayCurrency)
|
|
22897
|
+
}), ' ', Number(amount.replace(',', '')).toLocaleString('en-US', {
|
|
22833
22898
|
minimumFractionDigits: 2
|
|
22834
|
-
})
|
|
22899
|
+
}), ' ', t('NOW')]
|
|
22835
22900
|
}),
|
|
22836
22901
|
id: "pay-button",
|
|
22837
22902
|
loading: loading,
|
|
@@ -22846,6 +22911,7 @@ const AddCardButtons_AddCardButtons = props => {
|
|
|
22846
22911
|
|
|
22847
22912
|
|
|
22848
22913
|
|
|
22914
|
+
|
|
22849
22915
|
function AddCardViewTwo_AddCard(props) {
|
|
22850
22916
|
const {
|
|
22851
22917
|
onSubmit,
|
|
@@ -22864,6 +22930,9 @@ function AddCardViewTwo_AddCard(props) {
|
|
|
22864
22930
|
discountErrorMessage,
|
|
22865
22931
|
discountAppliedMessage
|
|
22866
22932
|
} = props;
|
|
22933
|
+
const {
|
|
22934
|
+
t
|
|
22935
|
+
} = useTranslation('kitComponents');
|
|
22867
22936
|
return /*#__PURE__*/_jsxs("div", {
|
|
22868
22937
|
id: "iframe",
|
|
22869
22938
|
className: "overflow-hidden flex flex-col items-start rounded-xl shadow-[0_20px_24px_-4px_rgba(16, 24, 40, 0.08)_0_8px_8px_-4px_rgba(16, 24, 40, 0.03)]",
|
|
@@ -22873,7 +22942,7 @@ function AddCardViewTwo_AddCard(props) {
|
|
|
22873
22942
|
className: "flex pt-2 flex-col items-start gap-1",
|
|
22874
22943
|
children: /*#__PURE__*/_jsx("p", {
|
|
22875
22944
|
className: "text-gray-900 text-lg font-semibold leading-8",
|
|
22876
|
-
children: "
|
|
22945
|
+
children: t("ADD_SAVED_CARDS")
|
|
22877
22946
|
})
|
|
22878
22947
|
})
|
|
22879
22948
|
}), /*#__PURE__*/_jsx("div", {
|
|
@@ -23537,6 +23606,11 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23537
23606
|
const {
|
|
23538
23607
|
t
|
|
23539
23608
|
} = useTranslation_useTranslation('card');
|
|
23609
|
+
const {
|
|
23610
|
+
t: tPaymentLayout
|
|
23611
|
+
} = useTranslation_useTranslation('flash', {
|
|
23612
|
+
keyPrefix: 'paymentLayout'
|
|
23613
|
+
});
|
|
23540
23614
|
const isMobile = useWidth_useWidth();
|
|
23541
23615
|
const [loading, setLoading] = (0,react.useState)(false);
|
|
23542
23616
|
const [cardHolderName, setCardHolderName] = (0,react.useState)('');
|
|
@@ -23565,13 +23639,13 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23565
23639
|
const isAmexCardSelected = (selectedCard == null ? void 0 : selectedCard.type) === src_constants_CARD_TYPES.AMEX;
|
|
23566
23640
|
const selectedCardCvvLength = selectedCardCVV.length;
|
|
23567
23641
|
const selectedCardId = selectedCard == null ? void 0 : selectedCard.id;
|
|
23642
|
+
const [discountAppliedMessage, setDiscountAppliedMessage] = (0,react.useState)(null);
|
|
23643
|
+
const [discountErrorMessage, setDiscountErrorMessage] = (0,react.useState)('');
|
|
23644
|
+
const [totalAmount, setTotalAmount] = (0,react.useState)('');
|
|
23568
23645
|
const {
|
|
23569
23646
|
displayCurrency,
|
|
23570
23647
|
currencyFontFamily
|
|
23571
23648
|
} = formatCurrencyForDisplay_formatCurrencyForDisplay(currency);
|
|
23572
|
-
const [discountAppliedMessage, setDiscountAppliedMessage] = (0,react.useState)('');
|
|
23573
|
-
const [discountErrorMessage, setDiscountErrorMessage] = (0,react.useState)('');
|
|
23574
|
-
const [totalAmount, setTotalAmount] = (0,react.useState)('');
|
|
23575
23649
|
const showCvvInput = paymentMethodType === constants_PAYMENT_METHODS_TYPES.MOTO && useCvv || paymentMethodType === constants_PAYMENT_METHODS_TYPES.ONLINE;
|
|
23576
23650
|
const shouldDisablePayBtn = showCvvInput ? loading || (isAmexCardSelected ? selectedCardCvvLength !== src_constants_AMEX_CVV_LENGTH : selectedCardCvvLength !== constants_CVV_LENGTH) : !selectedCardId;
|
|
23577
23651
|
(0,react.useEffect)(() => {
|
|
@@ -23619,7 +23693,8 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23619
23693
|
tokenizationResolve.current = null;
|
|
23620
23694
|
}
|
|
23621
23695
|
if ((event == null || (_event$data4 = event.data) == null ? void 0 : _event$data4.type) === 'discountResponse') {
|
|
23622
|
-
|
|
23696
|
+
var _event$data$response;
|
|
23697
|
+
handleDiscount((_event$data$response = event.data.response) == null ? void 0 : _event$data$response.res);
|
|
23623
23698
|
}
|
|
23624
23699
|
};
|
|
23625
23700
|
const handlePaymentResponse = ({
|
|
@@ -23839,10 +23914,11 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23839
23914
|
};
|
|
23840
23915
|
const handleResetDiscountMessages = () => {
|
|
23841
23916
|
setDiscountErrorMessage("");
|
|
23842
|
-
setDiscountAppliedMessage(
|
|
23917
|
+
setDiscountAppliedMessage(null);
|
|
23843
23918
|
setTotalAmount("");
|
|
23844
23919
|
};
|
|
23845
23920
|
const handleSavedCardDiscount = async (identifier, hasDiscount) => {
|
|
23921
|
+
handleResetDiscountMessages();
|
|
23846
23922
|
if (!hasDiscount) return;
|
|
23847
23923
|
const res = await checkDiscount(payment.token, payment.id, identifier, true);
|
|
23848
23924
|
handleDiscount(res);
|
|
@@ -23857,10 +23933,23 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
23857
23933
|
} = res.data;
|
|
23858
23934
|
const discountedAmount = formatAmountBasedOnCurrency_formatAmountBasedOnCurrency(discounted_amount_cents, currency);
|
|
23859
23935
|
const totalAmount = formatAmountBasedOnCurrency_formatAmountBasedOnCurrency(discount_amount_cents, currency);
|
|
23860
|
-
if (
|
|
23861
|
-
|
|
23862
|
-
|
|
23863
|
-
|
|
23936
|
+
if (discount_amount_cents < 0) {
|
|
23937
|
+
setDiscountErrorMessage(t('DISCOUNT_EXCEEDS_ORDER'));
|
|
23938
|
+
} else if (discounted_amount_cents > 0) {
|
|
23939
|
+
setDiscountAppliedMessage(/*#__PURE__*/(0,jsx_runtime.jsx)(Trans_Trans, {
|
|
23940
|
+
ns: "card",
|
|
23941
|
+
i18nKey: "DISCOUNT_APPLIED",
|
|
23942
|
+
values: {
|
|
23943
|
+
currency: tPaymentLayout(displayCurrency),
|
|
23944
|
+
amount: discountedAmount
|
|
23945
|
+
},
|
|
23946
|
+
components: {
|
|
23947
|
+
span: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
23948
|
+
style: {
|
|
23949
|
+
fontFamily: currencyFontFamily
|
|
23950
|
+
}
|
|
23951
|
+
})
|
|
23952
|
+
}
|
|
23864
23953
|
}));
|
|
23865
23954
|
setTotalAmount(totalAmount);
|
|
23866
23955
|
}
|
|
@@ -24108,7 +24197,7 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
24108
24197
|
error: errors['name'],
|
|
24109
24198
|
placeholder: customStyle == null || (_customStyle$placehol = customStyle.placeholderText) == null ? void 0 : _customStyle$placehol.holderName
|
|
24110
24199
|
}), discountErrorMessage && /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
24111
|
-
className: "mt-2 text-
|
|
24200
|
+
className: "mt-2 text-orange-700 text-sm leading-[1.125rem] tracking-[0.01rem]",
|
|
24112
24201
|
style: customStyle == null || (_customStyle$discount = customStyle.discount) == null ? void 0 : _customStyle$discount.validationMessage,
|
|
24113
24202
|
children: discountErrorMessage
|
|
24114
24203
|
}), discountAppliedMessage && /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
@@ -24166,45 +24255,60 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
24166
24255
|
fontFamily: currencyFontFamily
|
|
24167
24256
|
},
|
|
24168
24257
|
children: displayCurrency
|
|
24169
|
-
}), ' ', totalAmount || amount
|
|
24258
|
+
}), ' ', totalAmount || amount, totalAmount && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
24259
|
+
className: "opacity-50 ml-2 text-white text-sm font-semibold leading-6 tracking-[0.16px]",
|
|
24260
|
+
style: {
|
|
24261
|
+
textDecoration: 'line-through'
|
|
24262
|
+
},
|
|
24263
|
+
children: amount
|
|
24264
|
+
})]
|
|
24170
24265
|
}),
|
|
24171
24266
|
onClick: () => setShouldSubmitData(true),
|
|
24172
|
-
customStyle: customStyle == null ? void 0 : customStyle.button
|
|
24267
|
+
customStyle: customStyle == null ? void 0 : customStyle.button,
|
|
24268
|
+
className: "w-full"
|
|
24173
24269
|
})
|
|
24174
24270
|
}), showPaymobLogo && integrationType === INTEGRATION_TYPE.DIRECT_PAYMENT && /*#__PURE__*/(0,jsx_runtime.jsx)(CopyrightsViewTwo_Copyrights, {
|
|
24175
24271
|
isElements: true
|
|
24176
24272
|
})]
|
|
24177
24273
|
})]
|
|
24178
24274
|
}), savedCards && !showCardModal && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
24179
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
24275
|
+
children: [!!(discounts != null && discounts.count) && /*#__PURE__*/(0,jsx_runtime.jsx)(Discounts, {
|
|
24276
|
+
customStyle: customStyle == null ? void 0 : customStyle.discount,
|
|
24277
|
+
discounts: discounts.data
|
|
24278
|
+
}), /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
24180
24279
|
style: customStyle == null ? void 0 : customStyle.label,
|
|
24181
24280
|
children: (customStyle == null || (_customStyle$labelTex3 = customStyle.labelText) == null ? void 0 : _customStyle$labelTex3.savedCardsLabel) || t('SAVED_CARDS_TITLE')
|
|
24182
|
-
}), savedCards.map(card =>
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
|
|
24186
|
-
|
|
24187
|
-
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24191
|
-
|
|
24192
|
-
|
|
24193
|
-
|
|
24194
|
-
|
|
24195
|
-
|
|
24196
|
-
|
|
24197
|
-
|
|
24281
|
+
}), savedCards.map(card => {
|
|
24282
|
+
var _customStyle$discount3, _customStyle$discount4;
|
|
24283
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
24284
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SavedCardElements, {
|
|
24285
|
+
card: card,
|
|
24286
|
+
selectedCardId: selectedCard == null ? void 0 : selectedCard.id,
|
|
24287
|
+
showCvvInput: showCvvInput,
|
|
24288
|
+
selectedCardCVV: selectedCardCVV,
|
|
24289
|
+
setSelectedCardCVV: setSelectedCardCVV,
|
|
24290
|
+
onCardSelect: handleSelectCard,
|
|
24291
|
+
onDeleteCard: handleSelectDeleteCard,
|
|
24292
|
+
environment: environment,
|
|
24293
|
+
height: height,
|
|
24294
|
+
customStyle: customStyle,
|
|
24295
|
+
baseURL: baseUrl,
|
|
24296
|
+
ref: el => {
|
|
24297
|
+
if (el) {
|
|
24298
|
+
iframeCVVRefs.current[card.id] = el;
|
|
24299
|
+
}
|
|
24198
24300
|
}
|
|
24199
|
-
}
|
|
24200
|
-
|
|
24201
|
-
|
|
24202
|
-
|
|
24203
|
-
|
|
24204
|
-
|
|
24205
|
-
|
|
24206
|
-
|
|
24207
|
-
|
|
24301
|
+
}, card.id), !showCardModal && discountErrorMessage && card.id === selectedCardId && /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
24302
|
+
className: "text-orange-700 text-sm leading-[1.125rem] track-[0.01rem]",
|
|
24303
|
+
style: customStyle == null || (_customStyle$discount3 = customStyle.discount) == null ? void 0 : _customStyle$discount3.validationMessage,
|
|
24304
|
+
children: discountErrorMessage
|
|
24305
|
+
}), !showCardModal && discountAppliedMessage && card.id === selectedCardId && /*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
24306
|
+
className: "text-green-600 text-sm leading-[1.125rem] track-[0.01rem]",
|
|
24307
|
+
style: customStyle == null || (_customStyle$discount4 = customStyle.discount) == null ? void 0 : _customStyle$discount4.successMessage,
|
|
24308
|
+
children: discountAppliedMessage
|
|
24309
|
+
})]
|
|
24310
|
+
});
|
|
24311
|
+
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
24208
24312
|
onClick: handleShowNewCardForm,
|
|
24209
24313
|
className: `${loading ? 'opacity-75' : 'cursor-pointer'} mt-4 w-full flex h-[4.5rem] p-4 justify-center items-center gap-3 rounded-xl border border-dashed border-blue-200 bg-white`,
|
|
24210
24314
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("button", {
|
|
@@ -24232,10 +24336,16 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
|
|
|
24232
24336
|
fontFamily: currencyFontFamily
|
|
24233
24337
|
},
|
|
24234
24338
|
children: displayCurrency
|
|
24235
|
-
}), ' ', totalAmount || amount
|
|
24339
|
+
}), ' ', totalAmount || amount, totalAmount && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
24340
|
+
className: "opacity-50 ml-2 text-white text-sm font-semibold leading-6 tracking-[0.16px]",
|
|
24341
|
+
style: {
|
|
24342
|
+
textDecoration: 'line-through'
|
|
24343
|
+
},
|
|
24344
|
+
children: amount
|
|
24345
|
+
})]
|
|
24236
24346
|
}),
|
|
24237
|
-
|
|
24238
|
-
|
|
24347
|
+
customStyle: customStyle == null ? void 0 : customStyle.button,
|
|
24348
|
+
className: "w-full"
|
|
24239
24349
|
})
|
|
24240
24350
|
})]
|
|
24241
24351
|
})]
|
|
@@ -25778,6 +25888,8 @@ function TabbyViewTwo(props) {
|
|
|
25778
25888
|
code: currency === 'SAR' ? '+966' : '+971',
|
|
25779
25889
|
currency
|
|
25780
25890
|
});
|
|
25891
|
+
const lang = useSafeSelector(state => state.lang);
|
|
25892
|
+
const langDirection = lang === 'ar' ? 'rtl' : 'ltr';
|
|
25781
25893
|
const {
|
|
25782
25894
|
handleSubmit,
|
|
25783
25895
|
errors,
|
|
@@ -25836,6 +25948,9 @@ function TabbyViewTwo(props) {
|
|
|
25836
25948
|
w-full border rounded-lg border-solid overflow-hidden
|
|
25837
25949
|
${errors['email'] ? 'border-red-300' : 'border-gray-300'}
|
|
25838
25950
|
`,
|
|
25951
|
+
style: Object.assign({}, customStyle, {
|
|
25952
|
+
direction: "ltr"
|
|
25953
|
+
}),
|
|
25839
25954
|
children: /*#__PURE__*/_jsx(FormInput, {
|
|
25840
25955
|
icon: /*#__PURE__*/_jsx("img", {
|
|
25841
25956
|
className: "",
|
|
@@ -31362,7 +31477,7 @@ const currencies_CURRENCIES_WITH_THOUSAND_DIVISOR = ['JOD', 'OMR', 'KWD', 'BHD']
|
|
|
31362
31477
|
|
|
31363
31478
|
|
|
31364
31479
|
|
|
31365
|
-
async function fetchPayments(publicKey, clientSecret, paymentMethods) {
|
|
31480
|
+
async function fetchPayments(publicKey, clientSecret, paymentMethods, baseUrl) {
|
|
31366
31481
|
let payments = null;
|
|
31367
31482
|
let formattedSavedCards = null;
|
|
31368
31483
|
let discounts = null;
|
|
@@ -31434,6 +31549,16 @@ async function fetchPayments(publicKey, clientSecret, paymentMethods) {
|
|
|
31434
31549
|
});
|
|
31435
31550
|
}
|
|
31436
31551
|
discounts = res.data.classified_discounts;
|
|
31552
|
+
if (discounts) {
|
|
31553
|
+
['cards', 'wallets'].forEach(type => {
|
|
31554
|
+
var _discounts$type;
|
|
31555
|
+
if (((_discounts$type = discounts[type]) == null || (_discounts$type = _discounts$type.data) == null ? void 0 : _discounts$type.length) > 0) {
|
|
31556
|
+
discounts[type].data = discounts[type].data.map(item => Object.assign({}, item, {
|
|
31557
|
+
logo: item.logo ? baseUrl + item.logo : item.logo
|
|
31558
|
+
}));
|
|
31559
|
+
}
|
|
31560
|
+
});
|
|
31561
|
+
}
|
|
31437
31562
|
|
|
31438
31563
|
// this._showSaveCard = res.data?.customization.customization_data.payments?.toggles?.display_savecard;
|
|
31439
31564
|
if (res.data.is_card_expired) {
|
|
@@ -32026,7 +32151,7 @@ function inherits_inherits(t, e) {
|
|
|
32026
32151
|
|
|
32027
32152
|
|
|
32028
32153
|
function possibleConstructorReturn_possibleConstructorReturn(t, e) {
|
|
32029
|
-
if (e && ("object" ==
|
|
32154
|
+
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
32030
32155
|
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
32031
32156
|
return assertThisInitialized_assertThisInitialized(t);
|
|
32032
32157
|
}
|
|
@@ -32714,7 +32839,7 @@ var Translator = function (_EventEmitter) {
|
|
|
32714
32839
|
value: function translate(keys, options, lastKey) {
|
|
32715
32840
|
var _this2 = this;
|
|
32716
32841
|
|
|
32717
|
-
if (
|
|
32842
|
+
if (_typeof(options) !== 'object' && this.options.overloadTranslationOptionHandler) {
|
|
32718
32843
|
options = this.options.overloadTranslationOptionHandler(arguments);
|
|
32719
32844
|
}
|
|
32720
32845
|
|
|
@@ -34231,11 +34356,11 @@ function get() {
|
|
|
34231
34356
|
appendNamespaceToCIMode: false,
|
|
34232
34357
|
overloadTranslationOptionHandler: function handle(args) {
|
|
34233
34358
|
var ret = {};
|
|
34234
|
-
if (
|
|
34359
|
+
if (_typeof(args[1]) === 'object') ret = args[1];
|
|
34235
34360
|
if (typeof args[1] === 'string') ret.defaultValue = args[1];
|
|
34236
34361
|
if (typeof args[2] === 'string') ret.tDescription = args[2];
|
|
34237
34362
|
|
|
34238
|
-
if (
|
|
34363
|
+
if (_typeof(args[2]) === 'object' || _typeof(args[3]) === 'object') {
|
|
34239
34364
|
var options = args[3] || args[2];
|
|
34240
34365
|
Object.keys(options).forEach(function (key) {
|
|
34241
34366
|
ret[key] = options[key];
|
|
@@ -34690,7 +34815,7 @@ var I18n = function (_EventEmitter) {
|
|
|
34690
34815
|
var fixedT = function fixedT(key, opts) {
|
|
34691
34816
|
var options;
|
|
34692
34817
|
|
|
34693
|
-
if (
|
|
34818
|
+
if (_typeof(opts) !== 'object') {
|
|
34694
34819
|
for (var _len3 = arguments.length, rest = new Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) {
|
|
34695
34820
|
rest[_key3 - 2] = arguments[_key3];
|
|
34696
34821
|
}
|
|
@@ -34918,17 +35043,17 @@ const ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENTS_LIST_TITLE":"How
|
|
|
34918
35043
|
;// ../../localization/apps/flash/payments-list/ur.json
|
|
34919
35044
|
const ur_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENTS_LIST_TITLE":"How would you like to pay?","ACTION_BTN":"Proceed to payment","PAY_ANOTHER_WAY":"Or pay another way","PAYMENT_METHOD":"Payment method"}');
|
|
34920
35045
|
;// ../../localization/apps/flash/card/en.json
|
|
34921
|
-
const card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price"}');
|
|
35046
|
+
const card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
34922
35047
|
;// ../../localization/apps/flash/card/ar.json
|
|
34923
|
-
const card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"
|
|
35048
|
+
const card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"تم تطبيق خصم <span>{{currency}}</span> {{amount}} بنجاح","DISCOUNT_REACHED_LIMIT":"لقد استخدمت الحد الأقصى لبطاقتك على جميع الخصومات التي يحق لك الحصول عليها. يرجى استخدام بطاقة أخرى أو المتابعة بالشراء بالسعر العادي","DISCOUNT_EXCEEDS_ORDER":"قيمة الخصم أكبر من قيمة الطلب. يرجى المتابعة بدون خصم"}');
|
|
34924
35049
|
;// ../../localization/apps/flash/card/ur.json
|
|
34925
|
-
const card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price"}');
|
|
35050
|
+
const card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"FILL_CARD":"Enter Card Details","OTP_TITLE":"OTP verification","LOADING_MODAL_MESSAGE":"Processing your payment, Please wait...","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_INVALID_OTP":"This OTP is not valid","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ROUNDING_OFF_VISA":"For Visa Cards, Order Amount will be rounded off to 2 decimal places.","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your card’s limit on all the discounts you are eligible for. Please use another card or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
34926
35051
|
;// ../../localization/apps/flash/payment-layout/en.json
|
|
34927
|
-
const payment_layout_en_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","PURCHASE_FEE":"Purchase Fee","
|
|
35052
|
+
const payment_layout_en_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","PAYMENT_DETAILS":"Payment details","PURCHASE_FEE":"Purchase Fee","DISCOUNT_DETAILS":"{{percentage}}% Discount - {{currency}} {{discount}} saved","瘝":"瘝","AFN":"AFN","ALL":"ALL","AMD":"AMD","ANG":"ANG","AOA":"AOA","ARS":"ARS","AUD":"AUD","AWG":"AWG","AZN":"AZN","BAM":"BAM","BBD":"BBD","BDT":"BDT","BGN":"BGN","BHD":"BHD","BIF":"BIF","BMD":"BMD","BND":"BND","BOB":"BOB","BRL":"BRL","BSD":"BSD","BTN":"BTN","BWP":"BWP","BYN":"BYN","BZD":"BZD","CAD":"CAD","CDF":"CDF","CHF":"CHF","CKD":"CKD","CLP":"CLP","CNY":"CNY","COP":"COP","CRC":"CRC","CUC":"CUC","CUP":"CUP","CVE":"CVE","CZK":"CZK","DJF":"DJF","DKK":"DKK","DOP":"DOP","DZD":"DZD","EGP":"EGP","EHP":"EHP","ERN":"ERN","ETB":"ETB","EUR":"EUR","FJD":"FJD","FKP":"FKP","FOK":"FOK","GBP":"GBP","GEL":"GEL","GGP":"GGP","GHS":"GHS","GIP":"GIP","GMD":"GMD","GNF":"GNF","GTQ":"GTQ","GYD":"GYD","HKD":"HKD","HNL":"HNL","HRK":"HRK","HTG":"HTG","HUF":"HUF","IDR":"IDR","ILS":"ILS","IMP":"IMP","INR":"INR","IQD":"IQD","IRR":"IRR","ISK":"ISK","JEP":"JEP","JMD":"JMD","JOD":"JOD","JPY":"JPY","KES":"KES","KGS":"KGS","KHR":"KHR","KID":"KID","KMF":"KMF","KPW":"KPW","KRW":"KRW","KWD":"KWD","KYD":"KYD","KZT":"KZT","LAK":"LAK","LBP":"LBP","LKR":"LKR","LRD":"LRD","LSL":"LSL","LYD":"LYD","MAD":"MAD","MDL":"MDL","MGA":"MGA","MKD":"MKD","MMK":"MMK","MNT":"MNT","MOP":"MOP","MRU":"MRU","MUR":"MUR","MVR":"MVR","MWK":"MWK","MXN":"MXN","MYR":"MYR","MZN":"MZN","NAD":"NAD","NGN":"NGN","NIO":"NIO","NOK":"NOK","NPR":"NPR","NZD":"NZD","OMR":"OMR","PAB":"PAB","PEN":"PEN","PGK":"PGK","PHP":"PHP","PKR":"PKR","PLN":"PLN","PND":"PND","PRB":"PRB","PYG":"PYG","QAR":"QAR","RON":"RON","RSD":"RSD","RUB":"RUB","RWF":"RWF","瘟":"瘟","SBD":"SBD","SCR":"SCR","SDG":"SDG","SEK":"SEK","SGD":"SGD","SHP":"SHP","SLL":"SLL","SLS":"SLS","SOS":"SOS","SRD":"SRD","SSP":"SSP","STN":"STN","SVC":"SVC","SYP":"SYP","SZL":"SZL","THB":"THB","TJS":"TJS","TMT":"TMT","TND":"TND","TOP":"TOP","TRY":"TRY","TTD":"TTD","TVD":"TVD","TWD":"TWD","TZS":"TZS","UAH":"UAH","UGX":"UGX","USD":"USD","UYU":"UYU","UZS":"UZS","VED":"VED","VES":"VES","VND":"VND","VUV":"VUV","WST":"WST","XAF":"XAF","XCD":"XCD","XOF":"XOF","XPF":"XPF","YER":"YER","ZAR":"ZAR","ZMW":"ZMW","ZWB":"ZWB","ZWL":"ZWL","Abkhazia":"Abkhazia","Artsakh":"Artsakh"}');
|
|
34928
35053
|
;// ../../localization/apps/flash/payment-layout/ar.json
|
|
34929
|
-
const payment_layout_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"
|
|
35054
|
+
const payment_layout_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"مبلغ الطلب","QUANTITY":"الكمية","BILLING_ADDRESS":"عنوان إرسال الفواتير","SHIPPING_ADDRESS":"عنوان إرسال الشحن","SUB_TOTAL":"المبلغ","VAT":"ضريبة القيمة المضافة","FEES":"الرسوم","DISCOUNT_AMOUNT":"قيمة الخصم","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"رسوم إدارية","TOTAL":"الإجمالي","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"دفع آمن","ORDER_DETAILS":"عرض تفاصيل الطلب","PAYMENT_DETAILS":"تفاصيل الدفع","PURCHASE_FEE":"Purchase Fee","DISCOUNT_DETAILS":"خصم {{percentage}}% - تم توفير {{currency}} {{discount}}","瘝":"瘝","AFN":"أفغاني","ALL":"ليك ألباني","AMD":"درام أرميني","ANG":"غيلدر هولندي","AOA":"كوانزا أنغولي","ARS":"بيزو أرجنتيني","AUD":"دولار أسترالي","AWG":"فلورن أروبي","AZN":"مانات أذربيجاني","BAM":"مارك بوسني قابل للتحويل","BBD":"دولار باربادوسي","BDT":"تاكا بنغلاديشي","BGN":"ليف بلغاري","BHD":"دينار بحريني","BIF":"فرنك بوروندي","BMD":"دولار برمودي","BND":"دولار بروناي","BOB":"بوليفيانو بوليفي","BRL":"ريال برازيلي","BSD":"دولار بهامي","BTN":"نغولترم بوتاني","BWP":"بولا بوتسواني","BYN":"روبل بيلاروسي","BZD":"دولار بليزي","CAD":"دولار كندي","CDF":"فرنك كونغولي","CHF":"فرنك سويسري","CKD":"بيزو شيلي ","CLP":"بيزو شيلي","CNY":"يوان صيني","COP":"بيزو كولومبي","CRC":"كولون كوستاريكي","CUC":"بيزو كوبي قابل للتحويل","CUP":"بيزو كوبي","CVE":"إسكودو كاب فيردي","CZK":"كورونا تشيكية","DJF":"فرنك جيبوتي","DKK":"كرونة دنماركية","DOP":"بيزو دومينيكاني","DZD":"دينار جزائري","EGP":"جنيه مصري","EHP":"بيزيتا إسبانية ","ERN":"ناكفا إريتري","ETB":"بير إثيوبي","EUR":"يورو","FJD":"دولار فيجي","FKP":"جنيه جزر فوكلاند","FOK":"كرونة جزر فارو","GBP":"جنيه إسترليني","GEL":"لاري جورجي","GGP":"جنيه غيرنسي","GHS":"سيدي غاني","GIP":"جنيه جبل طارق","GMD":"دلاسي غامبي","GNF":"فرنك غيني","GTQ":"كوتزال غواتيمالي","GYD":"دولار غياني","HKD":"دولار هونغ كونغ","HNL":"لمبيرة هندوراسي","HRK":"كونا كرواتي","HTG":"غوردي هايتي","HUF":"فورينت مجري","IDR":"روبية إندونيسية","ILS":"شيكل إسرائيلي جديد","IMP":"جنيه مانكسي","INR":"روبية هندية","IQD":"دينار عراقي","IRR":"ريال إيراني","ISK":"كرونة آيسلندية","JEP":"جنيه جيرزي","JMD":"دولار جامايكي","JOD":"دينار أردني","JPY":"ين ياباني","KES":"شيلينغ كيني","KGS":"سوم قيرغيزستاني","KHR":"رييل كمبودي","KID":"دولار كيريباتي","KMF":"فرنك قمري","KPW":"وون كوري شمالي","KRW":"وون كوري جنوبي","KWD":"دينار كويتي","KYD":"دولار جزر كايمان","KZT":"تينغ كازاخستاني","LAK":"كيب لاوي","LBP":"جنيه لبناني","LKR":"روبية سريلانكية","LRD":"دولار ليبيري","LSL":"لوتي ليسوتي","LYD":"دينار ليبي","MAD":"درهم مغربي","MDL":"ليو مولدوفي","MGA":"أرياري مدغشقري","MKD":"دينار مقدوني","MMK":"كيات ميانماري","MNT":"توغروغ منغولي","MOP":"باتاكا ماكاوي","MRU":"أوقية موريتانية","MUR":"روبية موريشيوسية","MVR":"روفيا مالديفية","MWK":"كواشا مالاوي","MXN":"بيزو مكسيكي","MYR":"رينغيت ماليزي","MZN":"ميتكيال موزمبيقي","NAD":"دولار ناميبي","NGN":"نايرا نيجيري","NIO":"كوردوبا نيكاراغوي","NOK":"كرونة نرويجية","NPR":"روبية نيبالية","NZD":"دولار نيوزيلندي","OMR":"ريال عماني","PAB":"بالبوا بنمي","PEN":"سول بيروفي","PGK":"كينا بابوا غينيا الجديدة","PHP":"بيزو فلبيني","PKR":"روبية باكستانية","PLN":"زلوتي بولندي","PND":"جنيه بوندلندي","PRB":"بوليفار فنزويلي","PYG":"غواراني باراغواي","QAR":"ريال قطري","RON":"ليو روماني","RSD":"دينار صربي","RUB":"روبل روسي","RWF":"فرنك رواندي","瘟":"瘟","SBD":"دولار جزر سليمان","SCR":"روبية سيشلية","SDG":"جنيه سوداني","SEK":"كرونة سويدية","SGD":"دولار سنغافوري","SHP":"جنيه سانت هيليني","SLL":"ليون سيراليوني","SLS":"SLS","SOS":"شلن صومالي","SRD":"دولار سورينامي","SSP":"جنيه جنوب سوداني","STN":"دوبرا ساو تومي وبرينسيب","SVC":"كولون سلفادوري","SYP":"ليرة سورية","SZL":"ليلانجيني إسواتيني","THB":"بات تايلاندي","TJS":"سوموني طاجيكي","TMT":"مانات تركماني","TND":"دينار تونسي","TOP":"بانغا تونغي","TRY":"ليرة تركية","TTD":"دولار ترينيدادي","TVD":"دولار تيموري","TWD":"دولار تايواني جديد","TZS":"شلن تنزاني","UAH":"هريفنيا أوكرانية","UGX":"شلن أوغندي","USD":"دولار أمريكي","UYU":"بيزو أوروغواي","UZS":"سوم أوزبكي","VED":"بوليفار فنزويلي قديم","VES":"بوليفار فنزويلي حديث","VND":"دونغ فيتنامي","VUV":"فاتو فانواتو","WST":"تالا ساموا","XAF":"فرنك وسط أفريقي","XCD":"دولار شرق كاريبي","XOF":"فرنك غرب أفريقي","XPF":"فرنك المحيط الهادئ","YER":"ريال يمني","ZAR":"راند جنوب أفريقي","ZMW":"كواشا زامبي","ZWB":"دولار زيمبابوي","ZWL":"دولار زيمبابوي","Abkhazia":"أبخازيا","Artsakh":"آرتساخ"}');
|
|
34930
35055
|
;// ../../localization/apps/flash/payment-layout/ur.json
|
|
34931
|
-
const payment_layout_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","
|
|
35056
|
+
const payment_layout_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","QUANTITY":"Quantity","BILLING_ADDRESS":"Billing Address","SHIPPING_ADDRESS":"Shipping Address","SUB_TOTAL":"Subtotal","VAT":"VAT","FEES":"Fees","DISCOUNT_AMOUNT":"Discount Amount","INSTALLMENT_PLAN":"Installment Plan","TENURE":"Tenure","FINANCE_AMOUNT":"Finance Amount","DOWN_PAYMENT":"Down Payment","ADMIN_FEES":"Admin Fees","TOTAL":"Total","CASH_BACK":"Cashback","FLIP":"Flip","CARD_NUMBER":"Card number","SECURE_PAYMENT":"Secure payment","ORDER_DETAILS":"View order details","PAYMENT_DETAILS":"Payment details","PURCHASE_FEE":"Purchase Fee","DISCOUNT_DETAILS":"{{percentage}}% Discount - {{currency}} {{discount}} saved"}');
|
|
34932
35057
|
;// ../../localization/apps/flash/bank-installment/en.json
|
|
34933
35058
|
const bank_installment_en_namespaceObject = /*#__PURE__*/JSON.parse('{"ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong"}');
|
|
34934
35059
|
;// ../../localization/apps/flash/bank-installment/ar.json
|
|
@@ -35014,11 +35139,11 @@ const postpay_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"POSTPAY_TITLE":"Pa
|
|
|
35014
35139
|
;// ../../localization/apps/flash/postpay/ur.json
|
|
35015
35140
|
const postpay_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"POSTPAY_TITLE":"Pay with Postpay","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token"}');
|
|
35016
35141
|
;// ../../localization/apps/flash/wallet/en.json
|
|
35017
|
-
const wallet_en_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price"}');
|
|
35142
|
+
const wallet_en_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35018
35143
|
;// ../../localization/apps/flash/wallet/ar.json
|
|
35019
|
-
const wallet_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"
|
|
35144
|
+
const wallet_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"تم تطبيق خصم {{currency}} {{amount}} بنجاح","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"قيمة الخصم أكبر من قيمة الطلب. يرجى المتابعة بدون خصم"}');
|
|
35020
35145
|
;// ../../localization/apps/flash/wallet/ur.json
|
|
35021
|
-
const wallet_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price"}');
|
|
35146
|
+
const wallet_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"WALLET_TITLE":"Enter phone number to pay by wallet","ACTION_BTN":"Pay","ERR_MSG_INVALID_DATA":"Mobile Number is not registered with the Wallet Provider","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully","DISCOUNT_REACHED_LIMIT":"You\'ve used up your wallet’s limit on all the discounts you are eligible for. Please use another wallet or proceed with your purchase at the regular price","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35022
35147
|
;// ../../localization/apps/flash/premium/en.json
|
|
35023
35148
|
const premium_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PREMIUM_TITLE":"Premium","IFRAME_INSTALMENT_PLAN":"","IFRAME_SUBMIT_BTN":"Continue","ERR_MSG_INVALID_DATA":"The given data is not valid please check your information","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials.","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","ERR_MSG_UNAUTHORIZED":"Invalid or expired payment token","ERR_MSG_INVALID_OTP":"This OTP is not valid"}');
|
|
35024
35149
|
;// ../../localization/apps/flash/premium/ar.json
|
|
@@ -35068,17 +35193,17 @@ const tab_element_en_namespaceObject = /*#__PURE__*/JSON.parse('{"SYMPL_ZERO_INT
|
|
|
35068
35193
|
;// ../../localization/apps/flash/tab-element/ur.json
|
|
35069
35194
|
const tab_element_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer"}');
|
|
35070
35195
|
;// ../../localization/libs/card/en.json
|
|
35071
|
-
const libs_card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully"}');
|
|
35196
|
+
const libs_card_en_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35072
35197
|
;// ../../localization/libs/card/ar.json
|
|
35073
|
-
const libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"معلومات البطاقة","CARDHOLDER_NAME":"اسم حامل البطاقة","CARD_NUMBER":"رقم البطاقة","CARD_NUMBER_NOT_VALID":"رقم البطاقة غير صحيح","CARD_NUMBER_IS_REQUIRED":"رقم البطاقة مطلوب","CARD_EXPIRY":"تاريخ الصلاحية (شهر/سنة)","CARD_EXPIRY_NOT_VALID":"تاريخ الانتهاء غير صحيح","CARD_EXPIRY_IS_REQUIRED":"تاريخ الانتهاء مطلوب","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"كود التحقق المكون من 3 أرقام مطلوب","CARD_NAME":"الاسم على البطاقة","CARD_NAME_PLACEHOLDER":"
|
|
35198
|
+
const libs_card_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"معلومات البطاقة","CARDHOLDER_NAME":"اسم حامل البطاقة","CARD_NUMBER":"رقم البطاقة","CARD_NUMBER_NOT_VALID":"رقم البطاقة غير صحيح","CARD_NUMBER_IS_REQUIRED":"رقم البطاقة مطلوب","CARD_EXPIRY":"تاريخ الصلاحية (شهر/سنة)","CARD_EXPIRY_NOT_VALID":"تاريخ الانتهاء غير صحيح","CARD_EXPIRY_IS_REQUIRED":"تاريخ الانتهاء مطلوب","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"كود التحقق المكون من 3 أرقام مطلوب","CARD_NAME":"الاسم على البطاقة","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"اسم البطاقة غير صحيح","CARD_NAME_IS_REQUIRED":"اسم حامل البطاقة مطلوب","NAME_IS_REQUIRED":"الاسم مطلوب","EMAIL_IS_REQUIRED":"البريد الإلكتروني مطلوب","EMAIL_NOT_VALID":"البريد الإلكتروني غير صحيح","PHONE_IS_REQUIRED":"رقم الهاتف مطلوب","PHONE_NOT_VALID":"رقم الهاتف غير صحيح","SAVED_CARDS_TITLE":"البطاقات المحفوظة","SAVE_CARD":"حفظ البطاقة للاستخدام في المستقبل","ADD_NEW_CARD_BTN":"بطاقة جديدة","CARD_ACTION_BTN":"ادفع","OTP_ACTION_BTN":"تحقق من كود الـ OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"رقم البطاقة","OTP_HINT":"برجاء إدخال الكود المكون من 4 أرقام المرسل إلى موبايلك","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"هل لديك بطاقة ماستركارد / فيزا؟","CVV_MODAL_VISA_BODY":".إنه رمز مكون من 3 أرقام على ظهر بطاقتك","CVV_MODAL_AMEX_HEADER":"هل لديك بطاقة أمريكان إكسبريس؟","CVV_MODAL_AMEX_BODY":".إنه رقم مكون من 4 أرقام في الأمام، فوق رقم بطاقتك الائتمانية","ERR_MSG_EXCEEDED_TRIALS":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، سيتم تحويلك إلى الموقع الإلكتروني، يمكنك بدء جلسة دفع جديدة مع باي موب","ERR_MSG_ALREADY_PROCESSED":".تمت عملية الدفع بالفعل وهي حاليا قيد الإنتظار","ERR_MSG_DECLINED":"تم رفض عملية الدفع","ERR_MSG_EXPIRED":".يبدو أن مهلة الدفع قد انتهت، من فضلك أعد المحاولة","ERR_MSG_SOMETHING_WENT_WRONG":"!حدث خطأ ما","FORCE_SAVE_CARD":"سيتم حفظ بيانات البطاقة للاستخدام في المستقبل","ERR_MSG_ALREADY_PAID":"تمت عملية الدفع لهذا الطلب بالفعل","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","DISCOUNT_APPLIED":"تم تطبيق خصم <span>{{currency}}</span> {{amount}} بنجاح","VIEW_SAVED_CARDS":"عرض البطاقات المحفوظة","DISCOUNT_EXCEEDS_ORDER":"قيمة الخصم أكبر من قيمة الطلب. يرجى المتابعة بدون خصم"}');
|
|
35074
35199
|
;// ../../localization/libs/card/ur.json
|
|
35075
|
-
const libs_card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","DISCOUNT_APPLIED":"Discount of {{currency}} {{amount}} applied successfully"}');
|
|
35200
|
+
const libs_card_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"CARD_INFO":"Card Information","CARDHOLDER_NAME":"Cardholder Name","CARD_NUMBER":"Card Number","CARD_NUMBER_NOT_VALID":"Card number is not valid","CARD_NUMBER_IS_REQUIRED":"Card number is required","CARD_EXPIRY":"Expiry (MM/YY)","CARD_EXPIRY_NOT_VALID":"Expiry date is not valid","CARD_EXPIRY_IS_REQUIRED":"Expiry date is required","AMEX_CVV_IS_REQUIRED":"4-digit CVV is required","CVV_IS_REQUIRED":"3-digit CVV is required","CARD_NAME":"Name on card","CARD_NAME_PLACEHOLDER":"ex. Abdullah Adel","CARD_NAME_NOT_VALID":"Card name is not valid","CARD_NAME_IS_REQUIRED":"Cardholder Name is required","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAVED_CARDS_TITLE":"Saved cards","SAVE_CARD":"Save card for future use","ADD_NEW_CARD_BTN":"New card","CARD_ACTION_BTN":"Pay","OTP_ACTION_BTN":"Verify OTP","CARD_NUMBER_PLACEHOLDER":"1234 1234 1234 1234","MOBILE_CARD_NUMBER_PLACEHOLDER":"Card number","OTP_HINT":"Please enter the 4-digit code sent to your mobile","CVV_MODAL_HEADER":"CVV","CVV_MODAL_VISA_HEADER":"Have Mastercard / Visa card?","CVV_MODAL_VISA_BODY":"It\'s a 3-digit code on the back of your card.","CVV_MODAL_AMEX_HEADER":"Have American Express card?","CVV_MODAL_AMEX_BODY":"It\'s a 4-digit number on the front, just above your credit card number","ERR_MSG_EXCEEDED_TRIALS":"The payment session ends after 3 unsuccessful trials. You will be redirected to the website. You can start a new checkout session with Paymob","ERR_MSG_ALREADY_PROCESSED":"This payment was already processed with status pending","ERR_MSG_DECLINED":"Payment is declined","ERR_MSG_EXPIRED":"Looks like this payment was expired perhaps you should create a new one","ERR_MSG_SOMETHING_WENT_WRONG":"Something went wrong","FORCE_SAVE_CARD":"Card Details would be saved for future use","ERR_MSG_ALREADY_PAID":"This order has already been paid","ERR_OMAN_NET_INVALID":"Oman Net Card can’t be used for transaction. Please use another card type.","VIEW_SAVED_CARDS":"View Saved Cards","DISCOUNT_APPLIED":"Discount of <span>{{currency}}</span> {{amount}} applied successfully","DISCOUNT_EXCEEDS_ORDER":"Discount Amount is greater than Order Amount. Please Proceed without discount"}');
|
|
35076
35201
|
;// ../../localization/libs/kit-components/en.json
|
|
35077
|
-
const kit_components_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","
|
|
35202
|
+
const kit_components_en_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","NOW":"now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?","POWERED_BY":"Powered by","NAME_PLACEHOLDER":"ex. Abdullah Adel","PHONE_PLACEHOLDER":"Enter Phone Number","OTP_MODAL_HEADER":"6-digit code","OTP_HINT":"Please enter the code we’ve sent to","OTP_SUMBIT_BUTTON":"Submit","OTP_CANCEL_BUTTON":"Cancel","AFTER_PAYMENT_SUCCESS":"Thanks for your payment","ALREADY_PAID":"This link has already been paid","PAYMENT_FAILURE":"This payment was already processed with status pending","OTP_PLACEHOLDER":"Enter the OTP","MOBILE_NUMBER":"mobile number","SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer","ADD_SAVED_CARDS":"Enter new card details","SUBMIT_BTN":"Submit","LOADING":"Loading","PAYMENT_CANCELED":"Link has been cancelled"}');
|
|
35078
35203
|
;// ../../localization/libs/kit-components/ar.json
|
|
35079
|
-
const kit_components_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"انتهت صلاحية الرابط","PAYMENT_EXPIRED_DESCRIPTION":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"رابط الدفع الذي استخدمته لم يعد صالحًا. يُرجى طلب رابط جديد من التاجر أو إعادة المحاولة لاحقًا لإتمام العملية.","PAYMENT_EXCEEDED_DESCRIPTION":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة. يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، يرجى الطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":".من فضلك اطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_DECLINED":"!لم يتم الدفع بنجاح","PAYMENT_SUCCESSFUL":"الدفع بنجاح","PAYMENT_PENDING":"الدفع قيد الانتظار","PAYMENT_PENDING_DESCRIPTION":".جاري إتمام عملية الدفع","PAYMENT_INVALID":"!حدث خطأ ما","PAYMENT_INVALID_DESCRIPTION":".تعذر إتمام الدفع بسبب خطأ غير متوقع","TRY_AGAIN":"حاول مرة أخرى","CANCEL_BTN":"إلغاء","REDIRECT_BTN":"العودة إلى الموقع الإلكتروني","TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"
|
|
35204
|
+
const kit_components_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"انتهت صلاحية الرابط","PAYMENT_EXPIRED_DESCRIPTION":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"رابط الدفع الذي استخدمته لم يعد صالحًا. يُرجى طلب رابط جديد من التاجر أو إعادة المحاولة لاحقًا لإتمام العملية.","PAYMENT_EXCEEDED_DESCRIPTION":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة. يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":".يمكنك بدء جلسة دفع جديدة مع باي موب","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":".تنتهي جلسة الدفع بعد 3 محاولات غير ناجحة، يرجى الطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":".من فضلك اطلب من التاجر مشاركة رابط دفع جديد","PAYMENT_DECLINED":"!لم يتم الدفع بنجاح","PAYMENT_SUCCESSFUL":"الدفع بنجاح","PAYMENT_PENDING":"الدفع قيد الانتظار","PAYMENT_PENDING_DESCRIPTION":".جاري إتمام عملية الدفع","PAYMENT_INVALID":"!حدث خطأ ما","PAYMENT_INVALID_DESCRIPTION":".تعذر إتمام الدفع بسبب خطأ غير متوقع","TRY_AGAIN":"حاول مرة أخرى","CANCEL_BTN":"إلغاء","REDIRECT_BTN":"العودة إلى الموقع الإلكتروني","TOTAL_AMOUNT":"الإجمالي","ORDER_AMOUNT":"مبلغ الطلب","LOADING_SECONDS_LEFT":"انتظر لثواني","LOADING_AUTHORIZATION_REQUIRED":"مطلوب التأكيد","LOADING_REDIRECTED_TO":".للمتابعة يرجي تأكيد المعاملة من الموبايل","LOADING_REDIRECTED_TO_INFO":".من فضلك تابع تأكيد المعاملة في الوقت المطلوب","PLANS_RADIO_TITLE":"خطط التقسيط","PLANS_RADIO_EMPTY":"لا توجد خطط","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"لم يصلك الكود؟","OTP_RESEND":"إعادة إرسال الكود في خلال","OTP_RESEND_BUTTON":"OTP إعادة إرسال كود الـ","OTP_RESEND_SUCCESS":"تم إرسال كود الـ OTP بنجاح","OTP_LOADING_MESSAGE":".بانتظار استجابة المعاملة. برجاء عدم الإغلاق أو التحديث","SAVED_CARDS_TITLE":"البطاقات المحفوظة","ADD_NEW_CARD_BTN":"بطاقة جديدة","CVV_INPUT_LABEL":"أدخل CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"بطاقة تنتهي بـ","SAVED_CARDS_ACTION_BTN":"ادفع","NOW":"الآن","FULL_NAME":"الاسم بالكامل","CONTACT_INFO":"معلومات الاتصال","SWITCH_PAYMENT_METHOD":"تغيير وسيلة الدفع","BACK":"العودة","DISCOUNT":"تم تطبيق خصم {{currency}} {{discount}}","SECURE_CHECKOUT":"بوابة الدفع","SECURE_PAYMENT":"دفع آمن","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"منتهية الصلاحية","SAVED_CARD_DELETE_BTN":"نعم، احذفها","SAVED_CARD_DELETE_CANCEL_BTN":"لا. العودة","SAVED_CARD_DELETE_TITLE":"هل أنت متأكد أنك تريد حذف {{card}} التي تنتهي بـ #** {{digits}}?","REDIRECTION_TO_MERCHANT":"سيتم تحويلك إلى موقع التاجر خلال {{time}} ثانية.","REDIRECTION_TO_MERCHANT_LOADING":"جاري تحويلك إلى موقع التاجر","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?","CONFIRMING_TERMS":"بتأكيد الدفع، فأنت توافق على","TERMS":"الشروط والأحكام","NAME_IS_REQUIRED":"الاسم مطلوب","EMAIL_IS_REQUIRED":"البريد الإلكتروني مطلوب","EMAIL_NOT_VALID":"البريد الإلكتروني غير صحيح","PHONE_IS_REQUIRED":"رقم الهاتف مطلوب","PHONE_NOT_VALID":"رقم الهاتف غير صحيح","POWERED_BY":"مدعوم بواسطة","NAME_PLACEHOLDER":"مثال: عبدالله عادل","PHONE_PLACEHOLDER":"أدخل رقم الهاتف","OTP_MODAL_HEADER":"رمز مكون من 6 أرقام","OTP_HINT":"يرجى إدخال الرمز الذي أرسلناه إلى","OTP_SUMBIT_BUTTON":"إرسال","OTP_CANCEL_BUTTON":"إلغاء","AFTER_PAYMENT_SUCCESS":"شكرًا لإتمام الدفع","ALREADY_PAID":"تم سداد هذا الرابط بالفعل","PAYMENT_FAILURE":"تمت معالجة هذه الدفعة بالفعل وحالتها تحت المارجعة","OTP_PLACEHOLDER":"أدخل كود ال OTP","MOBILE_NUMBER":"رقم الموبايل","SYMPL_ZERO_INTEREST":"0٪ فائدة على أي بطاقة","OFFERS":"عروض","OFFER":"عرض","ADD_SAVED_CARDS":"دخل تفاصيل البطاقة الجديدة","SUBMIT_BTN":"إرسال","LOADING":"جاري التحميل","PAYMENT_CANCELED":"تم إلغاء الرابط"}');
|
|
35080
35205
|
;// ../../localization/libs/kit-components/ur.json
|
|
35081
|
-
const kit_components_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","
|
|
35206
|
+
const kit_components_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"PAYMENT_EXPIRED":"Link has expired","PAYMENT_EXPIRED_DESCRIPTION":"You can start a new Checkout session with Paymob.","PAYMENT_EXPIRED_DESCRIPTION_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION":"The payment session ends after 3 unsuccessful trials. You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES":"You can start a new checkout session with Paymob.","PAYMENT_EXCEEDED_DESCRIPTION_QUICK_LINK":"The Payment session ends after 3 unsuccessful trials. Please ask your merchant to share a new payment link","PAYMENT_EXCEEDED_DESCRIPTION_NO_RETRIES_QUICK_LINK":"Please ask your merchant to share a new payment link","PAYMENT_DECLINED":"Payment declined","PAYMENT_SUCCESSFUL":"Payment Successful","PAYMENT_PENDING":"Payment pending","PAYMENT_PENDING_DESCRIPTION":"Your payment is being processed.","PAYMENT_INVALID":"Something went wrong!","PAYMENT_INVALID_DESCRIPTION":"Unable to process the payment due to an unexpected error.","TRY_AGAIN":"Try again","CANCEL_BTN":"Cancel","REDIRECT_BTN":"Return to the Website","TOTAL_AMOUNT":"Total Amount","ORDER_AMOUNT":"Order Amount","LOADING_SECONDS_LEFT":"seconds left","LOADING_AUTHORIZATION_REQUIRED":"Authorization required","LOADING_REDIRECTED_TO":"To proceed, please authorize this transaction using your","LOADING_REDIRECTED_TO_INFO":"mobile App. Please proceed with payment confirmation within the given time.","PLANS_RADIO_TITLE":"Plan","PLANS_RADIO_EMPTY":"No plans","OFFERS_RADIO_TITLE":"Select offer","OTP_RESEND_QUESTION":"Didn’t receive code?","OTP_RESEND":"Resend code in ","OTP_RESEND_BUTTON":"Re-send OTP","OTP_RESEND_SUCCESS":"OTP has been sent successfully","OTP_LOADING_MESSAGE":"Awaiting Transaction Response. Please don’t close or refresh the browser.","SAVED_CARDS_TITLE":"Saved cards","ADD_NEW_CARD_BTN":"New card","CVV_INPUT_LABEL":"Enter CVV","AMEX_CVV_INPUT_LABEL":"Enter 4-digit CVV","SAVED_CARD_IDENTIFIER":"Card Ending with","SAVED_CARDS_ACTION_BTN":"Pay","NOW":"now","FULL_NAME":"Full name","CONTACT_INFO":"Contact information","SWITCH_PAYMENT_METHOD":"Switch payment method","BACK":"Back","DISCOUNT":"Discount of {{currency}} {{discount}} Applied","SECURE_CHECKOUT":"Checkout","SECURE_PAYMENT":"Secure payment","SAVED_CARD_INVALID":"Card Number is not valid, please add a new card","SAVED_CARD_EXPIRED":"Expired","SAVED_CARD_DELETE_BTN":"Yes, Delete it","SAVED_CARD_DELETE_CANCEL_BTN":"No. go back","SAVED_CARD_DELETE_TITLE":"Are you sure you want to delete the {{card}} ending in #** {{digits}}?","REDIRECTION_TO_MERCHANT":"Re-directing you to Merchant\'s Website in {{time}} seconds","REDIRECTION_TO_MERCHANT_LOADING":"We are redirecting you to the merchant website","CONFIRMING_TERMS":"By confirming your payment, you agree to","TERMS":"Terms and Conditions.","PAYMENT_THANKS":"Thanks for your payment","PAYMENT_COMPLETED":"Payment done","FAST_CHECKOUT_CREATED":"click account created","FAST_CHECKOUT_VERIFIED_TITLE":"You’re all set for Click checkout","FAST_CHECKOUT_VERIFIED_DESC":"Now you will enjoy the fastest checkout experience with Paymob","SKIP_TO_MERCHANT_BTN":"Skip to merchant website","COUNTRY_IS_REQUIRED":"Country is required","ADDRESS_IS_REQUIRED":"Address is required","CITY_IS_REQUIRED":"City is required","PROVINCE_IS_REQUIRED":"Province is required","STATE_IS_REQUIRED":"State is required","EMIRATE_IS_REQUIRED":"Emirate is required","POSTAL_CODE_IS_REQUIRED":"PIN Code is required","COUNTRIES":"Countries","NAME_IS_REQUIRED":"Name is required","EMAIL_IS_REQUIRED":"Email is required","EMAIL_NOT_VALID":"Email is not valid","PHONE_IS_REQUIRED":"Phone is required","PHONE_NOT_VALID":"Phone is not valid","SAME_AS_BILLING_CHECKBOX":"Use the same as billing address","SHIPPING":"Shipping","BILLING":"Billing","ADDRESS":"Address","CANCEL_PAYMENT":"Cancel payment","CONTINUE_PAYMENT":"Continue payment","RETRY_PAYMENT":"Retry payment","CANCEL_PAYMENT_DESC":"Are you sure you want to cancel payment and return to the merchant website?","POWERED_BY":"Powered by","NAME_PLACEHOLDER":"ex. Abdullah Adel","PHONE_PLACEHOLDER":"Enter Phone Number","OTP_MODAL_HEADER":"6-digit code","OTP_HINT":"Please enter the code we’ve sent to","OTP_SUMBIT_BUTTON":"Submit","OTP_CANCEL_BUTTON":"Cancel","AFTER_PAYMENT_SUCCESS":"Thanks for your payment","ALREADY_PAID":"This link has already been paid","PAYMENT_FAILURE":"This payment was already processed with status pending","OTP_PLACEHOLDER":"Enter the OTP","MOBILE_NUMBER":"mobile number","SYMPL_ZERO_INTEREST":"0% interest on any card","OFFERS":"Offers","OFFER":"Offer","ADD_SAVED_CARDS":"Enter new card details","SUBMIT_BTN":"Submit","LOADING":"Loading","PAYMENT_CANCELED":"Link has been cancelled"}');
|
|
35082
35207
|
;// ../../localization/libs/nift/ar.json
|
|
35083
35208
|
const libs_nift_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"SELECT_BANK_DROPDOWN":"Select your bank","SELECT_BANK_BTN":"Continue","INFO_BANK_ACCOUNT_NO":"Bank account no.","INFO_BANK_ACCOUNT_NO_VALIDATION_MSG":"Please enter a valid account number!","INFO_CNIC":"CNIC","INFO_CNIC_VALIDATION_MSG":"Please enter a valid CNIC number!","INFO_BTN":"Continue","OTP_HINT":"Please enter the 6-digit code sent to your mobile number","OTP_BTN":"Verify OTP"}');
|
|
35084
35209
|
;// ../../localization/libs/nift/en.json
|
|
@@ -35110,13 +35235,13 @@ const libs_postpay_en_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":
|
|
|
35110
35235
|
;// ../../localization/libs/postpay/ur.json
|
|
35111
35236
|
const libs_postpay_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue"}');
|
|
35112
35237
|
;// ../../localization/libs/tabby/ar.json
|
|
35113
|
-
const tabby_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"
|
|
35238
|
+
const tabby_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"المتابعة","MOBILE_NUMBER":"رقم الموبايل","EMAIL_ADDRESS":"البريد الإلكتروني","REDIRECT_MSG":"سيتم تحويلك إلى موقع تابي لإتمام الدفع"}');
|
|
35114
35239
|
;// ../../localization/libs/tabby/en.json
|
|
35115
35240
|
const tabby_en_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue","MOBILE_NUMBER":"Mobile Number","EMAIL_ADDRESS":"Email Address","REDIRECT_MSG":"You will be re-directed to Tabby\'s website to complete the payment"}');
|
|
35116
35241
|
;// ../../localization/libs/tabby/ur.json
|
|
35117
35242
|
const tabby_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue","MOBILE_NUMBER":"Mobile Number","EMAIL_ADDRESS":"Email Address","REDIRECT_MSG":"You will be re-directed to Tabby\'s website to complete the payment"}');
|
|
35118
35243
|
;// ../../localization/libs/tamara/ar.json
|
|
35119
|
-
const libs_tamara_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"المتابعة","MOBILE_NUMBER":"رقم الموبايل","EMAIL_ADDRESS":"البريد الإلكتروني","REDIRECT_MSG":"سيتم تحويلك إلى موقع
|
|
35244
|
+
const libs_tamara_ar_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"المتابعة","MOBILE_NUMBER":"رقم الموبايل","EMAIL_ADDRESS":"البريد الإلكتروني","REDIRECT_MSG":"سيتم تحويلك إلى موقع تمارا لإتمام الدفع"}');
|
|
35120
35245
|
;// ../../localization/libs/tamara/en.json
|
|
35121
35246
|
const libs_tamara_en_namespaceObject = /*#__PURE__*/JSON.parse('{"EMAIL_LABEL":"Email address","ACTION_BTN":"Continue","MOBILE_NUMBER":"Mobile Number","EMAIL_ADDRESS":"Email Address","REDIRECT_MSG":"You will be re-directed to Tamara\'s website to complete the payment"}');
|
|
35122
35247
|
;// ../../localization/libs/tamara/ur.json
|
|
@@ -35392,7 +35517,7 @@ const digital_wallet_ur_namespaceObject = /*#__PURE__*/JSON.parse('{"REDIRECT_ME
|
|
|
35392
35517
|
|
|
35393
35518
|
|
|
35394
35519
|
i18next.use(initReactI18next).init({
|
|
35395
|
-
lng:
|
|
35520
|
+
lng: 'en',
|
|
35396
35521
|
debug: true,
|
|
35397
35522
|
fallbackLng: 'en',
|
|
35398
35523
|
resources: {
|
|
@@ -35643,6 +35768,7 @@ var _Pixel;
|
|
|
35643
35768
|
|
|
35644
35769
|
|
|
35645
35770
|
|
|
35771
|
+
|
|
35646
35772
|
class Pixel {
|
|
35647
35773
|
constructor(options) {
|
|
35648
35774
|
var _options$showPaymobLo;
|
|
@@ -35660,15 +35786,17 @@ class Pixel {
|
|
|
35660
35786
|
this._options = Object.assign({}, options, {
|
|
35661
35787
|
showPaymobLogo: (_options$showPaymobLo = options.showPaymobLogo) != null ? _options$showPaymobLo : true
|
|
35662
35788
|
});
|
|
35663
|
-
|
|
35789
|
+
const baseURL = this.updateAPIBaseURL();
|
|
35790
|
+
const integrationType = this._options['clientSecret'] && this._options['paymentMethods'] ? 'directPayment' : 'tokenization';
|
|
35791
|
+
this._baseURL = baseURL;
|
|
35792
|
+
this._integrationType = integrationType;
|
|
35793
|
+
this.preloadIframe(baseURL, integrationType);
|
|
35664
35794
|
this._paymentsRef = /*#__PURE__*/react.createRef();
|
|
35665
35795
|
Pixel._instances[options.elementId] = this;
|
|
35666
35796
|
Pixel._lastInstanceId = options.elementId;
|
|
35667
|
-
if (
|
|
35668
|
-
this._integrationType = 'directPayment';
|
|
35797
|
+
if (integrationType === 'directPayment') {
|
|
35669
35798
|
this.getData();
|
|
35670
35799
|
} else {
|
|
35671
|
-
this._integrationType = 'tokenization';
|
|
35672
35800
|
this.renderCard();
|
|
35673
35801
|
}
|
|
35674
35802
|
}
|
|
@@ -35707,7 +35835,7 @@ class Pixel {
|
|
|
35707
35835
|
paymentList,
|
|
35708
35836
|
savedCards,
|
|
35709
35837
|
discounts
|
|
35710
|
-
} = await fetchPayments(publicKey, clientSecret, paymentMethods);
|
|
35838
|
+
} = await fetchPayments(publicKey, clientSecret, paymentMethods, this._baseURL);
|
|
35711
35839
|
if (res.status === 200) {
|
|
35712
35840
|
this._paymentList = paymentList;
|
|
35713
35841
|
this._savedCards = savedCards;
|
|
@@ -35770,6 +35898,24 @@ class Pixel {
|
|
|
35770
35898
|
}
|
|
35771
35899
|
return await instance._paymentsRef.current.handleGenerateToken();
|
|
35772
35900
|
}
|
|
35901
|
+
preloadIframe(baseURL, integrationType) {
|
|
35902
|
+
const iframeUrl = `${baseURL}/${environment['IFRAME_PATH']}/?type=card&v=2&integration_type=${integrationType}`;
|
|
35903
|
+
const domain = new URL(baseURL).origin;
|
|
35904
|
+
const preconnect = document.createElement('link');
|
|
35905
|
+
preconnect.rel = 'preconnect';
|
|
35906
|
+
preconnect.href = domain;
|
|
35907
|
+
preconnect.crossOrigin = 'anonymous';
|
|
35908
|
+
document.head.appendChild(preconnect);
|
|
35909
|
+
const dnsPrefetch = document.createElement('link');
|
|
35910
|
+
dnsPrefetch.rel = 'dns-prefetch';
|
|
35911
|
+
dnsPrefetch.href = domain;
|
|
35912
|
+
document.head.appendChild(dnsPrefetch);
|
|
35913
|
+
const prefetch = document.createElement('link');
|
|
35914
|
+
prefetch.rel = 'prefetch';
|
|
35915
|
+
prefetch.href = iframeUrl;
|
|
35916
|
+
prefetch.as = 'document';
|
|
35917
|
+
document.head.appendChild(prefetch);
|
|
35918
|
+
}
|
|
35773
35919
|
render() {
|
|
35774
35920
|
const elementId = this._options['elementId'];
|
|
35775
35921
|
const container = document.getElementById(elementId);
|