paymob-pixel-alpha 1.1.6 → 1.1.8

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.
Files changed (4) hide show
  1. package/README.md +204 -30
  2. package/main.js +630 -320
  3. package/package.json +1 -1
  4. package/styles.css +4 -0
package/main.js CHANGED
@@ -9155,7 +9155,8 @@ function SuccessViewTwo(props) {
9155
9155
  postPayment,
9156
9156
  handleSubmit,
9157
9157
  orderId,
9158
- orderMessage
9158
+ orderMessage,
9159
+ isQuickLink
9159
9160
  } = props;
9160
9161
  return /*#__PURE__*/_jsxs("div", {
9161
9162
  className: "flex flex-col gap-6 items-center py-6 px-4 md:pt-[17.25rem] md:pb-0 md:px-20 [&_div]:flex [&_div]:justify-center [&_div]:items-center",
@@ -9195,7 +9196,7 @@ function SuccessViewTwo(props) {
9195
9196
  },
9196
9197
  children: orderMessage
9197
9198
  })]
9198
- }), (postPayment == null ? void 0 : postPayment.mode) === postPaymentModes.REDIRECT_ON_CLICK && /*#__PURE__*/_jsx(Button, {
9199
+ }), (postPayment == null ? void 0 : postPayment.mode) === postPaymentModes.REDIRECT_ON_CLICK && !isQuickLink && /*#__PURE__*/_jsx(Button, {
9199
9200
  label: t('REDIRECT_BTN'),
9200
9201
  id: "done-button",
9201
9202
  color: "primary",
@@ -10126,12 +10127,14 @@ function FormInputViewTwo_FormInput(props) {
10126
10127
  className: `bg-white box-border px-3 border border-solid ${borderStyleState === borderStyle_borderStyleConstants.RECTANGULAR && '!rounded-none'} flex justify-between gap-2 items-center w-full h-10 opacity-100 relative ${className != null ? className : ''}`,
10127
10128
  style: customStyle != null && customStyle.input ? customStyle == null ? void 0 : customStyle.input : customStyle,
10128
10129
  children: [icon && icon, /*#__PURE__*/(0,jsx_runtime.jsx)("input", Object.assign({
10130
+ dir: "ltr",
10129
10131
  id: name,
10130
10132
  name: name,
10131
10133
  type: type,
10132
- className: `py-3 text-left bg-transparent h-full w-full border-0 pr-4 box-border text-inherit focus:outline-none focus-visible:outline-none ${customInputStyle != null ? customInputStyle : ''} [&::placeholder]:text-[var(--placeholder-color)]`,
10134
+ className: `py-3 ${(customStyle == null ? void 0 : customStyle.direction) === 'rtl' ? 'text-right pl-4' : 'text-left pr-4'} bg-transparent h-full w-full border-0 box-border text-inherit focus:outline-none focus-visible:outline-none ${customInputStyle != null ? customInputStyle : ''} [&::placeholder]:text-[var(--placeholder-color)]`,
10133
10135
  style: {
10134
- '--placeholder-color': (customStyle == null || (_customStyle$placehol = customStyle.placeholder) == null ? void 0 : _customStyle$placehol.color) || '#667085'
10136
+ '--placeholder-color': (customStyle == null || (_customStyle$placehol = customStyle.placeholder) == null ? void 0 : _customStyle$placehol.color) || '#667085',
10137
+ direction: 'ltr'
10135
10138
  },
10136
10139
  value: value,
10137
10140
  onChange: onChange,
@@ -11345,1256 +11348,1506 @@ var arrow_ForwardRef = /*#__PURE__*/(/* unused pure expression or super */ null
11345
11348
 
11346
11349
  /* harmony default export */ const icons_arrow = (__webpack_require__.p + "arrow.40b47d938ade37f5820c66b81ae8b353.svg");
11347
11350
  ;// CONCATENATED MODULE: ../../libs/kit-components/src/constants/restCountries.ts
11348
- const restCountries = [{
11351
+ const restCountries_restCountries = [{
11349
11352
  name: 'Afghanistan',
11350
- icon: 'https://upload.wikimedia.org/wikipedia/commons/5/5c/Flag_of_the_Taliban.svg',
11353
+ icon: 'https://hatscripts.github.io/circle-flags/flags/af.svg',
11351
11354
  code: '+93',
11352
- iso: 'AF'
11355
+ iso: 'AF',
11356
+ currency: 'AFN'
11353
11357
  }, {
11354
11358
  name: 'Albania',
11355
11359
  icon: 'https://hatscripts.github.io/circle-flags/flags/al.svg',
11356
11360
  code: '+355',
11357
- iso: 'AL'
11361
+ iso: 'AL',
11362
+ currency: 'ALL'
11358
11363
  }, {
11359
11364
  name: 'Algeria',
11360
11365
  icon: 'https://hatscripts.github.io/circle-flags/flags/dz.svg',
11361
11366
  code: '+213',
11362
- iso: 'DZ'
11367
+ iso: 'DZ',
11368
+ currency: 'DZD'
11363
11369
  }, {
11364
11370
  name: 'American Samoa',
11365
11371
  icon: 'https://hatscripts.github.io/circle-flags/flags/as.svg',
11366
11372
  code: '+1684',
11367
- iso: 'AS'
11373
+ iso: 'AS',
11374
+ currency: 'USD'
11368
11375
  }, {
11369
11376
  name: 'Andorra',
11370
11377
  icon: 'https://hatscripts.github.io/circle-flags/flags/ad.svg',
11371
11378
  code: '+376',
11372
- iso: 'AD'
11379
+ iso: 'AD',
11380
+ currency: 'EUR'
11373
11381
  }, {
11374
11382
  name: 'Angola',
11375
11383
  icon: 'https://hatscripts.github.io/circle-flags/flags/ao.svg',
11376
11384
  code: '+244',
11377
- iso: 'AO'
11385
+ iso: 'AO',
11386
+ currency: 'AOA'
11378
11387
  }, {
11379
11388
  name: 'Anguilla',
11380
11389
  icon: 'https://hatscripts.github.io/circle-flags/flags/ai.svg',
11381
11390
  code: '+1264',
11382
- iso: 'AI'
11391
+ iso: 'AI',
11392
+ currency: 'XCD'
11383
11393
  }, {
11384
11394
  name: 'Antarctica',
11385
11395
  icon: 'https://hatscripts.github.io/circle-flags/flags/aq.svg',
11386
11396
  code: '',
11387
- iso: 'AQ'
11397
+ iso: 'AQ',
11398
+ currency: ''
11388
11399
  }, {
11389
11400
  name: 'Antigua and Barbuda',
11390
11401
  icon: 'https://hatscripts.github.io/circle-flags/flags/ag.svg',
11391
11402
  code: '+1268',
11392
- iso: 'AG'
11403
+ iso: 'AG',
11404
+ currency: 'XCD'
11393
11405
  }, {
11394
11406
  name: 'Argentina',
11395
11407
  icon: 'https://hatscripts.github.io/circle-flags/flags/ar.svg',
11396
11408
  code: '+54',
11397
- iso: 'AR'
11409
+ iso: 'AR',
11410
+ currency: 'ARS'
11398
11411
  }, {
11399
11412
  name: 'Armenia',
11400
11413
  icon: 'https://hatscripts.github.io/circle-flags/flags/am.svg',
11401
11414
  code: '+374',
11402
- iso: 'AM'
11415
+ iso: 'AM',
11416
+ currency: 'AMD'
11403
11417
  }, {
11404
11418
  name: 'Aruba',
11405
11419
  icon: 'https://hatscripts.github.io/circle-flags/flags/aw.svg',
11406
11420
  code: '+297',
11407
- iso: 'AW'
11421
+ iso: 'AW',
11422
+ currency: 'AWG'
11408
11423
  }, {
11409
11424
  name: 'Australia',
11410
11425
  icon: 'https://hatscripts.github.io/circle-flags/flags/au.svg',
11411
11426
  code: '+61',
11412
- iso: 'AU'
11427
+ iso: 'AU',
11428
+ currency: 'AUD'
11413
11429
  }, {
11414
11430
  name: 'Austria',
11415
11431
  icon: 'https://hatscripts.github.io/circle-flags/flags/at.svg',
11416
11432
  code: '+43',
11417
- iso: 'AT'
11433
+ iso: 'AT',
11434
+ currency: 'EUR'
11418
11435
  }, {
11419
11436
  name: 'Azerbaijan',
11420
11437
  icon: 'https://hatscripts.github.io/circle-flags/flags/az.svg',
11421
11438
  code: '+994',
11422
- iso: 'AZ'
11439
+ iso: 'AZ',
11440
+ currency: 'AZN'
11423
11441
  }, {
11424
11442
  name: 'Bahamas',
11425
11443
  icon: 'https://hatscripts.github.io/circle-flags/flags/bs.svg',
11426
11444
  code: '+1242',
11427
- iso: 'BS'
11445
+ iso: 'BS',
11446
+ currency: 'BSD'
11428
11447
  }, {
11429
11448
  name: 'Bahrain',
11430
11449
  icon: 'https://hatscripts.github.io/circle-flags/flags/bh.svg',
11431
11450
  code: '+973',
11432
- iso: 'BH'
11451
+ iso: 'BH',
11452
+ currency: 'BHD'
11433
11453
  }, {
11434
11454
  name: 'Bangladesh',
11435
11455
  icon: 'https://hatscripts.github.io/circle-flags/flags/bd.svg',
11436
11456
  code: '+880',
11437
- iso: 'BD'
11457
+ iso: 'BD',
11458
+ currency: 'BDT'
11438
11459
  }, {
11439
11460
  name: 'Barbados',
11440
11461
  icon: 'https://hatscripts.github.io/circle-flags/flags/bb.svg',
11441
11462
  code: '+1246',
11442
- iso: 'BB'
11463
+ iso: 'BB',
11464
+ currency: 'BBD'
11443
11465
  }, {
11444
11466
  name: 'Belarus',
11445
11467
  icon: 'https://hatscripts.github.io/circle-flags/flags/by.svg',
11446
11468
  code: '+375',
11447
- iso: 'BY'
11469
+ iso: 'BY',
11470
+ currency: 'BYN'
11448
11471
  }, {
11449
11472
  name: 'Belgium',
11450
11473
  icon: 'https://hatscripts.github.io/circle-flags/flags/be.svg',
11451
11474
  code: '+32',
11452
- iso: 'BE'
11475
+ iso: 'BE',
11476
+ currency: 'EUR'
11453
11477
  }, {
11454
11478
  name: 'Belize',
11455
11479
  icon: 'https://hatscripts.github.io/circle-flags/flags/bz.svg',
11456
11480
  code: '+501',
11457
- iso: 'BZ'
11481
+ iso: 'BZ',
11482
+ currency: 'BZD'
11458
11483
  }, {
11459
11484
  name: 'Benin',
11460
11485
  icon: 'https://hatscripts.github.io/circle-flags/flags/bj.svg',
11461
11486
  code: '+229',
11462
- iso: 'BJ'
11487
+ iso: 'BJ',
11488
+ currency: 'XOF'
11463
11489
  }, {
11464
11490
  name: 'Bermuda',
11465
11491
  icon: 'https://hatscripts.github.io/circle-flags/flags/bm.svg',
11466
11492
  code: '+1441',
11467
- iso: 'BM'
11493
+ iso: 'BM',
11494
+ currency: 'BMD'
11468
11495
  }, {
11469
11496
  name: 'Bhutan',
11470
11497
  icon: 'https://hatscripts.github.io/circle-flags/flags/bt.svg',
11471
11498
  code: '+975',
11472
- iso: 'BT'
11499
+ iso: 'BT',
11500
+ currency: 'BTN'
11473
11501
  }, {
11474
11502
  name: 'Bolivia',
11475
11503
  icon: 'https://hatscripts.github.io/circle-flags/flags/bo.svg',
11476
11504
  code: '+591',
11477
- iso: 'BO'
11505
+ iso: 'BO',
11506
+ currency: 'BOB'
11478
11507
  }, {
11479
11508
  name: 'Bosnia and Herzegovina',
11480
11509
  icon: 'https://hatscripts.github.io/circle-flags/flags/ba.svg',
11481
11510
  code: '+387',
11482
- iso: 'BA'
11511
+ iso: 'BA',
11512
+ currency: 'BAM'
11483
11513
  }, {
11484
11514
  name: 'Botswana',
11485
11515
  icon: 'https://hatscripts.github.io/circle-flags/flags/bw.svg',
11486
11516
  code: '+267',
11487
- iso: 'BW'
11517
+ iso: 'BW',
11518
+ currency: 'BWP'
11488
11519
  }, {
11489
11520
  name: 'Bouvet Island',
11490
11521
  icon: 'https://hatscripts.github.io/circle-flags/flags/bv.svg',
11491
11522
  code: '+47',
11492
- iso: 'BV'
11523
+ iso: 'BV',
11524
+ currency: ''
11493
11525
  }, {
11494
11526
  name: 'Brazil',
11495
11527
  icon: 'https://hatscripts.github.io/circle-flags/flags/br.svg',
11496
11528
  code: '+55',
11497
- iso: 'BR'
11529
+ iso: 'BR',
11530
+ currency: 'BRL'
11498
11531
  }, {
11499
11532
  name: 'British Indian Ocean Territory',
11500
11533
  icon: 'https://hatscripts.github.io/circle-flags/flags/io.svg',
11501
11534
  code: '+246',
11502
- iso: 'IO'
11535
+ iso: 'IO',
11536
+ currency: 'USD'
11503
11537
  }, {
11504
11538
  name: 'British Virgin Islands',
11505
11539
  icon: 'https://hatscripts.github.io/circle-flags/flags/vg.svg',
11506
11540
  code: '+1284',
11507
- iso: 'VG'
11541
+ iso: 'VG',
11542
+ currency: 'USD'
11508
11543
  }, {
11509
11544
  name: 'Brunei',
11510
11545
  icon: 'https://hatscripts.github.io/circle-flags/flags/bn.svg',
11511
11546
  code: '+673',
11512
- iso: 'BN'
11547
+ iso: 'BN',
11548
+ currency: 'BND'
11513
11549
  }, {
11514
11550
  name: 'Bulgaria',
11515
11551
  icon: 'https://hatscripts.github.io/circle-flags/flags/bg.svg',
11516
11552
  code: '+359',
11517
- iso: 'BG'
11553
+ iso: 'BG',
11554
+ currency: 'BGN'
11518
11555
  }, {
11519
11556
  name: 'Burkina Faso',
11520
11557
  icon: 'https://hatscripts.github.io/circle-flags/flags/bf.svg',
11521
11558
  code: '+226',
11522
- iso: 'BF'
11559
+ iso: 'BF',
11560
+ currency: 'XOF'
11523
11561
  }, {
11524
11562
  name: 'Burundi',
11525
11563
  icon: 'https://hatscripts.github.io/circle-flags/flags/bi.svg',
11526
11564
  code: '+257',
11527
- iso: 'BI'
11565
+ iso: 'BI',
11566
+ currency: 'BIF'
11528
11567
  }, {
11529
11568
  name: 'Cambodia',
11530
11569
  icon: 'https://hatscripts.github.io/circle-flags/flags/kh.svg',
11531
11570
  code: '+855',
11532
- iso: 'KH'
11571
+ iso: 'KH',
11572
+ currency: 'KHR'
11533
11573
  }, {
11534
11574
  name: 'Cameroon',
11535
11575
  icon: 'https://hatscripts.github.io/circle-flags/flags/cm.svg',
11536
11576
  code: '+237',
11537
- iso: 'CM'
11577
+ iso: 'CM',
11578
+ currency: 'XAF'
11538
11579
  }, {
11539
11580
  name: 'Canada',
11540
11581
  icon: 'https://hatscripts.github.io/circle-flags/flags/ca.svg',
11541
11582
  code: '+1',
11542
- iso: 'CA'
11583
+ iso: 'CA',
11584
+ currency: 'CAD'
11543
11585
  }, {
11544
11586
  name: 'Cape Verde',
11545
11587
  icon: 'https://hatscripts.github.io/circle-flags/flags/cv.svg',
11546
11588
  code: '+238',
11547
- iso: 'CV'
11589
+ iso: 'CV',
11590
+ currency: 'CVE'
11548
11591
  }, {
11549
11592
  name: 'Caribbean Netherlands',
11550
11593
  icon: 'https://hatscripts.github.io/circle-flags/flags/bq.svg',
11551
11594
  code: '+599',
11552
- iso: 'BES islands'
11595
+ iso: 'BES islands',
11596
+ currency: 'USD'
11553
11597
  }, {
11554
11598
  name: 'Cayman Islands',
11555
11599
  icon: 'https://hatscripts.github.io/circle-flags/flags/ky.svg',
11556
11600
  code: '+1345',
11557
- iso: 'KY'
11601
+ iso: 'KY',
11602
+ currency: 'KYD'
11558
11603
  }, {
11559
11604
  name: 'Central African Republic',
11560
11605
  icon: 'https://hatscripts.github.io/circle-flags/flags/cf.svg',
11561
11606
  code: '+236',
11562
- iso: 'CF'
11607
+ iso: 'CF',
11608
+ currency: 'XAF'
11563
11609
  }, {
11564
11610
  name: 'Chad',
11565
11611
  icon: 'https://hatscripts.github.io/circle-flags/flags/td.svg',
11566
11612
  code: '+235',
11567
- iso: 'TD'
11613
+ iso: 'TD',
11614
+ currency: 'XAF'
11568
11615
  }, {
11569
11616
  name: 'Chile',
11570
11617
  icon: 'https://hatscripts.github.io/circle-flags/flags/cl.svg',
11571
11618
  code: '+56',
11572
- iso: 'CL'
11619
+ iso: 'CL',
11620
+ currency: 'CLP'
11573
11621
  }, {
11574
11622
  name: 'China',
11575
11623
  icon: 'https://hatscripts.github.io/circle-flags/flags/cn.svg',
11576
11624
  code: '+86',
11577
- iso: 'CN'
11625
+ iso: 'CN',
11626
+ currency: 'CNY'
11578
11627
  }, {
11579
11628
  name: 'Christmas Island',
11580
11629
  icon: 'https://hatscripts.github.io/circle-flags/flags/cx.svg',
11581
11630
  code: '+61',
11582
- iso: 'CX'
11631
+ iso: 'CX',
11632
+ currency: 'AUD'
11583
11633
  }, {
11584
11634
  name: 'Cocos (Keeling) Islands',
11585
11635
  icon: 'https://hatscripts.github.io/circle-flags/flags/cc.svg',
11586
11636
  code: '+61',
11587
- iso: 'CC'
11637
+ iso: 'CC',
11638
+ currency: 'AUD'
11588
11639
  }, {
11589
11640
  name: 'Colombia',
11590
11641
  icon: 'https://hatscripts.github.io/circle-flags/flags/co.svg',
11591
11642
  code: '+57',
11592
- iso: 'CO'
11643
+ iso: 'CO',
11644
+ currency: 'COP'
11593
11645
  }, {
11594
11646
  name: 'Comoros',
11595
11647
  icon: 'https://hatscripts.github.io/circle-flags/flags/km.svg',
11596
11648
  code: '+269',
11597
- iso: 'KM'
11649
+ iso: 'KM',
11650
+ currency: 'KMF'
11598
11651
  }, {
11599
11652
  name: 'Cook Islands',
11600
11653
  icon: 'https://hatscripts.github.io/circle-flags/flags/ck.svg',
11601
11654
  code: '+682',
11602
- iso: 'CK'
11655
+ iso: 'CK',
11656
+ currency: 'CKD'
11603
11657
  }, {
11604
11658
  name: 'Costa Rica',
11605
11659
  icon: 'https://hatscripts.github.io/circle-flags/flags/cr.svg',
11606
11660
  code: '+506',
11607
- iso: 'CR'
11661
+ iso: 'CR',
11662
+ currency: 'CRC'
11608
11663
  }, {
11609
11664
  name: 'Croatia',
11610
11665
  icon: 'https://hatscripts.github.io/circle-flags/flags/hr.svg',
11611
11666
  code: '+385',
11612
- iso: 'HR'
11667
+ iso: 'HR',
11668
+ currency: 'EUR'
11613
11669
  }, {
11614
11670
  name: 'Cuba',
11615
11671
  icon: 'https://hatscripts.github.io/circle-flags/flags/cu.svg',
11616
11672
  code: '+53',
11617
- iso: 'CU'
11673
+ iso: 'CU',
11674
+ currency: 'CUC'
11618
11675
  }, {
11619
11676
  name: 'Curaçao',
11620
11677
  icon: 'https://hatscripts.github.io/circle-flags/flags/cw.svg',
11621
11678
  code: '+599',
11622
- iso: 'CW'
11679
+ iso: 'CW',
11680
+ currency: 'ANG'
11623
11681
  }, {
11624
11682
  name: 'Cyprus',
11625
11683
  icon: 'https://hatscripts.github.io/circle-flags/flags/cy.svg',
11626
11684
  code: '+357',
11627
- iso: 'CY'
11685
+ iso: 'CY',
11686
+ currency: 'EUR'
11628
11687
  }, {
11629
11688
  name: 'Czechia',
11630
11689
  icon: 'https://hatscripts.github.io/circle-flags/flags/cz.svg',
11631
11690
  code: '+420',
11632
- iso: 'CZ'
11691
+ iso: 'CZ',
11692
+ currency: 'CZK'
11633
11693
  }, {
11634
11694
  name: 'DR Congo',
11635
11695
  icon: 'https://hatscripts.github.io/circle-flags/flags/cd.svg',
11636
11696
  code: '+243',
11637
- iso: 'CD'
11697
+ iso: 'CD',
11698
+ currency: 'CDF'
11638
11699
  }, {
11639
11700
  name: 'Denmark',
11640
11701
  icon: 'https://hatscripts.github.io/circle-flags/flags/dk.svg',
11641
11702
  code: '+45',
11642
- iso: 'DK'
11703
+ iso: 'DK',
11704
+ currency: 'DKK'
11643
11705
  }, {
11644
11706
  name: 'Djibouti',
11645
11707
  icon: 'https://hatscripts.github.io/circle-flags/flags/dj.svg',
11646
11708
  code: '+253',
11647
- iso: 'DJ'
11709
+ iso: 'DJ',
11710
+ currency: 'DJF'
11648
11711
  }, {
11649
11712
  name: 'Dominica',
11650
11713
  icon: 'https://hatscripts.github.io/circle-flags/flags/dm.svg',
11651
11714
  code: '+1767',
11652
- iso: 'DM'
11715
+ iso: 'DM',
11716
+ currency: 'XCD'
11653
11717
  }, {
11654
11718
  name: 'Dominican Republic',
11655
11719
  icon: 'https://hatscripts.github.io/circle-flags/flags/do.svg',
11656
11720
  code: '+1809',
11657
- iso: 'DO'
11721
+ iso: 'DO',
11722
+ currency: 'DOP'
11658
11723
  }, {
11659
11724
  name: 'Ecuador',
11660
11725
  icon: 'https://hatscripts.github.io/circle-flags/flags/ec.svg',
11661
11726
  code: '+593',
11662
- iso: 'EC'
11727
+ iso: 'EC',
11728
+ currency: 'USD'
11663
11729
  }, {
11664
11730
  name: 'Egypt',
11665
11731
  icon: 'https://hatscripts.github.io/circle-flags/flags/eg.svg',
11666
11732
  code: '+20',
11667
- iso: 'EG'
11733
+ iso: 'EG',
11734
+ currency: 'EGP'
11668
11735
  }, {
11669
11736
  name: 'El Salvador',
11670
11737
  icon: 'https://hatscripts.github.io/circle-flags/flags/sv.svg',
11671
11738
  code: '+503',
11672
- iso: 'SV'
11739
+ iso: 'SV',
11740
+ currency: 'USD'
11673
11741
  }, {
11674
11742
  name: 'Equatorial Guinea',
11675
11743
  icon: 'https://hatscripts.github.io/circle-flags/flags/gq.svg',
11676
11744
  code: '+240',
11677
- iso: 'GQ'
11745
+ iso: 'GQ',
11746
+ currency: 'XAF'
11678
11747
  }, {
11679
11748
  name: 'Eritrea',
11680
11749
  icon: 'https://hatscripts.github.io/circle-flags/flags/er.svg',
11681
11750
  code: '+291',
11682
- iso: 'ER'
11751
+ iso: 'ER',
11752
+ currency: 'ERN'
11683
11753
  }, {
11684
11754
  name: 'Estonia',
11685
11755
  icon: 'https://hatscripts.github.io/circle-flags/flags/ee.svg',
11686
11756
  code: '+372',
11687
- iso: 'EE'
11757
+ iso: 'EE',
11758
+ currency: 'EUR'
11688
11759
  }, {
11689
11760
  name: 'Eswatini',
11690
11761
  icon: 'https://hatscripts.github.io/circle-flags/flags/sz.svg',
11691
11762
  code: '+268',
11692
- iso: 'SZ'
11763
+ iso: 'SZ',
11764
+ currency: 'SZL'
11693
11765
  }, {
11694
11766
  name: 'Ethiopia',
11695
11767
  icon: 'https://hatscripts.github.io/circle-flags/flags/et.svg',
11696
11768
  code: '+251',
11697
- iso: 'ET'
11769
+ iso: 'ET',
11770
+ currency: 'ETB'
11698
11771
  }, {
11699
11772
  name: 'Falkland Islands',
11700
11773
  icon: 'https://hatscripts.github.io/circle-flags/flags/fk.svg',
11701
11774
  code: '+500',
11702
- iso: 'FK'
11775
+ iso: 'FK',
11776
+ currency: 'FKP'
11703
11777
  }, {
11704
11778
  name: 'Faroe Islands',
11705
11779
  icon: 'https://hatscripts.github.io/circle-flags/flags/fo.svg',
11706
11780
  code: '+298',
11707
- iso: 'FO'
11781
+ iso: 'FO',
11782
+ currency: 'DKK'
11708
11783
  }, {
11709
11784
  name: 'Fiji',
11710
11785
  icon: 'https://hatscripts.github.io/circle-flags/flags/fj.svg',
11711
11786
  code: '+679',
11712
- iso: 'FJ'
11787
+ iso: 'FJ',
11788
+ currency: 'FJD'
11713
11789
  }, {
11714
11790
  name: 'Finland',
11715
11791
  icon: 'https://hatscripts.github.io/circle-flags/flags/fi.svg',
11716
11792
  code: '+358',
11717
- iso: 'FI'
11793
+ iso: 'FI',
11794
+ currency: 'EUR'
11718
11795
  }, {
11719
11796
  name: 'France',
11720
11797
  icon: 'https://hatscripts.github.io/circle-flags/flags/fr.svg',
11721
11798
  code: '+33',
11722
- iso: 'FR'
11799
+ iso: 'FR',
11800
+ currency: 'EUR'
11723
11801
  }, {
11724
11802
  name: 'French Guiana',
11725
11803
  icon: 'https://hatscripts.github.io/circle-flags/flags/gf.svg',
11726
11804
  code: '+594',
11727
- iso: 'GF'
11805
+ iso: 'GF',
11806
+ currency: 'EUR'
11728
11807
  }, {
11729
11808
  name: 'French Polynesia',
11730
11809
  icon: 'https://hatscripts.github.io/circle-flags/flags/pf.svg',
11731
11810
  code: '+689',
11732
- iso: 'PF'
11811
+ iso: 'PF',
11812
+ currency: 'XPF'
11733
11813
  }, {
11734
11814
  name: 'French Southern and Antarctic Lands',
11735
11815
  icon: 'https://hatscripts.github.io/circle-flags/flags/tf.svg',
11736
11816
  code: '+262',
11737
- iso: 'TF'
11817
+ iso: 'TF',
11818
+ currency: 'EUR'
11738
11819
  }, {
11739
11820
  name: 'Gabon',
11740
11821
  icon: 'https://hatscripts.github.io/circle-flags/flags/ga.svg',
11741
11822
  code: '+241',
11742
- iso: 'GA'
11823
+ iso: 'GA',
11824
+ currency: 'XAF'
11743
11825
  }, {
11744
11826
  name: 'Gambia',
11745
11827
  icon: 'https://hatscripts.github.io/circle-flags/flags/gm.svg',
11746
11828
  code: '+220',
11747
- iso: 'GM'
11829
+ iso: 'GM',
11830
+ currency: 'GMD'
11748
11831
  }, {
11749
11832
  name: 'Georgia',
11750
11833
  icon: 'https://hatscripts.github.io/circle-flags/flags/ge.svg',
11751
11834
  code: '+995',
11752
- iso: 'GE'
11835
+ iso: 'GE',
11836
+ currency: 'GEL'
11753
11837
  }, {
11754
11838
  name: 'Germany',
11755
11839
  icon: 'https://hatscripts.github.io/circle-flags/flags/de.svg',
11756
11840
  code: '+49',
11757
- iso: 'DE'
11841
+ iso: 'DE',
11842
+ currency: 'EUR'
11758
11843
  }, {
11759
11844
  name: 'Ghana',
11760
11845
  icon: 'https://hatscripts.github.io/circle-flags/flags/gh.svg',
11761
11846
  code: '+233',
11762
- iso: 'GH'
11847
+ iso: 'GH',
11848
+ currency: 'GHS'
11763
11849
  }, {
11764
11850
  name: 'Gibraltar',
11765
11851
  icon: 'https://hatscripts.github.io/circle-flags/flags/gi.svg',
11766
11852
  code: '+350',
11767
- iso: 'GI'
11853
+ iso: 'GI',
11854
+ currency: 'GIP'
11768
11855
  }, {
11769
11856
  name: 'Greece',
11770
11857
  icon: 'https://hatscripts.github.io/circle-flags/flags/gr.svg',
11771
11858
  code: '+30',
11772
- iso: 'GR'
11859
+ iso: 'GR',
11860
+ currency: 'EUR'
11773
11861
  }, {
11774
11862
  name: 'Greenland',
11775
11863
  icon: 'https://hatscripts.github.io/circle-flags/flags/gl.svg',
11776
11864
  code: '+299',
11777
- iso: 'GL'
11865
+ iso: 'GL',
11866
+ currency: 'DKK'
11778
11867
  }, {
11779
11868
  name: 'Grenada',
11780
11869
  icon: 'https://hatscripts.github.io/circle-flags/flags/gd.svg',
11781
11870
  code: '+1473',
11782
- iso: 'GD'
11871
+ iso: 'GD',
11872
+ currency: 'XCD'
11783
11873
  }, {
11784
11874
  name: 'Guadeloupe',
11785
11875
  icon: 'https://hatscripts.github.io/circle-flags/flags/gp.svg',
11786
11876
  code: '+590',
11787
- iso: 'GP'
11877
+ iso: 'GP',
11878
+ currency: 'EUR'
11788
11879
  }, {
11789
11880
  name: 'Guam',
11790
11881
  icon: 'https://hatscripts.github.io/circle-flags/flags/gu.svg',
11791
11882
  code: '+1671',
11792
- iso: 'GU'
11883
+ iso: 'GU',
11884
+ currency: 'USD'
11793
11885
  }, {
11794
11886
  name: 'Guatemala',
11795
11887
  icon: 'https://hatscripts.github.io/circle-flags/flags/gt.svg',
11796
11888
  code: '+502',
11797
- iso: 'GT'
11889
+ iso: 'GT',
11890
+ currency: 'GTQ'
11798
11891
  }, {
11799
11892
  name: 'Guernsey',
11800
11893
  icon: 'https://hatscripts.github.io/circle-flags/flags/gg.svg',
11801
11894
  code: '+44',
11802
- iso: 'GG'
11895
+ iso: 'GG',
11896
+ currency: 'GBP'
11803
11897
  }, {
11804
11898
  name: 'Guinea',
11805
11899
  icon: 'https://hatscripts.github.io/circle-flags/flags/gn.svg',
11806
11900
  code: '+224',
11807
- iso: 'GN'
11901
+ iso: 'GN',
11902
+ currency: 'GNF'
11808
11903
  }, {
11809
11904
  name: 'Guinea-Bissau',
11810
11905
  icon: 'https://hatscripts.github.io/circle-flags/flags/gw.svg',
11811
11906
  code: '+245',
11812
- iso: 'GW'
11907
+ iso: 'GW',
11908
+ currency: 'XOF'
11813
11909
  }, {
11814
11910
  name: 'Guyana',
11815
11911
  icon: 'https://hatscripts.github.io/circle-flags/flags/gy.svg',
11816
11912
  code: '+592',
11817
- iso: 'GY'
11913
+ iso: 'GY',
11914
+ currency: 'GYD'
11818
11915
  }, {
11819
11916
  name: 'Haiti',
11820
11917
  icon: 'https://hatscripts.github.io/circle-flags/flags/ht.svg',
11821
11918
  code: '+509',
11822
- iso: 'HT'
11919
+ iso: 'HT',
11920
+ currency: 'HTG'
11823
11921
  }, {
11824
11922
  name: 'Heard Island and McDonald Islands',
11825
11923
  icon: 'https://hatscripts.github.io/circle-flags/flags/hm.svg',
11826
11924
  code: '',
11827
- iso: 'HM'
11925
+ iso: 'HM',
11926
+ currency: ''
11828
11927
  }, {
11829
11928
  name: 'Honduras',
11830
11929
  icon: 'https://hatscripts.github.io/circle-flags/flags/hn.svg',
11831
11930
  code: '+504',
11832
- iso: 'HN'
11931
+ iso: 'HN',
11932
+ currency: 'HNL'
11833
11933
  }, {
11834
11934
  name: 'Hong Kong',
11835
11935
  icon: 'https://hatscripts.github.io/circle-flags/flags/hk.svg',
11836
11936
  code: '+852',
11837
- iso: 'HK'
11937
+ iso: 'HK',
11938
+ currency: 'HKD'
11838
11939
  }, {
11839
11940
  name: 'Hungary',
11840
11941
  icon: 'https://hatscripts.github.io/circle-flags/flags/hu.svg',
11841
11942
  code: '+36',
11842
- iso: 'HU'
11943
+ iso: 'HU',
11944
+ currency: 'HUF'
11843
11945
  }, {
11844
11946
  name: 'Iceland',
11845
11947
  icon: 'https://hatscripts.github.io/circle-flags/flags/is.svg',
11846
11948
  code: '+354',
11847
- iso: 'IS'
11949
+ iso: 'IS',
11950
+ currency: 'ISK'
11848
11951
  }, {
11849
11952
  name: 'India',
11850
11953
  icon: 'https://hatscripts.github.io/circle-flags/flags/in.svg',
11851
11954
  code: '+91',
11852
- iso: 'IN'
11955
+ iso: 'IN',
11956
+ currency: 'INR'
11853
11957
  }, {
11854
11958
  name: 'Indonesia',
11855
11959
  icon: 'https://hatscripts.github.io/circle-flags/flags/id.svg',
11856
11960
  code: '+62',
11857
- iso: 'ID'
11961
+ iso: 'ID',
11962
+ currency: 'IDR'
11858
11963
  }, {
11859
11964
  name: 'Iran',
11860
11965
  icon: 'https://hatscripts.github.io/circle-flags/flags/ir.svg',
11861
11966
  code: '+98',
11862
- iso: 'IR'
11967
+ iso: 'IR',
11968
+ currency: 'IRR'
11863
11969
  }, {
11864
11970
  name: 'Iraq',
11865
11971
  icon: 'https://hatscripts.github.io/circle-flags/flags/iq.svg',
11866
11972
  code: '+964',
11867
- iso: 'IQ'
11973
+ iso: 'IQ',
11974
+ currency: 'IQD'
11868
11975
  }, {
11869
11976
  name: 'Ireland',
11870
11977
  icon: 'https://hatscripts.github.io/circle-flags/flags/ie.svg',
11871
11978
  code: '+353',
11872
- iso: 'IE'
11979
+ iso: 'IE',
11980
+ currency: 'EUR'
11873
11981
  }, {
11874
11982
  name: 'Isle of Man',
11875
11983
  icon: 'https://hatscripts.github.io/circle-flags/flags/im.svg',
11876
11984
  code: '+44',
11877
- iso: 'IM'
11985
+ iso: 'IM',
11986
+ currency: 'GBP'
11878
11987
  }, {
11879
11988
  name: 'Israel',
11880
11989
  icon: 'https://hatscripts.github.io/circle-flags/flags/il.svg',
11881
11990
  code: '+972',
11882
- iso: 'IL'
11991
+ iso: 'IL',
11992
+ currency: 'ILS'
11883
11993
  }, {
11884
11994
  name: 'Italy',
11885
11995
  icon: 'https://hatscripts.github.io/circle-flags/flags/it.svg',
11886
11996
  code: '+39',
11887
- iso: 'IT'
11997
+ iso: 'IT',
11998
+ currency: 'EUR'
11888
11999
  }, {
11889
12000
  name: 'Ivory Coast',
11890
12001
  icon: 'https://hatscripts.github.io/circle-flags/flags/ci.svg',
11891
12002
  code: '+225',
11892
- iso: 'CI'
12003
+ iso: 'CI',
12004
+ currency: 'XOF'
11893
12005
  }, {
11894
12006
  name: 'Jamaica',
11895
12007
  icon: 'https://hatscripts.github.io/circle-flags/flags/jm.svg',
11896
12008
  code: '+1876',
11897
- iso: 'JM'
12009
+ iso: 'JM',
12010
+ currency: 'JMD'
11898
12011
  }, {
11899
12012
  name: 'Japan',
11900
12013
  icon: 'https://hatscripts.github.io/circle-flags/flags/jp.svg',
11901
12014
  code: '+81',
11902
- iso: 'JP'
12015
+ iso: 'JP',
12016
+ currency: 'JPY'
11903
12017
  }, {
11904
12018
  name: 'Jersey',
11905
12019
  icon: 'https://hatscripts.github.io/circle-flags/flags/je.svg',
11906
12020
  code: '+44',
11907
- iso: 'JE'
12021
+ iso: 'JE',
12022
+ currency: 'GBP'
11908
12023
  }, {
11909
12024
  name: 'Jordan',
11910
12025
  icon: 'https://hatscripts.github.io/circle-flags/flags/jo.svg',
11911
12026
  code: '+962',
11912
- iso: 'JO'
12027
+ iso: 'JO',
12028
+ currency: 'JOD'
11913
12029
  }, {
11914
12030
  name: 'Kazakhstan',
11915
12031
  icon: 'https://hatscripts.github.io/circle-flags/flags/kz.svg',
11916
12032
  code: '+76',
11917
- iso: 'KZ'
12033
+ iso: 'KZ',
12034
+ currency: 'KZT'
11918
12035
  }, {
11919
12036
  name: 'Kenya',
11920
12037
  icon: 'https://hatscripts.github.io/circle-flags/flags/ke.svg',
11921
12038
  code: '+254',
11922
- iso: 'KE'
12039
+ iso: 'KE',
12040
+ currency: 'KES'
11923
12041
  }, {
11924
12042
  name: 'Kiribati',
11925
12043
  icon: 'https://hatscripts.github.io/circle-flags/flags/ki.svg',
11926
12044
  code: '+686',
11927
- iso: 'KI'
12045
+ iso: 'KI',
12046
+ currency: 'AUD'
11928
12047
  }, {
11929
12048
  name: 'Kosovo',
11930
12049
  icon: 'https://hatscripts.github.io/circle-flags/flags/xk.svg',
11931
12050
  code: '+383',
11932
- iso: 'XK'
12051
+ iso: 'XK',
12052
+ currency: 'EUR'
11933
12053
  }, {
11934
12054
  name: 'Kuwait',
11935
12055
  icon: 'https://hatscripts.github.io/circle-flags/flags/kw.svg',
11936
12056
  code: '+965',
11937
- iso: 'KW'
12057
+ iso: 'KW',
12058
+ currency: 'KWD'
11938
12059
  }, {
11939
12060
  name: 'Kyrgyzstan',
11940
12061
  icon: 'https://hatscripts.github.io/circle-flags/flags/kg.svg',
11941
12062
  code: '+996',
11942
- iso: 'KG'
12063
+ iso: 'KG',
12064
+ currency: 'KGS'
11943
12065
  }, {
11944
12066
  name: 'Laos',
11945
12067
  icon: 'https://hatscripts.github.io/circle-flags/flags/la.svg',
11946
12068
  code: '+856',
11947
- iso: 'LA'
12069
+ iso: 'LA',
12070
+ currency: 'LAK'
11948
12071
  }, {
11949
12072
  name: 'Latvia',
11950
12073
  icon: 'https://hatscripts.github.io/circle-flags/flags/lv.svg',
11951
12074
  code: '+371',
11952
- iso: 'LV'
12075
+ iso: 'LV',
12076
+ currency: 'EUR'
11953
12077
  }, {
11954
12078
  name: 'Lebanon',
11955
12079
  icon: 'https://hatscripts.github.io/circle-flags/flags/lb.svg',
11956
12080
  code: '+961',
11957
- iso: 'LB'
12081
+ iso: 'LB',
12082
+ currency: 'LBP'
11958
12083
  }, {
11959
12084
  name: 'Lesotho',
11960
12085
  icon: 'https://hatscripts.github.io/circle-flags/flags/ls.svg',
11961
12086
  code: '+266',
11962
- iso: 'LS'
12087
+ iso: 'LS',
12088
+ currency: 'LSL'
11963
12089
  }, {
11964
12090
  name: 'Liberia',
11965
12091
  icon: 'https://hatscripts.github.io/circle-flags/flags/lr.svg',
11966
12092
  code: '+231',
11967
- iso: 'LR'
12093
+ iso: 'LR',
12094
+ currency: 'LRD'
11968
12095
  }, {
11969
12096
  name: 'Libya',
11970
12097
  icon: 'https://hatscripts.github.io/circle-flags/flags/ly.svg',
11971
12098
  code: '+218',
11972
- iso: 'LY'
12099
+ iso: 'LY',
12100
+ currency: 'LYD'
11973
12101
  }, {
11974
12102
  name: 'Liechtenstein',
11975
12103
  icon: 'https://hatscripts.github.io/circle-flags/flags/li.svg',
11976
12104
  code: '+423',
11977
- iso: 'LI'
12105
+ iso: 'LI',
12106
+ currency: 'CHF'
11978
12107
  }, {
11979
12108
  name: 'Lithuania',
11980
12109
  icon: 'https://hatscripts.github.io/circle-flags/flags/lt.svg',
11981
12110
  code: '+370',
11982
- iso: 'LT'
12111
+ iso: 'LT',
12112
+ currency: 'EUR'
11983
12113
  }, {
11984
12114
  name: 'Luxembourg',
11985
12115
  icon: 'https://hatscripts.github.io/circle-flags/flags/lu.svg',
11986
12116
  code: '+352',
11987
- iso: 'LU'
12117
+ iso: 'LU',
12118
+ currency: 'EUR'
11988
12119
  }, {
11989
12120
  name: 'Macau',
11990
12121
  icon: 'https://hatscripts.github.io/circle-flags/flags/mo.svg',
11991
12122
  code: '+853',
11992
- iso: 'MO'
12123
+ iso: 'MO',
12124
+ currency: 'MOP'
11993
12125
  }, {
11994
12126
  name: 'Madagascar',
11995
12127
  icon: 'https://hatscripts.github.io/circle-flags/flags/mg.svg',
11996
12128
  code: '+261',
11997
- iso: 'MG'
12129
+ iso: 'MG',
12130
+ currency: 'MGA'
11998
12131
  }, {
11999
12132
  name: 'Malawi',
12000
12133
  icon: 'https://hatscripts.github.io/circle-flags/flags/mw.svg',
12001
12134
  code: '+265',
12002
- iso: 'MW'
12135
+ iso: 'MW',
12136
+ currency: 'MWK'
12003
12137
  }, {
12004
12138
  name: 'Malaysia',
12005
12139
  icon: 'https://hatscripts.github.io/circle-flags/flags/my.svg',
12006
12140
  code: '+60',
12007
- iso: 'MY'
12141
+ iso: 'MY',
12142
+ currency: 'MYR'
12008
12143
  }, {
12009
12144
  name: 'Maldives',
12010
12145
  icon: 'https://hatscripts.github.io/circle-flags/flags/mv.svg',
12011
12146
  code: '+960',
12012
- iso: 'MV'
12147
+ iso: 'MV',
12148
+ currency: 'MVR'
12013
12149
  }, {
12014
12150
  name: 'Mali',
12015
12151
  icon: 'https://hatscripts.github.io/circle-flags/flags/ml.svg',
12016
12152
  code: '+223',
12017
- iso: 'ML'
12153
+ iso: 'ML',
12154
+ currency: 'XOF'
12018
12155
  }, {
12019
12156
  name: 'Malta',
12020
12157
  icon: 'https://hatscripts.github.io/circle-flags/flags/mt.svg',
12021
12158
  code: '+356',
12022
- iso: 'MT'
12159
+ iso: 'MT',
12160
+ currency: 'EUR'
12023
12161
  }, {
12024
12162
  name: 'Marshall Islands',
12025
12163
  icon: 'https://hatscripts.github.io/circle-flags/flags/mh.svg',
12026
12164
  code: '+692',
12027
- iso: 'MH'
12165
+ iso: 'MH',
12166
+ currency: 'USD'
12028
12167
  }, {
12029
12168
  name: 'Martinique',
12030
12169
  icon: 'https://hatscripts.github.io/circle-flags/flags/mq.svg',
12031
12170
  code: '+596',
12032
- iso: 'MQ'
12171
+ iso: 'MQ',
12172
+ currency: 'EUR'
12033
12173
  }, {
12034
12174
  name: 'Mauritania',
12035
12175
  icon: 'https://hatscripts.github.io/circle-flags/flags/mr.svg',
12036
12176
  code: '+222',
12037
- iso: 'MR'
12177
+ iso: 'MR',
12178
+ currency: 'MRU'
12038
12179
  }, {
12039
12180
  name: 'Mauritius',
12040
12181
  icon: 'https://hatscripts.github.io/circle-flags/flags/mu.svg',
12041
12182
  code: '+230',
12042
- iso: 'MU'
12183
+ iso: 'MU',
12184
+ currency: 'MUR'
12043
12185
  }, {
12044
12186
  name: 'Mayotte',
12045
12187
  icon: 'https://hatscripts.github.io/circle-flags/flags/yt.svg',
12046
12188
  code: '+262',
12047
- iso: 'YT'
12189
+ iso: 'YT',
12190
+ currency: 'EUR'
12048
12191
  }, {
12049
12192
  name: 'Mexico',
12050
12193
  icon: 'https://hatscripts.github.io/circle-flags/flags/mx.svg',
12051
12194
  code: '+52',
12052
- iso: 'MX'
12195
+ iso: 'MX',
12196
+ currency: 'MXN'
12053
12197
  }, {
12054
12198
  name: 'Micronesia',
12055
12199
  icon: 'https://hatscripts.github.io/circle-flags/flags/fm.svg',
12056
12200
  code: '+691',
12057
- iso: 'FM'
12201
+ iso: 'FM',
12202
+ currency: 'USD'
12058
12203
  }, {
12059
12204
  name: 'Moldova',
12060
12205
  icon: 'https://hatscripts.github.io/circle-flags/flags/md.svg',
12061
12206
  code: '+373',
12062
- iso: 'MD'
12207
+ iso: 'MD',
12208
+ currency: 'MDL'
12063
12209
  }, {
12064
12210
  name: 'Monaco',
12065
12211
  icon: 'https://hatscripts.github.io/circle-flags/flags/mc.svg',
12066
12212
  code: '+377',
12067
- iso: 'MC'
12213
+ iso: 'MC',
12214
+ currency: 'EUR'
12068
12215
  }, {
12069
12216
  name: 'Mongolia',
12070
12217
  icon: 'https://hatscripts.github.io/circle-flags/flags/mn.svg',
12071
12218
  code: '+976',
12072
- iso: 'MN'
12219
+ iso: 'MN',
12220
+ currency: 'MNT'
12073
12221
  }, {
12074
12222
  name: 'Montenegro',
12075
12223
  icon: 'https://hatscripts.github.io/circle-flags/flags/me.svg',
12076
12224
  code: '+382',
12077
- iso: 'ME'
12225
+ iso: 'ME',
12226
+ currency: 'EUR'
12078
12227
  }, {
12079
12228
  name: 'Montserrat',
12080
12229
  icon: 'https://hatscripts.github.io/circle-flags/flags/ms.svg',
12081
12230
  code: '+1664',
12082
- iso: 'MS'
12231
+ iso: 'MS',
12232
+ currency: 'XCD'
12083
12233
  }, {
12084
12234
  name: 'Morocco',
12085
12235
  icon: 'https://hatscripts.github.io/circle-flags/flags/ma.svg',
12086
12236
  code: '+212',
12087
- iso: 'MA'
12237
+ iso: 'MA',
12238
+ currency: 'MAD'
12088
12239
  }, {
12089
12240
  name: 'Mozambique',
12090
12241
  icon: 'https://hatscripts.github.io/circle-flags/flags/mz.svg',
12091
12242
  code: '+258',
12092
- iso: 'MZ'
12243
+ iso: 'MZ',
12244
+ currency: 'MZN'
12093
12245
  }, {
12094
12246
  name: 'Myanmar',
12095
12247
  icon: 'https://hatscripts.github.io/circle-flags/flags/mm.svg',
12096
12248
  code: '+95',
12097
- iso: 'MM'
12249
+ iso: 'MM',
12250
+ currency: 'MMK'
12098
12251
  }, {
12099
12252
  name: 'Namibia',
12100
12253
  icon: 'https://hatscripts.github.io/circle-flags/flags/na.svg',
12101
12254
  code: '+264',
12102
- iso: 'NA'
12255
+ iso: 'NA',
12256
+ currency: 'NAD'
12103
12257
  }, {
12104
12258
  name: 'Nauru',
12105
12259
  icon: 'https://hatscripts.github.io/circle-flags/flags/nr.svg',
12106
12260
  code: '+674',
12107
- iso: 'NR'
12261
+ iso: 'NR',
12262
+ currency: 'AUD'
12108
12263
  }, {
12109
12264
  name: 'Nepal',
12110
12265
  icon: 'https://hatscripts.github.io/circle-flags/flags/np.svg',
12111
12266
  code: '+977',
12112
- iso: 'NP'
12267
+ iso: 'NP',
12268
+ currency: 'NPR'
12113
12269
  }, {
12114
12270
  name: 'Netherlands',
12115
12271
  icon: 'https://hatscripts.github.io/circle-flags/flags/nl.svg',
12116
12272
  code: '+31',
12117
- iso: 'NL'
12273
+ iso: 'NL',
12274
+ currency: 'EUR'
12118
12275
  }, {
12119
12276
  name: 'New Caledonia',
12120
12277
  icon: 'https://hatscripts.github.io/circle-flags/flags/nc.svg',
12121
12278
  code: '+687',
12122
- iso: 'NC'
12279
+ iso: 'NC',
12280
+ currency: 'XPF'
12123
12281
  }, {
12124
12282
  name: 'New Zealand',
12125
12283
  icon: 'https://hatscripts.github.io/circle-flags/flags/nz.svg',
12126
12284
  code: '+64',
12127
- iso: 'NZ'
12285
+ iso: 'NZ',
12286
+ currency: 'NZD'
12128
12287
  }, {
12129
12288
  name: 'Nicaragua',
12130
12289
  icon: 'https://hatscripts.github.io/circle-flags/flags/ni.svg',
12131
12290
  code: '+505',
12132
- iso: 'NI'
12291
+ iso: 'NI',
12292
+ currency: 'NIO'
12133
12293
  }, {
12134
12294
  name: 'Niger',
12135
12295
  icon: 'https://hatscripts.github.io/circle-flags/flags/ne.svg',
12136
12296
  code: '+227',
12137
- iso: 'NE'
12297
+ iso: 'NE',
12298
+ currency: 'XOF'
12138
12299
  }, {
12139
12300
  name: 'Nigeria',
12140
12301
  icon: 'https://hatscripts.github.io/circle-flags/flags/ng.svg',
12141
12302
  code: '+234',
12142
- iso: 'NG'
12303
+ iso: 'NG',
12304
+ currency: 'NGN'
12143
12305
  }, {
12144
12306
  name: 'Niue',
12145
12307
  icon: 'https://hatscripts.github.io/circle-flags/flags/nu.svg',
12146
12308
  code: '+683',
12147
- iso: 'NU'
12309
+ iso: 'NU',
12310
+ currency: 'NZD'
12148
12311
  }, {
12149
12312
  name: 'Norfolk Island',
12150
12313
  icon: 'https://hatscripts.github.io/circle-flags/flags/nf.svg',
12151
12314
  code: '+672',
12152
- iso: 'NF'
12315
+ iso: 'NF',
12316
+ currency: 'AUD'
12153
12317
  }, {
12154
12318
  name: 'North Korea',
12155
12319
  icon: 'https://hatscripts.github.io/circle-flags/flags/kp.svg',
12156
12320
  code: '+850',
12157
- iso: 'KP'
12321
+ iso: 'KP',
12322
+ currency: 'KPW'
12158
12323
  }, {
12159
12324
  name: 'North Macedonia',
12160
12325
  icon: 'https://hatscripts.github.io/circle-flags/flags/mk.svg',
12161
12326
  code: '+389',
12162
- iso: 'MK'
12327
+ iso: 'MK',
12328
+ currency: 'MKD'
12163
12329
  }, {
12164
12330
  name: 'Northern Mariana Islands',
12165
12331
  icon: 'https://hatscripts.github.io/circle-flags/flags/mp.svg',
12166
12332
  code: '+1670',
12167
- iso: 'MP'
12333
+ iso: 'MP',
12334
+ currency: 'USD'
12168
12335
  }, {
12169
12336
  name: 'Norway',
12170
12337
  icon: 'https://hatscripts.github.io/circle-flags/flags/no.svg',
12171
12338
  code: '+47',
12172
- iso: 'NO'
12339
+ iso: 'NO',
12340
+ currency: 'NOK'
12173
12341
  }, {
12174
12342
  name: 'Oman',
12175
12343
  icon: 'https://hatscripts.github.io/circle-flags/flags/om.svg',
12176
12344
  code: '+968',
12177
- iso: 'OM'
12345
+ iso: 'OM',
12346
+ currency: 'OMR'
12178
12347
  }, {
12179
12348
  name: 'Pakistan',
12180
12349
  icon: 'https://hatscripts.github.io/circle-flags/flags/pk.svg',
12181
12350
  code: '+92',
12182
- iso: 'PK'
12351
+ iso: 'PK',
12352
+ currency: 'PKR'
12183
12353
  }, {
12184
12354
  name: 'Palau',
12185
12355
  icon: 'https://hatscripts.github.io/circle-flags/flags/pw.svg',
12186
12356
  code: '+680',
12187
- iso: 'PW'
12357
+ iso: 'PW',
12358
+ currency: 'USD'
12188
12359
  }, {
12189
12360
  name: 'Palestine',
12190
12361
  icon: 'https://hatscripts.github.io/circle-flags/flags/ps.svg',
12191
12362
  code: '+970',
12192
- iso: 'PS'
12363
+ iso: 'PS',
12364
+ currency: 'JOD'
12193
12365
  }, {
12194
12366
  name: 'Panama',
12195
12367
  icon: 'https://hatscripts.github.io/circle-flags/flags/pa.svg',
12196
12368
  code: '+507',
12197
- iso: 'PA'
12369
+ iso: 'PA',
12370
+ currency: 'PAB'
12198
12371
  }, {
12199
12372
  name: 'Papua New Guinea',
12200
12373
  icon: 'https://hatscripts.github.io/circle-flags/flags/pg.svg',
12201
12374
  code: '+675',
12202
- iso: 'PG'
12375
+ iso: 'PG',
12376
+ currency: 'PGK'
12203
12377
  }, {
12204
12378
  name: 'Paraguay',
12205
12379
  icon: 'https://hatscripts.github.io/circle-flags/flags/py.svg',
12206
12380
  code: '+595',
12207
- iso: 'PY'
12381
+ iso: 'PY',
12382
+ currency: 'PYG'
12208
12383
  }, {
12209
12384
  name: 'Peru',
12210
12385
  icon: 'https://hatscripts.github.io/circle-flags/flags/pe.svg',
12211
12386
  code: '+51',
12212
- iso: 'PE'
12387
+ iso: 'PE',
12388
+ currency: 'PEN'
12213
12389
  }, {
12214
12390
  name: 'Philippines',
12215
12391
  icon: 'https://hatscripts.github.io/circle-flags/flags/ph.svg',
12216
12392
  code: '+63',
12217
- iso: 'PH'
12393
+ iso: 'PH',
12394
+ currency: 'PHP'
12218
12395
  }, {
12219
12396
  name: 'Pitcairn Islands',
12220
12397
  icon: 'https://hatscripts.github.io/circle-flags/flags/pn.svg',
12221
12398
  code: '+64',
12222
- iso: 'PN'
12399
+ iso: 'PN',
12400
+ currency: 'NZD'
12223
12401
  }, {
12224
12402
  name: 'Poland',
12225
12403
  icon: 'https://hatscripts.github.io/circle-flags/flags/pl.svg',
12226
12404
  code: '+48',
12227
- iso: 'PL'
12405
+ iso: 'PL',
12406
+ currency: 'PLN'
12228
12407
  }, {
12229
12408
  name: 'Portugal',
12230
12409
  icon: 'https://hatscripts.github.io/circle-flags/flags/pt.svg',
12231
12410
  code: '+351',
12232
- iso: 'PT'
12411
+ iso: 'PT',
12412
+ currency: 'EUR'
12233
12413
  }, {
12234
12414
  name: 'Puerto Rico',
12235
12415
  icon: 'https://hatscripts.github.io/circle-flags/flags/pr.svg',
12236
12416
  code: '+1787',
12237
- iso: 'PR'
12417
+ iso: 'PR',
12418
+ currency: 'USD'
12238
12419
  }, {
12239
12420
  name: 'Qatar',
12240
12421
  icon: 'https://hatscripts.github.io/circle-flags/flags/qa.svg',
12241
12422
  code: '+974',
12242
- iso: 'QA'
12423
+ iso: 'QA',
12424
+ currency: 'QAR'
12243
12425
  }, {
12244
12426
  name: 'Republic of the Congo',
12245
12427
  icon: 'https://hatscripts.github.io/circle-flags/flags/cg.svg',
12246
12428
  code: '+242',
12247
- iso: 'CG'
12429
+ iso: 'CG',
12430
+ currency: 'XAF'
12248
12431
  }, {
12249
12432
  name: 'Romania',
12250
12433
  icon: 'https://hatscripts.github.io/circle-flags/flags/ro.svg',
12251
12434
  code: '+40',
12252
- iso: 'RO'
12435
+ iso: 'RO',
12436
+ currency: 'RON'
12253
12437
  }, {
12254
12438
  name: 'Russia',
12255
12439
  icon: 'https://hatscripts.github.io/circle-flags/flags/ru.svg',
12256
12440
  code: '+73',
12257
- iso: 'RU'
12441
+ iso: 'RU',
12442
+ currency: 'RUB'
12258
12443
  }, {
12259
12444
  name: 'Rwanda',
12260
12445
  icon: 'https://hatscripts.github.io/circle-flags/flags/rw.svg',
12261
12446
  code: '+250',
12262
- iso: 'RW'
12447
+ iso: 'RW',
12448
+ currency: 'RWF'
12263
12449
  }, {
12264
12450
  name: 'Réunion',
12265
12451
  icon: 'https://hatscripts.github.io/circle-flags/flags/re.svg',
12266
12452
  code: '+262',
12267
- iso: 'RE'
12453
+ iso: 'RE',
12454
+ currency: 'EUR'
12268
12455
  }, {
12269
12456
  name: 'Saint Barthélemy',
12270
12457
  icon: 'https://hatscripts.github.io/circle-flags/flags/bl.svg',
12271
12458
  code: '+590',
12272
- iso: 'BL'
12459
+ iso: 'BL',
12460
+ currency: 'EUR'
12273
12461
  }, {
12274
12462
  name: 'Saint Helena, Ascension and Tristan da Cunha',
12275
12463
  icon: 'https://hatscripts.github.io/circle-flags/flags/sh.svg',
12276
12464
  code: '+290',
12277
- iso: 'Saint Helena'
12465
+ iso: 'Saint Helena',
12466
+ currency: 'GBP'
12278
12467
  }, {
12279
12468
  name: 'Saint Kitts and Nevis',
12280
12469
  icon: 'https://hatscripts.github.io/circle-flags/flags/kn.svg',
12281
12470
  code: '+1869',
12282
- iso: 'KN'
12471
+ iso: 'KN',
12472
+ currency: 'XCD'
12283
12473
  }, {
12284
12474
  name: 'Saint Lucia',
12285
12475
  icon: 'https://hatscripts.github.io/circle-flags/flags/lc.svg',
12286
12476
  code: '+1758',
12287
- iso: 'LC'
12477
+ iso: 'LC',
12478
+ currency: 'XCD'
12288
12479
  }, {
12289
12480
  name: 'Saint Martin',
12290
12481
  icon: 'https://hatscripts.github.io/circle-flags/flags/mf.svg',
12291
12482
  code: '+590',
12292
- iso: 'MF'
12483
+ iso: 'MF',
12484
+ currency: 'EUR'
12293
12485
  }, {
12294
12486
  name: 'Saint Pierre and Miquelon',
12295
12487
  icon: 'https://hatscripts.github.io/circle-flags/flags/pm.svg',
12296
12488
  code: '+508',
12297
- iso: 'PM'
12489
+ iso: 'PM',
12490
+ currency: 'EUR'
12298
12491
  }, {
12299
12492
  name: 'Saint Vincent and the Grenadines',
12300
12493
  icon: 'https://hatscripts.github.io/circle-flags/flags/vc.svg',
12301
12494
  code: '+1784',
12302
- iso: 'VC'
12495
+ iso: 'VC',
12496
+ currency: 'XCD'
12303
12497
  }, {
12304
12498
  name: 'Samoa',
12305
12499
  icon: 'https://hatscripts.github.io/circle-flags/flags/ws.svg',
12306
12500
  code: '+685',
12307
- iso: 'WS'
12501
+ iso: 'WS',
12502
+ currency: 'WST'
12308
12503
  }, {
12309
12504
  name: 'San Marino',
12310
12505
  icon: 'https://hatscripts.github.io/circle-flags/flags/sm.svg',
12311
12506
  code: '+378',
12312
- iso: 'SM'
12507
+ iso: 'SM',
12508
+ currency: 'EUR'
12313
12509
  }, {
12314
12510
  name: 'Saudi Arabia',
12315
12511
  icon: 'https://hatscripts.github.io/circle-flags/flags/sa.svg',
12316
12512
  code: '+966',
12317
- iso: 'SA'
12513
+ iso: 'SA',
12514
+ currency: 'SAR'
12318
12515
  }, {
12319
12516
  name: 'Senegal',
12320
12517
  icon: 'https://hatscripts.github.io/circle-flags/flags/sn.svg',
12321
12518
  code: '+221',
12322
- iso: 'SN'
12519
+ iso: 'SN',
12520
+ currency: 'XOF'
12323
12521
  }, {
12324
12522
  name: 'Serbia',
12325
12523
  icon: 'https://hatscripts.github.io/circle-flags/flags/rs.svg',
12326
12524
  code: '+381',
12327
- iso: 'RS'
12525
+ iso: 'RS',
12526
+ currency: 'RSD'
12328
12527
  }, {
12329
12528
  name: 'Seychelles',
12330
12529
  icon: 'https://hatscripts.github.io/circle-flags/flags/sc.svg',
12331
12530
  code: '+248',
12332
- iso: 'SC'
12531
+ iso: 'SC',
12532
+ currency: 'SCR'
12333
12533
  }, {
12334
12534
  name: 'Sierra Leone',
12335
12535
  icon: 'https://hatscripts.github.io/circle-flags/flags/sl.svg',
12336
12536
  code: '+232',
12337
- iso: 'SL'
12537
+ iso: 'SL',
12538
+ currency: 'SLL'
12338
12539
  }, {
12339
12540
  name: 'Singapore',
12340
12541
  icon: 'https://hatscripts.github.io/circle-flags/flags/sg.svg',
12341
12542
  code: '+65',
12342
- iso: 'SG'
12543
+ iso: 'SG',
12544
+ currency: 'SGD'
12343
12545
  }, {
12344
12546
  name: 'Sint Maarten',
12345
12547
  icon: 'https://hatscripts.github.io/circle-flags/flags/sx.svg',
12346
12548
  code: '+1721',
12347
- iso: 'SX'
12549
+ iso: 'SX',
12550
+ currency: 'ANG'
12348
12551
  }, {
12349
12552
  name: 'Slovakia',
12350
12553
  icon: 'https://hatscripts.github.io/circle-flags/flags/sk.svg',
12351
12554
  code: '+421',
12352
- iso: 'SK'
12555
+ iso: 'SK',
12556
+ currency: 'EUR'
12353
12557
  }, {
12354
12558
  name: 'Slovenia',
12355
12559
  icon: 'https://hatscripts.github.io/circle-flags/flags/si.svg',
12356
12560
  code: '+386',
12357
- iso: 'SI'
12561
+ iso: 'SI',
12562
+ currency: 'EUR'
12358
12563
  }, {
12359
12564
  name: 'Solomon Islands',
12360
12565
  icon: 'https://hatscripts.github.io/circle-flags/flags/sb.svg',
12361
12566
  code: '+677',
12362
- iso: 'SB'
12567
+ iso: 'SB',
12568
+ currency: 'SBD'
12363
12569
  }, {
12364
12570
  name: 'Somalia',
12365
12571
  icon: 'https://hatscripts.github.io/circle-flags/flags/so.svg',
12366
12572
  code: '+252',
12367
- iso: 'SO'
12573
+ iso: 'SO',
12574
+ currency: 'SOS'
12368
12575
  }, {
12369
12576
  name: 'South Africa',
12370
12577
  icon: 'https://hatscripts.github.io/circle-flags/flags/za.svg',
12371
12578
  code: '+27',
12372
- iso: 'ZA'
12579
+ iso: 'ZA',
12580
+ currency: 'ZAR'
12373
12581
  }, {
12374
12582
  name: 'South Georgia',
12375
12583
  icon: 'https://hatscripts.github.io/circle-flags/flags/gs.svg',
12376
12584
  code: '+500',
12377
- iso: 'GS'
12585
+ iso: 'GS',
12586
+ currency: 'SHP'
12378
12587
  }, {
12379
12588
  name: 'South Korea',
12380
12589
  icon: 'https://hatscripts.github.io/circle-flags/flags/kr.svg',
12381
12590
  code: '+82',
12382
- iso: 'KR'
12591
+ iso: 'KR',
12592
+ currency: 'KRW'
12383
12593
  }, {
12384
12594
  name: 'South Sudan',
12385
12595
  icon: 'https://hatscripts.github.io/circle-flags/flags/ss.svg',
12386
12596
  code: '+211',
12387
- iso: 'SS'
12597
+ iso: 'SS',
12598
+ currency: 'SSP'
12388
12599
  }, {
12389
12600
  name: 'Spain',
12390
12601
  icon: 'https://hatscripts.github.io/circle-flags/flags/es.svg',
12391
12602
  code: '+34',
12392
- iso: 'ES'
12603
+ iso: 'ES',
12604
+ currency: 'EUR'
12393
12605
  }, {
12394
12606
  name: 'Sri Lanka',
12395
12607
  icon: 'https://hatscripts.github.io/circle-flags/flags/lk.svg',
12396
12608
  code: '+94',
12397
- iso: 'LK'
12609
+ iso: 'LK',
12610
+ currency: 'LKR'
12398
12611
  }, {
12399
12612
  name: 'Sudan',
12400
12613
  icon: 'https://hatscripts.github.io/circle-flags/flags/sd.svg',
12401
12614
  code: '+249',
12402
- iso: 'SD'
12615
+ iso: 'SD',
12616
+ currency: 'SDG'
12403
12617
  }, {
12404
12618
  name: 'Suriname',
12405
12619
  icon: 'https://hatscripts.github.io/circle-flags/flags/sr.svg',
12406
12620
  code: '+597',
12407
- iso: 'SR'
12621
+ iso: 'SR',
12622
+ currency: 'SRD'
12408
12623
  }, {
12409
12624
  name: 'Svalbard and Jan Mayen',
12410
12625
  icon: 'https://hatscripts.github.io/circle-flags/flags/sj.svg',
12411
12626
  code: '+4779',
12412
- iso: 'SJ'
12627
+ iso: 'SJ',
12628
+ currency: 'NOK'
12413
12629
  }, {
12414
12630
  name: 'Sweden',
12415
12631
  icon: 'https://hatscripts.github.io/circle-flags/flags/se.svg',
12416
12632
  code: '+46',
12417
- iso: 'SE'
12633
+ iso: 'SE',
12634
+ currency: 'SEK'
12418
12635
  }, {
12419
12636
  name: 'Switzerland',
12420
12637
  icon: 'https://hatscripts.github.io/circle-flags/flags/ch.svg',
12421
12638
  code: '+41',
12422
- iso: 'CH'
12639
+ iso: 'CH',
12640
+ currency: 'CHF'
12423
12641
  }, {
12424
12642
  name: 'Syria',
12425
12643
  icon: 'https://hatscripts.github.io/circle-flags/flags/sy.svg',
12426
12644
  code: '+963',
12427
- iso: 'SY'
12645
+ iso: 'SY',
12646
+ currency: 'SYP'
12428
12647
  }, {
12429
12648
  name: 'São Tomé and Príncipe',
12430
12649
  icon: 'https://hatscripts.github.io/circle-flags/flags/st.svg',
12431
12650
  code: '+239',
12432
- iso: 'ST'
12651
+ iso: 'ST',
12652
+ currency: 'STN'
12433
12653
  }, {
12434
12654
  name: 'Taiwan',
12435
12655
  icon: 'https://hatscripts.github.io/circle-flags/flags/tw.svg',
12436
12656
  code: '+886',
12437
- iso: 'TW'
12657
+ iso: 'TW',
12658
+ currency: 'TWD'
12438
12659
  }, {
12439
12660
  name: 'Tajikistan',
12440
12661
  icon: 'https://hatscripts.github.io/circle-flags/flags/tj.svg',
12441
12662
  code: '+992',
12442
- iso: 'TJ'
12663
+ iso: 'TJ',
12664
+ currency: 'TJS'
12443
12665
  }, {
12444
12666
  name: 'Tanzania',
12445
12667
  icon: 'https://hatscripts.github.io/circle-flags/flags/tz.svg',
12446
12668
  code: '+255',
12447
- iso: 'TZ'
12669
+ iso: 'TZ',
12670
+ currency: 'TZS'
12448
12671
  }, {
12449
12672
  name: 'Thailand',
12450
12673
  icon: 'https://hatscripts.github.io/circle-flags/flags/th.svg',
12451
12674
  code: '+66',
12452
- iso: 'TH'
12675
+ iso: 'TH',
12676
+ currency: 'THB'
12453
12677
  }, {
12454
12678
  name: 'Timor-Leste',
12455
12679
  icon: 'https://hatscripts.github.io/circle-flags/flags/tl.svg',
12456
12680
  code: '+670',
12457
- iso: 'TL'
12681
+ iso: 'TL',
12682
+ currency: 'USD'
12458
12683
  }, {
12459
12684
  name: 'Togo',
12460
12685
  icon: 'https://hatscripts.github.io/circle-flags/flags/tg.svg',
12461
12686
  code: '+228',
12462
- iso: 'TG'
12687
+ iso: 'TG',
12688
+ currency: 'XOF'
12463
12689
  }, {
12464
12690
  name: 'Tokelau',
12465
12691
  icon: 'https://hatscripts.github.io/circle-flags/flags/tk.svg',
12466
12692
  code: '+690',
12467
- iso: 'TK'
12693
+ iso: 'TK',
12694
+ currency: 'NZD'
12468
12695
  }, {
12469
12696
  name: 'Tonga',
12470
12697
  icon: 'https://hatscripts.github.io/circle-flags/flags/to.svg',
12471
12698
  code: '+676',
12472
- iso: 'TO'
12699
+ iso: 'TO',
12700
+ currency: 'TOP'
12473
12701
  }, {
12474
12702
  name: 'Trinidad and Tobago',
12475
12703
  icon: 'https://hatscripts.github.io/circle-flags/flags/tt.svg',
12476
12704
  code: '+1868',
12477
- iso: 'TT'
12705
+ iso: 'TT',
12706
+ currency: 'TTD'
12478
12707
  }, {
12479
12708
  name: 'Tunisia',
12480
12709
  icon: 'https://hatscripts.github.io/circle-flags/flags/tn.svg',
12481
12710
  code: '+216',
12482
- iso: 'TN'
12711
+ iso: 'TN',
12712
+ currency: 'TND'
12483
12713
  }, {
12484
12714
  name: 'Turkey',
12485
12715
  icon: 'https://hatscripts.github.io/circle-flags/flags/tr.svg',
12486
12716
  code: '+90',
12487
- iso: 'TR'
12717
+ iso: 'TR',
12718
+ currency: 'TRY'
12488
12719
  }, {
12489
12720
  name: 'Turkmenistan',
12490
12721
  icon: 'https://hatscripts.github.io/circle-flags/flags/tm.svg',
12491
12722
  code: '+993',
12492
- iso: 'TM'
12723
+ iso: 'TM',
12724
+ currency: 'TMT'
12493
12725
  }, {
12494
12726
  name: 'Turks and Caicos Islands',
12495
12727
  icon: 'https://hatscripts.github.io/circle-flags/flags/tc.svg',
12496
12728
  code: '+1649',
12497
- iso: 'TC'
12729
+ iso: 'TC',
12730
+ currency: 'USD'
12498
12731
  }, {
12499
12732
  name: 'Tuvalu',
12500
12733
  icon: 'https://hatscripts.github.io/circle-flags/flags/tv.svg',
12501
12734
  code: '+688',
12502
- iso: 'TV'
12735
+ iso: 'TV',
12736
+ currency: 'AUD'
12503
12737
  }, {
12504
12738
  name: 'Uganda',
12505
12739
  icon: 'https://hatscripts.github.io/circle-flags/flags/ug.svg',
12506
12740
  code: '+256',
12507
- iso: 'UG'
12741
+ iso: 'UG',
12742
+ currency: 'UGX'
12508
12743
  }, {
12509
12744
  name: 'Ukraine',
12510
12745
  icon: 'https://hatscripts.github.io/circle-flags/flags/ua.svg',
12511
12746
  code: '+380',
12512
- iso: 'UA'
12747
+ iso: 'UA',
12748
+ currency: 'UAH'
12513
12749
  }, {
12514
12750
  name: 'United Arab Emirates',
12515
12751
  icon: 'https://hatscripts.github.io/circle-flags/flags/ae.svg',
12516
12752
  code: '+971',
12517
- iso: 'AE'
12753
+ iso: 'AE',
12754
+ currency: 'AED'
12518
12755
  }, {
12519
12756
  name: 'United Kingdom',
12520
12757
  icon: 'https://hatscripts.github.io/circle-flags/flags/gb.svg',
12521
12758
  code: '+44',
12522
- iso: 'GB'
12759
+ iso: 'GB',
12760
+ currency: 'GBP'
12523
12761
  }, {
12524
12762
  name: 'United States',
12525
12763
  icon: 'https://hatscripts.github.io/circle-flags/flags/us.svg',
12526
12764
  code: '+1',
12527
- iso: 'US'
12765
+ iso: 'US',
12766
+ currency: 'USD'
12528
12767
  }, {
12529
12768
  name: 'United States Minor Outlying Islands',
12530
12769
  icon: 'https://hatscripts.github.io/circle-flags/flags/um.svg',
12531
12770
  code: '+268',
12532
- iso: 'UM'
12771
+ iso: 'UM',
12772
+ currency: 'USD'
12533
12773
  }, {
12534
12774
  name: 'United States Virgin Islands',
12535
12775
  icon: 'https://hatscripts.github.io/circle-flags/flags/vi.svg',
12536
12776
  code: '+1340',
12537
- iso: 'VI'
12777
+ iso: 'VI',
12778
+ currency: 'USD'
12538
12779
  }, {
12539
12780
  name: 'Uruguay',
12540
12781
  icon: 'https://hatscripts.github.io/circle-flags/flags/uy.svg',
12541
12782
  code: '+598',
12542
- iso: 'UY'
12783
+ iso: 'UY',
12784
+ currency: 'UYU'
12543
12785
  }, {
12544
12786
  name: 'Uzbekistan',
12545
12787
  icon: 'https://hatscripts.github.io/circle-flags/flags/uz.svg',
12546
12788
  code: '+998',
12547
- iso: 'UZ'
12789
+ iso: 'UZ',
12790
+ currency: 'UZS'
12548
12791
  }, {
12549
12792
  name: 'Vanuatu',
12550
12793
  icon: 'https://hatscripts.github.io/circle-flags/flags/vu.svg',
12551
12794
  code: '+678',
12552
- iso: 'VU'
12795
+ iso: 'VU',
12796
+ currency: 'VUV'
12553
12797
  }, {
12554
12798
  name: 'Vatican City',
12555
12799
  icon: 'https://hatscripts.github.io/circle-flags/flags/va.svg',
12556
12800
  code: '+3906698',
12557
- iso: 'VA'
12801
+ iso: 'VA',
12802
+ currency: 'EUR'
12558
12803
  }, {
12559
12804
  name: 'Venezuela',
12560
12805
  icon: 'https://hatscripts.github.io/circle-flags/flags/ve.svg',
12561
12806
  code: '+58',
12562
- iso: 'VE'
12807
+ iso: 'VE',
12808
+ currency: 'VES'
12563
12809
  }, {
12564
12810
  name: 'Vietnam',
12565
12811
  icon: 'https://hatscripts.github.io/circle-flags/flags/vn.svg',
12566
12812
  code: '+84',
12567
- iso: 'VN'
12813
+ iso: 'VN',
12814
+ currency: 'VND'
12568
12815
  }, {
12569
12816
  name: 'Wallis and Futuna',
12570
12817
  icon: 'https://hatscripts.github.io/circle-flags/flags/wf.svg',
12571
12818
  code: '+681',
12572
- iso: 'WF'
12819
+ iso: 'WF',
12820
+ currency: 'XPF'
12573
12821
  }, {
12574
12822
  name: 'Western Sahara',
12575
12823
  icon: 'https://hatscripts.github.io/circle-flags/flags/eh.svg',
12576
12824
  code: '+2125288',
12577
- iso: 'EH'
12825
+ iso: 'EH',
12826
+ currency: 'DZD'
12578
12827
  }, {
12579
12828
  name: 'Yemen',
12580
12829
  icon: 'https://hatscripts.github.io/circle-flags/flags/ye.svg',
12581
12830
  code: '+967',
12582
- iso: 'YE'
12831
+ iso: 'YE',
12832
+ currency: 'YER'
12583
12833
  }, {
12584
12834
  name: 'Zambia',
12585
12835
  icon: 'https://hatscripts.github.io/circle-flags/flags/zm.svg',
12586
12836
  code: '+260',
12587
- iso: 'ZM'
12837
+ iso: 'ZM',
12838
+ currency: 'ZMW'
12588
12839
  }, {
12589
12840
  name: 'Zimbabwe',
12590
12841
  icon: 'https://hatscripts.github.io/circle-flags/flags/zw.svg',
12591
12842
  code: '+263',
12592
- iso: 'ZW'
12843
+ iso: 'ZW',
12844
+ currency: 'ZWL'
12593
12845
  }, {
12594
12846
  name: 'Åland Islands',
12595
12847
  icon: 'https://hatscripts.github.io/circle-flags/flags/ax.svg',
12596
12848
  code: '+35818',
12597
- iso: 'AX'
12849
+ iso: 'AX',
12850
+ currency: 'EUR'
12598
12851
  }];
12599
12852
  ;// CONCATENATED MODULE: ../../libs/kit-components/src/assets/icons/search-icon.svg
12600
12853
  var search_icon_path;
@@ -12653,10 +12906,12 @@ function PhoneFormInput_PhoneFormInput(props) {
12653
12906
  customStyle,
12654
12907
  className,
12655
12908
  disableDropdown,
12656
- trailingIcon
12909
+ trailingIcon,
12910
+ currencyCodes
12657
12911
  } = props;
12658
12912
  const [showDropdown, setShowDropdown] = useState(false);
12659
12913
  const [search, setSearch] = useState('');
12914
+ const [countries, setCountries] = useState(restCountries);
12660
12915
  const currentCountry = countries.find(country => country.name.toLowerCase() === selectedCountry.name.toLowerCase()) || countries[0];
12661
12916
  const {
12662
12917
  borderStyle
@@ -12665,6 +12920,14 @@ function PhoneFormInput_PhoneFormInput(props) {
12665
12920
  const [typedLetter, setTypedLetter] = useState('');
12666
12921
  const optionsRef = useRef([]);
12667
12922
  const inputContainerRef = useCloseDropdown(setShowDropdown);
12923
+ useEffect(() => {
12924
+ if (currencyCodes != null && currencyCodes.length) {
12925
+ const countries = restCountries.filter(country => currencyCodes.some(currency => currency === country.currency));
12926
+ setCountries(countries);
12927
+ const currencyToUse = currencyCodes.includes(selectedCountry.currency || '') ? selectedCountry.currency : currencyCodes[0];
12928
+ setSelectedCountry(countries.find(country => country.currency === currencyToUse));
12929
+ }
12930
+ }, []);
12668
12931
  useEffect(() => {
12669
12932
  if (typedLetter) {
12670
12933
  const index = countries.findIndex(option => option.name.toLowerCase().startsWith(typedLetter.toLowerCase()));
@@ -12688,7 +12951,9 @@ function PhoneFormInput_PhoneFormInput(props) {
12688
12951
  setTimeout(() => setTypedLetter(''), 500);
12689
12952
  }
12690
12953
  };
12691
- const toggleDropdown = () => {
12954
+ const toggleDropdown = e => {
12955
+ e.preventDefault();
12956
+ e.stopPropagation();
12692
12957
  setSearch('');
12693
12958
  setShowDropdown(prevState => !prevState);
12694
12959
  };
@@ -12711,7 +12976,7 @@ function PhoneFormInput_PhoneFormInput(props) {
12711
12976
  onKeyDown: handleKeyDown,
12712
12977
  disabled: disableDropdown,
12713
12978
  children: [/*#__PURE__*/_jsx("img", {
12714
- src: currentCountry.icon,
12979
+ src: currentCountry == null ? void 0 : currentCountry.icon,
12715
12980
  width: 20,
12716
12981
  className: "max-w-none",
12717
12982
  alt: 'country icon'
@@ -12752,7 +13017,7 @@ function PhoneFormInput_PhoneFormInput(props) {
12752
13017
  type: "text",
12753
13018
  value: search,
12754
13019
  className: "w-full flex-shrink outline-none focus:outline-none",
12755
- placeholder: "search for country",
13020
+ placeholder: "Search for country",
12756
13021
  onChange: handleCountrySearch
12757
13022
  })]
12758
13023
  }), countries.filter(country => country.name.toLowerCase().search(search.toLowerCase()) !== -1).map((country, index) => /*#__PURE__*/_jsxs("div", {
@@ -16290,7 +16555,7 @@ function PhoneInput(props) {
16290
16555
  disableDropdown,
16291
16556
  className
16292
16557
  } = props;
16293
- const countryInitialState = restCountries.find(c => c.name === country) || restCountries[0];
16558
+ const countryInitialState = restCountries_restCountries.find(c => c.name === country) || restCountries_restCountries[0];
16294
16559
  const [showDropdown, setShowDropdown] = (0,react.useState)(false);
16295
16560
  const [phone, setPhone] = (0,react.useState)('');
16296
16561
  const [search, setSearch] = (0,react.useState)('');
@@ -16383,7 +16648,7 @@ function PhoneInput(props) {
16383
16648
  placeholder: "search for country",
16384
16649
  onChange: handleCountrySearch
16385
16650
  })]
16386
- }), restCountries.filter(country => availableCountries ? availableCountries.includes(country.iso) : true).filter(country => country.name.toLowerCase().search(search.toLowerCase()) !== -1).map((country, index) => /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
16651
+ }), restCountries_restCountries.filter(country => availableCountries ? availableCountries.includes(country.iso) : true).filter(country => country.name.toLowerCase().search(search.toLowerCase()) !== -1).map((country, index) => /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
16387
16652
  className: `flex items-center p-2 hover:bg-gray-100 cursor-pointer ${selectedCountry.code === country.code ? 'bg-gray-50' : ''}`,
16388
16653
  onClick: () => selectCountry(country),
16389
16654
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
@@ -17143,7 +17408,7 @@ function OrderDetailsModal(props) {
17143
17408
  const downPayment = plan != null && (_plan$extra = plan.extra) != null && _plan$extra.downPayment ? Number((_plan$extra2 = plan.extra) == null ? void 0 : _plan$extra2.downPayment) : 0;
17144
17409
  const adminFees = plan != null && (_plan$extra3 = plan.extra) != null && _plan$extra3.adminFees ? Number((_plan$extra4 = plan.extra) == null ? void 0 : _plan$extra4.adminFees) : plan != null && plan.adminFees ? Number(plan == null ? void 0 : plan.adminFees) : 0;
17145
17410
  const total = Number(plan == null ? void 0 : plan.amount) * Number(plan == null ? void 0 : plan.months) + downPayment + adminFees || amount;
17146
- const formattedAmount = Number(amount.replaceAll(',', '')).toLocaleString('en-US', {
17411
+ const formattedAmount = Number((amount != null ? amount : '0').replaceAll(',', '')).toLocaleString('en-US', {
17147
17412
  minimumFractionDigits: 2
17148
17413
  });
17149
17414
  return /*#__PURE__*/_jsx("div", {
@@ -17814,7 +18079,9 @@ function CardNumberViewTwo_CardNumber(props) {
17814
18079
  maxLength,
17815
18080
  cardType,
17816
18081
  getCardLogo,
17817
- customStyle
18082
+ customStyle,
18083
+ placeholder,
18084
+ hideCardIcons
17818
18085
  } = props;
17819
18086
  const {
17820
18087
  t
@@ -17884,12 +18151,9 @@ function CardNumberViewTwo_CardNumber(props) {
17884
18151
  }
17885
18152
  }
17886
18153
  }, []);
17887
- return /*#__PURE__*/_jsx(FormInput, {
17888
- formRegister: formRegister,
17889
- name: 'number',
17890
- className: className,
17891
- placeholder: t('CARD_NUMBER_PLACEHOLDER'),
17892
- label: getCardLogo(cardType) === '' || noCardLogo ? /*#__PURE__*/_jsxs("span", {
18154
+ const getLabel = () => {
18155
+ if (hideCardIcons) return;
18156
+ return getCardLogo(cardType) === '' || noCardLogo ? /*#__PURE__*/_jsxs("span", {
17893
18157
  className: "flex gap-1 items-center justify-end w-full h-full mobile:w-auto",
17894
18158
  children: [currency === 'SAR' && /*#__PURE__*/_jsx("img", {
17895
18159
  src: MadaIcon,
@@ -17919,7 +18183,14 @@ function CardNumberViewTwo_CardNumber(props) {
17919
18183
  src: getCardLogo(cardType),
17920
18184
  alt: cardType
17921
18185
  })
17922
- }),
18186
+ });
18187
+ };
18188
+ return /*#__PURE__*/_jsx(FormInput, {
18189
+ formRegister: formRegister,
18190
+ name: 'number',
18191
+ className: className,
18192
+ placeholder: placeholder || t('CARD_NUMBER_PLACEHOLDER'),
18193
+ label: getLabel(),
17923
18194
  error: error,
17924
18195
  maxLength: maxLength,
17925
18196
  inputMode: "numeric",
@@ -17937,13 +18208,14 @@ function ExpiryDate_ExpiryDate(props) {
17937
18208
  maxLength,
17938
18209
  disabled,
17939
18210
  error,
17940
- className
18211
+ className,
18212
+ placeholder
17941
18213
  } = props;
17942
18214
  return /*#__PURE__*/_jsx(FormInput, {
17943
18215
  name: 'expiry',
17944
18216
  error: error,
17945
18217
  formRegister: formRegister,
17946
- placeholder: 'MM/YY',
18218
+ placeholder: placeholder || 'MM/YY',
17947
18219
  maxLength: maxLength,
17948
18220
  customStyle: customStyle,
17949
18221
  className: className,
@@ -18759,6 +19031,7 @@ function mobileCardFormViewTwo_MobileCard(props) {
18759
19031
 
18760
19032
 
18761
19033
  function IframeCard(props) {
19034
+ var _iframeCustomStyles$c, _iframeCustomStyles$c2, _iframeCustomStyles$p, _iframeCustomStyles$c3, _iframeCustomStyles$c4, _iframeCustomStyles$p2, _iframeCustomStyles$c5, _iframeCustomStyles$c6, _iframeCustomStyles$p3;
18762
19035
  const {
18763
19036
  loading,
18764
19037
  handleCardSubmit,
@@ -18780,6 +19053,7 @@ function IframeCard(props) {
18780
19053
  const [tenure, setTenure] = useState('');
18781
19054
  const [shouldSubmitData, setShouldSubmitData] = useState(false);
18782
19055
  const [cardHolderError, setCardHolderError] = useState();
19056
+ const [cardIconsHidden, setCardIconsHidden] = useState(false);
18783
19057
  const [cardHolderNameHidden, setCardHolderNameHidden] = useState(false);
18784
19058
  const [currency, setCurrency] = useState('');
18785
19059
  const [country, setCountry] = useState('');
@@ -18873,9 +19147,17 @@ function IframeCard(props) {
18873
19147
  }
18874
19148
  };
18875
19149
  const handleCardStylesFromSDK = payload => {
18876
- var _payload$options;
19150
+ var _payload$styling3, _payload$options;
18877
19151
  if (payload.styling) {
19152
+ var _payload$styling;
18878
19153
  setIframeCustomStyles(payload.styling);
19154
+ if ((_payload$styling = payload.styling) != null && (_payload$styling = _payload$styling.container) != null && _payload$styling.direction) {
19155
+ var _payload$styling2;
19156
+ document.documentElement.dir = (_payload$styling2 = payload.styling) == null || (_payload$styling2 = _payload$styling2.container) == null ? void 0 : _payload$styling2.direction;
19157
+ }
19158
+ }
19159
+ if ((_payload$styling3 = payload.styling) != null && _payload$styling3.hideCardIcons) {
19160
+ setCardIconsHidden(true);
18879
19161
  }
18880
19162
  if ((_payload$options = payload.options) != null && _payload$options['hideCardHolderName']) {
18881
19163
  setCardHolderNameHidden(true);
@@ -18914,7 +19196,7 @@ function IframeCard(props) {
18914
19196
  } else {
18915
19197
  handleCardSubmit({
18916
19198
  data,
18917
- cardHolderName: cardHolderName || 'n/a',
19199
+ cardHolderName,
18918
19200
  paymentToken: hasOmanNetIntegration && isOmanNetCard ? subType.paymentToken : paymentToken,
18919
19201
  subType: hasOmanNetIntegration && isOmanNetCard ? subType.type : 'CARD',
18920
19202
  saveCard,
@@ -18964,9 +19246,10 @@ function IframeCard(props) {
18964
19246
  }
18965
19247
  };
18966
19248
  return /*#__PURE__*/_jsxs("div", {
18967
- id: "iframe"
18968
- // style={iframeCustomStyles?.container}
18969
- ,
19249
+ id: "iframe",
19250
+ style: {
19251
+ direction: (iframeCustomStyles == null || (_iframeCustomStyles$c = iframeCustomStyles.container) == null ? void 0 : _iframeCustomStyles$c.direction) || 'ltr'
19252
+ },
18970
19253
  className: "w-[calc(100%-1px)]",
18971
19254
  children: [/*#__PURE__*/_jsx("div", {
18972
19255
  children: /*#__PURE__*/_jsx(CardNumber, {
@@ -18979,9 +19262,12 @@ function IframeCard(props) {
18979
19262
  className: `!rounded-b-none border-b-0 rounded-t-lg ${errors['number'] ? 'border-red-300' : 'border-gray-300'}`,
18980
19263
  customStyle: {
18981
19264
  input: iframeCustomStyles == null ? void 0 : iframeCustomStyles.input,
18982
- placeholder: iframeCustomStyles == null ? void 0 : iframeCustomStyles.placeholder
19265
+ placeholder: iframeCustomStyles == null ? void 0 : iframeCustomStyles.placeholder,
19266
+ direction: iframeCustomStyles == null || (_iframeCustomStyles$c2 = iframeCustomStyles.container) == null ? void 0 : _iframeCustomStyles$c2.direction
18983
19267
  },
18984
- currency: currency
19268
+ currency: currency,
19269
+ placeholder: iframeCustomStyles == null || (_iframeCustomStyles$p = iframeCustomStyles.placeholderText) == null ? void 0 : _iframeCustomStyles$p.cardNumber,
19270
+ hideCardIcons: cardIconsHidden
18985
19271
  })
18986
19272
  }), /*#__PURE__*/_jsxs("div", {
18987
19273
  className: "flex",
@@ -18990,22 +19276,27 @@ function IframeCard(props) {
18990
19276
  error: errors['expiry'],
18991
19277
  maxLength: EXPIRY_DATE_LENGTH,
18992
19278
  expiryDate: getValues('expiry'),
18993
- className: `${cardHolderNameHidden ? '!rounded-t-none !rounded-ee-none' : '!rounded-none'} ${errors['number'] ? 'border-t-red-300' : ''} ${errors['cvc'] ? 'border-r-red-300' : ''} ${errors['expiry'] ? 'border-red-300' : 'border-gray-300'} ${cardHolderError ? 'border-b-red-300' : ''}`,
19279
+ className: `${cardHolderNameHidden ? '!rounded-t-none !rounded-ee-none' : '!rounded-none'} ${errors['number'] ? 'border-t-red-300' : ''} ${errors['cvc'] ? (iframeCustomStyles == null || (_iframeCustomStyles$c3 = iframeCustomStyles.container) == null ? void 0 : _iframeCustomStyles$c3.direction) === 'rtl' ? 'border-l-red-300' : 'border-r-red-300' : ''} ${errors['expiry'] ? 'border-red-300' : 'border-gray-300'} ${cardHolderError ? 'border-b-red-300' : ''}`,
18994
19280
  customStyle: {
18995
19281
  input: iframeCustomStyles == null ? void 0 : iframeCustomStyles.input,
18996
- placeholder: iframeCustomStyles == null ? void 0 : iframeCustomStyles.placeholder
18997
- }
19282
+ placeholder: iframeCustomStyles == null ? void 0 : iframeCustomStyles.placeholder,
19283
+ direction: iframeCustomStyles == null || (_iframeCustomStyles$c4 = iframeCustomStyles.container) == null ? void 0 : _iframeCustomStyles$c4.direction
19284
+ },
19285
+ placeholder: iframeCustomStyles == null || (_iframeCustomStyles$p2 = iframeCustomStyles.placeholderText) == null ? void 0 : _iframeCustomStyles$p2.expiryDate
18998
19286
  }), /*#__PURE__*/_jsx(CVV, {
18999
19287
  formRegister: cvcRegister,
19000
19288
  maxLength: cardType === CARD_TYPES.AMEX ? AMEX_CVV_LENGTH : CVV_LENGTH,
19001
19289
  error: errors['cvc'],
19002
- className: `${cardHolderNameHidden ? '!rounded-t-none !rounded-es-none' : '!rounded-none'} border-l-0 ${errors['number'] ? 'border-t-red-300' : ''} ${errors['cvc'] ? 'border-red-300' : 'border-gray-300'} ${cardHolderError ? 'border-b-red-300' : ''}`,
19290
+ className: `${cardHolderNameHidden ? '!rounded-t-none !rounded-es-none' : '!rounded-none'}
19291
+ ${(iframeCustomStyles == null || (_iframeCustomStyles$c5 = iframeCustomStyles.container) == null ? void 0 : _iframeCustomStyles$c5.direction) === 'rtl' ? 'border-r-0' : 'border-l-0'} ${errors['number'] ? 'border-t-red-300' : ''} ${errors['cvc'] ? 'border-red-300' : 'border-gray-300'} ${cardHolderError ? 'border-b-red-300' : ''}`,
19003
19292
  cvv: getValues('cvc'),
19004
19293
  customStyle: {
19005
19294
  input: iframeCustomStyles == null ? void 0 : iframeCustomStyles.input,
19006
- placeholder: iframeCustomStyles == null ? void 0 : iframeCustomStyles.placeholder
19295
+ placeholder: iframeCustomStyles == null ? void 0 : iframeCustomStyles.placeholder,
19296
+ direction: iframeCustomStyles == null || (_iframeCustomStyles$c6 = iframeCustomStyles.container) == null ? void 0 : _iframeCustomStyles$c6.direction
19007
19297
  },
19008
- isIframe: true
19298
+ isIframe: true,
19299
+ placeholder: iframeCustomStyles == null || (_iframeCustomStyles$p3 = iframeCustomStyles.placeholderText) == null ? void 0 : _iframeCustomStyles$p3.securityCode
19009
19300
  })]
19010
19301
  })]
19011
19302
  });
@@ -19024,7 +19315,8 @@ function components_CardHolder_CardHolder(props) {
19024
19315
  focusToPrevInput,
19025
19316
  onChange,
19026
19317
  onFocus,
19027
- customStyle
19318
+ customStyle,
19319
+ placeholder
19028
19320
  } = props;
19029
19321
  const {
19030
19322
  t
@@ -19068,7 +19360,7 @@ function components_CardHolder_CardHolder(props) {
19068
19360
  };
19069
19361
  return /*#__PURE__*/(0,jsx_runtime.jsx)(InputViewTwo_InputViewTwo, {
19070
19362
  name: 'name',
19071
- placeholder: t('CARD_NAME_PLACEHOLDER'),
19363
+ placeholder: placeholder || t('CARD_NAME_PLACEHOLDER'),
19072
19364
  onChange: handleChange,
19073
19365
  onFocus: onFocus,
19074
19366
  value: cardHolder,
@@ -19755,7 +20047,8 @@ const CardViewTwoElements_getCardLogo = cardType => {
19755
20047
  return card_namespaceObject;
19756
20048
  }
19757
20049
  };
19758
- function SavedCardElements(props) {
20050
+ const SavedCardElements = /*#__PURE__*/(0,react.forwardRef)((props, ref) => {
20051
+ var _iframeRef$current3;
19759
20052
  const {
19760
20053
  t
19761
20054
  } = useTranslation_useTranslation('kitComponents');
@@ -19777,29 +20070,36 @@ function SavedCardElements(props) {
19777
20070
  const isCardExpired = card == null ? void 0 : card.expired;
19778
20071
  const isSelected = card.id === selectedCardId;
19779
20072
  const iframeRef = (0,react.useRef)(null);
19780
- const iframe = document.getElementById('iFrame');
20073
+ (0,react.useImperativeHandle)(ref, () => ({
20074
+ getContentWindow: () => {
20075
+ var _iframeRef$current;
20076
+ return (_iframeRef$current = iframeRef.current) == null ? void 0 : _iframeRef$current.contentWindow;
20077
+ }
20078
+ }));
19781
20079
  (0,react.useEffect)(() => {
19782
- if ((iframe == null ? void 0 : iframe.contentDocument) === null) {
19783
- var _iframe$contentWindow;
19784
- (_iframe$contentWindow = iframe.contentWindow) == null || _iframe$contentWindow.postMessage({
20080
+ var _iframeRef$current2;
20081
+ if (((_iframeRef$current2 = iframeRef.current) == null ? void 0 : _iframeRef$current2.contentDocument) === null) {
20082
+ var _iframeRef$current$co;
20083
+ (_iframeRef$current$co = iframeRef.current.contentWindow) == null || _iframeRef$current$co.postMessage({
19785
20084
  type: 'cardInfo',
19786
20085
  payload: {
19787
20086
  card
19788
20087
  }
19789
20088
  }, '*');
19790
20089
  }
19791
- }, [iframe == null ? void 0 : iframe.contentDocument]);
20090
+ }, [(_iframeRef$current3 = iframeRef.current) == null ? void 0 : _iframeRef$current3.contentDocument]);
19792
20091
  (0,react.useEffect)(() => {
19793
- if ((iframe == null ? void 0 : iframe.contentDocument) === null) {
19794
- var _iframe$contentWindow2;
19795
- (_iframe$contentWindow2 = iframe.contentWindow) == null || _iframe$contentWindow2.postMessage({
20092
+ var _iframeRef$current4;
20093
+ if (((_iframeRef$current4 = iframeRef.current) == null ? void 0 : _iframeRef$current4.contentDocument) === null) {
20094
+ var _iframeRef$current$co2;
20095
+ (_iframeRef$current$co2 = iframeRef.current.contentWindow) == null || _iframeRef$current$co2.postMessage({
19796
20096
  type: 'customStyles',
19797
20097
  payload: {
19798
20098
  styling: customStyle
19799
20099
  }
19800
20100
  }, '*');
19801
20101
  }
19802
- }, [iframe == null ? void 0 : iframe.contentDocument, iframeRef.current]);
20102
+ }, [iframeRef.current]);
19803
20103
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
19804
20104
  className: `flex w-full p-4 items-center gap-3 border rounded-xl ${isCardExpired ? '' : 'cursor-pointer'} ${isSelected ? 'border-blue-500 bg-blue-25' : 'border-gray-200 bg-white'}`,
19805
20105
  onClick: () => onCardSelect(card),
@@ -19839,7 +20139,7 @@ function SavedCardElements(props) {
19839
20139
  })
19840
20140
  })]
19841
20141
  });
19842
- }
20142
+ });
19843
20143
  /* harmony default export */ const CardViewTwoElements = ((/* unused pure expression or super */ null && (SavedCardElements)));
19844
20144
  ;// CONCATENATED MODULE: ../../libs/card/src/index.ts
19845
20145
 
@@ -19966,7 +20266,7 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
19966
20266
  integrationType,
19967
20267
  publicKey
19968
20268
  }, ref) => {
19969
- var _customStyle$containe, _customStyle$containe2, _customStyle$button, _customStyle$containe3;
20269
+ var _customStyle$containe, _customStyle$containe2, _customStyle$button, _customStyle$containe3, _customStyle$labelTex, _customStyle$placehol, _customStyle$errorTex, _customStyle$errorTex2, _customStyle$errorTex3, _customStyle$errorTex4;
19970
20270
  const {
19971
20271
  token,
19972
20272
  amount,
@@ -19986,6 +20286,7 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
19986
20286
  const [height, setHeight] = (0,react.useState)(80);
19987
20287
  const [errorMessage, setErrorMessage] = (0,react.useState)('');
19988
20288
  const iframeRef = (0,react.useRef)(null);
20289
+ const iframeCVVRef = (0,react.useRef)(null);
19989
20290
  const [errors, setErrors] = (0,react.useState)({});
19990
20291
  const [isIframeLoaded, setIsIframeLoaded] = (0,react.useState)(false);
19991
20292
  const [showDeleteCardModal, setShowDeleteCardModal] = (0,react.useState)(false);
@@ -20008,10 +20309,10 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
20008
20309
  const shouldDisablePayBtn = showCvvInput ? loading || (isAmexCardSelected ? selectedCardCvvLength !== constants_AMEX_CVV_LENGTH : selectedCardCvvLength !== constants_CVV_LENGTH) : !selectedCardId;
20009
20310
  (0,react.useEffect)(() => {
20010
20311
  const handleDataFromIframe = event => {
20011
- var _iframeRef$current, _event$data, _event$data2, _event$data3;
20312
+ var _iframeRef$current, _iframeCVVRef$current, _event$data, _event$data2, _event$data3;
20012
20313
  if (!event.data) return;
20013
20314
  if (!event.data.type) return;
20014
- if (event.source !== ((_iframeRef$current = iframeRef.current) == null ? void 0 : _iframeRef$current.contentWindow)) return;
20315
+ if (event.source !== ((_iframeRef$current = iframeRef.current) == null ? void 0 : _iframeRef$current.contentWindow) && event.source !== ((_iframeCVVRef$current = iframeCVVRef.current) == null ? void 0 : _iframeCVVRef$current.getContentWindow())) return;
20015
20316
  if (event.data.shouldFocusOnCardName) {
20016
20317
  var _iframeRef$current2;
20017
20318
  const cardNameField = (_iframeRef$current2 = iframeRef.current) == null || (_iframeRef$current2 = _iframeRef$current2.nextElementSibling) == null ? void 0 : _iframeRef$current2.querySelector(`input[name=name]`);
@@ -20433,7 +20734,7 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
20433
20734
  },
20434
20735
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
20435
20736
  style: Object.assign({}, customStyle == null ? void 0 : customStyle.label),
20436
- children: "Card Information"
20737
+ children: (customStyle == null || (_customStyle$labelTex = customStyle.labelText) == null ? void 0 : _customStyle$labelTex.cardLabel) || 'Card Information'
20437
20738
  }), showCardModal && /*#__PURE__*/(0,jsx_runtime.jsx)("button", {
20438
20739
  id: 'cancel-button',
20439
20740
  className: "hover:!opacity-75",
@@ -20484,18 +20785,19 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
20484
20785
  focusToPrevInput: handleFocusToPrevInput,
20485
20786
  customStyle: customStyle,
20486
20787
  setErrors: setErrors,
20487
- error: errors['name']
20788
+ error: errors['name'],
20789
+ placeholder: customStyle == null || (_customStyle$placehol = customStyle.placeholderText) == null ? void 0 : _customStyle$placehol.holderName
20488
20790
  }), (errors['number'] || errors['name'] || errors['cvc'] || errors['expiry']) && /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
20489
20791
  style: customStyle == null ? void 0 : customStyle.error,
20490
20792
  className: "my-2 text-sm text-red-600 list-disc list-inside list-item:text-red-600",
20491
20793
  children: [errors['number'] && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
20492
- children: errors['number']
20794
+ children: (customStyle == null || (_customStyle$errorTex = customStyle.errorText) == null ? void 0 : _customStyle$errorTex.cardNumber) || errors['number']
20493
20795
  }), errors['expiry'] && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
20494
- children: errors['expiry']
20796
+ children: (customStyle == null || (_customStyle$errorTex2 = customStyle.errorText) == null ? void 0 : _customStyle$errorTex2.expiryDate) || errors['expiry']
20495
20797
  }), errors['cvc'] && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
20496
- children: errors['cvc']
20798
+ children: (customStyle == null || (_customStyle$errorTex3 = customStyle.errorText) == null ? void 0 : _customStyle$errorTex3.securityCode) || errors['cvc']
20497
20799
  }), errors['name'] && /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
20498
- children: errors['name']
20800
+ children: (customStyle == null || (_customStyle$errorTex4 = customStyle.errorText) == null ? void 0 : _customStyle$errorTex4.holderName) || errors['name']
20499
20801
  })]
20500
20802
  })]
20501
20803
  })]
@@ -20541,7 +20843,8 @@ const CardElement = /*#__PURE__*/(0,react.forwardRef)(({
20541
20843
  environment: environment,
20542
20844
  height: height,
20543
20845
  customStyle: customStyle,
20544
- baseURL: baseUrl
20846
+ baseURL: baseUrl,
20847
+ ref: iframeCVVRef
20545
20848
  }, card.id)), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
20546
20849
  onClick: handleShowNewCardForm,
20547
20850
  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`,
@@ -22090,7 +22393,6 @@ var assets_icons_email_ForwardRef = /*#__PURE__*/(/* unused pure expression or s
22090
22393
 
22091
22394
 
22092
22395
 
22093
-
22094
22396
  function TabbyViewTwo(props) {
22095
22397
  const {
22096
22398
  t
@@ -22099,17 +22401,16 @@ function TabbyViewTwo(props) {
22099
22401
  onSubmit,
22100
22402
  loading,
22101
22403
  errorMessage,
22102
- country,
22103
22404
  customStyle,
22104
22405
  useHookForm,
22105
- showTerms
22406
+ showTerms,
22407
+ currency,
22408
+ currencyCodes
22106
22409
  } = props;
22107
- const {
22108
- currency
22109
- } = useSelector(state => state.intention);
22110
22410
  const [selectedCountry, setSelectedCountry] = useState({
22111
22411
  name: currency === 'SAR' ? 'Saudi Arabia' : 'United Arab Emirates',
22112
- code: currency === 'SAR' ? '+966' : '+971'
22412
+ code: currency === 'SAR' ? '+966' : '+971',
22413
+ currency
22113
22414
  });
22114
22415
  const {
22115
22416
  handleSubmit,
@@ -22124,7 +22425,8 @@ function TabbyViewTwo(props) {
22124
22425
  });
22125
22426
  const handleFormSubmit = data => {
22126
22427
  onSubmit(Object.assign({}, data, {
22127
- phone: selectedCountry.code.replace('+', '') + data.phone.replace(/ /g, '')
22428
+ phone: selectedCountry.code.replace('+', '') + data.phone.replace(/ /g, ''),
22429
+ currencyCode: selectedCountry.currency
22128
22430
  }));
22129
22431
  };
22130
22432
  return /*#__PURE__*/_jsxs("form", {
@@ -22151,7 +22453,8 @@ function TabbyViewTwo(props) {
22151
22453
  setSelectedCountry: setSelectedCountry,
22152
22454
  phoneFormRegister: phoneRegister,
22153
22455
  placeholder: "10 000 000 00",
22154
- disableDropdown: true
22456
+ disableDropdown: !(currencyCodes != null && currencyCodes.length && (currencyCodes == null ? void 0 : currencyCodes.length) > 1),
22457
+ currencyCodes: currencyCodes
22155
22458
  })
22156
22459
  }), errors['phone'] && /*#__PURE__*/_jsx("p", {
22157
22460
  className: 'text-sm pl-4 text-red-600',
@@ -27924,8 +28227,11 @@ function getStyles(customStyle) {
27924
28227
  const containerPadding = Object.assign({}, (customStyle == null ? void 0 : customStyle.Container_Padding) && {
27925
28228
  padding: `${customStyle == null ? void 0 : customStyle.Container_Padding}px`
27926
28229
  });
28230
+ const textDirection = Object.assign({}, (customStyle == null ? void 0 : customStyle.Direction) && {
28231
+ direction: customStyle == null ? void 0 : customStyle.Direction
28232
+ });
27927
28233
  return {
27928
- container: Object.assign({}, colorContainer, fontFamily, verticalSpacingBetweenComponents, containerPadding, widthOfContainer),
28234
+ container: Object.assign({}, colorContainer, fontFamily, verticalSpacingBetweenComponents, containerPadding, widthOfContainer, textDirection),
27929
28235
  tabs: Object.assign({}, fontFamily, radiusBorder),
27930
28236
  label: Object.assign({}, fontFamily, fontWeightLabel, fontSizeLabel, textColorForLabel),
27931
28237
  input: Object.assign({}, fontFamily, fontWeightInputFields, fontSizeInputFields, colorBorderInputFields, radiusBorder, colorInputFields, textColorForInput, verticalPadding, {
@@ -27935,7 +28241,11 @@ function getStyles(customStyle) {
27935
28241
  disabled: Object.assign({}, colorDisabled)
27936
28242
  }),
27937
28243
  error: Object.assign({}, colorError),
27938
- placeholder: Object.assign({}, colorForTextPlaceholder)
28244
+ placeholder: Object.assign({}, colorForTextPlaceholder),
28245
+ labelText: Object.assign({}, customStyle == null ? void 0 : customStyle.Label_Text),
28246
+ placeholderText: Object.assign({}, customStyle == null ? void 0 : customStyle.Placeholder_Text),
28247
+ errorText: Object.assign({}, customStyle == null ? void 0 : customStyle.Error_Text),
28248
+ hideCardIcons: customStyle == null ? void 0 : customStyle.HideCardIcons
27939
28249
  };
27940
28250
  }
27941
28251
  ;// CONCATENATED MODULE: ./src/components/Payments/index.tsx